/* The live match is an independent, focused arena. Video remains mounted outside the rerendered hub. */
body.live-match-mode{background:radial-gradient(ellipse at 0 15%,#50101c60,transparent 40%),radial-gradient(ellipse at 100% 34%,#172e4660,transparent 40%),#0b0c10;color:#f6f7fa}
body.live-match-mode .shell{max-width:1000px;padding:0 16px 20px}
body.live-match-mode .arena-header,body.live-match-mode .section-nav,body.live-match-mode .arena-hero-new,body.live-match-mode .arena-tabs,body.live-match-mode .arena-pane,body.live-match-mode .footer{display:none!important}
body.live-match-mode main:has(.hub-match-active){display:flex;flex-direction:column;gap:10px;padding-top:10px}
body.live-match-mode #hub{display:contents}
body.live-match-mode main:has(.hub-match-active) .hub-match-active{order:0;margin:0}
body.live-match-mode main:has(.hub-match-active) #live-video{order:1;margin:0}
body.live-match-mode .match-controls{order:2}
body.live-match-mode main:has(.hub-match-active) #hub-status{order:3;margin:0;font-size:11px;text-align:center;min-height:0}
.match-stage,.match-controls{display:grid;gap:10px;min-width:0}
.match-stage button,.match-controls button,#live-video button{min-width:0;font:inherit;cursor:pointer}
.match-brand{position:relative;display:flex;justify-content:center;align-items:center;min-height:54px}
.match-wordmark{font-size:35px;line-height:.95;font-weight:950;letter-spacing:-1.7px;font-style:italic;text-align:center;color:#fff;text-shadow:0 3px 15px #fff2}.match-wordmark>span{color:#f42441;font-size:1.15em}.match-wordmark small{display:block;font:700 9px/1.8 system-ui;letter-spacing:3px;color:#d6d8df}
.match-icon{position:absolute;right:0;top:7px;background:#161920;border:1px solid #48515d;border-radius:9px;padding:8px;color:#e8edf7;min-height:38px}.match-icon svg{width:20px;height:20px;display:block}
.match-format{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 9px;border:1px solid #515662;border-radius:8px;background:#14171d;font-size:13px}.match-live{color:#75ffa1;font-size:12px;letter-spacing:.6px;font-weight:850;white-space:nowrap}.match-live i{display:inline-block;background:#45ef84;width:8px;height:8px;border-radius:50%;margin-right:6px;box-shadow:0 0 9px #35ef84}
.match-legline{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;text-align:center}.match-legline>span{padding:9px 5px;background:linear-gradient(135deg,#232630,#101216);border:1px solid #535965;border-radius:8px;overflow-wrap:anywhere;font-weight:750;font-size:clamp(12px,2.5vw,18px)}.match-legline>div{padding-inline:7px}.match-legline small{display:block;font-size:10px;font-weight:800;letter-spacing:1px;color:#cbd0db}.match-legline strong{font-size:clamp(22px,5vw,34px);line-height:1.1;font-variant-numeric:tabular-nums}.match-legline strong i{font-style:normal;color:#f74157}.match-leg-label{text-align:center;font-size:11px;font-weight:800;letter-spacing:1.1px;color:#c6c8d0}
.match-score-duel{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:9%;isolation:isolate}.match-board-mark{position:absolute;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%);width:23%;aspect-ratio:1;border-radius:50%;background:linear-gradient(#0b0c1055,#0b0c10bb),url(assets/dartboard.svg) center/cover;display:grid;place-items:center;color:white}.match-board-mark span{background:#0b0c10c9;padding:6px;border-radius:50%;font-size:clamp(14px,3.5vw,26px);font-weight:900}
body.live-match-mode .match-score-tile{position:relative;text-align:center;min-width:0;overflow:hidden;border-radius:15px;border:1.5px solid #b54352;background:linear-gradient(155deg,#42111c,#171217 66%,#0c0e13);box-shadow:inset 0 0 24px #b51a2a15;padding:0 0 10px}body.live-match-mode .match-score-tile.opponent{border-color:#5e92ba;background:linear-gradient(155deg,#233648,#101722 66%,#0c0e13);box-shadow:inset 0 0 24px #2692c915}body.live-match-mode .match-score-tile.is-throwing{border-color:#ff3853;box-shadow:0 0 14px #ff294940,inset 0 0 30px #ba162b25}body.live-match-mode .match-score-tile.opponent.is-throwing{border-color:#71caff;box-shadow:0 0 15px #60c4ff40}
body.live-match-mode .match-score-tile h3{font-size:clamp(13px,3.7vw,23px);margin:0;padding:7px 4px;background:linear-gradient(90deg,#8f1025,#521220);border-bottom:1px solid #ff4262;color:white;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-score-tile.opponent h3{background:linear-gradient(90deg,#3a5770,#1f3247)!important;border-color:#6f9abc!important}.match-turn{font-size:10px;font-weight:850;letter-spacing:.7px;color:#a9aeb8;margin:5px auto 0;width:max-content;max-width:100%;padding:3px 7px;border-radius:5px}.is-throwing .match-turn{background:#103d25;color:#75ff9c}body.live-match-mode .match-score-tile .hub-score{font-size:clamp(54px,13vw,108px);font-weight:950;line-height:1.05;letter-spacing:-3px;color:#fff;white-space:nowrap}.match-avg{font-size:12px;color:#b6bbc6;margin-top:3px}.match-avg b{color:#fff;margin-left:5px;font-variant-numeric:tabular-nums}
.match-recent{display:grid;grid-template-columns:1fr 1fr;gap:9%}.match-recent>div{display:grid;grid-template-columns:auto repeat(3,minmax(0,1fr));gap:3px;align-items:center;padding:4px;border:1px solid #44404a;background:#15151a;border-radius:7px;min-width:0}.match-recent small{font-size:9px;font-weight:800;color:#b9bbc5;white-space:nowrap}.match-recent b{font-size:clamp(10px,2.7vw,14px);text-align:center;border:1px solid #b34052;border-radius:5px;padding:3px 0;overflow:hidden}.match-recent>div:nth-child(2) b{border-color:#5085ad}
.match-checkout{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid #844355;border-radius:11px;background:linear-gradient(110deg,#45161f,#171922 60%,#1a2535);padding:9px}.match-checkout>svg{color:#ff5269;width:24px;height:24px}.match-checkout small{display:block;font-size:10px;font-weight:800;letter-spacing:.4px}.match-checkout strong{display:block;font-size:clamp(14px,3.8vw,20px);line-height:1.25;color:#ffe36b;overflow-wrap:anywhere}.match-checkout button{background:transparent;border:1px solid #64636d;border-radius:6px;color:#fff;padding:6px;font-size:11px}.match-routes{grid-column:2/-1;display:flex;flex-wrap:wrap;gap:6px}.match-routes span{background:#16181f;border:1px solid #535965;border-radius:5px;padding:4px 7px;font-size:12px;color:#ffdf80}
body.live-match-mode #live-video{padding:0;border:0;background:transparent;border-radius:0;min-width:0}body.live-match-mode #live-video .section-head{display:none}body.live-match-mode #live-video .video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.live-match-mode .video-grid>div{position:relative;min-width:0}body.live-match-mode .video-grid video{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;border:1.5px solid #66768a;border-radius:11px;background:radial-gradient(ellipse,#25232b,#111318);min-height:0;max-height:270px}body.live-match-mode .video-grid>div:first-child video{border-color:#45dd82}body.live-match-mode .video-grid small{position:absolute;bottom:6px;left:6px;z-index:1;background:#0a0d12dd;color:#fff;padding:3px 6px;border-radius:5px;font-size:10px;pointer-events:none}body.live-match-mode .video-grid [data-remote]{object-fit:contain}body.live-match-mode #live-video>label,body.live-match-mode #live-video .actions{margin:6px 0;display:none}body.live-match-mode #live-video.show-camera-settings>label{display:block}body.live-match-mode #live-video.show-camera-settings .actions{display:flex;flex-wrap:wrap;gap:6px}body.live-match-mode #live-video:not(.show-camera-settings) .actions:has([data-v=start]:not(:disabled)){display:flex;margin:5px 0}body.live-match-mode #live-video:not(.show-camera-settings) .actions:has([data-v=start]:not(:disabled)) button:not([data-v=start]){display:none}body.live-match-mode #live-video [data-v=start]{font-size:12px;min-height:40px;padding:8px 14px}body.live-match-mode #live-video [data-v-status]{font-size:11px;margin:3px 0 0;line-height:1.3;color:#c7ccd5}body.live-match-mode #live-video [data-v-detail]{display:none}body.live-match-mode #live-video.show-camera-settings [data-v-detail]{display:block;font-size:11px}
.match-voice{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:1px solid #4a5655;border-radius:12px;background:linear-gradient(100deg,#16211e,#121a1b);min-height:58px}.match-voice.voice-active{border-color:#2fba76;box-shadow:inset 0 0 18px #1ae27a13}.voice-symbol{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:2px solid #71877d;color:#a3c5b1}.voice-active .voice-symbol{color:#3cf187;border-color:#3cf187}.voice-symbol svg{width:21px;height:21px}.match-voice strong{font-size:12px;letter-spacing:.25px}.match-voice p{margin:2px 0;color:#c6ced0;font-size:11px;line-height:1.3;overflow-wrap:anywhere}.voice-bars{display:flex;gap:2px;align-items:center;opacity:.3}.voice-bars i{width:2px;height:var(--bar);border-radius:4px;background:#80c7a0}.voice-active .voice-bars{opacity:1}.voice-active .voice-bars i{background:#39ee83}
.match-main-actions{display:grid;grid-template-columns:1.2fr 1.1fr .8fr;gap:7px}.match-action{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:66px;border:1.5px solid #626d80;background:linear-gradient(#242a34,#13161d);color:#f7f8fc;border-radius:12px;padding:7px 3px;font-size:12px!important;text-transform:uppercase;font-weight:800!important;line-height:1.2;text-align:center}.match-action.primary{background:linear-gradient(150deg,#fa1737,#b40024);border-color:#ff5368;box-shadow:0 0 13px #fa123b30}.match-action svg{width:25px;height:25px}.match-action:disabled{opacity:.45;cursor:not-allowed}.match-utilities{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.match-utilities button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;border:1px solid #485464;background:linear-gradient(#242b34,#15191f);border-radius:9px;padding:6px 2px;font-weight:750;font-size:11px;text-align:center;line-height:1.15;color:#fff}.match-utilities button svg{width:20px;height:20px}.match-utilities button[aria-expanded=true]{border-color:#ef586b;background:#40202b}.match-utilities .match-leave{border-color:#eb3450;background:linear-gradient(#7a1629,#440d18)}.match-hint{font-size:11px;color:#a8adb9;line-height:1.4;margin:0}.match-disclaimer{font-size:10px;text-align:center}.match-manual,.match-tool-panel,.match-result{border:1px solid #55515f;border-radius:10px;padding:10px;background:#181b22;min-width:0}.match-manual[hidden]{display:none!important}.match-tool-panel h3,.match-result h2{margin:0 0 8px;font-size:17px}.match-tool-panel .actions{flex-wrap:wrap}.match-stat-line{display:grid;gap:4px;margin:7px 0;padding:7px;border:1px solid #373d47;border-radius:7px;font-size:12px}.match-stat-line span{color:#c0c8d6}.match-controls #online-entry-error:empty,.match-controls .waiting-turn{display:none}.match-controls .online-total-entry{margin:8px 0}.match-controls .hub-entry{display:flex;flex-wrap:wrap}.match-controls .hub-entry select{min-width:0;flex:1}.match-controls .history-row{font-size:12px}.match-controls button:focus-visible,.match-stage button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(min-width:800px){body.live-match-mode main:has(.hub-match-active){gap:14px}.match-stage,.match-controls{gap:12px}.match-score-duel,.match-recent{gap:16%}.match-board-mark{width:22%}.match-brand{min-height:66px}.match-format{font-size:16px;padding:10px 14px}.match-live{font-size:14px}.match-action{min-height:78px;font-size:15px!important}.match-utilities button{font-size:13px}.match-voice p{font-size:13px}.match-voice strong{font-size:15px}}
@media(max-width:420px){body.live-match-mode .shell{padding:0 8px 10px}body.live-match-mode main:has(.hub-match-active){gap:7px;padding-top:6px}.match-stage,.match-controls{gap:7px}.match-brand{min-height:44px}.match-wordmark{font-size:30px}.match-format{font-size:11px}.match-live{font-size:10px}.match-score-duel,.match-recent{gap:7%}.match-legline>span{padding:6px 4px}.match-legline small{font-size:9px}.match-leg-label{font-size:10px}.match-score-tile h3{padding:5px 3px!important}.match-score-tile .hub-score{font-size:clamp(49px,15vw,68px)!important}.match-turn{font-size:9px}.match-avg{font-size:11px}.match-recent small{font-size:8px}.match-recent{gap:6%}.match-checkout{padding:7px;gap:5px;grid-template-columns:21px minmax(0,1fr) auto}.match-checkout>svg{width:21px;height:21px}.match-voice{padding:7px;gap:6px;grid-template-columns:31px minmax(0,1fr) auto;min-height:52px}.voice-symbol{width:31px;height:31px}.voice-bars{gap:1px}.match-action{min-height:60px;font-size:11px!important}.match-utilities button{min-height:48px;font-size:10px}.match-disclaimer{display:none}}
@media(max-width:350px){.voice-bars{display:none}.match-voice{grid-template-columns:31px minmax(0,1fr)}.match-recent small{font-size:7px}.match-recent b{font-size:9px}.match-format{gap:4px;padding:5px}.match-live{letter-spacing:0}.match-checkout button{font-size:10px}}
body.live-match-mode .match-live{background:#113522;border:1px solid #3baf72;padding:4px 7px;border-radius:5px;box-shadow:none}body.live-match-mode .match-score-tile.is-throwing .hub-score{color:#fff}.camera-expand{position:absolute;z-index:2;right:6px;top:6px;background:#0b0e14c9;color:white;border:1px solid #808b9a;border-radius:6px;padding:6px;min-height:30px;display:grid;place-items:center}.camera-expand svg{width:14px;height:14px}.camera-expand:focus-visible{outline:2px solid #fff}
