/* Felt Years, The Call (P1FY51). Placeholder look: paper, ink, one red. The visual round (P1FY53) owns the look.
   Sizes follow taste/ACCESSIBLE_PLAY.md: body 20, rule 22 (zh 24), buttons 20, HUD 24, title 28, floor 18. */
:root {
  /* P1FY53 two hands: Grandma's blue-black pen on ruled letter paper; Mia's two-ink riso print (teal line, pink fill) */
  --paper: #F6F2E8; --ink: #22283A; --muted: #4F5566; --red: #0D6F78; --room: #FBD9E6; --room-wall: #FBF8F1;
  --gran-bg: #FFFFFF; --line: #0D6F78; --mia-cloth: #F2609E; --gran-cloth: #FFFFFF;
  --pen: #22283A; --rA: #0D6F78; --rB: #F2609E; --rC: #F4C430; --rule: #CBD3E3;
  --text-body: 20px; --text-rule: 22px; --text-btn: 20px; --text-hud: 24px; --text-title: 28px; --text-min: 18px;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-title: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Noto Serif TC", "Songti TC", serif;
  --pad: 12px;
}
:root:lang(zh-Hant) { --text-body: 22px; --text-rule: 24px; }
html.huge { --text-body: 25px; --text-rule: 27.5px; --text-btn: 25px; --text-hud: 30px; --text-title: 35px; --text-min: 22.5px; }
html.huge:lang(zh-Hant) { --text-body: 27.5px; --text-rule: 30px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--text-body); line-height: 1.45; }
:lang(zh-Hant) body, html:lang(zh-Hant) body { line-height: 1.6; }
button { font: inherit; font-size: var(--text-btn); color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; min-height: 44px; min-width: 44px; padding: 4px 10px; cursor: pointer; touch-action: manipulation; }
button:active:not(:disabled) { transform: translateY(1px); background: #E6DCC8; }
button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
button:disabled { opacity: .45; cursor: default; }
.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); width: 100%; min-height: 52px; }
.primary:active:not(:disabled) { background: #3a3228; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#app { height: 100vh; height: 100svh; }
.shell { height: 100vh; height: 100svh; display: flex; flex-direction: column; padding: 0 var(--pad) calc(var(--pad) + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; gap: 6px; overflow: hidden; }

/* top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 52px; padding-top: env(safe-area-inset-top); border-bottom: 1px solid var(--line); flex: none; }
.brand { border: 0; background: none; padding: 0 4px 0 0; display: flex; align-items: center; gap: 6px; font-family: var(--font-title); font-size: var(--text-title); line-height: 1.1; white-space: nowrap; }
.brand-mark { color: var(--red); display: inline-flex; }
.top nav { display: flex; gap: 8px; }
.top nav button { padding: 2px 10px; border-width: 1.5px; white-space: nowrap; }
@media (max-width: 400px) { .brand-mark { display: none; } .top nav { gap: 6px; } .top nav button { padding: 2px 7px; } }
@media (max-width: 350px) { .top nav button { padding: 2px 5px; } }

/* level row and HUD */
.level-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: none; }
.level-row p { margin: 0; }
.lv { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--text-body); }
.lv-name { white-space: nowrap; }
.level-row { flex-wrap: wrap; row-gap: 0; }
html.huge .lv-name { white-space: normal; }
.lv-num { display: none; }
@media (max-width: 350px) { .lv-word { display: none; } .lv-num { display: inline; } }
.pips { display: inline-flex; gap: 4px; flex: none; }
.pip { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; display: inline-block; }
.pip.done { background: var(--ink); }
.pip.now { border-color: var(--red); background: var(--red); }
.hud { white-space: nowrap; font-size: var(--text-body); }
.hud-num { font-size: var(--text-hud); font-variant-numeric: tabular-nums; display: inline-block; }
.hud-num.pop { animation: pop .35s ease-out; }
@keyframes pop { 40% { transform: scale(1.3); } }

.goal { margin: 0; font-size: var(--text-rule); line-height: 1.45; font-weight: 700; flex: none; }
html:lang(zh-Hant) .goal { line-height: 1.5; }

