/* 044 催眠游戏 · 样式。颜色全部由 app.js 按当前画面写进 :root（见 visuals.js 的 theme），这里只放默认值 */
:root {
  --bg: #12040a; --accent: #ff4d94; --on-accent: #fff; --ink: #ffe9f1; --ink2: #e9a9c2; --ink3: #a8768c;
  --line: rgba(255,160,200,.24); --chip: rgba(30,6,16,.5); --say: #fff1f6; --sub: #ffb8d2; --glow: rgba(255,77,148,.38);
  --card: rgba(42,8,24,.74); --cell: rgba(255,120,170,.10); --radius: 22px; --btn-radius: 999px;
  --ui-glow: rgba(229,139,216,.38); --vis-accent: #c9d3ff;   /* 按钮光晕（固定兰粉紫）/ 画面自己的强调色（节拍圈、波纹、叫停的光） */
  --center-y: 42%; --say-y: 72%; --pv-h: min(40vh, 300px);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --f-sans: 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --f-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --f-mono: 'Consolas', 'Menlo', 'Courier New', 'Microsoft YaHei', monospace;
  --font-say: var(--f-serif); --font-num: 'Didot', 'Bodoni 72', 'Times New Roman', serif;
}
html[data-font="sans"] { --font-say: var(--f-sans); --font-num: 'Helvetica Neue', 'Segoe UI', var(--f-sans); }
html[data-font="mono"] { --font-say: var(--f-mono); --font-num: var(--f-mono); }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html, body { height: 100%; overflow: hidden; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-sans); user-select: none; -webkit-user-select: none; transition: background .6s; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ---------- 画面 ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; transition: opacity .35s; }
#gl.pixel { image-rendering: pixelated; image-rendering: crisp-edges; }
#gl.fade { opacity: 0; }
#fallback { position: fixed; inset: 0; display: none; }
body.nogl #gl { display: none; }
body.nogl #fallback { display: block; background: radial-gradient(circle at 50% 42%, var(--accent) 0, transparent 45%), conic-gradient(from 0deg at 50% 42%, var(--bg), var(--glow), var(--bg), var(--glow), var(--bg)); animation: spin 40s linear infinite; opacity: .55; }
@keyframes spin { to { filter: hue-rotate(20deg); transform: rotate(360deg) scale(1.6); } }
.veil { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 42%, transparent 42%, rgba(0,0,0,.55) 100%); transition: background .6s; }
body[data-screen="gate"] .veil { background: rgba(0,0,0,.5); }
body[data-screen="setup"] .veil { background: linear-gradient(to bottom, rgba(0,0,0,.25) 0, rgba(0,0,0,0) 12%, rgba(0,0,0,0) calc(var(--pv-h) - 70px), rgba(0,0,0,.74) calc(var(--pv-h) + 10px), rgba(0,0,0,.8) 100%); }
body[data-screen="report"] .veil { background: rgba(0,0,0,.42); }
.scan { position: fixed; inset: 0; pointer-events: none; display: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.2) 0 1px, transparent 1px 3px); }

/* ---------- 页面切换 ---------- */
.screen { position: fixed; inset: 0; display: none; z-index: 2; }
body[data-screen="gate"] #gate, body[data-screen="setup"] #setup, body[data-screen="game"] #game, body[data-screen="report"] #report { display: flex; }

/* ---------- 通用按钮 ---------- */
.btn { display: block; width: 100%; height: 50px; line-height: 50px; text-align: center; border-radius: var(--btn-radius); font-size: 16px; letter-spacing: .12em; text-decoration: none; }
.btn.solid { background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: 0 6px 22px var(--ui-glow); }
.btn.line { border: 1px solid var(--line); color: var(--ink); background: var(--chip); }
.btn.big { height: 54px; line-height: 54px; font-size: 18px; letter-spacing: .3em; }
.btn:active { transform: scale(.98); }
.link { display: inline-block; font-size: 13px; color: var(--ink2); letter-spacing: .08em; text-decoration: none; padding: 8px 4px; }

