/* TicketWhistle — "night match": a mown pitch under floodlights, chalk lines, paper tickets.
   Layout: asymmetric hero (headline + form | tilted ticket stub), LED ticker band, sticker-album club wall,
   departure-board of sale windows, paper panels for long reading. Single committed look (dark pitch). */
:root {
  --pitch: #11402c;
  --pitch-2: #144a33;
  --pitch-deep: #0b2e1f;
  --chalk: #f1efe4;
  --chalk-dim: #c9cfc0;
  --line: rgba(241, 239, 228, .28);
  --ink: #17160f;
  --ink-soft: #4a4838;
  --paper: #f4eedb;
  --paper-2: #e9e1c6;
  --ticket: #f3c33c;
  --stamp: #d9412e;
  --led: #ffcf3f;
  --led-bg: #0a0d0b;
  --ok: #2f9e5b;
  --f-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --f-board: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-ar-display: "Reem Kufi", "Noto Kufi Arabic", "Geeza Pro", sans-serif;
  --f-ar-body: "IBM Plex Sans Arabic", "Noto Sans Arabic", "Geeza Pro", sans-serif;
  --r: 6px;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--chalk);
  background-color: var(--pitch);
  /* mowing stripes */
  background-image: repeating-linear-gradient(90deg, var(--pitch) 0 120px, var(--pitch-2) 120px 240px);
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--f-ar-body); }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ticket); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--pitch-deep); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--pitch-deep) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .01em; line-height: 1; }
.brand-word i { font-style: normal; color: var(--ticket); }
.top nav { margin-inline-start: auto; display: flex; gap: 6px 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { font-family: var(--f-board); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; text-decoration: none; color: var(--chalk-dim); }
.top nav a:hover { color: var(--chalk); }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.langs a { padding: 3px 10px; font-size: .82rem !important; color: var(--chalk-dim); }
.langs a[aria-current="true"] { background: var(--chalk); color: var(--ink) !important; }
@media (max-width: 720px) { .top nav .navlink { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 6vw, 72px) clamp(36px, 6vw, 80px); overflow: hidden; }
.hero::before { /* chalk centre circle + halfway line */
  content: ""; position: absolute; inset-inline-end: -180px; top: 50%; width: 640px; height: 640px; transform: translateY(-50%);
  border: 3px solid var(--line); border-radius: 50%; pointer-events: none;
}
.hero::after { content: ""; position: absolute; inset-inline-end: 140px; top: 0; bottom: 0; width: 3px; background: var(--line); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero::after { display: none; } }
.eyebrow { font-family: var(--f-board); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .95rem; color: var(--ticket); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 0 0 var(--stamp); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(217,65,46,.7); } 70% { box-shadow: 0 0 0 10px rgba(217,65,46,0); } 100% { box-shadow: 0 0 0 0 rgba(217,65,46,0); } }
h1, .h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 6.6vw, 5.4rem); line-height: .95; letter-spacing: -.01em; margin: 14px 0 18px; text-wrap: balance; text-transform: uppercase; }
html[dir="rtl"] h1, html[dir="rtl"] .h1, html[dir="rtl"] h2, html[dir="rtl"] .brand-word { font-family: var(--f-ar-display); font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.15; }
h1 .hl { color: var(--ticket); display: inline-block; position: relative; }
h1 .hl::after { content: ""; position: absolute; inset-inline: -2px; bottom: .04em; height: .12em; background: var(--stamp); transform: skewX(-12deg); z-index: -1; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--chalk); margin: 0 0 22px; }
.lede b { color: var(--ticket); font-weight: 700; }

