@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#152238;--muted:#8390a2;--soft:#64748a;--bg:#f4f6fa;--panel:#fff;--border:#e7ebf1;--accent:#16b66f;--dark:#111d31;--dark-2:#1c2c45;--red:#ef4259;--shadow:0 8px 34px rgba(22,40,71,.035);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-size:13px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;min-width:320px;background:var(--bg)}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #34bd91;outline-offset:3px}[hidden]{display:none!important}
.site-header{height:74px;background:var(--dark);color:white;position:sticky;top:0;z-index:50;box-shadow:0 6px 20px #17263a0d}.header-inner{height:100%;max-width:1510px;padding:0 30px;margin:auto;display:flex;align-items:center;gap:46px}.brand{display:inline-flex;align-items:center;gap:10px;font-family:'Outfit',sans-serif;font-weight:900;font-size:23px;letter-spacing:-.8px;white-space:nowrap}.brand-icon{height:37px;width:37px;background:linear-gradient(142deg,#23dd8a,#079f67);border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-family:'Outfit',sans-serif;color:#fff;font-size:23px;font-weight:900;position:relative;box-shadow:0 6px 18px #14ac704d}.brand-icon span{position:absolute;width:6px;height:6px;background:white;border-radius:50%;right:4px;top:5px}.brand-icon.small{height:27px;width:27px;border-radius:7px;font-size:17px}.brand-icon.small span{width:4px;height:4px;right:3px;top:4px}.brand-accent{color:#4ee4a0}.brand-tag{background:#24483c;color:#7df3b5;border:1px solid #3a6c52;font:800 8px 'DM Sans',sans-serif;letter-spacing:1.4px;border-radius:4px;padding:4px 6px;margin:0 0 0 2px}.top-navigation{display:flex;gap:32px;height:100%;align-items:stretch}.nav-link{display:flex;align-items:center;gap:7px;color:#a9b5c7;font-size:12px;font-weight:800;border:0;background:none;padding:0 2px;position:relative;white-space:nowrap}.nav-link:hover,.nav-link.is-active{color:#fff}.nav-link.is-active:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:3px 3px 0 0;background:#23cd81}.nav-number{background:#34465f;padding:2px 6px;border-radius:6px;font-size:10px;color:#dde6f3}.header-actions{margin-left:auto;display:flex;align-items:center;gap:16px}.clock-pill{display:flex;align-items:center;gap:9px;border:1px solid #3b4f68;border-radius:9px;padding:9px 13px;color:#d3e9e1;font-weight:900;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.live-dot,.updates-dot,.time-pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36df8d;box-shadow:0 0 0 4px #31c8801b}.icon-button{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:transparent;border:1px solid transparent;color:inherit}.theme-toggle{color:#aabbd0;border-color:#33455e}.icon-button:hover{background:#ffffff18}.mobile-menu,.mobile-close{display:none}
.shell{max-width:1510px;margin:0 auto;display:grid;grid-template-columns:256px minmax(0,1fr);gap:28px;padding:27px 30px 20px;align-items:start}.sidebar{position:sticky;top:98px;height:calc(100vh - 120px);min-height:400px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d8e0ea transparent;background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:15px;padding:20px 14px 14px}.side-head{display:flex;justify-content:space-between;align-items:center;padding:0 8px 17px}.eyebrow{font-size:9px;font-weight:900;letter-spacing:1.8px;color:#0ca66b}.side-head .eyebrow{color:#9ba7b7}.side-head h2{font:800 21px 'Outfit',sans-serif;margin:4px 0 0;letter-spacing:-.4px}.search-field{display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:9px;background:#f7f9fc;color:#9aa7b8;padding:0 12px;height:40px;min-width:0}.search-field svg{width:16px;height:16px;flex-shrink:0}.search-field input{min-width:0;flex:1;border:0;background:transparent;outline:none;color:var(--ink);width:100%;font-size:11px}.search-field input::placeholder{color:#9ca8b7}.sidebar-search{margin-bottom:16px}.side-primary{width:100%;border:1px solid transparent;background:transparent;border-radius:9px;padding:11px 9px;display:flex;align-items:center;gap:10px;text-align:left;font-size:11px;color:var(--soft);font-weight:800}.side-primary.selected{color:#0a965f;background:#e7f8f0;border-color:#d9f2e5}.round-icon{font-size:16px;line-height:1}.side-chevron{margin-left:auto;font-size:21px;font-weight:500;color:#9baebc}.side-divider{height:1px;background:var(--border);margin:17px 6px}.side-label{color:#a6b0bf;font-size:9px;font-weight:900;letter-spacing:1.45px;margin:8px 9px 13px}.region-group{border-radius:8px;margin:1px 0}.region-group>summary{list-style:none;padding:10px 9px;display:flex;align-items:center;gap:8px;cursor:pointer;border-radius:8px;color:#5f6d81;font-size:10px;font-weight:900;letter-spacing:.45px}.region-group>summary::-webkit-details-marker{display:none}.region-group>summary:hover{background:#f5f8fb}.region-group>summary em{font-style:normal;margin-left:auto;color:#adb7c6;font-size:9px}.region-arrow{font-size:15px;color:#a4b2bf;transition:transform .2s}.region-group[open] .region-arrow{transform:rotate(180deg)}.region-items{padding:0 0 8px}.league-choice{width:100%;border:0;background:transparent;display:flex;align-items:center;gap:9px;text-align:left;color:#5d6b82;min-height:37px;padding:6px 10px 6px 16px;border-radius:8px;font-size:11px;line-height:1.3;font-weight:650}.league-choice:hover{background:#f4f9f6;color:#0b955b}.league-choice.selected{color:#108b5d;background:#e9f8ef;font-weight:850}.league-flag{font-size:15px;min-width:20px;text-align:center}.active-mark{margin-left:auto;color:#18b974;font-size:9px}.side-bottom{font-size:10px;color:#a5b2c0;border-top:1px solid var(--border);margin:18px 7px 0;padding-top:14px;display:flex;align-items:center;gap:8px}.side-signal{width:6px;height:6px;border-radius:50%;background:#25c883}.loading-text,.empty-side{padding:25px 12px;color:#8b98a8;text-align:center;font-size:11px}
.content{min-width:0}.content-header{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 25px}.content-header h1{font:850 32px/1.12 'Outfit',sans-serif;letter-spacing:-1px;margin:10px 0 6px;color:var(--ink)}.content-header p{margin:0;color:#96a2b3;font-size:12px}.mini-live{font-size:9px;color:#ef465a;background:#ffe8ec;border-radius:4px;padding:3px 6px;margin-left:9px;letter-spacing:.5px}.header-metrics{display:flex;gap:9px}.metric{width:110px;border:1px solid var(--border);background:var(--panel);border-radius:12px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 8px}.metric span{grid-column:1/-1;color:#8c9caf;font-size:9px;font-weight:900;letter-spacing:.7px}.metric strong{font:850 25px 'Outfit',sans-serif;line-height:1.05;letter-spacing:-.5px}.metric small{color:#9ba9b8;font-size:9px}.metric.is-live{background:#fff4f5;border-color:#ffe7e9}.metric.is-live strong{color:#ec3a50}
.scores-panel,.standings-panel{border:1px solid var(--border);background:var(--panel);border-radius:15px;box-shadow:var(--shadow);overflow:hidden}.scores-topline{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 18px;gap:10px}.scores-topline h2{font:850 20px 'Outfit',sans-serif;letter-spacing:-.4px;margin:5px 0 0}.updates{display:flex;align-items:center;gap:9px;color:#9da8b6;font-size:10px;font-weight:700}.updates-dot{height:6px;width:6px}.updates-dot.offline{background:#ef4259;box-shadow:0 0 0 4px #ef42591a}.refresh-button{border:1px solid var(--border);width:30px;height:30px;color:#8290a1}.refresh-button svg{width:15px;height:15px}.refresh-button:hover{background:#edf9f2;color:#129966}
.date-scroll{height:87px;display:flex;align-items:center;gap:11px;padding:10px 22px 17px;border-bottom:1px solid var(--border)}.arrow-button{width:31px;height:42px;flex-shrink:0;border:1px solid var(--border);background:var(--panel);border-radius:8px;font-size:23px;color:#64748c;line-height:1}.date-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;flex:1}.day-chip{border:1px solid transparent;border-radius:10px;padding:7px 5px;background:transparent;display:flex;flex-direction:column;align-items:center;gap:2px;color:#98a4b5;line-height:1.12}.day-chip>span{font-weight:900;font-size:9px;letter-spacing:.65px}.day-chip>b{font:850 19px 'Outfit',sans-serif;color:#3a4a5e}.day-chip>small{font-weight:750;font-size:10px}.day-chip:hover{background:#f2f8f5}.day-chip.active{background:#e7f8ef;border-color:#caeddc;color:#11965e}.day-chip.active b{color:#098856}.date-calendar{border-left:1px solid var(--border);padding-left:11px;position:relative;height:42px;display:flex;align-items:center;color:#8294a6}.date-calendar svg{width:21px;height:21px}.date-calendar input{position:absolute;inset:0 0 0 11px;opacity:0;cursor:pointer;width:calc(100% - 11px)}.date-calendar input::-webkit-calendar-picker-indicator{width:100%;height:100%;cursor:pointer}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px;border-bottom:1px solid var(--border)}.tabs{display:flex;align-items:center;gap:3px;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:transparent;border:0;border-radius:8px;color:#8492a3;font-weight:850;padding:10px 13px;font-size:11px}.tab:hover{background:#f5f9f7;color:#249b69}.tab.active{background:#e5f8ed;color:#0e9f62}.tab>span:not(.live-tab-dot){font-size:10px;color:#aab5c2;padding:1px 4px}.tab.active>span{color:#13965e}.live-tab-dot{height:6px;width:6px;background:#ef4259;border-radius:50%;margin-right:1px}.tools{display:flex;align-items:center;gap:8px}.match-search{width:174px;height:35px}.sound-button{border:1px solid var(--border);background:var(--panel);color:#7b8999;padding:9px 12px;border-radius:8px;font-size:10px;font-weight:800;white-space:nowrap}.sound-button[aria-pressed="true"]{background:#e6f7ee;color:#129d61;border-color:#bfe9d2}.sound-button:hover{border-color:#b8d8c7}
.list-area{min-height:320px}.match-group{margin:0;border-bottom:8px solid var(--bg)}.match-group:last-child{border-bottom:0}.group-header{height:61px;padding:0 21px;display:flex;align-items:center;gap:10px;background:#fafbfd;border-bottom:1px solid var(--border)}.group-flag{font-size:20px;min-width:22px;text-align:center}.group-title{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.group-title strong{font-size:12px;color:#24334c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900}.group-title small{font-size:10px;color:#9da8b7}.group-live{color:#ef4259;font-weight:800}.group-actions{display:flex;align-items:center;gap:8px}.table-link{background:#fff;border:1px solid #e5ebf0;border-radius:7px;padding:7px 10px;white-space:nowrap;color:#667990;font-size:10px;font-weight:800}.table-link:hover{border-color:#c0e7d2;color:#099462}.table-link span{font-size:11px}.group-collapse{width:26px;height:28px;background:transparent;border:0;color:#a8b4c3;font-size:18px}.match-group.folded .group-rows{display:none}
.match-row{display:flex;align-items:stretch;padding:0 12px 0 17px;background:var(--panel);border-bottom:1px solid #eff1f5;position:relative;min-height:73px}.match-row:last-child{border-bottom:0}.match-row:hover{background:#f8fcf9}.match-row.live{background:linear-gradient(90deg,#fff9fa 0%,#fff 26%);border-left:3px solid #f04a5a;padding-left:14px}.favorite-star{border:0;background:none;color:#bdc6d1;width:33px;flex-shrink:0;font-size:21px;padding:0 3px;margin-right:4px}.favorite-star.saved{color:#f2b534}.favorite-star:hover{color:#dfad34}.match-click{display:flex;align-items:center;flex:1;min-width:0;border:0;background:transparent;text-align:left;padding:10px 0}.match-time{display:flex;align-items:center;gap:5px;width:73px;flex-shrink:0;color:#7b8a9b;font-weight:900;font-size:11px;font-variant-numeric:tabular-nums}.match-time.inplay{color:#e83b51}.time-pulse{width:6px;height:6px;box-shadow:0 0 0 3px #f1495418;background:#ef4857;animation:dot-blink 2s infinite}.match-participants{display:flex;flex-direction:column;gap:9px;flex:1;min-width:0}.participant{display:flex;align-items:center;gap:9px;min-width:0;height:20px}.team-emblem{width:21px;height:21px;border:1px solid #e3e9f0;border-radius:7px;background:#f2f5f8;color:#6c7d8f;display:grid;place-items:center;flex-shrink:0;font-size:10px;font-weight:900}.team-text{font-size:12px;color:#2b3950;font-weight:750;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cards{display:inline-flex;align-items:center;gap:3px;flex-shrink:0}.mini-card{width:9px;height:13px;border-radius:2px;display:inline-grid;place-items:center;font-weight:900;font-size:8px;box-shadow:0 1px 2px #0002}.yellow-card{background:#f6d334;color:#322b0c}.red-card{background:#ed3b4c;color:#fff}.result{width:38px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;position:relative;font-variant-numeric:tabular-nums;color:#b2bec9}.result b{font:850 14px 'Outfit',sans-serif;line-height:1.38}.result.filled{color:#15293e}.match-row.live .result.filled{color:#e53c51}.row-chevron{color:#b3becc;font-size:25px;line-height:1;width:23px;align-self:center;text-align:right}.goal-active{animation:goal-flash 1.15s 3;border-left:4px solid #18b568!important}.goal-word{position:absolute;bottom:50%;left:-50px;color:#109d5d;background:#e3f9ea;border-radius:4px;font-size:9px;padding:3px 5px;font-weight:900;animation:goal-pop .55s}.loading-state{height:200px;display:flex;justify-content:center;align-items:center;gap:13px;color:#93a0b0;font-weight:750}.spinner{border:3px solid #e7f2eb;border-top-color:#1fc67b;border-radius:50%;width:24px;height:24px;animation:spin .8s linear infinite}.empty-state{text-align:center;padding:56px 18px 64px;color:#8391a3}.empty-state h3{color:#33445d;font:850 19px 'Outfit',sans-serif;margin:8px 0}.empty-state p{font-size:12px;line-height:1.65;max-width:440px;margin:0 auto 12px}.empty-icon{font-size:29px;color:#9aabb9;border:1px solid var(--border);border-radius:50%;height:62px;width:62px;display:grid;place-items:center;margin:auto}.empty-reset{margin-top:11px;background:#e6f8ee;color:#129962;border:1px solid #c9eddb;padding:10px 16px;border-radius:9px;font-weight:900}.scores-bottom{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;color:#a6b0bc;font-size:10px;gap:10px}
.standings-panel{margin-top:25px;scroll-margin-top:105px}.standings-head{padding:27px 25px 23px;display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.standings-head h2{font:850 23px 'Outfit',sans-serif;letter-spacing:-.5px;margin:7px 0 4px}.standings-head p{margin:0;color:#9aa7b5;font-size:11px}.standings-controls{min-width:255px;display:flex;flex-direction:column;gap:7px}.standings-controls label{font-size:9px;font-weight:900;color:#8fa0af;letter-spacing:1px}.standings-controls select{max-width:400px;width:100%;height:42px;border:1px solid #dfe6ee;background:var(--panel);color:var(--ink);border-radius:9px;padding:0 12px;font-weight:800;font-size:11px}.standings-meta{display:flex;justify-content:space-between;gap:16px;padding:11px 24px;background:#fafbfd;border-top:1px solid var(--border);border-bottom:1px solid var(--border);color:#96a5b5;font-size:10px;font-weight:700}.standings-legend{display:flex;align-items:center;gap:6px}.legend-champion,.legend-danger{display:inline-block;height:10px;width:3px;border-radius:3px;background:#1abf78;margin-left:8px}.legend-danger{background:#f39c65}.standings-scroll{width:100%;overflow-x:auto}.standings-table{width:100%;border-collapse:collapse;text-align:center;white-space:nowrap;font-size:12px}.standings-table thead{background:#fbfcfd;color:#9eabb9;font-size:10px;font-weight:900;letter-spacing:.6px}.standings-table th{padding:13px 9px;border-bottom:1px solid var(--border)}.standings-table td{height:50px;padding:9px;border-bottom:1px solid #f0f2f5;color:#63758b;font-variant-numeric:tabular-nums}.standings-table tbody tr:hover{background:#f7fbf9}.standings-table tr:last-child td{border-bottom:0}.standings-table .rank-col{width:52px}.standings-table .team-col{text-align:left;width:48%}.standings-team{font-weight:800;color:#27364f!important;text-align:left;display:table-cell}.standings-crest{display:inline-grid;place-items:center;background:#edf3f7;color:#728398;font-size:9px;border:1px solid #e5ebf1;width:23px;height:23px;border-radius:50%;font-weight:900;margin-right:12px}.rank-chip{width:25px;height:25px;display:inline-grid;place-items:center;border-left:3px solid transparent;border-radius:5px;color:#77879a;font-weight:900}.rank-chip.top-rank{border-color:#24bd79;background:#ecf9f2;color:#0b955e}.rank-chip.down-rank{border-color:#f3a16a;background:#fff4ea;color:#b97944}.pts{font:850 13px 'Outfit',sans-serif;color:#21364e}
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a0adba;font-size:11px;padding:31px 2px 6px}.footer-brand{display:flex;align-items:center;gap:8px;color:#2d4055}.footer-brand strong{font:850 14px 'Outfit',sans-serif}
.detail-backdrop{position:fixed;inset:0;z-index:100;background:rgba(9,20,36,.58);display:flex;justify-content:flex-end;backdrop-filter:blur(4px)}.detail-open{overflow:hidden}.detail-panel{background:var(--panel);width:min(580px,100vw);height:100%;overflow-y:auto;box-shadow:-20px 0 80px #07182728;animation:slide-in .21s}.detail-top{position:sticky;top:0;z-index:5;height:75px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;background:var(--panel);border-bottom:1px solid var(--border)}.detail-logo{display:flex;align-items:center;gap:9px;color:var(--ink);font-family:'Outfit',sans-serif;font-size:16px}.detail-close{color:#8292a4;border:1px solid var(--border);background:var(--panel)}.detail-content{padding:28px 30px 55px}.detail-match-head{background:#f8fafc;border:1px solid var(--border);border-radius:15px;padding:27px 18px;text-align:center}.detail-competition{font-size:11px;font-weight:850;color:#8a9ba9}.detail-teams{display:grid;grid-template-columns:minmax(0,1fr) 130px minmax(0,1fr);align-items:center;gap:13px;margin:24px 0}.detail-team{display:flex;align-items:center;flex-direction:column;gap:10px;min-width:0}.detail-team strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#283a50}.detail-crest{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#fff;border:1px solid #e5eaf0;font:900 23px 'Outfit',sans-serif;color:#627a8d}.detail-result>div{font:900 43px 'Outfit',sans-serif;white-space:nowrap;letter-spacing:-2px}.detail-result>div span{color:#aebaca}.detail-result>small{font-size:11px;font-weight:900;color:#8ba0af}.detail-result>small.on{color:#e83d50}.detail-date{font-size:10px;color:#9baaba}.detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.detail-summary>div{background:#f8fafb;border:1px solid var(--border);border-radius:12px;padding:15px;display:flex;flex-direction:column;gap:7px}.detail-summary small{font-size:10px;color:#98a9b7}.detail-summary b{font-size:13px;color:#283950}.detail-timeline-head{display:flex;justify-content:space-between;align-items:center;margin:34px 0 18px}.detail-timeline-head h3{font:850 19px 'Outfit',sans-serif;margin:0}.detail-timeline-head span{color:#a0acb8;font-weight:750;font-size:10px}.timeline{border-radius:12px;overflow:hidden;border:1px solid var(--border)}.timeline-event{padding:14px 12px;display:flex;align-items:center;gap:14px;min-height:73px;border-bottom:1px solid var(--border)}.timeline-event:last-child{border-bottom:0}.timeline-minute{width:40px;font-size:12px;color:#64758c;font-weight:900;text-align:right}.timeline-symbol{width:34px;height:34px;border-radius:11px;background:#e9f9ef;display:grid;place-items:center;font-size:16px;flex-shrink:0}.timeline-symbol.yellow_card{background:#fff3c7}.timeline-symbol.red_card{background:#fff0ee}.timeline-text{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.timeline-text strong{color:var(--ink);font-size:12px}.timeline-text span{font-size:10px;color:#91a1b2;line-height:1.5}.timeline-side{font-size:9px;font-weight:900;color:#a1acb8}.timeline-empty{text-align:center;padding:30px 20px;color:#93a4b3}.timeline-empty>span{display:block;font-size:30px;margin-bottom:8px}.timeline-empty>b{color:#354961;font-size:14px}.timeline-empty p{font-size:11px;line-height:1.7;max-width:350px;margin:9px auto}.detail-table-action{margin-top:25px;width:100%;border-radius:10px;padding:14px 16px;display:flex;justify-content:space-between;border:1px solid #ccebd9;background:#e8f9f0;color:#15885b;font-weight:900;font-size:12px}.detail-table-action:hover{background:#d5f3e4}
.goal-toast{position:fixed;z-index:150;left:50%;top:90px;transform:translateX(-50%);background:#0f4731;color:#fff;border:1px solid #63d59b;border-radius:15px;padding:16px 24px;display:flex;align-items:center;gap:15px;min-width:min(360px,calc(100vw - 25px));box-shadow:0 14px 44px #07261a55;pointer-events:none}.goal-toast strong{display:block;color:#aeffd2;font:900 21px 'Outfit',sans-serif;letter-spacing:1px}.goal-toast span{font-size:11px;display:block;margin-top:3px;line-height:1.5}.goal-ball{font-size:29px}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes dot-blink{50%{opacity:.3}}@keyframes goal-flash{0%,100%{background:#fff}50%{background:#e3ffe8}}@keyframes goal-pop{0%{transform:scale(.6);opacity:0}100%{transform:scale(1);opacity:1}}@keyframes slide-in{from{transform:translateX(18px);opacity:.6}to{transform:translateX(0);opacity:1}}
@media(max-width:1200px){.header-inner{gap:27px}.shell{gap:18px;padding:22px 18px;grid-template-columns:228px minmax(0,1fr)}.top-navigation{gap:18px}.toolbar{flex-wrap:wrap}.tools{margin-left:auto}.metric{width:94px;padding:10px}.metric strong{font-size:22px}.group-header{padding:0 16px}}
@media(max-width:960px){.header-inner{padding:0 18px;gap:15px}.mobile-menu,.mobile-close{display:grid}.mobile-menu{border:1px solid #30435b;color:#d8e3ed}.top-navigation{margin-left:15px}.shell{display:block;padding:22px 20px}.sidebar{position:fixed;top:0;bottom:0;left:0;z-index:102;height:100dvh;border-radius:0;width:min(310px,84vw);transform:translateX(-102%);transition:transform .24s;box-shadow:14px 0 40px #0c1b2b34}.menu-open .sidebar{transform:translateX(0)}.mobile-shade:not([hidden]){position:fixed;inset:0;z-index:101;background:#0a173b7d;display:block}.menu-open{overflow:hidden}.content-header{align-items:center}.content-header h1{font-size:29px}}
@media(max-width:640px){.site-header{height:62px}.header-inner{gap:10px;padding:0 12px}.brand{font-size:19px;gap:7px}.brand-icon{width:31px;height:31px;border-radius:9px;font-size:20px}.brand-tag{display:none}.top-navigation{position:fixed;bottom:0;left:0;right:0;z-index:60;height:55px;margin:0;gap:0;display:flex;justify-content:space-around;background:var(--dark);border-top:1px solid #31435b}.nav-link{height:100%;flex:1;justify-content:center;font-size:11px}.nav-link.is-active:after{top:0;bottom:auto}.header-actions{gap:8px}.clock-pill{padding:7px 9px;font-size:10px}.theme-toggle{width:30px;height:32px}.shell{padding:20px 10px 85px}.content-header{display:block;margin:0 8px 17px}.content-header h1{font-size:29px;margin:7px 0 4px}.content-header p{font-size:11px}.header-metrics{margin-top:17px;gap:8px}.metric{flex:1;width:auto;min-width:0;padding:10px 12px}.metric strong{font-size:24px}.scores-topline{padding:18px 15px}.scores-topline h2{font-size:18px}.date-scroll{padding:9px 8px 12px;height:82px;gap:3px}.arrow-button{height:38px;width:24px;border:0;font-size:21px}.day-chip{padding:7px 2px}.day-chip b{font-size:16px}.day-chip>span{font-size:8px}.day-chip small{font-size:9px}.date-calendar{padding-left:5px;width:23px}.date-calendar svg{width:18px}.date-calendar input{left:0;width:100%}.toolbar{padding:10px 12px;gap:9px;display:block}.tabs{gap:1px;justify-content:space-between}.tab{padding:10px 6px;font-size:10px;gap:3px}.tab>span:not(.live-tab-dot){font-size:9px}.tools{margin-top:8px}.match-search{flex:1;width:auto}.sound-button{height:35px}.group-header{padding:0 12px;height:56px;gap:7px}.group-flag{font-size:17px}.group-title strong{font-size:11px}.table-link{font-size:9px;padding:6px 7px}.match-row{padding:0 6px 0 8px;min-height:72px}.match-row.live{padding-left:5px}.favorite-star{width:24px;font-size:20px;margin-right:0}.match-time{width:57px;font-size:10px}.participant{gap:6px}.team-emblem{width:18px;height:18px;border-radius:6px;font-size:9px}.team-text{font-size:11px}.match-participants{gap:7px}.result{width:23px}.result b{font-size:13px}.row-chevron{width:12px;font-size:20px}.scores-bottom{padding:13px;gap:8px;font-size:9px}.standings-head{padding:22px 16px 16px;display:block}.standings-head h2{font-size:21px}.standings-controls{margin-top:18px;min-width:0}.standings-meta{padding:12px 10px;font-size:9px}.standings-legend{font-size:8px}.standings-table{font-size:11px;min-width:550px}.standings-table th,.standings-table td{padding:8px 7px}.standings-crest{margin-right:5px}.site-footer{padding:25px 7px;flex-wrap:wrap;font-size:10px}.detail-content{padding:19px 16px 40px}.detail-top{padding:0 16px;height:63px}.detail-teams{grid-template-columns:minmax(0,1fr) 105px minmax(0,1fr);gap:5px}.detail-team strong{font-size:11px}.detail-result>div{font-size:37px}}
@media(max-width:365px){.tab{font-size:9px;padding:8px 4px}.clock-pill{font-size:9px}.brand{font-size:16px}.match-time{width:48px}.team-text{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Koyu görünüm; görünüm tercihi tarayıcıda saklanır. */
body.dark-mode{--bg:#121c2a;--panel:#1b293c;--border:#2d3c52;--ink:#e5edf7;--soft:#abb8cc;--muted:#96a6b9;--shadow:none;color:var(--ink)}
.dark-mode .sidebar,.dark-mode .scores-panel,.dark-mode .standings-panel{box-shadow:none}.dark-mode .search-field,.dark-mode .detail-match-head,.dark-mode .detail-summary>div{background:#25364c}.dark-mode .search-field input{color:#e8f0fa}.dark-mode .side-primary.selected,.dark-mode .league-choice.selected,.dark-mode .tab.active,.dark-mode .day-chip.active{background:#1d463a;color:#6df0ae;border-color:#285642}.dark-mode .league-choice,.dark-mode .region-group>summary,.dark-mode .team-text,.dark-mode .group-title strong,.dark-mode .standings-team,.dark-mode .detail-team strong,.dark-mode .detail-result,.dark-mode .timeline-text strong,.dark-mode .detail-timeline-head h3,.dark-mode .empty-state h3,.dark-mode .detail-summary b{color:#d9e4f4!important}.dark-mode .group-header,.dark-mode .standings-meta,.dark-mode .standings-table thead{background:#223147}.dark-mode .match-row,.dark-mode .match-row.live{background:#1b293c;border-color:#2d3c52}.dark-mode .match-row:hover,.dark-mode .standings-table tbody tr:hover{background:#253a4b}.dark-mode .team-emblem,.dark-mode .standings-crest,.dark-mode .detail-crest{background:#2d4054;border-color:#3a5367;color:#bfcee0}.dark-mode .metric.is-live{background:#352c3d;border-color:#443548}.dark-mode .day-chip b,.dark-mode .scores-topline h2,.dark-mode .standings-head h2,.dark-mode .pts{color:#dfeafa}.dark-mode .table-link,.dark-mode .sound-button,.dark-mode .arrow-button{background:#25364c;border-color:#3b4c61;color:#b9c6d4}.dark-mode .standings-controls select{background:#25364c;color:#eff5ff;border-color:#3b4c61}.dark-mode .standings-table td{border-color:#2d3c52}.dark-mode .detail-table-action{background:#1f4b3c;color:#91f4bf;border-color:#2b6853}.dark-mode .score-bottom,.dark-mode .scores-bottom{border-color:#2d3c52}.dark-mode .rank-chip.top-rank{background:#29503d;color:#8bf1b4}.dark-mode .rank-chip.down-rank{background:#493527;color:#f0b98a}

/* v1.1: event notifications – team first, clear score, close action, independent cards */
.event-toasts{position:fixed;z-index:155;top:88px;right:24px;display:flex;flex-direction:column;gap:11px;width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 112px);pointer-events:none;overflow-y:auto;scrollbar-width:thin}
.match-alert{pointer-events:auto;position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:13px;align-items:start;width:100%;padding:17px 44px 16px 16px;background:#fff;border:1px solid #cceede;border-left:5px solid #17b472;border-radius:16px;box-shadow:0 14px 50px #0d2d3152;cursor:pointer;animation:alert-enter .28s cubic-bezier(.16,.85,.24,1) both;color:#172c38}
.match-alert--red{border-color:#ffd7dc;border-left-color:#ea4058;background:#fffafa}
.alert-symbol{width:43px;height:43px;border-radius:12px;background:#e8f9f0;display:grid;place-items:center;font-size:23px}.match-alert--red .alert-symbol{background:#ffecee}
.alert-body{min-width:0;display:flex;flex-direction:column;gap:5px}
.alert-kind{font-size:12px;font-weight:950;letter-spacing:.7px;color:#099b63;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.match-alert--red .alert-kind{color:#df304a}
.alert-now{font-size:8px;font-weight:900;color:#6e8a92;letter-spacing:.6px;border-radius:5px;background:#eaf0f2;padding:4px 6px}
.alert-title{font:900 22px/1.2 'Outfit','DM Sans',sans-serif;color:#152839;overflow-wrap:anywhere}
.alert-description{font-size:11px;font-weight:700;color:#5d7184}
.alert-fixture{margin-top:7px;padding:9px 10px;border-radius:9px;border:1px solid #e7ecef;background:#f6f8fa;display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);gap:9px;align-items:center;font-size:11px;font-weight:750}
.alert-team{min-width:0;overflow-wrap:anywhere;color:#526477}.alert-team:last-child{text-align:right}.alert-team-scored{color:#067c51;font-weight:950}.match-alert--red .alert-team-scored{color:#d12a45}
.alert-result{background:white;border:1px solid #e2e8ed;border-radius:6px;color:#193044;padding:5px 7px;font:900 16px/1 'Outfit',sans-serif;white-space:nowrap}
.alert-meta{color:#7d909f;font-size:10px;font-weight:650;margin-top:4px;line-height:1.5}
.alert-dismiss{position:absolute;top:9px;right:9px;background:#f0f3f5;border:0;border-radius:8px;width:27px;height:27px;display:grid;place-items:center;font-size:20px;color:#758698;line-height:1}.alert-dismiss:hover{background:#e1e9ed;color:#1f3444}
.match-row.red-active,.match-row.red-active.live{animation:card-alert-flash 1.1s ease-in-out 2;border-left:3px solid #ea4058}
@keyframes alert-enter{0%{transform:translateX(25px) scale(.975);opacity:0}100%{transform:translateX(0) scale(1);opacity:1}}
@keyframes card-alert-flash{0%,100%{background:inherit}50%{background:#ffe1e5}}
@media(max-width:640px){.event-toasts{top:70px;left:10px;right:10px;width:auto;max-height:calc(100dvh - 140px)}.match-alert{padding:12px 37px 12px 11px;grid-template-columns:36px minmax(0,1fr);gap:9px;border-radius:12px}.alert-symbol{width:34px;height:34px;font-size:19px}.alert-title{font-size:18px}.alert-fixture{gap:5px;padding:7px 6px;font-size:10px}.alert-result{font-size:14px;padding:5px}.alert-meta{font-size:9px}}
.dark-mode .match-alert{background:#20364b;color:#e7f2fb;border-color:#3b6d67;border-left-color:#1dca80;box-shadow:0 14px 40px #050c1f77}.dark-mode .match-alert--red{border-color:#73505d;border-left-color:#fb5067;background:#382e40}.dark-mode .alert-title{color:#eff8fe}.dark-mode .alert-description{color:#ced7e3}.dark-mode .alert-fixture{background:#223146;border-color:#3f5367}.dark-mode .alert-team{color:#b6c7d7}.dark-mode .alert-team-scored{color:#67eaae}.dark-mode .match-alert--red .alert-team-scored{color:#ff94a3}.dark-mode .alert-result{background:#18273a;border-color:#445c70;color:#eff9ff}.dark-mode .alert-kind{color:#77ecb2}.dark-mode .match-alert--red .alert-kind{color:#ff8498}.dark-mode .alert-now{background:#304459;color:#b7c9db}
@media(prefers-reduced-motion:reduce){.match-alert,.match-row.red-active{animation:none!important}}

/* Digi Score v1.2: clear statistic cards and contextual standings. */
.standings-panel[hidden]{display:none!important}
#puan-durumu{scroll-margin-top:92px}
.header-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:0 0 min(366px,42%);min-width:0}
.metric{box-sizing:border-box;min-width:0;width:auto;min-height:83px;padding:10px 13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px}
.metric span{font-size:9px;line-height:1.2;letter-spacing:1px}
.metric strong{display:block;max-width:100%;font-size:clamp(20px,2.15vw,28px);line-height:1.12;letter-spacing:-.7px;font-variant-numeric:tabular-nums;white-space:nowrap}
.metric small{display:block;max-width:100%;font-size:10px;line-height:1.3;white-space:normal;overflow-wrap:normal}
.content-header>div:first-child{min-width:0}
@media(max-width:1150px){.header-metrics{flex-basis:min(342px,48%)}.metric{padding:9px 10px}.metric strong{font-size:24px}}
@media(max-width:690px){.header-metrics{width:100%;margin-top:17px;flex-basis:auto;gap:7px}.metric{min-height:73px;padding:9px 10px}.metric strong{font-size:clamp(19px,6vw,26px)}.metric small{font-size:9px}}
@media(max-width:350px){.metric{padding:8px 7px}.metric strong{font-size:20px}.metric small{font-size:8px}}

/* Digi Score v1.3: flag + club crest system. All images have text fallbacks. */
.group-flag,.league-flag,.side-region-flag{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}
.group-flag{width:28px;height:23px;font-size:17px}
.league-flag{width:25px;height:19px;font-size:10px}
.side-region-flag{width:24px;height:18px;margin-right:6px}
.flag-image{max-width:100%;width:24px;height:16px;object-fit:cover;display:block;border:1px solid #dce4eb;border-radius:3px;box-shadow:0 1px 2px #14243b10}
.flag-image+.flag-fallback{display:none}
.flag-fallback{font-size:12px;font-weight:850;color:var(--muted);letter-spacing:.4px}
.badge-host{position:relative;overflow:hidden;display:inline-grid;place-items:center;flex-shrink:0}
.crest-initial{display:grid;place-items:center;width:100%;height:100%;text-align:center;font-weight:750}
.crest-image{display:block;width:100%;height:100%;object-fit:contain;padding:1px;max-width:100%;max-height:100%;background:transparent}
.crest-image+.crest-initial{display:none}
.team-emblem.badge-host{width:24px;height:24px;border-radius:6px;background:transparent;border:0;color:var(--soft)}
.team-emblem:not(:has(.crest-image)){background:#f2f6f9;border:1px solid #e3eaf1}
.standings-crest.badge-host{width:24px;height:24px;border:0;background:transparent;vertical-align:middle;margin-right:8px}
.standings-crest:not(:has(.crest-image)){background:#edf2f6;border-radius:7px}
.detail-crest.badge-host{width:56px;height:56px;border:0;background:transparent;border-radius:10px;margin:0 auto 8px}
.detail-crest:not(:has(.crest-image)){background:#eff4f8;border:1px solid #dfe7ee}
.detail-competition .flag-image{display:inline-block;vertical-align:middle;margin-right:6px}
.detail-competition .flag-fallback{vertical-align:middle}
.region-group>summary .side-region-flag{vertical-align:middle}
.dark-mode .team-emblem:not(:has(.crest-image)),.dark-mode .standings-crest:not(:has(.crest-image)),.dark-mode .detail-crest:not(:has(.crest-image)){background:#2d4054;border-color:#3a5367}
@media(max-width:640px){.team-emblem.badge-host{width:21px;height:21px}.group-flag{width:24px}.standings-crest.badge-host{width:21px;height:21px}.detail-crest.badge-host{width:45px;height:45px}}

/* Digi Score v1.7 — dedicated league view and mobile-first score centre */
.league-page{margin:0 0 14px;min-width:0}
.league-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(113deg,#10263d 0%,#102b33 65%,#10634b 170%);color:#fff;border-radius:16px 16px 0 0;padding:24px 27px 21px}
.league-hero-main{min-width:0}
.league-back{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#b7e6da;font-size:12px;font-weight:780;padding:0 0 16px;cursor:pointer}
.league-back:hover{color:white}
.league-eyebrow{font-size:10px;color:#69dca8;letter-spacing:1.4px;font-weight:850;margin-bottom:9px}
.league-hero-title{display:flex;align-items:center;gap:14px;min-width:0}
.league-hero-title h1{font:850 clamp(22px,2.7vw,34px)/1.13 'Outfit',sans-serif;letter-spacing:-.9px;min-width:0;overflow-wrap:anywhere;margin:0}
.league-hero-flag{font-size:30px;display:inline-flex;align-items:center;justify-content:center;width:45px;height:45px;flex:0 0 45px;border-radius:11px;background:#ffffff1a}
.league-hero-flag img{width:31px;height:23px;object-fit:cover;border-radius:3px}
.league-hero p{color:#bfd7da;margin:12px 0 0;font-size:12px}
.league-mini-info{font-size:11px;color:#abccb9;white-space:nowrap}
.league-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--panel);border:1px solid var(--border);border-top:0;border-radius:0 0 15px 15px;overflow:hidden;margin:0 0 16px}
.league-view-tab{position:relative;padding:17px 12px;border:0;background:transparent;color:#72849a;font-weight:850;font-size:13px;cursor:pointer;transition:background .15s,color .15s}
.league-view-tab+.league-view-tab{border-left:1px solid var(--border)}
.league-view-tab.active{color:#038b58;background:#e9f7ef}
.league-view-tab.active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:#11af73}
.league-page+ .scores-panel{margin-top:0}
.league-page~ .standings-panel{margin-top:0}
.mobile-league-picker{display:none}
.league-page[hidden],.scores-panel[hidden],.content-header[hidden],.standings-panel[hidden],.mobile-league-picker[hidden]{display:none!important}
@media(max-width:960px){
 .shell{padding:18px 18px calc(78px + env(safe-area-inset-bottom));}
 .site-header{height:64px}.header-inner{gap:12px;padding:0 15px}.brand{font-size:21px}.top-navigation{gap:15px;margin-left:auto}.clock-pill{font-size:10px}
 .sidebar{width:min(350px,88vw);box-sizing:border-box;max-width:100vw;overscroll-behavior:contain}
 .content{min-width:0}.content-header{margin:0 0 16px}
 .league-mini-info{display:none}
 .mobile-league-picker:not([hidden]){display:flex;align-items:center;gap:10px;justify-content:flex-start;width:100%;margin:0 0 12px;background:var(--panel);color:var(--ink);border:1px solid var(--border);border-radius:12px;padding:13px 14px;font-size:13px;font-weight:800;cursor:pointer}
 .mobile-league-picker span:last-child{margin-left:auto;font-size:22px;color:var(--soft)}
}
@media(max-width:640px){
 html,body{max-width:100%;overflow-x:clip}
 .site-header{height:60px}.header-inner{gap:9px;padding:0 12px}.header-actions{margin-left:auto;gap:7px}.clock-pill{font-size:10px;padding:7px 8px}
 .brand{font-size:20px;gap:7px}.brand-icon{width:31px;height:31px;font-size:20px}.mobile-menu{width:34px;height:34px;flex:none}
 .top-navigation{height:calc(58px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box;background:#102035;box-shadow:0 -8px 23px #10203517;justify-content:space-around;gap:0}
 .nav-link{font-size:12px;min-width:0;padding:0 7px}.nav-number{font-size:9px}
 .shell{padding:14px 8px calc(83px + env(safe-area-inset-bottom))}
 .content-header{margin:2px 4px 13px}.content-header>.header-metrics{margin-top:13px}
 .content-header .eyebrow{font-size:9px}.content-header h1{font-size:27px;margin:6px 0 3px}
 .content-header p{font-size:11px}
 .header-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}
 .metric{display:flex;flex-direction:column;gap:3px;padding:9px 10px;min-height:68px;border-radius:11px;min-width:0;box-sizing:border-box}
 .metric>span{font-size:8px;letter-spacing:.5px}.metric strong{font-size:clamp(18px,5.6vw,25px);line-height:1.12}.metric small{font-size:9px;line-height:1.1}
 .mobile-league-picker:not([hidden]){margin:0 0 11px;border-radius:12px;padding:12px 13px}
 .scores-panel,.standings-panel{border-radius:13px;min-width:0}
 .scores-topline{padding:15px 12px;gap:9px}.scores-topline h2{font-size:18px}.updates{font-size:10px;gap:6px}.updates button{flex:0 0 auto}
 .date-scroll{padding:8px 6px 11px;gap:5px;height:auto;min-height:79px;display:flex;overflow:hidden}
 .date-days{display:flex;gap:5px;min-width:0;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .date-days::-webkit-scrollbar{display:none}
 .day-chip{box-sizing:border-box;flex:0 0 58px;min-width:58px;scroll-snap-align:center;min-height:62px;padding:6px 2px}
 .day-chip>span{font-size:9px}.day-chip b{font-size:17px}.day-chip small{font-size:9px}
 .arrow-button{width:27px;height:36px;font-size:21px}.date-calendar{width:29px;padding-left:0;height:39px;display:grid;place-items:center;border-left:0}
 .toolbar{padding:0;display:flex;flex-direction:column;align-items:stretch;gap:0}
 .tabs{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:5px;padding:11px 10px;scrollbar-width:none;border-bottom:1px solid var(--border);max-width:100%;-webkit-overflow-scrolling:touch}
 .tabs::-webkit-scrollbar{display:none}
 .tab{flex:0 0 auto;white-space:nowrap;font-size:11px;padding:9px 12px;border-radius:9px;min-height:36px;gap:5px}
 .tab>span:not(.live-tab-dot){font-size:10px}
 .tools{display:flex;gap:8px;margin:0;padding:10px;align-items:center;justify-content:stretch;min-width:0}
 .match-search{flex:1;min-width:0;width:auto;height:38px}.sound-button{flex:0 0 auto;min-height:38px;padding:8px 10px;white-space:nowrap;font-size:10px}
 .group-header{height:auto;min-height:55px;padding:10px 10px 10px 11px;gap:8px}
 .group-flag{flex:none;width:23px;align-self:center}.group-title{min-width:0;flex:1}
 .group-title strong{font-size:12px;line-height:1.28;overflow-wrap:anywhere}
 .group-title small{font-size:10px;line-height:1.3}
 .group-actions{gap:2px;flex:0 0 auto}.table-link{font-size:10px;min-height:34px;padding:7px 7px;border-radius:7px}.table-link span{display:none}
 .group-collapse{width:25px;height:34px;font-size:20px}
 .match-row{min-height:76px;padding:0 7px 0 4px;gap:0}
 .match-row.live{padding-left:1px}
 .favorite-star{width:29px;flex:0 0 29px;min-height:60px;font-size:21px}
 .match-click{padding:10px 0;gap:4px;min-width:0;flex:1;display:flex}
 .match-time{width:43px;flex:0 0 43px;font-size:10px;justify-content:center;align-items:center;gap:3px}
 .time-pulse{width:5px;height:5px}
 .match-participants{flex:1;min-width:0;gap:9px}
 .participant{height:auto;min-height:20px;gap:6px;min-width:0}
 .team-emblem{width:21px;height:21px;flex:0 0 21px;border-radius:6px}
 .team-text{font-size:12px;font-weight:780;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .cards{flex:0 0 auto}
 .result{width:30px;flex:0 0 30px;gap:10px}.result b{font-size:15px;line-height:1.1}
 .row-chevron{width:14px;flex:0 0 14px;font-size:19px}
 .scores-bottom{padding:12px 11px;line-height:1.3;flex-wrap:wrap}
 .standings-panel{margin:0}.standings-head{padding:17px 13px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
 .standings-head h2{font-size:22px;margin:4px 0}
 .standings-head p{font-size:11px}.standings-controls{margin:0;min-width:0;width:100%}
 .standings-controls select{max-width:none;min-height:42px;font-size:12px}
 .standings-meta{display:flex;flex-wrap:wrap;gap:8px;padding:10px 12px}.standings-legend{font-size:9px}
 .standings-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
 .standings-table{min-width:570px}.standings-table th,.standings-table td{padding:9px 7px}
 .detail-panel{width:100vw;max-width:100%;height:100dvh;box-shadow:none}
 .detail-top{height:58px;padding:0 15px}.detail-content{padding:17px 13px calc(36px + env(safe-area-inset-bottom))}
 .detail-teams{grid-template-columns:minmax(0,1fr) 94px minmax(0,1fr);gap:4px}.detail-result>div{font-size:35px}.detail-team strong{font-size:11px;overflow-wrap:anywhere}
 .league-page{margin:0 0 11px}.league-hero{padding:17px 14px 19px;border-radius:13px 13px 0 0}
 .league-back{padding-bottom:13px;font-size:12px}.league-eyebrow{font-size:9px;margin-bottom:8px}
 .league-hero-title{gap:10px}.league-hero-title h1{font-size:clamp(22px,6.6vw,29px)}
 .league-hero-flag{height:39px;width:39px;flex-basis:39px;font-size:23px}
 .league-hero p{font-size:11px;line-height:1.4;margin-top:9px}
 .league-view-tabs{margin:0 0 11px;border-radius:0 0 13px 13px}
 .league-view-tab{min-height:51px;padding:10px 7px;font-size:12px}
 .site-footer{padding:25px 9px}
}
@media(max-width:360px){
 .shell{padding-left:5px;padding-right:5px}.brand{font-size:17px}.header-actions{gap:4px}.clock-pill{font-size:9px;padding:6px 7px}
 .metric{padding:8px 6px}.tab{padding:9px 10px}.match-row{padding-right:4px}.match-row.live{padding-right:4px}
 .favorite-star{width:26px;flex-basis:26px}.match-time{width:38px;flex-basis:38px;font-size:9px}
 .match-click{gap:2px}.team-text{font-size:11px}.group-title strong{font-size:11px}
 .table-link{font-size:9px;padding:6px 5px}.participant{gap:4px}.team-emblem{width:19px;height:19px;flex-basis:19px}
}
.dark-mode .league-view-tabs{background:var(--panel)}
.dark-mode .league-view-tab{color:#aec4d1}.dark-mode .league-view-tab.active{background:#1d463a;color:#88e5b6}
.dark-mode .mobile-league-picker{background:var(--panel);color:var(--ink)}

/* On narrow phones show the important columns without horizontal scrolling. */
.table-expand{display:none;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--ink);font-size:11px;font-weight:800;padding:7px 9px;cursor:pointer}
@media(max-width:640px){
 .table-expand{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;min-height:34px}
 .standings-legend{display:none}
 .standings-table{min-width:0;width:100%;table-layout:fixed;font-size:11px}
 .standings-table th:nth-child(4),.standings-table th:nth-child(5),.standings-table th:nth-child(6),
 .standings-table td:nth-child(4),.standings-table td:nth-child(5),.standings-table td:nth-child(6){display:none}
 .standings-table th,.standings-table td{padding:10px 3px}
 .standings-table .rank-col{width:34px}.standings-table .team-col{width:auto}
 .standings-table th:nth-child(3),.standings-table th:nth-child(7),.standings-table th:nth-child(8){width:36px}
 .standings-table .standings-team{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:0;font-size:11px}
 .standings-table .standings-team .standings-crest{width:20px;height:20px;vertical-align:middle;margin-right:5px}
 .standings-panel.show-all-stats .standings-table{min-width:560px;table-layout:auto}
 .standings-panel.show-all-stats .standings-table th:nth-child(4),.standings-panel.show-all-stats .standings-table th:nth-child(5),.standings-panel.show-all-stats .standings-table th:nth-child(6),
 .standings-panel.show-all-stats .standings-table td:nth-child(4),.standings-panel.show-all-stats .standings-table td:nth-child(5),.standings-panel.show-all-stats .standings-table td:nth-child(6){display:table-cell}
 .standings-panel.show-all-stats .standings-table .standings-team{max-width:none;min-width:145px}
}

/* v1.8: persistent sound and explicit desktop background notifications */
.notification-button{display:inline-flex;gap:5px;align-items:center;justify-content:center}
.notification-button[aria-pressed="true"]{background:#e7f6ed;color:#127849;border-color:#b7e2c6}
.dark-mode .notification-button{background:#25364c;border-color:#3b4c61;color:#d2e5f7}
.dark-mode .notification-button[aria-pressed="true"]{background:#214738;color:#9bf8c2;border-color:#427456}
@media(max-width:640px){
 .tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px}
 .match-search{width:100%;min-width:0}
 .sound-button,.notification-button{min-height:38px;padding:7px 8px;font-size:10px}
 .notification-button span{display:none}
 .notification-button{width:39px;font-size:16px}
}
@media(max-width:350px){.sound-button span{display:none}.sound-button{font-size:17px;width:38px}}

/* 2026-10 DigiScore light/dark contrast consistency; stadium hero is always dark */
.detail-match-head,.dark-mode .detail-match-head{position:relative;isolation:isolate;color:#f4faff!important;background-color:#071b2c!important;background-image:linear-gradient(180deg,rgba(3,16,29,.69),rgba(3,16,29,.88)),url("match_stadium.jpg")!important;background-size:cover!important;background-position:center!important}
.detail-match-head .detail-competition,.dark-mode .detail-match-head .detail-competition{color:#d4e6f6!important;font-size:12px;line-height:1.6;text-shadow:0 1px 4px #0009}
.detail-match-head .detail-team strong,.dark-mode .detail-match-head .detail-team strong{color:#fff!important;text-shadow:0 2px 6px #000c;font-weight:850;font-size:clamp(12px,1.1vw,15px);line-height:1.35;overflow-wrap:anywhere}
.detail-match-head .detail-result,.dark-mode .detail-match-head .detail-result,.detail-match-head .detail-result>div,.dark-mode .detail-match-head .detail-result>div{color:#fff!important;text-shadow:0 2px 9px #0008}
.detail-match-head .detail-result>div span{color:#d0dfed!important}
.detail-match-head .detail-result>small{color:#d8e8f7!important}
.detail-match-head .detail-result>small.on{color:#ff6c80!important}
.detail-match-head .detail-date,.dark-mode .detail-match-head .detail-date{color:#d1e1ed!important;text-shadow:0 1px 4px #000b;font-size:11px}
.detail-team,.detail-result{min-width:0}
.detail-team .detail-crest{background:#f4f8ff!important;border:1px solid #a0bcd4!important;color:#274960!important;box-shadow:0 5px 18px #0006}
.detail-result>div{font-variant-numeric:tabular-nums}
.detail-summary small{color:#5e7189!important}
.detail-summary b{color:#182c44!important}
.dark-mode .detail-summary small{color:#b5c9dc!important}
.dark-mode .detail-summary b{color:#eaf4ff!important}
.detail-timeline-head h3,.timeline-text strong,.timeline-empty>b{color:var(--ink)!important}
.timeline-text span,.timeline-minute,.timeline-side{color:var(--soft)!important}
.detail-top .detail-logo{color:var(--ink)!important}
@media(max-width:640px){.detail-teams{grid-template-columns:minmax(0,1fr) minmax(94px,104px) minmax(0,1fr)!important;gap:7px!important}.detail-match-head{padding:22px 12px!important}.detail-team strong{font-size:12px!important}.detail-result>div{font-size:clamp(29px,9vw,43px)!important}}

/* 2026-10-18: night mode hover/readability corrections */
body.dark-mode .region-group > summary:hover,
body.dark-mode .league-choice:hover,
body.dark-mode .side-primary:hover,
body.dark-mode .day-chip:hover:not(.active),
body.dark-mode .tab:hover:not(.active),
body.dark-mode .group-header:hover,
body.dark-mode .match-row:hover,
body.dark-mode .match-row.live:hover,
body.dark-mode .standings-table tbody tr:hover,
body.dark-mode .refresh-button:hover,
body.dark-mode .arrow-button:hover,
body.dark-mode .sound-button:hover,
body.dark-mode .notification-button:hover,
body.dark-mode .league-view-tab:hover:not(.active),
body.dark-mode .league-back:hover,
body.dark-mode .detail-table-action:hover {
 background-color:#283c52!important;
 color:#f1f7ff!important;
}
body.dark-mode .region-group > summary:hover *,
body.dark-mode .league-choice:hover *,
body.dark-mode .group-header:hover *,
body.dark-mode .match-row:hover .team-text,
body.dark-mode .match-row:hover .result,
body.dark-mode .standings-table tbody tr:hover td,
body.dark-mode .league-view-tab:hover:not(.active) {color:#f1f7ff!important}
body.dark-mode .day-chip.active:hover,
body.dark-mode .tab.active:hover,
body.dark-mode .side-primary.selected:hover,
body.dark-mode .league-choice.selected:hover {background:#205743!important;color:#a2ffd1!important}
body.dark-mode .day-chip.active:hover b {color:#a2ffd1!important}
body.dark-mode .search-field:hover,
body.dark-mode .match-search:hover {background-color:#253b53!important;color:#edf6ff!important}
body.dark-mode input,body.dark-mode select {color-scheme:dark}

/* Digi Score statistics overlay: isolated, additive; preserves all prior CSS */
.ds-stats-momentum,.ds-stats-comparison{margin-top:16px;background:#0b2033;color:#eef5ff;border:1px solid #29465c;border-radius:14px;padding:16px;min-width:0}
.ds-stats-m-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.ds-stats-m-title strong{font-size:13px}.ds-stats-m-title small{font-size:10px;color:#afc0d2}.ds-blue-key,.ds-red-key{display:inline-block;width:8px;height:8px;border-radius:2px;background:#36a8ff}.ds-red-key{background:#f04b64}.ds-momentum-svg{display:block;width:100%;height:150px;background:#11283a;border-radius:8px}.ds-momentum-times{display:flex;justify-content:space-between;color:#99afc4;font-size:10px;margin-top:8px}.ds-momentum-empty{border:1px dashed #37546c;border-radius:9px;padding:25px 10px;text-align:center;color:#bdcad7;font-size:12px}.ds-stats-comparison h3{margin:0 0 15px;font-size:15px;color:white}.ds-stat-comparison-row{margin:0 0 16px}.ds-stat-values{display:grid;grid-template-columns:64px minmax(0,1fr) 64px;align-items:center;gap:4px;margin-bottom:7px;color:#e8f2ff}.ds-stat-values strong{text-align:center;font-size:12px;overflow-wrap:anywhere}.ds-stat-values b{font-size:12px}.ds-stat-values b:last-child{text-align:right}.ds-stat-meter{height:9px;width:100%;display:flex;overflow:hidden;border-radius:999px;background:#344353}.ds-stat-home{background:#39a3f1}.ds-stat-away{background:#ed3948}.ds-stats-unavailable{color:#aebfd0;font-size:12px;padding:17px;line-height:1.5}
body:not(.dark-mode) .ds-stats-momentum,body:not(.dark-mode) .ds-stats-comparison{background:#f0f7fa;color:#18314b;border-color:#d0e2ec}body:not(.dark-mode) .ds-stats-comparison h3,body:not(.dark-mode) .ds-stat-values{color:#18314b}body:not(.dark-mode) .ds-stats-m-title small,body:not(.dark-mode) .ds-stats-unavailable{color:#51647c}

/* Digi Score match details: isolated additions; existing styling retained */
.ds-event-card{display:block;width:14px;height:19px;border-radius:2px;box-shadow:0 1px 3px #0003;border:1px solid #0002;transform:rotate(-7deg)}
.ds-event-yellow{background:#ffce23}.ds-event-red{background:#ed3451}
.ds-change-arrows{display:flex;gap:3px;align-items:center;font-size:20px;font-weight:900;line-height:1}.ds-change-arrows i{font-style:normal}.ds-change-arrows i:first-child{color:#13b976}.ds-change-arrows i:last-child{color:#ee4561}
.ds-lineups{margin-top:16px;border:1px solid var(--border);border-radius:14px;background:var(--panel);overflow:hidden}
.ds-lineups-teams{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 15px;background:#f2f9f5;color:#1e6749}.ds-lineups-teams strong:last-child{text-align:right}
.ds-lineup-title{text-align:center;padding:12px;background:#eef2f6;color:#52637b;font-weight:900;font-size:11px;letter-spacing:1px}
.ds-lineup-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}.ds-lineup-grid>div:first-child{border-right:1px solid var(--border)}
.ds-lineup-player{min-height:42px;display:flex;align-items:center;gap:9px;padding:9px 10px;border-bottom:1px solid var(--border);font-size:11px;font-weight:700}
.ds-lineup-grid>div:last-child .ds-lineup-player{flex-direction:row-reverse;text-align:right}.ds-lineup-no{border:1px solid #cae8d8;color:#0b995f;background:#eaf8f0;min-width:27px;height:27px;display:grid;place-items:center;border-radius:7px;font-weight:900}.ds-lineup-name{min-width:0;overflow-wrap:anywhere}.ds-lineup-name small{font-size:9px;color:#8d9aac}.ds-lineup-muted{padding:16px 8px;text-align:center;color:#9da9b9}
body.dark-mode .ds-lineups-teams{background:#17372d;color:#a9efd0}body.dark-mode .ds-lineup-title{background:#213048;color:#b5c3d5}
@media(max-width:640px){.ds-lineup-player{padding:8px 6px;gap:5px;font-size:10px}.ds-lineup-no{min-width:23px;height:24px}}

/* DigiScore live score row: no toast, animated goal/card signals. */
.event-toasts{display:none!important}
.match-row.goal-active{animation:ds-row-goal-pulse 1s ease-in-out 3!important}
.match-row.goal-active .result{color:#0aae66!important}
.match-row .goal-word{position:static!important;order:-1;white-space:nowrap;display:inline-block;align-self:center;background:#0cbd71;color:white;border:0;border-radius:6px;padding:3px 6px;font-size:11px;letter-spacing:.7px;box-shadow:0 0 0 3px #0cbd7124;animation:ds-goal-bounce .8s ease-in-out infinite alternate!important}
.match-row.goal-active .result{gap:2px;width:54px}
.match-row.goal-active .result b{line-height:1.15}
.match-row.red-active{animation:ds-row-red-pulse 1s ease-in-out 3!important}
@keyframes ds-row-goal-pulse{0%,100%{background:transparent}50%{background:#23d78b29}}
@keyframes ds-row-red-pulse{0%,100%{background:transparent}50%{background:#ff385c2b}}
@keyframes ds-goal-bounce{from{transform:scale(.93);box-shadow:0 0 0 2px #0cbd7126}to{transform:scale(1.07);box-shadow:0 0 0 6px #0cbd710b}}
@media(prefers-reduced-motion:reduce){.match-row .goal-word,.match-row.goal-active,.match-row.red-active{animation:none!important}}

/* Restore original blue/red minute-by-minute pressure chart. Override global SVG styles. */
.ds-stats-momentum svg.ds-momentum-svg{display:block;width:100%;height:150px;fill:none;stroke:none;background:linear-gradient(to bottom,#102a3b 0%,#102a3b 49.5%,#0d2433 50.5%,#0d2433 100%);border-radius:8px}
.ds-stats-momentum .ds-momentum-svg .ds-m-line{stroke:#466177;stroke-width:.35;fill:none}
.ds-stats-momentum .ds-momentum-svg .ds-m-bar{stroke:none!important;stroke-width:0!important}
.ds-stats-momentum .ds-momentum-svg .ds-m-bar-home{fill:#36a8ff!important}
.ds-stats-momentum .ds-momentum-svg .ds-m-bar-away{fill:#f04b64!important}
