/* Tren-Tren: calm map-first UI. Line colors carry meaning; orange is for actions only. */
:root {
  --paper: #f6f5f2; --stone: #ecebe6; --sand: #dcd7cc; --ink: #121212; --ink-soft: #55524c; --line: rgba(18,18,18,.1);
  --glass: rgba(250,249,246,.9); --orange: #e2541c; --orange-press: #c94713; --on-orange: #fff; --ok: #1c7c4b; --warn: #b3261e; --amber: #9a5c00;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, system-ui, sans-serif; --text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --r: 18px; --shadow: 0 8px 28px rgba(18,18,18,.12), 0 1px 3px rgba(18,18,18,.08); --shadow-lg: 0 -6px 36px rgba(18,18,18,.16);
  --ease: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.36, .64, 1);
  --lg-bg: linear-gradient(180deg, rgba(255,255,255,.66), rgba(255,255,255,.42)); --lg-edge: rgba(255,255,255,.75); --lg-shine: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 1px rgba(0,0,0,.05); --lg-blur: blur(22px) saturate(1.8); --fs: 16px; --tren: #e2541c;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #141414; --stone: #1f1e1c; --sand: #2e2c29; --ink: #f4f2ee; --ink-soft: #b4afa6; --line: rgba(244,242,238,.12);
  --glass: rgba(26,25,23,.9); --orange: #ff7440; --orange-press: #ff8a5c; --on-orange: #1a0d06; --ok: #45c486; --warn: #ff7a70; --amber: #f2b04a;
  --shadow: 0 8px 28px rgba(0,0,0,.5); --shadow-lg: 0 -6px 36px rgba(0,0,0,.5); color-scheme: dark; --lg-bg: linear-gradient(180deg, rgba(58,56,52,.62), rgba(28,27,25,.5)); --lg-edge: rgba(255,255,255,.14); --lg-shine: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 1px rgba(0,0,0,.3); } }
:root[data-theme="dark"] {
  --paper: #141414; --stone: #1f1e1c; --sand: #2e2c29; --ink: #f4f2ee; --ink-soft: #b4afa6; --line: rgba(244,242,238,.12);
  --glass: rgba(26,25,23,.9); --orange: #ff7440; --orange-press: #ff8a5c; --on-orange: #1a0d06; --ok: #45c486; --warn: #ff7a70; --amber: #f2b04a;
  --shadow: 0 8px 28px rgba(0,0,0,.5); --shadow-lg: 0 -6px 36px rgba(0,0,0,.5); color-scheme: dark; --lg-bg: linear-gradient(180deg, rgba(58,56,52,.62), rgba(28,27,25,.5)); --lg-edge: rgba(255,255,255,.14); --lg-shine: inset 0 1px 0 rgba(255,255,255,.16), inset 0 -1px 1px rgba(0,0,0,.3); }
:root.big { --fs: 19px; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; background: var(--paper); color: var(--ink); font: 400 var(--fs)/1.45 var(--text); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { font-size: max(16px, 1em); } /* 16px stops iPhone from zooming the page on focus */
a { color: inherit; text-underline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--orange) 30%, transparent); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.tren { stroke: none; }
h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h2 { font-size: 1.45rem; line-height: 1.15; } h3 { font-size: 1.05rem; line-height: 1.25; margin: 1.3em 0 .5em; }
p { margin: .3em 0; }
.soft { color: var(--ink-soft); }
.small { font-size: .82rem; }
.num { font-variant-numeric: tabular-nums; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 20; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 12px; }

/* ---------- map ---------- */
#scene { position: fixed; inset: 0; touch-action: none; }
#scene canvas { display: block; touch-action: none; }
#labels { position: fixed; inset: 0; pointer-events: none; touch-action: none; }
.lbl { position: absolute; left: 0; top: 0; will-change: transform; transform: translate(-50%, -150%); font-size: 11px; font-weight: 500; white-space: nowrap; padding: 2px 7px; border-radius: 999px; background: var(--glass); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); pointer-events: auto; cursor: pointer; user-select: none; }
.lbl--x { font-size: 12px; font-weight: 600; }
.lbl--soon { opacity: .72; font-style: italic; font-weight: 400; }
.lbl--pin { transform: translate(-50%, -110%); background: var(--ink); color: var(--paper); }
.lbl--pin.b { background: var(--orange); color: var(--on-orange); }
.lbl--link { background: var(--stone); font-size: 10px; font-weight: 400; }
.lbl--line { color: #fff; font-weight: 600; font-size: 11px; letter-spacing: .02em; padding: 3px 8px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.lbl--soon { opacity: .72; font-size: 10px; padding: 2px 7px; box-shadow: none; }
.lbl--me { width: 18px; height: 18px; padding: 0; border-radius: 50%; background: #2f7cf6; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(47,124,246,.18); }

/* ---------- top ---------- */
.top { position: fixed; z-index: 6; top: 0; left: 0; right: 0; display: flex; gap: 8px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 0; pointer-events: none; touch-action: none; }
.top > * { pointer-events: auto; }
.search { flex: 1; min-width: 0; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 8px; border: 0; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: var(--shadow); cursor: text; text-align: left; color: var(--ink-soft); font-size: 1rem; }
.search .tren { width: 36px; height: 36px; }
.search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.year-chip { height: 50px; display: flex; align-items: center; gap: 2px; padding: 0 12px 0 16px; border: 0; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); font-family: var(--display); font-size: 1.15rem; font-variant-numeric: tabular-nums; cursor: pointer; }
.year-chip[aria-expanded="true"] svg { transform: rotate(180deg); }
.year-chip.is-future { background: var(--ink); color: var(--paper); }
.future { position: fixed; z-index: 6; top: calc(env(safe-area-inset-top, 0px) + 68px); left: 12px; right: 12px; max-width: 560px; margin-left: auto; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: var(--r); padding: 12px 14px 10px; box-shadow: var(--shadow); animation: drop .35s var(--ease); touch-action: pan-x; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.future__row { display: flex; align-items: center; gap: 10px; }
.future__row strong { font-weight: 500; margin-right: auto; }
.future input { width: 100%; margin: 12px 0 2px; accent-color: var(--orange); height: 28px; }
.future__ticks { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.future__note { font-size: .82rem; color: var(--ink-soft); margin: 6px 0 0; min-height: 1.2em; }
.seg { display: flex; background: var(--stone); border-radius: 999px; padding: 3px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 5px 12px; font-size: .85rem; cursor: pointer; }
.seg button.is-on { background: var(--paper); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.ctrl { position: fixed; z-index: 5; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 72px); display: flex; flex-direction: column; gap: 8px; touch-action: none; transition: opacity .2s; }
.icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; border: 0; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); cursor: pointer; color: var(--ink); }
.icon b { font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.icon[aria-pressed="true"], .icon[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.icon.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.layers { position: fixed; z-index: 7; right: 64px; top: calc(env(safe-area-inset-top, 0px) + 72px); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: var(--r); padding: 10px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .92rem; min-width: 230px; }
.layers label { display: flex; gap: 10px; align-items: center; cursor: pointer; padding: 6px 0; }
.layers input { accent-color: var(--orange); width: 18px; height: 18px; }

/* ---------- sheet ---------- */
/* the panel is always full height and slides with a GPU transform, so opening, dragging and snapping never re-lay out its content */
.sheet { position: fixed; z-index: 8; left: 0; right: 0; bottom: 0; height: calc(100% - env(safe-area-inset-top, 0px) - 8px); background: var(--paper); border-radius: 28px 28px 0 0; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translate3d(0, calc(100% - var(--sheet-h, 220px)), 0); transition: transform .42s cubic-bezier(.22, 1, .36, 1); will-change: transform; isolation: isolate; }
.sheet.dragging { transition: none; }
.sheet__handle { flex: none; height: 26px; display: grid; place-items: center; cursor: grab; touch-action: none; }
.sheet__handle i { width: 42px; height: 5px; border-radius: 9px; background: var(--sand); }
.sheet__head { flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px 6px; touch-action: none; }
.sheet__title { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { width: 38px; height: 38px; border: 0; background: var(--stone); border-radius: 999px; display: grid; place-items: center; cursor: pointer; flex: none; }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 20px; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.tabs { flex: none; display: flex; border-top: 1px solid var(--line); padding: 4px 6px calc(env(safe-area-inset-bottom, 0px) + 4px); background: var(--paper); touch-action: none; }
.tabs button { flex: 1; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 4px; font-size: .7rem; color: var(--ink-soft); cursor: pointer; border-radius: 12px; }
.tabs button[aria-current="page"] { color: var(--ink); font-weight: 500; }
.tabs button[aria-current="page"] svg { stroke-width: 2.3; }
@media (min-width: 900px) {
  .sheet { transform: none !important; transition: none; left: 12px; right: auto; top: calc(env(safe-area-inset-top, 0px) + 72px); bottom: 12px; width: 404px; height: auto !important; max-height: none; border-radius: 22px; box-shadow: var(--shadow); }
  .sheet__handle { display: none; } .sheet__head { padding-top: 10px; } .tabs { border-radius: 0 0 22px 22px; }
  .top { left: 0; right: auto; width: 428px; }
  .ctrl { top: calc(env(safe-area-inset-top, 0px) + 12px); }
  .layers { top: calc(env(safe-area-inset-top, 0px) + 12px); }
  .future { left: 440px; right: auto; top: calc(env(safe-area-inset-top, 0px) + 12px); width: 520px; margin: 0; }
}

/* ---------- content blocks ---------- */
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.pulse { display: flex; gap: 12px; align-items: center; margin: 6px 0 16px; padding: 13px 16px; border-radius: 18px; background: var(--stone); color: var(--ink-soft); }
.pulse > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pulse b { color: var(--ink); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pulse small { font-size: .8rem; line-height: 1.3; }
.pulse i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; animation: beat 2s ease-in-out infinite; box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
@keyframes beat { 50% { opacity: .35; } }
.sep { opacity: .4; }
.block { margin: 0 0 18px; }
.block > h3:first-child { margin-top: 4px; }
.alert { background: color-mix(in srgb, var(--amber) 12%, var(--paper)); border-radius: 14px; padding: 10px 12px; font-size: .88rem; margin: 0 0 8px; }
.alert b { font-weight: 600; }
.badge { display: inline-grid; place-items: center; min-width: 46px; height: 26px; padding: 0 8px; border-radius: 8px; font-weight: 600; font-size: .78rem; letter-spacing: .01em; flex: none; }
.badge--sm { min-width: 0; height: 20px; padding: 0 6px; font-size: .68rem; border-radius: 6px; }
.tag { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--stone); color: var(--ink-soft); font-weight: 500; }
.tag--op { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.tag--con { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber); }
.tag--x { background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); }

.st { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; border-radius: 12px; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; }
.st:hover { background: var(--stone); }
.st__name { font-weight: 500; display: block; }
.st__sub { font-size: .8rem; color: var(--ink-soft); display: block; }
.dep { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; font-size: .86rem; }
.dep .mins { font-family: var(--display); font-size: 1.25rem; font-variant-numeric: tabular-nums; text-align: right; }
.dep .mins small { font-family: var(--text); font-size: .72rem; color: var(--ink-soft); }
.dep .dir { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cta { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; background: var(--stone); border-radius: 16px; padding: 14px; cursor: pointer; }
.cta:hover { background: var(--sand); }
.cta b { font-weight: 500; display: block; }
.cta small { color: var(--ink-soft); }
.cta .tren { width: 40px; height: 40px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font-size: .88rem; cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--stone); }
.chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip--sm { padding: 5px 12px; font-size: .8rem; }
.btn { text-decoration: none; border: 0; background: var(--orange); color: var(--on-orange); border-radius: 999px; padding: 11px 18px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { background: var(--orange-press); }
.btn:disabled { opacity: .5; cursor: default; }
.btn--quiet { background: var(--stone); color: var(--ink); } .btn--quiet:hover { background: var(--sand); }
.btn--block { width: 100%; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.btns .btn { flex: 1; min-width: 120px; }
.daily { background: var(--stone); border-radius: 16px; padding: 14px; display: grid; gap: 6px; }
.daily .row { font-size: .9rem; }
.sponsor { border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: .9rem; display: block; text-decoration: none; }
.sponsor small { color: var(--ink-soft); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }

/* peek card for a station */
.peek__lines { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 10px; align-items: center; }
.deps { display: grid; gap: 8px; margin: 0 0 4px; }
.deps__line { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: center; }
.big-mins { font-family: var(--display); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }

/* strip map for a line */
.strip { list-style: none; margin: 8px 0; padding: 0; position: relative; }
.strip li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; border-radius: 10px; }
.strip li:hover { background: var(--stone); }
.strip li::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 6px; background: var(--lc); }
.strip li:first-child::before { top: 50%; } .strip li:last-child::before { bottom: 50%; }
.strip li.soon::before { background: repeating-linear-gradient(var(--lc) 0 6px, transparent 6px 11px); }
.strip .dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 4px solid var(--lc); justify-self: center; }
.strip .x .dot { width: 20px; height: 20px; border-color: var(--ink); }
.strip .nm { font-size: .92rem; }
.strip .nm small { display: block; color: var(--ink-soft); font-size: .74rem; }
.strip .tx { display: flex; gap: 4px; }

/* trips */
.plan { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.field { grid-column: 1; display: flex; align-items: center; gap: 10px; background: var(--stone); border-radius: 14px; padding: 2px 6px 2px 12px; }
.field input { flex: 1; border: 0; background: none; padding: 11px 0; outline: none; min-width: 0; }
.dotA, .dotB { width: 10px; height: 10px; border-radius: 50%; flex: none; } .dotA { background: var(--ink); } .dotB { background: var(--orange); }
.mini { border: 0; background: none; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; border-radius: 999px; color: var(--ink-soft); }
.swap { grid-column: 2; grid-row: 1 / span 2; border: 0; background: var(--stone); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.opts { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.sel { display: flex; align-items: center; gap: 6px; background: var(--stone); border-radius: 999px; padding: 0 6px 0 12px; font-size: .85rem; color: var(--ink-soft); }
.sel select { border: 0; background: none; padding: 7px 2px; font-weight: 500; color: var(--ink); font-size: 16px; }
.suggest { list-style: none; margin: 8px 0 0; padding: 0; }
.suggest li { padding: 10px 6px; border-radius: 12px; cursor: pointer; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--stone); }
.suggest small { color: var(--ink-soft); display: block; font-size: .78rem; }
.sw { width: 12px; height: 12px; border-radius: 4px; flex: none; background: var(--sand); }
.trip { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 12px 0; }
.trip__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.trip__time { font-family: var(--display); font-size: 2rem; line-height: 1; }
.trip__meta { color: var(--ink-soft); font-size: .86rem; text-align: right; }
.legs { list-style: none; margin: 12px 0 0; padding: 0; }
.legs li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 6px 4px; font-size: .92rem; border-radius: 10px; cursor: pointer; }
.legs li:hover { background: var(--stone); }
.legs .bar { width: 6px; justify-self: center; border-radius: 4px; min-height: 26px; }
.legs .walk { width: 0; border-left: 3px dotted var(--ink-soft); justify-self: center; min-height: 20px; }
.legs b { font-weight: 500; }
.legs small { color: var(--ink-soft); display: block; font-size: .8rem; }
.note, .good, .warn { border-radius: 12px; padding: 9px 12px; font-size: .86rem; margin: 8px 0 0; }
.note { background: var(--stone); }
.good { background: color-mix(in srgb, var(--ok) 12%, var(--paper)); color: var(--ok); }
.warn { background: color-mix(in srgb, var(--warn) 11%, var(--paper)); color: var(--warn); }
.cmp { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: 8px; font-variant-numeric: tabular-nums; }
.cmp td, .cmp th { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp th { font-weight: 500; color: var(--ink-soft); font-size: .76rem; }
details summary { cursor: pointer; color: var(--ink-soft); padding: 6px 0; font-size: .9rem; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .9rem; margin: 10px 0; }
.kv dt { color: var(--ink-soft); } .kv dd { margin: 0; }
.photo { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; background: var(--stone); margin: 10px 0 2px; display: block; }
.credit-img { font-size: .7rem; color: var(--ink-soft); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 48px; margin: 6px 0 2px; }
.spark i { flex: 1; background: var(--sand); border-radius: 3px 3px 0 0; min-height: 2px; }
.spark i.now { background: var(--orange); }
.spark-x { display: flex; justify-content: space-between; font-size: .66rem; color: var(--ink-soft); }
.progress { height: 6px; background: var(--stone); border-radius: 9px; overflow: hidden; margin-top: 6px; }
.progress i { display: block; height: 100%; background: var(--amber); border-radius: 9px; }
.tl { list-style: none; padding: 0 0 0 14px; margin: 8px 0; border-left: 2px solid var(--sand); }
.tl li { position: relative; padding: 4px 0 10px 8px; font-size: .88rem; }
.tl li::before { content: ""; position: absolute; left: -21px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--amber); }
.tl time { font-size: .74rem; color: var(--ink-soft); display: block; }
.statgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--stone); border-radius: 14px; padding: 12px; }
.stat b { font-family: var(--display); font-weight: 300; font-size: 1.9rem; display: block; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat small { color: var(--ink-soft); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 8px 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 600; font-size: .85rem; }
.steps b { font-weight: 500; display: block; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--orange); }
.menu { display: grid; gap: 2px; margin: 4px 0 12px; }
.menu button, .menu a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border: 0; background: none; border-bottom: 1px solid var(--line); text-align: left; text-decoration: none; cursor: pointer; font-size: .95rem; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--stone); border-radius: 999px; padding: 10px 14px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--ink-soft); }
.stack input, .stack textarea { border: 1px solid var(--line); background: var(--stone); border-radius: 12px; padding: 10px 12px; color: var(--ink); }
.status { font-size: .86rem; min-height: 1.2em; }
.status[data-state="ok"] { color: var(--ok); } .status[data-state="error"] { color: var(--warn); }
.balance { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { height: 8px; background: var(--stone); border-radius: 9px; overflow: hidden; margin: 8px 0; }
.meter i { display: block; height: 100%; background: var(--ok); border-radius: 9px; transition: width .6s var(--ease); }
.meter.low i { background: var(--warn); }
.srcs { padding-left: 18px; } .srcs li { font-size: .85rem; padding: 3px 0; word-break: break-word; }
.credit { font-size: .85rem; color: var(--ink-soft); } .credit a { color: var(--orange); }
.empty { text-align: center; padding: 18px 8px; color: var(--ink-soft); }
.empty .tren { width: 56px; height: 56px; margin: 0 auto 6px; display: block; }

/* ---------- overlays ---------- */
.tip { position: fixed; z-index: 9; left: 12px; right: 12px; max-width: 420px; margin: auto; bottom: calc(var(--sheet-h, 220px) + 12px); background: var(--ink); color: var(--paper); border-radius: 18px; padding: 12px 12px 12px 10px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); animation: drop .4s var(--ease); }
.tip .tren { width: 42px; height: 42px; }
.tip p { flex: 1; margin: 0; font-size: .9rem; }
.tip .chip { background: var(--paper); color: var(--ink); border: 0; }
@media (min-width: 900px) { .tip { left: 440px; right: auto; bottom: 24px; } }
.dlg { border: 0; border-radius: 26px; background: var(--paper); color: var(--ink); width: min(520px, calc(100% - 24px)); padding: 22px; box-shadow: var(--shadow); max-height: 86vh; }
.dlg::backdrop { background: rgba(0,0,0,.4); }
.dlg h2 { padding-right: 44px; margin-bottom: 6px; }
.dlg__x { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 999px; border: 0; background: var(--stone); display: grid; place-items: center; cursor: pointer; }
.copy { display: flex; gap: 8px; margin: 8px 0 14px; }
.copy input, .copy textarea { flex: 1; min-width: 0; border: 1px solid var(--line); background: var(--stone); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-family: ui-monospace, Menlo, monospace; resize: none; }
.toast { position: fixed; z-index: 10; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 70px); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow); max-width: calc(100% - 24px); animation: drop .3s var(--ease); }
.loading { position: fixed; inset: 0; display: grid; place-items: center; z-index: 2; color: var(--ink-soft); pointer-events: none; text-align: center; }
.loading .tren { width: 64px; height: 64px; display: block; margin: 0 auto 8px; animation: bob 1.2s var(--ease) infinite alternate; }
@keyframes bob { to { transform: translateY(-6px); } }
.noscript { position: fixed; inset: 40% 20px auto; text-align: center; }
.consent { position: fixed; z-index: 11; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 70px); max-width: 520px; margin: auto; background: var(--ink); color: var(--paper); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: .85rem; }
.consent p { margin: 0; } .consent__btns { display: flex; gap: 8px; } .consent .btn--sm { padding: 7px 14px; }
.consent .btn--quiet { background: rgba(255,255,255,.14); color: var(--paper); }

