/* 大字报风格（Luke 2026-10-14 选的 C 方案）：白底黑字、2px 黑框、粗体大字、硬阴影、六类兴趣各一种颜色。
   一列窄版面，手机优先；不加载任何外部字体或脚本（国内访问更稳）。 */
:root {
  --paper: #fff; --ink: #111; --muted: #444; --soft: #f1f1ee; --line: #111;
  --accent: #2340f0; --on-accent: #fff; --warn: #e8561e; --good: #0a8f5a; --bad: #c62828;
  --R: #e8561e; --I: #2340f0; --A: #ff3d8b; --S: #00a86b; --E: #ffb800; --C: #7a5cff;
  --tR: #c94512; --tA: #d4136a; --tS: #00825a; --tE: #8f6400;
  --seal: #d6261c; --tape: rgba(255, 210, 80, .6);
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e0e0e; --ink: #f2f2f2; --muted: #bdbdbd; --soft: #1c1c1c; --line: #f2f2f2;
    --accent: #7d8fff; --on-accent: #0e0e0e; --warn: #ff8a5c; --good: #4cd39a; --bad: #ff7b6b;
    --I: #6f86ff; --C: #9f88ff;
    --tR: #ff8a5c; --tA: #ff6fa8; --tS: #3fd39a; --tE: #ffc93d;
    --seal: #ff6b5e; --tape: rgba(255, 210, 80, .35);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.7; }
[hidden] { display: none !important; }
a { color: var(--accent); font-weight: 700; text-underline-offset: 3px; }
.strip { margin: 0; padding: 8px 16px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.wrap { max-width: 640px; margin: 0 auto; padding: 22px 16px 40px; overflow-x: hidden; overflow-x: clip; } /* 盖章、贴海报时放大的东西不撑出横向滚动条 */
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 900; }
h1 { font-size: clamp(30px, 8vw, 40px); letter-spacing: -.01em; }
h2 { font-size: 22px; }
h3 { font-size: 19px; }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lead { color: var(--muted); }
.small { font-size: .86rem; color: var(--muted); }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.hero { font-size: clamp(40px, 12vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.hero .ln { display: block; }
.accent { color: var(--accent); }
.hero .hl { background: linear-gradient(var(--E), var(--E)) no-repeat 0 92% / 100% .26em; }
.herobox { position: relative; }
/* 印章：点一下会再盖一次 */
.seal { position: absolute; right: 4px; top: 4px; width: 72px; height: 72px; padding: 7px; display: grid; grid-template-columns: 1fr 1fr; place-items: center;
  border: 3px solid var(--seal); box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 4px var(--seal); color: var(--seal);
  font-size: 20px; font-weight: 900; line-height: 1; transform: rotate(-12deg); cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.note { border: 2px solid var(--line); padding: 12px 14px; font-size: .94rem; display: flex; flex-direction: column; gap: 6px; }
.note.dark { position: relative; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.note.dark .dim { opacity: .8; }
.warn { background: var(--soft); border-left: 6px solid var(--warn); padding: 12px 14px; font-size: .94rem; }
.plain { margin: 0; padding-left: 1.2em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }

/* 按钮 */
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { opacity: .45; cursor: default; }
.primary, .secondary { border: 2px solid var(--line); border-radius: 0; padding: 12px 22px; font-weight: 900; align-self: flex-start; margin-right: 4px; }
.primary { background: var(--accent); color: var(--on-accent); box-shadow: 4px 4px 0 var(--line); letter-spacing: .06em; }
.primary { transition: transform .08s, box-shadow .08s; }
@media (hover: hover) { .primary:hover:not(:disabled) { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--line); } }
.primary:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--line); }
.primary.big { min-height: 56px; font-size: 18px; letter-spacing: .2em; align-self: stretch; }
.secondary { background: var(--paper); color: var(--ink); }
.ghost { background: none; border: 0; padding: 8px 0; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; align-self: flex-start; }
button:focus-visible, select:focus-visible, textarea:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* 首页步骤 */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.steps li { border: 2px solid var(--line); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.steps .num { font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps b { font-size: 15px; font-weight: 800; }
.steps span:last-child { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* 访谈 */
.chat-head { display: flex; justify-content: space-between; align-items: baseline; }
.log { display: flex; flex-direction: column; gap: 10px; min-height: 40vh; }
.bubble { max-width: 88%; padding: 10px 14px; white-space: pre-wrap; word-break: break-word; }
.bubble.ai { border: 2px solid var(--line); align-self: flex-start; }
.bubble.me { background: var(--accent); color: var(--on-accent); align-self: flex-end; font-weight: 600; }
.bubble.sys { background: var(--ink); color: var(--paper); align-self: stretch; max-width: none; font-size: .94rem; }
.bubble.typing { color: var(--muted); }
.composer { display: flex; flex-direction: column; gap: 8px; }
.composer textarea { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); resize: vertical; }
.composer-row { display: flex; justify-content: space-between; align-items: center; }
.composer-row .primary { align-self: auto; }

/* 答题 */
.bar { height: 14px; border: 2px solid var(--line); }
.bar > i { display: block; height: 100%; width: 0; background: var(--accent) repeating-linear-gradient(-45deg, transparent 0 6px, rgba(255, 255, 255, .22) 6px 12px); transition: width .2s; }
.qnum { display: flex; align-items: baseline; gap: 8px; line-height: .9; font-variant-numeric: tabular-nums; margin-top: 6px; }
.qnum b { font-size: clamp(72px, 22vw, 104px); font-weight: 900; letter-spacing: -.04em; color: var(--accent); }
.qnum span { font-size: 20px; font-weight: 900; }
.q { font-size: clamp(22px, 6.4vw, 26px); font-weight: 800; line-height: 1.45; min-height: 3em; }
.qhint { margin-top: -8px; font-size: .9rem; color: var(--muted); }
.opts { display: flex; flex-direction: column; gap: 8px; margin-right: 4px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px; text-align: left; background: var(--paper); color: var(--ink); border: 2px solid var(--line); border-radius: 0; font-size: 17px; font-weight: 700; }
.opt b { font-size: 15px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .opt:hover { box-shadow: 4px 4px 0 var(--line); } }
.opt.sel { background: var(--accent); color: var(--on-accent); box-shadow: 4px 4px 0 var(--line); }
.opt.sel b { color: var(--on-accent); }
.pre { white-space: pre-line; }
.fbopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-right: 4px; }
.fbopts .opt { justify-content: center; min-height: 48px; padding: 0 8px; }

/* 学科 */
.qlabel { font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--paper); color: var(--ink); border: 2px solid var(--line); border-radius: 0; padding: 5px 12px; font-size: .92rem; font-weight: 700; }
.chip.sel { background: var(--ink); color: var(--paper); }
#tdislike .chip.sel::before { content: "✕ "; }
.chip.static { cursor: default; font-weight: 600; border-width: 1px; padding: 3px 10px; }
.likes { display: flex; flex-direction: column; gap: 14px; }
.like { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.like > span { font-weight: 800; }
.like .chip { padding: 4px 10px; font-size: .86rem; }
select { font: inherit; padding: 10px; border-radius: 0; border: 2px solid var(--line); background: var(--paper); color: var(--ink); max-width: 100%; }

/* 结果：最感兴趣的两类和六类兴趣 */
.topbox { position: relative; rotate: -.5deg; border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--line); margin-right: 4px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.topbox .big { font-size: clamp(34px, 10vw, 40px); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.barrow { width: 100%; padding: 2px 0; background: none; border: 0; text-align: left; font-family: inherit; line-height: 1.7; display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 10px; align-items: center; font-size: 15px; font-weight: 700; color: var(--muted); }
.barrow.top { color: var(--ink); font-weight: 900; }
.track { display: block; height: 18px; border: 2px solid var(--line); }
.barrow[aria-pressed="true"] > span:first-child { color: var(--ink); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (hover: hover) { .barrow:hover .track { box-shadow: 3px 3px 0 var(--line); } }
.bardesc { min-height: 1.7em; }
.track > i { display: block; height: 100%; transform-origin: left center; }
/* 文字用的颜色比填充色深一点，白底上也看得清 */
.t-R { color: var(--tR); } .t-I { color: var(--I); } .t-A { color: var(--tA); } .t-S { color: var(--tS); } .t-E { color: var(--tE); } .t-C { color: var(--C); }
.f-R { background: var(--R); } .f-I { background: var(--I); } .f-A { background: var(--A); } .f-S { background: var(--S); } .f-E { background: var(--E); } .f-C { background: var(--C); }

/* AI 文字 */
.aibox { border: 2px solid var(--line); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.aibox > .kicker { display: flex; justify-content: space-between; gap: 8px; }
.aibox p { font-size: 1.02rem; }
.loading { color: var(--muted); }
.loading::after { content: "▍"; margin-left: 2px; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.dirs { display: flex; flex-direction: column; gap: 10px; }
.dir { border-left: 6px solid var(--accent); padding: 2px 0 2px 12px; display: flex; flex-direction: column; gap: 6px; }
.dir h3 { font-size: 17px; }
.dir p { font-size: .95rem; }

/* 专业卡片 */
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; border-bottom: 4px solid var(--line); margin-top: 8px; }
.cards { display: flex; flex-direction: column; gap: 14px; }
.card { border: 2px solid var(--line); display: flex; flex-direction: column; }
.card-h { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 2px solid var(--line); }
.card-h.plain { grid-template-columns: minmax(0, 1fr) auto; }
.card-h .n { font-size: 26px; font-weight: 900; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.card-h h3 { font-size: 20px; }
.card-h h3 small { font-size: 13px; font-weight: 700; color: var(--muted); }
.card-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.tag { padding: 2px 8px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; white-space: nowrap; }
.tag.soft { background: transparent; color: var(--ink); border: 2px solid var(--line); padding: 0 6px; }
.points { display: flex; flex-direction: column; gap: 4px; }
.points > b { font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.points ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.points li { position: relative; padding-left: 1.5em; font-size: .95rem; }
.points li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.points.good li::before { content: "✓"; color: var(--good); }
.points.watch li::before { content: "!"; color: var(--warn); left: .3em; }
.kv { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); font-size: .94rem; }
.kv > b { font-weight: 800; }
.kv > * { padding: 6px 0; border-top: 1px solid var(--line); }
.bad { color: var(--bad); font-weight: 700; }
.more { align-self: flex-start; background: none; border: 0; padding: 4px 0; font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.box { border: 2px solid var(--line); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.choice { position: relative; rotate: .4deg; border: 2px solid var(--line); box-shadow: 4px 4px 0 var(--line); margin-right: 4px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }

/* 初步推荐的列表 */
.plist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.plist li { border-top: 1px solid var(--line); }
.plist li:last-child { border-bottom: 1px solid var(--line); }
.plist button { width: 100%; display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 10px 2px; background: none; border: 0; text-align: left; }
.plist .n { font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums; }
.plist .nm { font-weight: 800; }
.plist .go { font-weight: 900; }

/* 专业详情 */
.dsec { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 2px solid var(--line); }
.dsec > h2 { font-size: 13px; letter-spacing: .14em; }
.types { display: flex; flex-wrap: wrap; gap: 6px; }
.types span { padding: 1px 8px; border: 2px solid currentColor; font-weight: 800; font-size: .9rem; }

/* 学校名单 */
.slist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.slist li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.slist li:last-child { border-bottom: 1px solid var(--line); }
.slist .nm { font-weight: 800; }
.slist .badges { display: flex; gap: 6px; margin-left: auto; }
.dsec h3 { font-size: 16px; margin-top: 6px; }

/* 往年分数去哪查 */
.links { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* 人格画像 */
.dom { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dom .card-h { all: unset; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.scale { position: relative; height: 14px; border: 2px solid var(--line); margin: 8px 0 2px; }
.scale > i { position: absolute; top: 50%; width: 16px; height: 22px; background: var(--accent); border: 2px solid var(--line); transform: translate(-50%, -50%); }
.ends { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.portrait { font-size: 1.04rem; display: flex; flex-direction: column; gap: 8px; }
.foot { max-width: 640px; margin: 0 auto; padding: 0 16px 32px; font-size: .78rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .bar > i, .primary { transition: none; } .loading::after { animation: none; } }

/* ---------- 胶带 ---------- */
.topbox::before, .topbox::after, .choice::before, .choice::after, .note.dark::before {
  content: ""; position: absolute; top: -7px; width: 54px; height: 18px; background: var(--tape); pointer-events: none;
  clip-path: polygon(0 12%, 7% 0, 93% 0, 100% 14%, 95% 50%, 100% 86%, 93% 100%, 7% 100%, 0 88%, 5% 50%); }
.topbox::before, .choice::before, .note.dark::before { left: -14px; transform: rotate(-40deg); }
.topbox::after, .choice::after { right: -10px; transform: rotate(38deg); }

/* ---------- 盖章（做完一部分题时）---------- */
.bigstamp { position: fixed; inset: 0; z-index: 50; overflow: hidden; display: flex; align-items: center; justify-content: center; pointer-events: none; visibility: hidden; }
.bigstamp.on { visibility: visible; }
.bigstamp > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 24px 12px; background: var(--paper); color: var(--seal);
  border: 5px solid var(--seal); box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 6px var(--seal); transform: rotate(-12deg); opacity: 0; }
.bigstamp b { font-size: 60px; font-weight: 900; line-height: 1.1; letter-spacing: .12em; margin-right: -.12em; }
.bigstamp span { font-size: 15px; font-weight: 900; letter-spacing: .2em; margin-right: -.2em; }
.bigstamp.mini { align-items: flex-start; justify-content: flex-end; padding: 76px 18px 0 0; }
.bigstamp.mini > div { padding: 4px 12px; border-width: 3px; box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 4px var(--seal); }
.bigstamp.mini b { font-size: 26px; }

/* ---------- 动效：像大字报一样贴上墙、盖章、刷墨。系统设置了“减少动态效果”就全部不动。---------- */
@media (prefers-reduced-motion: no-preference) {
  /* 换页：每一块从上面落下来贴到墙上，一块接一块 */
  .paste > * { animation: paste .46s cubic-bezier(.2, .9, .25, 1.15) backwards; }
  .paste > :nth-child(even) { --tilt: 1.2deg; }
  .paste > :nth-child(2) { animation-delay: .05s; }
  .paste > :nth-child(3) { animation-delay: .1s; }
  .paste > :nth-child(4) { animation-delay: .15s; }
  .paste > :nth-child(5) { animation-delay: .2s; }
  .paste > :nth-child(6) { animation-delay: .25s; }
  .paste > :nth-child(n+7) { animation-delay: .3s; }
  /* 首页：大字一行行砸下来，荧光笔划一道，再盖个章 */
  .paste > .herobox, .paste > .steps { animation: none; }
  .paste .hero .ln { animation: drop .55s cubic-bezier(.2, .9, .3, 1.2) backwards; }
  .paste .hero .ln:nth-child(2) { animation-delay: .1s; }
  .paste .hero .ln:nth-child(3) { animation-delay: .2s; }
  .paste .hero .hl { animation: highlight .4s .65s ease-out backwards; }
  .paste .seal { animation: sealin .5s .8s cubic-bezier(.3, 1.3, .5, 1) backwards; }
  .seal.again { animation: sealin .45s cubic-bezier(.3, 1.3, .5, 1); }
  .paste .steps li { animation: paste .42s cubic-bezier(.2, .9, .25, 1.15) backwards; }
  .paste .steps li:nth-child(even) { --tilt: 1.8deg; }
  .paste .steps li:nth-child(1) { animation-delay: .25s; }
  .paste .steps li:nth-child(2) { animation-delay: .3s; }
  .paste .steps li:nth-child(3) { animation-delay: .35s; }
  .paste .steps li:nth-child(4) { animation-delay: .4s; }
  .paste .steps li:nth-child(5) { animation-delay: .45s; }
  .paste .steps li:nth-child(6) { animation-delay: .5s; }
  /* 结果：两大类盖章，兴趣条一根根刷出来 */
  .paste .topbox .big { transform-origin: left center; animation: stamp .5s .35s cubic-bezier(.3, 1.4, .5, 1) backwards; }
  .paste .track > i { animation: grow .8s .3s cubic-bezier(.2, .8, .2, 1) backwards; }
  .paste .barrow:nth-child(2) .track > i { animation-delay: .37s; }
  .paste .barrow:nth-child(3) .track > i { animation-delay: .44s; }
  .paste .barrow:nth-child(4) .track > i { animation-delay: .51s; }
  .paste .barrow:nth-child(5) .track > i { animation-delay: .58s; }
  .paste .barrow:nth-child(6) .track > i { animation-delay: .65s; }
  .paste > #mname { transform-origin: left center; animation-name: stamp; }
  /* 往下翻时，卡片一张张贴上来，标签盖章 */
  .rv { opacity: 0; }
  .rv.in { opacity: 1; animation: paste .46s cubic-bezier(.2, .9, .25, 1.15) backwards; }
  .rv.in:nth-child(even) { --tilt: 1.2deg; }
  .rv.in .card-h .tag { animation: stamp .4s .25s cubic-bezier(.3, 1.4, .5, 1) backwards; }
  /* AI 的文字到了：像印出来一样从上往下出现 */
  .ink > * { animation: ink .7s ease-out backwards; }
  .ink > :nth-child(2) { animation-delay: .15s; }
  .ink > :nth-child(3) { animation-delay: .3s; }
  .ink > :nth-child(n+4) { animation-delay: .45s; }
  .inked { animation: ink .6s ease-out backwards; }
  .flash { animation: ink .3s ease-out; }
  /* 答题：题号盖章，题目滑进来，选项一个个冒出来，选中时按下去 */
  #qbig.swap { animation: stamp .34s cubic-bezier(.3, 1.5, .5, 1); }
  #qtext.swap { animation: slidein .24s ease-out; }
  .opt { animation: rise .24s ease-out backwards; }
  .opt:nth-child(2) { animation-delay: .03s; }
  .opt:nth-child(3) { animation-delay: .06s; }
  .opt:nth-child(4) { animation-delay: .09s; }
  .opt:nth-child(5) { animation-delay: .12s; }
  .opt.sel { animation: thump .16s ease-out; }
  .chip.pop { animation: pop .22s ease-out; }
  .bubble { animation: bubble .22s ease-out backwards; transform-origin: left bottom; }
  .bubble.me { transform-origin: right bottom; }
  .bigstamp.on > div { animation: bigstamp 1.3s cubic-bezier(.3, 1.2, .5, 1) both; }
}
@keyframes paste {
  0% { opacity: 0; transform: translateY(-16px) rotate(var(--tilt, -1.4deg)) scale(1.02); }
  65% { opacity: 1; transform: translateY(2px) rotate(0deg) scale(.998); }
  100% { opacity: 1; transform: none; }
}
@keyframes drop {
  0% { opacity: 0; transform: translateY(-46px) rotate(-5deg); }
  60% { opacity: 1; transform: translateY(4px) rotate(1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes stamp {
  0% { opacity: 0; transform: scale(1.9) rotate(-8deg); }
  55% { opacity: 1; transform: scale(.94) rotate(1deg); }
  78% { transform: scale(1.03) rotate(0deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes sealin {
  0% { opacity: 0; transform: rotate(-12deg) scale(2.4); }
  50% { opacity: 1; transform: rotate(-12deg) scale(.92); }
  75% { transform: rotate(-12deg) scale(1.04); }
  100% { opacity: 1; transform: rotate(-12deg); }
}
@keyframes bigstamp {
  0% { opacity: 0; transform: rotate(-12deg) scale(2.6); }
  16% { opacity: 1; transform: rotate(-12deg) scale(.94); }
  24% { transform: rotate(-12deg) scale(1.03); }
  30% { transform: rotate(-12deg) scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-12deg) scale(1); }
}
@keyframes highlight { from { background-size: 0% .26em; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes ink { from { clip-path: inset(0 0 100% 0); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes slidein { from { opacity: 0; transform: translateX(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes thump { from { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--line); } }
@keyframes pop { 0% { transform: scale(.86); } 60% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes bubble { from { opacity: 0; transform: translateY(8px) scale(.94); } }
@media print { .rv { opacity: 1; } .bigstamp { display: none; } }

/* 管理页 */
.input { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.tablewrap { overflow-x: auto; }
table { border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--line); padding: 6px 10px; text-align: left; white-space: nowrap; }
code { background: var(--soft); padding: 1px 5px; }
