/* =====================================================================
   VenueIQ — wayfinding design system
   Loaded last on every public page. The look comes from the mall's own
   signage: slate panels, the logo's teal for the one action that matters,
   and a colour per floor used like a transit line. Most pages change by
   overriding the tokens style.css already uses; the component rules
   below only calm down what the tokens can't reach (gradients, lifts,
   glows, bouncing, shimmer).
   ===================================================================== */

:root {
  /* Base palette — purple caret and teal IQ badge from the wordmark. */
  --ink: #1b2430;
  --ink-2: #2a3542;
  --paper: #f4f6f8;
  --signal: #1ecfc4;
  --signal-press: #12b5ab;
  --route: #6c5ce7;

  /* Floors, like transit lines. Parking is neutral. */
  --floor-1: #2563c9;
  --floor-2: #12865a;
  --floor-3: #c2540a;
  --floor-4: #7b4fc9;
  --floor-p: #5b6573;

  /* Tokens the existing stylesheets read */
  --bg: var(--paper);
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eceff1;
  --surface-3: #e2e6e9;
  --surface-glass: rgba(255, 255, 255, 0.96);
  --glass-border: #dce1e5;
  --text: var(--ink);
  --text-muted: #56616e;
  --text-soft: #7d8894;
  --border: #dce1e5;
  --primary: var(--route);
  --primary-2: #8f83f0;
  --accent: var(--signal);
  --accent-2: #12b5ab;
  --warning: #c2540a;
  --danger: #c8322b;
  --success: #12865a;
  --link: var(--route);
  --focus-ring: #6c5ce7;
  --focus-halo: rgba(108, 92, 231, 0.28);

  --gradient: linear-gradient(var(--ink), var(--ink));
  --gradient-2: linear-gradient(var(--floor-3), var(--floor-3));
  --gradient-3: linear-gradient(var(--ink), var(--ink));
  --gradient-soft: linear-gradient(#eceff1, #eceff1);
  --card-gradient: linear-gradient(#ffffff, #ffffff);
  --hero-visual-glass: #ffffff;

  --shadow-sm: 0 1px 2px rgba(27, 36, 48, 0.06);
  --shadow: 0 2px 8px rgba(27, 36, 48, 0.08);
  --shadow-lg: 0 8px 24px rgba(27, 36, 48, 0.12);
  --shadow-glow: 0 0 0 3px var(--focus-halo);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;

  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Manrope', 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e8ecef;
    --paper: #12171d;
    --bg: #12171d;
    --bg-2: #161c23;
    --surface: #1a2129;
    --surface-2: #212a33;
    --surface-3: #29333d;
    --surface-glass: rgba(26, 33, 41, 0.96);
    --glass-border: #2c3640;
    --text: #e8ecef;
    --text-muted: #a3adb8;
    --text-soft: #7f8a96;
    --border: #2c3640;
    --route: #b7adff;
    --primary: #b7adff;
    --primary-2: #cfc8ff;
    --link: #b7adff;
    --focus-ring: #b7adff;
    --focus-halo: rgba(183, 173, 255, 0.35);
    --gradient: linear-gradient(#2a3542, #2a3542);
    --gradient-3: linear-gradient(#2a3542, #2a3542);
    --gradient-soft: linear-gradient(#212a33, #212a33);
    --card-gradient: linear-gradient(#1a2129, #1a2129);
    --hero-visual-glass: #1a2129;
  }
}
:root[data-theme="dark"] {
  --ink: #e8ecef;
  --paper: #12171d;
  --bg: #12171d;
  --bg-2: #161c23;
  --surface: #1a2129;
  --surface-2: #212a33;
  --surface-3: #29333d;
  --surface-glass: rgba(26, 33, 41, 0.96);
  --glass-border: #2c3640;
  --text: #e8ecef;
  --text-muted: #a3adb8;
  --text-soft: #7f8a96;
  --border: #2c3640;
  --route: #b7adff;
  --primary: #b7adff;
  --primary-2: #cfc8ff;
  --link: #b7adff;
  --focus-ring: #b7adff;
  --focus-halo: rgba(183, 173, 255, 0.35);
  --gradient: linear-gradient(#2a3542, #2a3542);
  --gradient-3: linear-gradient(#2a3542, #2a3542);
  --gradient-soft: linear-gradient(#212a33, #212a33);
  --card-gradient: linear-gradient(#1a2129, #1a2129);
  --hero-visual-glass: #1a2129;
}

/* ---------------------------------------------------------------- type */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  font-feature-settings: 'tnum' 1;
}
h1, h2, h3, h4, .display, .stat-value {
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.08;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-family: var(--font-body); font-weight: 600; line-height: 1.3; }
p { max-width: 68ch; }
a { color: inherit; }
.gradient-text {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
}

/* The every-section kicker label adds nothing the heading doesn't say. */
.section-kicker { display: none; }
.section-header { text-align: left; max-width: none; margin-bottom: 28px; }
.section-header h2 { margin-bottom: 6px; }
.section-header p { margin: 0; color: var(--text-muted); }
.section { padding: 64px 0; }

/* ------------------------------------------------------------- motion */
/* One moment of motion (the directory board). Nothing else animates in. */
.reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
.navbar, .logo-mark, .btn-primary, .anim-pulse-glow { animation: none !important; }
.btn::before, .feature-card::before, .feature-card::after, .logo-mark::after { display: none !important; }
.hero-orb { display: none !important; }

/* ------------------------------------------------------------- header */
.navbar,
.navbar.is-scrolled {
  background: var(--surface) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}
.logo {
  gap: 10px;
  margin-right: 28px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--signal) !important;
  color: #1b2430 !important;
  box-shadow: none !important;
  font-family: var(--font-display);
  font-size: 22px;
}
.logo:hover .logo-mark { transform: none; }
.nav-links a, .nav-links .nav-dropdown-toggle {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-muted);
}
.nav-links a:hover, .nav-links .nav-dropdown-toggle:hover { color: var(--text); background: transparent; }
.nav-links a.active {
  color: var(--text) !important;
  background: transparent !important;
  box-shadow: inset 0 -3px 0 var(--signal);
  border-radius: 0;
}
.nav-links a.active::after { display: none !important; }
.nav-search input { border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid transparent; }
.nav-search input:focus { border-color: var(--route); background: var(--surface); }
.nav-icon-btn, .wishlist-btn, .nav-account-toggle { border-radius: var(--radius-sm) !important; background: transparent !important; }
.nav-icon-btn:hover, .wishlist-btn:hover, .nav-account-toggle:hover { background: var(--surface-2) !important; }
.nav-avatar { background: var(--ink) !important; color: var(--paper) !important; border-radius: 6px !important; }
.nav-dropdown { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* ------------------------------------------------------------- buttons */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { transform: none !important; }
.btn-lg { padding: 14px 26px; font-size: 17px; border-radius: var(--radius-sm); }
.btn-primary,
.btn-primary:visited {
  background: var(--signal) !important;
  color: #1b2430 !important;
  border: 1px solid var(--signal);
  box-shadow: none !important;
}
.btn-primary:hover { background: var(--signal-press) !important; border-color: var(--signal-press); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-soft { background: var(--surface-2); color: var(--text); }
.btn-soft:hover { background: var(--surface-3); }
.btn-dark { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }

/* --------------------------------------------------------------- cards */
.feature-card, .shop-card, .promo-card, .event-card, .chart-card, .card, .glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
.feature-card:hover, .shop-card:hover, .promo-card:hover, .event-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--text-soft);
}
.shop-card:hover .shop-cover, .feature-card:hover .feature-icon { transform: none !important; }
.shop-cover { background: var(--surface-2); }
.shop-badge { color: var(--text); background: var(--surface); border: 1px solid var(--border); backdrop-filter: none; border-radius: 4px; }
.tag { border-radius: 4px; font-weight: 600; letter-spacing: 0.01em; }
.promo-banner { background: var(--ink) !important; color: var(--paper); }
.promo-percent { font-family: var(--font-display); color: var(--signal); }

/* Floor badge: the device that ties every page to the building. */
.floor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1em;
  height: 1.6em;
  padding: 0 0.35em;
  border-radius: 4px;
  background: var(--floor-p);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1;
  font-feature-settings: 'tnum' 1;
}
.floor-badge[data-floor="1"] { background: var(--floor-1); }
.floor-badge[data-floor="2"] { background: var(--floor-2); }
.floor-badge[data-floor="3"] { background: var(--floor-3); }
.floor-badge[data-floor="4"] { background: var(--floor-4); }

/* --------------------------------------------------------- page bands */
.ticker {
  background: var(--ink) !important;
  color: #e8ecef !important;
  border: 0;
  font-size: 14px;
}
:root[data-theme="dark"] .ticker { background: #0c1015 !important; }
.soft-band { background: var(--surface-2); }
.cta-band {
  background: var(--ink) !important;
  color: #f3f5f6;
  border-radius: 0;
  text-align: left;
}
.cta-band h2, .cta-band p { color: #f3f5f6; }
.cta-band .btn-ghost { background: transparent; color: #f3f5f6; border-color: #56616e; }
.cta-band .btn-ghost:hover { border-color: #f3f5f6; }
.footer {
  background: #1b2430;
  color: #e8ecef;
  border-top: 3px solid var(--signal);
  margin-top: 0;
  padding: 48px 0 32px;
}
.footer-brand .logo { display: inline-flex; color: #fff; margin-bottom: 16px; }
.footer-lead {
  max-width: 34ch;
  margin: 0 0 18px;
  color: #b7c0c9;
  font-size: 15px;
  line-height: 1.5;
}
.footer-meta { margin: 0; color: #b7c0c9; font-size: 14px; line-height: 1.45; }
.footer-meta strong { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }
.footer-hours { display: inline-flex; align-items: center; gap: 6px; }
.footer h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal);
}
.footer ul a { color: #d5dde4; font-size: 15px; }
.footer ul a:hover { color: #fff; transform: none; }
.footer ul li { margin-bottom: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  border-top: 1px solid #2f3b48;
  padding-top: 18px;
  text-align: start;
  color: #8b97a3;
  font-size: 13px;
}
:root[data-theme="dark"] .footer { background: #0c1015; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer { background: #0c1015; }
}

/* Floating helpers: quieter, square-ish, out of the way. */
.concierge-fab {
  background: var(--ink) !important;
  color: #f3f5f6 !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-lg) !important;
  animation: none !important;
}
.concierge-fab:hover { transform: none !important; }
.concierge-fab .cf-ico { background: var(--signal) !important; color: #1b2430; border-radius: 4px !important; }

/* ===================================================== home: directory */
.directory-hero { padding: 40px 0 56px; }
.directory-hero .container { display: grid; gap: 28px; }
.directory-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.directory-head h1 { margin: 0; }
.directory-head p { margin: 8px 0 0; color: var(--text-muted); font-size: 18px; }
.directory-status { display: flex; gap: 8px; align-items: center; color: var(--text-muted); font-weight: 500; }
.directory-status .open-dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; }
.directory-status.is-closed .open-dot { background: #94a3b8; }
.directory-status .directory-hours { color: var(--text-muted); font-weight: 400; }
.directory-status.is-closed .open-dot { background: var(--danger); }

.directory-board {
  background: #1b2430;
  color: #e8ecef;
  border-radius: var(--radius);
  overflow: hidden;
}
:root[data-theme="dark"] .directory-board { background: #0c1015; border: 1px solid #2c3640; }
.directory-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid #2f3b48;
  color: inherit;
  text-decoration: none;
}
.directory-row:first-child { border-top: 0; }
.directory-row:hover { background: #222d3a; }
.directory-row .floor-badge { font-size: 26px; height: 44px; min-width: 54px; border-radius: 6px; }
.directory-row strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #fff; }
.directory-row .row-shops { color: #a3adb8; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.directory-row .row-live { text-align: right; font-size: 15px; color: #a3adb8; white-space: nowrap; }
.directory-row .row-live b { color: var(--signal); font-weight: 600; }

.directory-find {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px 22px 20px;
  background: #222d3a;
}
:root[data-theme="dark"] .directory-find { background: #141a21; }
.directory-find label { grid-column: 1 / -1; font-weight: 600; color: #fff; }
.directory-find input {
  height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: #fff;
  color: #1b2430;
  font: inherit;
  font-size: 18px;
}
.directory-find input:focus { outline: none; border-color: var(--signal); }
.directory-find .btn-primary { height: 52px; }

.directory-quick { display: flex; flex-wrap: wrap; gap: 10px; }
.directory-quick a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
}
.directory-quick a:hover { border-color: var(--route); color: var(--route); }
.directory-quick a span[aria-hidden] {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--route) 12%, var(--surface));
  color: var(--route);
}
.directory-quick .vx-icon { width: 16px; height: 16px; }

/* The board's rows arrive one after another, like a departures sign. */
@media (prefers-reduced-motion: no-preference) {
  :root:not(.a11y-motion) .directory-row { animation: board-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  :root:not(.a11y-motion) .directory-row:nth-child(2) { animation-delay: 0.08s; }
  :root:not(.a11y-motion) .directory-row:nth-child(3) { animation-delay: 0.16s; }
  :root:not(.a11y-motion) .directory-row:nth-child(4) { animation-delay: 0.24s; }
  :root:not(.a11y-motion) .directory-row:nth-child(5) { animation-delay: 0.32s; }
}
@keyframes board-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Services: compact cards, icon tile in the link colour. */
.service-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service-index a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 2px 12px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.service-index a:hover { border-color: var(--route); }
.service-index a:hover strong { text-decoration: none; }
.service-index span[aria-hidden] {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--route) 12%, var(--surface));
  color: var(--route);
}
.service-index .vx-icon { width: 18px; height: 18px; }
.service-index strong { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.service-index small { color: var(--text-muted); font-size: 13px; line-height: 1.35; }

@media (max-width: 900px) {
  .service-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .directory-hero { padding: 20px 0 36px; }
  .directory-row { grid-template-columns: 52px minmax(0, 1fr); padding: 14px 16px; gap: 12px; }
  .directory-row .floor-badge { font-size: 22px; height: 38px; min-width: 46px; }
  .directory-row .row-live { grid-column: 2; text-align: left; }
  .directory-find { grid-template-columns: 1fr; padding: 14px 16px 16px; }
  .service-index { grid-template-columns: 1fr; }
}

body.is-home .section-header { margin-bottom: 20px; }
body.is-home .section-header h2 { letter-spacing: -0.03em; }
body.is-home .section-header p { max-width: 48ch; font-size: 16px; }
body.is-home .directory-board { border-radius: 18px; }
@media (max-width: 900px) {
  .footer .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 20px; }
  .footer .footer-brand { grid-column: 1 / -1; }
  body.is-home .service-index { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 520px) {
  body.is-home .service-index { grid-template-columns: 1fr !important; }
}

/* Each service link keeps its own rows tight even when a neighbour wraps. */
.service-index a { align-content: start; }

.a11y-fab {
  width: 44px !important;
  height: 44px !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow) !important;
}

/* Beat enhance.css: no kicker pills, plain stacked section headings. */
.section-header .section-kicker, .section-kicker { display: none !important; }
.section-header { display: block !important; text-align: left !important; }
.soft-band { border-radius: 0 !important; margin-left: 0 !important; margin-right: 0 !important; background: var(--surface-2) !important; }
.promo-banner::before, .promo-banner::after { display: none !important; }
.promo-body h3 { font-size: 18px; }
.promo-body p, .promo-meta { font-size: 15px; }

/* Shop cards: where it is first, in the same floor colours as the board. */
.shop-where { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--text-muted); font-size: 15px; }
.shop-where .shop-category { display: inline; margin: 0; font-size: inherit; color: inherit; }
.shop-offer {
  margin-top: 10px;
  padding: 6px 10px;
  border-left: 3px solid var(--signal);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 0 4px 4px 0;
}
.shop-body h3 { font-size: 18px; }
.shop-card-heart { border-radius: 6px !important; background: var(--surface) !important; border: 1px solid var(--border); box-shadow: none !important; }

/* Fixed dark chrome: these stay slate whatever the theme. */
.concierge-fab { background: #1b2430 !important; color: #f3f5f6 !important; }
:root[data-theme="dark"] .concierge-fab { background: #2a3542 !important; border: 1px solid #3a4655; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .concierge-fab { background: #2a3542 !important; border: 1px solid #3a4655; } }

/* Filter tabs: one line, scroll sideways on small screens. */
.filter-chip { white-space: nowrap; border-radius: var(--radius-sm) !important; font-weight: 500; }
.filter-chip.active, .filter-chip[aria-pressed="true"], .filter-chip[aria-current] {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border-color: var(--ink) !important;
  box-shadow: none !important;
}

/* Map floor tabs carry their floor colour, like the badges. */
.floor-tab { border-radius: var(--radius-sm) !important; font-weight: 600; box-shadow: inset 4px 0 0 var(--floor-p); }
.floor-tab[data-floor="1"] { box-shadow: inset 4px 0 0 var(--floor-1); }
.floor-tab[data-floor="2"] { box-shadow: inset 4px 0 0 var(--floor-2); }
.floor-tab[data-floor="3"] { box-shadow: inset 4px 0 0 var(--floor-3); }
.floor-tab[data-floor="4"] { box-shadow: inset 4px 0 0 var(--floor-4); }
.floor-tab.active { color: #fff !important; background: var(--floor-p) !important; }
.floor-tab.active[data-floor="1"] { background: var(--floor-1) !important; }
.floor-tab.active[data-floor="2"] { background: var(--floor-2) !important; }
.floor-tab.active[data-floor="3"] { background: var(--floor-3) !important; }
.floor-tab.active[data-floor="4"] { background: var(--floor-4) !important; }

/* Number-plate lookup on the parking page. */
.plate-lookup { margin-top: 18px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--signal); border-radius: var(--radius-sm); max-width: 640px; }
.plate-lookup-row { display: flex; gap: 10px; margin-top: 8px; }
.plate-lookup-row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 6px; font: 600 20px var(--font-display); letter-spacing: 0.06em; background: #fff; color: #1b2430; }

/* Appointment booking */
.appt-pick { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.appt-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.appt-times legend { font-weight: 600; margin-bottom: 8px; }
.appt-time input { position: absolute; opacity: 0; }
.appt-time span { display: block; text-align: center; padding: 10px 6px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-weight: 600; cursor: pointer; }
.appt-time input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.appt-time input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.appt-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .appt-pick, .appt-details { grid-template-columns: 1fr; } }

/* Loyalty challenges and badges */
.challenge-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.challenge-icon { font-size: 24px; }
.challenge-state { font-weight: 700; font-family: var(--font-display); font-size: 18px; }
.challenge-row .vx-progress { margin-top: 6px; }
.badge-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 0; margin: 0; }
.badge-grid li { display: grid; gap: 2px; padding: 12px; border: 1px dashed var(--border); border-radius: var(--radius-sm); opacity: 0.6; }
.badge-grid li.is-earned { opacity: 1; border-style: solid; border-color: var(--signal); background: var(--surface); }
.badge-grid li span { font-size: 26px; }
.badge-grid small { color: var(--text-muted); }

/* Cart */
.cart-shop { margin-top: 14px; }
.cart-shop-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--border); }
.cart-line-total { text-align: right; font-weight: 600; }
.cart-qty select { padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); }
.cart-total { display: flex; justify-content: space-between; font-size: 22px; font-family: var(--font-display); }

/* ======================================================= virtual queue */
.queue-join { margin-bottom: 28px; border-left: 4px solid var(--signal) !important; }
.queue-join-form { display: grid; grid-template-columns: minmax(0, 2fr) minmax(90px, 1fr) auto; gap: 12px; align-items: end; }
@media (max-width: 640px) { .queue-join-form { grid-template-columns: 1fr 1fr; } .queue-join-form .btn { grid-column: 1 / -1; } }

/* The ticket reads like a numbered queue display at a deli counter. */
.queue-ticket { background: #1b2430; color: #e8ecef; border-radius: var(--radius); padding: 22px 24px 24px; }
.queue-ticket-top { display: flex; justify-content: space-between; align-items: center; color: #a3adb8; font-weight: 500; }
.queue-ticket-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 22vw, 8rem);
  line-height: 1;
  color: var(--signal);
  margin: 14px 0 6px;
  font-feature-settings: 'tnum' 1;
}
.queue-ticket-meta { color: #a3adb8; }
.queue-ticket-state { margin-top: 18px; padding-top: 16px; border-top: 1px solid #2f3b48; display: grid; gap: 4px; }
.queue-ticket-state strong { font-family: var(--font-display); font-size: 28px; color: #fff; font-weight: 600; }
.queue-ticket[data-status="called"] { box-shadow: inset 0 0 0 4px var(--signal); }
.queue-ticket[data-status="called"] .queue-ticket-state strong { color: var(--signal); }
.queue-ticket[data-status="cancelled"] .queue-ticket-number,
.queue-ticket[data-status="no_show"] .queue-ticket-number,
.queue-ticket[data-status="seated"] .queue-ticket-number { color: #5b6573; }

.queue-desk { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.queue-desk-next { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; position: sticky; top: 90px; }
.queue-desk-count { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1.1; }
.queue-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.queue-row-label { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.queue-row.is-called { border-left: 4px solid var(--signal); }
.queue-row.is-done { opacity: 0.7; }
.queue-row-actions { display: flex; gap: 6px; }
@media (max-width: 800px) {
  .queue-desk { grid-template-columns: 1fr; }
  .queue-desk-next { position: static; }
  .queue-row { grid-template-columns: 64px minmax(0, 1fr); }
  .queue-row-actions { grid-column: 1 / -1; }
}
.queue-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.shop-reason { font-size: 13px; font-weight: 600; color: var(--route); margin-bottom: 2px; }
.member-card { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; border-left: 4px solid var(--signal) !important; }
.photo-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; } .photo-search label { cursor: pointer; }

/* Mall-wide emergency banner (every public page) */
.emergency-banner { background: #c0192c; color: #fff; padding: 12px 0; font-size: 16px; position: relative; z-index: 45; }
.emergency-banner a { color: #fff; font-weight: 700; text-decoration: underline; margin-left: 6px; }
.exit-closed { text-decoration: line-through; opacity: .7; }

/* Floor-anchored AR (WebXR): overlay shown on top of the camera during the session */
.ar-xr-overlay { position: fixed; inset: auto 0 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; justify-content: space-between; background: rgba(10, 12, 24, .72); color: #fff; z-index: 60; }
.ar-xr-overlay[hidden] { display: none; }
.ar-xr-message { margin: 0; font-size: 17px; font-weight: 600; }

/* Concierge booking cards: the AI prepares, the visitor confirms */
.chat-proposal { border: 1px solid var(--signal, #00c2b8); border-left-width: 4px; display: grid; gap: 6px; }
.chat-proposal-price { font-weight: 700; font-size: 18px; }
.chat-proposal-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.chat-proposal-status { font-size: 14px; }

/* Line icons and the shared type. */
.vx-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  flex-shrink: 0;
}
.nav-chevron { width: 14px; height: 14px; opacity: 0.7; }
.nd-ico .vx-icon, .mt-ico .vx-icon, .nav-icon-btn .vx-icon, .wishlist-btn .vx-icon, .cf-ico .vx-icon, .a11y-fab .vx-icon { width: 18px; height: 18px; vertical-align: 0; }
.mt-ico .vx-icon { width: 22px; height: 22px; }
.directory-quick .vx-icon { width: 16px; height: 16px; color: var(--route); }
.shop-card-heart .vx-icon { width: 16px; height: 16px; }
.shop-card-heart.active .vx-icon,
[data-fav].is-saved .vx-icon,
.wishlist-btn .vx-icon { fill: currentColor; }
[data-theme-icon] .theme-ico { display: none; }
[data-theme-icon][data-theme-glyph="system"] .theme-ico-system,
[data-theme-icon][data-theme-glyph="light"] .theme-ico-light,
[data-theme-icon][data-theme-glyph="dark"] .theme-ico-dark { display: block; }
.theme-switch .vx-icon { width: 14px; height: 14px; margin-right: 4px; }
h1, h2, h3 { letter-spacing: -0.03em; }
.btn .vx-icon { width: 16px; height: 16px; margin-right: 2px; }
.ticker-item .vx-icon { width: 15px; height: 15px; }
.ticker-item::before { content: none; }
.food-cover .vx-icon { width: 44px; height: 44px; color: var(--route, var(--route)); }
.movie-poster .vx-icon, .event-poster .vx-icon { width: 42px; height: 42px; color: #fff; }
.chat-avatar .vx-icon { width: 22px; height: 22px; }
.footer .vx-icon { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.kpi-label .vx-icon, .vx-tabs .vx-icon, .shop-hero-meta .vx-icon { width: 15px; height: 15px; }
.chart-card h3 .vx-icon { width: 18px; height: 18px; margin-right: 6px; }
.shop-cover .vx-icon, .shop-hero-mark .vx-icon { width: 36px; height: 36px; }


/* ============================================ home: the building, live
   One moment carries the page: the mall's floors stack up, a route draws
   from "you are here" up the escalator to a shop people are visiting
   today, and a pin drops. It plays once. Hovering a floor on the board
   lights it up here. Everything else on the page stays still. */
.directory-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 8px 40px;
  align-items: center;
}
.directory-top .directory-head { display: block; }
.directory-title {
  font-family: 'Barlow Condensed', var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 11ch;
  text-wrap: balance;
}
.directory-top .directory-head p { font-size: 19px; max-width: 34ch; margin: 18px 0 14px; }
/* Latin names keep the signage face; Arabic and Urdu letters fall back to their own fonts. */
html[lang="ar"] .directory-title { font-family: 'Barlow Condensed', 'Noto Naskh Arabic', serif; line-height: 1.1; letter-spacing: 0; }
html[lang="ur"] .directory-title { font-family: 'Barlow Condensed', 'Noto Nastaliq Urdu', serif; line-height: 1.3; letter-spacing: 0; }

.floor-stack { margin: 0; }
.floor-stack svg { display: block; width: 100%; height: auto; overflow: visible; }
.fs-shaft { stroke: var(--text-soft); stroke-width: 2; stroke-dasharray: 3 6; opacity: 0.55; }
.fs-top { fill: color-mix(in srgb, var(--c) 16%, var(--bg)); stroke: var(--c); stroke-width: 2; transition: fill 0.25s ease, opacity 0.25s ease; }
.fs-side { fill: color-mix(in srgb, var(--c) 72%, #000); }
.fs-side-r { fill: color-mix(in srgb, var(--c) 52%, #000); }
.fs-label rect { fill: var(--c); }
.fs-label text { fill: #fff; font: 700 15px 'Barlow Condensed', var(--font-display); }
.fs-plate { transition: opacity 0.25s ease; }
.fs-route { fill: none; stroke: var(--route); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.fs-here-dot { fill: var(--signal); stroke: var(--bg); stroke-width: 3; }
.fs-here-ring { fill: none; stroke: var(--signal); stroke-width: 2; }
.fs-traveller { fill: var(--route); stroke: var(--bg); stroke-width: 2; opacity: 0; }
.fs-pin-body path { fill: var(--route); }
.fs-pin-body circle { fill: var(--bg); }
.fs-pin-shadow { fill: var(--ink); opacity: 0.18; }
.fs-caption { fill: var(--text); font: 600 14px var(--font-body); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.fs-dest { font: 700 16px 'Barlow Condensed', var(--font-display); }

/* A floor picked on the board: it fills in, the others step back. */
.floor-stack[data-active] .fs-plate { opacity: 0.35; }
.floor-stack[data-active="1"] .fs-plate[data-floor="1"],
.floor-stack[data-active="2"] .fs-plate[data-floor="2"],
.floor-stack[data-active="3"] .fs-plate[data-floor="3"],
.floor-stack[data-active="4"] .fs-plate[data-floor="4"],
.floor-stack[data-active="5"] .fs-plate[data-floor="5"],
.floor-stack[data-active="0"] .fs-plate[data-floor="0"] { opacity: 1; }
.floor-stack[data-active="1"] .fs-plate[data-floor="1"] .fs-top,
.floor-stack[data-active="2"] .fs-plate[data-floor="2"] .fs-top,
.floor-stack[data-active="3"] .fs-plate[data-floor="3"] .fs-top,
.floor-stack[data-active="4"] .fs-plate[data-floor="4"] .fs-top,
.floor-stack[data-active="5"] .fs-plate[data-floor="5"] .fs-top,
.floor-stack[data-active="0"] .fs-plate[data-floor="0"] .fs-top { fill: color-mix(in srgb, var(--c) 42%, var(--bg)); }

@media (prefers-reduced-motion: no-preference) {
  /* 0.0–0.7s floors stack up, bottom first */
  :root:not(.a11y-motion) .fs-plate {
    animation: fs-stack 0.55s cubic-bezier(0.2, 0.8, 0.25, 1) backwards;
    animation-delay: calc(var(--i) * 0.11s);
  }
  /* 0.6–1.5s the route draws itself */
  :root:not(.a11y-motion) .fs-route {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: fs-draw 0.9s cubic-bezier(0.55, 0, 0.3, 1) 0.6s forwards;
  }
  /* 1.35–2.85s a traveller walks it (started by the page script) */
  :root:not(.a11y-motion) .floor-stack.is-travelling .fs-traveller { animation: fs-travel 1.5s linear forwards; }
  /* ~2.7s the pin drops onto the shop */
  :root:not(.a11y-motion) .fs-pin-body { animation: fs-drop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) 2.6s both; transform-box: fill-box; transform-origin: 50% 100%; }
  :root:not(.a11y-motion) .fs-pin-shadow { animation: fs-fade 0.4s ease 2.7s both; }
  :root:not(.a11y-motion) .fs-dest { animation: fs-fade 0.4s ease 2.85s both; }
  /* "You are here" keeps a slow, quiet pulse, like a map's location dot */
  :root:not(.a11y-motion) .fs-here-ring { animation: fs-pulse 2.4s ease-out 1s infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes fs-stack { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
@keyframes fs-travel { 0% { opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fs-drop { from { opacity: 0; transform: translateY(-34px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes fs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fs-pulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.6); opacity: 0; } }

@media (max-width: 900px) {
  .directory-top { grid-template-columns: 1fr; }
  .floor-stack { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .directory-top .directory-head p { font-size: 17px; }
  .fs-caption { font-size: 18px; }
  .fs-dest { font-size: 20px; }
}


/* Home hero, real 3D: the canvas sits over the drawing and replaces it once ready. */
.floor-stack { position: relative; }
.mall-3d { position: absolute; inset: -8% -2% -4%; opacity: 0; transition: opacity 0.6s ease; touch-action: pan-y; }
.floor-stack.is-3d .mall-3d { opacity: 1; }
.floor-stack.is-3d > svg { visibility: hidden; }
.mall-3d canvas { display: block; width: 100%; height: 100%; cursor: grab; outline: none; }
.mall-3d canvas:active { cursor: grabbing; }
.m3d-labels { position: absolute; inset: 0; pointer-events: none; }
.m3d-floor { display: inline-block; min-width: 30px; padding: 3px 6px; border-radius: 4px; color: #fff; text-align: center; font: 700 14px 'Barlow Condensed', var(--font-display); }
.m3d-tag { padding: 3px 8px; border-radius: 6px; background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); font: 600 13px var(--font-body); white-space: nowrap; transform: translateY(-14px); transition: opacity 0.3s ease; }
.m3d-dest { font: 700 15px 'Barlow Condensed', var(--font-display); background: var(--route); color: #fff; border-color: transparent; }
.m3d-tip { position: absolute; padding: 5px 9px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 600 13px var(--font-body); pointer-events: none; transform: translate(12px, 12px); white-space: nowrap; z-index: 2; }
.m3d-park { background: var(--floor-p); }

/* With car parks the stack is tall: give the model more room on wide screens
   (fixed from the start, so nothing jumps when it loads). */
@media (min-width: 901px) {
  .floor-stack { height: clamp(500px, 74vh, 720px); display: flex; align-items: center; }
  .floor-stack > svg { max-height: 100%; }
  .mall-3d { inset: -4% -4% -2%; }
}


/* ================================================== Phase 1: polish
   Fixes from a pass over every main page at phone size. */

/* The new logo is a single <span>; an old phone rule hid "the last span"
   in the logo (the word next to the old V mark), which hid the whole logo. */
.nav-inner .logo > span.brand-logo:last-child { display: inline-flex; }

/* Phones: one floating button, not two. High contrast moves into the menu. */
.drawer-contrast { width: 100%; justify-content: center; margin: 4px 0 8px; }
.drawer-contrast[aria-pressed="true"] { border-color: var(--text); }
@media (min-width: 769px) { .drawer-contrast { display: none; } }
@media (max-width: 768px) {
  .a11y-fab { display: none !important; }
  .concierge-fab { width: 52px; height: 52px; padding: 0 !important; justify-content: center; border-radius: 50% !important; }
  .concierge-fab .cf-ico { background: transparent !important; color: var(--signal) !important; }
}

/* Rows that scroll sideways (filters, chips, stats) swipe without a grey scrollbar. */
.filter-bar, .kpi-row, .tab-row, .vx-tabs { scrollbar-width: none; -ms-overflow-style: none; }
.filter-bar::-webkit-scrollbar, .kpi-row::-webkit-scrollbar, .tab-row::-webkit-scrollbar, .vx-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 640px) {
  .filter-bar .search-input, .filter-bar input[type="search"], .filter-bar input[type="text"] { min-width: 0; flex: 1 1 100%; }
  /* Stat boxes become a compact strip you can swipe, so the real content comes first. */
  .kpi-row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 2px 16px 6px; }
  .kpi-row > .kpi-card { flex: 0 0 auto; min-width: 150px; padding: 12px 14px; scroll-snap-align: start; }
  .kpi-row .kpi-value { font-size: 22px !important; }
}

/* A promo card whose button drops below the text on phones. */
.promo-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.promo-strip > .btn { flex: none; }

/* Home 3D model on phones: inside its own box, never over the text. */
@media (max-width: 900px) {
  .floor-stack { height: min(118vw, 560px); display: flex; align-items: center; }
  .mall-3d { inset: 0; }
}
@media (max-width: 600px) { .m3d-free { display: none; } }

/* Pages fade into each other instead of flashing white (supporting browsers). */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Home search-to-route: the answer appears under the search box. */
.directory-route { grid-column: 1 / -1; color: #e8ecef; }
.directory-route p { margin: 4px 0 10px; }
.directory-route strong { color: #fff; }
.directory-route-links { display: flex; gap: 8px; flex-wrap: wrap; }
.directory-route-links .btn-ghost { color: #e8ecef; border-color: #56616e; }

/* Map page: 3D view of the whole mall, with a 3D / 2D switch. */
.map-view-switch { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.map-view-switch button { padding: 6px 12px; font-weight: 700; background: var(--surface); color: var(--text-muted); border: 0; cursor: pointer; }
.map-view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.map-3d { position: relative; height: clamp(420px, 72vh, 780px); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; touch-action: none; }
.map-canvas-wrap.is-3d .map-svg, .map-canvas-wrap.is-3d .map-legend { display: none; }
.map-canvas-wrap.is-3d .map-3d { display: block; }
.map-3d-hint { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: var(--text-muted); pointer-events: none; }
@media (max-width: 768px) { .map-3d { height: 64vh; } }

/* Shop page: floor colour on the header, live status, walking time. */
.shop-hero { border-top: 6px solid var(--floor-p); }
.shop-hero[data-floor="1"] { border-top-color: var(--floor-1); }
.shop-hero[data-floor="2"] { border-top-color: var(--floor-2); }
.shop-hero[data-floor="3"] { border-top-color: var(--floor-3); }
.shop-hero[data-floor="4"] { border-top-color: var(--floor-4); }
.shop-live { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 10px 0 4px; font-weight: 600; }
.shop-open { display: inline-flex; align-items: center; gap: 7px; }
.shop-open .dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; }
.shop-open.is-closed .dot { background: #ff6b6b; }
.shop-walk { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); }
.shop-hero-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 640px) {
  .shop-hero-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .shop-hero-actions > .btn-primary { grid-column: 1 / -1; }
  .shop-hero-actions .btn { padding: 10px 12px; font-size: 14px; }
}
.product-stock { font-size: 13px; font-weight: 600; margin: 2px 0 8px; }
.product-stock.is-in { color: var(--floor-2); }
.product-stock.is-low { color: var(--floor-3); }
.product-stock.is-out { color: var(--text-soft); }
.shop-3d { position: relative; height: 270px; margin: 4px -6px 10px; border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.shop-3d .m3d-floor { font-size: 12px; min-width: 24px; padding: 2px 5px; }
.shop-walk-summary { font-weight: 700; margin: 0 0 14px; }

/* Search: a dead end becomes a starting point. */
.search-empty { display: grid; gap: 14px; justify-items: center; text-align: center; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }

/* Food: a queue meter you read at a glance, pickup timing, order again. */
.queue-meter { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.queue-meter-bar { display: block; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.queue-meter-bar > span { display: block; height: 100%; border-radius: 3px; background: var(--floor-2); }
.queue-meter.is-med .queue-meter-bar > span { background: var(--floor-3); }
.queue-meter.is-high .queue-meter-bar > span { background: var(--danger); }
.collect-when { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.collect-when legend { font-weight: 700; margin-bottom: 8px; width: 100%; }
.collect-when label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; }
.collect-when label:has(input:checked) { border-color: var(--route); background: color-mix(in srgb, var(--route) 10%, var(--surface)); font-weight: 600; }
.collect-when input { accent-color: var(--route); }
.food-usual { margin: 0 0 24px; }
.food-usual h2 { font-size: 20px; margin-bottom: 10px; }
.food-usual-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.food-usual-card { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.food-usual-card .btn { justify-self: start; }
@media (max-width: 640px) {
  .filter-bar[role="search"] { flex-wrap: wrap; }
  .filter-bar[role="search"] .btn { flex: 1 1 100%; }
}

/* ---------- Cinema: seat map ---------- */
.seat-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; margin: 0 0 22px; font-size: 14px; font-weight: 600; }
.seat-pick select.input { width: auto; min-width: 72px; padding-block: 8px; }
.cinema-screen { position: relative; max-width: 520px; height: 34px; margin: 0 auto 26px; text-align: center; }
.cinema-screen::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 14px;
  border-top: 4px solid var(--signal);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -6px 18px -4px var(--signal);
  opacity: .85;
}
.cinema-screen span { position: relative; top: 14px; font-size: 12px; font-weight: 700; color: var(--text-muted); }
.seat-map .seat-row-label:last-child { text-align: center; }
.seat-row-seats .seat { font-size: 10px; font-weight: 700; }
.seat-aisle { display: block; }
.seat.seat-best { box-shadow: inset 0 0 0 2px var(--warning); }
.seat.seat-best.selected { box-shadow: none; }
.legend-best { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--warning); }
@media (max-width: 640px) {
  .seat-map .seat-row { min-width: 440px; }
}

/* ---------- Cinema: snacks after booking ---------- */
.snack-offer { margin-top: 22px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); text-align: start; }
.snack-offer-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.snack-offer-head h2 { font-size: 18px; margin: 0 0 2px; }
.snack-offer-ico { font-size: 30px; line-height: 1; }
.snack-offer-done { font-size: 14px; margin: 0 0 10px; }
.snack-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.snack-item { display: grid; grid-template-columns: 28px 1fr 72px; gap: 10px; align-items: center; }
.snack-emoji { font-size: 22px; text-align: center; }
.snack-name { display: grid; font-weight: 600; font-size: 14px; }
.snack-qty { text-align: center; padding-inline: 6px; }

/* ---------- Parking: the car park in 3D ---------- */
.park-3d-section { padding: 10px 0; }
.park-3d { position: relative; height: 380px; border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.m3d-car { font: 700 14px 'Barlow Condensed', var(--font-display); background: var(--signal); color: var(--ink); border-color: transparent; }
@media (max-width: 640px) { .park-3d { height: 300px; } }

/* ---------- EV: charge during my film ---------- */
.ev-film { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; border-left: 4px solid var(--signal); }
.ev-film > div { display: grid; gap: 2px; flex: 1 1 260px; }
.ev-film-ico { font-size: 26px; }
.snack-offer-ev { margin: 14px 0 0; font-size: 14px; }

/* ---------- Pay for everything ---------- */
.pay-all-strip { margin-bottom: 18px; }
.pay-all-list { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; }
.pay-all-item { display: grid; grid-template-columns: auto 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--border); cursor: pointer; }
.pay-all-item input { width: 20px; height: 20px; accent-color: var(--primary); }
.pay-all-ico { font-size: 22px; text-align: center; }
.pay-all-text { display: grid; gap: 2px; min-width: 0; }
.pay-all-amount { white-space: nowrap; }

/* ---------- Member card ---------- */
.mcard-wrap { min-width: 0; }
.mcard {
  --mc-a: #8a5a2b; --mc-b: #c8915a;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 1.586; width: 100%; max-width: 340px; min-height: 196px;
  padding: 18px 20px; border-radius: 18px; color: #fff;
  display: grid; grid-template-rows: auto 1fr auto;
  background: linear-gradient(135deg, var(--mc-a), var(--mc-b));
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.25);
  text-align: start;
}
.mcard::before { /* fine engraved lines, like a real card */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: repeating-radial-gradient(circle at 110% -10%, transparent 0 14px, #fff 14px 15px);
}
.mcard-silver { --mc-a: #59636d; --mc-b: #b9c3cc; }
.mcard-gold { --mc-a: #8a6510; --mc-b: #e2bd52; }
.mcard-platinum { --mc-a: #18222d; --mc-b: #56677a; }
.mcard.is-vip::after { /* a slow sheen across VIP cards */
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); animation: mcard-sheen 5.5s ease-in-out infinite;
}
@keyframes mcard-sheen { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .mcard.is-vip::after { animation: none; display: none; } }
.mcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mcard-mall { font: 700 16px 'Barlow Condensed', var(--font-display); letter-spacing: .02em; opacity: .95; }
.mcard-tier { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.mcard-vip { margin-inline-start: 4px; padding: 2px 8px; border-radius: 999px; background: #fff; color: #18222d; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.mcard-figures { display: flex; gap: 22px; align-items: center; }
.mcard-figures span { display: block; font-size: 11px; opacity: .8; }
.mcard-figures strong { font: 700 26px 'Barlow Condensed', var(--font-display); line-height: 1.1; }
.mcard-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.mcard-who { display: grid; gap: 1px; min-width: 0; }
.mcard-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-code { font: 600 14px ui-monospace, monospace; letter-spacing: .12em; opacity: .92; }
.mcard-until { font-size: 11px; opacity: .85; }
.mcard-qr { flex: 0 0 auto; width: 64px; height: 64px; padding: 4px; border: 0; border-radius: 8px; background: #fff; cursor: zoom-in; line-height: 0; }
.mcard-qr svg, .mcard-dialog-qr svg { width: 100%; height: auto; display: block; }
.mcard-qr:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mcard-dialog { border: 0; border-radius: var(--radius-lg); padding: 24px; width: min(360px, calc(100vw - 32px)); text-align: center; background: var(--surface); color: var(--text); }
.mcard-dialog::backdrop { background: rgba(10, 16, 24, .7); }
.mcard-dialog-qr { background: #fff; padding: 12px; border-radius: 12px; margin-bottom: 12px; }
.mcard-dialog-code { display: block; font: 700 24px ui-monospace, monospace; letter-spacing: .14em; margin-bottom: 6px; }
.vip-card-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-bottom: 24px; }
.vip-card-row .mcard-wrap { flex: 0 1 340px; }
.vip-card-row p { flex: 1 1 220px; margin: 0; }
.member-card .mcard-wrap { flex: 0 1 340px; }
.profile-card .mcard-wrap { max-width: 340px; }

/* ---------- Parking: reserve a bay ---------- */
.reserve-bay { display: grid; gap: 12px; }
.reserve-bay-head { display: grid; gap: 2px; }
.reserve-bay-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.reserve-bay-fields select, .reserve-bay-fields input { width: 100%; }

/* ---------- Concierge ---------- */
.concierge-page { padding: 8px 0 20px; }
.concierge-page .breadcrumb { margin-bottom: 10px; }
body.is-concierge .concierge-fab { display: none !important; }

.chat-container {
  height: calc(100dvh - 128px);
  min-height: 460px;
  max-height: 860px;
  border-radius: 18px;
  box-shadow: none;
  background: var(--surface);
}
.chat-header {
  flex-shrink: 0;
  background: var(--surface) !important;
  color: var(--text) !important;
  animation: none !important;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.chat-heading { flex: 1; min-width: 0; }
.chat-header h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.chat-status {
  margin: 3px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}
.chat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12865a;
  flex-shrink: 0;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--signal);
  color: #1b2430;
  animation: none;
  backdrop-filter: none;
}
.chat-clear {
  flex-shrink: 0;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.chat-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
  container-type: size;
  container-name: chat;
}
.chat-body {
  flex: 1;
  min-height: 0;
  background: transparent;
  padding: 16px;
  gap: 10px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.chat-welcome {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  margin: 0;
  padding: 18px 22px;
  pointer-events: none;
  overflow: hidden;
}
.chat-stage:has(.chat-msg) .chat-welcome { display: none; }
.chat-welcome-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--route);
}
.chat-welcome h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 32px);
  letter-spacing: -0.03em;
}
.chat-welcome p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}
.chat-msg {
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
  border-radius: 16px;
}
.chat-msg.bot {
  background: var(--surface);
  border: 1px solid var(--border);
}
.chat-msg.me {
  background: #5b4cdb !important;
  color: #fff !important;
}
.chat-msg.bot em {
  font-style: normal;
  font-weight: 700;
  color: var(--route);
}
.chat-msg a.btn {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 10px 0 0;
}
.chat-prompts {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  flex-shrink: 0;
  padding: 10px 14px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  scrollbar-width: none;
}
.chat-prompts::-webkit-scrollbar { display: none; }
.chat-prompts[hidden] { display: none; }
.chat-container:has(.chat-msg) .chat-prompts-static { display: none; }
.chat-suggestion {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transform: none;
}
.chat-suggestion:hover,
.chat-suggestion:focus-visible {
  border-color: var(--route);
  color: var(--route);
  transform: none;
}
.chat-suggestion .vx-icon { width: 15px; height: 15px; color: var(--route); }
.chat-footer { flex-shrink: 0; padding: 10px 14px 12px; }
.chat-input-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 4px 4px 14px;
}
.chat-input-wrap:focus-within {
  border-color: var(--route);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.chat-input-wrap input { font-size: 15px; color: var(--text); }
.chat-send {
  width: 42px;
  height: 42px;
  background: var(--signal);
  color: #1b2430;
  border-radius: 11px;
}
.chat-send .vx-icon { width: 18px; height: 18px; }
.chat-footnote {
  margin: 8px 2px 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-soft);
}
@media (max-height: 720px) {
  .chat-footnote { display: none; }
  .chat-container { min-height: 0; }
}
@media (max-height: 560px) {
  .chat-header { padding: 8px 12px; }
  .chat-status { display: none; }
  .chat-avatar { width: 34px; height: 34px; border-radius: 10px; }
  .chat-prompts { padding: 6px 10px; }
  .chat-footer { padding: 8px 10px 8px; }
  .chat-welcome { padding: 8px 16px; }
}
@container chat (max-height: 96px) {
  .chat-welcome { justify-content: center; padding: 0 16px; }
  .chat-welcome-kicker,
  .chat-welcome p:last-child { display: none; }
  .chat-welcome h2 { margin: 0; font-size: 20px; }
}
@media (max-width: 900px) {
  .concierge-page { padding-top: 4px; }
  .concierge-page .breadcrumb { margin-bottom: 8px; }
  .chat-welcome h2 { font-size: 24px; }
}

/* "Coming soon", "Closing Apr 30", "Outside the mall" on directory cards. */
.shop-status-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--warn-soft, #fff8e6);
  color: var(--warning-text, #a35a00);
}

/* "Where to park" on store and restaurant pages. */
.park-card { margin-top: 20px; padding: 16px; border: 1px solid var(--border, rgba(15, 23, 42, 0.1)); border-radius: 12px; }
.chart-card > .park-card { margin-top: 0; border: 0; padding: 0; }
.park-card h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.park-door { margin: 0 0 8px; }
.park-zone { color: var(--text-muted); }
.park-facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--text-muted); }
.park-facts li { display: flex; gap: 6px; align-items: flex-start; }
.park-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.park-actions .btn { flex: 1 1 auto; justify-content: center; min-height: 44px; }
.park-note { margin: 10px 0 0; font-size: 12px; color: var(--text-muted); }
.entrance-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.entrance-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; }
.entrance-card h3 { font-size: 16px; margin-bottom: 6px; }
.entrance-card .park-actions { margin-top: auto; }

/* Youth supervision policy: banner, status pill, page lists, door check. */
.youth-banner { position: relative; z-index: 39; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; padding: 9px 20px; font-size: 13px; color: var(--text); background: var(--muted-fill, #f1f5f9); border-bottom: 1px solid var(--border); text-align: center; }
.youth-banner.is-on { background: rgba(217, 119, 6, 0.14); }
.youth-banner a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.youth-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--muted-fill, #f1f5f9); }
.youth-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; }
.youth-status.is-on { background: rgba(217, 119, 6, 0.14); }
.youth-status.is-on .dot { background: #d97706; }
.youth-rules { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.youth-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.youth-dates li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.youth-dates li:last-child { border-bottom: 0; }
.youth-result { display: grid; gap: 4px; padding: 16px; border-radius: 12px; border: 2px solid; font-size: 15px; }
.youth-result strong { font-size: 20px; }
.youth-result.is-ok, .youth-result.is-not_in_effect { border-color: #16a34a; background: rgba(22, 163, 74, 0.08); }
.youth-result.is-needs_adult, .youth-result.is-too_many_youths { border-color: #dc2626; background: rgba(220, 38, 38, 0.08); }
.youth-counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.youth-counter label { display: block; font-weight: 700; margin-bottom: 6px; }
.youth-counter-row { display: flex; gap: 8px; align-items: stretch; }
.youth-counter-row .btn { min-width: 52px; min-height: 52px; font-size: 22px; justify-content: center; }
.youth-counter-row input { flex: 1; min-width: 0; text-align: center; font-size: 22px; font-weight: 700; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
.showtime-youth { display: block; font-size: 12px; color: var(--text); font-weight: 600; }
.youth-status[hidden] { display: none; }

/* Mall walkers. */
.youth-status.is-walk .dot { background: #16a34a; }
.walk-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; margin-top: 20px; }
@media (max-width: 860px) { .walk-grid { grid-template-columns: 1fr; } }
.walk-laps { font-size: 20px; margin: 8px 0 4px; }
.walk-laps strong { font-size: 48px; font-family: var(--font-display); line-height: 1; }
.walk-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.walk-lap-btn { min-height: 56px; min-width: 140px; font-size: 18px; justify-content: center; }
.walk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.walk-stats > div { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.walk-stats span, .walk-stats small { font-size: 12px; color: var(--text-muted); }
.walk-stats strong { font-size: 18px; }
.walk-goal { height: 10px; border-radius: 999px; background: var(--muted-fill, #e2e8f0); overflow: hidden; }
.walk-goal span { display: block; height: 100%; background: var(--primary); }
.walk-settings { display: grid; gap: 10px; max-width: 420px; }
.walk-board { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.walk-board li { padding-left: 4px; }
.walk-board li > * { display: inline; }
.walk-board li strong { float: right; }
.walk-board li.is-me { font-weight: 700; color: var(--primary); }

/* Entertainment hub. */
.ent-demo { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(217, 119, 6, 0.14); }
.ent-movies { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ent-movie { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.ent-times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ent-times span { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--muted-fill, #f1f5f9); }
.ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ent-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.ent-card h3 { font-size: 18px; margin: 0; }
.ent-card h3 a { color: inherit; }
.ent-kind { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.ent-tagline { margin: 0; color: var(--text-muted); font-size: 14px; }
.ent-nearby { margin: 0; font-size: 13px; color: var(--text-muted); }
.ent-card .park-actions { margin-top: auto; }
.showtime-btn.is-info { cursor: default; }
.ent-age { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 6px; background: #1f2937; color: #fff; font-size: 11px; letter-spacing: 0; }
.ent-notice { margin: 0; padding: 8px 10px; border-inline-start: 3px solid #d97706; background: rgba(217, 119, 6, 0.1); font-size: 13px; }

/* Getting here. */
.transit-lines { display: grid; gap: 14px; }
.transit-line { display: flex; gap: 14px; align-items: flex-start; }
.transit-line h3 { font-size: 16px; margin: 0 0 4px; }
.transit-badge { flex: none; min-width: 52px; padding: 8px 6px; border-radius: 10px; text-align: center; font-weight: 800; font-size: 18px; background: var(--primary); color: #fff; }

/* Visitor reports & safety. */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.safety-call { display: grid; gap: 4px; margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; border: 2px solid #dc2626; background: rgba(220, 38, 38, 0.08); }
.safety-call a { font-weight: 700; color: inherit; }
.safety-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.safety-types a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; color: var(--text); }
.safety-types a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.safety-form { display: grid; gap: 12px; }
.safety-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.safety-form legend { font-weight: 700; margin-bottom: 6px; width: 100%; }
.safety-choice { display: inline-flex; gap: 6px; align-items: center; min-height: 44px; }
.safety-form .field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.field-error { color: #dc2626; font-size: 13px; margin: -6px 0 0; }
.safety-case.is-critical { border: 2px solid #dc2626; }
.safety-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 10px 0; }
.safety-facts dt { font-weight: 700; }
.safety-facts dd { margin: 0; }
.safety-overdue { margin: 8px 0; padding: 10px 12px; border-radius: 10px; background: #dc2626; color: #fff; }
.safety-checklist { margin: 8px 0; }
.safety-checklist summary { cursor: pointer; font-weight: 700; min-height: 32px; }
.safety-checklist ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.safety-resolve { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.safety-resolve input { flex: 1 1 200px; }
.safety-form .vx-field { display: grid; gap: 6px; }
.safety-form .vx-field > span { font-weight: 600; font-size: 14px; }
.safety-form input:not([type="radio"]), .safety-form select, .safety-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.safety-form textarea { min-height: 96px; }

/* A page whose title sits in a section header: the h1 looks like the section h2s. */
.section-header h1 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; position: relative; display: inline-block; }

/* Search suggestions: wide enough to read whole shop names, growing away from
   the screen edge the search box sits near, never wider than the screen. */
.nav-search .search-suggest { left: auto; right: auto; inset-inline-start: auto; inset-inline-end: 0; width: max(100%, min(380px, calc(100vw - 32px))); }

/* "Where to park" inside a card keeps its distance from whatever comes before it. */
.chart-card > * + .park-card { margin-top: 18px; }

/* Card heart: the button stays light, so a saved shop shows a filled red heart (not white on white). */
.shop-card-heart { color: var(--text); }
.shop-card-heart.active { color: var(--danger) !important; border-color: currentColor; }

/* The language you're reading in, ticked in the language menu. */
#locale-menu a.is-current { font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }

/* Language choice in the phone menu, styled like the theme switch above it. */
.drawer-locales { margin-top: 10px; }
.drawer-locales a { flex: 1; padding: 9px 8px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-align: center; text-decoration: none; }
.drawer-locales a[aria-current="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.drawer-locales { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }

/* An approximate (schematic) map says so wherever directions are shown. */
.map-approx-note { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; border-inline-start: 4px solid var(--warning); background: var(--surface-2); font-size: 13px; color: var(--text); }

/* Open-lot areas ("near Entry 3") are wider tiles with their name, not bay numbers. */
.parking-slot.is-area { grid-column: span 3; aspect-ratio: auto; min-height: 52px; padding: 8px 10px; font-size: 14px; font-weight: 600; }
