/* TO JEST WIDZEW! Premium v8.2 – bezpieczna nakladka na oryginalny CSS v7.x.
   Admin i backend pozostaja bez zmian. Wszystkie dane w szablonach sa prawdziwe. */
:root{--tjw-red:#c4001f;--tjw-deep-red:#a4071d;--tjw-ink:#101114;--tjw-paper:#fff;--tjw-line:#e7e7e9;--tjw-muted:#656b74;--tjw-card-shadow:0 8px 26px rgba(14,16,20,.08)}
body.tjw-premium-v82{background:#0e1014;color:var(--tjw-ink);font-family:Inter,Arial,sans-serif}
body.tjw-premium-v82::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,9,13,.92),rgba(7,9,13,.79) 45%,rgba(7,9,13,.91)),var(--tjw-backdrop,linear-gradient(120deg,#111,#35121b));background-size:cover;background-position:center;filter:saturate(.85)}
body.tjw-premium-v82 .container{width:min(1450px,calc(100% - 28px))}
body.tjw-premium-v82 .top-banner{display:none}
body.tjw-premium-v82 .topline{display:none}
body.tjw-premium-v82 .site-header{position:sticky;top:0;z-index:25;background:#090a0d;border-bottom:3px solid var(--tjw-red);box-shadow:0 9px 22px rgba(0,0,0,.3)}
body.tjw-premium-v82 .header-inner{display:flex;gap:18px;min-height:67px;justify-content:space-between}
body.tjw-premium-v82 .tjw-wordmark{display:flex;flex-direction:column;flex-shrink:0;margin-right:auto;color:#fff;line-height:1}
body.tjw-premium-v82 .tjw-wordmark strong{font:800 29px/.9 'Barlow Condensed',Impact,sans-serif;white-space:nowrap;letter-spacing:.012em}
body.tjw-premium-v82 .tjw-wordmark strong span{color:#f11934}
body.tjw-premium-v82 .tjw-wordmark small{font:700 8px/1.2 Inter,Arial,sans-serif;letter-spacing:.13em;margin-top:4px;color:#c7c7c7;text-transform:uppercase}
body.tjw-premium-v82 .nav-only-header .main-nav{margin-left:0;gap:17px}
body.tjw-premium-v82 .main-nav a{color:#f6f6f7;font:700 16px/1 'Barlow Condensed',Arial,sans-serif;text-transform:uppercase;white-space:nowrap}
body.tjw-premium-v82 .main-nav a:hover{color:#fa3750}
body.tjw-premium-v82 .main-nav a::after{background:var(--tjw-red)}
body.tjw-premium-v82 .search{background:#1b1c20;border:1px solid #37383f;border-radius:7px}
body.tjw-premium-v82 .search input{color:#fff;width:105px;font-size:12px}
body.tjw-premium-v82 .search input::placeholder{color:#aaa}
body.tjw-premium-v82 .search button{color:#fff;cursor:pointer}
body.tjw-premium-v82 .page-grid{background:#fff;box-shadow:0 14px 34px rgba(0,0,0,.18);grid-template-columns:minmax(0,1fr) 328px;gap:24px;padding:20px 18px 26px;margin-top:0;margin-bottom:0}
body.tjw-premium-v82 .content{min-width:0}
body.tjw-premium-v82 .category{background:var(--tjw-red);color:#fff;font:800 11px 'Barlow Condensed',Arial,sans-serif;letter-spacing:.06em;padding:5px 8px;border-radius:2px;text-transform:uppercase}
body.tjw-premium-v82 .section-heading{margin:23px 0 14px;border-bottom:2px solid #111;padding-bottom:9px}
body.tjw-premium-v82 .section-heading h1,body.tjw-premium-v82 .section-heading h2{font:800 29px 'Barlow Condensed',Arial,sans-serif;text-transform:uppercase;margin:0}
body.tjw-premium-v82 .section-heading span{font-size:11px;color:#71747b}
body.tjw-premium-v82 .meta{color:#92979f;font-size:11px;line-height:1.4}
body.tjw-premium-v82 a:focus-visible,body.tjw-premium-v82 button:focus-visible{outline:3px solid #e91e3b;outline-offset:3px}

/* Glowne newsy: glowny duzy panel i cztery mniejsze newsy */
.tjw-lead-stage{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.9fr);gap:12px;min-height:484px}
.tjw-lead-article{background:#16171b;position:relative;min-height:484px;overflow:hidden;color:#fff;border-radius:5px}
.tjw-lead-photo{display:block;position:absolute;inset:0;background-size:cover;background-position:center}
.tjw-lead-article::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,transparent 15%,rgba(0,0,0,.25) 40%,rgba(0,0,0,.95) 100%)}
.tjw-lead-shade{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:28px 25px 22px}
.tjw-lead-shade h1{font:800 clamp(29px,3.3vw,48px)/.97 'Barlow Condensed',Arial,sans-serif;margin:12px 0;color:#fff;text-wrap:balance}
.tjw-lead-shade p{font:400 13px/1.55 Inter,Arial,sans-serif;color:#e2e3e6;max-height:64px;overflow:hidden}
.tjw-lead-shade .meta{color:#d7d8de}
.tjw-primary-action{display:inline-flex;gap:11px;align-items:center;justify-content:center;background:var(--tjw-red);padding:11px 14px;font-size:11px;font-weight:800;border-radius:3px;margin-top:4px;color:#fff}
.tjw-lead-side{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:9px;background:#111216;min-width:0;padding:9px;border-radius:5px}
.tjw-small-news{display:grid;grid-template-columns:112px minmax(0,1fr);gap:10px;min-width:0;align-items:stretch;border-bottom:1px solid #34353a;padding-bottom:5px}
.tjw-small-news:last-child{border-bottom:none;padding-bottom:0}
.tjw-small-photo{background-color:#2e3137;background-position:center;background-size:cover;display:block;min-height:99px;border-radius:3px}
.tjw-small-news>div{min-width:0}
.tjw-small-news h2{font:800 18px/1.04 'Barlow Condensed',Arial,sans-serif;color:#fff;margin:7px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tjw-small-news .meta{color:#b8bbc3;font-size:10px}
.tjw-small-news .category{font-size:10px;padding:4px 5px}
.tjw-no-photo{background:linear-gradient(135deg,#17191f,#911227 70%,#e91534)}
.tjw-home-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}
.tjw-home-panel{min-width:0;border:1px solid #dedfe2;border-radius:5px;overflow:hidden;background:#fff}
.tjw-home-panel h2{margin:0;background:#151619;color:#fff;padding:9px 10px;font:800 16px/1 'Barlow Condensed',Arial,sans-serif}
.tjw-panel-body{padding:10px 12px;font-size:11px;min-height:130px}
.tjw-panel-body small{display:block;color:#747983;font-size:10px;text-align:center;margin:4px 0 16px}
.tjw-panel-match{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;text-align:center;font-weight:800;font-size:12px}
.tjw-panel-match strong{color:var(--tjw-red);font-size:18px;line-height:1}
.tjw-panel-match-with-crests{gap:18px;margin:4px 0 2px}
.tjw-next-match-layout .tjw-panel-club{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-width:0}
.tjw-panel-team-name{display:block;font-weight:800;font-size:12px;line-height:1.25;text-align:center;max-width:120px;text-wrap:balance}
.tjw-home-crest-box,.tjw-mini-crest-box{position:relative;display:grid;place-items:center;flex-shrink:0}
.tjw-home-crest-box{width:92px;height:92px}
.tjw-home-crest{width:92px;height:92px;object-fit:contain;display:block}
.tjw-home-crest-fallback,.tjw-mini-crest-fallback{display:none;place-items:center;background:#f3f4f7;color:#b10622;border:1px solid #e0e2e7;border-radius:50%;font:800 18px/1 'Barlow Condensed',Arial,sans-serif}
.tjw-home-crest-fallback{width:92px;height:92px;font-size:34px}
.tjw-panel-body>a{display:block;margin-top:14px;background:var(--tjw-red);padding:10px 8px;color:white;font-size:10px;font-weight:800;text-align:center;border-radius:2px}
.tjw-mini-table{display:grid;align-content:start;gap:3px}
.tjw-mini-table-row{display:grid;grid-template-columns:24px minmax(0,1fr) 34px;gap:8px;padding:7px 5px;border-bottom:1px solid #eee;font-size:12px;align-items:center}
.tjw-mini-team-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tjw-mini-table-row strong{text-align:right}.tjw-mini-table-row.tjw-widzew-row{background:#fff0f3;color:#a90020;font-weight:800}
.tjw-mini-results>div{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:12px;padding:10px 0;border-bottom:1px solid #eee;text-align:center;font-size:11px}
.tjw-mini-result-row{min-height:126px}
.tjw-mini-result-team{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;min-width:0}
.tjw-mini-result-team-name{display:block;text-align:center;line-height:1.25;font-size:12px;font-weight:700;max-width:115px;text-wrap:balance}
.tjw-mini-crest-box{width:78px;height:78px}
.tjw-mini-crest{width:78px;height:78px;object-fit:contain;display:block}
.tjw-mini-crest-fallback{width:78px;height:78px;font-size:28px}
.tjw-mini-result-away .tjw-mini-crest-box,.tjw-mini-result-away .tjw-mini-result-team-name{order:initial}
.tjw-mini-result-score{display:flex;align-items:center;justify-content:center;min-height:78px;color:var(--tjw-red)!important;font-size:28px;line-height:1}
.tjw-mini-results p{color:#737780;font-size:11px}
body.tjw-premium-v82 .news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.tjw-premium-v82 .news-card{overflow:hidden;background:#fff;border:1px solid #e6e6e6;border-radius:4px;box-shadow:var(--tjw-card-shadow)}
body.tjw-premium-v82 .news-photo{height:205px}
body.tjw-premium-v82 .news-body{padding:14px 14px 16px}
body.tjw-premium-v82 .news-body h3{font:800 25px/1.05 'Barlow Condensed',Arial,sans-serif;margin:0 0 8px}
body.tjw-premium-v82 .news-body p{font:400 12px/1.52 Arial,sans-serif;color:#444;max-height:58px;overflow:hidden}
body.tjw-premium-v82 .news-body .meta{margin-top:10px}

/* Sidebar korzysta z tych samych autentycznych herbow i wynikow, co przed aktualizacja */
body.tjw-premium-v82 .sidebar{display:flex;flex-direction:column;gap:13px;min-width:0}
body.tjw-premium-v82 .sidebar .widget{background:#fff;padding:0;border:1px solid #e5e6e8;overflow:hidden;border-radius:5px;box-shadow:0 4px 18px rgba(0,0,0,.07)}
body.tjw-premium-v82 .sidebar .widget-title,body.tjw-premium-v82 .tjw-widget-head{background:#18191d;color:#fff;padding:10px 12px;font:800 19px/1 'Barlow Condensed',Arial,sans-serif;margin:0}
body.tjw-premium-v82 .sidebar .widget:not(.standings-widget)>:not(.widget-title):not(.tjw-widget-head){margin-left:12px;margin-right:12px}
body.tjw-premium-v82 .sidebar .match-widget .competition,body.tjw-premium-v82 .sidebar .result-widget .competition{margin-top:12px;font:700 11px Arial,sans-serif;color:#606977;text-align:center}
body.tjw-premium-v82 .sidebar .match-date{text-align:center;margin-top:8px!important;margin-bottom:6px!important;color:#222;font-weight:800;font-size:12px}
body.tjw-premium-v82 .match-countdown{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:10px!important;margin-bottom:12px!important}
body.tjw-premium-v82 .countdown-unit{background:#16181c;padding:6px 7px;border-radius:3px;text-align:center;min-width:48px;color:white}
body.tjw-premium-v82 .countdown-unit strong{font:800 23px/1 'Barlow Condensed',Arial,sans-serif;display:block}
body.tjw-premium-v82 .countdown-unit span{font:700 9px Arial,sans-serif;display:block;margin-top:3px}
body.tjw-premium-v82 .countdown-separator{font-size:0;width:0}
body.tjw-premium-v82 .match-teams-with-logos{display:grid;grid-template-columns:1fr 42px 1fr;gap:10px;align-items:center;margin-top:12px!important;margin-bottom:12px!important}
body.tjw-premium-v82 .match-team-side{text-align:center;min-width:0}
body.tjw-premium-v82 .club-crest-box{margin:0 auto 5px}
body.tjw-premium-v82 .club-crest{max-width:55px;max-height:55px;object-fit:contain}
body.tjw-premium-v82 .club-crest-fallback{font-size:25px;color:#a6001d}
body.tjw-premium-v82 .match-team-side b{display:block;font-size:11px;line-height:1.3}
body.tjw-premium-v82 .match-center-label{font:800 19px 'Barlow Condensed',Arial,sans-serif;color:#a60020;text-align:center}
body.tjw-premium-v82 .match-score{font:800 31px 'Barlow Condensed',Arial,sans-serif;color:#111;text-align:center}
body.tjw-premium-v82 .sidebar .venue{font-size:11px;color:#777;text-align:center;padding-bottom:10px}
body.tjw-premium-v82 .standings-widget .standings-titlebar{background:#18191d;border:0;padding:0}
body.tjw-premium-v82 .standings-widget .standings-titlebar .widget-title{background:#18191d}
body.tjw-premium-v82 .standings-table{padding:5px 7px 12px}
body.tjw-premium-v82 .table-head,body.tjw-premium-v82 .table-row{grid-template-columns:21px 1fr 24px 34px 28px;font:11px/1.2 Arial,sans-serif;padding:6px 3px;gap:3px}
body.tjw-premium-v82 .widzew-row{background:#ffebee;color:#a60719;font-weight:800}
body.tjw-premium-v82 .tjw-latest-widget .tjw-widget-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.tjw-premium-v82 .tjw-widget-head a{font:700 9px Arial,sans-serif;color:#cbd0d8}
.tjw-latest-list{padding:11px 10px}
.tjw-latest-item{display:grid;grid-template-columns:80px 1fr;gap:9px;padding:8px 0;border-bottom:1px solid #ddd}
.tjw-latest-item:last-child{border:none}
.tjw-latest-image{height:68px;min-width:80px;background-size:cover;background-position:center;border-radius:2px}
.tjw-latest-text{min-width:0}
.tjw-latest-text small{display:block;color:#b00521;text-transform:uppercase;font:700 9px Arial,sans-serif}
.tjw-latest-text strong{display:block;font:800 17px/1.04 'Barlow Condensed',Arial,sans-serif;margin:4px 0}
.tjw-latest-text em{font-size:10px;color:#707783;font-style:normal}

/* Artykuly: zachowaj redakcyjne fonty, komentarze i edytowane tresci */
body.tjw-premium-v82 .article-page{padding:0;background:white}
body.tjw-premium-v82 .article-page .breadcrumbs{font-size:11px;margin:4px 0 14px}
body.tjw-premium-v82 .article-page > h1{font:800 clamp(29px,3.2vw,42px)/1.06 Arial,sans-serif!important;margin:12px 0}
body.tjw-premium-v82 .article-page > .article-lead{font:700 17px/1.52 Arial,sans-serif!important;color:#222;margin-bottom:10px}
body.tjw-premium-v82 .article-page > .article-image{width:100%;height:auto;max-height:490px;object-fit:cover;margin:16px 0;border-radius:4px}
body.tjw-premium-v82 .article-page .tjw-article-meta{margin:10px 0;color:#666}
body.tjw-premium-v82 .article-page > .article-content{font-size:16px!important;line-height:1.7!important;padding:2px 0 8px;background:white}
body.tjw-premium-v82 .article-page > .article-content p{font-size:16px!important;line-height:1.7!important}
.tjw-share-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:22px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:12px 0}
.tjw-share-bar>span{color:#666;font-size:10px;font-weight:800;margin-right:auto}
.tjw-share-bar a,.tjw-share-bar button{border:none;border-radius:3px;color:#fff;background:#202227;padding:9px 13px;cursor:pointer;font-size:12px;font-weight:800}
.tjw-share-bar .tjw-share-facebook{background:#1763bc}.tjw-share-bar .tjw-copy-link{background:#c1001c}
.tjw-related-section{margin:22px 0;border:none}
.tjw-related-section .tjw-widget-head{margin-bottom:10px}
.tjw-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tjw-related-grid .tjw-related-card{display:block;padding:0;border:1px solid #ddd;background:#fff}
.tjw-related-picture{display:block;height:118px;background-size:cover;background-position:center}
.tjw-related-description{display:block;padding:9px}
.tjw-related-description small{display:block;color:#ae001e;font:800 10px Arial,sans-serif}
.tjw-related-description b{font:800 17px/1.07 'Barlow Condensed',Arial,sans-serif;color:#111;display:block;margin-top:5px}
body.tjw-premium-v82 .comments-section{margin-top:25px;border-top:2px solid #141414}
body.tjw-premium-v82 .comments-heading h2{font:800 24px 'Barlow Condensed',Arial,sans-serif}
body.tjw-premium-v82 .comment-form button{background:var(--tjw-red);color:#fff}

/* Mecze: rzeczywiste loga i strzelcy, prawdziwe filtrowanie */
.tjw-filter-bar,.tjw-history-sort{display:flex;gap:0;flex-wrap:wrap;margin-bottom:15px;background:#18191c;padding:4px;border-radius:3px}
.tjw-filter-bar button,.tjw-history-sort button{border:0;background:none;color:#fff;cursor:pointer;font:800 12px Arial,sans-serif;text-transform:uppercase;padding:12px 17px;letter-spacing:.01em}
.tjw-filter-bar button.is-selected,.tjw-history-sort button.is-selected{background:var(--tjw-red);color:#fff;border-radius:3px}
.tjw-matches-grid .matches-group-title{display:flex;background:#fff;color:var(--tjw-red);padding:12px 0!important;border:0;border-bottom:2px solid #de1c37;margin:12px 0 8px}
.tjw-matches-grid .matches-group.played .matches-group-title{background:#fff;color:var(--tjw-red)}
.tjw-matches-grid .matches-group-count{background:#be0925!important}
.tjw-matches-grid .matches-list{background:#fff}
.tjw-matches-grid .tjw-match-row{display:grid;grid-template-columns:175px minmax(0,1fr) 100px;gap:13px;padding:14px 11px!important;border:1px solid #e7e7e7;border-radius:3px;align-items:center;margin-bottom:6px;background:#fff}
.tjw-matches-grid .tjw-match-row .match-info{display:flex;flex-direction:column;gap:5px}
.tjw-matches-grid .tjw-match-row .match-info b{font-size:11px;color:#73777f}
.tjw-matches-grid .tjw-match-row .match-info span{font-size:11px}
.tjw-matches-grid .tjw-match-row .match-clubs{display:grid;grid-template-columns:1fr 58px 1fr;gap:8px;align-items:center;text-align:center}
.tjw-matches-grid .match-page-team{display:flex;align-items:center;gap:6px;min-width:0}
.tjw-matches-grid .match-page-team:last-child{flex-direction:row-reverse}
.tjw-matches-grid .match-page-crest{width:33px;height:33px;object-fit:contain}
.tjw-matches-grid .match-page-team-name{font:800 11px Arial,sans-serif!important;color:#202329!important}
.tjw-matches-grid .match-page-score{font:800 21px 'Barlow Condensed',Arial,sans-serif;color:#111;text-align:center}
.tjw-match-row-action{grid-column:3;grid-row:1;font-size:10px;font-weight:800;background:#c80a27;color:#fff;text-align:center;padding:9px 5px;border-radius:2px}
.tjw-matches-grid .tjw-match-row .match-goals{grid-column:1/-1;background:#fafafa;font-size:12px}
.tjw-filter-empty{padding:16px;border:1px solid #eee;color:#666;text-align:center;font-size:13px}
.tjw-match-summary{background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:var(--tjw-card-shadow);padding:24px}
.tjw-match-summary-top{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}
.tjw-match-summary-top span:first-child{font:800 20px 'Barlow Condensed',Arial,sans-serif;color:#646b75;text-transform:uppercase;letter-spacing:.02em}
.tjw-match-summary-top span:last-child{font:700 19px Arial,sans-serif;color:#6e7480}
.tjw-match-summary-center{display:grid;grid-template-columns:1fr minmax(110px,170px) 1fr;align-items:center;text-align:center;gap:20px;padding:28px 0 20px}
.tjw-match-summary-center>div:not(.tjw-big-result),.tjw-match-detail-team{display:flex;align-items:center;flex-direction:column;gap:12px}
.tjw-match-detail-crestbox{display:inline-flex;align-items:center;justify-content:center;width:96px;height:96px;min-width:96px;min-height:96px}
.tjw-match-summary-center img{width:96px;height:96px;object-fit:contain}
.tjw-match-detail-crestbox em{display:inline-flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:50%;background:#f1f3f5;color:#66707a;font:800 34px 'Barlow Condensed',Arial,sans-serif;font-style:normal}
.tjw-match-summary-center strong{font:800 23px 'Barlow Condensed',Arial,sans-serif;color:#111}
.tjw-big-result strong{font-size:50px!important;color:#111;white-space:nowrap;line-height:1}.tjw-big-result span{display:block;color:var(--tjw-red);font-size:14px;font-weight:800;letter-spacing:.03em;margin-top:6px}
.tjw-match-stadium{text-align:center;font:600 24px/1.4 Arial,sans-serif;color:#71747c;margin-top:2px}
.tjw-match-info-tabs{margin:12px 0;padding:11px;background:#17191c;display:flex;gap:14px}
.tjw-match-info-tabs a{color:#fff;font-size:11px;font-weight:800}
.tjw-match-info-tabs .is-selected{color:#ff5b70}
.tjw-match-events{padding:20px;border:1px solid #eee;background:#fff}
.tjw-match-events h2{font:800 24px 'Barlow Condensed',Arial,sans-serif}
.tjw-match-events p{font-size:16px;line-height:1.6;color:#565d64}
.tjw-match-not-started{font:800 32px/1.25 'Barlow Condensed',Arial,sans-serif;color:#111;text-transform:uppercase;text-align:center;padding:22px 10px;margin:10px 0 0}
.tjw-data-note{border-left:3px solid #c60d27;padding:9px;background:#fff4f6}

/* Kategorie, historia oraz paginacja */
body.tjw-premium-v82 .list-news{background:white}
body.tjw-premium-v82 .list-news article{grid-template-columns:240px minmax(0,1fr);padding:10px;border:1px solid #ececee;margin-bottom:8px;gap:14px;border-radius:4px}
body.tjw-premium-v82 .list-news .thumb{height:153px}
body.tjw-premium-v82 .list-news h2{font:800 25px 'Barlow Condensed',Arial,sans-serif;margin:8px 0}
body.tjw-premium-v82 .list-news p{font:12px/1.55 Arial,sans-serif;color:#4e535b}
.tjw-history-intro{font:14px/1.6 Arial,sans-serif;color:#5e626a}
.tjw-history-sort{display:inline-flex;background:#eee;padding:3px}
.tjw-history-sort button{color:#333;font-size:11px}
.tjw-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.tjw-premium-v82 .tjw-history-list article{display:flex;flex-direction:column;border:1px solid #eee;padding:0;margin:0;gap:0}
body.tjw-premium-v82 .tjw-history-list .thumb{height:190px;width:100%}
body.tjw-premium-v82 .tjw-history-list article>div{padding:14px}
.home-pagination,.content-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;padding:13px;border-top:1px solid #e2e2e5}
.home-pagination a,.content-pagination a{background:#141519;color:white;border-radius:3px;padding:9px 12px;font-size:12px;font-weight:800;display:inline-block}
.home-pagination-status,.content-pagination-status{color:#666;font-size:12px}
body.tjw-premium-v82 .footer{background:#101115;border-top:4px solid var(--tjw-red);margin-top:0}
body.tjw-premium-v82 .footer-grid{padding:25px 10px}
body.tjw-premium-v82 .footer h4{color:white}

@media(max-width:1300px){
 body.tjw-premium-v82 .main-nav{gap:11px}
 body.tjw-premium-v82 .main-nav a{font-size:14px}
 body.tjw-premium-v82 .tjw-wordmark strong{font-size:25px}
 body.tjw-premium-v82 .search input{width:80px}
}
@media(max-width:1080px){
 body.tjw-premium-v82 .page-grid{grid-template-columns:1fr}
 body.tjw-premium-v82 .sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.tjw-premium-v82 .sidebar .standings-widget{grid-column:auto}
 body.tjw-premium-v82 .sidebar .tjw-latest-widget{grid-column:1/-1}
 body.tjw-premium-v82 .main-nav{position:absolute;top:67px;left:0;right:0;background:#121317;display:none;flex-direction:column;align-items:flex-start;padding:20px;gap:16px}
 body.tjw-premium-v82 .main-nav.open{display:flex}
 body.tjw-premium-v82 .main-nav a{font-size:18px}
 body.tjw-premium-v82 .nav-toggle{display:block;margin-left:auto;color:white;border:1px solid #555;padding:2px 9px;background:#16171b;cursor:pointer}
 body.tjw-premium-v82 .search{display:flex}
}
@media(max-width:790px){
 .tjw-lead-stage{grid-template-columns:1fr;min-height:0}
 .tjw-lead-article{min-height:440px}
 .tjw-lead-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
 .tjw-home-panels{grid-template-columns:1fr 1fr}
 .tjw-home-panels .tjw-home-panel:last-child{grid-column:1/-1}
 .tjw-matches-grid .tjw-match-row{grid-template-columns:120px minmax(0,1fr)}
 .tjw-match-row-action{grid-column:1/-1;grid-row:auto}
 .tjw-matches-grid .tjw-match-row .match-goals{grid-column:1/-1}
 .tjw-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 body.tjw-premium-v82 .container{width:min(100% - 12px,1450px)}
 body.tjw-premium-v82 .page-grid{padding:12px 10px 22px;gap:14px}
 body.tjw-premium-v82 .header-inner{min-height:60px}
 body.tjw-premium-v82 .tjw-wordmark strong{font-size:25px}
 body.tjw-premium-v82 .main-nav{top:60px}
 body.tjw-premium-v82 .search{display:none}
 .tjw-lead-article{min-height:365px}
 .tjw-lead-shade{padding:14px 12px}
 .tjw-lead-shade h1{font-size:31px}
 .tjw-lead-shade p{font-size:12px}
 .tjw-lead-side{grid-template-columns:1fr}
 .tjw-small-news{grid-template-columns:100px 1fr;min-height:96px}
 .tjw-small-photo{min-height:92px}
 .tjw-home-panels{grid-template-columns:1fr}
 .tjw-home-panels .tjw-home-panel:last-child{grid-column:auto}
 body.tjw-premium-v82 .news-grid{grid-template-columns:1fr}
 body.tjw-premium-v82 .sidebar{display:flex;flex-direction:column}
 body.tjw-premium-v82 .sidebar .widget{width:100%}
 body.tjw-premium-v82 .list-news article{grid-template-columns:1fr;padding:0}
 body.tjw-premium-v82 .list-news .thumb{height:190px}
 body.tjw-premium-v82 .list-news article>div{padding:12px}
 .tjw-history-list{grid-template-columns:1fr}
 .tjw-matches-grid .tjw-match-row{grid-template-columns:1fr;padding:12px!important;gap:8px}
 .tjw-matches-grid .tjw-match-row .match-clubs{grid-template-columns:1fr 42px 1fr}
 .tjw-match-row-action{grid-column:1/-1}
 .tjw-filter-bar button{padding:9px 10px;font-size:10px}
 .tjw-related-grid{grid-template-columns:1fr}
 body.tjw-premium-v82 .article-page > h1{font-size:29px!important}
 body.tjw-premium-v82 .article-page > .article-lead{font-size:17px!important}
 .tjw-match-detail-crestbox,.tjw-match-summary-center img,.tjw-match-detail-crestbox em{width:64px;height:64px;min-width:64px;min-height:64px}
 .tjw-match-detail-crestbox em{font-size:24px}
 .tjw-match-summary-center strong{font-size:18px}
 .tjw-match-summary-center{grid-template-columns:1fr 82px 1fr;gap:8px;padding:20px 0 14px}
 .tjw-big-result strong{font-size:34px!important}
 .tjw-big-result span{font-size:11px}
 .tjw-match-summary-top span:first-child{font-size:16px}
 .tjw-match-summary-top span:last-child{font-size:14px}
 .tjw-match-stadium{font-size:18px}
 .tjw-match-not-started{font-size:24px;padding:18px 8px}
}
.tjw-match-row[hidden],.tjw-history-list article[hidden],.tjw-filter-empty[hidden]{display:none!important}


@media(max-width:640px){
 .tjw-panel-team-name{font-size:11px;max-width:90px}
 .tjw-home-crest-box,.tjw-home-crest,.tjw-home-crest-fallback{width:58px;height:58px}
 .tjw-home-crest-fallback{font-size:24px}
 .tjw-panel-match-with-crests{gap:10px}
 .tjw-panel-match strong{font-size:16px}
 .tjw-mini-table-row{grid-template-columns:18px minmax(0,1fr) 28px;font-size:10px;gap:6px}
 .tjw-mini-result-row{min-height:100px}
 .tjw-mini-results>div{font-size:10px;gap:6px}
 .tjw-mini-crest-box,.tjw-mini-crest,.tjw-mini-crest-fallback{width:52px;height:52px}
 .tjw-mini-crest-fallback{font-size:20px}
 .tjw-mini-result-team-name{font-size:11px;max-width:80px}
 .tjw-mini-result-score{font-size:22px;min-height:52px}
}

/* local v85 preserve */
body.tjw-premium-v82 .countdown-unit strong{color:white!important}

/* TJW_PREMIUM_SCORE_V88_START
   v8.8: dwukrotnie wieksze oznaczenia VS i wyniku na stronie glownej.
   Celowo nie zmieniamy rozmiarow herbow, tekstow nazw ani tabeli. */
body.tjw-premium-v82 .tjw-home-panels .tjw-next-match-layout > strong {
  font-size: 36px !important; /* poprzednio 18px */
  line-height: 1 !important;
}
body.tjw-premium-v82 .tjw-home-panels .tjw-mini-result-score {
  font-size: 56px !important; /* poprzednio 28px */
  line-height: 1 !important;
}
@media (max-width: 640px) {
  body.tjw-premium-v82 .tjw-home-panels .tjw-next-match-layout > strong {
    font-size: 32px !important; /* poprzednio 16px na telefonie */
  }
  body.tjw-premium-v82 .tjw-home-panels .tjw-mini-result-score {
    font-size: 44px !important; /* poprzednio 22px na telefonie */
  }
}
/* TJW_PREMIUM_SCORE_V88_END */

/* TJW_SIDEBAR_HERBY_V89_BEGIN */
/* W prawych widgetach ustaw takie same wymiary herbow jak w
   odpowiadajacych im kaflach pod glownym newsem: 92 i 78 px. */
body.tjw-premium-v82 .sidebar .match-widget .match-teams-with-logos,
body.tjw-premium-v82 .sidebar .result-widget .match-teams-with-logos {
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: center !important;
}
/* Najblizszy mecz = 92 px, jak kafel na stronie glownej. */
body.tjw-premium-v82 .sidebar .match-widget .club-crest-box {
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  min-height: 92px !important;
}
body.tjw-premium-v82 .sidebar .match-widget .club-crest,
body.tjw-premium-v82 .sidebar .match-widget .club-crest-fallback {
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  min-height: 92px !important;
  max-width: 92px !important;
  max-height: 92px !important;
  object-fit: contain !important;
}
/* Ostatni mecz = 78 px, jak kafel wynikowy pod newsem. */
body.tjw-premium-v82 .sidebar .result-widget .club-crest-box {
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  min-height: 78px !important;
}
body.tjw-premium-v82 .sidebar .result-widget .club-crest,
body.tjw-premium-v82 .sidebar .result-widget .club-crest-fallback {
  width: 78px !important;
  height: 78px !important;
  min-width: 78px !important;
  min-height: 78px !important;
  max-width: 78px !important;
  max-height: 78px !important;
  object-fit: contain !important;
}
/* Wynik i VS: czytelne 32 px, zawsze posrodku. */
body.tjw-premium-v82 .sidebar .result-widget .match-score,
body.tjw-premium-v82 .sidebar .match-widget .match-center-label {
  width: auto !important;
  min-width: 0 !important;
  font-family: 'Barlow Condensed', Arial, sans-serif !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap;
  align-self: center;
  text-align: center !important;
}
/* Identyczne proporcje jak na mobilnych kaflach pod glownym newsem. */
@media (max-width: 650px) {
  body.tjw-premium-v82 .sidebar .match-widget .match-teams-with-logos,
  body.tjw-premium-v82 .sidebar .result-widget .match-teams-with-logos {
    grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  body.tjw-premium-v82 .sidebar .match-widget .club-crest-box,
  body.tjw-premium-v82 .sidebar .match-widget .club-crest,
  body.tjw-premium-v82 .sidebar .match-widget .club-crest-fallback {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }
  body.tjw-premium-v82 .sidebar .result-widget .club-crest-box,
  body.tjw-premium-v82 .sidebar .result-widget .club-crest,
  body.tjw-premium-v82 .sidebar .result-widget .club-crest-fallback {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
  }
  body.tjw-premium-v82 .sidebar .result-widget .match-score,
  body.tjw-premium-v82 .sidebar .match-widget .match-center-label {
    font-size: 32px !important;
    width: auto !important;
  }
}
/* TJW_SIDEBAR_HERBY_V89_END */

/* TJW_V842_HIDE_CREST_FALLBACK_START */
/* Zapasowa litera herbu jest widoczna TYLKO jesli przegladarka nie wczytala grafiki. */
body.tjw-premium-v82 .tjw-match-detail .tjw-match-detail-crestbox em[hidden],
body.tjw-premium-v82 .tjw-match-detail .tjw-match-detail-crestbox img[hidden],
.tjw-match-detail .tjw-match-detail-crestbox em[hidden],
.tjw-match-detail .tjw-match-detail-crestbox img[hidden] {
  display: none !important;
}
/* TJW_V842_HIDE_CREST_FALLBACK_END */

/* TJW_SLOGAN_PLUS2_V843_START */
/* Tylko slogan w menu glownym: +2 px. */
body.tjw-premium-v82 .site-header .tjw-wordmark small {
  font-size: 10px !important;
}
/* TJW_SLOGAN_PLUS2_V843_END */

/* TJW_SIDEBAR_NAMES_16PX_RESULT_VERDANA_50PX_V844_START */
/* 14 -> 16 px: tylko nazwy klubow pod herbami; bez zmiany ich kroju pisma. */
body.tjw-premium-v82 .sidebar .match-widget .match-team-side b,
body.tjw-premium-v82 .sidebar .result-widget .match-team-side b {
  font-size: 16px !important;
}
/* 50 px Verdana: tylko wynik OSTATNIEGO MECZU; myslnik zostaje bez zmian. */
body.tjw-premium-v82 .sidebar .result-widget .match-score {
  font-family: Verdana, Geneva, sans-serif !important;
  font-size: 50px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}
/* TJW_SIDEBAR_NAMES_16PX_RESULT_VERDANA_50PX_V844_END */

/* TJW_SIDEBAR_MATCH_LAYOUT_V845_START */
/* Zachowujemy dotychczasowe rozmiary herbow i kroj pisma nazw klubow. */
/* Poprawka: usun overflow wynikajacy z width:100% + boczne marginesy. */
body.tjw-premium-v82 .sidebar .match-widget .match-teams-with-logos,
body.tjw-premium-v82 .sidebar .result-widget .match-teams-with-logos {
  width: auto !important;
  max-width: calc(100% - 24px) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin-left: 12px !important;
  margin-right: 12px !important;
  gap: 6px !important;
  align-items: center !important;
}
/* Wystarczajaca szerokosc na myslnik. */
body.tjw-premium-v82 .sidebar .match-widget .match-teams-with-logos {
  grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) !important;
}
/* Verdana w wyniku zajmuje wiecej miejsca niz wczesniejszy skondensowany font. */
body.tjw-premium-v82 .sidebar .result-widget .match-teams-with-logos {
  grid-template-columns: minmax(0,1fr) 112px minmax(0,1fr) !important;
}
body.tjw-premium-v82 .sidebar .match-widget .match-team-side,
body.tjw-premium-v82 .sidebar .result-widget .match-team-side {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  justify-self: center !important;
  overflow: hidden;
}
/* Nazwy po 16px pozostaja 16px; mozna je elegancko przeniesc do 2 wierszy. */
body.tjw-premium-v82 .sidebar .match-widget .match-team-side b,
body.tjw-premium-v82 .sidebar .result-widget .match-team-side b {
  font-size: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-height: 1.25 !important;
}
body.tjw-premium-v82 .sidebar .match-widget .match-center-label {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: center !important;
  text-align: center !important;
}
/* Jedyna zmiana rozmiaru fontu: wynik 50 -> 49px, nadal Verdana. */
body.tjw-premium-v82 .sidebar .result-widget .match-score {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  justify-self: center !important;
  text-align: center !important;
  font-family: Verdana, Geneva, sans-serif !important;
  font-size: 49px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}
@media (max-width: 650px) {
  body.tjw-premium-v82 .sidebar .match-widget .match-teams-with-logos,
  body.tjw-premium-v82 .sidebar .result-widget .match-teams-with-logos {
    gap: 4px !important;
  }
  body.tjw-premium-v82 .sidebar .result-widget .match-teams-with-logos {
    grid-template-columns: minmax(0,1fr) 112px minmax(0,1fr) !important;
  }
  body.tjw-premium-v82 .sidebar .match-widget .match-teams-with-logos {
    grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr) !important;
  }
}
/* TJW_SIDEBAR_MATCH_LAYOUT_V845_END */
