/* =====================================================================
   Phoenix Wayfinder — "Phoenix premium" visual system
   Mobile portrait first (~380 px). No external fonts (mall networks are
   flaky): a native serif display stack (New York / Noto Serif) carries the
   headline voice; swap --font-display for the Phoenix brand typeface when
   the kit arrives (self-host the woff2 under assets/fonts/).
   ===================================================================== */
:root {
  /* brand — replace with the official Phoenix tokens when supplied */
  --plum-950: #140F10;
  --plum-900: #1E1518;
  --plum-800: #2B1E24;
  --ember-600: #B7381A;
  --ember-500: #D4471F;
  --ember-300: #F08A5B;
  --gold-500: #C4902F;
  --gold-400: #DAA646;
  --gold-200: #F1DBA6;
  --gold-100: #F8EBCB;
  --ivory-50:  #FCF9F3;   /* paper (cards) */
  --ivory-100: #F5F0E7;   /* page ground */
  --ivory-200: #EAE2D3;   /* hairlines */
  --ivory-300: #D9CDB9;
  --ink:   #1F1A1C;
  --ink-2: #5B5052;
  --ink-3: #8C8082;

  /* semantic (route/transport colours are product spec — keep) */
  --green: #00867A;
  --esc: #D48A2A;   --esc-bg: #FBF0DE;
  --lift: #2F7FBF;  --lift-bg: #E6F0FA;
  --stairs: #7C5BB5;--stairs-bg: #EFE9F8;
  --arrive: #B7862A;--arrive-bg: #F4E2B4;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31,26,28,.06), 0 6px 18px -6px rgba(31,26,28,.12);
  --shadow-lift: 0 2px 4px rgba(31,26,28,.06), 0 14px 32px -12px rgba(31,26,28,.22);
  --ease: cubic-bezier(.2,.8,.2,1);

  --font-display: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Noto Serif", "Tinos", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --font-cond: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ivory-100); color: var(--ink); font-family: var(--font-body); -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:active { transform: scale(.985); }
.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.28em; flex: none; }
[hidden] { display: none !important; }

.app { max-width: 480px; margin: 0 auto; min-height: 100dvh; background: var(--ivory-100); }
.screen { padding: 0 0 calc(28px + env(safe-area-inset-bottom)); }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.screen:not([hidden]) .hero > *,
.screen:not([hidden]) .sheet > *,
.screen:not([hidden]) > .map-card,
.screen:not([hidden]) > .hopbar,
.screen:not([hidden]) > .swap-btn,
.screen:not([hidden]) > .steps,
.screen:not([hidden]) > .share-btn { animation: rise .55s var(--ease) both; }
.hero > :nth-child(1) { animation-delay: .02s; } .hero > :nth-child(2) { animation-delay: .10s; } .hero > :nth-child(3) { animation-delay: .18s; }
.sheet > :nth-child(1) { animation-delay: .22s; } .sheet > :nth-child(2) { animation-delay: .30s; } .sheet > :nth-child(3) { animation-delay: .38s; }
.screen > .map-card { animation-delay: .04s; } .screen > .hopbar { animation-delay: .12s; } .screen > .swap-btn { animation-delay: .18s; } .screen > .steps { animation-delay: .24s; } .screen > .share-btn { animation-delay: .32s; }
.steps .step { animation: rise .5s var(--ease) both; }
.steps .step:nth-child(1) { animation-delay: .28s; } .steps .step:nth-child(2) { animation-delay: .34s; } .steps .step:nth-child(3) { animation-delay: .40s; }
.steps .step:nth-child(4) { animation-delay: .46s; } .steps .step:nth-child(5) { animation-delay: .52s; } .steps .step:nth-child(6) { animation-delay: .58s; }
.steps .step:nth-child(n+7) { animation-delay: .64s; }

/* ---------- hero (dark ember/plum band) ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ivory-50);
  padding: calc(18px + env(safe-area-inset-top)) 22px 42px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(212,71,31,.55) 0%, rgba(212,71,31,0) 55%),
    radial-gradient(70% 60% at 0% 100%, rgba(196,144,47,.28) 0%, rgba(196,144,47,0) 60%),
    linear-gradient(170deg, var(--plum-800) 0%, var(--plum-900) 45%, var(--plum-950) 100%);
}
.hero::before { /* fine grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px);
}
.hero::after { /* hairline gold rule at the bottom edge */
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,219,166,.55), transparent);
}
.hero-compact { padding-bottom: 34px; }
.hero > * { position: relative; }

