  :root { --ink:#1d2433; --paper:#f6efdc; --yellow:#ffd23f; --green:#3fae4a; --red:#e8413c; --mint:#35c98a; --blue:#2456c7; }
  * { box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
  html, body { margin:0; height:100%; background:#141a2b; overflow:hidden; font-family:Archivo, system-ui, sans-serif; color:var(--ink); }
  body { display:flex; justify-content:center; align-items:center; touch-action:manipulation; user-select:none; -webkit-user-select:none; }
  .app { position:relative; width:min(100vw, calc(100vh * 0.5625), 480px); width:min(100vw, calc(100svh * 0.5625), 480px); aspect-ratio:9/16; container-type:inline-size; overflow:hidden;
    background-color:var(--paper); background-image:radial-gradient(rgba(29,36,51,.09) 1px, transparent 1.4px); background-size:7px 7px; }
  .disp { font-family:'Titan One', 'Arial Black', Impact, sans-serif; letter-spacing:.01em; }
  /* wietnamski: Titan One nie ma znaków z daszkami i haczykami (Ơ, Ữ, Ạ), więc cały napis idzie podobnym krojem, który je ma */
  html[lang^="vi"] .disp, html[lang^="vi"] .holdbtn, html[lang^="vi"] .btn, html[lang^="vi"] .pauseOv b, html[lang^="vi"] .trow .v { font-family:'Paytone One', 'Arial Black', sans-serif; }
  /* japoński: litery łacińskie zostają w Titan One, kana i kanji bierze gruby krój Dela Gothic One (inaczej wypadają cienko) */
  html[lang^="ja"] .disp, html[lang^="ja"] .holdbtn, html[lang^="ja"] .btn, html[lang^="ja"] .pauseOv b, html[lang^="ja"] .trow .v { font-family:'Titan One', 'Dela Gothic One', 'Arial Black', sans-serif; }

  .hud { position:absolute; left:0; top:0; width:100cqw; height:13cqw; display:flex; align-items:center; gap:1.6cqw; padding:0 3cqw; }
  .slot { width:10.5cqw; height:9.4cqw; border:.5cqw dashed rgba(29,36,51,.45); border-radius:1.4cqw; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:2.6cqw; font-weight:800; line-height:1.05; color:rgba(29,36,51,.5); background:rgba(255,255,255,.35); }
  .slot .ic { font-size:4cqw; line-height:1; }
  .slot.now { border-style:solid; border-color:var(--ink); color:var(--ink); background:#fff; }
  .slot.ok { border:.6cqw solid #fff; background:var(--mint); color:#06301f; box-shadow:0 .4cqw 0 rgba(29,36,51,.25); transform:rotate(-3deg); }
  .slot.bad { border:.6cqw solid #fff; background:var(--red); color:#fff; box-shadow:0 .4cqw 0 rgba(29,36,51,.25); transform:rotate(3deg); }
  .slot.zero { border:.6cqw solid #fff; background:#b9b09a; color:#fff; box-shadow:0 .4cqw 0 rgba(29,36,51,.25); }
  .total { margin-left:auto; text-align:right; line-height:1; }
  .total b { display:block; font-size:6.4cqw; }
  .total span { font-size:2.5cqw; font-weight:800; opacity:.6; text-transform:uppercase; }

  .scene { position:absolute; left:0; top:13cqw; width:100cqw; height:150cqw; overflow:hidden; background:#23305e; }
  .view { position:absolute; inset:0; visibility:hidden; }
  .view.on { visibility:visible; }
  .crowd { position:absolute; left:-2cqw; width:104cqw; height:17cqw; background-size:6cqw 6cqw; }
  .crowd.r1 { top:0; background-color:#1b2650; background-image:radial-gradient(circle at 25% 35%, #ffd23f 0 17%, transparent 18%), radial-gradient(circle at 75% 70%, #ff7a59 0 17%, transparent 18%); }
  .crowd.r2 { top:16.6cqw; background-color:#23305e; background-image:radial-gradient(circle at 30% 60%, #7fe0b2 0 17%, transparent 18%), radial-gradient(circle at 78% 30%, #ffffff 0 17%, transparent 18%); background-position:3cqw 0; }
  .crowd.r3 { top:33.2cqw; background-color:#2b3a70; background-image:radial-gradient(circle at 22% 40%, #ff9ecb 0 17%, transparent 18%), radial-gradient(circle at 72% 65%, #ffd23f 0 17%, transparent 18%); }
  .cheer .crowd { animation:hop .32s steps(2) 5; }
  .cheer .crowd.r2 { animation-delay:.08s; }
  @keyframes hop { 50% { transform:translateY(-1.6cqw); } }
  .stare { position:absolute; left:0; top:18cqw; width:100cqw; text-align:center; font-size:8cqw; line-height:11cqw; letter-spacing:2cqw; visibility:hidden; }
  .stare.on { visibility:visible; }
  .pitch, .goal { position:absolute; left:0; top:0; width:100cqw; height:150cqw; }
  .goal.hit { animation:net .35s steps(3); transform-origin:50% 32%; }
  @keyframes net { 33% { transform:scale(1.05, 1.07); } 66% { transform:scale(1.02, 1.03); } }
  .fig { position:absolute; pointer-events:none; }
  /* warstwy pola karnego od najdalszej: sędzia, bramkarz, piłka, obrońca, napastnik, błysk, napisy.
     Wyjątki ustawia gra: piłka w siatce schodzi pod bramkarza, mur z obrońcy schodzi pod piłkę. */
  #linesman { z-index:3; } #keeper { z-index:4; } #ball { z-index:5; } #defender { z-index:6; } #striker { z-index:7; }
  .spark { z-index:8; } .cap, .say, .verdict { z-index:10; }
  .fig svg { width:100%; height:100%; display:block; overflow:visible; }
  .fig > .fr { position:absolute; inset:0; }
  .gspray { position:absolute; width:16cqw; height:8cqw; visibility:hidden; z-index:8; pointer-events:none; } .gspray svg { width:100%; height:100%; display:block; }
  .ball { position:absolute; left:0; top:0; width:7.6cqw; height:7.6cqw; margin:-3.8cqw 0 0 -3.8cqw; }
  .ball svg { width:100%; height:100%; display:block; overflow:visible; }
  .ball.spin svg { animation:bspin .36s steps(4) infinite; }
  @keyframes bspin { to { transform:rotate(360deg); } }

  .spark { position:absolute; left:0; top:0; width:16cqw; height:16cqw; margin:-8cqw 0 0 -8cqw; font-size:15cqw; line-height:16cqw; text-align:center; color:var(--yellow); -webkit-text-stroke:.5cqw #fff; visibility:hidden; pointer-events:none; }
  .spark.on { visibility:visible; }
  /* test A/B (?ab=1) */
  #slide[data-ab="bez-kolegow"] #m1, #slide[data-ab="bez-kolegow"] #m2, #slide[data-ab="bez-kolegow"] #m3, #slide[data-ab="bez-planow"] #front, #slide[data-ab="bez-planow"] #over, #slide[data-ab="bez-planow"] #far,
  #slide[data-ab="bez-napisu"] .gword, #slide[data-ab="bez-napisu"] .metres, #slide[data-ab="bez-szurania"] .dust, #slide[data-ab="bez-szurania"] .trail, #slide[data-ab="bez-szurania"] .wake, #slide[data-ab="bez-trasy"] #strip { display:none; }
  #wipe { position:absolute; inset:0; z-index:50; pointer-events:none; overflow:hidden; visibility:hidden; }
  #wipe .wa, #wipe .wb { position:absolute; top:-10%; bottom:-10%; left:-25%; width:150%; transform:translateX(105%) skewX(-12deg); will-change:transform; }
  #wipe .wa { background:var(--yellow); }
  #wipe .wb { background:repeating-linear-gradient(90deg, #3fae4a 0 12cqw, #47b853 12cqw 24cqw); display:flex; align-items:center; justify-content:center; }
  #wipe .wb span { transform:skewX(12deg); font-size:19cqw; color:var(--yellow); -webkit-text-stroke:1.5cqw var(--ink); paint-order:stroke fill; text-shadow:.8cqw 1.1cqw 0 var(--ink); }
  #wipe.in .wa { transform:translateX(0) skewX(-12deg); transition:transform .3s cubic-bezier(.55,0,.35,1); }
  #wipe.in .wb { transform:translateX(0) skewX(-12deg); transition:transform .3s cubic-bezier(.55,0,.35,1) .07s; }
  #wipe.out .wa { transform:translateX(-112%) skewX(-12deg); transition:transform .34s cubic-bezier(.55,0,.35,1) .08s; }
  #wipe.out .wb { transform:translateX(-112%) skewX(-12deg); transition:transform .34s cubic-bezier(.55,0,.35,1); }
  #shade { position:absolute; inset:0; background:#0b0e1a; opacity:0; pointer-events:none; }
  .cap { position:absolute; left:0; top:66cqw; width:100cqw; text-align:center; pointer-events:none; visibility:hidden; }
  .cap.on { visibility:visible; animation:pop .22s cubic-bezier(.2,1.6,.4,1); }
  @keyframes pop { from { transform:scale(.5); } }
  .cap .w { font-size:17cqw; line-height:1; color:var(--yellow); text-shadow:.7cqw 0 0 #fff, -.7cqw 0 0 #fff, 0 .7cqw 0 #fff, 0 -.7cqw 0 #fff, .5cqw .5cqw 0 #fff, -.5cqw .5cqw 0 #fff, .5cqw -.5cqw 0 #fff, -.5cqw -.5cqw 0 #fff, 0 1.6cqw 0 rgba(29,36,51,.55); -webkit-text-stroke:.35cqw var(--ink); transform:rotate(-4deg); display:inline-block; white-space:nowrap; }
  .cap.trap .w { color:#fff; text-shadow:.7cqw 0 0 var(--ink), -.7cqw 0 0 var(--ink), 0 .7cqw 0 var(--ink), 0 -.7cqw 0 var(--ink), 0 1.6cqw 0 rgba(29,36,51,.55); font-size:14cqw; }
  .cap.trap .w { transition:color .18s steps(3); }
  .cap.trap.good .w { color:#3ddc97; }
  .cap.trap.bad .w { color:#ff5a52; }
  .cap .tr { display:inline-flex; align-items:center; gap:1.2cqw; margin-top:1.6cqw; padding:.6cqw 2.4cqw; border-radius:5cqw; background:var(--ink); color:#fff; font-size:3.6cqw; font-weight:800; }
  .pic { width:1.35em; height:1.35em; flex:none; display:inline-block; vertical-align:-.3em; overflow:visible; }
  .slot .ic .pic { width:5cqw; height:5cqw; vertical-align:0; }
  .cap .cd { display:block; width:50cqw; height:2.2cqw; margin:2cqw auto 0; border-radius:2cqw; background:rgba(29,36,51,.35); border:.5cqw solid var(--ink); overflow:hidden; }
  .cap .cd i { display:block; width:100%; height:100%; background:var(--yellow); transform-origin:0 50%; }
  .cap .cd.low i { background:#ff5a52; }
  .cap .do { display:block; margin:2.4cqw auto 0; width:max-content; max-width:92cqw; padding:1.4cqw 3.6cqw; border-radius:2cqw; background:#fff; border:.6cqw solid var(--ink); font-size:5cqw; font-weight:800; }
  /* pasek na słowo: stałe miejsce, znika tylko wypełnienie */
  .say { position:absolute; left:10cqw; top:2.4cqw; width:80cqw; padding:2cqw 3cqw 2.4cqw; border-radius:2.6cqw; background:#fff; border:.6cqw solid var(--ink); box-shadow:0 .8cqw 0 rgba(29,36,51,.35); visibility:hidden; text-align:center; }
  .say.on { visibility:visible; }
  .say b { display:block; font-size:4.6cqw; font-weight:800; }
  .say .tb { margin-top:1.4cqw; height:3.4cqw; border-radius:2cqw; background:#e4dcc6; overflow:hidden; }
  .say .tb i { display:block; width:100%; height:100%; background:var(--yellow); transform-origin:0 50%; }
  .say.run .tb i { animation:tb var(--sayt, 2.6s) linear forwards; }
  .say.heard { background:#d9f7ea; }
  @keyframes tb { to { transform:scaleX(0); } }
  .verdict { position:absolute; left:0; top:3cqw; width:100cqw; text-align:center; visibility:hidden; pointer-events:none; }
  .verdict.on { visibility:visible; animation:pop .2s cubic-bezier(.2,1.6,.4,1); }
  .verdict span { display:inline-block; padding:1cqw 3.4cqw; border-radius:2cqw; border:.7cqw solid #fff; font-size:4.8cqw; color:#fff; box-shadow:0 .8cqw 0 rgba(29,36,51,.35); }
  .verdict.ok span { background:var(--mint); color:#06301f; transform:rotate(-2deg); }
  .verdict.bad span { background:var(--red); transform:rotate(2deg); }
  .verdict.zero span { background:#8d8573; }
  .verdict small { display:block; font-family:Archivo, sans-serif; font-weight:800; font-size:2.8cqw; opacity:.85; }

  #slide { background:linear-gradient(#7cc4f2 0%, #bfe6fb 46%, #fdf1d2 70%); }
  .strip { position:absolute; left:0; top:0; height:150cqw; display:flex; will-change:transform; }
  .strip svg { height:150cqw; flex:none; display:block; }
  .strip svg.zs { position:absolute; top:0; contain:strict; height:100%; }
  /* napis GOOO…AL!: wyrównany do prawej („AL!” stoi w miejscu), póki się mieści — na środku; lewa krawędź wygasza odjeżdżające litery */
  .gword { position:absolute; left:0; top:2cqw; width:100cqw; height:19cqw; padding:0 4cqw; display:flex; justify-content:flex-end; align-items:center; overflow:hidden; white-space:nowrap; font-size:13cqw; line-height:1; color:var(--yellow); -webkit-text-stroke:.3cqw var(--ink); text-shadow:.6cqw 0 0 #fff, -.6cqw 0 0 #fff, 0 .6cqw 0 #fff, 0 -.6cqw 0 #fff, 0 1.3cqw 0 rgba(29,36,51,.5); }
  /* własne warstwy dla elementów zmienianych w czasie ślizgu: zmiana klatki postaci albo cyfry nie przemalowuje reszty ekranu */
  #slide .fig, .gword, .metres, .ztag, .stamp { will-change:transform; }
  .gword span { display:inline-block; flex:none; }
  .gword span:first-child { margin-left:auto; }
  .gword .tail { margin-right:auto; color:#fff; }
  .gword .new { animation:oin .16s steps(3) both; transform-origin:50% 70%; }
  .gword .five { color:#ff9a3c; }
  @keyframes oin { from { transform:scale(1.9) rotate(-10deg); } }
  .metres { position:absolute; left:0; top:21cqw; width:100cqw; text-align:center; font-size:15cqw; color:#fff; -webkit-text-stroke:.35cqw var(--ink); text-shadow:0 1.2cqw 0 rgba(29,36,51,.5); }
  .ztag { position:absolute; left:0; top:42cqw; width:100cqw; text-align:center; visibility:hidden; }
  .ztag.on { visibility:visible; animation:pop .22s cubic-bezier(.2,1.6,.4,1); } .ztag.on.alt { animation-name:pop2; }
  @keyframes pop2 { from { transform:scale(.5); } }
  .ztag span { display:inline-block; background:#fff; border:.6cqw solid var(--ink); border-radius:1.6cqw; padding:1cqw 3cqw; font-size:5.2cqw; transform:rotate(-2deg); }
  .ztag small { display:block; font-family:Archivo, sans-serif; font-weight:800; font-size:3cqw; opacity:.7; }
  /* szuranie: drobiny w kolorze podłoża, smuga za kolanami, na wodzie rozbryzg i fala */
  .dust { position:absolute; left:38cqw; top:120cqw; width:5cqw; height:5cqw; border-radius:50%; background:var(--dust, rgba(255,255,255,.85)); opacity:0; }
  .sliding .dust { animation:dust .45s steps(4) infinite; }
  .sliding .dust.d2 { animation-delay:.09s; top:123cqw; width:3.6cqw; height:3.6cqw; }
  .sliding .dust.d3 { animation-delay:.18s; top:117cqw; }
  .sliding .dust.d4 { animation-delay:.27s; top:124.6cqw; width:3cqw; height:3cqw; }
  .sliding .dust.d5 { animation-delay:.36s; top:114.6cqw; width:3.4cqw; height:3.4cqw; }
  .dust.wetfx { width:6.6cqw; height:6.6cqw; }
  .trail { position:absolute; left:6cqw; top:125.2cqw; width:50cqw; height:3.6cqw; border-radius:2cqw; background:linear-gradient(90deg, transparent, var(--trail, rgba(0,0,0,.2))); opacity:0; }
  .sliding .trail { opacity:1; }
  .wake { position:absolute; left:20cqw; top:118cqw; width:38cqw; height:11cqw; border-top:.9cqw solid rgba(255,255,255,.85); border-radius:50%; opacity:0; }
  .wake.w2 { left:8cqw; top:121cqw; width:44cqw; height:9cqw; border-top-width:.6cqw; }
  .sliding .wake.wetfx { opacity:1; animation:wake .32s steps(2) infinite; }
  .sliding .wake.wetfx.w2 { animation-delay:.16s; }
  @keyframes wake { 50% { transform:translateX(-2cqw) scaleY(.7); } }
  @keyframes dust { 0% { transform:translateX(10cqw) scale(.4); opacity:.9; } 100% { transform:translateX(-12cqw) scale(1.3); opacity:0; } }
  .stamp { position:absolute; left:0; top:50cqw; width:100cqw; text-align:center; visibility:hidden; }
  .stamp.on { visibility:visible; animation:pop .25s cubic-bezier(.2,1.6,.4,1); }
  .stamp span { display:inline-block; font-size:15cqw; color:#fff; background:var(--mint); border:1cqw solid #fff; border-radius:3cqw; padding:1cqw 5cqw; transform:rotate(-5deg); box-shadow:0 1cqw 0 rgba(29,36,51,.4); -webkit-text-stroke:.3cqw #06301f; }

  .ctl { position:absolute; left:0; top:163cqw; width:100cqw; height:14.7cqw; display:flex; align-items:center; justify-content:center; padding:0 4cqw; gap:3cqw; }
  .micbox { flex:1; height:10cqw; border-radius:5cqw; background:#fff; border:.6cqw solid var(--ink); display:flex; align-items:center; gap:2cqw; padding:0 3cqw; font-weight:800; font-size:3.6cqw; }
  .bar { position:relative; flex:1; height:4cqw; border-radius:2cqw; background:#e4dcc6; overflow:hidden; }
  .bar b { position:absolute; top:0; bottom:0; width:.7cqw; margin-left:-.35cqw; background:var(--ink); opacity:.55; left:0; }
  .bar i { display:block; height:100%; width:100%; transform-origin:0 50%; transform:scaleX(0); background:#b9b09a; }
  .bar i.loud { background:var(--mint); }
  .holdbtn { flex:1; height:11.5cqw; border-radius:3cqw; border:.7cqw solid var(--ink); background:var(--yellow); font:inherit; font-family:'Titan One', 'Arial Black', sans-serif; font-size:4.6cqw; color:var(--ink); box-shadow:0 1cqw 0 var(--ink); }
  .holdbtn.down { transform:translateY(.8cqw); box-shadow:0 .2cqw 0 var(--ink); background:var(--mint); }
  [hidden] { display:none !important; }

  .pauseOv { position:absolute; inset:0; z-index:60; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3cqw; background:rgba(14,18,34,.86); color:#fff; text-align:center; cursor:pointer; touch-action:manipulation; }
  .pauseOv[hidden] { display:none; }
  .pauseOv b { font:400 15cqw/1 'Titan One', 'Arial Black', sans-serif; color:var(--yellow); -webkit-text-stroke:1.2cqw var(--ink); paint-order:stroke fill; text-shadow:.8cqw 1cqw 0 var(--ink); }
  .pauseOv small { font:800 5cqw/1.2 Archivo, system-ui, sans-serif; animation:pzPulse 1.4s ease-in-out infinite; } @keyframes pzPulse { 50% { opacity:.45; } }
  /* karta blokady bez mikrofonu */
  #blk { position:absolute; inset:0; z-index:40; display:flex; align-items:center; justify-content:center; padding:6cqw; background:rgba(20,26,43,.72); }
  #blk[hidden] { display:none; }
  #blk .bbox { width:100%; padding:5cqw 5cqw 3cqw; border-radius:5cqw; background:#fff; border:.8cqw solid var(--ink); box-shadow:0 1.6cqw 0 rgba(29,36,51,.55); text-align:center; }
  #blk .bico { width:16cqw; height:16cqw; display:block; margin:0 auto; }
  #blk .bt { margin-top:2cqw; font-size:9cqw; line-height:1; color:#e8413c; }
  #blkP { margin:2.4cqw 0 0; font-size:4.1cqw; line-height:1.32; font-weight:800; color:var(--ink); }
  #blk .btn { margin-top:4cqw; font-size:5.4cqw; padding:0 3cqw; }
  #blk .btn[hidden], #blkSteps[hidden] { display:none; }
  #blkSteps { list-style:none; margin:3.4cqw 0 0; padding:0; counter-reset:bs; text-align:left; }
  #blkSteps li { counter-increment:bs; display:flex; align-items:center; gap:2.6cqw; margin-top:1.8cqw; padding:2.2cqw 3cqw; border-radius:3.2cqw; background:#f3efe2; font-size:4cqw; line-height:1.2; font-weight:800; }
  #blkSteps li::before { content:counter(bs); flex:none; width:7.4cqw; height:7.4cqw; border-radius:50%; display:grid; place-items:center; background:var(--ink); color:#fff; font-family:'Titan One', sans-serif; font-size:4cqw; }
  #blkSteps li span { flex:1; min-width:0; }
  #blk .bmore { display:block; width:100%; min-height:12cqw; margin-top:1.6cqw; padding:0; border:0; background:none; font:800 3.8cqw Archivo, system-ui, sans-serif; color:var(--ink); text-decoration:underline; text-underline-offset:.8cqw; }
  #start.hard #bfinger { display:none; }
  #start.busy button { pointer-events:none; } #start.busy .pbtn { filter:saturate(.4) brightness(.92); }
  .card { position:absolute; inset:0; z-index:20; background-color:var(--paper); background-image:radial-gradient(rgba(29,36,51,.09) 1px, transparent 1.4px); background-size:7px 7px; display:flex; flex-direction:column; align-items:center; padding:7cqw 6cqw 5cqw; text-align:center; }
  .logo { font-size:19cqw; line-height:1; color:var(--yellow); -webkit-text-stroke:.5cqw var(--ink); text-shadow:.9cqw 0 0 #fff, -.9cqw 0 0 #fff, 0 .9cqw 0 #fff, 0 -.9cqw 0 #fff, .7cqw .7cqw 0 #fff, -.7cqw .7cqw 0 #fff, .7cqw -.7cqw 0 #fff, -.7cqw -.7cqw 0 #fff, 0 2.2cqw 0 var(--ink); transform:rotate(-4deg); margin-top:2cqw; }
  .hero { position:relative; width:58cqw; height:52cqw; margin-top:5cqw; background:#fff; border:.6cqw dashed rgba(29,36,51,.5); border-radius:3cqw; overflow:hidden; }
  /* wybór kraju: podgląd stroju + 20 flag (5 × 4) */
  .card#start { padding:4cqw 5cqw 3.4cqw; }
  #start .logo { font-size:14cqw; margin-top:1cqw; }
  .team { position:relative; width:100%; height:19cqw; margin-top:3.4cqw; background:#fff; border:.6cqw dashed rgba(29,36,51,.5); border-radius:3cqw; overflow:hidden; flex:none; }
  .team .fig { left:-4cqw; top:-9.6cqw; width:36cqw; height:31.1cqw; }
  .tname { position:absolute; left:32cqw; top:3.6cqw; right:2cqw; text-align:left; line-height:1.05; }
  .tname small { display:block; font-weight:800; font-size:3cqw; opacity:.55; }
  .tname b { display:block; font-size:8cqw; white-space:nowrap; }
  .flags { display:grid; grid-template-columns:repeat(5, 1fr); gap:1.4cqw; width:100%; margin-top:2.2cqw; flex:none; }
  .flag { height:11.6cqw; padding:0; border-radius:1.6cqw; border:.5cqw solid rgba(29,36,51,.4); overflow:hidden; background:#fff; }
  .flag svg { width:100%; height:100%; display:block; }
  .flag.sel { border:.9cqw solid var(--ink); box-shadow:0 .9cqw 0 var(--ink); transform:translateY(-.5cqw); }
  #start .rule { margin-top:3cqw; gap:1.6cqw; }
  #start .rule div { padding:1.5cqw 3cqw; font-size:3.8cqw; }
  #start .rule small { font-size:2.9cqw; }
  .hero .fig { left:-21cqw; top:-14cqw; width:100cqw; height:76.7cqw; transform:rotate(-5deg); }
  .hero .no { position:absolute; left:2cqw; top:1.4cqw; font-weight:800; font-size:3.4cqw; opacity:.5; }
  .rule { margin-top:4cqw; width:100%; text-align:left; display:grid; gap:2cqw; }
  .rule div { background:#fff; border:.5cqw solid var(--ink); border-radius:2.4cqw; padding:2cqw 3cqw; font-weight:800; font-size:4.1cqw; line-height:1.2; }
  .rule small { display:block; font-weight:600; font-size:3.1cqw; opacity:.7; margin-top:.5cqw; }
  .btns { margin-top:auto; width:100%; display:grid; gap:2.6cqw; }
  .btn { width:100%; min-height:13cqw; border-radius:3.4cqw; border:.7cqw solid var(--ink); background:var(--yellow); font-family:'Titan One', 'Arial Black', sans-serif; font-size:6cqw; color:var(--ink); box-shadow:0 1.1cqw 0 var(--ink); }
  .btn.alt { background:#fff; font-size:4.6cqw; min-height:11cqw; }
  .btn:active { transform:translateY(.8cqw); box-shadow:0 .3cqw 0 var(--ink); }
  .note { font-size:3.1cqw; font-weight:600; opacity:.75; min-height:4cqw; margin-top:1.6cqw; }
  .big { font-size:26cqw; line-height:1; color:var(--yellow); -webkit-text-stroke:.5cqw var(--ink); text-shadow:0 1.8cqw 0 var(--ink); margin-top:3cqw; }
  .rank { display:inline-block; margin-top:3cqw; padding:1.4cqw 4cqw; background:var(--ink); color:#fff; border-radius:6cqw; font-size:5cqw; transform:rotate(-2deg); }
  .rows { width:100%; margin-top:5cqw; display:grid; gap:1.6cqw; }
  .rows div { display:flex; justify-content:space-between; background:#fff; border:.5cqw solid var(--ink); border-radius:2cqw; padding:1.6cqw 3cqw; font-weight:800; font-size:4cqw; }
  .rows small { font-weight:600; opacity:.65; }
  .rows .g { background:#d9f7ea; } .rows .b { background:#ffe1df; } .rows .z { background:#ece6d6; }
  .best { margin-top:3cqw; font-weight:800; font-size:3.8cqw; opacity:.75; }

  /* ===== start: plakat meczowy (makiety-menu.html, wariant B) ===== */
  .card#start { padding:0; display:block; overflow:hidden; }
  #start > * { position:absolute; }
  .prays { left:-40cqw; top:-20cqw; width:180cqw; height:150cqw; background:repeating-conic-gradient(from 0deg at 50% 62%, var(--k1, #ffd23f) 0 9deg, var(--k2, #1f9d55) 9deg 18deg); clip-path:ellipse(50% 50% at 50% 50%); opacity:.95; }
  #start .logo { left:0; top:4cqw; width:100cqw; margin:0; text-align:center; font-size:21cqw; -webkit-text-stroke:1.6cqw var(--ink); paint-order:stroke fill; text-shadow:.9cqw 1.2cqw 0 var(--ink); }
  .pstub { left:50%; top:24.5cqw; transform:translateX(-50%) rotate(3deg); background:var(--ink); color:var(--yellow); font-size:3.6cqw; padding:1cqw 3.4cqw; border-radius:1.4cqw; letter-spacing:.08em; white-space:nowrap; }
  #herofig { left:22cqw; top:20cqw; width:56cqw; height:48.4cqw; }
  .pstub { z-index:2; }
  .pbot { left:5cqw; right:5cqw; bottom:2.4cqw; display:flex; flex-direction:column; gap:2cqw; z-index:3; }
  .pticket { background:#fff; border:.8cqw solid var(--ink); border-radius:3cqw; box-shadow:0 1.2cqw 0 var(--ink); padding:1.8cqw 2.6cqw 2.6cqw; }
  .pticket .hd { display:flex; justify-content:space-between; align-items:baseline; font-size:2.8cqw; font-weight:800; letter-spacing:.14em; color:#5a6276; }
  .pticket .hd b { font-size:6cqw; letter-spacing:0; color:var(--ink); white-space:nowrap; }
  #start .flags { position:static; grid-template-columns:repeat(5, 1fr); gap:1.5cqw; margin-top:1.4cqw; }
  #start .flag { height:10.6cqw; border-width:.45cqw; border-color:var(--ink); border-radius:1.6cqw; }
  #start .flag.sel { border:.45cqw solid var(--ink); box-shadow:0 0 0 .7cqw var(--yellow), 0 0 0 1.2cqw var(--ink); transform:none; }
  .phow { display:flex; gap:2.4cqw; text-align:left; }
  .phow div { flex:1; background:#fff; border:.7cqw solid var(--ink); border-radius:3cqw; padding:1.6cqw 2cqw; font-size:3.3cqw; font-weight:800; line-height:1.15; }
  .phow small { display:block; font-size:2.6cqw; font-weight:600; color:#5a6276; margin-top:.5cqw; } .phow em { font-style:normal; color:#c28a00; }
  #start .pbtn { width:100%; height:14.6cqw; min-height:0; flex:none; border-width:.9cqw; border-radius:4cqw; font-size:7cqw; box-shadow:0 1.4cqw 0 var(--ink); margin-bottom:1.2cqw; }
  .pfoot { position:relative; height:10.4cqw; flex:none; }
  #start .note { position:absolute; left:0; top:0; width:100%; height:100%; margin:0; min-height:0; display:flex; align-items:center; justify-content:center; font-size:3.4cqw; font-weight:800; opacity:1; text-align:center; }
  .plink { position:absolute; left:0; top:0; width:100%; height:100%; background:none; border:0; padding:0; font:800 3.5cqw Archivo, system-ui, sans-serif; color:var(--ink); text-decoration:underline; text-underline-offset:.8cqw; }
  #note:not(:empty) + .plink { visibility:hidden; }

  /* ===== koniec: telebim, potem karta wyniku (makiety-menu.html, wariant C) ===== */
  .card#end { padding:0; display:block; overflow:hidden; background:linear-gradient(#0d1030 0%, #2a2466 34%, #3b2f7a 44%); --k:1; }
  .card#end[hidden] { display:none; }
  #end > * { position:absolute; }
  .nlamp { top:5cqw; width:16cqw; height:7cqw; border-radius:1.5cqw; background:#dfe6ff; box-shadow:0 0 14cqw 8cqw rgba(190,205,255,.35); }
  .nlamp::after { content:''; position:absolute; left:7cqw; top:7cqw; width:2cqw; height:40cqw; background:#3a3f63; }
  .nstand { left:0; width:100cqw; top:96cqw; height:26cqw; background-color:#222c58; background-size:6cqw 6cqw; animation:esway 1.1s steps(2) infinite;
    background-image:radial-gradient(circle at 25% 30%, #ffd23f 1.1cqw, transparent 1.2cqw), radial-gradient(circle at 75% 70%, #ff7a59 1.1cqw, transparent 1.2cqw), radial-gradient(circle at 70% 20%, #7fe0b2 .9cqw, transparent 1cqw), radial-gradient(circle at 20% 78%, #ffffff .9cqw, transparent 1cqw); }
  @keyframes esway { 50% { background-position:0 -1.2cqw; } }
  .npitch { left:0; width:100cqw; top:122cqw; bottom:0; background:repeating-linear-gradient(#3fae4a 0 12cqw, #47b853 12cqw 24cqw); }
  .tft { left:0; width:100cqw; top:6cqw; text-align:center; font-size:13cqw; color:#fff; -webkit-text-stroke:1.2cqw var(--ink); paint-order:stroke fill; text-shadow:.7cqw .9cqw 0 var(--ink); transform:rotate(-3deg); }
  .trec { right:2cqw; top:90cqw; background:var(--yellow); color:var(--ink); border:.7cqw solid var(--ink); border-radius:50%; width:17cqw; height:17cqw; opacity:0; display:flex; align-items:center; justify-content:center; text-align:center; font-size:3.4cqw; line-height:1.05; transform:rotate(12deg); box-shadow:0 1cqw 0 var(--ink); z-index:3; }
  .trec[hidden] { display:none; }
  .tboard { left:6cqw; width:88cqw; top:27cqw; background:#0c1026; border:1.1cqw solid var(--ink); border-radius:3.4cqw; box-shadow:0 0 0 .9cqw #3a3f63, 0 0 12cqw rgba(120,150,255,.45); padding:3cqw 3.4cqw 3.6cqw; color:#fff; text-align:left;
    background-image:radial-gradient(rgba(255,255,255,.07) .25cqw, transparent .3cqw); background-size:1.1cqw 1.1cqw; }
  .trow { display:flex; justify-content:space-between; align-items:baseline; font-size:3.9cqw; font-weight:800; padding:1.15cqw 0; border-bottom:.3cqw dashed rgba(255,255,255,.16); opacity:0; animation:epop .25s steps(3) calc(var(--k) * var(--d)) forwards; }
  .trow small { font-weight:600; font-size:2.9cqw; color:#9aa6cc; margin-left:1.4cqw; } .trow .v { font-family:'Titan One', 'Arial Black', sans-serif; font-size:4.6cqw; }
  .trow.g .v { color:var(--yellow); } .trow.w .v { color:var(--mint); } .trow.b .v { color:#ff6b63; } .trow.z .v { color:#7a84a8; }
  @keyframes epop { from { opacity:0; transform:translateY(1.2cqw); } to { opacity:1; transform:none; } }
  .tcalc { text-align:center; font-size:4.2cqw; font-weight:800; color:#9aa6cc; margin-top:2.2cqw; min-height:5cqw; opacity:0; animation:epop .25s steps(3) calc(var(--k) * 1.7s) forwards; } .tcalc b { color:var(--mint); } .tcalc i { font-style:normal; color:#ff6b63; }
  .tsum { text-align:center; font-size:21cqw; line-height:1; color:var(--yellow); text-shadow:.8cqw 1cqw 0 #000; opacity:0; animation:eslam .35s cubic-bezier(.2,2.2,.4,1) calc(var(--k) * 2.2s) forwards; }
  @keyframes eslam { from { opacity:0; transform:scale(2.2); } to { opacity:1; transform:none; } }
  .trank { z-index:4; left:8cqw; width:84cqw; top:110cqw; text-align:center; background:var(--red); color:#fff; border:.9cqw solid var(--ink); border-radius:3cqw; font-size:6cqw; padding:1.6cqw 0; box-shadow:0 1.2cqw 0 var(--ink); opacity:0;
    animation:eslam .3s cubic-bezier(.2,2.2,.4,1) calc(var(--k) * 2.7s) forwards, eaway .45s cubic-bezier(.5,0,.8,.4) calc(var(--k) * 3.9s) forwards; }
  .tboard, .tft { animation:eaway .45s cubic-bezier(.5,0,.8,.4) calc(var(--k) * 3.9s) forwards; }
  .trec { animation:eslam .3s cubic-bezier(.2,2.2,.4,1) calc(var(--k) * 2.45s) forwards, eaway .45s cubic-bezier(.5,0,.8,.4) calc(var(--k) * 3.9s) forwards; }
  @keyframes eaway { to { opacity:0; transform:translateY(-34cqw) scale(.7); } }
  .tcard { left:13cqw; width:74cqw; top:6cqw; border-radius:3cqw; border:1cqw solid #fff; box-shadow:0 0 0 .8cqw var(--ink), 0 2.4cqw 0 .8cqw var(--ink); display:block; z-index:5; opacity:0; transform:translateY(120cqw) rotate(14deg); animation:ecardin .6s cubic-bezier(.2,1.5,.4,1) calc(var(--k) * 4.15s) forwards; }
  .tcard:not([src]) { visibility:hidden; }
  @keyframes ecardin { to { opacity:1; transform:rotate(-3deg); } }
  .tconf { left:0; right:0; top:-30cqw; height:calc(100% + 30cqw); z-index:6; pointer-events:none; opacity:0; will-change:transform; animation:efall 1.7s linear infinite, eshow .2s linear calc(var(--k) * 4.5s) forwards;
    background-image:radial-gradient(circle, #ffd23f 1cqw, transparent 1.1cqw), radial-gradient(circle, #ff7a59 .9cqw, transparent 1cqw), radial-gradient(circle, #7fe0b2 .8cqw, transparent .9cqw), radial-gradient(circle, #fff .7cqw, transparent .8cqw);
    background-size:23cqw 30cqw, 29cqw 30cqw, 19cqw 30cqw, 31cqw 30cqw; background-position:3cqw 5cqw, 14cqw 20cqw, 9cqw 12cqw, 21cqw 27cqw; }
  @keyframes efall { to { transform:translateY(30cqw); } } @keyframes eshow { to { opacity:.9; } }
  #end .tnext { left:8cqw; width:84cqw; top:149cqw; height:14cqw; min-height:0; z-index:7; opacity:0; animation:epop .25s steps(3) calc(var(--k) * 5s) forwards; }
  #end .best { left:0; width:100cqw; top:167.5cqw; margin:0; z-index:7; color:#fff; text-align:center; font-size:3.3cqw; opacity:.85; }
  /* stuknięcie w ekran: wszystko od razu w stanie końcowym */
  #end.skip .trow, #end.skip .tcalc, #end.skip .tsum, #end.skip .trank, #end.skip .tboard, #end.skip .tft, #end.skip .trec, #end.skip .tcard, #end.skip .tnext { animation-duration:.01s !important; animation-delay:0s !important; }
  #end.skip .tconf { opacity:.9; }
