/* 《鹭屿四十二日》 视觉：晨雾纸（浅）/ 夜海（深）。原创抽象风格，不使用外部图片。 */
:root {
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --fs: 17px;
  --radius: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
html[data-font="s"] { --fs: 15px; }
html[data-font="l"] { --fs: 19px; }
html[data-font="xl"] { --fs: 21px; }

html[data-theme="light"] {
  --bg: #f3efe7; --bg2: #ebe5d9; --panel: #fbf8f2; --panel2: #f6f1e8; --line: #ddd4c4; --line2: #cfc4b0;
  --ink: #2a2a2e; --ink2: #5b5a5e; --muted: #8b867c; --accent: #2f5560; --accent2: #b5563f; --accent-ink: #fff;
  --sea: #cfdcdc; --sea2: #b9cccd; --land: #efe6d3; --land2: #e2d6bd; --hill: #d9ccb0; --road: #c9b99a;
  --glow: #b5563f; --shadow: 0 1px 2px rgba(60,50,30,.06), 0 6px 24px rgba(60,50,30,.07);
  --quote: #f0e8da; --chat-l: #fff; --chat-r: #dfe9e7; color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0f1a22; --bg2: #0c151c; --panel: #15232d; --panel2: #192a35; --line: #24394a; --line2: #2e475a;
  --ink: #dfe6e9; --ink2: #b4c1c7; --muted: #7d909a; --accent: #7fb3b8; --accent2: #e0a060; --accent-ink: #0f1a22;
  --sea: #0f2230; --sea2: #13293a; --land: #1d3140; --land2: #24394a; --hill: #2a4152; --road: #36505f;
  --glow: #e0a060; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 30px rgba(0,0,0,.35);
  --quote: #1c2f3b; --chat-l: #1d303c; --chat-r: #23414a; color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: .02em; margin: 0 0 .4em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 8px; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.row.gap { gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.row.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 10px; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 2px; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ---------- buttons & inputs */
.btn { border: 1px solid var(--line2); background: var(--panel); border-radius: 999px; padding: 7px 16px; transition: background .2s, border-color .2s, transform .1s; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: #b33a2a; border-color: #d9a59c; background: transparent; }
html[data-theme="dark"] .btn.danger { color: #f08f7f; border-color: #6b3b35; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 4px 12px; font-size: 13px; }
.btn.wide { width: 100%; padding: 10px; }
.btn.on { color: var(--accent2); border-color: var(--accent2); }
.btn:disabled { opacity: .5; cursor: default; }
.icon-btn { border: none; background: none; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; color: var(--ink2); }
.icon-btn:hover { background: var(--bg2); }
.icon-btn.sm { width: 22px; height: 22px; font-size: 14px; }
.link { border: none; background: none; padding: 0; color: var(--accent); cursor: pointer; text-align: left; }
.link:hover { text-decoration: underline; }
.link.back { display: inline-block; margin-bottom: 14px; }
.input { width: 100%; border: 1px solid var(--line2); background: var(--panel); border-radius: 8px; padding: 9px 12px; }
.input.sm { width: auto; padding: 5px 10px; font-size: 13px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
textarea.input { resize: vertical; line-height: 1.7; }
.chip { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 3px 12px; font-size: 13px; color: var(--ink2); transition: all .15s; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip.sm { padding: 1px 9px; font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 6px 0 18px; }
.tab { border: none; background: none; padding: 8px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.on { color: var(--ink); border-bottom-color: var(--accent2); }
.seg-group { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; overflow: hidden; }
.seg { border: none; background: transparent; padding: 5px 14px; font-size: 13px; color: var(--ink2); }
.seg.on { background: var(--accent); color: var(--accent-ink); }

/* ---------- avatar */
.avatar { display: inline-grid; place-items: center; border-radius: 50%; background: var(--ac); color: #fff; font-family: var(--serif); flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); line-height: 1; user-select: none; }
.char-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 2px 10px 2px 3px; font-size: 13px; color: var(--ink); }
.char-chip:hover, .char-chip.on { border-color: var(--accent); }

/* ---------- boot / fatal */
.boot, .fatal { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); padding: 20px; }
.boot-mark { font-family: var(--serif); font-size: 44px; color: var(--accent); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; transform: translateY(-3px); } }

/* ---------- shell */
.shell { display: grid; min-height: 100vh; grid-template-columns: 76px 1fr; grid-template-rows: 54px 1fr auto; grid-template-areas: "top top" "nav main" "tl tl"; }
.topbar { grid-area: top; display: flex; align-items: center; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-family: var(--serif); }
.brand-name { font-family: var(--serif); font-size: 17px; letter-spacing: .12em; }
.top-when { display: flex; gap: 10px; align-items: baseline; flex: 1; justify-content: center; font-size: 14px; white-space: nowrap; overflow: hidden; }
.top-when b { font-family: var(--serif); font-size: 16px; }
.top-loc { color: var(--accent2); }
.top-user { display: flex; align-items: center; gap: 10px; }
.user-btn { border: 1px solid var(--line2); border-radius: 999px; padding: 3px 12px; font-size: 13px; color: var(--ink2); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.save-dot { width: 7px; height: 7px; border-radius: 50%; background: #6aa58a; }
.save-dot.fail { background: #c4543f; }
.nav { grid-area: nav; display: flex; flex-direction: column; gap: 2px; padding: 12px 6px; border-right: 1px solid var(--line); position: sticky; top: 54px; height: calc(100vh - 54px - var(--tlh, 128px)); overflow: auto; }
.nav-a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; color: var(--muted); font-size: 12px; }
.nav-a .nav-ic { font-size: 18px; line-height: 1.2; }
.nav-a:hover { background: var(--bg2); color: var(--ink); }
.nav-a.on { color: var(--accent2); background: var(--panel); }
.main { grid-area: main; min-width: 0; padding-bottom: 8px; }
.main.page-in { animation: pagein .35s var(--ease); }
@keyframes pagein { from { opacity: 0; transform: translateY(6px); } }
.mnav { display: none; }

/* ---------- pages */
.page { max-width: 980px; margin: 0 auto; padding: 26px 28px 60px; }
.page-head { margin-bottom: 10px; }
.page-head p { max-width: 640px; }
.section-title { font-size: 15px; color: var(--ink2); margin: 26px 0 10px; padding-bottom: 6px; border-bottom: 1px dashed var(--line2); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--shadow); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-mark { font-size: 28px; color: var(--line2); }
.error { color: #b33a2a; padding: 20px; }
.quote { margin: 6px 0; padding: 8px 14px; border-left: 3px solid var(--accent2); background: var(--quote); font-family: var(--serif); border-radius: 0 8px 8px 0; white-space: pre-wrap; }

/* ---------- explore */
.explore { display: grid; grid-template-columns: 250px minmax(0,1fr) 260px; gap: 0; min-height: calc(100vh - 54px - var(--tlh, 128px)); }
.ex-left, .ex-right { padding: 16px 14px; position: sticky; top: 54px; align-self: start; max-height: calc(100vh - 54px - var(--tlh, 128px)); overflow: auto; }
.ex-left { border-right: 1px solid var(--line); }
.ex-right { border-left: 1px solid var(--line); }
.ex-mtabs { display: none; }
.panel-title { font-size: 12px; letter-spacing: .18em; color: var(--muted); margin: 14px 0 8px; }
.panel-title:first-child { margin-top: 0; }
.map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--sea); }
.island { display: block; width: 100%; height: auto; }
.island .sea-bg { fill: var(--sea); }
.island .wave { fill: none; stroke: var(--sea2); stroke-width: .35; }
.island .land { fill: var(--land); stroke: var(--land2); stroke-width: .5; }
.island .land-shadow { fill: var(--sea2); }
.island .hill { fill: var(--hill); }
.island .contour { fill: none; stroke: var(--land2); stroke-width: .4; }
.island .road { fill: none; stroke: var(--road); stroke-width: .5; stroke-dasharray: 1.2 .8; }
.island .wall { fill: none; stroke: var(--ink2); stroke-width: .8; stroke-linecap: round; opacity: .5; }
.island .jetty { stroke: var(--ink2); stroke-width: .7; opacity: .5; }
.island .lighthouse { fill: var(--accent2); }
.island .map-cap { font-family: var(--serif); font-size: 4px; fill: var(--ink2); opacity: .55; letter-spacing: 1px; }
.island .map-cap.small { font-size: 2.6px; }
.loc-node { cursor: pointer; color: var(--glow); }
.loc-node .halo { opacity: 0; transition: opacity .3s; }
.loc-node .dot { fill: var(--muted); transition: fill .2s, r .2s; }
.loc-node .ring { fill: none; stroke: transparent; stroke-width: .5; }
.loc-node .loc-label { font-size: 2.6px; text-anchor: middle; fill: var(--ink2); opacity: 0; transition: opacity .2s; pointer-events: none; font-family: var(--sans); }
.loc-node:hover .loc-label, .loc-node.cur .loc-label, .loc-node.active .loc-label { opacity: 1; }
.loc-node.active .halo { opacity: 1; animation: pulse 2.6s ease-in-out infinite; }
.loc-node.active .dot { fill: var(--glow); }
.loc-node.things:not(.active) .dot { fill: var(--accent); }
.loc-node.cur .ring { stroke: var(--ink); }
.loc-node.sea-loc:not(.active) { opacity: .35; }
@keyframes pulse { 50% { opacity: .35; } }
.loc-list { margin-top: 10px; }
.loc-zone { font-size: 11px; color: var(--muted); margin: 10px 0 2px; letter-spacing: .15em; }
.loc-row { display: flex; align-items: center; gap: 8px; width: 100%; border: none; background: none; padding: 5px 8px; border-radius: 8px; text-align: left; color: var(--ink2); font-size: 14px; }
.loc-row:hover { background: var(--bg2); }
.loc-row.cur { background: var(--panel); color: var(--ink); box-shadow: inset 2px 0 0 var(--accent2); }
.loc-row.closed { opacity: .45; }
.loc-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); flex: none; }
.loc-row.active .loc-pip { background: var(--glow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--glow) 25%, transparent); }
.loc-name { flex: 1; }
.loc-badge { font-size: 11px; padding: 0 6px; border-radius: 6px; background: color-mix(in srgb, var(--glow) 16%, transparent); color: var(--accent2); }
.loc-badge.thing { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

.ex-stage { min-width: 0; padding: 0 0 30px; transition: opacity .2s; }
.ex-stage.loading { opacity: .6; }
.stage-head { position: relative; overflow: hidden; padding: 30px 36px 26px; color: #fff; min-height: 150px; display: flex; align-items: flex-end; }
.stage-head-in { position: relative; z-index: 2; max-width: 720px; }
.stage-when { font-size: 13px; opacity: .85; letter-spacing: .05em; }
.stage-loc { font-size: 30px; margin: 4px 0 6px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.15); }
.stage-amb { margin: 0; font-family: var(--serif); opacity: .92; }
.slot-dawn { background: linear-gradient(160deg, #8a9bb0 0%, #d8a99a 55%, #f0c9a5 100%); }
.slot-morning { background: linear-gradient(160deg, #5f93a8 0%, #8fb8c1 60%, #cfe0d6 100%); }
.slot-noon { background: linear-gradient(160deg, #3f86a3 0%, #6fb0bf 60%, #d9e6cf 100%); }
.slot-afternoon { background: linear-gradient(160deg, #5b8f9a 0%, #a7b98f 60%, #e4cf98 100%); }
.slot-dusk { background: linear-gradient(160deg, #5a5a86 0%, #c47a6a 55%, #eab07a 100%); }
.slot-evening { background: linear-gradient(160deg, #1f2d4a 0%, #36507a 60%, #6a6f9a 100%); }
.slot-night { background: linear-gradient(160deg, #0b1220 0%, #16243a 65%, #263a55 100%); }
.stage-head .fx { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fx-rain .fx, .fx-storm .fx { background-image: repeating-linear-gradient(105deg, rgba(255,255,255,.18) 0 1px, transparent 1px 13px); background-size: 200% 200%; animation: rain .7s linear infinite; }
.fx-storm .fx { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.28) 0 1px, transparent 1px 8px); animation-duration: .35s; }
.fx-storm { filter: saturate(.6) brightness(.85); }
@keyframes rain { to { background-position: -40px 120px; } }
.fx-moon .fx { background: radial-gradient(circle at 85% 30%, rgba(255,248,220,.95) 0 22px, rgba(255,240,200,.25) 23px 60px, transparent 61px); }
.stage-body { padding: 22px 36px; max-width: 820px; }
.fade-in { animation: fadein .45s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }
.loc-desc { color: var(--ink2); font-size: 14px; margin: 0 0 18px; }
.quiet { color: var(--muted); font-family: var(--serif); padding: 20px 0; }
.scene-list { display: flex; flex-direction: column; gap: 12px; }
.scene-card { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); transition: transform .15s var(--ease), border-color .15s; }
.scene-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.scene-card.major { border-left: 3px solid var(--accent2); }
.scene-card.seen { opacity: .78; }
.sc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sc-title { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.sc-seen { font-size: 12px; color: var(--muted); }
.sc-new { color: var(--accent2); font-size: 22px; line-height: 0; }
.sc-place { font-size: 13px; color: var(--muted); margin-top: 2px; }
.sc-chars { display: flex; align-items: center; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.sc-chars .avatar + .avatar { margin-left: -8px; }
.sc-chars .muted { margin-left: 8px; }
.same-time { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 22px; font-size: 13px; }
.stage-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ov-card { text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); transition: transform .15s; }
.ov-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.ov-card b { font-family: var(--serif); font-size: 17px; }
.ov-card .muted { font-size: 13px; }
.ov-n { font-size: 12px; color: var(--accent2); }
.ov-things { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }

/* reader */
.reader { padding: 0 36px; max-width: 760px; }
.reader-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 10px; position: sticky; top: 54px; background: var(--bg); z-index: 5; }
.reader-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.reader-bar .reader-actions { margin: 0; }
.reader-head { margin: 20px 0 24px; }
.reader-when { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.reader-head h1 { font-size: 30px; margin: 6px 0 12px; }
.reader-chars { display: flex; gap: 6px; flex-wrap: wrap; }
.reader-loading { padding: 80px; text-align: center; color: var(--muted); }
.prose { font-family: var(--serif); font-size: var(--fs); line-height: 2; color: var(--ink); }
.prose p { margin: 0 0 1em; text-indent: 2em; text-align: justify; }
.prose p.dlg { text-indent: 0; padding-left: 1em; }
.prose .sep { text-align: center; color: var(--muted); margin: 1.4em 0; letter-spacing: .6em; }
.prose::selection, .prose *::selection { background: color-mix(in srgb, var(--accent2) 30%, transparent); }
.facts { margin: 30px 0 10px; padding: 14px 16px; border: 1px dashed var(--line2); border-radius: var(--radius); }
.facts-title { font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-bottom: 8px; }
.fact { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 3px 0; }
.reader-foot { margin-top: 26px; }
.quote-pop { position: absolute; z-index: 60; display: none; gap: 6px; padding: 5px; background: var(--panel); border: 1px solid var(--line2); border-radius: 999px; box-shadow: var(--shadow); }
.quote-pop.on { display: flex; animation: fadein .15s; }

/* right column */
.present { display: flex; flex-wrap: wrap; gap: 6px; }
.items { display: flex; flex-direction: column; gap: 4px; }
.item-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 6px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 7px 10px; font-size: 13.5px; }
.item-row:hover { border-color: var(--accent); }
.item-row.seen { opacity: .7; }
.item-ic { color: var(--accent); }
.follows { display: flex; flex-direction: column; gap: 10px; }
.follow-row { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; background: var(--panel); }
.follow-who { display: flex; gap: 8px; align-items: center; }
.follow-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.side-links { margin-top: 20px; font-size: 13px; }

/* items */
.item-view { display: flex; flex-direction: column; gap: 12px; }
.paper { font-family: var(--serif); font-size: calc(var(--fs) - 1px); line-height: 1.9; background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; box-shadow: var(--shadow); }
.paper p { margin: 0; white-space: pre-wrap; }
.paper p.blank { height: .9em; }
.paper.letter { background: repeating-linear-gradient(var(--panel2) 0 calc(1.9em - 1px), var(--line) calc(1.9em - 1px) 1.9em); }
.paper.note { background: #f6e7a8; color: #3a3420; transform: rotate(-.4deg); font-family: "Kaiti SC", "STKaiti", "KaiTi", var(--serif); }
.paper.drawing { border: 2px dashed var(--line2); }
.paper.doc { font-family: var(--sans); font-size: 14px; }
.paper.email { font-family: var(--sans); font-size: 14px; }
.chat { display: flex; flex-direction: column; gap: 8px; background: var(--bg2); border-radius: 12px; padding: 14px; max-height: 60vh; overflow: auto; }
.chat-sep { text-align: center; font-size: 12px; color: var(--muted); margin: 6px 0; }
.chat-sys { text-align: center; font-size: 12px; color: var(--muted); }
.bubble-row { display: flex; flex-direction: column; max-width: 82%; }
.bubble-row.right { align-self: flex-end; align-items: flex-end; }
.bubble-meta { font-size: 11px; color: var(--muted); display: flex; gap: 6px; }
.bubble { background: var(--chat-l); padding: 7px 12px; border-radius: 4px 14px 14px 14px; font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.bubble-row.right .bubble { background: var(--chat-r); border-radius: 14px 4px 14px 14px; }

/* ---------- timeline */
.tl { grid-area: tl; position: sticky; bottom: 0; z-index: 25; background: color-mix(in srgb, var(--panel) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px 16px 10px; }
.tl-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tl-steps { display: flex; }
.tl-step { font-size: 20px; }
.tl-now { display: flex; align-items: baseline; gap: 8px; min-width: 260px; }
.tl-now b { font-family: var(--serif); font-size: 16px; }
.tl-slotname { color: var(--accent2); font-weight: 600; }
.tl-now small { color: var(--muted); }
.tl-slots { display: flex; gap: 4px; margin-left: auto; }
.tl-slots .chip.has:not(.on) { border-color: color-mix(in srgb, var(--glow) 45%, var(--line)); }
.tl-track { margin-top: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.tl-inner { position: relative; height: 54px; min-width: 100%; touch-action: pan-x; cursor: pointer; }
.tl-bars { display: flex; height: 100%; }
.tl-day { flex: 1; display: flex; flex-direction: column; align-items: stretch; position: relative; border-left: 1px solid transparent; }
.tl-day:nth-child(7n+1) { border-left-color: var(--line); }
.tl-day.weekend { background: color-mix(in srgb, var(--bg2) 70%, transparent); }
.tl-day.cur { background: color-mix(in srgb, var(--accent2) 10%, transparent); }
.tl-cells { flex: 1; display: flex; align-items: flex-end; gap: 1px; padding: 6px 1px 0; }
.tl-cell { flex: 1; background: color-mix(in srgb, var(--glow) 55%, transparent); border-radius: 2px 2px 0 0; display: block; transition: height .3s; }
.tl-cell.none { background: var(--line); }
.tl-cell.part { background: color-mix(in srgb, var(--accent) 60%, var(--glow)); }
.tl-cell.seen { background: var(--accent); }
.tl-dlabel { font-size: 10px; text-align: center; color: var(--muted); height: 14px; line-height: 14px; }
.tl-day.cur .tl-dlabel { color: var(--accent2); font-weight: 700; }
.tl-mark { position: absolute; top: 0; left: 50%; width: 5px; height: 5px; transform: translate(-50%, 0) rotate(45deg); background: var(--accent2); }
.tl-thumb { position: absolute; top: -2px; bottom: 12px; width: 3px; margin-left: -1.5px; background: var(--ink); border-radius: 2px; transition: left .25s var(--ease); z-index: 3; }
.tl-thumb::before { content: ""; position: absolute; top: -5px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--panel); }
.tl-ghost { position: absolute; top: 0; bottom: 12px; width: 1px; background: var(--ink2); opacity: 0; pointer-events: none; }
.tl-tip { position: absolute; bottom: 100%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 3px 10px; border-radius: 6px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; margin-bottom: 4px; }
.tl.scrubbing .tl-tip, .tl.scrubbing .tl-ghost { opacity: 1; }
.tl.scrubbing .tl-thumb { transition: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-wd { text-align: center; font-size: 12px; color: var(--muted); }
.cal-day { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 6px; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 64px; }
.cal-day small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.cal-day.noted small { color: var(--accent2); }
.cal-day.cur { border-color: var(--accent2); box-shadow: inset 0 0 0 1px var(--accent2); }
.cal-bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: auto; overflow: hidden; }
.cal-bar i { display: block; height: 100%; background: var(--accent); }

/* timeline page */
.tlp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 10px; }
.tlp-grid { display: grid; gap: 3px; min-width: 1100px; }
.tlp-dh { text-align: center; font-size: 11px; line-height: 1.1; position: relative; color: var(--ink2); }
.tlp-dh small { display: block; color: var(--muted); }
.tlp-dh.weekend { color: var(--accent2); }
.tlp-note { position: absolute; top: -4px; right: 2px; width: 5px; height: 5px; background: var(--accent2); border-radius: 50%; }
.tlp-sh { font-size: 12px; color: var(--muted); display: flex; align-items: center; }
.tlp-cell { aspect-ratio: 1; border: none; border-radius: 4px; background: var(--bg2); position: relative; padding: 0; }
.tlp-cell.has { background: color-mix(in srgb, var(--glow) calc(var(--d) * 100%), var(--bg2)); }
.tlp-cell.part { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); }
.tlp-cell.seen { box-shadow: inset 0 0 0 2px var(--accent); }
.tlp-cell.cur { outline: 2px solid var(--ink); outline-offset: 1px; }
.tlp-cell:hover { transform: scale(1.15); z-index: 2; }
.tlp-dot { position: absolute; inset: 28%; border-radius: 50%; border: 2px solid var(--panel); }
.tlp-follow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0; font-size: 13px; }
.tlp-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); margin: 10px 0; }
.tlp-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 5px; background: var(--bg2); }
.tlp-legend .lg.has { background: color-mix(in srgb, var(--glow) 60%, var(--bg2)); }
.tlp-legend .lg.part { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); }
.tlp-legend .lg.seen { box-shadow: inset 0 0 0 2px var(--accent); }
.tlp-legend .lg.ap { border-radius: 50%; }
.tlp-events { columns: 2; padding-left: 18px; font-size: 14px; }

/* ---------- people */
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.person-card { position: relative; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); transition: transform .15s; }
.person-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.person-card:not(.seen) .avatar { filter: grayscale(.7); opacity: .75; }
.follow-tag { position: absolute; top: 6px; right: 8px; font-size: 11px; color: var(--accent2); }
.person-hero { display: flex; gap: 20px; align-items: center; padding: 24px; border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--ac) 22%, var(--panel)), var(--panel)); border: 1px solid var(--line); }
.person-hero h2 { font-size: 28px; margin: 0; }
.person-hero h2 small { font-size: 15px; color: var(--muted); font-family: var(--sans); }
.person-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.known { padding-left: 18px; color: var(--ink2); }
.facts-list { padding-left: 18px; }
.facts-list li { margin: 4px 0; }
.seen-list { padding-left: 22px; font-size: 14px; }
.seen-list li { margin: 4px 0; }
.appear { display: flex; flex-wrap: wrap; gap: 5px; }

/* ---------- forum */
.forum { max-width: 900px; }
.forum-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.forum-clock { font-size: 13px; text-align: right; padding: 8px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.post-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.post-row { display: grid; grid-template-columns: 74px 1fr 140px; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.post-row:last-child { border-bottom: none; }
.post-row:hover { background: var(--panel2); }
.post-row.read b { color: var(--ink2); font-weight: 500; }
.post-main { display: flex; flex-direction: column; min-width: 0; }
.post-main .muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-meta { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; }
.replies { color: var(--accent2); }
.board-tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 6px; background: var(--bg2); color: var(--ink2); text-align: center; white-space: nowrap; }
.b-瓜田 { background: #f3d9c9; color: #8a3f22; } .b-树洞 { background: #dcd6ea; color: #4c3f75; } .b-公告 { background: #d4e4e2; color: #2f5560; }
.b-食堂 { background: #f2e3b8; color: #6d5414; } .b-失物招领 { background: #e0e8d4; color: #4b6130; }
html[data-theme="dark"] .board-tag { filter: brightness(.6) saturate(1.2); color: #fff; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 14px; }
.post-head { display: flex; gap: 10px; align-items: center; }
.post-head h2 { margin: 0; font-size: 22px; }
.post .prose { margin-top: 14px; font-size: calc(var(--fs) - 1px); line-height: 1.85; }
.post .prose p { text-indent: 0; }
.comments { display: flex; flex-direction: column; }
.comment { padding: 10px 16px; border-bottom: 1px dashed var(--line); }
.comment.op { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.c-meta { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.op-tag { font-size: 11px; padding: 0 5px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); }
.c-text { margin-top: 2px; white-space: pre-wrap; }

/* ---------- memories & history */
.mem-line { border-left: 2px solid var(--line2); margin-left: 30px; padding-left: 26px; }
.mem-year { position: relative; margin-bottom: 24px; }
.mem-y { position: absolute; left: -76px; top: 2px; font-family: var(--serif); color: var(--accent2); font-size: 15px; width: 40px; text-align: right; }
.mem-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.mem-card { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.mem-card b { font-family: var(--serif); font-size: 16px; }
.mem-card:hover { border-color: var(--accent); }
.mem-card.seen { opacity: .75; }
.mem-chars { display: flex; gap: 2px; }
.reader.memory { padding: 0; }
.reader.memory .prose { filter: sepia(.12); }
.hist-list, .bm-list { display: flex; flex-direction: column; gap: 2px; }
.hist-row { display: grid; grid-template-columns: 54px 1fr auto auto; gap: 10px; align-items: center; text-align: left; border: none; background: none; padding: 8px 10px; border-radius: 8px; }
.hist-row:hover { background: var(--panel); }
.bm-kind { font-size: 12px; color: var(--muted); display: inline-flex; justify-content: center; }
.bm-row { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: start; padding: 12px; border-bottom: 1px solid var(--line); }
.bm-main { display: flex; flex-direction: column; gap: 2px; }
.bm-label { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.bm-act { display: flex; gap: 4px; }

/* ---------- notes */
.notes-split { display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
.note-list { display: flex; flex-direction: column; gap: 4px; }
.note-list .btn { margin-bottom: 8px; align-self: flex-start; }
.note-row { text-align: left; border: 1px solid transparent; background: none; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; }
.note-row:hover { background: var(--panel); }
.note-row.on { background: var(--panel); border-color: var(--line); }
.note-editor { display: flex; flex-direction: column; gap: 10px; }
.note-title { font-family: var(--serif); font-size: 20px; border: none; background: transparent; padding-left: 0; }
.note-body { min-height: 300px; font-family: var(--serif); font-size: var(--fs); background: var(--panel); }
.refs { border-top: 1px dashed var(--line2); padding-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.ref-row { display: flex; gap: 10px; align-items: center; font-size: 14px; }

/* ---------- CP */
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.cp-card { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--cc); background: var(--panel); box-shadow: var(--shadow); }
.cp-card b { font-family: var(--serif); font-size: 18px; }
.cp-avs { display: flex; }
.cp-avs .avatar + .avatar { margin-left: -10px; }
.cp-avs.big .avatar + .avatar { margin-left: -14px; }
.cp-hero { display: flex; gap: 20px; align-items: center; padding: 20px; border-radius: 16px; background: linear-gradient(120deg, color-mix(in srgb, var(--cc) 20%, var(--panel)), var(--panel)); border: 1px solid var(--line); }
.cp-hero h2 { margin: 0; }
.evidence { padding-left: 0; list-style: none; border-left: 2px solid var(--cc); margin-left: 6px; }
.ev-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; padding: 10px 12px; position: relative; }
.ev-row::before { content: ""; position: absolute; left: -6px; top: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--cc); }
.ev-when { font-size: 12px; color: var(--muted); }
.ev-main { display: flex; flex-direction: column; gap: 4px; }
.ev-note { width: 100%; border-style: dashed; background: transparent; }
.cp-pick { display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow: auto; }
.cp-pick-row { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 8px; }
.cp-pick-row:hover { background: var(--bg2); }
.cp-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.member-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; max-height: 300px; overflow: auto; }
.member { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px 2px 2px; background: var(--panel); font-size: 13px; }
.member.on { border-color: var(--accent2); background: color-mix(in srgb, var(--accent2) 12%, var(--panel)); }
.colors { display: flex; gap: 8px; }
.color { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; }
.color.on { border-color: var(--ink); }
.graph-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin-top: 12px; overflow: hidden; }
.graph { display: block; width: 100%; height: auto; touch-action: none; user-select: none; }
.g-node { cursor: grab; }
.g-node circle { stroke: var(--panel); stroke-width: 3; }
.g-ch { text-anchor: middle; fill: #fff; font-family: var(--serif); font-size: 18px; pointer-events: none; }
.g-name { text-anchor: middle; fill: var(--ink2); font-size: 13px; pointer-events: none; }
.g-edge { stroke-width: 2.5; opacity: .7; }
.g-elabel { text-anchor: middle; fill: var(--ink2); font-size: 13px; paint-order: stroke; stroke: var(--panel); stroke-width: 4px; }
.edge-list { font-size: 14px; }

/* ---------- settings */
.settings { max-width: 720px; }
.set-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.stat { margin: 10px 0; font-size: 14px; }
.stat-bar { height: 6px; background: var(--bg2); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.stat-bar i { display: block; height: 100%; background: var(--accent); }

/* ---------- modal & toast */
.modal { position: fixed; inset: 0; background: rgba(15,20,25,.45); display: grid; place-items: center; z-index: 100; padding: 16px; opacity: 0; transition: opacity .2s; }
.modal.in { opacity: 1; }
.modal-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; width: min(520px, 100%); max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.25); transform: translateY(10px); transition: transform .25s var(--ease); }
.modal.in .modal-card { transform: none; }
.modal-card.wide { width: min(760px, 100%); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 6px; }
.modal-head h3 { margin: 0; font-size: 19px; }
.modal-body { padding: 8px 18px 14px; overflow: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); }
#toasts { position: fixed; left: 50%; bottom: calc(var(--tlh, 128px) + 18px); transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 8px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transform: translateY(8px); transition: all .25s; }
.toast.in { opacity: 1; transform: none; }

/* ---------- tutorial */
.tut-wrap { position: fixed; inset: 0; z-index: 150; }
.tut-hl { position: fixed; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(10,15,20,.55); transition: all .35s var(--ease); pointer-events: none; border: 2px solid var(--accent2); }
.tut { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, 92vw); background: var(--bg); border-radius: 16px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); z-index: 2; }
.tut h3 { font-size: 21px; }
.tut-n { font-size: 12px; color: var(--muted); letter-spacing: .2em; }

/* ---------- landing */
.landing { min-height: 100vh; position: relative; overflow: hidden; background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent2) 12%, var(--bg)), var(--bg) 60%); }
.landing-in { position: relative; z-index: 2; max-width: 1080px; margin: 0 auto; padding: 8vh 28px 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.landing-mark { display: flex; gap: 6px; margin-bottom: 18px; }
.landing-mark span { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--accent); color: var(--accent); font-family: var(--serif); font-size: 24px; border-radius: 6px; }
.landing-mark span:first-child { background: var(--accent); color: var(--accent-ink); }
.landing h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: .14em; margin: 0; }
.landing-sub { color: var(--accent2); font-family: var(--serif); letter-spacing: .2em; margin: 6px 0 26px; }
.landing-intro p { font-family: var(--serif); font-size: 16.5px; line-height: 2; margin: 0 0 .6em; color: var(--ink2); }
.landing-feat { padding-left: 18px; color: var(--ink2); font-size: 14px; margin-top: 20px; }
.landing-note { font-size: 12px; color: var(--muted); margin-top: 20px; }
.auth-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); position: sticky; top: 8vh; }
.auth-card .tabs { margin-top: 0; }
.auth-msg { font-size: 14px; min-height: 1em; }
.auth-msg.err { color: #b33a2a; }
.auth-msg.ok { color: #3a7a5a; }
.landing-sea { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: repeating-linear-gradient(175deg, transparent 0 18px, color-mix(in srgb, var(--accent) 8%, transparent) 18px 20px); mask-image: linear-gradient(transparent, #000); }
.iframe-banner { position: relative; z-index: 3; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 8px; background: var(--quote); font-size: 13px; }

/* ---------- responsive */
@media (max-width: 1180px) {
  .explore { grid-template-columns: 220px minmax(0,1fr) 230px; }
  .stage-head, .stage-body, .reader { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 50px 1fr auto auto; grid-template-areas: "top" "main" "tl" "mnav"; }
  .topbar { height: 50px; padding: 0 12px; gap: 10px; }
  .brand-name { display: none; }
  .top-when { justify-content: flex-start; font-size: 13px; }
  .top-when .muted, .top-loc { display: none; }
  .nav { display: none; }
  .mnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 26; background: var(--panel); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mnav > a, .mnav-more { flex: 1; }
  .mnav .nav-a { padding: 6px 0; font-size: 11px; }
  .mnav-more { position: relative; }
  .mnav-more summary { list-style: none; }
  .mnav-more summary::-webkit-details-marker { display: none; }
  .mnav-menu { position: absolute; bottom: 100%; right: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 150px; padding: 6px; }
  .mnav-menu a { padding: 10px 12px; color: var(--ink); border-radius: 8px; }
  .tl { position: fixed; left: 0; right: 0; bottom: calc(var(--mnh, 52px)); padding: 6px 10px 8px; }
  .main { padding-bottom: calc(var(--tlh, 140px) + var(--mnh, 52px) + 12px); }
  .shell { min-height: 100dvh; }
  .tl-now { min-width: 0; flex: 1; justify-content: center; flex-wrap: wrap; row-gap: 0; }
  .tl-now small { width: 100%; text-align: center; font-size: 11px; }
  .tl-slots { order: 5; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .tl-slots .chip { flex: none; padding: 5px 12px; }
  .tl-cal { display: none; }
  .tl-step { width: 40px; height: 40px; }
  .tl-inner { min-width: calc(42 * 26px); height: 50px; }
  .tl-thumb::before { width: 18px; height: 18px; margin-left: -9px; top: -8px; }
  .ex-mtabs { display: flex; gap: 0; padding: 8px 12px; position: sticky; top: 50px; z-index: 6; background: var(--bg); }
  .ex-mtabs .seg { flex: 1; border: 1px solid var(--line2); padding: 8px; }
  .ex-mtabs .seg:first-child { border-radius: 999px 0 0 999px; } .ex-mtabs .seg:last-child { border-radius: 0 999px 999px 0; }
  .explore { display: block; min-height: 0; }
  .ex-left, .ex-right { position: static; max-height: none; border: none; display: none; padding: 12px 14px; }
  .ex-stage { display: none; }
  .explore[data-mpanel="map"] .ex-left, .explore[data-mpanel="side"] .ex-right, .explore[data-mpanel="stage"] .ex-stage { display: block; }
  .loc-row { padding: 11px 10px; font-size: 15px; }
  .stage-head { padding: 22px 18px 18px; min-height: 120px; }
  .stage-loc { font-size: 24px; }
  .stage-body, .reader { padding: 16px 18px; }
  .reader-bar { top: 100px; }
  .reader-head h1 { font-size: 24px; }
  .prose { line-height: 1.95; }
  .page { padding: 18px 16px 40px; }
  .person-cols, .notes-split { grid-template-columns: 1fr; }
  .post-row { grid-template-columns: 1fr; gap: 4px; }
  .post-meta { flex-direction: row; gap: 10px; align-items: baseline; }
  .ev-row { grid-template-columns: 1fr auto; }
  .ev-when { grid-column: 1 / -1; }
  .landing-in { grid-template-columns: 1fr; gap: 30px; padding-top: 6vh; }
  .auth-card { position: static; }
  .tlp-events { columns: 1; }
  .mem-line { margin-left: 0; padding-left: 16px; }
  .mem-y { position: static; text-align: left; margin-bottom: 6px; }
  #toasts { bottom: calc(var(--tlh, 140px) + var(--mnh, 52px) + 12px); }
  .quote-pop { position: fixed; }
}
