:root {
  --ink: #100B0B;      /* tło plakatu */
  --ink-2: #1C1514;
  --sisal: #EBD5AE;    /* jasne pola tarczy */
  --cream: #F4D7B4;
  --chalk: #EEF1E6;
  --muted: #B9AFA6;
  --red: #E0333A;
  --red-dk: #A81E26;
  --green: #19A35B;
  --green-dk: #0D6B3A;
  --wire: #C9CDD2;
  --display: "Anton", "Big Shoulders Display", Impact, sans-serif;
  --num: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Onest", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* gra 501: przewijanie zablokowane (tylko html; overflow na body zrobiłby z niego osobny kontener i scena by zniknęła) */
html.locked { overflow: hidden; overscroll-behavior: none; scrollbar-gutter: stable; }
body { margin: 0; background: var(--ink); color: var(--chalk); font: 400 1.125rem/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; margin: 0 0 .35em; }
h3 { font-family: var(--num); font-weight: 900; line-height: 1; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.btn { display: inline-block; font: 800 1.35rem/1 var(--num); letter-spacing: .02em; padding: .8em 1.2em .75em; background: var(--red); color: #fff; text-decoration: none; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.small { font-size: 1.05rem; padding: .65em 1em .6em; }

/* ---------- nagłówek: klub jest pierwszy ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; padding: 1rem clamp(1rem, 3vw, 2.4rem); pointer-events: none; }
.top a { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand b { display: block; font: 900 1.6rem/1 var(--num); letter-spacing: .01em; }
.brand small { display: block; font-size: .85rem; color: var(--muted); }
.tel-top { margin-left: auto; font: 900 1.5rem var(--num); text-decoration: none; color: var(--cream); }

/* ---------- LOT 3D ---------- */
.flight { height: 340vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #3b1012 0, rgba(59,16,18,.4) 22%, rgba(16,11,11,0) 55%), var(--ink); }
.world { position: absolute; inset: 0; }
.layer { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }
.layer:not(.live):not(.target) { pointer-events: none; }
.apple { pointer-events: none; }
.apple img { max-width: none; }

.plate { width: min(640px, 40vw); text-shadow: 0 2px 24px rgba(0,0,0,.8); }
.plate h2 { font-size: clamp(4rem, 9vw, 8.5rem); }
.plate h3 { font-size: clamp(3rem, 6vw, 5.5rem); }
.plate .big { font: 800 clamp(1.6rem, 2.8vw, 2.4rem)/1.15 var(--num); color: var(--cream); max-width: 26ch; }
.plate p { font-size: 1.35rem; max-width: 36ch; }

.plate .where-lead { font: 800 clamp(1.4rem, 2.4vw, 2rem)/1.1 var(--num); color: #fff; background: var(--red); display: inline-block; padding: .25em .7em; border-radius: 999px; margin-bottom: .6rem; text-shadow: none; max-width: none; }
.plate.to-left { text-align: right; }
.plate.to-left p { margin-left: auto; }
.brand-plate { width: min(1100px, 94vw); text-align: center; display: flex; flex-direction: column; align-items: center; }
.club-logo { width: min(56vh, 80vw); height: auto; filter: drop-shadow(0 20px 50px rgba(224,51,58,.35)); }
.brand-plate h1 { font-size: clamp(4.4rem, 12.5vw, 12rem); margin: .1em 0 .1em; line-height: .9; white-space: nowrap; }
.brand-plate .runs { font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1.1 var(--num); color: var(--cream); max-width: none; }
.brand-plate .runs b { color: #fff; }

.dart-plate { width: min(560px, 38vw); }
.dart-plate .slot { display: inline-block; font: 900 1.4rem var(--num); color: #fff; background: var(--red); border-radius: 999px; padding: .2em .8em; margin-bottom: .6rem; text-shadow: none; }

.jdc { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; margin-bottom: 1.2rem; text-shadow: none; }
.jdc img { width: 180px; background: #000; border-radius: 12px; padding: .6rem; }
.jdc span { font: 800 1.3rem var(--num); text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.jdc:hover span { color: #fff; }

.target .board { width: min(92vh, 94vw); height: auto; filter: drop-shadow(0 40px 80px rgba(0,0,0,.8)); }
.stage:not(.landed) .target { pointer-events: none; }
.target .board { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.playing .target .board { transform: translateX(-16vw) scale(.94); }

.score { position: absolute; z-index: 30001; right: clamp(.8rem, 2.5vw, 2rem); top: 5.5rem; bottom: 6rem; width: min(400px, 92vw); overflow-y: auto;
  background: rgba(28,21,20,.92); border-radius: 22px; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 0 2px #3a2e2c; animation: slidein .35s cubic-bezier(.2,.8,.2,1); }
.score h2 { font-size: 2.6rem; }
.score .how { font-size: .95rem; color: var(--muted); }
.score-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.score .btn { font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) { .score { animation: none; } .target .board { transition: none; } }

.hud { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30000; display: flex; align-items: flex-end; gap: 1.5rem; padding: 1.2rem clamp(1rem, 3vw, 2.4rem); pointer-events: none; }
.hud > * { pointer-events: auto; }
.dist { display: flex; align-items: baseline; gap: .5rem; margin: 0; color: var(--muted); font: 800 1.1rem var(--num); }
.dist b { font: 900 3.6rem/1 var(--num); color: var(--chalk); min-width: 2.2ch; text-align: right; font-variant-numeric: tabular-nums; }
.hud-hint { margin: 0 0 .5rem; color: var(--muted); font-size: 1rem; }
.hud .btn { margin-left: auto; }
.landed .hud .btn { visibility: hidden; }
.landed .hud-hint { color: var(--chalk); font-weight: 700; }

/* podpowiedź na starcie: lotka grotem w dół, jak kierunek przewijania */
.scroll-cue { position: absolute; left: 50%; bottom: 2rem; z-index: 30001; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; gap: .9rem;
  background: none; border: 0; padding: .4rem 1rem; cursor: pointer; color: var(--chalk); font: 800 clamp(1.2rem, 2.2vw, 1.7rem)/1.2 var(--num); transition: opacity .4s, visibility .4s; }
.scroll-cue img { height: 96px; width: auto; animation: cue-bob 1.6s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); }
.scroll-cue span { background: var(--red); color: #fff; padding: .4em 1.1em; border-radius: 999px; border: 2px solid transparent; box-shadow: 0 10px 30px rgba(224,51,58,.35); }
.scroll-cue:hover span, .scroll-cue:focus-visible span { border-color: #fff; }
.scroll-cue.gone { opacity: 0; visibility: hidden; }
@keyframes cue-bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue img { animation: none; } }
.flat .scroll-cue { display: none; }

/* bez animacji: plansze jedna pod drugą */
.flat .flight { height: auto; }
.flat .stage { position: relative; height: auto; overflow: visible; padding: 7rem 0 2rem; }
.flat .world { position: static; transform: none; display: flex; flex-direction: column; align-items: center; gap: 5rem; }
.flat .layer { position: static; transform: none !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto; }
.flat .apple, .flat .hud .btn { display: none; }
.flat .hud { position: static; }
.flat .foot { position: static; height: auto; padding-block: 1.5rem; opacity: 1; visibility: visible; transform: none; }

/* ---------- tarcza (wspólne) ---------- */
.board { display: block; overflow: visible; user-select: none; -webkit-tap-highlight-color: transparent; }
.board .rim { fill: #050404; stroke: none; }
/* tarcza to zdjęcie; pola SVG są niewidoczną siatką trafień i podświetleniem */
.s-dark, .s-light, .r-red, .r-green { fill: transparent; stroke: none; transition: fill .2s; }
.num { font: 800 22px var(--num); fill: var(--chalk); pointer-events: none; }
/* nadruk klubu na czarnym pasie tarczy: kolor sizalu, lekko przygaszony jak farba na włóknie */
.print { pointer-events: none; }
.print text { font: 400 15px var(--display); letter-spacing: .12em; fill: var(--sisal); opacity: .82; }
.print image { opacity: .9; }
/* po dolocie tarcza już się nie skaluje: bez will-change Chrome rysuje ją od nowa w pełnej rozdzielczości */
.landed .target { will-change: auto; }
.numring { fill: none; stroke: var(--wire); stroke-width: 1.2; opacity: .7; }
.darts { pointer-events: none; }
.darts image { filter: drop-shadow(3px 4px 3px rgba(0,0,0,.55)); }
.reticle { fill: rgba(25,163,91,.15); stroke: var(--green); stroke-width: 1.5; stroke-dasharray: 4 4; pointer-events: none; }

.menu .grp { cursor: pointer; }
.menu .hit { transition: fill .2s; }
.menu .grp:focus { outline: none; }
.menu .hit { fill: transparent; stroke: none !important; }
.menu .band { fill: url(#tire-hub); stroke: #050404 !important; stroke-width: 3 !important; }
.menu .shine { pointer-events: none; }
.menu.playing .shine { opacity: .2; }
.menu .lbl { font: 900 24px var(--num); fill: var(--chalk); letter-spacing: .03em; pointer-events: none; }
.menu:not(.playing) .grp:hover :is(.s-dark, .s-light, .r-red, .r-green), .menu:not(.playing) .grp:focus-visible :is(.s-dark, .s-light, .r-red, .r-green) { fill: rgba(255,255,255,.16); }
/* pozostałe tematy przyciemniamy nakładką, bo zdjęcie leży pod siatką */
.menu .dimall { fill: rgba(8,5,5,.5); pointer-events: none; }
.menu:not(.playing):has(.grp:hover) .grp:not(:hover) .lbl { opacity: .45; }
.menu:not(.playing) .grp:hover .band, .menu:not(.playing) .grp:focus-visible .band { fill: url(#tire-red-hub); }
.menu:not(.playing) .bullgrp:hover circle, .menu:not(.playing) .bullgrp:focus-visible circle { stroke: #fff; stroke-width: 2.5; }
/* w grze tarcza jest celem: etykiety menu gasną */
.menu.playing .grp { cursor: crosshair; }
.menu.playing .band, .menu.playing .lbl { opacity: .2; }

/* ---------- stopka ---------- */
.foot { --foot-h: 5.4rem; position: absolute; left: 0; right: 0; bottom: 0; z-index: 30002; height: var(--foot-h); display: flex; align-items: center; gap: 1.6rem;
  padding: 0 clamp(1rem, 3vw, 2.4rem); color: var(--muted); font-size: .92rem; line-height: 1.45;
  background: rgba(16,11,11,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid #2c2322;
  opacity: 0; visibility: hidden; transform: translateY(100%); transition: opacity .4s, transform .4s cubic-bezier(.2,.8,.2,1), visibility .4s; }
.landed .foot { opacity: 1; visibility: visible; transform: none; }
.foot img { height: 52px; width: auto; }
.foot p { margin: 0 0 0 auto; text-align: right; }
/* po dolocie: HUD nad stopką, tarcza mieści się między nagłówkiem a stopką */
.hud { transition: bottom .4s cubic-bezier(.2,.8,.2,1); }
.landed .hud { bottom: 5.4rem; }
.target .board { max-height: calc(100svh - 12rem); }
@media (prefers-reduced-motion: reduce) { .foot, .hud { transition: none; } }

/* ---------- SZUFLADA z tematami ---------- */
/* ciemna jak lot: za treścią rozmyta tarcza klubu, lewa krawędź to podwójny pierścień (czerwony/zielony) */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(880px, 100vw); max-width: none; height: 100%; max-height: none; padding: 0 clamp(1.2rem, 4vw, 3.5rem) 2rem calc(clamp(1.2rem, 4vw, 3.5rem) + 10px); border: 0;
  --line: rgba(244,215,180,.16); --surface: rgba(255,240,220,.045);
  background:
    repeating-linear-gradient(180deg, var(--red) 0, #5a1418 220px, var(--ink-2) 420px, #0f4a2b 640px, var(--green) 820px, #0f4a2b 1000px, var(--ink-2) 1200px, #5a1418 1420px, var(--red) 1640px) left top / 6px 100% no-repeat local,
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(224,51,58,.28), transparent 70%) fixed,
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(25,163,91,.14), transparent 70%) fixed,
    linear-gradient(rgba(16,11,11,.5), rgba(16,11,11,.5)) fixed,
    url("assets/apple-fruit.webp?v=2") right -50px bottom -40px / 400px auto no-repeat fixed,
    url("assets/apple-green.webp?v=2") right -40px top 9% / 230px auto no-repeat fixed,
    url("assets/apple-strokes.webp?v=2") right min(600px, 78vw) bottom 8% / 120px auto no-repeat fixed,
    var(--ink);
  color: var(--chalk); overflow-y: auto; overscroll-behavior: contain; box-shadow: -30px 0 80px rgba(0,0,0,.7); }
.drawer[open] { animation: slidein .35s cubic-bezier(.2,.8,.2,1); }
@keyframes slidein { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .drawer[open] { animation: none; } }
.drawer::backdrop { background: linear-gradient(90deg, rgba(8,5,5,.2), rgba(8,5,5,.75)); }
.drawer-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin: 0 calc(-1 * clamp(1.2rem, 4vw, 3.5rem)) 2rem calc(-1 * clamp(1.2rem, 4vw, 3.5rem)); padding: 1rem clamp(1.2rem, 4vw, 3.5rem);
  background: rgba(16,11,11,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.drawer-bar p { margin: 0; font: 900 1.5rem var(--num); color: var(--cream); display: flex; align-items: center; gap: .6rem; }
.drawer-bar p::before { content: ""; width: .8rem; height: .8rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--green); }
.close { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; background: var(--chalk); color: var(--ink); font: 900 1.9rem/1 var(--num); cursor: pointer; transition: transform .2s, background .2s; }
.close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.drawer-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.drawer h2 { font-size: clamp(3rem, 6vw, 5rem); color: var(--cream); text-shadow: 0 4px 0 rgba(168,30,38,.55), 0 18px 40px rgba(0,0,0,.6); }
.drawer h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 2.2rem; color: var(--chalk); }
.drawer a:not(.btn) { color: var(--cream); text-decoration-color: var(--red); text-underline-offset: .2em; }
.drawer .big { font-size: 1.35rem; line-height: 1.45; }
.drawer p { max-width: 62ch; }
.drawer .note { opacity: .75; font-size: 1rem; }
.drawer .split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.art-logo { width: 220px; height: auto; margin: 0 0 1rem; }

/* Klub i akademia */
.club-hero { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; margin-bottom: 1.8rem; }
.club-hero .art-logo { width: 190px; margin: 0; filter: drop-shadow(0 18px 44px rgba(224,51,58,.45)); }
.club-hero h2 { margin-bottom: .2em; }
.club-hero .big { margin: 0; }
.pillars { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.pillars li { position: relative; overflow: hidden; padding: 1.3rem 1.2rem 1.2rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.pillars li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.pillars li:nth-child(2)::before { background: var(--green); }
.pillars b { display: block; font: 900 1.7rem/1.05 var(--num); color: var(--cream); margin-bottom: .3rem; }
.pillars span { font-size: .98rem; color: var(--muted); }
.who { padding-left: 1rem; border-left: 3px solid var(--green); color: var(--muted); }
.split.cards { gap: 1rem; margin-top: 1.6rem; }
.split.cards > div { position: relative; padding: 1.4rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.split.cards h3 { margin-top: 0; }
.split.cards p:last-child { margin-bottom: 0; }
.jdc-mini { position: absolute; top: 1.1rem; right: 1.1rem; }
.jdc-mini img { width: 84px; height: auto; border-radius: 8px; }
@media (max-width: 800px) {
  .club-hero { grid-template-columns: 1fr; justify-items: start; }
  .club-hero .art-logo { width: 140px; }
  .pillars { grid-template-columns: 1fr; }
}

/* ABC darta: cztery dawne tematy w jednej szufladzie */
/* spis treści jak kafle "Klub i akademia": karta z kolorowym paskiem u góry */
.toc { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 0 0 3rem; }
.drawer .toc a { position: relative; overflow: hidden; display: block; padding: 1.2rem 1.1rem 1.1rem; border-radius: 18px; text-decoration: none; color: var(--chalk);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0,0,0,.35); transition: transform .2s, border-color .2s, background .2s; }
.drawer .toc a::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.drawer .toc a:nth-child(even)::before { background: var(--green); }
.drawer .toc b { display: block; font: 900 1.45rem/1.05 var(--num); color: var(--cream); margin-bottom: .35rem; }
.drawer .toc span { display: block; font-size: .92rem; line-height: 1.35; color: var(--muted); }
.drawer .toc a:hover, .drawer .toc a:focus-visible { transform: translateY(-3px); border-color: rgba(224,51,58,.55); background: linear-gradient(135deg, rgba(224,51,58,.16), rgba(224,51,58,.03) 70%); }
.drawer section { scroll-margin-top: 6rem; position: relative; }
.drawer section h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.drawer section + section { margin-top: 5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
/* separator: mały bull na linii */
.drawer section + section::before { content: ""; position: absolute; top: -.55rem; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--green); }

/* wydarzenia: oś czasu, każde wydarzenie to bull na linii, która przechodzi z czerwieni w zieleń */
.events { list-style: none; padding: 0 0 0 2.6rem; margin: 2rem 0 1rem; position: relative; display: grid; gap: 1rem; }
.events::before { content: ""; position: absolute; left: .7rem; top: 1rem; bottom: 1rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--red), rgba(224,51,58,.2) 40%, rgba(25,163,91,.35)); }
.events li { position: relative; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1.4rem; padding: 1.5rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.events li::before { content: ""; position: absolute; left: -2.35rem; top: 1.7rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--line); }
.events .next { background: linear-gradient(135deg, rgba(224,51,58,.2), rgba(224,51,58,.03) 60%), var(--surface); border-color: rgba(224,51,58,.5); box-shadow: 0 24px 50px rgba(0,0,0,.4), 0 0 50px rgba(224,51,58,.12); }
.events .next::before { background: var(--red); box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--green), 0 0 18px rgba(224,51,58,.8); }
.events .when { margin: 0; }
.events .when span { display: inline-block; font: 900 1.5rem/1.05 var(--num); color: var(--cream); }
.events .next .when span { font-size: 2rem; color: var(--red); text-shadow: 0 0 24px rgba(224,51,58,.5); }
.events .tag { display: inline-block; margin: 0 0 .5rem; padding: .2em .8em; border-radius: 999px; background: var(--red); color: #fff; font: 800 .95rem var(--num); }
.events h3 { margin-top: 0; }
.events li p:last-child { margin-bottom: 0; }
.events .later { border-style: dashed; background: transparent; }
.events .later .when span { font-size: 1.1rem; color: var(--muted); }
.events .later h3 { font-size: 1.7rem; color: var(--cream); }
.events .later p { color: var(--muted); }

/* FAQ: lotka zamiast plusa, po otwarciu wbija się w dół */
.faq { margin-top: 1.5rem; display: grid; gap: .6rem; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 1.3rem; transition: background .25s, border-color .25s, box-shadow .25s; }
.faq details:hover { border-color: rgba(244,215,180,.32); }
.faq details[open] { background: linear-gradient(135deg, rgba(224,51,58,.16), rgba(224,51,58,.03) 70%); border-color: rgba(224,51,58,.5); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font: 800 1.35rem/1.25 var(--num); color: var(--cream); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1rem; height: 3.2rem; margin: -1rem 0; background: url("assets/lotka.webp") center / contain no-repeat; transform: rotate(-90deg); transition: transform .3s cubic-bezier(.3,1.4,.5,1); filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0 0 1.3rem; color: var(--chalk); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.ask { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; margin-top: 2rem; padding: 1.3rem 1.5rem; border-radius: 20px;
  background: linear-gradient(135deg, rgba(25,163,91,.2), rgba(25,163,91,.03) 70%), var(--surface); border: 1px solid rgba(25,163,91,.45); }
.ask img { width: 64px; height: auto; }
.ask h3 { margin: 0 0 .2rem; font-size: 1.6rem; }
.ask p { margin: 0; color: var(--muted); }
@media (max-width: 800px) {
  .events li { grid-template-columns: 1fr; gap: .4rem; }
  .ask { grid-template-columns: auto 1fr; }
  .ask .btn { grid-column: 1 / -1; justify-self: start; }
}

/* pola punktów: każde z kolorowym brzegiem jak segment podwójnego pierścienia, wartość świeci */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1.2rem 0 0; }
.points div { position: relative; overflow: hidden; padding: 1.2rem 1.2rem 1.3rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 36px rgba(0,0,0,.35); display: grid; grid-template-rows: auto 1fr auto; }
.points div::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--red); }
.points div:nth-child(even)::before { background: var(--green); }
.points dt { font: 800 1.4rem var(--num); color: var(--cream); }
.points dd { margin: .2rem 0 .9rem; font-size: .98rem; color: var(--muted); }
.points b { font: 900 2.6rem/1 var(--num); color: var(--red); text-shadow: 0 0 24px rgba(224,51,58,.45); }
.points .max { background: linear-gradient(135deg, rgba(25,163,91,.22), rgba(25,163,91,.04)); border-color: rgba(25,163,91,.5); }
.points .max b { color: #3ed184; text-shadow: 0 0 24px rgba(25,163,91,.5); }

.rules { list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: r; }
.rules li { position: relative; padding: .2rem 0 1rem 3.2rem; counter-increment: r; }
.rules li::before { content: counter(r); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--red); color: #fff; font: 900 1.2rem/2.25rem var(--num); text-align: center; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px rgba(25,163,91,.7); }
.drawer .rules b, .drawer .steps b { color: var(--cream); }

/* tabela jak klubowa tablica wyników */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1.05rem; margin-bottom: 1rem; }
.drawer .tbl { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tbl caption { text-align: left; font: 800 1.3rem var(--num); margin-bottom: .5rem; color: var(--cream); }
.tbl th { text-align: left; font: 800 1.05rem var(--num); padding: .6rem .9rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.tbl td { padding: .6rem .9rem; border-bottom: 1px solid rgba(244,215,180,.08); font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:last-child, .tbl th:last-child { text-align: right; font-weight: 700; }
.drawer .tbl td:last-child { font: 900 1.35rem var(--num); color: var(--cream); }
.tbl .win td { background: var(--green); color: #fff; font-weight: 700; }
.drawer .tbl .win td:last-child { color: #fff; }

.game { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; margin-top: 1.5rem; background: var(--ink); color: var(--chalk); border-radius: 24px; padding: clamp(1rem, 3vw, 2rem); }
.game .board { width: 100%; cursor: crosshair; touch-action: manipulation; }
.game .board:focus:not(:focus-visible) { outline: none; }
.left { display: flex; align-items: baseline; gap: 1rem; margin: 0; }
.left span { font: 800 1.3rem var(--num); color: var(--muted); }
.left b { font: 900 clamp(4.5rem, 9vw, 7rem)/.9 var(--num); font-variant-numeric: tabular-nums; }
.slots { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.slots li { height: 3.2rem; border-radius: 10px; background: var(--ink-2); box-shadow: inset 0 0 0 2px #3a2e2c; display: grid; place-items: center; font: 900 1.7rem var(--num); color: var(--red); }
.slots li.done { color: var(--muted); }
.msg { min-height: 3.2em; font-weight: 500; font-size: 1rem; }
.skill { border: 0; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.skill legend { font: 800 1.1rem var(--num); color: var(--muted); margin-bottom: .5rem; padding: 0; }
.skill input { position: absolute; opacity: 0; }
.skill label { cursor: pointer; padding: .45rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 2px #3a2e2c; font-size: 1rem; }
.skill label:has(input:checked) { background: var(--green); box-shadow: none; color: #fff; }
.skill label:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.hist { margin-top: 1.5rem; font-size: .95rem; }
.hist th { border-bottom-color: #3a2e2c; color: var(--muted); }

.oche, .lane { margin: 0 0 1.5rem; }
.oche svg { width: 100%; max-width: 560px; }
.lane svg { width: 100%; max-width: 340px; }
.oche figcaption { font-size: .95rem; margin-top: .5rem; color: var(--muted); }
.oche, .lane { padding: 1.2rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.floor { stroke: var(--muted); stroke-width: 3; }
.bd { fill: var(--sisal); }
.red { fill: var(--red); }
.dim { stroke: var(--red); stroke-width: 2; stroke-dasharray: 6 4; }
.dim.soft { stroke: #8a7a6a; }
.dimt { font: 800 18px var(--num); fill: var(--chalk); }
.dimt.sm { font-size: 14px; font-family: var(--text); font-weight: 500; }
.dimt.xs { font-size: 12px; font-family: var(--text); font-weight: 500; }
.kid { fill: none; stroke: var(--cream); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.kid circle { fill: var(--cream); }
.lead-dark { font: 800 1.6rem/1.2 var(--num); color: var(--cream); }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.dodont p { margin: 0; padding: 1.1rem 1.2rem; border-radius: 16px; font-size: 1rem; }
.dodont b { display: block; font: 900 1.4rem var(--num); }
.bad { background: linear-gradient(135deg, rgba(224,51,58,.22), rgba(224,51,58,.05)); border: 1px solid rgba(224,51,58,.45); }
.bad b { color: #ff6b70; }
.good { background: linear-gradient(135deg, rgba(25,163,91,.22), rgba(25,163,91,.05)); border: 1px solid rgba(25,163,91,.5); }
.good b { color: #3ed184; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 .9rem 3.2rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font: 900 1.15rem/2rem var(--num); text-align: center; }
.safety { margin-top: 1.4rem; padding: 1.1rem 1.3rem; background: linear-gradient(135deg, var(--red-dk), #6e1016); color: #ffe3e3; border-radius: 16px; max-width: none !important; box-shadow: 0 18px 40px rgba(168,30,38,.3); }
.safety b { color: #fff; }
.track { fill: rgba(224,51,58,.12); stroke: var(--red); stroke-dasharray: 5 4; }
.line { stroke: var(--cream); stroke-width: 5; }
.wait { fill: rgba(25,163,91,.15); stroke: var(--green); stroke-width: 2; }
.pa { fill: var(--red); } .pb { fill: var(--green-dk); }
.pl { font: 900 14px var(--num); fill: #fff; }

.grips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.grips li { padding: .8rem .8rem 1.1rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 36px rgba(0,0,0,.35); }
.grips img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; margin-bottom: .9rem; }
.grips b { display: block; font: 800 1.4rem/1.1 var(--num); margin: 0 .3rem .3rem; color: var(--cream); }
.grips span { display: block; font-size: 1rem; margin: 0 .3rem; color: var(--muted); }

.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.kit > div { padding: 1.2rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.kit svg { width: 100%; margin: .3rem 0 .8rem; }
.kit p { font-size: .98rem; color: var(--muted); margin: 0; }
.kit h3 { font-size: 1.6rem; margin-top: 0; }
.brass { fill: #d9b34a; } .tung { fill: #9aa1a9; } .pin { stroke: #c9cdd2; stroke-width: 3; }
.fl { fill: var(--red); stroke: var(--cream); stroke-width: 1.5; }
.scale { margin: 1rem 0 1.2rem; --min: 14; --span: 18; padding: 1.2rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.ticks { display: flex; justify-content: space-between; font: 800 1.05rem var(--num); color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: .3rem; margin-bottom: .6rem; }
.bar { position: relative; height: 2.1rem; margin-bottom: .35rem; }
.bar i { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - var(--min)) / var(--span) * 100%); width: calc((var(--b) - var(--a)) / var(--span) * 100%);
  background: rgba(244,215,180,.14); color: var(--cream); border-radius: 999px; font: 500 .85rem/2.1rem var(--text); font-style: normal; padding: 0 .8rem; white-space: nowrap; }
.bar.hot i { background: var(--red); color: #fff; box-shadow: 0 0 20px rgba(224,51,58,.45); }

/* zapisy: ten sam styl szuflady, numer telefonu jako świecący bull */
.signup { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 1rem; }
.signup p { margin-inline: auto; }
.signup .art-logo { width: 170px; margin: 0 auto 1.5rem; filter: drop-shadow(0 16px 40px rgba(224,51,58,.4)); }
.drawer .phone { display: flex; flex-direction: column; align-items: center; gap: .3rem; margin: 1.5rem 0 2rem; padding: 1.6rem 2.6rem 1.8rem; border-radius: 999px; text-decoration: none; color: #fff;
  font: 900 clamp(3rem, 8vw, 5.5rem)/1 var(--num); background: radial-gradient(circle at 50% 40%, #f0474e, var(--red) 45%, var(--red-dk));
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 10px var(--green), 0 0 60px rgba(224,51,58,.45), 0 30px 60px rgba(0,0,0,.5); transition: transform .2s, box-shadow .2s; }
.drawer .phone small { font: 800 1.1rem var(--num); color: #ffd9da; }
.drawer .phone:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 6px var(--ink), 0 0 0 10px var(--green), 0 0 90px rgba(224,51,58,.65), 0 30px 60px rgba(0,0,0,.5); }
.where-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.4rem; padding: 1.1rem 1.4rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.where-card p { margin: 0; color: var(--muted); }
.where-card b { color: var(--cream); }
.drawer[data-topic="zapisy"] .drawer-foot { text-align: center; }

/* ---------- mobile ---------- */
@media (max-width: 800px) {
  .brand b { font-size: 1.25rem; }
  .brand small { display: none; }
  .tel-top { font-size: 1.15rem; }
  .plate, .dart-plate { width: 86vw; }
  .plate:not(.brand-plate) { background: rgba(16,11,11,.85); padding: 1.4rem; border-radius: 20px; }
  .plate .where-lead { font-size: 1.2rem; border-radius: 12px; }
  .plate p { font-size: 1.15rem; }
  .hud { flex-wrap: wrap; gap: .6rem 1rem; }
  .dist b { font-size: 2.6rem; }
  .hud-hint { flex-basis: 100%; order: 3; margin: 0; }
  .scroll-cue { bottom: 7rem; width: max-content; max-width: 92vw; }
  .scroll-cue img { height: 64px; }
  /* logo z napisem wyżej i mniejsze, żeby podpowiedź "Przewijaj" przy dole go nie zasłaniała */
  .brand-plate { margin-top: -7vh; }
  .club-logo { width: min(42vh, 70vw); }
  .drawer .split, .dodont { grid-template-columns: 1fr; }
  .playing .target .board { transform: translateY(-24vh) scale(.62); }
  .score { top: auto; bottom: .6rem; left: .6rem; right: .6rem; width: auto; max-height: 50vh; padding: 1rem; }
  .score h2, .score .how, .score .hist { display: none; }
  .playing .hud { display: none; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .points b { font-size: 1.9rem; white-space: nowrap; }
  .events .btn { font-size: 1.1rem; }
  .toc { grid-template-columns: repeat(2, 1fr); }
  .kit { grid-template-columns: 1fr; }
  .grips { grid-template-columns: 1fr; }
  .foot { gap: .7rem; font-size: .72rem; line-height: 1.35; }
  .foot img { height: 34px; }
  .playing .foot { display: none; } /* na telefonie dół zajmuje tablica wyników */
}
