
/* Readability and theme controls preserve the fixed desktop layout. */
.theme-toggle{border:1px solid #759a45;background:#23361a;color:#e6f5d9;padding:9px 12px;border-radius:5px;margin-top:9px;cursor:pointer;min-height:36px;font-size:12px}.league-label input{display:block;width:100%;min-width:0;margin-top:6px;background:#111b0e;color:#e0ead8;border:1px solid #6b8850;padding:9px 5px;font-size:12px;border-radius:4px}.league-label input:focus{outline:2px solid #b9f558;outline-offset:1px}.league-label{font-size:12px}.score-table{font-size:13px}.score-table th{font-size:10px}.score-table td{padding-top:12px;padding-bottom:12px}.fixture-group h3{font-size:12px}.fixture-group h3 span,.match-status,.kickoff,.half{font-size:12px}.match-count,.data-status{font-size:12px}.score-controls label,.fixture-filters{font-size:12px}.score-controls button,.score-controls input,.fixture-filters button{min-height:38px}.football-app .score-button{font-size:14px}.match-status.live{font-weight:bold}.trial-note{font-size:11px}
html[data-theme="light"]{color-scheme:light;--lime:#426f16}
html[data-theme="light"] body{background:#e7ece3;color:#263622}
html[data-theme="light"] .site{background:#f8faf6;box-shadow:0 0 60px #bcc5b2}
html[data-theme="light"] :is(.sidebar,.ticker,.titlebar,.help,.source,.football-app,.seo-content,.calc,.hero-heading,.ad-invite,.inventory){background:#fff;color:#273821;border-color:#bdcbb2}
html[data-theme="light"] :is(.sports,.subnav,.fixture-group h3,.sidebar h3){background:#e5eddc;color:#2d4821;border-color:#bdcbb2}
html[data-theme="light"] :is(.sports a,.sports button,.subnav a,.sidebar a){color:#29411c;border-color:#bdcbb2}
html[data-theme="light"] :is(.sports .active,.subnav .active,.sidebar .all,.football-app .selected){background:#c4e997;color:#1d370d;border-color:#81a85b}
html[data-theme="light"] :is(.help,.source,.hero-heading p,.seo-content p,.trial-note,.league-label,.match-count,.data-status,.fixture-empty,.archive-banner span,.fixture-group h3 span,footer,.about,.inventory p,.match-dialog dt,.match-dialog dd,.inventory .ad-feedback){color:#4b6040}
html[data-theme="light"] :is(.hero-heading h1,.seo-content h1,.seo-content h2,.titlebar h2,.inventory h2,.archive-banner b,.eyebrow,.live-dot,.event-kind){color:#365f17}
html[data-theme="light"] :is(.score-controls input,.fixture-filters select,.league-label input,.inventory select,.inventory textarea,.calc input){background:#fff;color:#25391a;border-color:#8da776}
html[data-theme="light"] :is(.football-app button,.tools button,.theme-toggle,.inventory .close){background:#edf3e7;color:#34551d;border-color:#96b17c}
html[data-theme="light"] .score-table th{background:#e7efdf;color:#4c623e}
html[data-theme="light"] .score-table td{background:#fff;border-color:#dce5d5;color:#2d4122}
html[data-theme="light"] .score-table tr:nth-child(even) td{background:#f1f6eb}
html[data-theme="light"] .score-table tr:hover td{background:#e5f1d8}
html[data-theme="light"] :is(.score-table .home,.score-table .away){color:#253a1a}
html[data-theme="light"] :is(.kickoff,.half,.match-status){color:#516845}
html[data-theme="light"] .match-status.live{color:#396916}
html[data-theme="light"] :is(.football-app .score-button,.detail-score){background:#e1efce;color:#305e0e;border-color:#83a765}
html[data-theme="light"] .archive-banner{background:#edf4e4;color:#344b23;border-color:#a0b784}
html[data-theme="light"] .ad-slot{background:repeating-linear-gradient(135deg,#f0f5e9,#f0f5e9 14px,#e8efdf 14px,#e8efdf 28px);border-color:#789c50;box-shadow:none}
html[data-theme="light"] .ad-slot.has-banner{background:#fff}
html[data-theme="light"] .ad-slot strong{color:#48692e}
html[data-theme="light"] .ad-slot small{color:#5a7048}
html[data-theme="light"] :is(.seo-content details,.content-grid article,.quick-links a,.lineup-grid section){background:#f1f6eb;border-color:#b6c7a7;color:#314f20}
html[data-theme="light"] :is(.seo-content summary,.content-grid h2,footer a){color:#365f17}
html[data-theme="light"] .inventory::backdrop{background:#1b2b1480}

/* Brighter text within the existing dark palette. */
html:not([data-theme="light"]) body{color:#e5eddf}
html:not([data-theme="light"]) :is(.subnav a,.sidebar a,.league-label,.score-controls label,.fixture-filters label,.tools button,.clock,.brand-note,.brand-note p){color:#dce8cf}
html:not([data-theme="light"]) :is(.help,.source,.trial-note,.match-count,.data-status,.archive-banner span,.fixture-group h3 span,.kickoff,.half,.match-status,.fixture-empty,.seo-content p,.about,footer){color:#c4d4b5}
html:not([data-theme="light"]) :is(.score-table th,.ad-slot small,.ticker span:last-child){color:#bacfa5}
html:not([data-theme="light"]) :is(.score-table .home,.score-table .away,.fixture-group h3){color:#f0f5e9}
html:not([data-theme="light"]) :is(.football-app button,.league-label input,.score-controls input,.fixture-filters select){color:#e3efd8}
html:not([data-theme="light"]) :is(.league-label input,.score-controls input)::placeholder{color:#aebe9f;opacity:1}
html:not([data-theme="light"]) .ad-slot strong{color:#cee2b7}
html:not([data-theme="light"]) .football-app .selected{color:#1a2b0c}
html:not([data-theme="light"]) .match-status.live{color:#ccff85}
.titlebar h1{font-size:13px;line-height:1.5;margin:0;color:inherit}
.columns{margin-top:10px}

/* Larger text for match reading, same page geometry. */
.score-table{font-size:15px}.score-table th{font-size:12px}.score-table td{padding-top:13px;padding-bottom:13px}.score-table .home,.score-table .away{font-weight:600}.fixture-group h3{font-size:14px}.fixture-group h3 span,.match-status,.kickoff,.half{font-size:13px}.football-app .score-button{font-size:16px}.football-app .detail-button{font-size:19px}.score-controls,.fixture-filters,.league-label{font-size:13px}.league-label input{font-size:13px}.match-count,.data-status,.help{font-size:13px}.titlebar h1{font-size:16px}.subnav a{font-size:12px}.logo img{width:330px;height:80px}.match-dialog p,.lineup-grid li,.event-list li{font-size:14px;line-height:1.7}.score-table th:nth-child(5){width:82px}.score-table th:nth-child(2){width:54px}.score-table th:nth-child(3){width:56px}

/* Header controls, readable highlights and navigation. */
.head-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex:none}.head-actions .clock{line-height:1.6;white-space:nowrap}.head-actions .clock:before{content:'WAKTU INDONESIA · WIB (UTC+7)';font-size:10px;letter-spacing:.5px;margin:0 0 4px}.head-actions .theme-toggle{margin:0;flex:none;white-space:nowrap}.head{min-height:112px;height:auto;gap:14px}.subnav a,.subnav button{font-weight:700!important}.sports .active,.sidebar a.all,.sidebar a.all:hover,.football-app button.selected,.copy-request,.calc button{background:#b9f558!important;color:#111!important}.sidebar a.all *,.football-app button.selected *,.copy-request *{color:#111!important}.subnav .active{font-weight:800!important}html[data-theme="light"] :is(.sports .active,.sidebar a.all,.football-app button.selected,.copy-request,.calc button){color:#111!important;background:#b9f558!important}

/* Compact score tools and full-slot banner images. */
.ad-stack .ad-slot{aspect-ratio:970/90;min-height:0;height:auto}.ad-slot.has-banner{display:block;padding:0;position:relative}.ad-slot.has-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;max-width:none;max-height:none}.ad-badge{z-index:1}.score-caption{font-size:10px;font-weight:700;color:#cde2b4;white-space:nowrap;margin-left:3px}.fixture-filters{flex-wrap:wrap;row-gap:7px}.fixture-filters label{margin-left:auto}.titlebar{padding:7px 10px}.titlebar h1{font-size:14px}.score-controls{margin:4px 0 9px}.football-app{padding-top:9px}.match-count{padding:8px 1px}html[data-theme="light"] .score-caption{color:#365f17}.slot-selected{font-size:12px;font-weight:bold;color:var(--lime)}

.subnav button[data-ad-inquiry]{display:flex;align-items:center;padding:14px 19px;font-size:12px;letter-spacing:.4px;font-weight:700;background:transparent;color:inherit;border:0;border-right:1px solid #2e3926;white-space:nowrap}.subnav button[data-ad-inquiry]:hover{background:#26351e;color:#b9f558}html[data-theme="light"] .subnav button[data-ad-inquiry]:hover{background:#e5eddc;color:#29411c}

/* Final approved brand assets */
.logo img{width:270px;height:86px;object-fit:contain;flex:none}.head{height:112px;min-height:112px}.logo{min-width:0}.head-actions .clock #clock{display:block;min-height:18px}.copyright-brand{color:inherit;text-decoration:none}.copyright-brand:hover,.copyright-brand:focus-visible{text-decoration:underline}

/* Compact match controls */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#leagueInfo[hidden]{display:none!important}.score-controls #teamSearch{min-width:140px;flex:1}.score-controls #favoritesOnly,.score-controls #reload,.score-controls #full{white-space:nowrap;flex:none}.football-app{border-radius:6px}

/* Top 1 sits beside the logo; retain its existing admin slot. */
.head{padding:11px 0;gap:8px}.head>.logo{flex:none}.header-banner{flex:1;min-width:0;max-width:970px}.header-banner .ad-slot{width:100%;height:auto;min-height:0;aspect-ratio:970/90;margin:0}.header-banner .ad-slot.has-banner{position:relative;display:block;padding:0}.header-banner .ad-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.sports .head-actions{margin-left:auto;padding:4px 12px;gap:12px}.sports .head-actions .theme-toggle{padding:8px 12px;border:1px solid #628c46;border-radius:4px}.sports .head-actions .clock{font-size:11px}.sports .head-actions .clock:before{font-size:9px}.sports .ad-entry{margin-left:0}

.site-description{max-width:960px;margin:18px 0 22px;white-space:normal;overflow-wrap:break-word}.site-description h2{font-size:19px;line-height:1.5;margin:0 0 12px}.site-description p{font-size:14px;line-height:1.85;margin:0 0 12px;text-align:left}.site-description strong{color:inherit}

/* Live API score ticker and full-width description. */
.live-ticker{display:flex;align-items:center;flex:1;min-width:0;overflow:hidden;padding:0 14px;gap:12px}.ticker-label{font-size:11px;font-weight:bold;color:#111;background:#b9f558;padding:5px 7px;border-radius:3px;flex:none}.ticker-window{overflow:hidden;min-width:0;flex:1}.ticker-track{display:flex;width:max-content;white-space:pre;gap:0;color:#e9f0df;font-size:13px;line-height:2;animation:score-scroll var(--ticker-duration,35s) linear infinite}.ticker-track span{flex:none}.live-ticker:hover .ticker-track,.live-ticker:focus-within .ticker-track{animation-play-state:paused}.ticker-track.is-empty{animation:none;white-space:normal;width:auto;font-size:12px}@keyframes score-scroll{to{transform:translateX(-50%)}}.floating-theme{position:fixed!important;bottom:20px;left:20px;width:54px;height:54px;padding:0!important;border-radius:50%!important;z-index:1000;font-size:25px!important;display:grid;place-items:center;border:1px solid #6d8d43;background:#22301b;color:#eef5df;box-shadow:0 3px 12px #0005}.site-description{width:100%;max-width:none;margin:18px 0 22px}.site-description h2{text-align:center}.site-description p{text-align:justify}html[data-theme="light"] .ticker-track{color:#25391d}html[data-theme="light"] .floating-theme{background:#fff;color:#25391d}@media(prefers-reduced-motion:reduce){.ticker-track{animation:none}.ticker-window{overflow:auto}.ticker-track span[aria-hidden]{display:none}}

/* Four sidebar slots and two pinned bottom slots. */
.pinned-banners{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(1248px,calc(100vw - 32px));max-width:1248px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:6px;background:#101610ed;border:1px solid #3b4e2d;border-bottom:0;border-radius:6px 6px 0 0;z-index:900;box-shadow:0 -3px 14px #0005}.pinned-banners .ad-slot{aspect-ratio:970/90;min-height:0;height:auto}.site{padding-bottom:90px}.floating-theme{bottom:90px}html[data-theme="light"] .pinned-banners{background:#f5f8efed}

/* Menu dan kontrol aktif */
.subnav a.active,.subnav a[aria-current="page"],.sports a.active,.fixture-filters button.selected,.score-controls button.selected,.score-controls button.active{background:#b9f558!important;color:#111!important;border-color:#b9f558!important;font-weight:800}
.head .header-theme{position:static!important;inset:auto!important;transform:none!important;flex:0 0 66px;width:66px!important;height:66px!important;min-width:66px;border-radius:50%!important;font-size:32px!important;padding:0!important;display:grid;place-items:center;margin:0 0 0 12px!important;border:1px solid #819653;background:#26381c;color:#fff;z-index:auto!important;cursor:pointer}
html[data-theme="light"] .head .header-theme{background:#eef4e7;color:#172411}.head .header-theme:focus-visible{outline:3px solid #b9f558;outline-offset:3px}

/* Rounded sliding theme control, matching the approved reference. */
.head .header-theme{position:relative!important;flex:0 0 88px;width:88px!important;min-width:88px;height:48px!important;min-height:48px;border:0!important;border-radius:999px!important;background:#3d602a!important;box-shadow:inset 0 2px 6px #19330d40;display:block;font-size:0!important;overflow:visible;isolation:isolate}
.head .header-theme::before{content:"";position:absolute;left:5px;top:5px;width:38px;height:38px;border-radius:50%;background:#fff;box-shadow:0 2px 7px #19330d26;transform:translateX(40px);transition:transform .22s ease}
.head .header-theme::after{content:"☾";position:absolute;left:5px;top:5px;width:38px;height:38px;display:grid;place-items:center;font:28px/1 Arial,sans-serif;color:#548b22;transform:translateX(40px);transition:transform .22s ease}
html[data-theme="light"] .head .header-theme{background:#b9f558!important}
html[data-theme="light"] .head .header-theme::before,html[data-theme="light"] .head .header-theme::after{transform:translateX(0)}
html[data-theme="light"] .head .header-theme::after{content:"☀"}
.head .header-theme:focus-visible{outline:3px solid #b9f558;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.head .header-theme::before,.head .header-theme::after{transition:none}}

html:not([data-theme="light"]) .head .header-theme{background:#fff!important}
html:not([data-theme="light"]) .head .header-theme::before{background:#252830;box-shadow:0 0 0 3px #252830}
html:not([data-theme="light"]) .head .header-theme::after{content:"";background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2038%2038%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M19%208a12%2012%200%201%200%209%2020A11%2011%200%200%201%2019%208Z%22%2F%3E%3Cpath%20fill%3D%22white%22%20d%3D%22m25%208%201%204h4l-3%202%201%204-3-2-3%202%201-4-3-2h4Z%22%2F%3E%3Cpath%20fill%3D%22white%22%20d%3D%22m30%2021%201%202h2l-2%201%201%203-2-2-2%202%201-3-2-1h2Z%22%2F%3E%3C%2Fsvg%3E") center/38px 38px no-repeat}
