/* Inter (bundled in template/fonts, copied to /assets/fonts; base.njk preloads both files). font-display: block
   keeps the big type from jumping from a fallback font; the preload makes the wait short. */
@font-face { font-family: "Inter"; font-style: normal; font-display: block; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-opsz-normal.woff2) format("woff2-variations");
  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: "Inter"; font-style: normal; font-display: block; font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");
  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; }
/* Until Inter arrives the page is laid out (invisibly) in this fallback: Arial resized to Inter's widths and line
   heights per weight (median over ~1,350 real text runs on the site, measured in Chromium 2026-11-19), so swapping to Inter doesn't re-wrap lines and
   move the rows. Phones without Arial (Android) use system-ui. */
@font-face { font-family: "Inter Fallback"; font-weight: 100 599; src: local("Arial"), local("ArialMT");
  size-adjust: 105.6%; ascent-override: 91.74%; descent-override: 22.93%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 600 799; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 102.2%; ascent-override: 94.79%; descent-override: 23.70%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-weight: 800 900; src: local("Arial Black"), local("Arial-Black");
  size-adjust: 91.3%; ascent-override: 106.11%; descent-override: 26.53%; line-gap-override: 0%; }
/* Strobe board: club LED timetable meets rave poster.
   Tokens are the Instagram template values (template/*.html). Hard cuts, no fades, no rounded cards. */
:root {
  --bg: #0B0B0C;
  --fg: #F2F2F0;
  --acid: #C6FF00;
  --mute: #8A8A86;
  --rule: #262626;
  --love: #F01F78;    /* saved/hovered ♡, the same everywhere (Engin, 2026-11-19): 4.9:1 on --bg, 3.4 on acid, 3.6 on --fg */
  --pad: clamp(16px, 4vw, 40px);
  --max: 1180px;
  /* scales (Phase 7): type, space, touch */
  /* Type (2026-11-19 pass): one family (Inter), three weights, a short size scale, four spacings.
     Weights: 400 text, 700 labels/support lines, 900 titles and headlines. */
  --fs-label: 12px;   /* uppercase labels, chips, small tags */
  --fs-meta: 14px;    /* venue · price · genre lines, notes */
  --fs-body: 16px;    /* text, times, buttons */
  --fs-title: 20px;   /* list names, facts, line-up */
  --fs-h2: clamp(26px, 5vw, 40px);
  --fs-h1: clamp(40px, 8vw, 84px);
  --fs-display: clamp(64px, 16vw, 200px);
  --ls-display: -.055em; /* headlines (the hero label widths in catalog.js/site.js are measured at this) */
  --ls-title: -.02em;    /* titles and names */
  --ls-label: .08em;     /* uppercase labels */
  --fw-label: 700;
  /* Accent (2026-11-19 pass): acid only for tonight, the main action and "now" states (today, the active
     filter, the countdown), plus hover/focus. Everything else is --fg or --mute. */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
  --tap: 44px;        /* minimum touch target */
  --head-h: 56px;     /* measured by site.js */
  --z-head: 20; --z-filters: 19; --z-sheet: 40;
}
* { box-sizing: border-box; }
/* Always reserve the scrollbar's space, so short and long pages line up (no sideways jump between pages). */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: "Inter", "Inter Fallback", system-ui, sans-serif; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
::selection { background: var(--acid); color: var(--bg); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 2px; }
.skip { position: absolute; left: -999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* parts that only work with JavaScript (filters, toggles) stay out of the no-JS page */
html:not(.js) [data-js] { display: none !important; }
.skip:focus { left: 8px; top: 8px; background: var(--acid); color: var(--bg); padding: 8px 12px; z-index: 9; }
.muted { color: var(--mute); }
/* Both languages are in the HTML; lang.js sets data-lang on <html> and this hides the other one.
   No data-lang (JavaScript off) = Turkish. */
:root:not([data-lang="en"]) [data-l="en"], :root[data-lang="en"] [data-l="tr"] { display: none !important; }
.small { font-size: var(--fs-meta); }
.label, .kicker, .section-head, .nav a, .pill, .btn, .actions a, .facts dt, .night-head, .ticker, .pager a, .cta b, .stats {
  font-weight: var(--fw-label); letter-spacing: var(--ls-label); font-size: var(--fs-label); text-transform: none;
}
.kicker { color: var(--fg); margin: 0 0 10px; }
.label { color: var(--mute); margin: 0 0 6px; }
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 48px; }
/* Safety net: nothing inside main may widen the page sideways on phones (clip, unlike hidden, keeps sticky working). */
main { overflow-x: clip; }

/* ---------- top bar: one row everywhere ----------
   Phones: logo + tools; the five sections move into the filter chips (lists) and the home page.
   Without JavaScript the nav row stays (wraps under the logo) so every page is reachable. */
.top { position: sticky; top: 0; z-index: var(--z-head); background: var(--bg); border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: 6px var(--pad); min-height: 56px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; font-size: var(--fs-label); letter-spacing: .12em;
  white-space: nowrap; min-height: var(--tap); }
.brand .wave { width: 68px; height: 22px; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; padding: 0 10px; white-space: nowrap; min-height: var(--tap); display: flex; align-items: center; }
.nav a[aria-current="page"] { color: var(--acid); }
.nav a:hover { background: var(--acid); color: var(--bg); }
.top-tools { display: flex; align-items: center; gap: var(--sp-2); }
/* TR/EN switch: the active language is white, the other grey. Hidden until site.js runs (it does nothing without JS). */
.lang-toggle { display: flex; align-items: center; gap: 6px; flex: none; font: inherit; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label);
  background: none; color: var(--mute); border: 1px solid var(--rule); border-radius: 0; padding: 0 10px; min-height: 36px; cursor: pointer; position: relative; }
.lang-toggle::after { content: ""; position: absolute; inset: -4px 0; } /* 44px hit area */
/* shown from the first paint when JavaScript is on (lang.js adds .js in <head>); it used to appear only after
   site.js ran, and the header links jumped sideways on every page load */
:root:not([data-lang="en"]) .lang-toggle [data-v="tr"], :root[data-lang="en"] .lang-toggle [data-v="en"] { color: var(--fg); }
/* hover fills only where there is a mouse: on phones a tap left the button "hovered" (stuck green) */
@media (hover: hover) {
  .lang-toggle:hover { background: var(--acid); color: var(--bg); }
  .lang-toggle:hover [data-v] { color: var(--bg) !important; }
}
/* the header slides away while scrolling down a list and comes back on the way up (site.js, phones only) */
html.head-hidden .top { transform: translateY(-100%); }
@media (max-width: 899px) {
  .brand { font-size: 12px; gap: 10px; }
  .brand .wave { width: 56px; height: 18px; }
  .js .nav { display: none; }
  html:not(.js) .top { flex-wrap: wrap; }
  html:not(.js) .nav { order: 3; width: 100%; justify-content: space-between; }
  html:not(.js) .nav a { padding: 0; font-size: clamp(10px, 3.1vw, 12px); letter-spacing: .03em; }
}