/* the call frame: Mia's room */
.frame { position: relative; flex: 1 1 auto; min-height: 200px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--room-wall); touch-action: pan-y; }
.room { position: absolute; inset: 0; }
.room .tv { position: absolute; left: 4%; top: 40%; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); padding: 2px; line-height: 0; }
.room .tv.on { background: #CFE0F0; box-shadow: 0 0 0 6px rgba(120,160,210,.35); }
.wild { position: absolute; right: 20%; top: 26%; display: flex; flex-direction: column; align-items: center; background: var(--paper); border: 2px dashed var(--ink); padding: 6px; font-size: var(--text-min); animation: shake .4s ease-in-out 2; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.flash:not([data-k="0"]) { animation: flash .28s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

.hearts { position: absolute; left: 8px; top: 8px; display: flex; gap: 2px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 4px; padding: 3px 5px; color: var(--red); }
.heart.off { color: var(--muted); }
.pot { position: absolute; right: 8px; top: 8px; display: flex; align-items: center; gap: 4px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 4px; padding: 0 8px; min-height: 36px; font-size: var(--text-min); white-space: nowrap; }
.incoming { position: absolute; right: 8px; top: 52px; display: flex; flex-direction: column; gap: 6px; }
.up { width: 56px; min-height: 56px; display: flex; flex-direction: column; align-items: center; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 4px; padding: 2px; }
.up.empty { visibility: hidden; }
.up-w { font-size: var(--text-min); line-height: 1.1; }
.gran { position: absolute; left: 8px; bottom: 8px; width: 96px; height: 112px; background: var(--gran-bg); border: 2px solid var(--ink); border-radius: 4px; color: var(--ink); }
.gran svg.gran-fig { position: absolute; left: 6px; bottom: 0; width: 84px; height: 100px; }
.gran-item { position: absolute; right: -8px; top: -8px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; }
.say { position: absolute; left: 112px; right: 8px; bottom: 8px; background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 6px 10px; font-size: var(--text-body); line-height: 1.35; }
.say p { margin: 0; }
.say .note, .say .hint { font-size: var(--text-min); color: var(--muted); }
.say .hint { color: var(--red); font-weight: 700; }
.say-gran { border-color: #3E5866; }
.say.top { top: 52px; bottom: auto; left: 8px; right: 72px; }
.say-note p:first-child { font-style: italic; }

/* between calls */
.between { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; border: 0; border-radius: 0; padding: 0; background: var(--paper); text-align: left; font-size: var(--text-min); z-index: 3; }
.between .side { padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.between .gran-side { background: var(--gran-bg); border-right: 2px solid var(--ink); }
.between p { margin: 0; line-height: 1.35; }
.pad { position: relative; height: 84px; width: 72px; margin: 0 auto; }
.pad i { position: absolute; inset: 0; background: var(--paper); border: 2px solid var(--ink); font: 700 44px/80px var(--font-title); color: var(--red); text-align: center; font-style: normal; animation: tear .2s ease-in forwards; animation-delay: calc(var(--i) * .18s); }
.pad i:last-child { animation: none; }
@keyframes tear { to { transform: translate(30px, -40px) rotate(24deg); opacity: 0; } }
.news { display: flex; gap: 6px; justify-content: center; }
.news span { animation: drop .3s ease-out both; animation-delay: calc(.3s + var(--i) * .25s); }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }

/* the moves */
.moves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; flex: none; }
.moves.pick { grid-template-columns: repeat(3, 1fr); }
.mv { position: relative; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 4px 2px; line-height: 1.1; }
.mv .w { font-size: var(--text-btn); }

/* the sheet after a call and after a level */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--paper); border-top: 2px solid var(--ink); box-shadow: 0 -6px 20px rgba(30,26,21,.18); padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); max-height: calc(100vh - 110px); max-height: calc(100svh - 110px); display: flex; flex-direction: column; animation: rise .25s ease-out; }
.sheet-scroll { overflow: auto; min-height: 0; flex: 0 1 auto; }
.sheet .sheet-actions { flex: none; width: 100%; }
.sheet > * { max-width: 536px; width: 100%; margin-left: auto; margin-right: auto; }
@keyframes rise { from { transform: translateY(40px); } }
.sheet-body { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.sheet p { margin: 0 0 6px; }
.said { font-size: var(--text-min); color: var(--muted); font-style: italic; }
@media (max-width: 380px) { .sheet-body .polaroid { width: 56px; padding: 4px 4px 2px; } .sheet-body .polaroid .snap { height: 40px; } }
.mem { font-size: var(--text-body); }
.fore { font-size: var(--text-body); color: var(--muted); }
.sheet-title { margin: 0 0 6px; font-size: var(--text-hud); font-variant-numeric: tabular-nums; }
.sheet.loss .sheet-title { color: var(--red); }
.strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sheet-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.row2 { display: flex; gap: 8px; }
.row2 button { flex: 1; }
.polaroid { margin: 0; background: #fff; border: 1.5px solid var(--ink); padding: 6px 6px 4px; width: 84px; flex: none; transform: rotate(-2deg); box-shadow: 2px 3px 0 rgba(30,26,21,.15); }
.polaroid .snap { height: 64px; background: var(--room); display: flex; align-items: center; justify-content: center; }
.polaroid figcaption { display: flex; justify-content: center; padding-top: 3px; font-size: var(--text-min); }
.polaroid.small { width: 56px; padding: 4px 4px 2px; }
.polaroid.small .snap { height: 40px; }
.polaroid.gb-pot, .polaroid.gb-ranoff { filter: grayscale(.4); }
.polaroid.gold { width: auto; border: 2px solid #8A6A12; background: #F6E7B8; }
.polaroid.gold figcaption { font-size: var(--text-min); }

/* cards */
.veil { position: fixed; inset: 0; z-index: 20; background: rgba(30,26,21,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 16px; width: min(30rem, 100%); max-height: 92vh; overflow: auto; }
.card h2 { margin: 0 0 8px; font-family: var(--font-title); font-size: var(--text-title); }
.intro .card { text-align: center; }
.tagline { margin: 0 0 8px; color: var(--muted); }
.ring { color: var(--red); display: flex; justify-content: center; margin: 4px 0 8px; }
.premise { font-size: var(--text-rule); margin: 0 0 14px; }
.quiet { border: 0; background: none; text-decoration: underline; margin-top: 6px; }
.how { padding-left: 1.3em; margin: 0 0 10px; }
.how li { margin-bottom: 4px; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.settings button { font-size: var(--text-min); }
details.why-exists { margin: 6px 0 12px; }
details.why-exists summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; text-decoration: underline; }
details.why-exists p { font-size: var(--text-min); margin: 4px 0; }

/* the fridge (levels) */
.fridge-shell { overflow: auto; height: auto; min-height: 100svh; }
.fridge h1 { font-family: var(--font-title); font-size: var(--text-title); margin: 8px 0 2px; }
.fridge-line { margin: 0 0 10px; color: var(--muted); }
.mags { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 8px; margin: 8px 0; }
.mag { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; background: #fff; padding: 8px; min-height: 96px; }
.mag b { font-size: var(--text-min); font-weight: 400; color: var(--muted); }
.mag strong { font-size: var(--text-btn); }
.mag .score { font-size: var(--text-min); }
.mag .pics { display: flex; flex-wrap: wrap; gap: 2px; min-height: 18px; }
.mag.done { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.mag.gold { background: #F6E7B8; }
.mag.daily { width: 100%; border-style: dashed; }
details.old { margin: 8px 0 12px; }
details.old summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
details.old li { font-size: var(--text-min); }
.fridge .primary { margin: 8px 0 16px; }

body.reduced *, body.reduced *::before, body.reduced *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }


/* ---- P1FY52 UI round ---- */
.scene { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.mia-g { transition: transform .45s cubic-bezier(.3,.7,.3,1), opacity .3s; transform-box: view-box; transform-origin: 0 0; }
.mia-g.gone { opacity: 0; }
.scene .table { fill: #C9A97A; stroke: var(--line); stroke-width: 2; }
.scene .table-front { fill: #C9A97A; stroke: var(--line); stroke-width: 2; }
.mv .ic { position: relative; display: inline-flex; }
.mv .sub { font-size: var(--text-min); line-height: 1.12; min-height: 2.24em; white-space: normal; text-align: center; overflow-wrap: anywhere; }
.mv.dim { color: var(--muted); border-style: dashed; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(85,76,64,.08) 6px 8px), var(--paper); }
.mv.dim .w { text-decoration: none; }
.badge { position: absolute; right: -10px; top: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 700 14px/20px var(--font); text-align: center; }
.mv.point { box-shadow: 0 0 0 3px var(--red); }
.pointer { position: absolute; left: 50%; top: -30px; width: 0; height: 0; margin-left: -10px; border: 10px solid transparent; border-top: 16px solid var(--red); animation: nudge 1s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
.pot.soon { border-color: var(--red); color: var(--red); }
.up.kind-wild { border-style: dashed; }
.up.kind-screen { background: #E1EAF2; }
.fly { position: absolute; left: 45%; top: 45%; background: #fff; border: 1.5px solid var(--ink); padding: 4px 4px 10px; pointer-events: none; opacity: 0; }
.fly:not([data-k="0"]) { animation: fly .7s cubic-bezier(.3,.7,.3,1); }
@keyframes fly { 0% { opacity: 1; transform: translate(0, 0) rotate(-6deg) scale(1.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(120px, -260px) rotate(4deg) scale(.6); } }
.gran.showing { background: var(--paper); display: flex; align-items: center; justify-content: center; animation: lean .35s ease-out; }
@keyframes lean { from { transform: scale(.9); } }
.gran.waving svg.gran-fig { animation: wave .6s ease-in-out 2; transform-origin: 50% 100%; }
@keyframes wave { 50% { transform: rotate(-4deg); } }
.gran-item b { position: absolute; right: -6px; top: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 700 13px/18px var(--font); text-align: center; }
.memory, .call-strip { display: flex; gap: 6px; align-items: flex-end; flex-wrap: wrap; margin: 4px 0 8px; }
.strip { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.thumb { margin: 0; background: #fff; border: 1.5px solid var(--ink); padding: 4px 4px 8px; flex: none; }
.thumb .snap { width: 40px; height: 40px; background: var(--room); display: flex; align-items: center; justify-content: center; }
.thumb.grey { opacity: .45; filter: grayscale(1); border-style: dashed; }
.thumb.kept { transform: rotate(-2deg); box-shadow: 2px 3px 0 rgba(30,26,21,.18); }
.mini-frame { position: relative; display: block; overflow: hidden; background: var(--room-wall); }
.thumb .mini-frame { width: 48px; height: 48px; }
.thumb.big .mini-frame { width: 96px; height: 96px; }
.bye-pic.gb-pot .mini-frame, .bye-pic.gb-ranoff .mini-frame { filter: grayscale(.6); }
.thumb.gold { background: #F6E7B8; border-color: #8A6A12; }
.thumb.gold figcaption { font-size: var(--text-min); text-align: center; }
.pair { display: flex; gap: 12px; margin-bottom: 8px; }
.next-sun { display: flex; align-items: center; justify-content: center; gap: 10px; }
.next-sun .mini-frame { width: 44px; height: 44px; border: 1.5px solid var(--paper); border-radius: 3px; color: var(--ink); }
.next-sun .hearts { position: static; padding: 1px 3px; transform: scale(.8); }
.replay { width: 100%; margin-bottom: 10px; }
.skip { font-size: var(--text-btn); padding: 0 6px; margin-left: 4px; }
html.huge .shell { height: auto; min-height: 100vh; min-height: 100svh; overflow: visible; }
html.huge .frame { min-height: 260px; }
html.huge .gran { width: 110px; height: 128px; } html.huge .say { left: 126px; }
@media (max-width: 340px) { .gran { width: 80px; height: 96px; } .gran svg.gran-fig { width: 70px; height: 84px; } .say { left: 94px; } .mv .sub { font-size: var(--text-min); } }

.end .thumb .snap { width: 32px; height: 32px; } .end .thumb .mini-frame { width: 40px; height: 40px; } .end .thumb { padding: 3px 3px 6px; }
.level-row .skip { min-height: 44px; }
html.huge .top { flex-wrap: wrap; padding-bottom: 4px; }
html.huge .top nav { margin-left: auto; }
html.huge .up { width: auto; min-width: 56px; padding: 2px 4px; }
html.huge .up-w { white-space: nowrap; }
.hearts .who { font-size: var(--text-min); color: var(--ink); margin-right: 4px; line-height: 22px; }
.gran .you { position: absolute; left: 4px; top: 2px; font-size: var(--text-min); line-height: 1.1; background: var(--paper); padding: 0 4px; border: 1px solid var(--ink); z-index: 1; }
.tagline-strip { margin: 0; font-size: var(--text-min); color: var(--muted); flex: none; line-height: 1.2; }
.sheet-kicker { margin: 0 0 2px; font-size: var(--text-min); color: var(--muted); }
.strip-label { margin: 0 0 2px; font-size: var(--text-min); color: var(--muted); }


.room-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.callbar { position: absolute; left: 0; right: 0; top: 0; height: 40px; display: flex; align-items: center; gap: 6px; padding: 0 8px; background: var(--ink); color: var(--paper); font-size: var(--text-min); z-index: 2; white-space: nowrap; }
.callbar > span { flex: 1 1 auto; overflow: hidden; text-overflow: clip; }
.callbar .hearts { position: static; background: transparent; border: 0; padding: 0; color: #F08A80; }
.callbar .heart.off { color: #CFC6B8; }
.frame .pot { top: 48px; }
.frame .incoming { top: 92px; }
html.huge .callbar { height: auto; min-height: 40px; flex-wrap: wrap; }

.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.brand-tag { font-family: var(--font); font-size: var(--text-min); color: var(--muted); line-height: 1.15; white-space: normal; text-align: left; }
.mem-rows { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 4px 0 6px; }
.mem-row { min-width: 0; }
.mem-lbl { margin: 0 0 2px !important; font-size: var(--text-min); color: var(--muted); }
.mia-row .mem-lbl { color: var(--ink); font-weight: 700; }
.capt { margin: 0; display: inline-flex; flex-direction: column; align-items: center; }
.capt figcaption { font-size: var(--text-min); line-height: 1.2; }
.memory.all .thumb { padding: 2px 2px 4px; transform: none; box-shadow: none; }
.memory.all .thumb .snap { width: 28px; height: 28px; }
.memory { margin: 0; }
@media (max-width: 360px) { .mem-rows { grid-template-columns: 1fr; gap: 4px; } }

.memory { gap: 14px; }
.memory.all { gap: 4px; }
.top { border-bottom: 0; }
.tagline-strip { border-bottom: 1px solid var(--line); padding-bottom: 4px; margin-top: -6px !important; }

.callbar .hearts .who { color: var(--paper); font-size: var(--text-min); margin-right: 6px; }

/* wall and floor in CSS so nothing leaves the frame; the floor line sits where the 300-unit scene puts it (y 232) */
.frame { container-type: size; }
.room { background: var(--room-wall); z-index: 0; }
.room::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: min(18.7cqw, 15.6cqh); background: var(--room); border-top: 2.2px solid var(--line); }
.room-svg { z-index: 1; }

.up { width: auto; min-width: 56px; padding: 2px 4px; }
.up-w { white-space: nowrap; }

/* ---- P1FY53 look: two hands ---- */
html, body { background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='26'%3E%3Cpath d='M0 25.5h8' stroke='%23CBD3E3' stroke-width='.8'/%3E%3C/svg%3E"); }
.brand { font-style: italic; font-weight: 600; color: var(--pen); }
.brand-mark { color: var(--rA); }
button { border-width: 1.5px; border-color: var(--pen); background: #fff; border-radius: 3px; }
.top nav button { background: transparent; }
.primary { background: var(--pen); border-color: var(--pen); color: #fff; }
.goal { font-family: var(--font-title); font-weight: 700; }
.frame { border: 2px solid var(--rA); border-radius: 2px; box-shadow: 3px 2px 0 var(--rB); background: var(--room-wall); }
.callbar { background: var(--rA); color: #fff; }
.callbar .hearts { color: var(--rB); }
.callbar .heart.on { stroke: #fff; stroke-width: 1.2; }
.callbar .heart.off { color: #E7EFEF; }
.hearts .heart.on { color: var(--rB); }
.pot { background: #fff; border-color: var(--pen); color: var(--pen); }
.pot.soon { border-color: var(--rA); color: var(--rA); box-shadow: 2px 2px 0 var(--rB); }
.up { background: #fff; border-color: var(--rA); color: var(--rA); }
.up.kind-screen { background: #E3F0F1; }
.gran { background: #fff; border: 1.5px solid var(--pen); border-radius: 2px; }
.gran svg.gran-fig { left: 0; bottom: 0; width: 100%; height: 100%; }
.gran .you { border-color: var(--pen); background: #fff; color: var(--pen); }
.gran-item { border-color: var(--pen); background: #fff; color: var(--pen); }
.gran.showing { background: #fff; color: var(--pen); }
.say { background: #fff; border: 1.5px solid var(--rA); border-radius: 3px; color: var(--rA); box-shadow: 2px 2px 0 rgba(242,96,158,.55); }
.say-gran { border-color: var(--pen); color: var(--pen); font-style: italic; box-shadow: none; }
.say-note { border-color: var(--pen); color: var(--pen); box-shadow: none; }
.mv { background: #fff; border-color: var(--pen); color: var(--pen); }
.mv.dim { color: var(--muted); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(34,40,58,.07) 6px 7.5px), #fff; }
.mv.point { box-shadow: 0 0 0 3px var(--rA); }
.pointer { border-top-color: var(--rA); }
.wild { background: #fff; border-color: var(--rA); color: var(--rA); }
.thumb { border-color: var(--pen); }
.thumb .snap { background: var(--room); color: var(--rA); }
.thumb.kept { box-shadow: 2px 2px 0 var(--rB); }
.mini-frame { background: var(--room-wall); }
.sheet { background: #fff; border-top: 1.5px solid var(--pen); }
.mia-row .mem-lbl { color: var(--rA); }
.between .gran-side { background: #fff; border-right: 1.5px solid var(--pen); color: var(--pen); }
.between .mia-side { background: var(--room); color: var(--rA); }
.pad i { border-color: var(--pen); color: #B3261E; font-family: var(--font-title); }
.news span { color: var(--rA); }
.fly { border-color: var(--pen); }
.mag { background: #fff; border-color: var(--pen); }
.mag.done { box-shadow: 3px 3px 0 var(--rB); border-color: var(--pen); }
.mag .pics i { color: var(--rA); }
.mag.gold { background: #FFF4CC; }
.flash { background: #fff; }
.pip { border-color: var(--pen); } .pip.done { background: var(--pen); } .pip.now { border-color: var(--rA); background: var(--rA); }
.sheet.loss .sheet-title { color: var(--pen); }
.card { background: #fff; border-color: var(--pen); }
.ring { color: var(--rA); }
.callbar .heart.on { color: #FFC9DF; stroke: #fff; }
.callbar .heart.off { color: rgba(255,255,255,.8); }

.between .b-fig { display: block; margin: 0 auto; width: 72%; max-width: 120px; max-height: 26%; }
.between .b-fig.run { max-height: 30%; animation: hop .5s ease-out 2; }
@keyframes hop { 50% { transform: translateY(-6px); } }

html:lang(zh-Hant) .brand, html:lang(zh-Hant) .goal { font-style: normal; }