.hero-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero-brand .mark { width: 40px; height: 40px; color: var(--ember-300); filter: drop-shadow(0 4px 12px rgba(240,138,91,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-200); opacity: .9; margin-top: 3px; }
.hero-brand.dark { color: var(--ink); margin: 0 0 14px; } .hero-brand.dark .brand-sub { color: var(--ember-600); }

.h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.02; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 12px; }
.h1 .hindi { display: block; font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--gold-200); letter-spacing: .01em; margin-top: 10px; }
.lede { margin: 0; color: rgba(252,249,243,.72); font-size: 15px; }

/* the "paper sheet" that rises into the hero */
.sheet { position: relative; margin: -22px 12px 0; padding: 18px 12px 0; background: var(--ivory-100); border-radius: 22px 22px 0 0; }
.sheet::before { content: ""; position: absolute; top: 9px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: var(--ivory-300); opacity: .8; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap; letter-spacing: .01em; }
.pill-floor { background: var(--floor, #999); color: #fff; }
.pill-min { background: var(--gold-100); color: #7A5A12; }
.pill-soft { background: color-mix(in srgb, var(--floor, #999) 14%, var(--ivory-50)); color: color-mix(in srgb, var(--floor, #999) 85%, #000); }

/* ---------- origin cards ---------- */
.origin-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.origin-btn { position: relative; text-align: left; background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: var(--radius); padding: 14px 14px 12px 16px; box-shadow: var(--shadow); min-height: 124px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; transition: box-shadow .2s var(--ease), border-color .2s; }
.origin-btn::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 3px 3px 0; background: var(--floor, var(--ember-500)); }
.origin-btn:active { border-color: var(--gold-400); box-shadow: var(--shadow-lift); }
.origin-btn .ico-wrap { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--ember-500) 10%, var(--ivory-50)); color: var(--ember-600); margin-bottom: 4px; }
.origin-btn .ico-wrap .ico { width: 20px; height: 20px; }
.origin-btn .lbl { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.15; letter-spacing: -0.005em; }
.origin-btn .sub { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.origin-btn .fl { margin-top: auto; align-self: flex-start; }

.note { margin: 18px 0 0; padding: 13px 14px; background: transparent; border: 1px dashed var(--ivory-300); border-radius: 14px; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; display: flex; gap: 12px; align-items: flex-start; }
.note .ico { color: var(--ember-600); width: 22px; height: 22px; margin-top: 1px; }
.note b { color: var(--ink); }

/* ---------- you-bar / search (inside the hero) ---------- */
.youbar { display: flex; align-items: center; gap: 9px; background: rgba(252,249,243,.08); border: 1px solid rgba(252,249,243,.16); border-radius: 999px; padding: 8px 12px 8px 12px; margin-bottom: 20px; font-size: 13.5px; color: rgba(252,249,243,.85); backdrop-filter: blur(6px); }
.youbar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(218,166,70,.22); flex: none; }
.youbar-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.youbar-text b { color: #fff; font-weight: 700; }
.link-btn { background: none; border: 0; padding: 4px 4px; color: var(--gold-200); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.search-wrap { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; background: var(--ivory-50); border-radius: 999px; padding: 0 16px 0 16px; box-shadow: 0 10px 28px -10px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.7); }
.search-wrap .ico { color: var(--ember-600); width: 20px; height: 20px; }
.search { flex: 1; min-width: 0; font: inherit; font-size: 16.5px; color: var(--ink); padding: 15px 0; border: 0; background: transparent; outline: none; -webkit-appearance: none; }
.search::placeholder { color: var(--ink-3); }
.search::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-wrap:focus-within { box-shadow: 0 0 0 3px rgba(218,166,70,.45), 0 10px 28px -10px rgba(0,0,0,.45); }

/* ---------- amenity tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tile { background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: 14px; padding: 13px 6px 11px; display: flex; flex-direction: column; align-items: center; gap: 7px; box-shadow: var(--shadow); transition: box-shadow .2s var(--ease); }
.tile:active { border-color: var(--gold-400); box-shadow: var(--shadow-lift); }
.tile .ico { width: 26px; height: 26px; color: var(--ember-600); }
.tile .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .01em; }

/* ---------- category chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 12px 10px; margin: 0 -12px 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--ivory-300); background: var(--ivory-50); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s, border-color .15s; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #999); box-shadow: 0 0 0 2px color-mix(in srgb, var(--dot, #999) 22%, transparent); }
.chip.on { border-color: color-mix(in srgb, var(--dot, var(--ink)) 60%, transparent); color: var(--ink); background: color-mix(in srgb, var(--dot, var(--ink)) 12%, var(--ivory-50)); }
.chip.chip-all.on { border-color: var(--ink); background: var(--ink); color: var(--ivory-50); }

/* ---------- store list ---------- */
.store-list { display: flex; flex-direction: column; gap: 6px; }
.store-row { display: flex; align-items: center; gap: 12px; background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: 14px; padding: 12px 13px; text-align: left; width: 100%; box-shadow: 0 1px 0 rgba(31,26,28,.03); }
.store-row:active { border-color: var(--gold-400); background: #fff; }
.store-row .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot) 18%, transparent); }
.store-row .name { flex: 1; font-weight: 600; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.005em; }
.store-row .name small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
.empty { color: var(--ink-3); text-align: center; padding: 30px 0; font-size: 14px; }

/* ---------- route screen ---------- */
#screen-route { padding-left: 12px; padding-right: 12px; }
.route-head { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; margin: 0 -12px 12px; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; background: rgba(245,240,231,.88); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--ivory-200); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ivory-200); background: var(--ivory-50); display: grid; place-items: center; box-shadow: var(--shadow); flex: none; color: var(--ink); }
.icon-btn .ico { width: 20px; height: 20px; }
.route-title { flex: 1; min-width: 0; }
.route-dest { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.01em; }
.route-meta { display: flex; gap: 6px; margin-top: 5px; }

