/* ============================================================
   软栈 SoftStack — 11 Build 奢侈极简
   70%+ 留白 · 字重对比 200→600 · 单一强调色(赭橙)
   ============================================================ */

:root {
  --bg: #faf8f5;            /* 暖白纸感底 */
  --bg-soft: #f3f0ea;
  --ink: #1c1a17;           /* 近黑正文 */
  --ink-2: #6f6a62;         /* 次级文字 */
  --ink-3: #a39d93;         /* 弱化文字 */
  --line: #e7e2d9;          /* 细分割线 */
  --accent: #c8501e;        /* 单一强调色: 赭橙 */
  --accent-ink: #a33f12;
  --card: #ffffff;
  --radius: 18px;
  --shadow-soft: 0 1px 2px rgba(28, 26, 23, 0.04), 0 12px 40px -24px rgba(28, 26, 23, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", Consolas, "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- 布局骨架 ---------- */

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- 顶部导航 ---------- */

/* ---------- 顶部吸顶 ---------- */

.sticky-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #faf8f5;
  border-bottom: 1px solid var(--line);
}

.site-header {
  padding: 34px 0 0;
}

/* 非首页：header 单独吸顶（所有页面统一处理，不依赖 :has） */
.page-header-sticky .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #faf8f5;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: -1px;
}

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  transform: translateY(-2px);
}

.brand-mark .brand-logo {
  display: block;
  height: 34px;
  width: auto;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-sub {
  font-size: 9px;
  font-weight: 300;
  color: #a8a8a8;
  letter-spacing: 0.25em;
  margin-left: 10px;
  transform: translateY(1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 400;
}

.nav-links a { color: var(--ink-2); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }

.btn-upload {
  font-weight: 600;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 22px;
  transition: all 0.25s;
}

.btn-upload:hover {
  background: var(--ink);
  color: var(--bg) !important;
}

/* ---------- Hero 双栏 + 精选卡 ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
}

.featured-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.featured-card .feat-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(250, 248, 245, 0.45);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.featured-card .feat-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.feat-cover {
  height: 150px;
  border-radius: 12px;
  background: var(--cover, var(--bg-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feat-cover .feat-char {
  font-size: 96px;
  font-weight: 200;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1;
}

.feat-cover .feat-no {
  position: absolute;
  right: 14px;
  top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  opacity: 0.7;
}

.feat-title {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.feat-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(250, 248, 245, 0.55);
  letter-spacing: 0.06em;
}

.feat-desc {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.65);
  font-weight: 300;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feat-btn {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 13px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.2s;
}

.feat-btn:hover { background: #d95a24; transform: translateY(-1px); }
.feat-btn .arrow { font-size: 15px; font-weight: 400; }

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 15em;
}

.hero h1 strong {
  font-weight: 600;
}

.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 34em;
  font-weight: 300;
}

.hero-meta {
  margin-top: 34px;
  display: flex;
  gap: 44px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.hero-meta b {
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- 工具条: 搜索 + 过滤 ---------- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 14px;
  border-top: 1px solid var(--line);
  margin-top: 52px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 380px;
}

.search-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 34px 10px 0;
  font-size: 15px;
  font-weight: 300;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.search-box input::placeholder { color: var(--ink-3); }

.search-box::after {
  content: "→";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-55%);
  font-size: 16px;
  color: var(--ink-3);
  pointer-events: none;
}

.search-box input:focus { border-color: var(--accent); }
.search-box input:focus::after { color: var(--accent); }

.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  background: transparent;
  font-family: var(--font-sans);
  transition: all 0.2s;
}

.chip:hover { border-color: var(--ink-2); color: var(--ink); }

.chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
}

/* ---------- 应用卡片 ---------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 48px 0 8px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-head .count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: #ddd6ca;
}

.card:hover::before { transform: scaleX(1); }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  white-space: nowrap;
}

.card-badge.android { border-color: rgba(200, 80, 30, 0.35); color: var(--accent-ink); }
.card-badge.pc { border-color: var(--line); }

.card-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.12em;
}

.card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-title .en {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-3);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.card-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span {
  font-size: 11.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.card-foot .rating { color: var(--accent-ink); }

.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ---------- 空状态 / 加载 ---------- */

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 90px 20px;
  color: var(--ink-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.empty .empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.empty .empty-sub { font-size: 14px; color: var(--ink-3); }

.skeleton {
  background: linear-gradient(100deg, var(--bg-soft) 40%, #efeae0 50%, var(--bg-soft) 60%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
  border-radius: var(--radius);
  height: 320px;
}

@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--ink-3);
}

.footer-inner .mono { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; }

/* ---------- 详情页 ---------- */

.detail-hero {
  padding: 64px 0 0;
}

.detail-breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.detail-breadcrumb a:hover { color: var(--accent); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.detail-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.detail-title strong { font-weight: 600; }

.detail-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 30px;
  letter-spacing: 0.04em;
}

.detail-meta b { color: var(--ink); font-weight: 600; }

.detail-desc {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 34em;
  line-height: 1.9;
  white-space: pre-line;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.detail-tags span {
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 5px 14px;
}

/* 下载面板 */

.pan-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 36px 34px;
  position: sticky;
  top: 32px;
}

.pan-card .pan-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(250, 248, 245, 0.5);
  text-transform: uppercase;
}

.pan-card .pan-title {
  font-size: 19px;
  font-weight: 600;
  margin: 14px 0 6px;
}

.pan-card .pan-sub {
  font-size: 13px;
  color: rgba(250, 248, 245, 0.6);
  font-weight: 300;
}

.pan-divider {
  height: 1px;
  background: rgba(250, 248, 245, 0.14);
  margin: 26px 0;
}

.pan-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

.pan-rows .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pan-rows .row span:first-child { color: rgba(250, 248, 245, 0.45); letter-spacing: 0.08em; }
.pan-rows .row b { font-weight: 600; color: var(--bg); }

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 12px;
  padding: 17px 20px;
  transition: background 0.25s, transform 0.2s;
}

