/* Event Hub public website: "Pixel Silver" (approved Oct 2026, docs/design/pixel-silver/).
   Light brushed silver, solid cards, the wordmark on a dark metal plate; the flyers bring the colour.
   Design tokens are identical to app/src/theme.ts (see NOTES.md, Design system). No build step. */

/* Google Sans Flex (Google Fonts, SIL Open Font License, licence in public/fonts/google-sans-flex/OFL.txt):
   self-hosted variable font, weights 300 to 900. Same font as the app. */
@font-face {
  font-family: 'Google Sans Flex'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../fonts/google-sans-flex/google-sans-flex-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans Flex'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../fonts/google-sans-flex/google-sans-flex-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Ground: silver gradient with a soft gloss band and a faint brushed texture */
  --ground-from: #F1F3F5; --ground-mid: #DADEE3; --ground-to: #C5CAD0;
  --gloss: rgba(255,255,255,.5); --brush: rgba(255,255,255,.06);
  /* Surfaces and ink. ink3 is decorative only, never body text */
  --surface: #FAFBFC; --surface2: #E5E8EC; --line: rgba(16,20,26,.10);
  --ink: #15181D; --ink2: #454C56; --ink3: #7A818B;
  /* Header plate */
  --plate-top: #3B4047; --plate-mid: #25282D; --plate-bottom: #1B1D21;
  /* Hero plate on Today: dark glass panel, its light rim, the icon dividers and the photo credit */
  --hero-rim: rgba(255,255,255,.42); --hero-glow: rgba(255,255,255,.12);
  --bar-blue: #2266E6; --bar-gold: #FCD116; --bar-green: #22B24C; --hero-divider: rgba(0,132,61,.7); --hero-credit: rgba(255,255,255,.72);
  /* Brand. Orange and yellow are fills with dark text, never text on silver */
  --orange: #F28C28; --yellow: #F5C518; --on-yellow: #1B1B18; --red: #C62828; --green: #00843D;
  /* Daytime and Nightlife */
  --day-bg: #CFE6F7; --day-ink: #0F2E4D; --night-bg: #14284B; --night-ink: #FFFFFF;
  /* Labels */
  --now-bg: #DDF3E6; --now-ink: #0B5A2C; --updated-bg: #FFE9CC; --updated-ink: #4D2A00;
  --chart: #3A8FD0;
  /* Bottom bar (frosted) */
  --bar: rgba(250,251,252,.88); --bar-blur: 16px;
  --shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px rgba(20,24,30,.08);
  /* Radii */
  --r-card: 20px; --r-card-lg: 24px; --r-btn: 18px; --r-thumb: 12px; --r-flyer: 18px; --r-chip: 999px;
  /* Flag of SVG (only in the flag) */
  --flag-blue: #002674; --flag-gold: #FCD116; --flag-green: #00843D;
  --focus: #1F6FD1;
  --col: 600px;
  /* Website-only tokens for the desktop and tablet layout (4 Oct 2026). Not in app/src/theme.ts on purpose: the app
     has no desktop layout. Content container, header heights, the dark Nightlife band, the period dots on flyer
     cards and the hover lift. */
  --wrap: 1240px; --gutter: 32px; --hdr-h: 72px; --util-h: 32px; --util-bg: #1B1D21;
  --band-from: #2B2F35; --band-to: #1B1D21; --dot-day: #F5C518; --dot-night: #7FB2FF;
  --lift: 0 2px 8px rgba(16,20,26,.06), 0 8px 24px rgba(16,20,26,.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background-color: var(--ground-mid); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); position: relative;
  font-family: 'Google Sans Flex', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 24px; background: transparent;
}
/* The ground is fixed to the screen (a pseudo-element, because iPhone Safari ignores background-attachment). */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 28%, var(--gloss) 44%, rgba(255,255,255,0) 60%),
    repeating-linear-gradient(90deg, var(--brush) 0 1px, rgba(0,0,0,0) 1px 3px),
    linear-gradient(165deg, var(--ground-from) 0%, var(--ground-mid) 45%, var(--ground-to) 100%);
}
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.icon { display: inline-block; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Visible focus rings everywhere (keyboard users) */
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.plate :focus-visible, .cal-head :focus-visible, .viewer :focus-visible { outline-color: #FFFFFF; }

/* Type scale */
.t-screen { font-size: 28px; line-height: 34px; font-weight: 750; letter-spacing: -.01em; }
.t-section { font-size: 22px; line-height: 28px; font-weight: 750; }
.t-sub { font-size: 20px; line-height: 26px; font-weight: 750; }
.t-card { font-size: 18px; line-height: 23px; font-weight: 700; }
.muted { color: var(--ink2); }

/* Page column: a phone-width column, centred on wider screens */
.page { max-width: var(--col); margin: 0 auto; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.page.has-actions { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.sec { padding: 14px 20px 0; }
.sec-lg { padding-top: 24px; }

/* Header plate with the wordmark and the flag */
.plate {
  background: linear-gradient(180deg, var(--plate-top) 0%, var(--plate-mid) 55%, var(--plate-bottom) 100%);
  border-radius: 0 0 28px 28px; padding: 14px 20px 16px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(0,0,0,.18);
  overflow: hidden;
}
.plate .brand { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; border-radius: 8px; position: relative; z-index: 1; }
/* Machined diamond lattice (8 x 12 px diamonds on a 16 x 24 px grid, every other row offset) on the right of the
   plate, fading in from transparent so the wordmark and its gem mark sit on clean metal. */
.plate-lattice { position: absolute; top: 0; right: 0; width: min(62%, 320px); height: 100%; display: block; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.plate-lattice .cut { fill: none; stroke: rgba(0,0,0,.38); stroke-width: 1; }
.plate-lattice .lit { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
/* Gem signature (concept B): the flag's three diamonds in a V after "Hub", on its baseline. Green lifted to #1FA35B
   so it reads on the dark plate (4.5:1), with a gold rim at 60%. */
.gem-mark { display: block; width: 26px; height: 20px; margin-bottom: 6px; flex: 0 0 auto; }
.gem-mark path { fill: #1FA35B; stroke: rgba(252,209,22,.6); stroke-width: 1; stroke-linejoin: round; }
/* Tricolour edge: a thin blue | gold | green line (1:2:1, as on the flag) across the full bottom of the plate,
   running into its rounded ends (the plate's overflow clips it to the corners). */
.plate { position: relative; }
.plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, var(--flag-blue) 0 25%, var(--flag-gold) 25% 75%, var(--flag-green) 75% 100%); }
/* "event" sits on "Hub" like a crown; the script in site/layout.blade.php sizes it to exactly Hub's width. */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; border-radius: 8px; }
/* Size-configurable: set --hub-size on a parent (38px on the slim plate, larger on the hero); "event" starts at about
   55% of it and is then fitted to Hub's width by the script. */
.wordmark .event { display: block; white-space: nowrap; color: var(--orange); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: calc(var(--hub-size, 38px) * .5526); letter-spacing: .04em; margin-bottom: calc(var(--hub-size, 38px) * -.0526); }
.wordmark .hub { color: var(--yellow); font-weight: 900; font-size: var(--hub-size, 38px); letter-spacing: -.02em; }

/* Hero plate (Today only; Kai's panorama concept, 2 Oct 2026): the same rounded dark plate, taller, with a full-bleed
   photo (object-fit cover, anchored right) under a dark glass panel whose right edge is a convex curve with a light
   rim. The wordmark, gem mark, three labelled icons and a short tricolour bar sit on the panel. No lattice and no
   full-width tricolour edge. The script in site/layout.blade.php (partials/hero-script) reshapes the panel to the
   plate's size so it always clears the content; without it the % shape below is used. Same design as
   app/src/components/HeaderPlate.tsx (variant "hero"). */
.plate-hero { --hub-size: clamp(42px, 12.8vw, 58px); --hero-ic: clamp(15px, 4.4vw, 20px);
  padding: 0; min-height: clamp(176px, 51vw, 228px); isolation: isolate; justify-content: flex-start; }
.plate-hero::after { display: none; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center;
  display: block; max-width: none; z-index: 0; color: transparent; }
.hero-panel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; display: block; }
/* No backdrop blur: browsers blur a clip shape's whole bounding box, leaving a hard edge in the photo. The navy
   gradient fill (93% at the left, 66% at the edge) gives the glass look instead. */
.hero-glow { fill: none; stroke: var(--hero-glow); stroke-width: 6; }
.hero-line { fill: none; stroke: var(--hero-rim); stroke-width: 1.2; }
.hero-content { position: relative; z-index: 2; display: inline-flex; flex-direction: column; align-items: stretch;
  padding: clamp(12px, 4vw, 20px) 0 clamp(14px, 4.2vw, 22px) clamp(16px, 5vw, 24px); }
.plate-hero .brand { align-self: flex-start; gap: calc(var(--hub-size) * .14); }
.plate-hero .gem-mark { width: calc(var(--hub-size) * .68); height: calc(var(--hub-size) * .52); margin-bottom: calc(var(--hub-size) * .158); }
.hero-icons { display: flex; align-items: stretch; margin-top: clamp(8px, 2.6vw, 12px); color: #FFFFFF; }
.hero-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hero-item .icon { width: var(--hero-ic); height: var(--hero-ic); }
.hero-label { font-size: clamp(8.5px, 2.2vw, 10.5px); line-height: 1.25; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; margin-right: -.14em; }
.hero-div { flex: 0 0 1px; width: 1px; margin: 2px clamp(5px, 1.9vw, 11px); background: var(--hero-divider); }
/* A thick, bright, rounded tricolour bar (brighter than the official flag colours, as in Kai's concept). */
.hero-bar { display: block; height: clamp(7px, 2.3vw, 10px); border-radius: 999px; margin-top: clamp(10px, 3vw, 14px);
  background: linear-gradient(90deg, var(--bar-blue) 0 25%, var(--bar-gold) 25% 75%, var(--bar-green) 75% 100%); }
/* The credit stays on the photo, right of the panel (the script sets --hero-credit-max), on at most two lines. */
.hero-credit { position: absolute; right: 18px; bottom: 6px; z-index: 2; max-width: var(--hero-credit-max, 30%); overflow: hidden; text-align: right;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  font-size: 10px; line-height: 13px; color: var(--hero-credit); text-shadow: 0 1px 2px rgba(0,0,0,.7); }
/* Phones: a little tighter, so the glass panel can stay at about 45% of the width. */
@media (max-width: 419px) { .hero-label { letter-spacing: .08em; margin-right: -.08em; } }

/* Greeting */
.greet { padding: 20px 20px 0; }
.greet-date { margin-top: 4px; font-size: 16px; font-weight: 500; color: var(--ink2); }

/* Cards */
.card-surface { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card-lg); box-shadow: var(--shadow); }

/* Weather (a native disclosure: tap to show today's temperatures) */
.wx { overflow: hidden; }
.wx > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-radius: var(--r-card-lg); min-height: 48px; }
.wx > summary::-webkit-details-marker { display: none; }
.wx-icon { flex: 0 0 auto; }
.wx-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.wx-now { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.wx-temp { font-size: 30px; line-height: 34px; font-weight: 600; }
.wx-sum { font-size: 15px; color: var(--ink2); }
.wx-line { font-size: 13px; line-height: 18px; color: var(--ink2); }
.wx-line abbr { text-decoration: none; border: 0; cursor: default; } /* "SVG", spelled out for screen readers via title */
.wx-days { display: grid; grid-template-columns: repeat(3, minmax(34px, 1fr)); gap: 6px; flex: 0 0 auto; }
.wx-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 34px; }
.wx-day-name { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink2); text-transform: uppercase; }
.wx-day-temp { font-size: 14px; line-height: 18px; font-weight: 600; }
.wx-more { margin: 0 16px 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.wx-more-title { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink2); }
.wx-chart { width: 100%; height: auto; display: block; overflow: visible; }
.wx-chart text { font-size: 11px; fill: var(--ink); font-family: inherit; }
.wx-chart .wx-dot-temp text { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Month calendar */
.cal { overflow: hidden; }
.cal-head { background: var(--red); color: #FFFFFF; display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 16px; position: relative; overflow: hidden; }
/* A faint white hibiscus behind the month arrows (partials/hibiscus; app: Hibiscus.tsx), about 10% strength. */
.cal-hibiscus { position: absolute; right: 34px; top: 50%; width: 112px; height: 112px; transform: translateY(-50%) rotate(-12deg); pointer-events: none; }
.cal-title, .cal-arrows { position: relative; z-index: 1; }
.cal-title { font-size: 17px; line-height: 24px; font-weight: 700; }
.cal-arrows { display: flex; gap: 2px; }
.cal-nav { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: #FFFFFF; border-radius: 999px; }
.cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 8px 8px 0; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink2); text-align: center; }
.cal-weeks { display: flex; flex-direction: column; gap: 2px; padding: 6px 8px 8px; }
.cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.js .cal[data-collapsed] .cal-week:not(.is-current) { display: none; }
.cal-day { height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 14px; text-decoration: none; font-size: 16px; line-height: 20px; color: var(--ink); font-weight: 600; }
.cal-day.out { color: var(--ink3); font-weight: 500; }
.cal-day.today { background: var(--yellow); color: var(--on-yellow); font-weight: 800; }
.cal-day.selected { background: var(--night-bg); color: #FFFFFF; font-weight: 800; }
.cal-count { min-width: 16px; height: 15px; }
.cal-count:not(:empty) { padding: 0 4px; border-radius: 999px; background: var(--red); color: #FFFFFF; font-size: 10px; line-height: 15px; font-weight: 800; text-align: center; }
.cal-day.selected .cal-count:not(:empty) { box-shadow: 0 0 0 1.5px #FFFFFF; }
@media (hover: hover) { a.cal-day:not(.today):not(.selected):hover { background: var(--surface2); } }
.cal-toggle { display: none; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink2); border: 0; border-top: 1px solid var(--line); background: none; }
.js .cal-toggle { display: flex; }
.cal-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.cal[aria-busy="true"] { opacity: .7; }

/* Chips (Today / Tomorrow / This weekend) */
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: var(--r-chip); background: var(--surface); border: 1px solid var(--line); display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.chip[aria-current] { background: var(--ink); color: var(--surface); border-color: var(--ink); }

/* Daytime / Nightlife switch */
.tabs-sec { padding-top: 20px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface2); }
.tab { min-height: 48px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; text-decoration: none; color: var(--ink2); }
.tab .count { font-size: 14px; opacity: .8; }
.tab.day[aria-selected="true"] { background: var(--day-bg); color: var(--day-ink); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.tab.night[aria-selected="true"] { background: var(--night-bg); color: var(--night-ink); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.panel { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.panel[hidden] { display: none; }

/* Event card (home lists) */
.ecard { display: flex; align-items: stretch; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 6px 10px 10px; box-shadow: var(--shadow); }
.ecard-link { display: flex; gap: 12px; flex: 1 1 auto; min-width: 0; text-decoration: none; color: inherit; border-radius: 14px; }
.thumb { width: 84px; height: 105px; flex: 0 0 auto; border-radius: var(--r-thumb); overflow: hidden; background: var(--surface2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; color: var(--ink2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.sm { width: 52px; height: 65px; border-radius: 10px; }
.thumb.xs { width: 48px; height: 60px; border-radius: 10px; }
.is-cancelled .thumb img, .is-cancelled .thumb > .icon { filter: grayscale(.8); opacity: .6; }
.ecard-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding-top: 2px; }
.ecard-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.time { font-size: 15px; line-height: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ecard-title { font-size: 18px; line-height: 23px; font-weight: 700; overflow-wrap: anywhere; }
.is-cancelled .ecard-title, .is-cancelled .lcard-title { color: var(--ink2); }
.ecard-venue { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 19px; color: var(--ink2); }
.ecard-venue .icon { flex-shrink: 0; }
.ecard-chips { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 3px; }
.price { font-size: 13px; line-height: 18px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--surface2); }
.note { font-size: 13px; line-height: 18px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); }
.reason { font-size: 13px; line-height: 18px; color: var(--ink2); }

/* Small labels: every state is a word, not colour alone */
.label { font-size: 12px; line-height: 16px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.label-now { background: var(--now-bg); color: var(--now-ink); }
.label-soon { background: var(--surface2); color: var(--ink); }
.label-cancel { background: var(--red); color: #FFFFFF; font-weight: 800; letter-spacing: .05em; }
.label-day { background: var(--day-bg); color: var(--day-ink); }
.label-night { background: var(--night-bg); color: var(--night-ink); }
/* UPDATED: the date, time or venue of a live event changed in the last 48 hours (App\Support\UpdatedNotice) */
.label-updated { background: var(--updated-bg); color: var(--updated-ink); font-weight: 800; white-space: normal; }

/* Bell (opens the Remind dialog). Reminders need JavaScript, so the buttons are hidden without it. */
html:not(.js) [data-remind] { display: none; }
.bell { align-self: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; color: var(--ink2); padding: 0; }
.bell.is-set { background: var(--yellow); color: var(--on-yellow); }
.bell.is-set svg { fill: currentColor; }
@media (hover: hover) { .bell:not(.is-set):hover { background: var(--surface2); } }

/* Empty, done and next-up cards */
.dash-card { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.dash-title { font-size: 18px; line-height: 24px; font-weight: 700; }
.dash-text { font-size: 15px; line-height: 21px; color: var(--ink2); }
.pill-btn { min-height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.pill-ink { background: var(--ink); color: var(--surface); }
.pill-night { background: var(--night-bg); color: var(--night-ink); }
.pill-green { background: var(--green); color: #FFFFFF; gap: 8px; }

/* Earlier today (native disclosure) */
.earlier > summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink2); border-radius: 8px; }
.earlier > summary::-webkit-details-marker { display: none; }
.earlier[open] > summary .icon { transform: rotate(180deg); }
.earlier-list { display: flex; flex-direction: column; gap: 8px; opacity: .72; margin-top: 4px; }
.earlier-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); text-decoration: none; font-size: 15px; }
.earlier-row b { font-weight: 600; }

/* Featured row: horizontal scroll-snap, nothing moves by itself */
.featured { padding-top: 28px; container-type: inline-size; }
.featured-head { padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.featured-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.featured-arrows { display: flex; gap: 8px; flex-shrink: 0; }
.featured-arrows[hidden] { display: none; }
.featured-arrows .round-btn:disabled { opacity: .35; cursor: default; }
.featured-by { font-size: 13px; line-height: 18px; color: var(--ink2); }
.frow { display: flex; gap: 12px; overflow-x: auto; padding: 12px 20px 8px; margin: 0; list-style: none; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: thin; }
.frow > li { flex: 0 0 200px; scroll-snap-align: start; }
/* Cards sized from the row's width so about 1.6 fit: the next card always peeks in on every phone. */
@supports (width: 1cqw) { .frow > li { flex-basis: clamp(160px, calc((100cqw - 52px) / 1.6), 240px); } }
/* A soft fade on the right edge while there is more to see (removed at the end of the row by the script). */
.frow.has-more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.fcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; border-radius: var(--r-flyer); }
.fcard-media { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-flyer); overflow: hidden; background: var(--surface2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 8px 18px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; color: var(--ink2); }
.fcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.date-pill { position: absolute; top: 10px; left: 10px; background: rgba(250,251,252,.95); color: var(--ink); font-size: 13px; line-height: 18px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.fcard-title { font-size: 17px; line-height: 22px; font-weight: 700; }
.fcard-where { font-size: 14px; line-height: 19px; color: var(--ink2); margin-top: -6px; }
/* "Trending now" (6 Oct 2026): the rank in place of the date pill (the date is written under the title instead). */
.rank-pill { min-width: 30px; text-align: center; padding: 3px 9px; font-size: 15px; line-height: 20px; font-weight: 800; }
/* The screen-reader rank (.sr-only, absolutely placed) must stay inside the scrolling rail, or the page scrolls sideways. */
.trending .fcard { position: relative; }

/* Sponsored card (one per visit) */
.sponsored { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.sp-media { aspect-ratio: 4 / 1; min-height: 88px; display: block; background: var(--surface2); }
.sp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-text { height: auto; min-height: 110px; background: radial-gradient(circle at 80% 30%, rgba(255,255,255,.22), rgba(255,255,255,0) 55%), #0E4F63; color: #FFFFFF; display: flex; flex-direction: column; justify-content: center; padding: 16px 20px; gap: 4px; }
.sp-headline { font-size: 22px; line-height: 26px; font-weight: 900; overflow-wrap: anywhere; }
.sp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.sp-foot > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-word { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .06em; color: var(--ink2); }
.sp-name { font-size: 16px; line-height: 21px; font-weight: 700; }
/* Inside the calendar results (already padded), and the section sponsor line inside the Daytime / Nightlife tabs:
   one calm line in ink2, never bigger than a card title. */
.sp-inset { margin-top: 14px; }
.sp-strip { display: block; margin: -8px 0 -4px; padding: 12px 2px; font-size: 13px; line-height: 20px; color: var(--ink2); text-decoration: none; border-radius: 10px; overflow-wrap: anywhere; }
.sp-strip .sp-word { font-size: 11px; line-height: 20px; }
.sp-strip .sp-dot { color: var(--ink3); margin: 0 5px; }
.sp-strip b { font-weight: 700; color: var(--ink); }
a.sp-strip:hover .sp-line, a.sp-strip:focus-visible .sp-line { text-decoration: underline; text-underline-offset: 2px; }

/* Got an event? and footer */
.team { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-foot { padding: 20px 20px 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--ink2); }
.site-foot p + p { margin-top: 4px; }
.site-foot a { color: var(--ink); font-weight: 600; text-underline-offset: 2px; display: inline-block; padding: 6px 2px; }

/* Fixed glass bottom bar */
.bottom-nav {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom));
  max-width: calc(var(--col) - 24px); margin: 0 auto; height: 68px; border-radius: 34px; padding: 6px;
  background: var(--bar); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.18);
  -webkit-backdrop-filter: blur(var(--bar-blur)); backdrop-filter: blur(var(--bar-blur));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 28px; color: var(--ink2); text-decoration: none; font-size: 12px; line-height: 16px; font-weight: 600; }
.bottom-nav a[aria-current="page"] { background: var(--ink); color: var(--surface); font-weight: 700; }

/* Calendar page */
.screen-head { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 0; }
.screen-head .chips { padding-top: 12px; }
.results { padding: 8px 20px 0; display: flex; flex-direction: column; gap: 10px; }
/* Room below the grid so choosing a quieter day does not shorten the page and pull the scroll position up */
[data-swap-root] .results { min-height: 70vh; }
.day-heading { margin-top: 14px; }
.lcard { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 10px; text-decoration: none; box-shadow: var(--shadow); }
.lcard-link { display: flex; gap: 12px; align-items: center; flex: 1 1 auto; min-width: 0; text-decoration: none; color: inherit; border-radius: 12px; }
.lcard:has(> .lcard-link) { padding-right: 4px; }
.lcard-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.lcard-title { font-size: 17px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere; }
.lcard-where { font-size: 14px; line-height: 19px; color: var(--ink2); }
.results .dash-card { margin-top: 14px; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Search (5 Oct 2026): the pill on Today, the search box, chip rows that scroll sideways on phones, the summary */
.search-pill { margin-top: 14px; min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink2); font-size: 16px; line-height: 22px; font-weight: 500; text-decoration: none; }
.search-pill .icon { color: var(--ink); }
.search-box { margin-top: 14px; display: flex; align-items: center; gap: 6px; min-height: 56px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.search-box:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.search-box .search-icon { color: var(--ink2); margin-right: 4px; }
.search-input { flex: 1 1 auto; min-width: 0; height: 52px; border: 0; padding: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); -webkit-appearance: none; appearance: none; border-radius: 0; }
.search-input:focus-visible { outline: none; }
.search-input::placeholder { color: var(--ink2); opacity: 1; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-clear { flex: 0 0 auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--ink2); display: flex; align-items: center; justify-content: center; cursor: pointer; }
html:not(.js) .search-clear { display: none; }
.search-go { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: 15px; font-weight: 700; cursor: pointer; }
.js .search-go { display: none; } /* results follow the typing; Enter still searches */
.filters { padding-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.filter { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.filter-label { padding: 0 20px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.chip-row { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 2px 20px 4px; scroll-padding: 0 20px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row .chip { flex: 0 0 auto; white-space: nowrap; gap: 6px; }
.chip-sep { flex: 0 0 1px; align-self: stretch; margin: 8px 2px; background: var(--line); }
@media (min-width: 600px) { .chip-row { flex-wrap: wrap; overflow: visible; } }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.search-count { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--ink2); overflow-wrap: anywhere; }
.clear-link { flex: 0 0 auto; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
/* Room below the results so a shorter list does not pull the page up while typing */
.search-results { min-height: 60vh; }
.search-results .day-heading { margin-top: 10px; }
[data-search-swap][aria-busy="true"] .search-results { opacity: .7; }
.search-more { padding: 8px 0; font-size: 14px; line-height: 19px; color: var(--ink2); text-align: center; }

/* Event page */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; gap: 8px; }
.round-btn { width: 44px; height: 44px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); cursor: pointer; padding: 0; flex: 0 0 auto; }
.topbar-label { font-size: 15px; font-weight: 600; color: var(--ink2); text-align: center; }
.alert { margin: 0 14px 12px; border-radius: var(--r-btn); padding: 14px 16px; display: flex; gap: 12px; }
.alert-cancel { background: var(--red); color: #FFFFFF; }
.alert-updated { background: var(--updated-bg); color: var(--updated-ink); border: 1px solid rgba(77,42,0,.14); }
.alert .icon { margin-top: 2px; }
.alert-body { display: flex; flex-direction: column; gap: 4px; }
.alert-word { font-size: 16px; line-height: 20px; font-weight: 800; letter-spacing: .06em; }
.alert-text { font-size: 15px; line-height: 21px; }
.poster { margin: 0 14px; border-radius: 28px; overflow: hidden; position: relative; background: #120B07; padding: 22px 0; display: flex; justify-content: center; isolation: isolate; }
.poster-bg { position: absolute; inset: -30px; z-index: -1; background-size: cover; background-position: center; filter: blur(26px) brightness(.55) saturate(1.1); }
.poster-flyer { width: min(280px, 72%); max-height: 420px; object-fit: contain; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 18px 40px rgba(0,0,0,.45); display: block; }
.poster.is-cancelled .poster-flyer { filter: grayscale(.7); opacity: .75; }
.poster-zoom { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 999px; background: rgba(15,17,20,.72); color: #FFFFFF; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; padding: 0; }
.ev-head { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.ev-title { font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ev-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ev-chip { min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface2); display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ev-chip.day { background: var(--day-bg); color: var(--day-ink); font-weight: 700; }
.ev-chip.night { background: var(--night-bg); color: var(--night-ink); font-weight: 700; }
.ev-presented { font-size: 15px; line-height: 21px; color: var(--ink2); }
.ev-presented a, .ev-presented b { color: var(--ink); font-weight: 700; }
.ev-presented a { text-underline-offset: 2px; display: inline-block; padding: 4px 0; margin: -4px 0; }
.facts-sec { padding-top: 16px; }
.facts { display: flex; flex-direction: column; }
.fact { display: flex; gap: 14px; padding: 16px; }
.fact + .fact { border-top: 1px solid var(--line); }
.fact > .icon { margin-top: 2px; color: var(--ink2); }
.fact-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact-main { font-size: 18px; line-height: 24px; font-weight: 700; }
.fact-sub { font-size: 16px; line-height: 22px; color: var(--ink2); }
.fact-time { font-size: 17px; line-height: 23px; }
.fact-note { font-size: 14px; line-height: 19px; color: var(--ink2); }
.all-dates { margin-top: 10px; }
.all-dates h3 { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink2); }
.all-dates ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.all-dates li { font-size: 15px; line-height: 21px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.all-dates li.past { color: var(--ink2); }
.actions { padding: 16px 20px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn { min-height: 52px; border-radius: var(--r-btn); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; padding: 0 16px; text-align: center; }
.btn.wide { grid-column: 1 / -1; }
.btn-dark { background: var(--ink); color: var(--surface); min-height: 56px; font-size: 17px; gap: 10px; }
.btn-light { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-quiet { background: var(--surface2); color: var(--ink); min-height: 56px; font-size: 17px; padding: 0 20px; }
.btn-orange { background: var(--orange); color: var(--on-yellow); min-height: 56px; font-size: 17px; font-weight: 800; gap: 10px; }
.btn[disabled] { opacity: .5; cursor: default; }
.kbyg { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.kbyg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.kb.wide-kb { grid-column: 1 / -1; }
.kb-label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink2); }
.kb-value { font-size: 17px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere; }
.kb-text { font-size: 16px; line-height: 22px; }
.about { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.about-text { font-size: 17px; line-height: 26px; overflow-wrap: anywhere; }
.about-by { margin-top: 4px; font-size: 15px; line-height: 21px; color: var(--ink2); }
.about-by a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.also { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.also .lcard { box-shadow: none; }
.also-title { font-size: 16px; line-height: 21px; font-weight: 700; }
.also-when { font-size: 14px; line-height: 19px; color: var(--ink2); }
/* "More from <organiser>" (6 Oct 2026): the "Also on" list with a heading row that carries "See all". */
.also-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.also-head h2 { min-width: 0; overflow-wrap: anywhere; }
.also-more { flex: 0 0 auto; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
.action-bar {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; max-width: var(--col); margin: 0 auto;
  padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; gap: 10px;
  background: var(--bar); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(var(--bar-blur)); backdrop-filter: blur(var(--bar-blur));
}
.action-bar .btn-orange { flex: 1 1 auto; }
.action-bar .btn-share { background: var(--surface2); color: var(--ink); min-height: 56px; font-size: 17px; padding: 0 20px; }
.action-bar .btn-share.grow { flex: 1 1 auto; }
@media (min-width: 600px) { .action-bar { border-radius: 24px 24px 0 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }

/* Full-screen flyer */
.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; max-height: 100dvh; background: #0B0C0E; color: #FFFFFF; }
.viewer::backdrop { background: rgba(0,0,0,.9); }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; touch-action: pinch-zoom; display: block; }
.viewer-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(250,251,252,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

/* Remind dialog (a bottom sheet) */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: var(--col); max-height: 92vh; background: var(--surface); color: var(--ink); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.sheet::backdrop { background: rgba(10,12,15,.55); }
.sheet-body { padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.grabber { align-self: center; width: 40px; height: 5px; border-radius: 999px; background: var(--ink3); opacity: .5; }
.sheet-when { margin-top: 2px; font-size: 15px; line-height: 21px; color: var(--ink2); }
.sheet fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sheet legend { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--ink2); padding: 0 0 6px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 14px; border-radius: 16px; cursor: pointer; background: var(--surface2); }
.opt:has(input:checked) { background: rgba(242,140,40,.14); box-shadow: inset 0 0 0 2px var(--orange); }
.opt:has(input:disabled) { opacity: .55; cursor: default; }
.opt input { accent-color: var(--orange); width: 22px; height: 22px; margin: 0; flex-shrink: 0; }
.opt-text { display: flex; flex-direction: column; flex: 1 1 auto; }
.opt-label { font-size: 17px; line-height: 22px; font-weight: 650; }
.opt-hint { font-size: 14px; line-height: 19px; color: var(--ink2); }
.sheet-note { display: flex; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink2); }
.sheet-note .icon { margin-top: 1px; }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions .btn-orange { flex: 1 1 auto; }

/* Reminders page */
.rem-day { margin-top: 14px; font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: .04em; color: var(--ink2); text-transform: uppercase; }
.rem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.rem-main { display: flex; gap: 12px; padding: 10px; text-decoration: none; }
.rem-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rem-alert { font-size: 14px; line-height: 19px; font-weight: 600; }
.rem-remove { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink2); background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; }
.page-note { margin-top: 4px; font-size: 15px; line-height: 21px; color: var(--ink2); }

/* Privacy page */
.prose { padding: 16px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.prose .card-surface { padding: 16px; }
.prose h2 { font-size: 18px; line-height: 24px; font-weight: 700; margin-bottom: 4px; }
.prose p { font-size: 16px; line-height: 23px; }

/* Small confirmation message */
.toast { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: var(--surface); font-size: 15px; line-height: 21px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast[hidden] { display: none; }

/* "Install Event Hub" banner: sits above the bottom bar */
.install { position: fixed; left: 12px; right: 12px; bottom: calc(94px + env(safe-area-inset-bottom)); z-index: 50; max-width: 520px;
  margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 20px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0,0,0,.22); transform: translateY(16px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.has-actions .install { bottom: calc(100px + env(safe-area-inset-bottom)); }
.no-bar .install { bottom: calc(14px + env(safe-area-inset-bottom)); }
.install.shown { transform: none; opacity: 1; }
.install[hidden] { display: none; }
.install-icon { width: 44px; height: 44px; border-radius: 11px; flex: 0 0 auto; }
.install-text { flex: 1; min-width: 0; font-size: 14px; line-height: 19px; color: var(--ink2); }
.install-text strong { display: block; color: var(--ink); font-size: 16px; line-height: 21px; }
.install-text b { color: var(--ink); }
.install-share { vertical-align: -3px; }
.install-actions { display: flex; flex-direction: column; gap: 4px; flex: 0 0 auto; }
.install-go { font-weight: 800; border: 0; border-radius: 14px; min-height: 44px; padding: 0 16px; background: var(--yellow); color: var(--on-yellow); cursor: pointer; }
.install-later { font-size: 14px; font-weight: 600; border: 0; background: none; color: var(--ink2); min-height: 44px; padding: 0 8px; cursor: pointer; }

/* Wider screens: a little more room, same single column */
@media (min-width: 720px) {
  .plate { border-radius: 0 0 32px 32px; }
  .greet { padding-top: 28px; }
}

/* Motion: short fades only, and none at all with "reduce motion" */
@media (prefers-reduced-motion: no-preference) {
  .chip, .tab, .bell, .cal-day, .cal-toggle .icon, .earlier > summary .icon { transition: background-color .15s ease, color .15s ease, transform .15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .install { transform: none; }
}

/* Advertise on Event Hub (WhatsApp to the ads contact): a quiet line under each Sponsored card, and an invitation
   card in a spot with no running ad. */
.sp-advertise { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 14px; line-height: 19px; font-weight: 600; color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; }
.sp-invite .sp-text { display: flex; flex-direction: column; gap: 6px; }
.sp-invite .sp-sub { font-size: 15px; line-height: 21px; font-weight: 500; opacity: .85; }

/* Sponsors that get noticed (3 Oct 2026, mockup Sponsors.dc.html): looks like the content, a clear label, one action
   to tap, one honest offer and one gentle entrance. Sponsor cards sit on white and are slightly raised. */
.ad-slot { display: block; min-width: 0; }
.sp-rich { background: #FFFFFF; border-color: rgba(16,20,26,.12); border-radius: 22px; box-shadow: 0 10px 26px rgba(20,24,30,.14); }
.sp-hero { position: relative; display: block; text-decoration: none; color: inherit; }
.sp-hero .sp-text { min-height: 104px; padding: 16px 18px; }
.sp-offer { position: absolute; top: 10px; right: 10px; max-width: calc(100% - 20px); background: var(--yellow); color: var(--on-yellow); font-size: 13px; line-height: 18px; font-weight: 800; padding: 4px 10px; border-radius: 999px; overflow-wrap: anywhere; }
.sp-offer-inline { position: static; align-self: flex-start; max-width: 100%; }
.sp-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.sp-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sp-who .sp-word { font-weight: 800; }
.sp-who .sp-name { font-size: 17px; line-height: 22px; }
.sp-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface2); border-radius: 14px; padding: 6px 6px 6px 12px; }
.sp-code-text { display: flex; flex-direction: column; min-width: 0; }
.sp-code-label { font-size: 12px; line-height: 16px; color: var(--ink2); }
.sp-code-value { font-size: 17px; line-height: 22px; font-weight: 800; letter-spacing: .06em; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.sp-copy { flex: 0 0 auto; min-height: 44px; min-width: 76px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(16,20,26,.14); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
html:not(.js) .sp-copy { display: none; }
.sp-ends { margin: 0; font-size: 14px; line-height: 19px; color: var(--ink2); }
/* The action button: ink, with a lighter half off to the right for the one colour sweep after the entrance. */
.cta { min-height: 48px; padding: 0 16px; border-radius: 16px; color: #FFFFFF; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; background: linear-gradient(90deg, var(--ink) 0 50%, var(--ink2) 50% 100%); background-size: 200% 100%; background-position: 0 0; }
.cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Sponsored event in today's list: the event card, raised, with the chip, "Sponsored by" and the button. */
.sp-ecard { flex-direction: column; gap: 10px; padding: 10px; background: #FFFFFF; border-color: rgba(16,20,26,.12); box-shadow: 0 10px 26px rgba(20,24,30,.14); }
.sp-ecard-row { display: flex; align-items: stretch; gap: 4px; min-width: 0; }
.sp-chip { align-self: flex-start; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; background: var(--surface2); color: var(--ink); }
.sp-by { font-size: 13px; line-height: 18px; color: var(--ink2); }
.sp-by b { color: var(--ink); font-weight: 700; }
/* Sponsored card in the Featured row (slot 2). */
.sp-fcard .fcard-media { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 10px 22px rgba(0,0,0,.18); }
.sp-fchip { position: absolute; bottom: 10px; left: 10px; background: var(--ink); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; }
.sp-fcard .sp-offer { top: auto; right: auto; left: 10px; bottom: 38px; }
.sp-fby { font-size: 13px; line-height: 18px; color: var(--ink2); margin-top: -4px; }
/* Entrance: the first time a sponsor card is at least half on screen it fades up 8px over 300 ms, then about 1.2 s
   later the button gets one 500 ms colour sweep. Once per card per page; only opacity, transform and
   background-position. With "reduce motion" the script never adds these classes and the final state shows. */
@keyframes sp-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sp-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sp-wait { opacity: 0; transform: translateY(8px); }
.sp-play { animation: sp-rise .3s ease-out both; }
.sp-play .cta { animation: sp-sweep .5s ease-in-out 1.5s both; }
@media (prefers-reduced-motion: reduce) {
  .sp-wait { opacity: 1; transform: none; }
  .sp-play, .sp-play .cta { animation: none !important; }
}

/* Accessibility page lists (4 Oct 2026; also on phones, a new page) */
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose li { font-size: 16px; line-height: 23px; }

/* =====================================================================================================================
   DESKTOP AND TABLET (4 Oct 2026): Concept A's structure, Concept C's trust and tourism layer, the dark Nightlife band.
   Phones (below 768 px) are untouched: every rule below sits in a min-width query, except the one that hides the
   .d-only parts on phones. Tablet 768 to 1023 px, desktop 1024 px and up (container 1240 px with 32 px padding).
   Markup: partials/site-header, site-footer, desk-hero, filter-bar, festivals, islands, trust; the phone cards are
   restyled in place (never rendered twice, so ad counting and ids are unchanged). .m-only = phones only.
   ===================================================================================================================== */
@media (max-width: 767.98px) { .d-only { display: none !important; } }

@media (min-width: 768px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 168px; }
  .m-only { display: none !important; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
  .page, .page.has-actions { max-width: none; padding-bottom: 0; }
  .bottom-nav, .action-bar { display: none; }
  .install, .has-actions .install, .no-bar .install { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
  .toast { bottom: 24px; }
  .sheet { margin: auto; max-width: 520px; border-radius: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
  .sheet .grabber { display: none; }
  .shdr :focus-visible, .dfoot :focus-visible, .dhero :focus-visible, .panel-nightlife :focus-visible,
  .fest :focus-visible, .isl :focus-visible, .has-wash .crumbs :focus-visible { outline-color: #FFFFFF; }

  /* ---------- Header: 32 px utility row (scrolls away) + 72 px sticky plate row with the tricolour edge ---------- */
  .shdr { position: sticky; top: calc(-1 * var(--util-h)); z-index: 45; }
  .shdr-util { background: var(--util-bg); color: rgba(255,255,255,.78); font-size: 13px; line-height: 18px; }
  .shdr-util-in { height: var(--util-h); display: flex; align-items: center; gap: 20px; white-space: nowrap; overflow: hidden; }
  .shdr-util b { color: #FFFFFF; font-weight: 600; }
  .shdr-fresh { display: none; }
  .shdr-links { margin-left: auto; display: flex; gap: 18px; }
  .shdr-links a { color: rgba(255,255,255,.82); text-decoration: none; }
  .shdr-links a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
  .shdr-main { position: relative; background: linear-gradient(180deg, var(--plate-top) 0%, var(--plate-mid) 60%, var(--plate-bottom) 100%); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
  .shdr-main::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, var(--bar-blue) 0 25%, var(--bar-gold) 25% 75%, var(--bar-green) 75% 100%); }
  .shdr-main-in { height: var(--hdr-h); display: flex; align-items: center; gap: 24px; padding-bottom: 3px; }
  .shdr-brand { --hub-size: 28px; display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; border-radius: 8px; flex: 0 0 auto; }
  .shdr-brand .gem-mark { width: 22px; height: 17px; margin-bottom: 4px; }
  .shdr-search { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; }
  .shdr-search:hover { background: rgba(255,255,255,.16); }
  .shdr-search-text { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .shdr-nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
  .shdr-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 22px; padding: 8px 0 6px; border-bottom: 2px solid transparent; }
  .shdr-nav a:hover { color: #FFFFFF; }
  .shdr-nav a[aria-current] { color: #FFFFFF; border-bottom-color: var(--yellow); }
  .shdr-app { flex: 0 0 auto; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; text-decoration: none; }

  /* ---------- Footer: dark plate, tricolour top edge, 4 columns (2 on tablets), legal row ---------- */
  .dfoot { margin-top: 72px; position: relative; background: var(--util-bg); color: rgba(255,255,255,.78); padding: 56px 0 32px; font-size: 15px; line-height: 22px; }
  .dfoot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
    background: linear-gradient(90deg, var(--bar-blue) 0 25%, var(--bar-gold) 25% 75%, var(--bar-green) 75% 100%); }
  .dfoot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .dfoot .shdr-brand { --hub-size: 30px; }
  .dfoot-brand p { margin-top: 12px; max-width: 340px; }
  .dfoot-run { color: rgba(255,255,255,.66); }
  .dfoot-col { display: flex; flex-direction: column; align-items: flex-start; }
  .dfoot-col h2 { font-size: 15px; line-height: 20px; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; }
  .dfoot-col a, .dfoot-legal a { color: rgba(255,255,255,.82); text-decoration: none; padding: 5px 0; }
  .dfoot-col a:hover, .dfoot-legal a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
  .gplay { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; margin-top: 16px; border-radius: 12px; background: #000000; border: 1px solid rgba(255,255,255,.3); color: #FFFFFF; text-decoration: none; }
  .gplay small { display: block; font-size: 10px; line-height: 12px; letter-spacing: .06em; opacity: .85; }
  .gplay b { display: block; font-size: 17px; line-height: 20px; }
  .dfoot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 13px; color: rgba(255,255,255,.7); }

  /* ---------- Shared desktop section heads ---------- */
  .dsec { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 0; }
  .dsec-head, .panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
  .dsec-title, .panel-title, .pg-home .featured .t-section { font-size: 28px; line-height: 34px; font-weight: 750; letter-spacing: -.01em; }
  .dsec-sub, .panel-sub { margin-top: 4px; font-size: 16px; line-height: 22px; color: var(--ink2); }
  .dsec-more, .panel-more { flex: 0 0 auto; font-size: 15px; font-weight: 700; color: var(--ink); text-underline-offset: 3px; }

  /* ---------- Home: hero ---------- */
  .dhero { position: relative; height: 420px; overflow: hidden; background: var(--plate-bottom); color: #FFFFFF; }
  .dhero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; display: block; color: transparent; }
  .dhero-glass { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,12,22,.94) 0%, rgba(10,16,32,.88) 50%, rgba(12,20,38,.45) 78%, rgba(12,20,38,.1) 100%); }
  .dhero-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .dhero-title { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; max-width: 780px; }
  .dhero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 16px; line-height: 22px; font-weight: 500; color: rgba(255,255,255,.88); }
  .dhero-meta b { color: #FFFFFF; font-weight: 700; }
  .dhero-search { display: flex; align-items: center; gap: 10px; width: 560px; max-width: 100%; height: 56px; padding: 0 8px 0 18px; border-radius: 999px;
    background: var(--surface); color: var(--ink2); box-shadow: 0 8px 28px rgba(0,0,0,.28); }
  .dhero-search:focus-within { outline: 3px solid #FFFFFF; outline-offset: 2px; }
  .dhero-search input { flex: 1 1 auto; min-width: 0; height: 52px; border: 0; padding: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); -webkit-appearance: none; appearance: none; border-radius: 0; }
  .dhero-search input::placeholder { color: var(--ink2); opacity: 1; }
  .dhero-search input:focus-visible { outline: none; }
  .dhero-search input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
  .dhero-search button { flex: 0 0 auto; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #FFFFFF; font-size: 15px; font-weight: 700; cursor: pointer; }
  .dhero-week { display: flex; gap: 8px; margin-top: 4px; }
  .dhero-day { position: relative; width: 56px; height: 64px; border-radius: 14px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: #FFFFFF;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 12px; line-height: 15px; font-weight: 600; text-decoration: none; }
  .dhero-day b { font-size: 19px; line-height: 22px; font-weight: 800; }
  .dhero-day:hover:not(.is-today) { background: rgba(255,255,255,.18); }
  .dhero-day.is-today { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
  .dhero-n { min-width: 18px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #FFFFFF; font-size: 10px; line-height: 15px; font-weight: 800; text-align: center; }
  .dhero-credit { position: absolute; right: 16px; bottom: 10px; max-width: 40%; text-align: right; font-size: 12px; line-height: 16px; color: var(--hero-credit); text-shadow: 0 1px 2px rgba(0,0,0,.7); }

  /* ---------- Home: filter bar (the Daytime / Nightlife switch, When chips, island and category menus) ---------- */
  .tabs-sec.fbar { padding: 0; background: rgba(250,251,252,.97); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px rgba(20,24,30,.06); }
  .fbar-in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
  .fbar .tabs { display: inline-grid; grid-template-columns: auto auto; gap: 4px; padding: 4px; flex: 0 0 auto; }
  .fbar .tab { min-height: 40px; padding: 0 16px; font-size: 15px; gap: 6px; }
  .fbar .tab .icon { width: 18px; height: 18px; }
  .fbar-more { flex: 1 1 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
  .fbar-when, .fbar-what { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
  .fbar .chip { min-height: 40px; padding: 0 14px; gap: 6px; font-size: 15px; }
  .dd { position: relative; }
  .dd > summary { list-style: none; cursor: pointer; }
  .dd > summary::-webkit-details-marker { display: none; }
  .dd[open] > summary { border-color: var(--ink); }
  .dd[open] .dd-caret { transform: rotate(180deg); }
  .dd-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 35; min-width: 230px; max-height: 60vh; overflow: auto; padding: 6px; display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--lift), 0 16px 40px rgba(0,0,0,.12); }
  .dd-menu a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
  .dd-menu a span { color: var(--ink2); }
  .dd-menu a:hover { background: var(--surface2); }

  /* ---------- Home: today's events as a grid of 4:5 flyer cards. Nightlife on the dark band, Daytime on silver ---------- */
  .pg-home .panel { padding: 40px max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 48px;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; align-items: start; }
  .pg-home .panel > :not(.ecard):not(.ad-slot) { grid-column: 1 / -1; }
  .pg-home .panel-head { margin-bottom: 0; }
  .panel-nightlife { background: linear-gradient(180deg, var(--band-from) 0%, var(--band-to) 100%); color: #FFFFFF; }
  .panel-nightlife .panel-sub, .panel-nightlife .ecard-meta, .panel-nightlife .reason, .panel-nightlife .sp-by,
  .panel-nightlife .sp-ends, .panel-nightlife .earlier > summary, .panel-nightlife .sp-strip, .panel-nightlife .sp-strip .sp-word { color: rgba(255,255,255,.74); }
  .panel-nightlife .panel-more { color: var(--yellow); }
  .panel-nightlife .sp-strip b, .panel-nightlife .sp-by b { color: #FFFFFF; }
  .pg-home .panel .sp-strip { margin: -16px 0 0; padding: 4px 0; }
  .pg-home .panel .dash-card { max-width: 640px; color: var(--ink); }

  .pg-home .ecard { display: block; position: relative; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: inherit; container-type: inline-size; }
  .pg-home .ecard-link { flex-direction: column; gap: 12px; border-radius: 12px; }
  .pg-home .ecard .thumb, .pg-home .fcard-media, .pg-event .also .thumb { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; background: #1B1D21; position: relative; }
  .pg-home .ecard .thumb img, .pg-home .fcard-media img, .pg-event .also .thumb img { object-position: top; }
  .fit-contain > img, .poster.fit-contain .poster-flyer { object-fit: contain; position: relative; }
  .fly-blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(.5) saturate(1.1); }
  .pg-home .ecard-body { padding: 0; gap: 4px; }
  .pg-home .ecard-top { padding-right: 48px; min-height: 28px; }
  .pdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
  .pdot-day { background: var(--dot-day); box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
  .pdot-night { background: var(--dot-night); }
  .pg-home .ecard-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .pg-home .ecard-venue, .pg-home .ecard-chips { display: none; }
  .ecard-meta { font-size: 15px; line-height: 20px; color: var(--ink2); }
  .pg-home .ecard .bell { position: absolute; right: 0; top: calc(125cqw + 6px); width: 40px; height: 40px; border: 1px solid rgba(16,20,26,.14); }
  .panel-nightlife .bell:not(.is-set) { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.28); }
  .panel-nightlife .bell:not(.is-set):hover { background: rgba(255,255,255,.12); }
  .panel-nightlife .bell.is-set { border-color: var(--yellow); }
  .panel-nightlife .is-cancelled .ecard-title { color: rgba(255,255,255,.62); }
  /* The sponsored event card in the grid: SPONSORED on the flyer, the button below. */
  .pg-home .sp-ecard { display: flex; flex-direction: column; gap: 10px; }
  .pg-home .sp-ecard-row { display: block; }
  .pg-home .sp-ecard .ecard-link { position: relative; }
  .pg-home .sp-chip { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(250,251,252,.95); }
  .panel-nightlife .cta { background: linear-gradient(90deg, var(--yellow) 0 50%, #FFE07A 50% 100%); background-size: 200% 100%; color: var(--on-yellow); }
  .pg-home .panel .earlier-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

  /* ---------- Home: Featured rail (no peeking at desktop sizes, arrows step one card) ---------- */
  .pg-home .featured { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gutter) 0; }
  .pg-home .featured-head { padding: 0; margin-bottom: 4px; }
  .pg-home .frow { gap: 20px; padding: 12px 0 8px; scroll-padding: 0; }
  .pg-home .frow > li { flex-basis: calc((100cqw - 40px) / 3); }
  .pg-home .frow.has-more { -webkit-mask-image: none; mask-image: none; }
  .pg-home .fcard-media { box-shadow: none; }

  /* ---------- Home: signature festivals ---------- */
  .fest { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .fest-card { min-height: 220px; padding: 20px; border-radius: 20px; display: flex; flex-direction: column; gap: 8px; color: #FFFFFF; text-decoration: none; }
  .fest-kicker { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .92; }
  .fest-name { font-size: 21px; line-height: 25px; font-weight: 800; overflow-wrap: break-word; hyphens: auto; }
  .fest-chip { align-self: flex-start; min-height: 28px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 13px; font-weight: 700; }
  .fest-chip.is-now { background: var(--yellow); color: var(--on-yellow); }
  .fest-when { margin-top: auto; font-size: 15px; line-height: 20px; font-weight: 600; }
  .fest-navy { background: linear-gradient(160deg, #0F2E4D, #1F5FAD); }
  .fest-red { background: linear-gradient(160deg, #5B1A1A, #C62828); }
  .fest-teal { background: linear-gradient(160deg, #123A5C, #0E7C86); }
  .fest-green { background: linear-gradient(160deg, #0E3B2C, #1E7A46); }
  .fest-sunset { background: linear-gradient(160deg, #5C2400, #A8420C 60%, #C2410C); }
  /* A licensed photo behind the card (config eventhub.festivals photo): dark at the top for the title, dark at the foot for the dates. */
  .fest-card.has-photo { position: relative; isolation: isolate; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
  .fest-card.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,17,20,.62) 0%, rgba(15,17,20,.18) 38%, rgba(15,17,20,.12) 55%, rgba(15,17,20,.82) 100%); }
  .fest-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
  .fest-card.has-photo .fest-chip { background: rgba(15,17,20,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .fest-card.has-photo .fest-chip.is-now { background: var(--yellow); }
  .photo-credits { margin: 10px 0 0; font-size: 12px; line-height: 18px; color: var(--ink2); }
  .photo-credits a { color: inherit; }

  /* ---------- Home: explore by island (portrait tiles, one small corner) ---------- */
  .isl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .isl-tile { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 22px 22px 22px 4px; padding: 22px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: #FFFFFF; text-decoration: none; }
  .isl-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,17,20,.78) 0%, rgba(15,17,20,0) 58%); }
  .isl-st-vincent { background: linear-gradient(150deg, #1E7A46, #0F2E4D); }
  .isl-bequia { background: linear-gradient(150deg, #1F5FAD, #0E7C86); }
  .isl-union { background: linear-gradient(150deg, #0E7C86, #157A3F); }
  .isl-tile.isl-more { background: linear-gradient(150deg, #6B3FA0, #1F5FAD); }
  .isl-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
  .isl-n { position: absolute; right: 14px; top: 14px; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow); font-size: 13px; line-height: 18px; font-weight: 800; }
  .isl-name { font-size: 26px; line-height: 30px; font-weight: 800; }
  .isl-line { font-size: 15px; line-height: 20px; opacity: .94; }
  .isl-quiet { font-size: 14px; opacity: .8; }
  .isl-links { display: flex; flex-wrap: wrap; gap: 6px; }
  .isl-links a { min-height: 32px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.16); color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: none; }
  .isl-links a:hover { background: rgba(255,255,255,.28); }

  /* ---------- Home: the Sponsored banner, Coming up this week, trust row, Got an event? ---------- */
  .pg-home .sec.sp-wide { max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gutter) 0; }
  .coming { display: flex; flex-direction: column; gap: 12px; }
  .coming .day-heading { margin-top: 12px; }
  .coming .day-heading:first-child { margin-top: 0; }
  .coming-all { align-self: flex-start; margin-top: 8px; }
  .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
  .trust-ic { display: inline-flex; }
  .trust-ic-check { color: #1E7A46; } .trust-ic-bell { color: #1F5FAD; } .trust-ic-lock { color: var(--red); }
  .trust-title { margin: 10px 0 6px; font-size: 19px; line-height: 24px; font-weight: 700; }
  .trust-text { font-size: 16px; line-height: 23px; color: var(--ink2); }
  .pg-home .team-sec { max-width: var(--wrap); margin: 0 auto; padding: 48px var(--gutter) 0; }
  .pg-home .team { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; row-gap: 4px; align-items: center; padding: 32px 40px; border-radius: 24px; box-shadow: var(--shadow); }
  .pg-home .team .dash-title { font-size: 24px; line-height: 30px; font-weight: 800; }
  .pg-home .team .dash-text { font-size: 16px; line-height: 22px; }
  .pg-home .team .pill-btn { grid-column: 2; grid-row: 1 / span 2; min-height: 48px; padding: 0 22px; }

  /* ---------- Rows (calendar, search, coming up): a larger flyer, a hover lift ---------- */
  .pg-calendar .lcard, .pg-search .lcard, .coming .lcard { padding: 12px; gap: 18px; border-radius: 16px; }
  .pg-calendar .thumb.sm, .pg-search .thumb.sm, .coming .thumb.sm { width: 72px; height: 90px; }
  .lcard-link .lcard-title { font-size: 18px; line-height: 23px; }

  /* ---------- Calendar, search, reminders, privacy and accessibility pages ---------- */
  .page.pg-calendar, .page.pg-search, .page.pg-event { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
  .page.pg-narrow { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
  .pg-calendar .t-screen, .pg-search .t-screen, .pg-narrow .t-screen { font-size: 40px; line-height: 46px; font-weight: 800; letter-spacing: -.015em; }
  .pg-calendar .screen-head, .pg-search .screen-head, .pg-narrow .screen-head, .pg-narrow .greet { padding: 36px 0 0; }
  .pg-calendar .sec { padding: 20px 0 0; }
  .pg-calendar .results, .pg-search .results, .pg-narrow .results, .pg-narrow .prose { padding: 16px 0 0; }
  .title-row .round-btn { display: none; } /* the header has the search */
  .pg-search .search-box { max-width: 720px; }
  .pg-search .filter-label, .pg-search .chip-row { padding-left: 0; padding-right: 0; }
  .pg-search .filters { padding-top: 16px; }
  .pg-narrow .prose p, .pg-narrow .prose li { font-size: 17px; line-height: 26px; }
  .pg-narrow .prose .card-surface { padding: 24px 28px; }
  .pg-narrow .prose h2 { font-size: 20px; line-height: 26px; margin-bottom: 6px; }

  /* ---------- Event page: blurred flyer wash, breadcrumb, two columns (flyer 320 on tablets, 440 on desktops) ---------- */
  .ev-wash { position: absolute; top: 0; left: 0; right: 0; height: 620px; z-index: -1; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%); }
  .ev-wash > span { position: absolute; inset: -80px; background-size: cover; background-position: center; filter: blur(60px) brightness(.48) saturate(1.2); }
  .ev-wash::after { content: ""; position: absolute; inset: 0; background: rgba(12,14,18,.22); }
  .crumbs { display: flex; align-items: center; gap: 10px; min-height: 72px; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink2); }
  .crumbs a:not(.round-btn) { color: var(--ink); text-decoration: none; }
  .crumbs a:not(.round-btn):hover { text-decoration: underline; text-underline-offset: 3px; }
  .crumbs-here { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .crumbs-share { margin-left: auto; }
  .has-wash .crumbs { color: rgba(255,255,255,.82); }
  .has-wash .crumbs a:not(.round-btn) { color: #FFFFFF; }
  .pg-event .alert { margin: 0 0 24px; }
  .ev-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); grid-template-areas: "left right" "left sponsor" "also also" "more more"; column-gap: 32px; align-items: start; }
  .pg-event:not(.has-wash) .ev-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "left" "right" "sponsor" "also" "more"; }
  /* The left column stretches down the event details and the Sponsored card; the flyer and dates inside it follow the
     scroll only that far, so they stop above "Also on ..." instead of sliding over those cards. */
  .ev-left { grid-area: left; align-self: stretch; padding-bottom: 24px; }
  .ev-stick { position: sticky; top: calc(var(--hdr-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
  .ev-right { grid-area: right; min-width: 0; }
  .ev-grid > .sec { grid-area: sponsor; padding: 32px 0 0; }
  .ev-grid > .also { grid-area: also; }
  .ev-grid > .more-from { grid-area: more; }
  .pg-event .poster { margin: 0; padding: 0; aspect-ratio: 4 / 5; border-radius: 16px; background: #1B1D21; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
  .pg-event .poster-flyer { width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; object-fit: contain; }
  .pg-event .poster.fit-cover .poster-flyer { object-fit: cover; object-position: top; }
  .dates-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px 4px 16px; box-shadow: var(--shadow); }
  .dates-title { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
  .dates-card ul { list-style: none; margin: 4px 0 0; padding: 0; max-height: 320px; overflow: auto; }
  .dates-row { display: flex; align-items: center; gap: 10px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 20px; font-weight: 600; }
  .dates-row:last-child { border-bottom: 0; }
  .dates-row.past { color: var(--ink2); }
  .dates-note { font-size: 13px; color: var(--ink2); font-weight: 500; }
  .dates-row .bell { margin-left: auto; }
  .pg-event .ev-head { padding: 0; gap: 12px; }
  .pg-event .ev-chips { order: -1; }
  .pg-event .ev-title { font-size: 36px; line-height: 42px; letter-spacing: -.015em; }
  .has-wash .ev-title { color: #FFFFFF; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
  .has-wash .ev-presented { color: rgba(255,255,255,.86); }
  .has-wash .ev-presented a, .has-wash .ev-presented b { color: #FFFFFF; }
  .has-wash .ev-chip:not(.day):not(.night) { background: rgba(250,251,252,.92); color: var(--ink); }
  .pg-event .facts-sec { padding: 24px 0 0; }
  .pg-event .facts { padding: 8px 8px 0; border-bottom: 0; border-radius: 20px 20px 0 0; box-shadow: var(--lift); }
  .pg-event .fact > .icon { width: 56px; }
  .date-tile { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 12px; background: var(--red); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .date-tile small { font-size: 11px; line-height: 13px; font-weight: 800; letter-spacing: .08em; }
  .date-tile b { font-size: 24px; line-height: 26px; font-weight: 800; }
  .pg-event .actions { margin: 0; padding: 8px 24px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; box-shadow: var(--lift); }
  .pg-event .actions .btn.wide:not(.btn-orange) { grid-column: auto; }
  .pg-event .actions .btn { min-height: 52px; font-size: 15px; padding: 0 12px; }
  .pg-event .actions .btn-light { background: var(--surface2); border-color: transparent; }
  .pg-event .kbyg, .pg-event .about { padding: 36px 0 0; }
  .pg-event .about-text { max-width: 68ch; }
  .pg-event .t-sub { font-size: 22px; line-height: 28px; }
  .pg-event .also { padding: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .pg-event .also > h2, .pg-event .also > .also-head { grid-column: 1 / -1; margin-bottom: -8px; }
  .pg-event .also .lcard { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; background: none; border: 0; box-shadow: none; }
  .pg-event .also-title { font-size: 18px; line-height: 23px; }
  .pg-event .also-when { font-size: 15px; line-height: 20px; }

  /* ---------- Hover: a soft shadow (and, with motion welcome, the flyer grows a little inside its frame) ---------- */
  .pg-home .ecard-link:hover .thumb, .pg-home .fcard:hover .fcard-media, .pg-event .also .lcard:hover .thumb { box-shadow: var(--lift); }
  .pg-calendar .lcard:hover, .pg-search .lcard:hover, .coming .lcard:hover, .fest-card:hover, a.isl-tile:hover { box-shadow: var(--lift); }
}

/* Desktop: 1024 px and up */
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .shdr-fresh { display: inline; }
  .shdr-search { width: min(440px, 34vw); justify-content: flex-start; padding: 0 18px; }
  .shdr-search-text { display: inline; }
  .dfoot-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .dhero { height: 460px; }
  .dhero-glass { background: linear-gradient(90deg, rgba(8,12,22,.94) 0%, rgba(10,16,32,.86) 36%, rgba(12,20,38,.35) 58%, rgba(12,20,38,0) 72%); }
  .dhero-title { font-size: 56px; }
  .tabs-sec.fbar { position: sticky; top: var(--hdr-h); z-index: 30; }
  .pg-home .panel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; padding-top: 48px; padding-bottom: 64px; }
  .pg-home .frow > li { flex-basis: calc((100cqw - 60px) / 4); }
  .fest { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; }
  .fest-card { padding: 18px 16px; }
  .fest-name { font-size: 18px; line-height: 22px; }
  .isl { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* Shorter while the tiles are gradients; tall portrait once a licensed island photo is set (eventhub.island_photos). */
  .isl-tile { aspect-ratio: 1 / 1; }
  .isl-tile:has(.isl-photo) { aspect-ratio: 3 / 4; }
  /* The home Sponsored card as a banner: the 4:1 image at about 200 px tall, the words and button beside it. */
  .sp-wide .sponsored { flex-direction: row; align-items: stretch; }
  .sp-wide .sponsored > .sp-media, .sp-wide .sp-rich > .sp-hero { flex: 0 0 auto; width: min(800px, 64%); }
  .sp-wide .sponsored > .sp-media { aspect-ratio: 4 / 1; min-height: 0; }
  .sp-wide .sponsored > .sp-text { flex: 0 0 64%; min-height: 200px; }
  .sp-wide .sp-rich .sp-hero .sp-text { height: 100%; min-height: 200px; }
  .sp-wide .sp-foot, .sp-wide .sp-body { flex: 1 1 auto; justify-content: center; padding: 24px 28px; }
  /* Calendar: day list on the left, the month in a sticky 368 px column on the right. */
  .pg-calendar [data-swap-root] { display: grid; grid-template-columns: minmax(0, 1fr) 368px; column-gap: 40px; align-items: start; }
  .pg-calendar .screen-head { grid-column: 1 / -1; }
  .pg-calendar [data-swap-root] > .sec { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--hdr-h) + 24px); }
  .pg-calendar [data-swap-root] > .results { grid-column: 1; grid-row: 2; }
  /* Search: the filters in a 280 px sticky column on the left, the results on the right. */
  .pg-search [data-search-swap] { display: grid; grid-template-columns: 280px minmax(0, 1fr); column-gap: 40px; align-items: start; margin-top: 24px; }
  .pg-search .filters { position: sticky; top: calc(var(--hdr-h) + 24px); max-height: calc(100vh - var(--hdr-h) - 48px); overflow: auto; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .pg-search .filters .chip { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .pg-search .search-results { grid-column: 2; padding-top: 0; }
  /* Event page */
  .ev-grid { grid-template-columns: 440px minmax(0, 1fr); column-gap: 64px; }
  .pg-event .ev-title { font-size: 44px; line-height: 50px; }
  .pg-event .actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .pg-home .frow > li { flex-basis: calc((100cqw - 80px) / 5); }
  .fest-card { padding: 20px; }
  .fest-name { font-size: 21px; line-height: 25px; }
}

/* Motion on desktop and tablet: the hover zoom and lift only when motion is welcome. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .pg-home .ecard .thumb img, .pg-home .fcard-media img, .pg-event .also .thumb img, .isl-photo, .fest-photo { transition: transform .3s ease; }
  .pg-home .ecard .thumb, .pg-home .fcard-media, .pg-event .also .thumb, .lcard, .fest-card, .isl-tile { transition: box-shadow .3s ease, transform .3s ease; }
  .pg-home .ecard-link:hover .thumb img, .pg-home .fcard:hover .fcard-media img, .pg-event .also .lcard:hover .thumb img { transform: scale(1.04); }
  a.isl-tile:hover .isl-photo { transform: scale(1.03); }
  .fest-card:hover .fest-photo { transform: scale(1.03); }
  .fest-card:hover { transform: translateY(-2px); }
}

/* =====================================================================================================================
   TICKETS (14 Oct 2026, App\Support\Tickets): information only, Event Hub sells nothing. On the event page the price
   row doubles as the Tickets row (a link down to #tickets), then the Tickets section: the ticket types in one card
   (name and note, price with the US$ hint, SOLD OUT as a word), "Where to buy" cards with Call and Website, and a
   short note. Phones first; the desktop column keeps the same order.
   ===================================================================================================================== */
.fact-link { text-decoration: none; color: inherit; align-items: flex-start; }
.fact-link .fact-go { margin: 2px 0 0 auto; color: var(--ink2); }
.fact-tix { margin-top: 4px; font-size: 15px; line-height: 21px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (hover: hover) { .fact-link:hover { background: rgba(16,20,26,.03); } }
.tix { padding: 24px 20px 0; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 16px; }
.tix-types, .tix-outlets { list-style: none; margin: 0; padding: 0; }
.tix-types { padding: 0 16px; }
.tix-type { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 0; }
.tix-type + .tix-type { border-top: 1px solid var(--line); }
.tix-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tix-name { font-size: 17px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere; }
.tix-note { font-size: 14px; line-height: 19px; color: var(--ink2); overflow-wrap: anywhere; }
.tix-cost { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.tix-price { font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: -.01em; }
.tix-usd { font-size: 13px; line-height: 18px; color: var(--ink2); }
.tix-type.is-sold .tix-name, .tix-type.is-sold .tix-price { color: var(--ink2); }
.tix-type.is-sold .tix-price { text-decoration: line-through; text-decoration-thickness: 2px; }
.label-sold { background: var(--ink); color: var(--surface); font-weight: 800; letter-spacing: .05em; }
.tix-sub { margin-top: 10px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tix-outlets { display: grid; gap: 10px; }
.tix-outlet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tix-place { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tix-oname { font-size: 17px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
/* A place that sells only some types ("VIP only"), and a type sold only at some places ("Only at ..."). */
.label-sells { background: var(--surface2); color: var(--ink); white-space: normal; }
.tix-only { margin-top: 2px; display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 19px; font-weight: 600; color: var(--ink); }
.tix-only .icon { color: var(--ink2); flex-shrink: 0; }
.tix-area { display: flex; align-items: center; gap: 4px; font-size: 14px; line-height: 19px; color: var(--ink2); }
.tix-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.tix-btn { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface2); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; }
@media (hover: hover) { .tix-btn:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); } }
.tix-foot { font-size: 13px; line-height: 18px; color: var(--ink2); }

@media (min-width: 768px) {
  .pg-event .fact > .fact-go { width: 20px; margin-top: 4px; }
  .pg-event .fact-link { border-radius: 14px; }
  .pg-event .tix { padding: 36px 0 0; gap: 12px; scroll-margin-top: 24px; }
  .pg-event .tix-types { padding: 4px 24px; border-radius: 20px; box-shadow: var(--lift); }
  .pg-event .tix-type { padding: 16px 0; align-items: center; }
  .pg-event .tix-name { font-size: 18px; line-height: 23px; }
  .pg-event .tix-price { font-size: 22px; line-height: 26px; }
  .pg-event .tix-outlets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pg-event .tix-outlet { border-radius: 16px; justify-content: space-between; }
}

/* =====================================================================================================================
   ADVISORIES (14 Oct 2026): public safety notices, never events. A slim strip under the header on every page
   (partials/advisory-strip), a banner on Today (partials/advisory-banner), the advisory page with its photo reel
   (site/advisory) and the Urgent pop-up (partials/advisory-dialog). Level colours are tokens shared with the app
   (theme.ts adv*): Urgent red and Info blue with white text (5.6:1 and 6.3:1), Warning yellow with dark text (yellow is a
   fill, never text). Every level is also a word (URGENT, WARNING, INFO), never colour alone. Nothing moves by itself.
   ===================================================================================================================== */
:root {
  --adv-urgent-bg: #C62828; --adv-urgent-ink: #FFFFFF;
  --adv-warning-bg: #F5C518; --adv-warning-ink: #1B1B18;
  --adv-info-bg: #1A5FB4; --adv-info-ink: #FFFFFF;
}
.adv-urgent { --adv-bg: var(--adv-urgent-bg); --adv-ink: var(--adv-urgent-ink); --adv-tint: rgba(255,255,255,.18); }
.adv-warning { --adv-bg: var(--adv-warning-bg); --adv-ink: var(--adv-warning-ink); --adv-tint: rgba(27,27,24,.10); }
.adv-info { --adv-bg: var(--adv-info-bg); --adv-ink: var(--adv-info-ink); --adv-tint: rgba(255,255,255,.18); }
.adv-word { font-weight: 800; letter-spacing: .08em; }
.adv-kicker { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; }
.adv-src { font-weight: 600; }
.adv-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; line-height: 19px; font-weight: 600; }
.adv-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.adv-strip :focus-visible, .adv-head :focus-visible { outline-color: var(--adv-ink); }

/* Strip: one line, the whole line is the link; "+1 more" beside it */
.adv-strip { background: var(--adv-bg); color: var(--adv-ink); }
.adv-strip-in { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 10px 0 16px; }
.adv-strip-link { flex: 1 1 auto; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: 15px; line-height: 20px; border-radius: 8px; }
.adv-strip-link .adv-word { font-size: 13px; flex: 0 0 auto; }
.adv-strip-title { min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adv-strip-until { flex: 0 0 auto; font-weight: 600; white-space: nowrap; }
.adv-chev { flex: 0 0 auto; margin-left: auto; }
.adv-strip-more { flex: 0 0 auto; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--adv-tint); color: inherit; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }

/* Banner on Today: a card in the level colour */
.adv-banner { padding: 14px 14px 0; }
.adv-banner-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 12px; padding: 16px; border-radius: var(--r-card); background: var(--adv-bg); color: var(--adv-ink); text-decoration: none; box-shadow: 0 10px 26px rgba(20,24,30,.16); }
.adv-banner-icon { grid-row: span 3; width: 40px; height: 40px; border-radius: 999px; background: var(--adv-tint); display: flex; align-items: center; justify-content: center; }
.adv-banner-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.adv-banner-title { font-size: 19px; line-height: 24px; font-weight: 800; overflow-wrap: anywhere; }
.adv-banner-msg { font-size: 15px; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adv-thumbs { display: flex; gap: 8px; margin-top: 12px; }
.adv-thumb { position: relative; width: 56px; height: 56px; border-radius: var(--r-thumb); overflow: hidden; background: var(--adv-tint); box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.adv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adv-thumb b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,12,15,.55); color: #FFFFFF; font-size: 15px; }
.adv-read { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 15px; line-height: 20px; font-weight: 700; }
.adv-also { display: flex; align-items: center; gap: 10px; min-height: 52px; margin-top: 8px; padding: 10px 12px 10px 14px; border-radius: var(--r-btn); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; }
.adv-also-dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: var(--adv-bg); color: var(--adv-ink); display: flex; align-items: center; justify-content: center; }
.adv-also-text { flex: 1 1 auto; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.adv-also-text .adv-word { font-size: 12px; margin-right: 4px; }
.adv-also-text small { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink2); }

/* Urgent pop-up: a centred card; the page behind is inert (showModal) */
.adv-dialog { border: 0; padding: 0; margin: auto; width: calc(100% - 32px); max-width: 440px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.adv-dialog::backdrop { background: rgba(10,12,15,.62); }
.adv-dialog-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; min-height: 60px; background: var(--adv-bg); color: var(--adv-ink); }
.adv-dialog-head .adv-kicker { font-size: 14px; }
.adv-dialog-head :focus-visible { outline-color: var(--adv-ink); }
.adv-dialog-x { margin-left: auto; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--adv-tint); color: inherit; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.adv-dialog-photo { display: block; width: 100%; max-width: none; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface2); }
.adv-dialog-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.adv-dialog-title { font-size: 22px; line-height: 28px; font-weight: 800; overflow-wrap: anywhere; }
.adv-dialog-title:focus { outline: none; }
.adv-dialog-meta { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink2); }
.adv-dialog-text { font-size: 16px; line-height: 23px; }
.adv-dialog-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .adv-dialog[open] { animation: adv-in .22s ease-out; }
  @keyframes adv-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* Advisory page */
.topbar-space { width: 44px; flex: 0 0 auto; }
.adv-page { padding: 0 14px; display: flex; flex-direction: column; gap: 14px; }
.adv-head { border-radius: var(--r-card-lg); padding: 18px 18px 20px; background: var(--adv-bg); color: var(--adv-ink); box-shadow: 0 10px 26px rgba(20,24,30,.16); display: flex; flex-direction: column; gap: 8px; }
.adv-head .adv-kicker { font-size: 14px; }
.adv-title { font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.adv-head .adv-meta { font-size: 15px; line-height: 21px; }
.reel-frame { position: relative; border-radius: var(--r-card); overflow: hidden; background: #0B0C0E; box-shadow: var(--shadow); }
.reel-track { display: flex; margin: 0; padding: 0; list-style: none; aspect-ratio: 4 / 3; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -5px; }
.reel-slide { position: relative; flex: 0 0 100%; overflow: hidden; scroll-snap-align: center; scroll-snap-stop: always; }
.reel-blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45) saturate(1.1); }
.reel-slide img { position: relative; width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; }
.reel-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; pointer-events: none; }
.reel-btn { pointer-events: auto; width: 44px; height: 44px; border-radius: 999px; border: 0; padding: 0; background: rgba(250,251,252,.94); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.reel-btn[disabled] { opacity: 0; pointer-events: none; }
.reel-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 4px 0; font-size: 14px; line-height: 19px; color: var(--ink2); }
.reel-count { font-weight: 700; color: var(--ink); }
.reel-credit { margin-left: auto; text-align: right; }
.adv-body { padding: 18px; }
.adv-message { white-space: pre-line; font-size: 17px; line-height: 26px; overflow-wrap: anywhere; }
.adv-times { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; line-height: 19px; color: var(--ink2); }
.adv-source { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 22px; }
.adv-source p { flex: 0 1 auto; min-width: 0; }
.adv-source .btn { flex: 0 0 auto; }
.adv-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.adv-note { font-size: 14px; line-height: 20px; color: var(--ink2); }
.adv-others { padding: 26px 14px 0; scroll-margin-top: 16px; }
.adv-others .t-section { margin-bottom: 4px; }
.adv-gone { margin: 8px 14px 0; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (hover: hover) {
  .adv-strip-link:hover .adv-strip-title, .adv-banner-card:hover .adv-banner-title { text-decoration: underline; text-underline-offset: 3px; }
  .adv-also:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
}

@media (min-width: 768px) {
  .adv-strip-in { min-height: 44px; }
  .adv-strip-link { min-height: 44px; }
  .adv-strip-until { margin-left: 8px; padding-left: 10px; border-left: 1px solid currentColor; }
  /* Today: a full-width band under the header, above the hero */
  .adv-banner { --band-tint: var(--adv-tint); padding: 0; background: var(--adv-bg); color: var(--adv-ink); }
  .adv-banner :focus-visible { outline-color: var(--adv-ink); }
  .adv-banner-in { padding-top: 22px; padding-bottom: 22px; }
  .adv-banner-card { grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0 24px; padding: 0; border-radius: 12px; background: none; box-shadow: none; }
  .adv-banner-icon { grid-row: auto; width: 56px; height: 56px; }
  .adv-banner-title { font-size: 24px; line-height: 30px; }
  .adv-banner-msg { max-width: 760px; font-size: 16px; line-height: 23px; }
  .adv-thumbs { margin-top: 0; }
  .adv-thumb { width: 72px; height: 72px; }
  .adv-read { margin-top: 0; height: 48px; padding: 0 16px 0 20px; border-radius: 999px; background: var(--band-tint); white-space: nowrap; }
  .adv-banner .adv-also { margin: 16px 0 0; padding-left: 12px; background: var(--band-tint); border: 0; box-shadow: none; color: inherit; }
  /* Advisory page: the centred 760 px column of .pg-narrow */
  .pg-advisory .adv-page, .pg-advisory .adv-others { padding-left: 0; padding-right: 0; }
  .pg-advisory .adv-page { gap: 18px; }
  .pg-advisory .adv-head { padding: 26px 28px 28px; gap: 10px; }
  .pg-advisory .adv-title { font-size: 40px; line-height: 46px; letter-spacing: -.015em; }
  .pg-advisory .reel-track { aspect-ratio: 16 / 10; }
  .pg-advisory .reel-controls { padding: 0 16px; }
  .pg-advisory .reel-btn { width: 52px; height: 52px; }
  .pg-advisory .adv-body { padding: 24px 28px; }
  .pg-advisory .adv-message { font-size: 18px; line-height: 28px; }
  .pg-advisory .adv-source { padding: 20px 28px; flex-direction: row; align-items: center; justify-content: space-between; }
  .pg-advisory .adv-actions { grid-template-columns: repeat(2, max-content); }
  .pg-advisory .adv-actions .btn { padding: 0 28px; }
  .pg-advisory .adv-gone { margin: 24px 0 0; padding: 32px; }
  .pg-advisory .adv-others { padding-top: 40px; }
}