/* signup */
.signup { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 18px; max-width: 560px; box-shadow: 0 18px 0 -10px rgba(0,0,0,.25); position: relative; }
.signup::before { /* tape */ content: ""; position: absolute; top: -11px; inset-inline-start: 28px; width: 92px; height: 22px; background: rgba(243,195,60,.85); transform: rotate(-3deg); }
.signup .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 520px) { .signup .row { grid-template-columns: minmax(0, 1fr); } }
.signup label { display: block; font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--ink-soft); margin-bottom: 4px; }
.signup input[type=email], .signup select { width: 100%; font: inherit; font-size: 1rem; padding: 12px 12px; border: 2px solid var(--ink); border-radius: 4px; background: #fffdf4; color: var(--ink); color-scheme: light; }
.signup .consent { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; color: var(--ink-soft); margin: 12px 0; line-height: 1.4; }
.signup .consent input { margin-top: 3px; accent-color: var(--pitch); }
.signup .consent a { color: var(--ink); }
.btn { appearance: none; border: 0; cursor: pointer; font-family: var(--f-display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .02em; padding: 14px 22px; border-radius: 4px; background: var(--stamp); color: #fff; box-shadow: 0 4px 0 #8f2416; transition: transform .08s, box-shadow .08s; width: 100%; }
html[dir="rtl"] .btn { font-family: var(--f-ar-display); font-weight: 700; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #8f2416; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #8f2416; }
.fine { font-size: .82rem; color: var(--ink-soft); margin: 10px 0 0; }
.fine b { color: var(--ink); }
.ok-msg { display: flex; gap: 10px; align-items: center; background: #e5f2e6; border: 2px solid var(--ok); color: #123; padding: 12px; border-radius: 4px; font-weight: 600; margin-top: 12px; }

/* ---------- ticket stub ---------- */
.stub { --tilt: -4deg; position: relative; background: var(--paper); color: var(--ink); border-radius: 10px; transform: rotate(var(--tilt)); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 2px 0 rgba(0,0,0,.15); display: grid; grid-template-columns: minmax(0, 1fr) 88px; max-width: 470px; margin-inline: auto; width: 100%;
  background-image: radial-gradient(rgba(23,22,15,.06) 1px, transparent 1.2px); background-size: 6px 6px; }
html[dir="rtl"] .stub { --tilt: 4deg; }
.stub-main { padding: 18px 20px 18px; min-width: 0; }
.stub-side { border-inline-start: 3px dashed rgba(23,22,15,.35); display: flex; align-items: center; justify-content: center; position: relative; background: var(--ticket); border-start-end-radius: 10px; border-end-end-radius: 10px; }
html[dir="rtl"] .stub-side { border-radius: 10px 0 0 10px; }
.stub-side::before, .stub-side::after { content: ""; position: absolute; inset-inline-start: -14px; width: 24px; height: 24px; border-radius: 50%; background: var(--pitch); }
.stub-side::before { top: -12px; } .stub-side::after { bottom: -12px; }
.stub-side span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-board); font-weight: 900; font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase; }
html[dir="rtl"] .stub-side span { transform: none; font-family: var(--f-ar-display); letter-spacing: 0; }
.stub .kicker { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--ink-soft); }
.stamp { display: inline-block; border: 2.5px solid var(--stamp); color: var(--stamp); padding: 2px 8px; border-radius: 4px; transform: rotate(-6deg); font-family: var(--f-board); font-weight: 900; letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; }
.stripes { display: flex; height: 10px; border-radius: 2px; overflow: hidden; margin: 12px 0 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.stripes i { flex: 1; }
.stub .club { font-family: var(--f-board); font-weight: 900; font-size: 2.1rem; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.stub .match { font-size: .98rem; margin: 6px 0 12px; color: var(--ink); overflow-wrap: anywhere; }
.stub .phase { display: inline-block; background: var(--ink); color: var(--paper); font-family: var(--f-board); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; padding: 3px 9px; border-radius: 3px; }
.stub .when { font-family: var(--f-board); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; margin: 12px 0 2px; letter-spacing: .02em; }
.stub .yours { font-size: .85rem; color: var(--ink-soft); min-height: 1.2em; }
.flap { display: flex; gap: 6px; margin: 14px 0 10px; direction: ltr; justify-content: flex-start; }
.flap .cell { text-align: center; }
.flap .d { display: block; min-width: 2.1ch; padding: 6px 6px 4px; font-family: var(--f-board); font-weight: 900; font-size: 2.1rem; line-height: 1; color: var(--led); background: var(--led-bg); border-radius: 5px; position: relative; font-variant-numeric: tabular-nums; }
.flap .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.18); }
.flap .u { display: block; font-family: var(--f-board); font-weight: 800; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.flap .sep { font-family: var(--f-board); font-weight: 900; font-size: 2rem; color: var(--ink); align-self: flex-start; padding-top: 4px; }
.src { font-size: .8rem; color: var(--ink-soft); overflow-wrap: anywhere; }
.src a { color: var(--ink); }

/* ---------- LED ticker ---------- */
.ticker { background: var(--led-bg); border-block: 3px solid #000; overflow: hidden; position: relative; }
.ticker::after { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(0,0,0,.55) 35%, transparent 36%); background-size: 4px 4px; pointer-events: none; }
.ticker-track { display: flex; gap: 48px; width: max-content; padding-block: 12px; animation: tick 70s linear infinite; direction: ltr; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-item { font-family: var(--f-board); font-weight: 800; font-size: 1.25rem; letter-spacing: .08em; text-transform: uppercase; color: var(--led); white-space: nowrap; text-shadow: 0 0 6px rgba(255,207,63,.55); }
.ticker-item b { color: #fff; font-weight: 900; }
.ticker-item em { font-style: normal; color: #ff6a52; }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding-inline: 16px; } .eyebrow .dot { animation: none; } }

/* ---------- sections ---------- */
section.band { padding-block: clamp(48px, 7vw, 96px); }
h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1; margin: 0 0 12px; text-wrap: balance; }
.sub { color: var(--chalk-dim); max-width: 44em; margin: 0 0 30px; }
.chalk-rule { height: 3px; background: var(--line); margin-block: 0; border: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { border: 3px solid var(--line); border-radius: var(--r); padding: 20px; position: relative; min-width: 0; }
.step .num { font-family: var(--f-board); font-weight: 900; font-size: 4.2rem; line-height: .8; color: var(--ticket); -webkit-text-stroke: 0; display: block; margin-bottom: 10px; }
.step h3 { font-family: var(--f-board); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; margin: 0 0 6px; letter-spacing: .02em; }
html[dir="rtl"] .step h3, html[dir="rtl"] .cromo .nm { font-family: var(--f-ar-display); text-transform: none; }
.step p { margin: 0; color: var(--chalk-dim); }
.mail { margin-top: 14px; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 10px 12px; font-size: .88rem; }
.mail .subj { font-weight: 700; display: block; }
.mail .from { color: var(--ink-soft); font-size: .78rem; }

/* album */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cromo { background: var(--paper); color: var(--ink); border-radius: 8px; text-decoration: none; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 0 -6px rgba(0,0,0,.28); transition: transform .15s; min-width: 0; }
.cromo:hover { transform: translateY(-4px) rotate(-1deg); }
.cromo .flag { display: flex; height: 64px; }
.cromo .flag i { flex: 1; }
.cromo .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cromo .nm { font-family: var(--f-board); font-weight: 900; text-transform: uppercase; font-size: 1.45rem; line-height: 1; }
.cromo .meta { font-size: .82rem; color: var(--ink-soft); }
.cromo .next { margin-top: auto; padding-top: 8px; font-size: .82rem; border-top: 1px dashed rgba(23,22,15,.3); }
.cromo .next b { font-family: var(--f-board); letter-spacing: .04em; font-size: .95rem; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; padding: 2px 7px; border-radius: 999px; border: 1.5px solid currentColor; width: max-content; max-width: 100%; }
.chip.direct { color: #1e6b3f; } .chip.headline { color: #8a5a00; } .chip.platform { color: #1d4f8f; }
.chip.dual { color: #fff; background: var(--ok); border-color: var(--ok); }

/* board */
.board { background: var(--led-bg); border-radius: 10px; padding: 8px; border: 3px solid #000; overflow-x: auto; }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 680px; }
.board th { text-align: start; font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #8b8f86; padding: 6px 12px; }
.board td { background: #141916; padding: 12px; vertical-align: middle; font-size: .95rem; }
.board td:first-child { border-start-start-radius: 6px; border-end-start-radius: 6px; }
.board td:last-child { border-start-end-radius: 6px; border-end-end-radius: 6px; }
.board .t { font-family: var(--f-board); font-weight: 900; font-size: 1.3rem; color: var(--led); white-space: nowrap; letter-spacing: .03em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.board .t small { display: block; font-size: .78rem; color: #9aa094; font-weight: 700; letter-spacing: .06em; }
.board .cl { display: flex; align-items: center; gap: 10px; font-family: var(--f-board); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; white-space: nowrap; }
.board .cl a { text-decoration: none; }
.mini { display: inline-flex; width: 22px; height: 14px; border-radius: 2px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.mini i { flex: 1; }
.board .ti { color: var(--chalk-dim); max-width: 36em; }
.pill { display: inline-block; font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.pill.general_sale { background: var(--ticket); color: var(--ink); }
.pill.member_sale { background: #2c5d8f; color: #fff; }
.pill.ballot, .pill.registration { background: #6b4fa0; color: #fff; }
.pill.on_sale { background: var(--ok); color: #fff; }
.pill.resale, .pill.accessibility, .pill.sold_out { background: #555; color: #fff; }
.board .so a { color: var(--chalk-dim); font-size: .85rem; }
.board .empty { color: #9aa094; text-align: center; padding: 26px; }
.tabs { display: inline-flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; background: transparent; color: var(--chalk-dim); border: 2px solid var(--line); padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }

/* story */
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } }
.letter { background: var(--paper); color: var(--ink); padding: clamp(20px, 4vw, 36px); border-radius: 4px; transform: rotate(.6deg); box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); position: relative; font-size: 1.08rem; }
.letter p { margin: 0 0 14px; max-width: 60ch; }
.letter .sign { font-family: var(--f-display); font-size: 1.5rem; margin: 8px 0 0; }
html[dir="rtl"] .letter .sign { font-family: var(--f-ar-display); }
.letter::before { content: ""; position: absolute; top: -12px; inset-inline-end: 40px; width: 110px; height: 24px; background: rgba(243,195,60,.85); transform: rotate(4deg); }
.bigquote { font-family: var(--f-display); text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.02; margin: 0; text-wrap: balance; }
html[dir="rtl"] .bigquote { font-family: var(--f-ar-display); text-transform: none; line-height: 1.3; }
.bigquote span { color: var(--ticket); }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 960px; }
@media (max-width: 760px) { .prices { grid-template-columns: minmax(0, 1fr); } }
.price { --tilt: 0deg; transform: none; max-width: none; }
.price .amount { font-family: var(--f-board); font-weight: 900; font-size: 3.4rem; line-height: 1; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 1.1rem; font-weight: 800; letter-spacing: .04em; }
.price ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: .95rem; }
.price li { display: flex; gap: 8px; }
.price li::before { content: "✓"; font-weight: 900; color: var(--pitch); }
.price.pro .stub-side { background: var(--stamp); color: #fff; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 2px solid var(--line); border-radius: var(--r); padding: 4px 16px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--f-board); font-weight: 900; font-size: 1.4rem; line-height: 1; color: var(--ticket); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 14px; color: var(--chalk-dim); }

/* dev */
.dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
@media (max-width: 860px) { .dev { grid-template-columns: minmax(0, 1fr); } }
pre.code { background: var(--led-bg); color: #d8e0d2; border-radius: 8px; padding: 16px; overflow-x: auto; font-size: .85rem; line-height: 1.5; margin: 0; direction: ltr; text-align: left; border: 2px solid #000; }
pre.code .k { color: var(--led); }
.dev h3 { font-family: var(--f-board); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; margin: 0 0 8px; }

/* paper page (club + legal) */
.paper-page { background: var(--paper); color: var(--ink); border-radius: 6px; padding: clamp(20px, 4vw, 44px); margin-block: 28px 56px; }
.paper-page h1 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--ink); }
.paper-page h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); margin-top: 34px; }
.paper-page h3 { font-family: var(--f-board); font-weight: 900; text-transform: uppercase; font-size: 1.25rem; margin: 22px 0 6px; }
.paper-page p, .paper-page li { max-width: 68ch; }
.paper-page a { color: #134a7c; }
.paper-page .meta-line { color: var(--ink-soft); font-size: .9rem; }
.answer { border-inline-start: 6px solid var(--stamp); background: #fff8e0; padding: 14px 18px; border-radius: 4px; font-size: 1.12rem; margin: 10px 0 20px; max-width: 68ch; }
.club-head { position: relative; padding-block: 28px 8px; }
.club-head .flag { display: flex; height: 18px; border-radius: 3px; overflow: hidden; max-width: 320px; margin-bottom: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.club-head .flag i { flex: 1; }
.crumbs { font-size: .85rem; color: var(--chalk-dim); }
.crumbs a { color: var(--chalk-dim); }
.wtable { overflow-x: auto; }
.wtable table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.wtable th, .wtable td { text-align: start; padding: 10px 8px; border-bottom: 1px solid rgba(23,22,15,.15); vertical-align: top; }
.wtable th { font-family: var(--f-board); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--ink-soft); }
.wtable td.t { font-family: var(--f-board); font-weight: 900; font-size: 1.1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: minmax(0, 1fr); } }
.side-card { background: var(--pitch); color: var(--chalk); border-radius: 6px; padding: 18px; }
.side-card .signup { margin-top: 10px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; font-size: .95rem; margin: 0; }
.facts dt { font-family: var(--f-board); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--chalk-dim); padding-top: 3px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts a { color: var(--ticket); }

/* footer */
footer.site { background: var(--pitch-deep); border-top: 3px solid var(--line); padding-block: 40px 48px; font-size: .9rem; color: var(--chalk-dim); }
footer.site .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .8fr)); gap: 28px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: minmax(0, 1fr); } }
footer.site h4 { font-family: var(--f-board); text-transform: uppercase; letter-spacing: .12em; color: var(--chalk); margin: 0 0 8px; font-size: .9rem; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
footer.site a { color: var(--chalk-dim); }
.disclaimer { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; max-width: 80ch; }

/* load sequence */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lede, .hero .signup, .hero .stub { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
  .hero .lede { animation-delay: .08s; } .hero .signup { animation-delay: .16s; }
  .hero .stub { animation: drop .9s cubic-bezier(.2,.9,.25,1.2) .25s both; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } }
  @keyframes drop { from { transform: translateY(-30px) rotate(calc(var(--tilt) - 8deg)); opacity: .001; } to { transform: rotate(var(--tilt)); } }
}

/* ---------- fixes after QA pass 1 ---------- */
[hidden] { display: none !important; }
.signup label.consent { font-family: var(--f-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--ink-soft); display: flex; }
html[dir="rtl"] .signup label.consent { font-family: var(--f-ar-body); }
.cromo .next { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* club pennant (banderín) instead of flat colour blocks */
.cromo .flag { height: 74px; display: flex; flex-direction: column; width: 78%; margin: 12px 0 0 14px; clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 0; filter: drop-shadow(0 2px 0 rgba(0,0,0,.2)); }
html[dir="rtl"] .cromo .flag { margin: 12px 14px 0 0; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.cromo { background-image: linear-gradient(var(--paper-2), var(--paper-2)); background-size: 100% 98px; background-repeat: no-repeat; }
.cromo .flag i { flex: 1; }
.cromo .flag::after { content: ""; }
@media (max-width: 640px) {
  .stub { --tilt: -2deg; }
  html[dir="rtl"] .stub { --tilt: 2deg; }
  .board { padding: 6px; }
  .board table, .board tbody, .board tr, .board td { display: block; min-width: 0; width: 100%; }
  .board thead { display: none; }
  .board table { border-spacing: 0; }
  .board tr { background: #141916; border-radius: 6px; margin-bottom: 8px; padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .board td { background: none; padding: 0; border-radius: 0 !important; }
  .board td.t { grid-column: 1 / -1; }
  .board td.ti { grid-column: 1 / -1; font-size: .9rem; }
  .board td.so { grid-column: 1 / -1; font-size: .8rem; }
  .board .empty { grid-column: 1 / -1; }
}
.club-head .flag { height: 56px; max-width: 260px; clip-path: polygon(0 0, 100% 50%, 0 100%); border-radius: 0; flex-direction: column; box-shadow: none; filter: drop-shadow(0 3px 0 rgba(0,0,0,.3)); }
html[dir="rtl"] .club-head .flag { clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.side-card .signup .row { grid-template-columns: minmax(0, 1fr); }
bdi { unicode-bidi: isolate; }
@media (max-width: 640px) {
  .album { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cromo .nm { font-size: 1.15rem; }
  .cromo .flag { height: 52px; }
  .cromo { background-size: 100% 70px; }
  .cromo .body { padding: 10px; }
  .cromo .meta, .cromo .next { font-size: .76rem; }
  .wtable table, .wtable tbody, .wtable tr, .wtable td { display: block; min-width: 0; width: 100%; }
  .wtable thead { display: none; }
  .wtable tr { padding: 10px 0; border-bottom: 1px solid rgba(23,22,15,.15); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; }
  .wtable td { border: 0; padding: 0; }
  .wtable td:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .wtable td:nth-child(4) { order: 4; grid-column: 1 / -1; font-size: .85rem; }
}
/* developers page + footer CTA */
.devpage { padding-block: 8px 64px; }
.devpage .h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
pre.code { white-space: pre-wrap; overflow-wrap: anywhere; }
.dev .note { font-size: .88rem; color: var(--chalk-dim); margin-top: 10px; }
.dev .note code { overflow-wrap: anywhere; }
.dev .note .k { color: var(--led); font-family: ui-monospace, Menlo, monospace; }
.devcta { display: inline-block; font-family: var(--f-board); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; color: var(--ticket) !important; text-decoration: none; border: 2px solid var(--ticket); padding: 6px 12px; border-radius: 4px; }
.devcta:hover { background: var(--ticket); color: var(--ink) !important; }
html[dir="rtl"] .devcta { font-family: var(--f-ar-display); }
.devsub { margin: 6px 0 0; font-size: .82rem; }
.brand-txt { display: flex; flex-direction: column; gap: 3px; }
.brand-tag { font-family: var(--f-board); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; color: var(--chalk-dim); line-height: 1; }
html[dir="rtl"] .brand-tag { font-family: var(--f-ar-body); letter-spacing: 0; text-transform: none; font-size: .72rem; }
@media (max-width: 420px) { .brand-tag { display: none; } .brand-word { font-size: 1.15rem; } }
/* language menu (same pattern as borbur.net) */
.lang { position: relative; display: inline-block; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--f-body); letter-spacing: .04em; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; min-height: 36px; cursor: pointer; color: var(--chalk); background: transparent; user-select: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--chalk); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::marker { content: ""; }
.lang .glb { width: 16px; height: 16px; }
.lang .chev { width: 10px; height: 10px; transition: transform .15s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang .lmenu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 6px; z-index: 60; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
.top nav .lang .lmenu a { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font: 500 15px/1.2 var(--f-body); text-transform: none; letter-spacing: 0; text-decoration: none; color: var(--ink); min-height: 40px; }
.top nav .lang .lmenu a[lang="ar"] { font-family: var(--f-ar-body); direction: ltr; }
.top nav .lang .lmenu a:hover { background: var(--paper-2); color: var(--ink); }
.top nav .lang .lmenu a[aria-current] { font-weight: 700; }
.top nav .lang .lmenu a[aria-current]::after { content: "\2713"; color: var(--stamp); }
/* consent checkbox: always readable (the dark theme drew an empty box as solid black) */
.signup { color-scheme: light; }
.signup .consent input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--ink); border-radius: 4px; background: #fffdf4 center / 16px 16px no-repeat; cursor: pointer; }
.signup .consent input[type=checkbox]:checked { background-color: var(--pitch); border-color: var(--pitch); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.signup .consent { align-items: center; cursor: pointer; }
.signup .consent.nudge { animation: nudge .4s; }
@keyframes nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.ok-msg { background: #e5f2e6; border-color: var(--ok); }
.ok-msg.err { background: #fde9e5; border-color: var(--stamp); color: #6b1a0f; }