/* ---------- waveform logo: equalizer ---------- */
.wave rect { fill: var(--fg); transform-box: fill-box; transform-origin: bottom; animation: eq .9s steps(3) infinite alternate; }
.wave rect.acid { fill: var(--acid); }
/* staggered bars (no inline styles: the CSP blocks them) */
.wave rect:nth-child(1){animation-delay:0ms} .wave rect:nth-child(2){animation-delay:37ms} .wave rect:nth-child(3){animation-delay:74ms} .wave rect:nth-child(4){animation-delay:111ms} .wave rect:nth-child(5){animation-delay:148ms} .wave rect:nth-child(6){animation-delay:185ms} .wave rect:nth-child(7){animation-delay:222ms} .wave rect:nth-child(8){animation-delay:259ms} .wave rect:nth-child(9){animation-delay:296ms} .wave rect:nth-child(10){animation-delay:333ms} .wave rect:nth-child(11){animation-delay:370ms} .wave rect:nth-child(12){animation-delay:7ms} .wave rect:nth-child(13){animation-delay:44ms} .wave rect:nth-child(14){animation-delay:81ms} .wave rect:nth-child(15){animation-delay:118ms} .wave rect:nth-child(16){animation-delay:155ms} .wave rect:nth-child(17){animation-delay:192ms}
@keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* ---------- big type ----------
   Turkish capitals reach past a tight line box: the dots of İ Ö Ü sit .95em above the baseline, the tails of Ç Ş
   .21em below it. Line-height 1 keeps a second line's dots off the first line; the padding keeps them off the
   kicker above and the line below (İZMİR's dot hit "4 ETKİNLİK"). Measured: scratchpad accents_qa.py. */
.mega { font-weight: 900; letter-spacing: var(--ls-display); line-height: 1; margin: 0; padding: .1em 0 .08em; font-size: var(--fs-display); }
.mega-sm { font-size: clamp(48px, 11vw, 140px); }
.page-head { padding: 28px 0 22px; border-bottom: 1px solid var(--rule); }
.stats { display: flex; gap: 28px; color: var(--mute); margin: 18px 0 8px; }
.stats b { display: block; font-size: var(--fs-h2); letter-spacing: var(--ls-title); color: var(--fg); line-height: 1; }
.pills { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- pills, buttons ---------- */
.pill { display: inline-block; background: transparent; color: var(--fg); border: 1px solid var(--rule); border-radius: 99px; padding: 6px 9px 4px calc(9px + var(--ls-label)); font-size: var(--fs-label); white-space: nowrap; text-decoration: none; line-height: 1; }
.pill-line { background: transparent; color: var(--fg); border: 1px solid var(--rule); }
.btn { display: block; text-align: center; background: var(--fg); color: var(--bg); text-decoration: none; padding: 18px; font-size: var(--fs-body); margin: 22px 0 12px; }
.btn:hover { background: var(--acid); }
.actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; }
.actions a { color: var(--mute); text-decoration: none; padding: 4px 0; }
.actions a:hover { background: var(--acid); color: var(--bg); }

/* ---------- home ---------- */
.hero { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 22px 0 6px; }
.hero .kicker { margin: 0; }
.countdown { margin: 0; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.countdown .label { display: inline; }
.countdown b { color: var(--acid); font-variant-numeric: tabular-nums; font-size: var(--fs-body); font-weight: 900; }

/* ---------- a night: header bar + board rows ---------- */
.night { margin-top: var(--sp-5); scroll-margin-top: calc(var(--head-h) + 64px); }
.night-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0;
  background: var(--fg); color: var(--bg); padding: 6px 10px; }
.night-label { font-size: var(--fs-meta); }
.night.is-hero { margin-top: 6px; }
.night.is-hero .night-head { background: none; color: var(--fg); padding: 0 0 14px; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--rule); }
.night.is-hero .night-label { font-size: clamp(64px, 17vw, 210px); font-weight: 900; letter-spacing: var(--ls-display); line-height: 1; padding: .06em 0 .06em; }
.night.is-hero .night-date { color: var(--fg); }
.rows { list-style: none; margin: 0; padding: 0; }
/* row: time | who + where | city tag */
.row a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: var(--sp-3); align-items: start;
  padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-height: var(--tap); }
.row a:hover, .row a:focus-visible { background: var(--acid); color: var(--bg); outline: none; }
.row a:hover :is(.row-meta, .row-support, .row-date, .row-flag, .row-city), .row a:focus-visible :is(.row-meta, .row-support, .row-date, .row-flag, .row-city) { color: var(--bg); border-color: var(--bg); }
.row a:hover .row-support::before { color: var(--bg); }
.row-when { display: flex; flex-direction: column; font-weight: 900; font-variant-numeric: tabular-nums; }
.row-time { font-size: var(--fs-body); }
.row-date { font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); color: var(--mute); white-space: nowrap; }
.row-main { min-width: 0; }
.row-flag { display: block; font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); color: var(--fg); margin-bottom: 2px; }
.row-title { font-weight: 900; font-size: clamp(17px, 2.4vw, 24px); line-height: 1.08; letter-spacing: var(--ls-title); text-transform: uppercase;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-support { display: block; font-size: var(--fs-meta); font-weight: 700; margin-top: 3px; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-support::before { content: "+ "; color: var(--mute); }
.row-meta { display: block; color: var(--mute); font-size: var(--fs-meta); margin-top: 3px; }
.row-cancel { color: var(--fg); }
/* City tag: a filled, rounded pill on every screen (an outline alone vanished on black; an acid fill on every
   row was too loud). On an acid row (hover, tonight's card) it turns into a black pill. */
.row-city { font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); color: var(--fg); background: var(--rule);
  border: 1px solid var(--rule); border-radius: 99px; margin-top: 2px;
  /* centred: line-height 1 puts Inter capitals in the middle of the box, the extra left padding balances the
     letter-spacing after the last letter */
  display: inline-flex; align-items: center; height: 22px; line-height: 1; padding: 1px 8px 0 calc(8px + var(--ls-label)); }
/* İST / İZM: the dot of İ makes the word look high, so it sits ~1px lower (ANK / FES stay exactly centred) */
.row-city[data-dot] { padding-top: 2px; }
/* featured: an acid bar in the left margin (instead of the old dot), so the columns stay aligned */
.row.is-featured a { position: relative; }
.row.is-featured a::before { content: ""; position: absolute; left: -10px; top: 12px; bottom: 12px; width: 3px; background: var(--acid); }
.row.is-cancelled .row-title { text-decoration: line-through; text-decoration-thickness: 3px; color: var(--mute); }
.row.is-past { opacity: .45; }
.past .rows .row a { padding: 9px 0; }
.past .row-title { font-size: var(--fs-body); }
@media (min-width: 900px) {
  .row a { grid-template-columns: 90px minmax(0, 1fr) auto; padding: 16px 8px; }
}
/* ---------- smaller-circuit nights ("scale": "small"; label in src/_data/config.js) ----------
   Sibling of the Instagram "paper" look: a paper tag set slightly off-square, a dotted perforation line,
   and lighter mixed-case names (headline nights stay uppercase). No acid except the shared hover. */
.small-group { margin-top: var(--sp-3); }
.small-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 16px 0 8px;
  background: radial-gradient(circle, var(--mute) 1.2px, transparent 1.7px) 0 0 / 9px 6px repeat-x; }
.small-tag { display: inline-block; background: var(--fg); color: var(--bg); font-weight: 900; font-size: var(--fs-label);
  letter-spacing: var(--ls-label); line-height: 1; padding: 6px 8px 5px calc(8px + var(--ls-label)); transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 var(--mute); }
