/* =====================================================================
   Waad Club Evening x Al Rabie — guest ordering app (phone first)
   Master visual: Waad navy → Al Rabie emerald, fine lines, glass cards.
   ===================================================================== */

@font-face { font-family: 'Ping AR LT'; src: url('../fonts/PingARLT-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Ping AR LT'; src: url('../fonts/PingARLT-Black.ttf') format('truetype'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'PF Transport'; src: url('../fonts/PFTransport-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'PF Transport'; src: url('../fonts/PFTransport-Bold.otf') format('opentype'); font-weight: 700 900; font-display: swap; }

:root {
  --bg-0: #020d18;
  --bg-1: #05182c;
  --navy: #0b2540;
  --waad: #1a4f8c;
  --teal: #1fb5a8;
  --mint: #34e0a9;
  --rabie: #0b7f3b;
  --rabie-2: #14a352;
  --text: #f2f8fb;
  --muted: rgba(220, 236, 244, .68);
  --faint: rgba(220, 236, 244, .42);
  --line: rgba(255, 255, 255, .12);
  --card: rgba(10, 38, 64, .56);
  --card-2: rgba(255, 255, 255, .06);
  --led: linear-gradient(90deg, #2d6bff, #2fa8ff 25%, #2fe0d0 50%, #4ce08a 75%, #6ce04a);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ar: 'Ping AR LT', 'Segoe UI', Tahoma, sans-serif;
  --en: 'PF Transport', 'Ping AR LT', 'Segoe UI', sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { background: var(--bg-0); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh; color: var(--text);
  font: 400 16px/1.55 var(--ar);
  background: var(--bg-0);
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--en); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; display: block; }

/* ---------- Backdrop: master visual ---------- */

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 60% at 85% -10%, rgba(31, 181, 168, .28), transparent 60%),
    radial-gradient(90% 50% at 0% 0%, rgba(26, 79, 140, .45), transparent 65%),
    linear-gradient(180deg, #082340 0%, #05182c 45%, #031021 100%);
}
.backdrop-waves {
  position: absolute; left: -40%; right: -40%; bottom: -6%; height: 70%;
  background-position: center bottom; background-size: cover; background-repeat: no-repeat;
  opacity: .9; transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to top, #000 55%, transparent);
          mask-image: linear-gradient(to top, #000 55%, transparent);
  animation: drift 18s ease-in-out infinite alternate;
}
.backdrop-glow { position: absolute; inset: auto -20% -20% -20%; height: 50%;
  background: radial-gradient(50% 60% at 50% 100%, rgba(52, 224, 169, .18), transparent 70%); }
@keyframes drift { from { transform: scaleX(-1) translateX(0); } to { transform: scaleX(-1) translateX(4%); } }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px;
  padding: calc(12px + var(--safe-top)) 16px 10px;
  background: linear-gradient(180deg, rgba(3, 16, 30, .92), rgba(3, 16, 30, .55) 70%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lockup { justify-self: center; width: min(100%, 300px); height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.icon-btn, .lang-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card-2); border: 1px solid var(--line);
  transition: transform .15s ease, background .2s ease;
}
.icon-btn svg { width: 22px; height: 22px; }
html[dir="ltr"] .back-btn svg { transform: scaleX(-1); }
.lang-btn { font: 700 13px/1 var(--en); letter-spacing: .5px; grid-column: 3; }
.lang-btn:lang(ar), html[lang="en"] .lang-btn { font-family: var(--ar); font-size: 15px; letter-spacing: 0; }
.back-btn { grid-column: 1; grid-row: 1; }
.lockup { grid-column: 2; grid-row: 1; }
.icon-btn:active, .lang-btn:active { transform: scale(.92); }

/* ---------- Screens ---------- */

.app { position: relative; z-index: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 4px 18px calc(28px + var(--safe-bottom)); }
.screen { animation: screenIn .5s var(--ease) both; }
.screen.back { animation-name: screenBack; }
@keyframes screenIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes screenBack { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
html[dir="ltr"] .screen { animation-name: screenInLtr; }
html[dir="ltr"] .screen.back { animation-name: screenBackLtr; }
@keyframes screenInLtr { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes screenBackLtr { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s var(--ease) both; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.eyebrow { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--mint); font-weight: 900; font-size: 15px; letter-spacing: .2px; }
html[lang="en"] .eyebrow { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ''; height: 1px; width: 42px; background: linear-gradient(90deg, transparent, rgba(52, 224, 169, .7)); }
.eyebrow::after { transform: scaleX(-1); }

.h1 { margin: 0; font-weight: 900; font-size: clamp(34px, 10vw, 46px); line-height: 1.12; text-align: center; letter-spacing: -.3px; }
html[lang="en"] .h1 { font-size: clamp(30px, 8.6vw, 40px); letter-spacing: 0; }
.h2 { margin: 0; font-weight: 900; font-size: clamp(26px, 7.4vw, 32px); line-height: 1.2; }
html[lang="en"] .h2 { font-size: clamp(24px, 6.6vw, 29px); }
.sub { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.latin { font-family: var(--en); letter-spacing: 6px; font-size: 12.5px; text-align: center; color: rgba(255, 255, 255, .82); margin-top: 6px; }

/* step header */
.step-head { margin: 10px 2px 18px; }
.steps { display: flex; gap: 6px; margin-bottom: 14px; }
.steps i { height: 4px; flex: 1; border-radius: 4px; background: rgba(255, 255, 255, .14); overflow: hidden; position: relative; }
.steps i.on::after { content: ''; position: absolute; inset: 0; background: var(--led); animation: fill .6s var(--ease) both; transform-origin: right; }
html[dir="ltr"] .steps i.on::after { transform-origin: left; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */

.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 58px; padding: 0 24px; border-radius: 999px;
  font-weight: 900; font-size: 18px; letter-spacing: .2px;
  transition: transform .15s ease, filter .2s ease, opacity .2s ease;
}
html[lang="en"] .btn { font-weight: 700; font-size: 16px; letter-spacing: 1.2px; text-transform: uppercase; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0b7f3b 0%, #14a352 55%, #2cc370 100%);
  box-shadow: 0 12px 30px rgba(20, 163, 82, .35), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn-primary::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%, rgba(108, 224, 74, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.btn-primary .arrow { width: 22px; height: 22px; }
html[dir="rtl"] .btn-primary .arrow { transform: scaleX(-1); }
.btn-ghost { color: var(--text); background: var(--card-2); border: 1px solid var(--line); }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .label, .btn.is-busy .arrow { opacity: 0; }
.btn .dots { position: absolute; display: none; gap: 7px; }
.btn.is-busy .dots { display: flex; }
.btn .dots i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: dot 1s infinite ease-in-out; }
.btn .dots i:nth-child(2) { animation-delay: .15s; }
.btn .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: scale(.5); opacity: .5; } 50% { transform: scale(1); opacity: 1; } }
.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 12px 30px rgba(20, 163, 82, .35), 0 0 0 0 rgba(52, 224, 169, .0); } 50% { box-shadow: 0 12px 30px rgba(20, 163, 82, .35), 0 0 0 10px rgba(52, 224, 169, .12); } }

.sticky-cta { position: sticky; bottom: -1px; z-index: 5; margin: 18px -18px 0; padding: 16px 18px calc(14px + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, rgba(3, 16, 30, .88) 35%); }
/* Not floating over anything (short screen, or scrolled to the end): no backing, so the waves show through evenly. */
.sticky-cta.is-free { background: none; }

.link { color: var(--mint); font-weight: 900; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Welcome ---------- */

.welcome { text-align: center; padding-top: 6px; }
.welcome .h1 { margin-top: 10px; }
.cups {
  position: relative; margin: 18px -18px 6px; aspect-ratio: 16 / 9;
  -webkit-mask-image: radial-gradient(75% 85% at 50% 45%, #000 60%, transparent);
          mask-image: radial-gradient(75% 85% at 50% 45%, #000 60%, transparent);
}
.cups img { width: 100%; height: 100%; object-fit: cover; animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) scale(1.02); } 50% { transform: translateY(-6px) scale(1.04); } }
.welcome .lead { color: var(--muted); font-size: 16px; margin: 0 auto 18px; max-width: 30ch; }
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 20px; }
.journey div { padding: 12px 6px 10px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line); }
.journey svg { width: 30px; height: 30px; margin: 0 auto 6px; display: block; color: var(--mint); }
.journey span { display: block; font-size: 13px; line-height: 1.35; color: var(--text); font-weight: 900; }
html[lang="en"] .journey span { font-size: 12px; font-weight: 700; }
.meta { margin-top: 18px; color: var(--faint); font-size: 13px; }
.slogan { display: inline-block; margin-top: 4px; color: #fff; font-weight: 900; font-size: 15px; opacity: .9; }
.closed-card { padding: 18px; border-radius: var(--radius); background: rgba(255, 180, 80, .1); border: 1px solid rgba(255, 180, 80, .35); color: #ffe2b8; font-weight: 900; }

/* ---------- Regions ---------- */

.regions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.region {
  position: relative; overflow: hidden; border-radius: 24px; text-align: start;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0a2843, #071d33); border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease), box-shadow .3s ease, border-color .3s ease;
}
.region .photo { position: relative; display: block; aspect-ratio: 345 / 470; overflow: hidden; }
.region .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(1.02); transition: transform .6s var(--ease); }
.region .photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, transparent, #0a2843); }
.region:active { transform: scale(.97); }
.region:hover .photo img { transform: scale(1.07); }
.region:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.region .info { position: relative; display: block; padding: 2px 13px 14px; margin-top: -14px; }
.region .name { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 24px; line-height: 1.15; padding-inline-end: 36px; }
.region .name::before { content: ''; width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--accent, var(--mint)); box-shadow: 0 0 12px var(--accent, var(--mint)); }
html[lang="en"] .region .name { font-size: 20px; }
/* Recipe on the card: the Al Rabie base (pack + name), "mixed with", then each ingredient with its name. */
.region .base { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 900; line-height: 1.3; color: var(--text); }
html[lang="en"] .region .base { font-size: 12.5px; font-weight: 700; }
.region .base img { width: 22px; height: 44px; flex: none; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.region .mixed { display: flex; align-items: center; gap: 8px; margin: 10px 0 7px; color: var(--mint); font-size: 12px; font-weight: 900; }
.region .mixed::after { content: ''; flex: 1; height: 1px; background: linear-gradient(270deg, rgba(52, 224, 169, .5), transparent); }
html[dir="ltr"] .region .mixed::after { background: linear-gradient(90deg, rgba(52, 224, 169, .5), transparent); }
html[lang="en"] .region .mixed { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; }
.region .ings { display: flex; flex-direction: column; gap: 6px; }
.region .ing { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 900; line-height: 1.2; }
html[lang="en"] .region .ing { font-size: 13px; font-weight: 700; }
.region .ing img { width: 28px; height: 28px; flex: none; border-radius: 50%; object-fit: contain; background: #fff; padding: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.region .accent-bar { position: absolute; inset: 0 0 auto 0; z-index: 1; height: 3px; background: var(--accent, var(--mint)); opacity: .9; }
.region .go { position: absolute; inset-inline-end: 12px; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--line); }
.region .go svg { width: 16px; height: 16px; }
html[dir="rtl"] .region .go svg { transform: scaleX(-1); }
.region.is-off { filter: grayscale(.85); opacity: .6; }
.badge { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 900;
  background: rgba(3, 16, 30, .78); border: 1px solid var(--line); }

/* ---------- Drink detail ---------- */

.drink-hero { position: relative; display: grid; place-items: center; margin: 0 0 6px; }
.drink-hero .halo { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; top: 10%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, #34e0a9) 55%, transparent), transparent 68%); filter: blur(10px); opacity: .55; }
.drink-hero .cup { position: relative; width: min(58%, 250px); aspect-ratio: 35 / 72; border-radius: 26px; overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); animation: cupIn .7s var(--spring) both; }
.drink-hero .cup img { width: 100%; height: 100%; object-fit: cover; }
@keyframes cupIn { from { opacity: 0; transform: translateY(24px) scale(.92); } to { opacity: 1; transform: none; } }
.region-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 900;
  background: color-mix(in srgb, var(--accent, #34e0a9) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent, #34e0a9) 45%, transparent); }
.region-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--mint)); box-shadow: 0 0 10px var(--accent, var(--mint)); }
.drink-title { text-align: center; margin: 12px 0 16px; }
.drink-title .h2 { margin-top: 8px; }

.panel { padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.panel + .panel { margin-top: 12px; }
.panel-title { display: block; margin-bottom: 10px; color: var(--faint); font-size: 12.5px; font-weight: 900; letter-spacing: .3px; }
html[lang="en"] .panel-title { letter-spacing: 1.6px; text-transform: uppercase; font-size: 11px; }
.base-row { display: flex; align-items: center; gap: 14px; }
.base-row img { width: 46px; height: 92px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .4)); }
.base-row b { font-size: 17px; line-height: 1.35; }
.base-row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-weight: 900; font-size: 15px; }
html[dir="rtl"] .chip { padding: 5px 5px 5px 14px; }
.chip img { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.chip .plus { color: var(--faint); font-weight: 400; }
.tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.tabs button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); font-weight: 900; font-size: 14px; }
.tabs button.on { background: rgba(52, 224, 169, .16); border-color: rgba(52, 224, 169, .55); }

/* ---------- Where are you seated ---------- */

.summary { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); margin-bottom: 16px; }
.summary .thumb { width: 54px; height: 76px; border-radius: 14px; overflow: hidden; flex: none; }
.summary .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.summary .txt { flex: 1; min-width: 0; }
.summary b { display: block; font-size: 16px; line-height: 1.3; }
.summary small { display: block; color: var(--muted); font-size: 12.5px; }
.field { display: block; margin-bottom: 14px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; font-weight: 900; font-size: 15px; }
.field label em { font-style: normal; font-weight: 400; color: var(--faint); font-size: 13px; }
.input {
  width: 100%; height: 58px; padding: 0 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .16);
  font-size: 18px; outline: none; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: rgba(220, 236, 244, .38); }
