/* System Chinese fonts stay readable offline. Navigation always clears hardware safe areas. */
:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;font-size:16px;font-weight:400;--orange:#cb602f;--safe-top:calc(env(safe-area-inset-top,0px) + 14px)}
body{line-height:1.65;background:#f5f6f2}h1,h2,h3,b,strong{font-weight:600}button,a,input,select,textarea{touch-action:manipulation}button,.mini,.primary{font-size:15px;min-height:44px;font-weight:500}.topbar{height:auto;min-height:90px;padding-top:var(--safe-top);padding-bottom:14px;gap:16px;flex-wrap:wrap}.top-right{flex-wrap:wrap;min-width:0}.logo-title{font-size:20px;font-weight:600}.hero{background-size:cover;background-position:center;min-height:310px}.hero:after{display:none}.hero h1{font-weight:600;line-height:1.35}.hero p,.hero-buttons button{font-size:15px}.daily-quote{font-size:17px;color:#fff2dc;margin:8px 0 12px;max-width:28em}.hero-stats strong{font-weight:500}.eyebrow{font-weight:500}.event-card h3{font-size:21px;font-weight:600}.event-meta,.event-notes,.count-text{font-size:15px}.event-date,.pill{font-size:13px}.event-actions .mini{font-size:14px}.form-note,.notice{font-size:15px;line-height:1.8}.field label,.modal .field label{font-size:15px}.field input,.field select,.field textarea{font-size:17px;line-height:1.6}.modal h2{font-weight:600;font-size:23px}.modal-overlay{top:var(--viewport-top);height:var(--viewport-height);padding-top:max(20px,calc(env(safe-area-inset-top,0px) + 16px));padding-bottom:max(20px,calc(env(safe-area-inset-bottom,0px) + 16px));align-items:center}.modal{scroll-padding-top:90px;max-height:100%;line-height:1.65;background:#fff;overflow-y:auto}.modal-top{position:sticky;top:-26px;background:#fff;z-index:3;padding:10px 0;min-height:64px}.modal-top .close{flex-shrink:0;background:#edf0ee;color:#213b47;min-width:44px}.member{gap:12px;flex-wrap:wrap}.member strong{font-size:17px}.member small{font-size:14px}.member-actions{flex-wrap:wrap;gap:7px}.member-actions button{font-size:14px;padding:8px 12px;min-height:44px}.member [role=button]{cursor:pointer;text-decoration:underline;text-underline-offset:5px}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.management-grid button{min-height:65px;border-radius:14px;background:#edf3ef;color:#264a46}.player-manage-row{display:flex;align-items:center;gap:15px;width:100%;background:#fff;border-bottom:1px solid #e4ebe5;padding:15px 0;text-align:left}.player-manage-row>span:nth-child(2){flex:1}.player-manage-row small{display:block;color:#6d807c}.asset-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.asset-card{padding:10px;border:1px solid #dfe9e2;background:#fff;border-radius:15px;min-width:0;display:flex;flex-direction:column;gap:8px;text-align:left}.asset-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.asset-card .modal-actions{margin-top:0;gap:6px}.asset-card b,.asset-card span{font-size:15px}.import-game{border-top:1px solid #dce5df;margin-top:20px;padding:16px 0}.import-game table{border-collapse:collapse;white-space:nowrap;font-size:15px}.import-game th,.import-game td{padding:10px;border-bottom:1px solid #e4ebe5}.honor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.honor-card{display:flex;align-items:center;flex-direction:column;gap:8px;border-radius:16px;background:#f3f6f0;padding:20px;text-align:center}.honor-card small{color:#6f7e71}.honor-card b{font-size:20px}.live-avatar{width:44px;height:44px;flex-shrink:0;background:#e9ede2;color:#355a46;border-radius:50%;display:grid;place-items:center;overflow:hidden}.live-avatar img{width:100%;height:100%;object-fit:cover}.lease-controls{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:12px 0;padding:12px;border:1px solid #dce7de;background:#fff;border-radius:12px;color:#405a52;font-size:14px}.lease-controls button{padding:10px 16px;border-radius:10px}.score-overlay{background:#f2f5f0;color:#203d39}.score-page{padding-top:var(--safe-top)}.score-top{position:relative;color:#203d39;background:#fff;border-color:#dbe5de;border-radius:12px;padding:12px}.score-heading b{font-size:18px}.score-heading span{color:#658178;font-size:13px}#liveLineup{position:sticky;top:0;z-index:12;background:#f2f5f0;border-bottom:1px solid #dce5de;box-shadow:0 6px 12px #23483208;padding:6px;isolation:isolate}.live-team{display:flex;align-items:center;gap:10px}.live-team>span{font-size:13px;max-width:80px;line-height:1.4;color:#557268}.live-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;flex:1;min-width:0}.live-five button{display:flex;align-items:center;flex-direction:column;gap:2px;background:transparent;color:#294a3e;min-width:0;padding:3px;border-radius:12px}.live-five button:disabled{opacity:1}.live-five button.selected{background:#e0ebd8;outline:2px solid #6b894b}.live-five b{font-size:15px;white-space:nowrap}.live-five small{font-size:12px;color:#718367}.position-edit{position:absolute;right:4px;top:-40px;background:#eaf0e6;color:#36533d;border-radius:8px;padding:4px 10px;font-size:13px;min-height:36px}.score-center,.recording-desk,.period-navigation,.match-details,.score-stats{background:#fff;color:#203d39;border-color:#dce5de}.score-status,.clock-caption,.clock-mini,.score-note,.period-heading span,.desk-heading span,.desk-hint{color:#637e71}.score-clock{color:#203d39}.clock-row button,.period-actions button,.desk-stat-actions button,.desk-undo{background:#edf3e9;color:#294e37;border:1px solid #d9e4d4}.clock-row button,.period-actions button{font-size:15px}.score-team{background:#fff!important;border:1px solid #dce5de}.team-title{color:#385e4c}.score-number{font-weight:500}.desk-heading h3{color:#264537;font-size:21px}.desk-team-title strong{color:#3c5d47}.desk-player{background:#f2f6ee;color:#2d493b;border:1px solid #dce6d5}.desk-player.selected{background:#e3eddb;border-color:#6c9359}.desk-player small{color:#63805d}.desk-selection{color:#6c8068}.desk-selection strong{color:#365638}.desk-score-actions button{background:#bb6035;color:#fff}.period-tabs button{background:#edf3e9;color:#58714b}.period-tabs button.active{background:#365c40;color:#fff}.period-tabs small{color:inherit}.match-details>summary,.score-tools h3{color:#355640}.score-readonly{background:#f1eadb;color:#7f5c2d}.result-table td,.result-table th{font-size:15px;min-width:64px}.result-table td:first-child{min-width:140px}.bottomnav{padding-bottom:env(safe-area-inset-bottom,0px)}
@media(max-width:820px){.topbar{padding-top:var(--safe-top);min-height:96px;display:block}.logo{margin-bottom:12px}.logo-title{font-size:19px}.top-right{display:flex;justify-content:flex-start;gap:8px}.top-right .subtle-button{display:inline-flex;font-size:14px;padding:9px 12px}.top-right .profile-button{font-size:14px;margin-left:auto}.top-right .net-tag{display:none}.shell{padding-top:18px}.hero{padding:25px;min-height:330px;background-position:65% center}.hero h1{font-size:34px}.hero p{font-size:14px}.hero-stats span{font-size:13px}.hero-buttons{margin-top:18px}.hero-buttons button{font-size:14px}.event-notes{font-size:15px}.sync-ribbon-home .sync-ribbon{font-size:13px}.score-page{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px))}.score-top{gap:8px}.score-heading b{font-size:16px}.score-heading span{font-size:12px}.live-team{display:block}.live-team>span{max-width:none;display:block;font-size:12px;padding-left:6px}.live-five{gap:4px}.live-five b{font-size:14px}.live-avatar{width:36px;height:36px}.live-five small{font-size:11px}.live-five button{padding:2px}.lease-controls{font-size:13px}.modal-top{top:-21px}.modal{padding:20px}.modal-top h2{font-size:21px}.asset-grid{gap:10px}.honor-card{padding:16px 9px}.member-actions button{font-size:14px}.score-sync-ribbon{font-size:13px}}
@media(max-width:390px){.top-right .subtle-button{padding:9px;font-size:13px}.live-five b{font-size:13px}.live-five .live-avatar{width:32px;height:32px}.hero-buttons button{padding:10px}.asset-grid{grid-template-columns:1fr}}
@media(max-height:520px){.modal-overlay{align-items:flex-start}.live-avatar{display:none}.live-team{display:flex}.live-five button{flex-direction:row;gap:6px}.score-heading span{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* The five sticky portraits are also the player selector; avoid a duplicate list in the desk. */
.recording-desk .desk-rosters{display:none}.recording-desk .desk-grid{display:block}.recording-desk .desk-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.desk-selection,.desk-assist{grid-column:1/-1}.desk-score-actions{align-self:start}.desk-stat-actions{margin-top:0;grid-template-columns:repeat(3,minmax(0,1fr))}.desk-stat-actions button{min-height:52px;font-size:16px}.desk-hint{font-size:13px}.desk-undo{min-height:48px}.desk-assist{padding:10px}.score-top{margin-bottom:8px}
@media(min-width:821px) and (max-height:900px){.score-page.match-desk{padding-top:14px}.score-top{padding:8px;min-height:50px}.lease-controls{padding:6px 12px;margin:6px 0}.lease-controls button{min-height:36px;padding:5px 12px}.live-team .live-avatar{width:34px;height:34px}.live-five button{flex-direction:row;gap:8px}.live-five small{font-size:12px}.live-team+.live-team{margin-top:4px}.position-edit{top:-37px}.score-center{padding:8px}.score-clock{font-size:56px;line-height:1.1}.score-grid{margin:8px 0}.score-number{font-size:52px;line-height:1.1}.team-title{font-size:16px}.score-team{padding:8px}.period-navigation{padding:10px}.period-heading{margin-bottom:6px}.period-tabs button{min-height:38px;padding:6px 12px;font-size:14px}.period-actions{margin-top:8px;gap:6px}.period-actions button{min-height:36px;padding:6px 10px;font-size:14px}.period-actions span{display:none}.desk-heading{margin-bottom:8px}.recording-desk{padding:12px}.desk-score-actions button{min-height:60px}.desk-score-actions b{font-size:28px}.desk-stat-actions button{min-height:46px}.desk-selection{font-size:17px}.desk-undo{font-size:15px}.clock-row button{min-height:34px;padding:4px 9px}.board-sync-ribbon{display:none}}
@media(max-width:600px){.recording-desk .desk-controls{grid-template-columns:1fr}.desk-selection,.desk-assist{grid-column:auto}.desk-stat-actions button{font-size:16px;min-height:54px}.desk-score-actions{margin-bottom:6px}.desk-hint{display:none}}
.desk-controls{background:#f3f6ee;border-color:#dbe5d4}.desk-selection{color:#5c7255}.desk-selection strong{color:#2c5034}.desk-assist{background:#edf3e5;color:#315137}.desk-assist h4,.desk-assist p{color:#315137}
@media(min-width:821px) and (max-height:900px){.score-heading span{display:none}.score-top{padding:6px 8px;min-height:44px}.lease-controls{min-height:40px;padding:2px 10px}.lease-controls button{min-height:34px}.period-heading{display:none}.recording-desk .desk-controls{grid-template-columns:1fr 1.2fr;grid-template-areas:"selection selection" "score stats" "undo stats";grid-template-rows:34px 1fr 48px;padding:8px}.desk-selection{grid-area:selection}.desk-score-actions{grid-area:score}.desk-stat-actions{grid-area:stats}.desk-undo{grid-area:undo}.desk-hint{display:none}.desk-assist{grid-column:1/-1;grid-row:2/4}.desk-assist~.desk-undo{grid-column:1/-1;grid-row:4}.desk-stat-actions button{font-size:16px}.desk-heading{margin-bottom:5px}.live-team .live-avatar{width:28px;height:28px}.live-five b{font-size:15px}}
.match-desk .score-back,.match-desk .score-ctrl{background:#eaf0e7;color:#2f503d;border-color:#d9e3d4}.match-desk .score-team.red .score-number,.match-desk .score-team.blue .score-number{color:#264936;text-shadow:none}.match-desk .score-vs{color:#7a8c79}.match-desk .clock-mini{background:#edf2e9;color:#56704d}.match-desk .clock-mini strong{color:#284d35}.match-desk .score-status{color:#496344;background:#edf2e7}.recording-desk .desk-selection{margin-bottom:0}.recording-desk .desk-stat-actions{margin-top:0}
@media(min-width:821px) and (max-height:900px){.period-tabs{grid-column:1/-1}.period-navigation{margin:6px 0}.match-desk .score-team{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;min-height:82px;padding:6px 14px}.match-desk .score-team .team-title{grid-column:1;grid-row:1;white-space:normal;font-size:17px}.match-desk .score-team .score-number{grid-column:2;grid-row:1/3;margin:0;font-size:48px;letter-spacing:-.04em}.match-desk .score-team .points-row{grid-column:1;grid-row:2;display:flex;justify-content:flex-start;gap:6px;margin:0}.match-desk .score-team .points-row button{font-size:16px;min-height:34px;padding:4px 12px}.match-desk .score-team>.mini{display:none}.recording-desk{padding:10px}}
.match-desk .clock-row .board-backup{color:#35563f;background:#eaf0e7;border:1px solid #d7e1d1}
.simple-match #liveLineup{top:0;padding:12px;background:#f5f7f1;border-radius:16px;margin-bottom:10px}.simple-lineup-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-size:16px;color:#39513c}.simple-lineup-head button{padding:7px 18px;border-radius:9px;background:#e3ecdc;color:#365338}.live-five.simple-lineup{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.simple-lineup>div{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0}.simple-lineup .live-avatar{width:44px;height:44px}.simple-lineup b{font-size:17px;color:#2d4933}.simple-lineup small{font-size:13px;color:#72816a}.simple-match .score-top{margin-top:8px}.simple-match .score-center{margin:10px 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px}.simple-match .score-clock{font-size:38px}.simple-match .score-status{font-size:14px}.simple-match .clock-row{margin:0}.clock-extras{position:relative;color:#58724c;font-size:14px}.clock-extras summary{cursor:pointer;padding:10px;border-radius:9px;background:#edf2e8}.clock-extras[open]>div{position:absolute;top:100%;right:0;z-index:20;background:#fff;padding:16px;width:340px;max-width:80vw;border:1px solid #dbe5d4;box-shadow:0 8px 24px #213d3922;border-radius:12px;display:flex;gap:8px;flex-wrap:wrap}.own-total{display:flex;align-items:center;justify-content:center;gap:28px;background:#fff;border:1px solid #dfe7d7;border-radius:14px;padding:8px;margin-bottom:12px;color:#46603f}.own-total span{font-size:18px}.own-total strong{font-size:54px;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}.simple-desk{background:#fff;border:1px solid #dfe7d7;border-radius:16px;padding:20px;margin:12px 0}.simple-hint{font-size:17px;color:#667b5e;margin-bottom:12px}.simple-score-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.simple-score-buttons button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#bb663d;color:#fff;min-height:105px;border-radius:16px;gap:2px}.simple-score-buttons strong{font-size:44px;font-weight:600;line-height:1.2}.simple-score-buttons span{font-size:18px}.simple-stat-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.simple-stat-buttons button,.simple-bottom button{padding:12px 20px;background:#eef3e7;border:1px solid #dce5d4;color:#3b5638;border-radius:10px;font-size:17px;min-height:48px}.simple-bottom{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #edf0e8;padding-top:14px}.simple-score-team+ .simple-score-team{margin-top:20px}.simple-score-team h3{font-size:18px;margin-bottom:10px}.simple-score-picker{max-width:760px;width:100%;padding:24px;background:#fff;color:#2f4935;max-height:100%;overflow-y:auto;border-radius:22px}.simple-score-picker .picker-head b{font-size:25px;color:#2f4935}.simple-score-picker .picker-head small{font-size:15px;color:#6b7f62}.simple-score-picker .picker-close{color:#33523d;background:#edf2e8;border-radius:50%;flex-shrink:0}.simple-score-picker h3{margin:17px 0 10px;font-size:18px;font-weight:500}.simple-score-picker h3 small{font-size:14px;color:#75866a}.simple-pick-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.simple-pick-five button{display:flex;align-items:center;flex-direction:column;gap:6px;border:1px solid #dce5d5;border-radius:13px;padding:14px 6px;background:#f6f8f1;color:#355039;min-width:0;min-height:122px}.simple-pick-five button.chosen{border:2px solid #63864d;background:#e6efdb}.simple-pick-five button b{font-size:18px;font-weight:500;white-space:nowrap}.simple-pick-five button small{font-size:13px;color:#748269}.simple-pick-five button:disabled{opacity:.3}.no-assist{display:block;width:100%;margin:14px 0;min-height:48px;background:#e5eddb;color:#365733;border:1px solid #ccd9c1;border-radius:11px;font-size:18px}.simple-match .period-actions [data-action=matchResult]{display:none}
@media(max-width:700px){.simple-match #liveLineup{padding:10px}.simple-lineup .live-avatar{width:34px;height:34px}.simple-lineup b{font-size:14px}.simple-lineup small{font-size:11px}.live-five.simple-lineup{gap:5px}.simple-score-buttons{gap:10px}.simple-score-buttons button{min-height:90px}.simple-score-buttons strong{font-size:36px}.simple-score-buttons span{font-size:16px}.simple-desk{padding:15px}.simple-stat-buttons{gap:8px}.simple-stat-buttons button,.simple-bottom button{font-size:15px;padding:10px 13px}.simple-bottom{flex-wrap:wrap}.simple-score-picker{padding:18px}.simple-pick-five{gap:5px}.simple-pick-five button{padding:11px 3px;min-height:105px}.simple-pick-five button b{font-size:14px}.simple-pick-five button small{font-size:11px}.simple-pick-five .live-avatar{width:32px;height:32px}.simple-score-picker .picker-head b{font-size:22px}.own-total span{font-size:16px}}
/* V2.1 preview: fast courtside operation and quiet personal views. */
.v21-board{max-width:1240px;margin:auto;color:#243c33}.v21-board #liveLineup{background:#f7f9f5;top:0;padding:10px 16px;border-bottom:1px solid #dce4db}.v21-board .simple-lineup-head{margin-bottom:5px}.v21-board .live-five{gap:8px}.lineup-person{display:flex;flex-direction:column;align-items:center;gap:4px!important;border:1px solid #dce4db!important;border-radius:12px;background:#fff!important;color:#233b30!important;padding:8px!important;min-width:0}.lineup-person:disabled{opacity:1;cursor:default}.lineup-person b{font-size:17px}.lineup-person small{font-size:12px;color:#64776a}.lineup-person .live-avatar{width:42px;height:42px;font-size:20px}.v21-board .score-top{padding:10px 0;margin:0}.period-now{white-space:nowrap;font-size:18px;color:#90592d}.v21-board .score-heading b{color:#263b30;font-size:17px}.v21-board .score-heading span{font-size:12px}.v21-board .score-top button{padding:9px 12px}.v21-board .sync-ribbon{padding:6px 12px;font-size:12px;min-height:0}.v21-overview{display:grid;grid-template-columns:1.45fr 1fr;gap:14px;margin:12px 0}.compact-score,.attack-clock{border:1px solid #dce4db;border-radius:16px;background:#fff;padding:12px 16px}.compact-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;gap:8px}.compact-score>span{font-size:17px;font-weight:600}.compact-score>strong{font-size:44px;line-height:1.15;letter-spacing:1px;color:#203b30}.compact-score i{font-style:normal;color:#9caba0;padding:0 12px}.compact-score>small{grid-column:1/-1;font-size:12px;line-height:1.65;color:#6d7c70}.attack-clock{display:flex;align-items:center;justify-content:space-between;background:#eaf0e9}.attack-clock>div:first-child{display:grid;text-align:center;gap:2px}.attack-clock span{font-size:12px;color:#65766a}.attack-clock strong{font-size:50px;font-variant-numeric:tabular-nums;line-height:1.05;color:#2a4736}.attack-clock small{font-size:12px;color:#637866}.attack-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.attack-actions button{border:1px solid #d4ddd2;background:white;border-radius:8px;padding:9px 13px;color:#2a4635;font-size:15px}.attack-actions button:last-child{grid-column:1/-1;font-size:12px}.attack-clock.urgent{background:#ffded5;border-color:#de7b57}.attack-clock.urgent strong{color:#a93623}.v21-board .simple-desk{padding:0;border:0;background:none}.v21-board .simple-score-buttons{gap:10px}.v21-board .simple-score-buttons button{min-height:75px;padding:10px;border-radius:12px}.v21-board .simple-score-buttons strong{font-size:32px}.v21-board .simple-score-buttons span{font-size:15px}.all-stat-buttons{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:10px 0}.all-stat-buttons button{background:#fff;color:#2a4236;border:1px solid #d8e1d6;border-radius:10px;min-height:46px;font-size:16px;padding:8px}.all-stat-buttons button:nth-child(-n+3){background:#f6efe7;color:#87562c}.opponent-quick{display:grid;grid-template-columns:1fr 2fr;align-items:center;padding:12px 16px;border:1px solid #dbe3da;background:#e9eeeb;border-radius:12px;gap:8px}.opponent-quick strong{font-size:17px}.opponent-quick small{display:block;color:#708074;font-size:12px}.opponent-buttons{display:flex;gap:8px}.opponent-buttons button{flex:1;min-height:42px;border:1px solid #ced8cd;border-radius:8px;background:white;color:#365342;font-size:18px}.opponent-quick p{grid-column:1/-1;margin:0;font-size:12px;color:#617367}.v21-board .simple-bottom{margin-top:10px}.v21-board .simple-bottom button{font-size:15px;padding:12px}.v21-board .match-details{margin-top:12px}.continuous-clock{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px}.continuous-clock strong{font-size:30px}.continuous-clock button{padding:8px}.privacy-toggle{display:flex;align-items:center;gap:9px;font-size:14px;margin:14px 0;line-height:1.5}.privacy-toggle input,.invite-list input{width:18px!important;height:18px!important;min-height:18px!important;flex:none;accent-color:#8c6742}.invite-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:220px;overflow:auto;border:1px solid #dce3d9;border-radius:10px;padding:12px}.invite-list label{display:flex;gap:6px;align-items:center;font-size:14px}.pregame{white-space:pre-wrap;line-height:1.8;color:#5c715f;padding:12px;background:#edf1e9;border-radius:10px}.pregame summary{font-size:14px;cursor:pointer}.roster-person{display:flex;gap:12px;align-items:center}.roster-person .live-avatar,.unregistered .live-avatar{flex:none;width:42px;height:42px}.member-info{flex:1}.member-info small{font-size:12px}.unregistered{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.unregistered>span{display:flex;align-items:center;gap:6px;font-size:14px;border:1px solid #e0e6dc;padding:6px 10px;border-radius:30px}.my-profile{display:flex;gap:18px;align-items:center}.my-profile .live-avatar{width:72px;height:72px;font-size:30px}.my-profile h3{font-size:24px;margin:0}.my-profile p{font-size:14px;color:#6a7c6d}.my-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.my-counts>div{display:flex;flex-direction:column;align-items:center;gap:5px;padding:14px;background:#f1f4ee;border-radius:12px}.my-counts strong{font-size:25px;color:#38523e}.my-counts span,.my-counts small{font-size:12px;color:#778372}.my-radar{display:block;max-width:400px;margin:auto}.my-history,.discussion-row{border-top:1px solid #e0e7dc;padding:16px 0}.my-history small,.search-row small{display:block;font-size:12px;color:#72816f;margin:5px 0}.my-history p{font-size:14px;line-height:1.8}.search-row{display:block;width:100%;text-align:left;background:#f4f6f0;padding:14px;border:1px solid #e2e8dc;border-radius:10px;margin-top:10px}.export-preview{width:100%;height:auto;display:block;margin:16px 0}.v21-board .stats-scroll{overflow:auto}.v21-board .stats-table{min-width:1800px}.v21-board .stats-table th,.v21-board .stats-table td{font-size:13px}.v21-board .match-details p{color:#576e5d}.v21-board .simple-lineup-head button{font-size:12px}
@media(max-width:650px){.v21-board{padding:0 10px 24px}.v21-board #liveLineup{padding:8px 0}.lineup-person{padding:6px 2px!important;gap:3px!important}.lineup-person b{font-size:13px}.lineup-person small{font-size:10px}.lineup-person .live-avatar{width:34px;height:34px;font-size:17px}.v21-board .score-top{gap:6px;flex-wrap:wrap}.v21-board .score-heading{flex:1}.v21-board .score-heading b{font-size:14px}.v21-board .score-heading span{font-size:11px}.v21-board .period-now{font-size:14px}.v21-board .score-ctrl{font-size:11px}.v21-overview{grid-template-columns:1fr;gap:8px}.compact-score{padding:10px}.compact-score>strong{font-size:36px}.compact-score>span{font-size:14px}.attack-clock{padding:8px 14px}.attack-clock>div:first-child{grid-template-columns:auto auto;align-items:center;column-gap:12px}.attack-clock span{grid-column:1/-1}.attack-clock strong{font-size:36px}.attack-actions{display:flex;gap:6px}.attack-actions button{padding:8px;font-size:13px}.all-stat-buttons{grid-template-columns:repeat(3,1fr);gap:7px}.all-stat-buttons button{min-height:46px;font-size:14px}.v21-board .simple-score-buttons button{min-height:67px}.v21-board .simple-score-buttons strong{font-size:28px}.opponent-quick{grid-template-columns:1fr;padding:10px}.opponent-quick>div:first-child{display:flex;gap:10px;align-items:center}.opponent-buttons button{font-size:17px}.v21-board .simple-bottom{flex-wrap:wrap}.v21-board .simple-bottom button{font-size:13px;padding:10px}.invite-list{grid-template-columns:repeat(2,1fr)}.roster-person{gap:7px;flex-wrap:wrap}.roster-person .member-actions{width:100%;justify-content:flex-start;padding-left:49px}.my-counts{grid-template-columns:repeat(3,1fr)}.my-counts>div{padding:10px 4px}.my-counts strong{font-size:22px}}
/* Keep every common courtside control within a 1024×768 landscape screen. */
@media(min-width:800px){.v21-board{padding-top:4px}.v21-board #liveLineup{padding:6px 10px}.v21-board .simple-lineup-head{min-height:30px}.v21-board .simple-lineup-head button{min-height:30px;padding:4px 10px}.v21-board .lineup-person{flex-direction:row;justify-content:center;flex-wrap:wrap;padding:6px!important;min-height:54px}.v21-board .lineup-person small{font-size:11px}.v21-board .lineup-person .live-avatar{width:34px;height:34px}.v21-board .score-top{min-height:46px;padding:6px 0}.v21-board .score-top button{min-height:34px;padding:5px 10px}.v21-board .lease-controls{margin:5px 0;padding:4px 10px}.v21-board .lease-controls button{min-height:30px;padding:4px 10px}.v21-overview{margin:8px 0;gap:10px}.v21-board .compact-score,.v21-board .attack-clock{padding:8px 12px}.v21-board .compact-score strong{font-size:37px}.v21-board .attack-clock strong{font-size:40px}.v21-board .simple-score-buttons button{line-height:1.15;min-height:70px;padding:8px}.v21-board .simple-score-buttons span{margin-top:5px}.v21-board .opponent-quick{padding:8px 12px}.v21-board .simple-bottom button{min-height:40px;padding:7px 12px}.v21-board .simple-bottom{margin-top:7px}.v21-board .all-stat-buttons{margin:8px 0}.v21-board .period-navigation{margin-top:12px}}
@media(max-width:650px){.v21-board .attack-clock{flex-wrap:wrap;gap:9px}.v21-board .attack-clock>div:first-child{display:flex;align-items:center;justify-content:space-between;flex:1;gap:12px}.v21-board .attack-clock .attack-actions{min-width:185px;justify-content:flex-end}.v21-board .attack-clock .attack-actions button{white-space:nowrap}.v21-board .attack-clock .attack-actions button:last-child{font-size:11px}}
.my-counts{grid-template-columns:repeat(3,minmax(0,1fr))}.my-counts>div{min-width:0}.my-counts strong{max-width:100%;overflow-wrap:anywhere}.my-counts span,.my-counts small{text-align:center;max-width:100%}
.preview-banner{padding:8px 14px;text-align:center;background:#eadbc5;color:#685334;font-size:13px;line-height:1.5}.preview-banner+.topbar{position:relative}
