.arena-board{background-size:cover;background-attachment:fixed;--winner-line:var(--green);--loss-line:#b65d30}.board-shell{max-width:1920px;margin:auto;padding:0 32px;min-height:100vh}.board-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:20px;min-height:80px;background:var(--bg);border-bottom:1px solid var(--line)}#board-logo{width:150px;height:44px;object-fit:contain}.board-header h1{font-size:24px;margin:0;flex:1;min-width:0;line-height:1.2}.board-header #board-status{font-size:13px;white-space:nowrap;color:var(--green)}.board-offline{color:var(--muted)!important}.board-menu{position:relative}.board-menu summary{list-style:none;font-size:28px;width:44px;height:44px;text-align:center;cursor:pointer}.board-menu>div{position:absolute;right:0;top:50px;width:270px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:0 8px 30px #0003}.board-menu button{display:block;width:100%;padding:12px;text-align:left}.board-menu label{display:block;margin-top:12px}.board-about{padding:12px 0;font-size:14px}.board-about summary{cursor:pointer;min-height:28px}.board-about p{margin:10px 0}.board-tabs{display:flex;gap:8px;margin:6px 0 20px}.board-tabs button,.public-chips button,.board-menu button{font:inherit;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);cursor:pointer;min-height:44px;padding:10px 18px}.board-tabs [aria-current=page],.public-chips [aria-pressed=true]{background:var(--ink);color:var(--bg)}.board-groups,.board-matches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.board-shell .panel{padding:20px;min-width:0;margin:0 0 12px}.board-shell .panel h2{font-size:22px;margin:0 0 12px;display:flex;align-items:center;gap:10px}.board-shell h2 i{width:12px;height:12px;border-radius:4px}.arena-board .standings{width:100%;border-collapse:collapse}.arena-board .board-shell .standings{font-size:14px;table-layout:auto}.arena-board .standings th,.arena-board .standings td{padding:10px 5px;text-align:center;border-bottom:1px solid var(--line)}.arena-board .standings th[scope=row]{text-align:left;font-weight:550;white-space:normal;overflow-wrap:anywhere}.arena-board .standings th:nth-child(2){text-align:left}.arena-board .standings td:nth-child(4){font-weight:800}.arena-board .standings tr[data-team]{cursor:pointer}.board-shell .detail-col{display:none}.public-match{width:100%;min-height:48px;padding:8px 0;display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);align-items:center;gap:8px;background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--line);font:inherit;text-align:left;cursor:pointer}.public-match>.team-name:last-child{text-align:right}.team-name{min-width:0;overflow-wrap:anywhere}.public-match strong{text-align:center;font-size:22px;white-space:nowrap;color:var(--ink);font-variant-numeric:tabular-nums}.public-match small{display:block;font-size:11px;color:var(--muted)}.public-chips{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:2px 0 10px;scrollbar-width:thin}.public-chips button{white-space:nowrap;flex-shrink:0}.board-matches{margin-top:12px}.board-ranking{list-style:none;padding:0;margin:0;columns:2}.board-ranking li{display:flex;align-items:center;gap:20px;padding:14px 0;break-inside:avoid;cursor:pointer;border-bottom:1px solid var(--line)}.board-ranking strong{font-size:28px;min-width:40px;color:var(--green)}.board-bracket-scroll{overflow:auto;max-width:100%;--panel:var(--surface)}.board-bracket-scroll .visual-match-title{color:var(--green)}.my-team{outline:2px solid var(--green);outline-offset:-2px;background:color-mix(in srgb,var(--green) 12%,var(--surface))!important}.recently-changed{animation:result-change 8s ease-out forwards}@keyframes result-change{0%,60%{box-shadow:inset 0 0 0 3px var(--green);background:color-mix(in srgb,var(--green) 25%,var(--surface))}100%{box-shadow:inset 0 0 0 0 transparent}}.public-dialog{color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:20px;max-width:min(850px,92vw);max-height:85vh;width:600px;padding:24px;overflow:auto}.public-dialog::backdrop{background:#0009}.public-dialog header{display:flex;gap:20px;align-items:center;margin-bottom:20px}.public-dialog h2{margin:0;flex:1;font-size:26px}.public-dialog header button{width:48px;height:48px;font-size:28px;background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:12px;cursor:pointer}.match-detail{display:grid;gap:20px;text-align:center;font-size:24px}.match-detail strong{font-size:44px}.team-stat{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.team-stat dd{margin:0;font-size:30px;font-weight:750}.team-stat dt{font-size:14px}.arena-board [hidden]{display:none!important}.arena-qr{max-width:220px;padding:8px;background:#fff;margin:16px 0}.arena-qr svg{display:block;width:100%;height:auto}.display-form{margin-bottom:32px}.display-form input[type=color]{min-height:56px;padding:4px}.display-form h2{margin-top:28px}
@media(min-width:1440px){.board-groups,.board-matches{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:761px) and (max-width:1100px){.board-groups{grid-template-columns:1fr}.board-shell .detail-col{display:table-cell}}
@media(max-width:760px){.board-shell{padding:0 12px 90px}.board-header{min-height:56px;gap:10px}#board-logo{width:90px;height:30px}.board-header h1{font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.board-header #board-status{font-size:10px;max-width:65px;white-space:normal}.board-menu summary{width:32px}.board-tabs{position:fixed;bottom:0;left:0;right:0;z-index:20;margin:0;padding:8px 8px max(8px,env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.board-tabs button{padding:10px 6px;font-size:13px}.board-groups,.board-matches{grid-template-columns:1fr;gap:10px}.board-shell .panel{padding:12px;margin-bottom:0}.board-shell .panel h2{font-size:18px;margin-bottom:8px}.board-about{padding:10px 0}.arena-board .board-shell .standings{font-size:13px;width:100%;table-layout:fixed}.arena-board .standings th,.arena-board .standings td{padding:9px 3px}.arena-board .standings th:first-child{width:24px}.arena-board .standings th:nth-child(2){width:auto}.arena-board .standings th:nth-child(n+3){width:30px}.public-match{font-size:13px;grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);gap:5px;padding:5px 0;min-height:48px}.public-match strong{font-size:20px}.board-ranking{columns:1}.public-chips button{font-size:13px;padding:8px 12px}.public-dialog{padding:18px}.public-dialog h2{font-size:22px}.board-shell .workspace-footer{font-size:10px;margin-top:24px}.board-shell .check{font-size:12px}.board-menu>div{right:0}.board-shell #main-content{padding:0}}
@media(prefers-reduced-motion:reduce){.recently-changed{animation:none;box-shadow:inset 0 0 0 2px var(--green)}}
@media(max-width:760px){.arena-board .workspace-footer{padding:14px 0;margin-top:14px}.board-matches .panel{padding:10px}.board-matches .panel h2{margin-bottom:0}.board-matches .public-match{line-height:1.15;min-height:46px}.board-shell{padding-bottom:72px}}
