/* ============================================================
   摄影交稿图 — 样式表
   ============================================================ */
:root {
  --bg: #f5f6f9;
  --panel: #ffffff;
  --ink: #0f1729;
  --ink-2: #475069;
  --muted: #8791a5;
  --line: #e6e8f0;
  --brand: #4f46e5;
  --brand-2: #6d5efc;
  --brand-soft: #eef0ff;
  --danger: #e03e3e;
  --ok: #16a34a;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 41, 0.06), 0 1px 3px rgba(15, 23, 41, 0.04);
  --shadow-md: 0 8px 24px -12px rgba(15, 23, 41, 0.24);
  --shadow-lg: 0 30px 70px -30px rgba(15, 23, 41, 0.4);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand-soft);
}

/* ------------------------------ 按钮 / 表单 ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: 0.16s ease;
  white-space: nowrap;
}
.btn:hover {
  border-color: #cfd4e2;
  background: #fafbfe;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(79, 70, 229, 0.9);
}
.btn--primary:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
}
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--ink-2);
}
.btn--ghost:hover {
  background: #f0f2f8;
}
.btn--danger {
  color: var(--danger);
  border-color: #f3d6d6;
  background: #fff6f6;
}
.btn--danger:hover {
  background: #ffecec;
}
.btn--sm {
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
  border-radius: 8px;
}
.btn--block {
  width: 100%;
  height: 42px;
}

.field {
  display: block;
  margin-bottom: 14px;
}
.field > span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: 0.15s;
}
.field textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.field__hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.field--row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ------------------------------ 登录 / 注册 ------------------------------ */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.auth__brand {
  position: relative;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  color: #fff;
  background: radial-gradient(120% 90% at 10% 0%, #6d5efc 0%, #4f46e5 42%, #312a9c 100%);
  overflow: hidden;
}
.auth__brand::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -10%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
}
.auth__brand h1 {
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.auth__brand p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}
.auth__points {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.auth__points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}
.auth__points svg {
  flex: none;
  margin-top: 3px;
}
.auth__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #fff;
}
.auth__form {
  width: 100%;
  max-width: 360px;
}
/* 登录 + 注册同页并排（窄屏自动上下堆叠） */
.auth__dual {
  width: 100%;
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.auth__card {
  max-width: none;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth__card--active {
  border-color: #6d5efc;
  box-shadow: 0 10px 34px rgba(79, 70, 229, 0.14);
}
.auth__card--muted {
  background: var(--bg-soft, #f8fafc);
  color: var(--muted);
}
.auth__card .auth__sub {
  margin-bottom: 20px;
}
@media (max-width: 1080px) {
  .auth__dual {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 18px;
  }
}
.auth__form h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
}
.auth__sub {
  margin: 6px 0 26px;
  color: var(--muted);
  font-size: 13px;
}
.auth__switch {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  background: #fff3f3;
  border: 1px solid #f6d5d5;
  color: #b42323;
}

/* ------------------------------ 应用框架 ------------------------------ */
.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 16px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.sidebar__brand .logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
}
.nav {
  display: grid;
  gap: 2px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--ink-2);
  font-weight: 500;
  cursor: pointer;
}
.nav-item:hover {
  background: #f4f5fa;
}
.nav-item.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}
.sidebar__spacer {
  flex: 1;
}
.storage {
  padding: 14px;
  border-radius: 12px;
  background: #f7f8fc;
  border: 1px solid var(--line);
}
.storage__head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.storage__head b {
  color: var(--ink);
  font-weight: 600;
}
.progress {
  height: 6px;
  border-radius: 99px;
  background: #e6e8f2;
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), #8b7cff);
  transition: width 0.4s ease;
}
.storage__note {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  flex: none;
}
.user-box__meta {
  min-width: 0;
  flex: 1;
}
.user-box__meta b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-box__meta span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 28px;
  background: rgba(245, 246, 249, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar h2 {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.topbar__spacer {
  flex: 1;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}
.back-link:hover {
  color: var(--ink);
}
.content {
  padding: 26px 28px 60px;
  max-width: 1240px;
  width: 100%;
}

/* ------------------------------ 空状态 / 卡片 ------------------------------ */
.empty {
  padding: 56px 20px;
  text-align: center;
  border: 1px dashed #d8dceb;
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
}
.empty h3 {
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 6px;
}
.empty p {
  font-size: 13px;
  max-width: 460px;
  margin: 0 auto 18px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.album-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.album-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d9ddec;
}
.album-card__cover {
  aspect-ratio: 4 / 3;
  background: #eef0f7 center/cover no-repeat;
  display: grid;
  place-items: center;
  color: #b9c0d4;
  position: relative;
}
.album-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.album-card__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(15, 23, 41, 0.62);
  color: #fff;
  font-size: 11px;
  backdrop-filter: blur(4px);
}
/* 相册标题行：标题 + 删除按钮 */
.album-card__title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.album-card__title-row h3 {
  flex: 0 1 auto;
  min-width: 0;
}
/* 标题旁的删除按钮（垃圾桶） */
.album-card__del {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  opacity: 0.75;
  transition: 0.15s ease;
}
.album-card__del svg {
  width: 14px;
  height: 14px;
}
.album-card__del:hover {
  background: #fee2e2;
  color: #dc2626;
  opacity: 1;
}
.album-card__del:disabled {
  opacity: 0.4;
  cursor: default;
}
.album-card__body {
  padding: 12px 14px 14px;
}
.album-card__body h3 {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.album-card__meta {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* ------------------------------ 相册详情 ------------------------------ */
.dropzone {
  border: 1.5px dashed #cfd5e8;
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  text-align: center;
  color: var(--muted);
  transition: 0.16s;
  cursor: pointer;
  margin-bottom: 22px;
}
.dropzone:hover,
.dropzone.is-over {
  border-color: var(--brand);
  background: #fbfbff;
  color: var(--brand);
}
.dropzone b {
  color: var(--ink);
  font-weight: 600;
}
.dropzone.is-over b {
  color: var(--brand);
}
.upload-list {
  display: grid;
  gap: 6px;
  margin: -10px 0 20px;
}
.upload-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.upload-row .bar {
  flex: 1;
  height: 4px;
  background: #eceef6;
  border-radius: 99px;
  overflow: hidden;
}
.upload-row .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width 0.2s;
}
/* 分批上传的明细行：第几批 / 已成功 / 失败 */
.upload-detail {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11.5px;
  color: var(--muted);
  padding-left: 2px;
}
.upload-detail b {
  color: var(--text);
  font-weight: 600;
}
.upload-detail .is-bad {
  color: #c0392b;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 14px;
}
.section-head h3 {
  font-size: 15px;
}
.section-head .muted {
  color: var(--muted);
  font-size: 12px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.photo-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #eef0f7;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: box-shadow 0.15s, transform 0.15s;
}
.photo-tile:hover {
  box-shadow: var(--shadow-md);
}
.photo-tile__zoom {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.82);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: 0.15s;
  pointer-events: none;
}
.photo-tile:hover .photo-tile__zoom {
  opacity: 1;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.photo-tile img.is-ready {
  opacity: 1;
}
.photo-tile__del {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: none;
  background: rgba(15, 23, 41, 0.6);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: 0.15s;
  backdrop-filter: blur(4px);
}
.photo-tile:hover .photo-tile__del {
  opacity: 1;
}
/* 会员到期：上传栏置灰停用，点击唤起会员中心 */
.dropzone--expired {
  cursor: pointer;
  background: repeating-linear-gradient(-45deg, #f1f5f9, #f1f5f9 12px, #e9eef5 12px, #e9eef5 24px);
  border-color: var(--line);
  filter: grayscale(1);
  text-align: center;
}
.dropzone--expired:hover {
  border-color: #cbd5e1;
}
.dropzone--expired svg {
  opacity: 0.6;
}

/* 分享行的垃圾箱：图标窄按钮，与取消分享并排 */
.share-row__purge {
  padding-left: 10px;
  padding-right: 10px;
}

.photo-tile__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 8px 6px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(transparent, rgba(15, 23, 41, 0.72));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------- 文档类文件（PDF/Word/Excel） --------------------------- */
.photo-tile.is-doc,
.share-tile.is-doc {
  cursor: pointer;
}
/* 文件类型角标：放在卡片右下角，避开左上角的操作按钮 */
.file-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(23, 30, 48, 0.72);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.photo-tile.is-doc .file-badge {
  bottom: 26px;
}

/* ------------------------------ 分享面板 ------------------------------ */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.share-list {
  display: grid;
  gap: 10px;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcfe;
  flex-wrap: wrap;
}
.share-row__main {
  flex: 1;
  min-width: 220px;
}
.share-row__url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--ink-2);
  word-break: break-all;
}
.share-row__meta {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 99px;
  font-size: 11px;
  background: #eef0f7;
  color: var(--ink-2);
}
.tag--ok {
  background: #e9f8ef;
  color: #15803d;
}
.tag--warn {
  background: #fff5e9;
  color: #b45309;
}
.tag--bad {
  background: #fdeaea;
  color: #b42323;
}

/* ------------------------------ 弹窗 ------------------------------ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 41, 0.45);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade 0.18s ease;
}
.modal {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  animation: pop 0.2s ease;
}
.modal h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.modal__sub {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

/* ------------------------------ 分享浏览页 ------------------------------ */
.share-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f8fc 0%, #eef0f8 100%);
}
.share-head {
  padding: 26px 24px 18px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.share-head__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6d5efc, #4f46e5);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.9);
}
.share-head h1 {
  font-size: 22px;
  letter-spacing: -0.01em;
}
.share-head__meta {
  margin-top: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.share-note {
  margin: 0 24px 18px;
  max-width: 1180px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.07);
  border: 1px solid rgba(79, 70, 229, 0.16);
  color: #3b3585;
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
/* 严格模式：整页前置遮蔽层 */
.share-guard {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  background: #0a0c12;
  background-image:
    linear-gradient(rgba(150, 158, 172, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 158, 172, 0.1) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}
.share-guard.is-on {
  opacity: 1;
}
.share-guard b {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}
.share-guard span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.share-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 18px;
}
/* 分享页底部：缓存提示 + 清理缓存 */
.share-foot {
  max-width: 1180px;
  margin: 0 auto 42px;
  padding: 0 24px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8b91a4;
}
.link-btn {
  padding: 0;
  border: none;
  background: none;
  font-size: 12px;
  color: var(--brand);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn:hover {
  color: var(--brand-dark, var(--brand));
  opacity: 0.82;
}
.share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.share-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e5f0;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.share-tile canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.share-tile__hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11px;
  color: #fff;
  background: rgba(15, 23, 41, 0.55);
  opacity: 0;
  transition: 0.16s;
}
.share-tile:hover .share-tile__hint {
  opacity: 1;
}
/* 普通图库模式：缩略图上的下载按钮 */
.tile-dl {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: rgba(15, 23, 41, 0.58);
  backdrop-filter: blur(4px);
  transition: 0.16s;
}
.tile-dl:hover {
  background: var(--brand);
}
/* 复选框型字段（开启浏览保护） */
.field--check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8f9fd;
  cursor: pointer;
}
.field--check input[type='checkbox'] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--brand);
  flex: none;
}
.field--check > span {
  display: block;
  margin: 0;
  font-size: 13px;
  color: var(--ink-1);
  line-height: 1.65;
}
.field--check b {
  font-weight: 600;
}
.field--check em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.lock-screen {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 30px 20px;
}
.lock-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.lock-card h2 {
  font-size: 19px;
  margin-bottom: 6px;
}
.lock-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

