@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/barlow-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-800-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(fonts/barlow-condensed-900-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 900; font-display: swap; src: url(fonts/barlow-condensed-900-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Wydruki A4: wyniki i plakat */
* { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body { margin: 0; background: #dfe7f0; color: #0b1f33; font: 10.5pt/1.35 "Barlow", Arial, sans-serif; }
h1, h2 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; margin: 0; }
.bar { position: sticky; top: 0; display: flex; gap: 10px; justify-content: center; padding: 10px; background: #04172b; z-index: 5; }
.bar button, .bar a { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 8px 18px; background: #fff; color: #04172b; cursor: pointer; text-decoration: none; }
.sheet { width: 210mm; min-height: 297mm; margin: 14px auto; background: #fff; padding: 12mm; }

.head { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid #f5b83d; padding-bottom: 8px; }
.head img { height: 58px; }
.head h1 { font-size: 28pt; line-height: .95; color: #072747; }
.head p { margin: 3px 0 0; color: #50667d; }
.head .stamp { margin-left: auto; text-align: right; font-size: 9pt; color: #50667d; white-space: nowrap; }
h2 { font-size: 16pt; color: #0763ab; margin: 11px 0 4px; }
h2 small { font: 400 9pt "Barlow", Arial, sans-serif; color: #50667d; text-transform: none; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 2px 5px; border-bottom: 1px solid #d0dce8; text-align: left; }
th { font-size: 8.5pt; color: #50667d; font-weight: 500; background: #edf2f8; }
.c, .sc { text-align: center; white-space: nowrap; }
.r { text-align: right; }
.sc { font-weight: 600; }
.games td { width: 36%; }
.games .nr, .games .time { width: 6%; color: #50667d; }
.games { table-layout: fixed; }
.games .sc { width: 16%; white-space: normal; }
.games .sc small { font-weight: 400; }
tr { break-inside: avoid; }
h2 { break-after: avoid; }
.foot { margin: 6px 0 0; font-size: 8.5pt; color: #50667d; }

.poster { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.poster .top { padding: 14mm 14mm 12mm; color: #fff; text-align: center; border-bottom: 2mm solid #f5b83d; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(42, 142, 224, .45), transparent 70%), linear-gradient(160deg, #072747, #04172b 80%); }
.poster .top img { width: 88mm; }
.poster h1 { margin-top: 6mm; font-size: 66pt; font-weight: 900; line-height: .9; color: #f5b83d; }
.poster .sub { margin: 4mm 0 0; font: 600 18pt/1.2 "Barlow Condensed", sans-serif; }
.poster .date { display: inline-block; margin-top: 5mm; padding: 2mm 9mm; border: .8mm solid #f5b83d; border-radius: 20mm; font: 700 27pt/1.1 "Barlow Condensed", sans-serif; color: #ffd97f; }
.poster .mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5mm; padding: 6mm; }
.poster .mid h2 { margin: 0; font-size: 30pt; color: #072747; }
.poster .qr { width: 92mm; height: 92mm; }
.poster .qr svg { width: 100%; height: 100%; display: block; }
.poster .url { font: 700 27pt/1 "Barlow Condensed", sans-serif; color: #0763ab; }
.poster .hall { padding: 6mm 14mm; background: #04172b; color: #fff; text-align: center; font-size: 13pt; }

@media print {
  body { background: #fff; }
  .bar { display: none; }
  .sheet { margin: 0; width: auto; min-height: 0; padding: 0; }
  /* plakat zawsze na jednej stronie A4 (z zapasem na zaokrąglenia przeglądarki) */
  .sheet.poster { width: 210mm; height: 295mm; overflow: hidden; break-inside: avoid; }
}