.map-card { position: relative; background: var(--ivory-50); border-radius: var(--radius); box-shadow: var(--shadow-lift); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--gold-200); }
.map { position: absolute; inset: 0; }
.map-svg { display: block; width: 100%; height: 100%; }
.floor-tag { position: absolute; top: 10px; left: 10px; background: var(--floor, #333); color: #fff; font-weight: 800; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 4px 12px -2px rgba(0,0,0,.35); pointer-events: none; }
.map-legend { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; scrollbar-width: none; background: linear-gradient(to top, rgba(252,249,243,.96) 30%, rgba(252,249,243,0)); }
.map-legend::-webkit-scrollbar { display: none; }
.legend-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--ink-2); background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: 999px; padding: 3px 8px; }
.legend-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.play-btn { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: var(--ivory-50); border: 0; border-radius: 999px; padding: 6px 12px 6px 9px; font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 12px -2px rgba(0,0,0,.35); }
.play-btn .ico { width: 16px; height: 16px; }
.play-btn.is-playing { background: var(--ivory-50); color: var(--ink); border: 1px solid var(--ivory-300); }

/* landmark cues under a step */
.cues { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cues li { position: relative; padding-left: 16px; font-size: 13px; color: var(--ink-2); line-height: 1.3; }
.cues li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }
.step.esc .cues li::before, .step.lift .cues li::before { background: var(--ink-3); }

/* amenity result rows in search */
.amenity-row { border-color: var(--gold-200); background: linear-gradient(90deg, var(--gold-100), var(--ivory-50) 60%); }
.amenity-row .amenity-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ivory-50); color: var(--ember-600); border: 1px solid var(--gold-200); flex: none; }
.amenity-row .amenity-ico .ico { width: 18px; height: 18px; }

