/* The front door: clear rules, a real catalog preview, then the three arenas.
   Loaded only by the home page. Arena gameplay and other page layouts stay intact. */
:root{--home-map-bg:#eaf0f9;--home-blue-wash:#205dcc0c;--home-red-wash:#c82c4d0a}
[data-theme=dark]{--home-map-bg:#111c2c;--home-blue-wash:#619fff10;--home-red-wash:#ff648712}
.home-top-navigation{display:flex;align-items:center;gap:24px;min-width:0;margin-left:16px}
.home-top-navigation a{display:inline-flex;align-items:center;min-height:44px;color:var(--muted);font-size:.875rem;font-weight:650;white-space:nowrap}
.home-top-navigation a:first-child{color:var(--ink)}
.home-top-navigation a:hover{color:var(--accent)}
.profile-button span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-opening{margin-bottom:28px;min-width:0}
.home-opening-status{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px;font-size:.75rem;line-height:1.5}
.home-status{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.home-status i{width:7px;height:7px;border-radius:50%;background:#14866b;flex:none}
[data-theme=dark] .home-status i{background:#76dfbc}
.home-prototype-note{color:var(--muted)}
.home-opening-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(20px,4vw,56px);align-items:center}
.home-opening-copy{min-width:0;padding:8px 0}
.home-eyebrow{font-size:.6875rem;letter-spacing:.14em;line-height:1.6;font-weight:800;color:var(--muted);margin-bottom:12px}
.home-opening h1{font-size:clamp(2.125rem,3.65vw,3.5rem);letter-spacing:-.055em;line-height:1.1;font-weight:800;margin:0;overflow-wrap:anywhere}
.home-opening h1>span{color:var(--accent)}
.home-opening-description{max-width:430px;margin-top:18px;font-size:1rem;line-height:1.75;color:var(--muted)}
.home-opening-description strong{color:var(--ink);font-weight:650}
.home-primary-action{min-height:48px;gap:18px;padding:12px 20px;margin-top:22px;border-radius:9px;font-size:.9375rem;max-width:100%;white-space:normal}
.home-primary-action .icon{width:20px;height:20px}
.home-entry-note{margin-top:10px;font-size:.8125rem;color:var(--muted);line-height:1.5}
.home-live-center{position:relative;display:grid;gap:0;width:100%;min-width:0;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:left;overflow:hidden;box-shadow:0 12px 36px #14203507;color:var(--ink);transition:border-color .18s,box-shadow .18s}
.home-live-center::before{content:'';position:absolute;left:20px;right:20px;top:0;height:3px;background:linear-gradient(90deg,var(--blue),var(--red));border-radius:0 0 4px 4px}
.home-live-center:hover{border-color:color-mix(in srgb,var(--ink) 30%,var(--line));box-shadow:0 14px 36px #1420350d}
.home-center-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:.75rem;line-height:1.5}
.home-center-mode,.home-center-time{display:inline-flex;align-items:center;gap:6px;min-width:0}
.home-center-mode{font-weight:800}
.home-center-mode .icon{width:17px;height:17px;color:var(--accent)}
.home-center-time{color:var(--muted);font-variant-numeric:tabular-nums}
.home-center-time .icon{width:14px;height:14px}
.home-center-title{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;margin-top:10px;font-size:1.375rem;font-weight:800;letter-spacing:-.03em;line-height:1.4;min-width:0}
.home-center-title>span{min-width:0;overflow-wrap:anywhere}
.home-center-title em{font-size:.8125rem;font-weight:500;font-style:normal;color:var(--muted);letter-spacing:0}
.home-center-map{display:block;height:168px;min-width:0;margin:12px 0 10px;padding:10px;background:linear-gradient(110deg,var(--home-blue-wash),transparent 55%,var(--home-red-wash)),var(--home-map-bg);border-radius:8px}
.home-center-map .mini-map{width:100%;height:100%;overflow:hidden}
.home-center-score{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;font-size:1rem;line-height:1.5;font-weight:800;font-variant-numeric:tabular-nums}
.home-center-score small{font-size:.75rem;color:var(--muted);font-weight:500;text-align:center;min-width:0}
.home-live-center .territory-meter{height:5px;margin-top:6px}
.home-center-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:12px;color:var(--muted);font-size:.6875rem;line-height:1.5}
.home-center-action{display:inline-flex;align-items:center;gap:8px;font-size:.8125rem;font-weight:800;color:var(--ink);min-height:24px}
.home-center-action .icon{width:17px;height:17px}
.home-center-empty{cursor:default;min-height:300px;align-content:center;justify-items:start;gap:14px}
.home-center-empty>.icon{width:36px;height:36px;color:var(--accent)}
.home-center-empty p{font-size:.875rem;color:var(--muted)}
.home-center-loading{gap:14px;min-height:328px;align-content:center;box-shadow:none}
.home-skeleton-row{display:block;height:16px;width:65%;border-radius:4px;background:var(--surface-2)}
.home-skeleton-map{display:block;height:168px;border-radius:8px;background:var(--home-map-bg)}
.home-loading-action{opacity:.65}
.home-how{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:20px;padding:22px 0;margin:24px 0 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home-how li{display:flex;align-items:center;gap:12px;min-width:0}
.home-how li>span:last-child{display:grid;gap:3px;min-width:0}
.home-step-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:9px;background:var(--surface-2);color:var(--ink)}
.home-step-icon .icon{width:21px;height:21px}
.home-how strong{font-size:.875rem;line-height:1.5;font-weight:800}
.home-how small{font-size:.75rem;line-height:1.5;color:var(--muted)}
.home-impact{display:grid;grid-template-columns:minmax(190px,.62fr) minmax(0,1.38fr);gap:clamp(20px,3vw,42px);align-items:center;margin-top:20px;padding:20px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(105deg,var(--home-blue-wash),transparent 48%,var(--home-red-wash)),var(--surface)}
.home-impact-heading{min-width:0}
.home-impact-heading p{font-size:.625rem;line-height:1.5;letter-spacing:.12em;font-weight:800;color:var(--accent)}
.home-impact-heading h2{margin-top:5px;font-size:1.25rem;line-height:1.35;letter-spacing:-.025em;overflow-wrap:anywhere}
.home-impact ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;min-width:0}
.home-impact li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:9px;align-items:start;min-width:0}
.home-impact li>.icon{width:20px;height:20px;color:var(--ink);margin-top:1px}
.home-impact li>span{display:grid;gap:3px;min-width:0}
.home-impact strong{font-size:.75rem;line-height:1.45;font-weight:800}
.home-impact small{font-size:.6875rem;line-height:1.5;color:var(--muted)}
.home-tempo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;font-size:.6875rem;line-height:1.5;color:var(--muted);font-weight:800;letter-spacing:.1em}
.home-tempo-heading small{font-size:.75rem;font-weight:500;letter-spacing:0}
.home-tempo-index{margin:10px 0 0;border-radius:10px}
.home-tempo-index a{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;padding:12px 16px;min-height:66px}
.home-tempo-shape{width:24px;height:24px;flex:none;fill:none;stroke:var(--muted);stroke-width:1.3;stroke-linejoin:round}
.home-tempo-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px;white-space:normal!important}
.home-tempo-copy strong{font-size:.875rem;color:var(--ink)}
.home-tempo-copy>span{font-size:.75rem}
.home-tempo-index a>.icon{width:16px;height:16px;color:var(--muted)}
/* Homepage summaries: one next match, one final result, two archive doors. */
.home-lower-section{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.home-lower-heading{margin-bottom:20px;align-items:flex-end}
.home-lower-heading>div{min-width:0}
.home-lower-heading h2{margin-top:6px}
.home-lower-heading p{margin-top:7px;font-size:.875rem;line-height:1.6;color:var(--muted)}
.home-lower-heading .section-link{gap:8px;flex:none}
.home-lower-heading .section-link>.icon{width:17px;height:17px;flex:none}
.home-program-grid,.home-results-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-program-item.upcoming-card{padding:20px;gap:0;border:1px solid var(--line);border-radius:11px}
.home-program-item.upcoming-card .upcoming-top{margin:0 0 14px;gap:8px}
.home-program-item.upcoming-card .mode-tag{font-weight:800;color:var(--ink);letter-spacing:.05em}
.home-mode-duration{font-size:.75rem;color:var(--muted);line-height:1.5}
.home-program-item.upcoming-card h3{font-size:1.125rem;line-height:1.5;letter-spacing:-.02em;min-width:0}
.home-program-item.upcoming-card h3>span{min-width:0;overflow-wrap:anywhere}
.home-program-item.upcoming-card .upcoming-bottom{padding-top:18px;margin-top:auto;gap:4px}
.home-program-item.upcoming-card .upcoming-bottom>span{min-width:0;font-size:.875rem;gap:7px;line-height:1.5;align-items:flex-start}
.home-program-item.upcoming-card .upcoming-bottom .icon{width:16px;height:16px;flex:none;margin-top:2px}
.home-program-item.upcoming-card .upcoming-bottom time{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.home-program-item.upcoming-card .upcoming-bottom small{font-size:.6875rem;margin-left:23px;overflow-wrap:anywhere}
.home-program-item.upcoming-card .grand-vote-link{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;font-size:.8125rem;line-height:1.5;text-align:left;padding:8px 0;margin-top:10px}
.home-program-item.upcoming-card .grand-vote-link .icon{width:16px;height:16px;flex:none}
.home-result-card.result-card{padding:20px;border:1px solid var(--line);border-radius:11px;min-width:0;gap:0}
.home-result-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.home-result-heading .result-label{font-size:.6875rem;line-height:1.5;font-weight:800;gap:6px;margin:0}
.home-result-heading .result-label .icon{width:16px;height:16px}
.home-example-label{font-size:.625rem;line-height:1.5;color:var(--muted)}
.home-result-card.result-card .result-winner{font-size:1.125rem;line-height:1.5;letter-spacing:-.02em;margin:0;overflow-wrap:anywhere}
.home-result-card.result-card .home-result-date{margin-top:5px;font-size:.75rem;line-height:1.6;color:var(--muted)}
.home-result-card.result-card .result-matchup.home-result-score{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-self:stretch;margin-top:20px}
.home-result-score>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;font-size:.8125rem;line-height:1.6}
.home-result-score strong{min-width:0;font-weight:650;overflow-wrap:anywhere}
.home-result-score b{flex:none;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}
.home-result-card.result-card>.territory-meter{height:5px;margin-top:12px}
.home-result-card.result-card .home-result-areas{margin-top:6px;color:var(--muted);font-size:.6875rem;line-height:1.6;font-variant-numeric:tabular-nums}
.home-result-card.result-card>.card-footer{margin-top:auto;padding-top:16px;gap:4px 10px;align-items:center;justify-content:space-between;flex-direction:row;border-top:0}
.home-result-card.result-card .result-link{display:inline-flex;align-items:center;gap:8px;padding:8px 0;font-size:.8125rem;min-height:44px}
.home-result-card.result-card .result-link>.icon{width:16px;height:16px;flex:none}
.home-result-retention{font-size:.625rem;line-height:1.6;color:var(--muted)}
.home-result-empty h3{font-size:1.125rem;line-height:1.5;margin-top:12px}
.home-result-empty p{font-size:.875rem;line-height:1.6;margin-top:8px;color:var(--muted)}
.home-section-note{font-size:.75rem;line-height:1.7;color:var(--muted);margin-top:14px}
.home-archive-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-archive-link.archive-link{gap:16px;padding:22px;min-width:0;align-items:center;border-radius:11px}
.home-archive-link .archive-icon{height:42px;width:42px;flex-basis:42px;border-radius:9px;background:var(--surface-2);color:var(--ink)}
.home-archive-copy{display:flex;flex-direction:column;min-width:0;flex:1}
.home-archive-copy small{font-size:.625rem;line-height:1.6;letter-spacing:.04em;color:var(--muted)}
.home-archive-copy strong{font-size:1.125rem;line-height:1.5;margin-top:3px}
.home-archive-copy em{font-size:.8125rem;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}
.home-archive-link>.icon{width:18px;height:18px;flex:none;color:var(--muted)}
@media(max-width:1100px){
  .home-program-grid,.home-results-grid{grid-template-columns:minmax(0,1fr)}
  .home-program-item.upcoming-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.7fr);gap:0 24px}
  .home-program-item.upcoming-card .upcoming-top{grid-column:1;grid-row:1;margin-bottom:8px;justify-content:flex-start;gap:12px}
  .home-program-item.upcoming-card h3{grid-column:1;grid-row:2}
  .home-program-item.upcoming-card .upcoming-bottom{grid-column:2;grid-row:1/3;padding-top:0;align-self:center;margin:0}
  .home-program-item.upcoming-card .grand-vote-link{grid-column:1/-1;justify-self:start;margin-top:6px}
  .home-result-card.result-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px}
  .home-result-heading{grid-column:1;grid-row:1;justify-content:flex-start;gap:12px}
  .home-result-card.result-card .result-winner,.home-result-empty h3{grid-column:1;grid-row:2}
  .home-result-card.result-card .home-result-date,.home-result-empty p{grid-column:1;grid-row:3}
  .home-result-card.result-card .result-matchup.home-result-score{grid-column:2;grid-row:1/3;margin-top:0;align-self:center}
  .home-result-card.result-card>.territory-meter{grid-column:2;grid-row:3;align-self:start;margin-top:2px}
  .home-result-card.result-card .home-result-areas{grid-column:2;grid-row:4}
  .home-result-card.result-card>.card-footer{grid-column:1/-1;grid-row:5;padding-top:8px}
}
@media(max-width:760px){
  .home-lower-section{margin-top:30px;padding-top:22px}
  .home-lower-heading{margin-bottom:16px;align-items:start}
  .home-lower-heading p{font-size:.8125rem;margin-top:6px}
  .home-program-grid,.home-results-grid{gap:12px}
  .home-archive-links{grid-template-columns:minmax(0,1fr);gap:12px}
  .home-archive-link.archive-link{padding:18px 16px;gap:12px}
}
@media(max-width:600px){
  .home-program-item.upcoming-card,.home-result-card.result-card{display:flex;flex-direction:column;padding:18px 16px}
  .home-program-item.upcoming-card .upcoming-top{margin-bottom:12px;justify-content:space-between}
  .home-program-item.upcoming-card .upcoming-bottom{align-self:stretch;align-items:flex-start;margin-top:0;padding-top:16px}
  .home-program-item.upcoming-card .grand-vote-link{margin-top:6px}
  .home-result-heading{justify-content:space-between}
  .home-result-card.result-card .result-matchup.home-result-score{align-self:stretch;margin-top:18px}
  .home-result-card.result-card>.territory-meter{align-self:stretch;margin-top:12px}
  .home-result-card.result-card .home-result-areas{margin-top:6px}
  .home-result-card.result-card>.card-footer{padding-top:12px;align-items:center}
  .home-result-card.result-card .home-result-retention{font-size:.6875rem}
  .home-archive-copy small{font-size:.6875rem}
}
@media(max-width:1100px){
  .home-top-navigation{display:none}
  .home-opening-grid{gap:24px}
  .home-opening h1{font-size:2.5rem}
  .home-center-map{height:150px}
  .home-how{gap:12px}
  .home-how li{gap:8px}
}
@media(max-width:860px){
  .home-opening-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .home-opening-copy{padding:0}
  .home-opening-description{max-width:600px}
  .home-center-map{height:150px}
  .home-how li{flex-direction:column;align-items:flex-start;gap:8px}
  .home-impact{grid-template-columns:minmax(0,1fr);gap:14px}
}
@media(max-width:760px){
  .focused-home{padding-top:16px}
  .home-opening-status{margin-bottom:16px;gap:3px 10px;font-size:.6875rem}
  .home-opening h1{font-size:clamp(2rem,8.8vw,2.5rem);line-height:1.12}
  .home-eyebrow{margin-bottom:8px;font-size:.625rem}
  .home-opening-description{margin-top:12px;font-size:.9375rem;line-height:1.65}
  .home-opening-description br{display:none}
  .home-primary-action{min-height:46px;margin-top:16px;gap:20px}
  .home-entry-note{margin-top:8px;font-size:.75rem}
  .home-live-center{padding:14px;border-radius:11px;box-shadow:none}
  .home-live-center::before{left:14px;right:14px}
  .home-center-title{font-size:1.125rem;margin-top:8px}
  .home-center-loading{min-height:242px}
  .home-skeleton-map{height:112px}
  .home-center-map{height:112px;margin:10px 0 8px;padding:8px}
  .home-center-score{font-size:.875rem}
  .home-center-bottom{margin-top:8px}
  .home-how{margin-top:20px;padding:16px 0;gap:12px}
  .home-step-icon{width:30px;height:30px;border-radius:7px}
  .home-step-icon .icon{width:18px;height:18px}
  .home-how strong{font-size:.75rem;line-height:1.4}
  .home-how small{font-size:.6875rem;line-height:1.5}
  .home-impact{margin-top:14px;padding:16px;gap:12px}
  .home-impact-heading h2{font-size:1.0625rem}
  .home-impact ul{grid-template-columns:minmax(0,1fr);gap:10px}
  .home-impact li{grid-template-columns:20px minmax(0,1fr);gap:8px}
  .home-impact li>.icon{width:18px;height:18px}
  .home-tempo-heading{margin-top:16px;font-size:.625rem}
  .home-tempo-heading small{font-size:.6875rem}
  .home-tempo-index{margin:8px 0 0}
  .home-tempo-index a{padding:10px 8px;min-height:62px;gap:7px;flex-direction:row}
  .home-tempo-shape{width:19px;height:19px}
  .home-tempo-index a>.icon{display:none}
  .home-opening{margin-bottom:24px}
}
@media(max-width:360px){
  .home-opening h1{font-size:2rem}
  .home-center-top{font-size:.6875rem}
  .home-center-title{font-size:1rem}
  .home-center-bottom{font-size:.625rem}
  .home-how{gap:8px}
  .home-tempo-heading small{font-size:.625rem}
}


.home-opening-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin-top:22px}
.rivalry-home .home-opening-actions .home-primary-action{margin-top:0}
.home-demo-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 14px;font-size:.875rem}
.home-demo-action .icon{width:16px;height:16px;flex:none}
@media(max-width:600px){.home-opening-actions{margin-top:14px}}