/* ---------- 开场提示 ---------- */
#gate { align-items: center; justify-content: center; padding: calc(20px + var(--safe-t)) 20px calc(20px + var(--safe-b)); }
.gate-card { width: 100%; max-width: 420px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); padding: 24px 20px 14px; text-align: center; }
.gate-card h1 { font-family: var(--font-say); font-size: 24px; letter-spacing: .2em; font-weight: 600; }
.gate-card ul { list-style: none; text-align: left; margin: 16px 0 20px; display: grid; gap: 10px; }
.gate-card li { font-size: 14px; line-height: 1.65; color: var(--ink2); padding-left: 14px; position: relative; }
.gate-card li::before { content: ''; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.gate-card li b { color: var(--ink); font-weight: 600; }
.gate-card .link { margin-top: 6px; }

/* ---------- 设置页：上半屏是动画预览 ---------- */
#setup { flex-direction: column; max-width: 520px; margin: 0 auto; }
.preview { position: relative; flex: none; height: var(--pv-h); padding: calc(14px + var(--safe-t)) 18px 10px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.title { font-family: var(--font-say); font-size: 26px; letter-spacing: .6em; text-indent: .6em; font-weight: 600; color: var(--say); text-align: center; text-shadow: 0 0 18px var(--glow), 0 1px 4px rgba(0,0,0,.6); }
.pv-name { display: flex; align-items: baseline; gap: 10px; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.pv-name b { font-family: var(--font-say); font-size: 17px; color: var(--ink); letter-spacing: .12em; font-weight: 600; white-space: nowrap; }
.pv-name span { font-size: 12px; color: var(--ink2); letter-spacing: .04em; }
.panel { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 4px 18px calc(12px + var(--safe-b)); overflow-y: auto; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; flex: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 64px; scroll-snap-align: start; text-align: center; }
.thumb .pic { width: 64px; height: 80px; border-radius: 12px; background: #000 center/cover no-repeat; border: 1.5px solid transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: border-color .2s; }
.thumb .nm { margin-top: 4px; font-size: 11px; color: var(--ink3); letter-spacing: .04em; white-space: nowrap; }
.thumb.on .pic { border-color: var(--accent); box-shadow: 0 0 14px var(--ui-glow); }
.thumb.on .nm { color: var(--ink); }
.thumbs.grid { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; gap: 10px 6px; }
.thumbs.grid .thumb { width: auto; min-width: 0; }
.thumbs.grid .thumb .pic { width: 100%; height: auto; aspect-ratio: 4/5; border-radius: 10px; }
.thumbs.grid .thumb .nm { letter-spacing: 0; }

.row { display: flex; align-items: center; gap: 12px; }
.rl { flex: none; min-width: 3.3em; font-size: 13px; color: var(--ink2); letter-spacing: .08em; white-space: nowrap; }
.row .seg { flex: 1; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 4px; border-radius: calc(var(--radius) * .7); background: var(--chip); border: 1px solid var(--line); }
.seg.two { grid-template-columns: repeat(2, 1fr); }
.seg.four { grid-template-columns: repeat(4, 1fr); }
.seg.five { grid-template-columns: repeat(5, 1fr); }
.seg.five button, #segTick button { letter-spacing: .04em; }
#segEnd button { font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
.seg button { height: 40px; border-radius: calc(var(--radius) * .55); font-size: 14px; letter-spacing: .1em; color: var(--ink2); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.seg button small { font-size: 10px; color: var(--ink3); letter-spacing: .02em; }
.seg button small:empty { display: none; }
.seg button.on { background: var(--cell); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.seg button.on small { color: var(--ink2); }
.setbar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 14px; border-radius: calc(var(--radius) * .7); border: 1px solid var(--line); background: var(--chip); font-size: 12px; color: var(--ink2); letter-spacing: .06em; }
.setbar i { font-style: normal; font-size: 18px; color: var(--ink3); }
.toggles { display: flex; gap: 18px; justify-content: center; }
/* 背景音量拖动条（董事长 11-18 要的）：兰粉紫圆点，左边走过的部分亮 */
.vol { flex: 1; min-width: 0; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--accent) var(--p, 70%), var(--line) var(--p, 70%)); outline: none; margin: 10px 0; }
.vol::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 0; box-shadow: 0 0 10px var(--ui-glow); }
.vol::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 0; }
.vol-n { flex: none; min-width: 2.2em; text-align: right; font-size: 12px; font-weight: 400; color: var(--ink2); }
/* 设置抽屉：画面 / 背景音 / 节拍声三组之间一条细线；说明文字贴着上面那一行；标签统一宽度（「明暗起伏」四个字） */
.sheet-card .rl { min-width: 4.4em; }
#sheetSet .sheet-card { gap: 10px; max-height: 88%; }   /* 设置项多了：行距收一点，抽屉最高到 88%，393×660 不用滚 */
#sheetSet .sheet-card > .btn { height: 44px; line-height: 44px; }
.sheet-card .sheet-note { margin-top: -6px; }
.sheet-sep { height: 1px; background: var(--line); opacity: .6; margin: 0 2px; }
.tg-note { font-size: 12px; color: var(--ink3); letter-spacing: .04em; }
.tg { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); letter-spacing: .08em; cursor: pointer; }
.tg input { display: none; }
.tg i { width: 36px; height: 21px; border-radius: 21px; background: var(--chip); border: 1px solid var(--line); position: relative; transition: background .2s; }
.tg i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink3); transition: transform .2s, background .2s; }
.tg input:checked + i { background: var(--cell); border-color: var(--accent); }
.tg input:checked + i::after { transform: translateX(15px); background: var(--accent); }
#start { margin-top: auto; flex: none; }
.foot-note { text-align: center; font-size: 11px; color: var(--ink3); letter-spacing: .08em; }
.foot-note a { color: var(--ink2); text-decoration: none; }