.input:focus { border-color: var(--mint); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(52, 224, 169, .16); }
.input.big { height: 76px; font: 900 36px/1 var(--en); text-align: center; letter-spacing: 2px; }
.input.is-invalid { border-color: #ff8f8f; animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-top: 8px; }
.hint svg { width: 18px; height: 18px; flex: none; color: var(--mint); }
.from-card { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-size: 12.5px; font-weight: 900; }

/* ---------- Confirmation ---------- */

.done { text-align: center; }
.check { width: 86px; height: 86px; margin: 6px auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #2cc370, #0b7f3b); box-shadow: 0 0 0 10px rgba(20, 163, 82, .14), 0 18px 40px rgba(20, 163, 82, .35);
  animation: pop .6s var(--spring) both; }
.check svg { width: 44px; height: 44px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .35s ease forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ticket { position: relative; margin: 18px 0 14px; padding: 18px 18px 16px; border-radius: 26px; text-align: start;
  background: linear-gradient(160deg, rgba(16, 58, 96, .85), rgba(6, 30, 52, .9)); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.ticket::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: 26px 26px 0 0; background: var(--led); }
.ticket .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket .num-label { color: var(--faint); font-size: 12.5px; font-weight: 900; }
.ticket .num { font: 900 54px/1 var(--en); letter-spacing: -1px; background: linear-gradient(90deg, #7fd0ff, #34e0a9 55%, #8de06a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticket .cupmini { width: 64px; height: 92px; border-radius: 16px; overflow: hidden; flex: none; box-shadow: 0 10px 20px rgba(0, 0, 0, .35); }
.ticket .cupmini img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ticket hr { border: 0; height: 0; border-top: 2px dashed rgba(255, 255, 255, .16); margin: 14px -18px; }
.ticket .drink { font-weight: 900; font-size: 18px; line-height: 1.3; }
.ticket .ing { color: var(--muted); font-size: 13px; margin-top: 2px; }
.where { display: flex; gap: 10px; margin-top: 12px; }
.where div { flex: 1; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.where span { display: block; color: var(--faint); font-size: 12px; font-weight: 900; }
.where b { font: 900 26px/1.1 var(--en); }

.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 6px 0 4px; }
.track::before { content: ''; position: absolute; top: 19px; inset-inline: 12.5%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.track .bar { position: absolute; top: 19px; inset-inline-start: 12.5%; height: 3px; border-radius: 3px; background: var(--led); width: calc(75% * var(--p, 0)); transition: width .8s var(--ease); }
.track .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; color: var(--faint); }
.track .st .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0a2742; border: 2px solid rgba(255, 255, 255, .16); transition: all .4s ease; }
.track .st .dot svg { width: 20px; height: 20px; }
.track .st.done .dot { background: var(--rabie-2); border-color: transparent; color: #fff; }
.track .st.now .dot { background: #0f5a72; border-color: var(--mint); color: #fff; box-shadow: 0 0 0 6px rgba(52, 224, 169, .16); animation: beat 1.6s ease-in-out infinite; }
.track .st.done, .track .st.now { color: var(--text); }
@keyframes beat { 50% { box-shadow: 0 0 0 11px rgba(52, 224, 169, .06); } }
.status-line { margin: 14px 0 4px; font-weight: 900; font-size: 18px; }
.status-sub { color: var(--muted); font-size: 14px; }
.keep { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 16px 0 18px; color: var(--muted); font-size: 13.5px; }
.keep svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
.cancelled .ticket::before { background: #ff8f8f; }

/* ---------- Toast ---------- */

.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(24px + var(--safe-bottom)); transform: translate(-50%, 20px);
  width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 18px;
  background: rgba(30, 12, 16, .94); border: 1px solid rgba(255, 143, 143, .4); color: #fff; font-weight: 900; font-size: 14.5px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.noscript { position: relative; z-index: 2; text-align: center; padding: 40px 20px; }

@media (min-width: 700px) {
  .app { padding-top: 16px; }
  .regions { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
