:root {
  --tier: #a0a0a0;
  --page-max: 1180px;
  --page-x: clamp(12px, 3vw, 24px);
  --nav-h: 80px;
  --ticker-h: 34px;
  --head-h: var(--nav-h); /* pasek Meta nie jest przyklejony — przewija się razem ze stroną */
  --gap: 10px;
  --bg-main: #0a0a0b;
  --bg-card: #0e0e10;
  --bg-raised: #121214;
  --bg-hover: #18181b;
  --border: #ffffff12;
  --border-strong: #ffffff1f;
  --border-accent: #f973166b;
  --primary: #f97316;
  --primary-hover: #fb923c;
  --text-main: #eaeaea;
  --text-strong: #f4f4f5;
  --text-muted: #a0a0a0;
  --font-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
}
/* Rozmiar czcionki: wszystko w rem, więc skaluje się cała strona. Domyślnie mała. */
html { font-size: 15px; }
html[data-font="m"] { font-size: 17px; }
html[data-font="l"] { font-size: 19px; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } } /* clip zamiast hidden: nie psuje position: sticky */
body {
  margin: 0; background: var(--bg-main); color: var(--text-main);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
  padding-top: var(--head-h);
}
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* animowane tło: sieć pomarańczowych punktów połączonych liniami + delikatne poziome linie */
.app-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--bg-main); }
.app-bg::after { content: ""; position: absolute; inset: 0; opacity: .4; background: repeating-linear-gradient(#f9731604, #f9731604 1px, #0000 2px 4px); }
.app-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
main, .site-footer { position: relative; z-index: 1; }

/* nawigacja */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #0e0e10; border-bottom: 1px solid var(--border); box-shadow: 0 1px #0009; }
.navbar { max-width: calc(var(--page-max) + 2 * var(--page-x)); height: var(--nav-h); margin: 0 auto; padding: 0 var(--page-x); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text-strong); min-width: 0; }
.brand-logo { flex-shrink: 0; width: 68px; height: 68px; object-fit: contain; display: block; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand:hover { color: #fff; }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.tabs, .font-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-md); }
.tabs a { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; color: #ffffff73; white-space: nowrap; border-radius: var(--radius-sm); padding: 6px 10px; font-size: .85rem; font-weight: 600; line-height: 1.3; text-decoration: none; transition: color .2s, background .2s; }
.tabs a:hover { color: #fff; background: #ffffff0f; }
.tabs a.active { color: #0a0a0b; background: var(--primary); }

/* główne menu: ikona + napis, skośne separatory między pozycjami, pomarańczowa belka pod aktywną */
.nav-links { display: flex; align-items: stretch; align-self: stretch; }
.nav-link { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 18px; font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: #ffffff8c; transition: color .2s, background .25s; }
.nav-link + .nav-link::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; background: linear-gradient(#f9731600, var(--primary), #f9731600); transform: translateY(-50%); }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--primary); box-shadow: 0 0 12px #f97316b3; transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.nav-icon { flex-shrink: 0; width: 20px; height: 20px; color: #ffffff8c; transition: color .2s, transform .25s ease; }
.nav-link:hover { color: #fff; background: linear-gradient(0deg, #f9731614, #0000 70%); }
.nav-link:hover .nav-icon { color: var(--primary); transform: translateY(-2px); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: #fff; background: linear-gradient(0deg, #f973161f, #0000 75%); }
.nav-link.active .nav-icon { color: var(--primary); }
.nav-link.active::after { transform: scaleX(1); }
.navbar { align-items: stretch; }
.brand, .nav-right { align-items: center; }
.nav-right { align-self: stretch; gap: 14px; }
.font-switch { align-self: center; }

/* wybór języka (GTranslate, lista z flagami) — przycisk z flagą w pasku, pod nim rozwijana lista wszystkich języków.
   Widżet wstrzykuje własne style, stąd mocniejsze selektory i !important przy wymiarach listy. */
.lang-switch { position: relative; align-self: center; }
.lang-switch .gtranslate_wrapper .gt_switcher { position: relative; width: 128px; overflow: visible; font-family: var(--font-heading); line-height: 1; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected { background: var(--bg-raised); border-radius: var(--radius-md); z-index: 1; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected a { display: flex; align-items: center; gap: 8px; box-sizing: border-box; width: 100%; height: 34px; padding: 0 30px 0 8px; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text-strong); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s, background .2s; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected a:hover, .lang-switch .gtranslate_wrapper .gt_switcher .gt_selected a.open { border-color: var(--border-accent); background: var(--bg-hover); }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected a:after { right: 8px; top: 50%; height: 14px; margin-top: -7px; background-size: 11px; }
.lang-switch .gtranslate_wrapper .gt_switcher a img { flex-shrink: 0; width: 22px; height: 22px; border-radius: 2px; opacity: 1; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option { position: absolute; top: calc(100% + 6px); right: 0; z-index: 1200; box-sizing: border-box; width: 220px; height: auto !important; max-height: min(288px, calc(100vh - var(--nav-h) - 24px)); overflow-y: auto !important; padding: 0 4px 4px; border: 1px solid var(--border-accent) !important; border-radius: var(--radius-md); background: #0e0e10; box-shadow: 0 18px 44px #000000d9; transition: none; scrollbar-width: thin; scrollbar-color: #f9731699 #ffffff0a; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option::-webkit-scrollbar { width: 6px; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option::-webkit-scrollbar-track { background: #ffffff0a; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option::-webkit-scrollbar-thumb { background: #f9731699; border-radius: 3px; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: var(--radius-sm); color: var(--text-main); font-family: var(--font-body); font-size: 1.077rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option a:hover { background: #f973161f; color: #fff; }
/* lista zamyka się od razu (widżet sam chowa ją dopiero po pół sekundy) */
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected:not(:has(a.open)) + .gt_option { display: none !important; }
/* pole wyszukiwania języka — przyklejone u góry listy */
.gt-search-wrap { position: sticky; top: 0; z-index: 2; margin: 0 -4px 4px; padding: 6px; background: #0e0e10; border-bottom: 1px solid var(--border); }
.gt-search { display: block; width: 100%; height: 30px; padding: 0 8px 0 28px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='square'%3E%3Ccircle cx='9' cy='9' r='5'/%3E%3Cpath d='M13 13l4 4'/%3E%3C/svg%3E") no-repeat 7px center / 14px 14px; color: var(--text-strong); font-family: var(--font-body); font-size: 1.077rem; line-height: 1; }
.gt-search::placeholder { color: #ffffff59; }
.gt-search:focus { outline: none; border-color: var(--primary); }
.gt-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_option a.gt-hide { display: none; }
.gt-empty { margin: 0; padding: 10px 8px; color: var(--text-muted); font-family: var(--font-body); font-size: 1rem; line-height: 1.3; }
/* w pasku sama flaga ze strzałką, bez nazwy języka */
.lang-switch .gtranslate_wrapper .gt_switcher { width: 58px; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected a { font-size: 0; letter-spacing: 0; gap: 0; padding: 0 22px 0 7px; }
.lang-switch .gtranslate_wrapper .gt_switcher .gt_selected a:after { right: 5px; }
@media (max-width: 480px) {
  .lang-switch .gtranslate_wrapper .gt_switcher .gt_option { right: -90px; width: min(230px, calc(100vw - 24px)); }
}

/* Google Translate dokleja własny pasek i przesuwa stronę — chowamy to, żeby nie psuło układu */
.skiptranslate iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
@media (max-width: 480px) { .gtranslate_wrapper .gt_selector { width: 44px; max-width: 44px; padding: 0 0 0 44px; background-image: none; } .lang-icon { left: 12px; } }

.font-switch button { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: var(--radius-sm); background: none; color: #ffffff73; font-family: var(--font-heading); font-weight: 600; line-height: 1; transition: color .2s, background .2s; }
.font-switch button[data-fs="s"] { font-size: .85rem; }
.font-switch button[data-fs="m"] { font-size: 1.077rem; }
.font-switch button[data-fs="l"] { font-size: 1.308rem; }
.font-switch button:hover { color: #fff; background: #ffffff0f; }
.font-switch button[aria-pressed="true"] { color: #0a0a0b; background: var(--primary); }

/* układ strony */
main { flex: 1; width: 100%; max-width: calc(var(--page-max) + 2 * var(--page-x)); margin: 0 auto; padding: 14px var(--page-x) 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); position: relative; }

/* strona główna: dwa kafle-skróty (Buildy, Team) nad aktualnościami; proporcje 3:1, obrazek widoczny w całości */
.home-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-bottom: 22px; }
.home-tile { display: block; aspect-ratio: 3 / 1; overflow: hidden; color: #f8fafc; text-decoration: none; transition: border-color .2s; }
.home-tile:hover { border-color: var(--primary); color: #fff; }
.home-tile-img { background: #060607; }
.home-tile-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: filter .2s; }
.home-tile-img:hover img { filter: brightness(1.12); }
/* obrazek z tytułem i podpisem: przyciemnienie od dołu, żeby napis był czytelny */
.home-tile-captioned::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0a0a0bf0 0%, #0a0a0b99 32%, #0a0a0b00 62%); pointer-events: none; }
.home-tile-captioned .home-tile-label, .home-tile-captioned .home-tile-sub { text-shadow: 0 1px 6px #000; }
.home-tile-empty { border-left: 3px solid #f9731673; background: repeating-linear-gradient(135deg, #ffffff05 0 12px, #0000 12px 24px), linear-gradient(120deg, #17110b, #0e0e10 60%); }
.home-tile-empty:hover { border-left-color: var(--primary); }
.home-tile-text { position: absolute; left: 18px; bottom: 16px; right: 64px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.home-tile-label { font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.home-tile-sub { color: #e2e8f0c7; font-size: .95rem; }
.home-tile-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #0e0e10cc; color: var(--primary); transition: background .15s, color .15s, border-color .15s; }
.home-tile:hover .home-tile-arrow { background: var(--primary); border-color: var(--primary); color: #0a0a0b; }
@media (max-width: 540px) { .home-tile-label { font-size: 1.3rem; } .home-tile-sub, .home-tile-arrow { display: none; } .home-tile-text { left: 10px; bottom: 8px; right: 10px; } }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: var(--gap); }
.section-head h2 { font-family: var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: #f8fafc; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.7rem; font-weight: 700; line-height: 1.15; }
.section-tools { display: flex; align-items: center; gap: 8px; }
.dot { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px #f9731629; }

/* podstrona Aktualności: nagłówek strony + osobne bloki (Patch notes, Aktualności) */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.page-head h1 { font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; color: #f8fafc; margin: 0; }
.page-jump { display: flex; gap: 6px; }
.page-jump a { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-strong); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, color .2s; }
.page-jump a:hover { border-color: var(--border-accent); color: var(--primary-hover); }
.news-block { margin-bottom: 22px; }
.block-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin-bottom: var(--gap); border-left: 3px solid var(--primary); background: linear-gradient(90deg, #f9731614, var(--bg-card) 45%); }
.block-icon { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--primary); }
.block-title { min-width: 0; flex: 1; }
.block-title h2 { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; color: #f8fafc; margin: 0; }
.block-title p { margin: 2px 0 0; color: var(--text-muted); font-size: .95rem; }
.block-count { flex-shrink: 0; font-family: var(--font-heading); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.block-count strong { color: var(--primary); font-size: 1.5rem; font-weight: 700; letter-spacing: 0; margin-right: 2px; }
@media (max-width: 540px) { .block-title p { display: none; } }

/* zwijanie / rozwijanie bloku: klik w belkę albo w strzałkę */
.block-head { cursor: pointer; user-select: none; transition: border-color .2s, background .2s; }
.block-head:hover { border-color: var(--border-accent); }
.block-toggle { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--primary); transition: background .15s, color .15s, border-color .15s; }
.block-toggle svg { transition: transform .25s ease; }
.block-head:hover .block-toggle { border-color: var(--border-accent); }
.block-toggle:hover { background: var(--primary); border-color: var(--primary); color: #0a0a0b; }
.news-block.collapsed .block-toggle svg { transform: rotate(-90deg); }
.news-block.collapsed .block-head { margin-bottom: 0; }
.news-block.collapsed { margin-bottom: 10px; }
/* animacja zwijania: wysokość płynnie od pełnej do zera (grid 1fr -> 0fr), treść jednocześnie blednie */
.block-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s cubic-bezier(.3, .7, .2, 1), opacity .3s ease, visibility 0s; }
.block-body-inner { min-height: 0; overflow: hidden; padding-top: 4px; margin-top: -4px; }
.news-block.collapsed .block-body { grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .4s cubic-bezier(.3, .7, .2, 1), opacity .25s ease, visibility 0s .4s; }
.block-head { transition: border-color .2s, background .2s, margin-bottom .4s cubic-bezier(.3, .7, .2, 1); }
.news-block { transition: margin-bottom .4s cubic-bezier(.3, .7, .2, 1); }
.news-block.no-anim, .news-block.no-anim .block-body, .news-block.no-anim .block-head, .news-block.no-anim .block-toggle svg { transition: none; }

/* blok na podstronie Aktualności: najnowszy wpis duży po lewej, po prawej 5 kolejnych jeden pod drugim + „Pokaż więcej" */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.feature-single { grid-template-columns: 1fr; }
.news-card.news-card-feature { align-self: start; }
.news-card.news-card-feature h3 { font-size: 1.6rem; }
.news-card.news-card-feature p { -webkit-line-clamp: 3; line-clamp: 3; }
/* prawa kolumna ma wysokość dużego kafelka: 5 wierszy mieści się dokładnie, a po „Pokaż więcej"
   kolejne dochodzą do tej samej listy i przewija się ją w środku (strona się nie wydłuża) */
.feature-side { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; min-height: 430px; }
.feature-scroll { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: var(--gap); overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #f9731699 #ffffff0a; }
.feature-scroll::-webkit-scrollbar { width: 6px; }
.feature-scroll::-webkit-scrollbar-track { background: #ffffff0a; border-radius: 3px; }
.feature-scroll::-webkit-scrollbar-thumb { background: #f9731699; border-radius: 3px; }
.feature-side.expanded .feature-scroll { padding-right: 6px; }
.news-card[hidden] { display: none; }
.news-card.news-card-row { flex: 0 0 calc((100% - 4 * var(--gap)) / 5); min-height: 0; }
.news-card.news-card-row:hover { transform: none; }
.news-card.news-card-row .news-card-link { flex-direction: row; height: 100%; }
.news-card.news-card-row .thumb { flex-shrink: 0; height: 100%; aspect-ratio: 16 / 9; border-bottom: 0; border-right: 1px solid var(--border); }
.news-card.news-card-row .news-card-body { justify-content: center; gap: 4px; padding: 6px 12px; min-width: 0; }
.news-card.news-card-row h3 { font-size: 1.05rem; }
.news-card.news-card-row p { -webkit-line-clamp: 1; line-clamp: 1; }
.news-card.news-card-row .btn { display: none; }
.news-card.news-card-row .card-actions { right: auto; height: 100%; aspect-ratio: 16 / 9; gap: 5px; }
.news-card.news-card-row .card-action { width: 30px; height: 30px; }
.news-card.news-card-row .card-action svg { width: 14px; height: 14px; }
.more-btn { flex: 0 0 auto; width: 100%; min-height: 32px; cursor: pointer; }
.more-btn:hover { border-color: var(--border-accent); color: var(--primary-hover); background: var(--bg-hover); }
.more-count { color: var(--primary); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-side { min-height: 0; }
  .feature-scroll { flex: 0 0 auto; height: calc(5 * 92px + 4 * var(--gap)); }
  .news-card.news-card-row { flex: 0 0 92px; }
}
@media (max-width: 540px) {
  .news-card.news-card-row .thumb, .news-card.news-card-row .card-actions { aspect-ratio: 4 / 3; }
  .news-card.news-card-row p { display: none; }
}
/* na ekranach dotykowych miniatura w liście jest za mała na ikony — cały wiersz po prostu otwiera wpis */
@media (hover: none) { .news-card.news-card-row .card-actions { display: none; } }

/* zakładka Team: 8 kart graczy (4 w rzędzie) — avatar, nick, pozycja w teamie, krótki opis */
.page-count { font-family: var(--font-heading); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.page-count strong { color: var(--primary); font-size: 1.5rem; font-weight: 700; letter-spacing: 0; margin-right: 2px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* karta pionowa: avatar u góry, pod nim nick, pozycja i opis — 4 karty w rzędzie */
.player { display: flex; flex-direction: column; overflow: hidden; border-left: 3px solid #f9731673; transition: border-color .25s, transform .25s ease, box-shadow .25s; }
.player:hover { border-color: var(--border-accent); border-left-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 30px #00000099; }
.player-avatar { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #ffffff05 0 12px, #0000 12px 24px), linear-gradient(160deg, #17110b, #0b0b0d 65%); border-bottom: 1px solid var(--border); overflow: hidden; }
.player-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.player-avatar svg { width: 46%; height: 46%; color: #ffffff1f; }
.player-avatar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #050506d9 0%, #05050600 55%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.player:hover .player-avatar::after { opacity: 1; }
.player-no { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 2px 7px; border: 1px solid var(--border-accent); border-radius: var(--radius-sm); background: #0e0e10cc; color: var(--primary); font-family: var(--font-heading); font-size: .923rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.player-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.player-head { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.player-nick { font-family: var(--font-heading); font-weight: 700; font-size: 1.45rem; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; color: #f8fafc; margin: 0; overflow-wrap: anywhere; }
.player-position { margin: 0; padding: 1px 7px; border: 1px solid var(--border-accent); border-radius: var(--radius-sm); background: #f973161f; color: var(--primary-hover); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.player-title { margin: -2px 0 0; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.player-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.player-position-alt { background: none; border-color: var(--border-strong); color: #ffffffb3; }
.player-bio { margin: 0; color: #e2e8f0c7; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.player-bio p { margin: 0 0 .55em; }
.player-bio p:last-child { margin-bottom: 0; }
/* długi opis jest przycięty do kilku linii; „Czytaj więcej" rozwija go w karcie */
div.player-bio { position: relative; max-height: 7.5em; overflow: hidden; transition: max-height .35s ease; }
div.player-bio.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em; background: linear-gradient(0deg, var(--bg-card), #0e0e1000); pointer-events: none; transition: opacity .2s; }
div.player-bio.is-open::after { opacity: 0; }
.player-more { align-self: flex-start; padding: 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--primary); font-family: var(--font-heading); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.player-more:hover { border-bottom-color: var(--primary); }
.player-more[hidden] { display: none; }
.player-motto { margin: auto 0 0; padding: 6px 0 0 10px; border-left: 2px solid var(--primary); color: #ffffffb3; font-size: .9rem; font-style: italic; line-height: 1.45; }
.player-body > .player-motto { margin-top: auto; }
.player-empty .player-nick { color: #ffffff59; }
.player-empty .player-position { background: none; border-color: var(--border-strong); color: var(--text-muted); }
.player-empty .player-bio { color: #ffffff59; }
@media (max-width: 540px) { .player-nick { font-size: 1.2rem; } .player-body { padding: 8px 10px 10px; } }

/* zakładka Buildy: tier lista broni — wiersz na tier (litera po lewej), kafelki broni po prawej */
.page-head-sub { margin-left: 10px; font-size: 1rem; font-weight: 600; letter-spacing: .12em; color: var(--text-muted); }
.tier-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: var(--gap); }
.tier-filter { flex-wrap: wrap; }
.tier-filter button { border: 0; background: none; cursor: pointer; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; color: #ffffff73; white-space: nowrap; border-radius: var(--radius-sm); padding: 6px 10px; font-size: .85rem; font-weight: 600; line-height: 1.3; transition: color .2s, background .2s; }
.tier-filter button:hover { color: #fff; background: #ffffff0f; }
.tier-filter button.active { color: #0a0a0b; background: var(--primary); }
.tier-filter-n { margin-left: 3px; opacity: .6; font-size: .9em; }
.tier-hint { margin: 0; color: var(--text-muted); font-size: .9rem; }
.tier-list { display: grid; gap: 6px; }
.tier-row { --tier: #a0a0a0; display: grid; grid-template-columns: 92px minmax(0, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); overflow: hidden; }
.tier-row[hidden] { display: none; }
.tier-s { --tier: #f97316; } .tier-a { --tier: #facc15; } .tier-b { --tier: #4ade80; } .tier-c { --tier: #c084fc; } .tier-d { --tier: #94a3b8; }
.tier-label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 6px; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--tier) 26%, #0e0e10), color-mix(in srgb, var(--tier) 10%, #0e0e10)); border-right: 1px solid var(--border); border-left: 3px solid var(--tier); }
.tier-letter { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--tier); }
.tier-desc { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ffffffa6; line-height: 1.2; }
.tier-weapons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; padding: 6px; align-content: start; }
.weapon { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 8px 7px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); color: inherit; text-align: left; font: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s ease, background .2s; }
.weapon[hidden] { display: none; }
.weapon:hover, .weapon:focus-visible { color: inherit; border-color: var(--border-accent); background: var(--bg-hover); transform: translateY(-2px); }
.weapon:disabled { cursor: default; }
.weapon-img { display: block; aspect-ratio: 150 / 52; }
.weapon-img img { width: 100%; height: 100%; object-fit: contain; display: block; filter: grayscale(1) brightness(1.5); }
.weapon-name { font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; letter-spacing: .03em; line-height: 1.2; color: #f8fafc; overflow-wrap: anywhere; }
.weapon-cat { font-size: .85rem; color: var(--text-muted); line-height: 1.25; }
.weapon-cta { margin-top: 3px; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffffff59; transition: color .2s; }
.weapon:hover .weapon-cta { color: var(--primary-hover); }
.weapon .weapon-cta span { display: inline-block; transition: transform .2s ease; }
.weapon:hover .weapon-cta span { transform: translateX(3px); }
.weapon-ease { position: absolute; top: 5px; right: 5px; padding: 0 5px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #0e0e10d9; color: #ffffffb3; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; line-height: 1.5; }
.weapon.copied { border-color: #22c55e99; }
.weapon.copied .weapon-code { color: #86efac; }
.tier-source { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 10px 0 0; color: #ffffff6b; font-size: .85rem; }
.tier-source strong { color: #ffffffb3; font-weight: 500; }
@media (max-width: 640px) {
  .tier-row { grid-template-columns: 52px minmax(0, 1fr); }
  .tier-letter { font-size: 1.9rem; }
  .tier-desc { display: none; }
  .tier-weapons { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
  .tier-hint { display: none; }
}

/* baner podstrony (Buildy, Team): obraz w całości na szerokość strony; jeśli ma własny tytuł, tekstowy nagłówek zostaje tylko dla czytników */
.page-banner { overflow: hidden; margin-bottom: 10px; background: #060607; }
.page-banner img { display: block; width: 100%; height: auto; }
.page-head-banner { justify-content: flex-end; }
.page-head-banner h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* strona główna: build dnia — po lewej broń, po prawej pełna karta buildu */
.botd { margin-top: 52px; }
.botd-date { font-family: var(--font-heading); font-size: .95rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-hover); }
.botd-grid { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
.botd-weapon { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; border-left: 3px solid var(--tier); background: radial-gradient(130% 100% at 0% 0%, color-mix(in srgb, var(--tier) 16%, #0e0e10), #0e0e10 60%); }
.botd-tier { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--tier); border-radius: var(--radius-md); color: var(--tier); font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.botd-img { display: block; width: 100%; max-width: 15rem; margin: 6px 0 4px; }
.botd-img img { width: 100%; height: auto; display: block; filter: grayscale(1) brightness(1.5); }
.botd-weapon h3 { margin: 0; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; line-height: 1.05; letter-spacing: .02em; color: #f8fafc; }
.botd-cat { margin: 0; color: var(--text-muted); font-size: .98rem; }
.botd-desc { margin: 8px 0 12px; color: #e2e8f0c7; font-size: 1.02rem; line-height: 1.55; }
.botd-more { align-self: flex-start; margin-top: auto; min-height: 34px; padding: 0 14px; cursor: pointer; }
.botd-more:hover { border-color: var(--border-accent); color: var(--primary-hover); background: var(--bg-hover); }
.botd-build { border-left-color: var(--primary); }
.botd-build .att-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.botd-build .att { grid-template-columns: 36px minmax(0, 1fr); }
.botd-build .att-effects { grid-column: 1 / -1; justify-content: flex-start; }
@media (max-width: 900px) { .botd-grid { grid-template-columns: 1fr; } .botd-build .att-list { grid-template-columns: 1fr; } }

/* strona główna: kanały Twitch członków klanu — avatar, nazwa, status; cała karta prowadzi na Twitcha */
/* Discord + Twitch na stronie głównej: dwie kolumny (Discord | lista kanałów), na telefonie jedna pod drugą */
.community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; margin-top: 52px; }
.community > section { display: flex; flex-direction: column; min-width: 0; margin-top: 0; }
.community .twitch-grid { grid-template-columns: 1fr; align-content: start; }
@media (max-width: 900px) { .community { grid-template-columns: 1fr; gap: 36px; } }
.discord { margin-top: 52px; }
.discord-panel { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; overflow: hidden; border-top: 2px solid var(--primary); background: radial-gradient(120% 130% at 0% 0%, #f9731626, #f9731600 55%), linear-gradient(180deg, #131316, #0c0c0e); }
.discord-watermark { position: absolute; right: -28px; top: -18px; width: 190px; height: 190px; color: #f973160f; transform: rotate(-12deg); pointer-events: none; }
.discord-panel > :not(.discord-watermark) { position: relative; }
.discord-top { display: flex; align-items: center; gap: 16px; }
.discord-icon { position: relative; flex-shrink: 0; width: 84px; height: 84px; }
.discord-icon img, .discord-icon .twitch-mono { display: grid; place-items: center; width: 84px; height: 84px; border: 2px solid var(--primary); border-radius: 22px; background: #0b0b0d; object-fit: cover; box-shadow: 0 0 0 4px #f973161f, 0 12px 30px -12px #f97316b3; }
.discord-badge { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 28px; height: 28px; border: 3px solid #121215; border-radius: 50%; background: #f8fafc; color: #0a0a0b; }
.discord-names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.discord-kicker { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-hover); }
.discord-name { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; letter-spacing: .04em; line-height: 1.05; text-transform: uppercase; color: #f8fafc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.discord-channel { color: var(--text-muted); font-size: .92rem; }
.discord-channel b { color: #e2e8f0; font-weight: 600; }
.discord-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; }
.discord-stats div { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #0a0a0bb3; }
.discord-stats dt { display: flex; align-items: center; gap: 7px; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.discord-stats dd { margin: 2px 0 0; font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; line-height: 1; color: #f8fafc; font-variant-numeric: tabular-nums; }
.discord-stats .is-online { border-color: #22c55e59; background: linear-gradient(180deg, #22c55e14, #0a0a0bb3); }
.discord-stats .is-online dd { color: #4ade80; }
.discord-stats .is-voice.is-busy { border-color: #f9731666; background: linear-gradient(180deg, #f973161a, #0a0a0bb3); }
.discord-stats .is-voice.is-busy dd { color: var(--primary-hover); }
.discord-stats .is-voice dt svg { flex-shrink: 0; }
.discord-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #22c55e33; animation: live-pulse 1.6s ease-in-out infinite; }
/* kanały głosowe: nazwa + liczba osób, a pod spodem kto na nim siedzi */
.dc-voice-box { display: flex; flex-direction: column; gap: 6px; }
.dc-voice-sum { margin-left: auto; font-family: var(--font-body); font-size: .85rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-muted); }
.dc-people-n.is-zero { background: #ffffff0f; color: var(--text-muted); }
.dc-channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 4px; }
.dc-channel { display: flex; flex-direction: column; gap: 6px; padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #0a0a0bb3; color: var(--text-muted); }
.dc-channel.is-busy { border-color: #22c55e59; background: linear-gradient(180deg, #22c55e12, #0a0a0bb3); color: #4ade80; }
.dc-ch-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.dc-ch-ico { flex-shrink: 0; }
.dc-ch-name { flex: 1; min-width: 0; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; color: #e2e8f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-channel:not(.is-busy) .dc-ch-name { color: var(--text-muted); }
.dc-ch-n { flex-shrink: 0; min-width: 1.6rem; padding: 1px 6px; border-radius: var(--radius-sm); background: #ffffff0f; text-align: center; font-family: var(--font-heading); font-size: .95rem; font-weight: 700; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.dc-channel.is-busy .dc-ch-n { background: #22c55e; color: #052e14; }
.dc-ch-people { display: flex; flex-direction: column; gap: 3px; padding-left: 4px; border-left: 2px solid #22c55e40; }
.dc-ch-person { display: flex; align-items: center; gap: 7px; min-width: 0; padding-left: 6px; font-size: .9rem; color: #f8fafc; }
.dc-ch-person > .notranslate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-ch-av { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1b1b1f; font-size: .85rem; font-weight: 700; color: #ffffff80; overflow: hidden; }
.dc-ch-av img { width: 22px; height: 22px; object-fit: cover; display: block; }
.dc-ch-flag { flex-shrink: 0; color: #f87171; }
/* lista osób online z widżetu serwera: dwie kolumny, przewijana w środku, gdy osób jest dużo */
.dc-people { display: flex; flex-direction: column; gap: 6px; }
.dc-people-head { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.dc-people-n { padding: 0 6px; border-radius: var(--radius-sm); background: #22c55e26; color: #4ade80; letter-spacing: .04em; }
.dc-list { list-style: none; margin: 0; padding: 0 4px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-height: 13.2rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #f9731699 #ffffff0a; }
.dc-person { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #0a0a0bb3; }
.dc-av { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #1b1b1f; color: #ffffff80; font-family: var(--font-heading); font-weight: 700; }
.dc-av img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.dc-av::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border: 2px solid #0e0e10; border-radius: 50%; background: #22c55e; }
.dc-av.dc-idle::after { background: #facc15; }
.dc-av.dc-dnd::after { background: #ef4444; }
.dc-who { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dc-nick { font-weight: 600; font-size: .95rem; color: #f8fafc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-act { font-size: .85rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-act .notranslate { color: #e2e8f0; }
.dc-voice, .dc-voice .notranslate { color: #4ade80; }
@media (max-width: 420px) { .dc-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .discord-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.discord-panel .discord-join { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; font-size: 1.15rem; letter-spacing: .1em; }
.discord-join > span { transition: transform .25s ease; }
.discord-join:hover > span { transform: translateX(3px); }
@media (max-width: 480px) { .discord-panel { padding: 16px 14px; } .discord-icon, .discord-icon img, .discord-icon .twitch-mono { width: 64px; height: 64px; border-radius: 18px; } .discord-name { font-size: 1.5rem; white-space: normal; } .discord-watermark { width: 140px; height: 140px; } }
@media (prefers-reduced-motion: reduce) { .discord-online-dot { animation: none; } }
.twitch { margin-top: 52px; }
.twitch-sub { color: var(--text-muted); font-size: .98rem; }
.dot-live { background: #22c55e; box-shadow: 0 0 0 4px #22c55e33; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 0%, 100% { box-shadow: 0 0 0 3px #22c55e40; } 50% { box-shadow: 0 0 0 8px #22c55e00; } }
.twitch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .twitch-grid { grid-template-columns: 1fr; } }
.twitch-card { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-left: 3px solid var(--border-strong); color: inherit; text-decoration: none; transition: border-color .25s, transform .25s ease, box-shadow .25s; }
.twitch-card:hover { border-color: var(--border-accent); border-left-color: var(--primary); color: inherit; transform: translateY(-2px); box-shadow: 0 12px 28px #00000099; }
.twitch-card.is-live { border-color: #22c55e80; border-left-color: #22c55e; background: linear-gradient(90deg, #22c55e1f, var(--bg-card) 60%); }
.twitch-avatar { position: relative; flex-shrink: 0; width: 72px; height: 72px; }
.twitch-avatar img, .twitch-mono { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--border-strong); border-radius: 50%; background: #0b0b0d; object-fit: cover; }
.twitch-mono { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; letter-spacing: .04em; color: #ffffff59; }
.twitch-card.is-live .twitch-avatar img, .twitch-card.is-live .twitch-mono { border-color: #22c55e; box-shadow: 0 0 0 4px #22c55e33; }
.twitch-avatar-dot { position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px; border: 3px solid var(--bg-card); border-radius: 50%; background: #6b6b73; }
.twitch-card.is-live .twitch-avatar-dot { background: #22c55e; animation: live-pulse 1.6s ease-in-out infinite; }
.twitch-names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.twitch-name { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; letter-spacing: .03em; line-height: 1.15; color: #f8fafc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.twitch-member { color: var(--text-muted); font-size: .95rem; }
.twitch-status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-muted); font-family: var(--font-heading); font-size: .92rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.twitch-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6b73; }
.twitch-status-live { border-color: #22c55e; background: #22c55e; color: #052e14; }
.twitch-status-live .twitch-status-dot { background: #052e14; animation: live-blink 1.2s steps(2) infinite; }
@keyframes live-blink { 50% { opacity: .25; } }
.twitch-go { flex-shrink: 0; font-family: var(--font-heading); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.twitch-go span { display: inline-block; transition: transform .25s ease; }
.twitch-card:hover .twitch-go span { transform: translateX(3px); }
@media (max-width: 480px) { .twitch-go { display: none; } .twitch-avatar, .twitch-avatar img, .twitch-mono { width: 56px; height: 56px; } .twitch-name { font-size: 1.35rem; } }
@media (prefers-reduced-motion: reduce) { .dot-live, .twitch-status-dot, .twitch-avatar-dot { animation: none; } }

/* strona główna: sekcja z najwyższym tierem */
.home-tier { margin-top: 52px; }
.home-tier .section-head { margin-bottom: 6px; }
.home-tier-all { min-height: 30px; padding: 0 12px; }
.home-tier-desc { margin: 0 0 var(--gap); width: 100%; color: var(--text-muted); font-size: .98rem; line-height: 1.5; }
.home-tier-desc strong { color: var(--primary); font-family: var(--font-heading); font-weight: 700; }

/* animowany przycisk pod tier listą na stronie głównej:
   stale — przesuwający się błysk i „biegnące" strzałki; po najechaniu — wypełnienie od lewej */
.tier-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; width: min(100%, 30rem); min-height: 50px; margin: 16px auto 0; padding: 0 26px; overflow: hidden; isolation: isolate; border: 1px solid var(--primary); border-radius: var(--radius-md); background: linear-gradient(180deg, #f973161f, #f973160a); color: #f8fafc; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 0 0 0 #f9731600; transition: color .3s ease, box-shadow .3s ease, letter-spacing .3s ease; }
.tier-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .38s cubic-bezier(.3, .7, .2, 1); }
.tier-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: 38%; background: linear-gradient(100deg, #ffffff00, #ffffff2e 50%, #ffffff00); transform: translateX(-130%) skewX(-18deg); animation: tier-cta-shine 3.2s ease-in-out infinite; }
.tier-cta:hover, .tier-cta:focus-visible { color: #0a0a0b; letter-spacing: .18em; box-shadow: 0 10px 34px -8px #f97316b3; }
.tier-cta:hover::before, .tier-cta:focus-visible::before { transform: scaleX(1); }
.tier-cta-arrows { display: inline-flex; color: var(--primary); transition: color .3s ease; }
.tier-cta:hover .tier-cta-arrows, .tier-cta:focus-visible .tier-cta-arrows { color: #0a0a0b; }
.tier-cta-arrows svg { margin-left: -9px; opacity: .25; animation: tier-cta-run 1.2s linear infinite; }
.tier-cta-arrows svg:first-child { margin-left: 0; }
.tier-cta-arrows svg:nth-child(2) { animation-delay: .2s; }
.tier-cta-arrows svg:nth-child(3) { animation-delay: .4s; }
@keyframes tier-cta-shine { 0%, 55% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes tier-cta-run { 0%, 100% { opacity: .25; } 30% { opacity: 1; } 60% { opacity: .25; } }
@media (max-width: 540px) { .tier-cta { font-size: 1.05rem; letter-spacing: .1em; padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .tier-cta::after { display: none; } .tier-cta-arrows svg { opacity: 1; } }

/* wyszukiwarka broni nad tier listą */
.wsearch { position: relative; flex: 0 1 22rem; min-width: 14rem; }
.wsearch-box { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--primary); transition: border-color .2s; }
.wsearch-box:focus-within { border-color: var(--primary); }
.wsearch-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text-strong); font-family: var(--font-body); font-size: 1.077rem; outline: none; }
.wsearch-box input::placeholder { color: #ffffff59; }
.wsearch-box input::-webkit-search-cancel-button { -webkit-appearance: none; }
.wsearch-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; list-style: none; margin: 0; padding: 4px; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #0e0e10; box-shadow: 0 18px 44px #000000d9; }
.wsearch-list[hidden] { display: none; }
.wsearch-list a { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 5px 8px; border-radius: var(--radius-sm); color: inherit; text-decoration: none; }
.wsearch-list img { grid-row: 1 / 3; width: 66px; height: 23px; object-fit: contain; filter: grayscale(1) brightness(1.5); }
.wsearch-list li.is-active a, .wsearch-list a:hover { background: #f973161f; }
.wsearch-name { grid-column: 2; font-family: var(--font-heading); font-size: 1.154rem; font-weight: 600; letter-spacing: .03em; line-height: 1.2; color: #f8fafc; }
.wsearch-cat { grid-column: 2; font-size: .923rem; line-height: 1.2; color: var(--text-muted); }
.wsearch-tier { grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--tier, #a0a0a0); border-radius: var(--radius-sm); color: var(--tier, #a0a0a0); font-family: var(--font-heading); font-size: 1.077rem; font-weight: 700; }
.wsearch-empty { padding: 8px; color: var(--text-muted); font-size: 1rem; }
/* strona główna: wyróżniony blok wyszukiwarki broni — narożniki jak w celowniku, nagłówek, duże pole, skróty */
.finder { position: relative; z-index: 5; margin-bottom: 44px; padding: 22px 26px 20px; border: 1px solid var(--border-accent); border-radius: var(--radius-lg); background: radial-gradient(120% 140% at 0% 0%, #f9731624, #f9731600 55%), linear-gradient(180deg, #131316, #0c0c0e); }
.finder::before, .finder::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--primary); pointer-events: none; }
.finder::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.finder::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.finder-text { margin-bottom: 16px; text-align: center; }
.finder-top { justify-content: center; }
/* animacje panelu: narożniki celownika „łapią ostrość", po panelu przesuwa się linia skanu, pole wyszukiwania pulsuje poświatą */
.finder-scan-wrap { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.finder::before, .finder::after, .finder-corner { animation: finder-lock 3.6s ease-in-out infinite; }
.finder-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--primary); pointer-events: none; }
.finder-corner-tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; --dx: 5px; --dy: -5px; }
.finder-corner-bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; --dx: -5px; --dy: 5px; }
.finder::before { --dx: -5px; --dy: -5px; }
.finder::after { --dx: 5px; --dy: 5px; }
@keyframes finder-lock {
  0%, 62%, 100% { transform: translate(0, 0); opacity: 1; }
  74% { transform: translate(var(--dx), var(--dy)); opacity: .45; }
  86% { transform: translate(0, 0); opacity: 1; }
}
.finder-scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; background: linear-gradient(180deg, #f9731600, #f9731614 70%, #f9731647 98%, #f9731600); transform: translateY(-100%); animation: finder-scan 7s linear infinite; }
@keyframes finder-scan { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(420px); } }
.finder > :not(.finder-scan-wrap):not(.finder-corner) { position: relative; }
/* Celownik: przesuwa się po panelu, zatrzymuje i „namierza" (zwężenie + błysk), potem rusza dalej */
.finder-reticle { position: absolute; left: 10%; top: 26%; width: 112px; height: 112px; color: var(--primary); transform: translate(-50%, -50%); animation: reticle-path 12s ease-in-out infinite; }
.finder-reticle-in { position: absolute; inset: 0; display: block; opacity: .4; animation: reticle-lock 3s ease-in-out infinite; }
.finder-reticle svg { display: block; width: 100%; height: 100%; animation: reticle-spin 12s linear infinite; }
.finder-reticle-ping { position: absolute; inset: 22%; border: 1px solid var(--primary); border-radius: 50%; opacity: 0; animation: reticle-ping 3s ease-out infinite; }
@keyframes reticle-path {
  0% { left: 10%; top: 26%; }
  13%, 25% { left: 90%; top: 24%; }
  38%, 50% { left: 88%; top: 84%; }
  63%, 75% { left: 12%; top: 82%; }
  88%, 100% { left: 10%; top: 26%; }
}
@keyframes reticle-lock {
  0%, 44% { opacity: .5; transform: scale(1); }
  56%, 90% { opacity: 1; transform: scale(.8); }
  100% { opacity: .5; transform: scale(1); }
}
@keyframes reticle-spin { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(90deg); } }
@keyframes reticle-ping { 0%, 52% { opacity: 0; transform: scale(.6); } 56% { opacity: .9; } 88%, 100% { opacity: 0; transform: scale(1.9); } }
@media (max-width: 560px) { .finder-reticle { width: 72px; height: 72px; } }
.wsearch-home .wsearch-box { animation: finder-glow 3.6s ease-in-out infinite; }
.wsearch-home .wsearch-box:focus-within { animation: none; }
@keyframes finder-glow {
  0%, 100% { box-shadow: 0 0 0 4px #f973161f, 0 14px 40px -18px #f97316b3; }
  50% { box-shadow: 0 0 0 7px #f973162e, 0 18px 50px -14px #f97316e6; }
}
.finder h1 { animation: finder-in .7s cubic-bezier(.2, .7, .2, 1) both; }
.finder-text p { animation: finder-in .7s .12s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes finder-in { from { opacity: 0; transform: translateY(10px); letter-spacing: .12em; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .finder::before, .finder::after, .finder-corner, .wsearch-home .wsearch-box, .finder h1, .finder-text p { animation: none; }
  .finder-scan { display: none; }
  .finder-reticle, .finder-reticle-in, .finder-reticle svg, .finder-reticle-ping { animation: none; }
  .finder-reticle-ping { display: none; }
}
.finder h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; color: #f8fafc; }
.finder-text p { margin: 8px 0 0; width: 100%; color: #e2e8f0c7; font-size: 1.08rem; line-height: 1.5; }
.finder-text strong { color: var(--primary-hover); font-weight: 600; white-space: nowrap; }
.wsearch-home { flex: none; min-width: 0; width: 100%; }
.wsearch-home .wsearch-box { height: 56px; padding: 0 12px 0 18px; gap: 14px; border: 2px solid var(--primary); border-radius: var(--radius-md); background: #0a0a0b; box-shadow: 0 0 0 4px #f973161f, 0 14px 40px -18px #f97316b3; transition: box-shadow .2s, border-color .2s; }
.wsearch-home .wsearch-box:focus-within { border-color: var(--primary-hover); box-shadow: 0 0 0 5px #f9731638, 0 18px 46px -16px #f97316d9; }
.wsearch-home .wsearch-box svg { width: 24px; height: 24px; }
.wsearch-home .wsearch-box input { font-size: 1.385rem; }
.wsearch-kbd { flex-shrink: 0; padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-raised); color: var(--text-muted); font-family: var(--font-heading); font-size: .923rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wsearch-home .wsearch-list { max-height: 60vh; overflow-y: auto; border-width: 2px; }
.wsearch-home .wsearch-list { padding: 6px; }
.wsearch-home .wsearch-list a { grid-template-columns: 120px minmax(0, 1fr) auto; column-gap: 16px; padding: 8px 12px; }
.wsearch-home .wsearch-list img { width: 120px; height: 40px; }
.wsearch-home .wsearch-name { font-size: 1.538rem; }
.wsearch-home .wsearch-cat { font-size: 1.077rem; }
.wsearch-home .wsearch-tier { width: 34px; height: 34px; font-size: 1.385rem; }
.wsearch-home .wsearch-empty { padding: 10px 12px; font-size: 1.154rem; }
@media (max-width: 560px) { .wsearch-home .wsearch-list a { grid-template-columns: 84px minmax(0, 1fr) auto; column-gap: 12px; padding: 7px 8px; } .wsearch-home .wsearch-list img { width: 84px; height: 30px; } .wsearch-home .wsearch-name { font-size: 1.308rem; } .wsearch-home .wsearch-cat { font-size: 1rem; } .wsearch-home .wsearch-tier { width: 30px; height: 30px; font-size: 1.231rem; } }
.finder-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; }
.finder-top-label { margin-right: 4px; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.finder-top a { padding: 3px 11px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--bg-raised); color: #f8fafc; font-family: var(--font-heading); font-size: 1rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.finder-top a:hover { border-color: var(--primary); background: #f973161f; color: var(--primary-hover); }
@media (max-width: 560px) { .finder { padding: 18px 14px 14px; } .wsearch-kbd { display: none; } .wsearch-home .wsearch-box { height: 50px; } .wsearch-home .wsearch-box input { font-size: 1.231rem; } }

/* widok buildów jednej broni (podstrona /buildy/<broń> i okienko) */
.wb-head { display: flex; align-items: center; gap: 14px; padding: 10px 14px; margin-bottom: var(--gap); border-left: 3px solid var(--tier); }
.wb-tier { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--tier); border-radius: var(--radius-md); background: color-mix(in srgb, var(--tier) 16%, #0e0e10); color: var(--tier); font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.wb-img { flex-shrink: 0; width: 150px; }
.wb-img img { width: 100%; height: auto; display: block; filter: grayscale(1) brightness(1.5); }
.wb-title { flex: 1; min-width: 0; }
.wb-title h1 { margin: 0; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; line-height: 1.1; letter-spacing: .03em; color: #f8fafc; }
.wb-title p { margin: 2px 0 0; color: var(--text-muted); font-size: .95rem; }
.wb-open { flex-shrink: 0; min-height: 32px; padding: 0 12px; }
.news-dialog .wb-head { padding-right: 52px; }
.wb-tabs { margin-bottom: var(--gap); }
.wb-tabs button { border: 0; background: none; cursor: pointer; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .1em; color: #ffffff73; white-space: nowrap; border-radius: var(--radius-sm); padding: 6px 12px; font-size: .9rem; font-weight: 600; line-height: 1.3; transition: color .2s, background .2s; }
.wb-tabs button:hover { color: #fff; background: #ffffff0f; }
.wb-tabs button.active { color: #0a0a0b; background: var(--primary); }
/* buildy w jednym rzędzie: 2 widoczne obok siebie, kolejne po przewinięciu w bok (strzałki, kółko, palec) */
/* wszystkie zakładki (Multiplayer, Warzone, DMZ, Apex) leżą w tej samej komórce siatki,
   więc widok ma zawsze wysokość najwyższej z nich i nie skacze przy przełączaniu; nieaktywne są tylko niewidoczne */
.wb-groups { display: grid; }
.wb-group { position: relative; grid-area: 1 / 1; min-width: 0; }
.wb-group.is-off { visibility: hidden; pointer-events: none; }
.wb-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap)) / 2); gap: var(--gap); align-items: stretch; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #f9731699 #ffffff0a; }
.wb-track::-webkit-scrollbar { height: 6px; }
.wb-track::-webkit-scrollbar-track { background: #ffffff0a; border-radius: 3px; }
.wb-track::-webkit-scrollbar-thumb { background: #f9731699; border-radius: 3px; }
.wb-track > .build { scroll-snap-align: start; }
.wb-group .slider-arrow-prev { left: -8px; }
.wb-group .slider-arrow-next { right: -8px; }
.build { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 12px; border-left: 3px solid #f9731673; }
.build-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.build-mode { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 4px; }
.build-rank { font-family: var(--font-heading); font-size: .95rem; font-weight: 700; color: var(--text-muted); }
.build-head h2 { margin: 0; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; line-height: 1.15; letter-spacing: .03em; color: #f8fafc; }
.build-img { flex-shrink: 0; width: 150px; }
.build-img img { width: 100%; height: auto; display: block; }
.att-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.att { display: grid; grid-template-columns: 36px minmax(0, 11rem) minmax(0, 1fr); gap: 4px 10px; align-items: center; padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); }
.att-icon { display: grid; place-items: center; width: 36px; height: 36px; }
.att-icon img { width: 36px; height: 36px; object-fit: contain; display: block; }
.att-name { display: flex; flex-direction: column; min-width: 0; }
.att-name small { font-size: .85rem; color: var(--text-muted); line-height: 1.3; }
.att-lvl { white-space: nowrap; }
.att-name strong { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2; color: #f8fafc; overflow-wrap: anywhere; }
.att-effects { display: flex; flex-wrap: wrap; gap: 3px 4px; justify-content: flex-end; }
.eff { padding: 1px 6px; border-radius: var(--radius-sm); font-size: .85rem; line-height: 1.45; white-space: nowrap; }
.eff b { font-weight: 600; font-variant-numeric: tabular-nums; }
.eff-good { background: #22c55e1a; color: #86efac; }
.eff-bad { background: #ef44441a; color: #fca5a5; }
/* zakładki w karcie buildu: Dodatki / Czas zabicia według dystansu (oba panele w jednej komórce siatki — karta nie zmienia wysokości) */
.build-tabs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); }
.build-tabs button { flex: 1 1 auto; min-width: 0; border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: var(--radius-sm); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; color: #ffffff73; transition: color .2s, background .2s; }
.build-tabs button:hover { color: #fff; background: #ffffff0f; }
.build-tabs button.active { color: #0a0a0b; background: var(--primary); }
.build-panes { display: grid; }
.build-panes > .build-pane { grid-area: 1 / 1; min-width: 0; }
.build-panes > .build-pane[hidden] { display: block; visibility: hidden; pointer-events: none; }
.build-panes > .att-list[hidden] { display: grid; }
.ttk-pane { display: flex; flex-direction: column; gap: 8px; }
.ttk-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ttk-row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 4.6rem; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); }
.ttk-range { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .04em; color: #e2e8f0; white-space: nowrap; }
.ttk-bar { height: 10px; border-radius: 2px; background: #ffffff0d; overflow: hidden; }
.ttk-bar span { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #f9731699, var(--primary)); }
.ttk-ms { text-align: right; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; line-height: 1; color: #f8fafc; font-variant-numeric: tabular-nums; }
.ttk-ms i { margin-left: 2px; font-style: normal; font-size: .85rem; font-weight: 400; color: var(--text-muted); }
.ttk-row.is-best { border-color: #4ade8059; }
.ttk-row.is-best .ttk-bar span { background: linear-gradient(90deg, #4ade8099, #4ade80); }
.ttk-row.is-best .ttk-ms { color: #4ade80; }
.ttk-note { margin: 0; color: var(--text-muted); font-size: .85rem; line-height: 1.45; }
.ttk-note strong { color: #4ade80; font-weight: 600; }
@media (max-width: 560px) { .build-tabs button { padding: 5px 6px; font-size: .85rem; letter-spacing: .05em; } .ttk-row { grid-template-columns: 4.8rem minmax(0, 1fr) 4rem; gap: 8px; } }
.build-code { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #f973160f; }
.build-code-label { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.build-code code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.077rem; letter-spacing: .04em; color: #f8fafc; overflow-wrap: anywhere; user-select: all; }
.build-code .btn { min-height: 30px; padding: 0 14px; cursor: pointer; }
.build-code button.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #0a0a0b; }
.build-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.4rem, 1fr)); gap: 4px; margin: 0; }
.build-stats div { padding: 5px 8px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.build-stats dt { font-size: .85rem; color: var(--text-muted); line-height: 1.3; white-space: nowrap; }
.build-stats dd { margin: 0; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; line-height: 1.2; color: #f8fafc; font-variant-numeric: tabular-nums; }
.build-stats dd i { margin-left: 2px; font-style: normal; font-size: .85rem; font-weight: 400; color: var(--text-muted); }
.build-updated { margin: 0; color: #ffffff59; font-size: .85rem; }
@media (max-width: 900px) { .wb-track { grid-auto-columns: 88%; } .wb-group .slider-arrow { display: none; } }
@media (max-width: 560px) {
  .wb-head { flex-wrap: wrap; gap: 8px 10px; }
  .wb-img { width: 96px; }
  .wb-title h1 { font-size: 1.6rem; }
  .build-img { display: none; }
  .att { grid-template-columns: 32px minmax(0, 1fr); }
  .att-effects { grid-column: 1 / -1; justify-content: flex-start; }
  .wsearch { flex-basis: 100%; }
}

/* zakładka Kontakt: jeden wyróżniony panel z adresem e-mail */
.contact { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px 22px 26px; text-align: center; border: 1px solid var(--border-accent); border-radius: var(--radius-lg); background: radial-gradient(120% 140% at 50% 0%, #f9731624, #f9731600 60%), linear-gradient(180deg, #131316, #0c0c0e); }
.contact::before, .contact::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--primary); pointer-events: none; }
.contact::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.contact::after { right: 8px; bottom: 8px; border-left: 0; border-top: 0; }
.contact .finder-corner { animation: none; }
.contact-icon { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--primary); }
.contact h2 { margin: 6px 0 0; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: #f8fafc; }
.contact-lead { margin: 0; max-width: 52ch; color: #e2e8f0c7; font-size: 1.08rem; line-height: 1.55; }
.contact-mail { margin: 10px 0 4px; padding: 6px 4px; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: .02em; line-height: 1.1; color: var(--primary); text-decoration: none; overflow-wrap: anywhere; border-bottom: 2px solid #f9731659; transition: color .2s, border-color .2s; }
.contact-mail:hover { color: var(--primary-hover); border-bottom-color: var(--primary); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.contact-actions .btn { min-height: 38px; padding: 0 18px; font-size: .9rem; cursor: pointer; }
.contact-actions button.btn:hover { border-color: var(--border-accent); color: var(--primary-hover); background: var(--bg-hover); }
@media (max-width: 540px) { .contact { padding: 26px 14px 22px; } .contact h2 { font-size: 2rem; } }

/* zakładka Kontakt: formularz (szerszy) obok panelu z adresem e-mail */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--gap); align-items: stretch; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cf { padding: 22px 24px 24px; border-left: 3px solid var(--primary); scroll-margin-top: calc(var(--head-h) + 12px); }
.cf h2 { margin: 0; font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; color: #f8fafc; }
.cf-lead { margin: 8px 0 18px; color: #e2e8f0c7; font-size: 1.06rem; line-height: 1.55; }
.cf-form { display: grid; gap: 14px; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } .cf { padding: 16px 14px 18px; } .cf h2 { font-size: 2rem; } }
.cf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.cf-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0; font-family: var(--font-heading); font-size: .9rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ffffffb3; }
.cf-count { font-family: var(--font-body); font-size: .923rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cf-field input[type="text"], .cf-field input[type="email"], .cf-field input[type="password"], .cf-field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #0a0a0b; color: var(--text-strong); font-family: var(--font-body); font-size: 1.231rem; line-height: 1.45; transition: border-color .2s, box-shadow .2s; }
.cf-field textarea { resize: vertical; min-height: 9.5rem; }
.cf-field input:hover, .cf-field textarea:hover { border-color: #ffffff38; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px #f973162e; }
.cf-field.has-error input, .cf-field.has-error textarea { border-color: #ef4444; }
.cf-error { color: #fca5a5; font-size: .92rem; line-height: 1.35; }
/* zgoda na regulamin: własne pole wyboru */
.cf-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.cf-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.cf-check-box { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #0a0a0b; color: transparent; transition: border-color .2s, background .2s, color .2s; }
.cf-check:hover .cf-check-box { border-color: var(--border-accent); }
.cf-check input:checked + .cf-check-box { border-color: var(--primary); background: var(--primary); color: #0a0a0b; }
.cf-check input:focus-visible + .cf-check-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.cf-accept.has-error .cf-check-box { border-color: #ef4444; }
.cf-check-text { color: #e2e8f0c7; font-size: 1rem; line-height: 1.5; }
.cf-field input::placeholder { color: #ffffff47; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.cf-submit { margin: 0; width: auto; min-width: 17rem; cursor: pointer; font-size: 1.15rem; }
.cf-submit[disabled] { opacity: .6; cursor: progress; }
.cf-note { flex: 1; min-width: 14rem; margin: 0; color: var(--text-muted); font-size: .88rem; line-height: 1.4; }
.cf-alert { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #ef444466; border-left: 3px solid #ef4444; border-radius: var(--radius-md); background: #ef444414; color: #fecaca; }
.cf-success { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid #22c55e66; border-left: 3px solid #22c55e; border-radius: var(--radius-md); background: #22c55e12; color: #86efac; }
.cf-success svg { flex-shrink: 0; margin-top: 2px; }
.cf-success strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #f8fafc; }
.cf-success p { margin: 4px 0 12px; color: #e2e8f0c7; }

/* regulamin i linki w stopce */
.legal { max-width: 56rem; padding: 20px 24px 22px; border-left: 3px solid #f9731673; }
.legal h2 { margin: 1.3em 0 .4em; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; letter-spacing: .03em; color: #f8fafc; }
.legal p { margin: 0 0 .8em; color: #e2e8f0d9; font-size: 1.04rem; line-height: 1.65; }
.legal-note { color: var(--text-muted) !important; font-size: .92rem !important; }
.site-footer .footer-links { margin-top: 6px; }
.site-footer .footer-links a { color: #ffffffb3; text-decoration: none; }
.site-footer .footer-links a:hover { color: var(--primary-hover); }
@media (max-width: 560px) { .legal { padding: 14px; } }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 26px; padding: 0 9px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-strong); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
a.btn:hover, button.btn:hover:not(:disabled), .news-card-link:hover .btn { border-color: var(--border-accent); color: var(--primary-hover); background: var(--bg-hover); }
.btn-icon { width: 30px; min-height: 30px; padding: 0; font-family: var(--font-body); font-size: 1.077rem; letter-spacing: 0; }
.btn:disabled { opacity: .35; cursor: default; }

/* strzałki slajdera: na środku wysokości kafelków, na krawędziach rzędu */
.slider-wrap { position: relative; }
.slider-arrow { position: absolute; top: 50%; z-index: 5; display: grid; place-items: center; width: 34px; height: 60px; padding: 0; transform: translateY(-50%); border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #0e0e10f2; color: var(--primary); box-shadow: 0 6px 20px #000000a6; transition: background .15s, color .15s, border-color .15s, opacity .15s; }
.slider-arrow-prev { left: -17px; }
.slider-arrow-next { right: -17px; }
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: #0a0a0b; }
.slider-arrow:active { background: var(--primary-hover); }
.slider-arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
  .slider-arrow { width: 30px; height: 52px; }
  .slider-arrow-prev { left: 4px; }
  .slider-arrow-next { right: 4px; }
}

/* slajder aktualności: jeden rząd, 3 karty widoczne, starsze w prawo */
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-lg); }
.slider::-webkit-scrollbar { display: none; }
@media (max-width: 860px) { .slider { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
@media (max-width: 540px) { .slider { grid-auto-columns: 86%; } }

.news-card { scroll-snap-align: start; border-left: 3px solid #f9731673; overflow: hidden; transition: border-color .2s; }
.news-card:hover { border-color: var(--border-accent); border-left-color: #f97316d9; }
.news-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.news-card-link:hover { color: inherit; }
/* obrazek zawsze widoczny w całości (bez przycinania); ramka 16:9 trzyma równą wysokość kart */
.thumb { aspect-ratio: 16 / 9; background: #060607; overflow: hidden; border-bottom: 1px solid var(--border); }
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb-empty { display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.6rem; letter-spacing: .14em; color: #ffffff14; }
.news-card-body { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; flex: 1; }
.news-card h3 { font-family: var(--font-heading); letter-spacing: .02em; color: #f8fafc; margin: 0; font-size: 1.35rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.news-card p { color: #e2e8f0c7; margin: 0; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.news-card .btn { align-self: flex-start; margin-top: auto; }

/* animacje po najechaniu: kafle na stronie głównej */
.home-tile { transition: border-color .25s, transform .25s ease, box-shadow .25s; }
.home-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px #000000a6, 0 0 0 1px #f9731633; }
.home-tile-captioned::after { transition: opacity .3s; opacity: .85; }
.home-tile-captioned:hover::after { opacity: 1; }
.home-tile-text { transition: transform .3s ease; }
.home-tile:hover .home-tile-text { transform: translateY(-4px); }
.home-tile-label { position: relative; align-self: flex-start; }
.home-tile-label::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.home-tile:hover .home-tile-label::after { transform: scaleX(1); }
.home-tile-arrow { transition: background .2s, color .2s, border-color .2s, transform .3s ease; }
.home-tile:hover .home-tile-arrow { transform: translateX(4px); }

/* po najechaniu od dołu kafla wysuwa się ciemny gradient */
.tile-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; z-index: 1; pointer-events: none; background: linear-gradient(0deg, #050506f2 0%, #050506b8 30%, #05050659 62%, #05050600 100%); opacity: 0; transform: translateY(45%); transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .35s ease; }
.home-tile:hover .tile-glow, .home-tile:focus-visible .tile-glow { opacity: 1; transform: none; }
.home-tile-text, .home-tile-arrow { z-index: 2; }
.home-tile:hover { border-color: var(--border-accent); box-shadow: 0 14px 34px #000000a6, 0 8px 26px -10px #f9731666; }

/* animacje po najechaniu: kafelki aktualności */
.news-card { transition: border-color .25s, transform .25s ease, box-shadow .25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #00000099; }
.card-actions { transition: opacity .2s; }
.card-action { transform: translateY(8px); transition: background .15s, color .15s, border-color .15s, transform .25s ease; }
.news-card:hover .card-action, .news-card:focus-within .card-action { transform: none; }
.news-card:hover .card-action:nth-child(2) { transition-delay: 0s, 0s, 0s, .04s; }
.news-card:hover .card-action:nth-child(3) { transition-delay: 0s, 0s, 0s, .08s; }
.news-card .btn span, .section-link span { display: inline-block; transition: transform .25s ease; }
.news-card:hover .btn span, .section-link:hover span { transform: translateX(3px); }
@media (hover: none) { .card-action { transform: none; } }
.slider { padding-top: 4px; margin-top: -4px; }

/* akcje na kafelku: otwórz stronę / podgląd w okienku / udostępnij — pojawiają się po najechaniu na kafelek */
.card-actions { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 16 / 9; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; background: #0a0a0bb8; opacity: 0; pointer-events: none; transition: opacity .15s; }
.news-card:hover .card-actions, .news-card:focus-within .card-actions { opacity: 1; }
.news-card:hover .card-action, .news-card:focus-within .card-action { pointer-events: auto; }
.card-action { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #0e0e10f2; color: var(--primary); box-shadow: 0 6px 20px #000000a6; transition: background .15s, color .15s, border-color .15s; }
.card-action:hover, .card-action:focus-visible { background: var(--primary); border-color: var(--primary); color: #0a0a0b; }
/* ekrany dotykowe nie mają „najechania" — tam akcje są stale widoczne w rogu obrazka */
@media (hover: none) {
  .card-actions { opacity: 1; background: none; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 8px; }
  .card-action { pointer-events: auto; width: 34px; height: 34px; }
}

/* okienko podglądu aktualności */
.news-dialog { width: min(1100px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-main); color: var(--text-main); box-shadow: 0 24px 80px #000000d9; overflow: hidden; }
.news-dialog[open] { display: flex; flex-direction: column; }
.news-dialog::backdrop { background: #000000c7; }
.news-dialog-body { overflow-y: auto; overscroll-behavior: contain; padding: 12px; }
.news-dialog-close { position: absolute; top: 8px; right: 8px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #0e0e10f2; color: var(--primary); }
.news-dialog-close:hover { background: var(--primary); border-color: var(--primary); color: #0a0a0b; }
.news-dialog-status { margin: 0; padding: 28px 16px; text-align: center; color: var(--text-muted); }
html.dialog-open { overflow: hidden; }

.toast { position: fixed; left: 50%; bottom: 20px; z-index: 2000; transform: translateX(-50%); max-width: calc(100% - 24px); padding: 9px 14px; border: 1px solid var(--border-accent); border-radius: var(--radius-md); background: #0e0e10; color: var(--text-strong); font-size: .95rem; box-shadow: 0 10px 30px #000000b3; }

.btn-primary { background: var(--primary); border-color: var(--primary); color: #0a0a0b; }
a.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #0a0a0b; }
.post-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8e6; font-size: .85rem; }
.badge { padding: 1px 6px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; color: var(--text-muted); }
.badge-update { background: #f973161f; border-color: var(--border-accent); color: var(--primary-hover); }

.related { margin-top: 18px; }
/* stan sprawdzania źródeł: etykieta + wartość, pozycje rozdzielone cienką pionową kreską; licznik bez tła i ramki */
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 12px 0 0; font-size: .92rem; line-height: 1.3; }
.status-item { display: inline-flex; align-items: baseline; gap: 7px; padding: 0 14px; border-left: 1px solid var(--border-strong); }
.status-item:first-child { padding-left: 0; border-left: 0; }
.status-label { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ffffff6b; }
.status-value { color: #ffffffc7; font-variant-numeric: tabular-nums; }
.status-dot { align-self: center; width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #22c55e26; }
.status-dot-warn { background: #f59e0b; box-shadow: 0 0 0 3px #f59e0b26; }
.status-note { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ffffff47; }
.status-warn { color: #fbbf24; }
.countdown { display: inline-flex; align-items: baseline; gap: 8px; margin-left: auto; padding-left: 14px; color: #ffffff6b; }
.countdown[hidden] { display: none; }
.countdown b { min-width: 2.5em; text-align: right; color: var(--primary); font-family: var(--font-heading); font-size: 1.08rem; font-weight: 600; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.countdown-now b { min-width: 0; }
@media (max-width: 540px) { .status-item { padding: 0 14px 0 0; border-left: 0; } .status-item + .status-item { padding-left: 16px; } .status-note { display: none; } }
.empty { color: #94a3b8e6; text-align: center; padding: 14px 16px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--primary); }
.notice h1 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .03em; font-size: 1.4rem; margin: 0 0 6px; }
.notice p { margin: 0; }

/* wpis: nagłówek = zdjęcie wyróżniające po lewej + tytuł po prawej, pod spodem treść */
.post { display: grid; gap: var(--gap); }
.post-head { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); overflow: hidden; border-left: 3px solid var(--primary); }
.post-head-noimg { grid-template-columns: 1fr; }
.post-hero { margin: 0; background: #060607; border-right: 1px solid var(--border); display: flex; align-items: center; }
.post-hero img { display: block; width: 100%; height: auto; }
.post-head-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 18px 22px; min-width: 0; }
.back { font-family: var(--font-heading); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.post h1 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.12; color: #f8fafc; margin: 0; font-size: 2.1rem; overflow-wrap: anywhere; }
.post-lead { margin: 0; color: var(--text-muted); line-height: 1.55; max-width: 60ch; }
.post-content { padding: 18px 22px; }
@media (max-width: 820px) {
  .post-head { grid-template-columns: 1fr; }
  .post-hero { border-right: 0; border-bottom: 1px solid var(--border); }
  .post-head-text { padding: 14px; }
  .post h1 { font-size: 1.6rem; }
  .post-content { padding: 14px; }
}
.post-body { overflow-wrap: anywhere; line-height: 1.6; color: #e2e8f0e0; }
.post-body > :first-child { margin-top: 0; }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--font-heading); font-weight: 600; letter-spacing: .02em; line-height: 1.25; color: #f8fafc; margin: 1.2em 0 .4em; }
.post-body h2 { font-size: 1.4rem; text-transform: uppercase; padding-left: 10px; border-left: 3px solid var(--primary); }
.post-body h3 { font-size: 1.2rem; }
.post-body h4 { font-size: 1.05rem; }
.post-body p { margin: 0 0 .8em; }
.post-body a:not(.yt) { color: #fdba74; font-weight: 500; text-decoration: underline; text-decoration-color: #f9731666; text-decoration-thickness: 1px; text-underline-offset: 3px; border-radius: 3px; transition: color .15s, text-decoration-color .15s, background-color .15s; }
.post-body a:not(.yt):hover { color: #fff; text-decoration-color: var(--primary); background: #f973161f; }
.post-body a:not(.yt):focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.post-body a[target="_blank"]:not(.yt)::after { content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .25em; vertical-align: .05em; background: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat; }
.post-body img { display: block; max-width: min(100%, 720px); margin: .8em 0; border-radius: var(--radius-md); border: 1px solid var(--border); }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 .8em; }
.post-body li { margin-bottom: .25em; }
.post-body li::marker { color: var(--primary); }
.post-body table { display: block; overflow-x: auto; border-collapse: collapse; margin: .8em 0; max-width: 100%; }
.post-body th, .post-body td { border: 1px solid var(--border-strong); padding: 4px 8px; text-align: left; vertical-align: top; font-size: .95rem; }
.post-body th { background: var(--bg-raised); font-family: var(--font-heading); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.post-body blockquote { margin: .8em 0; padding: 6px 12px; border-left: 3px solid var(--primary); background: var(--bg-raised); }
.post-body pre { white-space: pre-wrap; background: var(--bg-raised); padding: 10px; border-radius: var(--radius-md); }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 1.4em 0; }
.post-body .yt { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.source { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--border); color: #ffffff6b; font-size: .85rem; }

/* stopka */
.site-footer { background: #0000002e; border-top: 1px solid var(--border); margin-top: 16px; padding: 12px var(--page-x) 14px; }
/* stopka: kiedy następna aktualizacja aktualności oraz tier listy i buildów (z licznikami) */
.footer-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; max-width: calc(var(--page-max) + 2 * var(--page-x)); margin: 0 auto 12px; padding: 0 var(--page-x) 12px; border-bottom: 1px solid var(--border); font-size: .92rem; line-height: 1.3; }
.footer-status-item { display: inline-flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; padding: 0 22px; border-left: 1px solid var(--border-strong); }
.footer-status-item:first-child { border-left: 0; }
.footer-status-text { color: #ffffffa6; }
.footer-status-text time { color: #f8fafc; font-variant-numeric: tabular-nums; }
.footer-status .countdown { margin-left: 0; padding-left: 0; }
.footer-status .countdown b { min-width: 0; font-size: 1rem; }
@media (max-width: 720px) { .footer-status-item { padding: 0 8px; border-left: 0; width: 100%; } }
.site-footer-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.site-footer p { color: #ffffff8c; margin: 0; font-size: .85rem; line-height: 1.5; }
.site-footer .footer-source { margin-top: 4px; }
.site-footer .footer-source a { color: var(--primary-hover); }
.site-footer .fine { color: #ffffff6b; font-size: .85rem; margin-top: 4px; }
.sep { margin: 0 6px; }

.section-link { font-family: var(--font-heading); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid transparent; padding: 2px 0; }
.section-link:hover { border-bottom-color: var(--primary); }

/* menu na telefonie: przycisk rozwija listę zakładek pod paskiem */
.nav-toggle { display: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-strong); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--border-accent); color: var(--primary); }
@media (max-width: 820px) {
  .nav-toggle { display: grid; align-self: center; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 4px var(--page-x) 10px; border-bottom: 1px solid var(--border); background: #0e0e10; box-shadow: 0 12px 24px #000000a6; }
  .nav-links.open { display: flex; }
  .nav-link { padding: 13px 10px; font-size: 1.15rem; }
  .nav-link + .nav-link::before { left: 0; right: 0; top: 0; width: auto; height: 1px; background: var(--border); transform: none; }
  .nav-link::after { left: 0; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; transform: scaleY(0); transform-origin: center; }
  .nav-link:hover::after, .nav-link.active::after { transform: scaleY(1); }
}
@media (max-width: 820px) {
  :root { --nav-h: 66px; }
  .brand-logo { width: 56px; height: 56px; }
}
/* pasek po przewinięciu: niższy, mniejsze logo, półprzezroczysty z rozmyciem i mocniejszym cieniem */
.site-header { transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease; }
.navbar { transition: height .3s ease; }
.brand-logo { transition: width .3s ease, height .3s ease; }
.site-header.is-scrolled { --nav-h: 54px; background: #0e0e10eb; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: #f9731640; box-shadow: 0 1px #0009, 0 10px 28px -10px #000000e6; }
.site-header.is-scrolled .brand-logo { width: 44px; height: 44px; }
.site-header.is-scrolled .nav-link { font-size: 1rem; }
.site-header.is-scrolled .nav-link + .nav-link::before { height: 18px; }
@media (max-width: 820px) {
  .site-header.is-scrolled { --nav-h: 50px; }
  .site-header.is-scrolled .brand-logo { width: 40px; height: 40px; }
  .site-header.is-scrolled .nav-link { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===== Pasek „Tier S" pod menu ===== */
.ticker { height: var(--ticker-h); border-top: 1px solid var(--border); background: linear-gradient(180deg, #111114, #0b0b0d); }
.ticker-in { display: flex; align-items: stretch; height: 100%; max-width: calc(var(--page-max) + 2 * var(--page-x)); margin: 0 auto; padding: 0 var(--page-x); }
.ticker-label { position: relative; z-index: 1; flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding-right: 14px; color: #f8fafc; text-decoration: none; }
.ticker-label::after { content: ""; position: absolute; right: 0; top: 7px; bottom: 7px; width: 1px; background: var(--primary); }
.ticker-letter { display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--radius-sm); background: var(--primary); color: #0a0a0b; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; line-height: 1; }
.ticker-label-text { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary-hover); }
.ticker-label:hover .ticker-label-text { color: #f8fafc; }
.ticker-view { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker-track { display: flex; align-items: center; width: max-content; height: 100%; padding-left: 14px; animation: ticker-move var(--ticker-dur, 35s) linear infinite; }
.ticker-view:hover .ticker-track, .ticker-view:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-move { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 9px; padding: 0 4px; white-space: nowrap; text-decoration: none; color: #f8fafc; }
.ticker-item img { width: 54px; height: 19px; object-fit: contain; opacity: .9; }
.ticker-name { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: color .2s; }
.ticker-cat { font-size: .85rem; color: var(--text-muted); }
.ticker-item:hover .ticker-name, .ticker-item:focus-visible .ticker-name { color: var(--primary-hover); }
.ticker-sep { flex-shrink: 0; width: 1px; height: 20px; margin: 0 12px; background: linear-gradient(#f9731600, var(--primary), #f9731600); }
@media (max-width: 560px) { .ticker-cat { display: none; } .ticker-label-text { display: none; } .ticker-sep { margin: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-view { overflow-x: auto; scrollbar-width: none; } }

/* ---------- konto (/konto) i link w pasku ---------- */
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
@media (max-width: 760px) { .ac-grid { grid-template-columns: minmax(0, 1fr); } }
.ac-narrow { max-width: 480px; }
.ac-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; margin-bottom: 16px; }
.ac-col { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 760px) { .ac-cols { display: flex; flex-direction: column; } .ac-col { display: contents; } .ac-cols .card { width: 100%; box-sizing: border-box; } .ac-cols .ac-danger { order: 9; } }
.ac-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-sm); font-family: var(--font-heading); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #f9731666; background: #f973161f; color: var(--primary); }
.ac-badge-mod { border-color: #4ade8066; background: #4ade801a; color: #86efac; }
.ac-flash { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #22c55e66; border-left: 3px solid #22c55e; border-radius: var(--radius-md); background: #22c55e14; color: #bbf7d0; }
.ac-oauth { display: grid; gap: 10px; margin-top: 16px; }
.ac-btn { min-height: 40px; padding: 0 16px; font-size: .95rem; cursor: pointer; text-align: center; }
.ac-discord:hover { border-color: #5865f2; }
.ac-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text-muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.ac-or::before, .ac-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ac-link { color: var(--primary); font-size: .95rem; }
.ac-me { margin-bottom: 16px; }
.ac-profile { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ac-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #0a0a0b; border: 1px solid var(--border-strong); }
.ac-avatar-ph { display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary); }
.ac-nick { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; letter-spacing: .03em; color: #f8fafc; line-height: 1.1; overflow-wrap: anywhere; }
.ac-rank { margin-top: 4px; color: var(--text-muted); font-size: .95rem; }
.ac-logout { margin-left: auto; }
.ac-methods { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.ac-methods li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ac-m-name { display: inline-flex; align-items: center; gap: 8px; color: var(--text-strong); }
.ac-m-ok { color: #86efac; font-size: .95rem; overflow-wrap: anywhere; }
.ac-m-off { color: var(--text-muted); font-size: .95rem; }
.ac-h3 { margin: 6px 0 0; font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; color: #f8fafc; }
.ac-danger { border-left-color: #ef4444; }
.ac-btn-danger { border-color: #ef444499; color: #fca5a5; }
button.ac-btn-danger:hover:not(:disabled) { border-color: #ef4444; color: #fecaca; background: #ef444422; }
.nav-account { display: inline-flex; align-items: center; gap: 8px; align-self: center; box-sizing: border-box; height: 34px; max-width: 12rem; padding: 0 12px 0 4px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-strong); font-family: var(--font-heading); font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.nav-account:hover { border-color: var(--border-accent); background: var(--bg-hover); color: #fff; }
.nav-account span { overflow: hidden; text-overflow: ellipsis; }
.nav-account img, .nav-account-ph { width: 24px; height: 24px; border-radius: var(--radius-sm); flex-shrink: 0; object-fit: cover; }
.nav-account-ph { display: grid; place-items: center; background: #0a0a0b; border: 1px solid var(--border-strong); color: var(--primary); font-size: .85rem; }
.nav-account:not(:has(img, .nav-account-ph)) { padding: 0 12px; }
@media (max-width: 560px) { .nav-account { padding: 0 4px; gap: 0; } .nav-account span { display: none; } .nav-account:not(:has(img, .nav-account-ph)) { padding: 0 10px; } .nav-account:not(:has(img, .nav-account-ph)) span { display: inline; } }
.cf h2 + .cf-form { margin-top: 14px; }
.ac-terms, .chat-terms { margin: 8px 0 0; font-size: .85rem; color: var(--text-muted); }
.ac-terms a, .chat-terms a { color: var(--primary); }

/* /konto po zalogowaniu: baner profilu + zakładki */
.ac-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-bottom: 14px; padding: 22px 24px; overflow: hidden; border: 1px solid var(--border); border-top: 2px solid var(--primary); border-radius: var(--radius-md); background: radial-gradient(70% 140% at 0% 0%, #f9731624, transparent 60%), linear-gradient(180deg, #121214, #0c0c0e); }
.ac-hero-ava img, .ac-hero-ph { display: grid; place-items: center; width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-md); border: 2px solid var(--primary); background: #0a0a0b; box-shadow: 0 8px 26px #f9731633; }
.ac-hero-ph { color: var(--primary); font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; }
.ac-hero-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; letter-spacing: .03em; line-height: 1.05; color: #f8fafc; overflow-wrap: anywhere; }
.ac-hero-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 12px 0 0; padding: 0; list-style: none; }
.ac-hero-stats li { display: grid; gap: 2px; }
.ac-hero-stats span { color: var(--text-muted); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ac-hero-stats strong { color: var(--text-strong); font-size: 1.05rem; font-weight: 600; }
.ac-hero-actions { display: flex; flex-direction: column; gap: 8px; align-self: start; }
.ac-hero-actions form { margin: 0; }
.ac-hero-actions .btn { width: 100%; justify-content: center; }
.ac-tabs { display: flex; gap: 2px; margin-bottom: 14px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.ac-tabs a { position: relative; padding: 10px 16px; color: var(--text-muted); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.ac-tabs a:hover { color: var(--text-strong); }
.ac-tabs a.is-active { color: #f8fafc; }
.ac-tabs a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--primary); }
.ac-panels { margin-bottom: 16px; }
.ac-panel { max-width: none; }
.ac-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: 14px; }
.ac-inline .cf-field { flex: 1 1 260px; max-width: 420px; margin: 0; }
.ac-inline .btn { min-height: 46px; }
.ac-help { margin: 8px 0 0; color: var(--text-muted); font-size: .85rem; }
.ac-help code { color: var(--text-strong); }
.ac-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.ac-panel .ac-methods { max-width: 640px; }
.ac-setmail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.ac-danger-zone { margin-top: 22px; padding: 16px; border: 1px solid #ef444440; border-left: 3px solid #ef4444; border-radius: var(--radius-md); background: #ef44440a; }
.ac-danger-zone .ac-h3 { color: #fca5a5; margin: 0 0 4px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
@media (max-width: 760px) {
  .ac-hero { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 14px; }
  .ac-hero-ava img, .ac-hero-ph { width: 68px; height: 68px; }
  .ac-hero-name { font-size: 1.7rem; }
  .ac-hero-actions { grid-column: 1 / -1; flex-direction: row; }
  .ac-hero-actions > * { flex: 1; }
  .ac-2col { grid-template-columns: 1fr; }
  .ac-inline .cf-field { max-width: none; }
  .ac-tabs a { padding: 10px 12px; font-size: .95rem; }
}
.ac-badge-root { border-color: #facc1566; background: #facc151a; color: #fde047; }

/* ---------- zakładka CDL ---------- */
.cdl-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.cdl-side { display: grid; gap: var(--gap); }
.cdl-sec { min-width: 0; }
.cdl-bh { cursor: default; }
.cdl-bh:hover { border-color: var(--border); }
.cdl-empty { margin: 0; padding: 14px 16px; color: var(--text-muted); }
.cdl-empty strong { color: var(--text-strong); }
.cdl-day { margin: 14px 0 8px; font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.cdl-sec .block-head + .cdl-day { margin-top: 0; }
.cdl-matches { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cdl-match { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px; }
.cdl-time { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.cdl-match.is-done .cdl-time { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.cdl-vs { padding: 2px 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-muted); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .08em; }
.cdl-score { font-family: var(--font-heading); font-size: 1.45rem; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.cdl-score b { font-weight: 700; }
.cdl-score b.is-win { color: var(--primary); }
.cdl-where { grid-column: 2 / -1; margin-top: -2px; color: var(--text-muted); font-size: .85rem; }
.cdl-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cdl-team.is-right { flex-direction: row-reverse; text-align: right; }
.cdl-logo { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; }
.cdl-logo img { width: 36px; height: 36px; object-fit: contain; }
.cdl-mono { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-muted); font-family: var(--font-heading); font-weight: 700; }
.cdl-tname { display: grid; min-width: 0; line-height: 1.15; }
.cdl-tname strong { color: #f8fafc; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdl-tname small { color: var(--text-muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdl-team.is-loss .cdl-tname strong { color: var(--text-muted); }
.cdl-team.is-loss .cdl-logo { opacity: .55; }
.cdl-table-wrap { overflow-x: auto; }
.cdl-table { width: 100%; border-collapse: collapse; }
.cdl-table th { padding: 9px 10px; border-bottom: 1px solid var(--border-strong); color: var(--text-muted); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-align: right; }
.cdl-table th:nth-child(2) { text-align: left; }
.cdl-table td { padding: 7px 10px; border-bottom: 1px solid var(--border); text-align: right; font-variant-numeric: tabular-nums; color: var(--text-main); }
.cdl-table td:nth-child(2) { text-align: left; }
.cdl-table tr:last-child td { border-bottom: 0; }
.cdl-table .cdl-place { width: 2.4rem; color: var(--text-muted); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; text-align: center; }
.cdl-table tr.is-top .cdl-place { color: var(--primary); }
.cdl-table .cdl-pts { color: #f8fafc; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.cdl-team.is-row .cdl-tname small { display: none; }
.cdl-table .cdl-logo, .cdl-table .cdl-logo img, .cdl-table .cdl-mono { width: 28px; height: 28px; }
.cdl-events { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cdl-event { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; }
.cdl-event.is-major { border-color: #f9731655; background: linear-gradient(90deg, #f9731614, var(--bg-card) 55%); }
.cdl-event.is-live { border-color: #22c55e66; }
.cdl-ev-date { display: grid; justify-items: center; line-height: 1; }
.cdl-ev-date b { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: #f8fafc; }
.cdl-ev-date span { margin-top: 3px; color: var(--primary); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.cdl-ev-body { display: grid; gap: 2px; min-width: 0; }
.cdl-ev-name { color: #f8fafc; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; letter-spacing: .03em; text-decoration: none; }
.cdl-ev-name:hover { color: var(--primary-hover); }
.cdl-ev-meta { color: var(--text-muted); font-size: .85rem; }
.cdl-ev-when { padding: 2px 8px; border-radius: var(--radius-sm); background: #ffffff0d; color: var(--text-muted); font-size: .85rem; white-space: nowrap; }
.cdl-event.is-live .cdl-ev-when { background: #22c55e26; color: #4ade80; font-weight: 600; }
.cdl-live { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: var(--gap); padding: 10px 14px; border-color: #ef444466; }
.cdl-live strong { color: #fca5a5; font-family: var(--font-heading); letter-spacing: .1em; text-transform: uppercase; }
.cdl-live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px #ef444433; }
.cdl-live-match { color: #f8fafc; font-family: var(--font-heading); font-size: 1.1rem; }
.cdl-live-match b { color: var(--primary); }
.cdl-source { margin: 14px 0 0; color: var(--text-muted); font-size: .85rem; }
@media (max-width: 1000px) { .cdl-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cdl-match { grid-template-columns: 3rem minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; padding: 8px; }
  .cdl-tname small { display: none; }
  .cdl-logo, .cdl-logo img, .cdl-mono { width: 28px; height: 28px; }
}

/* ---------- lista rozwijana z checkboxami (telefon: kategorie broni, tryby gry w buildach) ---------- */
.msel { position: relative; display: none; }
.msel-btn { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: #f8fafc; cursor: pointer; list-style: none; user-select: none; }
.msel-btn::-webkit-details-marker { display: none; }
.msel-title { font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.msel-val { flex: 1; min-width: 0; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.msel-btn svg { flex-shrink: 0; color: var(--text-muted); transition: transform .15s; }
.msel[open] .msel-btn { border-color: var(--primary); }
.msel[open] .msel-btn svg { transform: rotate(180deg); color: var(--primary); }
.msel-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.msel-panel { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; display: grid; max-height: min(60vh, 420px); overflow-y: auto; padding: 6px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #111113; box-shadow: 0 16px 40px #000000b3; }
.msel-opt { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 10px; border-radius: var(--radius-sm); color: var(--text-strong); cursor: pointer; }
.msel-opt:hover { background: #ffffff0a; }
.msel-opt input { position: absolute; opacity: 0; pointer-events: none; }
.msel-box { flex-shrink: 0; display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid var(--border-strong); border-radius: 5px; background: #0a0a0b; }
.msel-opt input:checked + .msel-box { border-color: var(--primary); background: var(--primary); }
.msel-opt input:checked + .msel-box::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2px solid #0a0a0b; border-bottom: 2px solid #0a0a0b; transform: rotate(-45deg); }
.msel-opt input:focus-visible + .msel-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.msel-txt { flex: 1; min-width: 0; }
.msel-n { color: var(--text-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.msel-all { border-bottom: 1px solid var(--border); border-radius: var(--radius-sm) var(--radius-sm) 0 0; margin-bottom: 4px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .msel-btn svg { transition: none; } }

/* kilka trybów naraz: grupy jedna pod drugą, z nagłówkami */
.wb-group-title { display: none; margin: 0 0 8px; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f8fafc; }
.wb-group-title span { color: var(--text-muted); font-size: .9em; }
.wb-groups.is-multi { gap: 18px; }
.wb-groups.is-multi .wb-group { grid-area: auto; }
.wb-groups.is-multi .wb-group.is-off { display: none; }
.wb-groups.is-multi .wb-group-title { display: block; }

/* kod buildu: jeden blok — podpis, kod, przycisk pod spodem */
.build-code { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px 12px; }
.build-code code { padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #0a0a0b; text-align: center; }
.build-code .btn { justify-content: center; min-height: 38px; width: 100%; }

@media (max-width: 700px) {
  .tier-filter, .wb-tabs { display: none; }
  .msel { display: block; }
  .tier-toolbar > .msel { flex: 1 1 100%; }
  .wb .msel { margin-bottom: var(--gap); }
  /* informacje pod tier listą — mniejsze na telefonie */
  .tier-source { font-size: .75rem; gap: 1px 5px; }
  .status { font-size: .78rem; gap: 4px 0; }
  .status-label, .status-note { font-size: .7rem; letter-spacing: .1em; }
  .status-item { gap: 5px; padding: 0 10px; }
  .countdown { gap: 6px; padding-left: 10px; }
  .countdown b { font-size: .9rem; }
}
@media (max-width: 700px) {
  .footer-status { font-size: .78rem; gap: 4px 0; }
  .footer-status .status-label { font-size: .7rem; }
  .footer-status .countdown b { font-size: .9rem; }
}

/* dodatki w buildzie: nazwa dodatku wyraźnie większa niż jego cechy */
.att-name strong { font-size: 1.25rem; line-height: 1.15; letter-spacing: .01em; }
.eff { padding: 0 5px; font-size: .78rem; line-height: 1.5; }
@media (max-width: 700px) { .att-name strong { font-size: 1.2rem; } .eff { font-size: .75rem; } }
@media (min-width: 701px) { .att { grid-template-columns: 36px minmax(0, 13rem) minmax(0, 1fr); } .botd-build .att { grid-template-columns: 36px minmax(0, 1fr); } }

/* nagłówek broni (popup i strona broni) */
.wb-meta span { white-space: nowrap; }
.wb-meta-tier { color: var(--tier); }
@media (max-width: 560px) {
  .wb-head { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-areas: "tier title" "img img" "open open"; align-items: center; gap: 10px 12px; padding: 12px; background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--tier) 14%, #0e0e10), #0e0e10 65%); }
  .news-dialog .wb-head { padding-right: 12px; }
  .news-dialog .wb-title { padding-right: 40px; }
  .wb-tier { grid-area: tier; align-self: start; width: 44px; height: 44px; font-size: 1.5rem; }
  .wb-title { grid-area: title; }
  .wb-title h1 { font-size: 1.75rem; line-height: 1.05; }
  .wb-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
  .wb-meta .sep { display: none; }
  .wb-meta span { padding: 1px 7px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #ffffff08; font-size: .8rem; line-height: 1.5; }
  .wb-meta .wb-meta-tier { border-color: color-mix(in srgb, var(--tier) 50%, transparent); }
  .wb-img { grid-area: img; justify-self: center; width: min(62%, 220px); padding: 4px 0; }
  .wb-open { grid-area: open; justify-content: center; width: 100%; min-height: 40px; box-sizing: border-box; }
}

/* rozmiar czcionki: lista wyboru w pasku */
.font-select { position: relative; display: inline-flex; align-items: center; align-self: center; height: 34px; box-sizing: border-box; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-strong); cursor: pointer; }
.font-select:hover, .font-select:focus-within { border-color: var(--border-accent); }
.font-select-ico { position: absolute; left: 9px; display: flex; align-items: baseline; gap: 1px; color: var(--primary); font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; line-height: 1; pointer-events: none; }
.font-select-ico small { font-size: .7em; }
.font-select select { appearance: none; -webkit-appearance: none; height: 100%; padding: 0 26px 0 34px; border: 0; background: transparent; color: inherit; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.font-select select:focus { outline: none; }
.font-select select option { background: #111113; color: #f4f4f5; text-transform: none; }
.font-select svg { position: absolute; right: 7px; color: var(--text-muted); pointer-events: none; }
/* konto w menu na telefonie (na komputerze jest osobny przycisk w pasku) */
.nav-link-account { display: none; }
@media (max-width: 820px) {
  .nav-right > .nav-account { display: none; }
  .nav-links .nav-link-account { display: flex; align-items: center; gap: 10px; margin-top: 6px; border-radius: var(--radius-md); background: #f973161a; color: #f8fafc; }
  .nav-links .nav-link-account::before { display: none; }
  .nav-link-account img, .nav-link-account .nav-account-ph { width: 28px; height: 28px; border-radius: var(--radius-sm); object-fit: cover; }
  .nav-link-account:not(:has(img, .nav-account-ph))::after { display: none; }
  .nav-link-account:not(:has(img, .nav-account-ph)) { justify-content: center; background: var(--primary); color: #0a0a0b; font-family: var(--font-heading); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
}
@media (max-width: 400px) { .font-select select { width: 0; padding: 0 22px 0 30px; color: transparent; } .font-select select option { color: #f4f4f5; } }
/* nagłówek broni na telefonie: litera tieru w jednym rzędzie z przyciskiem */
@media (max-width: 560px) {
  .wb-head { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "title title" "img img" "tier open"; }
  .wb-tier { align-self: stretch; width: 40px; height: 40px; font-size: 1.4rem; }
}
/* etykiety pod nazwą broni na telefonie: jeden rząd, przewijany w bok + powolny przesuw w lewo (JS) */
@media (max-width: 560px) {
  .wb-meta { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .wb-meta::-webkit-scrollbar { display: none; }
  .wb-meta span { flex-shrink: 0; }
  .wb-meta.is-overflow { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .wb-meta.is-overflow.at-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }
}

/* ---------- menu na telefonie: panel wysuwany z prawej ---------- */
.mnav[hidden] { display: none; }
.mnav { position: fixed; inset: 0; z-index: 2000; }
.mnav-backdrop { position: absolute; inset: 0; background: #000000a6; backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s ease; }
.mnav-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(88vw, 380px); box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px calc(16px + env(safe-area-inset-bottom)); border-left: 1px solid var(--border-strong); background: radial-gradient(120% 50% at 100% 0%, #f9731624, transparent 60%), #0c0c0e; box-shadow: -20px 0 50px #000000b3; transform: translateX(100%); transition: transform .26s cubic-bezier(.3, .7, .2, 1); }
.mnav.is-open .mnav-backdrop { opacity: 1; }
.mnav.is-open .mnav-panel { transform: none; }
html.mnav-lock, html.mnav-lock body { overflow: hidden; }
.mnav-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; margin: 0 -14px 12px; padding: 0 14px; border-bottom: 1px solid var(--border); background: #0c0c0ef2; backdrop-filter: blur(6px); }
.mnav-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mnav-brand img { width: 36px; height: 36px; }
.mnav-brand span { display: grid; line-height: 1.1; }
.mnav-brand b { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f8fafc; }
.mnav-brand small { font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--primary); }
.mnav-x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--text-strong); cursor: pointer; }
.mnav-x:hover, .mnav-x:focus-visible { border-color: var(--primary); color: var(--primary); outline: none; }
/* konto */
.mnav-acc { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px; border: 1px solid var(--border-accent); border-radius: var(--radius-lg); background: linear-gradient(135deg, #f973161f, #f9731605 60%), #111113; color: inherit; text-decoration: none; }
.mnav-acc img, .mnav-acc-ph { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-md); object-fit: cover; }
.mnav-acc-ph { display: grid; place-items: center; border: 1px solid var(--primary); background: #0a0a0b; color: var(--primary); font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; }
.mnav-acc-txt { display: grid; flex: 1; min-width: 0; gap: 2px; }
.mnav-acc-txt strong { overflow: hidden; color: #f8fafc; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: .03em; text-overflow: ellipsis; white-space: nowrap; }
.mnav-acc-txt small { color: var(--text-muted); font-size: .85rem; line-height: 1.35; }
.mnav-acc.is-guest .btn { flex-shrink: 0; min-height: 40px; padding: 0 18px; }
/* sekcje */
.mnav-list { display: grid; gap: 4px; }
.mnav-item { position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--radius-md); color: var(--text-strong); text-decoration: none; transition: background-color .15s, border-color .15s; }
.mnav-item:hover, .mnav-item:focus-visible { background: #ffffff08; border-color: var(--border); outline: none; }
.mnav-ico { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: #ffffffa6; }
.mnav-txt { display: grid; flex: 1; min-width: 0; gap: 1px; }
.mnav-txt strong { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f4f4f5; }
.mnav-txt small { overflow: hidden; color: var(--text-muted); font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.mnav-chev { flex-shrink: 0; color: #ffffff40; }
.mnav-item.is-active { border-color: #f9731655; background: linear-gradient(90deg, #f9731626, #f9731608 70%); }
.mnav-item.is-active::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--primary); box-shadow: 0 0 12px #f97316b3; }
.mnav-item.is-active .mnav-ico { border-color: var(--primary); background: var(--primary); color: #0a0a0b; }
.mnav-item.is-active .mnav-txt strong { color: #fff; }
.mnav-item.is-active .mnav-chev { color: var(--primary); }
/* pozycje wjeżdżają kolejno przy otwarciu (odpowiedź na kliknięcie, nie przy przewijaniu) */
.mnav-item { opacity: 0; transform: translateX(18px); }
.mnav.is-open .mnav-item { opacity: 1; transform: none; transition: opacity .3s ease, transform .3s cubic-bezier(.3, .7, .2, 1), background-color .15s, border-color .15s; transition-delay: calc(60ms + var(--i) * 35ms), calc(60ms + var(--i) * 35ms), 0s, 0s; }
/* stopka */
.mnav-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 18px; }
.mnav-dc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #5865f266; border-radius: var(--radius-lg); background: linear-gradient(135deg, #5865f22e, #5865f20a 70%); color: #f4f4f5; text-decoration: none; }
.mnav-dc svg { flex-shrink: 0; fill: #8f98ff; }
.mnav-dc span { display: grid; flex: 1; min-width: 0; }
.mnav-dc strong { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mnav-dc small { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: .85rem; }
.mnav-dc small i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #22c55e26; }
.mnav-dc em { padding: 6px 12px; border-radius: var(--radius-md); background: #5865f2; color: #fff; font-family: var(--font-heading); font-size: .9rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mnav-dc:hover { border-color: #5865f2; }
.mnav-motto { margin: 0; color: #ffffff40; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
@media (max-width: 820px) { .nav-links, .nav-links.open { display: none; } }
@media (min-width: 821px) { .mnav { display: none; } }
@media (prefers-reduced-motion: reduce) { .mnav-backdrop, .mnav-panel, .mnav-item, .mnav.is-open .mnav-item { transition: none; } .mnav-item { opacity: 1; transform: none; } }
/* rozmiar czcionki: sama ikonka „Aa” ze strzałką, bez nazwy rozmiaru (lista otwiera się po kliknięciu) */
.font-select { width: 52px; justify-content: flex-start; }
.font-select select, .font-select select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; color: transparent; }
.font-select select option { color: #f4f4f5; }
.font-select-ico { left: 10px; }
.font-select svg { right: 8px; }
.font-select:focus-within { box-shadow: 0 0 0 2px #f9731666; }

/* buildy na telefonie: pasek z numerem buildu i strzałkami + zajawka następnej karty */
.wb-pager { display: none; }
@media (max-width: 900px) {
  .wb-pager { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #0e0e10; }
  .wb-pg-btn { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 40px; padding: 0; border: 1px solid var(--border-accent); border-radius: var(--radius-sm); background: #f973161a; color: var(--primary); cursor: pointer; }
  .wb-pg-btn:not(:disabled):active { background: var(--primary); color: #0a0a0b; }
  .wb-pg-btn:disabled { border-color: var(--border); background: transparent; color: #ffffff2e; cursor: default; }
  .wb-pg-mid { display: flex; flex: 1; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
  .wb-pg-dots { display: flex; gap: 5px; }
  .wb-pg-dots i { width: 7px; height: 7px; border-radius: 4px; background: #ffffff2e; transition: width .2s, background-color .2s; }
  .wb-pg-dots i.on { width: 18px; background: var(--primary); }
  .wb-pg-n { color: var(--text-muted); font-family: var(--font-heading); font-size: .95rem; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
  .wb-pg-n b { color: #f8fafc; }
  .wb-pg-hint { color: var(--primary); font-family: var(--font-heading); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; animation: wb-hint 1.6s ease-in-out infinite; }
  .wb-pager.is-moved .wb-pg-hint { display: none; }
  .wb-pager:has(.wb-pg-btn[data-wb-step="1"]:not(:disabled)) .wb-pg-btn[data-wb-step="1"] { animation: wb-nudge 1.6s ease-in-out infinite; }
  .wb-pager.is-moved .wb-pg-btn { animation: none !important; }
  .wb-track { grid-auto-columns: 86%; }
}
@media (max-width: 380px) { .wb-pg-hint { display: none; } }
@keyframes wb-hint { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes wb-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .wb-pg-hint, .wb-pg-btn { animation: none !important; } .wb-pg-dots i { transition: none; } }
@media (max-width: 900px) {
  /* pasek buildów przypięty na dole ekranu, dopóki widać buildy z tej grupy */
  .wb-pager { position: sticky; bottom: 8px; z-index: 6; margin: 8px 0 0; background: #0e0e10eb; backdrop-filter: blur(8px); box-shadow: 0 8px 28px #000000cc; border-color: var(--border-accent); }
}

/* stopka na telefonie: mniejsze teksty */
@media (max-width: 700px) {
  .site-footer { padding-top: 10px; padding-bottom: 12px; }
  .site-footer p, .site-footer .fine { font-size: .72rem; line-height: 1.45; }
  .site-footer .footer-links { margin-top: 4px; }
  .site-footer .footer-links a { font-size: .75rem; }
  .footer-status { font-size: .72rem; }
  .footer-status .status-label { font-size: .65rem; }
  .footer-status .countdown b { font-size: .8rem; }
}

/* logowanie / rejestracja: na telefonie przełącznik zamiast dwóch kart jedna pod drugą */
.ac-switch { display: none; }
@media (max-width: 760px) {
  .ac-switch:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 12px; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #0e0e10; }
  .ac-switch button { min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text-muted); font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .ac-switch button[aria-selected="true"] { background: var(--primary); color: #0a0a0b; }
  .ac-switch button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
  .ac-grid.is-switch[data-show="login"] .ac-pane-reg, .ac-grid.is-switch[data-show="reg"] .ac-pane-login { display: none; }
}

/* ---------- dokumenty prawne ---------- */
.legal ul { margin: 0 0 .9em; padding-left: 1.2em; color: #e2e8f0d9; font-size: 1.02rem; line-height: 1.6; }
.legal li { margin-bottom: .35em; }
.legal h2[id] { scroll-margin-top: calc(var(--head-h, 64px) + 12px); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.legal-toc a { padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: #ffffffc7; font-size: .88rem; text-decoration: none; }
.legal-toc a:hover { border-color: var(--primary); color: var(--primary-hover); }
.legal-table-wrap { margin: 0 0 1em; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.legal-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.legal-table th { padding: 8px 10px; background: #ffffff08; color: #f8fafc; font-family: var(--font-heading); font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.legal-table td { padding: 8px 10px; border-top: 1px solid var(--border); color: #e2e8f0d9; vertical-align: top; }
.legal-table td:first-child { color: #f8fafc; font-weight: 600; }
.legal-link-btn, .footer-link-btn { padding: 0; border: 0; background: none; color: var(--primary); font: inherit; text-decoration: underline; cursor: pointer; }
.footer-link-btn { color: inherit; text-decoration: none; }
.footer-link-btn:hover { color: var(--primary); }
@media (max-width: 700px) { .legal-table { font-size: .85rem; } .legal ul { font-size: .97rem; } }

/* przełącznik języka przed zgodą: zaślepka w stylu widżetu */
.gt-locked { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 128px; height: 34px; padding: 0 8px 0 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised); color: var(--primary); cursor: pointer; }
.gt-locked-flag { border-radius: 2px; outline: 1px solid #ffffff1f; }
.gt-locked:hover, .gt-locked:focus-visible { border-color: var(--primary); outline: none; }
@media (max-width: 820px) { .gt-locked { width: 58px; } }

/* ---------- baner zgód ---------- */
.cc[hidden] { display: none; }
.cc { position: fixed; left: 16px; bottom: 16px; z-index: 1900; width: min(440px, calc(100vw - 32px)); }
.cc-box { padding: 16px 16px 14px; border: 1px solid var(--border-accent); border-top: 3px solid var(--primary); border-radius: var(--radius-lg); background: #0e0e10f7; box-shadow: 0 18px 50px #000000d9; backdrop-filter: blur(8px); }
.cc-title { margin: 0 0 6px; color: #f8fafc; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; }
.cc-desc { margin: 0; color: #e2e8f0cc; font-size: .9rem; line-height: 1.5; }
.cc-desc a { color: var(--primary); }
.cc-opts { display: grid; gap: 6px; margin-top: 12px; }
.cc-opt { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); cursor: pointer; }
.cc-opt.is-locked { cursor: default; opacity: .75; }
.cc-opt.is-hl { border-color: var(--primary); background: #f9731614; }
.cc-opt input { flex-shrink: 0; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); }
.cc-opt span { display: grid; gap: 2px; }
.cc-opt b { color: #f8fafc; font-size: .92rem; }
.cc-opt small { color: var(--text-muted); font-size: .82rem; line-height: 1.4; }
.cc-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.cc-btns > [hidden] { display: none; }
.cc-btn { min-height: 42px; padding: 0 10px; border: 1px solid var(--primary); border-radius: var(--radius-md); background: #f973161f; color: #f8fafc; font-family: var(--font-heading); font-size: .95rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.cc-btn:hover, .cc-btn:focus-visible { background: var(--primary); color: #0a0a0b; outline: none; }
.cc-btn-ghost { border-color: var(--border-strong); background: none; color: var(--text-muted); }
@media (max-width: 560px) {
  .cc { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .cc-box { padding: 14px 12px 12px; }
  .cc-btns { grid-template-columns: 1fr 1fr; }
  .cc-btns .cc-btn-ghost { grid-column: 1 / -1; order: 3; min-height: 36px; }
}
.cc-opts[hidden] { display: none; }
.cc-btn:focus-visible { background: #f973161f; color: #f8fafc; outline: 2px solid #fff; outline-offset: 2px; }
.cc-btn:hover { background: var(--primary); color: #0a0a0b; }
.cc-btn-ghost:focus-visible { background: none; color: var(--text-muted); }
/* tabele w polityce prywatności na telefonie: każdy wiersz jako karta z podpisami pól */
@media (max-width: 700px) {
  .legal-table-wrap { overflow: visible; border: 0; }
  .legal-table { min-width: 0; }
  .legal-table thead { display: none; }
  .legal-table tr { display: block; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #ffffff05; }
  .legal-table td { display: block; padding: 3px 0; border: 0; }
  .legal-table td::before { content: attr(data-l); display: block; color: var(--text-muted); font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .legal-table td:first-child { padding-bottom: 5px; border-bottom: 1px solid var(--border); font-size: .95rem; }
  .legal-table td:first-child::before { display: none; }
}
.cc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cc-logo { flex-shrink: 0; width: 44px; height: 44px; filter: drop-shadow(0 0 10px #f9731640); }
.cc-head .cc-title { display: grid; margin: 0; line-height: 1.1; }
.cc-title small { color: var(--primary); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
/* zaślepka języka = dokładnie rozmiar widżetu GTranslate (58 × 34), żeby nic w menu nie przeskakiwało */
.gt-locked, .lang-switch .gt-locked { width: 58px; height: 34px; padding: 0 6px 0 8px; gap: 4px; box-sizing: border-box; }
.gt-locked-flag { width: 22px; height: 22px; outline: 0; }

/* konto → prywatność */
.ac-consents, .ac-modlog { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.ac-consents li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.ac-consents li > span { color: #f8fafc; font-weight: 600; }
.ac-consents .ac-m-ok, .ac-consents .ac-m-off { font-size: .9rem; font-weight: 500; }
.ac-modlog li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 10px; padding: 8px 12px; border-left: 3px solid var(--border-accent); background: #ffffff05; font-size: .95rem; }
.ac-modlog time { color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ac-modlog span { color: #e2e8f0; }
#p-prywatnosc .ac-h3 { margin-top: 22px; }
#p-prywatnosc .ac-danger-zone { margin-top: 26px; }
@media (max-width: 560px) { .ac-modlog li { grid-template-columns: 1fr; gap: 2px; } }
.legal ol { margin: 0 0 1em; padding-left: 1.5em; color: #e2e8f0d9; font-size: 1.02rem; line-height: 1.62; }
.legal ol > li { margin-bottom: .45em; padding-left: .2em; }
.legal ol > li::marker { color: var(--primary); font-weight: 600; }
.legal li ul { margin: .4em 0 .2em; }
.legal-toc a { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .legal ol { font-size: .97rem; padding-left: 1.3em; } .legal-toc a { font-size: .82rem; padding: 3px 8px; } }

/* ---------- 404: „poza strefą walki” ---------- */
.nf { position: relative; margin: 8px 0 24px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: radial-gradient(90% 70% at 50% 0%, #f9731622, transparent 65%), repeating-linear-gradient(0deg, #ffffff05 0 1px, transparent 1px 4px), #0c0c0e; overflow: hidden; }
.nf-tape { height: 14px; background: repeating-linear-gradient(-45deg, var(--primary) 0 16px, #0a0a0b 16px 32px); opacity: .9; }
.nf-body { display: grid; justify-items: center; padding: 28px 20px 22px; text-align: center; }
.nf-warn { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 12px; border: 1px solid #ef444480; border-radius: var(--radius-sm); background: #ef44441f; color: #fca5a5; font-family: var(--font-heading); font-size: 1rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; animation: nf-blink 1.2s steps(2, jump-none) infinite; }
.nf-code { display: flex; align-items: center; gap: .04em; margin: 10px 0 0; font-family: var(--font-heading); font-size: clamp(7rem, 26vw, 13rem); font-weight: 700; line-height: .9; color: #f8fafc; text-shadow: 0 0 40px #f9731640; }
.nf-0 { display: grid; place-items: center; width: .62em; height: .62em; }
.nf-0 svg { width: 100%; height: 100%; fill: none; stroke: var(--primary); stroke-width: 6; filter: drop-shadow(0 0 12px #f9731699); animation: nf-aim 6s ease-in-out infinite; }
.nf-title { margin: 14px 0 6px; font-family: var(--font-heading); font-size: clamp(1.6rem, 4.6vw, 2.4rem); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #f8fafc; }
.nf-lead { max-width: 34rem; margin: 0; color: #e2e8f0c7; font-size: 1.02rem; line-height: 1.6; }
.nf-timer { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.nf-timer b { min-width: 2.6em; color: var(--primary); font-size: 2rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.nf.is-hot .nf-timer b { color: #ef4444; }
.nf.is-done .nf-timer { color: #86efac; }
.nf.is-done .nf-warn { animation: none; border-color: #22c55e80; background: #22c55e1a; color: #86efac; }
.nf-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.nf-btns [hidden] { display: none; }
.nf-path { margin: 14px 0 0; color: var(--text-muted); font-size: .85rem; }
.nf-path code { padding: 1px 6px; border-radius: 4px; background: #ffffff0d; color: #e2e8f0; }
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--border); background: var(--border); }
.nf-links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #0e0e10; color: var(--text-strong); text-decoration: none; transition: background-color .15s; }
.nf-links a:hover, .nf-links a:focus-visible { background: #f9731614; outline: none; }
.nf-links a > svg { flex-shrink: 0; color: var(--primary); }
.nf-links span { display: grid; min-width: 0; }
.nf-links strong { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nf-links small { overflow: hidden; color: var(--text-muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
@keyframes nf-blink { 50% { opacity: .55; } }
@keyframes nf-aim { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(3%, -2%); } 50% { transform: translate(-2%, 2%); } 75% { transform: translate(2%, 3%); } }
@media (max-width: 820px) { .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .nf-body { padding: 22px 14px 18px; } .nf-links a { padding: 12px; gap: 10px; } .nf-links small { display: none; } .nf-btns .btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .nf-warn, .nf-0 svg { animation: none; } }
.nf .nf-btns .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; font-size: 1rem; }
@media (max-width: 480px) { .nf .nf-btns { width: 100%; } .nf .nf-btns .btn { flex: 1 1 100%; } }
.nf .nf-btns .btn[hidden] { display: none; }

/* ---------- dokumenty prawne: pełna szerokość, spis treści w lewej kolumnie ---------- */
.legal-layout { display: grid; grid-template-columns: 18rem minmax(0, 1fr); gap: 16px; align-items: start; }
.legal-layout .legal { max-width: none; padding: 22px 30px 26px; }
.legal-layout .legal > h2:first-of-type, .legal-layout .legal > .legal-note + h2 { margin-top: .6em; }
.legal-side { position: sticky; top: calc(var(--head-h, 64px) + 12px); display: grid; gap: 10px; max-height: calc(100vh - var(--head-h, 64px) - 24px); overflow-y: auto; scrollbar-width: thin; }
.legal-nav { border: 1px solid var(--border-strong); border-top: 2px solid var(--primary); border-radius: var(--radius-lg); background: var(--bg-card); }
.legal-nav summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px 8px; list-style: none; cursor: default; }
.legal-nav summary::-webkit-details-marker { display: none; }
.legal-nav-k { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f8fafc; }
.legal-nav-cur, .legal-nav summary svg { display: none; }
.legal-layout .legal-toc { display: grid; gap: 1px; margin: 0; padding: 0 6px 8px; }
.legal-layout .legal-toc a { display: block; padding: 6px 10px; border: 0; border-left: 2px solid transparent; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-muted); font-size: .9rem; line-height: 1.35; text-decoration: none; }
.legal-layout .legal-toc a:hover { color: #f8fafc; background: #ffffff08; }
.legal-layout .legal-toc a.is-active { border-left-color: var(--primary); background: #f9731614; color: #f8fafc; }
.legal-meta { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #0e0e10; font-size: .88rem; }
.legal-meta p { display: grid; gap: 1px; margin: 0; }
.legal-meta span { color: var(--text-muted); font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.legal-meta strong { color: #f8fafc; font-weight: 600; }
.legal-meta a { color: var(--primary); overflow-wrap: anywhere; }
.legal-meta-links { display: flex !important; flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.legal-meta-links a, .legal-meta-links .legal-link-btn { font-size: .85rem; }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .legal-side { position: sticky; top: var(--head-h, 56px); z-index: 20; max-height: none; overflow: visible; margin: 0 -2px; }
  .legal-meta { display: none; }
  .legal-nav { border-radius: var(--radius-md); background: #0e0e10f2; backdrop-filter: blur(8px); box-shadow: 0 10px 24px #00000099; }
  .legal-nav summary { padding: 10px 12px; cursor: pointer; }
  .legal-nav-k { flex-shrink: 0; font-size: .85rem; color: var(--text-muted); }
  .legal-nav-cur { display: block; flex: 1; min-width: 0; overflow: hidden; color: #f8fafc; font-size: .92rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
  .legal-nav summary svg { display: block; flex-shrink: 0; color: var(--primary); transition: transform .2s; }
  .legal-nav[open] summary svg { transform: rotate(180deg); }
  .legal-layout .legal-toc { max-height: 60vh; overflow-y: auto; padding-bottom: 10px; }
  .legal-layout .legal { padding: 16px 16px 18px; }
}
@media print {
  .site-header, .site-footer, .legal-side, .cc, .ticker, .mnav { display: none !important; }
  .legal-layout { display: block; }
  .legal-layout .legal { border: 0; padding: 0; background: none; }
  .legal, .legal p, .legal li, .legal td, .legal h2 { color: #000 !important; }
}
.legal-meta .legal-meta-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }

/* ---------- Guides ---------- */
.gd-src { margin: 0 0 16px; padding: 9px 12px; border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: var(--radius-md); background: #0e0e10; color: var(--text-muted); font-size: .88rem; line-height: 1.5; }
.gd-src a, .gd-credit a { color: var(--primary); }
.gd-sec { margin-bottom: 26px; }
.gd-sec .section-head { display: flex; align-items: baseline; gap: 10px; }
.gd-count { color: var(--primary); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; }
.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 10px; }
.gd-grid-wide { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.gd-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-card); color: inherit; text-decoration: none; transition: border-color .2s; }
.gd-card:hover, .gd-card:focus-visible { border-color: var(--primary); outline: none; }
.gd-card-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0b0d; }
.gd-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gd-card:hover .gd-card-img img { transform: scale(1.04); }
.gd-card-img::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, transparent, #0a0a0bcc); pointer-events: none; }
.gd-card-c { position: absolute; right: 6px; bottom: 4px; z-index: 1; color: #ffffffa6; font-size: .68rem; }
.gd-new { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--primary); color: #0a0a0b; font-family: var(--font-heading); font-size: .8rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gd-card-body { display: grid; gap: 4px; padding: 10px 12px 12px; }
.gd-card-body strong { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; letter-spacing: .03em; line-height: 1.15; color: #f8fafc; }
.gd-card-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.gd-card-chips span { padding: 1px 7px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text-muted); font-family: var(--font-heading); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.gd-card-chips span.is-new { border-color: var(--primary); background: var(--primary); color: #0a0a0b; }
.gd-credit { color: var(--text-muted); font-size: .8rem; line-height: 1.4; }
/* przewodnik */
.gd-crumbs { display: flex; gap: 8px; margin: 2px 0 10px; color: var(--text-muted); font-size: .9rem; }
.gd-crumbs a { color: var(--primary); text-decoration: none; }
.gd-hero { position: relative; display: grid; align-items: end; min-height: 15rem; margin-bottom: 10px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: #0b0b0d; }
.gd-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a0a0bf2 0%, #0a0a0b99 45%, transparent 75%), linear-gradient(0deg, #0a0a0bcc, transparent 60%); }
.gd-hero-txt { position: relative; z-index: 1; display: grid; gap: 6px; padding: 22px 24px; }
.gd-hero h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: #f8fafc; }
.gd-hero-en { margin: 0; color: var(--text-muted); font-size: .95rem; }
.gd-hero-c { position: absolute; right: 8px; bottom: 6px; z-index: 1; color: #ffffffa6; font-size: .72rem; }
.gd-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; align-items: start; }
.gd-body { padding: 18px 22px 20px; color: #e2e8f0d9; font-size: 1.04rem; line-height: 1.65; }
.gd-body > :first-child { margin-top: 0; }
.gd-body h2, .gd-body h3, .gd-body h4 { margin: 1.2em 0 .4em; font-family: var(--font-heading); font-weight: 700; letter-spacing: .03em; color: #f8fafc; scroll-margin-top: calc(var(--head-h, 64px) + 70px); }
.gd-body h2 { font-size: 1.8rem; padding-bottom: 4px; border-bottom: 2px solid var(--primary); }
.gd-body h3 { font-size: 1.4rem; color: #fdba74; }
.gd-body h4 { font-size: 1.15rem; }
.gd-body p { margin: 0 0 .8em; }
.gd-body ul { margin: 0 0 1em; padding-left: 1.3em; }
.gd-body li { margin-bottom: .3em; }
.gd-body li::marker { color: var(--primary); }
.gd-meta { color: var(--text-muted); font-size: .92rem; font-style: italic; }
.gd-figs { display: grid; gap: 10px; margin: 12px 0 16px; }
.gd-figs.is-multi { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.gd-fig { margin: 0; }
.gd-fig > a { display: block; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #0b0b0d; cursor: zoom-in; }
.gd-fig img { display: block; width: 100%; height: auto; }
.gd-fig figcaption { margin-top: 4px; }
.gd-tac { position: sticky; top: calc(var(--head-h, 64px) + 12px); padding: 12px; }
.gd-tac-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.gd-tac-head h2 { margin: 0; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f8fafc; }
.gd-tac-btns { display: flex; flex-wrap: wrap; gap: 4px; }
.gd-tac-btns .btn { min-width: 36px; min-height: 34px; font-size: .95rem; }
.gd-tac-view { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: #050506; cursor: zoom-in; touch-action: pan-y; user-select: none; }
.gd-tac-view.is-zoomed { cursor: grab; touch-action: none; }
.gd-tac-view:active.is-zoomed { cursor: grabbing; }
.gd-tac-view:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.gd-tac-view img { display: block; }
.gd-tac-c { margin: 6px 0 0; color: var(--text-muted); font-size: .78rem; }
.gd-art-layout { align-items: start; }
.gd-toc a.lvl-h3 { padding-left: 22px; font-size: .84rem; }
.gd-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 8px; }
.gd-pn a { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-card); color: inherit; text-decoration: none; }
.gd-pn a:hover { border-color: var(--primary); }
.gd-pn small { color: var(--text-muted); font-size: .82rem; }
.gd-pn strong { font-family: var(--font-heading); font-size: 1.2rem; color: #f8fafc; }
.gd-pn-next { text-align: right; grid-column: 2; }
@media (max-width: 960px) { .gd-map-layout { grid-template-columns: minmax(0, 1fr); } .gd-tac { position: static; order: -1; } }
@media (max-width: 560px) {
  .gd-hero { min-height: 11rem; } .gd-hero-txt { padding: 14px; }
  .gd-body { padding: 14px; font-size: .98rem; } .gd-body h2 { font-size: 1.5rem; }
  .gd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gd-grid-wide { grid-template-columns: 1fr; }
  .gd-card-body { padding: 8px 9px 10px; } .gd-card-body strong { font-size: 1.1rem; }
  .gd-tac-btns a { display: none; }
  .gd-pn { grid-template-columns: 1fr; } .gd-pn-next { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .gd-card-img img { transition: none; } }
.gd-body li.d1 { margin-left: 1.2em; list-style-type: circle; }
.gd-body li.d2 { margin-left: 2.4em; list-style-type: square; }
.gd-table { margin: 10px 0 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
.gd-table table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.gd-table th, .gd-table td { padding: 7px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.gd-table th { background: #141416; color: #f8fafc; font-family: var(--font-heading); font-size: 1rem; letter-spacing: .04em; }
.gd-table tr:last-child td { border-bottom: 0; }
/* znaczniki na mapach taktycznych (Guides + edytor w panelu) */
.gm-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 2px solid #0a0a0b; border-radius: 50%; box-shadow: 0 0 0 1px #ffffff55, 0 2px 6px #000a; font-family: var(--font-heading); font-size: .85rem; font-weight: 700; line-height: 1; color: #fff; }
.gm-dot.is-a { background: #2563eb; }
.gm-dot.is-b { background: #dc2626; }
.gm-dot.is-obj { background: var(--primary); color: #0a0a0b; border-radius: 6px; }
.gm-dot.is-poi { background: #facc15; color: #0a0a0b; }
.gm-dot.is-call { width: 10px; height: 10px; background: #f8fafc; }
.gm-dot.is-call i { display: none; }
.gm-call { display: inline-block; padding: 2px 6px; border-radius: 4px; background: #0a0a0bd9; border: 1px solid #ffffff40; color: #f8fafc; font-family: var(--font-heading); font-size: .82rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.gd-tac-layer { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; --s: 1; }
.gd-tac-layer > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gd-pins { position: absolute; inset: 0; }
.gd-pin { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%, -50%) scale(calc(1 / var(--s))); }
.gd-pin .gm-dot { width: 22px; height: 22px; font-size: .8rem; }
.gd-pin.is-sel .gm-dot, .gd-pin.is-sel .gm-call, .gd-pin:focus-visible .gm-dot { outline: 3px solid #fff; outline-offset: 2px; }
.gd-tac-modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 8px; }
.gd-tac-modes label { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-family: var(--font-heading); font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gd-tac-modes select { min-height: 36px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-raised, #141416); color: #f8fafc; font: 1rem var(--font-body); }
.gd-tac-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; color: var(--text-muted); font-size: .85rem; }
.gd-tac-legend li { display: inline-flex; align-items: center; gap: 5px; }
.gd-tac-legend .gm-dot { width: 18px; height: 18px; font-size: .7rem; border-width: 1px; }
.gd-pin-info { margin: 8px 0 0; min-height: 1.5em; color: #e2e8f0d9; font-size: .95rem; }
.gd-pin-info strong { color: #f8fafc; }
/* Cloudflare Turnstile — miejsce zarezerwowane, żeby formularz nie skakał przy ładowaniu widżetu */
.cf-turnstile-wrap { min-height: 65px; }
.cf-turnstile { max-width: 100%; }
