:root{color-scheme:dark;--bg:#0e1218;--panel:#151b24;--surface:#1a222d;--border:#29323f;--text:#edf2f6;--muted:#9ba7b7;--quiet:#738095;--accent:#ff5968;--teal:#53d5c6;--font-sans:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button{transition:background .18s,border-color .18s,color .18s,transform .1s}button:active:not(:disabled){transform:scale(.98)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--teal);outline-offset:4px}a{color:inherit}button svg{flex-shrink:0}input,select{min-width:0;width:100%;border:1px solid #354253;background:#10161e;border-radius:5px;padding:12px 13px;color:var(--text);outline:none;font-size:16px}input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 2px #53d5c61a}input::placeholder{color:var(--quiet)}input:disabled,select:disabled{opacity:.5}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239ba7b7' stroke-width='1.5'%3E%3Cpath d='m5 7 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:36px}label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:var(--muted)}h1,h2,h3,p{margin:0}h1,h2{text-wrap:balance}h1{font-size:30px;font-weight:650;letter-spacing:-1px;line-height:1.3}h1>span{color:var(--accent)}h2{font-size:24px;font-weight:600;letter-spacing:-.6px;line-height:1.35}h3{font-size:16px;font-weight:600}.topbar{height:78px;padding:0 40px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;background:#111720;gap:24px}.brand{display:flex;align-items:center;text-decoration:none;font-weight:850;font-size:21px;letter-spacing:-.7px}.brand>span:not(.brand-symbol){font-weight:400}.brand small{margin-left:14px;padding:2px 0 2px 14px;border-left:1px solid #354051;font-size:10px;letter-spacing:2px;color:var(--muted)}.brand-symbol{display:inline-flex;gap:4px;align-items:center;margin-right:12px}.brand-symbol i{width:11px;height:24px;display:block;background:var(--accent);transform:skew(-25deg)}.brand-symbol i:nth-child(2){height:17px;margin-top:7px}.header-center{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:1.5px;font-weight:600;color:var(--muted)}.tiny-square{width:5px;height:5px;background:var(--teal)}.header-divider{margin:0 9px;color:#485466}.quiet-button{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:14px;padding:8px 0}.quiet-button:hover:not(:disabled){color:var(--text)}main{max-width:1480px;margin:auto;padding:34px 40px 0}.workspace-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:24px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:650;color:var(--muted);margin-bottom:9px}.workspace-title .eyebrow{color:var(--quiet)}.lobby-count{display:grid;grid-template-columns:24px auto;align-items:center;gap:0 12px}.lobby-count>svg{color:var(--accent)}.lobby-count strong{font-size:29px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.2}.lobby-count strong span{font-size:22px;color:var(--quiet);font-weight:400}.lobby-count small{grid-column:2;font-size:12px;color:var(--muted)}.mobile-break{display:none}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start}.roster-panel,.match-panel{background:var(--panel);border:1px solid var(--border);border-radius:8px;overflow:hidden}.panel-heading{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);height:63px}.section-label{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;letter-spacing:1.4px;color:#c1cbd8}.section-label>svg{color:var(--muted)}.count-pill{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:20px;padding:0 5px;border-radius:3px;background:#26313f;color:#c6d0dd;font-size:10px;letter-spacing:0}.icon-button{border:1px solid transparent;border-radius:4px;background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:6px;color:var(--muted)}.icon-button:hover:not(:disabled){background:#ffffff0a;color:var(--text)}.roster-topline{padding:13px 20px 8px;display:flex;justify-content:space-between;font-size:9px;font-weight:600;letter-spacing:1.2px;color:var(--quiet)}.roster-list{padding:0 12px}.roster-row{display:flex;align-items:center;width:100%;gap:10px;padding:10px 8px;border:none;border-bottom:1px solid #29323f88;background:transparent;text-align:left;min-height:61px}.roster-row:hover{background:#ffffff05}.avatar{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:5px;flex-shrink:0;font-size:13px;font-weight:700;letter-spacing:.5px;color:#b9cbdd;background:#233545;border:1px solid #ffffff09}.avatar.small{width:34px;height:36px;font-size:10px}.rank-1{background:#303047;color:#bfb3de}.rank-2{background:#253734;color:#a6cbbd}.rank-3{background:#3b3426;color:#dbc38d}.rank-4{background:#3a2938;color:#dbb5d2}.roster-identity{flex:1;min-width:0}.player-name{display:block;font-size:14px;font-weight:550;color:#e2e8f0;overflow-wrap:anywhere;line-height:1.4}.player-name>span{color:var(--quiet);font-weight:400;font-size:.85em;margin-left:2px}.rank-line{display:flex;align-items:center;font-size:11px;color:var(--muted);gap:4px;margin-top:3px;flex-wrap:wrap}.rank-mark{display:inline-flex;align-items:center;color:#a2c6cd}.tier-1{color:#bdb2db}.tier-2{color:#9bc1af}.tier-3{color:#d8bf82}.tier-4{color:#d6aaca}.source-label{margin-left:auto;color:var(--quiet);font-size:9px}.rating{font-size:14px;color:#c6d0df;font-variant-numeric:tabular-nums;min-width:28px;text-align:right}.empty-row{height:61px;border:0;border-bottom:1px solid #29323f70;display:flex;align-items:center;gap:11px;width:100%;background:none;padding:10px 8px;color:#616e80;font-size:13px;text-align:left}.empty-row:hover{background:#ffffff04;color:var(--muted)}.empty-row.next{color:#c5ceda}.empty-avatar{width:34px;height:36px;display:flex;align-items:center;justify-content:center;border:1px dashed #344153;border-radius:4px;color:#59687b}.next .empty-avatar{color:var(--accent);border-color:#ff596850;background:#ff596807}.empty-dash{margin-left:auto;color:#3f4b5b}.roster-actions{padding:16px 20px 10px}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border:1px solid #344052;border-radius:4px;background:#1b2430;font-size:14px;color:#c4cfdd;line-height:1.5}.secondary-button:hover:not(:disabled){background:#243041;border-color:#56637a}.full{width:100%}.file-actions{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.file-actions button{border:0;background:none;color:var(--muted);font-size:12px;display:flex;align-items:center;gap:5px;padding:4px 0}.file-actions button:hover:not(:disabled){color:var(--text)}.source-note{display:flex;gap:9px;border-top:1px solid #29323f88;padding:15px 20px;color:var(--quiet);font-size:11px;line-height:1.65}.source-note svg{flex-shrink:0;margin-top:3px}.match-panel{padding:0 26px;min-width:0}.mode-toolbar{display:flex;align-items:center;justify-content:space-between;height:74px;border-bottom:1px solid var(--border)}.mode-tabs{display:flex;align-items:center;padding:4px;border-radius:5px;background:#0e141c;position:relative}.mode-tabs button{z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:9px 15px;border:0;background:transparent;border-radius:3px;color:var(--muted);font-size:14px;min-width:166px}.mode-tabs button[aria-selected=true]{color:var(--text)}.mode-tabs button[aria-selected=true] svg{color:var(--accent)}.tab-slider{position:absolute;width:calc(50% - 4px);height:calc(100% - 8px);left:4px;top:4px;border:1px solid #364153;background:#25303d;border-radius:4px;box-shadow:0 2px 4px #0002;transition:transform .24s cubic-bezier(.2,.8,.2,1)}.draft-active .tab-slider{transform:translateX(100%)}.mode-intro{padding:27px 0 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}.mode-intro .eyebrow{color:var(--accent);font-size:9px}.mode-intro h2{font-size:24px}.mode-intro p{font-size:13px;color:var(--muted);margin-top:8px;max-width:510px;line-height:1.65}.mode-emblem{width:62px;height:62px;display:flex;align-items:center;justify-content:center;color:#405063;flex-shrink:0;transform:rotate(-9deg)}.arena{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;position:relative}.team-column{border:1px solid #35414e;border-radius:5px;overflow:hidden;position:relative;background:#111820}.team-column:before{position:absolute;top:0;left:0;right:0;height:2px;background:var(--accent);content:''}.team-b:before{background:var(--teal)}.team-header{display:flex;align-items:center;gap:9px;padding:17px 15px;border-bottom:1px solid #303b48;background:#ff596805}.team-b .team-header{background:#53d5c605}.team-badge{height:34px;width:31px;border:1px solid #ff59684a;background:#ff59680b;border-radius:3px;display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:16px;font-weight:700;flex-shrink:0}.team-b .team-badge{border-color:#53d5c64a;background:#53d5c60b;color:var(--teal)}.team-label{font-size:10px;letter-spacing:1.2px;font-weight:600;display:block;color:var(--accent)}.team-b .team-label,.bravo-text{color:var(--teal)}.team-header small{display:block;font-size:10px;color:var(--quiet);font-weight:400;margin-top:3px}.team-header>strong{margin-left:auto;font-size:18px;font-weight:500;line-height:1.25;font-variant-numeric:tabular-nums;text-align:right}.team-header>strong small{font-size:9px}.team-members{padding:4px 12px 6px}.team-player{min-height:64px;display:flex;align-items:center;gap:8px;border-bottom:1px solid #29323f88;animation:player-in .24s ease-out}.team-player:last-child{border:0}.team-player>div{min-width:0;flex:1}.team-player .player-name{font-size:13px}.team-player>div>small{font-size:10px;color:var(--quiet);display:flex;align-items:center;gap:3px;margin-top:4px;flex-wrap:wrap}.team-player>span:last-child:not(.avatar){font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.team-player .avatar.small{width:28px;height:31px;font-size:9px}.team-placeholder{min-height:64px;display:flex;align-items:center;gap:9px;font-size:11px;color:#536174;border-bottom:1px solid #29323f70}.team-placeholder:last-child{border:0}.slot-cross{border:1px dashed #2b3746;width:28px;height:31px;display:flex;align-items:center;justify-content:center;color:#3c4b5e;border-radius:3px}.versus{position:absolute;left:50%;top:47px;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:34px;height:34px;background:var(--panel);font-style:italic;font-weight:700;font-size:11px;color:#718094}.unbuilt .team-column{background:linear-gradient(160deg,#19232e50,#111820)}.balance-empty{display:flex;align-items:center;justify-content:center;gap:13px;margin:22px 0 0;padding:16px;background:#111820;border:1px dashed #2e3a49;border-radius:5px;color:var(--muted);font-size:13px}.mini-scale{display:flex;gap:3px;align-items:center;height:18px}.mini-scale i{display:block;width:3px;height:7px;background:#5c6d80}.mini-scale i:nth-child(2),.mini-scale i:nth-child(4){height:12px}.mini-scale i:nth-child(3){height:18px;background:var(--accent)}.match-actions{padding:22px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.match-actions>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.primary-button{border:1px solid var(--accent);background:var(--accent);color:#121720;border-radius:4px;padding:12px 18px;font-size:14px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.5;box-shadow:0 2px 0 #0001}.primary-button:hover:not(:disabled){background:#ff7682;border-color:#ff7682}.primary-button:disabled{opacity:1;background:#313944;border-color:#39434f;color:#7d899a;box-shadow:none}.action-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--quiet)}.try-lobby{border-top:1px solid var(--border);padding:15px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px;color:var(--quiet)}.try-lobby button,.restart-row button,.test-banner button,.warning button{border:0;background:transparent;color:#d0dae5;text-decoration:underline;text-underline-offset:3px;padding:0;font-size:12px}.try-lobby button:hover{color:var(--teal)}footer{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#657185;font-size:10px;padding:23px 0 27px;letter-spacing:.2px}footer>span{display:flex;align-items:center;gap:7px}footer>span:first-child{font-weight:600}.brand-symbol.tiny{margin-right:3px;gap:2px}.brand-symbol.tiny i{height:12px;width:5px;background:#657185}.brand-symbol.tiny i:nth-child(2){height:8px;margin-top:4px}.footer-separator{margin:0 5px;color:#3c4858}.test-banner,.warning{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 15px;background:#e7b8680a;border:1px solid #e7b86830;border-radius:5px;color:#c6b07f;font-size:12px;margin-bottom:18px}.warning{color:#ffb9b7;border-color:#ff59684f;background:#ff59680a}.balance-result{margin-top:22px;padding:18px;background:#101820;border:1px solid #2b3a43;border-radius:5px}.balance-overview{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.balance-overview>div{display:flex;align-items:center;gap:8px}.balance-overview svg{color:var(--teal)}.balance-overview strong{font-weight:500;color:#c5d7d6}.balance-overview>span{color:var(--muted)}.balance-overview b{color:var(--text);font-size:16px;font-weight:500;margin-left:5px}.balance-bar{display:flex;position:relative;height:4px;background:var(--teal);border-radius:3px;margin:15px 0}.balance-bar span{background:var(--accent);border-radius:3px 0 0 3px;transition:width .3s}.balance-bar i{position:absolute;left:50%;top:-3px;height:10px;width:2px;background:var(--text)}details summary{list-style:none;cursor:pointer;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}summary::-webkit-details-marker{display:none}details[open] summary svg{transform:rotate(180deg)}details p{font-size:12px;color:var(--muted);line-height:1.75;margin-top:12px}.draft-setup{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:20px 0;margin-bottom:22px}.captain-selects{display:grid;grid-template-columns:1fr 1fr;gap:18px}.captain-selects select{font-size:14px;padding:10px}.draft-options{display:grid;grid-template-columns:minmax(0,1fr) 135px auto;gap:13px;margin-top:17px;align-items:end}.draft-options label{font-size:11px;gap:6px}.draft-options select{font-size:12px;padding:9px 30px 9px 10px}.draft-options .quiet-button{font-size:12px;padding-bottom:10px}.subtle{font-size:11px;line-height:1.75;color:var(--quiet);margin-top:11px}.draft-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #354151;border-radius:4px;padding:13px 15px;margin:0 0 20px;background:#1b2430}.turn-label{display:flex;align-items:center;gap:8px;font-size:13px}.turn-label>svg{color:var(--accent)}.turn-label small{font-size:10px;color:var(--muted);margin-left:5px}.pick-order{display:flex;gap:4px}.pick-order>span{width:23px;height:24px;display:flex;align-items:center;justify-content:center;font-size:10px;border-radius:3px;border:1px solid #ff596840;color:var(--accent);background:#ff596809}.pick-order>.b{border-color:#53d5c640;color:var(--teal);background:#53d5c609}.pick-order>.done{opacity:.4}.pick-order>.current{border-color:currentColor;box-shadow:0 0 0 2px #ffffff08}.on-turn{box-shadow:0 0 0 1px var(--accent)}.team-b.on-turn{box-shadow:0 0 0 1px var(--teal)}.draft-pool{border-top:1px solid var(--border);margin-top:22px;padding-top:20px}.pool-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.hint-toggle{flex-direction:row;align-items:center;gap:6px;font-size:11px;color:var(--muted);cursor:pointer}.hint-toggle input{appearance:auto;accent-color:var(--teal);width:13px;height:13px;box-shadow:none}.pool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.pool-player{padding:11px;text-align:left;background:#111820;border:1px solid #2d3a49;border-radius:5px;min-width:0;position:relative;min-height:115px}.pool-player:hover{background:#1a2633;border-color:#586b80}.pool-player.selected{border-color:var(--accent);background:#ff59680b;box-shadow:0 0 0 1px var(--accent)}.pool-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.pool-top strong{font-size:12px;font-weight:500;color:var(--muted)}.pool-player .player-name{font-size:12px}.pool-player>small{font-size:10px;color:var(--quiet);display:block;margin-top:3px}.recommended{display:inline-flex;gap:3px;align-items:center;font-size:9px;color:var(--teal);margin-top:9px}.restart-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--border);padding:15px 0 18px;font-size:11px;color:var(--quiet)}.restart-row button{font-size:11px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#263341;border:1px solid #4a5d6f;color:var(--text);box-shadow:0 12px 40px #0005;border-radius:6px;display:flex;align-items:center;gap:12px;padding:13px 14px 13px 18px;max-width:calc(100% - 32px);width:max-content;z-index:20;font-size:14px;transition:transform .22s,opacity .22s}.toast.visible{opacity:1;transform:translate(-50%,0);pointer-events:auto}.toast>svg{color:var(--teal);flex-shrink:0}.toast .icon-button{margin-left:6px}.modal{padding:0;background:var(--panel);color:var(--text);border:1px solid #3b4759;border-radius:9px;width:560px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);box-shadow:0 30px 100px #0008;overflow:auto}.modal::backdrop{background:#070b12c9;backdrop-filter:blur(4px)}.modal[open]{animation:modal-in .2s ease-out}.modal-content{position:relative;padding:30px}.modal-close{position:absolute;right:17px;top:17px}.modal h2{padding-right:18px}.modal-lead{color:var(--muted);font-size:14px;line-height:1.7;margin-top:9px;margin-bottom:23px}.modal form{margin-top:24px}.tracker-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#253240;border:1px solid #405163;border-radius:4px;padding:11px;font-size:14px;margin-top:11px}.tracker-button>span{font-size:9px;margin-left:auto;color:var(--muted);letter-spacing:1px}.tracker-button:hover:not(:disabled){background:#2e4052}.form-divider{position:relative;display:flex;justify-content:center;margin:27px 0 20px;font-size:9px;color:var(--quiet);letter-spacing:1.4px}.form-divider:before{content:'';height:1px;background:var(--border);position:absolute;left:0;right:0;top:50%}.form-divider span{position:relative;background:var(--panel);padding:0 13px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:18px}.optional{color:var(--quiet);font-size:11px;margin-left:7px}.modal label>small{font-size:11px;color:var(--quiet);line-height:1.7}.form-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:25px}.delete-button{border:0;background:transparent;color:#ff8a94;font-size:13px;display:inline-flex;align-items:center;gap:7px;padding:8px 0}.delete-button:hover{color:#ffb3ba}.form-error{background:#ff59680d;color:#ffacb4;padding:11px 13px;border:1px solid #ff59684a;border-radius:4px;font-size:13px;line-height:1.7;margin-top:13px}.existing-stats{font-size:11px;color:var(--quiet);display:flex;gap:7px;flex-direction:column;margin-top:15px}.help-block{display:flex;gap:15px;padding:23px 0;border-bottom:1px solid var(--border)}.help-block>svg{color:var(--accent);flex-shrink:0;margin-top:2px}.help-block p{color:var(--muted);font-size:14px;line-height:1.85;margin-top:7px}.help-footnote{font-size:12px;color:var(--quiet);line-height:1.8;margin-top:22px}.help-footnote a{display:block;color:var(--muted);margin-top:9px;text-underline-offset:3px}.tolerance-options{display:flex;flex-direction:column;gap:9px}.tolerance-options label{display:flex;flex-direction:row;align-items:center;border:1px solid #344151;background:#10171f;border-radius:5px;padding:15px;gap:12px;cursor:pointer}.tolerance-options input{appearance:auto;width:15px;accent-color:var(--accent)}.tolerance-options strong{display:block;color:var(--text);font-weight:500}.tolerance-options small{color:var(--muted);font-size:12px;display:block;margin-top:4px}.tolerance-options label.active{border-color:var(--accent)}.tolerance-options svg{margin-left:auto;color:var(--accent)}.settings-data{display:flex;align-items:flex-start;flex-direction:column;gap:14px;margin-top:25px;padding-top:22px;border-top:1px solid var(--border)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.workspace-title{animation:entry .4s ease-out}.roster-panel{animation:entry .4s ease-out .05s both}.match-panel{animation:entry .4s ease-out .1s both}@keyframes entry{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes player-in{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-in{from{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1500px){main{padding-top:42px}.workspace-title{margin-bottom:36px}.workspace{grid-template-columns:350px minmax(0,1fr);gap:28px}.match-panel{padding:0 32px}.team-header{padding:20px}.team-player,.team-placeholder{min-height:68px}.mode-intro{padding:30px 0}.roster-row,.empty-row{min-height:64px}.roster-topline{padding-top:16px}}
@media(max-width:1180px){.topbar{padding:0 24px}.header-center{display:none}main{padding:28px 24px 0}.workspace{grid-template-columns:290px minmax(0,1fr);gap:18px}.match-panel{padding:0 18px}.mode-tabs button{padding:9px 10px;min-width:145px;font-size:13px}.mode-intro h2{font-size:22px}.mode-emblem{display:none}.arena{gap:16px}.team-header{padding:15px 10px;gap:7px}.team-badge{width:26px;height:30px}.team-label{font-size:9px}.team-header>strong{font-size:16px}.team-members{padding:4px 9px}.team-player .avatar{display:none}.action-meta{width:100%}.source-label{display:none}.draft-progress{align-items:flex-start;flex-direction:column;gap:10px}.draft-options{grid-template-columns:1fr 100px}.draft-options .quiet-button{grid-column:1/-1;justify-content:flex-start;padding:0}.pool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.try-lobby{flex-wrap:wrap}.mode-tabs button{min-width:144px}}
@media(max-width:850px){h1{font-size:26px}.workspace{grid-template-columns:1fr}.roster-list{display:grid;grid-template-columns:1fr 1fr;column-gap:18px}.roster-panel{order:0}.match-panel{order:1}.roster-topline{display:none}.roster-list{padding-top:7px}.roster-row,.empty-row{height:61px;min-width:0}.roster-actions{display:flex;gap:20px;align-items:center;padding:13px 20px}.roster-actions>.secondary-button{max-width:210px}.file-actions{margin-top:0;flex:1;justify-content:flex-end;gap:18px}.source-note{padding:11px 20px}.mode-tabs button{min-width:166px}.mode-intro h2{font-size:24px}.mode-intro p{font-size:14px}.team-player .avatar{display:flex}.action-meta{width:auto}.team-label{font-size:10px}.team-header{padding:17px 15px}.team-header>strong{font-size:18px}.team-player .player-name{font-size:14px}.team-player>div>small{font-size:11px}.team-placeholder{font-size:12px}.pool-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.draft-progress{flex-direction:row;align-items:center}.draft-options{grid-template-columns:1fr 135px auto}.draft-options .quiet-button{grid-column:auto}.mode-toolbar{height:70px}.mode-intro{padding-top:24px}.source-label{display:inline}.workspace-title .eyebrow{font-size:9px}.lobby-count small{font-size:10px}}
@media(max-width:560px){.topbar{height:64px;padding:0 18px}.brand{font-size:18px}.brand small{font-size:8px;letter-spacing:1.4px;margin-left:10px;padding-left:10px}.brand-symbol{margin-right:9px}.brand-symbol i{width:9px;height:21px}.brand-symbol i:nth-child(2){height:15px;margin-top:6px}.topbar>.quiet-button span{display:none}.topbar>.quiet-button{padding:9px}main{padding:24px 14px 0}.workspace-title{margin-bottom:22px;align-items:flex-start;gap:12px}h1{font-size:23px;line-height:1.35;letter-spacing:-.7px;max-width:290px}.workspace-title .eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:8px}.lobby-count{gap:0 6px;grid-template-columns:auto}.lobby-count>svg{display:none}.lobby-count strong{font-size:25px}.lobby-count strong span{font-size:17px}.lobby-count small{display:none}.roster-list{grid-template-columns:1fr;padding-left:13px;padding-right:13px}.roster-row,.empty-row{height:61px}.roster-panel:has(.empty-row:nth-child(5)) .empty-row:not(.next){display:none}.roster-panel:has(.empty-row:nth-child(5)) .empty-row.next{margin-bottom:8px}.panel-heading{height:58px;padding:14px 20px}.source-label{font-size:10px}.rank-line{font-size:12px}.player-name{font-size:15px}.roster-actions{display:block}.roster-actions>.secondary-button{max-width:none}.file-actions{justify-content:space-between;margin-top:11px}.source-note{font-size:12px}.match-panel{padding:0 15px}.mode-tabs{width:calc(100% - 33px)}.mode-tabs button{min-width:0;width:50%;font-size:12px;padding:9px 6px;gap:5px}.mode-tabs button svg{width:15px}.mode-toolbar{gap:5px}.mode-intro{padding:22px 0}.mode-intro h2{font-size:22px}.mode-intro p{font-size:13px}.arena{gap:11px}.team-header{flex-wrap:wrap;padding:13px 10px;gap:6px}.team-header>div:nth-child(2){flex:1}.team-badge{display:none}.team-header>strong{font-size:16px;margin-left:0;width:100%;display:flex;align-items:center;gap:5px;margin-top:3px;text-align:left}.team-header>strong small{margin-top:0;font-size:10px}.team-label{font-size:9px;letter-spacing:.7px}.team-header small{font-size:10px}.team-members{padding:3px 8px}.team-player{gap:5px;min-height:75px}.team-player .avatar{display:none}.team-player .player-name{font-size:12px}.team-player .player-name>span{display:block;margin-left:0}.team-player>div>small{font-size:10px;line-height:1.6}.team-player>span:last-child:not(.avatar){font-size:10px}.team-placeholder{min-height:75px;font-size:10px;gap:6px}.slot-cross{width:21px;height:26px;flex-shrink:0}.versus{top:36px;font-size:9px;width:24px;height:26px}.match-actions{padding:20px 0;gap:13px}.match-actions>div{width:100%;gap:10px}.match-actions .primary-button{flex:1;font-size:13px;padding:12px}.match-actions .secondary-button{padding:10px;font-size:12px}.action-meta{font-size:10px}.balance-empty{font-size:12px;text-align:left;padding:13px;line-height:1.7}.balance-result{padding:13px}.balance-overview{flex-wrap:wrap;gap:8px}.balance-overview>span{margin-left:25px}.balance-overview strong{font-size:12px}.balance-result details p{font-size:12px}.try-lobby{font-size:12px;padding:15px 0;gap:7px}.try-lobby button{font-size:12px}.captain-selects{gap:11px}.captain-selects select{font-size:12px;padding:10px 24px 10px 9px;background-position:right 4px center}.draft-options{grid-template-columns:1fr 100px;gap:13px}.draft-options .quiet-button{grid-column:1/-1;padding:0;justify-content:flex-start}.draft-progress{flex-direction:column;align-items:flex-start;padding:12px;gap:11px}.turn-label{font-size:13px;gap:6px}.turn-label small{font-size:10px}.pool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pool-player .player-name{font-size:13px}.pool-player>small{font-size:11px}.pool-player{padding:10px}.pool-top .avatar{display:flex}.pool-heading{gap:6px}.hint-toggle{font-size:10px}.hint-toggle svg{display:none}.draft-pool .section-label{font-size:10px;letter-spacing:.8px}.restart-row{flex-wrap:wrap;gap:8px}.restart-row,.restart-row button{font-size:11px}.test-banner,.warning{font-size:12px;align-items:flex-start}.test-banner button,.warning button{font-size:12px;flex-shrink:0}footer{align-items:flex-start;flex-direction:column;gap:10px;font-size:10px;padding:20px 5px 24px}.modal{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.modal-content{padding:26px 20px}.modal h2{font-size:23px}.modal .eyebrow{font-size:9px}.two-fields{grid-template-columns:1fr;gap:17px}.tracker-button{font-size:13px}.tracker-button>span{font-size:8px}.form-actions{gap:14px}.form-actions .primary-button{font-size:13px}.toast{bottom:15px;font-size:13px;padding:12px;gap:8px}.toast .icon-button{padding:4px}.help-block{gap:11px}.help-block p{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep the first useful action visible before the team preview. */
.mode-intro{padding-bottom:14px}.match-actions{padding:6px 0 23px}.try-lobby{padding:13px 0;margin-bottom:20px;border-bottom:1px solid var(--border);border-top:0}.unbuilt .team-placeholder{min-height:46px;color:#8290a3}.empty-row{color:#8390a2}.empty-dash{color:#738094}.team-placeholder{color:#8390a2}.slot-cross{color:#738094}.roster-list:not(:has(.roster-row)) .empty-row:nth-child(n+4){display:none}.unbuilt{margin-bottom:22px}.balance-empty{margin-bottom:23px}.balance-result{margin-bottom:23px}.team-player .player-name{font-size:14px}.team-player>span:last-child:not(.avatar){font-size:14px}.team-header small,.rank-line,.source-note,.subtle,.action-meta,.restart-row,.restart-row button,.team-placeholder,.balance-result details summary{font-size:12px}.pool-player .player-name{font-size:14px}.pool-player>small{font-size:12px}.pool-top strong{font-size:14px}.pool-heading .section-label{font-size:12px}.hint-toggle{font-size:12px}.draft-options label{font-size:12px}.draft-options select{font-size:14px}.file-actions button,.try-lobby,.try-lobby button{font-size:14px}.source-label{font-size:10px}.mode-intro p{font-size:14px}.team-label,.eyebrow,.section-label{font-size:11px}.roster-topline{font-size:10px}
@media(max-width:560px){.mode-tabs button{font-size:12px}.team-label{font-size:10px}.team-player .player-name{font-size:13px}.team-player>span:last-child:not(.avatar){font-size:12px}.team-player>div>small{font-size:11px}.draft-options select{font-size:12px}.pool-player>small{font-size:11px}.action-meta{font-size:11px}.team-placeholder{font-size:11px}.try-lobby,.try-lobby button{font-size:13px}.mode-intro{padding-bottom:13px}.match-actions{padding-top:4px;padding-bottom:18px}.try-lobby{margin-bottom:18px}.source-label{font-size:11px}}
.pool-confirm{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:14px;padding:13px 0 2px}.pool-confirm>span{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.pool-confirm .primary-button{padding:10px 15px}@media(max-width:560px){.pool-confirm{align-items:stretch;flex-direction:column;gap:9px}.pool-confirm>span{font-size:13px}.pool-confirm .primary-button{font-size:13px}}
.report-import-button{margin-bottom:9px;border-color:#4b686a;background:#53d5c608;color:#b6ddd8}.extension-link{width:100%;font-size:14px;text-decoration:none}.import-steps{padding-left:20px;margin:18px 0;color:var(--muted);font-size:13px;line-height:1.8}.import-steps li{margin:9px 0}.import-steps code{color:#d4dce6;font-size:12px;overflow-wrap:anywhere}.report-file{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px 15px;gap:7px;border:1px dashed #4b6571;border-radius:5px;background:#53d5c607;cursor:pointer;color:#c8e8e2}.report-file strong{font-size:15px}.report-file>span{font-size:12px;color:var(--muted)}.report-file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.report-file:focus-within{outline:2px solid var(--teal);outline-offset:3px}.paste-report{margin:17px 0}.paste-report summary,.server-tracker summary{font-size:13px}.paste-report textarea{width:100%;min-height:140px;resize:vertical;font-family:monospace;font-size:12px;padding:12px;border:1px solid #354253;background:#10161e;color:var(--text);border-radius:4px;margin:12px 0}.paste-report .secondary-button{font-size:13px}.server-tracker{margin-top:14px}.report-preview-title{font-size:11px;letter-spacing:1.2px;margin:23px 0 12px;color:var(--muted)}.report-preview{display:flex;flex-direction:column;gap:13px}.report-player{padding:16px;background:#10171f;border:1px solid #354253;border-radius:5px;transition:opacity .2s}.report-player.excluded{opacity:.6}.report-player-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px}.report-player-heading>label{display:flex;flex-direction:row;align-items:center;gap:9px;color:var(--text);font-size:15px;overflow-wrap:anywhere}.report-player-heading input{appearance:auto;width:15px;height:15px;accent-color:var(--teal);flex-shrink:0}.report-player-heading>span{font-size:23px;font-variant-numeric:tabular-nums;text-align:right}.report-player-heading>span small{display:block;color:var(--muted);font-size:10px}.report-context{font-size:12px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.report-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:15px 0}.report-stat-grid small{display:block;font-size:11px;color:var(--quiet)}.report-stat-grid strong{font-size:16px;font-weight:500;color:var(--text)}.report-player label select{padding:9px 32px 9px 12px;font-size:14px}.report-warnings{padding-left:16px;color:#d2b77e;font-size:12px;line-height:1.8;margin:14px 0 0}.report-facts{margin-top:14px}.report-facts summary{font-size:12px}.report-facts dl{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px;font-size:12px;color:var(--muted);margin:12px 0}.report-facts dl>div{display:flex;justify-content:space-between;gap:7px}.report-facts dt{overflow-wrap:anywhere}.report-facts dd{margin:0;color:var(--text)}.report-facts a{font-size:12px;text-underline-offset:3px}.form-error p+p{margin-top:9px}@media(max-width:850px){.roster-actions{display:block}.roster-actions>.secondary-button{max-width:none}.file-actions{margin-top:11px;justify-content:space-between}}@media(max-width:560px){.report-stat-grid{gap:6px}.report-stat-grid strong{font-size:14px}.report-player{padding:13px}.report-player-heading>label{font-size:14px}.report-facts dl{grid-template-columns:1fr}.report-player-heading>span small{font-size:10px}}
/* Match preparation uses the same graphite, coral and teal vocabulary as the lobby. */
#match-pipeline{scroll-margin-top:24px}.pipeline{border-top:1px solid var(--border);margin-top:28px;padding:28px 0}.pipeline-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}.pipeline-heading>svg{color:var(--teal)}.pipeline-heading h2{font-size:25px;margin-top:6px;letter-spacing:-.6px}.pipeline-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:0;margin:23px 0 26px;gap:8px}.pipeline-steps li{display:flex;align-items:center;gap:7px;border-top:2px solid var(--border);padding:12px 0;color:var(--muted);font-size:14px;flex-wrap:wrap}.pipeline-steps li>span{display:flex;width:23px;height:23px;border:1px solid var(--border);align-items:center;justify-content:center;font-size:12px;border-radius:50%}.pipeline-steps .current{border-color:var(--accent);color:var(--text)}.pipeline-steps .current>span{background:var(--accent);border-color:var(--accent);color:var(--bg)}.pipeline-steps .done{border-color:var(--teal);color:var(--teal)}.pipeline-steps small{font-size:12px}.pipeline-wait{display:flex;gap:14px;padding:20px;background:#10161e;border:1px dashed var(--border);border-radius:5px;color:var(--muted)}.pipeline-wait svg{flex-shrink:0;color:var(--quiet)}.pipeline-wait p,.flow-intro p,.flow-pool-heading p,.side-choice p,.match-ready p,.flow-reset p,.flow-rules p{font-size:14px;line-height:1.7;color:var(--muted)}.flow-intro h3,.flow-pool-heading h3{font-size:17px;margin-bottom:6px}.flow-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;margin:20px 0}.flow-fields.captains{grid-template-columns:1fr 1fr}.flow-pool-heading{margin:24px 0 13px}.flow-pool-heading h3 span{color:var(--teal);margin-left:8px;font-size:14px}.map-pool{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.map-tile{display:flex;position:relative;flex-direction:column;gap:6px;align-items:flex-start;min-height:108px;background:linear-gradient(135deg,#202d3b,#141d28);border:1px solid #354254;border-radius:5px;text-align:left;padding:14px;overflow:hidden}.map-tile:after{content:'';position:absolute;width:80px;height:80px;border:1px solid #53657d2a;transform:rotate(32deg);right:-20px;top:-25px;pointer-events:none}.map-tile>svg{color:#8a9fb6}.map-tile strong{font-size:17px;letter-spacing:.3px}.map-tile>span{font-size:12px;color:var(--muted);min-height:18px}.map-tile.included{border-color:#53d5c68c;background:linear-gradient(135deg,#1b3538,#151f29)}.map-tile.included>span{color:var(--teal)}.map-tile.selected,.agent-pool button.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:#ff596811}.map-tile.unavailable{filter:saturate(.2);opacity:.45}.flow-check{display:flex;flex-direction:row;gap:12px;margin:24px 0 12px;align-items:flex-start}.flow-check input{width:18px;height:18px;margin-top:4px;accent-color:var(--teal);flex-shrink:0}.flow-check strong{display:block;color:var(--text);font-size:16px}.flow-check small{display:block;font-size:14px;margin-top:5px;line-height:1.7}.flow-start{margin-top:20px}.flow-session{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin-bottom:20px}.flow-session>span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.flow-turn{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:19px 20px;background:#ff59680b;border:1px solid #ff596856;border-left:3px solid var(--accent);border-radius:4px;margin-bottom:20px}.flow-turn.side-1{background:#53d5c60b;border-color:#53d5c656;border-left-color:var(--teal)}.flow-turn span{font-size:12px;letter-spacing:1.4px;color:var(--accent)}.flow-turn.side-1 span{color:var(--teal)}.flow-turn h3{font-size:21px;margin-top:4px}.flow-turn>strong{font-size:23px;font-variant-numeric:tabular-nums;color:var(--muted)}.flow-confirm{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0 12px}.flow-confirm>span{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.series-maps{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:20px 0}.series-maps>div{display:flex;flex-direction:column;gap:5px;background:#111923;border:1px solid var(--border);padding:15px;border-radius:4px}.series-maps>div.active{border-color:var(--teal)}.series-maps small{font-size:12px;color:var(--muted)}.series-maps strong{font-size:19px}.series-maps span{font-size:13px;color:var(--muted)}.side-choice{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0 24px}.side-choice p{flex-basis:100%;margin-bottom:7px}.agent-teams{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.agent-teams>div{background:#111923;border:1px solid var(--border);padding:16px;border-radius:4px;min-width:0}.agent-teams h3{font-size:14px;letter-spacing:1px;color:var(--accent);display:flex;justify-content:space-between;margin-bottom:12px}.agent-teams>div:nth-child(2) h3{color:var(--teal)}.agent-assignment{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:8px 0;border-top:1px solid #29323f77;overflow-wrap:anywhere}.agent-assignment>span{min-width:0}.agent-assignment strong{font-size:12px;color:var(--muted);font-weight:400;text-align:right;flex-shrink:0}.agent-ban-list{font-size:14px;color:var(--muted);border-left:2px solid var(--accent);padding-left:12px;margin:16px 0}.agent-player{margin:18px 0;max-width:350px}.agent-pool{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.agent-pool button{display:flex;flex-direction:column;gap:6px;align-items:flex-start;background:#1a2431;border:1px solid #354254;border-radius:4px;padding:12px;text-align:left;min-height:76px}.agent-pool strong{font-size:15px;font-weight:500}.agent-pool small{font-size:11px;color:var(--muted)}.agent-pool .banned{opacity:.35;text-decoration:line-through}.flow-protocol,.flow-rules{border-top:1px solid var(--border);margin-top:24px;padding-top:16px}.flow-protocol summary,.flow-rules summary{font-size:14px;cursor:pointer;color:var(--muted)}.flow-protocol ol{padding-left:20px;color:var(--muted);font-size:13px;line-height:1.9;max-height:320px;overflow:auto;margin:15px 0}.flow-protocol li>span{color:var(--teal);font-size:11px;letter-spacing:.7px}.flow-protocol strong{color:var(--text);font-weight:500}.flow-protocol pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0e151e;padding:18px;border:1px solid var(--border);border-radius:4px;font-size:13px;line-height:1.8;max-height:450px;overflow:auto;margin:16px 0}.flow-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:22px}.flow-reset{border:1px solid #ff596859;background:#ff596808;padding:17px;margin-top:15px;border-radius:4px}.flow-reset p{margin-bottom:12px}.flow-rules p{margin-top:13px}.flow-rules a{text-underline-offset:3px;color:var(--teal)}.match-ready{display:flex;flex-wrap:wrap;gap:13px;align-items:flex-start;background:#53d5c609;border:1px solid #53d5c65c;border-radius:5px;padding:20px;margin:20px 0}.match-ready>svg{color:var(--teal);flex-shrink:0}.match-ready>div{flex:1;min-width:180px}.match-ready h3{font-size:21px;margin-bottom:7px}.match-ready .primary-button{margin-top:8px}
@media(max-width:1180px){.agent-pool{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-fields{grid-template-columns:1fr 1fr}.flow-fields>.secondary-button{grid-column:1/-1;justify-self:start}.pipeline-steps{grid-template-columns:1fr 1fr}}@media(max-width:560px){.pipeline-heading h2{font-size:23px}.pipeline{padding-top:24px}.flow-fields,.flow-fields.captains{grid-template-columns:1fr}.map-pool{grid-template-columns:1fr 1fr}.map-tile{min-height:100px;padding:12px}.flow-confirm{align-items:stretch;flex-direction:column}.flow-confirm .primary-button{justify-content:center}.agent-teams{grid-template-columns:1fr}.agent-pool{grid-template-columns:repeat(3,minmax(0,1fr))}.agent-pool button{padding:10px 8px}.agent-pool small{font-size:11px}.flow-turn{padding:15px}.flow-turn h3{font-size:19px}.flow-start{width:100%;justify-content:center}.flow-session{flex-direction:column}.series-maps{grid-template-columns:1fr}.match-ready .primary-button{width:100%;justify-content:center}.pipeline-steps li{font-size:13px}.flow-bottom .secondary-button{font-size:14px}.agent-assignment{font-size:14px}}
/* Local VALORANT artwork, with readable status overlays and a CSS fallback. */
.map-tile{min-height:145px;justify-content:flex-end;padding:15px;background:#172331}.map-tile>.map-art{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;transition:transform .25s,filter .2s}.map-tile:before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#06101b05 10%,#06101b80 48%,#06101bf5 100%);pointer-events:none}.map-tile:after{display:none}.map-tile>:not(.map-art){position:relative;z-index:2}.map-tile>svg{position:absolute;top:12px;left:13px;color:#ffffffba}.map-tile strong{color:#fff;font-size:19px;text-shadow:0 1px 4px #000}.map-tile>span{color:#d4deea;font-size:12px;min-height:19px}.map-tile:hover:not(:disabled)>.map-art{transform:scale(1.045)}.map-tile.included:before{background:linear-gradient(180deg,#07151c00,#0b252e75 45%,#081a20f5)}.map-tile.included{box-shadow:inset 0 0 0 1px #53d5c65c}.map-tile.included>span{color:#8df5e7}.map-tile.selected{box-shadow:0 0 0 2px var(--accent);border-color:var(--accent)}.map-tile.selected:before{background:linear-gradient(180deg,#ff596812,#1617206b 40%,#1a101bf5)}.map-tile.unavailable{filter:none;opacity:.88}.map-tile.unavailable>.map-art{filter:grayscale(1) brightness(.65)}.map-tile.is-banned>span{color:#ff9ba5}.map-tile.is-banned strong{text-decoration:line-through;text-decoration-color:#ff5968b3}.map-tile.is-picked{border-color:#53d5c680}.map-tile.is-picked>span{color:#8df5e7}.series-maps>div{position:relative;overflow:hidden;min-height:125px;justify-content:flex-end;background:#111923}.series-maps .series-map-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.43;mask-image:linear-gradient(#0008,#0002)}.series-maps>div>:not(img){position:relative;z-index:1}.series-maps strong{color:#fff;text-shadow:0 1px 3px #000}.series-maps small,.series-maps span{color:#d0dbe6;text-shadow:0 1px 3px #000}.agent-pool button{position:relative;align-items:center;text-align:center;gap:3px;padding:10px 8px 12px;min-height:144px;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#30495b66,transparent 72%),#18222e}.agent-pool .agent-icon{width:76px;height:76px;object-fit:contain;display:block;filter:drop-shadow(0 3px 5px #0005);transition:transform .18s,filter .18s}.agent-pool button:hover:not(:disabled) .agent-icon{transform:translateY(-3px) scale(1.06)}.agent-pool button.selected{background:radial-gradient(ellipse at 50% 30%,#ff59682a,transparent 76%),#221d2a;box-shadow:inset 0 0 0 1px var(--accent)}.agent-pool strong{position:relative;color:var(--text);font-size:15px}.agent-pool small{font-size:11px;line-height:1.4}.agent-pool button.banned{opacity:.72;text-decoration:none;background:#151b24}.agent-pool .banned .agent-icon{filter:grayscale(1) brightness(.55)}.agent-pool .banned small{color:#ff9ba5}.agent-pool .banned strong{text-decoration:line-through}.agent-pool button:disabled:not(.banned){opacity:.7}.agent-pool button:disabled:not(.banned) .agent-icon{filter:grayscale(.65)}.agent-assignment>strong{display:flex;align-items:center;gap:6px}.assignment-icon{width:26px;height:26px;object-fit:contain;flex-shrink:0}.map-art[hidden],.series-map-art[hidden],.agent-icon[hidden],.assignment-icon[hidden]{display:none}@media(max-width:560px){.map-tile{min-height:125px;padding:13px}.map-tile strong{font-size:18px}.agent-pool button{min-height:132px;padding:8px 5px 10px}.agent-pool .agent-icon{width:68px;height:68px}.agent-pool small{font-size:10px}.series-maps>div{min-height:110px}}
.agent-filter-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:22px 0 10px}.agent-filter-heading>span{font-size:14px;color:var(--text)}.agent-filter-heading>small{font-size:12px;color:var(--muted)}.agent-role-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.agent-role-filters button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 12px;border:1px solid #354254;border-radius:5px;background:#17212d;color:var(--muted);font-size:14px}.agent-role-filters button>img{width:18px;height:18px;object-fit:contain;opacity:.65}.agent-role-filters button>small{font-size:11px;min-width:18px;border-radius:3px;padding:1px 4px;color:var(--muted);background:#ffffff08}.agent-role-filters button:hover{background:#233140;border-color:#5d7185;color:var(--text)}.agent-role-filters button[aria-pressed=true]{background:#53d5c611;border-color:var(--teal);color:var(--teal)}.agent-role-filters button[aria-pressed=true]>img{opacity:1}.agent-role-filters button[aria-pressed=true]>small{color:var(--teal);background:#53d5c615}@media(max-width:560px){.agent-role-filters{gap:6px}.agent-role-filters button{flex:1 1 auto;padding:9px 10px;gap:7px}.agent-role-filters button>img{width:17px;height:17px}}
.room-setup{border:1px solid var(--border);background:var(--panel);padding:24px;border-radius:6px;margin:0 0 24px}.room-section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px}.room-section-heading h2{font-size:22px;letter-spacing:-.4px;margin-top:5px}.room-section-heading>svg{color:var(--teal)}.control-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.control-options>button{display:flex;text-align:left;gap:13px;align-items:center;padding:17px;border:1px solid #354254;background:#111923;border-radius:5px;color:var(--muted)}.control-options strong{display:block;font-size:16px;color:var(--text)}.control-options small{display:block;font-size:13px;margin-top:4px}.control-options [aria-pressed=true]{border-color:var(--teal);background:#53d5c609;color:var(--teal)}.room-create{margin-top:20px;padding-top:20px;border-top:1px solid var(--border)}.room-create>p,.room-invitations>p,.room-entry>p{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:15px}.room-create>.primary-button{margin-top:15px}.room-header-label{display:flex;gap:8px;align-items:center;font-size:14px;color:var(--muted)}.room-entry{max-width:600px;margin:70px auto;padding:32px;border:1px solid var(--border);border-radius:6px;background:var(--panel)}.room-entry>svg{color:var(--teal);margin-bottom:16px}.room-entry h1{font-size:28px;margin-bottom:15px}.room-connection{font-size:13px;color:#ff9ba5;border:1px solid var(--border);padding:8px 12px;border-radius:4px}.room-connection.online{color:var(--teal)}.room-invitations{padding:22px;background:var(--panel);border:1px solid var(--border);border-radius:6px;margin-bottom:24px}.room-invitations>summary{font-size:16px;cursor:pointer;margin-bottom:14px}.room-invitations>label{max-width:460px;margin:18px 0}.room-link-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.room-link-grid>div{padding:18px;background:#111923;border:1px solid var(--border);border-radius:5px;min-width:0}.room-link-grid h3{font-size:16px;color:var(--accent);display:flex;justify-content:space-between;gap:10px}.room-link-grid>div:nth-child(2) h3{color:var(--teal)}.room-link-grid h3>span{font-size:12px;color:var(--muted);font-weight:400}.room-link-grid p{font-size:14px;margin:9px 0 13px;color:var(--muted)}.room-link-grid input{font-size:13px;margin-bottom:14px}.room-link-grid button{margin-right:10px;margin-bottom:8px}.room-link-grid .quiet-button{font-size:13px}.room-network-note{border-left:2px solid var(--accent);padding:10px 14px;background:#ff596808}.room-network-note code{color:var(--text);font-size:13px}.room-play{padding:26px 30px;background:var(--panel);border:1px solid var(--border);border-radius:6px}.room-team-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.room-team-summary>div{padding:18px;background:#101822;border:1px solid var(--border);border-radius:5px}.room-team-summary h2{font-size:16px;letter-spacing:1px;color:var(--accent);display:flex;justify-content:space-between;margin-bottom:12px}.room-team-summary>div:nth-child(2) h2{color:var(--teal)}.room-team-summary h2 small{font-size:13px;color:var(--muted)}.room-team-summary p{display:flex;align-items:center;gap:7px;padding:8px 0;border-top:1px solid #29323f70;font-size:14px}.room-team-summary strong{font-weight:400;overflow-wrap:anywhere}.room-team-summary p>span{margin-left:auto;color:var(--muted)}.room-team-summary p>svg{color:var(--teal);flex-shrink:0}.room-player-draft{margin-top:25px}.room-player-draft .pool-grid{margin-bottom:20px}.room-player-draft .pool-player{min-width:0}.room-player-draft>button{margin:0 12px 10px 0}.room-player-draft h2{font-size:23px}.room-turn-note{margin:20px 0 12px;padding:12px 15px;background:#53d5c608;border:1px solid #53d5c640;color:#bae8e1;border-radius:4px;font-size:14px}.room-notice{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:15px 18px;border:1px solid #53d5c654;background:#53d5c609;color:#bae8e1;font-size:14px;margin-bottom:20px;border-radius:4px}.room-bottom{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 35px}.room-shell .flow-fields.captains select:disabled{opacity:.8}.room-shell .pipeline{margin-bottom:0;padding-bottom:5px}@media(max-width:700px){.room-link-grid{grid-template-columns:1fr}.room-play{padding:20px}.room-header-label{display:none}.room-shell .workspace-title{align-items:flex-start;gap:15px}.room-connection{white-space:nowrap}.room-section-heading h2{font-size:21px}}@media(max-width:560px){.control-options,.room-team-summary{grid-template-columns:1fr}.room-setup{padding:18px}.room-play{padding:16px}.room-entry{margin:25px 0;padding:22px}.room-entry h1{font-size:25px}.room-shell .workspace-title{flex-direction:column}.room-invitations{padding:18px}.room-link-grid>div{padding:15px}.room-link-grid h3{flex-wrap:wrap}.room-header-label{display:none}.room-shell .topbar>a:last-child{font-size:12px}.room-create>.primary-button{width:100%;justify-content:center}.room-notice{align-items:flex-start}}
.room-draft-undo{margin-top:20px}

.studio-nav,.studio-heading,.studio-camera-heading,.studio-camera-heading strong,.studio-camera-controls,.studio-transport,.studio-queue h2,.studio-clip-title,.studio-clip-actions{display:flex;align-items:center;gap:12px}
.studio-nav a,.studio .topbar a{text-decoration:none}
.studio-heading{justify-content:space-between;margin-bottom:24px}
.studio-heading p,.studio-help,.studio-mark p,.studio-empty,.studio-queue li p{color:var(--muted);font-size:14px}
.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:20px;align-items:start}
.studio-desk,.studio-queue,.studio-camera{min-width:0;border:1px solid var(--border);border-radius:6px;background:var(--panel)}
.studio-desk,.studio-queue{padding:16px}
.studio-monitors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.studio-camera.program{border-color:var(--teal)}
.studio-camera-heading,.studio-camera-controls{padding:10px;justify-content:space-between;flex-wrap:wrap}
.studio-camera-heading span{font-size:11px;letter-spacing:.06em;color:var(--muted)}
.studio-camera.program .studio-camera-heading span{color:var(--teal)}
.studio-screen{position:relative;aspect-ratio:16/9;background:#080d13}
.studio-screen video{display:block;width:100%;height:100%;object-fit:contain}
.studio-placeholder{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:10px;color:var(--muted)}
.studio-camera-controls .secondary-button{min-height:38px;padding:8px;font-size:13px}
.studio-file{position:relative;display:inline-flex;justify-content:center;min-height:38px;border:1px solid var(--border);border-radius:4px;padding:6px 8px;color:var(--text);font-size:13px;cursor:pointer}
.studio-file:focus-within{outline:2px solid var(--teal)}
.studio-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.studio-offset{display:flex;flex-direction:row;align-items:center;font-size:13px;white-space:nowrap}
.studio-offset input{width:76px;padding:6px;font-size:14px}
.studio-transport{margin:16px 0 10px}
.studio-transport input{flex:1;min-width:30px;accent-color:var(--teal);padding:0}
.studio-transport>span{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted);font-size:13px}
.studio-queue h2{font-size:20px;margin-bottom:14px}
.studio-queue h2 small{margin-left:auto;color:var(--muted)}
.studio-mark{display:grid;gap:9px}.studio-empty{margin-top:16px}
.studio-queue ul{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.studio-queue li{background:#101822;border:1px solid var(--border);border-radius:5px;padding:11px;overflow-wrap:anywhere}
.studio-clip-title{justify-content:space-between}.studio-queue li select{margin:8px 0;font-size:14px;padding-block:7px}
.studio-clip-actions{flex-wrap:wrap;gap:8px}.studio-clip-actions button{font-size:13px;padding:7px 9px}.studio-status{font-size:13px;color:var(--teal);margin-top:10px}.studio-status:empty{display:none}
.studio progress{width:100%;accent-color:var(--teal);margin-top:12px}
@media(max-width:870px){.studio-layout{grid-template-columns:1fr}}
@media(max-width:520px){.studio-monitors{grid-template-columns:1fr}.studio-heading{align-items:flex-start;flex-direction:column}.studio-desk,.studio-queue{padding:10px}}
.studio-live-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.studio-link{text-decoration:none}
.studio-pairing label{margin:12px 0}
.studio-pairing textarea{width:100%;min-height:54px;padding:9px;border:1px solid var(--border);border-radius:4px;background:#101822;color:var(--text);font:13px monospace;resize:vertical}
.studio-pairing label>button{align-self:flex-start}
.studio-pairing p{margin-block:8px;color:var(--muted);font-size:14px}
.studio-station-screen{max-width:680px;margin-top:18px}
.studio-output-note{color:var(--teal);font-size:14px;margin-bottom:16px}
.studio-output-settings{display:flex;justify-content:space-between;align-items:end;gap:9px 20px;flex-wrap:wrap;margin-bottom:16px}
.studio-output-settings .studio-output-note{margin:0}
.studio-output-settings .studio-live-actions{align-items:end}
.studio-output-settings select{font-size:14px;padding-block:7px}
.studio .topbar .studio-live-actions{justify-content:flex-end}
@media(max-width:560px){.studio .topbar .studio-live-actions{gap:4px}.studio .topbar .studio-live-actions button{font-size:12px;padding:6px}.studio .topbar .studio-live-actions a{font-size:12px}}
.studio-suggestions{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.studio-suggestions h3{font-size:16px;margin:0}
.studio-suggestions>.studio-help{margin:5px 0 10px}
.studio-suggestions .studio-clip-actions{margin-top:8px}
.studio-recommendation{margin-top:10px;padding:11px;border:1px solid var(--border);border-radius:5px;background:#101822;overflow-wrap:anywhere}
.studio-recommendation .studio-help{margin:4px 0 0}
.studio-clip-preview{display:grid;gap:8px;margin-top:14px;padding:11px;border:1px solid var(--border);border-radius:5px;background:#101822}
.studio-clip-preview video{display:block;width:100%;max-height:320px;background:#080c12}
.studio-clip-preview button[aria-pressed="true"]{border-color:var(--teal);color:var(--teal)}
.studio-mode-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.studio-switch{display:flex;gap:4px;padding:4px;background:#101822;border:1px solid var(--border);border-radius:7px;width:fit-content}
.studio-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:5px 13px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--muted);font-size:14px;font-weight:600}
.studio-switch button[aria-current],.studio-switch button[aria-pressed="true"]{background:#1d3036;border-color:#53d5c642;color:var(--teal)}
.studio-switch button:hover:not(:disabled){color:var(--text)}
.studio-switch small{font-size:11px;font-variant-numeric:tabular-nums}
.studio-live-summary{margin-bottom:18px}
.studio-live-summary h1{margin-bottom:3px}
.studio-air-summary{justify-content:flex-start;gap:18px}
.studio-live-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:16px;align-items:start}
.studio-live-stage,.studio-live-sidebar{min-width:0}
.studio-live-sidebar{border:1px solid var(--border);border-radius:7px;background:var(--panel)}
.studio-panel-switch{width:auto;margin:10px 10px 0}
.studio-panel-switch button{flex:1;padding-inline:8px}
.studio-sidebar-panel.studio-queue{border:0;background:transparent}
.studio-sidebar-panel{padding:14px}
.studio-next-clip{padding:12px;border-left:2px solid var(--teal);background:#101822;border-radius:4px;overflow-wrap:anywhere}
.studio-next-clip h2{margin:0 0 4px;color:var(--teal);font-size:13px;font-weight:600;letter-spacing:0}
.studio-next-clip .studio-clip-actions,.studio-live-sidebar li .studio-clip-actions{margin-top:8px}
.studio-replay-start{display:grid;gap:7px;justify-items:start}
.studio-next-clip + .studio-replay-start{margin-top:14px}
.studio-disclosure{margin-top:12px;padding-top:9px;border-top:1px solid var(--border)}
.studio-disclosure summary{min-height:28px;cursor:pointer;color:var(--muted);font-size:14px}
.studio-disclosure summary:hover{color:var(--text)}
.studio-disclosure summary small{float:right;font-variant-numeric:tabular-nums}
.studio-disclosure > :not(summary){margin-top:7px}
.studio-sidebar-status{margin:0 14px 14px}
.studio-check{flex-direction:row;align-items:center;gap:7px;width:fit-content}
.studio-check input{width:16px;height:16px;margin:0;accent-color:var(--teal)}
.studio-hud .studio-cast-fields{align-items:end}
.studio-hud .studio-cast-fields button{min-width:0;justify-content:center;padding-inline:6px;font-size:13px}
.studio-hud-frame{position:relative;background:#080d13}
.studio-hud-frame canvas{display:block;width:100%;height:auto;cursor:crosshair;touch-action:none}
.studio-hud-frame>span{position:absolute;pointer-events:none;border:1px solid var(--teal);background:#53d5c629}
.studio-hud input[type="number"]{padding:6px 8px;font-size:14px}
.studio-live .studio-camera-controls{justify-content:flex-end;min-height:58px}
.studio-live .studio-camera-controls>.studio-take-camera{margin-right:auto}
.studio-live .studio-camera-heading span{border-radius:4px;padding:2px 5px;background:#ffffff09;letter-spacing:0;font-size:12px}
.studio-live .studio-camera-heading small{font-size:11px;font-weight:500;color:var(--muted);border:1px solid var(--border);border-radius:4px;padding:1px 4px}
.studio-live .studio-camera.program .studio-camera-heading span{background:#53d5c615}
.studio-live .studio-placeholder .primary-button,.studio-live .studio-placeholder .secondary-button{min-height:36px;padding:6px 10px;font-size:14px}
.studio-source-menu{margin-left:auto}
.studio-source-menu summary{display:flex;align-items:center;justify-content:flex-end;gap:6px;cursor:pointer;color:var(--muted);font-size:13px;min-height:32px}
.studio-source-menu summary::-webkit-details-marker{display:none}
.studio-source-menu summary:hover{color:var(--text)}
.studio-source-menu summary::after{content:'';width:5px;height:5px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin:-3px 2px 0}
.studio-source-menu[open]{flex:1 1 100%}
.studio-source-menu[open] summary::after{transform:rotate(225deg);margin-top:3px}
.studio-source-menu>div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;padding-top:6px}
.studio-recording-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.studio-recording-bar button{font-size:14px}
.studio-cast-form{display:grid;justify-items:start;gap:9px}
.studio-cast-form:not(:first-child){margin-top:12px}
.studio-cast-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}
.studio-cast-strategy{width:100%;border:0;margin:0;padding:0}
.studio-cast-strategy label{gap:3px}
.studio-pov-grid{display:grid;gap:8px}
.studio-pov-grid fieldset{min-width:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:7px 9px 9px;border:1px solid var(--border);border-radius:5px;font-size:13px}
.studio-pov-grid label,.studio-cast-fields label,.studio-cue-actions label{display:grid;gap:4px;color:var(--muted);font-size:13px;min-width:0}
.studio-live-sidebar select{width:100%;font-size:14px;padding:8px 29px 8px 8px;background-position:right 6px center}
.studio-live-cues .studio-recommendation{margin:0 0 12px;border-left:2px solid var(--teal)}
.studio-live-cues .studio-recommendation .studio-clip-actions:not(:empty){margin-top:8px}
.studio-cue-actions{margin-top:8px;align-items:end}
.studio-director-controls{margin-bottom:12px;padding:8px 10px;border:1px solid var(--border);border-radius:5px;background:#101822}
.studio-live-stage>.studio-air-replay{margin:0 0 12px;border-color:#53d5c66f}
.studio-live-stage .studio-clip-title{flex-wrap:wrap}
@media(max-width:910px){.studio-live-workspace{grid-template-columns:1fr}}
@media(max-width:520px){.studio-live-summary{gap:8px}.studio-mode-bar{margin-bottom:14px}.studio-live .studio-monitors{gap:10px}.studio-live .studio-screen:has(.studio-placeholder){aspect-ratio:2.2}.studio-live-sidebar{min-width:0}}

.operator-guide{min-height:100vh;background:var(--bg)}
.operator-topbar nav,.operator-actions,.operator-links,.operator-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.operator-topbar a,.operator-actions a,.operator-footer .primary-button{text-decoration:none}
.operator-main{max-width:1240px;margin:auto;padding:0 clamp(16px,4vw,42px)}
.operator-skip{position:absolute;z-index:2;left:16px;top:12px;transform:translateY(-200%);background:var(--panel);padding:10px}
.operator-skip:focus{transform:none}
.operator-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(22px,6vw,76px);padding:clamp(36px,5.2vw,68px) 0 clamp(36px,4vw,52px);border-bottom:1px solid var(--border)}
.operator-hero h1{font-size:clamp(2.75rem,5.6vw,5.1rem);line-height:.99;letter-spacing:-.065em;text-wrap:initial}
.operator-hero p{margin:20px 0 24px;max-width:32ch;color:var(--muted);font-size:clamp(1.05rem,1.55vw,1.25rem);line-height:1.55}
.operator-hero-media{margin:0;min-width:0;background:#111a24;border:1px solid #53d5c64d;border-radius:9px;overflow:hidden;box-shadow:0 16px 52px #0005}
.operator-hero-media img{display:block;width:100%;height:auto}
.operator-hero-media figcaption{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid var(--border);color:var(--muted);font-size:.875rem}
.operator-hero-media figcaption svg,.operator-chapter h2 svg{color:var(--teal);flex-shrink:0}
.operator-layout{display:grid;grid-template-columns:minmax(190px,220px) minmax(0,1fr);gap:clamp(30px,6vw,86px);align-items:start;padding:32px 0 52px}
.operator-index{position:sticky;top:24px;min-width:0}
.operator-index h2{font-size:1rem;letter-spacing:0;padding:0 9px 10px}
.operator-index ul{list-style:none;margin:0;padding:0}
.operator-index a{display:flex;align-items:center;gap:9px;padding:8px 9px;border-radius:4px;color:var(--muted);text-decoration:none;font-size:.94rem}
.operator-index a:hover,.operator-index a:focus-visible{color:var(--teal);background:#53d5c611}
.operator-index a[aria-current="location"]{color:var(--teal);background:#53d5c611;box-shadow:inset 2px 0 var(--teal)}
.operator-index a svg,.operator-links a svg{flex-shrink:0}
.operator-article{min-width:0;max-width:850px}
.operator-chapter{scroll-margin-top:24px;padding:24px 0 30px;border-bottom:1px solid var(--border)}
.operator-chapter:first-child{padding-top:0}
.operator-chapter h2{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-size:clamp(1.45rem,2.5vw,2rem);letter-spacing:-.025em}
.operator-chapter p,.operator-chapter li,.operator-chapter dd{line-height:1.65;color:var(--muted)}
.operator-chapter strong,.operator-chapter dt{color:var(--text);font-weight:650}
.operator-chapter p + p{margin-top:10px}
.operator-chapter a:not(.primary-button){color:var(--teal);text-underline-offset:4px}
.operator-steps{display:grid;gap:10px;margin:14px 0 0;padding-left:25px}
.operator-steps li{padding-left:6px}
.operator-steps li::marker{color:var(--accent);font-weight:700;font-variant-numeric:tabular-nums}
.operator-roles{margin:0 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.operator-roles>div{padding:12px 14px;background:var(--panel);border:1px solid var(--border);border-radius:5px}
.operator-roles dd,.operator-reference dd{margin:0}
.operator-reference{margin:0 0 14px;border-top:1px solid var(--border)}
.operator-chapter>p+.operator-reference{margin-top:14px}
.operator-reference>div{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(0,1.5fr);gap:12px;padding:10px 0;border-bottom:1px solid var(--border)}
.operator-links{margin-top:15px;gap:10px 18px}
.operator-links a{display:inline-flex;gap:7px;align-items:center;min-height:30px}
.operator-note{padding:11px 14px;border-left:2px solid var(--teal);border-radius:3px;background:#53d5c609}
.operator-transition-note{margin-top:14px}
.operator-code{margin-top:12px;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:#101822}
.operator-code>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;border-bottom:1px solid var(--border);color:var(--muted);font-size:.875rem}
.operator-code>div button{font-size:.875rem}
.operator-code pre{overflow-x:auto;margin:0;padding:14px 16px;font-size:.9rem;line-height:1.55;tab-size:2}
.operator-code p{padding:0 16px 10px;font-size:.875rem}
.operator-code p:empty{display:none}
.operator-chapter :not(pre)>code{padding:2px 4px;border-radius:3px;background:#1a222d;color:var(--text);overflow-wrap:anywhere}
.operator-checks{list-style:none;display:grid;gap:9px;margin:0 0 14px;padding:0}
.operator-checks li{display:flex;align-items:flex-start;gap:9px}
.operator-checks svg{flex-shrink:0;margin-top:4px;color:var(--teal)}
.operator-footer{justify-content:space-between;padding:20px 0 38px;border-top:1px solid var(--border)}
.operator-footer>a:last-child{color:var(--muted);text-underline-offset:4px}
@media(max-width:760px){
  .operator-hero,.operator-layout{grid-template-columns:1fr}
  .operator-index{position:static;padding-bottom:16px;border-bottom:1px solid var(--border)}
  .operator-index ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
}
@media(max-width:520px){
  .operator-topbar,.studio-main-topbar{height:auto;min-height:64px;gap:6px 12px;flex-wrap:wrap;padding-block:9px}
  .operator-topbar nav{gap:5px}
  .operator-topbar nav a{font-size:.875rem;padding:6px 7px}
  .operator-reference>div,.operator-roles{grid-template-columns:1fr;gap:3px}
  .operator-roles{gap:7px}
}
.player-entry-modes{display:flex;gap:8px;margin:20px 0}.player-entry-modes button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;padding:10px 14px;background:#121b26;border:1px solid #354254;border-radius:5px;color:var(--muted);font-size:14px}.player-entry-modes button[aria-pressed=true]{border-color:var(--teal);background:#53d5c610;color:var(--teal)}.player-source-line{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0}.player-api-setup{border:1px solid #526575;border-radius:5px;background:#111a24;padding:15px;margin:17px 0}.player-api-setup summary{font-size:14px;color:var(--text);cursor:pointer}.player-api-setup ol{padding-left:18px;margin:12px 0;font-size:13px;line-height:1.8;color:var(--muted)}.player-api-setup li{margin:8px 0}.player-api-setup code{font-size:12px;color:var(--text);overflow-wrap:anywhere}.player-api-setup a{color:var(--teal);text-underline-offset:3px}.player-api-setup p{font-size:12px;color:var(--muted);line-height:1.7}.player-consent{display:flex;flex-direction:row;gap:9px;align-items:flex-start;margin:18px 0;font-size:13px}.player-consent input{width:17px;height:17px;flex-shrink:0;accent-color:var(--teal);margin-top:3px}.player-loading{color:var(--teal);font-size:14px;margin:18px 0}.player-lookup-preview{padding:18px;background:#111b24;border:1px solid #53d5c66b;border-radius:5px;margin:18px 0}.player-lookup-title{display:flex;justify-content:space-between;gap:14px;align-items:center}.player-lookup-title>div:first-child{min-width:0}.player-lookup-title strong{font-size:17px;overflow-wrap:anywhere}.player-lookup-title span{display:block;color:var(--muted);font-size:13px;margin-top:4px}.player-lookup-rating{text-align:right;font-size:29px;color:var(--teal);font-variant-numeric:tabular-nums}.player-lookup-rating small{display:block;font-size:11px;color:var(--muted)}.player-lookup-preview>p{font-size:13px;color:var(--muted);margin:9px 0;line-height:1.6}.player-lookup-preview details{margin-top:14px;font-size:13px;color:var(--muted)}.player-lookup-preview summary{cursor:pointer}.player-lookup-preview ul{padding-left:17px;line-height:1.8;margin-bottom:0}@media(max-width:560px){.player-lookup-preview{padding:14px}.player-entry-modes button{padding:10px}.player-lookup-title strong{font-size:16px}.player-api-setup{padding:13px}}
.player-entry-modes+form>label:not(.player-consent){margin:15px 0}.player-saved-stats{padding:12px 14px;background:#111923;border:1px solid var(--border);border-radius:5px;margin:15px 0;font-size:13px;color:var(--muted)}.player-saved-stats summary{cursor:pointer;color:var(--text)}.player-saved-stats p{margin-top:9px;line-height:1.7}

/* Player strength explanation shares the lobby's palette and controls. */
.player-strength-link{display:flex;width:fit-content;text-decoration:none;margin:0 0 18px}
.strength-main{max-width:1120px;margin:40px auto 72px}.strength-heading{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}.strength-heading h1{font-size:34px;letter-spacing:-1px;margin:7px 0 10px}.strength-heading p,.strength-section-heading p{color:var(--muted);font-size:15px;line-height:1.7}.strength-heading label{min-width:260px;max-width:100%}.strength-article{animation:strength-appear .22s ease-out}.strength-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:30px 32px;background:var(--panel);border:1px solid var(--border);border-top:2px solid var(--teal);border-radius:6px}.strength-kicker{font-size:13px;color:var(--teal)}.strength-hero h2{font-size:27px;overflow-wrap:anywhere;margin:9px 0}.strength-hero p{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:14px}.strength-hero .strength-scope{margin-top:12px}.strength-total{display:flex;flex-direction:column;align-items:end;flex-shrink:0}.strength-total>strong{font-size:64px;line-height:1.05;font-variant-numeric:tabular-nums;letter-spacing:-2px}.strength-total>span{color:var(--muted);font-size:14px;margin-top:6px}.strength-total>small{color:var(--teal);font-size:14px;margin-top:12px}.strength-equation{display:flex;gap:20px;align-items:center;padding:24px 0 30px;flex-wrap:wrap;border-bottom:1px solid var(--border)}.strength-equation>div{display:grid;gap:5px}.strength-equation small{font-size:12px;color:var(--muted)}.strength-equation strong{font-size:23px;font-variant-numeric:tabular-nums}.strength-equation>span{color:var(--quiet);font-size:21px}.strength-positive{color:var(--teal)}.strength-negative{color:#ff9ba5}.strength-neutral{color:var(--text)}.strength-section-heading{margin:30px 0 18px}.strength-section-heading h2,.strength-note h2{font-size:21px;margin-bottom:7px}.strength-metric-list{border:1px solid var(--border);border-radius:6px;overflow:hidden}.strength-metric{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(130px,.7fr) minmax(160px,.8fr);gap:24px;padding:22px 24px;background:var(--panel);align-items:center}.strength-metric+.strength-metric{border-top:1px solid var(--border)}.strength-metric-name{display:flex;align-items:center;gap:14px;color:var(--text)}.strength-direction{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#ffffff06;flex-shrink:0}.strength-positive .strength-direction{color:var(--teal);background:#53d5c610}.strength-negative .strength-direction{color:#ff9ba5;background:#ff596810}.strength-neutral .strength-direction{color:var(--muted)}.strength-metric h3{font-size:17px}.strength-metric p,.strength-metric-value small,.strength-metric-effect>span{font-size:13px;line-height:1.6;color:var(--muted)}.strength-metric-value,.strength-metric-effect{display:grid;gap:5px}.strength-metric-value strong{font-size:18px;font-variant-numeric:tabular-nums;color:var(--text)}.strength-metric-effect{text-align:right}.strength-metric-effect>strong{font-size:22px;font-variant-numeric:tabular-nums}.strength-metric-effect strong small{font-size:13px;font-weight:400}.strength-confidence-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;background:#111923;padding:24px;border:1px solid var(--border);border-radius:6px}.strength-confidence-grid>div{display:flex;flex-direction:column;gap:7px}.strength-confidence-grid strong{font-size:25px;font-variant-numeric:tabular-nums}.strength-confidence-grid span{font-size:14px}.strength-confidence-grid small{font-size:12px;line-height:1.6;color:var(--muted)}.strength-warning{padding:17px 20px;border-left:2px solid #efb866;background:#efb86609;color:#e9d4b2;font-size:14px;line-height:1.7;margin:20px 0}.strength-note{display:flex;gap:16px;align-items:start;margin:26px 0;padding:24px;background:var(--panel);border:1px solid var(--border);border-radius:6px}.strength-note>svg{flex-shrink:0;color:var(--teal)}.strength-note p{font-size:15px;color:var(--muted);line-height:1.8}.strength-method{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}.strength-method summary{cursor:pointer;font-size:15px;transition:color .15s}.strength-method summary:hover,.strength-method[open] summary{color:var(--teal)}.strength-method>div,.strength-method>ul{color:var(--muted);font-size:14px;line-height:1.8;margin-top:15px;animation:strength-appear .16s ease-out}.strength-method p+p{margin-top:12px}.strength-method li+li{margin-top:8px}.strength-empty{padding:48px 24px;text-align:center;display:grid;justify-items:center;gap:18px;border:1px solid var(--border);border-radius:6px;background:var(--panel)}.strength-empty>svg{color:var(--teal)}.strength-empty h2{font-size:24px}.strength-empty p{color:var(--muted);max-width:520px;line-height:1.8}.strength-empty>a{text-decoration:none}.strength-shell .topbar>a.secondary-button{text-decoration:none;display:flex;gap:8px;align-items:center}@keyframes strength-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.strength-heading{align-items:start;flex-direction:column}.strength-heading label{width:100%}.strength-metric{gap:16px;grid-template-columns:minmax(0,1fr) 110px}.strength-metric-name{grid-column:1/-1}.strength-metric-value{padding-left:46px}.strength-confidence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.strength-equation{gap:16px}.strength-equation small{max-width:150px}.strength-heading h1{font-size:29px}.strength-main{margin-top:28px}}
@media(max-width:460px){.strength-hero{padding:22px 18px;align-items:start;gap:18px;flex-direction:column}.strength-total{align-items:start}.strength-total>strong{font-size:52px}.strength-hero h2{font-size:23px}.strength-metric{padding:20px 16px}.strength-metric-value{padding-left:0}.strength-confidence-grid{padding:18px;gap:24px 14px}.strength-equation{gap:14px}.strength-equation strong{font-size:20px}.strength-note{padding:18px}.strength-note>svg{display:none}.strength-shell .topbar{gap:12px}.strength-shell .brand small{display:none}}
@media(prefers-reduced-motion:reduce){.strength-article,.strength-method>div,.strength-method>ul{animation:none}}
.strength-precision{font-size:13px;line-height:1.7;color:var(--muted);margin-top:12px}
.strength-total>.strength-negative{color:#ff9ba5}
