/* ARENA platform shell: three tempos, one legible match board. */
.page-loading{padding:28px 0;line-height:1.6;color:var(--muted)}
.portal-empty-state{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:16px;min-width:0;padding:clamp(22px,3vw,36px);background:var(--surface);border:1px solid var(--line);border-radius:12px}
.portal-empty-state>.icon{width:28px;height:28px;color:var(--muted);flex:none}
.portal-empty-state h2,.portal-empty-state h3{font-size:1.125rem;line-height:1.5;margin:0;overflow-wrap:anywhere;color:var(--ink)}
.portal-empty-state p{margin:8px 0 0;font-size:.875rem;line-height:1.7;color:var(--muted)}
.portal-empty-actions{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px}
.portal-empty-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;max-width:100%;padding:10px 14px;white-space:normal;overflow-wrap:anywhere;font-size:.875rem;line-height:1.5}
.portal-empty-actions .icon{flex:none;width:16px;height:16px}
.portal-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-bottom:24px;padding:16px 20px;border:1px solid var(--line);border-inline-start:3px solid var(--ink);border-radius:8px;background:var(--surface)}
.portal-status p{flex:1 1 240px;min-width:0;margin:0;color:var(--muted);font-size:.875rem;line-height:1.7}
.portal-status button{min-height:44px;white-space:normal;line-height:1.5}
:root{--sidebar:232px;--bg:#f4f6fa;--surface:#fff;--surface-2:#eef2f8;--ink:#142035;--muted:#5c6b80;--line:#dce3ed;--accent:#274dd1;--accent-soft:#edf1ff;--blue:#205dcc;--red:#c82c4d;--map-neutral:#b8c5d7}
[data-theme=dark]{--bg:#0e1521;--surface:#151f2f;--surface-2:#1d2b40;--ink:#eff4fc;--muted:#acb9cd;--line:#2c3b50;--accent:#a2b7ff;--accent-soft:#22314f;--blue:#87b9ff;--red:#ff90a6;--map-neutral:#4f6078}
html{scroll-padding-top:96px}body{min-width:0}button,a,select{touch-action:manipulation}button,select{font:inherit}a,button,h1,h2,h3,p,span{overflow-wrap:break-word}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.topbar.compact-topbar{height:72px;padding:0 28px;gap:22px}.brand{width:auto;font-size:1.625rem}.brand>svg{color:var(--ink)}.header-context{font-size:.875rem;color:var(--muted);border-left:1px solid var(--line);padding-left:22px}.header-actions{gap:8px}.header-menu{display:none}.icon-button{min-width:44px;min-height:44px;width:44px;height:44px}.profile-button{min-height:44px;font-size:.875rem}.local-zone{display:flex;align-items:center;gap:6px;min-height:44px;padding:0 10px;font-size:.8125rem;color:var(--muted);max-width:210px}.local-zone .icon{width:16px;height:16px}.local-zone span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sidebar{top:72px;width:var(--sidebar);padding:28px 16px 18px}.nav-caption{font-size:.6875rem;line-height:1.6;letter-spacing:.1em;display:block;margin:0 12px 12px}.nav-item span{display:block}.nav-item{justify-content:flex-start;font-size:.875rem;line-height:1.45;gap:12px;min-height:48px;padding:11px 12px;border-radius:9px}.nav-item .icon{width:20px;height:20px}.nav-item.active{color:var(--ink);background:var(--surface-2);position:relative}.nav-item.active::before{content:'';position:absolute;left:0;top:13px;bottom:13px;width:3px;background:linear-gradient(var(--blue),var(--red));border-radius:2px}.secondary-nav{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.secondary-nav nav{display:grid;gap:4px}.sidebar-footer{display:flex;padding:24px 12px 0;font-size:.75rem}.tempo-key{display:grid;gap:6px}.tempo-key span{display:flex;justify-content:space-between;gap:12px;color:var(--muted)}.tempo-key b{font-weight:700;color:var(--ink)}.sidebar-footer p{font-size:.75rem}
.main-content,.focused-home{margin-left:var(--sidebar);margin-right:auto;width:calc(100% - var(--sidebar));max-width:1380px;padding:32px clamp(20px,3vw,48px) 36px;min-width:0}.detail-heading{margin-bottom:28px}.detail-heading h1,h1{font-size:clamp(1.625rem,3vw,2.125rem);line-height:1.2;letter-spacing:-.04em}.section-kicker{font-size:.6875rem;letter-spacing:.12em;color:var(--muted)}.detail-heading>p,.home-intro{font-size:1rem;line-height:1.65;color:var(--muted)}.section-heading{gap:14px;align-items:center}.section-heading h2{font-size:1.375rem;line-height:1.3;letter-spacing:-.025em}.section-link{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;padding:8px 0}.home-heading{margin-bottom:18px}.home-intro{margin-top:8px;max-width:640px}.tempo-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0 26px;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}.tempo-index a{padding:12px 18px;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:52px;font-size:.875rem;border-left:1px solid var(--line)}.tempo-index a:first-child{border-left:0}.tempo-index a:hover{background:var(--surface-2)}.tempo-index strong{font-weight:800;letter-spacing:-.02em}.tempo-index span{color:var(--muted);font-size:.8125rem;white-space:nowrap}
.live-showcase-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.arena-row.live-showcase-card{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);border-radius:12px;box-shadow:none;border:1px solid var(--line);transform:none;scroll-margin-top:90px}.arena-row.live-showcase-card:hover{transform:none;border-color:color-mix(in srgb,var(--ink) 28%,var(--line));box-shadow:0 8px 28px #07132808}.arena-cover{min-height:274px;padding:20px;--map-neutral:#9cacbe}.arena-cover>img{opacity:.16}.arena-cover::before{background:linear-gradient(110deg,#0f3357c7,#101c2bbf 50%,#41172abf)}.arena-cover .cover-top>span:last-child{font-size:.8125rem;letter-spacing:.02em}.cover-map{height:160px;margin:12px 0}.cover-bottom{font-size:.75rem}.arena-row-body{padding:24px 28px}.arena-context{font-size:.6875rem;letter-spacing:.12em}.arena-row-body h2{font-size:clamp(1.375rem,2.4vw,1.875rem);line-height:1.35;gap:10px}.arena-description{font-size:1rem;margin-top:9px;line-height:1.65}.showcase-score{margin-top:18px}.showcase-score b{font-size:1.25rem;letter-spacing:-.03em;font-variant-numeric:tabular-nums}.showcase-score small,.neutral-score{font-size:.8125rem}.arena-row .territory-meter{height:6px}.arena-row-footer{padding-top:20px;gap:14px}.arena-row-footer>div>span{font-size:.8125rem}.arena-row-footer .primary-button{width:auto;min-height:44px;font-size:.875rem;padding:10px 18px}.primary-button{background:var(--ink);color:var(--surface);min-height:44px;font-size:.875rem;line-height:1.5}.primary-button:hover{opacity:.9}.secondary-button,.share-button,.grand-vote-link{min-height:44px;font-size:.875rem}.grand-vote-link{color:var(--accent);margin:8px 0 0;line-height:1.5}.arena-facts>span,.arena-rule{font-size:.875rem}.arena-facts{gap:6px}
.content-section{margin-top:36px}.upcoming-grid,.results-grid,.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.upcoming-card,.upcoming-card:last-child,.result-card,.result-card:last-child{min-width:0;display:flex;flex-direction:column;grid-column:auto;gap:0;padding:22px;border-radius:12px;background:var(--surface);box-shadow:none}.upcoming-card .upcoming-top,.upcoming-card:last-child .upcoming-top{display:flex;grid-row:auto;margin:0 0 16px;justify-content:space-between;flex-wrap:wrap;gap:8px}.upcoming-card .upcoming-top .mode-tag,.upcoming-card:last-child .upcoming-top .mode-tag{display:block;font-size:.6875rem}.upcoming-card h3 .blue{color:var(--blue)}.upcoming-card h3 .red{color:var(--red)}.upcoming-card h3{font-size:1.125rem;line-height:1.5}.card-meta{font-size:.875rem;line-height:1.5;margin-top:6px}.upcoming-card .upcoming-bottom,.upcoming-card:last-child .upcoming-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:20px}.upcoming-bottom>span{font-size:.875rem;line-height:1.6;flex-wrap:wrap}.upcoming-bottom small{font-size:.75rem}.result-card .result-winner{font-size:1.25rem;line-height:1.5;overflow-wrap:anywhere}.result-card>p,.result-label{font-size:.8125rem;line-height:1.6}.result-card .result-matchup,.result-card:last-child>.result-matchup{display:flex;flex-wrap:wrap;grid-column:auto;grid-row:auto;font-size:.8125rem;gap:10px;margin:18px 0 0;align-self:stretch}.result-card>.territory-meter,.result-card:last-child>.territory-meter{grid-column:auto;grid-row:auto;margin-top:9px}.result-card>.card-footer,.result-card:last-child>.card-footer{display:flex;flex-wrap:wrap;flex-direction:row;align-items:center;gap:10px;margin-top:18px;font-size:.8125rem}.result-link{font-size:.875rem;min-height:44px;padding:8px 0}.archive-links{gap:16px}.archive-link{border-radius:12px;padding:24px;align-items:center;transform:none}.archive-link strong{font-size:1.25rem;line-height:1.5}.archive-link em{font-size:.875rem;line-height:1.6}.archive-card{border-radius:12px;min-width:0}.archive-card h2{font-size:1.125rem}.archive-card-body{padding:0 22px 22px}.archive-card-footer{flex-wrap:wrap;font-size:.8125rem;line-height:1.6}.archive-switch{flex-wrap:wrap}.archive-switch a{font-size:.875rem;min-height:44px;display:flex;align-items:center}.archive-count{font-size:.875rem}.page-footer{font-size:.8125rem;line-height:1.65;gap:16px;padding-top:24px;margin-top:40px}.page-footer>a:last-child{margin-left:0}.page-footer>span{margin-right:auto}.page-footer a{min-height:44px;display:flex;align-items:center}
.navigation-dialog{width:min(560px,calc(100% - 32px));padding:26px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 30px 100px #0005}.navigation-dialog::backdrop{background:#06132399}.navigation-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.navigation-head h2{font-size:1.25rem;line-height:1.4}.navigation-dialog nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.menu-link{display:flex;gap:12px;align-items:center;min-height:54px;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:.875rem}.menu-link:hover,.menu-link.active{background:var(--surface-2);border-color:var(--accent)}.menu-link .icon{width:20px;height:20px}.menu-account{display:flex;align-items:center;gap:12px;width:100%;margin-top:18px;padding:14px;border-radius:8px;background:var(--accent-soft);color:var(--accent);min-height:48px;font-size:.875rem;text-align:left}.menu-note{margin-top:12px;color:var(--muted);font-size:.8125rem;line-height:1.6}
.utility-grid,.voting-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.utility-card{margin-top:24px;padding:28px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}.utility-grid>.utility-card,.voting-layout>.utility-card{margin-top:0}.utility-card h2{font-size:1.25rem;line-height:1.4;margin-bottom:12px}.utility-card p,.plain-list{font-size:1rem;line-height:1.7;color:var(--muted)}.utility-card .utility-note{font-size:.875rem;margin-top:18px}.plain-list{padding-left:20px;margin:0}.plain-list li+li{margin-top:12px}.theme-options{border:0;padding:0;margin:20px 0 0;display:flex;flex-wrap:wrap;gap:10px}.theme-options button{min-height:48px;padding:12px 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:.875rem}.theme-options button.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.preference-field{display:grid;gap:12px;line-height:1.6;font-size:1rem}.preference-field select{min-width:0;width:100%;min-height:48px;padding:10px;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:8px;font-size:1rem}.timezone-example{margin-top:18px}.preferences-feedback{margin-top:20px;color:var(--accent);font-size:1rem;line-height:1.5}.sitemap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sitemap-group{padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:12px;min-width:0}.group-number{font-size:.875rem;display:inline-block;margin-bottom:16px;color:var(--muted);font-variant-numeric:tabular-nums}.sitemap-group h2{font-size:1.25rem;line-height:1.4}.sitemap-group>p{font-size:.875rem;color:var(--muted);margin:8px 0 20px;line-height:1.7}.sitemap-group ul{list-style:none;padding:0;margin:0}.sitemap-group li{border-top:1px solid var(--line)}.sitemap-group li a{display:flex;flex-direction:column;gap:4px;padding:15px 0;min-height:60px}.sitemap-group li a:hover strong{color:var(--accent)}.sitemap-group li strong{font-size:1rem}.sitemap-group li span{font-size:.875rem;color:var(--muted);line-height:1.6}.journey{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0;margin:20px 0;list-style:none}.journey li{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;line-height:1.7}.journey b{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--surface-2);text-align:center;color:var(--accent)}.voting-card{border:1px solid var(--line);border-radius:12px;padding:36px;background:var(--surface);min-width:0}.voting-card h2{font-size:1.875rem;line-height:1.3;margin:18px 0;letter-spacing:-.03em}.voting-card p{font-size:1rem;color:var(--muted);line-height:1.7}.voting-card .primary-button{margin-top:24px}
.rules-hero{margin-bottom:28px}.rules-hero>span{font-size:.75rem;letter-spacing:.08em;color:var(--muted)}.rules-hero h1{margin-top:8px}.rules-hero>p{font-size:1rem;color:var(--muted);line-height:1.7;margin-top:12px}.rules-facts{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.rules-facts b{padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:.875rem;font-weight:650}.rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.rule-grid article{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:24px}.rule-grid small{display:block;color:var(--muted);font-size:.75rem;margin-bottom:8px}.rule-grid h2{font-size:1.25rem;margin-bottom:10px}.rule-grid p{font-size:1rem;color:var(--muted);line-height:1.75}.rule-notes,.rules-table-card{margin-top:28px;padding:24px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.rule-notes h2,.rules-table-card h2{font-size:1.25rem;line-height:1.4}.rule-notes p,.rule-notes li{font-size:1rem;line-height:1.75;color:var(--muted)}.rule-notes ul{padding-left:20px}.rule-notes li+li{margin-top:12px}.table-wrap{overflow-x:auto;max-width:100%;margin-top:20px}.rules-table-card table{border-collapse:collapse;min-width:660px;width:100%;font-size:.875rem}.rules-table-card th,.rules-table-card td{padding:12px;text-align:left;border-bottom:1px solid var(--line)}.rules-table-card th{font-weight:800}.rules-table-card>div>span{font-size:.75rem;color:var(--muted)}
@media(max-width:1100px){:root{--sidebar:104px}.header-context{display:none}.sidebar{padding:22px 8px}.sidebar .nav-caption,.sidebar-footer{display:none}.nav-item{flex-direction:column;justify-content:center;gap:6px;text-align:center;padding:10px 5px;min-height:72px}.sidebar .nav-item span{display:block;font-size:.75rem;line-height:1.4}.nav-item b{display:none}.nav-item.active::before{top:22px;bottom:22px}.secondary-nav{margin-top:18px;padding-top:18px}.main-content{padding:28px 24px 36px}.arena-row-body{padding:22px}.arena-row-footer .primary-button{width:100%}.upcoming-grid,.results-grid,.archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upcoming-card:last-child,.result-card:last-child{grid-column:auto}.sitemap-grid{grid-template-columns:1fr}.sitemap-group{padding:24px}.sitemap-group ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.local-zone{max-width:190px}}
@media(max-width:860px){.arena-row.live-showcase-card{grid-template-columns:minmax(0,1fr)}.arena-cover{min-height:230px}.cover-map{height:150px}.arena-row-footer .primary-button{width:auto}.utility-grid,.voting-layout{grid-template-columns:1fr}.journey{grid-template-columns:repeat(2,minmax(0,1fr))}.local-zone{display:none}}
@media(max-width:760px){:root{--sidebar:0px}.topbar.compact-topbar{height:64px;padding:0 16px;gap:10px}.brand{font-size:1.375rem}.brand>svg{width:25px;height:29px}.header-actions{gap:2px}.profile-button{padding:10px;width:44px;height:44px;background:none;color:var(--muted)}.profile-button span{display:none}.header-menu{display:inline-flex}.sidebar{display:none}.main-content,.focused-home{margin-left:0;width:100%;padding:24px 16px calc(110px + env(safe-area-inset-bottom));max-width:none}.detail-heading{margin-bottom:22px}.detail-heading h1,h1{font-size:1.75rem}.detail-heading>p,.home-intro{font-size:1rem}.tempo-index{margin:18px 0 22px}.tempo-index a{padding:10px;flex-direction:column;align-items:flex-start;gap:1px;font-size:.875rem}.tempo-index span{font-size:.75rem}.section-heading h2{font-size:1.375rem}.section-link{font-size:.875rem}.live-showcase-grid{gap:18px}.arena-row.live-showcase-card{display:flex;flex-direction:column}.arena-cover{padding:16px;min-height:224px}.cover-map{height:144px}.cover-top{font-size:.75rem}.arena-row-body{padding:22px 20px}.arena-row-body h2{font-size:1.5rem;gap:8px}.showcase-score{margin-top:18px}.arena-row-footer{gap:16px}.arena-row-footer .primary-button{width:100%}.arena-row-footer>div{gap:8px 14px}.upcoming-grid,.results-grid,.archive-grid{grid-template-columns:minmax(0,1fr)}.upcoming-card,.upcoming-card:last-child,.result-card,.result-card:last-child{padding:22px;display:flex;grid-column:auto}.upcoming-card .upcoming-top,.upcoming-card:last-child .upcoming-top{margin-bottom:14px}.upcoming-card .upcoming-bottom{margin-top:18px}.archive-links{grid-template-columns:1fr}.archive-link{padding:20px;gap:14px}.archive-icon{width:44px;height:44px;flex-basis:44px}.archive-link strong{font-size:1.125rem}.archive-link em{font-size:.875rem}.content-section{margin-top:32px}.page-footer{gap:4px 16px;flex-wrap:wrap}.page-footer>span{width:100%;order:2;margin-bottom:6px}.mobile-nav{display:grid;position:fixed;bottom:0;left:0;right:0;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 4px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);z-index:35}.mobile-nav>a,.mobile-nav>button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:transparent;border:0;min-height:50px;min-width:0;font-size:.75rem;line-height:1.4;padding:4px 2px;gap:5px;color:var(--muted)}.mobile-nav .active{color:var(--ink);background:var(--surface-2);border-radius:8px}.mobile-nav .icon{width:22px;height:22px}.navigation-dialog{margin:auto 8px 8px;width:calc(100% - 16px);padding:22px 18px calc(22px + env(safe-area-inset-bottom));border-radius:16px;max-height:calc(100dvh - 24px)}.navigation-dialog nav{gap:8px}.menu-link{padding:12px 10px;gap:8px;font-size:.875rem}.navigation-head h2{font-size:1.25rem}.arena-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.dialog-content{padding:30px 22px 24px}.dialog-title{font-size:1.5rem}.dialog-description{font-size:1rem}.dialog-map{height:185px}.dialog-stats{font-size:.875rem}.dialog-note{font-size:.8125rem}.utility-card,.sitemap-group,.voting-card{padding:24px 20px}.sitemap-group ul{display:block}.journey{grid-template-columns:1fr;gap:12px}.rule-grid{grid-template-columns:1fr}.rule-grid article,.rule-notes,.rules-table-card{padding:22px 20px}.voting-card h2{font-size:1.5rem}.archive-count{margin-left:0!important}.result-map,.upcoming-map{height:180px}}
@media(max-width:360px){.topbar.compact-topbar{padding:0 12px}.main-content{padding-left:12px;padding-right:12px}.brand{font-size:1.25rem;gap:6px}.header-actions .icon-button,.profile-button{width:40px;min-width:40px}.navigation-dialog nav{grid-template-columns:1fr}.cover-bottom{gap:4px}.arena-row-body{padding:20px 16px}.arena-row-body h2{font-size:1.375rem}.neutral-score{font-size:.75rem}.showcase-score b{font-size:1.125rem}}


.information-page section { scroll-margin-top: 100px; }
.information-links { display:flex; flex-wrap:wrap; gap:10px 20px; margin:18px 0; }
.information-links a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink); text-underline-offset:4px; }
.information-page .rule-notes p { max-width:75ch; line-height:1.7; overflow-wrap:anywhere; }
.page-footer { flex-wrap:wrap; }
