:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #f5eee8;
  background: #111722;
  font-synthesis: none;
  --accent: #e9bd93;
  --muted: #9aa2b0;
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --backdrop: none;
  --wallpaper: none;
  --intro-image: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; padding: 0; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid #dba97b; outline-offset: 3px; }
button:disabled { cursor: wait; }
svg { width: 1em; height: 1em; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.game {
  min-height: 100svh;
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-rows: 75px 1fr 54px;
}
.game::before, .game::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
.game::before {
  background: linear-gradient(90deg, rgba(12,17,27,.97), rgba(14,20,31,.68) 45%, rgba(12,17,27,.89)),
    linear-gradient(180deg,#121923 1%,transparent 37%,rgba(13,19,29,.32) 76%,#111722 100%),
    var(--backdrop) center 57% / cover no-repeat, #141d2c;
}
.game::after {
  background: radial-gradient(ellipse at 50% 67%, rgba(110,121,147,.15),transparent 62%);
}
.page-header, .page-footer { width: min(100% - 100px, 1340px); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.page-header { border-bottom: 1px solid #b5bed315; }
.brand, .header-tools, .saved, .page-footer > span { display: flex; align-items: center; }
.brand { gap: 13px; font-size: 13px; letter-spacing: .14em; font-weight: 650; }
.brand-mark { display: block; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #e9bd9368; position: relative; }
.brand-mark::before { content: ""; position: absolute; width: 9px; height: 10px; left: 8px; top: 7px; border-radius: 50%; box-shadow: 3px 2px 0 0 var(--accent); transform: rotate(-24deg); }
.brand-mark::after { content: ""; position: absolute; border-radius: 50%; width: 2px; height: 2px; top: 6px; right: 7px; background: var(--accent); }
.header-divider { width: 1px; height: 13px; background: #bec8df32; }
.brand-type { color: #a4afbd; font-size: 10px; font-weight: 450; letter-spacing: .12em; }
.header-tools { gap: 10px; }
.saved { margin-right: 10px; gap: 8px; font-size: 11px; letter-spacing: .08em; color: #afb9c7; }
.saved i, .page-footer i { height: 5px; width: 5px; background: #aabd9e; border-radius: 50%; box-shadow: 0 0 8px #aabd9e62; }
.tool-button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #b9c6df25; color: #c9d0dd; font-size: 15px; transition: color .2s, background .2s, border-color .2s; }
.tool-button:hover, .tool-button[aria-pressed="true"] { color: var(--accent); border-color: #e9bd9366; background: #e9bd9310; }
.stage { width: min(100% - 120px, 1300px); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: clamp(25px,4.4vw,76px); padding: 14px 0; }
.story-intro { justify-self: start; width: 100%; max-width: 320px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 10px; letter-spacing: .20em; }
.eyebrow > span:first-child { width: 21px; height: 1px; background: currentColor; opacity: .8; }
h1 { font-family: var(--serif); margin: 20px 0 7px; font-size: clamp(39px,4.65vw,72px); letter-spacing: .075em; line-height: 1.2; font-weight: 650; white-space: nowrap; }
.english-title { color: #a5aeba; font-family: Georgia, serif; font-size: 10px; letter-spacing: .30em; line-height: 1.7; }
.intro-line { width: 32px; height: 1px; background: #b3bfd544; margin: 29px 0 21px; }
.story-intro p { color: #b8bfca; max-width: 241px; margin: 0 0 28px; font-size: 13px; letter-spacing: .035em; line-height: 2; }
.primary-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-width: 150px; height: 46px; padding: 0 17px; background: #e8bb92; border: 1px solid #f3ccab; border-radius: 7px; color: #241d1a; font-size: 12px; font-weight: 750; letter-spacing: .09em; box-shadow: 0 5px 24px #db9e6030; transition: background .2s, transform .2s; }
.primary-button:hover { background: #f5cda7; transform: translateY(-2px); }
.primary-button svg { width: 15px; height: 15px; }
.intro-caption { color: #818b9c; margin-top: 13px; font-size: 10px; letter-spacing: .10em; }
.story-panel { justify-self: end; width: min(100%, 253px); border: 1px solid #b8c4df25; border-radius: 14px; background: linear-gradient(150deg,#7687ad15,#53648208); backdrop-filter: blur(12px); padding: 19px 19px 16px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-top h2 { margin: 0; font-size: 13px; letter-spacing: .1em; font-weight: 650; }
.progress-count { color: #abb4c5; font: 10px ui-monospace, monospace; white-space: nowrap; letter-spacing: .08em; }
.progress-track { margin-top: 15px; overflow: hidden; height: 2px; border-radius: 2px; background: #b5bfd529; }
.progress-track div { height: 100%; width: 0%; background: #dcad86; transition: width .5s ease; }
.chapters { list-style-type: none; margin: 12px 0; padding: 0; }
.chapter { display: flex; align-items: center; gap: 11px; min-height: 49px; padding: 6px 7px; border-radius: 7px; color: #939eaf; }
.chapter .chapter-dot { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #b2bfdb30; border-radius: 50%; font: 9px ui-monospace, monospace; flex: none; }
.chapter strong, .chapter small { display: block; }
.chapter strong { color: #c1c9d5; font-size: 11px; letter-spacing: .07em; font-weight: 600; }
.chapter small { font-size: 9px; margin-top: 3px; }
.chapter.current { background: #d9aa8213; }
.chapter.current strong, .chapter.current .chapter-dot { color: #e9bd93; }
.chapter.current .chapter-dot { border-color: #e9bd9360; background: #e9bd9312; }
.chapter.completed .chapter-dot { color: #b5c4ae; }
.chapter > svg { margin-left: auto; opacity: .75; font-size: 12px; }
.panel-bottom { border-top: 1px solid #b9c5df22; padding-top: 13px; display: flex; align-items: center; gap: 8px; color: #a3aec0; }
.panel-bottom span { font-size: 13px; }
.panel-bottom p { margin: 0; font-size: 10px; line-height: 1.6; }
.page-footer { color: #8893a5; border-top: 1px solid #b5bed315; font-size: 10px; letter-spacing: .10em; }
.page-footer > span { gap: 9px; }
.page-footer i { background: #cbad92; box-shadow: none; width: 4px; height: 4px; }
kbd { font: 10px ui-monospace, monospace; padding: 3px 5px; border: 1px solid #8291aa48; border-radius: 3px; }

.phone-wrap { width: min(414px, calc((100svh - 159px) * .5625)); min-width: 318px; position: relative; }
.phone {
  width: 100%; aspect-ratio: 9 / 16; background: #0a0b0e; padding: 7px; border: 1px solid #69717e;
  position: relative; border-radius: 47px; box-shadow: 0 0 0 2px #07080b, inset 0 0 0 2px #131821,
    0 23px 42px #0009, 0 0 65px #8ba6d021; container-type: inline-size;
}
.edge-button { width: 3px; height: 28px; position: absolute; left: -4px; top: 16%; border-radius: 3px 0 0 3px; background: #454a53; z-index: -1; }
.edge-up { top: 23%; height: 39px; }
.edge-down { top: 30%; height: 39px; }
.edge-power { left: auto; right: -4px; top: 26%; height: 57px; border-radius: 0 3px 3px 0; }
.phone-screen { height: 100%; color: #f4f0ec; overflow: hidden; isolation: isolate; position: relative; border-radius: 39px; background: #151e2b; }
.status-bar { height: var(--status-height, 42px); position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 1px 7% 0 7%; z-index: 5; color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; pointer-events: none; }
.status-icons { display: flex; align-items: center; gap: 4px; }
.status-icons svg { width: 14px; height: 14px; }
.status-icons svg:last-child { width: 20px; }
.island { pointer-events: none; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 26%; max-width: 102px; height: 21px; background: #090a0c; z-index: 6; border-radius: 22px; }
.island i { position: absolute; top: 7px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #161a23; box-shadow: inset 0 0 3px #273047; }
.phone-ai-disclaimer { position: absolute; z-index: 7; inset: max(33px, env(safe-area-inset-top, 0px)) 0 auto; color: #fff; text-shadow: 0 1px 3px #000; text-align: center; font-size: 8px; line-height: 1; pointer-events: none; }
.phone-screen.light .phone-ai-disclaimer { color: #575a62; text-shadow: none; }
.view { position: absolute; inset: 0; }
.home-indicator { position: absolute; z-index: 10; bottom: 0; left: 50%; width: 42%; height: calc(23px + env(safe-area-inset-bottom,0px)); transform: translateX(-50%); display: flex; justify-content: center; align-items: flex-start; padding-top: 11px; }
.home-indicator span { background: currentColor; width: 81%; max-width: 121px; height: 4px; border-radius: 5px; opacity: .85; }
.phone-screen.light .status-bar, .phone-screen.light .home-indicator { color: #262a33; }
.screen { height: 100%; position: relative; display: flex; flex-direction: column; overflow: hidden; animation: enter .28s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(6px) scale(.99); } to { opacity: 1; transform: none; } }
.home-screen, .splash { background: #182333 var(--wallpaper) center / cover; }
.splash { width: 100%; display: block; text-align: center; background-image: var(--intro-image); color: #f6ede4; }
.splash::before, .home-screen::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(13,20,35,.19) 0%,rgba(17,24,41,.07) 29%,rgba(12,18,31,.27) 64%,rgba(9,13,24,.83) 100%); }
.splash::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 31%,#131b2c38,transparent 60%); }
.splash-center { position: absolute; inset: 17% 9% auto; z-index: 1; }
.splash-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid #f1c39a72; border-radius: 50%; color: #f1c39a; margin: 0 auto 17px; font-size: 16px; }
.splash-title { font-family: var(--serif); font-size: clamp(34px,12cqw,54px); font-weight: 650; line-height: 1.25; letter-spacing: .14em; margin-left: .14em; text-shadow: 0 3px 24px #0d1224; }
.splash-english { display: block; margin-top: 11px; font-family: Georgia,serif; font-size: 8px; letter-spacing: .34em; color: #e9c7ac; }
.splash-bottom { position: absolute; z-index: 1; bottom: 7%; left: 17%; right: 17%; }
.splash-prologue { display: block; color: #e9e4e0; font-size: 11px; line-height: 1.85; letter-spacing: .07em; margin-bottom: 24px; text-shadow: 0 1px 6px #000; }
.splash-action { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 auto; width: max-content; min-height: 32px; padding: 3px 14px; border: 1px solid #f4d7bf85; border-radius: 30px; background: #1d223680; backdrop-filter: blur(9px); color: #f0d6bf; font-size: 10px; letter-spacing: .13em; transition: background .2s; }
.splash:hover .splash-action { background: #ac795270; }
.splash-loading { color: #e9cfb9; margin: auto; font-size: 13px; line-height: 2; text-align: center; }
.home-screen { padding: calc(var(--status-height, 42px) + 24px) 7% 29px; }
.home-screen::before { background: linear-gradient(180deg,#0d152a91,#101b334f 66%,#0b1228c9); }
.home-heading, .notification, .app-grid, .mobile-tools { position: relative; }
.home-heading { margin-bottom: 18px; text-align: center; }
.home-chapter { color: #ebcaaa; font-size: 10px; letter-spacing: .22em; }
.home-heading h2 { margin: 6px 0 0; font: 650 clamp(27px,9cqw,39px)/1.25 var(--serif); letter-spacing: .16em; }
.home-date { display: block; margin-top: 8px; color: #d5dce7; font-size: 10px; letter-spacing: .11em; }
.notification {
  display: flex; align-items: center; text-align: left; width: 100%; min-height: 61px; gap: 10px; padding: 9px 11px;
  background: #d5e1ff24; border: 1px solid #edf2ff44; border-radius: 13px; backdrop-filter: blur(15px);
}
.notification:hover { background: #d5e1ff3a; }
.notification .app-icon { width: 30px; height: 30px; border-radius: 8px; font-size: 17px; }
.notification-text { display: grid; gap: 3px; flex: 1; min-width: 0; }
.notification-text strong { color: #f7f4f0; font-size: 11px; }
.notification-text span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e0e3eb; font-size: 10px; }
.notification > svg { opacity: .8; font-size: 13px; }
.app-grid { margin-top: auto; padding: 20px 3% 6px; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(12px,4cqw,24px) 4px; }
.app-entry { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11px; text-shadow: 0 1px 5px #000b; }
.app-entry:hover .app-icon { transform: translateY(-3px); filter: brightness(1.12); }
.app-icon { position: relative; flex: none; display: grid; place-items: center; width: clamp(43px,14cqw,58px); height: clamp(43px,14cqw,58px); border-radius: 25%; font-size: 28px; text-shadow: none; box-shadow: inset 0 1px #ffffff65, 0 3px 8px #05090f49; transition: transform .2s, filter .2s; }
.app-icon svg { width: 1em; height: 1em; }
.icon-chat { background: linear-gradient(145deg,#83c3a4,#4b9078); color: #f1fff5; }
.icon-moments { background: linear-gradient(145deg,#f2eee6,#c1ccd2); color: #60759a; }
.icon-wall { background: linear-gradient(145deg,#ebaa89,#a65d60); color: #fff5ee; }
.icon-photos { background: linear-gradient(145deg,#e6eceb,#b2bdc8); color: #667a99; }
.icon-music { background: linear-gradient(145deg,#df9fae,#a7688b); color: #fff1f5; }
.icon-notes { background: linear-gradient(180deg,#ddb176 0 23%,#fbf1d9 23% 100%); color: #807456; }
.badge { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border: 2px solid #444459; border-radius: 50%; background: #f47072; }
.mobile-tools { display: none; }

.app-screen { color-scheme: light; color: #292c34; padding: var(--status-height, 42px) 0 calc(22px + env(safe-area-inset-bottom,0px)); background: #f1f1ef; }
.app-nav { position: relative; flex: none; height: 49px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; z-index: 1; border-bottom: 1px solid #20273412; }
.app-nav h2 { margin: 0; display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; text-align: center; font-size: 15px; font-weight: 710; min-width: 0; }
.app-nav h2 .avatar { width: 23px; height: 23px; border-radius: 7px; font-size: 11px; }
.nav-button { width: 42px; height: 42px; display: grid; place-items: center; justify-self: center; font-size: 20px; }
.nav-button:last-child { grid-column: 3; }
.nav-button:hover { color: #846148; }
.app-content { flex: 1; min-height: 0; overflow: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #b9b8b3 transparent; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 8px; position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 700; }
.avatar img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.generic-empty { margin: 34px 18px; text-align: center; color: #656b75; font-size: 13px; }
.text-button { color: #5b6a85; padding: 5px 0; font-weight: 650; }
.chat-screen { background: #ebedeb; }
.chat-feed { display: flex; flex-direction: column; padding: 0 14px 10px; overflow-anchor: none; }
.chat-feed > :first-child { margin-top: auto; }
.thread-list { background: #fbfbf8; }
.thread-row { display: flex; align-items: center; gap: 11px; text-align: left; width: 100%; min-height: 68px; padding: 10px 14px; border-bottom: 1px solid #262d3b16; }
.thread-row:hover { background: #e8ece7; }
.thread-avatar { position: relative; }
.thread-avatar .avatar { width: 43px; height: 43px; }
.thread-avatar .badge { border-color: #fbfbf8; }
.thread-label { display: grid; gap: 5px; flex: 1; min-width: 0; }
.thread-label strong { font-size: 14px; }
.thread-label span { color: #646b72; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-row > svg { color: #707881; font-size: 14px; }
.thread-links { display: grid; flex: none; gap: 5px; padding: 4px 13px; background: #ebedeb; }
.thread-link { display: flex; width: 100%; justify-content: space-between; align-items: center; text-align: left; padding: 6px 9px; min-height: 33px; border-radius: 6px; color: #406072; background: #dce6e8; font-size: 11px; font-weight: 650; }
.thread-link:hover { background: #cbdfe4; }
.chat-narration { align-self: center; flex: none; color: #586575; background: #e2e7e9; border-left: 2px solid #9aabbb; font-size: 11px; line-height: 1.8; padding: 8px 10px; margin: 0 0 10px; white-space: pre-wrap; border-radius: 3px 6px 6px 3px; width: 100%; }
.chat-time { color: #686e77; text-align: center; font-size: 10px; padding: 12px 0 11px; }
.message { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.message.latest { animation: message-in .26s ease both; }
@keyframes message-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.message.mine { align-self: flex-end; flex-direction: row-reverse; }
.message .avatar { width: 30px; height: 30px; }
.bubble { color: #262c31; line-height: 1.55; font-size: 13px; padding: 8px 10px; border-radius: 4px 10px 10px 10px; background: #fafbf9; max-width: min(240px,70cqw); overflow-wrap: anywhere; white-space: pre-wrap; border: 1px solid #242e3312; }
.mine .bubble { background: #c3dacb; border-radius: 10px 4px 10px 10px; }
.voice-message .bubble { display: grid; gap: 5px; }
.voice-button { color: #416f61; font-size: 11px; padding: 1px 0; min-height: 23px; display: flex; align-items: center; gap: 7px; text-align: left; }
.voice-button svg { font-size: 14px; }
.voice-button[aria-pressed="true"] svg { animation: pulse .8s ease-in-out infinite alternate; }
.message-shortcut, .red-packet { display: flex; align-items: center; gap: 7px; padding: 6px 8px; margin-top: 6px; border-radius: 5px; text-align: left; font-size: 11px; line-height: 1.55; }
.message-shortcut { color: #704962; background: #eee4ec; }
.red-packet { color: #7f3839; background: #f7e0d7; }
.red-packet:disabled { cursor: default; }
@keyframes pulse { to { opacity: .36; transform: scale(.84); } }
.typing-bubble { display: flex; min-height: 30px; align-items: center; gap: 3px; }
.typing-bubble i { height: 4px; width: 4px; border-radius: 50%; background: #768681; animation: pulse .48s ease infinite alternate; }
.typing-bubble i:nth-child(2) { animation-delay: .14s; }
.typing-bubble i:nth-child(3) { animation-delay: .28s; }
.chat-compose { flex: none; display: flex; align-items: center; gap: 9px; background: #f7f7f5; border-top: 1px solid #232d3515; height: 44px; padding: 0 12px; color: #676d72; font-size: 18px; }
.compose-placeholder { height: 27px; border: 1px solid #2f3b4917; border-radius: 6px; background: #fdfdfb; flex: 1; font-size: 10px; display: flex; align-items: center; color: #686e77; padding-left: 8px; }
.choices { display: grid; gap: 6px; padding: 7px 13px 10px; background: #ebedeb; flex: none; }
.choices button { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid #71948277; background: #f5f9f5; color: #365f51; border-radius: 7px; padding: 7px 10px; min-height: 34px; font-size: 12px; font-weight: 650; text-align: left; animation: message-in .3s ease both; }
.choices button:hover { background: #d7e8db; }
.ending-card { align-self: center; width: 100%; padding: 12px; text-align: center; border: 1px solid #aca28b6a; background: #f6f3e9; border-radius: 11px; font-size: 12px; line-height: 1.7; }
.ending-card h3 { margin: 0 0 4px; font-family: var(--serif); color: #735d48; font-size: 15px; }
.ending-card p { margin: 0; color: #5b5a59; white-space: pre-wrap; text-align: left; }
.chat-info { position: absolute; z-index: 2; inset: var(--status-height,42px) 0 0; background: #17213275; display: flex; align-items: end; }
.chat-info section { width: 100%; border-radius: 15px 15px 0 0; background: #f6f5ef; padding: 19px 18px 29px; }
.chat-info h3 { margin: 0 0 8px; }
.chat-info p { color: #565f69; font-size: 13px; line-height: 1.8; margin: 0; }

.feed-screen { background: #f0efed; }
.moments-cover { height: 155px; position: relative; flex: none; margin-bottom: 13px; background: #60647b; color: #fff; }
.moments-cover img.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.moments-cover::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent,#10131ca1); }
.cover-player { position: absolute; z-index: 1; right: 13px; bottom: 8px; color: #fff; display: flex; gap: 9px; align-items: center; font-size: 13px; font-weight: 650; }
.cover-player .avatar { width: 41px; height: 41px; border: 2px solid #f4f5f0; }
.post-list { display: grid; gap: 7px; }
.post { padding: 13px 12px; background: #fdfcf9; display: grid; grid-template-columns: 33px minmax(0,1fr); gap: 9px; }
.post .avatar { width: 33px; height: 33px; }
.post-author { display: block; margin: 0; font-size: 13px; color: #465673; }
.post-time { display: block; color: #6c717a; font-size: 10px; margin-top: 3px; }
.post p { font-size: 12px; line-height: 1.7; margin: 7px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-image { border-radius: 6px; overflow: hidden; width: min(100%,220px); background: #b3b6b5; }
.post-image img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.post-actions { display: flex; flex-wrap: wrap; gap: 4px 13px; margin-top: 5px; color: #606771; }
.post-actions :is(button, .post-comment-count) { min-height: 29px; display: flex; align-items: center; gap: 5px; font-size: 10px; }
.post-actions svg { width: 13px; height: 13px; }
.post-actions [aria-pressed="true"] { color: #ab4a55; }
.post-actions [aria-pressed="true"] svg { fill: #ab4a5526; }
.post-comments { list-style: none; padding: 5px 8px; margin: 3px 0 0; border-radius: 5px; background: #efefed; }
.post-comments li { color: #5a606a; font-size: 11px; padding: 3px 0; line-height: 1.45; }
.weibo-dm-open { color: #794d4c; font-size: 12px; font-weight: 650; }
.weibo-dm-screen { color: #352d2d; background: #f7f4ee; }
.weibo-dm-screen .avatar { border-radius: 50%; }
.weibo-dm-profile { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 22px 14px 16px; }
.weibo-dm-profile .avatar { width: 48px; height: 48px; }
.weibo-dm-profile h3 { margin: 0; font-size: 14px; }
.weibo-dm-log { flex: 1; min-height: 0; overflow: auto; padding: 6px 16px 16px; }
.weibo-dm-log time { display: block; margin-bottom: 17px; color: #716864; text-align: center; font-size: 11px; }
.weibo-dm-log > div { display: flex; align-items: end; gap: 8px; margin-bottom: 14px; }
.weibo-dm-log > div > p { max-width: 76%; margin: 0; padding: 10px 13px; border-radius: 15px; background: #fff; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.weibo-dm-log .weibo-dm-sent { justify-content: flex-end; }
.weibo-dm-log .weibo-dm-sent > p { background: #f0dfbf; }
.weibo-dm-compose { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px 4px; border-top: 1px solid #dfd5c8; }
.weibo-dm-input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #dfd5c8; border-radius: 18px; background: #fff; color: #352d2d; font: inherit; font-size: 16px; }
.weibo-dm-send { flex: none; min-width: 48px; min-height: 44px; color: #794d4c; font-size: 13px; font-weight: 650; }
.weibo-dm-send:disabled { opacity: .45; }
.post-comments b { color: #485672; margin-right: 4px; }
.feed-tabs { display: flex; align-items: center; justify-content: center; background: #f9f7f3; border-bottom: 1px solid #26304217; gap: 18px; height: 37px; flex: none; }
.feed-tabs button { font-size: 12px; min-width: 54px; height: 100%; color: #686d76; border-bottom: 2px solid transparent; }
.feed-tabs button[aria-pressed="true"] { color: #96563f; border-color: #b97053; font-weight: 700; }
.album-screen { background: #f5f3ef; }
.album-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 3px; padding: 0 4px; }
.album-title { margin: 15px 13px 9px; font-size: 11px; color: #5d6470; letter-spacing: .07em; }
.album-grid button { aspect-ratio: 1; background: #dad9d4; overflow: hidden; }
.album-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .24s; }
.album-grid button:hover img { transform: scale(1.06); }
.photo-view { background: #131a25; color: #eceded; }
.photo-view .app-nav { border-color: #a6b7d327; }
.photo-view .app-nav h2 { font-size: 12px; color: #c4cbd6; }
.photo-detail { flex: 1; min-height: 0; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; touch-action: pan-y; }
.photo-detail img { width: 100%; height: 100%; max-height: 70cqw; object-fit: contain; }
.photo-detail button { display: grid; place-items: center; height: 44px; font-size: 19px; }
.photo-detail button:disabled { visibility: hidden; }
.photo-caption { text-align: center; margin: 0 12px 12px; color: #d6deea; font-size: 12px; }
.photo-caption small { display: block; margin-top: 5px; color: #a8b2c5; font-size: 10px; }
.notes-screen { background: #f7f3e8; }
.notes-list { display: grid; gap: 2px; padding: 10px 12px; }
.note-row { text-align: left; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px; padding: 12px 10px; background: #fdfaf2; border-bottom: 1px solid #392e2216; }
.note-row:hover { background: #fcf2db; }
.note-row strong { font-size: 13px; }
.note-row time, .note-row span { color: #6d6a65; font-size: 11px; }
.note-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-detail { padding: 17px 18px; }
.note-detail time { color: #777165; font-size: 11px; }
.note-detail h3 { font: 700 22px/1.35 var(--serif); margin: 10px 0 15px; }
.note-detail p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.9; }
.music-screen { background: linear-gradient(165deg,#30283b,#171f2b 71%); color: #f7edf0; }
.music-screen .app-nav { border-color: #ffffff20; }
.music-content { padding: 15px 15px 10px; }
.track-cover { width: min(51cqw,175px); aspect-ratio: 1; object-fit: cover; border-radius: 11px; margin: 0 auto 12px; box-shadow: 0 8px 22px #14102369; background: #413948; }
.now-playing { text-align: center; }
.now-playing h3 { font-size: 16px; margin: 0 0 4px; }
.now-playing p { font-size: 10px; color: #c6b8c6; margin: 0; }
.music-progress { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; color: #c2b7c5; font-size: 10px; padding: 12px 0 4px; }
.music-progress input { accent-color: #e1abc0; min-width: 0; margin: 0; cursor: pointer; }
.music-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 9px 0 13px; }
.music-controls button { display: grid; place-items: center; width: 34px; height: 34px; font-size: 17px; }
.music-controls .play { width: 42px; height: 42px; border-radius: 50%; color: #412e40; background: #e4c0cf; font-size: 19px; }
.track-list { display: grid; gap: 4px; margin-top: 8px; }
.track-row { width: 100%; display: flex; align-items: center; gap: 10px; color: #ded1de; padding: 9px 8px; border-radius: 7px; font-size: 12px; text-align: left; background: #f4d8fe12; }
.track-row[aria-current="true"] { background: #f4d8fe25; color: #f0c9da; }
.track-row svg:last-child { margin-left: auto; }
.dialog { max-width: min(90vw,340px); color: #f6eee7; background: #202939; border: 1px solid #c5d0e84e; border-radius: 14px; padding: 20px; }
.dialog::backdrop { background: #090d18aa; backdrop-filter: blur(4px); }
.dialog h2 { margin: 0; font-size: 17px; }
.dialog p { color: #bdc6d4; font-size: 13px; line-height: 1.7; }
.dialog form > div { display: flex; justify-content: end; gap: 9px; }
.dialog button { font-size: 12px; border: 1px solid #abb9d14b; border-radius: 6px; padding: 7px 10px; }
.dialog button.danger { background: #e9bd93; color: #211a1a; }
@media (max-width: 1050px) {
  .stage { width: calc(100% - 68px); gap: 25px; }
  .page-header, .page-footer { width: calc(100% - 68px); }
  .story-panel { padding: 13px 11px; }
  .chapter { gap: 6px; padding-inline: 4px; }
}
@media (max-width: 830px) and (min-width: 631px) {
  .stage { grid-template-columns: minmax(0,1fr) auto; gap: 22px; width: min(100% - 52px, 650px); }
  .story-panel { display: none; }
}
@media (max-width: 630px) and (orientation: portrait) {
  body { overflow: hidden; }
  .game { display: block; min-height: 100dvh; }
  .page-header, .page-footer, .story-intro, .story-panel, .edge-button { display: none; }
  .stage { display: block; width: 100%; padding: 0; }
  .phone-wrap, .phone { width: 100%; min-width: 0; height: 100dvh; }
  .phone { border: 0; padding: 0; border-radius: 0; box-shadow: none; }
  .phone-screen { border-radius: 0; --status-height: max(47px,calc(env(safe-area-inset-top, 0px) + 25px)); }
  .island { top: max(11px, env(safe-area-inset-top,0px)); }
  .home-screen { padding-bottom: calc(28px + env(safe-area-inset-bottom,0px)); }
  .home-heading { margin-top: 4dvh; }
  .app-grid { gap: 24px 5px; padding-bottom: 15px; }
  .splash-center { top: 19%; }
  .splash-bottom { bottom: max(8%,calc(env(safe-area-inset-bottom,0px) + 35px)); }
  .mobile-tools { display: flex; justify-content: center; gap: 10px; margin-top: 7px; }
  .mobile-tools .tool-button { background: #1d2637a0; width: 31px; height: 31px; }
}
@media (max-width: 630px) and (orientation: landscape) {
  .story-intro, .story-panel { display: none; }
  .stage { display: flex; justify-content: center; }
}
@media (max-height: 750px) and (min-width: 631px) {
  .game { grid-template-rows: 62px 1fr 43px; }
  .phone-wrap { width: min(392px,calc((100svh - 129px) * .5625)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.home-indicator:disabled { cursor: default; }
