/* Strona ripworth.com – w stylu aplikacji (ciemne tło, złoty akcent). Bez zewnętrznych czcionek i skryptów. */
:root {
  --bg: #0b0d12;
  --bg-2: #0f1116;
  --panel: #161920;
  --panel-2: #1d212a;
  --line: #2a2f3a;
  --text: #eef1f6;
  --muted: #98a0b0;
  --accent: #f5b301;
  --accent-ink: #1a1400;
  --gold: linear-gradient(135deg, #ffe066, #f5b301 55%, #ff7a00);
  --good: #3ccf7a;
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 850; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.gold-text { background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* nagłówek */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11,13,18,.82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.top .logo img { height: 30px; width: auto; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 750; font-family: inherit; font-size: 16px; line-height: 1.2; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--panel-2); transition: transform .15s, background-color .15s, border-color .15s, box-shadow .15s, filter .15s; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-1px); border-color: #4a5263; background-color: #232833; }
.btn:active { transform: translateY(0); }
/* złoty przycisk: bez ramki (gradient nie powtarza się na krawędzi), połysk u góry, cień w kolorze złota */
.btn.primary { background: var(--gold) border-box; background-repeat: no-repeat; color: var(--accent-ink); border: 0; padding: 0 23px; box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(120,60,0,.25), 0 6px 20px rgba(245,179,1,.22); }
.btn.primary:hover { filter: brightness(1.06) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(120,60,0,.25), 0 10px 28px rgba(245,179,1,.32); }
.btn.primary:active { filter: brightness(.97); box-shadow: inset 0 1px 2px rgba(120,60,0,.3), 0 3px 10px rgba(245,179,1,.2); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.small.primary { padding: 0 17px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 480px at 78% 30%, rgba(245,179,1,.12), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .lead { font-size: 20px; color: #c9cfdb; max-width: 34em; }
.hero .fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* plansza hitu – odtworzenie nakładki OBS */
.overlay-demo { position: relative; padding: 28px 0 10px; }
.ov { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 32px 22px 22px; border-radius: 20px; background: linear-gradient(135deg, rgba(18,20,28,.97), rgba(30,34,46,.97)); border: 2px solid var(--accent); box-shadow: 0 0 0 1px rgba(245,179,1,.25), 0 0 50px rgba(245,179,1,.28), 0 24px 60px rgba(0,0,0,.55); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 1px rgba(245,179,1,.35), 0 0 80px rgba(245,179,1,.42), 0 24px 60px rgba(0,0,0,.55); } }
.ov .badge { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); padding: 7px 18px; border-radius: 99px; background: linear-gradient(90deg, #ff9d00, #ff4f7a); color: #1a0a00; font-weight: 900; font-size: 18px; letter-spacing: .06em; box-shadow: 0 6px 24px rgba(255,120,60,.5); }
.ov .shop { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.ov .shop img { width: 24px; height: 24px; border-radius: 6px; }
.ov .game { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.ov .name { font-size: 28px; font-weight: 850; line-height: 1.1; margin: 2px 0 4px; }
.ov .set { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ov .prices { display: flex; gap: 10px; flex-wrap: wrap; }
.ov .pr { background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 14px; min-width: 112px; }
.ov .pr small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.ov .pr b { font-size: 24px; font-weight: 900; }
.ov .pr i { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
/* abstrakcyjna karta (holo) zamiast grafiki z prawdziwej karty */
.card-art { aspect-ratio: 63/88; border-radius: 9px; padding: 7px; background: linear-gradient(160deg, #f6e7a8, #c9a23a 40%, #f8e9b0 60%, #a8811f); box-shadow: 0 10px 26px rgba(0,0,0,.5); position: relative; overflow: hidden; }
.card-art::before { content: ""; position: absolute; inset: 7px; border-radius: 5px; background:
  radial-gradient(circle at 50% 42%, #ffb347 0 18%, transparent 19%),
  conic-gradient(from 200deg at 50% 42%, #ff6a3d, #ffd23f, #7dffb0, #5cc8ff, #b07dff, #ff6a3d);
  filter: saturate(1.1); }
.card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); background-size: 250% 100%; animation: shine 3.2s ease-in-out infinite; mix-blend-mode: overlay; }
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.sparks { position: absolute; inset: -10px; pointer-events: none; }
.sparks i { position: absolute; width: 10px; height: 10px; background: #fff3b0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: tw 1.8s ease-in-out infinite; }
.sparks i:nth-child(1) { left: 4%; top: 12%; }
.sparks i:nth-child(2) { right: 6%; top: -2%; animation-delay: .4s; }
.sparks i:nth-child(3) { right: -1%; bottom: 22%; animation-delay: .9s; }
.sparks i:nth-child(4) { left: 30%; bottom: -3%; animation-delay: 1.2s; }
.sparks i:nth-child(5) { left: -1%; bottom: 40%; animation-delay: .6s; }
@keyframes tw { 50% { transform: scale(.3) rotate(45deg); opacity: .3; } }
.ov-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* liczby */
.stats { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.stat { min-width: 0; overflow-wrap: break-word; }
.stat b { display: block; font-size: clamp(26px, 8vw, 34px); font-weight: 900; letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--muted); }

/* sekcje */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
/* kolumny mogą się zwężać poniżej szerokości najdłuższego słowa (długie niemieckie wyrazy, pola formularza) */
.grid-2 > * { min-width: 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(245,179,1,.12); margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0,0,0,.5); overflow: hidden; background: var(--panel); }
.shot .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4150; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; color: var(--accent-ink); background: var(--gold); }
.checks li b { color: var(--text); }
.checks li { color: #c9cfdb; }
.alt { background: var(--bg-2); }

/* kroki */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps .card { counter-increment: s; }
.steps .card::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--accent-ink); font-weight: 900; margin-bottom: 14px; }

/* gry */
.games { display: flex; flex-wrap: wrap; gap: 8px; }
.games span { padding: 7px 14px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #c9cfdb; }
.games span.more { color: var(--accent); border-color: rgba(245,179,1,.4); }

/* cennik */
.toggle { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 28px; }
.toggle button { font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 8px 18px; border-radius: 9px; cursor: pointer; }
.toggle button.on { background: var(--panel-2); color: var(--text); }
.toggle em { font-style: normal; color: var(--good); font-size: 13px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 0 60px rgba(245,179,1,.12); }
.plan .tag { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 99px; background: var(--gold); color: var(--accent-ink); font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.plan .price { font-size: 46px; font-weight: 900; letter-spacing: -.03em; margin: 6px 0 0; }
.plan .price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .per { font-size: 14px; color: var(--muted); margin-bottom: 20px; min-height: 1.6em; }
.plan .checks { font-size: 15px; flex: 1; }
.plan .btn { width: 100%; }
.price-note { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 900px; }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #c9cfdb; font-size: 16px; }

/* kontakt */
.cta { text-align: center; background: radial-gradient(700px 300px at 50% 0, rgba(245,179,1,.14), transparent 70%), var(--bg-2); }
.cta p { color: #c9cfdb; font-size: 18px; max-width: 640px; margin: 0 auto 26px; }
.cta .btns { justify-content: center; }

/* stopka */
footer { border-top: 1px solid rgba(255,255,255,.06); padding: 36px 0 44px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .tm { font-size: 12px; opacity: .8; }

/* miejsca do uzupełnienia (dane firmy) – widoczne, żeby nie przeoczyć przed publikacją */
.todo { outline: 1px dashed #ff7a85; color: #ffb3b9; padding: 0 4px; border-radius: 4px; }

/* dokumenty (regulamin, polityka) */
.doc { max-width: 820px; padding: 56px 20px 80px; margin: 0 auto; }
/* długie złożenia (np. „Umsatzsteuer-Identifikationsnummer”) dzielą się zamiast rozpychać stronę na telefonie */
:lang(de) .doc, :lang(de) .lead, :lang(de) h1, :lang(de) h2 { overflow-wrap: break-word; hyphens: auto; }
.trial-form select { max-width: 100%; }
.doc h1 { font-size: 38px; }
.doc h2 { font-size: 22px; margin-top: 2em; }
.doc p, .doc li { color: #d3d8e2; font-size: 16px; }
.doc ol, .doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc .meta { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 40px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .ov { grid-template-columns: 92px 1fr; gap: 14px; padding: 18px 14px; }
  .ov .name { font-size: 22px; }
  .ov .pr { min-width: 0; flex: 1; padding: 8px 10px; }
  .ov .pr b { font-size: 20px; }
  .top .logo img { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ov, .card-art::after, .sparks i { animation: none; }
  html { scroll-behavior: auto; }
}

/* dostępność: przejście do treści, widoczny fokus z klawiatury, kotwice pod przyklejonym nagłówkiem */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
section[id], main[id] { scroll-margin-top: 76px; }
figure { margin: 0; }
.shot picture { display: block; }

/* strona 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.notfound h1 { font-size: 44px; }
.notfound p { color: var(--muted); }
.notfound img { margin: 0 auto 28px; }
.notfound .btns { justify-content: center; }

/* przełącznik języka */
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.lang { font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 7px; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--text); }
.lang.on { background: var(--panel-2); color: var(--text); }

/* podstrony */
.hero-sm { padding: 56px 0 40px; }
.hero-sm .wrap > .lead { max-width: 46em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { padding: 7px 12px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); color: #c9cfdb; font-size: 14px; font-weight: 600; text-decoration: none; }
.toc a:hover { border-color: var(--accent); color: var(--text); }
.features .card { display: flex; flex-direction: column; }
.features .card p { margin-bottom: .8em; }
.features .benefit { margin-top: auto; margin-bottom: 0 !important; padding-top: 10px; border-top: 1px solid var(--line); color: #c9cfdb !important; }
.features .benefit b { color: var(--accent); }
.more-link { margin-top: 24px; font-weight: 700; }
.cards-2 { align-items: stretch; gap: 18px; }
.checks.inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 0 auto 26px; }
.article { padding-top: 40px; }
.article .lead { font-size: 19px; color: #d3d8e2; }
.article .btns { margin: 18px 0 8px; }
.article .faq { margin-top: 10px; }

/* tabela porównania – przewijana w bok na wąskim ekranie (strona nie przewija się poziomo) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.table-wrap:focus-visible { outline-offset: 2px; }
.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1040px; font-size: 14px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: #c9cfdb; }
.compare thead th { position: sticky; top: 0; background: var(--panel-2); color: var(--text); font-size: 14px; white-space: nowrap; }
.compare thead th a { color: var(--text); }
.compare tbody th { color: var(--text); font-weight: 700; min-width: 170px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { background: rgba(245,179,1,.08); color: var(--text); }
.compare thead .us { color: var(--accent); }
.compare .yes { color: var(--good); font-weight: 900; font-size: 17px; }
.compare .no { color: #ff8a93; font-weight: 900; font-size: 17px; }
.compare .unk { color: var(--muted); }
.table-hint { display: none; }
@media (max-width: 1100px) { .table-hint { display: block; margin-top: 10px; } }
@media (max-width: 900px) {
  .langs { margin-left: auto; }
  .cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .top .wrap { gap: 10px; }
  .lang { padding: 4px 6px; }
}
.hero-sm .wrap:not(.grid-2) { display: block; }
section.table-wrap { padding: 0; }
/* kolumna kryteriów zostaje widoczna przy przewijaniu tabeli w bok */
.compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); box-shadow: 1px 0 0 var(--line); }
.compare thead th:first-child { z-index: 2; background: var(--panel-2); }
@media (max-width: 600px) { .compare tbody th { min-width: 120px; max-width: 140px; } }

/* formularz okresu próbnego */
.start { align-items: start; }
.trial-form { display: grid; gap: 6px; }
.trial-form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.trial-form legend, .trial-form > label, .firm-only > label { font-weight: 700; font-size: 15px; margin-top: 8px; }
.trial-form input:not([type=radio]):not([type=checkbox]), .trial-form select { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.trial-form input:focus-visible, .trial-form select:focus-visible { border-color: var(--accent); }
.trial-form input[aria-invalid="true"], .trial-form select[aria-invalid="true"] { border-color: #ff7a85; }
.trial-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; cursor: pointer; }
.choice { display: grid; gap: 8px; margin-top: 6px; }
.choice.row-2 { grid-template-columns: 1fr 1fr; }
.choice label { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--bg-2); }
.choice label:has(input:checked) { border-color: var(--accent); background: rgba(245,179,1,.08); }
.choice input, .check input { accent-color: var(--accent); margin-top: 4px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; }
.firm-only { display: grid; gap: 6px; }
.firm-only[hidden] { display: none; }
.hint { font-size: 13px; color: var(--muted); margin: 0; }
.err { color: #ff8a93; font-size: 13px; margin: 0; min-height: 0; }
.err:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c9cfdb; margin-top: 6px; cursor: pointer; }
.trial-form .btn.primary { margin-top: 12px; width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
/* przyciski na całą szerokość (plany, formularz) mogą zawinąć dłuższy tekst niemiecki */
.plan .btn { white-space: normal; text-align: center; padding-block: 12px; }
.trial-done { text-align: center; }
.trial-done:focus { outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* strony konta: aktywacja i płatność (generuje serwer licencji) */
.account .keybox { display: grid; gap: 4px; padding: 16px 18px; border: 1px dashed var(--accent); border-radius: 12px; background: var(--panel); margin: 20px 0; }
.account .keybox span { font-size: 13px; color: var(--muted); }
.account .keybox b { font-size: 22px; letter-spacing: .06em; word-break: break-all; }
.steps-list li { margin-bottom: 8px; }
.pay { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin: 22px 0; }
.pay-data { display: grid; gap: 8px; }
.pay-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.pay-row span { color: var(--muted); font-size: 14px; }
.pay-row b { font-size: 17px; overflow-wrap: anywhere; }
.pay-qr { margin: 0; text-align: center; background: #fff; border-radius: 14px; padding: 12px; width: 220px; }
.pay-qr div svg { width: 196px; height: 196px; display: block; }
.pay-qr figcaption { color: #3a3f4b; font-size: 12px; margin-top: 6px; }
@media (max-width: 700px) {
  .pay { grid-template-columns: 1fr; }
  .pay-qr { justify-self: center; }
  .pay-row { grid-template-columns: 1fr auto; }
  .pay-row span { grid-column: 1 / -1; }
  .choice.row-2 { grid-template-columns: 1fr; }
}

/* poradniki */
.guide-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-card h3 { margin: 0; font-size: 18px; }
.guide-card p { flex: 1; }
.guide-card .muted { font-size: 13px; }
.article h2 { scroll-margin-top: 76px; }
.article h3 { font-size: 18px; margin-top: 1.4em; }
.article table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 15px; }
.article th, .article td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.article thead th { color: var(--text); background: var(--panel); }
.article .eyebrow a { color: inherit; text-decoration: none; }
.article .toc { margin: 18px 0 8px; }
.cta-box { margin: 36px 0; padding: 24px; border-radius: var(--radius); border: 1px solid rgba(245,179,1,.45); background: radial-gradient(500px 200px at 100% 0, rgba(245,179,1,.12), transparent 70%), var(--panel); }
.cta-box h2 { margin-top: 0 !important; font-size: 22px; }
.cta-box p { color: #c9cfdb; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.related .card { display: grid; gap: 6px; padding: 16px 18px; text-decoration: none; color: var(--text); }
.related .card:hover { border-color: var(--accent); }
.related .eyebrow { margin: 0; font-size: 11px; }
.related .muted { font-size: 13px; }
@media (max-width: 600px) { .article table { display: block; overflow-x: auto; } }

/* aktualności */
.changelog { display: grid; gap: 22px; max-width: 860px; }
.release { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 80px; }
.release header { margin-bottom: 14px; }
.release time { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.release h2 { font-size: 24px; margin: 6px 0 4px; }
.release header p { margin: 0; }
.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.changes li { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 10px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.changes li b { font-size: 16px; }
.changes li p { grid-column: 1 / -1; margin: 0; color: #c9cfdb; font-size: 15px; }
.changes .area { font-size: 12px; color: var(--muted); font-weight: 700; }
.badge { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; }
.badge.nowosc { background: rgba(60,207,122,.15); color: #7dffb0; }
.badge.ulepszenie { background: rgba(245,179,1,.15); color: #ffd23f; }
.badge.poprawka { background: rgba(92,200,255,.15); color: #9edcff; }
.latest { display: grid; gap: 12px; max-width: 820px; }
.latest-rel { display: grid; gap: 10px; padding: 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.latest-rel:hover { border-color: var(--accent); transform: translateY(-1px); }
.latest-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.latest-meta span { color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 600; }
.latest-title { font-size: 19px; line-height: 1.3; }
.latest-rel ul { list-style: none; margin: 2px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.latest-rel li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: #c9cfdb; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-1px); }
.dot.nowosc { background: #3ccf7a; box-shadow: 0 0 0 3px rgba(60,207,122,.15); }
.dot.ulepszenie { background: #f5b301; box-shadow: 0 0 0 3px rgba(245,179,1,.15); }
.dot.poprawka { background: #5cc8ff; box-shadow: 0 0 0 3px rgba(92,200,255,.15); }
.latest-more { font-size: 14px; font-weight: 700; color: var(--accent); }
.latest-older { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.latest-older a { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 15px; font-weight: 600; transition: border-color .15s; }
.latest-older a:hover { border-color: var(--accent); }
.latest-older time { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 600px) { .changes li { grid-template-columns: auto 1fr; } .changes li b { grid-column: 1 / -1; } .latest-older a { grid-template-columns: 1fr; gap: 2px; } }

/* nagłówek: menu, przyciski, menu na telefonie */
.top .wrap { gap: 18px; }
.main-nav { display: flex; gap: 20px; margin-left: auto; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.ctas { display: flex; gap: 8px; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background-color: rgba(255,255,255,.05); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; font-size: 20px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { border-color: var(--accent); }
.mobile-menu nav { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 32px)); display: grid; gap: 4px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.55); z-index: 30; }
.mobile-menu nav a:not(.btn) { padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.mobile-menu nav a:not(.btn):hover { background: var(--panel-2); }
.mobile-menu nav .btn { margin-top: 6px; }
@media (max-width: 1040px) {
  .main-nav, .top .ctas .ghost { display: none; }
  .mobile-menu { display: block; }
  .top .langs { margin-left: auto; }
}
@media (max-width: 480px) {
  .top .ctas { display: none; }
  .top .wrap { gap: 10px; }
}

/* stopka w kolumnach */
.footer-grid { display: grid; grid-template-columns: 1.1fr repeat(4, 1fr); gap: 28px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .langs { justify-self: start; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin: 0 0 4px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: grid; gap: 8px; padding-top: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .langs { margin-left: 0; }

/* strona główna: poradniki i aktualności */
.learn { align-items: start; }
.link-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.link-list a { display: block; padding: 12px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; }
.link-list a:hover { border-color: var(--accent); }
.learn .latest { max-width: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* strony gier i dodatków */
.guide-card h2 { margin: 0; font-size: 20px; }
.sets, .facts, .top-cards, .rarities { width: 100%; border-collapse: collapse; font-size: 15px; }
.sets th, .sets td, .facts th, .facts td, .top-cards th, .top-cards td, .rarities th, .rarities td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sets tr:last-child > *, .facts tr:last-child > *, .top-cards tr:last-child > *, .rarities tr:last-child > * { border-bottom: 0; }
.sets thead th, .top-cards thead th, .rarities thead th { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.sets tbody th, .top-cards tbody th, .rarities tbody th, .facts tbody th { font-weight: 650; }
.facts tbody th { width: 38%; color: var(--muted); }
.sets a { color: var(--text); }
.sets a:hover { color: var(--accent); }
.num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.top-cards td.num { color: var(--accent); font-weight: 700; }
.sets-h { margin: 28px 0 10px; font-size: 18px; }
/* wszystkie tabele dodatków na stronie mają te same szerokości kolumn – wartości stoją jedna pod drugą */
.sets { table-layout: fixed; min-width: 720px; }
.sets col.c-set { width: 34%; }
.sets col.c-date { width: 17%; }
.sets col.c-cards { width: 9%; }
.sets col.c-top { width: 40%; }
.sets th, .sets td { overflow-wrap: anywhere; }
.sets-h a { color: var(--text); }
.article .table-wrap table { margin: 0; }
.article .table-wrap { margin: 1em 0 1.4em; }
.set-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 16px; }
.set-nav a { display: grid; gap: 4px; text-decoration: none; color: var(--text); }
.set-nav a.next { text-align: right; }
.set-nav a:hover { border-color: var(--accent); }
@media (max-width: 600px) { .set-nav { grid-template-columns: 1fr; } .set-nav a.next { text-align: left; } .sets td:nth-child(2) { white-space: nowrap; } }