.small-sub { color: var(--mute); font-size: var(--fs-meta); }
.row.is-small .row-title { text-transform: none; font-weight: 800; font-size: clamp(16px, 2vw, 20px); letter-spacing: -.01em; }
/* hide the label when the filter or past-event hiding leaves nothing in the group */
.small-group:not(:has(.row:not([hidden]):not(.is-filtered))) { display: none; }
.gcell.is-small { border-style: dashed; }
.gcell.is-small span { text-transform: none; font-weight: 800; }
.pill.pill-small { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.rail-small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: var(--sp-4); padding: 12px 8px; border: 1px dashed var(--mute); text-decoration: none; }
.rail-small b { font-weight: 800; font-size: var(--fs-body); }
.rail-small .small-sub { flex-basis: 100%; }
.rail-small:hover, .rail-small:focus-visible { background: var(--acid); color: var(--bg); border-color: var(--acid); outline: none; }
.rail-small:hover .small-sub, .rail-small:focus-visible .small-sub { color: var(--bg); }

/* the home hero: tonight's featured events become cards, the first one acid */
.night.is-hero .row.is-featured a::before { content: none; }
.night.is-hero .row.is-featured a { border: 1px solid var(--rule); background: #141414; margin: 10px 0 0; padding: 14px 14px 14px 12px; }
.night.is-hero .row.is-featured:first-child a { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.night.is-hero .row.is-featured:first-child a :is(.row-meta, .row-support, .row-flag, .row-city) { color: var(--bg); border-color: var(--bg); }
.night.is-hero .row.is-featured:first-child .row-support::before { color: var(--bg); }
.night.is-hero .row.is-featured .row-title { font-size: clamp(22px, 3.4vw, 34px); }

/* ---------- date strip ---------- */
/* sideways only: overflow-y hidden so a finger can't drag the strip up/down, overscroll contained so a swipe at
   the end doesn't move the page or trigger "back" */
.date-strip { position: relative; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; padding: var(--sp-3) var(--pad) var(--sp-2); margin: 0 calc(var(--pad) * -1); }
.date-strip::-webkit-scrollbar { display: none; }
.date-strip a { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; min-width: 52px; min-height: var(--tap); padding: 6px 8px;
  border: 1px solid var(--rule); text-decoration: none; font-weight: 900; }
.ds-day { font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); color: var(--mute); }
.ds-num { font-size: var(--fs-title); letter-spacing: var(--ls-title); line-height: 1.1; }
.ds-dots { display: flex; gap: 3px; height: 6px; margin-top: 2px; }
.ds-dots i { width: 4px; height: 4px; background: var(--mute); border-radius: 50%; }
.date-strip a[aria-current="date"] { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.date-strip a[aria-current="date"] .ds-day { color: var(--bg); }
.date-strip a[aria-current="date"] .ds-dots i { background: var(--bg); }
.date-strip a:hover { border-color: var(--acid); }
.date-strip a[hidden] { display: none; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: var(--bg); color: var(--fg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 30px calc(var(--pad) * -1) 0; padding: 9px 0; font-size: var(--fs-body); white-space: nowrap; text-transform: uppercase; }
.ticker-track { display: inline-flex; animation: tick 40s linear infinite; }
.ticker-track span { padding-right: 0; }
.ticker i { font-style: normal; opacity: .45; padding: 0 10px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- link grid ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin-top: 34px; }
.cta { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-decoration: none; }
.cta b { font-size: var(--fs-title); font-weight: 900; letter-spacing: var(--ls-title); }
.cta .label { margin: 0; }
.cta:hover { background: var(--acid); color: var(--bg); }
.cta:hover .muted, .cta:hover .label { color: var(--bg); }
.pager { display: flex; justify-content: space-between; margin-top: 28px; }
.pager a { text-decoration: none; padding: 10px 0; }
.pager a:hover { background: var(--acid); color: var(--bg); }
.section-head { margin: 30px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--fg); }
.empty { color: var(--mute); padding: 26px 0; }

/* ---------- event page ---------- */
.event { display: grid; gap: 0; margin-top: 18px; }
@media (min-width: 900px) { .event { grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; } .date-block { position: sticky; top: 76px; } }
.date-block { background: var(--acid); color: var(--bg); padding: 16px 18px 18px; margin: 0 calc(var(--pad) * -1); }
@media (min-width: 900px) { .date-block { margin: 0; } }
.date-block .back { font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-decoration: none; }
.date-block .back:hover { background: var(--bg); color: var(--acid); }
.date-num { font-weight: 900; font-size: clamp(120px, 34vw, 220px); letter-spacing: var(--ls-display); line-height: .78; margin: 18px 0 8px; }
.date-line { font-weight: 900; font-size: var(--fs-body); letter-spacing: var(--ls-label); margin: 0; }
.stamp { display: inline-block; margin: 12px 0 0; background: var(--bg); color: var(--acid); font-weight: 900; padding: 4px 8px; letter-spacing: var(--ls-label); }
.event-title { font-weight: 900; font-size: var(--fs-h1); letter-spacing: var(--ls-display); line-height: 1; margin: 22px 0 12px; padding: .1em 0 .08em; text-transform: uppercase; overflow-wrap: anywhere; }
.event.is-cancelled .event-title { text-decoration: line-through; text-decoration-thickness: 6px; }
.event-sub { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.event-sub a { font-weight: 700; }
.lineup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 14px; }
.lineup li { font-weight: 900; font-size: var(--fs-title); text-transform: uppercase; letter-spacing: var(--ls-title); }
.lineup li + li::before { content: "/"; color: var(--mute); margin-right: 14px; }
.copy { border-left: 3px solid var(--rule); padding-left: 14px; margin: 22px 0; max-width: 62ch; }
.copy p { margin: 0 0 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); margin: 22px 0 0; }
.facts div { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.facts div:nth-child(odd) { border-right: 1px solid var(--rule); }
.facts div:nth-child(even) { padding-left: 12px; }
.facts dt { color: var(--mute); }
.facts dd { margin: 4px 0 0; font-weight: 900; font-size: var(--fs-title); letter-spacing: var(--ls-title); }
.facts dd a { text-decoration: none; }
.facts dd a:hover { background: var(--acid); color: var(--bg); }
.sources { margin-top: 18px; color: var(--mute); font-size: var(--fs-meta); }
.sources summary { cursor: pointer; font-weight: var(--fw-label); letter-spacing: var(--ls-label); font-size: var(--fs-label); }
.sources ul { padding-left: 18px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); padding: 30px var(--pad) 40px; max-width: var(--max); margin: 0 auto; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 20px; }
.big-link { font-weight: 900; font-size: var(--fs-h2); letter-spacing: var(--ls-title); text-decoration: none; }
.big-link:hover { background: var(--acid); color: var(--bg); }
.feeds { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.feeds a { text-decoration: none; }
.feeds a:hover { background: var(--acid); color: var(--bg); }

/* ---------- placeholder page (404) ---------- */
.soon { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
.soon h1 { font-weight: 900; text-transform: uppercase; letter-spacing: var(--ls-display); font-size: var(--fs-display); line-height: 1; margin: 0; padding-top: .1em; }
.soon h1 { margin-bottom: 32px; }
.soon .ig { align-self: flex-start; font-weight: 900; text-decoration: none; border: 1px solid var(--rule); padding: 12px 16px; }

@media (prefers-reduced-motion: reduce) {
  .wave rect, .ticker-track { animation: none; }
}

/* ---------- submit form (/submit/) ---------- */
.lede { max-width: 62ch; font-size: var(--fs-body); margin: 18px 0 0; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 26px; max-width: 900px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }
.field label { font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.field label .muted { font-weight: 400; letter-spacing: 0; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 2px solid var(--rule);
  border-radius: 0; padding: 10px 0; width: 100%; color-scheme: dark;
}
.form textarea { resize: vertical; }
.form select option { background: var(--bg); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--acid); }
.form input[type="file"] { border-bottom: 0; padding: 6px 0; }
.form input::placeholder, .form textarea::placeholder { color: #55554f; }
.hint { color: var(--mute); font-size: var(--fs-label); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; margin: 0; }
.form .btn:disabled { opacity: .5; cursor: wait; }
.status { margin: 12px 0 0; font-weight: 700; min-height: 1.5em; }
.status.is-ok { color: var(--acid); }
.status.is-error { color: #FF6B6B; }
.send-link { font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-decoration: none; color: var(--fg); }
.send-link:hover { background: var(--acid); color: var(--bg); }
.cta-acid { background: transparent; color: var(--fg); }
.cta-acid:hover { background: var(--acid); color: var(--bg); }
.cta-acid:hover .label, .cta-acid:hover .muted { color: var(--bg); }

/* ---------- line-up links, ticker links ---------- */
.lineup a { text-decoration: none; }
.lineup a:hover, .lineup a:focus-visible { background: var(--acid); color: var(--bg); outline: none; }
.lineup-extra { color: var(--mute); font-weight: 700; }
/* a room/stage label starts a new line; no "/" before it or before its first act */
.lineup li.lineup-label { flex-basis: 100%; color: var(--mute); font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); margin-top: 8px; }
.lineup li.lineup-label:first-child { margin-top: 0; }
.lineup li.lineup-label::before, .lineup li.lineup-label + li::before { content: none; }
.ticker a { text-decoration: none; }
.ticker a:hover, .ticker a:focus-visible { background: var(--acid); color: var(--bg); outline: none; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }

/* ---------- where (event) / venue facts ---------- */
.place { margin: 22px 0 0; border-top: 1px solid var(--rule); padding-top: 12px; }
.place-name { margin: 0; font-weight: 900; font-size: var(--fs-title); letter-spacing: var(--ls-title); }
.place-name a { text-decoration: none; }
.place-name a:hover { background: var(--acid); color: var(--bg); }
.place-addr { margin: 4px 0 0; color: var(--mute); }
.venue-facts { margin-top: 18px; }
.venue-facts { grid-template-columns: minmax(0, 1fr); }
.venue-facts div { border-right: 0 !important; padding-left: 0 !important; }
.venue-facts dd { font-size: var(--fs-body); letter-spacing: 0; font-weight: 700; }

/* ---------- artists A–Z ---------- */
.az { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 18px; }
.az a { font-weight: var(--fw-label); font-size: var(--fs-meta); text-decoration: none; padding: 6px 8px; border: 1px solid var(--rule); }
.az a:hover { background: var(--acid); color: var(--bg); }
.az-group { scroll-margin-top: 90px; }
.name-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.name-grid li { padding-right: 22px; }
.name-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: var(--ls-title); }
.name-grid a:hover { background: var(--acid); color: var(--bg); }
.name-grid a:hover .pill { color: var(--bg); border-color: var(--bg); }

/* ---------- genre tags ---------- */
.genre-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.genre-tags .pill:hover { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.event-genres { margin: -6px 0 18px; }
.page-head .event-genres { margin: 10px 0 0; }
.kicker-link { text-decoration: none; }
.kicker-link:hover { background: var(--acid); color: var(--bg); }

/* ---------- filters (filter.js): chip bar, sheet ---------- */
.filters { position: sticky; top: var(--head-h); z-index: var(--z-filters); background: var(--bg); margin: 0 calc(var(--pad) * -1);
  padding: var(--sp-2) var(--pad); border-bottom: 1px solid var(--rule); }
html.head-hidden .filters { top: 0; }
/* sideways only (see .date-strip). The chips' 44px tap areas (::after, 5px above and below) used to make the row's
   content 4-5px taller than the row, so it could be dragged up and down on phones; the padding gives them room inside
   the scroll box and the negative margin keeps the layout where it was. */
.chips { position: relative; display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
  padding-block: 5px; margin-block: -5px; }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; font: inherit; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); white-space: nowrap; cursor: pointer; text-transform: uppercase;
  color: var(--fg); background: transparent; border: 1px solid var(--rule); border-radius: 99px; min-height: 34px;
  line-height: 1; padding: 0 12px 0 calc(12px + var(--ls-label)); } /* centred: see .row-city */
.chip::after { content: ""; position: absolute; inset: -5px 0; } /* 44px hit area */
.chip:hover { border-color: var(--acid); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.chip b { color: var(--mute); margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] b { color: var(--bg); }
.chip-clear { color: var(--mute); }
.chip[hidden] { display: none; }
.sheet-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); z-index: var(--z-sheet); }
.sheet { position: fixed; z-index: calc(var(--z-sheet) + 1); left: 0; right: 0; bottom: 0; max-height: 85vh; overflow-y: auto;
  background: var(--bg); border-top: 2px solid var(--fg); padding: var(--sp-4) var(--pad) 0; }
@media (min-width: 900px) {
  .sheet { left: 50%; right: auto; bottom: auto; top: 12vh; width: min(640px, 92vw); transform: translateX(-50%); border: 1px solid var(--rule); border-top: 2px solid var(--fg); }
}
.sheet[hidden], .sheet-back[hidden] { display: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head .label { margin: 0; }
.sheet-close { font: inherit; font-size: 26px; line-height: 1; background: none; border: 0; color: var(--fg); min-width: var(--tap); min-height: var(--tap); cursor: pointer; }
.sheet .label { margin: var(--sp-4) 0 var(--sp-2); }
.sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-foot { position: sticky; bottom: 0; background: var(--bg); display: flex; gap: var(--sp-2); padding: var(--sp-4) 0; margin-top: var(--sp-4); border-top: 1px solid var(--rule); }
.btn-line, .btn-acid { font: inherit; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); min-height: var(--tap); padding: 0 var(--sp-4); cursor: pointer; border-radius: 0; }
.btn-line { background: transparent; color: var(--fg); border: 1px solid var(--rule); }
.btn-acid { flex: 1; background: var(--acid); color: var(--bg); border: 1px solid var(--acid); }
.btn-line:hover { border-color: var(--fg); }
.filter-empty { color: var(--mute); padding: var(--sp-5) 0; }
.filter-empty[hidden] { display: none; }
.link-btn { font: inherit; color: var(--fg); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; min-height: var(--tap); }
.row.is-filtered, .night.is-filtered { display: none; }
html.sheet-open { overflow: hidden; }

/* ---------- touch targets ---------- */
.actions a { min-height: var(--tap); display: inline-flex; align-items: center; }
.pager a, .az a, .feeds a, .send-link { min-height: var(--tap); display: inline-flex; align-items: center; }
.pill-line { min-height: 32px; display: inline-flex; align-items: center; position: relative; }
.pill-line::after { content: ""; position: absolute; inset: -6px 0; }
@media (prefers-reduced-motion: reduce) { html.head-hidden .top { transform: none; } }

/* ---------- search (search.js) ---------- */
.search-btn { display: flex; align-items: center; gap: 6px; min-height: var(--tap); min-width: var(--tap); justify-content: center; padding: 0 8px;
  text-decoration: none; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--fg); }
