/* 晨间信号官网（游戏宣发版 2）：一屏一页，点着看。与小程序同一套基调——暖米色纸面、陶土橙点缀、衬线标题、细边框 */
:root {
  --bg: #F4F3EE; --surface: #FFFFFF; --surface-2: #FBFAF7;
  --border: #E8E5DC; --border-strong: #D9D5C9;
  --text: #2B2A27; --text-2: #5F5D56; --muted: #87867F;
  --accent: #C96442; --accent-ink: #A8482A; --accent-soft: #F6E7DF;
  --gold: #D4A92C; --gold-ink: #7A5A0C; --gold-soft: #FFF3C4;
  --serif: Georgia, "Times New Roman", "Songti SC", STSong, "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.serif { font-family: var(--serif); }
.kicker { font-size: 11px; letter-spacing: 3px; color: var(--accent); }
.muted { color: var(--muted); font-size: 13px; }
.hscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.hscroll::-webkit-scrollbar { display: none; }

/* 骨架：顶栏 / 内容 / 底栏 各占一行，整页不滚，只有内容区自己滚 */
.app { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "screen" "bottom"; }
.top { grid-area: top; background: var(--bg); border-bottom: 1px solid var(--border); }
.top-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px 8px; }
.brand { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.brand b { font-family: var(--serif); font-weight: 500; font-size: 18px; }
.brand i { font-style: normal; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.open { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #fff; white-space: nowrap; }
.menu { display: flex; gap: 6px; padding: 0 20px 10px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.menu::-webkit-scrollbar { display: none; }
.menu a { flex: none; font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.menu a.on { background: var(--text); border-color: var(--text); color: #fff; }
.side { display: none; }
.screen { grid-area: screen; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.bottom { grid-area: bottom; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
.nb { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex: none; }
.nb svg { width: 18px; height: 18px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nb:disabled { opacity: .3; }
.cta { flex: 1; height: 44px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 15px; }
.count { display: none; }

/* 一页 */
.panel { display: none; max-width: 560px; margin: 0 auto; padding: 14px 20px 20px; }
.panel.on { display: block; animation: pin .26s ease-out; }
.panel.on.back { animation-name: pin-back; }
@keyframes pin { from { opacity: 0; transform: translateX(16px); } }
@keyframes pin-back { from { opacity: 0; transform: translateX(-16px); } }
.panel h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.25; margin: 4px 0 8px; }
.panel h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; margin: 4px 0 12px; }
.lede { font-size: 14px; color: var(--text-2); margin: 0 0 14px; line-height: 1.55; }
.lede2 { font-size: 14px; color: var(--text-2); margin: -4px 0 14px; }
.note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.note a { color: var(--accent-ink); }
.kicker2 { font-size: 12px; color: var(--muted); margin: 0 0 8px; }

/* 首页：六格总览，点哪格看哪格 */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px 10px; transition: transform .12s; }
.tile:active { transform: scale(.97); }
.tile b { display: block; font-family: var(--serif); font-weight: 500; font-size: 16px; margin-top: 6px; }
.tile span { display: block; font-size: 12px; color: var(--muted); margin-top: 0; }
.tv { height: 36px; display: flex; align-items: center; gap: 4px; }
.tv svg .arc { animation: ringfill 2s cubic-bezier(.2,.7,.3,1) .3s both; }
@keyframes ringfill { from { stroke-dasharray: 0 126; } to { stroke-dasharray: 88 126; } }
.tv.chests3 i { width: 20px; height: 15px; border-radius: 4px; position: relative; border: 1px solid rgba(43,42,39,.22); }
.tv.chests3 i::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 6px; border-radius: 4px 4px 1px 1px; background: rgba(255,255,255,.4); border: 1px solid rgba(43,42,39,.22); }
.tv.chests3 i:nth-child(1) { background: linear-gradient(135deg, #e7b98f, #b06a3a); }
.tv.chests3 i:nth-child(2) { background: linear-gradient(135deg, #f2f3f5, #9ea3aa); }
.tv.chests3 i:nth-child(3) { background: linear-gradient(135deg, #fff3b0, #d4a92c); width: 24px; height: 18px; }
.tv.dots i { width: 13px; height: 13px; border-radius: 50%; border: 2px dashed var(--border-strong); }
.tv.dots i.on { border: 0; background: linear-gradient(135deg, #E9B9A1, #C96442 60%, #A8482A); }
.tv.bars { align-items: flex-end; gap: 5px; }
.tv.bars i { width: 14px; border-radius: 3px 3px 0 0; }
.tv.bars i:nth-child(1) { height: 14px; background: linear-gradient(180deg, #f7f8fa, #c9ccd2); border: 1px solid #b8bcc4; }
.tv.bars i:nth-child(2) { height: 24px; background: linear-gradient(180deg, #fff6c9, #e2b93d); border: 1px solid #c9971c; }
.tv.bars i:nth-child(3) { height: 32px; background: linear-gradient(180deg, #ffffff, #bfe0ff 50%, #f3d9ff); border: 1px solid #a9c7ea; }
.tv.fan { padding-left: 8px; }
.tv.fan i { width: 20px; height: 30px; border-radius: 3px; margin-left: -8px; border: 1px solid rgba(43,42,39,.15); box-shadow: 0 2px 5px rgba(43,42,39,.15); }
.tv.fan i:nth-child(1) { background: var(--bg); transform: rotate(-12deg); }
.tv.fan i:nth-child(2) { background: linear-gradient(135deg, #fff, #c9ccd2 40%, #f2f3f5); }
.tv.fan i:nth-child(3) { background: linear-gradient(135deg, #fff8c8, #d4a92c 60%, #fff3b0); transform: rotate(12deg); }
.tv.duo i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.tv.duo i:nth-child(1) { background: linear-gradient(135deg, #E9B9A1, #C96442); }
.tv.duo i:nth-child(2) { background: linear-gradient(135deg, #5F5D56, #2B2A27); margin-left: -10px; }
.more { display: flex; gap: 8px; margin-top: 10px; }
.more a { flex: 1; text-align: center; font-size: 13px; padding: 9px 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.foot { font-size: 11px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.6; }
.foot a { color: var(--text-2); }

/* 合环：环 + 四步 */
.ringrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; }
.ringrow svg { flex: none; }
.ringrow svg .arc { animation: ringfill-big 2.2s cubic-bezier(.2,.7,.3,1) .3s both; }
@keyframes ringfill-big { from { stroke-dasharray: 0 251; } to { stroke-dasharray: 176 251; } }
.ringrow b { display: block; font-weight: 500; font-size: 15px; }
.ringrow span { display: block; font-size: 12.5px; color: var(--muted); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 12px 10px; }
.st i { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-family: var(--serif); font-size: 12px; align-items: center; justify-content: center; }
.st b { display: block; font-family: var(--serif); font-weight: 500; font-size: 15px; margin-top: 8px; line-height: 1.3; }
.st span { display: block; font-size: 12.5px; color: var(--text-2); margin-top: 4px; line-height: 1.5; }

/* 宝箱 */
.chests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ch { display: flex; flex-direction: column; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 8px 10px; }
.ch.on { border-color: var(--accent); background: linear-gradient(180deg, #FFF9F5, #fff); }
.ch b { font-family: var(--serif); font-weight: 500; font-size: 15px; margin-top: 8px; }
.ch span { font-size: 11.5px; color: var(--muted); }
.chest { position: relative; width: 58px; height: 44px; border-radius: 8px; border: 1px solid rgba(43,42,39,.18); }
.chest.bronze { background: linear-gradient(135deg, #e7b98f, #b06a3a); }
.chest.silver { background: linear-gradient(135deg, #f2f3f5, #9ea3aa); }
.chest.gold { background: linear-gradient(135deg, #fff3b0, #d4a92c); }
.chest .lid { position: absolute; left: -1px; right: -1px; top: -1px; height: 18px; border-radius: 8px 8px 3px 3px; background: rgba(255,255,255,.4); border: 1px solid rgba(43,42,39,.18); transform-origin: left bottom; transition: transform .35s; }
.ch.on .lid { transform: rotate(-16deg) translateY(-3px); }
.detail { margin-top: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--text-2); min-height: 74px; }
.detail b { display: block; color: var(--text); font-weight: 500; font-size: 15px; margin-bottom: 2px; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.extras div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 9px 11px; font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.extras b { display: block; color: var(--text); font-weight: 500; font-size: 13.5px; margin-bottom: 1px; }

/* 连续 */
.week { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.wk { text-align: center; }
.wk i { display: block; width: 32px; height: 32px; border-radius: 50%; border: 4px solid var(--border-strong); margin: 0 auto; }
.wk i.on { border-color: var(--accent); background: radial-gradient(circle, #fff 0 45%, var(--accent-soft) 46%); }
.wk i.dash { border-style: dashed; border-width: 2px; }
.wk span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.week-cap { font-size: 12.5px; color: var(--text-2); margin: 8px 0 12px; }
.miles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ml { background: linear-gradient(160deg, #2B2A27, #4a2c22); color: #FFF3C4; border-radius: 14px; padding: 10px 6px 8px; border: 2px solid transparent; }
.ml.on { border-color: #F0D27A; }
.ml b { display: block; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1; }
.ml span { display: block; font-size: 11px; color: #E8B59F; margin-top: 2px; }

/* 称号 */
.ladder { display: grid; gap: 6px; }
.lv { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 6px 10px; padding: 8px 12px; border-radius: 12px; font-size: 13px; }
.lv i { font-style: normal; font-family: var(--serif); font-size: 13px; opacity: .6; }
.lv b { font-family: var(--serif); font-weight: 500; font-size: 15px; }
.lv b small { font-family: var(--sans); font-size: 12px; opacity: .65; margin-left: 6px; }
.lv em { font-style: normal; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.6); }
.lv.s { background: linear-gradient(90deg, #f7f8fa, #e3e6ea); color: #2f3338; }
.lv.g { background: linear-gradient(90deg, #fff8d6, #f0d478); color: #4a3400; }
.lv.d { background: linear-gradient(90deg, #ffffff, #cfe6ff 55%, #eddcff); color: #1b2636; }
.tiers { display: flex; gap: 6px; margin: 10px 0 4px; flex-wrap: wrap; }
.tiers span { font-size: 12px; padding: 4px 12px; border-radius: 999px; color: #fff; }
.tiers .b { background: linear-gradient(135deg, #c98a5b, #8c5430); }
.tiers .s { background: linear-gradient(135deg, #8f959e, #4b5058); }
.tiers .g { background: linear-gradient(135deg, #d4a92c, #8a6410); }
.tiers .p { background: linear-gradient(135deg, #9fbfcc, #5f8794); }
.tiers .d { background: linear-gradient(135deg, #7fb6ff, #b48cff); }
.badges { display: grid; grid-auto-flow: column; grid-template-rows: auto auto; gap: 6px; margin-top: 10px; width: max-content; min-width: 100%; }
.badges span { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(160deg, #fffdf3, #fff1c2); border: 1px solid #e6c14a; color: #4a3400; white-space: nowrap; }
.badges span.hidden { background: var(--surface-2); border: 1px dashed var(--border-strong); color: var(--muted); }

/* 卡片：横着划，每张都是小程序里真实卡的缩样 */
.cardstrip { display: flex; gap: 12px; padding-bottom: 6px; }
.mk { flex: none; width: 150px; }
.mk .cap { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.mk .cap b { display: block; color: var(--text); font-weight: 500; font-size: 13.5px; }
.mock { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; padding: 12px; font-size: 11px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 20px rgba(43,42,39,.10); }
.mock .m-k { font-size: 8px; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; }
.mock .m-k.light { color: #F0D27A; }
.mock.paper, .mock.minutes { background: var(--bg); border: 1px solid var(--border-strong); }
.mock .m-q { font-family: var(--serif); font-size: 13px; line-height: 1.55; margin: 14px 0 10px; padding-left: 8px; border-left: 2px solid var(--accent); }
.mock .m-by { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--text-2); }
.mock .m-by i { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.mock .m-big { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; margin-top: 30px; }
.mock .m-big small { font-size: 11px; font-weight: 500; margin-left: 4px; color: var(--text-2); }
.mock .m-big.light { color: #FFF3C4; }
.mock .m-big.light small { color: #F0D27A; }
.mock .m-line { font-family: var(--serif); font-size: 10px; margin-top: 8px; }
.mock.silver { background: linear-gradient(135deg, #fff, #c9ccd2 18%, #fff 34%, #8f959e 52%, #f2f3f5 68%, #b4b8bf 84%, #e6e8eb); padding: 5px; }
.mock.goldc { background: linear-gradient(135deg, #fff8c8, #d4a92c 14%, #fff9d6 28%, #b07d12 44%, #ffe98a 58%, #c9971c 72%, #fff3b0 86%, #a8781a); padding: 6px; }
.mock .m-in { flex: 1; background: var(--bg); border-radius: 6px; padding: 10px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.mock .m-in.dark { background: #2B2A27; }
.mock .m-cover { width: 46%; aspect-ratio: 3 / 4; background: linear-gradient(160deg, #7fa3b0, #2f4f5a); border: 2px solid #fff; margin: 10px 0 8px; box-shadow: 0 6px 12px rgba(0,0,0,.2); }
.mock .m-cover.big { width: 100%; aspect-ratio: 4 / 3; border: 0; margin: 6px 0 8px; background: linear-gradient(160deg, #c8d9a2, #4c6b3a); }
.mock .m-t { font-family: var(--serif); font-size: 11px; }
.mock .m-t.gold { background: linear-gradient(180deg, #fff6c4, #f0c94a 35%, #b8860b 55%, #ffe98a 75%, #c9971c); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 13px; font-weight: 700; }
.mock .m-stats { display: flex; gap: 8px; margin-top: 8px; }
.mock .m-stats b { font-family: var(--serif); font-size: 14px; }
.mock .m-stats.light b { color: #FFF3C4; }
.mock.fire { background: linear-gradient(160deg, #2B2A27, #3a2a22 55%, #5a2f1d); color: #FFF3C4; }
.mock .m-flame { width: 34px; height: 46px; margin: 14px auto 0; background: linear-gradient(180deg, #FFE27A, #F08A3C 60%, #C96442); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; box-shadow: 0 0 30px rgba(255,170,90,.55); }
.mock.fire .m-big { margin-top: 10px; text-align: center; font-size: 36px; }
.mock.metal { background: linear-gradient(160deg, #fff6c9, #e2b93d 16%, #fff2b3 30%, #b8860b 48%, #ffe27a 62%, #c9971c 78%, #fff5c4); color: #4a3400; }
.mock .m-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 10px; }
.mock .m-wall i { display: block; aspect-ratio: 3 / 4; background: linear-gradient(160deg, #a9b7c6, #4e5f70); border: 1px solid #fff; }
.mock.metal .m-t { font-size: 15px; font-weight: 700; }

/* 朋友 */
.list { display: grid; gap: 8px; }
.li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.li b { display: block; color: var(--text); font-family: var(--serif); font-weight: 500; font-size: 16px; margin-bottom: 2px; }

/* 刊物 */
.cats { display: flex; gap: 6px; white-space: nowrap; margin-bottom: 12px; }
.cats span { flex: none; font-size: 12px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cv { text-align: center; }
.cv img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; border: 1px solid var(--border); box-shadow: 0 5px 12px rgba(43,42,39,.12); background: var(--surface-2); transform: rotate(calc((var(--i) % 3 - 1) * 1.5deg)); }
.cv-n { font-size: 11px; color: var(--text-2); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pubs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pub { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 9px 12px; }
.pub .cn { font-size: 14px; }
.pub .en { font-size: 11px; color: var(--muted); }

/* 免费听 */
.freeline { background: linear-gradient(160deg, #2B2A27, #4a2c22); color: #FFF3C4; border-radius: 16px; padding: 14px 14px 12px; }
.freeline > b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; margin-bottom: 8px; }
.chips5 { display: flex; flex-wrap: wrap; gap: 6px; }
.chips5 span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(240,210,122,.35); color: #F5E6C8; }
.chips5 span b { color: #F0D27A; margin-left: 3px; }
.plans { display: grid; gap: 8px; margin-top: 10px; }
.pl { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 11px 14px; }
.pl.hot { border-color: var(--accent); background: linear-gradient(180deg, #FFF9F5, #fff); }
.pl-h { display: flex; justify-content: space-between; align-items: baseline; }
.pl-h b { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.pl-h i { font-style: normal; font-family: var(--serif); font-size: 20px; }
.pl-h i small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 2px; }
.pl span { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }

/* 样音 */
.sample { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 16px 14px; }
.sample h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 4px 0 0; }
.sample .who { display: flex; gap: 8px; margin-top: 10px; }
.sample .who span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.sample audio { width: 100%; margin-top: 12px; }
.lines { font-size: 13.5px; color: var(--text-2); margin-top: 12px; }
.lines p { margin: 0 0 8px; padding-left: 12px; border-left: 3px solid var(--border-strong); }
.lines p b { color: var(--text); font-weight: 500; margin-right: 6px; }

/* 二维码浮层 */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet-bg { position: absolute; inset: 0; background: rgba(43,42,39,.45); }
.sheet-in { position: relative; width: 100%; max-width: 480px; background: var(--surface); border-radius: 24px 24px 0 0; padding: 22px 22px calc(18px + env(safe-area-inset-bottom)); text-align: center; animation: up .28s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-in img { width: 200px; height: 200px; margin: 0 auto 12px; }
.sheet-in b { display: block; font-weight: 500; font-size: 16px; }
.sheet-in span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.sheet-in .search { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--border-strong); font-size: 13px; color: var(--text-2); }
.sheet-in .search code { font-family: inherit; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 8px; border-radius: 999px; }
.sheet-in .close { margin-top: 14px; width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface-2); font-size: 14px; }

/* 桌面：左边固定放标题和二维码，右边一页一页翻，同样不用滚 */
@media (min-width: 900px) {
  .app { grid-template-columns: 380px minmax(0, 1fr); grid-template-areas: "top top" "side screen" "side bottom"; }
  .top-row { padding: 14px 32px; }
  .brand b { font-size: 20px; }
  .top .open { display: none; }
  .menu { padding: 0 32px 12px; }
  .menu a { font-size: 13.5px; }
  .side { display: flex; flex-direction: column; grid-area: side; padding: 36px 32px 24px; border-right: 1px solid var(--border); overflow-y: auto; }
  .side h1 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.25; margin: 8px 0 12px; }
  .side .lede { font-size: 15px; }
  .qrcard { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px 18px 14px; text-align: center; }
  .qrcard img { width: 180px; height: 180px; margin: 0 auto 10px; }
  .qrcard b { display: block; font-weight: 500; font-size: 14.5px; }
  .qrcard span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
  .side .foot { margin-top: auto; padding-top: 24px; text-align: left; }
  .panel { max-width: 680px; padding: 28px 40px 32px; }
  .panel .hero-text, .panel .foot { display: none; }
  .hub { grid-template-columns: repeat(3, 1fr); }
  .bottom { background: transparent; border-top: 0; justify-content: flex-end; padding: 10px 40px 18px; }
  .cta { display: none; }
  .count { display: block; font-size: 13px; color: var(--muted); margin: 0 4px; }
  .screen { background: var(--bg); }
}
/* 矮屏手机（微信内置浏览器常见 640 高）：首页六格也要一屏放下 */
@media (max-height: 700px) and (max-width: 899px) {
  .panel { padding-top: 10px; }
  .panel h1 { font-size: 22px; margin: 2px 0 6px; }
  .hero-text h1 br { display: none; }
  .lede { font-size: 13px; margin-bottom: 10px; }
  .kicker2 { margin-bottom: 6px; }
  .hub { gap: 8px; }
  .tile { padding: 10px 12px 8px; }
  .tv { height: 30px; }
  .tv svg { width: 32px; height: 32px; }
  .tv.bars i:nth-child(3) { height: 28px; }
  .tv.fan i { width: 18px; height: 26px; }
  .tv.duo i { width: 24px; height: 24px; }
  .tile b { font-size: 15px; margin-top: 4px; }
  .tile span { font-size: 11.5px; }
  .more { margin-top: 8px; }
  .more a { padding: 7px 6px; font-size: 12.5px; }
  .foot { margin-top: 10px; }
}
@media (max-width: 360px) {
  .tile b { font-size: 15px; }
}
