:root {
  color-scheme:dark; --bg:#0b121a; --bg2:#111d28; --panel:#14202c; --panel2:#172532;
  --line:#2a3b49; --strong-line:#3e5364; --text:#e6edf4; --muted:#9bafbf; --sub:#b8c8d5;
  --accent:#75ecd2; --blue:#7ebefe; --warn:#eab97b; --neg:#ffa39e; --focus:#98dffe;
  font: 15px/1.45 "Segoe UI", system-ui, sans-serif;
}
* { box-sizing:border-box; }
html {scroll-behavior:smooth;scroll-padding-top:1rem;}
body {margin:0;background:var(--bg);color:var(--text);}
a {color:var(--accent);text-decoration:none;}
a:hover {text-decoration:underline;}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible {outline:2px solid var(--focus);outline-offset:3px;}
.wrap {width:min(1510px, calc(100% - 52px));margin-inline:auto;}
.skip {position:absolute;top:-100px;left:1rem;z-index:99;padding:.6rem;background:#fff;color:#06121b;}
.skip:focus {top:1rem;}
.mast {border-bottom:1px solid var(--line);background:var(--bg2);}
.mast-inner {min-height:61px;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.brand {display:flex;align-items:center;gap:10px;font-family:"Segoe UI",system-ui,sans-serif;font-weight:700;font-size:1.06rem;white-space:nowrap;}
.brand strong {color:var(--accent);}
.brand-slash {color:var(--strong-line);}
.brand-area {color:var(--muted);font-weight:500;font-size:.85rem;}
.mark {width:28px;height:28px;display:grid;place-items:center;border-radius:7px;color:#0b2927;background:var(--accent);font-size:1.15rem;}
.badge {padding:.24rem .65rem;background:#1d2b36;color:var(--sub);border:1px solid var(--strong-line);border-radius:30px;font-size:.8rem;white-space:nowrap;}
.badge i {background:var(--warn);height:6px;width:6px;display:inline-block;border-radius:50%;margin-right:.3rem;vertical-align:2px;}
.hero {position:relative;overflow:hidden;margin:22px 0 12px;padding:24px 30px;min-height:174px;display:flex;justify-content:space-between;align-items:center;gap:1rem;border:1px solid #294653;border-radius:16px;background:linear-gradient(118deg,#152b37,#11222d 58%,#0e3438 145%);}
.hero-copy {position:relative;z-index:1;}
h1,h2,h3,p {margin-top:0;}
h1 {letter-spacing:-.065em;font-size:clamp(2.25rem,8vw,3.45rem);line-height:1.02;margin:.25rem 0 .55rem;}
h2 {font-size:1.36rem;letter-spacing:-.032em;line-height:1.22;margin-bottom:.35rem;}
h3 {font-size:.98rem;margin-bottom:.5rem;}
.hero p {max-width:66ch;margin-bottom:.55rem;color:var(--sub);}
.eyebrow {font-size:.72rem;font-weight:800;color:var(--accent);text-transform:uppercase;letter-spacing:.105em;}
.updated {font-size:.79rem;color:var(--muted);font-variant-numeric:tabular-nums;}
.hero-glyph {position:relative;isolation:isolate;display:flex;align-items:center;gap:7px;margin-right:14px;min-width:154px;justify-content:center;}
.hero-glyph span {display:grid;place-items:center;color:#a8dddf;background:#25434a;border:1px solid #44606b;font:650 1.35rem/1 "Segoe UI",sans-serif;border-radius:8px;height:42px;width:42px;transform:rotate(-6deg);}
.hero-glyph span:nth-child(2) {transform:translateY(-9px);}
.hero-glyph span:nth-child(3) {transform:rotate(6deg);}
.hero-glyph i {position:absolute;right:0;top:-34px;z-index:-1;border:1px solid #325553;border-radius:50%;width:129px;height:129px;opacity:.75;}
.hero-glyph i:nth-of-type(2) {right:-13px;top:-48px;width:157px;height:157px;}
.hero-glyph i:nth-of-type(3) {right:-26px;top:-62px;width:185px;height:185px;}
.notice {border:1px solid #435863;background:#1b2c35;color:#c6d8e2;border-left:4px solid var(--accent);padding:.65rem 1rem;border-radius:8px;margin:0 0 12px;}
.notice.error {border-left-color:var(--neg);}
.notice ul {margin:.4rem 0;}
.filter {padding:15px 20px 17px;border:1px solid var(--line);border-radius:12px;background:var(--bg2);}
fieldset {padding:0;margin:0;border:0;min-inline-size:0;}
legend {padding:0;margin:0 0 .4rem;color:var(--sub);font-weight:600;font-size:.85rem;}
.modetabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-bottom:13px;border-bottom:1px solid var(--line);padding-bottom:13px;}
.mode {position:relative;display:block;min-width:0;}
.mode input {opacity:0;width:1px;height:1px;position:absolute;margin:0;}
.mode span {min-height:42px;display:flex;align-items:center;justify-content:center;border:1px solid var(--strong-line);background:var(--panel2);color:var(--sub);padding:.4rem .55rem;border-radius:8px;font-weight:650;cursor:pointer;text-align:center;}
.mode input:checked + span {color:#c7fff3;border-color:#498378;background:#20443f;}
.mode input:focus-visible + span {outline:2px solid var(--focus);outline-offset:2px;}
.filter-head {display:flex;align-items:center;justify-content:space-between;margin-bottom:.55rem;}
.filter-head h2 {font-size:1rem;margin:0;}
.filter-head a {font-size:.84rem;}
.field-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px 12px;}
.field {display:flex;flex-direction:column;gap:4px;min-width:0;font-size:.80rem;}
.field[hidden] {display:none;}
.field > span {color:var(--sub);font-weight:650;}
.field > small {color:var(--muted);line-height:1.25;}
input,select,button {font:inherit;}
.field input,.field select {width:100%;min-width:0;color:var(--text);background:#101a24;border:1px solid var(--strong-line);border-radius:7px;padding:.45rem .50rem;min-height:37px;}
.field input::placeholder {color:#728899;}
.field input:invalid {border-color:var(--warn);}
.advanced {margin-top:11px;padding-top:9px;border-top:1px solid var(--line);}
.advanced summary {cursor:pointer;color:var(--sub);font-weight:650;font-size:.84rem;}
.advanced[open] summary {margin-bottom:.65rem;}
.form-actions {display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin-top:.8rem;}
.form-actions > span {color:var(--muted);font-size:.78rem;}
.primary,.secondary {border:1px solid #467d83;border-radius:7px;padding:.46rem .75rem;font-size:.83rem;font-weight:700;cursor:pointer;white-space:nowrap;}
.primary {border-color:var(--accent);background:var(--accent);color:#152f30;}
.primary:hover {background:#a3f5e3;}
.secondary {background:#182e3b;color:#c2e7f1;border-color:#415968;display:inline-flex;}
.secondary:hover {background:#233d4b;}
.panels {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:16px;}
.panels.pair {grid-template-columns:repeat(2,minmax(0,1fr));}
.panel,.drill {min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--bg2);padding:14px;}
.drill {margin-top:16px;border-color:#3e7275;}
.panel-title {display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;}
.panel-title h2 {margin:.25rem 0 0;}
.intro {font-size:.86rem;color:var(--muted);margin-bottom:.55rem;}
.kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;}
.kpi {min-width:0;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:var(--panel2);}
.kpi span,.kpi small {display:block;color:var(--muted);font-size:.76rem;line-height:1.25;}
.kpi strong {color:var(--text);font-size:clamp(1.25rem,4vw,1.85rem);letter-spacing:-.055em;line-height:1.2;white-space:nowrap;display:block;font-variant-numeric:tabular-nums;padding:.20rem 0;}
.pair .kpis {grid-template-columns:repeat(2,minmax(0,1fr));}
.signal {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:9px;padding:10px;background:#101b25;border:1px solid var(--line);border-radius:9px;align-items:center;}
.signal ul {padding:0;margin:.45rem 0 0;display:flex;flex-wrap:wrap;gap:.7rem;list-style:none;font-size:.75rem;color:var(--muted);}
.signal li::before {content:"";display:inline-block;width:7px;height:7px;border-radius:2px;margin-right:.25rem;vertical-align:1px;background:#648090;}
.signal li.home::before,.bar .home {background:#64d2be;fill:#64d2be;}
.signal li.draw::before,.bar .draw {background:#8a9ca8;fill:#8a9ca8;}
.signal li.away::before,.bar .away {background:#7cb7fa;fill:#7cb7fa;}
.signal li b {color:var(--text);}
.bar {width:100%;height:9px;border-radius:10px;overflow:hidden;display:flex;background:var(--line);}
.bar span {display:block;}
.signal-favs {display:flex;gap:1rem;}
.signal-favs small,.signal-favs b {display:block;font-size:.8rem;}
.signal-favs small {color:var(--muted);}
.signal-favs b {font-size:1rem;}
.jumplist {margin:9px 0;display:flex;overflow:auto;gap:6px;scrollbar-width:thin;padding:.2rem 0 .3rem;}
.jumplist a {font-size:.76rem;background:var(--panel2);padding:.23rem .45rem;border:1px solid var(--line);border-radius:6px;white-space:nowrap;color:var(--sub);}
.section {border:1px solid var(--line);margin-top:6px;border-radius:8px;background:var(--panel);min-width:0;}
.section summary {cursor:pointer;padding:.57rem .65rem;font-weight:650;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.5rem;}
.section summary span::before {content:'＋';color:var(--accent);margin-right:.5rem;}
.section[open] summary span::before {content:'−';}
.section summary::-webkit-details-marker {display:none;}
.section summary small,.explain,.countnote {font-size:.78rem;color:var(--muted);}
.section summary small {font-weight:500;white-space:nowrap;}
.explain,.countnote {margin:.3rem .65rem .55rem;}
.table-scroll {overflow:auto;max-height:600px;position:relative;scrollbar-width:thin;border-top:1px solid var(--line);}
.data {border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-variant-numeric:tabular-nums;font-size:.79rem;}
.data th {background:#20323f;text-align:left;position:sticky;top:0;z-index:1;white-space:nowrap;border-bottom:1px solid #43596a;}
.data td {padding:.38rem .55rem;border-bottom:1px solid #243442;white-space:nowrap;}
.data td:first-child {max-width:300px;overflow-wrap:anywhere;white-space:normal;}
.data tr:nth-child(2n) td {background:#101a23;}
.data tr:hover td {background:#22343f;}
.data .sort {font-size:.74rem;border:0;color:#d9e6ef;background:none;padding:.5rem .55rem;cursor:pointer;text-align:left;width:100%;}
.data .sort span {color:var(--muted);}
.data .rate {min-width:100px;}
.data meter {display:block;width:79px;height:4px;margin-top:4px;display:block;appearance:none;}
.data meter::-webkit-meter-bar {background:#334856;border:0;}
.data meter::-webkit-meter-optimum-value {background:#76dabe;}
.data meter::-moz-meter-bar {background:#76dabe;}
.teams strong,.data td small {display:block;}
.data td small {color:var(--muted);font-size:.72rem;}
.plus {color:var(--accent);}.minus {color:var(--neg);}.muted {color:var(--muted);}
.caution {white-space:nowrap;color:var(--warn);}
.empty {padding:.6rem .75rem;color:var(--muted);font-size:.83rem;margin:.4rem 0;}
footer {margin:20px 0 30px;color:var(--muted);font-size:.83rem;border-top:1px solid var(--line);padding-top:.8rem;}
footer strong {color:var(--sub);}
footer p {margin:.4rem 0;}
@media (max-width:1020px) {.field-grid {grid-template-columns:repeat(4,minmax(0,1fr));} .pair .signal {grid-template-columns:1fr;gap:6px;}}
@media (max-width:740px) {.wrap {width:calc(100% - 24px);} .field-grid {grid-template-columns:repeat(2,minmax(0,1fr));}.panels.pair {grid-template-columns:minmax(0,1fr);}.hero {padding:18px;min-height:147px;margin-top:13px;} .hero-glyph {display:none;}.filter {padding:12px 10px;} .panel,.drill {padding:8px;} .kpis {grid-template-columns:repeat(2,minmax(0,1fr));}.mode span {font-size:.78rem;padding:.3rem;}.modetabs {gap:.3rem;}.panel-title {flex-wrap:wrap;}}
@media (max-width:390px) {.brand-area,.brand-slash {display:none;} .signal {grid-template-columns:1fr;gap:6px;}.mode span {min-height:51px;}}
@media (prefers-reduced-motion:reduce) {html {scroll-behavior:auto;} * {animation:none!important;transition:none!important;}}


.pair-table {border-top:1px solid var(--line);background:#101b25;padding:0 .5rem .4rem;}
.pair-table summary {color:var(--accent);font-size:.78rem;justify-content:flex-start;}


/* REV1 adds a calm, wider overview without altering legacy detailed tables. */
.wrap {width:95%;max-width:none;}
.rev-title {display:flex;justify-content:space-between;align-items:flex-end;gap:.7rem;margin:20px 0 12px;}
.rev-title h1 {font-size:clamp(2rem,4.7vw,3.15rem);line-height:1.02;margin:.12rem 0 0;}
.rev-title .updated {white-space:normal;text-align:right;}
.rev-filter,.rev-panel,.rev-block,.rev-drill-note {padding:14px 16px;border:1px solid var(--line);background:var(--bg2);border-radius:12px;}
.modebar,.rev-tabs,.rev-actions,.rev-match-toolbar {display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.modebar{padding-bottom:12px;margin-bottom:11px;border-bottom:1px solid var(--line);}
.modebar a,.rev-tabs a,.rev-match-toolbar a{padding:.47rem .7rem;color:var(--sub);border:1px solid var(--line);border-radius:7px;background:var(--panel2);font-size:.87rem;}
.modebar a.active,.rev-tabs a.active,.rev-match-toolbar a.current{color:#bafcf0;border-color:#4b8276;background:#20443f;font-weight:700;}
.rev-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 9px;}
.rev-grid .field select,.rev-grid .field input{font-size:.87rem;}
.rev-actions{margin-top:9px;font-size:.81rem;gap:1rem;}
.rev-advanced,.rev-inner{margin-top:.55rem;padding-top:.42rem;border-top:1px solid var(--line);}
.rev-advanced summary,.rev-inner summary,.rev-source summary{font-size:.84rem;color:var(--sub);cursor:pointer;}
.rev-advanced .rev-grid,.rev-inner .rev-scroll{margin-top:.6rem;}
.rev-quick,.rev-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;}
.rev-quick.pair,.rev-columns.pair{grid-template-columns:repeat(2,minmax(0,1fr));}
.rev-quick{margin-top:14px;}
.rev-panel,.rev-mode-panel{min-width:0;}
.rev-panel .kpis{margin-top:.5rem;}
.rev-tabs{margin:14px 0 8px;padding-bottom:8px;border-bottom:1px solid var(--line);}
.rev-findings{margin-top:.7rem;}
.rev-findings h3{font-size:.91rem;margin:0 0 .25rem;}
.rev-findings ul{display:grid;gap:.27rem;padding-left:1.15rem;color:var(--sub);font-size:.84rem;margin:.3rem 0 0;}
.rev-match-toolbar{margin:.2rem 0 .7rem;}
.rev-match-toolbar>span,.rev-match-toolbar a{font-size:.78rem;}
.rev-match-toolbar>span{color:var(--muted);margin-right:auto;}
.rev-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.rev-columns.pair .rev-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
.rev-card{min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--panel);padding:11px 12px;}
.rev-match-meta,.rev-fixture,.rev-card-foot,.rev-drill-note{display:flex;align-items:center;justify-content:space-between;gap:.55rem;}
.rev-match-meta{font-size:.77rem;color:var(--muted);}
.rev-fixture{margin:.42rem 0 .65rem;min-height:47px;}
.rev-fixture strong{font-size:clamp(.90rem,1.3vw,1.13rem);display:block;line-height:1.25;overflow-wrap:anywhere;}
.rev-fixture strong+strong{margin-top:.18rem;color:var(--sub);}
.rev-chip{display:inline-block;border:1px solid var(--strong-line);border-radius:30px;font-size:.71rem;padding:.15rem .42rem;white-space:nowrap;font-weight:650;color:var(--sub);}
.rev-chip.conflict{color:var(--warn);border-color:#725f4d;}
.rev-chip.outcome{color:var(--accent);border-color:#446b69;}
.rev-score{display:inline-flex;align-items:center;justify-content:center;min-width:53px;padding:.25rem .42rem;font-weight:800;border-radius:7px;font-size:1.14rem;font-variant-numeric:tabular-nums;white-space:nowrap;}
.rev-score.won{color:#ddfff0;background:#255842;}
.rev-score.lost{color:#ffdad9;background:#703e43;}
.rev-score.neutral{color:#e1e9ed;background:#445864;}
.rev-odds table,.rev-simple{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;font-size:.82rem;}
.rev-odds th,.rev-odds td{padding:.27rem .2rem;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;}
.rev-odds th:first-child,.rev-simple th:first-child{text-align:left;}
.rev-odds tbody th{font-weight:500;color:var(--sub);}
.rev-odds thead th{font-size:.72rem;color:var(--muted);}
.rev-odds thead th.rev-result{color:#c3fff1;background:#21443f;border-radius:5px 5px 0 0;}
.rev-odds .rank1{color:#7decba;font-weight:700;}
.rev-odds .rank2{color:#93caff;font-weight:700;}
.rev-odds .rank3{color:#ffaeaa;font-weight:700;}
.rev-card-foot{margin-top:.53rem;justify-content:flex-start;flex-wrap:wrap;font-size:.78rem;color:var(--sub);}
.rev-card-foot>span:first-child:not(.rev-chip){margin-right:auto;}
.rev-source{margin-top:.55rem;}
.rev-source summary,.rev-source p{font-size:.71rem;color:var(--muted);margin-bottom:.3rem;}
.rev-source p{overflow-wrap:anywhere;}
.rev-block{margin-bottom:9px;}
.rev-block p{color:var(--muted);font-size:.82rem;margin:.2rem 0 .55rem;}
.rev-scroll{overflow:auto;max-width:100%;}
.rev-simple{min-width:310px;}
.rev-simple thead{background:var(--panel2);}
.rev-simple th,.rev-simple td{text-align:right;padding:.39rem .43rem;border-bottom:1px solid var(--line);}
.rev-simple th{color:var(--sub);font-weight:650;}
.rev-simple small,.rev-range small{color:var(--muted);font-size:.72rem;}
.rev-range{display:grid;grid-template-columns:minmax(80px,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:.38rem;padding:.3rem 0;border-top:1px solid var(--line);font-size:.76rem;color:var(--sub);}
.rev-range small{display:block;}
.rev-range meter{display:block;width:97%;height:7px;}
.rev-range meter.actual::-webkit-meter-optimum-value{background:#71ddc4;}
.rev-range meter.expected::-webkit-meter-optimum-value{background:#79a8f5;}
.rev-range meter.actual::-moz-meter-bar{background:#71ddc4;}
.rev-range meter.expected::-moz-meter-bar{background:#79a8f5;}
.rev-ranges h4{color:var(--sub);font-size:.84rem;margin:.5rem 0 .2rem;}
.rev-export,.rev-drill-note{margin-bottom:.45rem;}
@media(max-width:1120px){.rev-columns.pair .rev-cards{grid-template-columns:1fr;}.rev-cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:690px){.wrap{width:calc(100% - 20px);}.rev-filter,.rev-panel,.rev-block{padding:10px;}.rev-card{padding:9px 10px;}.rev-title,.rev-drill-note{align-items:flex-start;flex-direction:column;}.rev-title .updated{text-align:left;}.rev-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.rev-cards,.rev-columns.pair,.rev-quick.pair{grid-template-columns:1fr;}.modebar{gap:4px;}.modebar a,.rev-tabs a{font-size:.75rem;padding:.38rem .45rem;}.rev-match-toolbar>span{width:100%;}.rev-odds th,.rev-odds td{white-space:normal;}}
@media(min-width:691px) and (max-width:1120px){.rev-odds th,.rev-odds td{white-space:normal;}}

.rev-subline{margin:.45rem 0 0;color:var(--muted);font-size:.79rem;}

@media(min-width:1000px){.rev-quick:not(.pair) .rev-findings ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.2rem;}}