@media (hover: hover) { .search-btn:hover { background: var(--acid); color: var(--bg); } }
.search-btn-label { display: none; }
@media (min-width: 900px) { .search-btn-label { display: inline; } .search-btn { border: 1px solid var(--rule); min-height: 36px; } }
/* map icon next to search (/map/) */
.map-btn { display: flex; align-items: center; justify-content: center; min-height: var(--tap); min-width: var(--tap); color: var(--fg); }
.map-btn[aria-current="page"] { color: var(--acid); }
@media (hover: hover) { .map-btn:hover { background: var(--acid); color: var(--bg); } }
@media (min-width: 900px) { .map-btn { border: 1px solid var(--rule); min-height: 36px; min-width: 36px; } }
.search { position: fixed; inset: 0; z-index: calc(var(--z-sheet) + 2); background: var(--bg); overflow-y: auto; padding: 0 var(--pad) var(--sp-7); }
.search[hidden] { display: none; }
.search-bar { position: sticky; top: 0; background: var(--bg); display: flex; align-items: center; gap: var(--sp-3); border-bottom: 2px solid var(--acid);
  max-width: 760px; margin: 0 auto; padding: var(--sp-2) 0; }
.search-bar input { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-title); font-weight: 700; color: var(--fg); background: transparent; border: 0; padding: 10px 0; min-height: var(--tap); }
.search-bar input:focus { outline: none; }
.search-bar input::placeholder { color: #55554f; }
.search-results { max-width: 760px; margin: 0 auto; }
.search-results .label { margin: var(--sp-5) 0 var(--sp-1); }
.search-hint { color: var(--mute); padding: var(--sp-5) 0; }
.search-list { list-style: none; margin: 0; padding: 0; }
.search-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--rule); text-decoration: none; min-height: var(--tap); }
.search-list a:hover, .search-list a:focus-visible { background: var(--acid); color: var(--bg); outline: none; }
.sr-name { font-weight: 900; font-size: var(--fs-title); text-transform: uppercase; letter-spacing: var(--ls-title); }
.sr-meta { color: var(--mute); font-size: var(--fs-meta); }
.search-list a:hover .sr-meta, .search-list a:focus-visible .sr-meta { color: var(--bg); }

