/* ============================================================
   proto.css — the AtlVibe app, replicated in the hero.

   WHY THIS EXISTS, AND WHAT IT IS NOT
   The real Expo bundle cannot run here: react-native-maps has no web
   support and the map IS the main screen, apple-maps-kit is iOS Swift,
   the Supertonic voice and the speech recogniser are native modules,
   and a public web bundle would need the Supabase key plus a metered
   /assistant call per visitor. So this is a replica, not the app.

   HOW IT STAYS HONEST
   Every value below is the app's own, in the app's own units. The screen
   is built at 390 x 844 — iPhone logical POINTS — so a 60pt tab bar is
   written `60px` here and a 64pt mic is `64px`. The whole phone is then
   scaled once with a transform. Nothing is re-proportioned by hand, so
   the replica cannot drift from the source by rounding.

   Tokens are src/constants/colors.ts verbatim. Where a value came from a
   specific stylesheet, the file is named in a comment.
   ============================================================ */

.proto {
  /* ── src/constants/colors.ts ── */
  --c-bg:         #06060A;
  --c-card:       #0E0E18;
  --c-border:     #1E1E2E;
  --c-accent:     #FF6B35;   /* map / assistant orange */
  --c-neon:       #C8FF00;
  --c-gold:       #FFB300;   /* C_GOLD — tab bar + mic */
  --c-purple:     #C026D3;   /* C_PURPLE — user bubble */
  --c-planner:    #3B82F6;   /* My Day blue */
  --c-plannerTxt: #93C5FD;
  --c-plannerCard:#0A0F1F;
  --c-plannerBd:  rgba(59,130,246,0.20);
  --c-note:       #E8A33C;   /* quick-note amber */
  --c-text:       #F5F5F5;
  --c-text2:      #9CA3AF;
  --c-muted:      #4B5563;
  --c-success:    #22C55E;

  --screen-w: 390px;
  --screen-h: 844px;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── The device ─────────────────────────────────────────────────────────── */
.proto__frame {
  position: relative;
  width: var(--screen-w);
  height: var(--screen-h);
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(160deg, #3b3b44, #17171c 42%, #2a2a31);
  box-shadow:
    0 0 0 1.5px #0b0b0f,
    0 50px 90px -40px rgba(0,0,0,0.9),
    0 0 90px -30px rgba(255,107,53,0.28);
  flex: none;
}
.proto__screen {
  position: relative;
  width: 368px; height: 822px;
  border-radius: 44px;
  overflow: hidden;
  background: var(--c-bg);
  display: flex; flex-direction: column;
}
/* No status bar and no island: the brief was the app's surfaces, not iOS
   chrome, so the content starts at the top wall with a hair of breathing room. */

/* ── Screens ───────────────────────────────────────────────────────────── */
.proto__body { position: relative; flex: 1; min-height: 0; }
.scr { position: absolute; inset: 0; display: none; flex-direction: column; }
.scr--on { display: flex; }
.scr__scroll { flex: 1; overflow: hidden; }
/* A page that fills rather than scrolls — the cork board wants the whole screen. */
.scr__scroll--fill { display: flex; flex-direction: column; }

/* ════════════════════════════════════════════════════════════════════
   MAP TAB — app/(tabs)/index.tsx + aiChatPanelStyles.ts
   ════════════════════════════════════════════════════════════════════ */
.map { position: absolute; inset: 0; overflow: hidden; }

/* The surface takes the gestures; the world inside it is what moves. Until the
   visitor engages the map, touch-action stays pan-y so a swipe that happens to
   start here still scrolls the page. */
.map__surface {
  position: absolute; inset: 0; z-index: 1;
  cursor: grab; touch-action: pan-y;
  overscroll-behavior: contain;
}
.map__surface:active { cursor: grabbing; }
.map--live .map__surface { touch-action: none; }

.map__world {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 1280px;          /* one Mercator render, z10, 1280 logical px */
  transform-origin: 0 0;
  will-change: transform;
  --k-inv: 1;
}
.map__tiles {
  position: absolute; inset: 0;
  background: url("/proto-map.webp") center/100% 100% no-repeat;
  /* Already in Apple's dark-map colours — teal tree cover, slate built-up
     land, lavender roads, deep-blue water — by scripts/make-map.mjs, which
     recolours the Mapbox render. No CSS filter on top. */
  background-color: #304A5C;
}

/* Scroll-jacking guard: the first wheel over the map says how to zoom. */
.map__hint {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  z-index: 40; padding: 7px 13px; border-radius: 999px;
  background: rgba(6,6,10,0.86); border: 1px solid rgba(255,255,255,0.16);
  color: #EDEFF3; font-size: 11px; font-weight: 700; letter-spacing: 0.2px;
  opacity: 0; transition: opacity 0.22s ease; pointer-events: none;
}
.map--hint .map__hint { opacity: 1; }

/* The web's own control (a phone pinches): bottom-left, where Apple's map
   keeps its logo, so the right edge holds only the app's own controls. */
.map__zoom {
  position: absolute; left: 12px; bottom: 112px; z-index: 26;
  display: flex; flex-direction: column;
  border-radius: 11px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(8,5,20,0.82);
}
.map__zoom button {
  width: 36px; height: 34px; border: 0; padding: 0; cursor: pointer;
  background: none; color: #EDEFF3; font-size: 17px; font-weight: 600; line-height: 1;
}
.map__zoom button + button { border-top: 1px solid rgba(255,255,255,0.12); }
/* Apple's attribution sits bottom-left on the real map. */
/* ATTRIBUTION — removed from the frame on the owner's instruction (2026-09-21).
   Recorded here because it is not a styling choice: the map image is rendered
   from OpenStreetMap data under ODbL, which requires the credit on a produced
   work whatever the file format, and Mapbox's terms require it wherever
   attribution=false is passed. The rule is kept so restoring the line is one
   element, not a rebuild. */
.map__attr {
  position: absolute; left: 10px; bottom: 96px; z-index: 26;
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: rgba(255,255,255,0.55); letter-spacing: 0.2px;
}

/* Avatar + AI bubble. AVATAR_R 32 -> 64px circle; H_PAD 14. */
.map__chat { position: absolute; top: 16px; left: 0; right: 0; z-index: 30; }
.chatRow { display: flex; align-items: flex-start; padding: 0 14px; }
.avatar {
  position: relative; width: 64px; height: 64px; border-radius: 32px;
  border: 2px solid var(--c-accent);
  background: rgba(10,6,24,0.85);
  box-shadow: 0 0 8px rgba(255,107,53,0.75);
  flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar::after {                       /* avatarGlowRing */
  content: ""; position: absolute; top: -10px; left: -10px;
  width: 76px; height: 76px; border-radius: 40px;
  border: 2px solid var(--c-accent); opacity: 0.85;
}
/* aiBubble: rotate 2deg, asymmetric radii, warm dark paper */
.bubble {
  margin-top: 30px; margin-left: -3px;            /* BUBBLE_TOP_OFFSET */
  background: rgba(16,10,4,0.97);
  border: 1px solid var(--c-accent);
  border-radius: 14px 10px 15px 9px;
  padding: 14px;
  transform: rotate(2deg);
  box-shadow: 2px 4px 10px rgba(255,107,53,0.38);
  flex: 1; min-width: 0;
}
.bubble__txt {
  font-size: 15px; line-height: 21px; letter-spacing: 1.3px;
  font-weight: 500; color: #F0ECF8;
}
.bubble__dots { display: flex; gap: 5px; margin-top: 9px; }
.bubble__dot { width: 5px; height: 5px; border-radius: 2.5px; background: rgba(255,107,53,0.28); }
.bubble__dot--on { width: 6px; height: 6px; border-radius: 3px; background: var(--c-accent); }
.bubble__reset {
  position: absolute; top: 6px; right: 8px;
  width: 24px; height: 24px; border-radius: 12px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
/* User bubble — purple, tail lower-right */
.ububble {
  position: relative; align-self: flex-end;
  margin: 14px 14px 0 56px;
  background: rgba(14,6,34,0.97);
  border: 2px solid var(--c-purple);
  border-radius: 16px; padding: 12px;
  box-shadow: 0 0 12px rgba(192,38,211,0.5);
  font-size: 15px; line-height: 21px; letter-spacing: 1.3px;
  font-weight: 500; color: #DDB8FF;
}
.ububble::after {
  content: ""; position: absolute; right: 20px; bottom: -13px;
  border-top: 15px solid var(--c-purple);
  border-left: 12px solid transparent;
}
.thinking { display: inline-flex; gap: 4px; align-items: center; }
.thinking i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-purple);
  animation: protoBlink 1.1s infinite ease-in-out;
}
.thinking i:nth-child(2) { animation-delay: 0.16s; }
.thinking i:nth-child(3) { animation-delay: 0.32s; }
@keyframes protoBlink { 0%,80%,100% { opacity: 0.25; } 40% { opacity: 1; } }

/* Ticker chips — MapTicker.tsx / aiChatPanelStyles chipsRow */
.chips { display: flex; margin: 10px 8px 0; gap: 6px; }
.chip {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 11px 0;
  background: rgba(8,5,20,0.92);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color 0.18s ease;
}
.chip--on { border-color: var(--c-gold); }
.chip__txt {
  font-size: 9px; font-weight: 700; letter-spacing: 0.7px;
  color: rgba(255,255,255,0.72); text-align: center;
}
.chip--on .chip__txt { color: #fff; }
.chip svg { width: 17px; height: 17px; }

/* The map's side controls — index.tsx styles.controls: right 14, bottom 120,
   gap 8, padding 6, radius 12. Anchored at the bottom so the stack grows
   upward when the broom appears, as in the app. */
.rail {
  position: absolute; right: 14px; bottom: 120px; z-index: 25;
  display: flex; flex-direction: column; gap: 8px;
  padding: 6px; border-radius: 12px;
  background: rgba(6,6,10,0.7); border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.rail__btn[hidden] { display: none; }
.rail__btn {
  position: relative;
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,6,24,0.9); border: 1.5px solid rgba(255,255,255,0.12);
}
.rail__btn--cycle { border-color: #27E0FF; }
/* ClearMapButton and WeatherButton: an icon and nothing else, no frame. */
.rail__btn--bare { background: none; border: 0; cursor: pointer; }
.rail__btn--bare:active { opacity: 0.6; }
/* AgentSelector: a 44pt round avatar in the accent ring. */
.rail__btn--guide { border-radius: 22px; border-color: var(--c-accent); overflow: hidden; cursor: pointer; }
.rail__btn--guide img { width: 100%; height: 100%; border-radius: 0; }
.rail__count {
  position: absolute; bottom: -5px; right: -4px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: #27E0FF; color: #04121a;
  font-size: 10px; font-weight: 800; line-height: 17px; text-align: center;
}
.rail__btn img { width: 34px; height: 34px; border-radius: 17px; object-fit: cover; }

/* Pins. Colours from app/(tabs)/index.tsx: gold >= 85, silver below,
   cyan for the recommended pick, five rotating hues for external results. */
.pin { position: absolute; z-index: 20; }
/* The counter-scale lives on the inner wrapper: the world scales, the pin does
   not, so a marker stays the same size on screen however far you zoom in. */
.pin__in {
  position: absolute; left: 0; bottom: 0;
  transform: translate(-50%, 0) scale(var(--k-inv, 1));
  transform-origin: bottom center;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; animation: pinDrop 0.42s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes pinDrop {
  from { opacity: 0; translate: 0 -22px; }
  to   { opacity: 1; translate: 0 0; }
}
/* MapPin, to the app's numbers: a 42pt disc on #080514 with a 2pt accent ring,
   the category icon inside, the list number in a TOP-LEFT badge, a menu flag
   bottom-right when `prices` parses, and a star top-right on the recommended
   pick — which is also a larger disc. Then pointer, label, sub. */
.pin__disc {
  position: relative;
  width: 42px; height: 42px; border-radius: 21px;
  display: flex; align-items: center; justify-content: center;
  background: #080514; border: 2px solid var(--c-gold);
}
.pin__disc--rec { width: 50px; height: 50px; border-radius: 25px; border-width: 2.5px; }
.pin__num {
  position: absolute; top: -5px; left: -5px;
  min-width: 17px; height: 17px; padding: 0 3px; border-radius: 8.5px;
  background: rgba(8,5,20,0.94); border: 1.5px solid currentColor;
  font-size: 10px; font-weight: 900; line-height: 14px; text-align: center;
}
.pin__star {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(8,5,20,0.94);
}
.pin__menu {
  position: absolute; bottom: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,5,20,0.94); border: 1.5px solid currentColor;
}
.pin__point {
  width: 0; height: 0; margin-top: -1px;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid currentColor;
}
.pin__label {
  margin-top: 2px; max-width: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2px; color: #FFFFFF;
  text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,0.95);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pin__sub {
  max-width: 100px; font-size: 9px; font-weight: 600; letter-spacing: 0.2px;
  opacity: 0.75; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,0.9);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pin__in { cursor: pointer; }

/* ════════════════════════════════════════════════════════════════════
   Inner tab bars — MyDayTabBar.tsx / EventsTabBar.tsx
   ════════════════════════════════════════════════════════════════════ */
.itabs {
  display: flex; flex: none;
  border-bottom: 1px solid var(--c-border); background: var(--c-bg);
}
.itab {
  flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
  gap: 5px; padding: 12px 0; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2px; color: var(--c-muted);
}
.itab--on { color: var(--c-note); }
.itab--on::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0;
  height: 2px; border-radius: 1px; background: currentColor;
}
.itabs--events .itab { font-size: 12.5px; font-weight: 700; padding: 11px 0; }
.itabs--events .itab--on::after { left: 14px; right: 14px; }

/* ════════════════════════════════════════════════════════════════════
   EVENTS TAB — app/(tabs)/events.tsx and the four panes under it.
   Every number below is the component's own StyleSheet value, in points;
   the file it came from heads each block.
   ════════════════════════════════════════════════════════════════════ */

/* React Native's default leading is the font's own (~1.2), not the 1.6 the
   landing page sets on <body>, and its text starts left wherever the page
   centres. Reset both here, so an unset style in the app reads as an unset
   style in the replica. */
#scr-events { line-height: normal; text-align: left; }   /* the page centres its hero text on phones; RN starts left */
:where(#scr-events) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
#scr-events .gl { flex: none; display: block; }
#scr-events .gl--nudge2 { margin-left: 2px; }
#scr-events .gl--nudge3 { margin-left: 3px; }
/* ScrollView showsVerticalScrollIndicator={false} */
#scr-events .sc { overflow-y: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#scr-events .sc::-webkit-scrollbar { display: none; }

/* ── modules/ticker/components/MyDayTicker.tsx ─────────────────────────── */
.tk {
  height: 34px; flex: none; display: flex; align-items: stretch;
  margin-top: 8px;                         /* no status bar in the replica: a hair off the top wall */
  background: var(--c-bg);
  border-bottom: 0.5px solid var(--c-plannerBd);
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}
.tk__track { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; }
.tk__crawl { display: flex; align-items: center; flex: none; will-change: transform; }
.tk__run { display: flex; align-items: center; flex: none; }
.tk__cell { display: flex; align-items: center; gap: 6px; padding-left: 12px; white-space: nowrap; }
.tk__ico { margin-right: -1px; }
.tk__tag {
  padding: 2px 6px; border-radius: 4px; margin-right: 2px;
  background: rgba(59,130,246,0.12); color: #93C5FD;
  font-size: 8px; font-weight: 700; letter-spacing: 1px;
}
.tk__lbl   { color: var(--c-text); font-size: 12px; font-weight: 600; letter-spacing: 0.2px; }
.tk__val   { font-size: 12px; font-weight: 700; }
.tk__delta { font-size: 11px; font-weight: 500; }
.tk__det   { color: var(--c-text2); font-size: 11px; font-weight: 400; }
.tk__div   { color: var(--c-border); font-size: 8px; padding-left: 12px; }
.tk__fade { position: absolute; top: 0; bottom: 0; width: 28px; pointer-events: none; }
.tk__fade--l { left: 0;  background: linear-gradient(to right, #06060A, rgba(6,6,10,0)); }
.tk__fade--r { right: 0; background: linear-gradient(to right, rgba(6,6,10,0), #06060A); }
@media (prefers-reduced-motion: reduce) {
  .tk__track { overflow-x: auto; scrollbar-width: none; }
  .tk__run + .tk__run { display: none; }
}

/* The pane area: the four panes switch inside it. */
.evbody { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.evpane { position: absolute; inset: 0; display: flex; flex-direction: column; }

/* ── events/components/EventsPane.tsx + DateFilter.tsx ─────────────────── */
.evp { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dfilter {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 16px;
  overflow-x: auto; scrollbar-width: none;
}
.dfilter::-webkit-scrollbar { display: none; }
.dpill {
  flex: none; display: flex; align-items: center; gap: 5px; cursor: pointer;
  padding: 8px 14px; border-radius: 8px;
  background: var(--c-card); border: 1.5px solid var(--c-border);
  color: var(--c-muted); font-size: 11px; font-weight: 800; letter-spacing: 0.8px;
}
.dpill--on { background: rgba(255,179,0,0.08); border-color: #FFB300; color: #FFB300; }
.dpill__dot { width: 5px; height: 5px; border-radius: 3px; background: #FFB300; box-shadow: 0 0 4px rgba(255,179,0,0.9); }
.rhead { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 16px; }
.rhead__txt { color: rgba(255,179,0,0.45); font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.rhead__line { flex: 1; height: 1px; background: rgba(255,179,0,0.1); }
.rhead__pill {
  display: flex; align-items: baseline; gap: 3px; padding: 3.5px 9px; border-radius: 8px;
  background: var(--c-card); border: 1px solid rgba(255,179,0,0.2);
}
.rhead__num { color: #FFB300; font-size: 13px; font-weight: 900; }
.rhead__lbl { color: var(--c-muted); font-size: 9.5px; font-weight: 700; letter-spacing: 0.5px; }
.evp__list { flex: 1; min-height: 0; padding: 4px 16px 32px; }

/* ── events/components/EventCard.tsx ───────────────────────────────────── */
.ecard {
  display: flex; align-items: stretch; margin-bottom: 12px; overflow: hidden; cursor: pointer;
  background: var(--c-card); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: opacity 80ms, transform 80ms;
}
.ecard:active { opacity: 0.82; transform: scale(0.985); }
.ecard__bar { width: 3px; flex: none; }
.ecard__ico { width: 64px; flex: none; display: flex; align-items: center; justify-content: center; }
.ecard__c { flex: 1; min-width: 0; padding: 12px; display: flex; flex-direction: column; gap: 5px; }
.ecard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.ecard__name {
  flex: 1; color: var(--c-text); font-size: 15px; font-weight: 800; letter-spacing: 0.1px; line-height: 20px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ecard__today { flex: none; align-self: flex-start; padding: 3px 7px; border-radius: 5px;
  color: var(--c-bg); font-size: 8px; font-weight: 900; letter-spacing: 1px; }
.ecard__meta { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ecard__date { font-size: 11px; font-weight: 700; letter-spacing: 0.2px; white-space: pre; min-width: 0; }
.ecard__venue { color: var(--c-muted); font-size: 11px; font-weight: 500; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard__pill { align-self: flex-start; margin-top: 2px; padding: 2px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.05); font-size: 8px; font-weight: 900; letter-spacing: 1.2px; }

/* ── market/components/MarketPane.tsx + DealGrid.tsx ───────────────────── */
.mk { position: relative; flex: 1; min-height: 0; background: #12110E; color: #ECE6D8; }
.mk__scroll { position: absolute; inset: 0; padding-bottom: 40px; }
/* The masthead and the chips stick (stickyHeaderIndices={[0]}). */
.dgh { position: sticky; top: 0; z-index: 5; background: #12110E; padding: 16px 0 10px;
  border-bottom: 1px solid rgba(236,230,216,0.12); }
.dgh__mast { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px; }
.dgh__title { font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 28px; line-height: 32px; letter-spacing: -0.4px; }
.dgh__date { color: rgba(236,230,216,0.66); font-size: 10.5px; font-weight: 800; letter-spacing: 1.4px; margin-top: 5px; }
.dgh__count { color: rgba(236,230,216,0.66); font-size: 12px; font-weight: 700; padding-bottom: 1px; white-space: nowrap; }
.dgh__chips { display: flex; gap: 8px; padding: 0 16px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.dgh__chips::-webkit-scrollbar { display: none; }
.dchip { flex: none; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid rgba(236,230,216,0.22);
  display: flex; align-items: center; color: #ECE6D8; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.dchip--on { background: #ECE6D8; border-color: #ECE6D8; color: #12110E; }

.dpk { padding-top: 14px; }
.dpk__k { color: rgba(236,230,216,0.66); font-size: 10.5px; font-weight: 900; letter-spacing: 1.3px; padding: 0 16px; margin-bottom: 8px; }
.dpk__rail { display: flex; gap: 10px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.dpk__rail::-webkit-scrollbar { display: none; }
.dpk__card { flex: none; width: 168px; padding: 12px; border-radius: 14px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.dpk__award { font-size: 9.5px; font-weight: 900; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dpk__fig { font-family: Fraunces, Georgia, serif; font-weight: 900; font-size: 26px; line-height: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dpk__head { font-size: 12.5px; font-weight: 700; line-height: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Two columns: (368 − 2×12 − 10) / 2 = 167 a tile. */
.dgrid { display: grid; grid-template-columns: 167px 167px; column-gap: 10px; row-gap: 20px; padding: 16px 12px 0; }
.dt { display: flex; flex-direction: column; gap: 6px; border-radius: 16px; border: 2px solid transparent; cursor: pointer; min-width: 0; }
.dt--ring { border-color: #3DDC84; }
.dt__art { position: relative; width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.dt__ghost { position: absolute; right: -24%; bottom: -22%; opacity: 0.13; }
.dt__badge { position: absolute; top: 9px; left: 9px; max-width: 62%; height: 24px; padding: 0 8px; border-radius: 12px;
  display: flex; align-items: center; background: rgba(18,17,14,0.6); color: #ECE6D8; font-size: 10.5px; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__badge--hot { background: #FFB300; color: #1A1300; }
.dt__score { position: absolute; top: 8px; right: 8px; min-width: 36px; height: 30px; padding: 0 6px; border-radius: 8px;
  border: 1.5px solid; box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  background: rgba(18,17,14,0.6); font-size: 15px; font-weight: 900; }
.dt__sure { position: absolute; top: 8px; right: 8px; height: 26px; padding: 0 8px; border-radius: 13px; display: flex; align-items: center;
  background: rgba(143,166,255,0.16); color: #A9BBFF; font-size: 10.5px; font-weight: 800; }
.dt__fig { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.dt__n { font-family: Fraunces, Georgia, serif; font-weight: 900; letter-spacing: -1px; line-height: 1.05;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__l { color: rgba(236,230,216,0.82); font-size: 11px; font-weight: 600; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__kick { font-size: 9.5px; font-weight: 900; letter-spacing: 1.1px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__head { font-size: 14px; font-weight: 700; line-height: 18px; margin-top: -2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dt__place { color: rgba(236,230,216,0.66); font-size: 12px; margin-top: -2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 800; }
.dt__meta:empty { display: none; }
.dt__meta span { display: inline-flex; align-items: center; gap: 4px; }
.dt__dot { width: 6px; height: 6px; border-radius: 3px; background: #FFC233; }
/* A locked or loading tile: the shapes only. */
.dt--ghost { cursor: default; }
.dt--ghost > i, .dt--ghost .dt__fig i { display: block; height: 10px; border-radius: 5px; background: rgba(236,230,216,0.22); }
.dt--ghost > i:nth-of-type(1) { width: 40%; height: 8px; }
.dt--ghost > i:nth-of-type(2) { width: 92%; height: 13px; }
.dt--ghost > i:nth-of-type(3) { width: 66%; }
.dt--ghost .dt__fig i:first-child { width: 52%; height: 30px; border-radius: 6px; opacity: 0.7; margin-bottom: 6px; }
.dt--ghost .dt__fig i:last-child { width: 76%; }
.dt--skel .dt__art { background: rgba(236,230,216,0.06); }
.dglock { margin-top: 20px; }
.dglock .evlock__cards { padding-top: 0; }
.dglock .evlock__t { color: #ECE6D8; }
.dglock .evlock__x { color: rgba(236,230,216,0.66); max-width: 270px; }

.dcolo { padding: 28px 20px 0; display: flex; flex-direction: column; gap: 6px; }
.dcolo__rule { height: 1px; background: rgba(236,230,216,0.12); margin-bottom: 6px; }
.dcolo__t { color: rgba(236,230,216,0.66); font-size: 12px; line-height: 17px; font-style: italic; }

/* ── market/components/DealReels.tsx — over the tabs, like a modal ─────── */
.drs { position: absolute; inset: 0; z-index: 62; display: none; background: #000; color: #ECE6D8; overflow: hidden; }
.drs--on { display: block; }
.drs button { font: inherit; color: inherit; border: 0; padding: 0; margin: 0; cursor: pointer; background: none; }
.drs__scroll { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.drs__scroll::-webkit-scrollbar { display: none; }
.drp { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.drp__ghost { position: absolute; right: -81px; bottom: 18%; opacity: 0.1; }
.drp::after { content: ""; position: absolute; left: 0; right: 0; top: 35%; bottom: 0; pointer-events: none;
  background: linear-gradient(rgba(18,17,14,0), rgba(18,17,14,0.92)); }
.drp__in { position: relative; z-index: 1; height: 100%; box-sizing: border-box; display: flex; flex-direction: column;
  padding: 78px 84px 104px 20px; }
.drp__kick { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.drp__kick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drp__timing { align-self: flex-start; margin-top: 10px; padding: 5px 10px; border-radius: 12px; background: rgba(18,17,14,0.6);
  font-size: 11.5px; font-weight: 800; }
.drp__timing--hot { background: #FFB300; color: #1A1300; }
.drp__grow { flex: 1; }
.drp__fig { font-family: Fraunces, Georgia, serif; font-weight: 900; letter-spacing: -2px; line-height: 0.98;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drp__label { color: rgba(236,230,216,0.86); font-size: 15px; font-weight: 600; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drp__head { font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 25px; line-height: 29px; margin-top: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drp__where { color: rgba(236,230,216,0.66); font-size: 13.5px; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drp__stamps { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.drp__score { flex: none; border: 1.5px solid; border-radius: 10px; padding: 5px 10px; display: flex; flex-direction: column; align-items: center; }
.drp__score b { font-size: 22px; font-weight: 900; line-height: 26px; }
.drp__score span { font-size: 8.5px; font-weight: 900; letter-spacing: 1px; }
.drp__verdicts { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.drp__verdict { font-size: 12px; font-weight: 900; letter-spacing: 1.1px; }
.drp__stamp { font-size: 9.5px; font-weight: 900; letter-spacing: 1px; }
.drp__rare { margin-top: 14px; border-left: 3px solid; padding-left: 11px; display: flex; flex-direction: column; gap: 3px; }
.drp__rareK { font-size: 10px; font-weight: 900; letter-spacing: 1.2px; }
.drp__rareT { font-size: 14px; line-height: 19px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.drp--end { display: flex; background: #12110E; }
.drp--end::after { display: none; }
.drp--end .evlock__cta { position: static; flex: 1; background: none; padding-bottom: 60px; }
.drp--end .evlock__t { color: #ECE6D8; }
.drp--end .evlock__x { color: rgba(236,230,216,0.66); }

.drs__top { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 14px 12px 30px; background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0)); pointer-events: none; }
.drs__top > * { pointer-events: auto; }
.drs__round { flex: none; width: 40px; height: 40px; border-radius: 20px; display: flex !important; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14) !important; }
.drs__chips { flex: 1; min-width: 0; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.drs__chips::-webkit-scrollbar { display: none; }
.drs__chip { flex: none; border-radius: 99px; padding: 8px 12px; background: rgba(255,255,255,0.12); color: #fff;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.drs__chip--on { background: #ECE6D8; color: #12110E; }
.drs__pos { flex: none; min-width: 34px; text-align: right; color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 800; }
.drs__rail { position: absolute; right: 10px; bottom: 106px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.drs__rb { display: flex !important; flex-direction: column; align-items: center; gap: 4px; color: #fff !important; font-size: 11px !important; font-weight: 700 !important; }
.drs__rr { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.42); }
.drs__full { position: absolute !important; left: 16px; right: 84px; bottom: 34px; z-index: 2; height: 50px; border-radius: 25px;
  background: #3DDC84 !important; color: #08140D !important; display: flex !important; align-items: center; justify-content: center; gap: 6px;
  font-size: 15px !important; font-weight: 800 !important; }
.drs__hint { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; text-align: center; font-size: 11.5px;
  color: rgba(255,255,255,0.55); pointer-events: none; }
.drs--end .drs__rail, .drs--end .drs__full, .drs--end .drs__hint { display: none !important; }

/* ── news/components/NewsPane.tsx + NewsBoard.tsx + SectionInk.tsx ─────── */
/* Units are the app's: hundredths of the screen's width (3.68px). */
.nw { flex: 1; min-height: 0; background: #000; }
.nboard { display: flex; flex-wrap: wrap; gap: 9.57px; padding: 13.25px 13.25px 0; }
.nbt { position: relative; width: 100%; box-sizing: border-box; overflow: hidden; cursor: pointer; }
.nbt--half { width: calc((100% - 9.57px) / 2); }
.nbt--skel { background: #0E0E12; cursor: default; }
.nbt__pic, .nink { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nbt__pic { transform: scale(1.06); animation: nbDrift 18s ease-in-out infinite alternate; }
@keyframes nbDrift { to { transform: scale(1.18); } }
.nink--faint { opacity: 0.32; }
.nbt__shade { position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.05) 24%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.9) 92%); }
.nbt__top { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 3.68px; padding: 13.25px; }
.nbt__sec { font-size: 9.94px; font-weight: 700; letter-spacing: 1.29px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.nbt__n { flex: none; font-size: 9.94px; font-weight: 600; color: rgba(255,255,255,0.75); }
.nbt__foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 13.25px; display: flex; flex-direction: column; gap: 5.9px; }
.nbt__h { font-family: Fraunces, Georgia, serif; font-weight: 600; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nbt__h--half { -webkit-line-clamp: 4; }
.nbt__stand { font-size: 12.9px; line-height: 18px; color: rgba(255,255,255,0.78);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nbt--empty { display: flex; flex-direction: column; justify-content: space-between; cursor: default;
  border: 1px dashed rgba(255,255,255,0.16); background: transparent; }
.nbt__none { position: relative; color: rgba(255,255,255,0.45); font-size: 12.9px; font-weight: 500; }
.nbt__tap { text-align: center; color: rgba(255,255,255,0.45); font-size: 11.4px; padding: 22px 0 26px; }
@media (prefers-reduced-motion: reduce) { .nbt__pic { animation: none; } }

/* ── player/components/AudioPane.tsx + PlayerFeed.tsx ──────────────────── */
.au { flex: 1; min-height: 0; background: #0A0A0A; }
.au__list { padding-bottom: 24px; }
.au__sec { margin-top: 14px; }
.au__head { color: #fff; font-size: 21px; font-weight: 900; letter-spacing: -0.4px; padding: 0 10px; margin-bottom: 10px; }
.au__press { cursor: pointer; }
.au__card { position: relative; margin: 0 auto; background: #111; overflow: hidden; }
.au__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.au__scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.22); }
.au__len { position: absolute; top: 12px; left: 12px; padding: 4px 8px; border-radius: 4px;
  background: rgba(0,0,0,0.66); color: #fff; font-size: 12px; font-weight: 800; }
.au__play { position: absolute; right: 12px; top: 50%; margin-top: -21px;
  width: 42px; height: 42px; border-radius: 21px; background: #fff;
  display: flex; align-items: center; justify-content: center; }
.au__cap { position: absolute; left: 12px; right: 70px; bottom: 14px; padding: 6px 9px; border-radius: 5px;
  background: rgba(0,0,0,0.55); }
.au__cap span { color: #fff; font-size: 13.5px; font-weight: 700; line-height: 18px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.au__row { display: flex; align-items: center; gap: 10px; padding: 10px; }
.au__art { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; flex: none; }
.au__art--blank { background: #1B1B1F; }
.au__txt { flex: 1; min-width: 0; }
.au__tline { display: flex; align-items: center; gap: 6px; }
.au__e { width: 14px; height: 14px; border-radius: 2.5px; flex: none; background: rgba(255,255,255,0.55);
  color: #000; font-size: 9px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.au__title { flex: 1; min-width: 0; color: #fff; font-size: 15px; font-weight: 800;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au__meta { color: var(--c-text2); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ════════════════════════════════════════════════════════════════════
   PROFILE — app/(tabs)/profile.tsx
   ════════════════════════════════════════════════════════════════════ */
.prof { padding: 18px 16px 20px; }
.prof__hero { display: flex; align-items: center; gap: 13px; margin-bottom: 8px; }
.prof__av {
  width: 62px; height: 62px; border-radius: 31px; flex: none; overflow: hidden;
  border: 2px solid var(--c-accent); box-shadow: 0 0 10px rgba(255,107,53,0.45);
}
.prof__av img { width: 100%; height: 100%; object-fit: cover; }
.prof__name { color: var(--c-text); font-size: 20px; font-weight: 700; }
.prof__mail { color: var(--c-muted); font-size: 12px; margin-top: 2px; }
.prof__tier {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255,179,0,0.12); border: 1px solid rgba(255,179,0,0.3);
  color: var(--c-gold); font-size: 10px; font-weight: 800; letter-spacing: 0.6px;
}
.meter { margin: 14px 0 6px; padding: 13px; border-radius: 14px;
  background: var(--c-card); border: 1px solid var(--c-border); }
.meter__row { display: flex; justify-content: space-between; align-items: baseline; }
.meter__lbl { color: var(--c-text2); font-size: 12px; font-weight: 600; }
.meter__n { color: var(--c-text); font-size: 12px; font-weight: 800; }
.meter__track { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.07);
  margin-top: 8px; overflow: hidden; }
.meter__fill { height: 100%; border-radius: 3px; background: var(--c-gold); }
.meter__sub { color: var(--c-muted); font-size: 10.5px; margin-top: 7px; }
.sect { margin-top: 16px; }
.sect__h { display: flex; align-items: center; gap: 7px; margin-bottom: 8px;
  color: var(--c-text2); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; }
.srow { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; }
.srow__l { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.srow__ico { width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center; }
.srow__lbl { color: var(--c-text); font-size: 15px; font-weight: 500; }
.srow__sub { color: var(--c-muted); font-size: 12px; margin-top: 1px; }
.srow__chev { color: var(--c-muted); font-size: 14px; }
.danger {
  margin-top: 16px; padding: 12px 0; border-radius: 12px; text-align: center;
  border: 1px solid rgba(239,68,68,0.35); color: #EF4444;
  font-size: 14px; font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════════
   TAB BAR — CenterMicTabBar.tsx. TAB_H 60, MIC_S 64, MIC_LIFT 20.
   ════════════════════════════════════════════════════════════════════ */
.tabbar {
  /* The app's row is 60pt. Raised ~10% here because the frame is scaled down
     in the hero and 60 rendered small enough to read as blurry.
     z-index: the mic is lifted 52px INTO the map area, and .map__surface sits
     at z-index 1 with the chat at 30 — without this the mic's top half is
     painted over by the map and reads as cut in half. */
  position: relative; flex: none; height: 84px; z-index: 50;
  padding-bottom: 18px;
  background: var(--c-card);
  border-top: 1px solid rgba(255,107,53,0.1);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.4);
}
.tabbar__row { display: flex; align-items: center; height: 66px; }
.tabbar__grp { flex: 1; display: flex; }
.tabitem {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 7px 0; cursor: pointer; color: rgba(255,179,0,0.38);
}
.tabitem--on { color: var(--c-gold); }
.tabitem__dot { width: 4px; height: 4px; border-radius: 2px; background: var(--c-gold);
  box-shadow: 0 0 4px var(--c-gold); margin-top: 3px; }
/* Outline when idle, filled when focused, the dot only under the focused tab. */
.tabitem__fill, .tabitem:not(.tabitem--on) .tabitem__dot,
.tabitem--on .tabitem__idle { display: none; }
.tabitem--on .tabitem__fill { display: block; }
.tabitem__av { width: 60px; height: 36px; opacity: 0.45; object-fit: contain; }
.tabitem--on .tabitem__av { opacity: 1; color: var(--c-accent); }
.micslot { width: 84px; flex: none; height: 66px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.micslot__lbl { font-size: 8px; font-weight: 700; letter-spacing: 0.3px; color: var(--c-muted); }
.micslot__lbl--on { color: var(--c-accent); }
.micslot--off { display: none; }
.tabbar__platform {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 46px; background: var(--c-card);
  border-top-left-radius: 44px; border-top-right-radius: 44px;
}
/* On the map the chat panel is open, so the idle mic wears its lime
   (CenterMicTabBar: mapChatPanelOpen ? '#A7E900' : gold). */
.mic {
  --mic-c: #A7E900;
  position: absolute; top: -52px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 76px; border-radius: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 28px var(--mic-c, var(--c-gold));
}
.mic__ring { position: absolute; inset: 0; border-radius: 38px;
  border: 1.5px solid var(--mic-c, var(--c-gold)); opacity: 0.55; }
.mic__disc {
  width: 64px; height: 64px; border-radius: 32px;
  background: rgba(10,6,24,0.97);
  border: 3px solid var(--mic-c, var(--c-gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--mic-c, var(--c-gold));
}
/* My Day > Quick carries QuickMicButton instead: 46pt, the note recorder's
   amber rather than the assistant's gold. QUICK_MIC_SIZE = 46. */

.mic--listening { --mic-c: var(--c-accent); }
.mic--thinking  { --mic-c: var(--c-purple); }
.mic__wave { display: flex; align-items: center; gap: 3px; }
.mic__wave i { width: 3px; height: 20px; border-radius: 2px; background: currentColor;
  animation: micBar 0.62s ease-in-out infinite; }
.mic__wave i:nth-child(2) { animation-delay: 0.08s; }
.mic__wave i:nth-child(3) { animation-delay: 0.16s; }
.mic__wave i:nth-child(4) { animation-delay: 0.24s; }
.mic__wave i:nth-child(5) { animation-delay: 0.32s; }
@keyframes micBar { 0%,100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
.proto__home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 70;
  width: 126px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.35);
}

/* ════════════════════════════════════════════════════════════════════
   MAP TAB INTERACTIVITY
   The bubble sequence, the reply pill, the route cycler and the guide
   picker — each modelled on the component named in its comment.
   ════════════════════════════════════════════════════════════════════ */

/* ── Reply, inside the bubble (aiChatPanelStyles: replyRow / replyBtn) ── */
.bubble__replyRow { display: flex; justify-content: flex-end; margin-top: 8px; }
.bubble__reply {
  width: 22px; height: 22px; border-radius: 11px; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border: 0.5px solid rgba(255,107,53,0.32);
  background: rgba(255,107,53,0.05);
  color: var(--c-accent);
}
.bubble__reply--open {
  border-color: rgba(255,107,53,0.6);
  background: rgba(255,107,53,0.16);
  box-shadow: 0 0 8px var(--c-accent);
}

/* ── The reply bar (inputBar / inputPill / input / sendGradient) ──────── */
.replybar {
  display: none; align-items: center; gap: 10px;
  margin: 16px 14px 0;
}
.replybar--on { display: flex; }
.replybar__pill {
  flex: 1; height: 46px; border-radius: 23px;
  display: flex; align-items: center; padding: 0 16px;
  background: rgba(6,4,16,0.92);
  border: 1.5px solid rgba(255,107,53,0.4);
  box-shadow: 0 0 8px rgba(255,107,53,0.2);
}
.replybar__txt {
  flex: 1; min-width: 0;
  color: #F0ECF8; font-size: 14px; font-weight: 500; letter-spacing: 0.1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.replybar__caret {
  width: 1.5px; height: 17px; margin-left: 2px; background: var(--c-accent);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.replybar__send {
  width: 40px; height: 40px; border-radius: 20px; flex: none; padding: 0; cursor: pointer;
  border: 0; display: flex; align-items: center; justify-content: center;
  color: #2a0f08;
  background: linear-gradient(135deg, #FFB300, #FF6B35 60%, #FF4D2E);
  box-shadow: 0 6px 16px -6px rgba(255,107,53,0.9);
}
.replybar__send:active { transform: scale(0.94); }

/* ── Route cycler (RouteCycleButton.tsx — 44x44, radius 10, cyan) ─────── */
.rail__btn--route {
  border-radius: 10px;
  border-color: rgba(34,211,238,0.6);
  box-shadow: 0 2px 10px rgba(34,211,238,0.5);
}
.rail__btn--route.is-on { background: rgba(34,211,238,0.14); }
.rail__badge {
  position: absolute; bottom: -6px; right: -6px;
  min-width: 26px; height: 16px; padding: 0 4px; border-radius: 8px;
  border: 1px solid #22D3EE; background: rgba(6,6,10,0.97);
  color: #22D3EE; font-size: 9px; font-weight: 700; line-height: 14px; text-align: center;
}

/* ItineraryRouteLayer: the road in the world, so it pans and zooms with the map.
   non-scaling-stroke keeps it 6pt at any zoom, as a native Polyline is. */
.route { position: absolute; inset: 0; pointer-events: none; z-index: 15; }
.route__line { fill: none; stroke: #67E8F9; stroke-width: 6;
  stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* NumberedPin, premium: the disc is the marker, centred on its coordinate;
   the pointer, name and time hang under it. Counter-scaled like every pin. */
.rpin { position: absolute; width: 0; height: 0; z-index: 21; }
.rpin[data-venue] { cursor: pointer; }
.rpin__in { position: absolute; left: 0; top: 0; width: 50px; height: 50px;
  transform: translate(-50%, -50%) scale(var(--k-inv, 1)); transform-origin: center; }
.rpin__disc { position: relative; width: 50px; height: 50px; border-radius: 25px; box-sizing: border-box;
  background: #080514; border: 2.5px solid #FBBF24; box-shadow: 0 0 6px rgba(251,191,36,0.5);
  display: flex; align-items: center; justify-content: center; }
.rpin__num { color: #FBBF24; font-size: 15px; font-weight: 900; }
.rpin__prem { position: absolute; right: -4px; top: -4px; width: 18px; height: 18px; border-radius: 9px; box-sizing: border-box;
  background: #FBBF24; border: 1.5px solid #1A1206; display: flex; align-items: center; justify-content: center; }
.rpin__menu { position: absolute; left: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 8px; box-sizing: border-box;
  background: #1A1206; border: 1.5px solid #FBBF24; display: flex; align-items: center; justify-content: center; }
.rpin__below { position: absolute; top: 100%; left: -60px; right: -60px; display: flex; flex-direction: column; align-items: center; }
.rpin__ptr { width: 0; height: 0; margin-top: -1px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #FBBF24; }
.rpin__lbl { margin-top: 2px; max-width: 110px; color: #fff; font-size: 10px; font-weight: 700; text-align: center; line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.rpin__time { color: #FBBF24; font-size: 9px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.9); white-space: nowrap; }

/* ItineraryPanel.tsx — a header, then a sideways strip of stop cards and legs */
/* bottom: the app's bottomInset (34) + ITINERARY_CARD_GAP (28), which is also
   what clears the mic's 52pt lift into the map. */
.itin {
  position: absolute; left: 12px; right: 12px; bottom: 62px; z-index: 28;
  padding: 10px 12px 12px; border-radius: 16px; box-sizing: border-box;
  background: #08141A; border: 1px solid rgba(34,211,238,0.30);
  box-shadow: 0 4px 12px rgba(34,211,238,0.25);
  display: none; line-height: normal; text-align: left;
}
.itin--on { display: block; }
.itin button { font: inherit; color: inherit; border: 0; padding: 0; margin: 0; cursor: pointer; }
.itin__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.itin__mode { width: 24px; height: 24px; border-radius: 7px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(34,211,238,0.18); }
.itin__ht { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.itin__ht b { color: #F5F5F5; font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.itin__ht i { color: #4B5563; font-size: 11px; font-weight: 600; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.itin__btn { width: 28px; height: 28px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.itin__btn:active, .itin__pickBtn:active, .itin__done:active { opacity: 0.65; }
.itin__btn--plan { background: rgba(34,211,238,0.14); }
.itin__btn--export { background: #0E7490; }
.itin__btn--hide { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08) !important; }
.itin__strip { display: flex; align-items: center; padding: 2px 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x; }
.itin__strip::-webkit-scrollbar { display: none; }
.itin__stop { flex: none; width: 132px; min-height: 64px; box-sizing: border-box; border-radius: 12px; padding: 8px 10px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); }
.itin__stop--picker { background: transparent; border: 1px dashed rgba(34,211,238,0.40); }
.itin__top { display: flex; align-items: center; gap: 6px; }
.itin__num, .itin__pick { width: 18px; height: 18px; border-radius: 9px; flex: none; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.itin__num { background: #0E7490; color: #fff; font-size: 10px; font-weight: 800; }
.itin__pick { border: 1px solid rgba(34,211,238,0.45); }
.itin__lbl { color: #A5F3FC; font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px; }
.itin__done { margin-left: auto !important; width: 26px; height: 26px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08) !important; }
.itin__name { color: #F5F5F5; font-size: 12.5px; font-weight: 700; line-height: 16px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.itin__chip { align-self: flex-start; display: flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 6px; border: 1px solid;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.2px; white-space: nowrap; }
.itin__pickBtn { display: flex !important; align-items: center; gap: 5px; padding: 4px 8px !important; border-radius: 7px;
  background: rgba(34,211,238,0.16) !important; color: #A5F3FC !important; font-size: 10px !important; font-weight: 700 !important; }
.itin__leg { flex: none; min-width: 58px; padding: 0 7px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.itin__legTime { color: #A5F3FC; font-size: 10px; font-weight: 700; white-space: nowrap; }
.itin__legDist { color: #4B5563; font-size: 9px; font-weight: 500; white-space: nowrap; }
.itin__trackRow { align-self: stretch; display: flex; align-items: center; }
.itin__track { flex: 1; height: 1px; background: rgba(34,211,238,0.5); }
.itin__track--faint { opacity: 0.5; }
.itin__trackRow svg { margin-left: -3px; }

/* ── Guide picker (AgentSelector.tsx) ─────────────────────────────────── */
.sheet {
  position: absolute; inset: 0; z-index: 70; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(0,0,0,0.6);
}
.sheet--on { display: flex; }
.sheet__card {
  width: 100%; max-width: 360px; padding: 20px; border-radius: 20px;
  background: rgba(14,14,20,0.98); border: 1px solid rgba(255,255,255,0.08);
}
.sheet__title { color: var(--c-text); font-size: 18px; font-weight: 700; text-align: center; }
.sheet__sub { color: var(--c-muted); font-size: 13px; text-align: center;
  margin: 4px 0 16px; }
.sheet__grid { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 12px; }
.guide {
  width: 47%; padding: 14px 0; border-radius: 14px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.08);
}
.guide--on { border-color: var(--c-accent); background: rgba(255,255,255,0.02); }
.guide img { width: 64px; height: 64px; border-radius: 32px; margin-bottom: 8px; object-fit: cover; }
.guide__name { color: var(--c-text); font-size: 15px; font-weight: 600; }
.guide__sub { color: var(--c-muted); font-size: 12px; margin-top: 2px; }
.guide__badge {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 6px;
  color: var(--c-accent); font-size: 10px; font-weight: 800; letter-spacing: 0.4px;
}
.sheet__done {
  margin-top: 16px; width: 100%; padding: 11px 0; border-radius: 12px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.07); color: var(--c-text); font-size: 14px; font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════════
   BUSINESS PAGE — app/place/[id].tsx, and the menu page behind it
   ════════════════════════════════════════════════════════════════════ */
.place {
  position: absolute; inset: 0; z-index: 60; display: none; overflow: hidden;
  background: linear-gradient(var(--pl-g0, #20182E), var(--pl-g1, #100C17) 55%, var(--pl-g2, #060408));
  font-family: "Space Grotesk", -apple-system, sans-serif; color: #FFF8F1;
}
.place--on { display: block; }
.place button { font: inherit; color: inherit; border: 0; padding: 0; margin: 0; cursor: pointer; background: none; }
/* The menu page's back button. */
.place__back {
  width: 34px; height: 34px; border-radius: 17px; cursor: pointer;
  background: rgba(6,6,10,0.66) !important; border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--c-text); display: flex; align-items: center; justify-content: center;
}

/* The feed: one screen a slide, snapped, as the app's vertical pager. */
.pf__feed {
  position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory;
  overscroll-behavior: contain; touch-action: pan-y; scrollbar-width: none;
}
.pf__feed::-webkit-scrollbar { display: none; }
.pf__slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.pf__float {
  position: absolute; z-index: 5; width: 44px; height: 44px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.3) !important; border: 1px solid rgba(255,255,255,0.16) !important;
}
.pf__back { top: 14px; left: 14px; }

/* PlainCover: the icon large and faint across the corner, then crisp in a gold ring at 70%. */
.pf__cover { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pf__ghost { position: absolute; right: -66px; bottom: 34px; line-height: 0; }
.pf__ring {
  position: absolute; left: 50%; top: 70%; width: 110px; height: 110px; border-radius: 55px;
  transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(242,195,122,0.55); background: rgba(242,195,122,0.06);
}
.pf__caption {
  position: absolute; left: 16px; right: 84px; bottom: 40px; display: flex; flex-direction: column; gap: 6px;
}
.pf__pos { font-size: 12px; color: rgba(255,248,241,0.72); }
.pf__hint { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: rgba(255,248,241,0.85); }

/* DetailSheet: glass with rounded bottom corners, 14 in, blocks 8 apart. */
.pf__sheet {
  position: relative; z-index: 2; padding: 14px 14px 26px; display: flex; flex-direction: column; gap: 8px;
  border-radius: 0 0 28px 28px; border-bottom: 0.5px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.pf__top { display: flex; justify-content: flex-end; gap: 10px; height: 44px; }
.pf__round { width: 44px; height: 44px; border-radius: 22px; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; }
.pf__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 2px 4px 6px; }
.pf__chip { height: 24px; line-height: 24px; padding: 0 9px; border-radius: 7px; background: rgba(255,255,255,0.1);
  font-size: 11px; font-weight: 600; }
.pf__name { font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.5px; }
.pf__pair { display: flex; gap: 8px; }
.pf__block { border-radius: 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  padding: 11px 12px; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.pf__block[hidden] { display: none; }
.pf__half { flex: 1 1 0; min-width: 0; }
.pf__lblRow { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 700; letter-spacing: 1.4px; }
.pf__lblRow span { flex: 1; }
.pf__lblRow svg { flex: none; }
.pf__small { font-size: 12.5px; line-height: 16px; font-weight: 600; color: rgba(255,248,241,0.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf__big { font-size: 15px; line-height: 19px; font-weight: 700; }
.pf__clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf__more { display: flex; gap: 8px; }
.pf__moreChip { flex: 1; min-height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 13px !important; font-weight: 700 !important;
  background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.12) !important; }
.pf__moreChip.is-on { color: #1A0F05 !important; background: var(--pf-acc) !important; border-color: var(--pf-acc) !important; }
.pf__dot { width: 6px; height: 6px; border-radius: 3px; }
.pf__moreChip.is-on .pf__dot { background: #1A0F05 !important; }
.pf__handle { align-self: center; width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.28);
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); }
.pf__open { gap: 10px; }
.pf__vibeRow { display: flex; align-items: center; gap: 16px; }
.pf__ringV { width: 72px; height: 72px; border-radius: 36px; border: 5px solid; box-sizing: border-box; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pf__ringV b { font-size: 22px; line-height: 25px; }
.pf__ringV span { font-size: 8.5px; font-weight: 700; letter-spacing: 1.2px; color: rgba(255,248,241,0.6); }
.pf__bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pf__barRow { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,248,241,0.72); }
.pf__barRow span { width: 64px; }
.pf__barRow i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.12); overflow: hidden; }
.pf__barRow i b { display: block; height: 5px; border-radius: 3px; }
.pf__barRow em { width: 24px; text-align: right; font-style: normal; font-weight: 700; }
.pf__body { margin: 0; font-size: 14px; line-height: 20px; color: rgba(255,248,241,0.88); }
.pf__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf__tags span { padding: 5px 9px; border-radius: 7px; border: 1px solid; font-size: 12px; font-weight: 600; }
.pf__contact { min-height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.12); font-size: 13px; font-weight: 600; }

/* Cards sit in a rounded frame: 12 in at the sides, 26 off the bottom, 60 off the top. */
.pf__frame { position: absolute; left: 12px; right: 12px; top: 60px; bottom: 26px; border-radius: 30px;
  overflow: hidden; border: 1px solid rgba(255,236,206,0.14); }

/* MenuCard — the printed menu, in the kind's skin. */
.pf__menu { background: var(--mp); color: var(--mi); padding-top: 20px; display: flex; flex-direction: column; }
.mc__head { display: flex; align-items: flex-start; padding: 0 20px; margin-bottom: 12px; }
.mc__head > div { flex: 1; }
.mc__kick { margin: 0; color: var(--mg); font-size: 12px; font-weight: 700; letter-spacing: 2.6px; }
.mc__count { margin: 3px 0 0; color: var(--ms); font-size: 12.5px; }
.mc__full { display: flex; align-items: center; gap: 2px; color: var(--mg) !important; font-size: 13.5px !important; font-weight: 600 !important; }
.mc__tabs { display: flex; gap: 8px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; flex: none; }
.mc__tabs::-webkit-scrollbar { display: none; }
.mc__tab { flex: none; padding: 8px 15px !important; border-radius: 20px; border: 1px solid var(--mb) !important;
  background: var(--mf) !important; color: var(--mi) !important; font-size: 14px !important; font-weight: 500 !important; }
.mc__tab.is-on { border-color: var(--mon) !important; background: var(--mon) !important; color: var(--mot) !important; }
.mc__body { flex: 1; padding: 0 20px; overflow: hidden; }
.mc__secHead { display: flex; align-items: center; gap: 12px; padding: 18px 0 6px; }
.mc__secHead span { color: var(--mg); font-size: 12.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc__secHead i { flex: 1; height: 0.5px; background: var(--mr); }
.mc__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 11.5px 0; }
.mc__row + .mc__row { border-top: 0.5px solid var(--mr); }
.mc__name { flex: 1; font-family: Fraunces, Georgia, serif; font-size: 17px; line-height: 22px; }
.mc__price { font-size: 15px; line-height: 22px; font-weight: 500; }
.mc__pager { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 6px 0 18px; color: var(--ms); font-size: 13px; font-weight: 500; }
.mc__turn { width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--mb) !important; background: var(--mf) !important; color: var(--mi) !important; }
.mc__turn:disabled { opacity: 0.35; cursor: default; }

/* Where the app goes on — info cards, reviews, Look Around — the replica asks for the app. */
.pf__end { background: rgba(0,0,0,0.35); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 0 26px; text-align: center; }
.pf__endK { margin: 0; color: #F2B65A; font-size: 12px; font-weight: 700; letter-spacing: 2.6px; }
.pf__endT { margin: 0; font-size: 19px; line-height: 25px; font-weight: 700; }
.pf__endS { margin: 0 0 6px; font-size: 13px; color: rgba(255,248,241,0.72); }

/* ── the menu page (app/place/menu.tsx) ───────────────────────────────── */
.menu { position: absolute; inset: 0; z-index: 7; display: none;
  background: var(--c-bg); flex-direction: column; }
.menu--on { display: flex; }
.menu__bar { display: flex; align-items: center; gap: 12px; padding: 14px;
  border-bottom: 1px solid var(--c-border); }
.menu__bar .place__back { position: static; }
.menu__title { color: var(--c-text); font-size: 16px; font-weight: 700; }
.menu__tabs { display: flex; gap: 8px; padding: 10px 14px; overflow: hidden;
  border-bottom: 1px solid var(--c-border); }
.menu__tab { padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,0.05); color: var(--c-text2);
  font-size: 11.5px; font-weight: 700; }
.menu__tab--on { background: rgba(255,107,53,0.16); color: var(--c-accent); }
.menu__body { flex: 1; overflow: hidden; padding: 12px 18px 18px; }
.menu__sec { color: var(--c-accent); font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase; margin: 14px 0 8px; }
.menu__item { display: flex; align-items: baseline; gap: 6px; padding: 5px 0; }
.menu__name { color: var(--c-text); font-size: 13.5px; }
.menu__dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,0.18); }
.menu__price { color: var(--c-neon); font-size: 13px; font-weight: 700; }

/* ── guide sheet: the sample button and dimmed-selected cell ──────────── */
.guide__sample {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  min-height: 28px; padding: 0 10px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--c-accent); color: var(--c-accent);
  font-size: 12px; font-weight: 600;
}
.guide__sample--on { background: var(--c-accent); color: var(--c-bg); }
.guide__badge {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 8px;
  background: var(--c-accent); border-radius: 10px; padding: 3px 8px;
  color: var(--c-bg); font-size: 11px; font-weight: 700;
}
.guide__dim { opacity: 0.45; }

/* ════════════════════════════════════════════════════════════════════
   EVENT PAGE — app/event/[id].tsx. Pushed over the tabs, so it covers the
   tab bar; numbers are the screen's StyleSheet, point for pixel.
   ════════════════════════════════════════════════════════════════════ */
.evd {
  position: absolute; inset: 0; z-index: 60; display: none;
  background: #06060A; overflow: hidden;
  line-height: normal; text-align: left;
}
.evd--on { display: block; }
:where(.evd) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.evd .gl { flex: none; display: block; }
.evd__scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; }
.evd__scroll::-webkit-scrollbar { display: none; }

.evd__nav {
  position: absolute; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; padding: 0 16px; pointer-events: none;
}
.evd__navBtn {
  pointer-events: auto;
  width: 38px; height: 38px; border-radius: 19px; background: rgba(6,6,10,0.6) !important;
  display: flex; align-items: center; justify-content: center;
}
.evd__navBtn:active, .evd__btnIco:active, .evd__row--tap:active { opacity: 0.7; }

.evd__hero {
  position: relative; height: 260px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.evd__mark { position: absolute; right: -30px; bottom: -20px; }
.evd__ring {
  width: 96px; height: 96px; border-radius: 48px; box-sizing: border-box;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.evd__today {
  position: absolute; right: 16px; border-radius: 6px; padding: 5px 10px;
  color: #06060A; font-size: 9px; font-weight: 900; letter-spacing: 1.5px;
}

.evd__card {
  position: relative; margin-top: -24px; min-height: 400px; box-sizing: border-box;
  background: #0E0E18; border-radius: 24px 24px 0 0; padding: 22px;
  display: flex; flex-direction: column; gap: 20px;
}
.evd__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.evd__pills:empty { display: none; }
.evd__pill {
  display: flex; align-items: center; gap: 5px; border: 1px solid; border-radius: 6px; padding: 4px 10px;
  font-size: 9px; font-weight: 900; letter-spacing: 1.2px;
}
.evd__ghost {
  border: 1px solid #1E1E2E; border-radius: 6px; padding: 4px 10px;
  color: #4B5563; font-size: 9px; font-weight: 800; letter-spacing: 1.2px;
}
.evd__title { color: #F5F5F5; font-size: 24px; font-weight: 900; line-height: 30px; letter-spacing: 0.1px; }

.evd__info {
  display: flex; flex-direction: column; gap: 2px;
  background: #06060A; border: 1px solid #1E1E2E; border-radius: 14px; overflow: hidden;
}
.evd__row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-bottom: 1px solid #1E1E2E;
}
.evd__row--tap { cursor: pointer; }
.evd__ico { width: 36px; height: 36px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; }
.evd__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.evd__lbl { color: #4B5563; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; }
.evd__val { color: #F5F5F5; font-size: 14px; font-weight: 600; line-height: 20px; }

.evd__desc {
  display: flex; flex-direction: column; gap: 10px;
  background: #06060A; border: 1px solid #1E1E2E; border-radius: 14px; padding: 16px;
}
.evd__descHead { display: flex; align-items: center; gap: 8px; }
.evd__dot { width: 8px; height: 8px; border-radius: 4px; }
.evd__descLbl { color: #4B5563; font-size: 9px; font-weight: 900; letter-spacing: 2px; }
.evd__descTxt { color: #9CA3AF; font-size: 14px; line-height: 22px; }

.evd__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 10px; padding: 16px;
  background: #0E0E18; border-top: 1px solid #1E1E2E;
}
.evd__btnIco {
  width: 52px; height: 52px; border-radius: 14px; flex: none; box-sizing: border-box;
  background: #06060A !important; border: 1px solid #1E1E2E !important;
  display: flex; align-items: center; justify-content: center;
}
.evd__btnPri {
  flex: 1; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #06060A; font-size: 14px; font-weight: 800; letter-spacing: 0.2px;
}
.evd__btnPri:active { opacity: 0.85; }

/* The focused event on the map: an EventPin carries no number badge. */
.pin--event .pin__disc .gl { display: block; }

/* The weekend lock: the first day clear, the rest blurred under the prompt. */
.evlock { position: relative; cursor: pointer; margin-top: 2px; }
.evlock__cards {
  filter: blur(5px); opacity: 0.6; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.evlock__cta {
  position: absolute; inset: 0; padding: 0 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(6,6,10,0.78) 0%, rgba(6,6,10,0.35) 70%, rgba(6,6,10,0) 100%);
}
/* No rows this weekend, or the read failed: the prompt on its own. */
.evlock--bare { flex: 1; display: flex; }
.evlock--bare .evlock__cta { position: static; flex: 1; background: none; }
.evlock__t { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -0.2px; }
.evlock__x { color: #9CA3AF; font-size: 13px; line-height: 19px; max-width: 250px; }
.appbadge { display: block; width: 159px; height: 53px; margin-top: 6px; }
.appbadge img { display: block; width: 100%; height: 100%; }
.appbadge:active { opacity: 0.8; }
.appbadge:focus-visible { outline: 2px solid #F5F5F5; outline-offset: 3px; border-radius: 9px; }   /* ≥40px rendered at the hero's smallest scale (0.76): Apple's minimum */

/* Get the app — an in-app banner that drops from the top of the screen. */
.getapp {
  position: absolute; left: 10px; right: 10px; top: 10px; z-index: 65;
  padding: 14px 14px 14px; border-radius: 20px;
  background: rgba(22,22,32,0.96); border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 34px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  line-height: normal; text-align: left;
  transform: translateY(calc(-100% - 24px)); opacity: 0;
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1.1), opacity 200ms ease;
  pointer-events: none;
}
.getapp--on { transform: none; opacity: 1; pointer-events: auto; }
.getapp__row { display: flex; align-items: flex-start; gap: 12px; width: 100%; }
.getapp__icon { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.getapp__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.getapp__t { color: #F5F5F5; font-size: 15px; font-weight: 800; letter-spacing: -0.2px; }
.getapp__x { color: #9CA3AF; font-size: 13px; line-height: 18px; }
.getapp__close {
  flex: none; width: 26px; height: 26px; border-radius: 13px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.08); color: #9CA3AF; display: flex; align-items: center; justify-content: center;
}
.getapp .appbadge { margin: 0 0 0 56px; }
@media (prefers-reduced-motion: reduce) { .getapp { transition: opacity 150ms ease; transform: none; } }

/* Loading: three quiet cards in the EventCard's shape. */
.ecard--skel { pointer-events: none; }
.ecard--skel .ecard__bar { background: #1E1E2E; }
.ecard--skel .ecard__ico { background: #141420; }
.ecard--skel .ecard__c { gap: 9px; }
.ecard--skel i { display: block; height: 10px; border-radius: 5px; background: #1A1A28; }
.ecard--skel i:nth-child(1) { width: 70%; height: 14px; }
.ecard--skel i:nth-child(2) { width: 45%; }
.ecard--skel i:nth-child(3) { width: 60%; }
@media (prefers-reduced-motion: no-preference) {
  .ecard--skel i { animation: skelPulse 1.4s ease-in-out infinite; }
  @keyframes skelPulse { 50% { opacity: 0.45; } }
}

/* The event page's View on Map, when Get Tickets takes the primary slot. */
.evd__btnSec {
  flex: 1; height: 52px; border-radius: 14px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #06060A !important; border: 1px solid #1E1E2E !important;
  color: #F5F5F5; font-size: 14px; font-weight: 700;
}
.evd__btnSec:active { opacity: 0.7; }

/* ── The Deal Paper past its front page: a prompt, then the other sections —
   their heads sharp, their stories ruled bars in the paper's ink under blur. */

/* ── Loading: News and Audio in their cards' shapes. */
.nskel { pointer-events: none; }
.nskel__pic { width: 100%; aspect-ratio: 1 / 0.72; background: #141416; }
.nskel__pic--duo { aspect-ratio: 1 / 0.62; }
.nskel i { display: block; height: 10px; border-radius: 5px; background: #1C1C20; margin-bottom: 8px; }
.nskel i:nth-child(1) { width: 38%; }
.nskel i:nth-child(2) { width: 90%; height: 15px; }
.nskel i:nth-child(3) { width: 64%; }
.au__card--skel { background: #141416; }
@media (prefers-reduced-motion: no-preference) {
  .nskel i, .nskel__pic, .au__card--skel, .nbt--skel, .dt--skel .dt__art, .dt--skel > i { animation: skelPulse 1.4s ease-in-out infinite; }
}

/* ════════════════════════════════════════════════════════════════════
   THE TOUR'S FINGER — proto-tour.js
   A soft disc like iOS's touch indicator. It rides on transform, so its
   press is `scale` and its ripple a pseudo-element; nothing else moves.
   ════════════════════════════════════════════════════════════════════ */
.tourfinger {
  position: absolute; left: -22px; top: -22px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.26);
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 14px rgba(0,0,0,0.45);
  pointer-events: none; opacity: 0;
  transition: transform 480ms cubic-bezier(0.3, 0.7, 0.2, 1), opacity 220ms ease, scale 140ms ease, background 140ms ease;
}
.tourfinger--on { opacity: 1; }
.tourfinger--press { scale: 0.8; background: rgba(255,255,255,0.46); }
.tourfinger::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); opacity: 0;
}
.tourfinger--press::after { animation: tourRipple 460ms ease-out; }
@keyframes tourRipple {
  from { opacity: 0.8; transform: scale(1); }
  to   { opacity: 0;   transform: scale(1.9); }
}

/* ── TrafficIncidentLayer: Georgia 511's incidents, live from app_traffic_incidents.
   A 22pt disc in the severity's colour (blocked red, slow amber), a white
   1.5pt edge, the kind's icon in near-black. Counter-scaled like every pin. */
.tinc { position: absolute; width: 0; height: 0; z-index: 12; pointer-events: none; }
.tinc__in { position: absolute; left: 0; top: 0; width: 22px; height: 22px;
  transform: translate(-50%, -50%) scale(var(--k-inv, 1)); }
.tinc__disc { width: 22px; height: 22px; border-radius: 11px; box-sizing: border-box;
  border: 1.5px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.35);
  display: flex; align-items: center; justify-content: center; }
.tinc__disc svg { width: 12px; height: 12px; fill: #0B0B0F; }
