/* SaatSamundra web app, shared component styles (from the phone app).
   Layout: on wide screens a short guide sits beside a 390px phone; on phones the app fills the screen.
   Tokens come from the SaatSamundra canvas (Plus Jakarta Sans + Noto Sans Devanagari, crimson-to-plum brand
   gradient, marigold story ring). Dark values follow the canvas "Home, dark mode" artboard. */
:root {
  --font: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ne: "Noto Sans Devanagari", "Plus Jakarta Sans", system-ui, sans-serif;

  --page: #F3F1F4;
  --bg: #FFFFFF;
  --surface: #F4F4F6;
  --surface-2: #EFEFF2;
  --line: #EDEDF0;
  --line-2: #E3E3E8;
  --ink: #0E0E10;
  --ink-2: #3F3F46;
  --muted: #6B6B73;
  --accent: #D4145A;
  --accent-ink: #A80F47;
  --ok: #15803D;
  --hover: rgba(14, 14, 16, .05);
  --glass: rgba(255, 255, 255, .7);
  --glass-strong: rgba(255, 255, 255, .86);
  --glass-line: rgba(14, 14, 16, .08);
  --scrim: rgba(24, 6, 22, .34);
  --toast: rgba(14, 14, 16, .86);
  --shadow-1: 0 1px 2px rgba(20, 8, 24, .06), 0 10px 26px -14px rgba(40, 8, 34, .28);
  --shadow-2: 0 30px 60px -24px rgba(70, 10, 56, .42);
  --bezel: #141016;
  --behind: brightness(.95);
  --seat-empty: #FFFFFF;

  --grad-brand: linear-gradient(100deg, #D9301E, #D4145A 50%, #8E1B8A);
  --grad-ring: linear-gradient(45deg, #FFB000, #FF6A1A 35%, #E8175D 65%, #9C1C8F);
  --grad-ring-conic: conic-gradient(from 200deg, #FFB000, #FF6A1A, #E8175D, #9C1C8F, #E8175D, #FF6A1A, #FFB000);
  --grad-warm: linear-gradient(90deg, #FF6A1A, #E8175D, #9C1C8F);
  --grad-ticket: linear-gradient(150deg, #8E1B8A 0%, #D4145A 55%, #D9301E 100%);

  /* Dhaka cloth motif and Newari window lattice, used as quiet textures */
  --dhaka: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M18 6 30 18 18 30 6 18Z'/%3E%3Cpath d='M0 0 6 6M36 0 30 6M0 36 6 30M36 36 30 30'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Cpath d='M18 12 24 18 18 24 12 18Z'/%3E%3Cpath d='M0 15 3 18 0 21ZM36 15 33 18 36 21ZM15 0 18 3 21 0ZM15 36 18 33 21 36Z'/%3E%3C/g%3E%3C/svg%3E");
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M0 0 22 22M22 0 0 22' stroke='%23E5A93B' stroke-width='1.6'/%3E%3Cg fill='%23E5A93B'%3E%3Ccircle cx='11' cy='11' r='2.4'/%3E%3Ccircle r='2.4'/%3E%3Ccircle cx='22' r='2.4'/%3E%3Ccircle cy='22' r='2.4'/%3E%3Ccircle cx='22' cy='22' r='2.4'/%3E%3C/g%3E%3C/svg%3E");

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --tabbar-h: 76px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #050506; --bg: #0A0A0C; --surface: #141418; --surface-2: #1C1C21; --line: #1E1E24; --line-2: #2A2A31;
    --ink: #F4F4F6; --ink-2: #C9C9D0; --muted: #A0A0A8; --accent: #FF4F86; --accent-ink: #FF7AA3; --ok: #4ADE80;
    --hover: rgba(255, 255, 255, .06); --glass: rgba(14, 14, 18, .6); --glass-strong: rgba(22, 22, 27, .82);
    --glass-line: rgba(255, 255, 255, .09); --scrim: rgba(0, 0, 0, .55); --toast: rgba(36, 36, 42, .9);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -14px rgba(0, 0, 0, .7);
    --shadow-2: 0 30px 60px -24px rgba(0, 0, 0, .8); --bezel: #000000; --behind: brightness(.62); --seat-empty: #141418;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #050506; --bg: #0A0A0C; --surface: #141418; --surface-2: #1C1C21; --line: #1E1E24; --line-2: #2A2A31;
  --ink: #F4F4F6; --ink-2: #C9C9D0; --muted: #A0A0A8; --accent: #FF4F86; --accent-ink: #FF7AA3; --ok: #4ADE80;
  --hover: rgba(255, 255, 255, .06); --glass: rgba(14, 14, 18, .6); --glass-strong: rgba(22, 22, 27, .82);
  --glass-line: rgba(255, 255, 255, .09); --scrim: rgba(0, 0, 0, .55); --toast: rgba(36, 36, 42, .9);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -14px rgba(0, 0, 0, .7);
  --shadow-2: 0 30px 60px -24px rgba(0, 0, 0, .8); --bezel: #000000; --behind: brightness(.62); --seat-empty: #141418;
  color-scheme: dark;
}

/* ---------- page ---------- */
html { box-sizing: border-box; height: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0; min-height: 100%; background: var(--page); color: var(--ink);
  font-family: var(--font); font-size: 14px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.callout a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
[lang="ne"], .ne { font-family: var(--font-ne); }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page {
  min-height: 100%; display: grid; grid-template-columns: minmax(0, 330px) auto;
  justify-content: center; align-items: start; column-gap: clamp(32px, 6vw, 88px);
  padding-block: 24px; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* guide panel (wide screens only) */
.guide { display: flex; flex-direction: column; gap: 20px; max-width: 330px; padding-top: 8px; }
.guide-logo { height: 34px; width: auto; display: block; align-self: flex-start; }
.guide-lede { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.guide-group { display: flex; flex-direction: column; gap: 2px; }
.guide-label { font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.guide-links button {
  display: flex; gap: 8px; align-items: baseline; text-align: left; border: 0; background: none; padding: 5px 8px; margin: 0 -8px;
  border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink); transition: background-color .15s;
}
.guide-links button:hover { background: var(--hover); }
.guide-links button[aria-current="true"] { color: var(--accent); }
.guide-links button span { font-size: 11px; font-weight: 600; color: var(--muted); min-width: 16px; font-variant-numeric: tabular-nums; }
.guide-try { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--ink-2); }
.guide-try li { display: flex; gap: 9px; align-items: flex-start; }
.guide-try svg { flex: none; margin-top: 2px; color: var(--accent); }
.guide-row { display: flex; gap: 10px; flex-wrap: wrap; }
.guide-note { font-size: 12px; color: var(--muted); margin: 0; }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--surface-2); }
.seg button {
  height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: none; font-size: 12.5px; font-weight: 700;
  color: var(--muted); transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

/* phone */
.device {
  position: sticky; top: 20px; width: 412px; height: min(866px, calc(100vh - 40px)); height: min(866px, calc(100dvh - 40px));
  min-height: 600px; padding: 11px; border-radius: 56px; background: var(--bezel);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .07), 0 50px 90px -40px rgba(70, 10, 56, .55), 0 18px 40px -22px rgba(0, 0, 0, .45);
}
.device::before { /* side button hint */
  content: ""; position: absolute; right: -3px; top: 180px; width: 3px; height: 72px; border-radius: 0 3px 3px 0; background: var(--bezel);
}
.app {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 45px; background: var(--bg);
  isolation: isolate; contain: layout paint; transform: translateZ(0);
}




/* ---------- app shell ---------- */
.stage { position: absolute; inset: 0; }
.screen {
  position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); overflow: hidden;
  transition: transform .5s var(--ease-out), filter .5s var(--ease-out), opacity .3s ease;
  will-change: transform;
}
.screen.is-enter { transform: translate3d(100%, 0, 0); }
.screen.is-leave { transform: translate3d(100%, 0, 0); }
.screen.is-behind { transform: translate3d(-26%, 0, 0); filter: var(--behind); }
.screen.is-parked { visibility: hidden; }
.screen.is-parked *, .screen.is-behind * { animation-play-state: paused !important; }
.screen.is-fadein { animation: screenIn .38s var(--ease-out) both; }
@keyframes screenIn { from { opacity: 0; transform: translate3d(0, 10px, 0); } }

.scroller {
  position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar { display: none; }
.pad-top { height: 56px; flex: none; }
.with-tabs .scroller { padding-bottom: calc(var(--tabbar-h) + 18px); }
.with-cta .scroller { padding-bottom: 108px; }

/* top bars: transparent at rest, frosted once content scrolls underneath */
.appbar {
  position: absolute; left: 0; right: 0; top: 0; z-index: 6; height: 56px; display: flex; align-items: center; gap: 4px;
  padding: 0 6px 0 16px; transition: background-color .25s, border-color .25s, box-shadow .25s;
  border-bottom: 1px solid transparent; background: var(--bg);
}
.appbar.is-glass, .appbar.is-scrolled {
  background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
}
.appbar.is-scrolled { border-bottom-color: var(--glass-line); }
.appbar.back { padding-left: 4px; }
.appbar-title { font-size: 17px; font-weight: 800; letter-spacing: -.3px; flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar-title.big { font-size: 27px; letter-spacing: -.9px; }
.appbar-title.center { text-align: center; }
.appbar .spacer { flex: 1 1 auto; }
.logo { height: 30px; width: auto; display: block; }
.logo-ondark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-onlight { display: none; } :root:not([data-theme="light"]) .logo-ondark { display: block; } }
:root[data-theme="dark"] .logo-onlight { display: none; }
:root[data-theme="dark"] .logo-ondark { display: block; }

.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--tabbar-h); padding: 6px 6px 18px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  border-top: 1px solid var(--glass-line); transition: transform .45s var(--ease-out);
}
.tabbar.is-hidden { transform: translate3d(0, 110%, 0); }
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 50px;
  border: 0; background: none; color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .1px; border-radius: 12px;
}
.tab svg { transition: transform .3s var(--spring); }
.tab:active svg { transform: scale(.84); }
.tab[aria-current="page"] { color: var(--ink); font-weight: 800; }
.tab.pop svg, .tab.pop .av { animation: tabPop .5s var(--spring); }
@keyframes tabPop { 30% { transform: scale(.78); } 70% { transform: scale(1.12); } }
.tab .dot { position: absolute; top: 6px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }

/* ---------- type ---------- */
.h1 { font-size: 27px; font-weight: 800; letter-spacing: -.9px; line-height: 1.12; margin: 0; text-wrap: balance; }
.h2 { font-size: 17px; font-weight: 800; letter-spacing: -.3px; margin: 0; }
.h3 { font-size: 15px; font-weight: 800; margin: 0; }
.sub { font-size: 12.5px; color: var(--muted); }
.xs { font-size: 11.5px; color: var(--muted); }
.eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.muted { color: var(--muted); }
.ok { color: var(--ok); }
.acc { color: var(--accent); }
.b { font-weight: 700; }
.link { border: 0; background: none; padding: 6px 0; font-size: 13px; font-weight: 700; color: var(--accent); }
.link:hover { color: var(--accent-ink); }
.sec { padding: 22px 16px 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.px { padding-left: 16px; padding-right: 16px; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px;
  border: 0; border-radius: 14px; font-size: 15.5px; font-weight: 700; letter-spacing: -.1px; white-space: nowrap; overflow: hidden;
  transition: transform .16s var(--ease-out), box-shadow .25s, background-color .2s, opacity .2s; text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--grad-brand); color: #FFFFFF; box-shadow: 0 10px 24px -12px rgba(212, 20, 90, .75); }
.btn--brand::after { /* light sweep on hover */
  content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn--brand:hover::after { transform: translateX(120%); }
.btn--brand:hover { box-shadow: 0 16px 30px -12px rgba(212, 20, 90, .85); }
.btn--soft { background: var(--surface-2); color: var(--ink); }
.btn--soft:hover { background: var(--line-2); }
.btn--line { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn--white { background: #FFFFFF; color: #0E0E10; }
.btn--glass { background: rgba(255, 255, 255, .12); color: #FFFFFF; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--sm { height: 32px; padding: 0 14px; border-radius: 9px; font-size: 13px; }
.btn--md { height: 40px; padding: 0 16px; border-radius: 11px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.is-busy { pointer-events: none; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #FFFFFF; animation: spin .8s linear infinite; }
.btn--sm.is-done { background: var(--surface-2); color: var(--muted); }

.iconbtn {
  position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; background: none;
  color: var(--ink); border-radius: 50%; transition: background-color .15s, transform .16s var(--ease-out);
}
.iconbtn:hover { background: var(--hover); }
.iconbtn:active { transform: scale(.9); }
.badge {
  position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent);
  color: #FFFFFF; font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg);
}
.ping { position: absolute; top: 10px; right: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg); }
.ring-bell { animation: bell 1.2s var(--ease-out) 1.2s 2; transform-origin: 50% 3px; }
@keyframes bell { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 75% { transform: rotate(2deg); } }

/* glass circle buttons over artwork */
.gbtn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; flex: none;
  background: rgba(20, 8, 24, .28); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  transition: transform .16s var(--ease-out), background-color .2s;
}
.gbtn:hover { background: rgba(20, 8, 24, .42); }
.gbtn:active { transform: scale(.9); }
.gbtn.is-on svg { fill: #FFFFFF; }

.chip-glass {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; color: #FFFFFF;
  background: rgba(14, 14, 16, .42); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%);
  font-size: 11.5px; font-weight: 700; white-space: nowrap;
}
.chips { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  height: 34px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; flex: none; border-radius: 10px; border: 0;
  background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink); transition: background-color .2s, color .2s, transform .16s var(--ease-out);
}
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* ---------- avatars & story rings ---------- */
.av {
  --s: 40px; width: var(--s); height: var(--s); flex: none; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF;
  font-weight: 700; font-size: calc(var(--s) * .4); line-height: 1; overflow: hidden;
}
.av svg { width: 100%; height: 100%; display: block; }
.av-stack { display: flex; }
.av-stack .av { box-shadow: 0 0 0 2px var(--bg); }
.av-stack .av + .av { margin-left: calc(var(--s) * -.32); }
.ring { --s: 66px; display: inline-block; vertical-align: middle; position: relative; width: var(--s); height: var(--s); flex: none; padding: 3px; border-radius: 50%; isolation: isolate; }
.ring::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--grad-ring-conic);
  transition: transform 1.2s var(--ease-out);
}
.ring.is-seen::before { background: var(--line-2); }
.ring > .ring-in { display: block; width: 100%; height: 100%; border-radius: 50%; padding: 2.5px; background: var(--bg); }
.ring > .ring-in > * { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.ring > .ring-in svg { width: 100%; height: 100%; display: block; }
button:hover > .ring::before, a:hover > .ring::before { transform: rotate(180deg); }
.ring.is-loading::before { animation: spin .9s linear infinite; }
.ring .plus {
  position: absolute; right: -1px; bottom: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-brand); border: 2.5px solid var(--bg); color: #FFFFFF;
}

.stories { display: flex; gap: 6px; padding: 4px 10px 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.stories::-webkit-scrollbar { display: none; }
.story-btn {
  display: flex; flex-direction: column; align-items: center; width: 76px; flex: none; padding: 2px 0; border: 0; background: none;
  color: var(--ink); scroll-snap-align: start; border-radius: 14px;
}
.story-btn .lbl { margin-top: 6px; font-size: 12px; font-weight: 600; max-width: 74px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story-btn .sub2 { font-size: 11px; color: var(--muted); margin-top: 1px; white-space: nowrap; }
.story-btn.plain .ring::before { background: none; }
.story-btn.plain .ring-in > * { background: var(--surface); color: var(--muted); }

/* ---------- home search ---------- */
.search {
  margin: 4px 16px 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg); box-shadow: var(--shadow-1);
  overflow: hidden;
}
.search-ft { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.field { padding: 12px 14px; border: 0; background: none; text-align: left; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.field .k { font-size: 11px; font-weight: 600; color: var(--muted); }
.field .v { font-size: 22px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; }
.field .v2 { font-size: 14px; font-weight: 700; }
.field .c { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field.r { text-align: right; align-items: flex-end; }
.swap {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center;
  color: var(--ink); transition: transform .5s var(--spring), background-color .2s;
}
.swap:hover { background: var(--surface); }
.swap.turn { transform: rotate(180deg); }
.search-row { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.search-row .field + .field { border-left: 1px solid var(--line); }
.search-go { padding: 12px; }
.swapping .field .v, .swapping .field .c { animation: swapFade .5s var(--ease-out); }
@keyframes swapFade { 40% { opacity: 0; transform: translateY(6px); } }

/* ---------- departure cards ---------- */
.deps { display: flex; flex-direction: column; gap: 14px; padding: 0 16px; }
.dep {
  display: block; width: 100%; text-align: left; padding: 0; border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: var(--bg); color: var(--ink); transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .4s var(--ease-out);
  transform: perspective(900px) rotateX(calc(var(--my, 0) * -3deg)) rotateY(calc(var(--mx, 0) * 4deg));
}
.dep:hover { box-shadow: var(--shadow-2); }
.dep:active { transform: scale(.985); }
.dep-art { position: relative; height: 158px; overflow: hidden; color: #FFFFFF; }
.dep-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dep-tag { position: absolute; top: 13px; left: 14px; }
.dep-art .chip-glass { position: absolute; top: 10px; right: 10px; }
.dep-route { position: absolute; left: 14px; bottom: 12px; font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1; text-shadow: 0 2px 14px rgba(30, 6, 30, .35); }
.dep-body { padding: 12px 14px 14px; }
.dep-foot { margin-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { font-size: 20px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.was { font-size: 12px; color: var(--muted); text-decoration: line-through; font-weight: 600; margin-right: 6px; }
.meter { position: relative; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.meter > i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: 3px; background: var(--grad-warm); animation: grow 1.3s var(--ease-out) .15s both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }

/* artwork motion. Layers carry --d (depth) for parallax on scroll and on hover tilt. */
.pl { transform: translate3d(calc(var(--mx, 0) * var(--d, 0) * 1px), calc((var(--py, 0) + var(--my, 0)) * var(--d, 0) * 1px), 0); transition: transform .6s var(--ease-out); }
.a-flag { transform-box: fill-box; transform-origin: 50% 0; animation: flutter 2.6s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes flutter { 0%, 100% { transform: rotate(-5deg) skewX(0); } 50% { transform: rotate(6deg) skewX(-8deg); } }
.a-kite { transform-box: fill-box; transform-origin: 50% 100%; animation: kite 5.5s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes kite { 0%, 100% { transform: rotate(-6deg) translate(0, 0); } 35% { transform: rotate(5deg) translate(3px, -5px); } 70% { transform: rotate(-2deg) translate(-2px, 2px); } }
.a-tail { stroke-dasharray: 3 4; animation: tail 1.6s linear infinite; }
@keyframes tail { to { stroke-dashoffset: -14; } }
.a-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes flicker { 0%, 100% { transform: scale(1, 1) skewX(0); } 25% { transform: scale(.94, 1.12) skewX(3deg); } 55% { transform: scale(1.05, .92) skewX(-3deg); } 80% { transform: scale(.97, 1.06) skewX(1deg); } }
.a-glow { animation: glow 2.8s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.a-star { animation: twinkle 3s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.a-steam { animation: steam 3.2s ease-out infinite; animation-delay: var(--dl, 0s); }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: .75; } 100% { opacity: 0; transform: translateY(-26px); } }
.a-swing { transform-box: view-box; animation: swing 3.4s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-16deg); } }
.a-cloud { animation: cloud 14s ease-in-out infinite alternate; }
@keyframes cloud { to { transform: translateX(26px); } }
.a-slow-spin { transform-box: fill-box; transform-origin: 50% 50%; animation: spin 80s linear infinite; }
.a-sun { transform-box: fill-box; transform-origin: 50% 50%; animation: sun 5s ease-in-out infinite; }
@keyframes sun { 50% { transform: scale(1.08); opacity: .85; } }
.a-sway { transform-box: fill-box; transform-origin: 50% 0; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
.a-bob { animation: bob 3.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease-io) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- departure detail ---------- */
.hero { position: relative; height: 318px; color: #FFFFFF; overflow: hidden; }
.hero > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-text { position: absolute; left: 18px; right: 18px; bottom: 40px; }
.hero-text .t { font-size: 29px; font-weight: 800; letter-spacing: -1px; line-height: 1.08; margin-top: 6px; text-shadow: 0 2px 18px rgba(30, 6, 30, .4); }
.hero-text .d { font-size: 13.5px; font-weight: 600; margin-top: 4px; opacity: .95; }
.float-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 7; height: 60px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.float-bar .ttl { flex: 1; min-width: 0; font-size: 15px; font-weight: 800; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .3s var(--ease-out); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-bar.is-solid { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-bottom-color: var(--glass-line); }
.float-bar.is-solid .ttl { opacity: 1; transform: none; }
.float-bar.is-solid .gbtn { background: var(--surface-2); color: var(--ink); border-color: transparent; }
.float-bar.is-solid .gbtn.is-on svg { fill: var(--accent); stroke: var(--accent); }
.sheet-top { position: relative; margin-top: -26px; border-radius: 26px 26px 0 0; background: var(--bg); padding-top: 18px; }

.seats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; padding: 0 16px; }
.seat {
  position: relative; aspect-ratio: 1 / 1.08; border-radius: 7px 7px 4px 4px; background: var(--seat-empty); box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.seat::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -4px; height: 4px; border-radius: 2px; background: var(--line-2); }
.seat.t { background: linear-gradient(160deg, #FF6A1A, #E8175D 60%, #9C1C8F); box-shadow: none; animation: seatIn .55s var(--spring) both; animation-delay: calc(var(--i, 0) * 45ms + .2s); }
.seat.t::after { background: #9C1C8F; opacity: .55; }
.seat.y { background: var(--ink); box-shadow: none; animation: seatIn .6s var(--spring) both, seatGlow 2.2s ease-in-out 1s infinite; }
.seat.y::after { background: var(--ink); opacity: .5; }
@keyframes seatIn { from { transform: scale(.2) translateY(6px); opacity: 0; } }
@keyframes seatGlow { 50% { box-shadow: 0 0 0 4px rgba(212, 20, 90, .25); } }
.seat-legend { display: flex; gap: 14px; padding: 12px 16px 0; font-size: 12px; color: var(--muted); }
.seat-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.ladder { margin: 0 16px; padding: 16px 16px 14px; border-radius: 18px; background: var(--surface); }
.ladder-track { position: relative; height: 8px; border-radius: 4px; background: var(--line-2); margin: 30px 6px 0; }
.ladder-fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 4px; background: var(--grad-warm); transition: width 1.4s var(--ease-out); }
.ladder-you {
  position: absolute; top: -32px; left: var(--p); transform: translateX(-50%); padding: 3px 8px; border-radius: 7px; background: var(--ink); color: var(--bg);
  font-size: 11px; font-weight: 800; white-space: nowrap; transition: left 1.4s var(--ease-out);
}
.ladder-you::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); border-radius: 1px; }
.ladder-tick { position: absolute; top: 50%; left: var(--x); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2.5px var(--line-2); transition: box-shadow .4s, background-color .4s; }
.ladder-tick.hit { background: #FFFFFF; box-shadow: inset 0 0 0 4px #E8175D; }
.ladder-tick.flash { animation: tickFlash .9s var(--spring); }
@keyframes tickFlash { 40% { transform: scale(1.7); box-shadow: inset 0 0 0 4px #E8175D, 0 0 0 8px rgba(232, 23, 93, .2); } }
.ladder-labels { position: relative; height: 40px; margin: 10px 6px 0; }
.ladder-labels > div { position: absolute; left: var(--x); transform: translateX(-50%); text-align: center; white-space: nowrap; }
.ladder-labels > div:last-child { transform: translateX(-88%); text-align: right; }
.ladder-labels b { display: block; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--muted); transition: color .4s; }
.ladder-labels span { font-size: 11px; color: var(--muted); }
.ladder-labels .hit b { color: var(--ink); }

.legs { padding: 4px 16px 0; }
.leg { display: grid; grid-template-columns: 52px 18px minmax(0, 1fr); column-gap: 10px; }
.leg .tm { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.leg .tm sup { font-size: 10px; color: var(--accent); }
.leg .rail { position: relative; display: flex; justify-content: center; }
.leg .rail::before { content: ""; position: absolute; top: 8px; bottom: -8px; width: 2px; background: var(--line-2); }
.leg:last-child .rail::before { display: none; }
.leg .rail i { position: relative; width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2.5px var(--ink); }
.leg .info { padding-bottom: 16px; }
.leg .ap { font-size: 14px; font-weight: 700; }
.leg .meta { font-size: 12px; color: var(--muted); margin-top: 1px; }
.stopover { margin: 0 0 16px 80px; padding: 8px 12px; border-radius: 10px; background: var(--surface); font-size: 12.5px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
.incl > div { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); font-size: 13px; font-weight: 600; }
.incl svg { flex: none; color: var(--accent); }

.guard {
  position: relative; margin: 0 16px; padding: 16px 16px 16px 88px; border-radius: 18px; overflow: hidden; min-height: 112px;
  background: linear-gradient(135deg, #2A0A3F, #5A1158 60%, #8E1B8A); color: #FFFFFF;
}
.guard svg.lions { position: absolute; left: 6px; bottom: 0; width: 82px; height: 104px; }
.guard .t { font-size: 15px; font-weight: 800; }
.guard p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); }

.cta-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; padding: 12px 16px 22px; display: flex; align-items: center; gap: 14px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--glass-line);
}
.cta-bar .lhs { flex: 1 1 auto; min-width: 0; }
.cta-bar .lhs .price { font-size: 21px; }

/* ---------- rows / lists ---------- */
.row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 60px; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); }
.row.tap { transition: background-color .15s; }
.row.tap:hover { background: var(--hover); }
.row-main { flex: 1 1 auto; min-width: 0; }
.row-title { font-size: 14px; font-weight: 700; }
.row-sub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.row-text { font-size: 13.5px; line-height: 1.42; }
.row .chev { color: var(--muted); flex: none; }
.ico-tile { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); }
.ico-tile.sq { border-radius: 12px; }
.list-card { margin: 0 16px; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.list-card > * + * { border-top: 1px solid var(--line); }

/* check boxes, switches */
.check { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--line-2); transition: background .25s, box-shadow .25s; color: #FFFFFF; }
.check path { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s var(--ease-out) .05s; }
.is-on > .check, .check.is-on { background: var(--grad-brand); box-shadow: none; }
.is-on > .check path, .check.is-on path { stroke-dashoffset: 0; }
.check.round { border-radius: 50%; }
.switch { position: relative; width: 48px; height: 28px; flex: none; border: 0; padding: 0; border-radius: 14px; background: var(--line-2); transition: background-color .3s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .4s var(--spring); }
.switch[aria-checked="true"] { background: var(--grad-brand); }
.switch[aria-checked="true"]::after { transform: translateX(20px); }

/* travellers, plans, payment */
.trav { display: flex; align-items: center; gap: 12px; padding: 10px 16px; width: 100%; border: 0; background: none; text-align: left; color: var(--ink); transition: background-color .15s; }
.trav:hover { background: var(--hover); }
.trav.add-in { animation: slideIn .5s var(--ease-out); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } }
.callout { margin: 12px 16px 0; padding: 12px 14px; border-radius: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; background: var(--surface); color: var(--ink-2); }
.callout svg { flex: none; margin-top: 1px; color: var(--accent); }
.callout b { color: var(--ink); }
.plan { margin: 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plan > div { padding: 12px; border-radius: 14px; background: var(--surface); }
.plan > div:first-child { background: var(--ink); color: var(--bg); }
.plan .k { font-size: 11.5px; font-weight: 600; opacity: .7; }
.plan .v { font-size: 16px; font-weight: 800; margin-top: 3px; font-variant-numeric: tabular-nums; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left; border: 0; border-radius: 16px; background: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, background-color .25s; }
.opt:hover { background: var(--hover); }
.opt.is-on { box-shadow: inset 0 0 0 2px var(--ink); }
.opt .radio { width: 22px; height: 22px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-2); transition: box-shadow .3s var(--spring); }
.opt.is-on .radio { box-shadow: inset 0 0 0 7px var(--accent); }
.opt-more { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.opt-more > div { min-height: 0; }
.opt-more.open { grid-template-rows: 1fr; }
.sum { padding: 0 16px; font-size: 14px; }
.sum > div { height: 36px; display: flex; align-items: center; justify-content: space-between; }
.sum > div span:first-child { color: var(--ink-2); }
.sum > div span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.sum .tot { height: auto; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); align-items: baseline; }
.sum .tot span:last-child { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.note { margin: 14px 16px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.note svg { flex: none; margin-top: 1px; }

/* ---------- trips ---------- */
.ticket {
  position: relative; margin: 6px 16px 0; border-radius: 22px; color: #FFFFFF; background: var(--grad-ticket); overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(142, 27, 138, .7); animation: ticketIn .9s var(--ease-out) both;
}
@keyframes ticketIn { from { opacity: 0; transform: translateY(-26px) scale(.96); clip-path: inset(0 0 100% 0 round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
.ticket::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: var(--dhaka); background-size: 36px 36px; pointer-events: none; }
.ticket > * { position: relative; }
.ticket-top { padding: 14px 18px 0; display: flex; align-items: center; justify-content: space-between; }
.ticket-route { padding: 16px 18px 0; display: flex; align-items: center; justify-content: space-between; }
.ticket-route .code { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.ticket-route .city { font-size: 12px; font-weight: 600; margin-top: 4px; opacity: .9; }
.ticket-mid { position: relative; flex: 1 1 auto; margin: -16px 14px 0; height: 24px; }
.ticket-mid .dash { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .55); }
.ticket-mid svg { position: absolute; top: 0; left: 0; animation: ticketPlane 6s var(--ease-io) infinite; }
@keyframes ticketPlane { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }
.ticket-grid { padding: 16px 18px 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ticket-grid .k { font-size: 11px; font-weight: 600; opacity: .85; }
.ticket-grid .v { font-size: 14px; font-weight: 700; margin-top: 2px; }
.ticket-perf { position: relative; height: 0; border-top: 2px dashed rgba(255, 255, 255, .45); margin: 0 18px; }
.ticket-notch { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); top: -12px; }
.ticket-notch.l { left: -30px; } .ticket-notch.r { right: -30px; }
.ticket-foot { padding: 14px 18px 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.ticket-foot .ref { font-size: 21px; font-weight: 800; letter-spacing: 2.5px; margin-top: 2px; }
.ticket .chip-glass { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.count { padding: 14px 16px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.todo { margin: 0 16px; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.todo-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left; border: 0; background: none; color: var(--ink); }
.todo-item + .todo-item { border-top: 1px solid var(--line); }
.todo-item.is-on .row-title { color: var(--muted); }
.pring { width: 44px; height: 44px; flex: none; }
.pring circle { fill: none; stroke-width: 4.5; }
.pring .bg { stroke: var(--line-2); }
.pring .fg { stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease-out); transform: rotate(-90deg); transform-origin: 50% 50%; }
.empty-trip { margin: 6px 16px 0; padding: 18px; border-radius: 20px; border: 1.5px dashed var(--line-2); display: flex; gap: 14px; align-items: center; }

/* parent travel */
.route3 { position: relative; margin: 0 16px; padding: 16px; border-radius: 18px; background: var(--surface); }
.route3 svg { display: block; width: 100%; height: auto; }
.route3 .lbls { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }
.route3 .lbls b { display: block; font-size: 16px; color: var(--ink); }
.tcard { position: relative; margin: 0 16px; border-radius: 20px; overflow: hidden; background: #FFF8EE; color: #2A1406; border: 1px solid #F1D9B5; }
.tcard-top { height: 34px; background-image: var(--lattice); background-size: 22px 22px; background-color: #6B2E16; border-bottom: 3px solid #E5A93B; }
.tcard-body { padding: 14px 16px 16px; }
.tcard .ne-big { font-family: var(--font-ne); font-size: 22px; font-weight: 700; line-height: 1.45; }
.tcard .en { font-size: 15px; font-weight: 700; margin-top: 4px; color: #6B3A16; }
.tcard dl { margin: 12px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.tcard dt { color: #8A5A32; font-weight: 600; }
.tcard dd { margin: 0; font-weight: 700; }
.fullcard { position: absolute; inset: 0; z-index: 75; display: grid; place-items: center; padding: 24px; background: #1A0A12; perspective: 1200px; animation: fadeIn .3s ease both; }
.fullcard-inner { position: relative; width: 100%; aspect-ratio: 3 / 4.2; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.fullcard-inner.flip { transform: rotateY(180deg); }
.fullcard-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 24px; overflow: hidden; background: #FFF8EE; color: #2A1406; display: flex; flex-direction: column; }
.fullcard-face.back { transform: rotateY(180deg); }
.fullcard-face .msg { flex: 1; display: grid; place-content: center; padding: 22px; text-align: center; gap: 12px; }
.fullcard-face .msg .big { font-size: 34px; font-weight: 800; line-height: 1.3; }
.fullcard-face .msg .ne { font-size: 36px; font-weight: 700; line-height: 1.45; }
.fullcard .hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.fullcard .close { position: absolute; top: 14px; right: 14px; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- alerts ---------- */
.day-head { padding: 16px 16px 4px; font-size: 15px; font-weight: 800; }
.alert-row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; animation: rowIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rowIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- community ---------- */
.ctabs { position: relative; display: flex; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex: none; }
.ctabs::-webkit-scrollbar { display: none; }
.ctab { height: 42px; flex: none; border: 0; background: none; padding: 0; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.ctab[aria-selected="true"] { color: var(--ink); font-weight: 800; }
.ctab-ind { position: absolute; bottom: -1px; left: 0; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.cpane { animation: paneIn .45s var(--ease-out) both; }
.cpane.from-l { animation-name: paneInL; }
@keyframes paneIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes paneInL { from { opacity: 0; transform: translateX(-28px); } }

.post { padding-bottom: 14px; }
.post + .post { border-top: 1px solid var(--line); padding-top: 4px; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 8px 4px 8px 14px; }
.post-head .who { flex: 1 1 auto; min-width: 0; border: 0; background: none; padding: 0; text-align: left; color: var(--ink); }
.post-head .nm { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.post-head .loc { font-size: 12px; color: var(--ink-2); }
.post-media { position: relative; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; background: var(--surface); }
.post-media > svg, .post-media .slide > svg { display: block; width: 100%; height: auto; }
.post-media .track { display: flex; transition: transform .5s var(--ease-out); }
.post-media .slide { flex: 0 0 100%; position: relative; }
.post-media .count-pill { position: absolute; top: 12px; right: 12px; z-index: 2; }
.dots { display: flex; justify-content: center; gap: 4px; height: 6px; margin-top: -2px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background-color .3s, transform .3s; }
.dots i.on { background: var(--accent); transform: scale(1.15); }
.post-actions { display: flex; align-items: center; padding: 2px 6px 0; }
.post-actions .grow { flex: 1; }
.act { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); border-radius: 50%; transition: transform .18s var(--ease-out); }
.act:active { transform: scale(.85); }
.act.liked { color: #E8175D; }
.act.liked svg { fill: #E8175D; stroke: #E8175D; animation: likePop .5s var(--spring); }
.act.saved svg { fill: currentColor; animation: likePop .5s var(--spring); }
@keyframes likePop { 0% { transform: scale(1); } 30% { transform: scale(.7); } 65% { transform: scale(1.25); } 100% { transform: scale(1); } }
.post-meta { padding: 0 16px; font-size: 13.5px; line-height: 1.45; }
.post-meta .likes { font-weight: 700; font-variant-numeric: tabular-nums; }
.post-meta .cap { margin-top: 4px; }
.post-meta .more { display: block; margin-top: 4px; color: var(--muted); border: 0; background: none; padding: 0; font-size: 13.5px; }
.post-meta .when { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 16px; border: 0;
  background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; text-align: left; transition: background-color .25s, color .25s;
}
.cta-strip:hover, .cta-strip.lit { background: var(--grad-brand); color: #FFFFFF; }
.verified { color: var(--ok); flex: none; }

/* double-tap burst */
.burst { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst .heart { position: absolute; width: 96px; height: 96px; left: -48px; top: -48px; animation: heartPop 1s var(--spring) forwards; filter: drop-shadow(0 8px 22px rgba(80, 0, 40, .35)); }
@keyframes heartPop { 0% { transform: scale(0) rotate(-12deg); opacity: 0; } 18% { transform: scale(1.18) rotate(4deg); opacity: 1; } 34% { transform: scale(.94) rotate(0); } 70% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1) translateY(-26px); opacity: 0; } }
.burst .petal { position: absolute; left: -6px; top: -8px; width: 12px; height: 16px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: var(--c); animation: petal 1s var(--ease-out) forwards; }
@keyframes petal { from { transform: rotate(var(--r)) translateY(0) scale(.6); opacity: 1; } to { transform: rotate(var(--r)) translateY(calc(var(--dist) * -1)) rotate(140deg) scale(1); opacity: 0; } }

/* member profile */
.prof { padding: 8px 16px 0; display: flex; align-items: center; gap: 18px; }
.stats { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.stats b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12.5px; color: var(--ink-2); }
.hl { display: flex; gap: 14px; padding: 4px 16px 12px; overflow-x: auto; scrollbar-width: none; }
.hl::-webkit-scrollbar { display: none; }
.hl > div { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; flex: none; }
.hl .ring { --s: 62px; }
.hl .ring::before { background: var(--line-2); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.grid3 > button { aspect-ratio: 1; padding: 0; border: 0; overflow: hidden; background: var(--surface); position: relative; }
.grid3 svg { width: 100%; height: 100%; display: block; transition: transform .6s var(--ease-out); }
.grid3 > button:hover svg { transform: scale(1.06); }
.prof-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); margin-top: 6px; }
.prof-tabs button { height: 44px; border: 0; background: none; color: var(--muted); border-bottom: 2px solid transparent; display: grid; place-items: center; }
.prof-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* comments, messages */
.cmt { display: flex; gap: 12px; padding: 10px 16px; align-items: flex-start; }
.cmt.add-in { animation: rowIn .5s var(--ease-out); }
.cmt .body { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.4; }
.cmt .meta { margin-top: 4px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); font-weight: 600; }
.composer {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px 16px; border-top: 1px solid var(--line);
  background: var(--glass-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.composer input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 21px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; outline: none; transition: border-color .2s; }
.composer input:focus { border-color: var(--muted); }
.composer .send { border: 0; background: none; font-size: 14px; font-weight: 800; color: var(--accent); padding: 8px 4px; }
.composer .send:disabled { opacity: .4; }
.thread { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 16px; border: 0; background: none; text-align: left; color: var(--ink); transition: background-color .15s; }
.thread:hover { background: var(--hover); }
.thread .last { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread.unread .last { color: var(--ink); font-weight: 700; }
.chat { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; }
.bubble { max-width: 76%; padding: 9px 13px; border-radius: 20px; font-size: 14px; line-height: 1.4; animation: bubbleIn .4s var(--spring) both; }
.bubble.in { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--grad-brand); color: #FFFFFF; border-bottom-right-radius: 6px; }
.bubble .who { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.chat-day { align-self: center; font-size: 11.5px; color: var(--muted); font-weight: 600; margin: 6px 0; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.92); } }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 20px; background: var(--surface-2); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* jobs, events, help */
.card { margin: 0 16px; padding: 14px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--bg); transition: box-shadow .3s, transform .3s var(--ease-out); width: calc(100% - 32px); text-align: left; color: var(--ink); display: block; }
.card:hover { box-shadow: var(--shadow-1); transform: translateY(-1px); }
.logo-tile { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #FFFFFF; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.facts span { display: inline-flex; align-items: center; gap: 5px; }
.datebox { width: 52px; flex: none; border-radius: 12px; overflow: hidden; text-align: center; border: 1px solid var(--line-2); background: var(--bg); }
.datebox .m { background: var(--grad-brand); color: #FFFFFF; font-size: 10.5px; font-weight: 800; letter-spacing: 1px; padding: 3px 0; }
.datebox .d { font-size: 20px; font-weight: 800; padding: 3px 0 4px; }
.ev-hero { position: relative; margin: 0 16px; border-radius: 20px; overflow: hidden; color: #FFFFFF; display: block; width: calc(100% - 32px); padding: 0; border: 0; text-align: left; }
.ev-hero > svg { display: block; width: 100%; height: 190px; }
.ev-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; background: linear-gradient(180deg, rgba(10, 6, 30, 0), rgba(10, 6, 30, .82)); pointer-events: none; }
.ev-hero .txt { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; }
.ev-hero .txt .t { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.kind { font-size: 10.5px; font-weight: 800; letter-spacing: 1.3px; color: var(--accent); }
.reward { font-size: 19px; font-weight: 800; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.on-flight { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ok); }
.steps { margin: 0 16px; display: flex; flex-direction: column; }
.step { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step .n { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--surface-2); transition: background .3s, color .3s; }
.step.done .n { background: var(--grad-brand); color: #FFFFFF; }
.upbar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 8px; }
.upbar i { display: block; height: 100%; width: 0; background: var(--grad-warm); transition: width 1.4s var(--ease-out); }

/* profile */
.prof-card { margin: 0 16px; display: flex; align-items: center; gap: 14px; }
.menu { margin: 0 16px; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.menu > * + * { border-top: 1px solid var(--line); }
.earn {
  position: relative; margin: 16px 16px 0; padding: 16px; border-radius: 20px; overflow: hidden; color: #FFFFFF; background: var(--grad-ticket);
  display: flex; align-items: center; justify-content: space-between; width: calc(100% - 32px); border: 0; text-align: left;
}
.earn::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: var(--dhaka); background-size: 36px 36px; }
.earn > * { position: relative; }

/* forms, onboarding */
.form { display: flex; flex-direction: column; gap: 14px; padding: 0 20px; }
.inp { display: flex; flex-direction: column; gap: 6px; }
.inp label { font-size: 13px; font-weight: 700; }
.inp .box { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.inp .box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px var(--hover); }
.inp input, .inp textarea { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: 15px; }
.inp textarea { height: auto; min-height: 88px; padding: 12px 0; resize: none; line-height: 1.45; }
.inp .pre { font-weight: 700; font-size: 14px; color: var(--ink-2); padding-right: 8px; border-right: 1px solid var(--line-2); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 0 20px; }
.otp input {
  width: 100%; height: 58px; text-align: center; font-size: 24px; font-weight: 800; border-radius: 14px; border: 1.5px solid var(--line-2);
  background: var(--bg); outline: none; caret-color: var(--accent); transition: border-color .2s, transform .3s var(--spring), box-shadow .2s;
}
.otp input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--hover); }
.otp input.filled { animation: digitIn .35s var(--spring); border-color: var(--ink); }
.otp.ok input { border-color: var(--ok); color: var(--ok); }
@keyframes digitIn { 40% { transform: scale(1.12); } }
.steps-dots { display: flex; gap: 6px; padding: 0 20px; }
.steps-dots i { height: 4px; flex: 1; border-radius: 2px; background: var(--line-2); }
.steps-dots i.on { background: var(--grad-warm); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick .chip { height: 40px; border-radius: 12px; }

/* splash + welcome */
.splash { position: absolute; inset: 0; z-index: 90; background: #2B0E25; color: #F4F4F6; overflow: hidden; transition: opacity .6s ease, transform .8s var(--ease-out); }
.splash.out { opacity: 0; transform: scale(1.06); pointer-events: none; }
.splash > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-mid { position: absolute; left: 0; right: 0; top: 30%; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.splash-mid img { width: 260px; max-width: 76%; height: auto; animation: logoIn 1.4s var(--ease-out) .5s both; }
@keyframes logoIn { from { opacity: 0; clip-path: inset(0 100% 0 0); filter: blur(6px); transform: translateY(8px); } to { clip-path: inset(0 0 0 0); } }
.splash-mid .l1 { margin-top: 22px; font-size: 16px; font-weight: 600; color: #E4D3E0; animation: fadeUp .9s var(--ease-out) 1.4s both; }
.splash-mid .l2 { margin-top: 4px; font-size: 17px; font-weight: 600; color: #FF4F86; animation: fadeUp .9s var(--ease-out) 1.75s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.splash .skip { position: absolute; right: 16px; top: 14px; z-index: 2; }
.splash-foot { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-size: 12.5px; font-weight: 600; color: #E4D3E0; animation: fadeUp .9s var(--ease-out) 2s both; }
.rise { animation: rise 1.6s var(--ease-out) both; animation-delay: var(--dl, 0s); }
@keyframes rise { from { transform: translateY(120px); } }
.sunrise { animation: sunrise 2.4s var(--ease-out) .3s both; }
@keyframes sunrise { from { transform: translateY(90px); opacity: .3; } }

.wc-art { position: relative; height: 54%; min-height: 300px; overflow: hidden; }
.wc-track { display: flex; height: 100%; transition: transform .7s var(--ease-out); }
.wc-slide { flex: 0 0 100%; height: 100%; position: relative; }
.wc-slide > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wc-copy { padding: 22px 22px 0; }
.wc-copy .h1 { font-size: 30px; }
.wc-copy p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 34ch; }
.wc-dots { display: flex; gap: 6px; padding: 18px 22px 0; }
.wc-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line-2); transition: width .4s var(--ease-out), background-color .3s; }
.wc-dots button[aria-current="true"] { width: 26px; background: var(--accent); }
.wc-actions { margin-top: auto; padding: 16px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.legal { text-align: center; font-size: 11.5px; color: var(--muted); }

/* ---------- overlays ---------- */
.overlays { position: absolute; inset: 0; z-index: 50; pointer-events: none; }
.overlays > * { pointer-events: auto; }
.sheet-wrap { position: absolute; inset: 0; }
.sheet-backdrop { position: absolute; inset: 0; background: var(--scrim); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s ease; border: 0; width: 100%; padding: 0; }
.sheet {
  position: absolute; left: 8px; right: 8px; bottom: 8px; max-height: 88%; display: flex; flex-direction: column; border-radius: 30px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--glass-line); box-shadow: 0 -12px 50px rgba(0, 0, 0, .22);
  transform: translate3d(0, 110%, 0); transition: transform .55s var(--ease-out);
}
.sheet-wrap.open .sheet { transform: none; }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 8px auto 2px; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 20px; flex: none; }
.sheet-body { overflow-y: auto; padding-bottom: 18px; scrollbar-width: none; }
.sheet-item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 20px; border: 0; background: none; text-align: left; color: var(--ink); transition: background-color .15s; }
.sheet-item:hover { background: var(--hover); }
.sheet-item .ico-tile { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.stagger > * { animation: rowIn .5s var(--ease-out) both; }
.stagger > *:nth-child(2) { animation-delay: .05s; } .stagger > *:nth-child(3) { animation-delay: .1s; } .stagger > *:nth-child(4) { animation-delay: .15s; }
.stagger > *:nth-child(5) { animation-delay: .2s; } .stagger > *:nth-child(6) { animation-delay: .25s; } .stagger > *:nth-child(7) { animation-delay: .3s; }

.toast {
  position: absolute; left: 50%; bottom: calc(var(--tabbar-h) + 14px); z-index: 95; max-width: calc(100% - 32px); padding: 11px 16px;
  display: flex; align-items: center; gap: 10px; border-radius: 16px; background: var(--toast); color: #FFFFFF; font-size: 13.5px; font-weight: 600;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
  transform: translate3d(-50%, 24px, 0); opacity: 0; transition: transform .45s var(--spring), opacity .3s; pointer-events: none;
}
.toast.on { transform: translate3d(-50%, 0, 0); opacity: 1; }
.toast svg { flex: none; color: #FFB000; }

/* story viewer */
.sv { position: absolute; inset: 0; z-index: 70; background: #000000; color: #FFFFFF; overflow: hidden; animation: svIn .42s var(--ease-out) both; touch-action: none; user-select: none; -webkit-user-select: none; }
@keyframes svIn { from { opacity: 0; transform: scale(.88); border-radius: 40px; } }
.sv.closing { animation: svOut .3s ease-in forwards; }
@keyframes svOut { to { opacity: 0; transform: scale(.9) translateY(30px); } }
.sv-slide { position: absolute; inset: 0; }
.sv-slide > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sv-slide .layer { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 90px 24px 110px; text-align: center; gap: 12px; }
.sv-slide.enter { animation: svSlide .5s var(--ease-out) both; }
@keyframes svSlide { from { opacity: 0; transform: scale(1.04); } }
.sv-shade { position: absolute; left: 0; right: 0; top: 0; height: 130px; background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); pointer-events: none; z-index: 2; }
.sv-bars { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 4; display: flex; gap: 4px; }
.sv-bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.sv-bars i { display: block; height: 100%; background: #FFFFFF; transform-origin: left; transform: scaleX(0); }
.sv-head { position: absolute; top: 20px; left: 12px; right: 4px; z-index: 4; display: flex; align-items: center; gap: 10px; }
.sv-head .nm { font-size: 14px; font-weight: 700; } .sv-head .tm { font-size: 13px; opacity: .75; }
.sv-head .iconbtn { color: #FFFFFF; }
.sv-head .iconbtn:hover { background: rgba(255, 255, 255, .12); }
.sv-tap { position: absolute; top: 70px; bottom: 90px; z-index: 3; border: 0; background: none; padding: 0; }
.sv-tap.l { left: 0; width: 34%; } .sv-tap.r { right: 0; width: 66%; }
.sv-reply { position: absolute; left: 12px; right: 12px; bottom: 16px; z-index: 4; display: flex; gap: 10px; align-items: center; }
.sv-reply input {
  flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 23px; color: #FFFFFF; font-size: 14px; outline: none;
  border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.sv-reply input::placeholder { color: rgba(255, 255, 255, .85); }
.sv-reply .iconbtn { color: #FFFFFF; }
.sticker {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 18px; border-radius: 20px; color: #0E0E10; border: 0;
  background: rgba(255, 255, 255, .92); box-shadow: 0 12px 34px rgba(0, 0, 0, .3); transform: rotate(-3deg); transition: transform .3s var(--spring);
  position: relative; z-index: 4;
}
.sticker:hover { transform: rotate(0) scale(1.04); }
.sticker.gl { color: #FFFFFF; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); }
.sv .big { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.08; text-shadow: 0 4px 24px rgba(0, 0, 0, .35); }
.sv .mid { font-size: 16px; font-weight: 600; opacity: .95; }

/* celebration */
.celebrate {
  position: absolute; inset: 0; z-index: 85; display: flex; flex-direction: column; overflow: hidden; color: #FFFFFF;
  background: radial-gradient(120% 70% at 50% 0%, #8E1B8A 0%, #4A0F4E 45%, #1E0726 100%); animation: fadeIn .4s ease both;
}
.celebrate .garland { position: absolute; left: -10px; right: -10px; top: -6px; height: 90px; animation: garlandDrop 1.2s var(--spring) .2s both; transform-origin: 50% 0; }
@keyframes garlandDrop { from { transform: translateY(-110px); } }
.celebrate .pf { position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: var(--c); left: var(--x); animation: fall var(--t) linear var(--dl) infinite; opacity: .95; }
@keyframes fall { from { transform: translateY(-30px) rotate(0); } to { transform: translateY(900px) rotate(var(--rot)); } }
.celebrate .inner { position: relative; z-index: 2; margin-top: auto; margin-bottom: auto; padding: 0 22px; text-align: center; }
.celebrate .h1 { font-size: 31px; }
.celebrate .seats { padding: 0; margin: 20px 4px 0; }
.celebrate .seat { --seat-empty: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.celebrate .seat::after { background: rgba(255, 255, 255, .28); }
.celebrate .seat.t { box-shadow: none; }
.celebrate .seat.y { background: #FFFFFF; }
.celebrate .seat.y::after { background: #FFFFFF; }
.fare-drop { margin-top: 22px; display: inline-flex; flex-direction: column; align-items: center; padding: 14px 22px; border-radius: 20px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.fare-drop .p { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; line-height: 1.05; }
.celebrate .acts { position: relative; z-index: 2; padding: 0 20px 24px; display: flex; flex-direction: column; gap: 10px; }

/* pull to refresh (a prayer wheel turns as you pull) */
.ptr { position: absolute; left: 0; right: 0; top: 0; height: 0; display: flex; justify-content: center; z-index: 4; pointer-events: none; }
.ptr-wheel { margin-top: 62px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-strong); box-shadow: var(--shadow-1); border: 1px solid var(--glass-line); opacity: 0; transform: translateY(-30px) scale(.6); }
.ptr-wheel svg { width: 30px; height: 30px; }
.ptr.spinning .mani { animation: mani .9s linear infinite; }
@keyframes mani { to { transform: translateX(-12px); } }
.pulling { transition: none !important; }
.shimmer > * { animation: shimmerIn .7s var(--ease-out) both; }
.shimmer > *:nth-child(2) { animation-delay: .06s; } .shimmer > *:nth-child(3) { animation-delay: .12s; } .shimmer > *:nth-child(4) { animation-delay: .18s; }
@keyframes shimmerIn { from { opacity: 0; transform: translateY(14px); } }

/* utilities */
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.center { text-align: center; }
.flex { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.nowrap { white-space: nowrap; }


/* ---------- feed media, stories, misc (added) ---------- */
.appbar.static { position: relative; flex: none; }
.post-media { aspect-ratio: 390 / 340; }
.post-media > svg, .post-media .slide > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.post-media .track { position: absolute; inset: 0; }
.post-media .slide { height: 100%; overflow: hidden; }
.post-media[data-slides] { touch-action: pan-y; cursor: grab; }
.slide-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; color: #FFFFFF; }
.slide-cap .big { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; text-shadow: 0 2px 14px rgba(30, 6, 30, .35); }
.slide-seats { display: grid; place-items: center; text-align: center; color: #FFFFFF; padding: 20px; background: radial-gradient(120% 80% at 50% 0%, #8E1B8A, #2A0A3F 72%); }
.slide-seats > div { width: 100%; }
.slide-seats .big { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin: 4px 0 14px; }
.slide-seats .seats, .sv .seats { padding: 0; }
.slide-seats .seat, .sv .seat { --seat-empty: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.slide-seats .seat::after, .sv .seat::after { background: rgba(255, 255, 255, .28); }
.slide-seats .seat.t, .sv .seat.t { box-shadow: none; }
.car { position: absolute; top: 50%; z-index: 3; width: 32px; height: 32px; margin-top: -16px; }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.post-actions .grow { display: flex; justify-content: center; }
.sv-slide { z-index: 1; }
.sv-ui { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 4; display: flex; justify-content: center; pointer-events: none; padding: 0 24px; }
.sv-ui > * { pointer-events: auto; }
.art-box { position: relative; overflow: hidden; }
.art-box > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.datebox span { display: block; }
.np-thumb { position: relative; width: 56px; height: 56px; flex: none; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--surface); transition: box-shadow .2s, transform .16s var(--ease-out); }
.np-thumb > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.np-thumb[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--bg), 0 0 0 4.5px var(--accent); }
.np-thumb:active { transform: scale(.94); }
.trav[aria-pressed="true"] > .check { background: var(--grad-brand); box-shadow: none; }
.trav[aria-pressed="true"] > .check path { stroke-dashoffset: 0; }

@media (hover: none) {
  .dep { transform: none; }
  .btn--brand::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .celebrate .pf { display: none; }
}