/* ---------- event page (Phase 7 step 4) ---------- */
.date-top { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); }
.date-block .back { min-height: var(--tap); display: inline-flex; align-items: center; }
.rel { font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.date-line { margin-top: 4px; }
.date-cta { display: none; }
@media (min-width: 900px) {
  .date-cta { display: flex; flex-direction: column; gap: 2px; margin-top: var(--sp-5); background: var(--bg); color: var(--acid); text-decoration: none;
    padding: 16px; font-weight: 900; letter-spacing: var(--ls-label); font-size: var(--fs-body); }
  .date-cta small { color: var(--fg); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: var(--fw-label); }
  .date-cta:hover { background: var(--fg); color: var(--bg); }
  .date-cta:hover small { color: var(--bg); }
}
.event-title { margin-bottom: var(--sp-3); }
.event-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 var(--sp-4); }
.event-tags .muted { font-size: var(--fs-meta); margin-left: 4px; }
.pill-static::after { content: none; }
.key-facts { margin: 0 0 var(--sp-5); }
.key-facts .facts-wide { grid-column: 1 / -1; border-right: 0 !important; padding-left: 0 !important; }
.key-facts dd small { display: block; font-size: var(--fs-meta); font-weight: 400; letter-spacing: 0; color: var(--mute); margin-top: 2px; }
.key-facts dd a { text-decoration: none; }
.key-facts dd a:hover { background: var(--acid); color: var(--bg); }
/* venue name + address on the left, the directions icon on the right */
.key-facts .venue-dd { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.key-facts .venue-dd > span { min-width: 0; }
/* not the acid fill of the venue-name link on touch screens (a tap left it green) */
.key-facts dd a.dir-btn:hover { background: none; color: var(--fg); }
@media (hover: hover) { .key-facts dd a.dir-btn:hover { background: var(--acid); border-color: var(--acid); color: var(--bg); } }
/* venue page: the directions icon in the top right corner, on the kicker's line (the name below keeps the full width) */
.venue-top { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.venue-top .kicker { margin: 0; }
/* the facts' last rule closes the venue header (the map link that sat below them moved to the icon) */
.venue .page-head { padding-bottom: 0; border-bottom: 0; }
.copy-src { font-size: var(--fs-meta); }
.copy-src a { color: var(--mute); }
.event-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--sp-5) 0 var(--sp-2); }
.act { font: inherit; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--fg); background: transparent; border: 1px solid var(--rule);
  min-height: var(--tap); padding: 0 14px; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.act:hover { background: var(--acid); color: var(--bg); border-color: var(--acid); }
.share-status { color: var(--acid); font-weight: 700; min-height: 1.5em; margin: 0; }
.related { margin-top: var(--sp-6); }
.related .section-head { margin-top: 0; }
/* phones: price + ticket button pinned to the bottom of the screen */
.ticket-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-head); display: flex; align-items: center; gap: var(--sp-3);
  background: var(--bg); border-top: 1px solid var(--rule); padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); }
.tb-info { flex: 1; margin: 0; display: flex; flex-direction: column; line-height: 1.2; }
.tb-info small { color: var(--mute); font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); }
.tb-info b { font-size: var(--fs-title); letter-spacing: var(--ls-title); }
.tb-btn { background: var(--acid); color: var(--bg); text-decoration: none; font-weight: 900; font-size: var(--fs-meta); letter-spacing: var(--ls-label);
  min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; }
.tb-btn:hover { background: var(--fg); }
.ticket-bar.is-cancelled .tb-info b { color: var(--mute); }
@media (max-width: 899px) { body:has(.ticket-bar) .foot { padding-bottom: 110px; } }
@media (min-width: 900px) { .ticket-bar { display: none; } }
.genre-tags .pill, .up { text-transform: uppercase; }

/* ---------- save ♡ (saved.js) ---------- */
.row { position: relative; }
.row a { padding-right: 44px; }
/* the ♡ sits at the bottom of the row and the city tag at the top: a two-line row (title + venue, common for ARA SOKAK
   nights) was too short for both, and the heart touched the tag. Keep ~10px between them (measured, heart_gap.py). */
.row a { min-height: 88px; }
@media (min-width: 900px) { .row a { min-height: 90px; } }
.save-btn { position: absolute; right: 0; bottom: 6px; width: var(--tap); height: var(--tap); display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--mute); cursor: pointer; padding: 0; }
@media (hover: hover) { .save-btn:hover { color: var(--love); } }
.save-btn[aria-pressed="true"], .save-act[aria-pressed="true"] { color: var(--love); }
.save-btn[aria-pressed="true"] path, .save-act[aria-pressed="true"] path, .saved-link path { fill: currentColor; }
.row a:hover ~ .save-btn:not([aria-pressed="true"]) { color: var(--bg); }
.save-act { gap: 8px; }
.save-act .save-on, .save-act[aria-pressed="true"] .save-off { display: none; }
.save-act[aria-pressed="true"] .save-on { display: inline; }
.save-act[aria-pressed="true"] { border-color: var(--love); }
.saved-link { display: none; position: relative; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); color: var(--love); text-decoration: none; }
html.has-saved .saved-link { display: flex; }
.saved-link b { position: absolute; top: 6px; right: 2px; min-width: 16px; height: 16px; border-radius: 99px; background: var(--fg); color: var(--bg);
  font-size: 10px; line-height: 16px; text-align: center; padding: 0 3px; }
