/* Hello London — "Neon Drizzle" UI. Glass panels over a living Canvas street. */
:root {
  --bg: #0B0D1F; --ink: #0E1024; --text: #F4F5FF; --muted: #A6ABCB; --faint: #6E7398;
  --glass: rgba(16, 18, 42, 0.66); --glass-hi: rgba(255, 255, 255, 0.07); --glass-hi2: rgba(255, 255, 255, 0.12); --stroke: rgba(255, 255, 255, 0.12);
  --red: #FF4D5E; --teal: #2EE6C9; --gold: #FFC857; --violet: #8B5CF6; --blue: #5AA9FF; --pink: #F472B6; --ok: #34D399; --bad: #FF6B7A;
  --grad-hot: linear-gradient(135deg, #FF4D5E 0%, #FF7A59 45%, #FFC857 100%);
  --grad-cool: linear-gradient(135deg, #2EE6C9 0%, #5AA9FF 100%);
  --grad-violet: linear-gradient(135deg, #8B5CF6 0%, #F472B6 100%);
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --font: "Avenir Next", "Segoe UI Variable Display", "SF Pro Display", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --panel-w: 410px;
  color-scheme: dark;
}
:root[data-contrast="high"] { --glass: rgba(6, 7, 18, 0.94); --muted: #E4E6F5; --stroke: rgba(255, 255, 255, 0.4); }
:root[data-text="large"] { font-size: 116%; }
:root[data-text="xl"] { font-size: 132%; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.glass { background: var(--glass); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--stroke); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.grad-text { background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- shell ---------- */
#app { position: fixed; inset: 0; }
#stage { position: absolute; inset: 0; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#panel { position: absolute; top: 20px; right: 20px; bottom: 20px; width: var(--panel-w); border-radius: 34px; display: flex; flex-direction: column; overflow: hidden; z-index: 5; transition: transform .45s cubic-bezier(.2, .9, .2, 1.05), opacity .3s; }
#panel.hidden { transform: translateX(110%); opacity: 0; pointer-events: none; }
.panel-head { padding: 18px 20px 6px; display: flex; justify-content: space-between; align-items: center; }
.panel-head h2 { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; }
.panel-head .sub { color: var(--muted); font-size: .82rem; font-weight: 600; }
#panel main { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 16px 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }

/* HUD */
.hud { position: absolute; top: 20px; left: 20px; right: calc(var(--panel-w) + 40px); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; z-index: 4; pointer-events: none; }
.hud > * { pointer-events: auto; }
.zone-title { padding: 14px 20px 14px 18px; border-radius: 24px; max-width: 440px; animation: rise .6s cubic-bezier(.2, .9, .2, 1.1); }
.zone-title .area { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.zone-title h1 { margin: 2px 0 2px; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1; font-weight: 900; letter-spacing: -0.035em; }
.zone-title p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.stats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .88rem; white-space: nowrap; }
.chip .k { color: var(--muted); font-weight: 700; }
.chip.pips { background: linear-gradient(135deg, rgba(255,200,87,.25), rgba(255,122,89,.18)); border-color: rgba(255,200,87,.45); }
.coin { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF3C4, #FFC857 55%, #E59A1A); box-shadow: 0 0 12px rgba(255,200,87,.6); display: inline-block; }
.ring { --v: 50; --c: var(--teal); width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255,255,255,.12) 0); display: grid; place-items: center; font-size: .7rem; }
.ring::before { content: ""; position: absolute; }
.ring > span { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; font-size: .62rem; }
.ring.low { --c: var(--red); animation: pulse 1.6s ease-in-out infinite; }
.lvl { background: var(--grad-violet); border: 0; color: #fff; }
.scene-hint { position: absolute; left: 20px; bottom: 18px; z-index: 4; padding: 8px 14px; border-radius: 999px; font-size: .8rem; color: var(--muted); font-weight: 700; }

/* dock */
.dock { margin: 0 12px 12px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 6px; border-radius: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); }
.dock button { background: none; border: 0; padding: 8px 0 6px; border-radius: 18px; display: grid; justify-items: center; gap: 3px; font-size: .68rem; font-weight: 800; color: var(--muted); position: relative; transition: background .2s, color .2s, transform .15s; }
.dock button .ico { font-size: 1.3rem; line-height: 1; transition: transform .25s cubic-bezier(.2, .9, .2, 1.4); }
.dock button:hover .ico { transform: translateY(-2px) scale(1.08); }
.dock button[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.dock button[aria-current="page"]::after { content: ""; position: absolute; bottom: 2px; width: 18px; height: 3px; border-radius: 3px; background: var(--grad-hot); }
.badge { position: absolute; top: 2px; right: calc(50% - 22px); background: var(--red); color: #fff; border-radius: 99px; font-size: .62rem; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 12px rgba(255, 77, 94, .7); }

/* ---------- content blocks ---------- */
h3.section { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--faint); margin: 20px 4px 10px; font-weight: 800; }
.hint { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(46,230,201,.1)); border: 1px solid rgba(139,92,246,.35); margin-top: 8px; transition: transform .15s; }
.hint:hover { transform: translateY(-1px); }
.hint .big { font-size: 1.5rem; }
.hint b { display: block; font-size: .95rem; }
.hint small { color: var(--muted); font-size: .82rem; line-height: 1.35; display: block; margin-top: 2px; }
.hint.ready { background: linear-gradient(135deg, rgba(52,211,153,.25), rgba(46,230,201,.12)); border-color: rgba(52,211,153,.5); }
.hint.shift { background: linear-gradient(135deg, rgba(255,77,94,.28), rgba(255,200,87,.12)); border-color: rgba(255,122,89,.5); }

.people { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.person { flex: none; display: flex; gap: 8px; align-items: center; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--glass-hi); border: 1px solid var(--stroke); font-weight: 700; font-size: .85rem; transition: background .2s, transform .15s; }
.person:hover { background: var(--glass-hi2); transform: translateY(-1px); }
.person .face { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 1rem; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; text-align: left; padding: 14px 12px 12px; border-radius: var(--r-md); background: var(--glass-hi); border: 1px solid var(--stroke); display: grid; gap: 8px; min-height: 118px; overflow: hidden; transition: transform .2s cubic-bezier(.2, .9, .2, 1.3), background .2s, border-color .2s; }
.tile:hover:not([disabled]) { transform: translateY(-3px); background: var(--glass-hi2); border-color: rgba(255,255,255,.22); }
.tile:active:not([disabled]) { transform: scale(.97); }
.tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 120px; height: 120px; border-radius: 50%; background: var(--glow, rgba(46,230,201,.18)); filter: blur(20px); pointer-events: none; }
.tile .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--tile-grad, var(--grad-cool)); box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.tile b { font-size: .9rem; line-height: 1.2; }
.tile small { color: var(--muted); font-size: .74rem; }
.tile .tag { position: absolute; top: 10px; right: 10px; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.1); }
.tile[disabled] { opacity: .5; cursor: not-allowed; }
.k-food { --tile-grad: var(--grad-hot); --glow: rgba(255,77,94,.25); }
.k-shop { --tile-grad: var(--grad-violet); --glow: rgba(139,92,246,.3); }
.k-job { --tile-grad: var(--grad-cool); --glow: rgba(46,230,201,.25); }
.k-home { --tile-grad: linear-gradient(135deg, #FFC857, #FF9F43); --glow: rgba(255,200,87,.25); }

.list { display: grid; gap: 10px; }
.row-card { width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--glass-hi); border: 1px solid var(--stroke); transition: background .2s, transform .15s; }
.row-card:hover:not([disabled]) { background: var(--glass-hi2); transform: translateX(2px); }
.row-card[disabled] { opacity: .45; cursor: not-allowed; }
.row-card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; flex: none; background: rgba(255,255,255,.08); }
.row-card .body { flex: 1; min-width: 0; }
.row-card .body b { display: block; }
.row-card .body small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; line-height: 1.35; }
.row-card .meta { font-weight: 900; white-space: nowrap; }
.price-tag { display: inline-flex; align-items: center; gap: 6px; }

.btn { border: 0; border-radius: 18px; padding: 15px 18px; font-weight: 800; font-size: 1rem; color: #fff; background: var(--grad-hot); box-shadow: 0 10px 28px rgba(255, 77, 94, .35), inset 0 1px 0 rgba(255,255,255,.3); width: 100%; transition: transform .15s, box-shadow .2s, filter .2s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 14px 34px rgba(255, 77, 94, .45); }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn.cool { background: var(--grad-cool); color: var(--ink); box-shadow: 0 10px 28px rgba(46, 230, 201, .3); }
.btn.violet { background: var(--grad-violet); box-shadow: 0 10px 28px rgba(139, 92, 246, .35); }
.btn.ghost { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--stroke); }
.row { display: flex; gap: 10px; align-items: center; }
.spacer { height: 14px; }

.mission { padding: 14px; border-radius: var(--r-md); background: var(--glass-hi); border: 1px solid var(--stroke); }
.mission.done { background: linear-gradient(135deg, rgba(52,211,153,.2), rgba(46,230,201,.08)); border-color: rgba(52,211,153,.45); }
.mission.claimed { opacity: .5; }
.mission .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.mission p { margin: 6px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.reward { font-weight: 800; font-size: .75rem; white-space: nowrap; color: var(--gold); }
.progress { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress > i { display: block; height: 100%; background: var(--grad-cool); border-radius: 99px; box-shadow: 0 0 12px rgba(46,230,201,.6); transition: width .6s cubic-bezier(.2,.9,.2,1); }
.xp-card { padding: 16px; border-radius: var(--r-md); background: var(--grad-violet); box-shadow: 0 14px 40px rgba(139,92,246,.35); }
.xp-card b { font-size: 1.2rem; }
.xp-card .progress { background: rgba(255,255,255,.25); }
.xp-card .progress > i { background: #fff; box-shadow: none; }
.xp-card .fact { background: rgba(255,255,255,.14); } .xp-card .fact span, .xp-card .note { color: rgba(255,255,255,.88); } .xp-card .fact b { font-size: 1rem; }

.podium { position: relative; display: grid; place-items: center; padding: 18px 0 8px; }
.podium::before { content: ""; position: absolute; bottom: 14px; width: 170px; height: 34px; border-radius: 50%; background: radial-gradient(ellipse, rgba(46,230,201,.55), rgba(46,230,201,0) 70%); filter: blur(2px); }
.podium::after { content: ""; position: absolute; top: 0; width: 200px; height: 100%; background: radial-gradient(ellipse at top, rgba(255,255,255,.14), rgba(255,255,255,0) 65%); pointer-events: none; }
.podium .avatar { height: 210px; position: relative; z-index: 1; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); animation: idle 3s ease-in-out infinite; }
.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.item { text-align: left; padding: 12px; border-radius: var(--r-md); background: var(--glass-hi); border: 1px solid var(--stroke); display: grid; gap: 6px; transition: transform .15s, background .2s; }
.item:hover { transform: translateY(-2px); background: var(--glass-hi2); }
.item .sw { height: 30px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.item[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 0 24px rgba(46,230,201,.25); }
.item small { color: var(--muted); }

.phone-card { padding: 20px; border-radius: var(--r-md); background: linear-gradient(135deg, #1F1B4D, #3A1F5C 60%, #5B2350); position: relative; overflow: hidden; }
.phone-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; background: radial-gradient(circle, rgba(255,200,87,.35), transparent 70%); }
.phone-card .os { font-size: .7rem; letter-spacing: .2em; color: var(--muted); font-weight: 800; }
.phone-card .clock { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; padding: 18px 2px; }
.app { background: none; border: 0; display: grid; justify-items: center; gap: 7px; font-size: .7rem; font-weight: 700; color: var(--muted); }
.app .icon { width: 60px; height: 60px; border-radius: 19px; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .2s cubic-bezier(.2,.9,.2,1.5); }
.app:hover .icon { transform: translateY(-3px) rotate(-3deg); }

.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--stroke); background: #0A0C22; }
.map-wrap svg { display: block; width: 100%; height: auto; }
.map-node { cursor: pointer; }
.map-node circle.halo { transition: r .3s; }
.map-node:hover circle.halo { r: 40; }

/* ---------- sheets ---------- */
#sheet-backdrop { position: fixed; inset: 0; background: rgba(5, 6, 18, 0.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 20; }
#sheet-backdrop.open { opacity: 1; pointer-events: auto; }
#sheet { position: fixed; z-index: 21; left: 50%; top: 50%; width: min(460px, calc(100vw - 32px)); max-height: min(86dvh, 760px); overflow-y: auto; border-radius: 30px; padding: 20px 20px 22px; transform: translate(-50%, -46%) scale(.96); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2, .9, .2, 1.1), opacity .25s; background: rgba(18, 20, 46, 0.92); }
#sheet.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.grab { display: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; margin-bottom: 14px; }
.sheet-head h3 { margin: 0; font-size: 1.4rem; font-weight: 900; letter-spacing: -0.025em; }
.sheet-head p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); font-weight: 900; transition: background .2s, transform .2s; }
.x:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.fact { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--glass-hi); font-size: .9rem; }
.fact span { color: var(--muted); }
.note { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.notice { padding: 12px 14px; border-radius: var(--r-sm); font-size: .85rem; line-height: 1.45; background: rgba(255,200,87,.1); border: 1px dashed rgba(255,200,87,.45); }
.dialogue { position: relative; padding: 18px; border-radius: 22px 22px 22px 6px; background: linear-gradient(135deg, rgba(90,169,255,.2), rgba(139,92,246,.18)); border: 1px solid rgba(90,169,255,.35); font-size: 1.06rem; line-height: 1.45; }
.story { padding: 20px; border-radius: 22px; background: linear-gradient(160deg, #23194F, #10122E); border: 1px solid var(--stroke); display: grid; gap: 10px; }
.story p { margin: 0; line-height: 1.5; }
.big-number { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--r-sm); background: var(--glass-hi); font-size: .86rem; font-weight: 500; letter-spacing: 0; color: var(--text); line-height: 1.45; cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }

/* toasts */
#toasts { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 40; pointer-events: none; width: min(420px, calc(100vw - 24px)); }
.toast { padding: 12px 16px; border-radius: 18px; font-size: .9rem; font-weight: 600; background: rgba(18, 20, 46, .9); backdrop-filter: blur(16px); border: 1px solid var(--stroke); box-shadow: 0 14px 40px rgba(0,0,0,.4); animation: drop .4s cubic-bezier(.2,.9,.2,1.3); pointer-events: auto; }
.toast.err { border-color: rgba(255,107,122,.6); background: rgba(70, 14, 30, .92); }
.toast.win { border-color: rgba(255,200,87,.7); background: linear-gradient(135deg, rgba(139,92,246,.95), rgba(244,114,182,.9)); }

/* ---------- onboarding overlay ---------- */
#overlay { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 20px; overflow-y: auto; background: radial-gradient(ellipse at 30% 40%, rgba(11,13,31,.15), rgba(11,13,31,.65)); }
#overlay.hidden { display: none; }
#app.onboarding .scene-hint { display: none; }
.onboard { width: min(440px, 100%); border-radius: 34px; padding: 28px 24px 24px; display: grid; gap: 16px; animation: rise .6s cubic-bezier(.2, .9, .2, 1.1); }
.logo { line-height: .9; font-weight: 900; letter-spacing: -0.05em; }
.logo .hello { display: inline-block; font-size: 1.7rem; padding: 6px 16px 8px; border-radius: 16px; background: var(--grad-hot); transform: rotate(-4deg); box-shadow: 0 10px 30px rgba(255,77,94,.45); }
.logo .london { display: block; font-size: 3.6rem; margin-top: 4px; text-shadow: 0 0 40px rgba(139,92,246,.6); }
.lead { color: var(--muted); margin: 0; line-height: 1.5; }
label { font-weight: 800; font-size: .8rem; display: grid; gap: 7px; color: var(--muted); letter-spacing: .02em; }
input[type=text], input[type=password], textarea, select { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255,255,255,.06); color: var(--text); font-weight: 600; font-size: 1rem; transition: border-color .2s, background .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); background: rgba(46,230,201,.06); }
select option { background: #15173A; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.06); }
.seg button, .chip-btn { border: 0; border-radius: 12px; padding: 10px 6px; font-weight: 800; font-size: .86rem; background: transparent; color: var(--muted); transition: background .2s, color .2s; }
.seg button[aria-pressed="true"], .chip-btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-btn { background: rgba(255,255,255,.07); padding: 9px 13px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: transform .2s cubic-bezier(.2,.9,.2,1.6); }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--teal), 0 0 20px rgba(46,230,201,.5); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.06); }
.tabs button { border: 0; border-radius: 12px; padding: 10px; font-weight: 800; background: transparent; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.creator { width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: 34px; overflow: hidden; animation: rise .6s cubic-bezier(.2, .9, .2, 1.1); }
.creator .stagecard { background: radial-gradient(ellipse at 50% 20%, rgba(139,92,246,.45), rgba(14,16,36,0) 65%), linear-gradient(180deg, #1B1A4A, #0E1024); display: grid; place-items: center; padding: 30px 10px; position: relative; }
.creator .stagecard .avatar { height: 300px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); animation: idle 3s ease-in-out infinite; position: relative; z-index: 1; }
.creator .stagecard::after { content: ""; position: absolute; bottom: 34px; width: 220px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse, rgba(46,230,201,.5), transparent 70%); }
.creator .controls { padding: 26px 24px 24px; display: grid; gap: 16px; align-content: start; }
.creator h2 { margin: 0; font-size: 1.9rem; font-weight: 900; letter-spacing: -0.035em; }

/* ---------- mini-games ---------- */
.ticket { background: #FFFDF6; color: #1E2230; border-radius: 10px; padding: 16px; font-family: ui-monospace, "SF Mono", Menlo, monospace; transform: rotate(-1.2deg); box-shadow: 0 16px 34px rgba(0,0,0,.4); position: relative; margin-bottom: 6px; border-bottom: 3px dashed #D9D4C4; }
.ticket .who { color: #6E7398; font-size: .78rem; }
.ticket .order { font-size: 1.18rem; font-weight: 800; margin-top: 4px; }
.mg-step { display: grid; gap: 6px; margin-top: 14px; }
.mg-step > span { font-weight: 800; font-size: .7rem; letter-spacing: .14em; color: var(--faint); }
.dots { display: flex; gap: 6px; justify-content: center; margin: 4px 0 14px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .3s; }
.dots i.on { background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.dots i.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); } .dots i.no { background: var(--bad); }
.coins { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.coins .coin-btn { aspect-ratio: 1; border-radius: 50%; border: 0; font-weight: 900; font-size: 1.05rem; color: #3B2600; background: radial-gradient(circle at 35% 30%, #FFF3C4, #FFC857 55%, #D98A10); box-shadow: 0 8px 18px rgba(255,200,87,.35), inset 0 -3px 0 rgba(0,0,0,.18); transition: transform .12s; }
.coins .coin-btn.big { color: #1E2230; background: radial-gradient(circle at 35% 30%, #FFFFFF, #C9D2E3 55%, #8C97B0); box-shadow: 0 8px 18px rgba(200,210,230,.25), inset 0 -3px 0 rgba(0,0,0,.18); }
.coins .coin-btn:active { transform: scale(.9); }
.tray { min-height: 50px; border-radius: 16px; padding: 8px; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-top: 12px; background: rgba(255,255,255,.05); border: 1px dashed var(--stroke); }
.tray i { font-style: normal; font-weight: 900; font-size: .72rem; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #3B2600; background: radial-gradient(circle at 35% 30%, #FFF3C4, #FFC857); animation: pop .25s cubic-bezier(.2,.9,.2,1.6); }
.route svg { width: 100%; height: auto; border-radius: 20px; background: #0A0C22; touch-action: manipulation; }
.drop { cursor: pointer; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes pop { from { transform: scale(.4); } }
@keyframes idle { 50% { transform: translateY(-5px); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,77,94,0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(255,77,94,.5); } }
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before, :root[data-motion="reduced"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 0s !important; } }

/* ---------- phone / portrait layout ---------- */
@media (max-width: 899px) {
  :root { --panel-w: 100%; }
  #stage { bottom: auto; height: 44dvh; }
  #panel { top: calc(44dvh - 26px); left: 0; right: 0; bottom: 0; width: auto; border-radius: 28px 28px 0 0; }
  #panel.hidden { transform: translateY(110%); }
  #app.onboarding #stage { height: 100%; }
  .hud { top: 10px; left: 10px; right: 10px; flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .stats { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .chip { padding: 6px 11px; font-size: .8rem; }
  .zone-title { padding: 8px 12px; border-radius: 16px; max-width: 70%; align-self: flex-start; }
  .zone-title h1 { font-size: 1.35rem; }
  .zone-title p { display: none; }
  .scene-hint { display: none; }
  .dock { margin: 0 8px calc(8px + env(safe-area-inset-bottom)); }
  #sheet { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 88dvh; border-radius: 28px 28px 0 0; transform: translateY(105%); padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  #sheet.open { transform: none; }
  .grab { display: block; width: 44px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.25); margin: -6px auto 12px; }
  .creator { grid-template-columns: 1fr; }
  .creator .stagecard { padding: 16px 10px 8px; }
  .creator .stagecard .avatar { height: 190px; }
  .logo .london { font-size: 3rem; }
  #overlay { place-items: start center; }
}

/* ---------- business pages: advertiser portal + staff dashboard ---------- */
body.page { overflow: auto; background: radial-gradient(ellipse at 20% 0%, #2A1E5C 0%, #0B0D1F 55%) fixed; }
.page-wrap { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.page-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-top .brand { font-weight: 900; font-size: 1.3rem; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.page-top .brand .hello { font-size: .9rem; padding: 3px 10px 4px; border-radius: 10px; background: var(--grad-hot); transform: rotate(-4deg); display: inline-block; }
.hero { padding: 36px 32px; border-radius: 32px; margin-bottom: 22px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 12px; font-weight: 900; }
.hero p { color: var(--muted); line-height: 1.55; margin: 0 0 10px; }
.ticks { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ticks li { padding-left: 26px; position: relative; color: var(--text); font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.card-x { border-radius: 26px; padding: 22px; margin-bottom: 18px; }
.card-x h2 { margin: 0 0 14px; font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 18px; border-radius: 22px; }
.kpi .v { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.03em; }
.kpi .l { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; }
.card-x:has(> table.tbl) { overflow-x: auto; }   /* wide staff tables scroll sideways instead of hiding their buttons */
table.tbl .actions { flex-wrap: nowrap; }
table.tbl th { text-align: left; color: var(--faint); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--stroke); }
table.tbl td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.06); vertical-align: top; }
table.tbl tr:hover td { background: rgba(255,255,255,.03); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.1); }
.pill.draft { background: rgba(255,255,255,.1); }
.pill.pending, .pill.under_review { background: rgba(255,200,87,.2); color: var(--gold); }
.pill.approved, .pill.verified, .pill.paid { background: rgba(52,211,153,.18); color: var(--ok); }
.pill.rejected, .pill.suspended, .pill.unpaid { background: rgba(255,107,122,.18); color: var(--bad); }
.pill.paused, .pill.expired, .pill.invoiced, .pill.waived { background: rgba(90,169,255,.18); color: var(--blue); }
.surface-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.surface-opt { display: flex; gap: 10px; padding: 12px; border-radius: 16px; background: var(--glass-hi); border: 1px solid var(--stroke); cursor: pointer; font-size: .85rem; line-height: 1.35; }
.surface-opt input { margin-top: 3px; accent-color: var(--teal); }
.surface-opt.disabled { opacity: .4; cursor: not-allowed; }
.surface-opt small { color: var(--muted); display: block; }
.quote { padding: 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(46,230,201,.14), rgba(90,169,255,.1)); border: 1px solid rgba(46,230,201,.35); }
.quote .total { font-size: 2rem; font-weight: 900; }
.creative-preview { max-width: 100%; max-height: 220px; border-radius: 14px; border: 1px solid var(--stroke); display: block; }
.camp { border-radius: 22px; padding: 18px; margin-bottom: 12px; background: var(--glass-hi); border: 1px solid var(--stroke); }
.camp-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.camp-head h3 { margin: 0; font-size: 1.1rem; }
.meta-row { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; margin-top: 6px; }
.flags { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,200,87,.1); border: 1px dashed rgba(255,200,87,.45); font-size: .82rem; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.actions .btn { width: auto; padding: 10px 16px; font-size: .88rem; }
.small-input { width: auto !important; padding: 8px 10px !important; font-size: .88rem !important; }
.tabbar { display: flex; gap: 6px; padding: 4px; border-radius: 16px; background: rgba(255,255,255,.06); margin-bottom: 18px; width: fit-content; flex-wrap: wrap; }
.tabbar button { border: 0; border-radius: 12px; padding: 9px 16px; font-weight: 800; background: transparent; color: var(--muted); }
.tabbar button[aria-selected="true"] { background: #fff; color: var(--ink); }
@media (max-width: 800px) { .hero, .grid2, .grid3 { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } }

/* character creator portrait + expressions, sponsored phone card, result face */
.creator .stagecard { grid-template-rows: auto 1fr auto; gap: 6px; }
.creator .stagecard .portrait { width: 120px; height: 160px; border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.18), rgba(255,255,255,.03)); border: 1px solid var(--stroke); position: absolute; top: 18px; left: 18px; z-index: 2; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.creator .stagecard .portrait .avatar, .creator .stagecard .portrait-svg { height: 160px !important; width: 120px; animation: none !important; filter: none !important; }
.creator .stagecard > .avatar { height: 340px; }
.chips.expr { position: relative; z-index: 2; justify-content: center; padding: 0 10px; }
.chips.expr .chip-btn { padding: 6px 10px; font-size: .74rem; text-transform: capitalize; }
.sponsored { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px; border-radius: var(--r-md); background: var(--glass-hi); border: 1px solid var(--stroke); margin-bottom: 12px; }
.sponsored img, .sponsored .sp-ic { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.sponsored .body { display: grid; gap: 2px; }
.sponsored .sp-label { font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.sponsored small { color: var(--muted); }
.result-face { width: 96px; height: 128px; margin: 0 auto 6px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(139,92,246,.4), rgba(255,255,255,.03)); }
.result-face .avatar { width: 96px; height: 128px; }
@media (max-width: 899px) { .creator .stagecard > .avatar { height: 220px; } .creator .stagecard .portrait { width: 84px; height: 112px; top: 10px; left: 10px; } .creator .stagecard .portrait .avatar, .creator .stagecard .portrait-svg { height: 112px !important; width: 84px; } }
.creator.glass { background: rgba(14, 16, 36, 0.94); }

/* ================= life sim: world, HUD, context menus, journeys ================= */
#interior { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; touch-action: pan-y; cursor: pointer; background: #0E1024; }
#interior[hidden] { display: none; }
#app[data-mode="interior"] .scene-hint { display: none; }
#app:not(.onboarding) .hud { right: 20px; display: block; inset: 16px 16px auto 16px; height: calc(100% - 32px); pointer-events: none; }
#app.phone-open:not(.onboarding) .hud { right: calc(var(--panel-w) + 40px); }
.hud .where { position: absolute; top: 0; left: 0; padding: 10px 16px 10px 14px; border-radius: 20px; max-width: min(420px, 60%); }
.hud .where .area { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.hud .where h1 { margin: 1px 0; font-size: clamp(1.15rem, 2.4vw, 1.7rem); line-height: 1.05; font-weight: 900; letter-spacing: -0.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud .where .sub { color: var(--muted); font-size: .8rem; font-weight: 600; }
.hud .where .sub b { color: var(--text); font-variant-numeric: tabular-nums; font-size: .95rem; }
.hud-right { position: absolute; top: 0; right: 0; display: flex; gap: 8px; }
.hud-right .chip { position: relative; border: 1px solid var(--stroke); }
.hud-right .money { font-variant-numeric: tabular-nums; background: linear-gradient(135deg, rgba(10,40,34,.88), rgba(14,16,36,.88)); border-color: rgba(52,211,153,.5); }
.badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ink); animation: pop .3s cubic-bezier(.2,.9,.2,1.6); }
.hud .needs { position: absolute; top: 86px; left: 0; display: flex; gap: 6px; padding: 8px 10px; border-radius: 16px; }
.need { display: grid; justify-items: center; gap: 3px; font-size: .78rem; }
.need i { width: 8px; height: 34px; border-radius: 6px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; display: block; }
.need i b { position: absolute; left: 0; right: 0; bottom: 0; background: var(--grad-cool); border-radius: 6px; transition: height .6s; }
.need.low i b { background: var(--red); }
.need.low span { animation: pulse 1.6s infinite; border-radius: 50%; }
.jobchip { position: absolute; top: 56px; right: 0; padding: 6px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: var(--muted); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actionbar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.actionbar > * { pointer-events: auto; }
.actionbar .chip { border: 1px solid var(--stroke); }
.hint-chip { padding: 7px 14px; border-radius: 99px; font-size: .8rem; color: var(--muted); font-weight: 700; }
#app[data-mode] .scene-hint { display: none; }

#ctxmenu { position: absolute; z-index: 8; min-width: 220px; max-width: min(330px, calc(100% - 16px)); border-radius: 18px; padding: 6px; display: none; animation: drop .18s ease-out; }
#ctxmenu.show { display: grid; gap: 2px; }
.ctx-title { padding: 6px 10px 4px; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.ctx-item { display: grid; gap: 1px; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 12px; font-weight: 700; }
.ctx-item:hover:not(:disabled), .ctx-item:focus-visible { background: var(--glass-hi2); }
.ctx-item small { color: var(--muted); font-weight: 600; font-size: .74rem; }
.ctx-item:disabled { opacity: .45; cursor: not-allowed; }

#banner { position: absolute; z-index: 7; left: 50%; top: 140px; transform: translate(-50%, -10px); padding: 10px 18px; border-radius: 99px; font-weight: 800; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
#banner.show { opacity: 1; transform: translate(-50%, 0); }
#choice { position: absolute; z-index: 9; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); border-radius: 22px; padding: 14px; display: none; animation: rise .25s; }
#choice.show { display: grid; gap: 10px; }
#choice .q { font-weight: 800; }
#choice .opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
#choice .btn { text-align: left; padding: 11px 14px; font-size: .92rem; }
#progress { position: absolute; z-index: 6; left: 50%; bottom: 58px; transform: translateX(-50%); padding: 10px 18px; border-radius: 99px; display: none; gap: 12px; align-items: center; }
#progress.show { display: flex; }
#progress span { color: var(--muted); font-weight: 700; font-size: .85rem; }
#skip { position: absolute; z-index: 9; right: 16px; bottom: 16px; display: none; border: 1px solid var(--stroke); }
#skip.show { display: inline-flex; }
#fade { position: absolute; inset: 0; z-index: 7; background: #05060F; opacity: 0; pointer-events: none; transition: opacity .3s; display: grid; place-items: center; }
#fade.on { opacity: 1; pointer-events: auto; }
.zzz { font-size: 3rem; animation: idle 1.4s ease-in-out infinite; }

/* background picker */
.bg-pick { width: min(980px, calc(100% - 24px)); border-radius: 32px; padding: 26px; margin: 24px auto; background: rgba(14, 16, 36, 0.94); }
.bg-pick h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.03em; }
.bg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 18px 0; }
.bg-card { display: grid; gap: 6px; align-content: start; text-align: left; padding: 16px; border-radius: 22px; background: var(--glass-hi); border: 1px solid var(--stroke); transition: transform .2s, border-color .2s, background .2s; }
.bg-card:hover, .bg-card:focus-visible { transform: translateY(-3px); border-color: var(--teal); background: var(--glass-hi2); }
.bg-card .bg-ic { font-size: 2rem; }
.bg-card b { font-size: 1.05rem; }
.bg-card small { color: var(--muted); line-height: 1.4; }
.bg-facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.bg-facts span { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.08); }

/* phone apps */
.notif { width: 100%; display: grid; text-align: left; gap: 2px; padding: 10px 14px; border-radius: 16px; background: var(--glass-hi2); border: 1px solid var(--stroke); margin-bottom: 8px; }
.notif span { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app .icon { position: relative; }
.chat { display: grid; gap: 8px; margin-bottom: 14px; max-height: 52vh; overflow-y: auto; padding: 4px; }
.msg { display: grid; max-width: 82%; }
.msg span { padding: 9px 13px; border-radius: 18px; background: rgba(255,255,255,.1); line-height: 1.35; }
.msg small { color: var(--faint); font-size: .68rem; margin: 2px 8px; }
.msg.me { justify-self: end; }
.msg.me span { background: linear-gradient(135deg, #2EE6C9, #5AA9FF); color: #04121A; font-weight: 600; }
.msg.me small { text-align: right; }
.msg.system span { background: rgba(255,200,87,.14); }
.dest { padding: 12px; border-radius: 18px; background: var(--glass-hi); border: 1px solid var(--stroke); margin-bottom: 10px; display: grid; gap: 6px; }
.dest h3 { margin: 0; font-size: 1.05rem; }
.dest h3 small { color: var(--muted); font-weight: 600; font-size: .75rem; }
.dest .note { margin: 0; }
.mode { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 8px; text-align: left; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255,255,255,.04); }
.mode small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mode span { font-weight: 800; }
.mode:hover:not(:disabled) { background: var(--glass-hi2); }
.mode:disabled { opacity: .4; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.profile { display: grid; gap: 4px; padding: 10px; border-radius: 18px; background: var(--glass-hi); border: 1px solid var(--stroke); }
.profile canvas { width: 100%; height: auto; border-radius: 14px; }
.profile small { color: var(--muted); font-size: .74rem; }
.profile .btn { margin-top: 4px; width: 100% !important; }
.try { display: grid; place-items: center; margin-bottom: 12px; }
.try #tryon { width: 150px; height: 200px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 30%, rgba(244,114,182,.35), rgba(255,255,255,.03)); }
.try #tryon svg { width: 150px; height: 200px; }
details.mail { padding: 10px 12px; border-radius: 14px; background: var(--glass-hi); border: 1px solid var(--stroke); }
details.mail summary { cursor: pointer; font-size: .88rem; }
details.mail p { color: var(--muted); margin: 8px 0 0; line-height: 1.45; }

/* the work computer */
.pc { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; background: rgba(5,6,15,.55); padding: 16px; animation: rise .25s; }
.pc-screen { width: min(920px, 100%); height: min(620px, 100%); border-radius: 22px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: rgba(10, 13, 32, .97); border: 6px solid #1D2140; }
.pc-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(90deg, #13183A, #1C1446); border-bottom: 1px solid var(--stroke); }
.pc-logo { font-weight: 900; letter-spacing: -0.02em; color: var(--teal); }
.pc-clock { margin-left: auto; color: var(--muted); font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-body { display: grid; grid-template-columns: 190px 1fr; min-height: 0; }
.pc-nav { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-right: 1px solid var(--stroke); }
.pc-nav > button[data-app] { text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 9px 10px; font-weight: 700; color: var(--muted); }
.pc-nav > button[aria-pressed="true"] { background: var(--glass-hi2); color: var(--text); }
.pc-perf { margin-top: 10px; display: grid; gap: 4px; }
.pc-perf small { color: var(--muted); font-size: .72rem; }
.pc-main { overflow-y: auto; padding: 14px 16px; }
.pc-main h3 { margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.ticket-card { padding: 14px; border-radius: 14px; background: #F4F5FF; color: #0E1024; margin: 10px 0; }
.ticket-card small { color: #555a7a; font-weight: 700; }
.ticket-card h3 { margin: 4px 0 6px; color: #0E1024; }
.ticket-card p { margin: 0; line-height: 1.45; }
.row-card.right { border-color: var(--ok) !important; background: rgba(52,211,153,.18) !important; }
.row-card.wrong { border-color: var(--bad) !important; background: rgba(255,107,122,.18) !important; }
.chatlog { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.04); margin-bottom: 10px; }
.chatline b { color: var(--teal); margin-right: 6px; }
@media (max-width: 640px) { .pc-body { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .pc-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--stroke); } .pc-nav > button[data-app] { white-space: nowrap; } .pc-perf { display: none; } #pcOut { margin-top: 0 !important; width: auto; white-space: nowrap; } }

/* dance mini-game */
.dance { position: fixed; inset: 0; z-index: 30; display: grid; place-items: end center; padding: 20px; pointer-events: none; }
.dance-card { pointer-events: auto; width: min(360px, 100%); border-radius: 26px; padding: 18px; display: grid; gap: 10px; justify-items: center; text-align: center; }
.dance-card h3 { margin: 0; }
.beat { position: relative; width: 90px; height: 90px; display: grid; place-items: center; }
.beat b { width: 60px; height: 60px; border-radius: 50%; border: 4px solid var(--teal); transition: transform .1s, background .1s; }
.beat b.hit { background: var(--teal); transform: scale(1.12); }
.beat i { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--pink); }

/* mobile: the world takes the full screen; the phone slides up over the lower half */
@media (max-width: 899px) {
  #app:not(.onboarding) #stage { height: 100%; }
  #app.phone-open:not(.onboarding) #stage { height: 46dvh; }
  #app.phone-open:not(.onboarding) .hud { right: 10px; }
  #app:not(.onboarding) .hud { inset: 10px 10px auto 10px; height: calc(100% - 20px); }
  .hud .where { max-width: 58%; padding: 7px 11px; border-radius: 14px; }
  .hud .where h1 { font-size: 1.05rem; }
  .hud .where .sub { font-size: .7rem; }
  .hud-right { gap: 5px; }
  .hud-right .chip { padding: 6px 9px; font-size: .78rem; }
  .jobchip { top: 42px; font-size: .68rem; padding: 4px 9px; max-width: 46%; }
  .hud .needs { top: auto; bottom: 46px; left: 0; padding: 6px 8px; gap: 4px; }
  .need i { height: 24px; width: 6px; }
  .need span { font-size: .66rem; }
  #app.phone-open .hud .needs, #app.phone-open .actionbar, #app.phone-open .jobchip { display: none; }
  .actionbar { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .hint-chip { font-size: .72rem; white-space: nowrap; }
  #choice, #progress { bottom: 46px; }
  #banner { top: 64px; font-size: .8rem; }
  .bg-pick { padding: 18px; margin: 12px auto; border-radius: 24px; }
  .bg-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bg-card { padding: 12px; }
  .bg-card small { font-size: .72rem; }
}
@media (max-width: 420px) { .bg-grid { grid-template-columns: 1fr; } }
#app.travelling .actionbar, #app.travelling .scene-hint { display: none; }

/* ---------- 3D rooms ---------- */
#world3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; touch-action: none; cursor: crosshair; background: #0B0D1F; }
#world3d[hidden], #overlay3d[hidden] { display: none; }
#overlay3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.label3d { position: absolute; padding: 5px 11px; border-radius: 99px; background: rgba(14,16,36,.86); color: #fff; font-weight: 800; font-size: .78rem; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.bubble3d { position: absolute; max-width: 240px; padding: 9px 13px; border-radius: 16px; background: rgba(255,255,255,.96); color: #0E1024; font-weight: 700; font-size: .85rem; line-height: 1.3; box-shadow: 0 10px 24px rgba(0,0,0,.3); animation: drop .2s ease-out; }
.bubble3d::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: rgba(255,255,255,.96); }
.bubble3d.me { background: rgba(46,230,201,.96); }
.bubble3d.me::after { border-top-color: rgba(46,230,201,.96); }
.hud .camctl { position: absolute; right: 0; bottom: 52px; display: flex; gap: 2px; padding: 4px; border-radius: 99px; pointer-events: auto; }
.camctl button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 1.05rem; font-weight: 800; }
.camctl button:hover { background: var(--glass-hi2); }
#app.travelling .camctl { display: none; }
@media (max-width: 899px) { .hud .camctl { bottom: 92px; } #app.phone-open .camctl { display: none; } }

/* ---------- 3D city map ---------- */
#citymap { position: absolute; inset: 0; z-index: 3; background: #1B2140; }
#citymap[hidden] { display: none; }
#citymap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#citymap canvas:active { cursor: grabbing; }
.map-overlay { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.map-pin, .map-zone, .map-ad, .map-here { position: absolute; left: 0; top: 0; will-change: transform; }
.map-pin { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); background: rgba(14,16,36,.82); color: #fff; font-size: .74rem; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.map-pin span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); font-size: .9rem; }
.map-pin b { font-weight: 800; }
.map-pin:hover, .map-pin:focus-visible { background: #2EE6C9; color: #04121A; z-index: 2; }
.map-zone { text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.map-zone b { display: block; font-size: 1.15rem; font-weight: 900; letter-spacing: -0.02em; }
.map-zone small { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9FF5E6; }
.map-ad { pointer-events: auto; padding: 3px 9px; border-radius: 99px; border: 0; background: #FFC857; color: #3B2600; font-weight: 900; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; }
.map-here { padding: 5px 11px; border-radius: 99px; background: #2EE6C9; color: #04121A; font-weight: 900; font-size: .72rem; box-shadow: 0 0 0 6px rgba(46,230,201,.25); }
.map-top { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 16px; border-radius: 99px; z-index: 2; }
.map-top .map-sub { color: var(--muted); font-size: .8rem; font-weight: 600; margin: 0 6px; }
.map-top button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--glass-hi); font-weight: 900; }
.map-top button:hover { background: var(--glass-hi2); }
#mapcard { position: absolute; right: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); max-height: calc(100% - 100px); overflow-y: auto; border-radius: 24px; padding: 14px; z-index: 2; display: grid; gap: 10px; animation: rise .25s; }
#mapcard[hidden] { display: none; }
.mc-head { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.mc-head small { display: block; color: var(--muted); font-size: .78rem; }
.mc-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--glass-hi2); font-size: 1.4rem; }
#app.map-open .hud .needs, #app.map-open .actionbar, #app.map-open .jobchip, #app.map-open .camctl { display: none; }
@media (max-width: 899px) {
  .map-top { top: auto; bottom: 12px; left: 12px; right: 12px; transform: none; justify-content: flex-end; }
  .map-top .map-sub { display: none; }
  .map-top b { margin-right: auto; }
  #mapcard { left: 12px; right: 12px; width: auto; bottom: 66px; max-height: 55%; }
  .map-pin b { display: none; }
  .map-pin { padding: 3px; }
}
#citymap.riding .map-top, #citymap.riding #mapcard, #citymap.riding .map-zone { display: none !important; }
.map-pin.compact { padding: 3px; }
.map-pin.compact b { display: none; }
.map-pin.compact:hover b, .map-pin.compact:focus-visible b { display: inline; }
.map-pin.compact:hover, .map-pin.compact:focus-visible { padding: 4px 10px 4px 4px; z-index: 3; }
.map-top { top: auto; bottom: 16px; }
@media (min-width: 900px) { #mapcard { bottom: 76px; } }

/* ---------- onboarding steps & profile ---------- */
.stepper { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.stepper span { padding: 5px 11px; border-radius: 99px; font-size: .74rem; font-weight: 800; background: rgba(255,255,255,.06); color: var(--muted); }
.stepper span.on { background: var(--grad-hot); color: #fff; }
.stepper span.done { background: rgba(52,211,153,.18); color: var(--ok); }
.pick-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.mini-me { display: grid; justify-items: center; gap: 4px; }
.mini-me .avatar { width: 84px; height: 112px; border-radius: 20px; background: radial-gradient(circle at 50% 30%, rgba(139,92,246,.4), rgba(255,255,255,.03)); }
.mini-me b { font-size: .85rem; }
.bg-card[aria-pressed="true"] { border-color: var(--teal); background: linear-gradient(135deg, rgba(46,230,201,.18), rgba(90,169,255,.1)); box-shadow: 0 0 0 2px rgba(46,230,201,.35); }
.bg-card:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.bg-pick .row { display: flex; gap: 10px; justify-content: space-between; }
.bg-pick .row .btn:not(.ghost) { width: auto; min-width: 220px; }
.compact-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 0; }
.me-btn { padding: 3px 8px 3px 3px !important; }
.me-face { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; display: block; background: rgba(255,255,255,.12); }
.me-face .avatar { width: 30px; height: 40px; margin-top: -2px; }
.need-row { display: grid; grid-template-columns: 120px 1fr 44px; gap: 10px; align-items: center; font-weight: 700; font-size: .88rem; }
.need-row b { text-align: right; font-variant-numeric: tabular-nums; }
.need-row .progress { margin: 0; }
.feeling { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--glass-hi); border: 1px solid var(--stroke); }
.feeling > span { font-size: 1.3rem; text-align: center; }
.feeling small { display: block; color: var(--muted); font-size: .78rem; }
.feeling em { font-style: normal; font-weight: 900; }
.feeling.good em { color: var(--ok); } .feeling.bad em { color: var(--bad); }
.dream-card { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,77,94,.16), rgba(255,200,87,.12)); border: 1px solid rgba(255,200,87,.35); }
.dream-card .bg-ic { font-size: 2.4rem; }
.dream-card small { display: block; color: var(--muted); }
.dream-card .progress { margin: 8px 0 4px; }
@media (max-width: 600px) { .pick-head { grid-template-columns: 1fr; justify-items: center; text-align: center; } .need-row { grid-template-columns: 100px 1fr 40px; } .bg-pick .row .btn:not(.ghost) { min-width: 0; flex: 1; } }

/* ---------- bottom navigation & buy mode ---------- */
.bottomnav { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 5px; border-radius: 22px; pointer-events: auto; min-width: 300px; }
.bottomnav button { border: 0; background: transparent; border-radius: 16px; padding: 6px 12px 5px; display: grid; justify-items: center; gap: 1px; font-size: .68rem; font-weight: 800; color: var(--muted); }
.bottomnav button span { position: relative; font-size: 1.25rem; line-height: 1.1; }
.bottomnav button span .badge { top: -4px; right: -10px; font-style: normal; }
.bottomnav button:hover, .bottomnav button[aria-pressed="true"] { background: var(--glass-hi2); color: var(--text); }
.bottomnav button.dim { opacity: .55; }
#app:not(.onboarding) .actionbar { bottom: 66px; }
.hud .camctl { bottom: 118px; }
#app.travelling .bottomnav, #app.map-open .bottomnav, #app.placing .bottomnav { display: none; }
#app.buy-open .actionbar, #app.buy-open .needs, #app.buy-open .jobchip { display: none; }
#buybar { position: absolute; left: 0; right: 0; margin: 0 auto; bottom: 78px; width: min(760px, calc(100% - 24px)); border-radius: 22px; padding: 12px; z-index: 5; display: grid; gap: 10px; animation: rise .2s; }
#buybar[hidden], #placebar[hidden] { display: none; }
.buy-head { display: flex; align-items: center; gap: 12px; }
.buy-head .note { margin-right: auto; }
.buy-cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.buy-cats button { border: 1px solid var(--stroke); background: var(--glass-hi); border-radius: 99px; padding: 6px 12px; font-weight: 800; font-size: .78rem; white-space: nowrap; }
.buy-cats button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.buy-items { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.buy-card { flex: 0 0 140px; display: grid; gap: 3px; text-align: left; padding: 8px; border-radius: 16px; border: 1px solid var(--stroke); background: var(--glass-hi); }
.buy-card:hover { border-color: var(--teal); }
.buy-card .sw { height: 64px; border-radius: 12px; display: grid; place-items: center; font-size: 1.8rem; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.buy-card b { font-size: .82rem; line-height: 1.2; }
.buy-card small { color: var(--muted); font-size: .72rem; }
.buy-card em { font-style: normal; font-size: .7rem; font-weight: 800; color: var(--gold); }
#placebar { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 16px; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 99px; max-width: calc(100% - 24px); }
#placebar span { display: grid; margin-right: 6px; }
#placebar small { color: var(--muted); font-size: .72rem; }
#placebar .btn { width: auto; padding: 9px 14px; font-size: .85rem; }
@media (max-width: 899px) {
  .bottomnav { min-width: 0; width: calc(100% - 20px); bottom: 0; }
  #app:not(.onboarding) .actionbar { bottom: 64px; }
  .hud .needs { bottom: 110px !important; }
  .hud .camctl { bottom: 160px; }
  #app.phone-open .bottomnav { display: none; }
  #buybar { bottom: 74px; }
  .buy-card { flex-basis: 118px; }
  #placebar small { display: none; }
}

#app.buy-open .camctl { display: none; }
#app:not(.onboarding):not(.travelling) #progress { bottom: 120px; }
#app:not(.onboarding):not(.travelling) #choice { bottom: 72px; }
@media (max-width: 899px) { #app:not(.onboarding):not(.travelling) #progress { bottom: 112px; } }
#buybar, #placebar, .bottomnav { background: rgba(14, 16, 36, 0.92); }
.paybox { margin-top: 12px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, rgba(46,230,201,.14), rgba(90,169,255,.1)); border: 1px solid rgba(46,230,201,.35); }
.paybox b { font-size: 1.4rem; }
.paybox .btn { width: auto; }
.adv-here { margin-top: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px; border-radius: 14px; background: rgba(255,200,87,.1); border: 1px dashed rgba(255,200,87,.45); font-size: .85rem; }
.adv-here a { text-decoration: none; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.codes code { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid var(--stroke); font-family: ui-monospace, Menlo, monospace; font-size: 1rem; font-weight: 800; letter-spacing: .08em; text-align: center; user-select: all; }
.linkish { background: none; border: 0; color: var(--teal); font-weight: 700; padding: 0; justify-self: start; text-decoration: underline; }
#secbox .row { display: flex; gap: 8px; flex-wrap: wrap; }
#secbox .row .btn { width: auto; }
#sec2fa input { flex: 1; min-width: 120px; }
.prop-card { padding: 14px; border-radius: 18px; background: var(--glass-hi); border: 1px solid var(--stroke); display: grid; gap: 10px; }
.prop-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .84rem; }
.prop-grid span { color: var(--muted); }
.prop-grid b { text-align: right; }

/* ---------- multiplayer: chat dock, feed, DMs ---------- */
#chatdock { position: fixed; left: 16px; bottom: 150px; width: min(380px, calc(100vw - 32px)); max-height: 52vh; display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: var(--r-md); z-index: 7; }
#chatdock.hidden { display: none; }
.phone-open #chatdock { display: none; }
.dock-head { display: flex; align-items: center; gap: 8px; } .dock-head .note { margin: 0 0 0 auto; font-size: .8rem; } .dock-head .x { margin-left: 4px; }
.here-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; } .here-row .chip { white-space: nowrap; font-size: .8rem; }
.chatlog { overflow-y: auto; display: flex; flex-direction: column; gap: 4px; min-height: 60px; max-height: 30vh; padding-right: 4px; }
.chatlog.dm { max-height: 52vh; }
.cl { position: relative; padding: 6px 28px 6px 10px; border-radius: 12px; background: rgba(255,255,255,.07); font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.cl b { color: var(--teal, #2EE6C9); margin-right: 4px; } .cl small { opacity: .6; font-size: .72rem; }
.cl.me { background: rgba(46,230,201,.16); align-self: flex-end; padding-right: 10px; } .chatlog.dm .cl { max-width: 85%; } .chatlog.dm .cl:not(.me) { align-self: flex-start; }
.cl-rep { position: absolute; right: 4px; top: 3px; background: none; border: 0; color: inherit; opacity: .55; cursor: pointer; font-size: 1rem; padding: 2px 4px; } .cl-rep:hover, .cl-rep:focus-visible { opacity: 1; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow-y: auto; } .presets .chip { font-size: .8rem; }
.chatform { display: flex; gap: 6px; } .chatform input { flex: 1; min-width: 0; }
.note.tiny { font-size: .72rem; margin: 0; }
.post { padding: 12px; border-radius: var(--r-md); background: rgba(255,255,255,.06); display: grid; gap: 6px; } .post p { margin: 0; overflow-wrap: anywhere; }
.post.milestone { background: linear-gradient(135deg, rgba(139,92,246,.22), rgba(46,230,201,.12)); }
.radio-row { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 4px 0; } .radio-row input { width: auto; }
.dm-head { padding: 4px 0 8px; }
.row-card.me { outline: 2px solid rgba(46,230,201,.6); }
@media (max-width: 600px) { #chatdock { bottom: 140px; max-height: 46vh; } }
#consent { position: fixed; left: 50%; bottom: 120px; transform: translateX(-50%); width: min(440px, calc(100vw - 32px)); padding: 16px; border-radius: var(--r-md); z-index: 30; display: grid; gap: 8px; }
#consent .row .btn { flex: 1; }
.legal-links { text-align: center; margin-top: 14px; } .legal-links a, #consent a, .notice + .note a { color: var(--teal); }
.life-face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.08); } .life-face svg { width: 100%; height: 100%; }
.quiz-q { display: grid; gap: 8px; } .quiz-opts { display: grid; grid-template-columns: 1fr 1fr; } .quiz-opts button { white-space: normal; line-height: 1.25; padding: 10px; }

/* ---------- 3D street ---------- */
#street3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; touch-action: pan-y; cursor: grab; background: #0B0D1F; }
#street3d[hidden], #overlayStreet[hidden] { display: none; }
#overlayStreet { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
#app[data-mode]:not([data-mode="street"]) #street3d, #app[data-mode]:not([data-mode="street"]) #overlayStreet { display: none; }
.street-label { position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap; font: 800 12px/1 system-ui; color: #fff; background: rgba(14,16,36,.78); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 10px; cursor: pointer; backdrop-filter: blur(6px); }
.street-label .b { margin-left: 6px; padding: 2px 6px; border-radius: 999px; color: #0E1024; font-size: 10px; }
.street-label.stop { background: rgba(185,28,28,.85); }

#transit3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; background: #0B0D1F; }
#transit3d[hidden], #overlayTransit[hidden] { display: none; }
#overlayTransit { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
#overlayTransit .bubble3d { position: absolute; }
.bubble3d.ann { background: #0B0C12; color: #FFB020; font-family: ui-monospace, Menlo, monospace; border: 1px solid #FFB020; }
.field { margin-top: 10px; }