/* ------------------------------ 受保护浏览器 ------------------------------ */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #0a0c12;
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  animation: fade 0.16s ease;
}
.viewer__bar {
  height: 52px;
  flex: none;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(rgba(10, 12, 18, 0.9), rgba(10, 12, 18, 0));
  position: relative;
  z-index: 2;
}
.viewer__title {
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.viewer__count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}
.viewer__spacer {
  flex: 1;
}
.icon-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: 0.15s;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}
.viewer__stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: grab;
  min-height: 0;
}
.viewer__stage.is-dragging {
  cursor: grabbing;
}
.viewer__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.viewer__thumbs {
  flex: none;
  height: 74px;
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(0, 0, 0, 0.35);
  scrollbar-width: thin;
  position: relative;
  z-index: 2;
}
.viewer__thumbs::-webkit-scrollbar {
  height: 6px;
}
.viewer__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
}
.thumb-chip {
  position: relative;
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #1b1f2b;
  cursor: pointer;
}
.thumb-chip.is-active {
  border-color: #8b7cff;
}
.thumb-chip canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.75;
}
.thumb-chip.is-active canvas {
  opacity: 1;
}
.viewer__shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #0a0c12;
  background-image:
    linear-gradient(rgba(150, 158, 172, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 158, 172, 0.1) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.viewer__shield.is-on {
  opacity: 1;
  pointer-events: all;
}
.viewer__shield b {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #fff;
}
.viewer__shield span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
/* 遮蔽状态下，页面内不允许残留任何图像像素：底部缩略图一并隐藏 */
.viewer.is-shielded .viewer__thumbs {
  visibility: hidden;
}
.viewer__zoom {
  min-width: 54px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}
.viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 18, 28, 0.56);
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  opacity: 0.88;
  transition: opacity 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.viewer__nav:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.34);
}
.viewer__nav:active {
  transform: translateY(-50%) scale(0.92);
}
.viewer__nav:focus-visible {
  outline: 2px solid #8b7cff;
  outline-offset: 2px;
}
.viewer__nav--prev {
  left: 14px;
}
.viewer__nav--next {
  right: 14px;
}
@media (max-width: 720px) {
  .viewer__nav {
    width: 40px;
    height: 40px;
  }
  .viewer__nav--prev {
    left: 8px;
  }
  .viewer__nav--next {
    right: 8px;
  }
}
.viewer__load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  gap: 10px;
}