/* embed */
.embed .sheet, .embed .ctrl [data-act="layers"] { display: none; }
.embed .open-full { position: fixed; z-index: 6; left: 12px; bottom: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ===== Drop A: Liquid Glass controls, tinted section tiles, Apple touches ===== */
.search, .year-chip, .icon, .layers, .future, .tabs, .ctx, .flycard {
  background: var(--lg-bg); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
  border: .5px solid var(--lg-edge); box-shadow: var(--lg-shine), 0 10px 30px rgba(18,18,18,.14), 0 1px 3px rgba(18,18,18,.08);
}
.search, .year-chip, .icon { transition: transform .35s var(--spring), background .2s; }
.search:active, .year-chip:active, .icon:active, .tile--btn:active, .btn:active, .chip:active { transform: scale(.96); }
.icon { border-radius: 16px; }
.year-chip.is-future, .icon[aria-pressed="true"], .icon[aria-expanded="true"] { background: var(--ink); color: var(--paper); border-color: transparent; }
.sat .search, .sat .year-chip, .sat .icon { box-shadow: var(--lg-shine), 0 10px 30px rgba(0,0,0,.35); }

/* floating glass tab bar */
.sheet__body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 92px + var(--sheet-hide, 0px)); }
.tabs { position: absolute; left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); border-radius: 28px; padding: 4px; border-top: .5px solid var(--lg-edge); z-index: 2; }
.tabs button { border-radius: 22px; padding: 7px 0 5px; transition: background .25s, color .25s; }
.tabs button[aria-current="page"] { background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
@media (min-width: 900px) { .tabs { border-radius: 24px; } }

/* large titles that tuck in as you scroll */
.sheet__title { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; transition: font-size .3s var(--ease); }
.sheet.scrolled .sheet__title { font-size: 1.1rem; }
.sheet.scrolled .sheet__head { box-shadow: 0 1px 0 var(--line); }

/* tones: one color per kind of thing, so people can scan without reading */
.tone-blue { --tcb: #1f74e8; --tc: #1f74e8; --tb: #e7f0fd; } .tone-purple { --tcb: #7a4ad8; --tc: #7a4ad8; --tb: #f0eafc; } .tone-orange { --tcb: #e2541c; --tc: #e2541c; --tb: #fdece4; }
.tone-green { --tcb: #1c8a52; --tc: #1c8a52; --tb: #e5f4ec; } .tone-teal { --tcb: #0f8a8a; --tc: #0f8a8a; --tb: #e2f4f3; } .tone-amber { --tcb: #b26b00; --tc: #b26b00; --tb: #fdf1dc; }
.tone-indigo { --tcb: #4652c9; --tc: #4652c9; --tb: #e9ebfb; } .tone-slate { --tcb: #5b6472; --tc: #5b6472; --tb: #eceef1; }
:root[data-theme="dark"] [class*="tone-"] { --tb: color-mix(in srgb, var(--tcb, #888) 18%, #1b1a18); --tc: color-mix(in srgb, var(--tcb, #888) 70%, white); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) [class*="tone-"] { --tb: color-mix(in srgb, var(--tcb, #888) 18%, #1b1a18); --tc: color-mix(in srgb, var(--tcb, #888) 70%, white); } }

.sec { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; margin: 6px 0 10px; }
.sec__ic { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--tc); color: #fff; flex: none; }
.sec__ic svg { width: 17px; height: 17px; stroke-width: 2.1; }

.tile { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 18px; background: var(--tb); border: 0; text-align: left; color: var(--ink); }
.tile__ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--tc); color: #fff; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 10px color-mix(in srgb, var(--tc) 35%, transparent); }
.tile__ic svg { width: 22px; height: 22px; stroke-width: 2; } .tile__ic .tren { width: 34px; height: 34px; --tren: #fff; }
.tile__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; font-size: .9rem; }
.tile__body b { font-weight: 600; } .tile__body small { color: var(--ink-soft); font-size: .8rem; }
.tile--btn { cursor: pointer; transition: transform .35s var(--spring), filter .2s; } .tile--btn:hover { filter: brightness(.97); }
.tile .chev { width: 18px; height: 18px; color: var(--tc); opacity: .7; }
.stack-tiles { display: grid; gap: 10px; }
.tone-orange .tile__ic .tren { --tren: #fff; }

.hero { display: flex; align-items: center; gap: 14px; width: 100%; border: 0; text-align: left; border-radius: 22px; padding: 16px; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--tc), color-mix(in srgb, var(--tc) 70%, #ffb347)); box-shadow: 0 10px 26px color-mix(in srgb, var(--tc) 35%, transparent); transition: transform .35s var(--spring); }
.hero .tren { width: 54px; height: 54px; --tren: #fff; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.hero small { display: block; opacity: .9; font-size: .8rem; font-weight: 500; }
.hero > .grow > b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
.hero > .grow > span { font-size: .84rem; opacity: .95; } .hero .badge { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }

.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; }
.duo > :only-child { grid-column: 1 / -1; }
.wx, .fact { border-radius: 20px; padding: 14px; background: var(--tb); display: flex; flex-direction: column; gap: 4px; min-height: 132px; }
.wx__ic, .fact__ic { width: 34px; height: 34px; color: var(--tc); } .wx__ic svg, .fact__ic svg { width: 34px; height: 34px; stroke-width: 1.8; }
.wx--sun .wx__ic svg { animation: turn 18s linear infinite; } .wx--rain .wx__ic svg path:last-child { animation: drip 1.2s ease-in infinite; }
@keyframes turn { to { transform: rotate(360deg); } } @keyframes drip { 0% { transform: translateY(-2px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(3px); opacity: 0; } }
.wx__t { font-family: var(--display); font-size: 2.1rem; font-weight: 600; line-height: 1; margin-top: auto; }
.wx small { color: var(--ink-soft); font-size: .76rem; line-height: 1.3; }
.fact b { color: var(--tc); font-size: .78rem; text-transform: none; font-weight: 700; letter-spacing: .01em; }
.fact p { margin: 0; font-size: .88rem; line-height: 1.35; }

.statgrid { gap: 12px; margin-top: 6px; }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--tb); }
.stat__ic { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--tc); color: #fff; display: grid; place-items: center; }
.stat__ic svg { width: 22px; height: 22px; stroke-width: 2; }
.stat b { font-family: var(--display); font-weight: 700; font-size: 1.8rem; letter-spacing: -.02em; line-height: 1; }
.stat small { font-size: .78rem; line-height: 1.25; }

.btn--icon { flex: 0 0 46px !important; min-width: 46px !important; padding: 0; height: 44px; }
.btn--icon.is-on { background: #fdf1dc; color: #b26b00; } .btn--icon.is-on svg { fill: currentColor; }
.chip--star { display: inline-flex; align-items: center; gap: 6px; } .chip--star svg { width: 15px; height: 15px; color: #b26b00; fill: #f2b04a; stroke: #b26b00; }

/* springy entrance for sheet content */
.sheet__body.enter { animation: bodyIn .26s cubic-bezier(.22, 1, .36, 1) both; }
.sheet__body.enter.nav-back { animation-name: bodyBack; }
@keyframes bodyIn { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@keyframes bodyBack { from { opacity: 0; transform: translate3d(-14px, 0, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.rolled { display: inline-block; animation: roll .45s var(--spring); }
@keyframes roll { from { transform: translateY(70%); opacity: 0; } }

/* pull down on Home to search */
.sheet.pulling .sheet__handle::after { content: "Release to search"; position: absolute; top: -30px; left: 50%; transform: translateX(-50%); font-size: .78rem; background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 999px; }
:root[lang="fil"] .sheet.pulling .sheet__handle::after { content: "Bitawan para maghanap"; }
.sheet__handle { position: relative; }

/* Dynamic Island-style pill */
.pill { position: fixed; z-index: 9; top: calc(env(safe-area-inset-top, 0px) + 68px); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; max-width: calc(100% - 140px);
  background: #0b0b0b; color: #fff; border: 0; border-radius: 999px; padding: 8px 14px 8px 10px; font-size: .82rem; box-shadow: 0 8px 24px rgba(0,0,0,.3); cursor: pointer; animation: island .55s var(--spring); white-space: nowrap; }
.pill span:not(.pill__dot) { overflow: hidden; text-overflow: ellipsis; opacity: .75; }
.pill__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 10px currentColor; }
@keyframes island { from { transform: translateX(-50%) scale(.6, .5); opacity: 0; } }
@media (min-width: 900px) { .pill { left: auto; right: 74px; transform: none; top: calc(env(safe-area-inset-top, 0px) + 12px); max-width: 360px; } @keyframes island { from { transform: scale(.6, .5); opacity: 0; } } }

/* fly-along photo card */
.flycard { position: fixed; z-index: 9; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 72px); max-width: 420px; margin: 0 auto; border-radius: 24px; padding: 10px; display: flex; gap: 12px; align-items: stretch; color: var(--ink); }
.flycard.pop { animation: island .5s var(--spring); }
.fly__img { width: 112px; min-height: 96px; border-radius: 16px; overflow: hidden; flex: none; background: color-mix(in srgb, var(--lc) 22%, var(--paper)); display: grid; place-items: center; }
.fly__img img { width: 100%; height: 100%; object-fit: cover; display: block; animation: rise .4s var(--ease); } .fly__img .tren { width: 54px; height: 54px; }
.fly__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 2px 4px 2px 0; }
.fly__txt b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; line-height: 1.15; }
.fly__txt small { color: var(--ink-soft); font-size: .78rem; } .fly__txt p { margin: 2px 0 0; font-size: .82rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fly__no { font-size: .7rem; color: var(--ink-soft); font-weight: 600; } .fly__cr { font-size: .64rem; color: var(--ink-soft); margin-top: auto; } .fly__cr a { color: inherit; }
.touring .top, .touring .ctrl, .touring .pill { opacity: 0; pointer-events: none; transition: opacity .3s; }
@media (min-width: 900px) { .flycard { left: 440px; right: auto; width: 420px; top: 16px; } }

/* long-press menu */
.ctx { position: fixed; z-index: 12; min-width: 210px; border-radius: 18px; padding: 6px; display: flex; flex-direction: column; animation: island .35s var(--spring); }
.ctx p { margin: 4px 10px 6px; font-weight: 600; font-size: .9rem; }
.ctx button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 10px; border-radius: 12px; text-align: left; cursor: pointer; font-size: .92rem; }
.ctx button:hover, .ctx button:active { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.ctx svg { width: 18px; height: 18px; color: var(--orange); }

/* blur under the phone status bar */
.statusblur { position: fixed; z-index: 5; top: 0; left: 0; right: 0; height: env(safe-area-inset-top, 0px); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); background: color-mix(in srgb, var(--paper) 45%, transparent); pointer-events: none; }

/* map or satellite switch */
.base { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.base button { border: 0; background: none; display: flex; flex-direction: column; gap: 5px; align-items: center; font-size: .78rem; cursor: pointer; padding: 0; color: var(--ink-soft); }
.base__th { width: 100%; height: 58px; border-radius: 12px; border: 2px solid transparent; background-size: cover; }
.base__th--map { background: linear-gradient(115deg, transparent 44%, #1c8a52 45% 49%, transparent 50%), linear-gradient(35deg, transparent 52%, #f2c200 53% 57%, transparent 58%), linear-gradient(160deg, transparent 60%, #7a4ad8 61% 64%, transparent 65%), #ebe8df; }
.base__th--sat { background: radial-gradient(circle at 30% 30%, #6d7f4f, transparent 40%), radial-gradient(circle at 70% 60%, #8d8a7a, transparent 45%), linear-gradient(115deg, transparent 44%, #1c8a52 45% 49%, transparent 50%), #3e4a38; }
.base button[aria-pressed="true"] { color: var(--ink); font-weight: 600; } .base button[aria-pressed="true"] .base__th { border-color: var(--orange); }
.sat .lbl { box-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* ===== Drop A.2 ===== */
.lbl--pin, .lbl--me { will-change: auto; }
.lbl--poi { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 500; padding: 2px 7px 2px 3px; background: color-mix(in srgb, var(--paper) 88%, transparent); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lbl--poi i, .poi-tag i { width: 14px; height: 14px; border-radius: 50%; background: var(--pc, #888); display: inline-block; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.poi-mall { --pc: #e2541c; } .poi-park { --pc: #2f9e5b; } .poi-monument { --pc: #8a6d3b; } .poi-museum { --pc: #7a4ad8; } .poi-sight { --pc: #d6337a; }
.poi-church { --pc: #5b6472; } .poi-school { --pc: #1f74e8; } .poi-hospital { --pc: #d6342c; } .poi-gov { --pc: #0f8a8a; } .poi-market { --pc: #c98a00; }
.poi-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }

.compass i { position: relative; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; transition: transform .1s linear; }
.compass i::before { content: ""; position: absolute; left: 50%; top: -1px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid #e2341c; transform: translateX(-50%); }
.compass i::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 9px solid var(--ink-soft); transform: translateX(-50%); opacity: .5; }
.compass b { font-size: .68rem; font-weight: 700; }
.compass.is-off { color: var(--orange); }

.sheet[data-snap="hidden"] { transform: translateY(calc(100% + 24px)); pointer-events: none; }

.reveal { position: fixed; z-index: 8; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); border: .5px solid var(--lg-edge); background: var(--lg-bg); -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur); box-shadow: var(--lg-shine), 0 10px 30px rgba(18,18,18,.18); border-radius: 999px; padding: 12px 22px; font-weight: 600; cursor: pointer; animation: island .45s var(--spring); }
.reveal::before { content: ""; display: inline-block; width: 26px; height: 4px; border-radius: 9px; background: var(--ink-soft); vertical-align: middle; margin-right: 10px; }
.sheet-hidden .tip { bottom: 80px; }

.tabs { position: absolute; }
.tabs__lens { position: absolute; z-index: 0; top: 4px; bottom: calc(env(safe-area-inset-bottom, 0px) * 0 + 4px); left: 0; border-radius: 22px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.35)); border: .5px solid rgba(255,255,255,.9);
  box-shadow: inset 0 1px 1px rgba(255,255,255,1), inset 0 -2px 6px rgba(226,84,28,.12), 0 4px 14px rgba(226,84,28,.22); transition: transform .5s var(--spring), width .4s var(--spring); }
:root[data-theme="dark"] .tabs__lens { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border-color: rgba(255,255,255,.25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tabs__lens { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); border-color: rgba(255,255,255,.25); } }
.tabs__lens.stretch { animation: stretch .5s var(--spring); }
@keyframes stretch { 30% { scale: 1.18 .86; } }
.tabs button { position: relative; z-index: 1; }
.tabs button[aria-current="page"] { background: none; color: var(--orange); }
.tabs button[aria-current="page"] svg { transform: scale(1.08); transition: transform .3s var(--spring); }

.updates { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; border-radius: 999px; background: var(--tb, #fdf1dc); --tb: #fdf1dc; --tc: #b26b00; color: var(--ink); padding: 9px 14px; cursor: pointer; text-align: left; font-size: .88rem; }
.updates svg { color: var(--tc); width: 18px; height: 18px; } .updates span { font-weight: 600; } .updates small { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.updates.is-new span::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-left: 6px; vertical-align: middle; }
:root[data-theme="dark"] .updates { --tb: #3a2c12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .updates { --tb: #3a2c12; } }

.pays { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.pay { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; padding: 4px 9px 4px 6px; border-radius: 999px; background: var(--stone); color: var(--ink); }
.pay svg { width: 15px; height: 15px; }
.pay--card { background: #e7f0fd; color: #1a5fc2; } .pay--phone { background: #e5f4ec; color: #17784a; } .pay--qr { background: #f0eafc; color: #6438c2; } .pay--beep { background: #fdece4; color: #c2420f; }
:root[data-theme="dark"] .pay { background: var(--stone); color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pay { background: var(--stone); color: var(--ink); } }
.paybox { background: var(--stone); border-radius: 16px; padding: 8px 12px; margin: 6px 0 4px; }
.linkbtn { border: 0; background: none; color: var(--orange); font-weight: 600; font-size: .82rem; padding: 4px 0; cursor: pointer; }
.paycard { background: var(--stone); border-radius: 18px; padding: 12px 14px; margin: 0 0 10px; }
.paycard b { font-weight: 600; }

.flycard { flex-direction: column; gap: 8px; overflow: hidden; }
.fly__main { display: flex; gap: 12px; }
.fly__ctl { display: flex; gap: 6px; }
.fly__ctl button { flex: 1; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 8px; font-weight: 600; font-size: .82rem; cursor: pointer; display: grid; place-items: center; }
.fly__ctl button:disabled { opacity: .35; } .fly__ctl button[data-f="stop"] { background: var(--ink); color: var(--paper); }
.fly__bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--orange); width: 100%; transform-origin: left; animation: bar 4.2s linear both; }
.flycard.paused .fly__bar { animation-play-state: paused; }
@keyframes bar { from { transform: scaleX(0); } }

/* ===== A.3 ===== */
.lbl--bus { font-size: 10px; font-weight: 500; padding: 2px 7px 2px 5px; background: #e3f2fb; color: #0f5f87; display: inline-flex; gap: 4px; align-items: center; }
.lbl--bus::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: #1C9BD6; box-shadow: inset 0 -3px 0 rgba(255,255,255,.55); }
:root[data-theme="dark"] .lbl--bus { background: #10354a; color: #bfe6fa; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lbl--bus { background: #10354a; color: #bfe6fa; } }
.lbl--area { background: none; box-shadow: none; color: color-mix(in srgb, var(--ink) 45%, transparent); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; text-shadow: 0 0 3px var(--paper), 0 0 6px var(--paper); }
.lbl--area-prov { font-size: 12px; letter-spacing: .22em; color: color-mix(in srgb, var(--ink) 38%, transparent); }
.lbl--area-region { font-size: 13px; letter-spacing: .3em; color: color-mix(in srgb, var(--ink) 50%, transparent); }
.sat .lbl--area { color: rgba(255,255,255,.85); text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.lyr-key { width: 18px; height: 8px; border-radius: 4px; flex: none; }
.lyr-key--bus { background: repeating-linear-gradient(90deg, #1C9BD6 0 6px, transparent 6px 9px); }
.lyr-key--area { height: 12px; background: #e8c4a0; opacity: .7; border: 1px dashed #8a857a; }
.lyr-key--link { width: 12px; height: 12px; border-radius: 2px; background: #6b6b6b; transform: rotate(45deg); }
.nearby { display: flex; flex-direction: column; gap: 6px; }
.nearby a { display: flex; align-items: center; gap: 7px; text-decoration: none; }
.nearby a i { width: 12px; height: 12px; border-radius: 50%; background: var(--pc); flex: none; }
.nearby small { color: var(--ink-soft); margin-left: auto; }
.pay--cash { background: #eef6e6; color: #3d6b16; }
.lbl--poi.dot { font-size: 0; padding: 2px; gap: 0; }
.lbl--poi.dot i { width: 12px; height: 12px; }
.sp-card { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; margin: 10px 0 4px; background: var(--paper); }
.sp-card img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.sp-card span { display: flex; flex-direction: column; } .sp-card small { font-size: .68rem; color: var(--ink-soft); letter-spacing: .02em; } .sp-card em { font-style: normal; font-size: .85rem; color: var(--ink-soft); }
.sp-ask { display: inline-block; font-size: .74rem; color: var(--ink-soft); margin: 10px 0 0; text-decoration: none; border-bottom: 1px dashed var(--sand); }
.lbl--sp { box-shadow: 0 0 0 2px #e2541c, 0 2px 8px rgba(226,84,28,.35); font-weight: 600; }
.sheet:not(.has-title) .sheet__body { padding-top: 12px; }
.update-ready { position: fixed; z-index: 40; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 74px); transform: translateX(-50%); display: flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 8px 16px 8px 8px; background: var(--ink); color: var(--paper); font: inherit; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-lg); cursor: pointer; animation: rise .5s var(--spring) both; }
.update-ready .tren { width: 30px; height: 30px; }

/* ===== v8: make it yours, You tab, play, trip mode, help ===== */
.lbl { font-size: calc(11px * var(--lbl, 1)); }
.hello { margin: 2px 2px 8px; font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
:root.calm *, :root.calm *::before, :root.calm *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
:root.hc { --ink-soft: #2e2c28; --line: rgba(18,18,18,.28); --stone: #e2e0d9; }
:root.hc[data-theme="dark"] { --ink-soft: #e2ded6; --line: rgba(244,242,238,.35); --stone: #2a2926; }
@media (prefers-color-scheme: dark) { :root.hc:not([data-theme="light"]) { --ink-soft: #e2ded6; --line: rgba(244,242,238,.35); --stone: #2a2926; } }
:root.hc .lbl { box-shadow: 0 0 0 1.5px var(--ink); }
:root.tinted { --stone: color-mix(in srgb, var(--tint) 11%, #ecebe6); }
:root.tinted[data-theme="dark"] { --stone: color-mix(in srgb, var(--tint) 16%, #1f1e1c); }
@media (prefers-color-scheme: dark) { :root.tinted:not([data-theme="light"]) { --stone: color-mix(in srgb, var(--tint) 16%, #1f1e1c); } }
:root.tinted .sheet { background: color-mix(in srgb, var(--tint) 4%, var(--paper)); }
.badge[data-g]::before { content: none; }
:root.cb .badge[data-g]::before { content: attr(data-g); margin-right: 4px; font-size: .85em; }
/* settings */
.me-hero { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--stone); margin: 4px 0 6px; }
.me-hero b { display: block; font-family: var(--display); font-size: 1.15rem; letter-spacing: -.01em; } .me-hero small { color: var(--ink-soft); font-size: .8rem; } .me-hero > div { flex: 1; min-width: 0; }
.tren--xl { width: 54px; height: 56px; flex: none; }
.me-h { margin: 22px 2px 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.me-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: .5px solid var(--line); }
.me-row > span:first-child { display: flex; flex-direction: column; font-size: .92rem; } .me-row small, .toggle small { display: block; color: var(--ink-soft); font-size: .76rem; margin-top: 1px; }
.me-row--col { flex-direction: column; align-items: stretch; }
.seg2 { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 14px; background: var(--stone); }
.seg2 button { border: 0; background: none; padding: 7px 11px; border-radius: 11px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background .2s, color .2s; }
.seg2 button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.seg2--sm button { padding: 5px 9px; font-size: .74rem; }
.dots { display: flex; flex-wrap: wrap; gap: 8px; }
.dots button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; position: relative; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .25s var(--spring); }
.dots button i { font-style: normal; font-size: .72rem; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.dots button[aria-pressed="true"] { transform: scale(1.12); box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c); }
.glass-range { display: flex; align-items: center; gap: 10px; } .glass-range input { flex: 1; accent-color: var(--orange); } .glass-range small { font-size: .74rem; }
.mascot-edit { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 20px; background: var(--stone); }
.mascot-prev { width: 84px; height: 88px; flex: none; animation: bob 1.6s ease-in-out infinite alternate; }
.mascot-edit .grow { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chips--wrap { flex-wrap: wrap; overflow: visible; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.skins { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.skins button { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 9px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; font: inherit; color: var(--ink); }
.skins button[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.skins button[disabled] { opacity: .5; cursor: default; } .skins b { font-size: .84rem; } .skins small { font-size: .68rem; color: var(--ink-soft); line-height: 1.25; }
.skin-sw { height: 18px; border-radius: 9px; display: block; }
.cardlist { list-style: none; margin: 0; padding: 0; } .cardlist li { display: flex; align-items: center; gap: 6px; border-bottom: .5px solid var(--line); } .cardlist .toggle { flex: 1; border: 0; }
.mv { display: flex; gap: 2px; } .mv button { width: 30px; height: 30px; border: 0; border-radius: 9px; background: var(--stone); cursor: pointer; display: grid; place-items: center; color: var(--ink); } .mv button:disabled { opacity: .3; } .mv svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.me-in { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 12px; padding: 8px 10px; font: inherit; font-size: .9rem; min-width: 0; width: 150px; }
.me-in--num { width: 100px; } .me-in--t { width: 108px; }
.icons { display: flex; gap: 12px; flex-wrap: wrap; } .icons button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; font: inherit; font-size: .72rem; color: var(--ink); }
.icons span { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); } .icons .tren { width: 40px; height: 42px; } .icons button[aria-pressed="true"] span { box-shadow: 0 0 0 3px var(--orange); }
/* You tab */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.gtile { position: relative; text-align: left; border: 0; border-radius: 22px; padding: 14px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font: inherit; color: var(--ink); background: var(--tb, var(--stone)); min-height: 128px; transition: transform .3s var(--spring); }
.gtile:active { transform: scale(.97); }
.gtile__ic, .gtile .ring { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--tc, #888); color: #fff; margin-bottom: 6px; }
.gtile .ring { background: none; } .gtile__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gtile small { font-size: .74rem; color: var(--ink-soft); font-weight: 600; } .gtile b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; } .gtile b small { font-size: .9rem; } .gtile em { font-style: normal; font-size: .74rem; color: var(--ink-soft); }
.tone-red { --tcb: #c8282e; --tc: #c8282e; --tb: #fbe7e7; }
.ring { width: 64px; height: 64px; }
.bigstat { padding: 16px; border-radius: 20px; background: var(--stone); margin: 10px 0; display: flex; flex-direction: column; } .bigstat b { font-family: var(--display); font-size: 2.4rem; letter-spacing: -.03em; } .bigstat small, .bigstat span { color: var(--ink-soft); font-size: .82rem; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 70px; margin: 12px 0; } .bars i { flex: 1; min-height: 2px; background: var(--orange); border-radius: 3px 3px 0 0; opacity: .85; }
.goal-hero { display: flex; align-items: center; gap: 16px; margin: 8px 0 12px; } .goal-hero .ring { width: 86px; height: 86px; } .goal-hero b { display: block; font-family: var(--display); font-size: 2rem; } .goal-hero small { color: var(--ink-soft); }
.weeks { display: flex; gap: 6px; align-items: flex-end; height: 90px; margin: 10px 0 14px; } .weeks span { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; } .weeks i { width: 100%; min-height: 3px; border-radius: 6px; background: var(--sand); } .weeks i.ok { background: var(--ok); } .weeks small { font-size: .62rem; color: var(--ink-soft); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; } .bdg { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 6px; border-radius: 999px; background: var(--stone); font-size: .74rem; font-weight: 600; color: var(--ink-soft); opacity: .55; }
.bdg i { width: 20px; height: 20px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; } .bdg i svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.bdg.on { opacity: 1; color: var(--ink); background: color-mix(in srgb, #d9a521 18%, var(--paper)); } .bdg.on i { background: #d9a521; color: #fff; }
.stamps { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; margin-bottom: 8px; }
.stp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--sand); background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; font: inherit; font-size: .64rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; line-height: 1.15; }
.stp small { font-weight: 500; font-size: .58rem; margin-top: 2px; }
.stp.on { border: 3px double var(--lc); color: var(--lc); background: color-mix(in srgb, var(--lc) 10%, var(--paper)); transform: rotate(-6deg); animation: stampin .5s var(--spring); }
@keyframes stampin { from { transform: scale(1.4) rotate(8deg); opacity: 0; } }
.codebox { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: var(--stone); } .codebox b { flex: 1; font-family: var(--display); font-size: 1.6rem; letter-spacing: .12em; } .codebox small { color: var(--ink-soft); font-size: .74rem; display: block; }
/* quiz */
.quiz { padding: 14px; border-radius: 20px; background: color-mix(in srgb, #c98a00 10%, var(--paper)); } .quiz__q { margin: 0 0 10px; font-weight: 600; }
.quiz__a { display: grid; gap: 6px; } .quiz__a button { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 14px; padding: 10px 12px; font: inherit; font-size: .88rem; color: var(--ink); cursor: pointer; transition: transform .25s var(--spring); }
.quiz__a button:active { transform: scale(.98); } .quiz__a button.ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, var(--paper)); font-weight: 600; } .quiz__a button.no { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--paper)); text-decoration: line-through; }
.quiz__why { font-size: .84rem; margin: 10px 0 4px; }
.duo--play { grid-template-columns: 1fr 1fr; } .mini-tile { border: 0; border-radius: 18px; padding: 12px; text-align: left; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font: inherit; color: var(--ink); background: var(--tb, var(--stone)); }
.mini-tile span { width: 28px; height: 28px; border-radius: 9px; background: var(--tc); color: #fff; display: grid; place-items: center; margin-bottom: 4px; } .mini-tile span svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mini-tile b { font-family: var(--display); font-size: 1.25rem; } .mini-tile small { font-size: .72rem; color: var(--ink-soft); }
/* Wrapped */
.wrapped { position: fixed; inset: 0; z-index: 50; background: var(--wbg, #ff5b1f); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 28px; text-align: center; transition: background .5s var(--ease); cursor: pointer; }
.w-bars { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 16px; right: 16px; display: flex; gap: 4px; } .w-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); } .w-bars i.on { background: #fff; }
.w-x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 28px); right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; } .w-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.w-card { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 420px; animation: rise .6s var(--spring) both; } .w-card h2 { margin: 0; font-family: var(--display); font-size: 1.5rem; }
.w-big { font-family: var(--display); font-size: 5.5rem; line-height: 1; letter-spacing: -.04em; } .w-big small { font-size: 2rem; } .w-card .btn { background: #fff; color: #121212; } .w-card .tren { width: 96px; height: 100px; }
.w-hint { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); opacity: .7; font-size: .8rem; }
/* help pages */
.sos { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; background: #c8282e; color: #fff; text-decoration: none; margin: 4px 0 10px; } .sos svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; } .sos b { display: block; font-size: 1.05rem; } .sos small { opacity: .85; font-size: .8rem; }
.hl { padding: 10px 0; border-bottom: .5px solid var(--line); display: flex; flex-direction: column; gap: 3px; } .hl a { color: var(--orange); font-weight: 600; margin-right: 10px; text-decoration: none; } .hl small { color: var(--ink-soft); font-size: .76rem; }
.tips { padding-left: 18px; margin: 6px 0; } .tips li { margin: 6px 0; font-size: .9rem; line-height: 1.4; }
.nolist { list-style: none; padding: 0; margin: 6px 0; display: flex; flex-direction: column; gap: 6px; } .nolist li { padding: 9px 12px 9px 34px; border-radius: 12px; background: color-mix(in srgb, #c8282e 8%, var(--paper)); position: relative; font-size: .88rem; }
.nolist li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px solid #c8282e; background: linear-gradient(45deg, transparent 44%, #c8282e 44% 56%, transparent 56%); }
.src { font-size: .72rem; color: var(--ink-soft); white-space: nowrap; }
.reports { margin-top: 14px; } .rep { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: .5px solid var(--line); flex-wrap: wrap; } .rep > span { font-size: .86rem; display: flex; flex-direction: column; } .rep small { color: var(--ink-soft); font-size: .74rem; }
.story { display: flex; gap: 10px; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, #7b3fd1 9%, var(--paper)); margin: 14px 0 6px; } .story svg { width: 22px; height: 22px; flex: none; fill: none; stroke: #7b3fd1; stroke-width: 1.8; } .story p { margin: 0; font-size: .88rem; }
.thennow { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: var(--stone); } .thennow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tn-then { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); filter: sepia(.25); } .tn-then::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.5); }
.tn-y { position: absolute; top: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; font-weight: 600; } .tn-y--a { left: 10px; } .tn-y--b { right: 10px; }
.thennow input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ess { list-style: none; padding: 0; margin: 6px 0; } .ess li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .86rem; } .ess small { margin-left: auto; color: var(--ink-soft); }
.ess i { width: 10px; height: 10px; border-radius: 3px; background: #5b6472; } .ess--toilets i { background: #1f6feb; } .ess--atm i, .ess--bank i { background: #16884a; } .ess--pharmacy i, .ess--clinic i, .ess--hospital i { background: #c8282e; } .ess--convenience i, .ess--supermarket i { background: #e2541c; }
/* commutes */
.hero--sm { margin-top: 8px; padding-top: 10px; padding-bottom: 10px; } .hero .hot { color: var(--warn); }
.days { display: flex; gap: 6px; } .days button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font: inherit; font-weight: 700; font-size: .82rem; color: var(--ink-soft); cursor: pointer; } .days button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.plan--cm { gap: 10px; } .plan--cm .sel input { border: 0; background: none; font: inherit; color: var(--ink); }
/* trip mode */
.ride-hero { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; background: color-mix(in srgb, var(--orange) 10%, var(--paper)); } .ride-hero .tren { animation: bob .8s ease-in-out infinite alternate; } .ride-hero b { display: block; font-family: var(--display); font-size: 2rem; letter-spacing: -.02em; } .ride-hero small, .ride-hero span { color: var(--ink-soft); font-size: .8rem; }
.ride-legs { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-direction: column; gap: 4px; } .ride-legs li { padding: 10px 12px; border-radius: 16px; border-left: 4px solid var(--lc, var(--sand)); background: var(--stone); display: flex; flex-direction: column; gap: 4px; }
.ride-legs li.done { opacity: .5; } .ride-legs li.cur { background: color-mix(in srgb, var(--lc, var(--orange)) 12%, var(--paper)); box-shadow: 0 2px 10px rgba(0,0,0,.08); } .ride-legs small { color: var(--ink-soft); font-size: .78rem; }
.ride-stops { display: flex; gap: 3px; align-items: center; } .ride-stops i { flex: 1; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--lc) 25%, transparent); } .ride-stops i.past { background: var(--lc); }
.pill--live { box-shadow: 0 0 0 2px var(--orange), var(--shadow); }
.lbl--buddy { padding: 0; background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 3; } .lbl--buddy .tren { width: 38px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); animation: bob .7s ease-in-out infinite alternate; }
.lbl--buddy b { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; display: grid; place-items: center; } .lbl--buddy b:empty { display: none; }
.lbl--mine { background: var(--ink); color: var(--paper); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; } .lbl--mine i { width: 9px; height: 9px; background: #ffd23f; clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 78%, 20% 100%, 30% 60%, 0 38%, 38% 35%); }
.yay { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; pointer-events: auto; overflow: hidden; background: rgba(0,0,0,.18); animation: fadein .3s; }
.yay__card { background: var(--paper); border-radius: 28px; padding: 24px 30px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--shadow-lg); animation: island .5s var(--spring); text-align: center; } .yay__card b { font-family: var(--display); font-size: 1.6rem; } .yay__card small { color: var(--ink-soft); }
.yay i { position: absolute; top: -12px; left: var(--x); width: 9px; height: 14px; border-radius: 2px; background: var(--c); animation: confetti 2.6s var(--d) ease-in forwards; }
@keyframes confetti { to { transform: translateY(105vh) rotate(720deg); } } @keyframes fadein { from { opacity: 0; } }
.bounce { animation: hop .6s var(--spring) 3; } @keyframes hop { 50% { transform: translateY(-14px) rotate(-4deg); } }
/* race */
.race { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; background: rgba(0,0,0,.35); padding: 16px; } .race__card { width: min(520px, 100%); background: var(--paper); border-radius: 26px; padding: 20px; box-shadow: var(--shadow-lg); } .race__card h2 { margin: 0 0 12px; font-family: var(--display); }
.lane { display: grid; grid-template-columns: 70px 1fr 82px; align-items: center; gap: 8px; margin: 10px 0; } .lane__lbl { font-size: .8rem; font-weight: 600; } .lane b { text-align: right; font-size: .85rem; }
.track { position: relative; height: 44px; border-radius: 12px; background: var(--stone); overflow: hidden; } .track--road { background: repeating-linear-gradient(90deg, var(--stone) 0 18px, color-mix(in srgb, var(--ink) 10%, var(--stone)) 18px 26px); }
.runner { position: absolute; left: 0; top: 4px; } .runner .tren { width: 34px; height: 36px; } .runner.car svg { width: 40px; height: 22px; margin-top: 8px; }
.flag { position: absolute; right: 4px; top: 8px; width: 4px; height: 28px; background: repeating-linear-gradient(180deg, #121212 0 4px, #fff 4px 8px); }
.race__res { min-height: 1.4em; font-weight: 600; }
/* first and last mile */
.mile { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; } .chip--plain { background: none; border: 1px dashed var(--sand); }
/* photo mode */
.shutter { width: 62px; height: 62px; border-radius: 50%; border: 4px solid var(--paper); background: var(--orange); box-shadow: 0 0 0 2px var(--orange); cursor: pointer; transition: transform .2s var(--spring); } .shutter:active { transform: scale(.9); }
/* map styles */
body[data-map]:not([data-map="clean"]) .lbl:not(.lbl--area):not(.lbl--line):not(.lbl--mine) { background: var(--map-lbl-bg, rgba(24,24,24,.85)); color: var(--map-lbl-fg, #f4f2ee); }
body[data-fx="pixel"] .lbl { font-family: ui-monospace, "SF Mono", Menlo, monospace; border-radius: 0 !important; letter-spacing: .02em; }
/* map theme effects: a light layer between the 3D map and the labels */
#mapfx { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body[data-fx="rain"] #mapfx, body[data-fx="storm"] #mapfx { background-image: repeating-linear-gradient(104deg, transparent 0 22px, rgba(255,255,255,.16) 22px 23px, transparent 23px 47px); background-size: 120px 120px; animation: fx-rain .5s linear infinite; }
body[data-fx="storm"] #mapfx { background-image: repeating-linear-gradient(112deg, transparent 0 14px, rgba(220,235,255,.2) 14px 15.5px, transparent 15.5px 31px); animation: fx-rain .32s linear infinite, fx-flash 9s steps(1) infinite; }
@keyframes fx-rain { to { transform: translate3d(-40px, 120px, 0); } }
@keyframes fx-flash { 0%, 96%, 98% { box-shadow: none; } 97%, 99% { box-shadow: inset 0 0 0 100vmax rgba(220,235,255,.18); } }
body[data-fx="heat"] #mapfx { background: radial-gradient(120% 70% at 50% 0%, rgba(255,170,60,.22), transparent 60%); animation: fx-heat 6s ease-in-out infinite alternate; }
@keyframes fx-heat { to { opacity: .55; } }
body[data-fx="sakura"] #mapfx { background-image: radial-gradient(4px 3px at 20% 30%, #f6b8cb 60%, transparent 62%), radial-gradient(3px 4px at 70% 10%, #f9c9d7 60%, transparent 62%), radial-gradient(4px 3px at 45% 70%, #f6b8cb 60%, transparent 62%), radial-gradient(3px 3px at 85% 55%, #fbd3df 60%, transparent 62%); background-size: 260px 260px; opacity: .8; animation: fx-petal 18s linear infinite; }
@keyframes fx-petal { to { transform: translate3d(-260px, 260px, 0); } }
body[data-fx="paper"] #mapfx, body[data-fx="sketch"] #mapfx, body[data-fx="water"] #mapfx { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .25 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: multiply; opacity: .35; }
body[data-fx="paper"] #mapfx { box-shadow: inset 0 0 120px rgba(110,70,30,.35); }

body[data-fx="sketch"] #mapfx { opacity: .28; }

body[data-fx="water"] #mapfx { opacity: .3; background-color: transparent; }

body[data-fx="toy"] #mapfx { box-shadow: inset 0 0 90px rgba(255,170,200,.35); }
body[data-fx="capiz"] #mapfx { background-image: linear-gradient(135deg, rgba(207,227,240,.35), rgba(243,214,228,.35)), repeating-linear-gradient(0deg, transparent 0 46px, rgba(150,120,80,.18) 46px 48px), repeating-linear-gradient(90deg, transparent 0 46px, rgba(150,120,80,.18) 46px 48px); opacity: .45; }
body[data-fx="banig"] #mapfx { background-image: repeating-linear-gradient(45deg, rgba(176,48,106,.14) 0 10px, transparent 10px 20px), repeating-linear-gradient(-45deg, rgba(44,62,140,.12) 0 10px, transparent 10px 20px); opacity: .55; }
body[data-fx="fiesta"] #mapfx { box-shadow: inset 0 -6px 0 #e4007c, inset 0 -12px 0 #ffc20e, inset 0 -18px 0 #1f4fbf; }
body[data-fx="banderitas"] #mapfx { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='34'%3E%3Cpath d='M0 4 Q60 14 120 4' stroke='%23946' fill='none'/%3E%3Cpath d='M4 5l10 22 10-20Z' fill='%23ff4f7b'/%3E%3Cpath d='M34 8l10 22 10-21Z' fill='%23ffd23f'/%3E%3Cpath d='M64 9l10 22 10-21Z' fill='%232bb3ff'/%3E%3Cpath d='M94 7l10 22 10-21Z' fill='%2334c759'/%3E%3C/svg%3E") repeat-x 0 calc(env(safe-area-inset-top) + 2px) / 120px 34px; opacity: .9; }
body[data-fx="parol"] #mapfx { background-image: radial-gradient(3px 3px at 12% 22%, #ffd166, transparent 70%), radial-gradient(2px 2px at 38% 12%, #fff4d6, transparent 70%), radial-gradient(3px 3px at 66% 30%, #ff5c8a, transparent 70%), radial-gradient(2px 2px at 88% 16%, #ffd166, transparent 70%), radial-gradient(3px 3px at 24% 64%, #8fb0ff, transparent 70%), radial-gradient(2px 2px at 78% 74%, #ffd166, transparent 70%); background-size: 340px 340px; animation: fx-twinkle 3.2s ease-in-out infinite alternate; }
@keyframes fx-twinkle { to { opacity: .45; } }

html.calm #mapfx, html.calm body #mapfx { animation: none !important; }
@media (prefers-reduced-motion: reduce) { #mapfx { animation: none !important; } }
.pitch b { font-size: .8rem; font-weight: 800; letter-spacing: .02em; }
.mascot-prev, .icons .tren, .tren { stroke: none; }
.stamps { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }

/* ===== v9: steadier controls, compact phone layout ===== */
.search, .year-chip, .icon, .pill { background: var(--lg-bg), color-mix(in srgb, var(--paper) 58%, transparent); -webkit-backdrop-filter: var(--ctl-blur, blur(20px) saturate(1.05)); backdrop-filter: var(--ctl-blur, blur(20px) saturate(1.05)); }
.icon[aria-pressed="true"], .icon[aria-expanded="true"] { background: var(--ink); }
.compass:not(.is-off) { display: none; }
@media (max-width: 899px) {
  .ctrl { gap: 6px; right: 10px; }
  .ctrl .icon { width: 40px; height: 40px; border-radius: 14px; }
  .ctrl .icon svg { width: 18px; height: 18px; }
}
@media (min-width: 900px) { .pill { left: 440px; right: auto; top: calc(env(safe-area-inset-top, 0px) + 14px); } }
.plan { grid-template-columns: minmax(0, 1fr) 44px; } .plan .field { min-width: 0; }
.opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
.opts .sel { min-width: 0; padding: 6px 10px; font-size: .82rem; } .opts .sel select { font-size: .86rem; min-width: 0; width: 100%; text-overflow: ellipsis; } .opts .sel:has(input[type=checkbox]) { grid-column: 1 / -1; justify-content: flex-start; background: none; padding: 2px 4px; }
/* one-line heads-ups that open on tap */
.hu { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 16px; padding: 10px 12px; background: var(--tb, var(--stone)); color: var(--ink); font: inherit; text-align: left; cursor: pointer; margin-top: 8px; }
.hu__ic { width: 30px; height: 30px; border-radius: 10px; background: var(--tc, #888); color: #fff; display: grid; place-items: center; flex: none; } .hu__ic svg { width: 17px; height: 17px; }
.hu > span:not(.hu__ic) { display: flex; flex-direction: column; min-width: 0; flex: 1; } .hu b { font-size: .88rem; } .hu small { color: var(--ink-soft); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hu[aria-expanded="true"] small { white-space: normal; } .hu .chev { width: 16px; height: 16px; transition: transform .25s; } .hu[aria-expanded="true"] .chev { transform: rotate(90deg); }
/* settings jump chips */
.jump { position: sticky; top: -4px; z-index: 2; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: 0 0 4px; background: linear-gradient(var(--paper) 80%, transparent); } .jump::-webkit-scrollbar { display: none; }
.jump a, .jump button { flex: none; border: 0; cursor: pointer; padding: 6px 12px; border-radius: 999px; background: var(--stone); color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 600; }
details.reports > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; } details.reports > summary::-webkit-details-marker { display: none; }
details.reports > summary h3 { margin: 0; } details.reports > summary small { color: var(--ink-soft); font-size: .8rem; }
.lbl--poi.dot { pointer-events: auto; }
/* v9 polish: quiet-hours times fit on phones; rider reports show they open */
.me-in--t { min-width: 0; width: 126px; font-size: .86rem; padding-left: 8px; padding-right: 6px; font-variant-numeric: tabular-nums; }
.me-row .row:has(.me-in--t) { gap: 6px; flex-wrap: nowrap; } .me-in--t::-webkit-calendar-picker-indicator { margin-left: 2px; padding: 0; }
details.reports > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); margin: -4px 4px 0 6px; transition: transform .2s; flex: none; }
details.reports[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
details.reports > summary small { margin-left: auto; }
.me-h[id] { scroll-margin-top: 60px; }
.nearby small { white-space: nowrap; flex: none; }
/* v10: Luzon road transport (jeeps, buses, UV, P2P, ferries) */
.topts { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px 0 10px; padding-bottom: 2px; } .topts::-webkit-scrollbar { display: none; }
.topt { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 112px; padding: 10px 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.topt.on { border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent); }
.topt b { font-size: 1rem; } .topt small { color: var(--ink-soft); font-size: .78rem; }
.topt__m { display: flex; gap: 3px; flex-wrap: wrap; } .topt__m i { font-style: normal; font-size: .66rem; font-weight: 700; color: #fff; padding: 2px 6px; border-radius: 6px; line-height: 1.3; }
.signboard { display: inline-block; font-weight: 800; letter-spacing: .02em; padding: 1px 8px; border-radius: 6px; background: #fffbe6; color: #1b1b1b; border: 2px solid var(--sc, #d9480f); font-size: .9em; }
.signboard--xl { font-size: 1.6rem; padding: 4px 14px; margin: 6px 0 2px; }
.road-name { display: block; color: var(--ink); font-size: .84rem; margin-top: 2px; }
.legs small.asof { font-size: .74rem; opacity: .85; }
.legs .linkbtn, .asof .linkbtn { border: 0; background: none; padding: 0; color: var(--orange); font: inherit; text-decoration: underline; cursor: pointer; }
.route-hero { border-left: 6px solid var(--sc); padding: 4px 0 4px 14px; margin-bottom: 10px; } .route-hero h3 { margin: 6px 0 2px; }
.mode-chip { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sc); }
.asof-card { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: var(--stone); margin: 8px 0 12px; font-size: .86rem; } .asof-card b { font-size: .95rem; } #rideCheck { color: var(--ink-soft); font-size: .8rem; }
.stops-list { margin: 4px 0 12px; padding-left: 22px; columns: 2; column-gap: 18px; font-size: .86rem; } .stops-list li { break-inside: avoid; padding: 2px 0; }
@media (max-width: 420px) { .stops-list { columns: 1; } }
.rides { display: flex; flex-direction: column; gap: 4px; }
.ride-row { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ride-row b { display: block; font-size: .88rem; } .ride-row small { color: var(--ink-soft); font-size: .76rem; }
.mode-dot { flex: none; min-width: 34px; height: 24px; border-radius: 7px; color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.rep-form { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; } .rep-form label { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; } .rep-form input { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.lyr-key--roads { background: linear-gradient(90deg, #d9480f 0 33%, #1971c2 33% 66%, #7048e8 66%); }
.split { margin: 10px 0; } .split summary { cursor: pointer; font-weight: 600; font-size: .9rem; padding: 6px 0; }
.split__row { display: flex; gap: 10px; flex-wrap: wrap; } .split__row label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--ink-soft); }
.split__row input { width: 90px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.split__out { font-size: .95rem; margin: 8px 0 2px; }

/* v12 safety */
.icon--sos svg { stroke: #c8282e; }
.sos-911 { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px; border-radius: 22px; background: #c8282e; color: #fff; text-decoration: none; margin: 4px 0 12px; box-shadow: 0 6px 18px rgba(200, 40, 46, .28); }
.sos-911 span { font-size: 2.2rem; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.sos-911 small { font-size: .82rem; opacity: .92; }
.readout { padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 0 0 12px; }
.readout p { margin: 6px 0 8px; font-size: 1rem; line-height: 1.45; }
.sos-row { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sos-row small { display: block; color: var(--ink-soft); font-size: .76rem; margin-top: 2px; }
.sos-row small a { color: inherit; }
.sos-call { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.sos-call b { font-size: 1.15rem; font-variant-numeric: tabular-nums; color: #c8282e; min-width: 4.5em; }
.sos-call span { font-size: .88rem; font-weight: 600; }
.help-dot { background: #5c6b7a; } .help-hospital { background: #c8282e; } .help-clinic { background: #e8590c; } .help-police { background: #1c5fbf; } .help-fire { background: #b5371a; } .help-townhall { background: #2f7d4f; } .help-aed { background: #0f8a8a; }
.btn--danger { background: #c8282e; color: #fff; border-color: #c8282e; }
.contact-row .chip { flex: none; }
.rep-form select { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; }
.lyr-key--flood { background: linear-gradient(90deg, #8ec5ff 0 33%, #3b82f6 33% 66%, #1e3a8a 66%); }
.lyr-note { margin: -2px 0 6px 26px; font-size: .72rem; color: var(--ink-soft); line-height: 1.35; max-width: 240px; }
/* PAGASA warnings */
.block--empty { display: none; }
.pg-alert { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin: 0 0 8px; border-radius: 16px; border: 1px solid transparent; font: inherit; text-align: left; cursor: pointer; color: var(--ink); background: var(--paper); }
.pg-alert svg { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pg-alert b { display: block; font-size: .88rem; } .pg-alert small { display: block; font-size: .74rem; color: var(--ink-soft); }
.pg-alert em { font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .06em; opacity: .7; }
.pg-yellow { background: #fff6cc; border-color: #f0d24a; color: #5a4600; } .pg-orange { background: #ffe6cf; border-color: #f59e42; color: #6b3300; } .pg-red { background: #ffd9d9; border-color: #e5484d; color: #7a1418; } .pg-info { background: #e6f0ff; border-color: #9cc0f5; color: #173a6b; }
.pg-alert.pg-yellow small, .pg-alert.pg-orange small, .pg-alert.pg-red small, .pg-alert.pg-info small { color: inherit; opacity: .8; }
.pg-card { padding: 12px 14px; border-radius: 16px; border: 1px solid; margin: 0 0 10px; }
.pg-card b { display: block; } .pg-card small { display: block; font-size: .76rem; margin-top: 2px; } .pg-card p { font-size: .84rem; margin: 8px 0 4px; line-height: 1.45; }
.gauges { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.gauge { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 86px; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.gauge i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: linear-gradient(#8ec5ff, #3b82f6); opacity: .35; }
.gauge b, .gauge small { position: relative; } .gauge b { font-size: .8rem; line-height: 1.2; } .gauge small { font-size: .66rem; color: var(--ink-soft); }
.gauge:disabled { opacity: .5; }
.lbl--flood { background: #1e3a8a; color: #fff; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.lbl--flood i { width: 8px; height: 10px; background: #8ec5ff; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.lbl--fd0, .lbl--fd1 { background: #3b82f6; } .lbl--fd5, .lbl--fd6 { background: #b42318; }
/* hop-off alarm */
.hop-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; } .hop-row .toggle { flex: 1; border-bottom: 0; }
.hop-ring { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(240, 90, 31, .98); animation: hopPulse 1.6s ease-in-out infinite; padding: 24px; }
.hop-ring__card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; max-width: 340px; }
.hop-ring__card b { font-size: 2.6rem; font-weight: 800; letter-spacing: .01em; }
.hop-ring__card span { font-size: 1.05rem; }
.hop-ring__card .btn { margin-top: 12px; background: #fff; color: #c2410c; font-size: 1.1rem; padding: 16px 32px; }
@keyframes hopPulse { 50% { background: rgba(200, 40, 46, .98); } }
@media (prefers-reduced-motion: reduce) { .hop-ring { animation: none; } }
/* sync */
.sync-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 10px 0; }
.sync-code small { width: 100%; color: var(--ink-soft); font-size: .74rem; }
.sync-code b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; letter-spacing: .04em; flex: 1; }
.sync-qr { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 6px 0 12px; } .sync-qr svg { width: 180px; height: 180px; background: #fff; border-radius: 12px; } .sync-qr small { color: var(--ink-soft); font-size: .74rem; }
.cardlist li { position: relative; display: flex; align-items: center; gap: 6px; transition: transform .15s ease; background: var(--bg, transparent); }
.cardlist li.dragging { transition: none; z-index: 2; box-shadow: 0 8px 22px rgba(0,0,0,.14); border-radius: 12px; background: var(--paper); }
.cardlist .grip { flex: none; width: 30px; height: 40px; display: grid; place-items: center; cursor: grab; touch-action: none; color: var(--ink-soft); }
.cardlist .grip svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.cardlist li .toggle { flex: 1; }
.me-row--nick .me-in { min-width: 160px; }
.no-year .year-chip, .no-year #future { display: none !important; }
/* Lines tab: vehicle types */
.ltabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 12px; padding: 2px 16px 4px; -webkit-overflow-scrolling: touch; } .ltabs::-webkit-scrollbar { display: none; }
.ltabs .chip { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.mode-pip { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.chip--icon { padding: 0 10px; } .chip--icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lset { padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); } .lset > b { display: block; font-size: .8rem; margin: 4px 0 6px; color: var(--ink-soft); }
.chip--check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; } .chip--check input { accent-color: var(--orange); }
.rgroup { margin: 8px 0; } .rgroup summary { cursor: pointer; font-weight: 600; padding: 8px 2px; } .rgroup summary small { color: var(--ink-soft); font-weight: 400; margin-left: 4px; }
.road-filter { width: 100%; margin: 0 0 6px; }
.lbl--area-district { font-size: 10px; letter-spacing: .1em; color: color-mix(in srgb, var(--ink) 40%, transparent); }
/* ticker */
.ticker { position: fixed; z-index: 6; left: 12px; right: 66px; top: calc(env(safe-area-inset-top, 0px) + 68px); height: 38px; display: flex; align-items: center; gap: 4px; padding: 0 4px 0 6px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow); overflow: hidden; }
.ticker[hidden], .no-ticker .ticker { display: none; }
.ticker__item { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 100%; border: 0; background: none; color: var(--ink); font: inherit; font-size: .84rem; text-align: left; cursor: pointer; padding: 0 4px; transition: opacity .22s ease, transform .22s ease; }
.ticker__item.out { opacity: 0; transform: translateY(-6px); }
.ticker__txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker__tag { flex: none; font-size: .64rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink-soft); }
.tk-warn { background: #ffe6cf; color: #7a3a00; } .tk-urgent { background: #c8282e; color: #fff; } .tk-sp { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); }
.ticker__item.sev-urgent { color: #b0181f; font-weight: 600; }
.ticker:has(.sev-urgent) { background: #fff1f1; box-shadow: 0 0 0 1.5px #e5484d inset, var(--shadow); }
.ticker__n { flex: none; font-size: .66rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ticker__next { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--ink-soft); display: grid; place-items: center; cursor: pointer; }
.ticker__next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (min-width: 900px) { .ticker { left: 440px; right: auto; top: calc(env(safe-area-inset-top, 0px) + 16px); width: clamp(280px, calc(100vw - 900px), 560px); height: 42px; } }
@media (prefers-reduced-motion: reduce) { .ticker__item { transition: none; } }
.tick-card { padding: 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 12px; } .tick-card small { color: var(--ink-soft); } .tick-card b { display: block; font-size: 1.05rem; margin: 6px 0; } .tick-card.sev-urgent { border-color: #e5484d; background: #fff1f1; } .tick-card.sev-warn { border-color: #f5b041; }
.tk-topics { margin: 4px 0 10px; }
.ticker__txt.slide { text-overflow: clip; } .ticker__txt.slide > * , .ticker__txt.slide { animation: tkSlide var(--dur, 4s) linear 1.4s 1 forwards; }
@keyframes tkSlide { to { text-indent: var(--over); } }
/* community */
.pulse-strip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 0 0 12px; }
.pulse-strip b { display: block; font-size: .92rem; } .pulse-strip small { color: var(--ink-soft); font-size: .76rem; }
.pdot { width: 10px; height: 10px; border-radius: 50%; background: #9a978f; flex: none; } .pdot.live { background: #1fa45a; box-shadow: 0 0 0 0 rgba(31,164,90,.5); animation: pdot 2s infinite; }
@keyframes pdot { 70% { box-shadow: 0 0 0 9px rgba(31,164,90,0); } 100% { box-shadow: 0 0 0 0 rgba(31,164,90,0); } }
@media (prefers-reduced-motion: reduce) { .pdot.live { animation: none; } }
.ev-card { padding: 12px 14px; border-radius: 16px; margin: 0 0 10px; background: var(--paper); border: 1px solid var(--line); } .ev-card small { display: block; color: var(--ink-soft); font-size: .74rem; } .ev-card b { display: block; margin: 3px 0; } .ev-card .row { gap: 6px; flex-wrap: wrap; align-items: center; }
.ev-promo { border-color: #2f9e44; background: color-mix(in srgb, #2f9e44 8%, var(--paper)); } .ev-strike, .ev-suspension { border-color: #f59e42; background: color-mix(in srgb, #f59e42 10%, var(--paper)); } .ev-events { border-color: #7048e8; background: color-mix(in srgb, #7048e8 7%, var(--paper)); } .ev-milestone, .ev-line { border-color: color-mix(in srgb, var(--orange) 40%, transparent); }
.poll { padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; } .poll > small { color: var(--ink-soft); font-size: .74rem; } .poll > b { font-size: .98rem; }
.poll__opt { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg, transparent); color: var(--ink); font: inherit; cursor: pointer; }
.poll__bar { position: relative; display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); } .poll__bar i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--orange) 16%, transparent); } .poll__bar span, .poll__bar b { position: relative; font-size: .86rem; } .poll__bar.mine { border-color: var(--orange); }
.shout { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin: 6px 0 10px; } .shout > b { width: 100%; font-size: .86rem; } .shout__p { padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: .82rem; } .shout__p small { color: var(--ink-soft); }
.kudos { display: grid; gap: 8px; } .kudo { padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, #f59f00 10%, var(--paper)); border: 1px solid color-mix(in srgb, #f59f00 30%, transparent); } .kudo b { display: block; font-size: .88rem; } .kudo small { color: var(--ink-soft); font-size: .74rem; }
.comm-st { margin: 12px 0; padding: 12px 14px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.rep-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .rep-row small { display: block; color: var(--ink-soft); font-size: .74rem; }
.totoo { display: inline-flex; gap: 4px; align-items: center; } .totoo small { margin-right: 2px; }
.impact { margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 8%, transparent); } .impact b { display: block; font-size: .88rem; } .impact small { font-size: .78rem; }
.comm-row { cursor: pointer; }
.gauges--pila { grid-template-columns: repeat(2, 1fr); }
.lbl--comm { background: #fff; color: var(--ink, #181818); font-weight: 600; display: inline-flex; gap: 4px; align-items: center; border: 1px solid #e5e2da; }
.lbl--comm i { width: 8px; height: 8px; border-radius: 50%; } .lbl--comm-pila i { background: #e8590c; } .lbl--comm-sight i { background: #1971c2; }
.lyr-key--comm { height: 10px; width: 10px; border-radius: 50%; background: #e8590c; }
.ride-row.is-on { background: color-mix(in srgb, var(--orange) 10%, transparent); border-radius: 10px; }

/* challenges, trophies, records, clubs */
.chal { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: .5px solid var(--line); }
.chal .grow { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.chal b { font-size: .9rem; font-weight: 600; }
.pbar { display: block; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--orange); border-radius: 6px; transition: width .4s; }
.chal.done .pbar i { background: var(--c-green, #1e8c45); }
.chal.done b::after { content: " \2713"; color: var(--c-green, #1e8c45); }
.trophies { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.trophy { flex: 0 0 auto; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; background: color-mix(in srgb, #e8b400 14%, var(--paper)); text-align: center; }
.trophy svg { width: 26px; height: 26px; fill: none; stroke: #b88a00; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trophy small { font-size: .68rem; line-height: 1.2; color: var(--ink-soft); }
.suki { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 10%, var(--paper)); }
.suki b { font-size: 1rem; } .suki small { color: var(--ink-soft); }
.club { border-bottom: .5px solid var(--line); padding: 8px 2px; } .club summary { cursor: pointer; list-style: none; display: flex; gap: 8px; align-items: baseline; } .club summary::-webkit-details-marker { display: none; }
.club__body { padding: 6px 0 4px; }
.board { margin: 0; padding: 0; list-style: none; counter-reset: b; }
.board li { counter-increment: b; display: flex; align-items: baseline; gap: 6px; padding: 7px 2px; border-bottom: .5px solid var(--line); }
.board li::before { content: counter(b); width: 1.4em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.board li .grow { flex: 1; } .board li small { color: var(--ink-soft); } .board li.me .grow { font-weight: 700; color: var(--orange); }
/* mascot bodies and profile emoji */
.chip.is-locked { opacity: .55; } .chip.is-locked small { font-size: .68rem; color: var(--ink-soft); margin-left: 2px; }
.avatars { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; margin-top: 8px; }
.avatars button { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-size: 1.35rem; line-height: 1; display: grid; place-items: center; padding: 0; cursor: pointer; }
.avatars button svg { width: 70%; height: 70%; }
.avatars button[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 2px color-mix(in srgb, var(--orange) 30%, transparent); }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: color-mix(in srgb, var(--orange) 12%, var(--paper)); font-size: 1.15rem; line-height: 1; margin-right: 8px; }
.avatar--xl { width: 56px; height: 56px; flex-basis: 56px; font-size: 2rem; margin-right: 0; }

/* weekly wrapped */
.week-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 0; border-radius: 18px; text-align: left; color: #fff; background: linear-gradient(120deg, #ff5b1f, #d63384); cursor: pointer; font: inherit; }
.week-card.is-new { box-shadow: 0 6px 22px -8px #d63384; }
.week-card__ic { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; } .week-card__ic svg { width: 38px; height: 38px; }
.week-card .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .week-card small { opacity: .9; font-size: .74rem; } .week-card b { font-size: 1rem; }
.week-card .chip { background: rgba(255,255,255,.95); color: #121212; border: 0; }
.w-sub { opacity: .85; } .w-wins { display: flex; gap: 22px; } .w-wins span { display: flex; flex-direction: column; align-items: center; } .w-wins b { font-family: var(--display); font-size: 3.2rem; line-height: 1; } .w-wins small { opacity: .9; }
.lyr-key--bike { background: #1c8a52; } .lyr-key--covered { background: #c98a1e; }

/* station tips, Mapa Hero */
.tips { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; } .tips .tip { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 12px; background: color-mix(in srgb, var(--c-green, #1c8a52) 9%, var(--paper)); font-size: .86rem; } .tip small { color: var(--ink-soft); white-space: nowrap; }
.ev-hero { background: linear-gradient(120deg, color-mix(in srgb, #1c8a52 16%, var(--paper)), color-mix(in srgb, #1f6feb 12%, var(--paper))); }
p.warn { color: var(--amber); }

/* visitor guide */
.vlist { margin: 6px 0 10px; padding-left: 1.1em; } .vlist li { margin: 6px 0; line-height: 1.45; }
.sos-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--warn) 10%, var(--paper)); }
.has-pill .ticker { top: calc(env(safe-area-inset-top, 0px) + 116px); }
@media (min-width: 900px) { .has-pill .ticker { top: calc(env(safe-area-inset-top, 0px) + 68px); } }
@media (max-width: 899px) { .sheet-full .pill { opacity: 0; pointer-events: none; transition: opacity .2s; } }
/* commute helper (Lines tab and planner) */
.helper-box { margin: 4px 0 14px; } .helper-q { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.hsug { list-style: none; margin: 4px 0 0; padding: 0; border-radius: 14px; overflow: hidden; } .hsug li { display: flex; flex-direction: column; padding: 10px 12px; background: var(--paper); border-bottom: .5px solid var(--line); cursor: pointer; } .hsug li small { color: var(--ink-soft); }
.hcard { padding: 12px 14px; border-radius: 18px; margin: 10px 0; background: color-mix(in srgb, var(--hc, #888) 9%, var(--paper)); border: 1px solid color-mix(in srgb, var(--hc, #888) 22%, transparent); }
.hcard h4 { margin: 0 0 6px; font-size: .95rem; color: color-mix(in srgb, var(--hc, #888) 75%, var(--ink)); }
.hcard--blue { --hc: #1f6feb; } .hcard--green { --hc: #1c8a52; } .hcard--amber { --hc: #b26b00; } .hcard--purple { --hc: #7b3fd1; } .hcard--orange { --hc: #e2541c; }
.helper h4 { margin: 12px 0 6px; } .hstep { padding: 10px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); margin: 6px 0; } .hstep ol { margin: 0 0 6px; padding-left: 1.2em; } .hstep li { margin: 3px 0; }
.jump button.is-on { background: var(--ink); color: var(--paper); }
.sheet [hidden], #sheetBody [hidden] { display: none !important; }

/* ticker type chips: color and icon per kind */
.ticker__tag { display: inline-flex; align-items: center; gap: 4px; background: color-mix(in srgb, var(--tc, #888) 15%, var(--paper)) !important; color: color-mix(in srgb, var(--tc, #888) 85%, var(--ink)) !important; }
.ticker__tag svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ticker__tag.tk-urgent { background: #c8282e !important; color: #fff !important; }
.tk-ic { width: 14px; height: 14px; fill: none; stroke: var(--tc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-right: 2px; vertical-align: -2px; }
/* layers: a short, scrollable sheet with groups */
.layers { max-height: min(62vh, 520px); display: flex; flex-direction: column; overflow: hidden; }
.layers__head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 6px; } .layers__head b { font-size: 1rem; }
.layers__x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--stone); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.layers__scroll { overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px 6px; -webkit-overflow-scrolling: touch; }
.layers__scroll h5 { margin: 12px 2px 2px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
/* community tabs and colored section cards */
.ctabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 0 4px; margin: 4px 0 6px; position: sticky; top: -4px; z-index: 2; background: linear-gradient(var(--paper) 80%, transparent); }
.ctabs .chip { flex: none; } .ctabs .chip.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ccard { --cc: #888; margin: 12px 0; padding: 12px 14px 10px; border-radius: 20px; background: color-mix(in srgb, var(--cc) 8%, var(--paper)); border: 1px solid color-mix(in srgb, var(--cc) 20%, transparent); }
.ccard__h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 1rem; }
.ccard__ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--cc); color: #fff; flex: none; }
.ccard__ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ccard--orange { --cc: #e2541c; } .ccard--purple { --cc: #7b3fd1; } .ccard--blue { --cc: #1f6feb; } .ccard--green { --cc: #1c8a52; } .ccard--amber { --cc: #c27c0e; } .ccard--pink { --cc: #d63384; } .ccard--teal { --cc: #0f8a8a; }
.ccard .rides .ride-row { background: color-mix(in srgb, var(--paper) 70%, transparent); }
/* chat */
.chat-rooms { display: flex; flex-direction: column; gap: 6px; }
.chat-room { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--paper) 75%, transparent); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.chat-room .grow { display: flex; flex-direction: column; min-width: 0; } .chat-room small { color: var(--ink-soft); } .chat-room .chev { width: 16px; height: 16px; fill: none; stroke: var(--ink-soft); stroke-width: 2; }
.chat-room__ic { width: 34px; height: 34px; border-radius: 12px; flex: none; background: var(--rc, #1f6feb) center/18px no-repeat; }
.chat-room__ic--nb { --rc: #e2541c; } .chat-room__ic--ln { --rc: #1f6feb; } .chat-room__ic--st { --rc: #1c8a52; } .chat-room__ic--tb { --rc: #d63384; } .chat-room__ic--gp { --rc: #7b3fd1; }
.chat-room__ic { -webkit-mask: none; position: relative; } .chat-room__ic::after { content: ""; position: absolute; inset: 8px; border: 2px solid #fff; border-radius: 6px 6px 6px 1px; }
.chat-list { max-height: calc(100dvh - 330px); min-height: 240px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 4px 2px 8px; }
.chat-riders { margin: 0 0 8px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, #d63384 12%, var(--paper)); font-size: .85rem; }
.msg { display: flex; gap: 8px; align-items: flex-start; } .msg--me { flex-direction: row-reverse; }
.msg__av { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--stone); font-size: 1.05rem; font-weight: 700; }
.msg__b { max-width: 80%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--stone); } .msg--me .msg__b { border-radius: 16px 16px 4px 16px; background: color-mix(in srgb, var(--orange) 16%, var(--paper)); }
.msg--ph .msg__b p { font-weight: 600; }
.msg__who { display: block; color: var(--ink-soft); font-size: .72rem; } .msg__who i { font-style: normal; opacity: .7; }
.msg__b p { margin: 2px 0 4px; line-height: 1.35; word-wrap: break-word; }
.msg__re { display: flex; flex-wrap: wrap; gap: 4px; } .msg__re button { border: 0; border-radius: 999px; padding: 2px 8px; font-size: .7rem; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-soft); cursor: pointer; } .msg__re button.on { background: color-mix(in srgb, var(--orange) 20%, transparent); color: var(--ink); }
.msg__more { letter-spacing: .1em; }
.chat-compose { position: sticky; bottom: 0; padding: 8px 0 calc(env(safe-area-inset-bottom, 0px) + 84px); background: linear-gradient(transparent, var(--paper) 18%); }
.chat-phrases { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; } .chat-phrases .chip { flex: none; }
.chat-form { display: flex; gap: 8px; } .chat-form input { flex: 1; min-width: 0; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 10px 14px; font: inherit; }
.chat-menu { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.35); display: flex; align-items: flex-end; justify-content: center; }
.chat-menu__card { width: min(420px, 100%); margin: 0 12px calc(env(safe-area-inset-bottom, 0px) + 14px); padding: 14px; border-radius: 20px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.chat-menu__card button { border: 0; border-radius: 12px; padding: 12px; font: inherit; background: var(--stone); color: var(--ink); cursor: pointer; } .chat-menu__card button[data-a=report] { color: var(--warn); }
@media (min-width: 900px) { .chat-compose { padding-bottom: 12px; } .chat-list { max-height: calc(100dvh - 300px); } }
/* rider card, starter card, Bayanihan, frames */
.rcard { --fc: transparent; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 14%, var(--paper)), color-mix(in srgb, #7b3fd1 10%, var(--paper))); text-align: left; }
.rcard__av { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; background: var(--paper); box-shadow: 0 0 0 3px var(--fc); } .rcard__av svg { width: 70%; height: 70%; }
.rcard .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .rcard b { font-size: 1.05rem; }
.rcard__title { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.rcard__flair { display: flex; flex-wrap: wrap; gap: 4px; } .rcard__tro { font-size: .68rem; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, #e8b400 22%, var(--paper)); }
.rcard-btn { display: block; width: 100%; border: 0; padding: 0; background: none; font: inherit; color: inherit; text-align: center; cursor: pointer; margin: 8px 0; } .rcard-btn small { display: block; margin-top: 4px; }
.starter { padding: 12px 14px; border-radius: 18px; margin: 10px 0; background: color-mix(in srgb, #1c8a52 9%, var(--paper)); border: 1px dashed color-mix(in srgb, #1c8a52 45%, transparent); }
.starter__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 8px 0; }
.starter__st { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; } .starter__st i { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
.starter__st.on i { border: 0; background: #1c8a52 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 12 4 4 8-8' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center/18px no-repeat; }
.starter__st small { font-size: .58rem; line-height: 1.15; color: var(--ink-soft); }
.bay { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 8px; margin: 6px 0; } .bay small { font-size: .72rem; color: var(--ink-soft); }
.msg__av.fr1 { box-shadow: 0 0 0 2px #b0773c; } .msg__av.fr2 { box-shadow: 0 0 0 2px #9aa3ad; } .msg__av.fr3 { box-shadow: 0 0 0 2.5px #e0a800; }
.msg__title { margin-left: 6px; font-size: .62rem; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.chip--thx { background: color-mix(in srgb, var(--orange) 14%, var(--paper)); }
.ev-season { background: linear-gradient(120deg, color-mix(in srgb, #7048e8 14%, var(--paper)), color-mix(in srgb, #e2541c 10%, var(--paper))); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fb36a; margin-right: 6px; box-shadow: 0 0 0 0 #2fb36a; animation: livePulse 1.6s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.lbl--comm-veh i { background: #2fb36a; }
/* Layers > Look */
.apptheme { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); margin: 2px 0 8px; }
.apptheme button { flex: 1; border: 0; background: none; color: var(--ink); font: inherit; font-size: .85rem; padding: 6px 8px; border-radius: 999px; cursor: pointer; }
.apptheme button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px rgba(0,0,0,.15); font-weight: 600; }
.themes__g { margin: 2px 0 8px; }
.themes__g > small { display: block; color: var(--ink-soft); font-size: .72rem; margin: 0 0 4px; }
.themes__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.theme { border: 0; background: none; padding: 0; color: var(--ink); font: inherit; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.theme__sw { width: 100%; aspect-ratio: 1.5; border-radius: 10px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.theme[aria-pressed="true"] .theme__sw { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--orange); }
.theme__n { font-size: .74rem; line-height: 1.15; overflow-wrap: anywhere; }
.theme__why { display: none; }
.theme.is-locked .theme__sw { filter: grayscale(.7) brightness(.85); }
.theme.is-locked .theme__sw svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.theme.is-locked .theme__n { color: var(--ink-soft); }
/* active tab follows the accent; a rider-picked tab color tints the lens too */
.tabs__lens { box-shadow: inset 0 1px 1px rgba(255,255,255,1), inset 0 -2px 6px color-mix(in srgb, var(--tabc, #e2541c) 12%, transparent), 0 4px 14px color-mix(in srgb, var(--tabc, #e2541c) 22%, transparent); }
:root.tabtint .tabs__lens { background: linear-gradient(180deg, color-mix(in srgb, var(--tabc) 38%, rgba(255,255,255,.75)), color-mix(in srgb, var(--tabc) 22%, rgba(255,255,255,.2))); border-color: color-mix(in srgb, var(--tabc) 45%, #fff); box-shadow: inset 0 1px 1px rgba(255,255,255,.8), 0 4px 16px color-mix(in srgb, var(--tabc) 40%, transparent); }
:root.tabtint .tabs button[aria-current="page"] { color: var(--tabc-fg, var(--tabc)); }
/* color picker: palette, color wheel and hex code */
.cpick { display: flex; flex-direction: column; gap: 8px; }
.cpick__sw { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 6px; }
.cpick__sw button { aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); position: relative; padding: 0; }
.cpick__sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--c); }
.cpick__sw button i { font-style: normal; font-size: .7rem; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cpick__sw .cpick__same { background: conic-gradient(from 0deg, var(--orange), var(--orange) 50%, transparent 50%); box-shadow: inset 0 0 0 2px var(--orange); }
.cpick__own { display: flex; align-items: center; gap: 8px; }
.cpick__own input[type=color] { width: 40px; height: 34px; border: 0; padding: 0; background: none; border-radius: 10px; cursor: pointer; }
.cpick__own input[type=text] { flex: 1; min-width: 0; max-width: 140px; font: inherit; font-family: ui-monospace, Menlo, monospace; padding: 7px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--paper); color: var(--ink); text-transform: uppercase; }
.cpick__own small { color: var(--ink-soft); }
/* emoji picker */
.emo { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.emo__bar { display: flex; gap: 6px; }
.emo__bar #emoQ { flex: 1; min-width: 0; }
.emo__type { width: 92px; flex: none; text-align: center; }
.emo__cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.emo__cats .chip { font-size: 1.05rem; padding: 4px 9px; }
.emo__cats .chip[aria-pressed="true"] { background: color-mix(in srgb, var(--orange) 16%, transparent); }
.emo__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 2px; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
.emo__grid button { font-size: 1.5rem; line-height: 1; aspect-ratio: 1; border: 0; background: none; border-radius: 10px; cursor: pointer; padding: 0; }
.emo__grid button:hover, .emo__grid button[aria-selected="true"] { background: color-mix(in srgb, var(--orange) 14%, transparent); }
/* ===== Play: streak, quests, points, bingo, cards, records, footsteps, tanaw ===== */
.pl-ic svg, .pl-ic { width: 18px; height: 18px; display: inline-flex; }
.pl-ic svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-home { display: flex; flex-direction: column; gap: 10px; }
.pl-top { display: flex; gap: 10px; align-items: center; }
.pl-top .grow { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-top small { color: var(--ink-soft); }
.pl-m { width: 46px; height: 46px; flex: none; }
.pl-m--l { width: 72px; height: 72px; }
.pl-bar { display: block; height: 6px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--orange); border-radius: 9px; }
.pl-bar--s { height: 4px; margin-top: 4px; }
.pl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 16px; border: 0; background: var(--stone); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pl-stat b { font-size: 1.5rem; line-height: 1.1; }
.pl-stat small { color: var(--ink-soft); font-size: .78rem; }
.pl-stat.is-on .pl-ic { color: var(--orange); }
.pl-quests { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-quests li { display: flex; align-items: center; gap: 8px; font-size: .92rem; }
.pl-quests li > span:not(.pl-ic):not(.pl-dot) { flex: 1; }
.pl-quests li small { color: var(--ink-soft); }
.pl-quests li.is-done > span:not(.pl-ic) { text-decoration: line-through; color: var(--ink-soft); }
.pl-quests li.is-done .pl-ic { color: var(--ok, #16884a); }
.pl-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 30%, transparent); flex: none; margin: 0 2px; }
.pl-quests--big li { padding: 8px 10px; border-radius: 12px; background: var(--stone); }
.pl-sotd { display: flex; gap: 10px; align-items: center; width: 100%; border: 0; border-radius: 14px; padding: 10px 12px; background: color-mix(in srgb, var(--orange) 10%, var(--stone)); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pl-sotd .grow { display: flex; flex-direction: column; }
.pl-sotd small { color: var(--ink-soft); font-size: .78rem; }
.pl-sotd .pl-ic { color: var(--orange); }
.pl-hour { margin: 0; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, #7b3fd1 14%, transparent); font-size: .88rem; }
.pl-home .chips .chip { display: inline-flex; align-items: center; gap: 4px; }
.pl-big { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 14px; border-radius: 18px; background: var(--stone); margin-bottom: 10px; }
.pl-big .pl-ic { width: 28px; height: 28px; color: var(--orange); }
.pl-big .pl-ic svg { width: 28px; height: 28px; }
.pl-big b { font-size: 2.6rem; line-height: 1; }
.pl-big small { color: var(--ink-soft); }
.pl-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.pl-tier { padding: 8px 10px; border-radius: 12px; background: var(--stone); opacity: .7; }
.pl-tier.is-on { opacity: 1; box-shadow: inset 0 0 0 2px var(--orange); }
.pl-tier small { display: block; color: var(--ink-soft); }
.pl-bingo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.pl-cell { aspect-ratio: 1; border-radius: 10px; background: var(--stone); display: grid; place-items: center; padding: 3px; text-align: center; font-size: .62rem; line-height: 1.15; overflow: hidden; position: relative; box-shadow: inset 0 3px 0 var(--lc, transparent); }
.pl-cell span { overflow-wrap: anywhere; }
.pl-cell.task { background: color-mix(in srgb, #7b3fd1 10%, var(--stone)); }
.pl-cell.free { background: color-mix(in srgb, var(--orange) 22%, var(--stone)); font-weight: 700; }
.pl-cell.is-done { background: var(--orange); color: var(--on-orange, #fff); font-weight: 600; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.pl-card { position: relative; aspect-ratio: .72; border-radius: 12px; border: 0; padding: 22px 8px 8px; background: var(--stone); color: var(--ink); font: inherit; text-align: left; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; overflow: hidden; cursor: pointer; }
.pl-card__band { position: absolute; inset: 0 0 auto; height: 16px; background: var(--lc); }
.pl-card b { font-size: .78rem; line-height: 1.15; }
.pl-card small { font-size: .66rem; color: var(--ink-soft); }
.pl-card.r-legendary { box-shadow: inset 0 0 0 2px #e8b23a; background: linear-gradient(160deg, color-mix(in srgb, #e8b23a 22%, var(--stone)), var(--stone)); }
.pl-card.r-rare { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lc) 70%, #fff); }
.pl-card.r-classic { background: linear-gradient(160deg, color-mix(in srgb, #8a6a32 16%, var(--stone)), var(--stone)); }
.pl-card.is-locked { filter: grayscale(1); opacity: .45; cursor: default; }
.pl-card.is-locked b { font-size: 1.4rem; text-align: center; }
.pl-co2 { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 16px; background: color-mix(in srgb, #16884a 12%, var(--stone)); margin-bottom: 8px; }
.pl-co2 .pl-ic { color: #16884a; }
.pl-co2 .grow { display: flex; flex-direction: column; gap: 2px; }
.pl-co2 small { font-size: .78rem; color: var(--ink-soft); }
.pl-recs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pl-recs li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--stone); }
.pl-recs li .pl-ic { color: var(--ink-soft); }
.pl-recs li.is-done .pl-ic { color: #e8b23a; }
.pl-recs li small { color: var(--ink-soft); }
.pl-tanaw { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pl-tanaw figure { margin: 0; }
.pl-tanaw img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; display: block; }
.pl-tanaw figcaption { font-size: .74rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 4px; margin-top: 3px; }
.ride-now { font-size: .9rem; }
/* small celebration */
.pl-cele { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; pointer-events: auto; background: rgba(0,0,0,.18); opacity: 0; transition: opacity .3s; }
.pl-cele.is-on { opacity: 1; }
.pl-cele__card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: 20px 26px; display: grid; justify-items: center; gap: 4px; text-align: center; box-shadow: var(--shadow-lg, 0 20px 60px rgba(0,0,0,.3)); transform: scale(.8); transition: transform .45s cubic-bezier(.2,1.6,.4,1); max-width: 300px; }
.pl-cele.is-on .pl-cele__card { transform: scale(1); }
.pl-cele__m { width: 84px; height: 84px; animation: pl-hop .7s ease-in-out 2; }
.pl-cele__card small { color: var(--ink-soft); }
@keyframes pl-hop { 50% { transform: translateY(-12px) rotate(-4deg); } }
/* Siksikan ba? */
.crowd-ask { position: fixed; z-index: 55; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 84px); max-width: 420px; margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 12px 40px 12px 14px; box-shadow: var(--shadow-lg, 0 12px 40px rgba(0,0,0,.25)); transform: translateY(-20px); opacity: 0; transition: transform .35s, opacity .35s; }
.crowd-ask.is-on { transform: none; opacity: 1; }
.crowd-ask b small { font-weight: 400; color: var(--ink-soft); }
.crowd-ask__b { display: flex; gap: 6px; margin-top: 8px; }
.crowd-ask__b button { flex: 1; border: 0; border-radius: 12px; padding: 9px 4px; background: var(--stone); color: var(--ink); font: inherit; font-size: .88rem; cursor: pointer; }
.crowd-ask__b button:active { background: var(--orange); color: #fff; }
.crowd-ask__x { position: absolute; top: 6px; right: 8px; border: 0; background: none; color: var(--ink-soft); font-size: 1.4rem; cursor: pointer; }
html.calm .pl-cele__m { animation: none; }
/* friends on the map */
.lbl--friend { padding: 0; background: none !important; box-shadow: none; display: flex; flex-direction: column; align-items: center; pointer-events: none; z-index: 3; }
.lbl--friend i { font-style: normal; font-size: 26px; line-height: 1; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); box-shadow: 0 3px 8px rgba(0,0,0,.3), 0 0 0 2px var(--orange); }
.lbl--friend .tren { width: 34px; height: 36px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.35)); }
.lbl--friend b { margin-top: 2px; padding: 1px 7px; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: 11px; white-space: nowrap; }
/* Together */
.tog-join { padding: 12px; border-radius: 16px; background: var(--stone); display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.tog-join p { margin: 0; font-size: .9rem; }
.tog-rank { padding: 12px; border-radius: 16px; background: color-mix(in srgb, #16884a 10%, var(--stone)); display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.tog-rank b { font-size: 1.1rem; }
.tog-tier { padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--tc) 22%, var(--stone)); box-shadow: inset 4px 0 0 var(--tc); display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.tog-tier small { color: var(--ink-soft); }
.tog-board li { display: flex; gap: 10px; align-items: center; }
.tog-board li.up { box-shadow: inset 3px 0 0 #16884a; }
.tog-board li.down { box-shadow: inset 3px 0 0 #d0202e; }
.tog-board li.me { background: color-mix(in srgb, var(--orange) 14%, transparent); border-radius: 10px; }
.tog-champ { padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--lc) 22%, var(--stone)); box-shadow: inset 4px 0 0 var(--lc); margin-bottom: 8px; }
.tog-bars { display: flex; flex-direction: column; gap: 8px; }
.tog-bar { display: grid; grid-template-columns: 92px 1fr auto; gap: 8px; align-items: center; }
.tog-bar span { display: flex; flex-direction: column; font-size: .9rem; }
.tog-bar span small { color: var(--ink-soft); font-size: .72rem; }
.tog-bar i { display: block; height: 14px; border-radius: 8px; min-width: 6px; }
.tog-inv { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--stone); margin-bottom: 10px; }
.tog-inv .grow { display: flex; flex-direction: column; gap: 3px; }
.tog-inv small { color: var(--ink-soft); }
.tog-meet { list-style: none; padding: 0; margin: 10px 0; }
.heard { display: flex; flex-direction: column; gap: 6px; }
.chip--ghost { background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent); }
/* makers */
.lmk { display: flex; gap: 6px; align-items: center; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); flex-wrap: wrap; }
.lmk .grow { display: flex; flex-direction: column; min-width: 140px; }
.lmk small { color: var(--ink-soft); }
.lmk.is-ok b::after { content: " \2713"; color: #16884a; }
.lmk-add { margin-top: 8px; }
.lmk-add form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lmk-add input { flex: 1 1 200px; font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--paper); color: var(--ink); }
.lmk-add select { font: inherit; padding: 8px; border-radius: 10px; background: var(--paper); color: var(--ink); border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.taon-card { width: 100%; border: 0; border-radius: 18px; padding: 16px; text-align: left; color: #fff; font: inherit; background: linear-gradient(135deg, #1a1033, #3a1d6e 60%, #e2541c); display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.taon-card small { opacity: .8; } .taon-card b { font-size: 1.15rem; } .taon-card span { opacity: .9; font-size: .9rem; }
.stickers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sticker { border: 0; background: var(--stone); border-radius: 16px; padding: 8px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; color: #fff; font: inherit; }
.sticker svg { width: 70%; height: auto; }
.sticker span { font-size: .72rem; font-weight: 800; padding: 4px 8px; border-radius: 10px; text-align: center; line-height: 1.15; }
.quiz__opts { display: flex; flex-direction: column; gap: 8px; }
/* Layers: the Look section folds away so the layer switches stay close */
.lyr-look { border-radius: 14px; background: color-mix(in srgb, var(--ink) 5%, transparent); padding: 2px 10px; margin: 4px 0 8px; }
.lyr-look summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.lyr-look summary::-webkit-details-marker { display: none; }
.lyr-look summary .grow { display: flex; flex-direction: column; line-height: 1.2; }
.lyr-look summary small { color: var(--ink-soft); font-size: .78rem; }
.lyr-look__sw { width: 34px; height: 24px; border-radius: 7px; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.lyr-look__chev { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.lyr-look[open] .lyr-look__chev { transform: rotate(180deg); }
.lyr-look[open] { padding-bottom: 8px; }
.pulse-strip.quiet { flex-direction: column; align-items: stretch; gap: 8px; }
.pulse-strip__main { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; color: inherit; font: inherit; text-align: left; padding: 0; cursor: pointer; }
.pulse-strip__main .grow { display: flex; flex-direction: column; }
.pulse-strip__go { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; color: var(--orange); flex: none; }
/* a full-width search field with a magnifier */
.searchbar { position: relative; display: flex; align-items: center; width: 100%; }
.searchbar svg { position: absolute; left: 12px; width: 18px; height: 18px; fill: none; stroke: var(--ink-soft); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.searchbar input, .searchbar .me-in { width: 100%; padding: 11px 12px 11px 38px; border-radius: 14px; font-size: 1rem; font-weight: 400; }
[data-act=tilt] { touch-action: none; }
[data-act=tilt].is-tilting { transform: scale(1.12); box-shadow: 0 0 0 3px var(--orange); }
/* Home: Today hub plus clearly separated cards */
.hcard { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 10px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.hcard > .block:last-child { margin-bottom: 0; }
.hcard .block { margin-bottom: 10px; }
.hcard__t { margin: 0 0 10px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.hcard--today { background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 9%, var(--paper)), var(--paper) 55%); border-color: color-mix(in srgb, var(--orange) 25%, var(--line)); }
.hcard--today .hello { margin-top: 0; }
.hcard--today .pl-home { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }
.hmore-btn { display: block; width: 100%; border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); background: none; color: var(--ink); font: inherit; font-weight: 600; padding: 12px; border-radius: 16px; margin: 0 0 14px; cursor: pointer; }
/* big Play tiles */
.pl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pl-tile { border: 0; border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; cursor: pointer; font: inherit; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--tc) 85%, #fff), var(--tc)); box-shadow: 0 6px 14px color-mix(in srgb, var(--tc) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.35); text-align: left; transition: transform .15s; }
.pl-tile:active { transform: scale(.96); }
.pl-tile .pl-ic { width: 22px; height: 22px; } .pl-tile .pl-ic svg { width: 22px; height: 22px; }
.pl-tile b { font-size: .95rem; } .pl-tile small { opacity: .9; font-size: .74rem; }
.you-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0 14px; }
.you-q { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 14px; padding: 10px; font: inherit; font-size: .86rem; text-align: left; cursor: pointer; }
.you-q svg { width: 20px; height: 20px; flex: none; }
.tabs button { position: relative; }
.tab-dot { position: absolute; top: 6px; right: calc(50% - 16px); width: 9px; height: 9px; border-radius: 50%; background: #e5372b; box-shadow: 0 0 0 2px var(--paper); }
.icon--play { position: relative; color: var(--orange); }
.icon--play .tab-dot { top: 4px; right: 4px; }

/* ---------- v31: solo commuters and show-off ---------- */
.solo-ghost, .solo-comp { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; background: var(--stone); display: flex; flex-direction: column; gap: 2px; }
.solo-ghost { background: linear-gradient(120deg, color-mix(in srgb, #7b3fd1 16%, var(--paper)), var(--stone)); }
.solo-ghost small, .solo-comp small { color: var(--ink-soft); font-size: .84rem; }
.solo-comp .chips { margin-top: 6px; }
.door-guide { margin: 10px 0 0; padding: 9px 12px; border-left: 3px solid var(--orange); background: var(--stone); border-radius: 0 12px 12px 0; font-size: .86rem; }
.door-guide b { display: block; font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.mood-row { display: flex; gap: 4px; margin: 8px 0 6px; }
.mood-row button { flex: 1; border: 0; background: var(--stone); border-radius: 12px; padding: 6px 2px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; }
.mood-row svg { width: 30px; height: 30px; }
.mood-row small { color: var(--ink); font-size: .7rem; }
.mood-row button:active { transform: scale(.94); }
.diary-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 10px 0; text-align: center; }
.diary-cal b { font-size: .72rem; color: var(--ink-soft); }
.diary-cal span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--stone); font-size: .8rem; }
.diary-cal span.on { color: #fff; font-weight: 700; }
.diary-key { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--ink-soft); margin-bottom: 8px; }
.diary-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.night { background: linear-gradient(160deg, #1b1f3b, #0f1222); color: #eef; border-radius: 18px; padding: 14px; }
.night .soft { color: #c8cbe6; }
.night .chip { background: rgba(255,255,255,.12); color: #fff; border-color: transparent; }
.night-list { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.night-list li { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.fakecall { position: fixed; inset: 0; z-index: 200; background: linear-gradient(180deg, #2b2f36, #0d0f12); color: #fff; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: calc(env(safe-area-inset-top, 0px) + 90px) 24px calc(env(safe-area-inset-bottom, 0px) + 70px); }
.fakecall__who { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.fakecall__who small { opacity: .7; } .fakecall__who b { font-size: 2.2rem; font-weight: 500; } .fakecall__who span { opacity: .8; }
.fakecall__btns { display: flex; gap: 90px; }
.fakecall__btns button { width: 72px; height: 72px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; }
.fakecall__btns svg { width: 34px; height: 34px; fill: #fff; }
.fc-no { background: #eb4034; }
.fc-yes { background: #34c759; } .fc-yes svg { transform: rotate(-135deg); }
.bb { display: flex; flex-direction: column; gap: 8px; }
.bb label { display: flex; flex-direction: column; gap: 3px; font-size: .82rem; color: var(--ink-soft); }
.bb input, .bb select, .bb textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--stone); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.bb textarea { min-height: 80px; }
.cap { padding: 10px 12px; border-radius: 14px; background: var(--stone); margin: 6px 0; }
.cap.is-open { background: color-mix(in srgb, #7b3fd1 14%, var(--paper)); }
.cap p { margin: 4px 0 0; white-space: pre-wrap; }
.flex-id { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 20px; background: linear-gradient(140deg, color-mix(in srgb, var(--orange) 22%, var(--paper)), var(--stone)); margin-bottom: 10px; }
.flex-id svg { width: 76px; height: 78px; flex: none; }
.flex-id b { font-size: 1.2rem; display: block; } .flex-id small { display: block; color: var(--ink-soft); }
.flex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.flex-b { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 16px; padding: 12px 8px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.flex-b b { font-size: 1.15rem; } .flex-b small { color: var(--ink-soft); font-size: .74rem; }
.flex-b:active { transform: scale(.96); }
.pl-flex { width: 100%; margin-top: 8px; border: 0; border-radius: 16px; padding: 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; font: inherit; text-align: left; color: #fff; background: linear-gradient(120deg, #e2541c, #7b3fd1); box-shadow: 0 6px 16px rgba(123,63,209,.3); }
.pl-flex span { display: flex; flex-direction: column; } .pl-flex small { opacity: .9; font-size: .78rem; }
.pl-flex .pl-ic svg { width: 22px; height: 22px; }
.fare-note { margin: 8px 0 0; padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, #e8b400 18%, var(--paper)); font-size: .84rem; }

/* ---------- v32: daily pull ---------- */
.dl-home { display: flex; flex-direction: column; gap: 8px; }
.dl-rings { display: flex; align-items: center; gap: 12px; border: 0; background: var(--stone); color: var(--ink); border-radius: 18px; padding: 10px 12px; font: inherit; text-align: left; cursor: pointer; }
.dl-rings b { display: block; } .dl-rings small { color: var(--ink-soft); font-size: .8rem; } .dl-rings small .on { color: var(--ink); font-weight: 700; }
.dl-ask { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 12px; border-radius: 16px; background: color-mix(in srgb, var(--orange) 10%, var(--paper)); font-size: .9rem; }
.dl-ask svg { width: 40px; height: 42px; flex: none; }
.dl-ask small, .dl-wq small { color: var(--orange); font-weight: 700; }
.dl-wq { margin: 0; padding: 8px 12px; border-radius: 14px; background: color-mix(in srgb, #1c9bd6 12%, var(--paper)); font-size: .86rem; }
.dl-chip { border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .86rem; cursor: pointer; background: var(--stone); color: var(--ink); }
.dl-chip--gift { background: linear-gradient(120deg, #e8b400, #e2541c); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(226,84,28,.3); }
.dl-ringbig { display: flex; gap: 14px; align-items: center; }
.dl-ringbig ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dl-ringbig li { display: grid; grid-template-columns: 10px 1fr auto; column-gap: 8px; align-items: center; }
.dl-ringbig li i { width: 10px; height: 10px; border-radius: 50%; grid-row: span 2; }
.dl-ringbig li small { grid-column: 2; color: var(--ink-soft); font-size: .76rem; }
.dl-ok { grid-row: 1 / span 2; grid-column: 3; font-size: .74rem; font-weight: 700; color: var(--ok); }
.dl-week { display: flex; gap: 6px; height: 64px; align-items: flex-end; margin: 12px 0 6px; }
.dl-week span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 3px; }
.dl-week i { width: 100%; min-height: 3px; border-radius: 6px; background: linear-gradient(180deg, #1c9bd6, #16884a 50%, #e2541c); }
.dl-week small { font-size: .7rem; color: var(--ink-soft); }
.dl-gifts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 6px 0 10px; }
.dl-gifts span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; background: var(--stone); font-size: .78rem; color: var(--ink-soft); }
.dl-gifts span.on { background: linear-gradient(140deg, #e8b400, #e2541c); color: #fff; font-weight: 700; }
.dl-gifts span.today { outline: 2px solid var(--orange); outline-offset: -2px; }
.dl-pledge { padding: 10px 12px; border-radius: 14px; background: var(--stone); display: flex; flex-direction: column; gap: 4px; }
.dl-pledge.is-done { background: color-mix(in srgb, var(--ok) 16%, var(--paper)); }
.dl-pledge small { color: var(--ink-soft); }
.dl-city { padding: 12px; border-radius: 16px; background: color-mix(in srgb, #16884a 14%, var(--paper)); display: flex; flex-direction: column; gap: 2px; }
.dl-city b { font-size: 1.3rem; } .dl-city small { color: var(--ink-soft); }
.pl-flex--daily { background: linear-gradient(120deg, #1c9bd6, #16884a); margin: 0 0 12px; box-shadow: 0 6px 16px rgba(22,136,74,.3); }

/* ---------- v33: one hand, undo, voice, simple mode ---------- */
.lp-menu { position: fixed; z-index: 60; min-width: 190px; max-width: 260px; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: 18px; background: var(--paper); color: var(--ink); box-shadow: 0 14px 40px rgba(0,0,0,.28); transform: scale(.9) translateY(6px); opacity: 0; transform-origin: 50% 100%; transition: transform .22s var(--spring), opacity .18s; }
.lp-menu.is-on { transform: none; opacity: 1; }
.lp-menu b { padding: 4px 10px 6px; font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.lp-menu button { border: 0; background: none; color: var(--ink); font: inherit; text-align: left; padding: 11px 10px; border-radius: 12px; cursor: pointer; }
.lp-menu button:first-of-type { background: var(--orange); color: var(--on-orange); font-weight: 700; }
.lp-menu button:active { transform: scale(.97); }
.snack { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); max-width: 440px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translateY(20px); opacity: 0; transition: transform .3s var(--spring), opacity .25s; }
.snack.is-on { transform: none; opacity: 1; }
.snack span { flex: 1; font-size: .92rem; }
.snack button { border: 0; border-radius: 12px; padding: 9px 14px; font: inherit; font-weight: 700; background: var(--orange); color: var(--on-orange); cursor: pointer; }
.field { position: relative; }
.mic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--stone); color: var(--ink); cursor: pointer; margin-left: 4px; }
.mic svg, .mic-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mic.is-on { background: var(--orange); color: var(--on-orange); animation: micPulse 1.1s ease-in-out infinite; }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 60%, transparent); } 50% { box-shadow: 0 0 0 9px transparent; } }
.mic-top { pointer-events: auto; flex: none; width: 50px; height: 50px; border-radius: 999px; }

@keyframes riseBack { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
#sheetTitle.ti-in { animation: titleIn .32s var(--ease) both; }
@keyframes titleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
:root.simple { --fs: 20px; }
:root.simple .tabs button[data-tab="play"], :root.simple [data-act="play-map"], :root.simple .ticker, :root.simple .hcard--heard { display: none !important; }
:root.simple .btn, :root.simple .chip { min-height: 48px; font-size: 1.02rem; }
:root.simple .sheet__body .soft.small { font-size: .95rem; }
.rv { margin-top: 16px; }
.rv-head { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; } .rv-head b { font-size: 1.2rem; } .rv-head small { color: var(--ink-soft); }
.rv-stars { display: inline-flex; gap: 2px; } .rv-stars i { width: 14px; height: 14px; background: var(--sand); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rv-stars i.on { background: #e8b400; } .rv-stars i.half { background: linear-gradient(90deg, #e8b400 50%, var(--sand) 50%); }
.rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.rv-tag { border: 0; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: .82rem; background: var(--stone); color: var(--ink); }
.rv-tag.good { background: color-mix(in srgb, var(--ok) 15%, var(--paper)); } .rv-tag.bad { background: color-mix(in srgb, #e8930c 16%, var(--paper)); }
.rv-tags--pick .rv-tag { cursor: pointer; padding: 9px 13px; } .rv-tags--pick .rv-tag.is-on { outline: 2px solid var(--ink); font-weight: 700; }
.rv-note { padding: 10px 0; border-top: 1px solid var(--line); } .rv-note p { margin: 4px 0; } .rv-note small { color: var(--ink-soft); }
.rv-pick { display: flex; gap: 8px; justify-content: center; margin: 8px 0 14px; }
.rv-pick button { width: 52px; height: 52px; border: 0; background: none; cursor: pointer; padding: 0; } .rv-pick i { display: block; width: 100%; height: 100%; background: var(--sand); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: transform .2s var(--spring); }
.rv-pick button.on i { background: #e8b400; transform: scale(1.06); }
.rv-noteIn { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; } .rv-noteIn span { font-size: .86rem; color: var(--ink-soft); }
.rv-noteIn textarea { font: inherit; font-size: 16px; min-height: 80px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--stone); color: var(--ink); }

/* ---------- v34: the mascot chat ---------- */
.bot-fab { position: fixed; z-index: 7; right: 14px; bottom: calc(var(--sheet-h, 250px) + 14px); width: 62px; height: 62px; border: 0; border-radius: 22px; padding: 6px; cursor: pointer; background: var(--paper); box-shadow: var(--shadow); transition: bottom .42s cubic-bezier(.22, 1, .36, 1), transform .3s var(--spring), opacity .25s; }
.bot-fab svg { width: 100%; height: 100%; transform-origin: 50% 90%; }
.bot-fab.hi svg { animation: botBob 3.2s ease-in-out 2; }
.bot-fab:active { transform: scale(.92); }
.bot-fab.is-off, body.sheet-full .bot-fab, body.sheet-hidden .bot-fab { opacity: 0; pointer-events: none; transform: scale(.7); }
@media (min-width: 900px) { .bot-fab { bottom: 96px; right: 20px; } }
@keyframes botBob { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-3px) rotate(-4deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-2px) rotate(4deg); } }
.bot-fab__say { position: absolute; right: 70px; top: 12px; white-space: nowrap; padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: var(--orange); color: var(--on-orange); font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); animation: titleIn .4s var(--spring) both; }
.bt-log { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.bt-msg { display: flex; gap: 8px; align-items: flex-end; }
.bt-msg p { margin: 0; padding: 10px 13px; border-radius: 18px; background: var(--stone); line-height: 1.4; }
.bt-msg.me { justify-content: flex-end; } .bt-msg.me p { background: var(--orange); color: var(--on-orange); border-bottom-right-radius: 6px; max-width: 80%; }
.bt-msg.bot > div { max-width: 82%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } .bt-msg.bot p { border-bottom-left-radius: 6px; }
.bt-av { width: 34px; height: 36px; flex: none; } .bt-av--think { animation: botBob 1s ease-in-out infinite; }
.bt-legs { display: flex; flex-wrap: wrap; gap: 4px; }
.bt-leg { padding: 3px 9px; border-radius: 999px; background: var(--c); color: #fff; font-size: .76rem; font-weight: 700; }
.bt-dots { display: inline-flex; gap: 4px; } .bt-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: dot 1s infinite; } .bt-dots i:nth-child(2) { animation-delay: .15s; } .bt-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.bt-sugg { margin: 12px 0 8px; }
.bt-in { display: flex; gap: 8px; align-items: center; position: sticky; bottom: 0; padding: 8px 0; background: var(--paper); }
.bt-in .field { flex: 1; display: flex; align-items: center; background: var(--stone); border-radius: 999px; padding: 0 6px 0 14px; }
.bt-in input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 0; outline: none; min-width: 0; }
.bt-send { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--orange); color: var(--on-orange); display: grid; place-items: center; cursor: pointer; }
.bt-send svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.st-tips { list-style: none; margin: 6px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.st-tips li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; line-height: 1.4; }
.st-tips a { font-size: .74rem; }
.st-tip-k { flex: none; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 7px; border-radius: 6px; background: var(--stone); margin-top: 1px; }
.st-tip-transfer { background: color-mix(in srgb, #7b3fd1 18%, var(--paper)); } .st-tip-car { background: color-mix(in srgb, #1c9bd6 18%, var(--paper)); } .st-tip-exit { background: color-mix(in srgb, var(--ok) 16%, var(--paper)); }

/* ---------- v35: smooth and light ---------- */
/* moving weather and petal effects slide the layer (GPU) instead of repainting the whole screen; the layer is
   oversized so the edges never show */
body[data-fx="rain"] #mapfx, body[data-fx="storm"] #mapfx, body[data-fx="sakura"] #mapfx { inset: -300px; will-change: transform; }
/* light tier: slower phones, Low Power Mode, or many effects at once. No glass blur, no moving map overlays,
   no pulsing dots that repaint every frame */
:root.lowfx .search, :root.lowfx .year-chip, :root.lowfx .icon, :root.lowfx .pill, :root.lowfx .tabs, :root.lowfx .ticker, :root.lowfx .statusblur, :root.lowfx .layers, :root.lowfx .future, :root.lowfx .ctx, :root.lowfx .flycard, :root.lowfx .mic-top { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--paper) !important; }
:root.lowfx #mapfx { animation: none !important; }
:root.lowfx .pdot.live, :root.lowfx .live-dot, :root.lowfx .pulse i, :root.lowfx .wx__ic svg, :root.lowfx .mascot-prev, :root.lowfx .ride-hero .tren { animation: none !important; }
/* pulsing "live" dots fade instead of animating a shadow, which forced a repaint every frame */
.pdot.live, .live-dot { animation-name: liveFade !important; box-shadow: none !important; }
@keyframes liveFade { 50% { opacity: .45; } }
/* panels scroll on their own layer */
.sheet__body { transform: translateZ(0); }

/* the tab bar sits inside the sliding panel; it slides the opposite way with the same timing, so it stays put at the bottom of the screen */
.tabs { transform: translate3d(0, var(--tabs-y, 0px), 0); transition: transform .42s cubic-bezier(.22, 1, .36, 1); }
.sheet.dragging .tabs { transition: none; }
@media (min-width: 900px) { .tabs { transform: none; transition: none; } }

/* map effects are baked into the map colors: no live filters on the 3D canvas and no moving overlays, so the map stays
   smooth on every theme and phone (Oct 2026) */
#mapfx { animation: none !important; will-change: auto !important; }
body[data-fx="rain"] #mapfx, body[data-fx="storm"] #mapfx, body[data-fx="sakura"] #mapfx { inset: 0 !important; }
#scene canvas { filter: none !important; }
