/*
  Ganap Guide: the whole look in one file, no framework.
  A neutral base, one accent colour (--accent), three dark poster tones, one corner radius,
  and a fixed spacing scale (4, 8, 12, 16, 20, 24, 32, 48 px). Every colour is set here once.
  Fonts are the visitor's own system fonts: nothing is downloaded and nothing is sent to a font service.
*/
:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #f5f4f1;
  --ink: #15171a;
  --ink-2: #50555c;
  --line: #e4e2dd;
  --line-2: #c9c6bf;
  --accent: #b4232c;
  --accent-2: #921c24;
  --tone-1: #1c1f24;
  --tone-2: #1d2f45;
  --tone-3: #4b1e2a;
  --r: 6px;
  --max: 1200px;
  --gut: 20px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "Iowan Old Style", Georgia, "Noto Serif", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.55 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap, main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* Type */
h1, h2, h3 { margin: 0; }
h1 { margin: 24px 0 8px; font: 700 clamp(1.75rem, 1.2rem + 2vw, 2.5rem)/1.12 var(--serif); letter-spacing: -.015em; }
.lead { margin: 0 0 28px; max-width: 64ch; color: var(--ink-2); font-size: 1.0625rem; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 24px 0 8px; }
.list-head h1 { margin: 0; }
.note { color: var(--ink-2); font-size: .875rem; }
.kind { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--ink-2); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.badge { padding: 0 6px; border: 1px solid currentColor; border-radius: 3px; color: var(--ink-2); font-size: .66rem; font-weight: 700; letter-spacing: .06em; line-height: 1.6; text-transform: uppercase; }
.badge.now { color: #17663a; }
.badge.warn { color: #8a4b00; }
.badge.sp { color: var(--ink); background: var(--panel); border-color: var(--line-2); }

/* Fields and buttons */
input, select, button { font: inherit; color: inherit; }
input, select { width: 100%; min-width: 0; height: 42px; padding: 0 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .15s; }
input:hover, select:hover { border-color: #a7a39b; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: var(--r); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
button:hover, .btn:hover { background: #33373d; border-color: #33373d; color: #fff; }
button:disabled { opacity: .55; cursor: default; }
.btn-line, button.line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover, button.line:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-buy { background: var(--accent); border-color: var(--accent); }
.btn-buy:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* Header: name and search */
.top { background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { color: var(--ink); font: 700 1.5rem/1 var(--serif); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand::before { content: ""; display: inline-block; width: 36px; height: 36px; margin: 0 10px 0 0; vertical-align: middle; background: url(/logo-96.webp) center / contain no-repeat; } /* the logo (owner, 2026-11-22) */
/* One bordered bar: what, where (shown by site.js), then the button. The suggestions hang under it. */
.find { position: relative; display: flex; width: min(640px, 100%); margin-left: auto; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .15s; }
.find:hover { border-color: #a7a39b; }
.find:focus-within { border-color: var(--ink); }
.find input { height: 40px; border: 0; border-radius: var(--r); background: transparent; }
.find input:focus-visible { outline-offset: -3px; }
.what { position: relative; flex: 1.25; display: flex; min-width: 0; }
.where { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; border-left: 1px solid var(--line); }
.where svg { flex: none; width: 16px; height: 16px; margin-left: 12px; fill: var(--ink-2); }
.where input { padding-left: 8px; }
.find button { height: 34px; margin: 3px; padding: 0 16px; border-radius: 4px; }
.w-panel { position: absolute; top: calc(100% + 6px); left: -1px; z-index: 20; width: max(100%, 320px); max-height: min(420px, 60vh); overflow-y: auto; padding: 6px 0; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); }
.w-panel ul { margin: 0; padding: 0; list-style: none; }
.w-panel li { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; cursor: pointer; }
.w-panel li b { font-size: .9375rem; font-weight: 600; }
.w-panel li span { color: var(--ink-2); font-size: .8125rem; }
.w-panel li span:empty { display: none; }
.w-panel li.use b { color: var(--accent); }
.w-panel li:hover, .w-panel li[aria-selected="true"] { background: var(--panel); }
.w-panel p { margin: 0; padding: 10px 16px; color: var(--ink-2); font-size: .875rem; }
.w-panel p:empty { display: none; }
/* Sign in / My events (organizer accounts), at the right end of the header */
.who { order: 3; color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.who:hover { color: var(--accent); }
@media (min-width: 760px) { .top { position: sticky; top: 0; z-index: 10; } }
/* Phones: the name on top, then the bar on two lines (what; where and the button), with the suggestions under it all. */
@media (max-width: 600px) {
  .top .wrap { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .find { flex-wrap: wrap; }
  .find:has(.where:not([hidden])) .what { flex-basis: 100%; border-bottom: 1px solid var(--line); }
  .what { position: static; }
  .where { position: static; flex: 1 1 160px; border-left: 0; }
  .w-panel { right: -1px; width: auto; }
  .brand { order: -2; }
  .who { order: -1; margin-left: auto; }
}

/* Menu buttons (the negative margin keeps the first button's focus ring inside the scroll area) */
.tabs { display: flex; gap: 8px; margin: 0 -4px; padding: 20px 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.tabs a:hover { border-color: var(--ink); }
.tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs .cta { margin-left: auto; color: var(--accent); border-color: var(--accent); font-weight: 600; }
.tabs .cta:hover, .tabs .cta[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Home sections */
.tagline { margin: 28px 0 20px; }
.sec { margin-top: 48px; }
.head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.head h2 { font: 700 1.5rem/1.2 var(--serif); letter-spacing: -.01em; }
.all { margin-left: auto; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.all::after { content: " \2192"; }
.all:hover { color: var(--accent); }

/* Event cards: a date stamp, then the details; the price sits on the bottom line of every card in a row */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .15s; }
.card:hover { border-color: #9d998f; }
.card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.thumb { width: 100%; aspect-ratio: 40 / 21; object-fit: cover; border-radius: var(--r) var(--r) 0 0; }
.card .body { flex: 1; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 16px; }
.stamp { display: flex; flex-direction: column; align-items: center; gap: 2px; padding-right: 14px; border-right: 1px solid var(--line); color: var(--ink-2); font-size: .68rem; font-weight: 600; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.stamp b { color: var(--ink); font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.stamp span:last-child { color: var(--accent); }
.info { display: flex; flex-direction: column; min-width: 0; }
.card h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.meta { margin: 0; color: var(--ink-2); font-size: .875rem; line-height: 1.45; }
.price { margin: auto 0 0; padding-top: 10px; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Home slideshow: three posters a page on wide screens, two on tablets, one (with the next one peeking) on phones */
.featured .head { align-items: center; margin-bottom: 14px; padding: 0; border: 0; }
.featured h2 { color: var(--accent); font: 700 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ctl { display: flex; gap: 6px; margin-left: auto; }
.ctl:not([hidden]) + .all { margin-left: 12px; }
.ic { width: 36px; height: 36px; padding: 0; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 50%; }
.ic:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic .i-play { fill: currentColor; stroke-width: 1.5; }
.ic .i-play, .ic.is-stopped .i-pause { display: none; }
.ic.is-stopped .i-play { display: block; }
.track { position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.live .track { scrollbar-width: none; }
.live .track::-webkit-scrollbar { display: none; }
.slide { display: grid; grid-template-columns: minmax(0, 1fr); flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.dots button, .dots button:hover { width: 28px; height: 24px; padding: 0; background: none; border: 0; border-radius: 0; }
.dots button::before { content: ""; width: 100%; height: 3px; border-radius: 2px; background: var(--line-2); transition: background-color .2s; }
.dots button:hover::before { background: var(--ink-2); }
.dots button[aria-current="true"]::before { background: var(--ink); }
@media (max-width: 960px) { .slide { flex-basis: calc((100% - 20px) / 2); } }

/* Browse by type and by place */
.chips { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 0; }
.chips a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 46px; padding: 0 14px 0 16px; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 500; text-decoration: none; transition: background-color .15s, border-color .15s; }
.chips a::after { content: "\203A"; color: var(--ink-2); font-size: 1.25rem; line-height: 1; }
.chips a:hover { background: var(--panel); border-color: var(--ink); }

/* Events list: filters on the left on wide screens, on top (closed on phones) otherwise */
.browse { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .browse { grid-template-columns: 280px minmax(0, 1fr); } }
.filterbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.filterbox > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.filterbox > summary::-webkit-details-marker { display: none; }
.filterbox > summary::after { content: "+"; color: var(--ink-2); font-size: 1.25rem; line-height: 1; }
.filterbox[open] > summary::after { content: "\2212"; }
.filters { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); align-items: end; padding: 16px; border-top: 1px solid var(--line); }
.filters label { display: grid; gap: 6px; color: var(--ink-2); font-size: .8125rem; font-weight: 600; }
.filters label input, .filters label select { color: var(--ink); font-size: .9375rem; font-weight: 400; }
.filters details { grid-column: 1 / -1; font-size: .875rem; }
.filters details > summary { width: fit-content; color: var(--ink); font-weight: 500; cursor: pointer; }
.filters details label { display: inline-grid; width: calc(50% - 10px); margin-top: 10px; vertical-align: top; }
.filters details label:last-child { margin-left: 12px; }
.filters .near, .filters .go { grid-column: 1 / -1; margin: 0; }
.near button { width: 100%; }
.near .note:empty { display: none; }
.go { display: flex; align-items: center; gap: 16px; }
.go button { flex: 1; }
.go a { color: var(--ink-2); font-size: .875rem; }
.go a:hover { color: var(--ink); }
.count { margin: 0 0 12px; color: var(--ink-2); font-size: .875rem; }
.results .grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.more { margin: 28px 0 0; }
.more a { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); font-weight: 600; text-decoration: none; }
.more a:hover { border-color: var(--ink); }

/* Event page: the facts panel on the right on wide screens, first on phones */
.banner { margin: 20px 0 0; padding: 12px 16px; background: var(--panel); border-left: 3px solid var(--ink); font-weight: 600; }
.event-head { max-width: 900px; margin: 8px 0 28px; }
.event-head h1 { margin: 0; }
.event-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .event-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
  .ticket { grid-column: 2; grid-row: 1; position: sticky; top: 92px; }
  .event-body { grid-column: 1; grid-row: 1; }
}
.ticket { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.facts { margin: 0 0 22px; }
.facts dt { margin-top: 18px; color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 2px 0 0; }
.facts dd a { color: var(--accent); font-size: .9rem; text-underline-offset: 2px; }
.buy { display: grid; gap: 10px; margin: 0; }
.buy .btn { width: 100%; height: auto; min-height: 46px; padding: 10px 16px; white-space: normal; text-align: center; }
.event-body { max-width: 70ch; font-size: 1.0625rem; line-height: 1.65; }
.event-body > p { margin: 0 0 1em; }
.event-body .note { font-size: .875rem; line-height: 1.5; }
.event-body a:not(.btn) { color: var(--accent); text-underline-offset: 2px; }
.event-body .share { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.share .btn, .share button { height: 38px; padding: 0 14px; font-size: .875rem; }
.poster-img { width: 100%; margin-bottom: 8px; border-radius: var(--r); }
.video { margin: 0 0 20px; }
iframe.map { display: block; width: 100%; height: 260px; margin: 18px 0 0; border: 0; border-radius: 12px; background: var(--d-card, #eee); }
.player { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 20px; border: 0; border-radius: var(--r); background: var(--ink); }

/* Organizer pages: one column of labelled fields; each problem sits right under its field */
.form-page { max-width: 560px; }
.form-page.wide { max-width: 760px; }
.form-page h1 { margin-bottom: 8px; }
.form-page h2 { margin: 40px 0 12px; font: 700 1.375rem/1.25 var(--serif); }
.form { display: grid; gap: 6px; margin: 20px 0 28px; }
.form label { display: grid; gap: 6px; margin-top: 12px; font-size: .875rem; font-weight: 600; }
.form label input, .form label select, .form label textarea { font-size: 1rem; font-weight: 400; }
.form textarea { width: 100%; min-width: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); font: inherit; line-height: 1.5; resize: vertical; }
.form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form [aria-invalid="true"] { border-color: var(--accent); }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9375rem; }
.form .check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.form .check a { color: var(--accent); }
.form .go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 16px 0 0; }
.form .go button { flex: none; min-width: 160px; }
.hint { color: var(--ink-2); font-size: .8125rem; }
.err { color: var(--accent); font-size: .875rem; font-weight: 600; }
.err:empty, .hint:empty { display: none; }
.pw { display: flex; gap: 8px; }
.pw button { flex: none; height: 42px; padding: 0 14px; }
.code { max-width: 200px; font-size: 1.25rem; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.pair { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.choice { display: grid; gap: 4px; margin: 16px 0 0; padding: 12px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.choice legend { padding: 0 6px; font-size: .875rem; font-weight: 600; }
.google { margin: 20px 0 0; }
.google button { width: 100%; height: 46px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; color: var(--ink-2); font-size: .875rem; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.human img { display: block; max-width: 100%; height: auto; border: 1px solid var(--line-2); border-radius: var(--r); image-rendering: auto; }
.human p { margin: 8px 0 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin: 16px 0; padding: 12px 16px; background: var(--panel); border-left: 3px solid var(--ink); }
.ask { padding: 16px 20px; border: 1px solid var(--line-2); border-radius: var(--r); }
.poster-now { max-width: 240px; margin-top: 16px; border-radius: var(--r); }
.steps { padding-left: 1.25em; }
.steps li { margin-bottom: .6em; }
.key { padding: 2px 6px; background: var(--panel); border-radius: 4px; font-size: 1.0625rem; letter-spacing: .05em; word-spacing: .3em; }
.mine { margin: 20px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mine li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mine li div { display: grid; gap: 2px; }
.mine li p { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.mine .btn { height: 38px; padding: 0 14px; font-size: .875rem; }
.mine-foot { display: flex; gap: 24px; margin: 24px 0 16px; }
.mine-foot a { color: var(--accent); }
.review { margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.review h2 { margin: 0 0 4px; font: 700 1.375rem/1.25 var(--serif); }
.review-grid { display: grid; gap: 20px; margin: 16px 0; }
.review-grid img { max-width: 100%; border-radius: var(--r); }
@media (min-width: 760px) { .review-grid:has(img) { grid-template-columns: 320px 1fr; } }
.review-act { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-act .form { margin: 0; }
/* The owner's dashboard, /admin/ (2026-11-18), and the report form */
.dash { display: grid; gap: 16px; margin: 20px 0 40px; }
@media (min-width: 760px) { .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dash .wide { grid-column: 1 / -1; } }
.dash section { min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.dash .act { border-color: var(--accent); }
.dash h2 { margin: 0 0 12px; font-size: 1.125rem; }
.dash h3 { margin: 18px 0 8px; font-size: .95rem; }
.dash ul { margin: 0; padding-left: 18px; }
.dash li { margin: 6px 0; overflow-wrap: anywhere; }
.dash a { color: var(--accent); }
.stats { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; }
.stats dt { overflow-wrap: anywhere; }
.stats dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.reports { list-style: none; padding: 0 !important; }
.reports li { margin: 12px 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.reports p { margin: 0 0 6px; }
.report-ev { display: grid; gap: 2px; margin: 8px 0 0; }

/* Text pages: about, contact, submit, privacy, terms, guides, not found */
.prose { max-width: 70ch; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { margin: 32px 0 10px; font: 700 1.375rem/1.25 var(--serif); }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: .4em; }
.prose a:not(.btn) { color: var(--accent); text-underline-offset: 2px; }
.prose .guides { padding: 0; list-style: none; }
.guides li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.foot { margin-top: 80px; background: var(--ink); color: #b4b8be; font-size: .875rem; }
.foot .wrap { display: grid; gap: 16px; padding-top: 44px; padding-bottom: 44px; }
.foot .brand { color: #fff; font-size: 1.375rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { color: #fff; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot p { margin: 0; max-width: 78ch; }
.foot .note { color: #8f949b; font-size: .8125rem; }
.foot :focus-visible { outline-color: #fff; }

/* Phones */
@media (max-width: 759px) {
  .top .wrap { flex-wrap: wrap; gap: 12px; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .find { width: 100%; margin: 0; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; }
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .sec { margin-top: 36px; }
  .head h2 { font-size: 1.3rem; }
  .tabs { padding-top: 16px; padding-bottom: 16px; }
  .filters { grid-template-columns: 1fr 1fr; }

  /* The slideshow on phones (owner, 2026-11-17, after a comics site's): one poster in the middle and the ones before and after it
     peeking in from the screen edges, a little smaller and scaled toward it. No buttons: visitors swipe, or tap a side poster. */
  .featured .all, .featured .ctl { display: none; } /* the Events button sits right under the slideshow */
  .track { gap: 10px; margin: 0 calc(-1 * var(--gut)); padding: 4px 18%; }
  .slide { flex-basis: 100%; scroll-snap-align: center; }
  /* The card scales, not the slide: the browser snaps to the slide's box, which must stay unscaled to stop dead centre. */
  .slide > .ev { aspect-ratio: 4 / 5; min-height: 0; transform: scale(.84); transform-origin: right center; transition: transform .45s cubic-bezier(.2, .7, .2, 1), transform-origin .45s cubic-bezier(.2, .7, .2, 1); }
  .slide.on > .ev { transform: none; transform-origin: center; }
  .slide.on ~ .slide > .ev { transform-origin: left center; }

  /* The rows below swipe sideways too, the next card peeking in. */
  .sec .grid { display: flex; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; scrollbar-width: none; }
  .sec .grid::-webkit-scrollbar { display: none; }
  .sec .grid > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* Motion, from the motion library (checked safe 2026-11-17): pages fade into each other, sections rise in as they scroll into
   view, and cards lift slightly under the mouse. All of it is off for visitors who ask for less motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  @supports (animation-timeline: view()) {
    .sec { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes rise { from { opacity: 0; transform: translateY(20px); } }
  }
  @media (hover: hover) {
    .card { transition: border-color .15s, transform .15s; }
    .card:hover { transform: translateY(-2px); }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { transition: none !important; }
}

/* ---------------------------------------------------------------------------------------------------------------------------
   The dark design (owner, 2026-11-18): tried on the home page first ("so i can check if I like the design"; the editorial trial
   was turned down), then put on every page ("update all the pages ... just like the main page"). The layout gives every page
   body.dark, and everything below is scoped to it; the light rules above stay underneath as the base.
   - Colours: the owner's dark palette, set once here. Elevation comes from lighter surfaces, not shadows.
   - Type: the visitor's system sans-serif, heavy and tight for headings (no web font, nothing sent to a font service).
   - Shapes: 16 px cards, 14 px tiles, 10-12 px buttons.
   - Light: one soft red glow behind the headline and the AI spotlight (the prompt's "soft lighting"), and the shade under photos.
   - Motion (motion library patterns, checked 2026-11-17): sections rise in, cards lift and photos zoom slightly under the mouse,
     the page glides to Categories and Places. All of it is off for visitors who ask for less motion.
   --------------------------------------------------------------------------------------------------------------------------- */
.dark {
  --d-bg: #0d0f11; --d-bg2: #14171a; --d-card: #1c2024; --d-raise: #252a30; --d-line: #30363d; --d-line-2: #4a525b;
  --d-text2: #a3a8ae; --d-accent: #c92d3a; --d-accent-2: #e04450; --d-accent-text: #ef5d69; --d-r: 16px;
  --d-barber: 179 38 30; /* Barber Red, #B3261E (owner, 2026-11-18): glows on the near-black background, edges, markers and the main buttons; never text, never the whole background */
  color-scheme: dark; background: var(--d-bg); color: #fff;
}
.dark :focus-visible { outline-color: var(--d-accent-2); }
.dark [id] { scroll-margin-top: 96px; }

/* The shared parts every page uses, darkened. Each selector here is stronger than its light rule above; buttons alone use
   :where(), so the components further down (quick tiles, arrows, the search button) keep their own looks. */
.dark h1 { font: 800 clamp(2rem, 1.2rem + 2.6vw, 3.25rem)/1.06 var(--sans); letter-spacing: -.04em; }
.dark .prose h2, .dark .form-page h2, .dark .review h2 { font: 800 1.375rem/1.25 var(--sans); letter-spacing: -.02em; }
.dark .lead, .dark .note, .dark .count, .dark .hint, .dark .go a, .dark .filters label, .dark .facts dt { color: var(--d-text2); }
.dark .kind { color: var(--d-accent-text); }
.dark .prose a:not(.btn), .dark .event-body a:not(.btn), .dark .facts dd a, .dark .form .check a, .dark .mine-foot a { color: var(--d-accent-text); }
.dark .err { color: var(--d-accent-text); }
.dark :where(input, select, textarea) { background: var(--d-card); color: #fff; border-color: var(--d-line); }
.dark :where(input, select, textarea):hover { border-color: var(--d-line-2); }
.dark :where(input, select, textarea):focus-visible { outline-color: var(--d-accent-2); border-color: var(--d-accent-2); }
.dark :where(input, textarea)::placeholder { color: var(--d-text2); }
.dark .filters label :is(input, select) { color: #fff; }
.dark .form textarea { background: var(--d-card); color: #fff; border-color: var(--d-line); }
.dark .form [aria-invalid="true"] { border-color: var(--d-accent-2); }
.dark .form .check input { accent-color: rgb(var(--d-barber)); }
.dark :where(button, .btn) { background: #fff; color: var(--d-bg); border-color: #fff; border-radius: 10px; }
.dark :where(button, .btn):hover { background: #e4e6e9; color: var(--d-bg); border-color: #e4e6e9; }
.dark .btn-line, .dark button.line { background: transparent; color: #fff; border-color: var(--d-line); }
.dark .btn-line:hover, .dark button.line:hover { background: var(--d-card); color: #fff; border-color: rgb(var(--d-barber) / .85); }
.dark .btn-buy { background: rgb(var(--d-barber)); color: #fff; border-color: rgb(var(--d-barber)); }
.dark .btn-buy:hover { background: var(--d-accent-2); color: #fff; border-color: var(--d-accent-2); }
/* The menu buttons under the header */
.dark .tabs a { background: var(--d-bg2); color: #fff; border-color: var(--d-line); border-radius: 999px; }
.dark .tabs a:hover { border-color: rgb(var(--d-barber) / .85); }
.dark .tabs a[aria-current] { background: rgb(var(--d-barber)); border-color: rgb(var(--d-barber)); color: #fff; }
/* Lists of events: the filters panel and the More button */
.dark .filterbox { background: var(--d-bg2); border-color: var(--d-line); border-radius: var(--d-r); }
.dark .filterbox > summary::after { color: var(--d-text2); }
.dark .filters { border-top-color: var(--d-line); }
.dark .filters details > summary, .dark .go a:hover { color: #fff; }
.dark .more a { color: #fff; border-color: var(--d-line); border-radius: 12px; }
.dark .more a:hover { background: var(--d-card); border-color: rgb(var(--d-barber) / .85); }
.dark .results .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
/* One event: the ended banner, the facts panel and the buttons under the summary */
.dark .banner, .dark .notice { background: var(--d-card); border-left-color: rgb(var(--d-barber)); color: #fff; border-radius: 0 10px 10px 0; }
.dark .ticket { background: var(--d-bg2); border-color: rgb(var(--d-barber) / .45); border-radius: var(--d-r); }
.dark .event-body .share { border-top-color: var(--d-line); }
.dark .poster-img, .dark .player { border-radius: var(--d-r); }
/* Text pages and organizer pages */
.dark .guides li, .dark .mine, .dark .mine li { border-color: var(--d-line); }
.dark .choice, .dark .ask, .dark .review { border-color: var(--d-line); border-radius: 14px; }
.dark .dash section { background: var(--d-card); border-color: var(--d-line); border-radius: 14px; }
.dark .dash .act { border-color: var(--d-accent); }
.dark .dash a:not(.btn) { color: var(--d-accent-text); }
.dark .stats dt { color: var(--d-text2); }
.dark .reports li { border-color: var(--d-line); }
.dark .review-act { border-top-color: var(--d-line); }
.dark .or::before, .dark .or::after { border-top-color: var(--d-line); }
.dark .key { background: var(--d-card); }
.dark .human img { border-color: var(--d-line); }
.dark .badge.sp { color: #fff; background: rgb(var(--d-barber) / .3); border-color: rgb(var(--d-barber) / .8); }
.dark .badge { color: #fff; border-color: rgb(255 255 255 / .4); }
.dark .badge.now { color: #7fdca6; border-color: currentColor; }
.dark .badge.warn { color: #f2bd6b; border-color: currentColor; }

/* Header: frosted charcoal; a dark search bar with the red Search button; Submit an Event as a white button */
.dark .top { background: rgb(13 15 17 / .78); border-bottom-color: var(--d-line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.dark .brand { color: #fff; font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; }
.dark .find { background: var(--d-card); border-color: var(--d-line); border-radius: 12px; }
.dark .find:hover { border-color: var(--d-line-2); }
.dark .find:focus-within { border-color: var(--d-text2); }
.dark .find input { color: #fff; }
.dark .find input::placeholder { color: var(--d-text2); }
.dark .what, .dark .where { border-color: var(--d-line); }
.dark .where svg { fill: var(--d-text2); }
.dark .find button { background: var(--d-accent); border-color: var(--d-accent); border-radius: 9px; }
.dark .find button:hover { background: var(--d-accent-2); border-color: var(--d-accent-2); }
.dark .w-panel { background: var(--d-card); border-color: var(--d-line); color: #fff; border-radius: 12px; }
.dark .w-panel li span, .dark .w-panel p { color: var(--d-text2); }
.dark .w-panel li:hover, .dark .w-panel li[aria-selected="true"] { background: var(--d-raise); }
.dark .w-panel li.use b { color: var(--d-accent-text); }
.dark .who { color: #fff; }
.dark .who:hover { color: var(--d-accent-text); }
.dark .top .cta { order: 4; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; background: #fff; color: var(--d-bg); border-radius: 10px; font-size: .875rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.dark .top .cta:hover { background: var(--d-accent-2); color: #fff; }

/* Headline: a rounded photo panel (the AI concert picture, shaded on the left where the text sits), the count of events, the
   tagline large and bold, one line of what we list, two ways in */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: 24px; padding: 48px 48px 40px; background: var(--d-bg2); border: 1px solid var(--d-line); border-radius: 24px; }
.hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 85% at 0 100%, rgb(var(--d-barber) / .34), transparent 70%), linear-gradient(90deg, rgb(13 15 17 / .94) 0%, rgb(13 15 17 / .78) 42%, rgb(13 15 17 / .2) 100%); pointer-events: none; }
/* The "AI image" label on a picture */
.art-note { position: absolute; z-index: 1; right: 14px; bottom: 12px; margin: 0; padding: 3px 8px; background: rgb(0 0 0 / .6); border-radius: 6px; color: rgb(255 255 255 / .82); font-size: .6875rem; font-weight: 600; letter-spacing: .03em; }
.art-row { margin: 12px 0 24px; color: var(--d-text2); font-size: .8125rem; }
/* The background stays near-black with a touch of Barber Red (owner, 2026-11-18: "do not make the whole background to be that
   color"): a glow behind the header at the top right, faint washes down the left and right sides as the page goes on, and a
   warm rise into the footer. They sit on the page background, behind the cards, so they show in the gaps and margins and never
   widen the page. Percent heights follow the whole page. */
.dark {
  background:
    radial-gradient(circle min(640px, 100vw) at 82% 0, rgb(var(--d-barber) / .42), transparent 70%),
    radial-gradient(ellipse min(900px, 120vw) 700px at 0 30%, rgb(var(--d-barber) / .28), transparent 70%),
    radial-gradient(ellipse min(900px, 120vw) 700px at 100% 58%, rgb(var(--d-barber) / .26), transparent 70%),
    radial-gradient(ellipse min(1000px, 130vw) 600px at 20% 86%, rgb(var(--d-barber) / .24), transparent 70%),
    var(--d-bg);
  background-repeat: no-repeat;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 14px 6px 12px; background: rgb(255 255 255 / .05); border: 1px solid var(--d-line); border-radius: 999px; color: var(--d-text2); font-size: .8125rem; font-weight: 600; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--d-accent-2); }
.hero h1 { margin: 0; font: 800 clamp(2.4rem, 1.2rem + 4vw, 4.25rem)/.98 var(--sans); letter-spacing: -.05em; }
.hero h1 span { color: var(--d-text2); }
.hero-lead { margin: 18px 0 0; max-width: 54ch; color: var(--d-text2); font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.55; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; color: #fff; border: 1px solid var(--d-line); border-radius: 12px; font-weight: 700; text-decoration: none; transition: background-color .15s, border-color .15s, transform .2s; }
.pill:hover { background: var(--d-card); border-color: var(--d-line-2); }
.pill.solid { background: var(--d-accent); border-color: var(--d-accent); }
.pill.solid:hover { background: var(--d-accent-2); border-color: var(--d-accent-2); }
.empty { margin: 0 0 32px; color: var(--d-text2); font-size: 1.125rem; }

/* Section heads */
.dark .head { align-items: center; margin-bottom: 20px; padding: 0; border: 0; }
.dark .head h2 { color: #fff; font: 800 clamp(1.4rem, 1.1rem + 1vw, 1.875rem)/1.15 var(--sans); letter-spacing: -.035em; }
.dark .all { color: var(--d-text2); }
.dark .all:hover { color: #fff; }
.dark .sec { margin-top: 76px; }
.dark .arrows { display: flex; gap: 8px; margin-left: auto; }
.dark .arrows:not([hidden]) + .all { margin-left: 14px; }
.dark .ic { width: 40px; height: 40px; background: var(--d-card); color: #fff; border-color: var(--d-line); }
.dark .ic:hover { background: var(--d-raise); color: #fff; border-color: var(--d-line-2); }
.dark .ic:disabled { opacity: .35; }

/* Grand events: the slideshow, 3 cards a page (2 on tablets, 1 in the middle on phones), a new page every 4 seconds */
.featured { margin-top: 56px; }
.featured .head h2 { color: var(--d-accent-text); font: 700 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dark .track { gap: 16px; }
.dark .slide { flex-basis: calc((100% - 32px) / 3); }
.ev-slide { min-height: 440px; }
.ev-slide h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.12; }
.ev .art-note { top: 14px; bottom: auto; }
.dark .dots button::before { background: var(--d-line-2); }
.dark .dots button:hover::before { background: var(--d-text2); }
.dark .dots button[aria-current="true"]::before { background: rgb(var(--d-barber)); }
/* Each slide's picture drifts and zooms slowly (a Ken Burns move, after BrewedOps' Galleries and media), each at its own pace,
   so the row is never still between pages. Not for visitors who ask for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .ev-slide.pic img { animation: drift 16s ease-in-out infinite alternate; }
  .slide:nth-child(3n+2) .ev-slide.pic img { animation-duration: 19s; animation-delay: -6s; transform-origin: 30% 40%; }
  .slide:nth-child(3n) .ev-slide.pic img { animation-duration: 22s; animation-delay: -11s; transform-origin: 70% 60%; }
  @keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, -1.5%); } }
}

/* Event cards: the organizer's photo under a dark shade, or the event type's icon large and faint on charcoal */
.ev { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 340px; padding: 18px; background: var(--d-card); color: #fff; border: 1px solid var(--d-line); border-radius: var(--d-r); text-decoration: none; transition: border-color .2s, background-color .2s, transform .2s; }
.ev:hover { background: var(--d-raise); border-color: var(--d-line-2); }
.ev:focus-visible { outline-offset: 3px; }
.ev-art { position: absolute; top: 14%; right: -10%; z-index: -1; width: 64%; height: auto; fill: none; stroke: rgb(255 255 255 / .07); stroke-width: .8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ev.pic { border-color: transparent; }
.ev.pic img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ev.pic::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .9), rgb(0 0 0 / .4) 55%, rgb(0 0 0 / .12)); }
.ev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ev-body { display: flex; flex-direction: column; gap: 6px; }
.ev-when { color: var(--d-accent-text); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ev.pic .ev-when { color: #fff; }
.ev h3 { font: 800 1.1875rem/1.2 var(--sans); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev-where { color: var(--d-text2); font-size: .875rem; line-height: 1.4; }
.ev.pic .ev-where { color: rgb(255 255 255 / .8); }
.ev-price { margin-top: 2px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ev-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-top: 14px; padding: 0 18px; background: #fff; color: var(--d-bg); border-radius: 10px; font-size: .9375rem; font-weight: 700; }
.ev-go::after { content: "\2192"; transition: transform .2s; }
.ev:hover .ev-go::after { transform: translateX(3px); }

/* Quick links: compact tiles, an icon in its own square */
.quick { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; }
@media (min-width: 1100px) { .quick { grid-template-columns: repeat(7, minmax(0, 1fr)); } } /* one row of seven */
.quick > * { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: auto; padding: 14px; background: var(--d-bg2); color: #fff; border: 1px solid var(--d-line); border-radius: 14px; font: inherit; text-align: left; text-decoration: none; white-space: normal; cursor: pointer; transition: background-color .15s, border-color .15s; }
.quick > :hover { background: var(--d-card); color: #fff; border-color: var(--d-line-2); }
.quick svg { flex: none; width: 42px; height: 42px; padding: 10px; background: var(--d-raise); border-radius: 10px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.quick > :first-child svg { background: var(--d-accent); }
.quick b { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.25; }
.quick .q-line { display: block; color: var(--d-text2); font-size: .8125rem; font-weight: 400; }

/* AI & Tech: the owner's priority, in its own lit panel */
/* Its picture (the AI conference) is a banner across the top, fading into the panel where the heading and cards begin. */
.spot { position: relative; isolation: isolate; overflow: hidden; margin-top: 76px; padding: 300px 32px 32px; background: var(--d-bg2); border: 1px solid var(--d-line); border-radius: 24px; }
.spot-art { position: absolute; inset: 0 0 auto; z-index: -2; width: 100%; height: 460px; object-fit: cover; object-position: 50% 35%; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(20 23 26 / .1) 0, rgb(20 23 26 / .45) 180px, rgb(20 23 26 / .92) 330px, var(--d-bg2) 460px); pointer-events: none; }
.spot .art-note { top: 14px; bottom: auto; }
.spot-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.ev-spot { min-height: 400px; }
.spot-list { display: grid; gap: 10px; }

/* Compact events: a calendar block, then the details */
.rows { display: grid; gap: 10px; }
.rows.wide { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.row { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; background: var(--d-card); color: #fff; border: 1px solid var(--d-line); border-radius: 14px; text-decoration: none; transition: background-color .15s, border-color .15s, transform .2s; }
.row:hover { background: var(--d-raise); border-color: var(--d-line-2); }
.cal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 66px; background: var(--d-raise); border-radius: 10px; color: var(--d-text2); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.cal span:first-child { color: var(--d-accent-text); }
.cal b { color: #fff; font-size: 1.5rem; line-height: 1; letter-spacing: -.02em; }
.row-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row-kind { color: var(--d-accent-text); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.row h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.row:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.row-meta { color: var(--d-text2); font-size: .8125rem; line-height: 1.4; }
.row-price { font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* This weekend: a column for each day */
.days { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.day h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font: 800 1.25rem/1.2 var(--sans); letter-spacing: -.02em; }
.day h3 span { color: var(--d-text2); font-size: .8125rem; font-weight: 600; letter-spacing: 0; }

/* Rows of cards that move only when asked: a scrollbar until site.js adds the buttons, then four to a view */
.rail { display: flex; gap: 16px; padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--d-line) transparent; }
.rail.armed { scrollbar-width: none; }
.rail.armed::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }

/* Every category: dark tiles with a white line icon, in the site's order (AI & Tech first, marked in red) */
/* Five categories with a picture, as large cards above the tiles (all five in one row on wide screens) */
.scenes.rail > * { flex-basis: calc((100% - 64px) / 5); }
.scene { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 4 / 5; padding: 16px; color: #fff; border: 1px solid var(--d-line); border-radius: var(--d-r); text-decoration: none; }
.scene img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .85), rgb(0 0 0 / .25) 50%, rgb(0 0 0 / 0)); }
.scene-body { display: grid; gap: 2px; }
.scene b { font: 800 1.25rem/1.15 var(--sans); letter-spacing: -.02em; }
.scene span span { color: rgb(255 255 255 / .8); font-size: .8125rem; }
.scene:focus-visible { outline-offset: 3px; }
.cats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(7, minmax(0, 1fr)); } } /* 21 types: three full rows */
.cats a { display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 124px; padding: 16px; background: var(--d-bg2); color: #fff; border: 1px solid var(--d-line); border-radius: 14px; text-decoration: none; transition: background-color .15s, border-color .15s, transform .2s; }
.cats a:hover { background: var(--d-card); border-color: var(--d-line-2); }
.cats svg { width: 28px; height: 28px; margin-bottom: auto; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cats b { margin-top: 16px; font-size: 1rem; font-weight: 700; line-height: 1.25; }
.cats span { color: var(--d-text2); font-size: .8125rem; }
.cats li:first-child a { border-color: rgb(224 68 80 / .55); }
.cats li:first-child svg { stroke: var(--d-accent-text); }

/* Places: the busiest cities with their real counts, then the provinces with their own page */
.towns { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin: 0; padding: 0; list-style: none; }
.towns a { display: grid; gap: 2px; height: 100%; padding: 18px; background: var(--d-bg2); color: #fff; border: 1px solid var(--d-line); border-radius: 14px; text-decoration: none; transition: background-color .15s, border-color .15s, transform .2s; }
.towns a:hover { background: var(--d-card); border-color: var(--d-line-2); }
.towns b { font: 800 1.25rem/1.2 var(--sans); letter-spacing: -.02em; }
.towns span { color: var(--d-text2); font-size: .875rem; }
.towns .c { margin-top: 10px; color: var(--d-accent-text); font-size: .8125rem; font-weight: 700; }
.provs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--d-text2); }
.provs a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; color: #fff; border: 1px solid var(--d-line); border-radius: 999px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.provs a:hover { background: var(--d-card); border-color: var(--d-line-2); }

/* Footer: near-black, the extra links, and the name set very large in a faint grey */
.dark .foot { margin-top: 96px; background: radial-gradient(ellipse 70% 100% at 50% 0, rgb(var(--d-barber) / .3), transparent 70%) no-repeat, #0a0b0d; border-top: 1px solid rgb(var(--d-barber) / .75); color: var(--d-text2); }
.dark .foot .mark { overflow: hidden; margin: 0 0 8px; color: var(--d-card); font: 800 clamp(3rem, 13vw, 11rem)/.9 var(--sans); letter-spacing: -.06em; white-space: nowrap; }
.dark .foot .brand { display: none; }

/* Barber Red design touches (owner, 2026-11-18: "increase the color design and touch of that color"): edges, glows, markers and
   the main buttons. Text stays white and grey, and the background stays near-black. */
.dark .top { border-bottom-color: rgb(var(--d-barber) / .4); }
.dark .find button, .pill.solid { background: rgb(var(--d-barber)); border-color: rgb(var(--d-barber)); }
.hero { border-color: rgb(var(--d-barber) / .55); }
.eyebrow { background: rgb(var(--d-barber) / .16); border-color: rgb(var(--d-barber) / .55); color: #e9ebed; }
.eyebrow::before { background: rgb(var(--d-barber)); box-shadow: 0 0 0 4px rgb(var(--d-barber) / .3); }
.dark .head h2::before { content: ""; display: inline-block; width: 5px; height: .8em; margin-right: 12px; border-radius: 3px; background: rgb(var(--d-barber)); }
.featured .head h2::before { display: none; } /* that small label is already red */
.quick svg { background: rgb(var(--d-barber) / .2); }
.quick > :first-child svg { background: rgb(var(--d-barber)); }
.spot { border-color: rgb(var(--d-barber) / .5); background: radial-gradient(ellipse 80% 55% at 100% 100%, rgb(var(--d-barber) / .22), transparent 70%) no-repeat, var(--d-bg2); }
.cats li:first-child a { border-color: rgb(var(--d-barber) / .75); }
.cats li:first-child svg { stroke: #ef6a62; }
.quick > :hover, .ev:hover, .row:hover, .cats a:hover, .towns a:hover, .scene:hover, .provs a:hover, .pill:not(.solid):hover, .dark .ic:hover { border-color: rgb(var(--d-barber) / .85); }
.dock { border-color: rgb(var(--d-barber) / .5); }
.dock a[aria-current] { background: rgb(var(--d-barber) / .32); }

/* The phone menu (the dock) is hidden on wider screens */
.dock { display: none; }

/* Tablets */
@media (max-width: 960px) {
  .spot-grid { grid-template-columns: minmax(0, 1fr); }
  .dark .slide { flex-basis: calc((100% - 16px) / 2); }
  .rail > * { flex-basis: calc((100% - 32px) / 2.4); }
}

/* Phones and small tablets: the floating menu, kept clear of the page's own content and of the keyboard */
@media (max-width: 760px) {
  .dark { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .dock { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); display: flex; gap: 4px; padding: 6px; background: rgb(28 32 36 / .84); border: 1px solid var(--d-line); border-radius: 20px; -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); }
  .dock a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 54px; color: var(--d-text2); border-radius: 14px; font-size: .75rem; font-weight: 600; text-decoration: none; }
  .dock a[aria-current] { background: rgb(255 255 255 / .09); color: #fff; }
  .dock a:hover { color: #fff; }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .dark:has(input:focus) .dock { display: none; }
  .dark .top .cta { display: none; } /* Submit is in the floating menu */
}

/* Phones */
@media (max-width: 600px) {
  .hero { margin-top: 16px; padding: 128px 20px 20px; border-radius: 20px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-lead { margin-top: 12px; font-size: .9375rem; }
  .hero-act { margin-top: 16px; gap: 10px; }
  .eyebrow { margin-bottom: 14px; }
  .hero-art { height: 200px; bottom: auto; object-position: 82% 50%; }
  .hero::after { background: radial-gradient(ellipse 90% 45% at 0 100%, rgb(var(--d-barber) / .3), transparent 70%), linear-gradient(to bottom, transparent 0, rgb(13 15 17 / .25) 90px, rgb(13 15 17 / .8) 150px, var(--d-bg2) 200px); }
  .hero .art-note { top: 12px; bottom: auto; }
  .hero-act .pill { flex: 1 1 auto; }
  .dark .track { gap: 10px; }
  .dark .slide { flex-basis: 100%; }
  .spot { padding: 190px 16px 20px; border-radius: 20px; }
  .spot-art { height: 300px; object-position: 30% 35%; }
  .spot::before { background: linear-gradient(to bottom, rgb(20 23 26 / .05) 0, rgb(20 23 26 / .5) 130px, var(--d-bg2) 300px); }
  .scenes.rail > * { flex-basis: 62%; }
  .dark .sec, .spot { margin-top: 60px; }
  .quick { margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rail { margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-padding-inline: var(--gut); }
  .rail > * { flex-basis: 78%; }
  .rows.wide { grid-template-columns: minmax(0, 1fr); }
  .cats, .towns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cats a { min-height: 112px; padding: 14px; }
  .results .ev, .sec .grid .ev { min-height: 250px; } /* lists on phones: shorter cards, quicker to scroll */
}

@media (prefers-reduced-motion: no-preference) {
  html:has(body.dark) { scroll-behavior: smooth; }
  .hero > :is(.eyebrow, h1, .hero-lead, .hero-act) { animation: hero-in .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero > h1 { animation-delay: .06s; }
  .hero > .hero-lead { animation-delay: .12s; }
  .hero > .hero-act { animation-delay: .18s; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(18px); } }
  @supports (animation-timeline: view()) {
    .featured, .quick, .spot, .dark .sec { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
  @media (hover: hover) {
    .ev:hover, .row:hover, .cats a:hover { transform: translateY(-3px); }
    .ev:hover .ev-art { transform: translate(-6px, -6px) rotate(-4deg); }
    .ev.pic:hover img, .scene:hover img { transform: scale(1.04); }
  }
}

/* ---------------------------------------------------------------------------------------------------------------------------
   The Light mode switch (owner, 2026-11-19), in the header of the home page, and the home page's light colours. The same
   layout and Barber Red touches on a warm off-white page with white cards and near-black text. Pictures keep their dark shade,
   so the white text on them stays readable. Every page since 2026-11-19 (owner: "update all pages using the light mode and dark mode"): html[data-theme="light"] with body.dark.
   --------------------------------------------------------------------------------------------------------------------------- */
.dark .theme { order: 3; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; background: transparent; color: #fff; border: 1px solid var(--d-line); border-radius: 999px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.dark .theme:hover { background: var(--d-card); color: #fff; border-color: rgb(var(--d-barber) / .85); }
.theme-track { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--d-line-2); transition: background-color .2s; }
.theme-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .3); transition: transform .2s; }
.theme[aria-checked="true"] .theme-track { background: rgb(var(--d-barber)); }
.theme[aria-checked="true"] .theme-track::after { transform: translateX(14px); }

/* Version 2 (owner, 2026-11-19: "not satisfied ... add a very light shade of another color"): "porcelain", a very light cool
   blue-grey that sets off the Barber Red, with white cards raised on soft shadows. */
[data-theme="light"] .dark {
  --d-bg: #eef2f7; --d-bg2: #ffffff; --d-card: #ffffff; --d-raise: #edf1f6; --d-line: #dfe5ee; --d-line-2: #c3cddb;
  --d-text2: #526072; --d-accent: #c92d3a; --d-accent-2: #b3261e; --d-accent-text: #b3261e; --d-ink: #131a24;
  --d-lift: 0 1px 2px rgb(19 26 36 / .05), 0 8px 20px -6px rgb(19 26 36 / .1);
  color-scheme: light; color: var(--d-ink);
  background:
    radial-gradient(circle min(640px, 100vw) at 85% 0, rgb(var(--d-barber) / .1), transparent 70%),
    radial-gradient(ellipse min(900px, 120vw) 700px at 0 25%, rgb(120 156 214 / .18), transparent 70%),
    radial-gradient(ellipse min(900px, 120vw) 700px at 100% 60%, rgb(120 156 214 / .14), transparent 70%),
    linear-gradient(to bottom, #f6f8fb, var(--d-bg) 600px);
  background-repeat: no-repeat;
}
/* White panels raised on soft shadows; the picture cards keep their own look */
[data-theme="light"] .dark :is(.hero, .spot, .quick > *, .ev:not(.pic), .row, .cats a, .towns a) { box-shadow: var(--d-lift); }
[data-theme="light"] .dark :is(.quick > *, .ev:not(.pic), .row, .cats a, .towns a):hover { box-shadow: 0 2px 4px rgb(19 26 36 / .06), 0 14px 28px -8px rgb(19 26 36 / .16); }
/* Header */
[data-theme="light"] .dark .top { background: rgb(246 248 251 / .85); border-bottom-color: var(--d-line); }
[data-theme="light"] .dark :is(.brand, .who, .find input, .w-panel, .theme) { color: var(--d-ink); }
[data-theme="light"] .dark .theme:hover { background: var(--d-raise); color: var(--d-ink); }
[data-theme="light"] .dark .top .cta { background: var(--d-ink); color: #fff; }
[data-theme="light"] .dark .top .cta:hover { background: rgb(var(--d-barber)); }
/* Buttons in general: dark on light; the outlined ones stay outlined */
[data-theme="light"] .dark :where(button, .btn) { background: var(--d-ink); color: #fff; border-color: var(--d-ink); }
[data-theme="light"] .dark .btn-line { background: transparent; color: var(--d-ink); border-color: var(--d-line-2); }
[data-theme="light"] .dark .theme { background: transparent; border-color: var(--d-line-2); }
[data-theme="light"] .dark .theme:hover { background: var(--d-raise); }
[data-theme="light"] .dark .dots button { background: none; border: 0; }
[data-theme="light"] .dark .ev.pic .ev-go { color: var(--d-ink); }
/* Headline: the picture fades into the light page on the left, where the text sits */
[data-theme="light"] .dark .hero { background: var(--d-bg2); border-color: rgb(var(--d-barber) / .3); }
[data-theme="light"] .dark .hero::after { background: radial-gradient(ellipse 60% 85% at 0 100%, rgb(var(--d-barber) / .12), transparent 70%), linear-gradient(90deg, rgb(255 255 255 / .97) 0%, rgb(255 255 255 / .86) 42%, rgb(255 255 255 / .15) 100%); }
[data-theme="light"] .dark .eyebrow { background: rgb(var(--d-barber) / .08); border-color: rgb(var(--d-barber) / .35); color: var(--d-ink); }
[data-theme="light"] .dark .pill { color: var(--d-ink); }
[data-theme="light"] .dark .pill.solid { color: #fff; }
[data-theme="light"] .dark .pill:not(.solid) { background: rgb(255 255 255 / .7); }
/* Section heads and arrows */
[data-theme="light"] .dark .head h2, [data-theme="light"] .dark .all:hover { color: var(--d-ink); }
[data-theme="light"] .dark .featured .head h2 { color: var(--d-accent-text); }
[data-theme="light"] .dark .ic { background: var(--d-bg2); color: var(--d-ink); border-color: var(--d-line); }
/* Cards without a picture: white with dark text; cards with one keep their dark shade and white text */
[data-theme="light"] .dark .ev { color: var(--d-ink); }
[data-theme="light"] .dark .ev.pic { color: #fff; }
[data-theme="light"] .dark .ev-art { stroke: rgb(19 26 36 / .07); }
[data-theme="light"] .dark .ev:not(.pic) .chip { background: var(--d-raise); border-color: var(--d-line); }
[data-theme="light"] .dark .ev:not(.pic) .badge { color: var(--d-ink); border-color: rgb(22 25 28 / .35); }
[data-theme="light"] .dark .ev:not(.pic) .badge.now { color: #17663a; }
[data-theme="light"] .dark .ev:not(.pic) .badge.warn { color: #8a4b00; }
[data-theme="light"] .dark .ev:not(.pic) .ev-go { background: var(--d-ink); color: #fff; }
[data-theme="light"] .dark .ev.pic .ev-where { color: rgb(255 255 255 / .85); }
/* Quick tiles, compact rows, category and place tiles */
[data-theme="light"] .dark .quick > * { background: var(--d-bg2); color: var(--d-ink); border-color: var(--d-line); }
[data-theme="light"] .dark .quick > :hover { background: var(--d-raise); color: var(--d-ink); }
[data-theme="light"] .dark .quick svg { background: rgb(var(--d-barber) / .1); stroke: var(--d-accent-text); }
[data-theme="light"] .dark .quick > :first-child svg { background: rgb(var(--d-barber)); stroke: #fff; }
[data-theme="light"] .dark :is(.row, .cats a, .towns a, .provs a) { color: var(--d-ink); }
[data-theme="light"] .dark .cal b { color: var(--d-ink); }
[data-theme="light"] .dark .cats svg { stroke: #344152; }
[data-theme="light"] .dark .cats li:first-child svg { stroke: var(--d-accent-text); }
/* The AI & Tech panel: its picture fades into white */
[data-theme="light"] .dark .spot { border-color: rgb(var(--d-barber) / .3); background: radial-gradient(ellipse 80% 55% at 100% 100%, rgb(var(--d-barber) / .06), transparent 70%) no-repeat, var(--d-bg2); }
[data-theme="light"] .dark .spot::before { background: linear-gradient(to bottom, rgb(255 255 255 / .05) 0, rgb(255 255 255 / .5) 180px, rgb(255 255 255 / .94) 330px, var(--d-bg2) 460px); }
/* Footer */
[data-theme="light"] .dark .foot { background: radial-gradient(ellipse 70% 100% at 50% 0, rgb(var(--d-barber) / .07), transparent 70%) no-repeat, #e6ebf2; border-top-color: rgb(var(--d-barber) / .45); color: var(--d-text2); }
[data-theme="light"] .dark .foot .mark { color: #d6dde7; }
[data-theme="light"] .dark .foot nav a { color: var(--d-ink); }
@media (max-width: 760px) {
  [data-theme="light"] .dark .dock { background: rgb(255 255 255 / .9); }
  [data-theme="light"] .dark .dock a[aria-current] { background: rgb(var(--d-barber) / .12); color: var(--d-ink); }
  [data-theme="light"] .dark .dock a:hover { color: var(--d-ink); }
}
@media (max-width: 600px) {
  [data-theme="light"] .dark .hero::after { background: radial-gradient(ellipse 90% 45% at 0 100%, rgb(var(--d-barber) / .1), transparent 70%), linear-gradient(to bottom, transparent 0, rgb(255 255 255 / .3) 90px, rgb(255 255 255 / .85) 150px, var(--d-bg2) 200px); }
  [data-theme="light"] .dark .spot::before { background: linear-gradient(to bottom, rgb(255 255 255 / .05) 0, rgb(255 255 255 / .55) 130px, var(--d-bg2) 300px); }
}
/* The switch's label: "Light mode" on wider screens; on phones the short "Light", beside Sign in on the top row */
.theme-short { display: none; }
@media (max-width: 759px) {
  .dark .theme { order: -1; margin-left: auto; height: 34px; padding: 0 10px 0 6px; }
  .dark .theme + .who { margin-left: 0; }
  .theme-long { display: none; }
  .theme-short { display: inline; }
}

/* Long lists, 30 at a time (owner, 2026-11-19): grey placeholder cards while the next events load, like Meetup's list, with a
   slow shimmer; the new cards then rise in one after another (BrewedOps' "Infinite scroll" and "Staggered list entrance").
   Both are still for visitors who ask for less motion. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skel { min-height: 340px; background: var(--d-card, #f2f2f2); border-color: var(--d-line, #e5e5e5); pointer-events: none; }
.skel::before, .skel::after { content: ""; position: absolute; left: 18px; border-radius: 8px; background: var(--d-raise, #e8e8e8); }
.skel::before { top: 18px; width: 38%; height: 26px; border-radius: 999px; }
.skel::after { right: 18px; bottom: 18px; height: 96px; }
@media (prefers-reduced-motion: no-preference) {
  .skel { background-image: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .06) 50%, transparent 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
  @keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
  .arrive { animation: arrive .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
  @keyframes arrive { from { opacity: 0; transform: translateY(16px); } }
}

/* The category bar on the event lists (owner, 2026-11-19, after Meetup's): an icon over each name, in one row that scrolls
   sideways, the category shown underlined in Barber Red. */
.typebar { display: flex; align-items: center; gap: 12px; margin: 8px 0 28px; border-bottom: 1px solid var(--d-line, #e5e5e5); }
.typebar-row { display: flex; gap: 4px; min-width: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.typebar-row.armed { scrollbar-width: none; }
.typebar-row.armed::-webkit-scrollbar { display: none; }
.typebar-row a { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px; max-width: 132px; padding: 10px 10px 12px; color: var(--d-text2, #555); border-bottom: 3px solid transparent; font-size: .8125rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; scroll-snap-align: start; transition: color .15s, border-color .15s; }
.typebar-row a:hover { color: #fff; }
.typebar-row a[aria-current] { color: #fff; border-bottom-color: rgb(var(--d-barber, 179 38 30)); }
.typebar-row svg { width: 40px; height: 40px; padding: 9px; background: rgb(var(--d-barber, 179 38 30) / .16); border-radius: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.typebar-row a[aria-current] svg { background: rgb(var(--d-barber, 179 38 30)); stroke: #fff; }
.typebar .arrows { flex: none; margin-left: auto; }
@media (max-width: 600px) { .typebar-row a { min-width: 84px; } .typebar .arrows { display: none; } }

/* "See all" above the quick tiles (owner, 2026-11-19): down to every category's tile */
.quick-head { display: flex; margin: 56px 0 10px; }
.quick-head + .quick { margin-top: 0; }
@media (max-width: 600px) { .quick-head { margin-top: 44px; } }

/* Light mode on the other pages (owner, 2026-11-19): the parts only they have */
[data-theme="light"] .dark :where(input, select, textarea), [data-theme="light"] .dark .filters label :is(input, select), [data-theme="light"] .dark .form textarea { color: var(--d-ink); }
[data-theme="light"] .dark button.line { background: transparent; color: var(--d-ink); border-color: var(--d-line-2); }
[data-theme="light"] .dark :is(.btn-line, button.line):hover { background: var(--d-raise); color: var(--d-ink); }
[data-theme="light"] .dark .btn-buy { background: rgb(var(--d-barber)); color: #fff; border-color: rgb(var(--d-barber)); }
[data-theme="light"] .dark .tabs a { background: var(--d-bg2); color: var(--d-ink); box-shadow: var(--d-lift); }
[data-theme="light"] .dark .tabs a[aria-current] { background: rgb(var(--d-barber)); color: #fff; }
[data-theme="light"] .dark :is(.filters details > summary, .go a:hover, .more a, .banner, .notice, .typebar-row a:hover, .typebar-row a[aria-current]) { color: var(--d-ink); }
[data-theme="light"] .dark :is(.filterbox, .ticket, .notice, .banner) { box-shadow: var(--d-lift); }
[data-theme="light"] .dark .more a { background: var(--d-bg2); }
[data-theme="light"] .dark .badge { color: var(--d-ink); border-color: rgb(19 26 36 / .35); }
[data-theme="light"] .dark .badge.now { color: #17663a; }
[data-theme="light"] .dark .badge.warn { color: #8a4b00; }
[data-theme="light"] .dark :is(.ev.pic, .hero, .scene) .badge { color: #fff; border-color: rgb(255 255 255 / .5); }
[data-theme="light"] .dark .badge.sp { color: var(--d-ink); }
[data-theme="light"] .dark .skel { background-image: linear-gradient(100deg, transparent 30%, rgb(19 26 36 / .05) 50%, transparent 70%); }
