@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#eaf5ef;background:#071b17;font-size:16px}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}a{color:inherit}img{display:block}h1,h2,h3,p{margin:0}.shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{background:#0b2420;border-right:1px solid #23413a;padding:24px 16px;display:flex;flex-direction:column;gap:25px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:9px;padding:0 8px;min-height:62px}.brand img{width:64px;height:58px;object-fit:contain}.brand strong{font:800 23px/1 'Barlow Condensed',sans-serif;letter-spacing:.045em}.brand small{display:block;margin-top:4px;font-size:11px;color:#a3bcb2;letter-spacing:.14em}.nav{display:grid;gap:6px}.nav button{border:0;background:transparent;color:#a9c4b8;padding:13px 16px;text-align:left;border-radius:10px;font-weight:700;display:flex;align-items:center;gap:12px}.nav button:hover,.nav button.active{background:#18473b;color:#fff}.nav .icon{font-size:19px;width:22px;text-align:center}.side-bottom{margin-top:auto;border-top:1px solid #24433a;padding:19px 10px;color:#97b2a6;font-size:13px;line-height:1.55}.side-bottom b{color:#8fdb9b}.main{padding:30px clamp(18px,3vw,48px) 80px;max-width:1700px;width:100%;margin:auto}.top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.eyebrow{text-transform:uppercase;letter-spacing:.19em;color:#8ac19a;font-size:12px;font-weight:800;margin-bottom:5px}h1,h2,h3,.score,.metric-value{font-family:'Barlow Condensed',Impact,sans-serif}h1{font-size:clamp(34px,4vw,48px);line-height:1.05;letter-spacing:.015em}h2{font-size:28px;line-height:1.1}h3{font-size:23px}.top-actions,.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.btn{border:1px solid #3f6759;border-radius:9px;padding:10px 15px;background:#15382f;color:#eaf6ee;font-size:14px;font-weight:700;min-height:42px}.btn:hover{background:#225143}.btn.primary{background:#c8f581;border-color:#c8f581;color:#13271b}.btn.primary:hover{background:#dcffa7}.btn.ghost{background:transparent}.btn.danger{border-color:#844943;color:#ffc8c1}.btn.small{min-height:34px;padding:6px 10px;font-size:13px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:99px;background:#254b3d;color:#c5eac4;padding:5px 10px;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.badge.live{background:#78382d;color:#ffe1d0}.badge.dim{background:#233a34;color:#a9c4b8}.grid{display:grid;gap:16px}.metrics{grid-template-columns:repeat(4,1fr);margin-bottom:18px}.metric,.card{background:#102d26;border:1px solid #28493e;border-radius:15px}.metric{padding:20px 22px;min-height:118px;position:relative;overflow:hidden}.metric-label{color:#a9c7b8;font-size:13px;font-weight:700}.metric-value{font-size:43px;line-height:1.1;margin-top:7px;color:#f3fff3}.metric-note{color:#a9c7b8;font-size:12px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:28px 0 15px}.section-title p,.muted{color:#a3bdb0;font-size:14px;line-height:1.5}.split{grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr)}.card{padding:19px}.card-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}.table-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.table-card{background:#123d30;border:1px solid #357153;border-radius:14px;overflow:hidden}.felt{height:104px;background:radial-gradient(ellipse at center,#217f54,#176044);border:10px solid #543d27;border-radius:14px;margin:16px 18px 10px;box-shadow:inset 0 0 0 2px #a88b55,0 3px 10px #071913;position:relative}.felt:before{content:'';position:absolute;inset:8px;border:1px solid #a9d1b22e;border-radius:3px}.pockets{position:absolute;inset:-8px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.pockets i{width:17px;height:17px;border-radius:50%;background:#061713;box-shadow:0 0 0 2px #8a7044}.felt .table-number{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font:700 52px 'Barlow Condensed';color:#e5f6d522}.table-body{padding:0 17px 17px}.table-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px}.versus{font:700 25px 'Barlow Condensed';white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.versus em{color:#a8d391;font-style:normal;font-size:15px}.table-meta{color:#b1cebb;font-size:13px;margin:5px 0 12px}.table-card .actions{gap:6px}.list{display:grid;gap:9px}.row{background:#16372e;border:1px solid #2d5142;padding:13px 15px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px}.row strong{font-size:15px}.row small{display:block;color:#9cb6a8;margin-top:3px}.row .rank{color:#c9f585;font:800 22px 'Barlow Condensed';width:32px}.row-main{flex:1;min-width:0}.empty{text-align:center;color:#9db8a9;padding:38px 16px;border:1px dashed #3f6953;border-radius:13px;line-height:1.6}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:grid;gap:7px}.field label{font-size:13px;font-weight:700;color:#c9dfd2}.field input,.field select{width:100%;background:#0b221d;color:#f4fff8;border:1px solid #3b6554;border-radius:9px;padding:11px 12px;min-height:44px;outline:none}.field input:focus,.field select:focus{border-color:#c8f581;box-shadow:0 0 0 2px #c8f58130}.field span{font-size:12px;color:#9bb4a8}.full{grid-column:1/-1}.divider{height:1px;background:#2d5042;margin:20px 0}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{padding:7px 11px;border-radius:20px;background:#1d4738;font-size:12px;font-weight:800}.bracket{display:flex;gap:15px;overflow:auto;padding:2px 2px 18px}.round{min-width:260px;flex:1;display:grid;align-content:start;gap:12px}.round h3{color:#c8f581;font-size:21px;margin:3px 0 4px}.match{background:#15392f;border:1px solid #315d46;border-radius:11px;padding:13px;display:grid;gap:7px}.match.live{border-color:#c9eb83}.match .match-top{display:flex;justify-content:space-between;color:#a4bcae;font-size:12px;margin-bottom:2px}.contestant{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px;border-radius:6px;background:#0c2922;font-size:14px;font-weight:700}.contestant.win{color:#cbf58c}.contestant .score{font-size:22px}.match .actions{margin-top:5px}.score-ctl{display:flex;align-items:center;gap:4px}.score-ctl button{background:#2d5942;border:0;color:#fff;border-radius:6px;min-width:27px;height:28px}.score-ctl b{min-width:22px;text-align:center}.wide-list{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:580px}th{text-align:left;color:#9fb9a9;text-transform:uppercase;letter-spacing:.08em;font-size:12px;padding:12px;border-bottom:1px solid #315744}td{padding:12px;border-bottom:1px solid #254737;font-size:14px}td strong{font-weight:800}.bar{height:8px;background:#294c3e;border-radius:6px;overflow:hidden;min-width:75px}.bar span{display:block;height:100%;background:#b4e37e}.camera-box{background:#081e1b;border:1px solid #34624c;border-radius:12px;aspect-ratio:16/9;display:grid;place-items:center;position:relative;overflow:hidden}.camera-box video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.camera-box .placeholder{text-align:center;color:#8ca99c;max-width:250px}.camera-box .placeholder b{display:block;font-size:35px;margin-bottom:6px}.status-dot{height:7px;width:7px;border-radius:50%;display:inline-block;background:#bfed82}.notice{border:1px solid #557249;background:#213b27;padding:13px 16px;border-radius:10px;color:#e0efce;font-size:13px;line-height:1.5}.notice.warn{background:#443222;border-color:#826142;color:#ffe5c8}.inline-help{font-size:13px;color:#abc4b3;line-height:1.6}.modal-bg{position:fixed;inset:0;background:#00110cbb;display:grid;place-items:center;z-index:20;padding:20px}.modal{background:#13372d;border:1px solid #4b7759;width:min(520px,100%);max-height:90vh;overflow:auto;padding:24px;border-radius:16px;box-shadow:0 25px 80px #0007}.modal h2{margin-bottom:18px}.modal .actions{margin-top:21px}#toast{position:fixed;bottom:23px;right:23px;z-index:40;max-width:340px;background:#d7f89c;color:#142c1a;border-radius:9px;padding:12px 16px;box-shadow:0 10px 30px #0007;opacity:0;pointer-events:none;transition:opacity .2s}#toast.show{opacity:1}.tv{min-height:100vh;background:#061913;padding:2vw 3vw}.tv-head{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #3e6145;padding-bottom:14px}.tv-head img{width:116px;height:67px;object-fit:contain}.tv h1{font-size:clamp(34px,4vw,67px)}.tv-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.8fr);gap:22px;margin-top:20px}.tv .camera-box{height:min(63vh,650px);aspect-ratio:auto}.tv-match{padding:20px;background:#12382a;border:1px solid #397351;border-radius:13px;margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:14px}.tv-match .who{font:700 clamp(25px,3vw,51px)/1 'Barlow Condensed'}.tv-match .score{font-size:clamp(48px,6vw,90px);color:#ccf787}.tv-list{display:grid;gap:11px}.tv-list .row{font-size:20px;padding:17px}.tv .section-title{margin-top:0}.tv .btn{font-size:13px}.tv .muted{font-size:16px}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.shell{display:block}.sidebar{position:relative;height:auto;padding:10px 12px;gap:4px;border-right:0;border-bottom:1px solid #2e5540}.brand{min-height:47px}.brand img{width:52px;height:45px}.brand strong{font-size:19px}.side-bottom{display:none}.nav{display:flex;overflow:auto;gap:4px;padding-bottom:3px}.nav button{white-space:nowrap;padding:9px 11px;font-size:13px}.nav .icon{display:none}.main{padding:20px 14px 65px}.top{align-items:flex-start;flex-wrap:wrap}.top-actions{width:100%}h1{font-size:35px}.metrics{gap:9px}.metric{min-height:100px;padding:14px}.metric-value{font-size:34px}.table-grid,.form-grid{grid-template-columns:1fr}.tv{padding:15px}.tv-grid{grid-template-columns:1fr}.tv .camera-box{height:38vh}.tv-head img{width:80px;height:50px}.tv-match{padding:12px}.tv-match .who{font-size:27px}.tv-match .score{font-size:48px}}
/* OSP digital blue identity. Green is reserved for the playing felt. */
:root{color:#e9f7ff;background:#061322}
body{background:radial-gradient(circle at 78% -9%,#174d7b44,transparent 42%),#061322}
.sidebar{background:linear-gradient(180deg,#0c2540,#071a2e 72%);border-color:#2d6083}
.brand strong{color:#e9f8ff;text-shadow:0 0 15px #4dc8ff5a}.brand small{color:#68c9fa}
.nav button{color:#a7c6dc}.nav button:hover,.nav button.active{background:linear-gradient(90deg,#144268,#155780);color:#f5fcff;box-shadow:inset 3px 0 #78d9ff}
.side-bottom{border-color:#2b5473;color:#9ebbd0}.side-bottom b{color:#7bd7ff}
.eyebrow{color:#73d6ff}.muted,.section-title p,.metric-label,.metric-note,.row small,.inline-help{color:#a8c4d8}
.metric,.card{background:linear-gradient(145deg,#102b46,#0b2038);border-color:#2b5878;box-shadow:0 8px 30px #020c1b37}
.metric:after{content:'';position:absolute;width:85px;height:85px;right:-30px;top:-40px;border:1px solid #61c9ff35;border-radius:50%;box-shadow:0 0 0 17px #61c9ff0c,0 0 0 36px #61c9ff08}
.metric-value{color:#f0faff}.metric:nth-child(2) .metric-value{color:#71d4ff}
.btn{background:#12385b;border-color:#39719b;color:#eefaff}.btn:hover{background:#185079}.btn.primary{background:#69caff;border-color:#69caff;color:#061c31;box-shadow:0 0 20px #4cbaff29}.btn.primary:hover{background:#a4e3ff}.btn.ghost{background:transparent}.btn.danger{border-color:#995a63;color:#ffd4d8}
.badge{background:#17476a;color:#9be1ff}.badge.live{background:#5a3045;color:#ffdbe6}.badge.dim{background:#1c3b55;color:#a6c5d9}
.row,.match{background:#123555;border-color:#2f6689}.row .rank,.round h3,.contestant.win,.tv-match .score{color:#78d5ff}.row .rank{text-shadow:0 0 14px #4cbdff4e}
.table-card{background:#102d49;border-color:#316581}.felt{background:radial-gradient(ellipse at center,#238654,#14563b);border-color:#153c4e;box-shadow:inset 0 0 0 2px #61afd7,0 4px 14px #020e18}.felt:before{border-color:#d3f4e03f}.table-number{color:#e3f7e733}.pockets i{background:#041714;box-shadow:0 0 0 2px #5293a9}.versus em{color:#77d5ff}.table-meta{color:#a9c5d4}
.field label{color:#d7eefa}.field input,.field select{background:#071b30;border-color:#346383;color:#f1fbff}.field input:focus,.field select:focus{border-color:#72d3ff;box-shadow:0 0 0 2px #58c6ff38}
.divider,td{border-color:#2e5b7b}.divider{background:#2e5b7b}.bar{background:#254761}.bar span{background:#69caff}.chip{background:#1e5679}.contestant{background:#0a243c}.score-ctl button{background:#285a80}.notice{background:#123e5b;border-color:#357da6;color:#daf3ff}.notice.warn{background:#49362d;border-color:#856044;color:#ffe8cd}.empty{border-color:#3b7290;color:#a2c4d8}.modal{background:#0d2b48;border-color:#467ca2}.modal-bg{background:#020b17d4}#toast{background:#94dfff;color:#061d31}
.tv{background:radial-gradient(circle at top left,#184b78,#071c31 48%,#061424);color:#f4faff}.tv-head{border-color:#397096}.tv-match{background:#123d5c;border-color:#377da4}.tv .camera-box,.camera-box{background:#071a2b;border-color:#397093}.tv .row{background:#153955}
.camera-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.camera-panel{min-width:0}.camera-panel .camera-box{aspect-ratio:16/9}
@media(max-width:900px){.camera-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{border-color:#2d6083}.nav button.active{box-shadow:inset 0 -3px #78d9ff}.camera-grid{gap:12px}}
.match.live{border-color:#65cfff}.status-dot{background:#6ccfff}
.format-bar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#102b46;border:1px solid #2b5878;border-radius:13px;padding:14px 17px;margin-bottom:15px}.format-bar .field{min-width:210px}.format-bar .muted{max-width:380px}.match-progress{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#09243b;border:1px solid #36749b;border-radius:10px;padding:11px 14px;margin:15px 0;color:#c9e5f6;font-size:14px}.match-progress strong{font:700 27px 'Barlow Condensed';color:#83d8ff}.game-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.game-player{padding:14px;background:#0c2944;border:1px solid #3a7194;border-radius:11px}.game-player-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}.game-player-head strong{font:700 22px 'Barlow Condensed'}.game-player-head span{font-size:11px;color:#81c8ef;text-transform:uppercase;letter-spacing:.08em}.game-player-controls{display:grid;gap:10px}.ball-input{display:flex;align-items:center;gap:5px}.ball-input input{text-align:center;min-width:0;max-width:75px;padding:7px 4px;font-weight:800}.ball-input button{min-width:36px;height:40px;border-radius:7px;color:#eaf8ff;background:#1d5b83;border:1px solid #397da3;font-size:20px}.game-history{display:grid;gap:5px;max-height:210px;overflow:auto;margin-top:8px}.game-history .row{font-size:13px;padding:8px 11px}.game-history .row strong{font-size:13px}@media(max-width:580px){.game-entry{grid-template-columns:1fr}.format-bar .field{width:100%}.match-progress{flex-direction:column;align-items:flex-start}}
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% -10%,#15486b,#061322 55%);color:#e9f7ff}.auth-card{width:min(460px,100%);background:#102b46;border:1px solid #39719b;border-radius:18px;padding:30px;box-shadow:0 20px 60px #0008}.auth-card img{width:90px;height:90px;object-fit:contain;margin:0 auto 14px}.auth-card h1{margin-bottom:10px}.auth-card .muted{margin-bottom:22px}.auth-card .notice{margin:16px 0}.auth-form{display:grid;gap:14px;margin-top:18px}.auth-form .btn{justify-self:start}.player-shell{max-width:1150px;margin:auto;padding:24px}.player-head{display:flex;align-items:center;gap:16px;margin-bottom:24px}.player-head img{width:75px;height:75px;object-fit:contain}.player-head .btn{margin-left:auto}.player-shell .notice{margin-top:17px}.player-shell .notice h3{margin-bottom:8px}.player-shell .notice p{margin-bottom:14px}.player-shell .list{margin-top:18px}.card .list{max-height:650px;overflow:auto}.card .row{overflow-wrap:anywhere}@media(max-width:760px){.auth-card{padding:22px}.player-shell{padding:15px}.player-head{flex-wrap:wrap}.player-head img{width:52px;height:52px}.player-head h1{font-size:28px}}
.invite-card{margin-bottom:18px}.invite-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center;margin:18px 0}.invite-layout>div:last-child{min-width:0}.invite-layout input{width:100%;box-sizing:border-box}.qr-box{background:#fff;padding:10px;border-radius:12px;max-width:220px}.qr-box svg{display:block;width:100%;height:auto}.invite-card .list{max-height:320px;overflow:auto}@media(max-width:620px){.invite-layout{grid-template-columns:1fr}.qr-box{width:200px}}
.profile-button{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:5px 12px 5px 5px;border:1px solid #4285ad;border-radius:999px;background:#102f4d;color:#e8f7ff;font-size:14px;font-weight:700;white-space:nowrap}.profile-button:hover,.profile-button:focus-visible{background:#17496c;border-color:#80d5ff}.profile-avatar{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#5db9e8;color:#06253c;font-weight:800}.profile-avatar img,.player-head .profile-avatar img{width:100%;height:100%;object-fit:cover}.player-head .profile-button{margin-left:auto}.profile-detail{display:flex;align-items:center;gap:16px;margin-bottom:18px}.profile-detail h2{margin:2px 0 5px}.profile-photo{width:84px;height:84px;flex:none;display:grid;place-items:center;overflow:hidden;border:2px solid #71c8f6;border-radius:50%;background:#173d5d;color:#e9f8ff;font-size:32px;font-weight:800}.profile-photo img{width:100%;height:100%;object-fit:cover}.profile-info{display:grid;gap:6px;margin-bottom:18px;color:#b7d3e3;font-size:14px}.profile-info strong{color:#fff;margin-left:6px}.modal #profile-photo{background:#0a263f;border:1px solid #447a9b;border-radius:9px;padding:12px;width:100%;max-width:100%}@media(max-width:760px){.top-actions .profile-button{order:-1}.player-head .profile-button{margin-left:auto}.profile-button span:last-child{font-size:13px}}
.tournament-avatar{position:relative;width:38px;height:38px;flex:0 0 38px;display:inline-grid;place-items:center;overflow:hidden;border:2px solid #4d9ac4;border-radius:50%;background:#173d5d;color:#e9f8ff;font-weight:800;line-height:1}.tournament-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.player-identity{display:inline-flex;align-items:center;gap:8px;min-width:0}.contestant .player-identity{flex:1}.contestant .tournament-avatar{width:30px;height:30px;flex-basis:30px}.match-identities{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.versus-word{color:#8ebbd4;font-size:12px;text-transform:uppercase}td .player-identity{min-width:150px}@media(max-width:760px){.tournament-avatar{width:34px;height:34px;flex-basis:34px}.match-identities{gap:6px}}
.field textarea{width:100%;resize:vertical;background:#0b221d;color:#f4fff8;border:1px solid #3b6554;border-radius:9px;padding:11px 12px;outline:none;line-height:1.5}.field textarea:focus{border-color:#78d5ff;box-shadow:0 0 0 2px #78d5ff30}.broadcast-settings{margin-top:18px}.broadcast-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.broadcast-platform{display:grid;gap:11px;padding:16px;background:#0b263f;border:1px solid #2e6284;border-radius:12px}.platform-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.platform-head h3{font-size:22px}@media(max-width:900px){.broadcast-grid{grid-template-columns:1fr}}@media(max-width:600px){.broadcast-settings .card-title{align-items:flex-start;flex-direction:column}.broadcast-settings .card-title .btn{width:100%}}
.modal.practice-modal{width:min(1040px,100%);padding:20px}.practice-head,.practice-status,.practice-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.practice-head{margin-bottom:15px}.practice-head h2{margin-bottom:4px}.practice-status{padding:10px 13px;background:#0a263f;border:1px solid #2f6689;border-radius:10px;margin-bottom:12px;color:#bad8e9;font-size:13px}.practice-canvas-wrap{width:100%;overflow:hidden;border:1px solid #5c86a0;border-radius:14px;background:#081825;touch-action:none}.practice-canvas-wrap canvas{display:block;width:100%;height:auto;aspect-ratio:2/1;touch-action:none}.practice-controls{margin-top:12px;color:#a9c9db;font-size:13px}.practice-peer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.practice-peer{display:grid;justify-items:center;gap:5px;padding:14px;border:1px solid #356c8f;border-radius:12px;background:#0d2b46;color:#eef9ff}.practice-peer>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#55b7e8;color:#06243a;font-size:20px;font-weight:800}.practice-peer small{color:#9fc5dc}@media(max-width:700px){.modal.practice-modal{padding:14px}.practice-peer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-canvas-wrap{margin-inline:-5px;width:calc(100% + 10px)}.practice-controls .btn{width:100%}}
.wide-list td small{display:block;color:#9fc2d9;margin-top:4px;white-space:nowrap}.modal #player-access-form{display:grid;gap:13px}.modal #player-access-form .notice{margin-top:2px}
.practice-head.compact{margin-bottom:10px}.aim-console{margin-top:12px;padding:13px;background:linear-gradient(180deg,#0b2a46,#081f35);border:1px solid #39789f;border-radius:13px}.aim-readout{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:11px}.aim-readout>div{padding:8px 10px;background:#071b2d;border:1px solid #2f6688;border-radius:9px;text-align:center}.aim-readout small{display:block;color:#86bedf;font-size:10px;letter-spacing:.09em}.aim-readout strong{display:block;margin-top:2px;color:#f5fbff;font:800 23px 'Barlow Condensed',sans-serif}.aim-adjust{display:grid;grid-template-columns:auto auto minmax(130px,1fr) auto auto;gap:7px;align-items:center}.aim-adjust input[type=range]{width:100%;accent-color:#71d5ff}.practice-shot-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;color:#a8cce0;font-size:12px}.practice-shoot{min-width:150px;font-size:16px;letter-spacing:.08em}.practice-canvas-wrap{box-shadow:inset 0 0 25px #0007,0 10px 30px #00172566}@media(max-width:700px){.modal-bg:has(.practice-modal){padding:0}.modal.practice-modal{width:100%;height:100dvh;max-height:100dvh;border-radius:0;border:0;padding:10px;display:block}.practice-head.compact h2{font-size:24px}.practice-status{gap:6px;padding:7px 9px;margin-bottom:8px}.practice-status span:nth-child(2){width:100%;order:3;font-size:11px}.practice-canvas-wrap{width:100%;margin:0;border-radius:10px}.aim-console{margin-top:8px;padding:9px}.aim-readout{margin-bottom:8px}.aim-readout>div{padding:5px}.aim-readout strong{font-size:20px}.aim-adjust{grid-template-columns:42px 42px minmax(90px,1fr) 42px 42px;gap:4px}.aim-adjust .btn{padding:5px 3px;min-height:36px}.practice-shot-actions{display:grid;grid-template-columns:1fr auto;gap:7px}.practice-shot-actions>span{grid-column:1/-1}.practice-shot-actions .practice-shoot{min-width:130px}.practice-shot-actions .btn{min-height:38px}}
@media(max-width:700px) and (orientation:portrait){.modal.practice-modal:has(.portrait-table){position:relative;padding:0;overflow:hidden;background:#061a2d}.modal.practice-modal:has(.portrait-table) .practice-head.compact{position:absolute;z-index:6;left:8px;right:8px;top:max(7px,env(safe-area-inset-top));padding:7px 9px;margin:0;border:1px solid #5aa5cc88;border-radius:11px;background:#08243bd1;backdrop-filter:blur(10px)}.modal.practice-modal:has(.portrait-table) .practice-head .eyebrow{font-size:9px}.modal.practice-modal:has(.portrait-table) .practice-head h2{font-size:20px}.modal.practice-modal:has(.portrait-table) .practice-status{position:absolute;z-index:5;left:8px;right:8px;top:72px;margin:0;padding:6px 8px;background:#071e33bd;backdrop-filter:blur(9px);border-color:#4b91b788}.modal.practice-modal:has(.portrait-table) .practice-status span:nth-child(2){display:none}.practice-canvas-wrap:has(.portrait-table){position:absolute;inset:0;margin:auto;width:min(100vw,50dvh);height:min(200vw,100dvh);aspect-ratio:1/2;overflow:hidden;border:0;border-radius:0;box-shadow:none}.practice-canvas-wrap canvas.portrait-table{position:absolute;left:0;top:0;width:200%;height:50%;max-width:none;aspect-ratio:2/1;transform-origin:top left;transform:rotate(-90deg) translateX(-100%)}.modal.practice-modal:has(.portrait-table) .aim-console{position:absolute;z-index:7;left:8px;right:8px;bottom:max(7px,env(safe-area-inset-bottom));margin:0;padding:8px;background:#071e33c7;border-color:#5aa5cc99;backdrop-filter:blur(12px);box-shadow:0 8px 30px #0008}.modal.practice-modal:has(.portrait-table) .aim-readout{margin-bottom:5px}.modal.practice-modal:has(.portrait-table) .aim-readout>div{padding:3px 5px;background:#061827a8}.modal.practice-modal:has(.portrait-table) .aim-readout small{font-size:8px}.modal.practice-modal:has(.portrait-table) .aim-readout strong{font-size:17px}.modal.practice-modal:has(.portrait-table) .aim-adjust{grid-template-columns:38px 38px minmax(70px,1fr) 38px 38px}.modal.practice-modal:has(.portrait-table) .aim-adjust .btn{min-height:31px;font-size:11px}.modal.practice-modal:has(.portrait-table) .practice-shot-actions{grid-template-columns:1fr auto;margin-top:5px}.modal.practice-modal:has(.portrait-table) .practice-shot-actions>span{display:none}.modal.practice-modal:has(.portrait-table) .practice-shot-actions .btn{min-height:34px}.modal.practice-modal:has(.portrait-table) .practice-shoot{min-width:120px}}
@media(max-width:700px) and (orientation:portrait){.modal.practice-modal:has(.portrait-table) .practice-head.compact{background:rgba(4,25,42,.30);backdrop-filter:none;text-shadow:0 1px 4px #00111d}.modal.practice-modal:has(.portrait-table) .practice-status{background:rgba(3,22,37,.24);backdrop-filter:none;text-shadow:0 1px 4px #00111d}.modal.practice-modal:has(.portrait-table) .aim-console{background:rgba(3,22,37,.38);backdrop-filter:none;box-shadow:0 4px 18px #0004}.modal.practice-modal:has(.portrait-table) .aim-readout>div{background:rgba(2,17,29,.22)}.modal.practice-modal:has(.portrait-table) .aim-adjust .btn,.modal.practice-modal:has(.portrait-table) .practice-shot-actions .btn.ghost{background:rgba(8,39,62,.42)}.modal.practice-modal:has(.portrait-table) .practice-shoot{background:rgba(142,220,255,.72)}}
.spin-aim-tools{display:grid;grid-template-columns:118px 1fr;gap:10px;align-items:center;margin-top:9px;padding-top:9px;border-top:1px solid #5aa5cc66}.cue-spin-control{display:grid;justify-items:center;gap:3px}.spin-title,.cue-rotor-control>span{color:#8fd8fb;font-size:9px;font-weight:800;letter-spacing:.09em}.cue-ball-pad{position:relative;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 38%,#d8edf5 70%,#83a9ba 100%);border:2px solid #8fdcff;box-shadow:inset -5px -7px 10px #31586a55;touch-action:none}.cue-ball-pad:before,.cue-ball-pad:after{content:"";position:absolute;background:#30677f55}.cue-ball-pad:before{left:50%;top:7px;bottom:7px;width:1px}.cue-ball-pad:after{top:50%;left:7px;right:7px;height:1px}.cue-ball-pad span{position:absolute;z-index:2;left:50%;top:50%;width:15px;height:15px;border-radius:50%;background:#e64b45;border:2px solid #fff;box-shadow:0 2px 6px #001a2a;transform:translate(-50%,-50%)}.cue-ball-pad i{position:absolute;left:50%;transform:translateX(-50%);color:#123246;font:800 7px sans-serif;font-style:normal;pointer-events:none}.spin-top{top:4px}.spin-bottom{bottom:4px}.cue-spin-control small,.cue-rotor-control small{color:#9bc7dd;font-size:8px;text-align:center}.cue-rotor-control{display:grid;gap:7px}.cue-rotor-control>span{display:flex;justify-content:space-between}.cue-rotor-control b{color:#fff;font-size:13px}.cue-rotor-control input{width:100%;accent-color:#79dcff;touch-action:pan-x}@media(max-width:700px) and (orientation:portrait){.modal.practice-modal:has(.portrait-table) .spin-aim-tools{grid-template-columns:88px 1fr;gap:7px;margin-top:5px;padding-top:5px}.modal.practice-modal:has(.portrait-table) .cue-ball-pad{width:54px;height:54px}.modal.practice-modal:has(.portrait-table) .cue-ball-pad span{width:12px;height:12px}.modal.practice-modal:has(.portrait-table) .cue-spin-control small,.modal.practice-modal:has(.portrait-table) .cue-rotor-control small{font-size:7px}.modal.practice-modal:has(.portrait-table) .aim-console{padding:6px}.modal.practice-modal:has(.portrait-table) .practice-shot-actions{margin-top:4px}}
@media(max-width:700px) and (orientation:portrait){.modal.practice-modal:has(.portrait-table) .aim-console{background:rgba(3,22,37,.13);border-color:rgba(90,165,204,.24);box-shadow:none}.modal.practice-modal:has(.portrait-table) .practice-shot-actions{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:5px}.modal.practice-modal:has(.portrait-table) .practice-shot-actions .btn{width:auto;flex:0 0 auto;min-height:34px;padding:5px 10px;font-size:12px}.modal.practice-modal:has(.portrait-table) .practice-shot-actions .practice-shoot{width:112px;min-width:0;background:rgba(142,220,255,.34);border:1px solid rgba(179,234,255,.7);color:#f7fcff;font-size:14px;letter-spacing:.04em;text-shadow:0 1px 2px #00243a}.modal.practice-modal:has(.portrait-table) .practice-shot-actions .btn.ghost{width:106px;background:rgba(8,39,62,.25);border-color:rgba(90,165,204,.55)}}