.btn-download:hover { background: #d95a24; transform: translateY(-1px); }

.btn-download .arrow { font-size: 18px; font-weight: 400; }

.pan-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(250, 248, 245, 0.45);
  text-align: center;
  line-height: 1.8;
}

.pan-code-box {
  margin-top: 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(250, 248, 245, 0.08);
  border-radius: 10px;
  padding: 10px;
  letter-spacing: 0.2em;
  color: var(--bg);
  display: none;
}

/* 相关推荐 */

.related { margin-top: 64px; }

/* ---------- 上传页 ---------- */

.upload-hero {
  padding: 64px 0 0;
}

.upload-hero h1 {
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.upload-hero h1 strong { font-weight: 600; }

.upload-hero p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 30em;
}

.form-wrap {
  max-width: 640px;
  margin-top: 44px;
}

.form-section {
  margin-bottom: 44px;
}

.form-section-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}

.field label .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 300;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea { resize: vertical; min-height: 130px; line-height: 1.8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 26, 23, 0.05);
}

.field .hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-3);
}

.field.error input,
.field.error select,
.field.error textarea { border-color: var(--accent); }

.field .err-msg {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--accent);
}

.field.error .err-msg { display: block; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.btn-submit {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 15px 38px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.25s, transform 0.2s;
}

.btn-submit:hover { background: #000; transform: translateY(-1px); }
.btn-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.form-status {
  font-size: 13.5px;
  color: var(--ink-2);
}

.form-status.ok { color: var(--accent-ink); font-weight: 500; }
.form-status.fail { color: var(--accent); }

/* 提交成功面板 */

.success-panel {
  display: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 46px 42px;
  margin-top: 48px;
  text-align: center;
}

.success-panel .ok-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.success-panel h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 10px;
}

.success-panel p { color: var(--ink-2); font-size: 14px; }

.success-panel .actions {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  border-radius: 999px;
  padding: 12px 26px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.35);
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 卡片封面图形 ---------- */

.card-cover {
  height: 118px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--cover, var(--bg-soft));
}

.card-cover .cover-char {
  font-size: 62px;
  font-weight: 200;
  color: var(--ink);
  opacity: 0.82;
  line-height: 1;
  letter-spacing: -0.02em;
  transform: translateY(2px);
}

.card-cover .cover-cat {
  position: absolute;
  left: 14px;
  bottom: 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
  opacity: 0.75;
}

.card-cover .cover-no {
  position: absolute;
  right: 14px;
  top: 11px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  opacity: 0.6;
}

/* ---------- 热门榜 ---------- */

.rank {
  margin-top: 56px;
}

.rank-list {
  border-top: 1px solid var(--line);
  margin-top: 20px;
}

.rank-row {
  display: grid;
  grid-template-columns: 56px 1.4fr 0.8fr 0.9fr 120px;
  align-items: center;
  gap: 18px;
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.2s;
}

.rank-row:hover { background: var(--card); }