/* 渐进式加载：缩略图已显示、高清图还在路上时的角标（不挡画面） */
.viewer.is-lqip .viewer__stage::after {
  content: '高清加载中…';
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.62);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 4;
}

/* ------------------------- 分享页骨架（首屏占位） ------------------------- */
.sk,
.sk-tile {
  background: linear-gradient(90deg, #eceef6 25%, #f6f7fb 37%, #eceef6 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.15s ease-in-out infinite;
  border-radius: 8px;
}
.sk--title {
  width: min(240px, 70%);
  height: 20px;
  margin-bottom: 10px;
}
.sk--meta {
  width: min(360px, 90%);
  height: 12px;
  opacity: 0.8;
}
.sk-tile {
  aspect-ratio: 1;
  border-radius: 12px;
}
@keyframes sk-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sk,
  .sk-tile {
    animation: none;
  }
}

/* ------------------------------ Toast ------------------------------ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  z-index: 200;
  max-width: min(92vw, 460px);
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(15, 23, 41, 0.92);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.22s ease;
  box-shadow: var(--shadow-lg);
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.is-error {
  background: #b42323;
}
.muted {
  color: var(--muted);
}

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth__brand {
    padding: 34px 26px;
    gap: 12px;
  }
  .auth__brand h1 {
    font-size: 26px;
  }
  .auth__points {
    display: none;
  }
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
  }
  .sidebar__spacer,
  .storage,
  .user-box__meta {
    display: none;
  }
  .content {
    padding: 18px 16px 50px;
  }
  .topbar {
    height: 56px;
    padding: 0 16px;
  }
  .share-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .viewer__thumbs {
    height: 62px;
  }
  .thumb-chip {
    width: 46px;
    height: 46px;
  }
}

/* ============================== 成员管理 ============================== */
.role-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}
.entry-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.entry-url {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.entry-url code {
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink);
  word-break: break-all;
}
.member-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block;
  font-size: 20px;
  color: var(--ink);
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.member-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) auto minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.member__main {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.member__id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.member__id b {
  font-size: 13px;
}
.member__id span {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.member__chips {
  display: flex;
  gap: 6px;
}
.chip {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--ok {
  background: #e8f7ee;
  color: var(--ok);
}
.chip--off {
  background: #f1f2f6;
  color: var(--muted);
}
.chip--bad {
  background: #fdecec;
  color: var(--danger);
}
.member__quota {
  min-width: 0;
}
.member__quota-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  gap: 8px;
}
.member__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.check-field {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
  margin: 2px 0 12px;
}
.readonly {
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .member {
    grid-template-columns: 1fr;
  }
  .member-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .member__actions {
    justify-content: flex-start;
  }
}

/* ---------------------- 注册申请 / 授权（主账号审批） ---------------------- */
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}
.code-card {
  margin: 16px 0 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #c9c4f7;
  background: linear-gradient(180deg, #f7f6ff, #fff);
  text-align: center;
}
.code-card__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.code-card__value {
  display: block;
  margin: 8px 0 10px;
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  user-select: all;
  word-break: break-all;
}
.code-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-2);
}
.steps {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 2;
  color: var(--ink-2);
}
.steps b {
  color: var(--ink);
}
.pending-hint {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffaf0;
  border: 1px solid #f3e2c0;
  font-size: 12px;
  color: #8a5a12;
}
.pending-hint > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.pending-hint > div span {
  color: #a97a33;
}
.pending-hint code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.request-panel {
  margin-top: 14px;
}
/* ------------------------------ 缓存维护 ------------------------------ */
.cache-panel {
  margin-top: 16px;
}
.cache-panel__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cache-panel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cache-panel .member-summary {
  margin-top: 14px;
}
.request-panel__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.code-form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.code-form input {
  width: 260px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.code-form input:focus {
  outline: none;
  border-color: var(--brand);
}
.request-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.request {
  display: grid;
  grid-template-columns: auto minmax(150px, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 11px;
  background: #fbfbfe;
  border: 1px solid var(--line);
}
.request__id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.request__id b {
  font-size: 13px;
}
.request__id span {
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
}
.request__code {
  display: flex;
  gap: 4px;
  align-items: center;
}
.request__code code {
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.request__time {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.request__actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.request-empty {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 14px;
  border-radius: 11px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12.5px;
}
@media (max-width: 900px) {
  .request {
    grid-template-columns: auto 1fr;
    row-gap: 8px;
  }
  .request__code,
  .request__time,
  .request__actions {
    grid-column: 2;
    justify-content: flex-start;
  }
  .code-card__value {
    font-size: 22px;
  }
}

/* ============================================================
   会员体系 / 收款码支付
   ============================================================ */
.vip-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f7b733, #e0930a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  vertical-align: middle;
  box-shadow: 0 1px 4px rgba(224, 147, 10, 0.35);
}
.trial-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #ecfdf3;
  color: #15803d;
  font-size: 10px;
  font-weight: 600;
  vertical-align: middle;
}
.trial-chip--expired {
  background: #fef2f2;
  color: var(--danger);
}
.auth__trial {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* 会员中心弹窗 */
.pay-modal {
  max-width: 480px;
}
.pay-status {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
}
.pay-status--ok {
  background: #f0fdf4;
  color: #15803d;
}
.pay-status--expired {
  background: #fef2f2;
  color: var(--danger);
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: 0.15s ease;
}
.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.plan-card b {
  font-size: 12.5px;
  color: var(--ink-2);
}
.plan-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}
.plan-card__note {
  font-size: 11px;
  color: var(--muted);
}
.plan-card:hover {
  border-color: #c7cbe0;
}
.plan-card.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.plan-card.is-active .plan-card__price {
  color: var(--brand);
}
.pay-channels {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.pay-channel {
  flex: 1;
  padding: 9px 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.15s ease;
}
.pay-channel.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.pay-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--bg);
}
.pay-qr img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

/* 成员管理：收款确认面板 */
.pay-row-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.pay-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}
.pay-row__who,
.pay-row__deal {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pay-row__who b,
.pay-row__deal b {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pay-row__who span,
.pay-row__deal span {
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pay-row__actions {
  display: flex;
  gap: 8px;
}
.pay-reviewed {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.pay-reviewed__item {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  background: var(--bg);
  color: var(--muted);
}
.pay-reviewed__item.is-ok {
  background: #ecfdf3;
  color: #15803d;
}
.pay-reviewed__item.is-bad {
  background: #fef2f2;
  color: var(--danger);
}

@media (max-width: 720px) {
  .pay-row {
    grid-template-columns: 1fr;
  }
  .plan-grid {
    gap: 8px;
  }
  .plan-card__price {
    font-size: 19px;
  }
}

/* ============================================================
   图片保留期（5 天自动清理）
   ============================================================ */
.retention-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}
.retention-chip svg {
  width: 11px;
  height: 11px;
}
.retention-chip.is-urgent {
  background: #fef2f2;
  color: var(--danger);
}
.retention-bar {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #e3e7fb;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7f8ff, #fbfbff);
}
.retention-bar__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  background: #eef2ff;
  color: var(--brand);
}
.retention-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.retention-bar__text b {
  font-size: 13px;
  color: var(--ink);
}

@media print {
  body * {
    display: none !important;
  }
  body::after {
    content: "此页面内容受保护，禁止打印/截图传播。";
    display: block;
    color: #000;
  }
}
