/*
Theme Name: Typy Vikinga TV v22.1
Theme URI: https://typyvikinga.pl/
Author: OpenAI
Description: Typy Vikinga TV v22.1: dopracowana strona główna, czytelny hero, aktywne typy, statystyki 30 dni, interaktywny wykres i archiwum analiz.
Version: 22.1
Text Domain: typyvikinga
*/

:root{
  --bg:#07080b;
  --bg-soft:#0e1015;
  --panel:#12151d;
  --panel-2:#171b25;
  --line:rgba(255,255,255,.08);
  --text:#f3efe7;
  --muted:#c5bbab;
  --gold:#c99643;
  --gold-2:#f0c978;
  --red:#7f241c;
  --smoke:rgba(255,255,255,.035);
  --success:#3bc57a;
  --danger:#e55c52;
  --shadow:0 18px 40px rgba(0,0,0,.4);
  --radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  line-height:1.68;
  background:linear-gradient(180deg,#07080b 0%,#090b10 100%);
  position:relative;
}
body::before{
  content:"";position:fixed;inset:0;z-index:-2;
  background:
    linear-gradient(180deg, rgba(7,8,11,.88) 0%, rgba(7,8,11,.78) 16%, rgba(7,8,11,.88) 44%, rgba(7,8,11,.94) 100%),
    radial-gradient(circle at 18% 16%, rgba(201,150,67,.22), transparent 22%),
    radial-gradient(circle at 82% 28%, rgba(201,150,67,.12), transparent 20%),
    url('assets/site-bg.png') center center/cover no-repeat fixed;
  transform:scale(1.05);
}
body::after{
  content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.32) 0%, transparent 25%, transparent 75%, rgba(0,0,0,.32) 100%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 120px);
  mix-blend-mode:screen;
  opacity:.42;
}
a{color:var(--gold-2);text-decoration:none}
a:hover{color:#fff}
img{max-width:100%;height:auto}
.wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(12px);
  background:rgba(6,7,10,.76);
  border-bottom:1px solid var(--line);
}
.navbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0}
.brand{display:flex;align-items:center;gap:14px;color:#fff;font-weight:900;font-size:28px;letter-spacing:.4px}
.brand-logo{display:block;height:64px;width:auto;max-width:430px;object-fit:contain}
@media (max-width: 768px){.brand-logo{height:50px;max-width:320px}}
.brand-mark{
  width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
  background:radial-gradient(circle at 30% 30%, var(--gold-2), var(--gold));
  color:#111;font-weight:900;box-shadow:0 0 0 4px rgba(201,150,67,.12);
}
.main-nav{display:flex;gap:22px;flex-wrap:wrap}
.main-nav a{color:#ded7cc;font-weight:700;font-size:15px}
.main-nav a:hover{color:#fff}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:54px;padding:0 24px;border-radius:14px;font-weight:800;
  transition:.25s ease;border:1px solid transparent;box-shadow:none
}
.btn-primary{background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#151311}
.btn-primary:hover{transform:translateY(-1px);color:#111;box-shadow:0 12px 28px rgba(201,150,67,.28)}
.btn-secondary{background:rgba(255,255,255,.04);border-color:var(--line);color:#fff}
.btn-secondary:hover{border-color:rgba(201,150,67,.44);background:rgba(255,255,255,.08)}
.btn-block{display:flex;width:100%}
.section{padding:88px 0;position:relative}
.section::before{
  content:"";position:absolute;inset:18px 0 0 0;pointer-events:none;opacity:.18;
  background:radial-gradient(circle at 50% 0%, rgba(201,150,67,.12), transparent 28%);
}
.section-kicker{
  display:inline-block;margin-bottom:16px;padding:8px 12px;border-radius:999px;
  color:var(--gold-2);background:rgba(201,150,67,.08);border:1px solid rgba(201,150,67,.18);
  text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:900
}
.section-heading{max-width:780px;margin-bottom:34px}
.section-heading.centered{text-align:center;margin-inline:auto;margin-bottom:42px}
.section-heading h2,.entry-title,.page-title{font-size:44px;line-height:1.06;margin:0 0 14px;font-weight:900;letter-spacing:-.03em}
.section-heading p,.entry-summary,.hero-lead,.muted,.entry-content p{color:var(--muted)}
.hero{
  min-height:92vh;display:flex;align-items:center;position:relative;overflow:hidden;
  background:
   linear-gradient(90deg, rgba(6,7,10,.95) 0%, rgba(6,7,10,.86) 34%, rgba(6,7,10,.54) 58%, rgba(6,7,10,.86) 100%),
   radial-gradient(circle at 20% 34%, rgba(201,150,67,.16), transparent 24%),
   url('assets/hero-bg.png') center right/cover no-repeat;
}
.hero::after{
  content:"";position:absolute;inset:auto 0 0 0;height:220px;
  background:linear-gradient(180deg, rgba(6,7,10,0) 0%, rgba(6,7,10,.85) 78%, rgba(6,7,10,1) 100%);
}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.12fr .88fr;gap:34px;align-items:center;padding:96px 0 74px}
.hero-title{font-size:70px;line-height:.94;margin:0 0 18px;font-weight:900;max-width:760px;letter-spacing:-.04em}
.hero-title .accent{display:block;color:var(--gold-2);text-shadow:0 0 25px rgba(201,150,67,.16)}
.hero-lead{font-size:19px;max-width:700px;margin:0 0 26px}
.hero-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.hero-pills span{
  padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid var(--line);
  color:#e2d9cd;font-size:14px;font-weight:800
}
.hero-panel,.card,.tip-card,.score-box,.feature-card,.contact-card,.about-card,.premium-box,.results-wrap,.post-card,.entry-card{
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);backdrop-filter:blur(4px)
}
.hero-panel{padding:28px;background:linear-gradient(180deg, rgba(14,16,22,.88), rgba(8,10,14,.86));position:relative;overflow:hidden}
.hero-panel::before,.premium-box::before,.feature-card::before,.about-card::before,.contact-card::before{
  content:"";position:absolute;right:-22px;top:-20px;width:120px;height:120px;opacity:.08;background:url('assets/icon-axes.svg') center/contain no-repeat;pointer-events:none;
}
.panel-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.panel-title{font-size:30px;line-height:1.06;margin:0}
.panel-copy{color:var(--muted);margin:0}
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.stat-card{padding:18px;border-radius:18px;background:rgba(255,255,255,.03);border:1px solid var(--line)}
.stat-card strong{display:block;font-size:32px;line-height:1;margin-bottom:8px;color:#fff}
.stat-card span{color:var(--muted);font-weight:700}
.feature-grid,.tip-list,.score-grid,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card,.tip-card,.post-card{padding:26px;position:relative;overflow:hidden}
.feature-card h3,.tip-card h3,.premium-box h3,.about-card h3,.contact-card h3,.post-card h3{margin:0 0 10px;font-size:24px;line-height:1.16}
.feature-mark{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;background:rgba(201,150,67,.1);border:1px solid rgba(201,150,67,.18);color:#f1d7a2;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:14px}
.feature-mark img{width:18px;height:18px;display:block}
.tip-badge,.premium-tag{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-size:12px;
  text-transform:uppercase;letter-spacing:.12em;font-weight:900;margin-bottom:12px;
  background:rgba(255,255,255,.05);border:1px solid var(--line);color:#e9dfcf
}
.tip-meta{display:flex;justify-content:space-between;gap:8px;padding-top:16px;margin-top:16px;border-top:1px solid var(--line);color:#ddd0ba;font-weight:800;font-size:14px}
.premium-section{
  background:
   linear-gradient(90deg, rgba(7,8,11,.88), rgba(7,8,11,.72)),
   url('assets/site-bg.png') center/cover no-repeat fixed;
}
.premium-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:26px;align-items:center}
.styled-list{list-style:none;padding:0;margin:24px 0 0}
.styled-list li{position:relative;padding-left:34px;margin:14px 0;color:#ddd3c4;font-weight:700}
.styled-list li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;background:url('assets/icon-axes.svg') center/contain no-repeat;opacity:.95}
.premium-box{padding:32px;background:linear-gradient(180deg, rgba(31,24,16,.88), rgba(14,13,11,.92));border-color:rgba(201,150,67,.18);position:relative;overflow:hidden}
.price{font-size:56px;font-weight:900;line-height:1;color:#fff;margin:10px 0}
.price small{font-size:18px;color:var(--muted)}
.score-grid{grid-template-columns:repeat(4,1fr);margin-bottom:24px}
.score-box{padding:24px;text-align:center;position:relative;overflow:hidden}
.score-box strong{display:block;font-size:40px;line-height:1;margin-bottom:8px;color:#fff}
.score-box span{color:var(--muted);font-weight:700}
.results-wrap{padding:14px 18px;overflow:auto;position:relative}
.results-table{width:100%;border-collapse:collapse;min-width:860px}
.results-table th,.results-table td{padding:16px 14px;border-bottom:1px solid var(--line);text-align:left}
.results-table th{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#e6ddcf}
.results-table td{color:#cabfad;font-weight:600}
.results-table .win{color:var(--success);font-weight:900}
.results-table .loss{color:var(--danger);font-weight:900}
.results-table .push{color:var(--gold-2);font-weight:900}
.about-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.about-card,.contact-card{padding:30px;position:relative;overflow:hidden}
blockquote{
  margin:24px 0 0;padding:18px 20px;border-left:4px solid var(--gold);
  background:rgba(255,255,255,.03);border-radius:16px;color:#f5ead2;font-size:22px;font-weight:800
}
.small-note{font-size:14px;color:var(--muted);margin-top:14px}
.site-footer{padding:28px 0 42px;border-top:1px solid var(--line);background:rgba(7,8,11,.82);color:var(--muted)}
.footer-grid{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.entry-wrap{padding:70px 0}
.entry-card{padding:34px;max-width:900px;margin:0 auto}
.entry-meta{display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:14px;font-weight:700;margin-bottom:16px}
.entry-content h2,.entry-content h3{margin-top:28px}
.archive-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.post-card .post-meta{color:var(--muted);font-size:14px;font-weight:700;margin-bottom:10px}
.post-card p{color:var(--muted)}
.read-more{display:inline-flex;margin-top:8px;font-weight:800}
@media (max-width: 1040px){
  .hero-grid,.premium-grid,.about-contact-grid,.archive-grid{grid-template-columns:1fr}
  .feature-grid,.tip-list,.score-grid,.post-grid{grid-template-columns:1fr 1fr}
  .hero-title{font-size:56px}
}
@media (max-width: 700px){
  .navbar{flex-direction:column;align-items:flex-start}
  .main-nav{gap:14px}
  .hero{min-height:auto;background-position:64% center}
  .hero-grid{padding:74px 0 54px}
  .hero-title{font-size:42px}
  .feature-grid,.tip-list,.score-grid,.post-grid{grid-template-columns:1fr}
  .section-heading h2,.entry-title,.page-title{font-size:34px}
  .stats-grid{grid-template-columns:1fr 1fr}
  .btn{width:100%}
}

.tier-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.free-box{background:linear-gradient(180deg, rgba(17,20,27,.9), rgba(11,13,18,.94));border-color:rgba(255,255,255,.11)}
.tier-list{list-style:none;padding:0;margin:18px 0 20px}
.tier-list li{position:relative;padding-left:28px;margin:12px 0;color:#ddd3c4;font-weight:700}
.tier-list li::before{content:"⚔";position:absolute;left:0;top:0;color:var(--gold-2);font-size:15px}
@media (max-width: 1040px){.tier-grid{grid-template-columns:1fr}}


.subscribe-panel{padding:34px;max-width:760px;margin:0 auto;background:linear-gradient(180deg, rgba(20,23,31,.92), rgba(11,13,18,.96));border:1px solid rgba(201,150,67,.18);border-radius:var(--radius);box-shadow:var(--shadow);position:relative;overflow:hidden}
.subscribe-panel::before{content:"";position:absolute;right:-18px;top:-22px;width:140px;height:140px;opacity:.08;background:url('assets/icon-raven.svg') center/contain no-repeat}
.subscribe-form{display:grid;grid-template-columns:1fr auto;gap:14px;margin-top:20px}
.subscribe-form input[type="email"]{height:56px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:#fff;padding:0 18px;font-size:16px;outline:none}
.subscribe-form input[type="email"]::placeholder{color:#a89f91}
.subscribe-form input[type="email"]:focus{border-color:rgba(201,150,67,.45);box-shadow:0 0 0 3px rgba(201,150,67,.12)}
.notice-banner{max-width:900px;margin:18px auto 0;padding:16px 20px;border-radius:16px;font-weight:800;border:1px solid var(--line)}
.notice-banner.success{background:rgba(22,163,74,.12);border-color:rgba(22,163,74,.28);color:#d9ffe6}
.notice-banner.error{background:rgba(220,38,38,.12);border-color:rgba(220,38,38,.28);color:#ffe1e1}
@media (max-width:700px){.subscribe-form{grid-template-columns:1fr}}

.results-table .pending{color:#9db2d2;font-weight:900}
.results-table .cancelled{color:#b8a38a;font-weight:900}
.results-table td a{color:inherit;text-decoration:none}
.results-table td a:hover{color:var(--gold-2)}


.entry-topline{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:-2px 0 22px}
.entry-status-badge{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:12px;background:rgba(255,255,255,.05);color:#fff}
.entry-status-badge.subtle{color:#e7dcc7;background:rgba(255,255,255,.04)}
.entry-status-badge.pending{border-color:rgba(201,150,67,.32);background:rgba(201,150,67,.12);color:#f0d095}
.entry-status-badge.win{border-color:rgba(59,197,122,.28);background:rgba(59,197,122,.14);color:#c9ffd8}
.entry-status-badge.loss{border-color:rgba(229,92,82,.26);background:rgba(229,92,82,.12);color:#ffd4cf}
.entry-status-badge.push,.entry-status-badge.cancelled{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.07);color:#d4d0c8}
/* v3.6.5: czystsza ramka typu bez ciężkich pasów na mobile */
.entry-content .tv-tip-heading{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:9px;
  margin:26px 0 30px;
  padding:18px 20px 20px;
  border-radius:20px;
  border:1px solid rgba(201,150,67,.38);
  background:linear-gradient(135deg, rgba(72,47,21,.92), rgba(22,21,20,.96));
  box-shadow:0 16px 34px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
  line-height:1.25;
  overflow:hidden;
}
.entry-content .tv-tip-heading::after{content:"";position:absolute;left:0;top:16px;bottom:16px;width:4px;border-radius:0 999px 999px 0;background:linear-gradient(180deg,#f5d28b,#b77928)}
.entry-content .tv-tip-heading__label{position:relative;z-index:1;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.16em;color:#d7a856;line-height:1}
.entry-content .tv-tip-heading__value{position:relative;z-index:1;display:block;font-size:clamp(20px,5vw,28px);line-height:1.16;color:#f5d8a1;font-weight:950;letter-spacing:-.02em;text-wrap:balance}
.entry-content .tv-tip-heading.win{border-color:rgba(59,197,122,.36);background:linear-gradient(135deg,rgba(28,70,45,.92),rgba(18,22,20,.96))}
.entry-content .tv-tip-heading.win .tv-tip-heading__label,.entry-content .tv-tip-heading.win .tv-tip-heading__value{color:#c9ffd8}
.entry-content .tv-tip-heading.loss{border-color:rgba(229,92,82,.36);background:linear-gradient(135deg,rgba(82,34,30,.92),rgba(22,18,18,.96))}
.entry-content .tv-tip-heading.loss .tv-tip-heading__label,.entry-content .tv-tip-heading.loss .tv-tip-heading__value{color:#ffd4cf}
.entry-content .tv-tip-heading.push,.entry-content .tv-tip-heading.cancelled{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.05)}
.entry-content .tv-tip-heading.push .tv-tip-heading__label,.entry-content .tv-tip-heading.cancelled .tv-tip-heading__label{color:#b8b0a5}
.entry-content .tv-tip-heading.push .tv-tip-heading__value,.entry-content .tv-tip-heading.cancelled .tv-tip-heading__value{color:#e8e1d5}
@media (max-width:520px){.entry-content .tv-tip-heading{margin:22px 0 26px;padding:15px 18px 17px;border-radius:18px}.entry-content .tv-tip-heading__value{font-size:24px}}

.entry-access-badge,
.archive-access-badge,
.table-access-badge,
.tip-badge.is-free,
.tip-badge.is-premium {
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;
  letter-spacing:.04em;text-transform:uppercase;
}
.entry-access-badge.is-free,
.archive-access-badge.is-free,
.table-access-badge.is-free,
.tip-badge.is-free {background:rgba(96,165,250,.14);border:1px solid rgba(96,165,250,.35);color:#bfdbfe;}
.entry-access-badge.is-premium,
.archive-access-badge.is-premium,
.table-access-badge.is-premium,
.tip-badge.is-premium {background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.35);color:#fcd34d;}
.entry-access-note{font-size:12px;color:var(--text-soft,#bfc7d5);}
.premium-lock-box{padding:28px;border-radius:24px;background:linear-gradient(180deg,rgba(14,18,28,.94),rgba(22,27,39,.96));border:1px solid rgba(245,158,11,.22);box-shadow:0 20px 40px rgba(0,0,0,.25)}
.premium-lock-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.35);color:#fcd34d;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.premium-lock-box h2{margin:0 0 10px}
.premium-lock-excerpt{margin:16px 0;padding:16px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);color:var(--text-soft,#c7cfdb)}
.post-card.is-premium,.tip-card.is-premium{border-color:rgba(245,158,11,.18)}
.post-card.is-free,.tip-card.is-free{border-color:rgba(96,165,250,.12)}


/* Auto-fit custom logo */
.tv-site-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 520px);
    text-decoration: none;
    line-height: 1;
}
.tv-site-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
}
.site-header .tv-site-logo,
.header .tv-site-logo,
.tv-header .tv-site-logo {
    max-height: 78px;
}
@media (max-width: 991px) {
    .tv-site-logo {
        max-height: 62px;
    }
}
@media (max-width: 640px) {
    .tv-site-logo-link {
        max-width: 240px;
    }
    .tv-site-logo {
        max-height: 52px;
    }
}



/* After payment page */
.afterpay-page{padding-bottom:40px}
.afterpay-hero{
  padding:70px 0 28px;
  background:
    linear-gradient(180deg, rgba(201,150,67,.10) 0%, rgba(201,150,67,.03) 100%);
  border-bottom:1px solid var(--line);
}
.afterpay-title{
  font-size:clamp(34px,4vw,58px);
  line-height:1.08;
  margin:10px 0 14px;
  letter-spacing:.2px;
}
.afterpay-lead{
  max-width:760px;
  color:var(--muted);
  font-size:18px;
  margin:0;
}
.afterpay-grid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(300px,.95fr);
  gap:26px;
  align-items:start;
}
.afterpay-card{
  background:linear-gradient(180deg, rgba(255,255,255,.03) 0%, rgba(255,255,255,.015) 100%);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px;
}
.afterpay-card-main{padding:34px}
.afterpay-badge{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(201,150,67,.12);
  border:1px solid rgba(201,150,67,.26);
  color:var(--gold-2);
  font-weight:800;
  letter-spacing:.3px;
  font-size:13px;
  margin-bottom:14px;
}
.afterpay-card h2,.afterpay-card h3{margin:0 0 12px}
.afterpay-steps{
  margin:18px 0 0;
  padding-left:20px;
}
.afterpay-steps li{
  margin:0 0 18px;
  color:var(--muted);
}
.afterpay-steps strong{color:var(--text)}
.afterpay-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:26px;
}
.afterpay-list{
  margin:10px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.afterpay-list li{margin:0 0 10px}
.afterpay-contact a{
  color:var(--gold-2);
  font-weight:800;
}
.afterpay-extra-content{
  margin-top:26px;
}
@media (max-width: 940px){
  .afterpay-grid{grid-template-columns:1fr}
  .afterpay-hero{padding-top:50px}
}


.stats-period-note{
  display:inline-block;
  margin: 0 0 14px;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(201,150,67,.26);
  background:rgba(201,150,67,.10);
  color:var(--gold-2);
  font-size:12px;
  font-weight:800;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.stats-period-note--light{
  margin-bottom:18px;
}


.stats-period-note-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  margin:0 0 16px;
}
.stats-period-note-wrap--scores{
  margin:0 0 18px;
}
.stats-period-note{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 16px;
  border-radius:999px;
  border:1px solid rgba(201,150,67,.35);
  background:linear-gradient(180deg, rgba(201,150,67,.18) 0%, rgba(201,150,67,.08) 100%);
  color:var(--gold-2);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  font-size:12px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
}
.stats-period-note--light{
  border-color:rgba(201,150,67,.28);
  background:linear-gradient(180deg, rgba(201,150,67,.14) 0%, rgba(201,150,67,.06) 100%);
}


/* spacing fix for 30-day badge under hero panel copy */
.hero-panel .panel-copy{
  margin-bottom: 18px;
}
.hero-panel .stats-period-note-wrap{
  margin-top: 4px;
  margin-bottom: 18px;
}


/* Pokład Vikinga refresh */
.premium-grid{
  align-items:start;
}
.premium-grid > div:first-child > p{
  max-width: 700px;
}
.tier-grid{
  align-items:stretch;
}
.premium-box--refined{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:34px 30px 30px;
}
.premium-box-head{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:8px;
}
.premium-box-head h3{
  margin:0;
  font-size:34px;
  line-height:1.05;
}
.price-wrap{
  margin:10px 0 16px;
}
.price{
  margin:0 0 8px;
}
.price-note{
  color:var(--gold-2);
  font-size:13px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.premium-intro{
  margin:0 0 18px;
  min-height:72px;
}
.premium-box--featured{
  border-color:rgba(201,150,67,.34);
  box-shadow:0 18px 40px rgba(0,0,0,.28);
}
.premium-cta-row{
  margin-top:auto;
  padding-top:10px;
}
.tier-list{
  margin:14px 0 22px;
}
.tier-list li{
  margin:14px 0;
  line-height:1.5;
}
@media (max-width: 1040px){
    .premium-intro{
    min-height:0;
  }
}


/* CTA refresh for Pokład Vikinga */
.tier-btn{
  min-height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border-radius:16px;
  font-size:15px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.tier-btn:hover{
  transform:translateY(-2px);
}
.tier-btn-free{
  border-color:rgba(255,255,255,.16);
  background:linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.03) 100%);
  box-shadow:0 14px 28px rgba(0,0,0,.20);
}
.tier-btn-free:hover{
  border-color:rgba(201,150,67,.28);
  box-shadow:0 18px 32px rgba(0,0,0,.24);
}
.tier-btn-premium{
  background:linear-gradient(180deg, rgba(201,150,67,1) 0%, rgba(170,121,39,1) 100%);
  color:#16120d !important;
  box-shadow:0 16px 32px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.16);
}
.tier-btn-premium:hover{
  background:linear-gradient(180deg, rgba(213,164,79,1) 0%, rgba(182,131,47,1) 100%);
  box-shadow:0 20px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.18);
}


/* Results table scroll */
.results-wrap{
  max-height: 720px;
  overflow: auto;
  padding-right: 8px;
}
.results-wrap::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}
.results-wrap::-webkit-scrollbar-thumb{
  background: rgba(201,150,67,.35);
  border-radius: 999px;
}
.results-wrap::-webkit-scrollbar-track{
  background: rgba(255,255,255,.04);
  border-radius: 999px;
}
.results-table thead th{
  position: sticky;
  top: 0;
  z-index: 2;
  background: #16130f;
}
.results-note{
  margin-top: 16px;
  max-width: 900px;
}


/* Stats legend / units explainer */
.stats-legend-box{
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(201,150,67,.18);
  background: linear-gradient(180deg, rgba(201,150,67,.08) 0%, rgba(201,150,67,.03) 100%);
}
.stats-legend-title{
  display:inline-block;
  margin:0 0 10px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stats-legend-box p{
  margin: 0 0 8px;
  color: #ddd3c4;
  line-height: 1.6;
}
.stats-legend-box p:last-child{
  margin-bottom: 0;
}


/* Legal pages */
.legal-hero{
  padding-bottom: 24px;
}
.legal-card{
  padding: 34px;
}
.legal-content{
  max-width: 920px;
}
.legal-content h2{
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-content p,
.legal-content li{
  color:#ddd3c4;
  line-height:1.75;
}
.legal-content ul{
  padding-left:20px;
}
.footer-legal-links{
  display:flex;
  gap:18px;
  justify-content:center;
  align-items:center;
  padding: 0 0 18px;
  flex-wrap:wrap;
}
.footer-legal-links a{
  color:#cfc5b6;
  font-weight:700;
}
.footer-legal-links a:hover{
  color:var(--gold-2);
}


/* TV v2.1 admin */
.tv2-admin-wrap .tv2-admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.tv2-admin-wrap .tv2-admin-grid--wide{grid-template-columns:minmax(360px,420px) 1fr}
.tv2-admin-wrap .tv2-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:14px;padding:18px}
.tv2-admin-wrap .tv2-admin-card h2{margin-top:0}
.tv2-admin-wrap .tv2-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tv2-admin-wrap .tv2-checkbox-group{padding:10px 0 2px}
@media (max-width: 1100px){
  .tv2-admin-wrap .tv2-admin-grid,
  .tv2-admin-wrap .tv2-admin-grid--wide,
  .tv2-admin-wrap .tv2-form-grid{grid-template-columns:1fr}
}


/* TV v3.0.4 — estetyka importowanych darmowych analiz */
.tv-imported-free-analysis{display:block}
.tv-analysis-lead{font-size:18px;line-height:1.7;color:#e7dcc7;margin:0 0 18px}
.tv-analysis-box-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 26px}
.tv-analysis-box{padding:14px 16px;border-radius:16px;border:1px solid rgba(201,150,67,.22);background:linear-gradient(180deg,rgba(201,150,67,.10),rgba(255,255,255,.035));box-shadow:0 12px 30px rgba(0,0,0,.18)}
.tv-analysis-box span{display:block;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#b9ad99;margin-bottom:5px}
.tv-analysis-box strong{display:block;font-size:18px;color:#f0d095;line-height:1.2}
.tv-source-details{margin-top:28px;padding:16px 18px;border-radius:18px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.035)}
.tv-source-details summary{cursor:pointer;font-weight:900;color:#f0d095}
.tv-source-details div{margin-top:16px}
.tv-source-line{margin-top:22px;color:#b9ad99}
@media (max-width:800px){.tv-analysis-box-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.tv-analysis-box-grid{grid-template-columns:1fr}}

/* TV v3.1 — lokalna przeróbka tekstu na układ Typy Vikinga */
.tv-viking-rewrite-v31 .tv-analysis-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;padding:7px 12px;border-radius:999px;border:1px solid rgba(201,150,67,.28);background:rgba(201,150,67,.09);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#f0d095}
.tv-viking-rewrite-v31 h2{margin-top:28px;margin-bottom:10px;color:#f0d095;letter-spacing:.01em}
.tv-viking-rewrite-v31 .tv-analysis-lead{font-size:18px;line-height:1.65;margin-bottom:18px}
.tv-viking-rewrite-v31 p{line-height:1.75}
.tv-viking-rewrite-v31 .tv-source-details{margin-top:28px;padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.035)}
.tv-viking-rewrite-v31 .tv-source-details summary{cursor:pointer;font-weight:900;color:#f0d095}


/* TV v3.7.3 — cleaner preview cards */
.tip-card--preview{
  padding:24px;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.tip-card-headline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:2px;
}
.tip-card--preview .tip-badge,
.tip-card--preview .archive-access-badge{
  margin-bottom:0;
}
.preview-date{
  color:#e5d6bd;
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  white-space:nowrap;
  opacity:.92;
}
.tip-card--preview h3{
  margin:4px 0 0;
  font-size:26px;
  line-height:1.14;
}
.tip-card--preview h3 a{
  color:var(--gold-2);
  text-decoration:none;
}
.preview-chip-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:2px 0 0;
}
.preview-chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.035);
  color:#e8dfd2;
  font-size:12px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.preview-chip-status{
  color:#f3d18c;
  border-color:rgba(201,150,67,.30);
  background:rgba(201,150,67,.10);
}
.preview-pick{
  border:1px solid rgba(201,150,67,.20);
  background:linear-gradient(135deg, rgba(201,150,67,.12), rgba(255,255,255,.025));
  border-radius:18px;
  padding:13px 15px;
  color:#f2d597;
  font-weight:900;
  font-size:15px;
  line-height:1.25;
}
.preview-pick span{
  display:block;
  margin-bottom:5px;
  color:#d9b56e;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.preview-excerpt{
  color:#d7cfc3;
  margin:2px 0 0;
  line-height:1.65;
}
.tip-card--preview .tip-meta{
  margin-top:auto;
}
@media (max-width: 640px){
  .tip-card--preview{padding:20px;gap:11px}
  .tip-card-headline{align-items:flex-start;flex-direction:column;gap:8px}
  .preview-date{font-size:12px;white-space:normal}
  .tip-card--preview h3{font-size:24px}
  .preview-chip{font-size:11px;padding:7px 10px}
  .preview-pick{font-size:14px;padding:12px 13px}
}

/* TV v3.8.2 — homepage stats from settlement module */
.home-stats-panels{
  display:grid;
  grid-template-columns:1.15fr .925fr .925fr;
  gap:18px;
  align-items:stretch;
  margin:18px 0 22px;
}
.home-stats-panel{
  position:relative;
  padding:22px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(20,30,48,.92), rgba(8,14,26,.96));
  border:1px solid rgba(232,184,92,.18);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
  overflow:hidden;
}
.home-stats-panel:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:radial-gradient(circle at top right, rgba(232,184,92,.18), transparent 38%);
  pointer-events:none;
}
.home-stats-panel h3{
  position:relative;
  margin:0 0 14px;
  color:#f7e5b6;
  font-size:20px;
  letter-spacing:.02em;
}
.score-grid--compact{
  position:relative;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.home-stats-panel--main .score-grid--compact{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.score-box strong.is-plus,.stat-card strong.is-plus{color:#52d273;}
.score-box strong.is-minus,.stat-card strong.is-minus{color:#ff6b6b;}
@media(max-width:1050px){
  .home-stats-panels{grid-template-columns:1fr;}
  .home-stats-panel--main .score-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .score-grid--compact,.home-stats-panel--main .score-grid--compact{grid-template-columns:1fr;}
  .home-stats-panel{padding:18px;}
}


/* TV v3.8.3 — one stats panel with range/access selectors */
.home-stats-switchboard{
  margin:18px 0 22px;
}
.home-stats-controls{
  display:flex;
  gap:12px;
  align-items:flex-end;
  flex-wrap:wrap;
  margin:0 0 14px;
}
.home-stats-controls > div{
  min-width:190px;
}
.home-stats-controls label{
  display:block;
  margin:0 0 6px;
  color:#c9b27a;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:800;
}
.home-stats-controls select{
  width:100%;
  min-height:44px;
  border-radius:14px;
  border:1px solid rgba(232,184,92,.28);
  background:linear-gradient(180deg, rgba(17,27,45,.95), rgba(8,14,26,.98));
  color:#f7e5b6;
  padding:0 14px;
  font-weight:800;
  outline:none;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.home-stats-panel--single{
  max-width:none;
}
.home-stats-panel--single .score-grid--single{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
@media(max-width:980px){
  .home-stats-panel--single .score-grid--single{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  .home-stats-controls{display:grid;grid-template-columns:1fr;}
  .home-stats-controls > div{min-width:0;}
  .home-stats-panel--single .score-grid--single{grid-template-columns:1fr;}
}

/* TV v3.8.4 — front polish: compact stats, clickable cards/rows, dynamic status colors */
.hero-panel .stats-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.hero-panel .stat-card{
  padding:13px 10px;
  border-radius:15px;
  text-align:center;
}
.hero-panel .stat-card strong{
  font-size:24px;
  margin-bottom:6px;
}
.hero-panel .stat-card span{
  font-size:11px;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.05em;
}
@media(max-width:1180px){
  .hero-panel .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:640px){
  .hero-panel .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

.preview-chip-status--pending{
  color:#f3d18c;
  border-color:rgba(201,150,67,.35);
  background:rgba(201,150,67,.13);
}
.preview-chip-status--win{
  color:#bdf8cd;
  border-color:rgba(59,197,122,.34);
  background:rgba(59,197,122,.14);
}
.preview-chip-status--loss{
  color:#ffd0ca;
  border-color:rgba(229,92,82,.34);
  background:rgba(229,92,82,.14);
}
.preview-chip-status--push,
.preview-chip-status--cancelled{
  color:#ded7cd;
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.07);
}

.tip-card--clickable,
.results-row-clickable{
  cursor:pointer;
}
.tip-card--clickable{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.tip-card--clickable:hover{
  transform:translateY(-2px);
  border-color:rgba(201,150,67,.32);
  box-shadow:0 22px 55px rgba(0,0,0,.34);
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}
.tip-meta--cta span:first-child{
  display:none;
}
.tip-meta--cta{
  justify-content:flex-end;
}
.tip-meta--cta a{
  color:#f1d7a2;
  text-decoration:none;
}
.tip-meta--cta a:hover{color:#fff;}

.home-stats-controls{
  justify-content:flex-start;
}
.home-stats-controls > div{
  min-width:0;
  width:auto;
}
.home-stats-controls select{
  width:auto;
  min-width:178px;
  max-width:100%;
}
.home-stats-panel--single .score-grid--single{
  grid-template-columns:repeat(5,minmax(130px,1fr));
  gap:12px;
}
.home-stats-panel--single .score-box{
  padding:16px 12px;
  border-radius:18px;
}
.home-stats-panel--single .score-box strong{
  font-size:30px;
}
@media(max-width:980px){
  .home-stats-panel--single .score-grid--single{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:640px){
  .home-stats-controls{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .home-stats-controls > div{
    flex:0 1 auto;
  }
  .home-stats-controls select{
    min-width:150px;
    min-height:40px;
    font-size:13px;
    padding:0 10px;
  }
  .home-stats-panel--single .score-grid--single{grid-template-columns:repeat(2,minmax(0,1fr));}
  .home-stats-panel--single .score-box strong{font-size:26px;}
}
@media(max-width:390px){
  .home-stats-controls select{min-width:100%;width:100%;}
  .home-stats-controls > div{flex:1 1 100%;}
}

.results-table tbody tr{
  transition:background .16s ease, color .16s ease;
}
.results-table tbody tr:hover{
  background:rgba(201,150,67,.09);
}
.results-table tbody tr:hover td{
  color:#f3e6d0;
}
.results-table tbody tr:hover td a{
  color:var(--gold-2);
}


/* TV v3.8.5 — dopracowanie prawej karty hero + przycisk powrotu na górę */
.hero-panel{
  border-color:rgba(201,150,67,.16);
  background:
    radial-gradient(circle at 88% 12%, rgba(201,150,67,.12), transparent 30%),
    linear-gradient(180deg, rgba(14,16,22,.92), rgba(8,10,14,.88));
}
.hero-panel .panel-title{
  max-width:520px;
}
.hero-panel .stats-grid{
  grid-template-columns:repeat(5,minmax(74px,1fr));
  gap:10px;
  align-items:stretch;
}
.hero-panel .stat-card{
  min-height:96px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:13px 8px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  border-color:rgba(255,255,255,.09);
}
.hero-panel .stat-card strong{
  font-size:25px;
  line-height:1;
  white-space:nowrap;
}
.hero-panel .stat-card span{
  max-width:100%;
  font-size:10px;
  line-height:1.25;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.hero-panel .stat-card strong.win,
.hero-panel .stat-card strong.positive{color:#55d88a!important;}
.hero-panel .stat-card strong.loss,
.hero-panel .stat-card strong.negative{color:#ff7770!important;}
@media(max-width:1240px){
  .hero-panel .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:1040px){
  .hero-panel .stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
}
@media(max-width:720px){
  .hero-panel .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

.tv-back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  width:54px;
  height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:18px;
  border:1px solid rgba(201,150,67,.36);
  background:
    radial-gradient(circle at 35% 20%,rgba(240,201,120,.24),transparent 34%),
    linear-gradient(180deg,rgba(26,22,18,.94),rgba(10,11,14,.94));
  color:#f0c978;
  box-shadow:0 18px 38px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px) scale(.94);
  transition:opacity .22s ease, transform .22s ease, border-color .22s ease, background .22s ease;
}
.tv-back-to-top.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.tv-back-to-top:hover{
  transform:translateY(-3px) scale(1.02);
  border-color:rgba(240,201,120,.62);
  background:
    radial-gradient(circle at 35% 20%,rgba(240,201,120,.30),transparent 38%),
    linear-gradient(180deg,rgba(36,28,18,.96),rgba(12,12,14,.96));
}
.tv-back-to-top svg{
  width:25px;
  height:25px;
  display:block;
  filter:drop-shadow(0 4px 8px rgba(0,0,0,.45));
}
@media(max-width:760px){
  .tv-back-to-top{
    right:16px;
    bottom:18px;
    width:50px;
    height:50px;
    border-radius:16px;
  }
}


/* TV v3.8.6 — prawa karta hero: statystyki jako eleganckie linie zamiast kafelków */
.hero-panel .stats-grid{display:none!important;}
.hero-stat-lines{
  margin-top:18px;
  display:grid;
  gap:12px;
  padding:18px 18px 16px;
  border-radius:22px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  border:1px solid rgba(201,150,67,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 18px 45px rgba(0,0,0,.18);
}
.hero-stat-line{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:baseline;
  min-height:26px;
}
.hero-stat-label{
  color:rgba(244,238,226,.78);
  font-weight:900;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  white-space:nowrap;
}
.hero-stat-dots{
  border-bottom:1px dotted rgba(201,150,67,.35);
  transform:translateY(-4px);
  min-width:22px;
}
.hero-stat-value{
  color:#fff4d6;
  font-weight:950;
  font-size:24px;
  line-height:1;
  letter-spacing:-.03em;
  white-space:nowrap;
  text-shadow:0 0 18px rgba(201,150,67,.12);
}
.hero-stat-value.positive,
.hero-stat-value.win{color:#55d88a!important;}
.hero-stat-value.negative,
.hero-stat-value.loss{color:#ff7770!important;}
.hero-stat-value.neutral{color:#f5d28a!important;}
@media(max-width:720px){
  .hero-stat-lines{padding:16px 14px;gap:11px;border-radius:18px;}
  .hero-stat-label{font-size:11px;letter-spacing:.08em;}
  .hero-stat-value{font-size:21px;}
  .hero-stat-line{gap:9px;}
}


/* TV v4.0 — Strefa klienta / Premium */
.tv40-premium-lock{margin:34px 0;padding:26px;border:1px solid rgba(214,164,83,.35);border-radius:24px;background:linear-gradient(135deg,rgba(28,32,41,.96),rgba(10,12,17,.98));box-shadow:0 22px 70px rgba(0,0,0,.38);display:flex;gap:22px;position:relative;overflow:hidden}.tv40-premium-lock:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(214,164,83,.18),transparent 36%);pointer-events:none}.tv40-lock-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(214,164,83,.15);border:1px solid rgba(214,164,83,.38);color:#f4c978;font-size:30px;flex:0 0 auto;z-index:1}.tv40-lock-body{z-index:1}.tv40-lock-kicker,.tv40-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#d6a453;font-weight:800;margin-bottom:8px}.tv40-lock-body h2{margin:0 0 10px;color:#fff;font-size:28px}.tv40-lock-event{color:#c7d0dc;margin:0 0 14px}.tv40-lock-grid{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.tv40-lock-grid span{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.11);color:#e9edf4;font-size:14px}.tv40-lock-excerpt{color:#c9d1dc;line-height:1.75}.tv40-lock-text{color:#aeb8c6}.tv40-lock-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.tv40-premium-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:999px;background:linear-gradient(135deg,#d6a453,#f0c978);color:#10131a!important;text-decoration:none!important;font-weight:900;box-shadow:0 10px 30px rgba(214,164,83,.23)}.tv40-login-link{color:#d6a453!important;text-decoration:none;font-weight:800}.tv40-client-panel{max-width:1180px;margin:0 auto;padding:36px 18px;color:#eef2f7}.tv40-client-head{display:flex;justify-content:space-between;gap:18px;align-items:stretch;margin-bottom:26px}.tv40-client-head h1{margin:.1em 0;font-size:42px}.tv40-client-head p{color:#aeb8c6}.tv40-access-card{min-width:220px;border-radius:22px;padding:18px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);display:flex;flex-direction:column;justify-content:center}.tv40-access-card span{color:#9ea8b6;font-size:13px;text-transform:uppercase;letter-spacing:.1em}.tv40-access-card strong{font-size:24px}.tv40-access-card em{font-style:normal;color:#cbd5e1}.tv40-access-card.is-active{border-color:rgba(72,211,129,.35);background:rgba(72,211,129,.1)}.tv40-access-card.is-locked{border-color:rgba(214,164,83,.28);background:rgba(214,164,83,.08)}.tv40-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 24px}.tv40-tabs button{border:1px solid rgba(214,164,83,.28);background:rgba(255,255,255,.04);color:#dce4ef;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer}.tv40-tabs button.is-active{background:linear-gradient(135deg,#d6a453,#f0c978);color:#10131a}.tv40-tab{display:none}.tv40-tab.is-active{display:block}.tv40-client-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.tv40-client-card{display:block;padding:18px;border-radius:20px;background:linear-gradient(180deg,rgba(29,34,44,.96),rgba(14,17,24,.98));border:1px solid rgba(255,255,255,.09);text-decoration:none!important;color:#eef2f7!important;transition:.18s ease;min-height:190px}.tv40-client-card:hover{transform:translateY(-3px);border-color:rgba(214,164,83,.38);box-shadow:0 18px 50px rgba(0,0,0,.26)}.tv40-client-card__top{display:flex;justify-content:space-between;gap:8px;margin-bottom:12px}.tv40-mini-badge,.tv40-status-pill{font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;padding:7px 10px;border-radius:999px}.tv40-mini-badge.premium{background:rgba(214,164,83,.14);color:#f0c978;border:1px solid rgba(214,164,83,.32)}.tv40-mini-badge.free{background:rgba(88,166,255,.12);color:#9dccff;border:1px solid rgba(88,166,255,.25)}.tv40-status-pill.win{background:rgba(72,211,129,.13);color:#62e69a}.tv40-status-pill.loss{background:rgba(255,92,92,.13);color:#ff7777}.tv40-status-pill.pending{background:rgba(214,164,83,.13);color:#f0c978}.tv40-status-pill.push,.tv40-status-pill.cancelled{background:rgba(160,170,185,.13);color:#c7d0dc}.tv40-client-card h3{margin:0 0 10px;color:#fff;font-size:20px}.tv40-card-date{color:#aeb8c6;margin:0 0 14px}.tv40-card-meta{display:flex;flex-direction:column;gap:7px;color:#cdd6e2;font-size:14px}.tv40-premium-note,.tv40-login-box{padding:20px;border-radius:20px;background:rgba(214,164,83,.08);border:1px solid rgba(214,164,83,.25);margin-bottom:18px}.tv-admin-card{background:#fff;border:1px solid #dcdcde;border-radius:10px;padding:18px;margin:18px 0;box-shadow:0 1px 2px rgba(0,0,0,.04)}@media(max-width:900px){.tv40-client-head{flex-direction:column}.tv40-client-grid{grid-template-columns:1fr}.tv40-premium-lock{flex-direction:column}.tv40-lock-body h2{font-size:24px}.tv40-client-head h1{font-size:34px}}

/* TV v4.0.1 — frontowy panel logowania/rejestracji */
.tv401-nav-account{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid rgba(214,164,83,.34);
  background:rgba(214,164,83,.08);
  color:#f0c978!important;
  font-weight:900;
  text-decoration:none!important;
}
.tv401-nav-account:hover{background:rgba(214,164,83,.17);border-color:rgba(214,164,83,.58)}
.tv401-client-intro{padding-top:42px;padding-bottom:42px;background:linear-gradient(180deg,rgba(214,164,83,.06),transparent)}
.tv401-client-intro-grid{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;border:1px solid rgba(214,164,83,.18);border-radius:28px;padding:30px;background:linear-gradient(135deg,rgba(27,31,40,.78),rgba(10,12,17,.92));box-shadow:0 24px 70px rgba(0,0,0,.22)}
.tv401-client-intro h2{margin:0 0 10px;color:#fff;font-size:34px}.tv401-client-intro p{margin:0;color:#b7c1cf;line-height:1.7;max-width:760px}.tv401-client-intro-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.tv401-auth-shell{padding-top:46px;padding-bottom:54px}.tv401-auth-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:stretch;margin-bottom:24px}.tv401-auth-hero h1{font-size:46px;margin:0 0 10px;color:#fff}.tv401-auth-hero p{color:#b7c1cf;line-height:1.75;margin:0}.tv401-auth-benefits{display:grid;gap:10px;align-content:center;border:1px solid rgba(214,164,83,.22);border-radius:24px;background:rgba(214,164,83,.07);padding:18px}.tv401-auth-benefits span{display:flex;gap:10px;align-items:center;color:#e9edf4;font-weight:800}.tv401-auth-benefits span:before{content:'ᛉ';color:#f0c978}.tv401-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tv401-auth-card{border:1px solid rgba(255,255,255,.09);border-radius:26px;background:linear-gradient(180deg,rgba(29,34,44,.96),rgba(13,15,22,.98));padding:24px;box-shadow:0 22px 70px rgba(0,0,0,.28)}.tv401-auth-card.is-active{border-color:rgba(214,164,83,.34)}.tv401-auth-card-head span{font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:#d6a453;font-weight:900}.tv401-auth-card-head h2{color:#fff;margin:7px 0 18px;font-size:28px}.tv401-auth-form{display:grid;gap:14px}.tv401-auth-form label{display:grid;gap:7px;color:#cbd5e1;font-weight:800}.tv401-auth-form input[type=text],.tv401-auth-form input[type=email],.tv401-auth-form input[type=password]{width:100%;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#fff;padding:13px 14px;font-size:16px;outline:none}.tv401-auth-form input:focus{border-color:rgba(214,164,83,.55);box-shadow:0 0 0 4px rgba(214,164,83,.10)}.tv401-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;font-size:14px;color:#aeb8c6!important}.tv401-auth-note{color:#aeb8c6;line-height:1.65;margin:14px 0 0}.tv401-small-link{display:inline-flex;margin-top:14px;color:#d6a453!important;font-weight:900;text-decoration:none!important}.tv401-auth-alert{border-radius:18px;padding:13px 15px;margin:0 0 18px;font-weight:900}.tv401-auth-alert.error{background:rgba(255,92,92,.12);border:1px solid rgba(255,92,92,.28);color:#ff9b9b}.tv401-auth-alert.success{background:rgba(72,211,129,.12);border:1px solid rgba(72,211,129,.28);color:#75e8a5}.tv401-panel-logout{max-width:1180px;margin:-24px auto 40px;padding:0 18px;text-align:right}
@media(max-width:860px){.tv401-client-intro-grid,.tv401-auth-hero,.tv401-auth-grid{grid-template-columns:1fr}.tv401-client-intro h2,.tv401-auth-hero h1{font-size:32px}.tv401-client-intro-actions{justify-content:flex-start}.tv401-nav-account{padding:8px 12px}}

/* TV v4.0.2 — Mój Pokład jako tabela + zamazane premium */
.tv402-client-panel .tv40-client-head{margin-bottom:22px}
.tv402-tabs{margin-bottom:18px}
.tv402-table-wrap{
  border:1px solid rgba(214,164,83,.18);
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(28,33,43,.94),rgba(10,12,17,.98));
  box-shadow:0 22px 70px rgba(0,0,0,.24);
}
.tv402-client-table{width:100%;border-collapse:collapse;color:#edf2f7;font-size:14px}
.tv402-client-table th{
  text-align:left;
  padding:15px 16px;
  color:#d6a453;
  font-size:11px;
  letter-spacing:.11em;
  text-transform:uppercase;
  background:rgba(214,164,83,.07);
  border-bottom:1px solid rgba(214,164,83,.16);
}
.tv402-client-table td{padding:16px;border-bottom:1px solid rgba(255,255,255,.07);vertical-align:middle}
.tv402-client-table tbody tr{transition:background .16s ease, transform .16s ease, box-shadow .16s ease;cursor:pointer}
.tv402-client-table tbody tr:hover{background:rgba(214,164,83,.075);box-shadow:inset 3px 0 0 rgba(214,164,83,.72)}
.tv402-client-table tbody tr:last-child td{border-bottom:0}
.tv402-event{color:#fff!important;text-decoration:none!important;font-weight:900;font-size:15px;line-height:1.3}
.tv402-row:hover .tv402-event{color:#f0c978!important}
.tv402-date{color:#c6d0dc;font-weight:800;white-space:nowrap}
.tv402-blur{display:inline-flex;align-items:center;min-width:112px;max-width:210px;height:24px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(214,164,83,.18);position:relative;overflow:hidden;vertical-align:middle}
.tv402-blur span{filter:blur(4px);opacity:.65;color:#f3d08a;font-weight:900;padding:0 12px;white-space:nowrap}
.tv402-blur:after{content:'Premium';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#f0c978;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:950;background:linear-gradient(90deg,rgba(10,12,17,.55),rgba(10,12,17,.28))}
.tv402-empty{border:1px solid rgba(255,255,255,.09);border-radius:20px;background:rgba(255,255,255,.04);padding:22px;color:#cbd5e1;font-weight:800}
.tv402-lock-grid-blur em{font-style:normal;filter:blur(3px);opacity:.75;color:#f0c978;display:inline-block;min-width:74px}
.tv402-lock-grid-blur span{position:relative}
.tv402-lock-grid-blur span:after{content:'Premium';margin-left:8px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#f0c978;opacity:.9}
@media(max-width:760px){
  .tv402-table-wrap{border-radius:20px;background:transparent;border:0;box-shadow:none;overflow:visible}
  .tv402-client-table,.tv402-client-table thead,.tv402-client-table tbody,.tv402-client-table th,.tv402-client-table td,.tv402-client-table tr{display:block;width:100%}
  .tv402-client-table thead{display:none}
  .tv402-client-table tbody{display:grid;gap:12px}
  .tv402-client-table tbody tr{border:1px solid rgba(214,164,83,.16);border-radius:20px;background:linear-gradient(180deg,rgba(28,33,43,.94),rgba(10,12,17,.98));padding:14px;box-shadow:0 16px 44px rgba(0,0,0,.22)}
  .tv402-client-table tbody tr:hover{transform:translateY(-2px);box-shadow:0 20px 52px rgba(0,0,0,.28), inset 3px 0 0 rgba(214,164,83,.72)}
  .tv402-client-table td{border:0;padding:8px 0;display:grid;grid-template-columns:92px 1fr;gap:12px;align-items:center}
  .tv402-client-table td:before{content:attr(data-label);color:#d6a453;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:950}
  .tv402-event{font-size:16px}.tv402-date{white-space:normal}.tv402-blur{min-width:130px}
}

/* TV v4.0.3 — dopasowana tabela Mój Pokład + czytelne premium */
.tv403-client-panel{
  max-width:1280px;
}
.tv403-client-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  align-items:start;
}
.tv403-client-head h1{line-height:1.02}
.tv403-client-head p{max-width:760px}
.tv403-table-wrap{
  width:100%;
  overflow-x:auto;
  border:1px solid rgba(214,164,83,.18);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(22,26,35,.96),rgba(8,10,15,.985));
  box-shadow:0 24px 76px rgba(0,0,0,.30);
}
.tv403-client-table{
  width:100%;
  min-width:980px;
  border-collapse:collapse;
  table-layout:fixed;
  color:#edf2f7;
}
.tv403-client-table th{
  text-align:left;
  padding:14px 16px;
  color:#d6a453;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  background:rgba(214,164,83,.065);
  border-bottom:1px solid rgba(214,164,83,.16);
  white-space:nowrap;
}
.tv403-client-table td{
  padding:16px;
  border-bottom:1px solid rgba(255,255,255,.075);
  vertical-align:middle;
}
.tv403-client-table tr:last-child td{border-bottom:0}
.tv403-client-table .col-start{width:160px}
.tv403-client-table .col-event{width:270px}
.tv403-client-table .col-odds{width:90px;text-align:center}
.tv403-client-table .col-tip{width:250px}
.tv403-client-table .col-status{width:120px;text-align:center}
.tv403-client-table .col-access{width:120px;text-align:center}
.tv403-client-table td:nth-child(3),
.tv403-client-table td:nth-child(5),
.tv403-client-table td:nth-child(6){text-align:center}
.tv403-row{
  cursor:pointer;
  transition:background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.tv403-row:hover{
  background:rgba(214,164,83,.07);
  box-shadow:inset 4px 0 0 rgba(214,164,83,.76);
}
.tv403-row.is-premium-locked{
  background:linear-gradient(90deg,rgba(214,164,83,.045),rgba(255,255,255,.015));
}
.tv403-row.is-premium-locked:hover{
  background:linear-gradient(90deg,rgba(214,164,83,.10),rgba(255,255,255,.02));
}
.tv403-date{
  color:#f4e6ca;
  font-weight:900;
  white-space:nowrap;
}
.tv403-event{
  color:#fff!important;
  text-decoration:none!important;
  font-weight:950;
  font-size:15px;
  line-height:1.28;
  display:block;
}
.tv403-row:hover .tv403-event{color:#f0c978!important}
.tv403-odds{
  display:inline-flex;
  justify-content:center;
  min-width:62px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#fff4d6;
  font-weight:950;
}
.tv403-tip-text{
  display:block;
  color:#f5d28a;
  font-weight:900;
  line-height:1.32;
}
.tv403-cell-blur{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  width:100%;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(214,164,83,.24);
  background:
    repeating-linear-gradient(135deg,rgba(214,164,83,.12) 0 8px,rgba(255,255,255,.045) 8px 16px),
    rgba(255,255,255,.045);
}
.tv403-cell-blur span{
  filter:blur(5px);
  opacity:.55;
  font-weight:950;
  color:#f6d492;
  white-space:nowrap;
}
.tv403-cell-blur:after{
  content:'Premium';
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#f0c978;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:950;
  background:linear-gradient(90deg,rgba(9,11,16,.70),rgba(9,11,16,.42));
  backdrop-filter:blur(2px);
}
.tv403-row.is-premium-locked .tv403-secret .tv40-status-pill,
.tv403-row.is-premium-locked .tv403-secret .tv40-mini-badge{
  filter:blur(4px);
  opacity:.45;
  pointer-events:none;
}
.tv403-row.is-premium-locked .tv403-secret:nth-child(5),
.tv403-row.is-premium-locked .tv403-secret:nth-child(6){
  position:relative;
}
.tv403-row.is-premium-locked .tv403-secret:nth-child(5):after,
.tv403-row.is-premium-locked .tv403-secret:nth-child(6):after{
  content:'Premium';
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  color:#f0c978;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
}
@media(max-width:900px){
  .tv403-client-head{grid-template-columns:1fr}
  .tv403-table-wrap{border:0;background:transparent;box-shadow:none;overflow:visible}
  .tv403-client-table,
  .tv403-client-table thead,
  .tv403-client-table tbody,
  .tv403-client-table th,
  .tv403-client-table td,
  .tv403-client-table tr{display:block;width:100%;min-width:0}
  .tv403-client-table thead{display:none}
  .tv403-client-table tbody{display:grid;gap:14px}
  .tv403-client-table tr{
    border:1px solid rgba(214,164,83,.18);
    border-radius:22px;
    background:linear-gradient(180deg,rgba(22,26,35,.96),rgba(8,10,15,.985));
    padding:16px;
    box-shadow:0 18px 52px rgba(0,0,0,.25);
  }
  .tv403-client-table td{border:0;padding:7px 0;text-align:left!important}
  .tv403-client-table td[data-label="Start"]{padding-top:0}
  .tv403-client-table td[data-label="Wydarzenie"]{padding-bottom:10px}
  .tv403-client-table td[data-label="Kurs"]{display:inline-flex;margin-right:8px}
  .tv403-client-table td[data-label="Status"],
  .tv403-client-table td[data-label="Dostęp"]{display:inline-flex;margin-right:8px}
  .tv403-client-table td[data-label="Typ"]{
    margin-top:10px;
    padding:12px 14px;
    border:1px solid rgba(214,164,83,.20);
    border-radius:16px;
    background:rgba(214,164,83,.055);
  }
  .tv403-client-table td[data-label="Typ"]:before{
    content:'Typ';
    display:block;
    margin-bottom:5px;
    color:#d6a453;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:950;
  }
  .tv403-event{font-size:19px}
  .tv403-date{white-space:normal;color:#d6a453}
  .tv403-cell-blur{max-width:100%;min-height:42px}
}

/* TV v4.0.4 — czysty teaser premium: bez ujawniania typu i treści */
.tv403-premium-lock-clean .tv40-lock-grid span{
    background: rgba(255,255,255,.065);
    border-color: rgba(255,255,255,.12);
}
.tv403-lock-grid-public em{
    color:#f0c978;
    font-style:normal;
    letter-spacing:.02em;
}
.tv403-premium-message{
    max-width: 780px;
    color: #cfd6e2;
    line-height: 1.75;
    margin-top: 16px;
}
.tv403-premium-message strong{
    color:#f0c978;
}
.tv403-premium-lock-clean .tv40-lock-excerpt{
    display:none!important;
}
@media(max-width:700px){
    .tv403-premium-lock-clean .tv40-lock-grid{
        display:grid;
        grid-template-columns:1fr;
    }
}

/* TV v4.0.5 — Mój Pokład: dopasowana tabela + działające zakładki */
.tv405-client-panel{max-width:1360px!important;width:min(1360px,calc(100vw - 48px));}
.tv405-client-head{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start;margin-bottom:24px!important}
.tv405-client-head h1{line-height:1.02}.tv405-client-head p{max-width:820px}
.tv405-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 18px!important}
.tv405-tabs button{cursor:pointer;white-space:nowrap}
.tv40-tab{display:none}.tv40-tab.is-active{display:block}
.tv405-note{margin-bottom:14px}
.tv405-table-wrap{width:100%;overflow-x:auto;border:1px solid rgba(214,164,83,.18);border-radius:24px;background:linear-gradient(180deg,rgba(22,26,35,.96),rgba(8,10,15,.985));box-shadow:0 24px 76px rgba(0,0,0,.30)}
.tv405-client-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;color:#edf2f7;table-layout:fixed}
.tv405-col-start{width:175px}.tv405-col-event{width:31%}.tv405-col-odds{width:95px}.tv405-col-tip{width:34%}.tv405-col-status{width:140px}
.tv405-client-table th{padding:15px 18px;text-align:left;color:#d6a453;font-size:11px;letter-spacing:.14em;text-transform:uppercase;background:rgba(214,164,83,.065);border-bottom:1px solid rgba(214,164,83,.16);white-space:nowrap}
.tv405-client-table td{padding:18px;border-bottom:1px solid rgba(255,255,255,.075);vertical-align:middle}
.tv405-client-table tr:last-child td{border-bottom:0}.tv405-client-table td:nth-child(3),.tv405-client-table td:nth-child(5){text-align:center}
.tv405-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease,transform .16s ease;outline:none}.tv405-row:hover,.tv405-row:focus-within{background:rgba(214,164,83,.075);box-shadow:inset 4px 0 0 rgba(214,164,83,.78)}
.tv405-row.is-premium-locked{background:linear-gradient(90deg,rgba(214,164,83,.045),rgba(255,255,255,.015))}.tv405-row.is-premium-locked:hover{background:linear-gradient(90deg,rgba(214,164,83,.10),rgba(255,255,255,.02))}
.tv405-start span{display:inline-flex;align-items:center;color:#f4e6ca;font-weight:950;white-space:nowrap;line-height:1.2}
.tv405-event{display:block;color:#fff!important;text-decoration:none!important;font-weight:950;font-size:16px;line-height:1.26;max-width:100%;overflow-wrap:anywhere}.tv405-row:hover .tv405-event{color:#f0c978!important}
.tv405-access{display:inline-flex;margin-top:8px;padding:5px 10px;border-radius:999px;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.12em;font-weight:950;border:1px solid rgba(255,255,255,.12);color:#cfe0ff;background:rgba(76,133,220,.12)}.tv405-access.premium{color:#f0c978;background:rgba(214,164,83,.11);border-color:rgba(214,164,83,.28)}
.tv405-odds{display:inline-flex;justify-content:center;min-width:66px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);color:#fff4d6;font-weight:950;white-space:nowrap}
.tv405-tip{display:block;color:#f5d28a;font-weight:900;line-height:1.32;overflow-wrap:anywhere}.tv405-status-cell .tv40-status-pill{white-space:nowrap}
.tv405-locked-chip{position:relative;display:flex;align-items:center;justify-content:center;min-height:40px;width:100%;border-radius:14px;overflow:hidden;border:1px solid rgba(214,164,83,.25);background:repeating-linear-gradient(135deg,rgba(214,164,83,.13) 0 8px,rgba(255,255,255,.045) 8px 16px),rgba(255,255,255,.045)}
.tv405-locked-chip span{filter:blur(5px);opacity:.55;font-weight:950;color:#f6d492;white-space:nowrap}.tv405-locked-chip:after{content:'Premium';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#f0c978;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:950;background:linear-gradient(90deg,rgba(9,11,16,.72),rgba(9,11,16,.43));backdrop-filter:blur(2px)}
@media(max-width:1100px){.tv405-client-panel{width:min(100%,calc(100vw - 28px))}.tv405-client-table{min-width:980px}.tv405-col-start{width:165px}.tv405-col-status{width:130px}.tv405-client-table td,.tv405-client-table th{padding-left:14px;padding-right:14px}}
@media(max-width:760px){.tv405-client-panel{width:min(100%,calc(100vw - 20px))}.tv405-client-head{grid-template-columns:1fr}.tv405-table-wrap{border:0;background:transparent;box-shadow:none;overflow:visible}.tv405-client-table,.tv405-client-table thead,.tv405-client-table tbody,.tv405-client-table th,.tv405-client-table td,.tv405-client-table tr{display:block;width:100%;min-width:0}.tv405-client-table thead{display:none}.tv405-client-table tbody{display:grid;gap:14px}.tv405-client-table tr{border:1px solid rgba(214,164,83,.18);border-radius:22px;background:linear-gradient(180deg,rgba(22,26,35,.96),rgba(8,10,15,.985));padding:16px;box-shadow:0 18px 52px rgba(0,0,0,.25)}.tv405-client-table td{border:0;padding:7px 0;text-align:left!important}.tv405-client-table td:before{content:attr(data-label);display:block;margin-bottom:5px;color:#d6a453;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:950}.tv405-client-table td[data-label="Start"]{padding-top:0}.tv405-client-table td[data-label="Wydarzenie"]{padding-bottom:10px}.tv405-client-table td[data-label="Kurs"],.tv405-client-table td[data-label="Status"]{display:inline-flex;margin-right:8px;vertical-align:top}.tv405-client-table td[data-label="Typ"]{margin-top:10px;padding:12px 14px;border:1px solid rgba(214,164,83,.20);border-radius:16px;background:rgba(214,164,83,.055)}.tv405-event{font-size:19px}.tv405-start span{white-space:normal;color:#d6a453}.tv405-locked-chip{max-width:100%;min-height:42px}.tv405-tabs{gap:8px}.tv405-tabs button{padding:10px 14px!important;font-size:13px!important}}

/* TV v4.0.6 — Mój Pokład: prostsza tabela, status tylko w Historii */
.tv406-client-panel{max-width:1280px!important;width:min(1280px,calc(100vw - 56px));margin-left:auto!important;margin-right:auto!important;}
.tv406-client-head{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:26px;align-items:start;margin-bottom:22px!important;}
.tv406-client-head h1{line-height:1.02;margin-bottom:14px!important;}
.tv406-client-head p{max-width:790px;}
.tv406-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 18px!important;}
.tv406-tabs button{cursor:pointer;white-space:nowrap;}
.tv406-note{margin-bottom:14px;}
.tv406-table-wrap{width:100%;overflow-x:auto;border:1px solid rgba(214,164,83,.18);border-radius:24px;background:linear-gradient(180deg,rgba(17,20,28,.97),rgba(7,9,14,.99));box-shadow:0 24px 76px rgba(0,0,0,.30);}
.tv406-client-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0;color:#edf2f7;table-layout:fixed;}
.tv406-client-table.no-status .tv406-col-start{width:190px}.tv406-client-table.no-status .tv406-col-event{width:38%}.tv406-client-table.no-status .tv406-col-odds{width:110px}.tv406-client-table.no-status .tv406-col-tip{width:auto}
.tv406-client-table.has-status{min-width:1080px}.tv406-client-table.has-status .tv406-col-start{width:185px}.tv406-client-table.has-status .tv406-col-event{width:33%}.tv406-client-table.has-status .tv406-col-odds{width:105px}.tv406-client-table.has-status .tv406-col-tip{width:auto}.tv406-client-table.has-status .tv406-col-status{width:150px}
.tv406-client-table th{padding:14px 18px;text-align:left;color:#d6a453;font-size:11px;letter-spacing:.14em;text-transform:uppercase;background:rgba(214,164,83,.065);border-bottom:1px solid rgba(214,164,83,.16);white-space:nowrap;}
.tv406-client-table td{padding:18px;border-bottom:1px solid rgba(255,255,255,.075);vertical-align:middle;}
.tv406-client-table tr:last-child td{border-bottom:0;}
.tv406-client-table td:nth-child(3){text-align:center;}
.tv406-client-table.has-status td:nth-child(5){text-align:center;}
.tv406-row{cursor:pointer;transition:background .16s ease,box-shadow .16s ease,transform .16s ease;outline:none;}
.tv406-row:hover,.tv406-row:focus-within{background:rgba(214,164,83,.075);box-shadow:inset 4px 0 0 rgba(214,164,83,.78);}
.tv406-row.is-premium-locked{background:linear-gradient(90deg,rgba(214,164,83,.045),rgba(255,255,255,.015));}
.tv406-start span{display:inline-flex;align-items:center;color:#f4e6ca;font-weight:950;white-space:nowrap;line-height:1.2;font-size:15px;}
.tv406-event{display:block;color:#fff!important;text-decoration:none!important;font-weight:950;font-size:16px;line-height:1.25;max-width:100%;overflow-wrap:anywhere;}
.tv406-row:hover .tv406-event{color:#f0c978!important;}
.tv406-access{display:inline-flex;margin-top:8px;padding:4px 10px;border-radius:999px;font-size:10px;line-height:1;text-transform:uppercase;letter-spacing:.12em;font-weight:950;border:1px solid rgba(255,255,255,.12);color:#cfe0ff;background:rgba(76,133,220,.12);}
.tv406-access.premium{color:#f0c978;background:rgba(214,164,83,.11);border-color:rgba(214,164,83,.28);}
.tv406-odds{display:inline-flex;justify-content:center;min-width:68px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);color:#fff4d6;font-weight:950;white-space:nowrap;}
.tv406-tip{display:block;color:#f5d28a;font-weight:900;line-height:1.32;overflow-wrap:anywhere;}
.tv406-status-cell .tv40-status-pill{white-space:nowrap;}
.tv406-client-table.no-status .tv406-tip-cell .tv405-locked-chip{max-width:380px;}
.tv406-client-table.has-status .tv406-tip-cell .tv405-locked-chip{max-width:100%;}
.tv406-client-table .tv405-locked-chip{min-height:42px;border-radius:14px;}
.tv406-client-table .tv405-locked-chip:after{content:'Premium';}
@media(max-width:1200px){.tv406-client-panel{width:min(100%,calc(100vw - 30px));}.tv406-client-table{min-width:920px}.tv406-client-table.no-status .tv406-col-start{width:175px}.tv406-client-table.no-status .tv406-col-event{width:36%}.tv406-client-table.has-status{min-width:1020px}}
@media(max-width:760px){.tv406-client-panel{width:min(100%,calc(100vw - 20px));}.tv406-client-head{grid-template-columns:1fr}.tv406-table-wrap{border:0;background:transparent;box-shadow:none;overflow:visible}.tv406-client-table,.tv406-client-table thead,.tv406-client-table tbody,.tv406-client-table th,.tv406-client-table td,.tv406-client-table tr{display:block;width:100%;min-width:0}.tv406-client-table thead{display:none}.tv406-client-table tbody{display:grid;gap:14px}.tv406-client-table tr{border:1px solid rgba(214,164,83,.18);border-radius:22px;background:linear-gradient(180deg,rgba(22,26,35,.96),rgba(8,10,15,.985));padding:16px;box-shadow:0 18px 52px rgba(0,0,0,.25)}.tv406-client-table td{border:0;padding:7px 0;text-align:left!important}.tv406-client-table td:before{content:attr(data-label);display:block;margin-bottom:5px;color:#d6a453;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:950}.tv406-client-table td[data-label="Start"]{padding-top:0}.tv406-client-table td[data-label="Wydarzenie"]{padding-bottom:8px}.tv406-client-table td[data-label="Kurs"],.tv406-client-table td[data-label="Status"]{display:inline-flex;margin-right:8px;vertical-align:top}.tv406-client-table td[data-label="Typ"]{margin-top:10px;padding:12px 14px;border:1px solid rgba(214,164,83,.20);border-radius:16px;background:rgba(214,164,83,.055)}.tv406-event{font-size:19px}.tv406-start span{white-space:normal;color:#d6a453}.tv406-tabs{gap:8px}.tv406-tabs button{padding:10px 14px!important;font-size:13px!important}.tv406-client-table .tv405-locked-chip{max-width:100%;}}

/* TV v4.0.7 — Mój Pokład: zwarta tabela bez rozjeżdżania */
.tv406-client-panel{
  max-width:1120px!important;
  width:min(1120px, calc(100vw - 56px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  overflow:visible!important;
}
.tv406-client-head{
  grid-template-columns:minmax(0,1fr) 210px!important;
  gap:18px!important;
}
.tv406-access-card,
.tv40-access-card{
  max-width:210px;
}
.tv406-table-wrap{
  overflow:visible!important;
  width:100%!important;
}
.tv406-client-table{
  min-width:0!important;
  width:100%!important;
  table-layout:fixed!important;
}
.tv406-client-table.no-status .tv406-col-start{width:170px!important;}
.tv406-client-table.no-status .tv406-col-event{width:34%!important;}
.tv406-client-table.no-status .tv406-col-odds{width:92px!important;}
.tv406-client-table.no-status .tv406-col-tip{width:auto!important;}
.tv406-client-table.has-status{min-width:0!important;}
.tv406-client-table.has-status .tv406-col-start{width:160px!important;}
.tv406-client-table.has-status .tv406-col-event{width:31%!important;}
.tv406-client-table.has-status .tv406-col-odds{width:88px!important;}
.tv406-client-table.has-status .tv406-col-tip{width:auto!important;}
.tv406-client-table.has-status .tv406-col-status{width:120px!important;}
.tv406-client-table th,
.tv406-client-table td{
  padding-left:14px!important;
  padding-right:14px!important;
}
.tv406-start span{
  font-size:14px!important;
  letter-spacing:.01em;
}
.tv406-event{
  font-size:15px!important;
  line-height:1.22!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:auto;
}
.tv406-odds{
  min-width:58px!important;
  padding:7px 10px!important;
}
.tv406-tip-cell .tv405-locked-chip{
  max-width:100%!important;
}
.tv406-client-table.no-status .tv406-tip-cell .tv405-locked-chip{
  max-width:100%!important;
}
.tv406-tip{
  font-size:14px!important;
  line-height:1.28!important;
}
@media(max-width:1180px){
  .tv406-client-panel{width:min(100%, calc(100vw - 28px))!important;}
  .tv406-client-head{grid-template-columns:1fr!important;}
  .tv406-access-card,.tv40-access-card{max-width:none;width:100%;}
}
@media(min-width:761px) and (max-width:1050px){
  .tv406-table-wrap{overflow-x:auto!important;}
  .tv406-client-table{min-width:860px!important;}
}
@media(max-width:760px){
  .tv406-client-panel{width:min(100%, calc(100vw - 20px))!important;}
  .tv406-table-wrap{overflow:visible!important;}
  .tv406-client-table{min-width:0!important;}
  .tv406-client-head{grid-template-columns:1fr!important;}
}

/* TV v4.0.8 — Mój Pokład: uporządkowany panel i tabela */
body .tv406-client-panel{
  max-width:1040px!important;
  width:min(1040px, calc(100vw - 64px))!important;
  margin:70px auto 80px!important;
  padding:44px 44px 38px!important;
  border-radius:30px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
body .tv406-client-head{
  display:block!important;
  margin-bottom:22px!important;
}
body .tv406-client-head > div:first-child{max-width:760px!important;}
body .tv406-client-head h1{font-size:clamp(38px,4.3vw,58px)!important;margin:0 0 14px!important;}
body .tv406-client-head p{max-width:760px!important;margin-bottom:0!important;line-height:1.7!important;}
body .tv406-client-head .tv40-access-card,
body .tv406-client-head .tv406-access-card{
  display:inline-flex!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin-top:22px!important;
  padding:12px 18px!important;
  border-radius:999px!important;
  align-items:center!important;
  gap:10px!important;
}
body .tv406-client-head .tv40-access-card span,
body .tv406-client-head .tv406-access-card span{font-size:10px!important;margin:0!important;}
body .tv406-client-head .tv40-access-card strong,
body .tv406-client-head .tv406-access-card strong{font-size:14px!important;line-height:1!important;white-space:nowrap!important;}
body .tv406-tabs{margin:24px 0 18px!important;}
body .tv406-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  border-radius:22px!important;
  box-sizing:border-box!important;
}
body .tv406-client-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
}
body .tv406-client-table.no-status .tv406-col-start{width:165px!important;}
body .tv406-client-table.no-status .tv406-col-event{width:38%!important;}
body .tv406-client-table.no-status .tv406-col-odds{width:88px!important;}
body .tv406-client-table.no-status .tv406-col-tip{width:auto!important;}
body .tv406-client-table.has-status .tv406-col-start{width:150px!important;}
body .tv406-client-table.has-status .tv406-col-event{width:34%!important;}
body .tv406-client-table.has-status .tv406-col-odds{width:82px!important;}
body .tv406-client-table.has-status .tv406-col-status{width:118px!important;}
body .tv406-client-table th{
  padding:13px 14px!important;
  font-size:10px!important;
  letter-spacing:.16em!important;
}
body .tv406-client-table td{
  padding:16px 14px!important;
  box-sizing:border-box!important;
}
body .tv406-start span{font-size:14px!important;white-space:nowrap!important;}
body .tv406-event{font-size:15px!important;line-height:1.25!important;}
body .tv406-access{margin-top:7px!important;padding:4px 9px!important;font-size:9px!important;letter-spacing:.14em!important;}
body .tv406-odds{min-width:56px!important;padding:8px 9px!important;font-size:15px!important;}
body .tv406-tip{font-size:14px!important;line-height:1.28!important;}
body .tv406-client-table .tv405-locked-chip{
  min-height:38px!important;
  height:38px!important;
  border-radius:13px!important;
  max-width:100%!important;
  padding:0 12px!important;
  letter-spacing:.18em!important;
}
body .tv406-client-table .tv405-locked-chip:after{font-size:10px!important;}

@media(min-width:761px) and (max-width:1150px){
  body .tv406-client-panel{width:min(100%, calc(100vw - 36px))!important;padding:34px 28px!important;}
  body .tv406-table-wrap{overflow-x:auto!important;}
  body .tv406-client-table{min-width:820px!important;}
}
@media(max-width:760px){
  body .tv406-client-panel{width:min(100%, calc(100vw - 18px))!important;margin:34px auto 50px!important;padding:24px 16px!important;border-radius:24px!important;}
  body .tv406-client-head h1{font-size:36px!important;}
  body .tv406-client-head .tv40-access-card,
  body .tv406-client-head .tv406-access-card{display:flex!important;width:100%!important;justify-content:space-between!important;border-radius:18px!important;}
  body .tv406-table-wrap{overflow:visible!important;}
  body .tv406-client-table{min-width:0!important;}
}

/* TV v4.0.9 — finalny porządek panelu Mój Pokład */
@supports selector(:has(*)){
  body .entry-card:has(.tv406-client-panel){
    max-width:1240px!important;
    width:min(1240px, calc(100vw - 48px))!important;
    padding:0!important;
    margin:0 auto!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
  body .entry-card:has(.tv406-client-panel) > .entry-title{display:none!important;}
  body .entry-card:has(.tv406-client-panel) .entry-content{overflow:visible!important;}
}
body .entry-wrap{padding-top:58px!important;}
body .tv406-client-panel{
  max-width:1040px!important;
  width:100%!important;
  margin:0 auto 78px!important;
  padding:34px!important;
  border-radius:32px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(24,27,34,.86),rgba(9,11,16,.92))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 34px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04)!important;
  backdrop-filter:blur(18px)!important;
}
body .tv406-client-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:26px!important;
  margin:0 0 26px!important;
  padding:0!important;
}
body .tv406-client-head > div:first-child{max-width:760px!important;}
body .tv406-client-head .tv40-kicker{margin-bottom:8px!important;}
body .tv406-client-head h1{
  font-size:clamp(38px,4vw,56px)!important;
  line-height:1!important;
  margin:0 0 14px!important;
  letter-spacing:-.04em!important;
}
body .tv406-client-head p{
  max-width:760px!important;
  margin:0!important;
  color:#c6cbd4!important;
  line-height:1.65!important;
  font-size:15px!important;
}
body .tv406-client-head .tv40-access-card,
body .tv406-client-head .tv406-access-card{
  margin:0!important;
  width:190px!important;
  min-width:190px!important;
  max-width:190px!important;
  padding:17px 18px!important;
  border-radius:22px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:6px!important;
  background:linear-gradient(180deg,rgba(214,164,83,.10),rgba(255,255,255,.035))!important;
  border:1px solid rgba(214,164,83,.25)!important;
}
body .tv406-client-head .tv40-access-card span,
body .tv406-client-head .tv406-access-card span{
  color:#c9a76c!important;
  font-size:10px!important;
  letter-spacing:.18em!important;
  line-height:1!important;
}
body .tv406-client-head .tv40-access-card strong,
body .tv406-client-head .tv406-access-card strong{
  color:#fff!important;
  font-size:18px!important;
  line-height:1.15!important;
  white-space:normal!important;
}
body .tv406-tabs{
  margin:0 0 18px!important;
  gap:10px!important;
}
body .tv406-tabs button{
  min-width:108px!important;
  padding:11px 17px!important;
  font-size:13px!important;
}
body .tv406-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  margin:0!important;
  border-radius:22px!important;
  background:rgba(9,12,18,.72)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 20px 55px rgba(0,0,0,.24)!important;
}
body .tv406-client-table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
  border-collapse:separate!important;
  border-spacing:0!important;
}
body .tv406-client-table.no-status .tv406-col-start{width:155px!important;}
body .tv406-client-table.no-status .tv406-col-event{width:36%!important;}
body .tv406-client-table.no-status .tv406-col-odds{width:84px!important;}
body .tv406-client-table.no-status .tv406-col-tip{width:auto!important;}
body .tv406-client-table.has-status .tv406-col-start{width:145px!important;}
body .tv406-client-table.has-status .tv406-col-event{width:31%!important;}
body .tv406-client-table.has-status .tv406-col-odds{width:78px!important;}
body .tv406-client-table.has-status .tv406-col-status{width:112px!important;}
body .tv406-client-table th{
  padding:14px 16px!important;
  color:#d7ab63!important;
  font-size:10px!important;
  letter-spacing:.17em!important;
  font-weight:950!important;
  background:rgba(255,255,255,.025)!important;
  border-bottom:1px solid rgba(214,164,83,.16)!important;
  text-align:left!important;
}
body .tv406-client-table td{
  padding:15px 16px!important;
  border-bottom:1px solid rgba(255,255,255,.065)!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
}
body .tv406-client-table tr:last-child td{border-bottom:0!important;}
body .tv406-row{transition:background .18s ease,border-color .18s ease,transform .18s ease!important;}
body .tv406-row:hover{background:rgba(214,164,83,.055)!important;}
body .tv406-start span{
  font-size:13px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  color:#f2dfc0!important;
  letter-spacing:.01em!important;
}
body .tv406-event{
  display:block!important;
  font-size:15px!important;
  line-height:1.26!important;
  color:#fff!important;
  overflow:visible!important;
  word-break:normal!important;
  hyphens:none!important;
}
body .tv406-access{
  display:inline-flex!important;
  margin-top:7px!important;
  padding:3px 9px!important;
  border-radius:999px!important;
  font-size:9px!important;
  letter-spacing:.15em!important;
  line-height:1.2!important;
}
body .tv406-odds{
  min-width:54px!important;
  padding:7px 9px!important;
  font-size:15px!important;
  border-radius:999px!important;
}
body .tv406-tip{
  display:block!important;
  font-size:14px!important;
  line-height:1.28!important;
  color:#f3d08d!important;
  font-weight:850!important;
}
body .tv406-client-table .tv405-locked-chip{
  width:100%!important;
  max-width:100%!important;
  min-height:36px!important;
  height:36px!important;
  padding:0 12px!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,rgba(214,164,83,.12),rgba(255,255,255,.035))!important;
  border:1px solid rgba(214,164,83,.22)!important;
  box-shadow:none!important;
}
body .tv406-client-table .tv405-locked-chip:after{
  font-size:9px!important;
  letter-spacing:.2em!important;
  color:#f0c978!important;
}
body .tv406-note{
  margin:0 0 16px!important;
  border-radius:18px!important;
}
body .tv401-panel-logout{max-width:1040px!important;margin:-50px auto 70px!important;padding:0 34px!important;box-sizing:border-box!important;}
@media(min-width:761px) and (max-width:1120px){
  body .entry-card:has(.tv406-client-panel){width:min(100%, calc(100vw - 28px))!important;}
  body .tv406-client-panel{padding:28px!important;}
  body .tv406-table-wrap{overflow-x:auto!important;}
  body .tv406-client-table{min-width:820px!important;}
}
@media(max-width:760px){
  body .entry-wrap{padding-top:28px!important;}
  body .entry-card:has(.tv406-client-panel){width:min(100%, calc(100vw - 18px))!important;}
  body .tv406-client-panel{width:100%!important;margin:0 auto 54px!important;padding:22px 16px!important;border-radius:24px!important;}
  body .tv406-client-head{display:block!important;margin-bottom:20px!important;}
  body .tv406-client-head h1{font-size:38px!important;}
  body .tv406-client-head .tv40-access-card,
  body .tv406-client-head .tv406-access-card{width:100%!important;min-width:0!important;max-width:none!important;margin-top:18px!important;}
  body .tv406-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;}
  body .tv406-tabs button{min-width:0!important;width:100%!important;padding:11px 12px!important;}
  body .tv406-table-wrap{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;}
  body .tv406-client-table{min-width:0!important;}
}


/* TV v4.0.10 — Mój Pokład: bez badge Darmowy/Premium w kolumnie Wydarzenie */
.tv406-event-cell .tv406-access,
.tv405-event-cell .tv405-access,
.tv403-event-cell .tv403-access {
  display: none !important;
}

/* TV v4.0.11 — historia: status badge tighter */
body .tv406-client-table.has-status .tv406-col-status,
body .tv406-client-table.has-status th:last-child,
body .tv406-client-table.has-status td:last-child{
  width:96px!important;
  max-width:96px!important;
  min-width:96px!important;
  text-align:center!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
body .tv406-client-table.has-status td:last-child .tv-status,
body .tv406-client-table.has-status td:last-child .preview-status,
body .tv406-client-table.has-status td:last-child .analysis-status,
body .tv406-client-table.has-status td:last-child .tv406-status,
body .tv406-client-table.has-status td:last-child span[class*="status"],
body .tv406-client-table.has-status td:last-child .tv-pill{
  display:inline-flex!important;
  width:auto!important;
  min-width:72px!important;
  max-width:86px!important;
  height:28px!important;
  padding:0 10px!important;
  border-radius:999px!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.08em!important;
  white-space:nowrap!important;
  justify-content:center!important;
  align-items:center!important;
  box-sizing:border-box!important;
}
body .tv406-client-table.has-status .tv406-col-tip{width:auto!important;}
body .tv406-client-table.has-status .tv405-locked-chip{height:30px!important;min-height:30px!important;}
@media(max-width:980px){
  body .tv406-client-table.has-status{min-width:760px!important;}
  body .tv406-client-table.has-status .tv406-col-start{width:140px!important;}
  body .tv406-client-table.has-status .tv406-col-event{width:30%!important;}
  body .tv406-client-table.has-status .tv406-col-odds{width:72px!important;}
  body .tv406-client-table.has-status .tv406-col-status{width:90px!important;}
}
@media(max-width:760px){
  body .tv406-client-table.has-status th:last-child,
  body .tv406-client-table.has-status td:last-child{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    text-align:left!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* TV v4.1.0 — Premium expiry/access polish */
.tv41-client-panel .tv41-access-card em{display:block;margin-top:6px;color:#e8c46c;font-style:normal;font-weight:800;font-size:12px;letter-spacing:.04em}.tv41-expired-note{margin:0 0 18px;padding:14px 18px;border:1px solid rgba(234,179,8,.32);border-radius:18px;background:rgba(234,179,8,.08);color:#f6d990;font-weight:800}.tv41-premium-admin .tv2-admin-grid{margin:18px 0}.tv41-premium-table td,.tv41-premium-table th{vertical-align:middle}.tv41-premium-table form{margin:0}.tv41-premium-admin .button{white-space:nowrap}@media(max-width:782px){.tv41-premium-table{display:block;overflow-x:auto}.tv41-premium-admin .tv2-admin-grid{grid-template-columns:1fr!important}}

/* TV v4.3.0 — home conversion polish */
.tv43-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.tv43-hero-pills span{white-space:nowrap}
.tv43-premium-band{position:relative;overflow:hidden}
.tv43-premium-band:before{content:"";position:absolute;inset:18px auto auto 50%;width:min(720px,80vw);height:min(720px,80vw);transform:translateX(-50%);background:radial-gradient(circle,rgba(205,151,63,.14),transparent 62%);pointer-events:none;opacity:.8}
.tv43-premium-wrap{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.72fr);gap:34px;align-items:stretch;background:linear-gradient(135deg,rgba(13,18,28,.95),rgba(20,25,36,.88));border:1px solid rgba(221,174,87,.24);box-shadow:0 24px 70px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.06);border-radius:28px;padding:34px}
.tv43-premium-copy h2{font-size:clamp(30px,4vw,56px);line-height:1.02;margin:8px 0 16px;letter-spacing:-.04em;color:#fff}
.tv43-premium-copy p{max-width:760px;color:rgba(246,240,225,.82);font-size:clamp(16px,1.45vw,20px);line-height:1.65;margin:0}
.tv43-premium-lines{display:grid;gap:12px;margin-top:26px}
.tv43-premium-lines div{display:grid;grid-template-columns:150px 1fr;gap:18px;align-items:center;border-top:1px solid rgba(255,255,255,.08);padding-top:12px;color:rgba(246,240,225,.78)}
.tv43-premium-lines strong{color:#f0c46e;font-size:15px;letter-spacing:.04em;text-transform:uppercase}
.tv43-premium-lines span{font-size:15px;line-height:1.45}
.tv43-premium-action{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:26px;border-radius:24px;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.10)}
.tv43-premium-price{display:grid;gap:6px;text-align:center;margin-bottom:4px}
.tv43-premium-price span{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#b7becb}
.tv43-premium-price strong{font-size:clamp(34px,4vw,48px);line-height:1;color:#fff}
.tv43-premium-price em{font-style:normal;color:#e5bd6c;font-weight:700}
.tv43-small-link{text-align:center;color:#d7dcea;text-decoration:none;font-size:14px;opacity:.85}
.tv43-small-link:hover{opacity:1;color:#f0c46e}
.tip-card--preview.tv-access-premium:not(.tv-public-premium) .preview-pick{position:relative;overflow:hidden;border-color:rgba(221,174,87,.28)}
.tip-card--preview.tv-access-premium:not(.tv-public-premium) .preview-pick:after{content:"Typ ukryty dla załogi Premium";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,rgba(18,23,33,.92),rgba(38,30,18,.88));backdrop-filter:blur(4px);color:#f0c46e;font-weight:800;letter-spacing:.02em;text-align:center;padding:8px}
@media (max-width:900px){.tv43-premium-wrap{grid-template-columns:1fr;padding:24px;border-radius:22px}.tv43-premium-lines div{grid-template-columns:1fr;gap:4px}.tv43-premium-action{padding:20px}.tv43-hero-actions .btn{width:100%;justify-content:center}}

/* TV v22.0 — uproszczona strona główna: aktywne typy, wykres, ostatnie analizy, Premium */
.tv22-hero{min-height:auto;padding:0;background-position:center top}
.tv22-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) 360px;gap:34px;align-items:center;padding:82px 0 58px}
.tv22-hero .hero-title{margin-bottom:18px}
.tv22-hero .hero-lead{max-width:720px;font-size:21px;color:#eadfcf}
.tv22-hero-card{padding:28px;border-radius:26px;border:1px solid rgba(201,150,67,.24);background:linear-gradient(180deg,rgba(31,24,16,.88),rgba(12,13,18,.94));box-shadow:var(--shadow);position:relative;overflow:hidden}
.tv22-hero-card:before{content:"";position:absolute;right:-26px;top:-32px;width:150px;height:150px;opacity:.08;background:url('assets/icon-raven.svg') center/contain no-repeat}
.tv22-hero-card span,.tv22-hero-card em{display:block;color:var(--muted);font-weight:800;font-style:normal}
.tv22-hero-card strong{display:block;font-size:72px;line-height:.95;color:#fff;margin:12px 0 8px;letter-spacing:-.06em}
.tv22-section{padding:44px 0}
.tv22-section-first{padding-top:26px}
.tv22-heading-simple{margin-bottom:22px;max-width:none}
.tv22-heading-simple h2{margin-bottom:0}
.tv22-table-wrap{padding:8px 12px;border-radius:22px;background:rgba(255,255,255,.035);border:1px solid var(--line);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.tv22-results-table th,.tv22-results-table td{padding:14px 12px}
.tv22-lock{display:inline-flex;align-items:center;gap:6px;color:#f2d59a;font-weight:950;white-space:nowrap}
.tv22-row-locked td{background:linear-gradient(90deg,rgba(201,150,67,.035),transparent)}
.tv22-stats-layout{display:grid;grid-template-columns:0.9fr 1.35fr;gap:22px;align-items:stretch}
.tv22-score-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;gap:14px}
.tv22-score-grid .score-box{padding:21px 18px;text-align:left}
.tv22-score-grid .score-box strong{font-size:34px}
.tv22-chart-card{padding:24px;border-radius:22px;background:linear-gradient(180deg,rgba(20,23,31,.86),rgba(11,13,18,.94));border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 45px rgba(0,0,0,.22)}
.tv22-chart-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:16px}
.tv22-chart-top strong{font-size:22px;color:#fff}
.tv22-chart-top span{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-weight:900}
.tv22-chart{position:relative;min-height:260px;border-radius:18px;overflow:hidden;background:radial-gradient(circle at 20% 0%,rgba(201,150,67,.08),transparent 34%),rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}
.tv22-chart svg{position:absolute;inset:0;width:100%;height:100%}
.tv22-chart-grid{stroke:rgba(255,255,255,.11);stroke-width:1}
.tv22-chart-line{fill:none;stroke:#d7a856;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 8px 12px rgba(0,0,0,.45))}
.tv22-chart-area{fill:url(#tv22Area);stroke:none}
.tv22-chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:28px;color:var(--muted);font-weight:800}
.tv22-latest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tv22-premium{padding:48px 0;background-attachment:scroll}
.tv22-final-note{padding:24px 0 34px}
.tv22-final-note p{margin:0;color:var(--muted);font-size:14px;text-align:center}
.tv22-final-note a{font-weight:900}
@media (max-width:1040px){
  .tv22-hero-grid,.tv22-stats-layout{grid-template-columns:1fr}
  .tv22-latest-grid{grid-template-columns:1fr 1fr}
  .tv22-hero-grid{padding:66px 0 42px}
}
@media (max-width:700px){
  .tv22-hero-grid{padding:48px 0 30px}
  .tv22-section{padding:32px 0}
  .tv22-section-first{padding-top:18px}
  .tv22-latest-grid,.tv22-score-grid{grid-template-columns:1fr}
  .tv22-hero-card strong{font-size:56px}
  .tv22-chart-top{display:block}
  .tv22-chart-top strong{display:block;margin-bottom:6px}
}

/* TV v22.1 — homepage UX polish: fonts, CTA, stats period, interactive chart, archive CTA */
/* version bump */
.tv22-hero,
.tv22-hero *{font-feature-settings:"kern" 1;}
.tv22-hero:after{pointer-events:none;z-index:0;}
.tv22-hero-grid{position:relative;z-index:2;}
.tv22-hero .hero-title{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,6vw,74px);
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:800;
  text-wrap:balance;
}
.tv22-hero .hero-title .accent{margin-bottom:4px;}
.tv22-hero .hero-lead{
  font-size:clamp(17px,1.45vw,21px);
  line-height:1.55;
  color:rgba(243,239,231,.88);
}
.tv43-hero-actions{position:relative;z-index:8;}
.tv43-hero-actions .btn,
.tv22-archive-btn,
.tv43-premium-action .btn{
  position:relative;
  z-index:9;
  pointer-events:auto;
  text-decoration:none!important;
}
.tv43-hero-actions .btn-primary,
.tv43-premium-action .btn-primary{
  background:linear-gradient(135deg,#f4d184 0%,#c99643 48%,#a87327 100%);
  color:#101010!important;
  box-shadow:0 12px 34px rgba(201,150,67,.22), inset 0 1px 0 rgba(255,255,255,.32);
}
.tv43-hero-actions .btn-secondary,
.tv22-archive-btn{
  background:rgba(10,12,17,.72);
  border-color:rgba(240,201,120,.26);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.tv43-hero-actions .btn:hover,
.tv22-archive-btn:hover{filter:brightness(1.08);transform:translateY(-1px);}
.tv22-signal-card{display:flex;flex-direction:column;gap:6px;justify-content:center;min-height:230px;}
.tv22-signal-card span{color:#f0c978;text-transform:uppercase;letter-spacing:.13em;font-size:12px;}
.tv22-signal-card strong{font-size:clamp(58px,6vw,82px);margin:4px 0 0;}
.tv22-signal-card em{font-size:16px;color:#f2e3ca;}
.tv22-signal-card small{margin-top:12px;padding-top:14px;border-top:1px solid rgba(255,255,255,.10);color:#bfc6d1;font-weight:800;}
.tv22-section{padding:34px 0;}
.tv22-section-first{padding-top:12px;}
.tv22-heading-simple{margin-bottom:16px;}
.tv22-heading-simple h2{
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:-.025em;
}
.tv22-section-note{margin:8px 0 0;color:rgba(243,239,231,.72);font-weight:700;max-width:720px;}
.tv22-heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;}
.tv22-archive-btn{min-height:44px;padding:0 18px;border-radius:999px;white-space:nowrap;font-size:14px;}
.tv22-chart-top{align-items:flex-start;}
.tv22-chart-top strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:28px;letter-spacing:-.02em;}
.tv22-chart-top p{margin:5px 0 0;color:rgba(243,239,231,.70);font-weight:700;line-height:1.4;}
.tv22-chart-top span{padding:7px 11px;border-radius:999px;background:rgba(201,150,67,.10);border:1px solid rgba(201,150,67,.20);color:#f0c978;}
.tv22-chart-dot{fill:rgba(240,201,120,.01);stroke:transparent;cursor:pointer;pointer-events:all;}
.tv22-chart-dot:hover{fill:#f0c978;stroke:rgba(8,9,12,.95);stroke-width:3;}
.tv22-chart-tooltip{display:none;position:absolute;z-index:6;width:156px;padding:10px 12px;border-radius:14px;background:rgba(7,8,11,.96);border:1px solid rgba(240,201,120,.28);box-shadow:0 16px 40px rgba(0,0,0,.38);pointer-events:none;}
.tv22-chart-tooltip strong{display:block;color:#fff;font-size:13px;margin-bottom:5px;}
.tv22-chart-tooltip span{display:block;color:#f0c978;font-size:12px;font-weight:900;line-height:1.35;}
.tv22-score-grid .score-box span{font-size:13px;text-transform:uppercase;letter-spacing:.08em;}
@media(max-width:1040px){
  .tv22-heading-row{display:block;}
  .tv22-archive-btn{margin-top:14px;width:auto;}
}
@media(max-width:700px){
  .tv22-section{padding:28px 0;}
  .tv22-hero .hero-title{font-size:42px;}
  .tv22-signal-card{min-height:auto;}
  .tv22-archive-btn{width:100%;}
}

/* TV v22.2 — header + Premium section visual polish */
.site-header{
  position:sticky;top:0;z-index:1000;
  backdrop-filter:blur(18px) saturate(135%);
  -webkit-backdrop-filter:blur(18px) saturate(135%);
  background:linear-gradient(180deg,rgba(7,8,11,.94),rgba(7,8,11,.78));
  border-bottom:1px solid rgba(240,201,120,.14);
  box-shadow:0 14px 40px rgba(0,0,0,.34);
}
.navbar{padding:10px 0;gap:24px;min-height:76px;}
.site-header .tv-site-logo-link{display:flex;align-items:center;flex:0 0 auto;line-height:0;}
.site-header .tv-site-logo,
.site-header .brand-logo{height:54px!important;width:auto;max-width:240px;object-fit:contain;filter:drop-shadow(0 6px 18px rgba(0,0,0,.5));}
.main-nav{align-items:center;justify-content:flex-end;gap:8px;}
.main-nav a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:0 13px;border-radius:999px;
  color:rgba(244,239,229,.78);font-size:13px;font-weight:900;
  letter-spacing:.015em;text-transform:none;
  border:1px solid transparent;background:transparent;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.10);transform:translateY(-1px);}
.main-nav a[href*="#premium"],
.main-nav a[href*="/premium"]{
  color:#111!important;
  background:linear-gradient(135deg,#f4d184 0%,#d5a34f 48%,#a87327 100%);
  border-color:rgba(255,225,150,.36);
  box-shadow:0 8px 24px rgba(201,150,67,.22),inset 0 1px 0 rgba(255,255,255,.35);
}
.main-nav a[href*="#premium"]:hover,
.main-nav a[href*="/premium"]:hover{filter:brightness(1.08);color:#111!important;}
.main-nav a[href*="moje-typy"]{
  border-color:rgba(240,201,120,.22);
  background:rgba(201,150,67,.08);
  color:#f1d08c;
}
@media(max-width:920px){
  .navbar{align-items:flex-start;flex-direction:column;gap:10px;padding:10px 0 12px;}
  .main-nav{width:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px;scrollbar-width:none;}
  .main-nav::-webkit-scrollbar{display:none;}
  .main-nav a{flex:0 0 auto;min-height:38px;font-size:12px;padding:0 12px;}
  .site-header .tv-site-logo,.site-header .brand-logo{height:48px!important;max-width:210px;}
}

/* Premium CTA — mniej generycznie, bardziej premium i spójnie z marką */
.tv22-premium{padding:38px 0 42px!important;}
.tv22-premium .tv43-premium-wrap{
  padding:34px;
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 18%,rgba(240,201,120,.16),transparent 28%),
    radial-gradient(circle at 88% 14%,rgba(255,255,255,.055),transparent 24%),
    linear-gradient(135deg,rgba(14,17,24,.96),rgba(31,24,15,.92));
  border:1px solid rgba(240,201,120,.24);
  box-shadow:0 26px 80px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.07);
}
.tv22-premium .section-kicker{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:14px;
  font-size:11px;letter-spacing:.18em;color:#f0c978;
  background:rgba(201,150,67,.10);border-color:rgba(240,201,120,.24);
}
.tv22-premium .section-kicker:before{content:"ᚱ";font-size:14px;letter-spacing:0;color:#f3d58e;}
.tv22-premium .tv43-premium-copy h2{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(32px,4.2vw,58px);
  line-height:1.03;letter-spacing:-.04em;margin:0 0 14px;color:#fff;
  text-shadow:0 10px 28px rgba(0,0,0,.42);
}
.tv22-premium .tv43-premium-copy p{
  max-width:690px;font-size:clamp(16px,1.25vw,19px);line-height:1.65;
  color:rgba(245,238,224,.82);font-weight:650;
}
.tv22-premium .tv43-premium-action{
  background:linear-gradient(180deg,rgba(7,8,11,.62),rgba(7,8,11,.35));
  border:1px solid rgba(240,201,120,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.tv22-premium .tv43-premium-price span{color:#f0c978;font-weight:950;}
.tv22-premium .tv43-premium-price strong{
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:-.035em;font-size:clamp(38px,4vw,54px);
}
.tv22-premium .tv43-premium-price em{color:rgba(245,238,224,.72);font-weight:800;}
.tv22-premium .tv43-small-link{color:rgba(245,238,224,.72);font-weight:850;text-align:center;}
.tv22-premium .tv43-small-link:hover{color:#fff;}
@media(max-width:900px){
  .tv22-premium .tv43-premium-wrap{padding:24px;border-radius:24px;}
}


/* TV v22.3 – poprawki kotwic menu i sekcji kontaktu */
#najblizsze-bitwy, #statystyki, #ostatnie-analizy, #premium, #kontakt {
  scroll-margin-top: 110px;
}
.tv22-contact-section {
  padding-top: 34px !important;
}
.tv22-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid rgba(201,150,67,.28);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(18,22,27,.94), rgba(8,10,13,.96));
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.tv22-contact-card h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  letter-spacing: -.02em;
}
.tv22-contact-card p {
  margin: 0;
  max-width: 680px;
  color: rgba(245,239,226,.78);
  line-height: 1.65;
}
.tv22-responsible-note {
  margin: 18px 0 0;
  color: rgba(245,239,226,.56);
  font-size: .92rem;
  text-align: center;
}
@media (max-width: 760px) {
  #najblizsze-bitwy, #statystyki, #ostatnie-analizy, #premium, #kontakt { scroll-margin-top: 86px; }
  .tv22-contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
  }
  .tv22-contact-card .btn { width: 100%; text-align: center; }
}

/* TV v22.4 – dopracowana sekcja kontaktu */
.tv22-contact-section {
  padding-top: 28px !important;
  padding-bottom: 44px !important;
}
.tv22-contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 30px;
  border: 1px solid rgba(218, 170, 84, .32);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(218,170,84,.18), transparent 34%),
    linear-gradient(135deg, rgba(20,23,29,.96), rgba(7,9,12,.98));
  box-shadow: 0 22px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
}
.tv22-contact-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 0 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,201,120,.5), transparent);
}
.tv22-contact-mark {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: #f0c978;
  font-size: 28px;
  border: 1px solid rgba(240,201,120,.34);
  background: linear-gradient(180deg, rgba(240,201,120,.16), rgba(240,201,120,.05));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.tv22-contact-main { position: relative; z-index: 1; }
.tv22-contact-card h2 {
  margin: 7px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #fff6df;
}
.tv22-contact-card p {
  margin: 0;
  max-width: 700px;
  color: rgba(245,239,226,.74);
  line-height: 1.65;
  font-weight: 650;
}
.tv22-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.tv22-contact-mail,
.tv22-contact-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: .01em;
}
.tv22-contact-mail {
  color: #111;
  background: linear-gradient(180deg, #f5d58b, #c99643);
  box-shadow: 0 12px 28px rgba(201,150,67,.22);
}
.tv22-contact-mail:hover { filter: brightness(1.06); transform: translateY(-1px); }
.tv22-contact-legal {
  color: rgba(245,239,226,.82);
  border: 1px solid rgba(245,239,226,.14);
  background: rgba(255,255,255,.045);
}
.tv22-contact-legal:hover { color: #fff; border-color: rgba(240,201,120,.28); }
.tv22-contact-aside {
  position: relative;
  z-index: 1;
  width: 175px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(245,239,226,.12);
  background: rgba(0,0,0,.2);
  text-align: center;
}
.tv22-contact-aside strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: #f0c978;
  margin-bottom: 8px;
}
.tv22-contact-aside span {
  display: block;
  color: rgba(245,239,226,.66);
  font-size: .88rem;
  line-height: 1.35;
  font-weight: 750;
}
@media (max-width: 840px) {
  .tv22-contact-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .tv22-contact-mark { width: 54px; height: 54px; border-radius: 18px; }
  .tv22-contact-aside { width: auto; text-align: left; }
  .tv22-contact-aside strong { display: inline-block; margin: 0 10px 0 0; vertical-align: middle; }
  .tv22-contact-aside span { display: inline; }
  .tv22-contact-mail, .tv22-contact-legal { width: 100%; }
}


/* TV v22.7 — szlif headera, typografii, kontaktu i odstępów */
:root {
  --tv-gold-soft: #d6aa4c;
  --tv-gold-strong: #f0c766;
  --tv-bg-deep: #07090d;
  --tv-card-deep: rgba(13, 17, 24, .88);
  --tv-border-soft: rgba(214,170,76,.18);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header,
.tv-header,
header.site-header,
header[role="banner"] {
  min-height: 68px;
  background: rgba(7, 9, 13, .88) !important;
  border-bottom: 1px solid rgba(214,170,76,.14);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 45px rgba(0,0,0,.25);
}

.site-header .container,
.tv-header .container,
.site-header__inner,
.header-inner,
.navbar,
.main-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
}

.site-title,
.site-logo,
.custom-logo-link,
.logo {
  line-height: 1;
}

.site-title a,
.logo a,
.custom-logo-link {
  font-weight: 750 !important;
  letter-spacing: .02em;
  text-decoration: none;
}

.custom-logo,
.site-logo img,
.logo img {
  max-height: 48px;
  width: auto;
}

.main-navigation a,
.site-header nav a,
.tv-header nav a,
.menu a {
  font-weight: 600 !important;
  font-size: 14px;
  letter-spacing: .01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 13px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.main-navigation a:hover,
.site-header nav a:hover,
.tv-header nav a:hover,
.menu a:hover {
  background: rgba(214,170,76,.10);
  color: var(--tv-gold-strong) !important;
}

.tv-header-premium,
.site-header nav a[href*="/premium"],
.menu a[href*="/premium"] {
  background: linear-gradient(135deg, #d6aa4c, #f0c766) !important;
  color: #14100a !important;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(214,170,76,.18);
}

.tv-header-premium:hover,
.site-header nav a[href*="/premium"]:hover,
.menu a[href*="/premium"]:hover {
  transform: translateY(-1px);
  color: #080704 !important;
}

/* Typografia sekcji */
.front-page h1,
.tv22-hero h1,
.hero h1 {
  letter-spacing: -0.04em;
  line-height: .96;
  font-weight: 800;
}

.front-page h2,
.tv22-section h2,
.home-section h2,
section h2 {
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-weight: 760;
}

.front-page p,
.tv22-section p,
.home-section p {
  line-height: 1.65;
}

/* Odstępy między sekcjami */
.tv22-section,
.home-section,
.front-page section {
  margin-top: 48px !important;
  margin-bottom: 48px !important;
}

.tv22-hero,
.hero {
  padding-bottom: 34px !important;
}

.tv22-section-header,
.section-header {
  margin-bottom: 22px !important;
}

/* Kontakt */
#kontakt,
.tv22-contact,
.tv-contact,
section[id="kontakt"] {
  position: relative;
}

.tv22-contact-card,
.tv-contact-card,
#kontakt .tv22-card,
#kontakt .tv-card,
section[id="kontakt"] .card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tv-border-soft) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(214,170,76,.12), transparent 34%),
    linear-gradient(145deg, rgba(14,18,26,.96), rgba(6,8,12,.96)) !important;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.tv22-contact-compass {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 18px;
  background: rgba(214,170,76,.09);
  border: 1px solid rgba(214,170,76,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 35px rgba(0,0,0,.22);
}

.tv22-contact-compass svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--tv-gold-strong);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv22-contact-kicker,
.tv22-contact-mark,
.tv-contact-kicker,
.tv-contact-mark,
.tv22-contact-aside,
.tv-contact-aside {
  display: none !important;
}

#kontakt h2,
.tv22-contact h2,
.tv-contact h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

#kontakt a[href^="mailto:"],
.tv22-contact a[href^="mailto:"],
.tv-contact a[href^="mailto:"],
.tv22-contact-email,
.tv-contact-email {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--tv-gold-strong) !important;
  font-size: clamp(19px, 2vw, 23px) !important;
  font-weight: 600 !important;
  letter-spacing: .005em;
  text-decoration: none;
  margin-top: 10px;
}

#kontakt a[href^="mailto:"]:hover,
.tv22-contact a[href^="mailto:"]:hover,
.tv-contact a[href^="mailto:"]:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#kontakt a:not([href^="mailto:"]),
.tv22-contact a:not([href^="mailto:"]),
.tv-contact a:not([href^="mailto:"]),
.tv22-contact .tv-legal-link,
.tv-contact .tv-legal-link {
  font-size: 14px !important;
  font-weight: 400 !important;
  opacity: .76;
}

#kontakt strong,
.tv22-contact strong,
.tv-contact strong {
  font-weight: 600;
}

/* Usuń wizualnie pozostałości po bloku 18+ w kontakcie */
#kontakt .badge,
#kontakt .pill,
#kontakt [class*="age"],
#kontakt [class*="adult"],
#kontakt [class*="eighteen"] {
  display: none !important;
}

@media (max-width: 768px) {
  .site-header,
  .tv-header,
  header.site-header,
  header[role="banner"] {
    min-height: 62px;
  }

  .custom-logo,
  .site-logo img,
  .logo img {
    max-height: 42px;
  }

  .main-navigation a,
  .site-header nav a,
  .tv-header nav a,
  .menu a {
    font-size: 13px;
    padding: 8px 10px;
  }

  .tv22-section,
  .home-section,
  .front-page section {
    margin-top: 36px !important;
    margin-bottom: 36px !important;
  }

  .tv22-contact-compass {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}


/* TV v22.8 — realny header i sekcja kontakt jak w projekcie */
html { scroll-padding-top: 96px; }

body.admin-bar .tv23-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tv23-site-header { top: 46px; } }

.tv23-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(4, 6, 10, .92);
  border-bottom: 1px solid rgba(214, 170, 76, .28);
  box-shadow: 0 18px 55px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}

.tv23-header-inner {
  width: min(1360px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
}

.tv23-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #f6efe2;
  text-decoration: none;
}

.tv23-brand img,
.tv23-brand .custom-logo {
  max-height: 62px;
  width: auto;
  display: block;
}

.tv23-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(214,170,76,.35);
  color: #f0c766;
  background: radial-gradient(circle, rgba(214,170,76,.18), rgba(214,170,76,.03));
}

.tv23-brand-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tv23-brand-text strong { color: #d6aa4c; }

.tv23-main-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.tv23-main-nav a,
.tv23-user-mini a {
  color: rgba(246,239,226,.88);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .005em;
  padding: 13px 18px;
  border-radius: 7px;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.tv23-main-nav a:hover,
.tv23-user-mini a:hover {
  color: #f0c766;
  background: rgba(214,170,76,.09);
}

.tv23-main-nav .tv23-nav-premium {
  color: #ffe7a6;
  background: linear-gradient(180deg, rgba(214,170,76,.30), rgba(214,170,76,.08));
  border: 1px solid rgba(214,170,76,.50);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 32px rgba(214,170,76,.13);
  padding-inline: 30px;
}

.tv23-main-nav .tv23-nav-premium:hover {
  color: #fff2c4;
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(214,170,76,.40), rgba(214,170,76,.13));
}

.tv23-user-mini {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(246,239,226,.88);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.tv23-user-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,199,102,.7);
  border-radius: 50%;
  color: #f0c766;
  font-size: 18px;
}

/* Kontakt */
.tv23-contact {
  margin: 54px 0 70px !important;
}

.tv23-contact .tv-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.tv23-contact-card {
  min-height: 475px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: 48px;
  padding: clamp(42px, 5vw, 72px);
  border-radius: 24px;
  border: 1px solid rgba(214,170,76,.34);
  background:
    radial-gradient(circle at 82% 44%, rgba(214,170,76,.13), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(214,170,76,.08), transparent 24%),
    linear-gradient(135deg, rgba(12,15,22,.96), rgba(4,6,10,.97));
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
  overflow: hidden;
  position: relative;
}

.tv23-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 28%, transparent 70%, rgba(214,170,76,.04)),
    radial-gradient(circle at 80% 30%, rgba(240,199,102,.10), transparent 22%);
  pointer-events: none;
}

.tv23-contact-copy,
.tv23-contact-compass {
  position: relative;
  z-index: 1;
}

.tv23-kicker {
  display: inline-flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  color: #f0c766;
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tv23-kicker::after {
  content: "";
  width: 76px;
  height: 2px;
  background: linear-gradient(90deg, #f0c766, rgba(240,199,102,0));
}

.tv23-contact h2 {
  margin: 0 0 22px !important;
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 700;
  text-shadow: 0 18px 44px rgba(0,0,0,.42);
}

.tv23-contact p {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(246,239,226,.86);
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.45;
  font-weight: 400;
}

.tv23-contact-email {
  display: block !important;
  width: fit-content;
  margin: 0 0 26px !important;
  color: #e6bd61 !important;
  text-decoration: none !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4.2vw, 52px) !important;
  line-height: 1;
  font-weight: 650 !important;
  letter-spacing: -.035em;
  text-shadow: 0 10px 36px rgba(214,170,76,.13);
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.tv23-contact-email:hover {
  color: #f0c766 !important;
  text-decoration: underline !important;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.tv23-responsible-link {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  color: rgba(240,199,102,.92) !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 450 !important;
  opacity: 1 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.tv23-responsible-link:hover {
  color: #fff2c4 !important;
}

.tv23-contact-compass {
  justify-self: center;
  width: min(430px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  opacity: .95;
  filter: drop-shadow(0 20px 55px rgba(214,170,76,.12));
}

.tv23-contact-compass svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tv23-contact-compass circle {
  stroke: rgba(214,170,76,.78);
  stroke-width: 1.6;
}

.tv23-contact-compass path {
  fill: rgba(214,170,76,.82);
  stroke: rgba(255,234,177,.72);
  stroke-width: .9;
  stroke-linejoin: round;
}

.tv23-contact-compass text {
  fill: rgba(240,199,102,.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: .12em;
}

/* Schowaj stare elementy kontaktu, jeśli zostały w cache/HTML */
.tv22-contact-compass,
.tv22-contact-kicker,
.tv22-contact-mark,
.tv22-contact-aside,
.tv-contact-aside,
#kontakt [class*="age"],
#kontakt [class*="adult"],
#kontakt [class*="eighteen"] {
  display: none !important;
}

@media (max-width: 1040px) {
  .tv23-header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 0;
    justify-items: center;
  }
  .tv23-user-mini { justify-self: center; }
  .tv23-main-nav { flex-wrap: wrap; gap: 8px; }
  .tv23-main-nav a, .tv23-user-mini a { font-size: 15px; padding: 10px 12px; }
  .tv23-contact-card {
    grid-template-columns: 1fr;
    min-height: unset;
    gap: 28px;
  }
  .tv23-contact-compass {
    width: min(315px, 74vw);
    order: -1;
    opacity: .65;
  }
}

@media (max-width: 640px) {
  .tv23-header-inner,
  .tv23-contact .tv-container {
    width: min(100% - 28px, 1280px);
  }
  .tv23-brand img, .tv23-brand .custom-logo { max-height: 50px; }
  .tv23-user-mini { display: none; }
  .tv23-contact-card {
    padding: 30px 22px;
    border-radius: 18px;
  }
  .tv23-kicker { font-size: 13px; margin-bottom: 18px; }
  .tv23-contact h2 { font-size: 42px; }
  .tv23-contact p { font-size: 17px; }
  .tv23-contact-email { font-size: 27px !important; word-break: break-word; }
}


/* TV v22.9 — naprawa headera i sekcji Kontakt */
html { scroll-padding-top: 96px; }

body.admin-bar .tv24-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tv24-header { top: 46px; } }

/* ukryj poprzednią wersję headera, jeśli została przez cache/duplikat */
.tv23-site-header { display: none !important; }

.tv24-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(5, 7, 11, .92);
  border-bottom: 1px solid rgba(214, 170, 76, .20);
  box-shadow: 0 14px 42px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}

.tv24-header-inner {
  width: min(1240px, calc(100% - 44px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.tv24-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  text-decoration: none !important;
}

.tv24-brand img,
.tv24-brand .custom-logo {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 58px;
  object-fit: contain;
}

.tv24-brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f0c766;
  border: 1px solid rgba(240,199,102,.35);
  background: radial-gradient(circle, rgba(240,199,102,.18), rgba(240,199,102,.03));
}

.tv24-brand-name {
  color: #f6efe2;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tv24-brand-name strong { color: #d6aa4c; }

.tv24-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.tv24-nav a,
.tv24-user a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(246,239,226,.86);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.tv24-nav a:hover,
.tv24-user a:hover {
  color: #f0c766;
  background: rgba(214,170,76,.08);
  border-color: rgba(214,170,76,.16);
}

.tv24-premium-link {
  color: #160f06 !important;
  background: linear-gradient(135deg, #f2c96b, #d6aa4c) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 28px rgba(214,170,76,.18);
}

.tv24-premium-link:hover {
  color: #080704 !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(214,170,76,.22);
}

.tv24-client-link {
  color: #f0c766 !important;
  border-color: rgba(214,170,76,.23) !important;
  background: rgba(214,170,76,.055);
}

.tv24-user {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: rgba(246,239,226,.82);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.tv24-user-symbol {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f0c766;
  border: 1px solid rgba(240,199,102,.5);
  font-size: 16px;
}

/* Kontakt — nowy układ */
.tv24-contact {
  margin: 52px 0 64px !important;
}

.tv24-contact .tv-container {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.tv24-contact-card {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, .72fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding: clamp(34px, 4.4vw, 58px);
  border-radius: 24px;
  border: 1px solid rgba(214,170,76,.29);
  background:
    radial-gradient(circle at 78% 48%, rgba(214,170,76,.12), transparent 28%),
    linear-gradient(135deg, rgba(13,16,23,.97), rgba(5,7,12,.97));
  box-shadow: 0 28px 78px rgba(0,0,0,.34);
  overflow: hidden;
  position: relative;
}

.tv24-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 38%, rgba(214,170,76,.035)),
    radial-gradient(circle at 84% 44%, rgba(240,199,102,.12), transparent 20%);
  pointer-events: none;
}

.tv24-contact-copy,
.tv24-compass-wrap {
  position: relative;
  z-index: 1;
}

.tv24-kicker {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  color: #f0c766;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.tv24-kicker::after {
  content: "";
  width: 68px;
  height: 2px;
  background: linear-gradient(90deg, #f0c766, rgba(240,199,102,0));
}

.tv24-contact h2 {
  margin: 0 0 16px !important;
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.3vw, 70px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
  text-shadow: 0 18px 42px rgba(0,0,0,.38);
}

.tv24-contact p {
  max-width: 650px;
  margin: 0 0 28px;
  color: rgba(246,239,226,.84);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.48;
  font-weight: 400;
}

.tv24-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.tv24-mail-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  color: #120d06 !important;
  background: linear-gradient(135deg, #f2c96b, #d6aa4c) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 14px 32px rgba(214,170,76,.18) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.tv24-mail-button:hover {
  transform: translateY(-1px);
  color: #080704 !important;
  box-shadow: 0 18px 36px rgba(214,170,76,.24) !important;
}

.tv24-mail-text {
  color: rgba(240,199,102,.92) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.tv24-mail-text:hover {
  color: #fff0bf !important;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

.tv24-responsible-link {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: rgba(246,239,226,.60) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.tv24-responsible-link:hover {
  color: rgba(240,199,102,.90) !important;
}

.tv24-compass-wrap {
  justify-self: center;
  width: min(285px, 82%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  opacity: .78;
  filter: drop-shadow(0 18px 44px rgba(214,170,76,.12));
}

.tv24-compass {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tv24-compass-glow {
  fill: rgba(214,170,76,.08);
  stroke: none;
}

.tv24-ring {
  fill: none;
  stroke: rgba(214,170,76,.65);
  stroke-width: 1.55;
}

.tv24-rose-main {
  fill: rgba(214,170,76,.74);
  stroke: rgba(255,237,185,.62);
  stroke-width: 1;
  stroke-linejoin: round;
}

.tv24-rose-cut {
  fill: rgba(246,222,154,.35);
  stroke: rgba(255,237,185,.72);
  stroke-width: .8;
  stroke-linejoin: round;
}

.tv24-center {
  fill: #05070b;
  stroke: rgba(214,170,76,.55);
  stroke-width: 1.2;
}

.tv24-compass text {
  fill: rgba(240,199,102,.84);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
}

/* schowaj stare wersje kontaktu */
.tv23-contact-compass,
.tv22-contact-compass,
.tv23-kicker:not(.tv24-kicker),
.tv22-contact-aside,
.tv23-contact-aside,
.tv-contact-aside,
#kontakt [class*="age"],
#kontakt [class*="adult"],
#kontakt [class*="eighteen"] {
  display: none !important;
}

@media (max-width: 1080px) {
  .tv24-header-inner {
    grid-template-columns: auto 1fr;
    min-height: 70px;
  }
  .tv24-user {
    display: none;
  }
  .tv24-nav {
    justify-content: flex-end;
    gap: 5px;
  }
  .tv24-nav a {
    font-size: 14px;
    padding: 0 11px;
    min-height: 38px;
  }
  .tv24-brand img,
  .tv24-brand .custom-logo {
    max-width: 160px;
    max-height: 52px;
  }
}

@media (max-width: 760px) {
  .tv24-header-inner {
    width: min(100% - 28px, 1240px);
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 0;
    justify-items: center;
  }
  .tv24-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .tv24-contact .tv-container {
    width: min(100% - 28px, 1240px);
  }
  .tv24-contact-card {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: 28px 22px;
    border-radius: 18px;
  }
  .tv24-compass-wrap {
    width: min(210px, 70vw);
    order: -1;
    opacity: .52;
  }
  .tv24-contact h2 {
    font-size: 41px;
  }
  .tv24-contact p {
    font-size: 16px;
  }
  .tv24-mail-button {
    width: 100%;
  }
  .tv24-mail-text {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 15px !important;
  }
}


/* TV v23.0 — finalna poprawka headera i kontaktu */
html { scroll-padding-top: 92px; }

body.admin-bar .tv25-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tv25-header { top: 46px; } }

/* Ukrycie poprzednich headerów / pozostałości */
.tv23-site-header,
.tv24-header,
.tv23-user-mini,
.tv24-user,
.tv24-user-symbol {
  display: none !important;
}

.tv25-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: rgba(5, 7, 11, .94);
  border-bottom: 1px solid rgba(214, 170, 76, .18);
  box-shadow: 0 12px 36px rgba(0,0,0,.32);
  backdrop-filter: blur(16px);
}

.tv25-header-inner {
  width: min(1280px, calc(100% - 44px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tv25-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  text-decoration: none !important;
}

.tv25-brand img,
.tv25-brand .custom-logo {
  display: block !important;
  width: auto !important;
  max-width: 190px !important;
  max-height: 56px !important;
  object-fit: contain !important;
}

.tv25-brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f0c766;
  border: 1px solid rgba(240,199,102,.35);
  background: radial-gradient(circle, rgba(240,199,102,.18), rgba(240,199,102,.03));
}

.tv25-brand-name {
  color: #f6efe2;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tv25-brand-name strong { color: #d6aa4c; }

.tv25-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-left: auto;
}

.tv25-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(246,239,226,.86);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.tv25-nav a:hover {
  color: #f0c766;
  background: rgba(214,170,76,.08);
  border-color: rgba(214,170,76,.16);
}

.tv25-premium-link {
  color: #160f06 !important;
  background: linear-gradient(135deg, #f2c96b, #d6aa4c) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 28px rgba(214,170,76,.18);
}

.tv25-premium-link:hover {
  color: #080704 !important;
  transform: translateY(-1px);
}

.tv25-client-link {
  color: #f0c766 !important;
  border-color: rgba(214,170,76,.23) !important;
  background: rgba(214,170,76,.055);
}

/* Kontakt */
.tv24-contact,
.tv23-contact,
.tv25-contact {
  margin: 52px 0 64px !important;
}

.tv25-contact .tv-container {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.tv25-contact-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .58fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(34px, 4.2vw, 56px);
  border-radius: 24px;
  border: 1px solid rgba(214,170,76,.29);
  background:
    radial-gradient(circle at 82% 48%, rgba(214,170,76,.10), transparent 24%),
    linear-gradient(135deg, rgba(13,16,23,.97), rgba(5,7,12,.97));
  box-shadow: 0 28px 78px rgba(0,0,0,.34);
  overflow: hidden;
  position: relative;
}

.tv25-contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03), transparent 42%, rgba(214,170,76,.032)),
    radial-gradient(circle at 84% 44%, rgba(240,199,102,.10), transparent 17%);
  pointer-events: none;
}

.tv25-contact-copy,
.tv25-compass-wrap {
  position: relative;
  z-index: 1;
}

.tv25-kicker {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  color: #f0c766;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.tv25-kicker::after {
  content: "";
  width: 68px;
  height: 2px;
  background: linear-gradient(90deg, #f0c766, rgba(240,199,102,0));
}

.tv25-contact h2 {
  margin: 0 0 16px !important;
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.1vw, 66px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
  text-shadow: 0 18px 42px rgba(0,0,0,.38);
}

.tv25-contact p {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(246,239,226,.84);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
  font-weight: 400;
}

.tv25-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.tv25-mail-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px !important;
  border-radius: 999px !important;
  color: #120d06 !important;
  background: linear-gradient(135deg, #f2c96b, #d6aa4c) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 14px 32px rgba(214,170,76,.18) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

.tv25-mail-button,
.tv25-mail-button:visited,
.tv25-mail-button span {
  color: #120d06 !important;
}

.tv25-mail-button:hover {
  transform: translateY(-1px);
  color: #080704 !important;
  box-shadow: 0 18px 36px rgba(214,170,76,.24) !important;
}

.tv25-mail-text {
  color: rgba(240,199,102,.92) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-shadow: none !important;
}

.tv25-mail-text:hover {
  color: #fff0bf !important;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

.tv25-compass-wrap {
  justify-self: center;
  width: min(220px, 78%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  opacity: .66;
  filter: drop-shadow(0 16px 36px rgba(214,170,76,.10));
}

.tv25-compass {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tv25-compass-glow {
  fill: rgba(214,170,76,.055);
  stroke: none;
}

.tv25-ring {
  fill: none;
  stroke: rgba(214,170,76,.58);
  stroke-width: 1.35;
}

.tv25-rose-main {
  fill: rgba(214,170,76,.66);
  stroke: rgba(255,237,185,.55);
  stroke-width: .9;
  stroke-linejoin: round;
}

.tv25-rose-cut {
  fill: rgba(246,222,154,.28);
  stroke: rgba(255,237,185,.58);
  stroke-width: .7;
  stroke-linejoin: round;
}

.tv25-center {
  fill: #05070b;
  stroke: rgba(214,170,76,.48);
  stroke-width: 1.1;
}

.tv25-compass text {
  fill: rgba(240,199,102,.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
}

/* schowaj stare elementy kontaktu */
.tv23-contact-compass,
.tv22-contact-compass,
.tv24-compass-wrap,
.tv23-kicker,
.tv24-kicker,
.tv22-contact-aside,
.tv23-contact-aside,
.tv24-responsible-link,
.tv25-responsible-link,
.tv-contact-aside,
#kontakt [class*="age"],
#kontakt [class*="adult"],
#kontakt [class*="eighteen"],
#kontakt a[href*="odpowiedzialna-gra"] {
  display: none !important;
}

@media (max-width: 980px) {
  .tv25-header-inner {
    min-height: 70px;
  }
  .tv25-nav {
    gap: 4px;
  }
  .tv25-nav a {
    font-size: 14px;
    padding: 0 10px;
    min-height: 38px;
  }
  .tv25-brand img,
  .tv25-brand .custom-logo {
    max-width: 160px !important;
    max-height: 52px !important;
  }
}

@media (max-width: 760px) {
  .tv25-header-inner {
    width: min(100% - 28px, 1280px);
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  .tv25-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .tv25-brand img,
  .tv25-brand .custom-logo {
    max-width: 148px !important;
    max-height: 48px !important;
  }
  .tv25-contact .tv-container {
    width: min(100% - 28px, 1240px);
  }
  .tv25-contact-card {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: 28px 22px;
    border-radius: 18px;
  }
  .tv25-compass-wrap {
    width: min(160px, 54vw);
    order: -1;
    opacity: .46;
  }
  .tv25-contact h2 {
    font-size: 41px;
  }
  .tv25-contact p {
    font-size: 16px;
  }
  .tv25-contact-actions {
    gap: 12px;
  }
  .tv25-mail-button {
    width: 100%;
  }
  .tv25-mail-text {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 15px !important;
  }
}


/* TV v23.1 contact polish */
.tv25-mail-button,
.tv24-mail-button{
  color:#111111 !important;
  font-weight:800 !important;
  text-shadow:none !important;
}

.tv25-mail-button *,
.tv24-mail-button *{
  color:#111111 !important;
}

.tv25-mail-text,
.tv24-mail-text{
  display:none !important;
}

/* smaller compass */
.tv25-compass-wrap,
.tv24-compass-wrap{
  width:min(170px,60%) !important;
  opacity:.55 !important;
}

/* remove responsible game link in contact */
.tv25-responsible-link,
.tv24-responsible-link,
#kontakt a[href*="odpowiedzialna-gra"]{
  display:none !important;
}

/* fix logo position */
.tv25-header-inner,
.tv24-header-inner{
  justify-content:space-between !important;
}

.tv25-brand,
.tv24-brand{
  margin-right:auto !important;
}

/* hide greeting row if exists */
.tv23-user-mini,
.tv24-user,
.tv25-user,
[class*="user-mini"]{
  display:none !important;
}


/* TV v23.2 — poprawa kontrastu przycisku e-mail w kontakcie */
#kontakt .tv25-mail-button,
#kontakt .tv24-mail-button,
.tv25-contact .tv25-mail-button,
.tv24-contact .tv24-mail-button,
a.tv25-mail-button,
a.tv24-mail-button {
  background: linear-gradient(135deg, rgba(8, 10, 15, .98), rgba(18, 22, 31, .98)) !important;
  color: #f0c766 !important;
  border: 1px solid rgba(240, 199, 102, .58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 32px rgba(0,0,0,.28),
    0 0 0 1px rgba(214,170,76,.08) !important;
  text-shadow: none !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}

#kontakt .tv25-mail-button:visited,
#kontakt .tv24-mail-button:visited,
#kontakt .tv25-mail-button *,
#kontakt .tv24-mail-button *,
.tv25-contact .tv25-mail-button *,
.tv24-contact .tv24-mail-button * {
  color: #f0c766 !important;
}

#kontakt .tv25-mail-button:hover,
#kontakt .tv24-mail-button:hover,
.tv25-contact .tv25-mail-button:hover,
.tv24-contact .tv24-mail-button:hover {
  background: linear-gradient(135deg, rgba(18, 22, 31, 1), rgba(28, 34, 46, 1)) !important;
  color: #ffe7a6 !important;
  border-color: rgba(255, 231, 166, .78) !important;
  transform: translateY(-1px);
}

#kontakt .tv25-mail-button:hover *,
#kontakt .tv24-mail-button:hover * {
  color: #ffe7a6 !important;
}


/* TV v23.3 — ujednolicenie frontpage + logo po lewej */

/* ukryj wszystkie poprzednie wersje headera, jeśli zostały w CSS/HTML */
.tv23-site-header,
.tv24-header,
.tv25-header {
  display: none !important;
}

.tv26-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  background: rgba(5, 7, 11, .94);
  border-bottom: 1px solid rgba(214, 170, 76, .18);
  box-shadow: 0 12px 36px rgba(0,0,0,.30);
  backdrop-filter: blur(16px);
}

body.admin-bar .tv26-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tv26-header { top: 46px; } }

.tv26-header-inner {
  width: min(1280px, calc(100% - 44px));
  min-height: 74px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px;
}

.tv26-brand {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin-right: auto !important;
  text-align: left !important;
}

.tv26-brand .custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  margin: 0 !important;
}

.tv26-brand img,
.tv26-brand .custom-logo {
  display: block !important;
  width: auto !important;
  max-width: 185px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

.tv26-brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.tv26-brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #f0c766;
  border: 1px solid rgba(240,199,102,.35);
  background: radial-gradient(circle, rgba(240,199,102,.18), rgba(240,199,102,.03));
}

.tv26-brand-name {
  color: #f6efe2;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.tv26-brand-name strong { color: #d6aa4c; }

.tv26-nav {
  flex: 0 1 auto !important;
  margin-left: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px;
  text-align: right !important;
}

.tv26-nav a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  color: rgba(246,239,226,.86) !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
  white-space: nowrap;
}

.tv26-nav a:hover {
  color: #f0c766 !important;
  background: rgba(214,170,76,.08);
  border-color: rgba(214,170,76,.16);
}

.tv26-premium-link {
  color: #130e07 !important;
  background: linear-gradient(135deg, #f2c96b, #d6aa4c) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 12px 28px rgba(214,170,76,.18);
}

.tv26-premium-link:hover {
  color: #080704 !important;
  transform: translateY(-1px);
}

.tv26-client-link {
  color: #f0c766 !important;
  border-color: rgba(214,170,76,.23) !important;
  background: rgba(214,170,76,.055);
}

/* Globalne ujednolicenie frontpage */
.front-page section,
.home section,
.tv22-section,
.tv25-contact {
  scroll-margin-top: 96px;
}

.front-page .wrap,
.home .wrap,
.tv-container {
  width: min(1240px, calc(100% - 44px));
  margin-left: auto;
  margin-right: auto;
}

.tv22-section,
.section,
.tv25-contact {
  margin-top: 54px !important;
  margin-bottom: 54px !important;
}

.tv22-hero {
  padding-top: clamp(50px, 7vw, 92px) !important;
  padding-bottom: 42px !important;
}

.section-kicker,
.tv25-kicker {
  color: #f0c766 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .20em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}

.hero-title,
.front-page h1 {
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  letter-spacing: -.045em !important;
  line-height: .98 !important;
}

.hero-title .accent {
  display: block;
  color: #f0c766 !important;
}

.front-page h2,
.tv22-section h2,
.tv25-contact h2,
.tv43-premium-copy h2 {
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 700 !important;
  letter-spacing: -.038em !important;
  line-height: 1.02 !important;
}

.hero-lead,
.tv22-section-note,
.tv25-contact p,
.tv43-premium-copy p,
.tv22-chart-top p,
.preview-excerpt {
  color: rgba(246,239,226,.78) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.tv22-heading-simple,
.section-heading {
  margin-bottom: 22px !important;
}

.btn,
.tv22-archive-btn,
.tv43-small-link {
  text-decoration: none !important;
}

.btn.btn-primary,
.tv43-premium-action .btn-primary,
.tv25-mail-button {
  border-radius: 999px !important;
}

/* Karty i sekcje w jednym stylu */
.tv22-hero-card,
.score-box,
.tv22-chart-card,
.tip-card,
.tv43-premium-band,
.tv25-contact-card,
.results-wrap {
  border-color: rgba(214,170,76,.20) !important;
  box-shadow: 0 22px 60px rgba(0,0,0,.24) !important;
}

/* Kontakt — przycisk e-mail wyróżniony i czytelny */
.tv25-mail-button,
#kontakt .tv25-mail-button {
  background: linear-gradient(135deg, rgba(8, 10, 15, .98), rgba(18, 22, 31, .98)) !important;
  color: #f0c766 !important;
  border: 1px solid rgba(240, 199, 102, .68) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 32px rgba(0,0,0,.28) !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  text-shadow: none !important;
}

.tv25-mail-button:visited,
.tv25-mail-button * {
  color: #f0c766 !important;
}

.tv25-mail-button:hover {
  color: #ffe7a6 !important;
  border-color: rgba(255,231,166,.86) !important;
  background: linear-gradient(135deg, rgba(18, 22, 31, 1), rgba(28, 34, 46, 1)) !important;
}

.tv25-mail-text,
.tv24-mail-text,
.tv25-responsible-link,
.tv24-responsible-link,
#kontakt a[href*="odpowiedzialna-gra"] {
  display: none !important;
}

.tv25-compass-wrap {
  width: min(175px, 60%) !important;
  opacity: .50 !important;
}

/* schowaj stare powitania z headera, jeśli pochodzą z wcześniejszego CSS/HTML */
.tv23-user-mini,
.tv24-user,
.tv25-user,
[class*="user-mini"],
[class*="user-symbol"] {
  display: none !important;
}

@media (max-width: 980px) {
  .tv26-header-inner {
    width: min(100% - 28px, 1280px);
    min-height: 70px;
    gap: 16px;
  }

  .tv26-brand img,
  .tv26-brand .custom-logo {
    max-width: 155px !important;
    max-height: 50px !important;
  }

  .tv26-nav {
    gap: 4px;
  }

  .tv26-nav a {
    min-height: 38px;
    padding: 0 10px;
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .tv26-header-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding: 12px 0;
  }

  .tv26-brand {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .tv26-nav {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap;
  }

  .front-page .wrap,
  .home .wrap,
  .tv-container,
  .tv25-contact .tv-container {
    width: min(100% - 28px, 1240px) !important;
  }

  .tv22-section,
  .section,
  .tv25-contact {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }

  .tv25-compass-wrap {
    width: min(145px, 50vw) !important;
    opacity: .42 !important;
  }
}


/* TV v23.4 — mniejszy odstęp hero + czytelny Premium w headerze */

/* mniejszy odstęp między headerem a pierwszą sekcją */
.tv22-hero,
.hero,
.front-page .hero,
.front-page section:first-of-type {
  padding-top: clamp(24px, 3.4vw, 48px) !important;
  margin-top: 0 !important;
}

body.home .site-main,
body.home main,
body.front-page .site-main,
body.front-page main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* złoty przycisk Premium w headerze — ciemny tekst */
.tv26-premium-link,
.tv25-premium-link,
.tv24-premium-link,
.tv23-nav-premium,
.tv26-nav a.tv26-premium-link,
.tv25-nav a.tv25-premium-link,
.tv24-main-nav .tv24-premium-link,
.site-header nav a[href*="/premium"],
.menu a[href*="/premium"] {
  color: #120d06 !important;
  text-shadow: none !important;
}

.tv26-premium-link *,
.tv25-premium-link *,
.tv24-premium-link *,
.tv23-nav-premium *,
.site-header nav a[href*="/premium"] *,
.menu a[href*="/premium"] * {
  color: #120d06 !important;
  text-shadow: none !important;
}

.tv26-premium-link:hover,
.tv25-premium-link:hover,
.tv24-premium-link:hover,
.tv23-nav-premium:hover,
.site-header nav a[href*="/premium"]:hover,
.menu a[href*="/premium"]:hover {
  color: #080704 !important;
}


/* TV v23.5 */

/* Ujednolicenie wszystkich nazw sekcji */
.section-kicker,
.tv25-kicker,
.tv24-kicker,
.tv22-section .section-kicker,
.tv43-premium-band .section-kicker,
.tv22-heading-simple .section-kicker {
    color:#f0c766 !important;
    font-size:13px !important;
    font-weight:800 !important;
    letter-spacing:.22em !important;
    text-transform:uppercase !important;
    line-height:1 !important;
    display:inline-flex !important;
    flex-direction:column !important;
    gap:12px !important;
    margin-bottom:22px !important;
}

.section-kicker::after,
.tv25-kicker::after,
.tv24-kicker::after{
    content:"" !important;
    width:68px !important;
    height:2px !important;
    background:linear-gradient(90deg,#f0c766,rgba(240,199,102,0)) !important;
}

/* Mobile - usuń kompas w kontakcie */
@media (max-width:760px){

    .tv25-compass-wrap,
    .tv24-compass-wrap,
    .tv23-contact-compass,
    .tv22-contact-compass{
        display:none !important;
    }

    .tv25-contact-card,
    .tv24-contact-card{
        grid-template-columns:1fr !important;
    }
}


/* TV v23.6 — nazwy sekcji bez badge, jak Kontakt */
.section-kicker,
.tv25-kicker,
.tv24-kicker,
.tv22-section .section-kicker,
.tv43-premium-band .section-kicker,
.tv22-heading-simple .section-kicker,
.tv22-chart-top .section-kicker,
.tv22-hero .section-kicker {
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:12px !important;
    margin:0 0 22px 0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#f0c766 !important;
    font-size:13px !important;
    font-weight:800 !important;
    letter-spacing:.22em !important;
    text-transform:uppercase !important;
    line-height:1 !important;
}

.section-kicker::before,
.tv25-kicker::before,
.tv24-kicker::before,
.tv22-section .section-kicker::before,
.tv43-premium-band .section-kicker::before,
.tv22-heading-simple .section-kicker::before,
.tv22-chart-top .section-kicker::before,
.tv22-hero .section-kicker::before {
    display:none !important;
    content:none !important;
}

.section-kicker::after,
.tv25-kicker::after,
.tv24-kicker::after,
.tv22-section .section-kicker::after,
.tv43-premium-band .section-kicker::after,
.tv22-heading-simple .section-kicker::after,
.tv22-chart-top .section-kicker::after,
.tv22-hero .section-kicker::after {
    content:"" !important;
    display:block !important;
    width:68px !important;
    height:2px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:linear-gradient(90deg,#f0c766,rgba(240,199,102,0)) !important;
}

/* Gdy starszy CSS robił z nazw sekcji pigułki/badge */
.section-kicker span,
.tv25-kicker span,
.tv24-kicker span {
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
}

/* Mobile - kontakt bez kompasu */
@media (max-width:760px){
    .tv25-compass-wrap,
    .tv24-compass-wrap,
    .tv23-contact-compass,
    .tv22-contact-compass{
        display:none !important;
    }
}


/* TV v23.7 — tabela aktywnych typów na mobile + czas WordPress */

/* Desktop zostaje tabelą. Mobile zamienia w karty bez przewijania poziomego. */
@media (max-width: 760px) {
  #najblizsze-bitwy .tv22-table-wrap,
  #najblizsze-bitwy .results-wrap {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #najblizsze-bitwy .tv22-results-table,
  #najblizsze-bitwy .results-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  #najblizsze-bitwy .tv22-results-table thead,
  #najblizsze-bitwy .results-table thead {
    display: none !important;
  }

  #najblizsze-bitwy .tv22-results-table tbody,
  #najblizsze-bitwy .results-table tbody {
    display: grid !important;
    gap: 14px !important;
    width: 100% !important;
  }

  #najblizsze-bitwy .tv22-results-table tr,
  #najblizsze-bitwy .results-table tr {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 16px 16px 14px !important;
    border: 1px solid rgba(214,170,76,.20) !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg, rgba(13,16,23,.96), rgba(5,7,12,.96)) !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.22) !important;
  }

  #najblizsze-bitwy .tv22-results-table td,
  #najblizsze-bitwy .results-table td {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: start !important;
    width: 100% !important;
    padding: 9px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    color: rgba(246,239,226,.86) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  #najblizsze-bitwy .tv22-results-table td:last-child,
  #najblizsze-bitwy .results-table td:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #najblizsze-bitwy .tv22-results-table td::before,
  #najblizsze-bitwy .results-table td::before {
    content: attr(data-label);
    color: rgba(240,199,102,.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    line-height: 1.25;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"],
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"] {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding-top: 0 !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"]::before,
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"]::before {
    display: none !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"] a,
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"] a {
    color: #fff7e8 !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  #najblizsze-bitwy .table-access-badge,
  #najblizsze-bitwy .tv22-lock {
    width: fit-content;
  }

  #najblizsze-bitwy tr td[colspan] {
    display: block !important;
    text-align: center !important;
  }

  #najblizsze-bitwy tr td[colspan]::before {
    display: none !important;
  }
}


/* TV v23.8 — kompaktowe karty aktywnych typów na mobile */
@media (max-width: 760px) {
  #najblizsze-bitwy,
  #najblizsze-bitwy.tv22-section,
  .tv22-section-first {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    margin-bottom: 48px !important;
    padding-bottom: 10px !important;
    clear: both !important;
  }

  #najblizsze-bitwy .wrap,
  #najblizsze-bitwy .tv-container,
  #najblizsze-bitwy .results-wrap,
  #najblizsze-bitwy .tv22-table-wrap {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }

  #najblizsze-bitwy .tv22-results-table tbody,
  #najblizsze-bitwy .results-table tbody {
    display: grid !important;
    gap: 12px !important;
  }

  #najblizsze-bitwy .tv22-results-table tr,
  #najblizsze-bitwy .results-table tr {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 16px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 16px !important;
  }

  /* Na mobile zostają tylko: data, wydarzenie, dostęp */
  #najblizsze-bitwy .tv22-results-table td,
  #najblizsze-bitwy .results-table td {
    display: none !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Data wydarzenia"],
  #najblizsze-bitwy .results-table td[data-label="Data wydarzenia"],
  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"],
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"],
  #najblizsze-bitwy .tv22-results-table td[data-label="Dostęp"],
  #najblizsze-bitwy .results-table td[data-label="Dostęp"] {
    display: grid !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"],
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"] {
    order: 1;
    grid-template-columns: 1fr !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Data wydarzenia"],
  #najblizsze-bitwy .results-table td[data-label="Data wydarzenia"] {
    order: 2;
    grid-template-columns: auto 1fr !important;
    gap: 10px !important;
    color: rgba(246,239,226,.74) !important;
    font-size: 13px !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Dostęp"],
  #najblizsze-bitwy .results-table td[data-label="Dostęp"] {
    order: 3;
    grid-template-columns: auto 1fr !important;
    gap: 10px !important;
    margin-top: 2px !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"]::before,
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"]::before {
    display: none !important;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Data wydarzenia"]::before,
  #najblizsze-bitwy .results-table td[data-label="Data wydarzenia"]::before,
  #najblizsze-bitwy .tv22-results-table td[data-label="Dostęp"]::before,
  #najblizsze-bitwy .results-table td[data-label="Dostęp"]::before {
    display: inline !important;
    content: attr(data-label);
    color: rgba(240,199,102,.78);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.35;
  }

  #najblizsze-bitwy .tv22-results-table td[data-label="Wydarzenie"] a,
  #najblizsze-bitwy .results-table td[data-label="Wydarzenie"] a {
    font-size: 18px !important;
    line-height: 1.18 !important;
  }

  #najblizsze-bitwy + section,
  #statystyki {
    clear: both !important;
    margin-top: 42px !important;
  }
}


/* TV v23.9 — wyrównanie badge Premium/Darmowy na mobile */
@media (max-width:760px){

  #najblizsze-bitwy td[data-label="Dostęp"]{
      display:flex !important;
      align-items:center !important;
      gap:8px !important;
      min-height:auto !important;
  }

  #najblizsze-bitwy td[data-label="Dostęp"]::before{
      margin:0 !important;
      line-height:1 !important;
      display:inline-block !important;
  }

  #najblizsze-bitwy .table-access-badge{
      display:inline-flex !important;
      align-items:center !important;
      justify-content:center !important;
      height:24px !important;
      min-height:24px !important;
      padding:0 10px !important;
      margin:0 !important;
      border-radius:999px !important;
      font-size:11px !important;
      line-height:1 !important;
      font-weight:700 !important;
      vertical-align:middle !important;
      transform:none !important;
  }

  #najblizsze-bitwy .table-access-badge.free,
  #najblizsze-bitwy .table-access-badge.darmowy{
      align-self:center !important;
  }

  #najblizsze-bitwy .table-access-badge.premium{
      align-self:center !important;
  }
}


/* TV v24.0 — strona /analizy/ jako archiwum analiz */
.tv24-archive-page {
  background: transparent;
}

.tv24-archive-hero {
  padding: clamp(32px, 5vw, 68px) 0 22px;
}

.tv24-archive-hero h1 {
  margin: 0 0 14px;
  color: #fff7e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 700;
}

.tv24-archive-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(246,239,226,.78);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
}

.tv24-archive-list {
  padding: 24px 0 76px;
}

.tv24-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tv24-analysis-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(214,170,76,.20);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13,16,23,.96), rgba(5,7,12,.96));
  box-shadow: 0 20px 54px rgba(0,0,0,.24);
}

.tv24-card-top,
.tv24-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tv24-date {
  color: rgba(240,199,102,.84);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

.tv24-analysis-card h2 {
  margin: 18px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.tv24-analysis-card h2 a {
  color: #fff7e8;
  text-decoration: none;
}

.tv24-analysis-card h2 a:hover {
  color: #f0c766;
}

.tv24-card-meta {
  justify-content: flex-start;
  color: rgba(246,239,226,.74);
  font-size: 13px;
  margin-bottom: 14px;
}

.tv24-analysis-card p {
  color: rgba(246,239,226,.72);
  line-height: 1.55;
  margin: 0 0 18px;
}

.tv24-read-more {
  width: fit-content;
  margin-top: auto;
  color: #f0c766;
  font-weight: 700;
  text-decoration: none;
}

.tv24-read-more:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.tv24-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.tv24-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(214,170,76,.20);
  color: rgba(246,239,226,.84);
  text-decoration: none;
}

.tv24-pagination .current,
.tv24-pagination .page-numbers:hover {
  background: rgba(214,170,76,.12);
  color: #f0c766;
}

.tv24-empty-archive {
  padding: 34px;
  border-radius: 20px;
  border: 1px solid rgba(214,170,76,.20);
  background: rgba(13,16,23,.78);
  text-align: center;
}

@media (max-width: 980px) {
  .tv24-analysis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tv24-analysis-grid {
    grid-template-columns: 1fr;
  }

  .tv24-analysis-card {
    min-height: 0;
  }
}


/* TV v24.1 — archiwum tylko rozliczonych analiz */
.tv24-archive-hero p {
  max-width: 780px;
}

.tv24-analysis-card .tv24-settled-note {
  color: rgba(246,239,226,.76);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.tv24-card-meta {
  align-items: center;
  gap: 9px;
}

.tv24-status-pill,
.tv24-odds-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}

.tv24-odds-pill {
  color: rgba(246,239,226,.82);
  border: 1px solid rgba(246,239,226,.13);
  background: rgba(255,255,255,.045);
}

.tv24-status-pill.tv24-status-won {
  color: #bff5cf;
  border: 1px solid rgba(64, 201, 112, .42);
  background: rgba(64, 201, 112, .13);
}

.tv24-status-pill.tv24-status-lost {
  color: #ffb9b9;
  border: 1px solid rgba(232, 82, 82, .42);
  background: rgba(232, 82, 82, .13);
}

.tv24-status-pill.tv24-status-void,
.tv24-status-pill.tv24-status-cancelled,
.tv24-status-pill.tv24-status-settled {
  color: #d8dce6;
  border: 1px solid rgba(216, 220, 230, .25);
  background: rgba(216, 220, 230, .08);
}

.tv24-analysis-card.tv24-status-won {
  border-color: rgba(64, 201, 112, .24);
}

.tv24-analysis-card.tv24-status-lost {
  border-color: rgba(232, 82, 82, .24);
}

.tv24-analysis-card.tv24-status-void,
.tv24-analysis-card.tv24-status-cancelled {
  border-color: rgba(216, 220, 230, .18);
}

@media (max-width: 640px) {
  .tv24-card-meta {
    justify-content: flex-start;
  }

  .tv24-status-pill,
  .tv24-odds-pill {
    min-height: 26px;
    font-size: 11px;
  }
}


/* TV v24.2 — klikalne karty archiwum bez opisów */
.tv24-analysis-card {
  cursor: pointer;
}

.tv24-analysis-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240,199,102,.38) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.30) !important;
}

.tv24-analysis-card,
.tv24-analysis-card * {
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.tv24-analysis-card .tv24-settled-note,
.tv24-analysis-card .tv24-read-more {
  display: none !important;
}

.tv24-analysis-card h2 {
  margin-bottom: 16px !important;
}

.tv24-analysis-card h2 a {
  pointer-events: none;
}

.tv24-analysis-card .tv24-card-meta {
  margin-bottom: 0 !important;
}


/* TV v24.3 — dopracowanie sekcji wykresu wyników */
.tv22-stats-layout {
  align-items: stretch !important;
}

.tv22-chart-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214,170,76,.22) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(240,199,102,.10), transparent 30%),
    linear-gradient(135deg, rgba(13,16,23,.98), rgba(5,7,12,.98)) !important;
  box-shadow: 0 26px 76px rgba(0,0,0,.30) !important;
}

.tv22-chart-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(214,170,76,.075), transparent 26%);
  pointer-events: none;
}

.tv22-chart-top {
  position: relative;
  z-index: 1;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(255,255,255,.065);
}

.tv22-chart-top strong {
  display: block;
  color: #fff7e8 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.5vw, 34px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.035em;
  font-weight: 700 !important;
}

.tv22-chart-top p {
  max-width: 520px;
  margin: 8px 0 0 !important;
  color: rgba(246,239,226,.66) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* usunięcie badge 30 dni, jeśli został w HTML/cache */
.tv22-chart-top > span {
  display: none !important;
}

.tv22-chart {
  position: relative;
  z-index: 1;
  min-height: 292px !important;
  padding: 8px 2px 2px !important;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}

.tv22-chart svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 260px;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.18));
}

/* Lepszy wygląd elementów SVG bez ruszania JS/tooltipów */
.tv22-chart svg path {
  vector-effect: non-scaling-stroke;
}

.tv22-chart svg path[stroke],
.tv22-chart svg polyline,
.tv22-chart svg line[stroke] {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tv22-chart svg text {
  fill: rgba(246,239,226,.58) !important;
  font-size: 11px;
  font-weight: 600;
}

.tv22-chart-tooltip,
.tv22-tooltip,
[class*="chart-tooltip"] {
  background: rgba(5,7,12,.96) !important;
  border: 1px solid rgba(240,199,102,.30) !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.38) !important;
  color: #fff7e8 !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
}

.tv22-section-note {
  max-width: 760px;
}

/* karty statystyk obok wykresu bardziej spójne */
.tv22-score-grid .score-box,
.score-grid .score-box {
  border: 1px solid rgba(214,170,76,.18) !important;
  background: linear-gradient(135deg, rgba(13,16,23,.92), rgba(5,7,12,.92)) !important;
}

@media (max-width: 760px) {
  .tv22-chart-card {
    border-radius: 18px !important;
  }

  .tv22-chart-top {
    margin-bottom: 14px !important;
    padding-bottom: 13px !important;
  }

  .tv22-chart-top strong {
    font-size: 25px !important;
  }

  .tv22-chart-top p {
    font-size: 13px !important;
  }

  .tv22-chart {
    min-height: 230px !important;
  }

  .tv22-chart svg {
    min-height: 220px;
  }
}


/* TV v24.4 — archiwum na stronie głównej jak /analizy/ */
.tv24-home-archive-heading {
  display: flex !important;
  align-items: end !important;
  justify-content: space-between !important;
  gap: 22px !important;
}

.tv24-home-analysis-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tv24-home-analysis-grid .tv24-analysis-card {
  min-height: 220px;
  cursor: pointer;
}

.tv24-home-analysis-grid .tv24-analysis-card h2 {
  font-size: 23px;
}

.tv24-home-analysis-grid .tv24-analysis-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240,199,102,.38) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.30) !important;
}

.tv24-home-analysis-grid .tv24-analysis-card h2 a {
  pointer-events: none;
}

@media (max-width: 980px) {
  .tv24-home-analysis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tv24-home-archive-heading {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 640px) {
  .tv24-home-analysis-grid {
    grid-template-columns: 1fr;
  }

  .tv24-home-analysis-grid .tv24-analysis-card {
    min-height: 0;
  }
}