.rank-no {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.rank-row:nth-child(1) .rank-no { color: var(--accent); }
.rank-row:nth-child(2) .rank-no { color: var(--accent-ink); opacity: 0.8; }

.rank-title { font-size: 15px; font-weight: 600; }
.rank-cat { font-size: 13px; color: var(--ink-2); }
.rank-meta { font-size: 12.5px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.04em; }
.rank-dl { font-size: 12.5px; color: var(--ink-3); text-align: right; font-family: var(--font-mono); }
.rank-dl b { color: var(--accent-ink); font-weight: 600; }

.rank-row .card-link { position: absolute; inset: 0; z-index: 1; }

/* ---------- 详情页信息网格 ---------- */

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 38px;
  max-width: 34em;
}

.fact {
  background: var(--card);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fact span {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.fact b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 首页介绍区块 ---------- */

.about {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}

.about-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 14em;
  margin-bottom: 0;
}

.about-head h2 strong { font-weight: 600; }

.about-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.about-side-note {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.9;
  text-align: right;
  max-width: 18em;
  padding-bottom: 8px;
}

.about-side-note b {
  color: var(--ink);
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.95;
  max-width: 30em;
  font-weight: 300;
}

/* 档案快照面板 */

.about-snapshot {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 34px;
  max-width: 30em;
}

.snap-item {
  background: var(--card);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.snap-item b {
  font-size: 26px;
  font-weight: 200;
  letter-spacing: -0.02em;
}

.snap-item span {
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.about-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.about-feats li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-feats li b {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  padding-top: 4px;
}

.about-feats li div { display: flex; flex-direction: column; gap: 3px; }
.about-feats li strong { font-size: 16px; font-weight: 600; }
.about-feats li span { font-size: 13.5px; color: var(--ink-3); font-weight: 300; }

.about-flow {
  margin-top: 56px;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 40px 48px;
}

.flow-step {
  flex: 1;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.flow-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  border: 1px solid rgba(200, 80, 30, 0.5);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.flow-step div { display: flex; flex-direction: column; gap: 4px; }
.flow-step b { font-size: 15.5px; font-weight: 600; }
.flow-step span { font-size: 12.5px; color: rgba(250, 248, 245, 0.55); font-weight: 300; }

.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 26px;
  color: rgba(250, 248, 245, 0.3);
  font-size: 18px;
  font-weight: 300;
}

/* ---------- 定制页新版：双栏布局 ---------- */

.order-hero {
  padding: 64px 0 0;
}

.order-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}

.order-head h1 {
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.order-head h1 strong { font-weight: 600; }

.order-head p {
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 26em;
  line-height: 1.9;
}

.scope-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 64px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: start;
}

.order-form .form-section:first-child { margin-top: 0; }

/* 右侧信息栏 */

.order-side {
  position: sticky;
  top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 30px 28px;
}

.side-dark {
  background: var(--ink);
  color: var(--bg);
  border: none;
}

.side-card .pan-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.side-dark .pan-label { color: rgba(250, 248, 245, 0.45); }

.side-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-flow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.side-flow-step .flow-no {
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(200, 80, 30, 0.5);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  flex-shrink: 0;
}

.side-flow-step div { display: flex; flex-direction: column; gap: 3px; }
.side-flow-step b { font-size: 14.5px; font-weight: 600; }
.side-flow-step span { font-size: 12px; color: rgba(250, 248, 245, 0.5); font-weight: 300; }

.side-promises {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.side-promises li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.side-promises li:last-child { border-bottom: none; padding-bottom: 0; }
.side-promises li:first-child { padding-top: 0; }

.side-promises b { font-size: 14px; font-weight: 600; }
.side-promises span { font-size: 12.5px; color: var(--ink-3); font-weight: 300; }

.side-note {
  background: transparent;
  border-style: dashed;
}

.side-note p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.8;
  font-weight: 300;
}

/* ---------- 定制页：服务范围 ---------- */

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.scope-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scope-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.scope-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
}

.scope-card b { font-size: 15.5px; font-weight: 600; }
.scope-card p { font-size: 13px; color: var(--ink-2); font-weight: 300; line-height: 1.7; }

/* ---------- 管理台 ---------- */

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.admin-stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-stat b {
  font-size: 34px;
  font-weight: 200;
  letter-spacing: -0.02em;
}

.admin-stat span {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.btn-refresh {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-refresh:hover { border-color: var(--ink); color: var(--ink); }

.order-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-top: 16px;
  transition: border-color 0.2s;
}

.order-card:hover { border-color: #ddd6ca; }

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.order-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.order-no {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}

.order-type { font-size: 16px; font-weight: 600; }

.order-badge {
  font-size: 11.5px;
  border-radius: 999px;
  padding: 4px 12px;
  letter-spacing: 0.06em;
}

.st-pending { background: rgba(200, 80, 30, 0.1); color: var(--accent-ink); }
.st-doing { background: rgba(28, 26, 23, 0.07); color: var(--ink); }
.st-done { background: rgba(60, 130, 80, 0.1); color: #2f7a44; }

.order-time { font-size: 11.5px; color: var(--ink-3); }

.order-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  white-space: pre-line;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.order-meta b { color: var(--ink); font-weight: 500; }

.order-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.op-btn {
  border-radius: 999px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.op-btn:hover { background: var(--ink); color: var(--bg); }
.op-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.op-take { border-color: var(--accent); color: var(--accent-ink); }
.op-take:hover { background: var(--accent); color: #fff; }
.op-done { border-color: #2f7a44; color: #2f7a44; }
.op-done:hover { background: #2f7a44; color: #fff; }
.op-reopen { border-color: var(--line); color: var(--ink-2); }
.op-reopen:hover { background: var(--ink-2); color: var(--bg); border-color: var(--ink-2); }

.mono { font-family: var(--font-mono); }

/* ---------- 支付成功倒计时 ---------- */

.countdown-box {
  margin: 24px auto 6px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.countdown-box b {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 200;
  color: var(--accent);
  letter-spacing: -0.02em;
  min-width: 44px;
  text-align: right;
}

/* ---------- 版权声明块 ---------- */

.license-block {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 34em;
}

.license-block.src-auto { background: rgba(200, 80, 30, 0.04); }
.license-block.src-own { background: rgba(28, 26, 23, 0.03); }
.license-block.src-user { background: rgba(200, 80, 30, 0.04); }

.license-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  border-radius: 999px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.src-auto .license-badge { border-color: rgba(200, 80, 30, 0.4); color: var(--accent-ink); }
.src-own .license-badge { border-color: var(--ink); color: var(--ink); }

.license-block p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.85;
  font-weight: 300;
}

.license-link {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-ink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 跳转警告 ---------- */

.warn-body p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 12px;
}

.warn-body p b { font-weight: 600; }

.warn-url {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--ink-2);
  word-break: break-all;
  line-height: 1.6;
}

.warn-list {
  margin: 16px 0 6px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.warn-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

/* ---------- 封面图片上传 ---------- */

.cover-upload {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

#ef-cover-preview {
  width: 160px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.cover-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---------- 声明页 ---------- */

.notice-title {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.notice-title strong { font-weight: 600; }

.notice-updated {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin-bottom: 44px;
}

.notice-block {
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.notice-block h2 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

.notice-block p,
.notice-block li {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.95;
  font-weight: 300;
}

.notice-block ul,
.notice-block ol {
  margin: 0 0 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-block b { color: var(--ink); font-weight: 600; }

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover { color: var(--ink); }

/* ---------- 封面图片 ---------- */

.card-cover img,
.feat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.detail-cover {
  width: 100%;
  max-width: 34em;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 登录页 ---------- */

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
}

.login-main { width: 100%; max-width: 420px; }

.login-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 44px;
}

.login-title {
  font-size: 30px;
  font-weight: 200;
  text-align: center;
  margin: 14px 0 10px;
}

.login-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: center;
  margin-bottom: 30px;
}

.login-hint {
  margin-top: 22px;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.8;
}

/* ---------- 管理后台 tabs ---------- */

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-top: 44px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--ink); }

.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.tab-panel { margin-top: 34px; }

/* ---------- 支付页 ---------- */

.pay-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}

.pay-main .pay-desc {
  margin-top: 22px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.9;
  max-width: 30em;
}

.pay-app {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 30em;
}

.pay-meta {
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.pay-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 34px 32px;
  position: sticky;
  top: 32px;
}

.pay-card .pan-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: rgba(250, 248, 245, 0.45);
  text-transform: uppercase;
}

.pay-amount {
  margin-top: 18px;
  font-size: 52px;
  font-weight: 200;
  letter-spacing: -0.02em;
}

.pay-amount span {
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  margin-right: 4px;
}

/* ---------- 顶部筛选条 ---------- */

.top-filters {
  padding: 14px 0;
}

.top-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tf-selects {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tf-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-group label {
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

.tf-group select {
  appearance: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 36px 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236f6a62' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.2s;
}

.tf-group select:hover { border-color: var(--ink-2); }
.tf-group select:focus { border-color: var(--ink); }

.tf-group select.active-black {
  background-color: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23faf8f5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tf-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 460px;
}

.tf-search input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 300;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.tf-search input::placeholder { color: var(--ink-3); }
.tf-search input:focus { border-color: var(--ink); }

.tf-search button {
  background: var(--ink);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.15s;
}

.tf-search button:hover { background: #000; transform: translateY(-1px); }

/* ---------- 编辑弹层 ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 20px 40px;
  overflow-y: auto;
}

.modal[hidden] { display: none; }

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(28, 26, 23, 0.45);
  backdrop-filter: blur(3px);
}

.modal-card {
  position: relative;
  background: var(--bg);
  border-radius: 20px;
  width: 100%;
  max-width: 640px;
  padding: 34px 36px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.modal-head h3 {
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- 静态预览模式提示条 ---------- */

.mode-banner {
  background: var(--ink);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 300;
  padding: 12px 24px;
  text-align: center;
  line-height: 1.7;
}

.mode-banner a { color: var(--accent); text-decoration: underline; }



/* ---------- 站内公告条 ---------- */

.announce-bar {
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  padding: 10px 0;
}

.announce-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announce-bar-inner b {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid rgba(200, 80, 30, 0.6);
  border-radius: 999px;
  padding: 2px 10px;
  white-space: nowrap;
}

.announce-bar-inner span {
  flex: 1;
  font-weight: 300;
  line-height: 1.6;
}

.announce-close {
  background: none;
  border: none;
  color: rgba(250, 248, 245, 0.55);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.announce-close:hover { color: var(--bg); }


/* ---------- 加载更多 ---------- */

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.btn-load-more {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 40px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.btn-load-more:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 640px) {
  .tf-group select { flex: 1; }
}

/* ---------- 截图列表（后台编辑） ---------- */

.shot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.shot-item {
  position: relative;
  width: 110px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.shot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 26, 23, 0.75);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 详情页截图区 ---------- */

.detail-shots {
  margin-top: 26px;
  max-width: 34em;
}

.detail-shots .shots-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-shots .shots-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shots-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform 0.2s, border-color 0.2s;
}

.shots-grid img:hover {
  transform: scale(1.02);
  border-color: var(--ink-2);
}

/* ---------- 灯箱 ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(20, 18, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox[hidden] { display: none; }

.lightbox img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.lightbox-close:hover { border-color: #fff; }
/* ---------- 移动端汉堡菜单 ---------- */

.nav-toggle {
  display: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  line-height: 0;
  transition: border-color 0.2s;
}

.nav-toggle:hover { border-color: var(--ink); }

/* ---------- 凭证码 ---------- */

.voucher-box {
  margin: 8px auto 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.voucher-box > span {
  font-size: 12px;
  color: var(--ink-3);
}

.voucher-code {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 8px 20px;
}

@media (max-width: 640px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .nav .brand { order: 1; }
  .nav .nav-links {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    margin-top: 10px;
    box-shadow: 0 16px 40px -20px rgba(28, 26, 23, 0.25);
  }
  .nav .nav-links a {
    padding: 9px 6px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav .nav-links a:last-child { border-bottom: none; }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
}

/* ---------- 响应式补充 ---------- */

@media (max-width: 960px) {
  .top-filters-inner { flex-direction: column; align-items: stretch; }
  .tf-search { max-width: none; }
  .tf-selects { justify-content: space-between; }
  .pay-layout { grid-template-columns: 1fr; gap: 40px; }
  .pay-card { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .scope-grid-3 .scope-card:last-child { grid-column: 1 / -1; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .about-flow { flex-direction: column; gap: 28px; padding: 36px 32px; }
  .flow-arrow { transform: rotate(90deg); padding: 0; align-self: center; }
  .order-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
  .order-layout { grid-template-columns: 1fr; gap: 44px; }
  .order-side { position: static; }
}

@media (max-width: 640px) {
  .tf-selects { flex-direction: column; align-items: stretch; gap: 10px; }
  .tf-group { justify-content: space-between; }
  .tf-group select { flex: 1; }
  .modal-card { padding: 26px 22px; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-grid-3 { grid-template-columns: 1fr; }
  .scope-grid-3 .scope-card:last-child { grid-column: auto; }
  .about { margin-top: 90px; padding-top: 70px; }
  .about-flow { gap: 24px; }
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .pan-card { position: static; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .nav { flex-direction: column; gap: 16px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
  .hero { padding-top: 84px; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .site-footer { margin-top: 90px; }
}
