/* Teammates: a classic sports game, with a clear daily-first website. */
:root{--paper:#0c1630;--white:#f6f0dc;--ink:#f6f0dc;--muted:#a2b2c8;--line:#304864;--blue:#83d9e0;--gold:#ffd087;--red:#ffd087;--shadow:3px 3px #050d21}
body{background:#0c1630;color:#f6f0dc;font:14px/1.6 Arial,Helvetica,sans-serif;background-image:radial-gradient(ellipse at 80% 0,#26385c77,transparent 60%)}.site-world{display:none}.shell{max-width:1200px;padding:0 30px 30px}.demo-banner{font:9px/1.8 Arial,sans-serif;background:#101d34;color:#9aacc3;border-bottom:1px solid #243c57;padding:5px 15px}.topbar{background:none;margin:0;min-height:88px;padding:16px 0;border-bottom:1px solid #314965;flex-wrap:nowrap}.brand{cursor:pointer;gap:13px;min-width:210px}.logo{font-family:Pixel,monospace;background:none;color:var(--gold);box-shadow:none;width:28px;height:35px;font-size:26px}.brand-name{font:19px/1.8 Pixel,monospace;letter-spacing:0}.brand-sub{font:8px/1.5 Arial,sans-serif;letter-spacing:1.7px;color:#9eafc4;margin-top:0}.club-nav{display:flex;align-self:stretch;gap:28px;margin-left:auto;margin-right:22px}.club-nav button{font:12px Arial,sans-serif;background:none;border:0;color:var(--muted);position:relative;padding:0}.club-nav button.active{color:var(--ink)}.club-nav button.active:after{content:'';height:3px;position:absolute;bottom:-16px;left:0;right:0;background:var(--gold);box-shadow:0 2px #84566d}.top-actions{gap:10px}.ghost,.profile-pill{background:#19304a;border:1px solid #3c5977;box-shadow:2px 2px #050d21;font:10px Arial,sans-serif;min-height:36px;padding:8px 11px}.profile-pill b{font:10px Arial,sans-serif}.sound-toggle{font-size:8px;letter-spacing:.6px;white-space:nowrap}.sportbar{gap:6px;padding:20px 0 18px;overflow:auto;flex-wrap:nowrap}.sporttab{font:11px Arial,sans-serif;min-height:32px;padding:6px 14px;border:1px solid transparent;box-shadow:none;background:none;color:var(--muted);white-space:nowrap}.sporttab:before{display:none}.sporttab.active{background:#213b57;border:1px solid #6088a0;box-shadow:2px 2px #050d21}.sporttab:hover{background:#19304a}.club-topline{display:flex;align-items:center;justify-content:space-between;font:8px/1.8 Arial,sans-serif;font-weight:700;letter-spacing:1.5px;color:var(--muted);margin:2px 0 17px}.club-topline i{display:inline-block;width:5px;height:5px;background:#afddaa;margin-right:7px;box-shadow:0 0 10px #b5e6ac55}.club-topline span:last-child{font-size:9px;letter-spacing:.6px;font-weight:400}.club-hero{min-height:420px;position:relative;isolation:isolate;overflow:hidden;background:#142b49 center 69%/cover no-repeat;border:1px solid #3b5674;clip-path:polygon(7px 0,calc(100% - 7px) 0,calc(100% - 7px) 3px,100% 3px,100% calc(100% - 7px),calc(100% - 3px) calc(100% - 7px),calc(100% - 3px) 100%,7px 100%,7px calc(100% - 3px),0 calc(100% - 3px),0 7px,7px 7px);image-rendering:pixelated;display:flex;align-items:center;padding:38px 42px}.club-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#08152deb 0%,#0b1934c9 30%,#08152d11 80%),linear-gradient(0deg,#07132b77,transparent 60%)}.club-kicker{font:700 9px/1.8 Arial,sans-serif;letter-spacing:1.7px;color:var(--blue);margin:0 0 15px}.club-hero h1{font:54px/1.4 Pixel,monospace;letter-spacing:-1px;color:var(--ink);text-shadow:3px 3px #3f4a6f,5px 5px #08142b;margin:0 0 15px}.club-hero h1 span{color:var(--gold);text-shadow:3px 3px #78536d,5px 5px #08142b}.club-description{font:13px/1.7 Arial,sans-serif;color:#c3cfdf;max-width:300px;margin:0 0 25px}.club-play{min-width:250px;justify-content:space-between}.club-play span{font:19px Arial,sans-serif;margin-left:20px}.club-live-caption{position:absolute;right:20px;bottom:18px;font:8px/1.8 Arial,sans-serif;letter-spacing:1px;color:#c4d1dc}.club-live-caption:before{content:'';display:inline-block;width:5px;height:5px;background:var(--gold);margin-right:7px;animation:clubGlow 4s ease-in-out infinite}.btn{font:11px/1.8 Pixel,monospace;padding:13px 17px;border-radius:0;min-height:46px;transition:transform .16s,background .16s}.btn.primary{background:var(--gold);color:#182335;border:0;box-shadow:inset 0 2px #fff0c5,inset 0 -3px #b98450,3px 4px #040d21}.btn.primary:hover{background:#ffdda1;transform:translateY(-2px)}.btn.primary:active{transform:translate(2px,2px);box-shadow:inset 0 1px #fff0c5,inset 0 -2px #b98450,1px 2px #040d21}.btn.secondary,.btn.dark{background:#1c3451;color:#dbedf0;border:1px solid #52718e;box-shadow:inset 0 1px #486583,2px 3px #050d21}.btn.secondary:hover{background:#284766;transform:translateY(-2px)}.btn:disabled{opacity:.55;transform:none}.eyebrow{font:700 9px/1.7 Arial,sans-serif;letter-spacing:1.4px;color:var(--blue)}.eyebrow:before{display:none}.section-head{margin:29px 0 17px}.section-head h2{font:17px/1.7 Pixel,monospace;letter-spacing:0;color:var(--ink)}.section-head p{font:12px/1.6 Arial,sans-serif;color:var(--muted);margin:5px 0 0}.club-daily-head{display:flex;justify-content:space-between;align-items:center}.club-date{font:10px Arial,sans-serif;color:var(--muted)}.game-grid{grid-template-columns:1fr 1fr;gap:18px}.game-card.club-card{position:relative;display:flex;gap:20px;min-height:225px;padding:25px 23px;background:#14243d;border:1px solid #36536f;box-shadow:3px 3px #071027;border-radius:0;transition:transform .2s,background .2s,border-color .2s;overflow:visible;align-items:center}.game-card.club-card:hover{transform:translateY(-3px);background:#1a2e4b;border-color:#6a91aa}.club-card .game-copy{padding:0;display:block;flex:1}.club-card .game-copy h3{font:21px/1.6 Pixel,monospace;margin:8px 0 10px;letter-spacing:-.5px;color:var(--ink)}.club-card .game-copy p{font:12px/1.7 Arial,sans-serif;color:var(--muted);margin:0 0 12px;max-width:300px}.club-card .game-copy .btn{font-size:9px;min-height:36px;padding:8px 12px}.club-card-icon{color:var(--blue);width:66px;min-width:66px;height:80px;display:grid;place-items:center;background:radial-gradient(ellipse,#74c2df17,transparent 65%)}.club-card-icon svg{width:66px;height:66px;shape-rendering:crispEdges}.club-card-icon.gold{color:var(--gold)}.tagrow{margin:0 0 17px;gap:12px}.tag{border:0;background:none;padding:0;color:#bbc9d8;font:9px/1.7 Arial,sans-serif;letter-spacing:.3px}.club-card-state{position:absolute;right:17px;top:13px;color:#95d5d9;font:8px/1.7 Arial,sans-serif;letter-spacing:.5px}.club-compete-strip{display:flex;gap:22px;align-items:center;margin-top:27px;padding:23px 0;border-block:1px solid var(--line)}.club-vs{font:24px/1.5 Pixel,monospace;color:#daa3ca}.club-compete-strip h3{font:700 13px/1.6 Arial,sans-serif;margin:0}.club-compete-strip p{font:12px/1.6 Arial,sans-serif;color:var(--muted);margin:3px 0 0}.club-compete-strip .backbtn{margin-left:auto;color:var(--gold);font:10px Arial,sans-serif;white-space:nowrap}.club-bottomline{display:flex;justify-content:space-between;margin-top:17px;color:var(--muted);font:10px Arial,sans-serif}.club-bottomline button{font:10px Arial,sans-serif}.club-page-head{margin:20px 0 28px}.club-page-head h1{font:31px/1.7 Pixel,monospace;color:var(--ink);margin:8px 0 12px;letter-spacing:-1px}.club-page-head>p:last-child{font:14px/1.7 Arial,sans-serif;color:var(--muted)}.club-compete .hero{border:1px solid #3e5976;background:#14243d;box-shadow:3px 3px #050d21;grid-template-columns:1fr;min-height:320px}.club-compete .hero-art{display:none}.club-compete .hero-copy{padding:34px;max-width:none}.club-compete .hero h1{font:29px/1.5 Pixel,monospace;letter-spacing:-1px;margin:12px 0}.club-compete .hero h1 span{color:var(--gold)}.club-compete .hero p{font:14px/1.7 Arial,sans-serif;max-width:600px}.club-compete .hero-copy .actions{max-width:680px}.club-compete .hero-copy .actions .btn{flex:1 1 20%;font-size:10px}.hero-meta{margin-top:28px;gap:30px}.metric{border-left:1px solid #49647e;padding-left:15px}.metric strong{font:20px/1.7 Pixel,monospace;letter-spacing:-1px}.metric span{font:9px Arial,sans-serif}.club-standings .lb-preview{margin-top:0}.lb-preview,.pane,.tm-shell,.tm-board,.control-block,.modal,.profile-box{background:#12223b;border:1px solid #3b5775;box-shadow:3px 3px #050d21;border-radius:0}.lb-preview{padding:27px}.lb-preview-head h3{font:16px/1.8 Pixel,monospace;margin:0}.lb-preview-head{gap:20px}.tiny,.demo-badge{font-family:Arial,sans-serif}.demo-badge{font-size:7px;border:1px solid #3e5975;background:#17354b;color:#9cdbd8;padding:3px 6px;margin-left:7px}.chipbtn{font:10px Arial,sans-serif;background:#1b3450;color:#c2d4e0;border:1px solid #486583;border-radius:0;padding:9px 11px;min-height:34px;box-shadow:none}.chipbtn.active{background:#31516a;border-color:#8fcbd5;color:#edf7ee}.lb-table{font:13px/1.6 Arial,sans-serif}.lb-table th{font:10px/1.8 Arial,sans-serif;color:var(--muted);background:none;letter-spacing:.7px}.lb-table td{color:#e1e9ee}.lb-table td,.lb-table th{border-bottom:1px solid #2e4561;padding:15px 10px}.lb-table tbody tr:hover{background:#20364e}.profile-link{color:#a5dce0;font:13px Arial,sans-serif;min-height:30px}.empty-state{font:13px/1.8 Arial,sans-serif;padding:30px 0}.modal-backdrop{background:#030a1cdb;backdrop-filter:blur(7px)}.modal{padding:30px;animation:clubModal .22s ease-out}.modal h2{font:22px/1.6 Pixel,monospace;letter-spacing:-1px}.modal-x{background:#213d59;color:#c8dce8;border-radius:0}.auth-form{gap:17px;font:13px Arial,sans-serif}.field,.auth-form input,.tm-entry input{font:16px/1.6 Arial,sans-serif;background:#0b1930;border:1px solid #52738f;padding:12px;color:var(--ink);border-radius:0}.notice,.notice.error{font:13px/1.7 Arial,sans-serif;border:1px solid #4b6380;background:#20364e;color:#d6e5ed}.profile-box strong{font:22px/1.6 Pixel,monospace;color:var(--gold)}.profile-box span{font:10px Arial,sans-serif}.history-row{font:12px Arial,sans-serif}.roundbadge,.backbtn{font:11px/1.7 Arial,sans-serif}.backrow{margin:16px 0 24px}.game-title{font:30px/1.5 Pixel,monospace;letter-spacing:-1px}.game-sub{font:13px/1.8 Arial,sans-serif}.duel-player strong{font:18px Arial,sans-serif}.tm-shell{padding:25px}.tm-board{box-shadow:none}.tm-status,.chain-name{font-family:Arial,sans-serif}.season-row{background:#1d3650;border-radius:0;font-family:Arial,sans-serif}.season-name strong{font-size:12px}.season-name small{font:10px Arial,sans-serif}.timer-ring{border-radius:50%}.matchmaking-panel{margin:20px auto;padding:40px}.matchmaking-panel h1{font:26px/1.8 Pixel,monospace}.matchmaking-panel p{font:14px/1.7 Arial,sans-serif}.matchmaking-players{background:#182e48;border:1px solid #3b5775}.tg-layout{gap:20px}.tg-photo-box,.tg-map-box,.tg-controls,.tg-result-map-wrap,.tg-result-context,.tg-score{border-color:#3b5775!important;border-width:1px!important;box-shadow:none!important;background-color:#13243d!important}.tg-photo{border-radius:0}.control-block label{font:10px Arial,sans-serif}.control-block select,.control-block input{font:14px Arial,sans-serif;color:var(--ink);background:#12243b;border:1px solid #476784}.result-reveal h3{font-family:Pixel,monospace;color:var(--gold);font-size:29px}.result-reveal{border-color:#3b5775}.tg-round-results{animation:clubEnter .3s ease}.tg-result-context h2,.tg-result-score-row strong{font-family:Pixel,monospace}.footer{font:8px/1.8 Arial,sans-serif;letter-spacing:1px;color:#8b9fb9;padding:28px 0 10px;border-top:1px solid var(--line);margin-top:35px}.footer .backbtn{font-size:8px}.club-enter{animation:clubEnter .32s cubic-bezier(.2,.65,.3,1)}.club-snow{position:absolute;inset:0;pointer-events:none;z-index:-1;overflow:hidden}.club-snow i{position:absolute;top:-10px;left:calc(var(--i)*8.1% + 2%);width:2px;height:2px;background:#d2e8ee77;animation:clubSnow calc(14s + var(--i)*1s) linear infinite;animation-delay:calc(var(--i)*-3s)}body:not([data-club-sport=hockey]):not([data-club-sport=all]) .club-snow{display:none}
@keyframes clubEnter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes clubModal{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}@keyframes clubSnow{to{transform:translate(30px,450px);opacity:.2}}@keyframes clubGlow{50%{opacity:.4;box-shadow:0 0 10px #ffd08799}}
@media(max-width:760px){.shell{padding:0 20px 85px}.topbar{min-height:75px;gap:10px;padding:13px 0}.brand{min-width:0;gap:9px}.brand-name{font-size:16px}.brand-sub{font-size:6px;letter-spacing:1.1px}.logo{font-size:24px;width:24px}.top-actions{margin-left:auto;gap:6px}.profile-pill{padding:7px;min-height:31px;font-size:9px}.profile-pill b{font-size:8px}.sound-toggle{font-size:7px;padding:7px;min-height:31px}.club-nav{position:fixed;bottom:0;left:0;right:0;margin:0;background:#0b1530f5;backdrop-filter:blur(10px);height:58px;z-index:35;border-top:1px solid #3b5570;justify-content:space-around;gap:0}.club-nav button{padding:0 20px;font-size:11px}.club-nav button.active:after{bottom:auto;top:0}.sportbar{padding:16px 0;gap:3px}.sporttab{padding:6px 10px;font-size:10px;min-height:30px}.club-topline{font-size:7px;letter-spacing:.9px;margin-bottom:14px}.club-topline span:last-child{font-size:8px;max-width:135px;text-align:right}.club-hero{min-height:390px;padding:28px 22px;background-position:65% 70%;align-items:flex-start}.club-hero:before{background:linear-gradient(90deg,#08152deb,#0b1934aa 40%,#08152d25),linear-gradient(0deg,#07132b88,transparent 70%)}.club-hero h1{font-size:35px;line-height:1.5;margin:22px 0 15px;letter-spacing:-1px}.club-kicker{font-size:7px;letter-spacing:1px;line-height:1.8}.club-description{font-size:12px;max-width:240px}.club-play{min-width:0;font-size:9px;padding:13px 15px}.club-live-caption{font-size:6px;right:15px;bottom:15px}.club-daily-head{margin:25px 0 14px;gap:15px}.section-head h2{font-size:13px}.section-head p{font-size:10px}.club-date{font-size:8px;white-space:nowrap}.game-grid{grid-template-columns:1fr;gap:15px}.game-card.club-card{min-height:205px;padding:24px 19px;gap:16px}.club-card .game-copy h3{font-size:19px}.club-card .game-copy .btn{font-size:8px}.club-card-icon{width:50px;min-width:50px}.club-card-icon svg{width:50px}.club-card-state{font-size:7px;top:11px;right:13px}.club-card .game-copy p{font-size:12px}.club-card .eyebrow{font-size:8px}.club-compete-strip{gap:12px}.club-vs{font-size:20px}.club-compete-strip h3{font-size:12px}.club-compete-strip p{font-size:10px;max-width:165px}.club-compete-strip .backbtn{font-size:8px}.club-bottomline{font-size:8px}.club-bottomline button{font-size:8px}.club-page-head h1{font-size:23px;line-height:1.8}.club-page-head p:last-child{font-size:12px}.club-compete .hero-copy{padding:25px}.club-compete .hero h1{font-size:24px}.club-compete .hero p{font-size:12px}.club-compete .hero-copy .actions .btn{font-size:9px;flex:1 1 40%}.hero-meta{gap:20px}.metric strong{font-size:17px}.metric span{font-size:8px}.lb-preview{padding:20px}.lb-preview-head{align-items:flex-start;flex-direction:column}.lb-preview-head h3{font-size:14px}.lb-tabs{flex-wrap:wrap;gap:5px}.chipbtn{font-size:9px;padding:8px}.lb-table td,.lb-table th{padding:12px 5px;font-size:11px}.lb-table th{font-size:8px}.profile-link{font-size:11px}.modal{padding:24px}.modal h2{font-size:19px}.modal-backdrop{padding:12px}.game-title{font-size:24px}.tm-shell{padding:17px}.game-sub{font-size:12px}.btn{font-size:9px}.matchmaking-panel{padding:25px}.matchmaking-panel h1{font-size:23px}.footer{font-size:7px;gap:12px}.footer .backbtn{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.result-reveal h3,.tg-score strong{animation:clubScore .4s steps(6)}@keyframes clubScore{from{opacity:.25;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}
@media(max-width:760px){.profile-pill{max-width:105px}.profile-pill #headerName{display:block;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-pill #headerElo{display:none}.club-nav{padding-bottom:env(safe-area-inset-bottom);height:calc(58px + env(safe-area-inset-bottom))}}
/* Keep the established illustrated sports world around the cleaner interface. */
body{background:#102a44;background-image:none}.site-world{display:block;position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;background:#142e4b}.site-world canvas{display:block;width:100%;height:100%;image-rendering:pixelated}.site-world:after{background:linear-gradient(#07122140,#07122188);box-shadow:inset 0 0 100px #07122155}.topbar{background:#0b1835b8}.shell{position:relative;z-index:1}.club-topline,.club-daily-head,.club-compete-strip,.club-bottomline,.club-page-head,.footer{position:relative;text-shadow:0 1px 2px #020817}.club-topline,.club-bottomline{color:#c1d6e6}.club-daily-head p,.club-date,.club-page-head>p:last-child{color:#bbcede}.club-compete-strip{background:#0b193777;padding:20px 16px}.club-card.game-card{background:#102139ed}.club-page-snow{position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden}.club-page-snow i{position:absolute;left:calc(mod(var(--flake)*29,100)*1%);top:-8px;width:2px;height:2px;background:#d6efff88;box-shadow:0 0 3px #d6efff55;animation:clubPageSnow calc(16s + mod(var(--flake),11)*1s) linear infinite;animation-delay:calc(var(--flake)*-1.7s)}.club-page-snow i:nth-child(3n){width:3px;height:3px;opacity:.5}.club-page-snow i:nth-child(4n){opacity:.35}@keyframes clubPageSnow{to{translate:40px 105vh;opacity:.15}}@media(prefers-reduced-motion:reduce){.club-page-snow i{animation:none;display:none}}
@media(max-width:760px){.brand{flex:none}.brand-name{white-space:nowrap;font-size:14px}.brand-sub{white-space:nowrap;font-size:6px;letter-spacing:1px}.top-actions{flex-direction:column;align-items:flex-end;flex-wrap:nowrap;gap:5px}.topbar{min-height:83px}.club-hero h1{font-size:clamp(24px,7vw,32px);line-height:1.5}.club-compete-strip{display:grid;grid-template-columns:32px 1fr;gap:12px 15px}.club-vs{white-space:nowrap}.club-compete-strip>div{min-width:0}.club-compete-strip h3{line-height:1.6}.club-compete-strip p{max-width:none}.club-compete-strip .backbtn{grid-column:2;justify-self:start;margin-left:0}.club-topline{letter-spacing:.4px}.club-topline span:last-child{max-width:130px}}
.club-home-compete{margin-top:25px}.club-home-compete .hero{min-height:0}.club-home-compete .hero-copy{padding:27px 30px}.club-home-compete .hero-copy .actions{max-width:720px}.club-home-compete .hero-meta{margin-top:23px}body[data-club-sport=all] .club-home-compete{display:none}
@media(max-width:760px){.club-home-compete{margin-top:20px}.club-home-compete .hero-copy{padding:24px}.club-home-compete .hero-copy .actions{gap:10px}.club-home-compete .hero-copy .actions .btn{flex:1 1 40%}}

/* Compact game menu, with the illustrated world retained. */
.club-topline,.club-hero{display:none}.club-home-compete{margin-top:0}.club-home-compete .hero{background-position:center 65%;background-size:cover;position:relative;isolation:isolate}.club-home-compete .hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071827f5 0%,#071827eb 48%,#071827ba);z-index:-1}.club-home-compete .hero-copy{display:grid;grid-template-columns:1.1fr 1fr;column-gap:50px;padding:28px}.club-home-compete .hero-copy>.eyebrow,.club-home-compete .hero-copy>h1,.club-home-compete .hero-copy>p,.club-home-compete .hero-meta{grid-column:1}.club-home-compete .hero-copy>.actions{grid-column:2;grid-row:1/5;display:grid;grid-template-columns:1fr 1fr;align-self:center;gap:10px}.club-home-compete .hero h1{margin:10px 0;font-size:30px}.club-home-compete .hero h1 span{color:inherit}.club-home-compete .hero p{font-size:13px;margin:0}.club-home-compete .hero-meta{margin-top:18px}.club-home-compete .metric{background:none;border:0;border-left:1px solid #49647e;border-radius:0;min-width:68px}.club-home-compete .actions .btn{min-width:0;font-size:11px;padding:10px}.club-daily-head{margin:22px 0 14px}.club-card-icon{display:none}.game-card.club-card{min-height:230px;align-items:flex-start;padding:25px}.club-card .game-copy p{max-width:none}.game-card.club-card .btn{background:var(--gold);color:#182335;border:0}.lb-preview{padding:0;margin-top:22px}.lb-preview-head{padding:18px}.lb-preview .empty-state{padding:20px}.club-bottomline{margin-top:16px}.footer{margin-top:22px}
@media(max-width:760px){.shell{padding-bottom:25px}.club-home-compete .hero-copy{display:flex;padding:24px;gap:0}.club-home-compete .hero-copy>.actions{order:5;width:100%;margin-top:22px}.club-home-compete .hero-meta{margin-top:18px}.club-home-compete .hero h1{font-size:26px}.top-actions>.ghost:not(.sound-toggle){font-size:9px}.lb-preview-head{flex-wrap:wrap}.game-card.club-card{min-height:210px}}
.club-home-compete .hero h1 span{display:inline}

/* Set the sport selector along the ice surface. */
.sportbar{margin-top:36px}

/* Keep sport choices readable against the ice and scenery. */
.sportbar .sporttab{background:#10263f;color:#f5f3e8;border:1px solid #8aacc4;box-shadow:2px 3px #061324;padding:8px 14px;text-shadow:none}.sportbar .sporttab:hover{background:#254b68;color:#fff;border-color:#d3efff}.sportbar .sporttab.active{background:#ffd087;color:#132438;border-color:#ffe6b8;box-shadow:inset 0 -3px #ba874c,2px 3px #061324}.sportbar .sporttab:focus-visible{outline:3px solid #8ce9ff;outline-offset:4px}

/* Align the Teammates panel with the ice below the rink boards. */
.club-home-compete{margin-top:12px}


/* Keep the existing responsive logo box and wordmark alignment. */
.topbar .brand .logo{flex-shrink:0;overflow:hidden;background:none;border:0;box-shadow:none;border-radius:0}
.topbar .brand .logo img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:crisp-edges;image-rendering:pixelated}
.topbar .brand .logo{position:relative}.topbar .brand .logo img{position:absolute;inset:0;min-width:0;min-height:0;max-width:100%;max-height:100%}
/* Larger mascot artwork without moving the existing brand or header layout. */
.topbar .brand .logo{overflow:visible}
.topbar .brand .logo img{inset:auto;left:50%;top:50%;width:48px;height:72px;max-width:none;max-height:none;transform:translate(-50%,-50%);pointer-events:none}
@media(max-width:760px){.topbar .brand .logo img{width:36px;height:56px}}
/* Balance the mascot and two text lines as one centered brand lockup. */
.topbar .brand{align-items:center;gap:14px}
.topbar .brand .logo{width:46px;height:46px;flex:0 0 46px}
.topbar .brand .logo img{width:54px;height:80px}
.topbar .brand .logo+div{display:flex;flex-direction:column;justify-content:center;gap:4px}
.topbar .brand .brand-name{font-size:25px;line-height:1.15;letter-spacing:.2px}
.topbar .brand .brand-sub{font-size:10px;line-height:1.4;letter-spacing:1.7px;margin:0;white-space:nowrap}
@media(max-width:760px){.topbar .brand{gap:10px}.topbar .brand .logo{width:32px;height:40px;flex-basis:32px}.topbar .brand .logo img{width:40px;height:64px}.topbar .brand .brand-name{font-size:19px}.topbar .brand .brand-sub{font-size:7px;letter-spacing:.9px}.topbar .brand .logo+div{gap:3px}}

/* Keep the turn clock visible throughout a growing Teammates chain. */
.tm-board{overflow:visible}
.tm-board .tm-head{position:sticky;top:0;z-index:30;background:#102b42;box-shadow:0 3px 0 #345269}
/* The live clock follows the viewport even below the board and input. */
#teammatesView.active #tmTimerRing{position:fixed;top:calc(12px + env(safe-area-inset-top,0px));right:calc(12px + env(safe-area-inset-right,0px));z-index:100;width:62px;height:62px;box-shadow:0 3px 12px #030b17;border:2px solid #79dbe0;pointer-events:none}
#teammatesView.active #tmTimerRing strong{font-size:24px}

.season-row.exhausted .season-uses{color:#ffbb55}
/* Make rejected Teammates moves clearly visible against the dark board. */
#tmFeedback .notice.error{color:#ff8585;border-color:#ef6464;background:#341b2b}

/* Weekly starters, between the daily games and global standings. */
.starting-lineup{margin:30px 0}.starting-lineup>.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.starting-lineup>.section-head h2{margin:0;color:var(--gold);font-family:'Bungee',sans-serif}.starting-lineup-note{font-size:10px;color:#9eafc4;letter-spacing:1px;white-space:nowrap}.starting-lineup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.starting-lineup-sport{background:#12243b;border:1px solid #3b5775;box-shadow:3px 3px #050d21;min-width:0}.starting-lineup-sport h3{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:16px 14px;border-bottom:1px solid #3b5775;font-family:'Bungee',sans-serif;font-size:15px;color:#e9f7fc}.starting-lineup-league{font:10px Arial,sans-serif;color:#79dbe0;letter-spacing:1px}.starting-lineup-sport ol{list-style:none;counter-reset:starter;margin:0;padding:8px 14px 12px}.starting-lineup-sport li{counter-increment:starter;display:flex;align-items:baseline;gap:10px;padding:7px 0;color:#e0eaf1;font:13px/1.5 Arial,sans-serif;border-bottom:1px solid #294159}.starting-lineup-sport li:last-child{border-bottom:0}.starting-lineup-sport li:before{content:counter(starter,decimal-leading-zero);color:#87a4bb;font:10px/1.5 monospace;min-width:18px}@media(max-width:1000px){.starting-lineup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.starting-lineup>.section-head{align-items:flex-start;flex-direction:column;gap:6px}.starting-lineup-grid{grid-template-columns:1fr;gap:12px}.starting-lineup-sport h3{font-size:16px}.starting-lineup-sport li{font-size:14px}}

/* A wall-mounted pixel gym clock, kept in the viewport during the chain. */
#teammatesView.active #tmTimerRing.gym-scoreboard{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:142px;height:auto;min-height:110px;padding:10px 12px;background:#122c40!important;border:3px solid #8ca3ae;border-radius:0;box-shadow:inset 0 0 0 2px #273f51,4px 4px 0 #030b17;isolation:isolate}
#tmTimerRing.gym-scoreboard:before{inset:5px;border:1px solid #56707d;background:transparent;border-radius:0;z-index:-1}
#tmTimerRing.gym-scoreboard:after{content:'';position:absolute;inset:8px;background:linear-gradient(#bcc4b7,#bcc4b7) left top/3px 3px no-repeat,linear-gradient(#bcc4b7,#bcc4b7) right top/3px 3px no-repeat,linear-gradient(#bcc4b7,#bcc4b7) left bottom/3px 3px no-repeat,linear-gradient(#bcc4b7,#bcc4b7) right bottom/3px 3px no-repeat;pointer-events:none}
.gym-scoreboard .scoreboard-brand{font:8px/1.3 'Bungee',sans-serif;letter-spacing:1px;color:#e3e1ce}.gym-scoreboard .scoreboard-digits{display:flex;align-items:center;gap:4px;background:#080f14;border:2px solid #415563;padding:6px 8px;--led:#ffc45e;--unlit:#25251c}.gym-scoreboard .score-digit{position:relative;display:block;width:20px;height:34px;flex:0 0 20px}.gym-scoreboard .score-segment{position:absolute;display:block;background:var(--unlit)}.gym-scoreboard .score-segment.lit{background:var(--led);filter:drop-shadow(0 0 2px #ffc45e44)}.gym-scoreboard .a,.gym-scoreboard .d,.gym-scoreboard .g{left:4px;width:12px;height:4px;clip-path:polygon(2px 0,10px 0,12px 2px,10px 4px,2px 4px,0 2px)}.gym-scoreboard .a{top:0}.gym-scoreboard .g{top:15px}.gym-scoreboard .d{top:30px}.gym-scoreboard .b,.gym-scoreboard .c,.gym-scoreboard .e,.gym-scoreboard .f{width:4px;height:13px;clip-path:polygon(2px 0,4px 2px,4px 11px,2px 13px,0 11px,0 2px)}.gym-scoreboard .b{right:0;top:3px}.gym-scoreboard .c{right:0;top:18px}.gym-scoreboard .e{left:0;top:18px}.gym-scoreboard .f{left:0;top:3px}.gym-scoreboard .score-colon{display:flex;flex-direction:column;justify-content:center;gap:8px;width:4px;height:34px}.gym-scoreboard .score-colon i{width:4px;height:4px;background:var(--led)}.gym-scoreboard .scoreboard-status{font:7px/1.3 'Bungee',sans-serif;letter-spacing:1px;color:#c5d4d9}.gym-scoreboard.clock-urgent .scoreboard-digits{--led:#ff6860;--unlit:#2c1a19}.gym-scoreboard.clock-paused .scoreboard-status{color:#9aaab1}
#tmTimerRing.gym-scoreboard #tmTimer{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:600px){#teammatesView.active #tmTimerRing.gym-scoreboard{width:128px;min-height:100px;padding:9px;gap:6px;top:calc(8px + env(safe-area-inset-top,0px));right:8px}.gym-scoreboard .scoreboard-brand{font-size:7px}.gym-scoreboard .scoreboard-status{font-size:6px}}
