.home-event-summary{margin:0 0 22px;padding:20px;border:0;border-radius:6px;color:#243b43;box-shadow:0 5px 18px #243b4307}
.home-event-summary .v2-section-title{margin-bottom:18px}
.home-event-summary .v2-section-title>span{font-size:11px;color:#61716f}
/* League directory: warm paper, inset columns, no decorative edge stripes. */
#homeLeagueSummary{background:#f4f2ec;color:#333e3b}
.home-league-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-league-column{min-width:0;padding:14px;background:#ffffffa6;border-radius:4px}
.home-league-column h3{display:flex;align-items:center;gap:7px;margin:0 0 4px;font-size:13px;color:var(--sport)}
.home-league-column h3 svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.home-league-column[data-league-sport=football]{--sport:#2a7358}
.home-league-column[data-league-sport=basket]{--sport:#3a6fa2}
.home-league-column[data-league-sport=beijing]{--sport:#98732e}
.home-league-count{font-size:11px;color:#6b7670;min-height:18px;display:block;margin-bottom:10px}
.home-league-row{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px;font-size:12px;margin:3px 0}
.home-league-row:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--league-share);background:var(--sport);opacity:.08;border-radius:2px;z-index:-1}
.home-league-row>span:first-child{overflow-wrap:anywhere}
.home-league-row:hover{background:#ffffff99;border-radius:4px;color:var(--sport)}
.home-league-row:focus-visible{outline:2px solid var(--sport);outline-offset:2px}
.home-league-row>span:last-child{display:inline-flex;align-items:center;gap:4px}
.home-league-row svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6}
.home-league-row>span:last-child{white-space:nowrap;color:#7d8983;font-size:11px}
.home-league-row strong{font-size:14px;color:var(--sport);font-variant-numeric:tabular-nums}
.home-summary-empty{font-size:12px;color:#687870;line-height:1.7;margin:10px 0}
.home-league-list details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;font-size:11px;color:#647d6d;padding:10px 0}
.home-league-list details>summary::-webkit-details-marker{display:none}
.home-event-summary svg:not(.v2-icon){width:16px;height:16px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7}
.home-league-list details[open]>summary svg{transform:rotate(90deg)}
.home-summary-note{font-size:11px;color:#6c7a73;line-height:1.7;margin:16px 0 0}
/* Personal plans: a dark ledger, with numbers taking precedence over decoration. */
#homePlanSummary{background:#29373d;color:#edf2ef}
.home-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.home-plan-card{background:#34484a;border-radius:5px;padding:18px;min-width:0}
.home-plan-card:last-child{background:#34434f}
.home-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.home-plan-heading h3{margin:0;font-size:14px}
.home-plan-heading a{font-size:11px;color:#bcd1cc}
.home-plan-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
.home-plan-metrics dt{font-size:11px;color:#b8c8c7}
.home-plan-metrics dd{font-size:24px;line-height:1.4;font-weight:650;font-variant-numeric:tabular-nums;margin:6px 0 0}
.home-plan-metrics small{font-size:10px;color:#b4c5c5;font-weight:400}
.home-plan-note{font-size:11px;color:#e5c292;margin:12px 0 0;line-height:1.6}
#homePlanSummary .home-summary-note,#homePlanSummary .home-summary-empty{color:#b9c8ca}
.home-event-summary button[data-plan-retry]{border:0;border-radius:4px;background:#e3ece8;color:#2f5146;padding:7px 11px;font:inherit;font-size:12px;cursor:pointer}
.home-event-summary [data-plan-sport]>a{font-size:12px;color:#d4e7df}
@media(max-width:600px){.home-event-summary{padding:16px}.home-event-summary .v2-section-title{align-items:flex-start;flex-wrap:wrap;gap:6px}.home-league-grid{grid-template-columns:1fr;gap:10px}.home-league-count{float:right;margin-top:-22px}.home-league-list{clear:both}.home-plan-grid{grid-template-columns:1fr}}

/* Color indicates sport or review state; it is never a prediction percentage. */
.home-progress{display:flex;overflow:hidden;height:5px;border-radius:3px;background:#e4eae7;gap:0}
.home-progress>span{display:block;height:100%}.home-progress-reviewed{background:#46846c}.home-progress-pending{background:#c5d1da}.home-progress-error{background:#bd8c42}
.home-sport-review{margin-top:10px;font-size:10px;line-height:1.5;color:#c4cfda}
.home-sport-review>span{display:block;margin-bottom:6px}.home-sport-review b{font-weight:600;color:#f1dbb4}
.home-sport-review .home-progress{background:#ffffff18;height:3px}.home-sport-review .home-progress-reviewed{background:#d7b776}.home-sport-review .home-progress-pending{background:#ffffff22}
.home-range-toggle{display:flex;background:#1f2b30;padding:3px;border-radius:5px;gap:2px}
.home-range-toggle button{border:0;background:transparent;padding:6px 10px;font:inherit;font-size:11px;color:#bbc9c9;border-radius:3px;cursor:pointer;white-space:nowrap}
.home-range-toggle button[aria-pressed=true]{background:#e2e9e4;color:#284238}
.home-plan-progress{margin-top:17px}.home-plan-progress>span{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b2c6c3;margin-bottom:7px}.home-plan-progress b{font-weight:500;color:#d2e1dc}
.home-plan-progress .home-progress{background:#ffffff16}.home-plan-progress .home-progress-reviewed{background:#8cbaa8}.home-plan-progress .home-progress-pending{background:#617780}.home-plan-progress .home-progress-error{background:#d0aa73}
/* Compact plan overview, enabled only on indexv2. */
#homePlanSummary.home-plan-compact{padding:14px 18px}
.home-plan-compact .v2-section-title{margin-bottom:10px}
.home-plan-compact .home-plan-grid{gap:12px}
.home-plan-compact .home-plan-card{padding:12px 14px}
.home-plan-compact .home-plan-heading{margin-bottom:8px}
.home-plan-compact .home-plan-heading a{display:inline-flex;align-items:center;gap:4px;min-height:24px}
.home-plan-compact .home-plan-metrics dd{font-size:22px;line-height:1.2;margin-top:2px}
.home-plan-compact .home-plan-progress{display:flex;align-items:center;gap:12px;margin-top:10px}
.home-plan-compact .home-plan-progress>span{flex-shrink:0;gap:8px;margin:0;white-space:nowrap}
.home-plan-compact .home-plan-progress .home-progress{flex:1;min-width:0;height:4px}
.home-plan-compact .home-summary-note{margin-top:8px;line-height:1.5}
.home-plan-compact .home-plan-note{margin-top:8px}
@media(max-width:600px){
 #homePlanSummary.home-plan-compact{padding:12px}
 .home-plan-compact .v2-section-title{align-items:center;gap:8px}
 .home-plan-compact .home-plan-grid{gap:8px}
 .home-plan-compact .home-plan-card{padding:10px 12px}
}
/* Schedule: a cool-blue timetable with a quiet, inset next-match surface. */
.home-schedule{background:#e4ecf4;color:#273f55}
.home-schedule .v2-section-title>span,.home-schedule .home-summary-note{color:#5c7286}
.home-schedule-lead{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:22px;align-items:center}
.home-soon{display:flex;flex-direction:column;gap:6px}.home-soon>span{font-size:12px;color:#4f687d}.home-soon>strong{font-size:34px;font-weight:750;line-height:1.15;font-variant-numeric:tabular-nums;color:#2f587b}.home-soon strong small{font-size:12px;font-weight:400;letter-spacing:0}.home-soon>small{font-size:10px;color:#637c90}
.home-next-match{display:flex;flex-direction:column;gap:7px;border:0;border-radius:4px;background:#ffffff96;padding:14px 16px;min-width:0}
.home-next-match>strong{font-size:16px;font-weight:700;line-height:1.6;overflow-wrap:anywhere}.home-next-match small{font-size:11px;font-weight:400;color:#6d8193;margin:0 5px}.home-next-match>span:last-child{font-size:11px;color:#63798b}
.home-next-label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:11px;color:#556f84}.home-next-label time{font-weight:650;color:#2f587b;font-variant-numeric:tabular-nums}.home-next-match:hover{background:#ffffffc4}.home-next-match:hover .home-next-label{color:#274d70}
.home-time-legend{display:flex;gap:15px;justify-content:flex-end;margin-top:18px;font-size:10px;color:#566f83}.home-time-legend>span{display:flex;gap:5px;align-items:center}
.home-time-legend i{display:inline-block;width:7px;height:7px;border-radius:2px}
.home-time-chart{display:flex;gap:16px;padding-top:12px}.home-time-bin{flex:1;min-width:0;text-align:center;color:#4e677c;font-size:11px}
.home-time-bin>b{display:block;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;margin-bottom:7px}.home-time-bin>b small{font-size:10px;font-weight:400;color:#657c90}
.home-time-column{display:flex;flex-direction:column-reverse;align-items:stretch;height:62px;max-width:56px;margin:0 auto 9px;gap:0;background:#d4dfeb;border-radius:3px 3px 0 0;overflow:hidden}
.home-time-column i{display:block;min-height:0;flex-shrink:0}.home-time-bin>small{display:block;font-size:10px;color:#6b8193;margin-top:3px}
.home-time-legend [data-sport=football],.home-time-column [data-sport=football]{background:#4f8b72}
.home-time-legend [data-sport=basket],.home-time-column [data-sport=basket]{background:#6694bc}
.home-time-legend [data-sport=beijing],.home-time-column [data-sport=beijing]{background:#c2a46a}
.home-data-warning{font-size:11px;line-height:1.7;color:#976a3b;margin:14px 0 0}
/* Risk notes: warm clay and ivory, without alert-colored framing. */
.home-risk{background:#eee1d6;color:#573e33}.home-risk .v2-section-title h2{display:flex;align-items:center;gap:7px}.home-risk h2 svg{color:#99684f}.home-risk .v2-section-title>a{font-size:11px;color:#7b5846}
.home-risk .home-summary-note,.home-risk .home-summary-empty{color:#7b6658}
.home-risk-overview{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;font-size:11px;color:#806856}.home-risk-overview>div{display:flex;align-items:baseline;gap:8px}.home-risk-overview strong{font-size:28px;font-variant-numeric:tabular-nums;color:#8f563d}.home-risk-overview>div span{color:#795e4e}
.home-risk-list{display:grid;gap:8px}.home-risk-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;background:#fffcf6b0;border-radius:4px;padding:13px 15px}.home-risk-row:hover{background:#fffcf6}.home-risk-row>div{min-width:0}.home-risk-row strong{display:block;font-size:14px;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}.home-risk-row strong small{font-size:10px;font-weight:400;color:#876f60;margin:0 4px}
.home-risk-meta{font-size:10px;color:#826959}.home-risk-row p{font-size:11px;color:#7e695c;line-height:1.6;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-risk-row>svg{color:#99745c}.home-risk-score{text-align:center;white-space:nowrap}.home-risk-score b{display:block;font-size:24px;font-weight:600;line-height:1.2;color:#965a40}.home-risk-score small{font-size:9px;color:#846b5b}
.home-event-summary button[data-risk-retry]{border:1px solid #d6c7b0;border-radius:4px;background:#fff;color:#8c7045;padding:6px 10px;font:inherit;font-size:12px;cursor:pointer}
@media(max-width:600px){.home-league-row{padding:7px 8px}.home-schedule-lead{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:12px}.home-soon>strong{font-size:30px}.home-next-match{padding:12px}.home-next-match>strong{font-size:14px}.home-time-chart{gap:9px}.home-time-column{max-width:40px;height:55px}.home-risk-row{padding:12px;gap:9px}.home-risk-overview{flex-wrap:wrap;gap:4px}.home-plan-card{padding:16px}.home-plan-metrics dd{font-size:23px}.home-risk .v2-section-title{align-items:center}.home-risk-score b{font-size:22px}}
@media(max-width:360px){.home-sport-review{font-size:9px}.home-sport-review>span{line-height:1.6}.home-soon strong small{font-size:10px}.home-next-label{gap:5px}.home-time-chart{gap:6px}.home-time-bin>small{font-size:9px}.home-risk-row{gap:7px}.home-range-toggle button{padding:6px 8px}}