/* ---------- hop-bar ---------- */
.hopbar { background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: var(--radius); padding: 12px 14px 10px; margin: 12px 0 10px; box-shadow: var(--shadow); }
.hop-heading { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 9px; letter-spacing: -0.005em; }
.hop-chips { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.hop-chips::-webkit-scrollbar { display: none; }
.hop-chip { flex: none; min-width: 34px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--floor); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; border: 2px solid transparent; box-shadow: inset 0 -2px 0 rgba(0,0,0,.14); transition: box-shadow .2s; }
.hop-chip.active { box-shadow: 0 0 0 3px color-mix(in srgb, var(--floor) 30%, transparent), inset 0 -2px 0 rgba(0,0,0,.14); }
.hop-arrow { flex: none; font-size: 24px; line-height: 1; font-weight: 900; padding: 0 1px; }
.hop-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 7px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- swap button ---------- */
.swap-btn { width: 100%; text-align: left; background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: var(--radius); padding: 13px 14px; margin-bottom: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 3px; position: relative; }
.swap-btn::after { content: "⇄"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--ink-3); }
.swap-btn:active { border-color: var(--lift); }
.swap-btn b { font-family: var(--font-display); font-size: 16px; font-weight: 600; padding-right: 30px; }
.swap-btn span { font-size: 13px; color: var(--ink-2); padding-right: 30px; }
.swap-btn.lift-mode { border-color: color-mix(in srgb, var(--lift) 45%, transparent); background: var(--lift-bg); }

/* ---------- steps as a timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0 0 0 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--ivory-300), var(--ivory-300)) ; opacity: .9; }
.step { position: relative; display: flex; gap: 12px; align-items: flex-start; background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: 14px; padding: 12px 12px 12px 12px; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 3px var(--ivory-50); position: relative; z-index: 1; }
.step .body { flex: 1; min-width: 0; padding-top: 2px; }
.step .title { font-weight: 700; font-size: 15px; line-height: 1.28; letter-spacing: -0.005em; }
.step .detail { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.step.esc    { background: var(--esc-bg);    border-color: color-mix(in srgb, var(--esc) 30%, transparent); }    .step.esc .num    { background: var(--esc); box-shadow: 0 0 0 3px var(--esc-bg); }
.step.lift   { background: var(--lift-bg);   border-color: color-mix(in srgb, var(--lift) 30%, transparent); }   .step.lift .num   { background: var(--lift); box-shadow: 0 0 0 3px var(--lift-bg); }
.step.stairs { background: var(--stairs-bg); border-color: color-mix(in srgb, var(--stairs) 30%, transparent); } .step.stairs .num { background: var(--stairs); box-shadow: 0 0 0 3px var(--stairs-bg); }
.step.arrive { background: linear-gradient(135deg, var(--gold-200), var(--arrive-bg)); border-color: var(--gold-400); }
.step.arrive .num { background: var(--arrive); box-shadow: 0 0 0 3px var(--gold-200); }
.step.arrive .title { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.step.active { transform: translateX(3px); box-shadow: 0 0 0 3px rgba(0,134,122,.28), var(--shadow-lift); }
.step.esc.active { box-shadow: 0 0 0 3px rgba(212,138,42,.4), var(--shadow-lift); }
.step.lift.active { box-shadow: 0 0 0 3px rgba(47,127,191,.4), var(--shadow-lift); }
.step.stairs.active { box-shadow: 0 0 0 3px rgba(124,91,181,.4), var(--shadow-lift); }
.step.arrive.active { box-shadow: 0 0 0 3px rgba(183,134,42,.5), var(--shadow-lift); }

.share-btn { width: 100%; margin-top: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--ember-500), var(--ember-600)); color: #fff; border: 0; border-radius: var(--radius); padding: 15px; font-weight: 800; font-size: 15px; letter-spacing: .01em; box-shadow: 0 10px 24px -8px rgba(212,71,31,.55); }
.share-btn .ico { width: 20px; height: 20px; }
.foot { text-align: center; color: var(--ink-3); font-size: 11.5px; margin: 18px 0 0; letter-spacing: .02em; }

/* ---------- file:// fallback notice ---------- */
.file-notice { padding: 24px 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.file-notice .mark { width: 34px; height: 34px; color: var(--ember-500); }
.file-notice pre { background: var(--plum-900); color: var(--ivory-50); padding: 12px 14px; border-radius: 10px; font-size: 14px; overflow-x: auto; }
.file-notice code { background: var(--ivory-50); border: 1px solid var(--ivory-200); border-radius: 5px; padding: 1px 5px; font-size: 13px; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--ivory-50); padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 50; max-width: 90vw; text-align: center; animation: pop .25s var(--ease) both; }

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