/* ---------- 游戏 ---------- */
.hud { position: fixed; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 12px; padding: calc(12px + var(--safe-t)) 16px 0; z-index: 5; }
.hud .x { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--chip); color: var(--ink2); font-size: 0; flex: none; }
/* 叉号用两条线画，保证在圆圈正中（× 这个字在不同手机字体里会偏，董事长 11-18） */
.hud .x::before, .hud .x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; border-radius: 1px; background: currentColor; transform: rotate(45deg); }
.hud .x::after { transform: rotate(-45deg); }
.hud .prog { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hud .prog i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width .5s linear; }
.depth { flex: none; font-size: 12px; color: var(--ink2); letter-spacing: .08em; display: flex; align-items: baseline; gap: 6px; }
.depth b { font-family: var(--font-num); font-size: 22px; color: var(--ink); font-weight: 600; letter-spacing: 0; min-width: 2ch; text-align: right; transition: transform .25s; display: inline-block; }
.depth b.bump { transform: scale(1.25); color: var(--accent); }

.breath { position: fixed; left: 50%; top: var(--center-y); width: 62vmin; height: 62vmin; max-width: 330px; max-height: 330px; transform: translate(-50%, -50%) scale(.9); border-radius: 50%; border: 1.5px solid var(--sub); box-shadow: 0 0 22px var(--glow), inset 0 0 22px var(--glow); opacity: 0; transition: opacity .8s; z-index: 2; pointer-events: none; }
.breath.on { opacity: .75; }
.ripple { position: fixed; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid var(--vis-accent); opacity: 0; z-index: 3; pointer-events: none; left: 50%; top: var(--center-y); }
.ripple.go { animation: rip 1.6s ease-out infinite; }
.ripple.hit { animation: hit .7s ease-out 1; }
@keyframes rip { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes hit { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

.say { position: fixed; left: 22px; right: 22px; top: var(--say-y); transform: translateY(-50%); text-align: center; z-index: 4; pointer-events: none; }
.say .main { font-family: var(--font-say); font-size: 24px; line-height: 1.5; color: var(--say); text-shadow: 0 0 18px var(--glow), 0 1px 3px rgba(0,0,0,.7); letter-spacing: .06em; min-height: 1.5em; transition: opacity .7s, filter .7s; }
html[data-font="sans"] .say .main { font-weight: 300; letter-spacing: .2em; }
html[data-font="serif"] .say .main { font-weight: 600; }
html[data-font="mono"] .say .main { font-weight: 600; }
.say .sub { margin-top: 8px; font-size: 15px; color: var(--sub); letter-spacing: .14em; text-shadow: 0 1px 3px rgba(0,0,0,.7); min-height: 1.4em; transition: opacity .7s; }
.say .sub:empty { visibility: hidden; }
.say.cmd .main { font-family: var(--font-num); font-size: 40px; letter-spacing: .32em; text-indent: .32em; font-weight: 400; }
html[data-font="mono"] .say.cmd .main { font-weight: 700; letter-spacing: .16em; text-indent: .16em; }
.say.num .main { font-family: var(--font-say); font-size: 52px; font-weight: 400; letter-spacing: 0; }
.say.fadeout .main, .say.fadeout .sub { opacity: 0; filter: blur(6px); }
html[data-box="1"] .say .main span, html[data-box="1"] .say .sub span { background: rgba(0,0,0,.62); padding: 1px 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.caret { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* 打字机：一个字一个字淡入（延迟写在每个字的 style 里） */
.say .main b.ch { font-weight: inherit; opacity: 0; animation: chIn .45s ease forwards; }
@keyframes chIn { to { opacity: 1; } }
/* 提前高潮了（右上角，深度下面）：次要样式，只记次数 */
.cum-btn { position: fixed; top: calc(58px + var(--safe-t)); right: 16px; z-index: 5; display: none; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--chip); color: var(--ink3); font-size: 12px; letter-spacing: .08em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .15s; }
body.can-cum .cum-btn { display: flex; }
.cum-btn:active { transform: scale(.94); }
.cum-btn i { font-style: normal; display: none; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; color: var(--on-accent); background: var(--accent); letter-spacing: 0; }
.cum-btn.has { color: var(--ink2); }
.cum-btn.has i { display: grid; }

html[data-font] .say.long .main { font-size: 20px; line-height: 1.6; letter-spacing: .04em; font-weight: 400; }
html[data-font="serif"] .say.long .main { font-weight: 600; }
.say.num .main { font-family: var(--font-num); }
.say.stop .main { font-family: var(--font-say); font-size: 30px; color: var(--say); letter-spacing: .1em; text-shadow: 0 0 22px var(--vis-accent), 0 0 6px var(--vis-accent), 0 1px 3px rgba(0,0,0,.8); }
.say.go .main { font-size: 46px; letter-spacing: .3em; text-indent: .3em; color: var(--say); text-shadow: 0 0 26px var(--vis-accent), 0 0 8px var(--vis-accent), 0 1px 3px rgba(0,0,0,.8); }
/* 节拍圈：外层只管出现/消失（慢慢淡入淡出）；里面的圈平时细而淡，每一拍亮起来放大一下再淡回去（董事长 11-18：一直亮着太抢眼） */
.beat { position: fixed; left: 50%; top: var(--center-y); width: 84px; height: 84px; margin: -42px 0 0 -42px; opacity: 0; z-index: 2; pointer-events: none; transition: opacity .4s; }
.beat i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--vis-accent); box-shadow: 0 0 16px var(--glow); opacity: .3; }
.beat.on { opacity: 1; }
.xline { position: fixed; left: 24px; right: 24px; top: calc(var(--say-y) - 96px); text-align: center; font-family: var(--font-say); font-size: 15px; color: var(--sub); letter-spacing: .1em; text-shadow: 0 1px 4px rgba(0,0,0,.8); opacity: 0; transition: opacity .8s; z-index: 4; pointer-events: none; }
.xline.on { opacity: .95; }
.close-btn { display: none; height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--accent); color: var(--ink); background: var(--chip); font-size: 13px; letter-spacing: .14em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
body.can-close .close-btn { display: block; }
.close-btn:active { background: var(--cell); }
.tapcue { display: none; margin-top: 14px; font-size: 13px; color: var(--ink2); letter-spacing: .2em; animation: cue 1.4s ease-in-out infinite; }
.say.cue .tapcue { display: block; }
@keyframes cue { 50% { opacity: .35; } }
/* 点了「醒过来」：字下面一条走满就出报告的进度条（董事长 11-18：听众以为点了没反应） */
.wakebar { display: none; width: 180px; height: 4px; margin: 16px auto 0; border-radius: 4px; background: var(--line); overflow: hidden; }
.wakebar i { display: block; width: 0; height: 100%; border-radius: 4px; background: var(--accent); box-shadow: 0 0 10px var(--ui-glow); }
.say.waking .wakebar { display: block; }
.say.waking .wakebar i { animation: wakefill var(--wake-dur, 5s) linear forwards; }
.say.waking .sub { color: var(--ink); letter-spacing: .3em; }
@keyframes wakefill { to { width: 100%; } }

.foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 0 16px calc(16px + var(--safe-b)); display: flex; justify-content: space-between; align-items: center; gap: 10px; z-index: 5; }
.chip { font-size: 12px; color: var(--ink2); border: 1px solid var(--line); background: var(--chip); border-radius: 999px; padding: 7px 13px; letter-spacing: .06em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.chip span { color: var(--ink); }
.toast { position: fixed; left: 50%; top: calc(64px + var(--safe-t)); transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; color: var(--ink); letter-spacing: .08em; opacity: 0; transition: opacity .4s; z-index: 6; pointer-events: none; white-space: nowrap; }
.toast.on { opacity: 1; }

/* ---------- 报告 ---------- */
#report { flex-direction: column; justify-content: center; padding: calc(18px + var(--safe-t)) 22px calc(14px + var(--safe-b)); max-width: 460px; margin: 0 auto; }
.card { border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); padding: 22px 20px 16px; box-shadow: 0 20px 60px rgba(0,0,0,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card .tag { font-size: 12px; letter-spacing: .2em; color: var(--ink3); }
.card .score { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.card .score b { font-family: var(--font-num); font-size: 64px; line-height: 1; color: var(--accent); font-weight: 400; letter-spacing: -.02em; text-shadow: 0 0 22px var(--ui-glow); }
.card .score span { font-size: 14px; color: var(--ink2); letter-spacing: .1em; }
.card .verdict { margin-top: 12px; font-family: var(--font-say); font-size: 20px; line-height: 1.55; color: var(--ink); letter-spacing: .06em; white-space: pre-line; }
html[data-font="serif"] .card .verdict { font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.stats div { border-radius: calc(var(--radius) * .6); background: var(--cell); padding: 10px 4px 9px; text-align: center; }
.stats b { display: block; font-family: var(--font-num); font-size: 20px; color: var(--ink); font-weight: 600; }
.stats span { display: block; margin-top: 3px; font-size: 11px; color: var(--ink3); letter-spacing: .08em; }
.card .meta { margin-top: 14px; font-size: 12px; color: var(--ink3); letter-spacing: .06em; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; }
.card .meta span { white-space: nowrap; }
.btns { margin-top: 18px; display: grid; gap: 10px; }
/* 「换设置」「再沉一次」并排一样大（董事长 11-18：再沉一次太大，很多人想先换设置） */
.btns2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btns2 .btn { height: 44px; line-height: 44px; font-size: 15px; }
.row-links { display: flex; justify-content: space-between; margin-top: 8px; gap: 6px; }
.row-links:not(:has(#works:not(.hidden))) { justify-content: center; }   /* 乐园主页没上线前只有「保存报告图」一个，放中间 */
.mark { margin-top: 10px; text-align: center; font-size: 11px; color: var(--ink3); letter-spacing: .2em; }

/* ---------- 抽屉 ---------- */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.on { opacity: 1; pointer-events: auto; }
.sheet-card { width: 100%; max-width: 520px; max-height: 82%; overflow-y: auto; border-radius: var(--radius) var(--radius) 0 0; border: 1px solid var(--line); border-bottom: 0; background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 18px 18px calc(16px + var(--safe-b)); display: grid; gap: 14px; transform: translateY(24px); transition: transform .25s; }
.sheet.on .sheet-card { transform: none; }
.sheet-title { font-family: var(--font-say); font-size: 18px; letter-spacing: .2em; text-align: center; color: var(--ink); }
.sheet-note { font-size: 12px; line-height: 1.6; color: var(--ink3); text-align: center; letter-spacing: .04em; }

@media (min-width: 700px) {
  .say .main { font-size: 28px; }
  .say.cmd .main { font-size: 48px; }
}
@media (max-height: 600px) {
  :root { --pv-h: 30vh; }
  .panel { gap: 9px; }
  .seg button { height: 36px; }
}

.hidden { display: none !important; }   /* 提示条、乐园主页没上线前的「更多游戏」先藏着 */

/* ---------- 只有中文的提示条（手机语言不是中文时出一次，照 043） ---------- */
.langhint { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 60; max-width: 420px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 6px 9px 14px; border-radius: 14px; background: rgba(26,12,36,.96); border: 1px solid var(--line); box-shadow: 0 12px 30px -12px rgba(0,0,0,.8); font-size: 13px; line-height: 1.45; color: var(--ink2); -webkit-user-select: text; user-select: text; }
.langhint span { flex: 1; min-width: 0; }
.langhint button { flex: none; width: 30px; height: 30px; border-radius: 50%; font-size: 19px; line-height: 1; color: var(--ink3); }
