@font-face{font-family:LocalCN;src:local("PingFang SC"),local("Microsoft YaHei");font-display:swap}
:root{color-scheme:dark;--bg:#10151c;--surface:#19212b;--raised:#202b37;--line:#303c48;--text:#f3f5f5;--muted:#a1aebc;--orange:#f5a354;--red:#ec9087;--blue:#9fbdf1;--green:#a1d9b4;--radius:12px;font-family:LocalCN,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--text);font-synthesis:none}
*{box-sizing:border-box}html{background:#0b1016;scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;font-size:14px;line-height:1.5;background:radial-gradient(ellipse at 50% 0,#202b36 0,#0b1016 70%);min-height:100dvh}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--orange);outline-offset:3px}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;line-height:1.22;letter-spacing:-1px}h2{font-size:19px;line-height:1.35}h3{font-size:14px}small{font-size:10px}strong,b{font-weight:650}input,select{width:100%;border:1px solid var(--line);background:var(--bg);border-radius:8px;padding:12px;color:var(--text);min-height:46px}input::placeholder{color:#8897a8}label{display:block}em{font-style:normal;color:var(--orange)}
.game-shell{width:100%;max-width:500px;margin:auto;min-height:100dvh;background:var(--bg);box-shadow:0 0 80px #0004;position:relative}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#10151cf5;position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line)}.brand{display:flex;gap:10px;align-items:center;font-size:18px;font-weight:750;letter-spacing:1px}.brand small{font-size:8px;display:block;letter-spacing:2.5px;color:var(--muted);font-weight:500}.brand-mark{background:var(--orange);color:#171a1c;width:34px;height:38px;display:grid;place-items:center;border-radius:5px;font-size:22px;transform:skew(-5deg)}.top-actions{display:flex;gap:12px;align-items:center}.save-status{font-size:10px;color:var(--muted)}.icon-text{padding:7px 9px;border:1px solid var(--line);border-radius:7px;font-size:12px}.main-nav{height:46px;display:grid;grid-template-columns:repeat(3,1fr);background:var(--bg);border-bottom:1px solid var(--line)}.nav-item{color:var(--muted);font-size:13px;position:relative}.nav-item.active{color:var(--orange);font-weight:650}.nav-item.active:after{position:absolute;content:"";height:2px;background:var(--orange);bottom:0;left:30%;right:30%}main{padding:0 20px 24px;min-height:calc(100dvh - 190px)}.steps{display:flex;justify-content:space-between;padding:17px 0 15px;gap:5px}.steps span{color:#8391a1;font-size:11px;white-space:nowrap}.steps b{font-family:ui-monospace,monospace;font-weight:400;margin-right:5px;font-size:10px}.steps .current{color:var(--orange)}.steps .done{color:#c6d2da}
.opening{display:grid;grid-template-columns:1.2fr 1fr;min-height:222px;align-items:center;position:relative;overflow:hidden;margin:0 -20px 20px;padding:20px 22px;background:linear-gradient(125deg,#202b37,#161e28 65%)}.overline{color:var(--muted);font-size:10px;letter-spacing:1.5px;font-weight:550;display:block}.opening h1{font-size:33px;line-height:1.22;letter-spacing:-1.5px;margin:12px 0 16px}.opening p{color:var(--muted);font-size:10px;white-space:nowrap}.opening-text{position:relative;z-index:2}.opening-court{position:relative;height:170px;border:1px solid #5b657a66;transform:rotate(-12deg) translateX(24px);border-radius:3px;background:linear-gradient(130deg,#d4e0f50c,#8ea9cb02);display:flex;flex-direction:column;align-items:center;justify-content:center}.opening-court:before{content:"";position:absolute;width:70px;height:75px;top:-1px;border:1px solid #60718888;border-radius:0 0 35px 35px}.opening-court:after{content:"";position:absolute;width:160px;height:120px;top:-1px;border:1px solid #60718866;border-radius:0 0 90px 90px}.opening-court strong{font-family:Impact,"Arial Narrow",sans-serif;font-weight:900;line-height:1;font-size:112px;color:var(--orange);transform:rotate(12deg);position:relative;z-index:1}.opening-court>span{font-size:11px;letter-spacing:3px;color:#cfdae4;transform:rotate(12deg);margin:5px 0 0 20px}.center-ring{position:absolute;bottom:-20px;width:45px;height:45px;border:1px solid #60718866;border-radius:50%}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 12px}.section-heading h2{font-size:18px}.section-heading small{color:var(--muted)}.section-heading.compact{margin:16px 0 8px}.segmented{display:flex;background:#0c1118;border:1px solid var(--line);border-radius:8px;padding:3px;gap:2px}.segmented button{padding:6px 12px;color:var(--muted);font-size:12px;border-radius:5px}.segmented .selected{color:var(--text);background:#34414f}.conference-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.conference{border:1px solid var(--line);background:#161e27;border-radius:var(--radius);overflow:hidden}.conference h3{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;font-size:14px;border-bottom:1px solid var(--line)}.conference h3 small{color:var(--muted);font-family:ui-monospace,monospace}.east h3,.east.overline{color:var(--red)}.west h3,.west.overline{color:var(--blue)}.conference.east{border-top:3px solid #ba6a60}.conference.west{border-top:3px solid #6c8fbc}.lobby-slot{display:flex;gap:8px;width:100%;min-height:64px;align-items:center;text-align:left;padding:10px;color:var(--muted);font-size:12px}.lobby-slot+.lobby-slot{border-top:1px solid #26323e}.slot-number{font-family:ui-monospace,monospace;font-size:12px;align-self:center;color:#8392a3}.slot-name{min-width:0}.slot-name strong{color:var(--text);font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:135px}.slot-name small{display:block;color:var(--muted);font-size:9px;margin-top:3px;white-space:nowrap}.lobby-slot:hover{background:#253241}.inline-actions{display:flex;gap:8px;justify-content:space-between;margin:12px 0}.subtle-button{background:#1d2834;color:#cfdae4;padding:10px 13px;border:1px solid #354353;border-radius:8px;font-size:12px;min-height:40px}.inline-actions .subtle-button{flex:1}.draft-order{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-size:12px}.helper{color:var(--muted);font-size:11px;line-height:1.7;margin:9px 0 13px}.center{text-align:center}.button{min-height:48px;border-radius:9px;padding:12px 16px;background:#293747;color:var(--text);font-weight:650;font-size:13px;border:1px solid #3c4b5a;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button.primary{background:var(--orange);color:#171a20;border-color:var(--orange)}.button.primary span{margin-left:auto;font-size:20px}.button.danger{background:#793d3d}.full{width:100%}.primary-action{margin-top:14px}.text-button{color:var(--orange);font-size:11px;padding:8px 2px;min-height:32px}.muted{color:var(--muted)}.search{display:flex;align-items:center;background:#19232f;border:1px solid var(--line);border-radius:9px;margin-bottom:6px;padding:0 12px;color:var(--muted)}.search input{background:transparent;border:0;font-size:12px;padding:10px;min-height:42px}.search>span{font-size:22px}.player-row{display:flex;align-items:center;gap:10px;padding:12px 2px;border-bottom:1px solid #283440}.avatar{width:33px;height:33px;flex-shrink:0;background:#2b3b4b;border:1px solid #475767;border-radius:9px;display:grid;place-items:center;font-size:14px;color:#e1e9ee}.player-name{flex:1;min-width:0}.player-name strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-name small{color:var(--muted);display:block;margin-top:2px;font-size:9px}.balance{text-align:right;min-width:42px}.balance b{font-family:ui-monospace,monospace;font-size:16px}.balance small{display:block;color:var(--muted);font-size:9px}.small-button{border:1px solid #3d4a5a;font-size:11px;padding:7px 11px;border-radius:6px;color:#dbe3ed;min-height:34px}.page-title{padding:30px 0 14px}.page-title h1{margin:10px 0}.page-title p{font-size:12px;color:var(--muted)}.empty{padding:30px 18px;text-align:center;border:1px dashed #354454;border-radius:10px;margin:12px 0;color:var(--muted)}.empty strong{display:block;font-size:14px;color:#d3dce7;margin-bottom:7px}.empty p{font-size:11px;line-height:1.8}.site-footer{padding:18px 20px 26px;display:flex;justify-content:space-between;border-top:1px solid #25313c;color:#8192a2;font-size:9px}.site-footer span:first-child{font-size:11px;color:#a3b1bd}
.team-heading{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;margin:12px 0 18px}.team-heading h1{font-size:24px;margin-top:7px;overflow-wrap:anywhere}.budget{display:flex;align-items:center;gap:7px}.budget strong{font-family:Impact,"Arial Narrow",sans-serif;color:var(--orange);font-size:40px;font-weight:500;line-height:1}.budget span{font-size:9px;color:var(--muted);line-height:1.7}.timer-button{border:1px solid #4d5e6d;border-radius:9px;min-width:47px;padding:6px;background:#18232e}.timer-button b{display:block;font-family:ui-monospace,monospace;font-size:21px}.timer-button small{display:block;color:var(--muted);font-size:9px}.timer-button.urgent{border-color:var(--red);color:var(--red)}.coach-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0}.tier{background:#17222e;border:1px solid var(--line);border-radius:9px;padding:12px 5px;color:var(--muted);font-size:11px}.tier b{font-size:22px;font-family:ui-monospace,monospace;color:var(--text)}.tier span{display:block;font-size:11px;margin-top:4px}.tier.selected{border-color:var(--orange);background:#322b24}.tier.selected b,.tier.selected span{color:var(--orange)}.coach-list{display:flex;flex-direction:column;gap:10px}.coach-option{display:grid;grid-template-columns:32px 1fr 14px;gap:13px;text-align:left;padding:17px 14px;border:1px solid var(--line);border-radius:10px;background:#1a2531}.coach-option:hover{border-color:var(--orange);background:#233140}.coach-price{font-family:Impact,"Arial Narrow",sans-serif;font-size:30px;line-height:1.2;color:var(--orange);border-right:1px solid #425061}.coach-price small{display:block;font-size:10px;font-family:system-ui}.coach-option h2{margin:5px 0 9px;font-size:20px}.coach-option p{color:#c5cfda;font-size:11px;line-height:1.6;margin-bottom:8px}.coach-option>div>small{color:#aeb5bf;font-size:10px;line-height:1.6}.option-arrow{font-size:18px;color:var(--orange)}.context-note{background:#1a2531;padding:15px;border-left:2px solid var(--orange);margin:20px 0}.context-note b{font-size:13px}.context-note p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:5px}.footer-actions{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:15px}.featured-player{padding:17px 18px;display:flex;justify-content:space-between;gap:10px;border-radius:10px;background:linear-gradient(115deg,#334756,#253543 65%,#1c2935);border:1px solid #52616c;position:relative;overflow:hidden}.featured-player:after{content:"";position:absolute;right:-45px;bottom:-100px;width:220px;height:220px;border:1px solid #8196a133;border-radius:50%;pointer-events:none}.featured-player h2{font-size:23px;margin:8px 0 1px;overflow-wrap:anywhere;max-width:270px}.featured-player p{font-size:9px;color:#b2c0c9}.featured-player .overline{font-size:9px;color:#c1cdd5}.card-rating{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0;z-index:1}.card-rating strong{font-family:Impact,"Arial Narrow",sans-serif;font-size:40px;color:var(--orange);line-height:1}.card-rating span{font-size:9px;color:#c1cdd5;margin:5px 0 10px}.card-rating b{font-size:12px;padding:4px 11px;background:#10202c;border:1px solid #667987;border-radius:5px}.stat-trio{display:flex;gap:17px;margin-top:13px}.stat-trio span{font-size:8px;color:#bdcbd3}.stat-trio b{display:block;font-family:ui-monospace,monospace;font-size:15px;font-weight:650;color:var(--text);margin-bottom:1px}.accent{color:var(--orange)}.candidate-table{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#17212c}.candidate-labels,.candidate{display:grid;grid-template-columns:1fr 55px 45px;align-items:center;gap:5px}.candidate-labels{background:#263340;padding:7px 12px;font-size:9px;color:#bdc8d4}.candidate-labels span:not(:first-child){text-align:center}.candidate-scroll{max-height:226px;overflow:auto;scrollbar-width:thin;scrollbar-color:#687784 #18232e}.candidate{width:100%;padding:9px 12px;text-align:left;border-bottom:1px solid #2b3845;font-size:12px;min-height:52px}.candidate>span:first-child{min-width:0}.candidate b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.candidate small{color:#a5b5c4;font-size:9px;display:block;margin-top:2px}.candidate>span:nth-child(2){text-align:center;font-family:ui-monospace,monospace}.candidate>strong{text-align:center;color:var(--orange);font-family:ui-monospace,monospace;font-size:16px}.candidate.selected{background:#3a3127;box-shadow:inset 3px 0 var(--orange)}.candidate.unavailable{opacity:.36}.candidate:hover:not(:disabled){background:#34414c}
.court{height:175px;position:relative;border:1px solid #ba8b53;background:linear-gradient(110deg,#fff0c02b,#fff0c008 45%,#663d1724),repeating-linear-gradient(0deg,transparent 0 62px,#70461c24 62px 63px,transparent 63px 126px),repeating-linear-gradient(90deg,#edc48a33 0 23px,#754b2826 23px 24px,#fff1cb1f 24px 48px,#754b2826 48px 49px),#c39761;border-radius:10px 10px 0 0;overflow:hidden}.court-key{position:absolute;background:#7e392a55;border:1px solid #fff1d8b3;width:36%;height:42%;left:32%;top:0;border-radius:0 0 45% 45%}.court-key:after{content:"";position:absolute;top:8px;left:36%;width:28%;height:2px;background:#fff4df}.court-arc{position:absolute;width:85%;height:100%;border:1px solid #fff1d8b3;border-radius:0 0 50% 50%;left:7.5%;top:-15%}.court-circle{width:70px;height:70px;border:1px solid #fff1d8b3;border-radius:50%;position:absolute;bottom:-43px;left:calc(50% - 35px)}.court-player{position:absolute;width:34%;text-align:center;z-index:2;background:#29231ef2;border:1px solid #ddbc8e99;border-radius:7px;padding:5px 2px;min-height:50px;box-shadow:0 3px 7px #462a193d}.court-player>span{position:absolute;top:-8px;background:#e3c396;color:#322418;font-size:8px;line-height:14px;padding:0 6px;border-radius:3px;left:calc(50% - 15px);font-weight:750}.court-player b{font-size:10px;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:1.8;padding-top:3px}.court-player small{font-size:8px;display:block;color:#d9c8b0}.position-C{left:12%;top:15px}.position-PF{right:12%;top:15px}.position-SF{left:3%;top:78px}.position-SG{right:3%;top:78px}.position-PG{left:33%;top:118px}.slot-active{border-color:var(--orange)!important;background:#503c25!important}.bench{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#8c6c49;border:1px solid #8c6c49;border-top:0;border-radius:0 0 8px 8px;overflow:hidden}.bench-player{background:#2e261f;padding:9px 3px;min-width:0}.bench-player small{color:#d3bfa3;display:block;font-size:8px}.bench-player b{font-size:9px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.rivals{margin-top:18px}.rival-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.rival{text-align:left;background:#19232e;padding:8px;border:1px solid #2e3d4c;border-radius:6px;min-width:0}.rival strong{font-size:10px;display:flex;justify-content:space-between;gap:6px}.rival.east strong{color:var(--red)}.rival.west strong{color:var(--blue)}.rival strong small{color:var(--muted);font-size:9px}.rival p{font-size:8px;color:#b8c5d0;line-height:1.7;margin-top:4px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sticky-action{position:sticky;bottom:0;z-index:10;margin:18px -20px 0;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:#10151ced;border-top:1px solid #475360;backdrop-filter:blur(10px)}.sticky-action .button{min-height:48px}.team-preview{margin:20px 0 28px}.profile-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.profile-title strong{font-size:18px}.profile-title span{font-size:11px;color:var(--muted)}.coach-caption{font-size:11px;background:#1b2734;padding:10px 12px;border-radius:6px;margin-top:10px;color:#d2dce5}.power-strip{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;border-block:1px solid var(--line);padding:12px 0;margin:13px 0}.power-strip span{font-size:9px;color:#b1bfcc}.power-strip b{font-family:ui-monospace,monospace;font-size:20px;display:block;margin-bottom:2px;color:var(--text)}.power-strip .positive b{color:var(--green)}.power-strip .negative b{color:var(--red)}.bond-tags{display:flex;flex-wrap:wrap;gap:5px}.bond-tags span{font-size:9px;color:#e8c993;background:#3c3227;border:1px solid #62503a;border-radius:5px;padding:4px 7px}
.result-heading{padding:26px 0 20px}.result-heading h1{margin:8px 0 12px;font-size:28px}.result-heading p{color:var(--muted);font-size:11px}.match-row{display:grid;grid-template-columns:1fr 64px 1fr;gap:4px;align-items:center;text-align:center;padding:14px 10px;background:#1b2632;border:1px solid #32414f;border-radius:8px;width:100%;margin:8px 0}.match-row>span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.match-row b{font-size:19px;font-family:ui-monospace,monospace;color:var(--orange)}.match-row small{grid-column:1/4;color:var(--muted);font-size:9px;margin-top:3px}.standings-grid{display:flex;flex-direction:column;gap:15px}.standings{background:#18232e;border:1px solid var(--line);border-radius:10px;padding:13px}.standings h3{font-size:14px;margin-bottom:8px}.standing-row{display:flex;gap:12px;padding:10px 1px;align-items:center}.standing-row+.standing-row{border-top:1px solid #2c3b49}.standing-row .rank{font-family:ui-monospace,monospace;font-size:23px;min-width:24px;color:#8495a6}.standing-row:first-of-type .rank{color:var(--orange)}.standing-row span{flex:1}.standing-row span strong{display:block;font-size:12px}.standing-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.standing-row>b:last-child{font-family:ui-monospace,monospace;font-size:20px}.positive{color:var(--green)!important}.negative{color:var(--red)!important}#group-results{scroll-margin-top:85px}.series-heading{margin:16px 0 24px}.series-heading h1{font-size:25px;margin:8px 0}.series-heading p{font-size:11px;color:var(--muted)}.scoreboard{display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:center;text-align:center;padding:20px 5px;background:linear-gradient(135deg,#293543,#1b2530);border:1px solid #4b5967;border-radius:12px}.score-team{min-width:0}.avatar.large{width:46px;height:46px;border-radius:12px;margin:auto;font-size:23px}.avatar.east{background:#5d3f3e;border-color:#96706b;color:#ffdbd6}.avatar.west{background:#344b6a;border-color:#728eaf;color:#d6e6ff}.score-team h2{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:10px 0 0}.score-team .text-button{font-size:9px}.series-score strong{font-family:Impact,"Arial Narrow",sans-serif;font-size:62px;font-weight:500;letter-spacing:-2px;line-height:1}.series-score i{font-family:ui-monospace,monospace;font-size:25px;color:#99a7b5;font-style:normal;margin:0 6px;vertical-align:middle}.series-score>span{display:block;color:#aebcca;font-size:9px;letter-spacing:2px;margin-top:12px}.winner-line{text-align:center;background:#3a2e21;border:1px solid #776043;color:var(--orange);padding:12px;border-radius:8px;margin-top:10px;font-size:15px}.winner-line b{display:block;font-size:10px;letter-spacing:2px;color:#dfc6a1;margin-top:4px}.game-rail{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:17px 0}.game-cell{background:#18212a;border:1px solid #2b3743;border-radius:6px;text-align:center;padding:7px 1px}.game-cell small{display:block;font-size:8px;color:#91a0ae;margin-bottom:5px}.game-cell b{display:block;font-family:ui-monospace,monospace;font-size:11px;color:#6f8090;line-height:1.9}.game-cell.played b{color:#dfe7ed}.latest-game{text-align:center;padding:18px 0;border-bottom:1px solid var(--line)}.latest-game h2{font-family:ui-monospace,monospace;font-size:33px;margin:8px 0}.latest-game p{font-size:11px;color:var(--orange)}.analysis{margin-top:17px;padding:13px;background:#18232d;border:1px solid var(--line);border-radius:8px}.analysis>div{display:grid;grid-template-columns:1fr 1fr 1fr;padding:5px 2px;text-align:center;font-size:11px;gap:6px}.analysis>div>span:first-child{text-align:left;color:#b3c1ce}.analysis>.analysis-labels{font-size:9px;color:var(--muted);margin-bottom:5px}.analysis p{font-size:9px;color:#93a4b5;margin-top:8px;line-height:1.7}.spotlights{display:grid;grid-template-columns:1fr 1fr;gap:12px}.spotlights>div{background:#1c2833;border-radius:9px;padding:14px}.spotlights small{color:var(--muted);font-size:9px;display:block}.spotlights strong{font-size:12px;display:block;margin:7px 0}.spotlights b{font-family:ui-monospace,monospace;font-size:29px;color:var(--orange)}.spotlights b span{font-family:system-ui;font-size:10px;margin-left:5px}.spotlights p{font-size:9px;color:#acbbc8;margin-top:5px}.action-pair{display:flex;gap:8px}.action-pair .button{flex:1;font-size:12px;padding:12px 8px}.matchup-intro{padding:42px 15px}.reinforce-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.reinforce-slots button{padding:9px 5px;background:#1d2a38;border:1px solid #3b4a59;border-radius:7px;min-width:0}.reinforce-slots button.selected{border-color:var(--orange);background:#3d3025}.reinforce-slots small{display:block;color:var(--muted);font-size:8px}.reinforce-slots b{display:block;font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:4px}.reinforce-candidates{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.reinforce-candidates .empty{grid-column:1/4}.upgrade-card{border:1px solid #526170;border-radius:9px;background:#263544;padding:16px 8px;text-align:center;min-width:0}.upgrade-card>span{font-size:9px;color:var(--muted)}.upgrade-card h2{font-size:11px;min-height:36px;margin:6px 0}.upgrade-card strong{font-family:Impact,"Arial Narrow",sans-serif;font-size:32px;color:var(--orange)}.upgrade-card p{font-size:8px;color:#bdcbd7;margin:3px 0 12px}.upgrade-card>b{font-size:9px;color:#efcba2}
.champion{position:relative;overflow:hidden;padding:36px 20px 27px;margin:0 -20px 26px;background:linear-gradient(135deg,#52422c,#252723);text-align:center;border-bottom:1px solid #887044}.champion .overline{color:#e3c89e;letter-spacing:4px}.champion-number{font-family:Impact,"Arial Narrow",sans-serif;font-size:148px;color:#d5af6640;line-height:1;margin:14px 0 -37px;letter-spacing:-5px}.champion h1{position:relative;font-size:36px;color:#ffe2b2;text-shadow:0 2px 15px #221807;overflow-wrap:anywhere}.champion p{font-size:11px;color:#d9c5a9;margin:14px 0 18px}.champion-label{font-size:11px;letter-spacing:7px;color:#e9ca98;display:inline-block;border-block:1px solid #9f855b;padding:7px 17px}.settled{font-size:9px;color:var(--green)}.settlement{border:1px solid #364453;border-radius:10px;background:#18232f;padding:3px 12px}.settle-row{display:grid;grid-template-columns:1fr 45px 55px;gap:8px;align-items:center;padding:14px 0}.settle-row+.settle-row{border-top:1px solid var(--line)}.settle-row strong{font-size:12px}.settle-row small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.settle-row>b{text-align:right;font-size:22px;font-family:ui-monospace,monospace}.wallet{text-align:right;font-size:16px;font-family:ui-monospace,monospace}.wallet small{font-family:system-ui}.history-row{display:flex;justify-content:space-between;text-align:left;align-items:center;background:#202c38;padding:15px;border:1px solid var(--line);border-radius:9px;margin-bottom:8px;width:100%}.history-row small{display:block;color:var(--muted);font-size:9px}.history-row strong{display:block;font-size:18px;margin:5px 0}.history-row span{font-size:9px;color:#8fa0b0}.history-row>b{font-size:12px;color:var(--orange)}.ledger>div{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid #2b3744}.ledger b{font-size:12px}.ledger small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:4px;line-height:1.6}.ledger>div>strong{text-align:right;min-width:50px}
dialog{background:var(--bg);color:var(--text);border:1px solid #576573;border-radius:16px;width:calc(100% - 24px);max-width:470px;max-height:90dvh;padding:0;box-shadow:0 18px 100px #0008}dialog::backdrop{background:#050a11b8;backdrop-filter:blur(5px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;background:#222f3c;border-bottom:1px solid #465462;position:sticky;top:0;z-index:4}.modal-head h2{font-size:17px}.modal-body{padding:20px}.modal-body form{display:grid;gap:17px}.modal-body form label{font-size:12px;color:#c2ced9}.modal-body form input,.modal-body form select{display:block;margin-top:7px}.modal-body p{line-height:1.8;font-size:12px;color:#b7c4cf;margin-bottom:15px}.player-picker{display:flex;flex-direction:column;gap:7px}.picker-row{display:flex;text-align:left;align-items:center;justify-content:space-between;background:#1c2936;border:1px solid #354557;border-radius:7px;padding:11px 13px}.picker-row b{font-size:13px}.picker-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.picker-row>strong{color:var(--orange);font-size:11px}.rule-block h3{color:var(--orange);font-size:14px;margin:17px 0 8px}.rule-block h3:first-child{margin-top:0}.card-detail h1{font-family:Impact,"Arial Narrow",sans-serif;font-size:62px;margin:15px 0;color:var(--orange)}.card-detail h1 small{font-family:system-ui;font-size:12px;margin-left:13px;color:var(--muted);font-weight:400}.detail-years>div,.traits>div{display:flex;justify-content:space-between;padding:8px 10px;border-bottom:1px solid var(--line);font-size:12px}.detail-years{background:#202d3a;border-radius:8px;padding:5px 7px;margin-bottom:15px}.traits{display:grid;grid-template-columns:repeat(2,1fr);gap:2px 20px}.report-title{display:grid;grid-template-columns:1fr 100px 1fr;text-align:center;align-items:center;gap:8px;font-size:12px;margin-bottom:20px}.report-title strong{font-family:ui-monospace,monospace;font-size:28px;color:var(--orange)}.report-game{margin:25px 0;border-top:1px solid #405061;padding-top:7px}.report-game>.section-heading>b{font-family:ui-monospace,monospace;font-size:20px;color:var(--orange)}.report-game p{font-size:10px}.box-grids{display:grid;grid-template-columns:1fr;gap:17px}.box-grids h4{font-size:12px;margin-bottom:7px;color:var(--orange)}table{width:100%;border-collapse:collapse;font-size:11px}td,th{text-align:right;padding:6px 5px;border-bottom:1px solid #2f3a46;font-weight:400}th{color:var(--muted);font-size:9px}td:first-child,th:first-child{text-align:left}td:first-child{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-label{background:#443728;color:#f4d4a8;border:1px solid #7a6346;border-radius:6px;padding:8px 11px;font-size:11px;margin-bottom:10px}
#toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translate(-50%,20px);background:#f1eee7;color:#1a2029;padding:12px 18px;border-radius:10px;box-shadow:0 5px 30px #0007;max-width:calc(100% - 28px);width:max-content;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}.busy [data-action]:not([data-action="close"]){pointer-events:none}.busy .sticky-action .primary{opacity:.65}.loading{width:100%;max-width:450px;margin:auto;padding:20dvh 24px;text-align:center}.loading>b{font-size:30px;color:var(--orange)}.loading p{font-size:13px;color:var(--muted);margin:15px 0}.loading-court{height:150px;border:1px solid #536e61;border-radius:12px;background:linear-gradient(90deg,#253a30,#29453a,#253a30);opacity:.5;margin-top:30px}.loading-court:after{content:"";display:block;width:60px;height:70px;margin:auto;border:1px solid #8caf8f;border-radius:0 0 30px 30px}
@media(min-width:650px){.game-shell{margin:22px auto;border:1px solid #3a4551;border-radius:18px;overflow:clip;min-height:calc(100dvh - 44px)}.topbar{border-radius:17px 17px 0 0}.sticky-action{bottom:0}.game-shell main{min-height:calc(100dvh - 235px)}}
@media(max-width:370px){main{padding-inline:14px}.topbar{padding-inline:14px}.opening{margin-inline:-14px;padding-inline:14px}.opening h1{font-size:29px}.opening-court{height:150px;transform:rotate(-12deg) translateX(14px)}.opening-court strong{font-size:95px}.opening p{font-size:9px}.team-heading{gap:9px}.team-heading h1{font-size:21px}.featured-player h2{font-size:20px}.card-rating strong{font-size:35px}.sticky-action{margin-inline:-14px;padding-inline:14px}.conference-grid{gap:8px}.lobby-slot{padding:8px;gap:5px}.slot-name strong{font-size:11px;max-width:104px}.steps span{font-size:10px}.steps b{margin-right:3px}.save-status{font-size:9px}.coach-option{gap:9px;padding:14px 10px}.reinforce-slots b{font-size:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}button:active:not(:disabled){transform:none}}
.draft-roster{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.draft-roster button{min-width:0;border:1px solid #40544e;background:#1c302b;border-radius:5px;padding:5px 3px;text-align:center}.draft-roster small{display:block;color:#b5cbbf;font-size:8px}.draft-roster b{display:block;font-size:9px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-top:1px}.is-drafting .topbar{height:51px}.is-drafting .brand{font-size:15px}.is-drafting .brand-mark{width:27px;height:30px;font-size:18px}.is-drafting .brand small{font-size:6px}.is-drafting .main-nav{height:34px}.is-drafting .steps{padding:9px 0}.is-drafting .team-heading{margin:3px 0 10px;gap:12px}.is-drafting .team-heading h1{font-size:20px;margin-top:3px}.is-drafting .budget strong{font-size:33px}.is-drafting .timer-button{padding:3px;min-width:40px}.is-drafting .timer-button b{font-size:19px}.is-drafting .overline{font-size:8px}.is-drafting .featured-player{padding:12px 14px}.is-drafting .featured-player h2{font-size:21px;margin:5px 0 1px}.is-drafting .stat-trio{margin-top:7px}.is-drafting .stat-trio b{font-size:13px}.is-drafting .card-rating strong{font-size:35px}.is-drafting .card-rating span{margin:3px 0 6px}.is-drafting .section-heading.compact{margin:10px 0 6px}.is-drafting .section-heading h3{font-size:12px}.is-drafting .section-heading small{font-size:8px}.is-drafting .candidate-scroll{max-height:152px}.is-drafting .candidate{min-height:45px;padding:7px 10px}.is-drafting .candidate-labels{padding:5px 10px}.is-drafting .rivals{margin-top:10px}.is-drafting .rival-grid{gap:4px;max-height:164px;overflow:auto;scrollbar-width:thin}.is-drafting .rival{padding:5px 7px}.is-drafting .rival p{margin-top:2px;line-height:1.45}.is-drafting .rival strong{font-size:9px}.is-drafting .sticky-action{margin-top:12px;padding-top:8px;padding-bottom:8px}.is-drafting .sticky-action .button{min-height:43px;padding:9px 10px;font-size:12px}.is-drafting .footer-actions{margin-top:6px}.is-drafting .site-footer{padding:10px 20px;font-size:8px}.is-drafting main{padding-bottom:10px}
@media(max-height:820px){.is-drafting .candidate-scroll{max-height:110px}.is-drafting .rival-grid{max-height:130px}}

.position-filters{display:grid;grid-template-columns:1.35fr repeat(5,1fr);gap:4px;margin-bottom:7px}.position-filters button{min-height:33px;padding:5px 2px;border:1px solid var(--line);border-radius:6px;font-size:10px;color:#aebfcd;background:#17212c}.position-filters button.selected{color:var(--orange);border-color:var(--orange);background:#3a3127}.draft-hint{font-size:9px;line-height:1.5;color:var(--muted);margin-top:5px}.placement-hint{font-size:10px;line-height:1.5;color:#c8d6df;margin-bottom:5px;text-align:center}.draft-roster button:disabled{opacity:1;cursor:default;background:#172720;border-style:dashed}.is-drafting .candidate.unavailable{opacity:.65}.draft-empty{min-height:120px;padding:24px 14px;border:1px solid var(--line);border-radius:9px;color:#b9c9d7}.draft-empty b{font-size:14px}.draft-empty p{font-size:11px;margin-top:8px}

.official-pause-button{border:1px solid #a8733c;color:#ffd6a9;background:#352a20;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:650;white-space:nowrap;min-height:34px}.has-round .save-status{display:none}.has-round .top-actions,.modal-actions{display:flex;align-items:center;gap:8px}.has-round .topbar{gap:8px}.has-round .brand{flex-shrink:0}

.draft-roster-section{margin-bottom:14px}.draft-detail-section{margin-top:12px}.is-drafting .draft-roster-section .section-heading{margin-top:4px}

/* Draft: select and inspect side by side, then preview the court. */
.draft-selection-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px;align-items:stretch}.draft-selection-grid>section{min-width:0;margin:0}.draft-selection-grid .candidate-table{height:238px}.draft-selection-grid .candidate-labels,.draft-selection-grid .candidate{grid-template-columns:minmax(0,1fr) 24px;gap:4px}.draft-selection-grid .candidate-labels{height:25px;padding:4px 8px}.is-drafting .draft-selection-grid .candidate-scroll{max-height:none;height:211px}.is-drafting .draft-selection-grid .candidate{min-height:48px;padding:7px 8px}.draft-selection-grid .candidate b{font-size:11px}.draft-selection-grid .candidate small{font-size:8px;line-height:1.5;overflow-wrap:anywhere}.draft-selection-grid .candidate>strong{font-size:16px;line-height:1.1}.draft-selection-grid .candidate>strong small{font-size:8px;margin:1px 0 0;color:#bdc7d2;font-weight:400}.is-drafting .draft-player-detail{height:238px;display:flex;flex-direction:column;padding:10px;gap:0;justify-content:flex-start}.draft-player-detail .detail-label{color:#adc2d0;font-size:9px;letter-spacing:.5px}.is-drafting .draft-player-detail h2{font-size:15px;line-height:1.25;margin:7px 0 2px;max-width:none;overflow-wrap:anywhere;position:relative;z-index:1}.draft-player-detail .detail-english{font-size:8px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex-shrink:0}.detail-positions{display:flex;flex-wrap:wrap;gap:3px;margin-top:8px}.detail-positions span{font-size:8px;color:#d2e0e9;background:#12243080;padding:2px 4px;border-radius:3px}.detail-rating{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-top:auto;padding-top:9px;z-index:1}.detail-rating>div>strong{display:block;font-family:Impact,"Arial Narrow",sans-serif;color:var(--orange);font-size:36px;line-height:1}.detail-rating>div>small{color:#aebfcb;font-size:8px}.detail-rating>b{font-family:ui-monospace,monospace;font-size:18px;color:#f9d3a8;text-align:center;white-space:nowrap;border:1px solid #71848d;padding:4px 5px;border-radius:5px}.detail-rating>b>small{display:block;font-family:system-ui;font-size:8px;font-weight:400;color:#c7d3db}.is-drafting .draft-player-detail .stat-trio{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;margin-top:10px;padding-top:8px;border-top:1px solid #94a9b52b;z-index:1}.is-drafting .draft-player-detail .stat-trio b{font-size:12px}.draft-player-detail .detail-footnote{font-size:8px;margin-top:6px;color:#b9cbd6;z-index:1}.draft-selection-grid .draft-empty{height:238px;padding:20px 10px}.draft-selection-grid .draft-empty b{font-size:12px}.is-drafting .draft-roster-section{margin-top:14px;margin-bottom:0}.is-drafting .draft-roster-section .section-heading{margin:10px 0 8px}.draft-roster-section h3 small{font-size:9px;color:var(--muted);margin-left:5px;font-weight:400}.draft-court{height:210px}.draft-court .court-player{width:30%;min-height:53px;padding:7px 3px 4px;cursor:default}.draft-court .court-player[data-action="card-info"]{cursor:pointer}.draft-court .court-position-label{left:50%;transform:translateX(-50%);white-space:nowrap;font-size:8px;padding:0 5px}.draft-court .court-player b{font-size:10px;line-height:1.3;padding:1px 0;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.draft-court .court-player small{font-size:8px;margin-top:3px}.draft-court .position-C{left:35%;right:auto;top:16px}.draft-court .position-PF{left:4%;right:auto;top:79px}.draft-court .position-SF{left:auto;right:4%;top:79px}.draft-court .position-PG{left:18%;right:auto;top:145px}.draft-court .position-SG{left:auto;right:18%;top:145px}.draft-bench .bench-player{position:relative;border:1px solid transparent;padding:6px 3px;min-height:48px;cursor:default}.draft-bench .bench-player[data-action="card-info"]{cursor:pointer}.draft-bench .court-position-label{font-size:8px;color:#e0c7a6}.draft-bench .bench-player b{font-size:9px;line-height:1.3;margin-top:1px}.draft-bench .bench-player small{font-size:8px;margin-top:2px}.lineup-court .position-eligible{border:1px dashed #f7b862;background:#443921;box-shadow:0 0 12px #ffc47033}.lineup-court .position-eligible .court-position-label{background:#d9b36e;color:#242016}.draft-court .preview-target,.draft-bench .preview-target{border:2px solid #ffba62;background:#614321;box-shadow:0 0 18px #ffb65566,inset 0 0 10px #ffb65518}.draft-court .preview-target .court-position-label{background:#ffba62;color:#251b11}.preview-target b{color:#ffe4b6}.draft-court .preview-target small,.draft-bench .preview-target small{color:#ffcf8d}.draft-court .preview-move,.draft-bench .preview-move{border:1px solid #8ebbbe;background:#233b40}.court-legend{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;color:#cbbca8;font-size:8px}.court-legend span{display:flex;align-items:center;gap:4px}.court-legend i{width:7px;height:7px;display:inline-block;border-radius:2px}.eligible-dot{border:1px dashed #f7b862}.target-dot{background:#ffba62}.draft-confirmation{margin-top:10px}.draft-confirmation .button{min-height:43px;font-size:12px;padding:9px 8px}.draft-confirmation .placement-hint{font-size:9px;margin-bottom:5px}.is-drafting .draft-roster-section+.rivals{margin-top:14px}@media(max-width:370px){.draft-selection-grid{gap:6px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.is-drafting .draft-player-detail{padding:9px 8px}.is-drafting .draft-player-detail h2{font-size:13px}.detail-rating>div>strong{font-size:32px}.draft-court .court-player b{font-size:9px}.court-legend{font-size:7px;gap:4px}}

.draft-selection-grid .candidate-table{display:flex;flex-direction:column;height:100%;min-height:238px}.draft-selection-grid .candidate-labels{flex-shrink:0}.is-drafting .draft-selection-grid .candidate-scroll{flex:1;min-height:0}.draft-selection-grid .draft-detail-section{display:flex}.is-drafting .draft-player-detail{height:auto;min-height:238px;min-width:0;flex:1}.roster-title{display:flex;align-items:center;gap:6px}.roster-title .roster-count{font-size:9px;color:var(--muted)}

.draft-selection-grid .draft-candidates-section{position:relative;min-height:238px}.draft-selection-grid .candidate-table{position:absolute;inset:0;min-height:0;height:100%}.is-drafting .draft-selection-grid .candidate-scroll{height:auto;flex:1;min-height:0}
.draft-draw-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px;margin:0 0 12px;padding:8px 10px;border-left:2px solid var(--orange);background:#1b282e;font-size:10px}.draft-draw-status b{color:var(--orange);font-weight:600}.draft-draw-status span{color:var(--text)}.draft-draw-status small{flex-basis:100%;color:var(--muted);font-size:9px;line-height:1.5}

.court-key:before{content:"";position:absolute;top:11px;left:calc(50% - 6px);width:10px;height:8px;border:2px solid #fff4df;border-radius:50%}
.random-pending{height:100%;min-height:238px;display:flex;flex-direction:column;justify-content:center;background:#201e1b;border-color:#695239}.random-pending b{color:#ffcb86}.random-pending p{line-height:1.7}.random-pending small{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:14px}
.roster-adjust{font-size:10px;padding:4px 0;color:var(--orange)}.pick-receipt{font-size:10px;color:#e1c89f;line-height:1.6;margin-top:7px;overflow-wrap:anywhere}.swap-clock{font-size:12px;color:#d8c4aa;margin:12px 0}.swap-clock b{color:var(--orange);font-family:ui-monospace,monospace}
.bench-player b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.roster-title{flex-wrap:wrap}.draft-coach-label{font-size:8px;color:var(--muted)}

.restart-button{border:1px solid #657381;color:#d3dde6;background:#202a34;border-radius:7px;padding:7px 9px;font-size:11px;font-weight:650;white-space:nowrap;min-height:34px}.topbar:has(.restart-button) .save-status{display:none}.topbar:has(.restart-button) .top-actions{gap:6px}.restart-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}@media(max-width:370px){.topbar:has(.restart-button){gap:6px}.topbar:has(.restart-button) .brand{gap:6px;font-size:14px}.topbar:has(.restart-button) .brand small{display:none}.topbar:has(.restart-button) .brand-mark{width:24px;height:29px;font-size:18px}.topbar:has(.restart-button) .top-actions{gap:5px}.topbar .restart-button,.topbar .official-pause-button{padding-inline:7px}}

.pool-controls{display:grid;grid-template-columns:.9fr 1.1fr 1.1fr;gap:6px;margin-bottom:6px;align-items:stretch}.pool-tile{min-width:0;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:3px 6px;text-align:center;background:#1d2a36;border:1px solid #4b5d6d;border-radius:8px;color:var(--text)}.pool-tile strong{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;font-size:15px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}.pool-tile .pool-era{white-space:nowrap;font-size:14px;letter-spacing:-.3px}.pool-action-label{display:flex;align-items:center;justify-content:center;gap:4px;color:#ffb86c;font-size:14px;font-weight:650;line-height:1.2;white-space:nowrap}.pool-action-label small{font-size:12px;font-weight:500}.pool-tile:hover:not(:disabled){background:#2d3b48;border-color:#f5a354}.pool-tile:disabled{opacity:.7;cursor:not-allowed}.pool-tile:disabled .pool-action-label{color:#b2a08b}.pool-tile.big-random-button,.pool-auto-random{background:linear-gradient(115deg,#463324,#30271f);border-color:#bb884b;color:#ffcb86}.pool-tile.big-random-button strong,.pool-auto-random strong{font-size:15px;white-space:nowrap}.pool-tile.big-random-button .pool-action-label,.pool-auto-random .pool-action-label{font-size:12px}.pool-auto-random{cursor:default}.pool-controls-hint{font-size:9px;color:var(--muted);line-height:1.5;margin-bottom:12px}

.lineup-court [data-lineup-slot][data-card]:not([data-card=""]){touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.lineup-court [data-lineup-slot]{cursor:pointer}.lineup-court .move-source{border:2px solid #7bc8ff;background:#233d50;box-shadow:0 0 0 2px #7bc8ff40}.lineup-court .move-source .court-position-label{background:#8ad1ff;color:#112f43}.lineup-court .move-eligible{border:2px dashed #ffcb7c;background:#65441f;box-shadow:0 0 14px #ffca7038}.lineup-court .move-eligible small{color:#ffe1ac}.lineup-court .lineup-drag-over{border-style:solid;background:#8b5f2c;box-shadow:0 0 0 3px #ffd58d75}.lineup-court .lineup-drag-blocked{border:2px solid #ff8b7f;background:#563432}.lineup-drag-ghost{position:fixed;z-index:110;pointer-events:none;transform:translate(-50%,-125%);max-width:190px;padding:9px 13px;background:#233d50ed;color:#fff;border:1px solid #8ad1ff;border-radius:8px;box-shadow:0 6px 20px #0008;font-size:13px;font-weight:650}.lineup-dragging{cursor:grabbing;user-select:none}.lineup-move-controls{margin:8px 0 4px;padding:9px 10px;border:1px solid #456781;border-radius:7px;background:#1b2d3b;font-size:10px;color:#bed7ea}.lineup-move-controls b{color:#f3f8ff}.lineup-move-controls>div{display:flex;justify-content:flex-end;gap:18px;margin-top:5px}.lineup-move-controls .text-button{font-size:11px;padding:5px 0}.lineup-help{font-size:9px;color:var(--muted);margin-top:6px}

/* Keep selecting, previewing and confirming within one compact panel. */
.draft-selection-grid{height:300px;align-items:stretch}.draft-selection-grid .draft-candidates-section{display:flex;flex-direction:column;min-height:0;gap:6px}.draft-candidates-section .position-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;flex-shrink:0}.draft-candidates-section .position-filters button{min-height:28px;padding:4px 2px;font-size:10px}.draft-selection-grid .candidate-table{position:static;inset:auto;height:0;min-height:0;flex:1}.draft-selection-grid .draft-detail-section{display:flex;flex-direction:column;gap:7px;min-height:0}.is-drafting .draft-player-detail{height:auto;min-height:0;flex:1;padding:9px}.is-drafting .draft-player-detail h2{font-size:14px;margin:4px 0 1px;line-height:1.25;flex-shrink:0}.draft-player-detail .detail-label{font-size:8px;flex-shrink:0}.draft-player-detail .detail-positions{margin-top:5px;gap:2px;flex-shrink:0}.draft-player-detail .detail-rating{padding-top:5px;flex-shrink:0}.draft-player-detail .detail-rating>div>strong{font-size:32px}.is-drafting .draft-player-detail .stat-trio{margin-top:6px;padding-top:6px;flex-shrink:0}.draft-detail-section .draft-confirmation{margin:0;flex-shrink:0}.draft-detail-section .draft-confirmation .button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:49px;padding:7px 6px;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.draft-confirmation .button span{font-size:12px;font-weight:700}.draft-confirmation .button strong{font-size:11px;font-weight:550}.draft-detail-section .placement-hint{font-size:9px;line-height:1.4;margin-bottom:4px;overflow-wrap:anywhere}.draft-selection-grid .draft-empty{height:auto;min-height:0;flex:1;padding:12px 9px;display:flex;flex-direction:column;justify-content:center}.draft-selection-grid .random-pending p{font-size:10px;line-height:1.5}.draft-selection-grid .random-pending small{margin-top:9px;font-size:8px}@media(max-width:370px){.is-drafting .draft-player-detail{padding:8px}.is-drafting .draft-player-detail h2{font-size:13px}.draft-player-detail .detail-rating>div>strong{font-size:30px}}

.draft-detail-section .draft-confirmation .button span{margin-left:0}

/* Draft workspace: player cards on the left, live lineup and confirmation on the right. */
.pool-controls-inline{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:10px}
.pool-controls-inline .pool-tile{flex-direction:row;flex-wrap:nowrap;justify-content:center;gap:4px;min-height:34px;padding:5px 4px;border-radius:6px;font-size:clamp(12px,2.7vw,14px)}
.pool-controls-inline .pool-tile strong{display:block;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.25;font-size:inherit;letter-spacing:0}
.pool-controls-inline .pool-action-label,.pool-controls-inline .pool-action-label small,.pool-controls-inline .pool-tile.big-random-button .pool-action-label,.pool-controls-inline .pool-auto-random .pool-action-label{flex-shrink:0;gap:3px;line-height:1.25;font-size:inherit}
.pool-controls-inline .pool-tile.big-random-button strong,.pool-controls-inline .pool-auto-random strong{font-size:inherit}
.pool-controls-inline .pool-tile .pool-era{flex-shrink:0;font-size:inherit;letter-spacing:-.4px}
.draft-workspace{grid-template-columns:minmax(0,.43fr) minmax(0,.57fr);height:auto;gap:8px;align-items:stretch}
.draft-workspace .draft-candidates-section{gap:5px;min-width:0;contain:size}
.draft-workspace .position-filters{gap:3px}
.draft-workspace .position-filters button{min-height:28px;font-size:10px;padding:4px 1px}
.draft-workspace .candidate-table{border-radius:7px}
.is-drafting .draft-workspace .candidate-scroll{height:auto;scrollbar-width:thin}
.is-drafting .draft-workspace .candidate-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;align-content:start;align-items:start;gap:5px 4px;min-height:0;padding:10px 8px;text-align:left}
.draft-workspace .candidate-card .candidate-name{grid-column:1;grid-row:1;min-width:0;font-size:13px;font-weight:650;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.draft-workspace .candidate-card .candidate-meta{grid-column:1;grid-row:2;min-width:0;font-family:inherit;font-size:10px;line-height:1.3;text-align:left;color:#b6c6d2;overflow-wrap:anywhere}
.draft-workspace .candidate-stats{grid-column:1;grid-row:3;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 2px;margin-top:2px}
.draft-workspace .candidate-stats b{font-family:ui-monospace,monospace;font-size:11px;line-height:1.25;font-weight:550;white-space:nowrap;overflow:visible}
.draft-workspace .candidate-stats small{font-size:8px;line-height:1.2;color:#a9bac8;margin-top:2px}
.draft-workspace .candidate-card .candidate-price{grid-column:2;grid-row:1/4;align-self:center;display:flex;align-items:baseline;justify-content:flex-end;gap:2px;margin:0;font-size:22px;line-height:1.1;color:var(--orange);font-family:Impact,"Arial Narrow",sans-serif}
.draft-workspace .candidate-price>span{font-size:16px;font-weight:600;font-family:LocalCN,system-ui,sans-serif}
.draft-workspace .candidate-card.unavailable{opacity:.55}
.draft-workspace .draft-detail-section{gap:7px;min-width:0;min-height:0}
.is-drafting .draft-workspace .draft-roster-section{margin:0;min-width:0}
.is-drafting .draft-workspace .draft-roster-section .section-heading{height:27px;margin:0 0 5px;gap:3px}
.draft-workspace .roster-title{gap:4px;min-width:0}
.draft-workspace .roster-title h3{font-size:12px;white-space:nowrap}
.draft-workspace .roster-count{font-size:9px}
.draft-workspace .roster-adjust{min-height:27px;padding:3px 0;font-size:10px}
.compact-lineup .draft-court{height:216px}
.compact-lineup .court-player{width:40%;min-height:48px;padding:6px 3px 4px}
.compact-lineup .position-C{left:28%;right:auto;top:16px;width:44%}
.compact-lineup .position-PF{left:5%;right:auto;top:80px}
.compact-lineup .position-SF{left:auto;right:5%;top:80px}
.compact-lineup .position-PG{left:5%;right:auto;top:145px}
.compact-lineup .position-SG{left:auto;right:5%;top:145px}
.compact-lineup .court-position-label{font-size:8px}
.compact-lineup .court-player b{display:block;overflow:visible;white-space:normal;font-size:10px;line-height:1.25;padding:3px 0 0;-webkit-line-clamp:unset;overflow-wrap:anywhere}
.compact-lineup .court-player small{font-size:7px;line-height:1.35;margin-top:4px}
.compact-lineup .bench-with-coach{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(52px,auto))}
.compact-lineup .bench-player,.compact-lineup .bench-coach{min-width:0;min-height:52px;padding:5px 4px;background:#2e261f;text-align:center}
.compact-lineup .bench-coach{display:flex;flex-direction:column;align-items:center;justify-content:center}
.compact-lineup .bench-coach .court-position-label{color:#e0c7a6;font-size:8px}
.compact-lineup .bench-player b,.compact-lineup .bench-coach b{display:block;font-size:10px;line-height:1.3;white-space:normal;overflow:visible;overflow-wrap:anywhere;margin-top:2px}
.compact-lineup .bench-player small,.compact-lineup .bench-coach small{font-size:7px;line-height:1.25;color:#d9c8b0;margin-top:3px}
.draft-workspace .draft-confirmation{margin-top:0}
.draft-workspace .draft-confirmation .button{min-height:58px;padding:6px;font-size:12px}
.draft-workspace .lineup-move-controls{position:absolute;inset:auto 0 0;z-index:5;margin:0;padding:7px 8px;box-shadow:0 -3px 12px #0005}
.draft-workspace .draft-roster-section{position:relative}
.draft-workspace .lineup-move-controls p{font-size:10px;line-height:1.3}
.draft-workspace .lineup-move-controls>div{gap:12px;margin-top:2px}
.draft-workspace .lineup-move-controls .text-button{font-size:10px;padding:3px 0;min-height:26px}
@media(max-width:370px){.draft-workspace{gap:6px}.draft-workspace .candidate-card .candidate-name{font-size:12px}.is-drafting .draft-workspace .candidate-card{padding:9px 6px}.draft-workspace .candidate-card .candidate-meta{font-size:9px}.draft-workspace .candidate-stats b{font-size:10px}.draft-workspace .position-filters button{font-size:9px}.compact-lineup .court-player b,.compact-lineup .bench-player b,.compact-lineup .bench-coach b{font-size:9px}.compact-lineup .court-position-label{font-size:7px;padding:0 3px}}
/* Selection tools replace only the compact court heading, never cover drop targets. */
.draft-workspace .lineup-move-controls{top:0;bottom:auto;height:32px;padding:0 6px}
.draft-workspace .lineup-move-controls p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.draft-workspace .lineup-move-controls>div{height:100%;margin:0;align-items:center;justify-content:space-between}
.draft-workspace .lineup-move-controls .text-button{min-height:30px}
.compact-lineup .bench-player.move-source{background:#233d50}
.compact-lineup .bench-player.move-eligible{background:#65441f}
.compact-lineup .bench-player.lineup-drag-over{background:#8b5f2c}
.compact-lineup .bench-player.lineup-drag-blocked{background:#563432}

.compact-lineup .bench-coach .coach-tactic-summary{font-size:8px;line-height:1.4;overflow-wrap:anywhere;margin-top:4px}
@media(max-width:370px){.draft-workspace .candidate-card .candidate-price{font-size:20px}.draft-workspace .candidate-price>span{font-size:14px}.draft-workspace .candidate-stats b{font-size:9px}.compact-lineup .bench-coach .coach-tactic-summary{font-size:8px}}

/* Cleaner draft header and one-line coach summary. */
.is-drafting .draft-team-heading{grid-template-columns:minmax(0,1fr) auto auto;gap:10px;min-height:54px;margin:6px 0 12px}
.draft-team-heading .team-player-name{min-width:0;padding-left:16px}
.is-drafting .draft-team-heading h1{font-size:clamp(22px,5.6vw,28px);margin:0;line-height:1.22}
.draft-team-heading .budget{justify-self:end}
.draft-team-heading .timer-button{justify-self:end}
.compact-lineup .bench-coach .coach-tactic-summary{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
@media(max-width:370px){.draft-team-heading .team-player-name{padding-left:10px}}

/* Every player stays in one fixed column; all roster slots remain visible. */
.all-player-rosters .section-heading.compact{margin:9px 0 6px}
.overview-table-wrap{border:1px solid #354453;border-radius:7px;overflow:hidden;background:#16212b}
.roster-overview{width:100%;table-layout:fixed;border-collapse:collapse;text-align:center}
.roster-overview .overview-label-col{width:25px}
.roster-overview th,.roster-overview td{border-right:1px solid #304050;border-bottom:1px solid #2c3b49;padding:4px 2px;vertical-align:middle}
.roster-overview tr>*:last-child{border-right:0}
.roster-overview tbody tr:last-child>*{border-bottom:0}
.roster-overview thead{background:#202c38}
.roster-overview .overview-player{padding:4px 2px;border-top:2px solid transparent}
.overview-player button{width:100%;padding:0;border:0;border-radius:0;background:none;text-align:center;color:inherit}
.overview-player b{display:block;font-size:10px;line-height:1.2;overflow-wrap:anywhere}
.overview-player small{display:block;font-size:8px;font-weight:400;color:#a6b6c6;margin-top:3px}
.overview-player.east{color:var(--red)}
.overview-player.west{color:var(--blue)}
.roster-overview .overview-player.current-column{border-top-color:var(--orange);color:#ffbf73}
.roster-overview tbody th{font-size:7px;font-weight:500;color:#b3c2d0;background:#1c2934;white-space:nowrap;padding:3px 1px}
.roster-overview .overview-cell{font-size:9px;line-height:1.25;color:#e8edf1;overflow-wrap:anywhere;text-align:center}
.overview-cell span{display:block;min-width:0}
.overview-cell.empty{color:#627789}
.overview-cell.current-column{background:#f9a34a0b}
.roster-overview .coach-row>*{border-top:2px solid #856341;background:#3b3024;color:#f2cf9d}
.roster-overview .sixth-row>*{border-top:2px solid #354657}
.roster-overview-8 .overview-player b{font-size:8px}
.roster-overview-8 .overview-player small{font-size:7px}
.roster-overview-8 .overview-cell{font-size:8px;line-height:1.2}
.roster-overview-8 th,.roster-overview-8 td{padding:2px 1px}
.overview-cell.new-pick{animation:overview-pick 1.2s ease-out}
.roster-overview .overview-conference{padding:5px 2px;font-size:11px;letter-spacing:2px;font-weight:700;text-align:center}
.overview-conference.east{color:#f1a199;background:#382b30;border-top:2px solid #d6857e}
.overview-conference.west{color:#b5d1f7;background:#23374b;border-top:2px solid #779fcf}
.roster-overview .conference-divider{border-left:3px solid #637687}
.overview-corner .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}
@keyframes overview-pick{0%{background:#895926;color:#fff1c7}100%{background:#f9a34a0b}}
@media(prefers-reduced-motion:reduce){.overview-cell.new-pick{animation:none;outline:1px solid var(--orange);outline-offset:-1px}}
@media(max-width:370px){.roster-overview .overview-label-col{width:23px}.roster-overview-8 .overview-cell,.roster-overview-8 .overview-player b{font-size:7px}}
/* Make room for the complete roster board without shrinking the draft text. */
.is-drafting .topbar{height:43px}
.is-drafting .main-nav{height:28px}
.is-drafting .steps{padding:6px 0}
.is-drafting .draft-team-heading{min-height:48px;margin:3px 0 9px}
.is-drafting .draft-workspace .draft-roster-section .section-heading{height:24px;margin-bottom:4px}
.draft-workspace .roster-adjust{min-height:24px}
.draft-workspace .compact-lineup .draft-court{height:192px}
.draft-workspace .compact-lineup .position-C{top:12px}
.draft-workspace .compact-lineup .position-PF,.draft-workspace .compact-lineup .position-SF{top:69px}
.draft-workspace .compact-lineup .position-PG,.draft-workspace .compact-lineup .position-SG{top:126px}
.draft-workspace .compact-lineup .bench-with-coach{grid-template-rows:repeat(2,minmax(44px,auto))}
.draft-workspace .compact-lineup .bench-player,.draft-workspace .compact-lineup .bench-coach{min-height:44px;padding-top:4px;padding-bottom:4px}
.draft-workspace .draft-confirmation .button{min-height:44px;padding:5px 6px}

/* Player-card identity: salary tiers stay visible in every roster and report. */
.rarity{--card-accent:#e2e9f0;--card-edge:#8191a2;--card-top:#2a3643;--card-bottom:#1c2733;--card-ink:#edf2f6;--card-soft:#bcc9d5}
.rarity-gold{--card-accent:#f6d689;--card-edge:#ba9856;--card-top:#483f2c;--card-bottom:#29291f;--card-ink:#fff0c6;--card-soft:#dacdab}
.rarity-purple{--card-accent:#d5b4ff;--card-edge:#9270ba;--card-top:#3c304d;--card-bottom:#262239;--card-ink:#efddff;--card-soft:#cbbbdc}
.rarity-blue{--card-accent:#9dcdff;--card-edge:#568bb7;--card-top:#253e55;--card-bottom:#1a2b3f;--card-ink:#dbedff;--card-soft:#b0c9df}
.rarity-green{--card-accent:#9edabc;--card-edge:#5a987d;--card-top:#263e36;--card-bottom:#1b2e29;--card-ink:#daf4e6;--card-soft:#b7d1c2}
.candidate-card.rarity,.upgrade-card.rarity,.card-detail.rarity{background:linear-gradient(125deg,var(--card-top),var(--card-bottom));color:var(--card-ink);border-color:var(--card-edge)}
.draft-workspace .candidate-card.rarity{border-left:3px solid var(--card-edge);border-bottom:1px solid var(--card-edge);padding-left:7px}
.draft-workspace .candidate-card.rarity .candidate-name,.upgrade-card.rarity h2{color:var(--card-ink)}
.draft-workspace .candidate-card.rarity .candidate-meta{color:var(--card-soft)}
.draft-workspace .candidate-card.rarity .candidate-price{color:var(--card-accent)}
.draft-workspace .candidate-card.rarity.selected{border-left-color:#fff3d8;box-shadow:inset 0 0 0 1px #fff3d8;background:linear-gradient(125deg,var(--card-top),var(--card-bottom))}
.is-drafting .candidate-card.unavailable{opacity:.72}
.court,.draft-court.court{background:#cec0a3 url('/assets/maple-half-court.png') center/100% 100% no-repeat;border-color:#8e978f}
.court>.court-key,.court>.court-arc,.court>.court-circle{display:none}
.court .court-player,.compact-lineup .court-player{background:#142331ed;border:1px solid #526675;box-shadow:0 2px 7px #07142435;color:#e3ebf1}
.court .court-player.rarity,.compact-lineup .court-player.rarity,.bench .bench-player.rarity{background:linear-gradient(125deg,var(--card-top),var(--card-bottom));color:var(--card-ink);border-color:var(--card-edge)}
.court .court-player.rarity b,.bench .bench-player.rarity b{color:var(--card-ink)}
.court .court-player small,.bench .bench-player small{color:#b9c9d4}
.court .court-player.rarity small,.bench .bench-player.rarity small{color:var(--card-soft)}
.court .court-position-label,.court-player>span:first-child,.compact-lineup .court-position-label{background:#e4e9e8;color:#223241;border-radius:3px}
.court .court-player.rarity>.court-position-label,.court .court-player.rarity>span:first-child{background:var(--card-accent);color:#19222b}
.bench,.draft-bench.bench,.compact-lineup .bench-player,.compact-lineup .bench-coach{background:#172634;border-color:#4c6070;color:#e6edf2}
.compact-lineup .bench-coach small,.compact-lineup .bench-player>.court-position-label{color:#b4c6d1;background:transparent}
.compact-lineup .bench-coach>.court-position-label{color:#b4c6d1;background:transparent}
.court .court-player.position-eligible{border-style:dashed;border-color:#ffe6ad}
.court .court-player.preview-target{outline:2px solid #fff3d8;outline-offset:1px}
.court .court-player.move-source,.bench .bench-player.move-source{outline:2px solid #78d9f4;outline-offset:1px}
.court .court-player.move-eligible,.bench .bench-player.move-eligible{outline:2px dashed #b6f2fb;outline-offset:1px}
.court .court-player.lineup-drag-over,.bench .bench-player.lineup-drag-over{outline:3px solid #fff;outline-offset:1px}
.overview-cell.rarity,.overview-cell.rarity.current-column{background:linear-gradient(125deg,var(--card-top),var(--card-bottom));color:var(--card-ink);box-shadow:inset 2px 0 var(--card-edge)}
.player-badge.rarity{display:inline-block;max-width:100%;padding:2px 4px;border:1px solid var(--card-edge);border-radius:4px;background:linear-gradient(125deg,var(--card-top),var(--card-bottom));color:var(--card-ink);line-height:1.4;overflow-wrap:anywhere}
.card-detail.rarity{padding:14px;border:1px solid var(--card-edge);border-radius:12px}
.card-detail.rarity h1,.card-detail.rarity .detail-player-name{color:var(--card-accent)}
.detail-player-name{font-size:24px;line-height:1.35;margin:10px 0 4px}
.draft-confirmation strong.rarity{color:var(--card-ink);background:var(--card-bottom);border:1px solid var(--card-edge);padding:1px 7px;border-radius:4px}
select option.rarity{color:var(--card-ink);background:var(--card-bottom)}
.card-title.rarity{color:var(--card-accent)}

/* Roster cards identify their era; salary remains in the draft list. */
.court .court-player .roster-card-meta,.bench .bench-player .roster-card-meta{display:flex;align-items:center;justify-content:center;gap:1px;white-space:nowrap}
.roster-card-meta .roster-card-era{font:inherit;color:inherit}
/* Compact account directory; lobby retains its draggable rows. */
.user-data-page{padding-top:16px}
.user-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.user-directory-heading h1{font-size:26px;line-height:1.25;margin:4px 0 0}
.user-directory-heading .overline{font-size:9px;letter-spacing:1.5px}
.user-directory-heading .text-button{font-size:12px;white-space:nowrap;padding:8px 0 8px 8px}
.user-directory-toolbar{display:flex;align-items:center;justify-content:space-between;margin:12px 0 7px;color:var(--muted);font-size:11px}
.user-directory-toolbar strong{color:var(--text);font-size:14px}
.user-directory-toolbar small{font-size:10px}
.user-data-page .search{margin-bottom:10px}
.user-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.user-card-grid>.empty{grid-column:1/-1}
.user-card{display:flex;flex-direction:column;min-width:0;padding:10px 8px 7px;border:1px solid #334351;border-radius:8px;background:#192631}
.user-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:3px}
.user-card-name{font-size:12px;line-height:1.35;overflow-wrap:anywhere;font-weight:650}
.user-card-heading .user-card-name{min-width:0}
.user-card-delete{flex:none;min-height:24px;margin:-4px -3px 0 0;padding:4px 3px;border:0;border-radius:4px;background:transparent;color:#c3a4a3;font-size:10px;line-height:16px;white-space:nowrap}
.user-card-delete:hover{background:#4a2c31;color:#ffafa5}
.user-card-delete:focus-visible{outline:2px solid #ffa64d;outline-offset:1px}
.delete-user-summary{padding:16px;border:1px solid var(--line);border-radius:10px;background:#192631}
.delete-user-summary>strong{display:block;font-size:22px;overflow-wrap:anywhere}
.delete-user-summary>small{display:block;margin:4px 0 14px;color:var(--muted)}
.delete-user-summary>div{display:flex;justify-content:space-between;gap:12px;margin-top:6px;font-size:13px}
.delete-user-summary b{color:#ffb561;font-variant-numeric:tabular-nums}
.delete-user-note{font-size:13px;line-height:1.7;color:var(--muted);margin:16px 0}
.delete-user-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.user-card-id{font-size:9px;line-height:1.4;color:#9eafbf;margin-top:3px}
.user-card-balance{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:4px;row-gap:0;margin-top:auto;padding:8px 0 6px;line-height:1.2}
.user-card-balance b{font-size:18px;font-variant-numeric:tabular-nums;color:#ffb561;font-weight:700;letter-spacing:-.4px}
.user-card-balance span{font-size:9px;color:#aab8c6;white-space:nowrap}
.user-card-adjust{width:100%;min-height:30px;padding:4px 8px;border:1px solid #425568;border-radius:5px;background:#233544;color:#e6edf4;font-size:11px;font-weight:600;line-height:1.4}
.user-card-adjust:hover{background:#344a5b;border-color:#ffa64d}
.user-card-adjust:focus-visible{outline:2px solid #ffa64d;outline-offset:2px}
@media(min-width:430px){.user-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Season leaderboards share a compact, public-facing record layout. */
.season-page{padding-top:20px}
.season-heading{position:relative;margin-bottom:23px}
.season-heading h1{font-size:27px;margin-top:5px}
.season-heading>span:last-child{position:absolute;right:0;bottom:3px;color:var(--muted);font-size:11px}
.season-board{margin-bottom:24px}
.season-board-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.season-board-heading h2{font-size:18px}
.season-board-heading>span{color:var(--muted);font-size:10px;white-space:nowrap}
.honor-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#18232e;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.honor-table th,.honor-table td{padding:8px 4px;text-align:center;border-bottom:1px solid #2a3945;font-size:12px}
.honor-table th{font-size:10px;background:#22313e;color:var(--muted);font-weight:500}
.honor-table th:first-child{width:36px}
.honor-table th:nth-child(2){width:42%;text-align:left;padding-left:6px}
.honor-table td:nth-child(2){text-align:left;padding:0 6px}
.honor-table td:nth-child(n+3){font-size:15px;font-variant-numeric:tabular-nums;font-weight:650}
.honor-table tr:last-child td{border-bottom:0}
.honor-player{display:block;width:100%;text-align:left;padding:9px 0;font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.honor-player small{display:block;font-size:9px;color:var(--muted);font-weight:400;margin-top:4px}
.season-rank{display:block;color:#91a2b0;min-width:23px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums}
.podium-1 .season-rank,.medal-gold{color:#ffd080!important}
.podium-2 .season-rank,.medal-silver{color:#cbd7e6!important}
.podium-3 .season-rank,.medal-bronze{color:#dba580!important}
.honor-table .podium-1{background:#45342555}
.season-note{color:var(--muted);font-size:10px;line-height:1.55;margin-top:8px}
.lineup-leaderboard{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#18232e}
.lineup-record{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border-bottom:1px solid #2a3945;text-align:left}
.lineup-record:last-child{border-bottom:0}
.lineup-record:hover,.honor-player:hover{background:#243442}
.lineup-record-name{flex:1;min-width:0}
.lineup-record-name strong{display:block;font-size:13px;overflow-wrap:anywhere}
.lineup-record-name small{display:block;font-size:9px;margin-top:4px;color:var(--muted)}
.lineup-record-score{flex-shrink:0;text-align:right}
.lineup-record-score>b{font-size:22px;line-height:1.2;color:#ffbd6d;font-variant-numeric:tabular-nums}
.lineup-record-score small{display:block;color:var(--muted);font-size:9px;margin-top:3px}
.season-empty{padding:23px 15px;background:#18232e;border-radius:10px;text-align:center}
.season-empty strong{font-size:13px}
.season-empty p{font-size:11px;color:var(--muted);margin-top:7px}
.season-history{border-top:1px solid var(--line);margin-top:10px}
.season-history summary{cursor:pointer;padding:12px 0;font-size:13px;font-weight:600}
.season-history summary>span{float:right;color:var(--muted);font-size:10px;font-weight:400}
.season-event{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:12px 2px;text-align:left;border-bottom:1px solid var(--line)}
.season-event>span{min-width:0}
.season-event strong{display:block;font-size:13px;overflow-wrap:anywhere}
.season-event small{display:block;color:var(--muted);font-size:10px;margin-top:4px}
.season-event>b{color:#ffbd6d;font-size:12px;white-space:nowrap}
.season-page>.subtle-button{margin-top:15px}
.record-score-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.record-score-heading>div>small{display:block;color:var(--muted);margin-top:5px}
.record-score-heading>strong{font-size:40px;color:#ffbd6d;line-height:1.1;font-variant-numeric:tabular-nums;text-align:right}
.record-score-heading>strong>small{display:block;font-size:10px;color:var(--muted);margin-top:4px;font-weight:400}
.record-score-parts{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:15px}
.record-score-parts>div{display:flex;justify-content:space-between;gap:5px;background:#1c2a36;border-radius:6px;padding:9px 8px;font-size:11px}
.record-score-parts span{color:var(--muted)}
.record-coach{padding:12px;background:#392d20;border:1px solid #715836;border-radius:7px;margin-bottom:10px}
.record-coach>span{color:#dabb8b;font-size:10px;display:block;margin-bottom:5px}
.record-coach strong{font-size:13px}
.record-coach p{font-size:11px;color:#c5bba9;margin-top:5px}
.record-lineup{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.record-player{min-width:0;border:1px solid var(--line);border-radius:6px;padding:8px}
.record-player.rarity{background:linear-gradient(125deg,var(--card-top),var(--card-bottom));border-color:var(--card-edge);color:var(--card-ink)}
.record-player.rarity>span,.record-player.rarity .roster-card-meta{color:var(--card-soft)}
.record-player>span{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}
.record-player>strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere;display:block}
.record-player .roster-card-meta{display:block;margin-top:5px;font-size:10px}
.honor-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:12px}
.honor-totals span{text-align:center;background:#1c2a36;border-radius:7px;padding:10px;color:var(--muted);font-size:11px}
.honor-totals b{display:block;font-size:25px;color:#ffbd6d;margin-bottom:3px}

/* Modes share one ticket policy; honor and account totals stay visually distinct. */
.lobby-modes{flex-shrink:0}.lobby-modes button{padding:7px 9px}
.conference-grid>*{min-width:0}.slot-name{flex:1}.slot-name strong{max-width:100%}
.duel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
.duel-grid .conference h3{padding:10px 8px;font-size:12px}.duel-grid .lobby-slot{padding:10px 8px;gap:0;min-height:90px}
.duel-grid .slot-number{display:none}.duel-grid .slot-name strong{white-space:normal;overflow-wrap:anywhere}.duel-grid .slot-name small{white-space:normal}
.duel-honor{align-self:center;text-align:center}.duel-honor label{margin:0;font-size:11px;color:#ffbd6d}.duel-honor input{width:100%;min-width:0;padding:8px 3px;text-align:center;margin:6px 0;font-size:18px;font-weight:650;color:#ffbd6d;border-color:#80603c}.duel-honor button{min-height:28px;padding:4px 12px}
.user-honor{color:#b4a1ce;font-size:9px;margin-top:2px}.standing-row>b:last-child{font-family:inherit;font-size:12px}
.season-mode-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:16px 0 22px;padding:4px;background:#0b1118;border:1px solid var(--line);border-radius:9px}
.season-mode-tabs button{min-height:38px;padding:6px 1px;font-size:12px;color:var(--muted);border-radius:5px}.season-mode-tabs .selected{background:#3d3022;color:#ffbd6d;box-shadow:inset 0 0 0 1px #9b703e}
.win-rate-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;background:#18232e;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.win-rate-table th,.win-rate-table td{padding:8px 3px;text-align:center;border-bottom:1px solid #2a3945;font-size:12px;font-variant-numeric:tabular-nums}
.win-rate-table th{font-size:10px;background:#22313e;color:var(--muted);font-weight:500}.win-rate-table th:first-child{width:32px}.win-rate-table th:nth-child(2){width:38%;text-align:left}.win-rate-table th:last-child{width:65px}.win-rate-table td:nth-child(2){padding:0 3px;text-align:left}.win-rate-table tr:last-child td{border-bottom:0}.win-rate-table td:last-child{color:#ffbd6d}.win-rate-table .podium-1{background:#45342555}
.roster-overview-6 .overview-cell{font-size:9px}
@media(max-width:370px){.lobby-heading{display:block}.lobby-modes{margin-top:10px}.lobby-modes button{flex:1}.duel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.duel-grid .conference h3{padding:9px 5px}.duel-grid .lobby-slot{padding:9px 5px}.duel-grid .slot-name strong{font-size:12px}.season-mode-tabs button{font-size:11px}.win-rate-table th:last-child{width:57px}}

/* Coach choice: price tiers, three full descriptions and every roster share the screen. */
.is-coaching .topbar{height:48px;padding:0 14px}
.is-coaching .brand{font-size:15px;gap:7px}.is-coaching .brand-mark{width:28px;height:30px;font-size:19px}.is-coaching .brand small{font-size:7px}
.is-coaching .main-nav{height:32px}.is-coaching .nav-item{font-size:11px}
.is-coaching main{padding:0 14px 6px;min-height:0}
.is-coaching .steps{padding:8px 0;gap:4px}.is-coaching .steps span{font-size:10px}.is-coaching .steps b{font-size:9px;margin-right:3px}
.is-coaching .team-heading{margin:3px 0 9px;gap:9px;grid-template-columns:minmax(0,1fr) auto auto}
.is-coaching .team-player-name{min-width:0}.is-coaching .team-heading .overline{font-size:9px;letter-spacing:1px}.is-coaching .team-heading h1{font-size:24px;line-height:1.2;margin-top:4px}
.is-coaching .budget strong{font-size:34px}.is-coaching .budget span{font-size:9px;line-height:1.5}
.is-coaching .timer-button{padding:4px 7px;min-width:43px}.is-coaching .timer-button b{font-size:20px}.is-coaching .timer-button small{font-size:9px}
.is-coaching .coach-tiers{margin:0 0 8px;gap:6px}
.is-coaching .tier{display:flex;align-items:center;justify-content:center;gap:6px;padding:6px 3px;min-height:36px;border-radius:7px}
.is-coaching .tier b{font-size:18px;line-height:1}.is-coaching .tier b small{font-family:inherit;font-size:10px;font-weight:400;margin-left:3px}
.is-coaching .tier span{display:inline;margin:0;font-size:11px}
.is-coaching .coach-list{gap:6px}
.is-coaching .coach-option{grid-template-columns:minmax(0,1fr) 12px;align-items:center;gap:5px;padding:8px 10px;border-radius:8px;min-height:66px}
.coach-option-copy{min-width:0}.coach-option-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px}
.is-coaching .coach-option h2{font-size:14px;line-height:1.3;margin:0;font-weight:700}
.coach-option-name{color:#aebdca;font-size:10px;line-height:1.3}
.is-coaching .coach-option .coach-fit{font-size:11px;line-height:1.4;margin:4px 0 2px;color:#d3dee7}
.is-coaching .coach-option .coach-risk{font-size:10px;line-height:1.4;margin:0;color:#9caebb}
.coach-risk>span{color:#d7ac79;margin-right:5px}.is-coaching .option-arrow{font-size:19px;color:var(--orange)}
.coach-summary{font-size:10px;line-height:1.4;margin:6px 0;color:var(--muted)}
.is-coaching .rivals{margin-top:8px}.is-coaching .all-player-rosters .section-heading.compact{margin:0 0 6px}
.is-coaching .all-player-rosters h3{font-size:13px}
.is-coaching .roster-overview .overview-conference{padding:3px 2px;font-size:10px}
.is-coaching .roster-overview .overview-player{padding:3px 2px}.is-coaching .overview-player small{margin-top:2px}
.is-coaching .roster-overview td,.is-coaching .roster-overview tbody th{padding:2px 1px}
.is-coaching .footer-actions{margin-top:7px;gap:8px}.is-coaching .footer-actions .subtle-button{min-height:30px;padding:5px 9px;font-size:10px}.is-coaching .footer-actions .text-button{min-height:30px;padding:5px 0;font-size:10px}
.is-coaching .site-footer{display:none}
@media(max-width:370px){.is-coaching .tier{gap:4px}.is-coaching .tier span{font-size:10px}.is-coaching .coach-option{padding:7px 8px}.is-coaching .coach-option h2{font-size:13px}.is-coaching .coach-option .coach-fit{font-size:10px}.is-coaching .coach-option .coach-risk{font-size:9px}.is-coaching .team-heading h1{font-size:22px}}
@media(max-height:780px){
 .is-coaching .topbar{height:44px}.is-coaching .main-nav{height:28px}.is-coaching .steps{display:none}
 .is-coaching .team-heading{margin:6px 0}.is-coaching .team-heading h1{font-size:22px}
 .is-coaching .coach-tiers{margin-bottom:6px}.is-coaching .tier{min-height:32px;padding:4px 3px}
 .is-coaching .coach-list{gap:5px}.is-coaching .coach-option{padding:6px 8px;min-height:60px}
 .is-coaching .coach-option .coach-fit{margin:2px 0 1px}
 .is-coaching .coach-summary{margin:4px 0}.is-coaching .rivals{margin-top:5px}
 .is-coaching .overview-player small{display:none}
 .is-coaching .roster-overview td,.is-coaching .roster-overview tbody th{padding:1px;line-height:1.1}
 .is-coaching .footer-actions{margin-top:5px}
}

/* Team battles: series results and temporary match points are separate from accounts. */
.team-battle-board{margin:14px 0 20px}
.team-battle-groups{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.team-battle-group{min-width:0;padding:12px 10px;background:#192631;border:1px solid #3b4d5b;border-top:3px solid #ba6a60;border-radius:9px}
.team-battle-group.west{border-top-color:#6c8fbc}
.team-battle-group h3{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:17px;margin:0 0 12px}
.team-battle-group h3>span{font-size:18px;font-variant-numeric:tabular-nums;color:#ffb561}
.team-battle-group h3 small{display:block;text-align:right;font-size:9px;font-weight:400;color:#aab8c6}
.team-battle-count{display:flex;flex-direction:column;gap:4px;font-size:12px}
.team-battle-count span{color:#aab8c6;font-size:10px}
.team-battle-count strong{color:#eef1f6;font-size:14px;margin-left:4px}
.team-battle-group>p{font-size:10px;color:#aab8c6;margin:6px 0 10px}
.team-battle-members{border-top:1px solid #354654}
.team-battle-members>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px;padding:8px 0 0;font-size:11px}
.team-battle-members strong{grid-column:1/-1;overflow-wrap:anywhere}
.team-battle-members span{color:#aab8c6;font-size:10px}
.team-score-note{font-size:10px;line-height:1.6;color:#aab8c6;margin:9px 0 0}

/* Seat picker: bounded dialog, compact alphabetical cards, no long player list. */
#modal.seat-picker-dialog{width:calc(100% - 20px);max-width:500px;height:min(850px,calc(100dvh - 20px));max-height:calc(100dvh - 20px);padding:0;overflow:hidden}
#modal.seat-picker-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
#modal.seat-picker-dialog .modal-head{position:static;padding:12px 14px;min-height:52px}
#modal.seat-picker-dialog .modal-head h2{font-size:16px}
#modal.seat-picker-dialog .modal-body{min-height:0;padding:12px;overflow:hidden}
.seat-picker{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:8px}
.seat-picker .seat-picker-search{margin:0;padding:0 10px;min-width:0}
.seat-picker-search input{min-height:40px;padding:8px;min-width:0;font-size:13px}
.seat-picker-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;font-size:11px;color:var(--muted)}
.seat-picker-toolbar select{width:auto;max-width:175px;min-height:32px;padding:5px 7px;border-radius:6px;font-size:11px}
.seat-picker-grid{--picker-rows:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(var(--picker-rows),minmax(0,1fr));gap:6px;min-height:0;overflow:hidden}
.seat-player-card{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;text-align:left;background:#192631;border:1px solid #354656;border-radius:7px;padding:8px 7px}
.seat-player-card:hover{background:#253747;border-color:var(--orange)}
.seat-player-card.assigned{border-color:#a37b4e;background:#30291f}
.seat-player-card.current{border-color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}
.seat-player-name{min-width:0;overflow-wrap:anywhere;line-height:1.35;font-size:12px;font-weight:650}
.seat-player-id{margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;gap:2px;line-height:1.2;color:#a6b8c8}
.seat-player-id small{font-size:9px;white-space:nowrap}.seat-player-id i{font-size:9px;font-style:normal;color:#ffba70;white-space:nowrap}
.seat-player-balance{display:flex;gap:3px;align-items:baseline;line-height:1.2;white-space:nowrap}.seat-player-balance b{color:#ffb561;font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:-.4px}.seat-player-balance small{font-size:9px;color:#aab8c6}
.seat-player-balance.long-balance b{font-size:10px;letter-spacing:-.3px}.seat-player-balance.long-balance small{font-size:8px}
.seat-picker-pages{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:32px;font-size:10px;color:var(--muted)}
.picker-page-button{border:1px solid #3d4d5c;border-radius:6px;min-height:32px;padding:5px 9px;font-size:11px;background:#1b2936}
.seat-picker-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid var(--line);padding-top:8px}.seat-picker-actions .subtle-button{min-height:34px;padding:6px;font-size:12px}
.seat-picker-empty{grid-column:1/-1;grid-row:1/-1;align-self:center;display:grid;gap:8px;text-align:center;color:var(--muted);font-size:12px}.seat-picker-empty strong{font-size:15px;color:var(--text)}
@media(min-width:430px){.seat-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Team results: group totals, overall ranking and within-group rankings. */
.battle-rankings{margin-top:24px}
.battle-ranking-scroll{overflow-x:auto;border:1px solid #354654;border-radius:10px;background:#17232d}
.battle-ranking{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.battle-ranking th,.battle-ranking td{padding:11px 9px;border-bottom:1px solid #30414e;text-align:center;white-space:nowrap}
.battle-ranking thead{background:#233441;color:#aebfcd;font-size:11px}
.battle-ranking th[scope="row"]{text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:80px}
.battle-ranking th small{display:block;margin-top:4px;color:#9fafbd;font-size:10px;font-weight:400}
.battle-ranking tr:last-child>*{border-bottom:0}
.battle-ranking tr[data-rank="1"]{background:#6b4b242b}
.battle-rank{font-weight:800;color:#ffb561}
.battle-group-rankings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.battle-group-rankings h3{font-size:16px;margin:0 0 9px}
.battle-group-rankings .battle-ranking{font-size:11px}
.battle-group-rankings .battle-ranking th,.battle-group-rankings .battle-ranking td{padding:9px 5px}
.ranking-rule{font-size:11px;line-height:1.7}
@media(max-width:720px){.battle-group-rankings{grid-template-columns:1fr}.battle-ranking{font-size:11px}.battle-ranking th,.battle-ranking td{padding:9px 5px}}

.battle-ranking-compact th[scope="row"]{min-width:0}.battle-ranking-compact td small{display:block;font-size:9px;color:#aebfcd;margin-top:3px}.battle-ranking-compact{table-layout:fixed}.battle-ranking-compact th:first-child{width:34px}.battle-ranking-compact th:last-child{width:74px}.battle-ranking-compact th,.battle-ranking-compact td{white-space:normal}
.battle-ranking-detailed{font-size:11px}
.battle-ranking-detailed th,.battle-ranking-detailed td{padding:11px 4px}
.battle-ranking-detailed th[scope="row"]{min-width:54px}
.battle-ranking-detailed thead th{white-space:normal}
.battle-ranking-detailed .battle-opponents-cell{min-width:118px;text-align:left;white-space:normal}
.battle-opponents{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.battle-opponents li{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:baseline;gap:4px;line-height:1.4}
.battle-outcome{font-weight:700;color:#89d5b0}.lost .battle-outcome{color:#f29c94}
.battle-opponent-name{overflow-wrap:anywhere;color:#dae4ec}.battle-opponent-score{color:#aebfcd;white-space:nowrap}

/* Keep the selected coach system visible beside the active player. */
.team-player-name h1{display:flex;flex-wrap:wrap;align-items:center;column-gap:9px;row-gap:4px}
.team-player-name h1>span{min-width:0}
.team-player-name .team-tactic{display:inline-flex;flex-direction:column;max-width:100%;color:#f3f5f5;font-size:12px;font-weight:500;letter-spacing:0;line-height:1.5;white-space:normal}
.team-coach-name{overflow-wrap:anywhere}.team-coach-system{white-space:nowrap}
.team-player-name .coach-tier-5{color:#ffd080}.team-player-name .coach-tier-3{color:#98dfae}.team-player-name .coach-tier-1{color:#f3f5f5}
@media(max-width:370px){.draft-team-heading .team-player-name{padding-left:0}.team-player-name .team-tactic{font-size:11px}.is-drafting .draft-team-heading{gap:8px}}

/* Era-card capabilities: compact selection hints; detailed evidence stays secondary. */
.ability-chips{display:flex;flex-wrap:wrap;gap:4px;grid-column:1/-1;margin-top:5px;font-size:11px;line-height:1.4;color:#c4d4dc}
.ability-chips>span{border:1px solid #42586a;border-radius:4px;padding:2px 5px;background:#122231}
.ability-chips b{color:#eed0a0;font-size:inherit}
.capability-open{width:100%;padding:7px!important;font-size:12px!important;text-align:center}
.capability-panel{margin:18px 0;text-align:left}.capability-panel h3{margin-bottom:8px}
.personal-badges{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.personal-badge{border:1px solid #526878;border-radius:8px;padding:8px 10px;max-width:100%;font-size:13px}.personal-badge summary{cursor:pointer;font-weight:700;min-height:24px}.personal-badge p{font-size:12px;max-width:38em;line-height:1.65}.personal-badge small{margin-left:5px;font-weight:400}.personal-badge.tier-high{border-color:#b48c4e;color:#f5cd88}.personal-badge.tier-medium{border-color:#608878;color:#aed5bf}.personal-badge.tier-basic{color:#e3e9ed}
.ability-group{margin:14px 0}.ability-group>summary,.ability-evidence>summary,.legacy-traits>summary{cursor:pointer;padding:8px 0;font-weight:700;min-height:32px}.ability-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px}.ability-cell{display:grid;grid-template-columns:1fr auto;gap:4px;padding:10px;background:#172a38;border:1px solid #324958;border-radius:6px;min-width:0}.ability-cell>span{font-size:12px}.ability-cell strong{font-size:22px;color:#f3c77d;line-height:1.2}.ability-cell small{font-size:10px;color:#a6b7c2}.ability-cell>small{grid-column:1/-1}.ability-cell span small{display:block}.ability-evidence{line-height:1.65;font-size:13px}.ability-evidence a{color:#efb165}.legacy-traits{margin-top:18px}
@media(max-width:520px){.ability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ability-chips{font-size:10px}.personal-badge{font-size:12px}.capability-panel h3{font-size:18px}}

/* Disabled candidates remain identifiable, but never resemble available rarity cards. */
.is-drafting .draft-workspace .candidate-card.unavailable{opacity:1;background:#090c10!important;border-color:#30353b!important;border-left-color:#30353b!important;box-shadow:none;filter:grayscale(1);cursor:not-allowed}
.is-drafting .draft-workspace .candidate-card.unavailable :is(.candidate-name,.candidate-meta,.candidate-stats,.candidate-price,.ability-chips){color:#626b76!important;opacity:.65}
.candidate-unavailable-reason{display:block;grid-column:1/-1;color:#b2bac4;font-size:11px;line-height:1.4;margin-top:5px;white-space:normal}
.lineup-review{max-width:680px;margin:0 auto 24px}.lineup-review .helper{margin-bottom:16px}.lineup-review-actions{display:flex;gap:12px;margin-top:20px}.lineup-review-actions .primary{flex:1}.lineup-review .compact-lineup{width:100%}
@media(max-width:520px){.lineup-review .section-heading{align-items:start;gap:8px}.lineup-review .section-heading span{font-size:12px}.lineup-review-actions{gap:8px}.lineup-review-actions .button{padding:12px 10px;font-size:14px}}

.team-poster-total .team-poster-subscore{color:#ffe0a6;font-size:clamp(12px,1.8vw,20px);font-weight:700;white-space:nowrap;margin-top:4px}
.personal-badge.tier-medium{border-color:#a9b6c4;color:#e2e9f0;background:linear-gradient(135deg,#283642,#17222b)}
.personal-badge.tier-basic{border-color:#b47a50;color:#e9ba99;background:linear-gradient(135deg,#322c29,#1b2229)}
.team-player-name .coach-tier-3{color:#dce5ed}.team-player-name .coach-tier-1{color:#e4b18d}
.power-strip:has(>span:nth-child(5)){flex-wrap:wrap;gap:12px}
.generation-panel{max-width:640px;min-height:480px;margin:28px auto;padding:34px 24px;text-align:center;border:1px solid #3b5263;border-radius:20px;background:radial-gradient(ellipse at top,#20384a,#101b25 72%)}
.generation-panel .overline{color:#d9b582;letter-spacing:.2em}.generation-panel h1{font-size:30px;margin:18px 0 8px}.generation-subtitle,.generation-note{color:#aabdc9;font-size:13px;line-height:1.7}.generation-orbit{width:72px;height:72px;border:1px solid #69808d;border-top:2px solid #f5bc76;border-radius:50%;margin:25px auto;display:grid;place-items:center;animation:generation-spin 3s linear infinite}.generation-orbit span{color:#efaf61;font-size:36px}
.generation-current{min-height:98px;margin:22px 0;padding:18px 8px;border-top:1px solid #334c5c;border-bottom:1px solid #334c5c}.generation-current b{font-size:20px;color:#ffcd89}.generation-current p{font-size:13px;color:#c1cfda;line-height:1.8;margin-top:8px}.generation-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:24px 0}.generation-steps li{font-size:12px;color:#72899a}.generation-steps span{display:block;font:18px ui-monospace,monospace;margin-bottom:8px}.generation-steps .current{color:#ffd396}.generation-steps .visited{color:#c2cfd6}.generation-panel .text-button{min-height:44px;margin-top:12px;color:#c3d1da}.generation-error{padding:15px;background:#3a2527;border:1px solid #b26963;border-radius:10px;color:#f4c7bc}
.result-reveal{animation:result-appear .55s ease-out var(--reveal-delay,0ms) both}
@keyframes generation-spin{to{transform:rotate(360deg)}}
@keyframes result-appear{from{opacity:0;visibility:hidden;transform:translateY(12px)}to{opacity:1;visibility:visible;transform:translateY(0)}}
@media(max-width:520px){.generation-panel{min-height:450px;margin:18px 0;padding:24px 16px}.generation-panel h1{font-size:26px}.generation-steps{gap:4px}.generation-steps li{font-size:11px}}
@media(prefers-reduced-motion:reduce){.generation-orbit{animation:none}.result-reveal{animation-name:result-fade;animation-duration:.01s}@keyframes result-fade{from{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}}
.busy .generation-panel [data-action="skip-generation"]{pointer-events:auto}
.ability-chips>span.tier-high{border-color:#bd9659;color:#f4d08b;background:#30271b}
.ability-chips>span.tier-medium{border-color:#9eadbb;color:#e0e7ef;background:#26323d}
.ability-chips>span.tier-basic{border-color:#ab7856;color:#e8b794;background:#31271f}
.ability-chips>span[class*="tier-"] b{color:inherit}

/* Compact draft cards: preserve name emphasis and keep each badge on one line. */
.is-drafting .draft-workspace .candidate-card{padding:4px 7px;gap:2px 4px;grid-template-rows:auto auto auto}
.draft-workspace .candidate-card .candidate-name{grid-column:1/-1;font-size:14px;line-height:1.25;font-weight:700}
.draft-workspace .candidate-card .candidate-meta{font-size:9px;line-height:1.2}
.draft-workspace .candidate-stats{display:flex;flex-wrap:wrap;gap:2px 9px;margin-top:0}
.draft-workspace .candidate-stats b{font-size:10px;line-height:1.25}
.draft-workspace .candidate-card .candidate-price{grid-row:2/4;font-size:21px;align-self:center}
.draft-workspace .candidate-price>span{font-size:12px}
.draft-workspace .candidate-card .ability-chips{grid-row:4;display:flex;gap:3px;margin-top:2px;font-size:9px;line-height:1.25}
.draft-workspace .candidate-card .ability-chips>span{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap;padding:2px 3px}
.draft-workspace .candidate-card .ability-chips b{display:inline;white-space:nowrap;font-size:inherit;line-height:inherit;margin:0;font-family:inherit}
.draft-workspace .candidate-unavailable-reason{margin-top:1px;font-size:9px;line-height:1.25}
@media(max-width:370px){.draft-workspace .candidate-card .candidate-name{font-size:13px}.draft-workspace .candidate-card .ability-chips{font-size:8px;gap:2px}.draft-workspace .candidate-card .ability-chips>span{padding:2px;gap:2px}.draft-workspace .candidate-stats{gap:2px 6px}}
.draft-workspace{grid-template-columns:minmax(0,.45fr) minmax(0,.55fr)}

/* Standings rows are the entry to each player's round-robin reports. */
.standings-hint{font-size:9px;color:var(--muted);margin:0 0 5px}
button.standing-link{width:100%;text-align:left;background:transparent;border:0;border-radius:0;color:inherit;font:inherit;cursor:pointer}
button.standing-link+.standing-link{border-top:1px solid #2c3b49}
button.standing-link:hover{background:#223441}
button.standing-link:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:4px}
.player-series-summary{margin-top:0}.report-back{white-space:nowrap}
@media(max-width:440px){.tactical-dialog .modal-head:has(.report-back){flex-wrap:wrap;gap:8px}.tactical-dialog .modal-head:has(.report-back) .modal-actions{margin-left:auto}}

.standing-row .standing-analysis{font-size:10px;line-height:1.55;color:#b7c8d5;margin-top:6px}.standing-row>span{min-width:0}.standing-link>b:last-child{white-space:nowrap}

/* Entry and selection typography: emphasise names without adding extra rows. */
.conference-grid .conference h3{font-size:16px}
.conference-grid .slot-name strong{font-size:18px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.is-coaching .team-heading h1{font-size:26px}
.is-coaching .team-heading .overline{font-size:11px}
.is-coaching .coach-option h2{font-size:16px}
.is-coaching .coach-option-name{font-size:12px}
.is-coaching .coach-option .coach-fit{font-size:13px}
.is-coaching .coach-option .coach-risk{font-size:12px}
.is-coaching .coach-option{padding:10px;min-height:76px}
.is-coaching .tier span{font-size:12px}
.draft-workspace .candidate-heading{grid-column:1/-1;grid-row:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 4px;min-width:0;line-height:1.25;text-align:left}
.draft-workspace .candidate-card .candidate-name{display:block;flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;overflow:visible;text-overflow:clip}
.draft-workspace .candidate-card .candidate-meta{display:block;flex:0 0 auto;white-space:nowrap;margin-left:0}
.is-drafting .draft-workspace .candidate-card{grid-template-rows:auto auto;row-gap:1px}
.draft-workspace .candidate-stats{grid-row:2;margin-top:0;align-self:center}
.draft-workspace .candidate-card .candidate-price{grid-row:2}
.compact-lineup .court-player b,.compact-lineup .bench-player b,.compact-lineup .bench-coach b{font-size:11px}
@media(max-width:370px){.compact-lineup .court-player b,.compact-lineup .bench-player b,.compact-lineup .bench-coach b{font-size:10px}}
.game-shell[data-stage="lobby"] .conference-grid .conference h3>span{font-size:16px;line-height:1.4}

/* Centre has its own row: use the free space to keep full names readable. */
.compact-lineup .position-C{left:10%;right:auto;width:80%}

/* One login owns one complete, private game save. */
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0,#20384a 0,#101820 56%,#0b1118 100%)}
.auth-card{width:min(420px,100%);padding:32px;border:1px solid #40576a;border-radius:18px;background:#14222d;box-shadow:0 24px 70px #05090d99}
.auth-brand{text-align:center;margin-bottom:24px}.auth-brand>span:last-child{display:block;color:#9fb1bf;font-size:13px}

.brand-wordmark{display:grid;width:max-content;min-width:132px;height:38px;padding:0 14px;place-items:center;background:var(--orange);color:#171a1c;border-radius:5px;font-size:12px;font-weight:850;letter-spacing:.1em;line-height:1;white-space:nowrap;transform:skew(-5deg)}
.auth-brand .brand-wordmark{min-width:210px;height:58px;margin:0 auto 14px;padding:0 24px;font-size:21px;letter-spacing:.11em}
.is-drafting .brand-wordmark,.is-coaching .brand-wordmark{min-width:112px;height:30px;padding-inline:10px;font-size:10px}
@media(max-width:370px){.topbar .brand-wordmark{min-width:106px;height:30px;padding-inline:9px;font-size:9px}.auth-brand .brand-wordmark{min-width:190px;height:54px;font-size:19px}}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:18px;border-bottom:1px solid #324757}.auth-tabs button{padding:12px;border:0;background:transparent;color:#9fb1bf;font:inherit;cursor:pointer}.auth-tabs button.active{color:#ffc375;border-bottom:2px solid #f5a24d}
.auth-card form{display:grid;gap:14px}.auth-card label{display:grid;gap:7px;color:#c8d3db;font-size:13px}.auth-card input{width:100%;min-height:48px;padding:0 13px;border:1px solid #486071;border-radius:8px;background:#0d1720;color:#f2f5f7;font:inherit}.auth-note{margin:0;color:#91a5b3;font-size:12px;line-height:1.6}.auth-error{padding:10px 12px;border:1px solid #9e5656;border-radius:7px;background:#372125;color:#ffd2cd;font-size:12px}.account-summary strong{font-size:24px;color:#ffc477}.account-summary p{color:#b6c5cf;line-height:1.7}
@media(max-width:520px){.auth-page{padding:14px}.auth-card{padding:24px 18px}.auth-brand h1{font-size:26px}}