.saved-link b:empty { display: none; }
@media (hover: hover) { .saved-link:hover { background: var(--acid); color: var(--bg); } }
/* /gecelerim/ */
.saved-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--sp-4) 0; }
.saved-remove { position: absolute; right: 0; bottom: 6px; width: var(--tap); height: var(--tap); background: none; border: 0; color: var(--mute); font-size: 22px; cursor: pointer; }
.saved-remove:hover { color: var(--love); }

/* ---------- our post images ---------- */
.post-image { margin: var(--sp-5) 0; max-width: 420px; border: 1px solid var(--rule); }
.post-image img, .week-cover { display: block; width: 100%; height: auto; }
.week-cover { max-width: 220px; margin-top: var(--sp-4); border: 1px solid var(--rule); }

/* ---------- home rail (featured cards, genres, submit) ---------- */
.rail { margin-top: var(--sp-6); }
.rail-head { margin: 0 0 var(--sp-2); color: var(--mute); }
.hl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hl-card { position: relative; display: block; border: 1px solid var(--rule); text-decoration: none; background: #141414; aspect-ratio: 4 / 5; overflow: hidden; }
.hl-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-card .hl-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px; background: var(--bg); border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.hl-type .hl-text { position: static; border: 0; background: none; height: 100%; justify-content: flex-end; }
.hl-date { font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); color: var(--mute); }
.hl-title { font-weight: 900; font-size: var(--fs-meta); line-height: 1.1; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-card:hover { border-color: var(--acid); }
.hl-card:hover .hl-text { background: var(--acid); color: var(--bg); }
.hl-card:hover .hl-date { color: var(--bg); }
.hl-card.is-past, .hl-card[hidden] { display: none; }
.rail-genres { margin-top: var(--sp-5); }
.rail-cta { margin-top: var(--sp-5); border: 1px solid var(--rule); }
@media (min-width: 1100px) {
  .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
  /* sticks exactly where it starts (header + margin), so a small scroll doesn't nudge it up 8px first */
  .rail { position: sticky; top: calc(var(--head-h) + var(--sp-5)); margin-top: var(--sp-5); }
  .hl-card:nth-child(n+5) { display: none; }
  .home .filters { margin-right: 0; }
  .home .date-strip { margin-right: 0; }
}
/* The rail is ~930px tall (genre ranking + the small-nights link, 2026-11-24; was ~840): on shorter windows (laptops)
   a sticky rail would hide its bottom (the submit box) until the end of the page, so there it just scrolls with the
   page. Threshold = 81px top + rail height + margin; re-measure when the rail grows
   (document.querySelector('.rail').offsetHeight on the home page at 1440 wide). */
@media (min-width: 1100px) and (max-height: 1023px) {
  .rail { position: static; }
}

/* ---------- week: list / grid ---------- */
.view-toggle { display: none; gap: 6px; margin-top: var(--sp-4); }
.week-grid { display: none; }
@media (min-width: 1100px) {
  .view-toggle { display: flex; }
  .js[data-week-view="grid"] .week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: var(--sp-4); }
  .js[data-week-view="grid"] .week-list { display: none; }
  .week .page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; }
  .week .page-head > * { grid-column: 1; }
  .week .page-head > .week-cover { grid-column: 2; grid-row: 1 / span 4; margin: 0; align-self: end; max-width: 200px; }
}
.wg-head { margin: 0 0 6px; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); color: var(--mute); border-bottom: 1px solid var(--fg); padding-bottom: 6px; }
.wg-head b { color: var(--fg); font-weight: 900; font-size: var(--fs-title); letter-spacing: var(--ls-title); }
.wg-day.is-empty .wg-head { border-bottom-color: var(--rule); }
.gcell { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--rule); padding: 8px; margin-bottom: 6px; text-decoration: none; font-size: var(--fs-label); }
.gcell b { font-size: var(--fs-label); }
.gcell span { font-weight: 900; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.gcell small { color: var(--mute); }
.gcell.is-featured { border-color: var(--acid); }
.gcell.is-cancelled span { text-decoration: line-through; color: var(--mute); }
.gcell.is-past { opacity: .45; }
.gcell.is-filtered { display: none; }
.gcell:hover { background: var(--acid); color: var(--bg); }
.gcell:hover small { color: var(--bg); }

/* ---------- desktop: event text width, artist/venue two columns ---------- */
@media (min-width: 1100px) {
  .event-body { max-width: 760px; }
  .split { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
  .split-info { position: sticky; top: calc(var(--head-h) + 16px); }
  .split .page-head { border-bottom: 0; }
  .split .mega-sm { font-size: clamp(40px, 4.4vw, 76px); overflow-wrap: anywhere; }
  .split-main > section:first-child .section-head, .split-main > section:first-child { margin-top: 28px; }
}

/* ---------- fit logo + search + ♡ + TR/EN on a 320–375px phone ---------- */
.row a { padding-right: 0; grid-template-columns: 52px minmax(0, 1fr) 44px; }
.row-city { justify-self: end; }
@media (min-width: 900px) { .row a { grid-template-columns: 90px minmax(0, 1fr) 64px; } }
@media (max-width: 899px) {
  .top { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .top-tools { gap: 0; }
  .brand { letter-spacing: .06em; gap: 8px; }
  .lang-toggle { padding: 0 8px; }
}
/* logo text gives way to the tools (search, map, ♡ when something is saved, TR/EN) on narrow phones */
@media (max-width: 374px) { .brand span { display: none; } }
@media (max-width: 419px) { html.has-saved .brand span { display: none; } }

@media (min-width: 1100px) {
  .home-grid .night.is-hero .night-label { font-size: clamp(72px, 10vw, 150px); white-space: nowrap; }
}

/* ---------- step 8: sold out, empty states ---------- */
.row-sold { color: var(--fg); font-weight: var(--fw-label); letter-spacing: var(--ls-label); }
.pill-sold { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- hero cards (tonight's featured events): same columns as the plain rows ----------
   The card reaches 12px past the row on each side (into the page gutter), so its time, title, city tag
   and ♡ line up with the rows around it; its own padding is the 12px it reaches out (minus the border). */
.night.is-hero .row.is-featured a { --bleed: 12px; margin: 10px calc(var(--bleed) * -1) 0;
  padding: 14px calc(var(--bleed) - 1px) 14px calc(var(--bleed) - 1px); }
@media (min-width: 900px) {
  .night.is-hero .row.is-featured a { padding: 16px calc(var(--bleed) - 1px) 16px calc(var(--bleed) + 8px); }
}
.night.is-hero .row.is-featured .save-btn { right: 0; }
/* hover/focus: the dark card turns acid like every row (it kept its dark background, so the text vanished) */
.night.is-hero .row.is-featured a:hover, .night.is-hero .row.is-featured a:focus-visible { background: var(--acid); border-color: var(--acid); color: var(--bg); }
/* the acid card turns white instead; an unsaved ♡ on it is dark, a saved or hovered one pink (--love) */
.night.is-hero .row.is-featured:first-child a:hover, .night.is-hero .row.is-featured:first-child a:focus-visible { background: var(--fg); border-color: var(--fg); }
.night.is-hero .row.is-featured:first-child .save-btn:not([aria-pressed="true"]) { color: var(--bg); }
/* Desktop: rows are inset 12px on both sides, so the cards stay inside the column (no bleed past the rule
   lines) and every hover fill, card and divider has the same edges. */
@media (min-width: 900px) {
  .row a { padding-left: 12px; padding-right: 12px; }
  .night.is-hero .row.is-featured a { margin: 10px 0 0; padding: 16px 11px 16px 12px; }
  .row .save-btn, .night.is-hero .row.is-featured .save-btn, .saved-remove { right: 12px; }
  .past .rows .row .save-btn { right: 0; }
}
/* Phones: no room to inset every row, so the card reaches into the gutter; a hovered/tapped plain row
   fills the same width so the acid blocks match. */
@media (max-width: 899px) {
  .row a:hover, .row a:focus-visible { box-shadow: -12px 0 0 var(--acid), 12px 0 0 var(--acid); }
  .night.is-hero .row.is-featured a:hover, .night.is-hero .row.is-featured a:focus-visible { box-shadow: none; }
}

/* ---------- step 9: accessibility, no layout shift ---------- */
/* The hero line keeps its space from the first paint (JS fills it), so the nights below don't jump down. */
.countdown[data-pending] { visibility: hidden; }
.countdown { white-space: nowrap; }
/* The ticker can be paused on touch screens too (hover/focus already pause it). */
.ticker { position: relative; }
.ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-pause { position: absolute; right: 0; top: 0; bottom: 0; width: var(--tap); border: 0; border-left: 1px solid var(--rule);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 900; font-size: var(--fs-label); cursor: pointer; padding: 0; }
.ticker-pause:hover { background: var(--acid); color: var(--bg); }
.ticker-pause .tp-play, .ticker.is-paused .ticker-pause .tp-pause { display: none; }
.ticker.is-paused .ticker-pause .tp-play { display: inline; }
@media (prefers-reduced-motion: reduce) { .ticker-pause { display: none; } }

/* ---------- big home label always fits ("TOMORROW", "WEDNESDAY" were cut off on phones) ----------
   Each word carries its width in em (data-w); the font size is capped at column width / that, so short words
   (YARIN) stay as big as before and long ones shrink just enough. No measuring in the browser, so no jump. */
.night.is-hero .night-head { container-type: inline-size; }
.night.is-hero .night-label [data-w] { font-size: min(1em, calc(100cqi / var(--w, 6))); }
.night.is-hero .night-label [data-w="2.25"] { --w: 2.25; }
.night.is-hero .night-label [data-w="3"] { --w: 3; }
.night.is-hero .night-label [data-w="3.25"] { --w: 3.25; }
.night.is-hero .night-label [data-w="3.5"] { --w: 3.5; }
.night.is-hero .night-label [data-w="4"] { --w: 4; }
.night.is-hero .night-label [data-w="4.25"] { --w: 4.25; }
.night.is-hero .night-label [data-w="4.5"] { --w: 4.5; }
.night.is-hero .night-label [data-w="5"] { --w: 5; }
.night.is-hero .night-label [data-w="5.25"] { --w: 5.25; }
.night.is-hero .night-label [data-w="5.5"] { --w: 5.5; }
.night.is-hero .night-label [data-w="5.75"] { --w: 5.75; }
.night.is-hero .night-label [data-w="6"] { --w: 6; }

/* city pill on an acid row: dark (see .row-city) */
.row a:hover .row-city, .row a:focus-visible .row-city,
.night.is-hero .row.is-featured:first-child a .row-city { background: var(--bg); color: var(--fg); border-color: var(--bg); }

/* ---------- home rail: genres ranked by upcoming events (was a pill cloud in file order) ---------- */
.genre-rank { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.genre-rank a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  min-height: var(--tap); padding: 0 var(--sp-2); border-bottom: 1px solid var(--rule); text-decoration: none; isolation: isolate; }
.genre-rank a::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: var(--p, 5%); background: var(--rule); z-index: -1; }
.gr-name { font-weight: var(--fw-label); font-size: var(--fs-meta); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gr-n { font-weight: 900; font-size: var(--fs-meta); font-variant-numeric: tabular-nums; }
.genre-rank a:hover, .genre-rank a:focus-visible { background: var(--acid); color: var(--bg); outline: none; }
/* hovered/focused: a clean acid fill, no bar showing through */
.genre-rank a:hover::before, .genre-rank a:focus-visible::before { content: none; }
.gr-all { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: var(--fw-label); font-size: var(--fs-label);
  letter-spacing: var(--ls-label); color: var(--mute); text-decoration: none; }
.gr-all:hover { background: var(--acid); color: var(--bg); }
/* the desktop rail is sticky (see .rail): mouse-only rows are 30px so it stays short */
@media (min-width: 1100px) and (hover: hover) { .genre-rank a { min-height: 30px; } .gr-all { min-height: 32px; } }
.genre-rank a[data-p="5"] { --p: 5%; }
.genre-rank a[data-p="10"] { --p: 10%; }
.genre-rank a[data-p="15"] { --p: 15%; }
.genre-rank a[data-p="20"] { --p: 20%; }
.genre-rank a[data-p="25"] { --p: 25%; }
.genre-rank a[data-p="30"] { --p: 30%; }
.genre-rank a[data-p="35"] { --p: 35%; }
.genre-rank a[data-p="40"] { --p: 40%; }
.genre-rank a[data-p="45"] { --p: 45%; }
.genre-rank a[data-p="50"] { --p: 50%; }
.genre-rank a[data-p="55"] { --p: 55%; }
.genre-rank a[data-p="60"] { --p: 60%; }
.genre-rank a[data-p="65"] { --p: 65%; }
.genre-rank a[data-p="70"] { --p: 70%; }
.genre-rank a[data-p="75"] { --p: 75%; }
.genre-rank a[data-p="80"] { --p: 80%; }
.genre-rank a[data-p="85"] { --p: 85%; }
.genre-rank a[data-p="90"] { --p: 90%; }
.genre-rank a[data-p="95"] { --p: 95%; }
.genre-rank a[data-p="100"] { --p: 100%; }

/* ♡ on tonight's acid card: hovering it turns it pink like everywhere else (a saved one already is) */
@media (hover: hover) { .night.is-hero .row.is-featured:first-child .save-btn:hover { color: var(--love); } }

/* ---------- directions icon (macros dirLink, map.js; src/assets/js/directions.js) ----------
   Outlined 44px square with the diamond turn-arrow; on iPhone a bottom sheet asks Google or Apple Maps. */
.dir-btn { flex: none; display: flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); border: 1px solid var(--rule); color: var(--fg); }
@media (hover: hover) { .dir-btn:hover { background: var(--acid); border-color: var(--acid); color: var(--bg); } }
.dir-pick { position: fixed; inset: 0; z-index: calc(var(--z-sheet) + 2); display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .6); }
.dir-pick[hidden] { display: none; }
.dir-pick-box { width: 100%; max-width: 480px; background: var(--bg); border-top: 1px solid var(--rule); padding: var(--sp-4) var(--pad) calc(var(--sp-4) + env(safe-area-inset-bottom)); }
.dir-pick-title { margin: 0 0 var(--sp-2); color: var(--mute); font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.dir-pick-app { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--rule); font-weight: 900; font-size: var(--fs-title); letter-spacing: var(--ls-title); text-decoration: none; color: var(--fg); }
.dir-pick-close { width: 100%; min-height: var(--tap); margin-top: var(--sp-3); border: 1px solid var(--rule); background: none; color: var(--fg); cursor: pointer;
  font: inherit; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }

/* ---------- tonight map (/map/, src/assets/js/map.js) ----------
   Google map with our dark Map ID; tags are our own pills (white, acid for a featured night). Card + list below. */
.mappage { padding-bottom: var(--sp-6); }
@media (min-width: 900px) { .mappage { padding-top: var(--sp-5); } }
/* location not allowed (yet): why, and a button to ask again */
.map-ask { margin: var(--sp-4) 0; padding: var(--sp-4); border: 1px solid var(--rule); }
.map-ask[hidden], .map-ask-blocked[hidden], .map-empty[hidden] { display: none; }
.map-ask-text { margin: 0; font-size: var(--fs-body); line-height: 1.45; }
.map-ask-blocked { margin: var(--sp-2) 0 0; font-size: var(--fs-meta); line-height: 1.45; }
.map-ask-btn { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: var(--sp-3); padding: 0 16px; border: 0; cursor: pointer;
  background: var(--acid); color: var(--bg); font: inherit; font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
@media (hover: hover) { .map-ask-btn:hover { background: var(--fg); } }
/* nothing tonight */
.map-empty { margin: 0; padding: var(--sp-7) 0; font-weight: 900; font-size: var(--fs-h2); line-height: 1.05; letter-spacing: var(--ls-title); text-transform: uppercase; }
.map-canvas { height: min(62vh, 560px); min-height: 320px; margin: 0 calc(var(--pad) * -1); background: var(--bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) { .map-canvas { margin: 0; border: 1px solid var(--rule); } }
.map-wrap { position: relative; }
.map-wrap[hidden], .map-none[hidden] { display: none; }
/* "nothing near you tonight", on top of the map */
.map-none { position: absolute; z-index: 1; top: var(--sp-4); left: 50%; transform: translateX(-50%); max-width: calc(100% - 2 * var(--sp-4)); margin: 0;
  width: max-content; padding: 11px 16px 10px calc(16px + var(--ls-label)); border-radius: 99px; background: var(--fg); color: var(--bg); text-align: center; pointer-events: none;
  font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); text-transform: uppercase; line-height: 1.3;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.map-status { color: var(--mute); font-size: var(--fs-meta); margin: var(--sp-2) 0 0; }
.map-status:empty { display: none; }
.map-card { border: 1px solid var(--rule); padding: var(--sp-3) var(--sp-4); margin-top: var(--sp-3); }
.map-ev + .map-ev { border-top: 1px solid var(--rule); margin-top: var(--sp-3); padding-top: var(--sp-3); }
/* one directions icon pinned to the card's top right corner; the first event's text keeps clear of it */
.map-card { position: relative; }
.map-card > .dir-btn { position: absolute; top: var(--sp-3); right: var(--sp-4); }
.map-card > .dir-btn + .map-ev > .map-meta, .map-card > .dir-btn + .map-ev > .map-title, .map-card > .dir-btn + .map-ev > .map-support { margin-right: calc(var(--tap) + var(--sp-2)); }
.map-meta { margin: 0; font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: var(--ls-label); color: var(--mute); }
.map-flag { color: var(--acid); font-weight: var(--fw-label); }
.map-title { margin: 4px 0 0; font-weight: 900; font-size: var(--fs-title); line-height: 1.1; letter-spacing: var(--ls-title); text-transform: uppercase; }
/* the title links to the event page; on hover the acid fill hugs the words (line by line when it wraps), mouse only */
.map-title a { text-decoration: none; color: var(--fg); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (hover: hover) { .map-title a:hover { background: var(--acid); color: var(--bg); } }
.map-support { margin: 4px 0 0; font-size: var(--fs-meta); font-weight: 700; }
/* venue · price on the left; BİLET AL (acid, main action) + directions icon on the right; wraps on a narrow card */
.map-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-2) var(--sp-3); margin-top: var(--sp-2); }
.map-place { margin: 0; color: var(--mute); font-size: var(--fs-meta); }
.map-acts { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
.map-ticket { flex: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; background: var(--acid); color: var(--bg);
  text-decoration: none; font-weight: 900; font-size: var(--fs-meta); letter-spacing: var(--ls-label); }
.map-ticket:hover { background: var(--fg); }
.map-sold { flex: none; display: inline-flex; align-items: center; min-height: var(--tap); padding-right: var(--sp-2); font-weight: var(--fw-label); font-size: var(--fs-label); letter-spacing: var(--ls-label); }
.map-list { list-style: none; margin: 0; padding: 0; }
.map-list[hidden] { display: none; }
/* a row = the event (shows it on the map) + a directions icon */
.map-li { display: grid; grid-template-columns: minmax(0, 1fr) var(--tap); align-items: center; gap: var(--sp-2); border-bottom: 1px solid var(--rule); }
.map-row { width: 100%; min-height: var(--tap); display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--sp-3); padding: 12px 0;
  text-align: left; font: inherit; color: var(--fg); background: none; border: 0; cursor: pointer; }
.map-go { display: flex; align-items: center; justify-content: center; width: var(--tap); height: var(--tap); color: var(--fg); }
@media (hover: hover) { .map-go:hover { background: var(--acid); color: var(--bg); } }
.map-row-time { font-weight: 900; font-variant-numeric: tabular-nums; }
.map-row-main b { display: block; font-weight: 900; text-transform: uppercase; letter-spacing: var(--ls-title); }
.map-row-meta { display: block; color: var(--mute); font-size: var(--fs-meta); }
.map-row.is-on .map-row-time { color: var(--acid); }
@media (hover: hover) { .map-row:hover { background: var(--acid); color: var(--bg); } .map-row:hover .map-row-meta, .map-row:hover .map-row-time { color: var(--bg); } }
.map-note { margin-top: var(--sp-4); }
/* on the map: the venue tags (AdvancedMarkerElement content) and "you are here" */
.map-tag { position: relative; margin-bottom: 6px; padding: 6px 10px; border: 0; border-radius: 99px; background: var(--fg); color: var(--bg); cursor: pointer;
  font: inherit; font-size: var(--fs-label); font-weight: var(--fw-label); letter-spacing: .02em; white-space: nowrap; box-shadow: 0 0 0 2px var(--bg); }
.map-tag b { font-weight: 900; }
.map-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 5px solid transparent; border-bottom: 0; border-top-color: var(--fg); }
.map-tag.is-featured { background: var(--acid); }
.map-tag.is-featured::after { border-top-color: var(--acid); }
.map-tag.is-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }
.map-tag.is-featured.is-on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--acid); }
.map-me { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--fg); border: 3px solid var(--bg); box-shadow: 0 0 0 9px rgba(242, 242, 240, .16); }
