/* 吐司王国 · metatusi.com
   黑色首屏 + 金色渐变（像苹果 Pro 产品页），往下是白 / 浅灰的内容区；按钮用苹果蓝。
   只用系统字体（国内加载不了 Google 字体），不引用任何外部资源。
   动画只动 transform / opacity；系统里开了「减弱动态效果」就全部关掉。 */

:root {
  --black: #000;
  --ink-dark: #f5f5f7;      /* 黑底上的字 */
  --muted-dark: #86868b;
  --white: #fff;
  --gray: #f5f5f7;
  --ink: #1d1d1f;           /* 白底上的字 */
  --muted: #6e6e73;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --gold: linear-gradient(100deg, #f7e2a6 0%, #e9b95c 30%, #c98a3a 55%, #f3d38c 80%, #e9b95c 100%);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 48px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--ink-dark);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- 顶栏 ---- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(22, 22, 23, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.nav-inner {
  max-width: 1024px; margin: 0 auto; padding: 0 22px; height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink-dark); font-weight: 600; font-size: 15px; white-space: nowrap; }
.brand img { border-radius: 5px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--ink-dark); opacity: .8; font-size: 12px; white-space: nowrap; }
.nav nav a:hover { opacity: 1; text-decoration: none; }

/* ---- 通用排版 ---- */
.eyebrow { margin: 0 0 12px; font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.dark .eyebrow { color: #e9b95c; }
.light .eyebrow, .gray .eyebrow { color: #e9b95c; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; }
h1, h2, .lead, .welcome, .king-lead, blockquote p, .cap { text-wrap: balance; } /* 几行排得一样长，不会剩一两个字在下一行 */
h1 { font-size: clamp(46px, 9.4vw, 96px); line-height: 1.05; }
h2 { font-size: clamp(36px, 6.4vw, 64px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.3; }
.lead { margin: 24px auto 0; max-width: 680px; font-size: clamp(19px, 2.5vw, 24px); line-height: 1.45; font-weight: 500; }
.dark .lead { color: var(--muted-dark); }
.light .lead, .gray .lead { color: var(--muted); }
.hint { margin: 14px 0 0; font-size: 14px; color: var(--muted-dark); }
.fine { max-width: 680px; margin: 44px auto 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.gold {
  background: var(--gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px;
  background: var(--blue); color: #fff; font: 500 17px/1 var(--font); cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn.ghost:hover { background: rgba(0, 113, 227, .06); }

/* 滚动渐显 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---- 首屏 ---- */
.hero {
  position: relative; overflow: hidden; min-height: calc(100vh - 48px); min-height: calc(100svh - 48px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 22px 96px; text-align: center;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(233, 185, 92, .16), transparent 70%), var(--black);
}
.hero-inner { position: relative; z-index: 2; }
.hero .lead { margin-bottom: 40px; }
.hero h1 { font-size: clamp(48px, 10vw, 104px); }
.motto { margin: 18px 0 0; color: #f5f5f7; font-size: clamp(20px, 3vw, 28px); font-weight: 600; letter-spacing: .06em; }

.drift { position: absolute; inset: -24% -18%; z-index: 1; display: flex; flex-direction: column; justify-content: space-evenly;
  pointer-events: none; transform: rotate(-9deg);
  -webkit-mask-image: radial-gradient(ellipse 46% 34% at 50% 50%, transparent 38%, #000 82%);
  mask-image: radial-gradient(ellipse 46% 34% at 50% 50%, transparent 38%, #000 82%); }
.drift-row { display: flex; width: max-content; white-space: nowrap; animation: drift linear infinite; will-change: transform; }
.drift-row span { padding: 0 .9em; }
.drift-row.far { font-size: 12px; color: rgba(233, 185, 92, .16); }
.drift-row.mid { font-size: 15px; color: rgba(245, 245, 247, .17); }
.drift-row.near { font-size: 20px; font-weight: 600; color: rgba(233, 185, 92, .3); }
/* 流光：一道斜着的金光隔几秒扫过整片名字 */
.drift-sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255, 214, 140, .16) 47%, rgba(255, 236, 190, .26) 50%, rgba(255, 214, 140, .16) 53%, transparent 62%);
  transform: translateX(-100%); animation: sheen 7s ease-in-out 1.2s infinite; will-change: transform; }
@keyframes sheen { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.search {
  display: flex; max-width: 580px; margin: 0 auto; padding: 6px;
  background: rgba(255, 255, 255, .08); border-radius: 980px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.search:focus-within { box-shadow: inset 0 0 0 1px rgba(233, 185, 92, .7), 0 0 0 4px rgba(233, 185, 92, .14); }
.search input {
  flex: 1; min-width: 0; padding: 0 20px; border: 0; outline: 0; background: transparent;
  color: var(--ink-dark); font: 17px var(--font);
}
.search input::placeholder { color: #86868b; }
.search input::-webkit-search-cancel-button { display: none; }
.search button {
  flex: none; min-height: 48px; padding: 0 26px; border: 0; border-radius: 980px;
  background: var(--blue); color: #fff; font: 500 17px var(--font); cursor: pointer; transition: background .2s;
}
.search button:hover { background: var(--blue-hover); }

.results { max-width: 580px; margin: 26px auto 0; text-align: left; }
.results:empty { display: none; }
.result-count { margin: 0 0 10px 8px; color: var(--muted-dark); font-size: 14px; }
.result-list { margin: 0; padding: 0; list-style: none; background: rgba(28, 28, 30, .86); border-radius: var(--radius);
  overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.result-list li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.result { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 0; background: none;
  color: var(--ink-dark); font: 17px var(--font); text-align: left; cursor: pointer; }
.result:hover { background: rgba(255, 255, 255, .05); }
.result-no { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: #e9b95c; }
.result-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-tag { flex: none; padding: 2px 8px; border-radius: 6px; background: rgba(233, 185, 92, .16); color: #e9b95c; font-size: 12px; }
.result-go { flex: none; color: var(--link-dark); font-size: 14px; }
.not-me { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--link-dark); font: 15px var(--font); cursor: pointer; }
.loading { color: var(--muted-dark); text-align: center; font-size: 15px; }

.missing { padding: 26px 24px; background: rgba(28, 28, 30, .86); border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.missing h3 { font-size: 22px; }
.missing ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--muted-dark); font-size: 15px; }
.missing li + li { margin-top: 6px; }
.missing .best { margin: 18px 0 0; font-size: 16px; color: #d1d1d6; }
.missing .best strong { color: var(--ink-dark); }
.missing .btn { margin-top: 18px; }
.copied { margin: 10px 0 0; color: #e9b95c; font-size: 14px; }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; margin-left: -13px;
  border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(245, 245, 247, .35); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: rgba(245, 245, 247, .6); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---- 王国全图：钉在屏幕上，往下滑就放大 ---- */
.map { position: relative; height: 340vh; background: var(--black); }
.map-sticky { position: sticky; top: 48px; height: calc(100vh - 48px); height: calc(100svh - 48px); overflow: hidden; }
/* 放大镜头：全图和近景两张画布，只用 transform / opacity 动（显卡做） */
.zoom-stage { position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(ellipse 46% 40% at 50% 46%, rgba(233, 185, 92, .2), transparent 72%); }
.zs-over, .zs-near { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; pointer-events: none; }
.map-sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .78) 60%, rgba(0, 0, 0, .9)); }
.map-captions { position: absolute; z-index: 1; left: 0; right: 0; bottom: max(8vh, 40px); padding: 0 22px; text-align: center; pointer-events: none; }
.cap { position: absolute; left: 22px; right: 22px; bottom: 0; margin: 0; opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease; font-size: clamp(24px, 4.4vw, 44px); font-weight: 700; line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .8); }
.cap.on { opacity: 1; transform: none; }
.cap-last p { margin: 0 0 18px; }
.cap-last .btn { pointer-events: auto; }
.cap-last.on .btn { pointer-events: auto; }

/* ---- 数字 ---- */
.numbers { max-width: 1024px; margin: 0 auto; padding: 40px 22px 140px; text-align: center; background: var(--black); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats > div { position: relative; padding: 38px 14px 32px; border-radius: var(--radius); background: #111113; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
/* 像股票一样：右上角「▲ 涨了多少」（国内习惯红涨），数字每跳一下轻轻弹一下 */
.tick { position: absolute; top: 14px; right: 16px; font-style: normal; font-size: 13px; font-weight: 600; color: #ff5a5f;
  font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s; }
.tick.on { opacity: 1; }
.down { margin-left: 8px; font-style: normal; font-size: 14px; font-weight: 600; color: #30d158; font-variant-numeric: tabular-nums;
  opacity: 0; transition: opacity .4s; }
.down.on { opacity: 1; } /* 国内习惯绿跌：离 10 万的差距在变小 */
.bump { animation: bump .45s ease-out; }
@keyframes bump { 0% { transform: translateY(0); } 35% { transform: translateY(-4px); filter: brightness(1.25); } 100% { transform: none; } }
.stats strong { display: block; font-size: clamp(40px, 6vw, 64px); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 10px; color: var(--ink-dark); font-size: 17px; font-weight: 600; }
.stats em { display: block; margin-top: 6px; color: var(--muted-dark); font-size: 13px; font-style: normal; }
.goal { max-width: 680px; margin: 44px auto 0; }
.goal p { margin: 0 0 14px; color: var(--muted-dark); font-size: 17px; }
.goal b { color: var(--ink-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.goal-bar { height: 8px; border-radius: 8px; background: #1c1c1e; overflow: hidden; }
.goal-bar span { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--gold); transition: width 1.6s cubic-bezier(.2, .7, .2, 1); }

/* 首屏：国家图书馆收藏认证条（只用文字，不用图书馆的标志） */
.seal { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 580px; margin: 40px auto 0; color: inherit; }
.seal:hover { text-decoration: none; }
.seal-line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 185, 92, .7), transparent); }
.seal-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.seal-small { color: var(--muted-dark); font-size: 13px; letter-spacing: .08em; }
.seal-big { color: #f5f5f7; font-size: 19px; font-weight: 600; letter-spacing: .04em; }
.seal-en { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.seal:hover .seal-big { color: #fff; }

/* ---- 白 / 浅灰内容区 ---- */
/* 下面几段也是黑金：在这里把白底用的颜色换成黑底的，卡片、文字跟着变 */
.band { --ink: #f5f5f7; --muted: #a1a1a6; --white: #141416; --gray: #141416; --link: #2997ff;
  padding: clamp(100px, 13vw, 160px) 22px; text-align: center; color: var(--ink); }
.band.light { background: #000; }
.band.gray { background: #0a0a0b; }
.band-inner { max-width: 1024px; margin: 0 auto; }
.band a { color: var(--link); }
.band .btn { color: #fff; }
.band .btn.ghost { color: var(--link-dark); box-shadow: inset 0 0 0 1.5px var(--link-dark); }
.band .btn.ghost:hover { background: rgba(41, 151, 255, .1); }

.issues { display: grid; gap: 16px; max-width: 860px; margin: 60px auto 0; text-align: left; }
.issue { display: grid; grid-template-columns: 210px 1fr; gap: 36px; align-items: center; padding: 30px; background: var(--gray); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.issue img { width: 100%; border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.issue-tag { margin: 0 0 6px; color: #e9b95c; font-size: 14px; font-weight: 600; }
.issue h3 { font-size: 30px; }
.issue p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.issue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pdf { display: inline-block; margin-top: 14px; font-size: 15px; }
.more { display: flex; justify-content: center; gap: 28px; margin-top: 26px; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 60px 0 0; padding: 0; list-style: none; text-align: left; }
.steps li { padding: 32px 28px; background: var(--white); border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 50%;
  background: var(--gold); color: #2a1708; font-weight: 700; }
.steps p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.welcome { margin: 64px 0 0; font-size: clamp(26px, 4vw, 40px); line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }

.king-lead { max-width: 680px; margin: 28px auto 0; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.35; font-weight: 600; color: var(--ink); }
.king-text { max-width: 640px; margin: 40px auto 0; color: var(--muted); font-size: 19px; line-height: 1.75; text-align: left; }
.king-text p { margin: 0 0 20px; }

/* 王国的法律依据：讲完开王国，紧接着亮出依据 */
.charter { max-width: 640px; margin: 48px auto 0; padding: 32px 28px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(180deg, rgba(233, 185, 92, .1), rgba(233, 185, 92, .03));
  box-shadow: inset 0 0 0 1px rgba(233, 185, 92, .35); }
.charter-label { margin: 0; color: #e9b95c; font-size: 14px; font-weight: 600; letter-spacing: .12em; }
.charter-facts { margin: 18px 0 0; padding: 0; list-style: none; text-align: left; }
.charter-facts li { margin: 0; padding: 12px 0; color: var(--muted); font-size: 16px; line-height: 1.7; border-top: 1px solid rgba(233, 185, 92, .18); }
.charter-facts li:first-child { border-top: 0; padding-top: 4px; }
.charter-facts b { color: var(--ink); font-weight: 600; }
.charter-rule { margin: 22px 0 0; color: var(--ink); font-size: clamp(21px, 3vw, 26px); font-weight: 700; line-height: 1.45; text-wrap: balance; }
.charter figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }

/* 目前可以公开的情报（《进击的巨人》集尾那种）：还没定的条目涂黑，等国民在评论区玩出来再解密 */
.intel h3 { color: #e9b95c; letter-spacing: .04em; }
.intel dt { color: #e9b95c; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.redact { display: inline-block; width: 7.5em; height: .95em; margin: 0 .4em 0 .1em; vertical-align: -.1em; border-radius: 2px;
  background: repeating-linear-gradient(-45deg, #2b2b2e 0 6px, #1c1c1e 6px 12px); box-shadow: inset 0 0 0 1px rgba(233, 185, 92, .25); }
.sealed em { font-style: normal; font-size: 13px; color: #e9b95c; letter-spacing: .08em; white-space: nowrap; }
@media (max-width: 600px) { .redact { width: 4.5em; } }
.intel-foot { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* 王国档案：像苹果的「技术规格」，左边项目名，右边内容，每行一条细线 */
.dossier { max-width: 640px; margin: 56px auto 0; text-align: left; }
.dossier h3 { padding-bottom: 14px; border-bottom: 1px solid rgba(233, 185, 92, .6); font-size: 24px; }
.dossier dl { margin: 0; }
.dossier dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.dossier dt { color: var(--muted); font-size: 15px; }
.dossier dd { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.dossier dd b { color: var(--ink); font-weight: 600; }
blockquote { max-width: 680px; margin: 64px auto 0; padding: 0; }
blockquote p { margin: 0; font-size: clamp(20px, 2.8vw, 26px); line-height: 1.55; font-weight: 600; }
.nb { display: inline-block; } /* 一块话不从中间断开：手机上整块换行 */
blockquote img { margin: 28px auto 0; height: 110px; width: auto; }

.footer { padding: 28px 22px 44px; background: #000; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; color: var(--muted-dark); font-size: 12px; }
.footer p { margin: 4px 0; }
.footer strong { color: var(--ink-dark); }

/* ---- 找到你了：全屏，从全图飞到你那一粒 ---- */
.found { position: fixed; inset: 0; z-index: 50; background: #000; color: var(--ink-dark); overflow: hidden; }
.found[hidden] { display: none; }
.found::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; pointer-events: none; z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .9) 38%, rgba(0, 0, 0, .97)); }
.found-skip, .found-back {
  position: absolute; top: max(14px, env(safe-area-inset-top)); z-index: 6; min-height: 38px; padding: 0 16px;
  border: 0; border-radius: 980px; background: rgba(255, 255, 255, .14); color: var(--ink-dark); font: 15px var(--font); cursor: pointer;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.found-skip[hidden] { display: none; }
.found-back { left: 16px; }
.found-skip { right: 16px; }
.text-btn { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--link-dark); font: 16px var(--font); cursor: pointer; }
.found-status { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 2; text-align: center; color: var(--muted-dark); font-size: 17px; transition: opacity .4s; }
.found-info { position: absolute; left: 0; right: 0; bottom: max(6vh, 28px); z-index: 2; padding: 0 22px; text-align: center;
  animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.found-info[hidden] { display: none; }
.found-title { margin: 0; font-size: clamp(30px, 6vw, 52px); font-weight: 700; letter-spacing: -.02em; }
.found-no { margin: 6px 0 0; font-size: clamp(34px, 7vw, 60px); font-weight: 700; font-variant-numeric: tabular-nums; }
.found-no span:first-child { font-size: .5em; margin-right: .2em; color: #e9b95c; }
.roll { display: inline-block; background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.found-name { margin: 4px 0 0; font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.found-sub { margin: 6px 0 18px; color: var(--muted-dark); font-size: 15px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.card-stage { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 70px 22px 28px; background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.card-stage[hidden] { display: none; }
.card3d { position: relative; width: min(380px, 82vw, 52vh); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  transform-style: preserve-3d; animation: flipin 1s cubic-bezier(.2, .8, .2, 1) both;
  box-shadow: 0 30px 80px rgba(233, 185, 92, .18), 0 0 0 1px rgba(233, 185, 92, .25); touch-action: none; }
.card3d img { width: 100%; height: 100%; object-fit: cover; }
.card3d .shine { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 240, 200, .32) 46%, transparent 62%);
  transform: translateX(-120%); animation: shine 2.6s ease-in-out .9s infinite; }
@keyframes flipin { from { opacity: 0; transform: perspective(1000px) rotateY(-100deg) scale(.86); } to { opacity: 1; transform: perspective(1000px) rotateY(0) scale(1); } }
@keyframes shine { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
.card-actions { text-align: center; }
.card-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.card-buttons .btn.ghost { color: #e9b95c; box-shadow: inset 0 0 0 1.5px #e9b95c; }
.card-buttons .btn.ghost:hover { background: rgba(233, 185, 92, .1); }
.card-buttons .btn[hidden] { display: none; }

/* ---- 手机 ---- */
@media (max-width: 734px) {
  body { font-size: 16px; }
  .nav nav { gap: 16px; }
  .nav nav a:nth-child(4) { display: none; }
  .drift { -webkit-mask-image: radial-gradient(ellipse 70% 30% at 50% 50%, transparent 42%, #000 86%);
    mask-image: radial-gradient(ellipse 70% 30% at 50% 50%, transparent 42%, #000 86%); }
  .drift-row.near { font-size: 17px; }
  .search { flex-direction: column; padding: 8px; border-radius: 26px; }
  .search input { min-height: 50px; padding: 0 12px; text-align: center; }
  .search button { width: 100%; }
  .hero .lead { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { padding: 28px 12px 24px; }
  .numbers { padding-bottom: 100px; }
  .seal { gap: 12px; margin-top: 34px; }
  .seal-big { font-size: 17px; }
  .issue { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
  .issue img { max-width: 210px; margin: 0 auto; }
  .issue-body { text-align: center; }
  .issue-actions { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .dossier dl div { grid-template-columns: 84px 1fr; padding: 16px 0; }
  blockquote p { font-size: 18px; }
  blockquote img { height: 90px; }
  .charter { padding: 26px 20px; }
  .charter-rule { font-size: 20px; }
  .dossier dd { font-size: 16px; }
  .king-text { font-size: 17px; }
  .more { flex-direction: column; gap: 10px; }
}

/* ---- 减弱动态效果 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift-row, .drift-sheen, .scroll-cue span, .card3d, .card3d .shine, .found-info { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .map { height: auto; }
  .map-sticky { position: relative; top: 0; height: 80vh; }
}

/* 查到的那一粒：完整的名字放大「弹出来」，压在近景上 */
.zs-pop {
  position: absolute; z-index: 1; width: max-content; max-width: min(86vw, 520px); padding: 10px 20px; border-radius: 16px;
  background: linear-gradient(135deg, #fbe7b0, #e9b95c 55%, #f6d999); color: #2a1708;
  font: 700 clamp(19px, 4.6vw, 26px)/1.25 var(--font); text-align: center; overflow-wrap: anywhere; pointer-events: none;
  box-shadow: 0 0 0 2px #fff3cf, 0 14px 36px rgba(0, 0, 0, .55), 0 0 46px rgba(255, 214, 120, .55);
  opacity: 0; transform: translate(-50%, -50%) scale(.55);
  transition: opacity .25s ease, transform .5s cubic-bezier(.2, 1.5, .4, 1);
}
.zs-pop:empty { display: none; }
.zs-pop.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (prefers-reduced-motion: reduce) { .zs-pop { transition: none; } }

/* 没查到：时间胶囊 */
.missing .best { margin-top: 12px; }
.capsule { margin-top: 20px; padding: 18px; border-radius: 18px; background: rgba(233, 185, 92, .08); box-shadow: inset 0 0 0 1px rgba(233, 185, 92, .22); }
.capsule-title { margin: 0 0 12px; color: #f3d38c; font-size: 16px; font-weight: 600; }
.capsule-row { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: rgba(0, 0, 0, .35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.capsule-row:focus-within { box-shadow: inset 0 0 0 1px rgba(233, 185, 92, .7); }
.capsule-input { flex: 1; min-width: 0; min-height: 46px; border: 0; outline: 0; background: transparent; color: var(--ink-dark); font: 16px var(--font); }
.capsule-input::placeholder { color: #86868b; }
.capsule-count { flex: none; color: var(--muted-dark); font-size: 12px; font-variant-numeric: tabular-nums; }
.text-btn.inline { display: inline-block; margin: 10px 0 14px; padding: 0; font-size: 15px; }
.capsule .btn { display: flex; width: 100%; }
.capsule-fine { margin: 12px 0 0; color: var(--muted-dark); font-size: 12px; line-height: 1.6; }
.missing .why { margin-top: 16px; }

/* 第 N 期收录截止倒计时（tools/site.py 的 NEXT_ISSUE_CUTOFF 填了日期才显示） */
.countdown { margin: 64px auto 0; }
.countdown[hidden] { display: none; }
.countdown-label { margin: 0; color: var(--muted); font-size: 17px; }
.countdown-num { margin: 6px 0 0; font-size: clamp(64px, 12vw, 120px); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; }
.countdown-num small { margin-left: .12em; font-size: .3em; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.countdown-hint { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
