/* Shared art direction from Ice Fishing. Layout and game behavior stay in their existing files. */
@font-face{font-family:Pixel;src:url('/deep/pixel.ttf') format('truetype');font-display:swap}
:root{color-scheme:dark;--navy:#071221;--navy2:#173754;--paper:#071221;--white:#eff9ff;--ink:#eff9ff;--muted:#afbfce;--line:#486887;--blue:#6edbfa;--red:#ffcf78;--red2:#e5ad58;--gold:#ffcf78;--green:#79d8be;--r:0px;--shadow:6px 6px #030b17}
html{scroll-behavior:auto}body{background:#09192d;color:var(--ink);font:15px/1.5 Consolas,'Courier New',monospace;isolation:isolate}button,input,select{font:inherit}a{color:var(--blue)}button{transition:background .15s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button:disabled{opacity:.5;cursor:not-allowed}
.site-world{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{content:'';position:absolute;inset:0;background:linear-gradient(#07122155,#07122199);box-shadow:inset 0 0 150px #07122190}
.shell{width:100%;max-width:1320px;padding:0 28px 32px;margin:auto}.topbar{min-height:80px;margin:0 -28px 0;padding:14px 28px;background:#071221f5;border-bottom:3px solid #355276;gap:16px;flex-wrap:wrap}.brand{gap:12px}.logo{background:var(--blue);color:#071221;box-shadow:4px 4px #266b91;border:0;border-radius:0;width:34px;height:34px;font:18px Consolas,'Courier New',monospace}.brand-name{font:17px Consolas,'Courier New',monospace;letter-spacing:-1px;color:#eff9ff}.brand-name span{color:var(--blue)}.brand-sub{font-size:9px;letter-spacing:1.4px;color:#8fa8bd;margin-top:7px}.top-actions{gap:10px}.ghost,.profile-pill{border:2px solid #486887;background:#11273d;border-radius:0;box-shadow:3px 3px #030b17;color:#bce6ef;min-height:40px;font:9px Consolas,'Courier New',monospace;padding:10px 12px}.profile-pill{gap:14px}.profile-pill b{color:var(--gold)}
.sportbar{gap:10px;padding:20px 0 22px}.sporttab{border:2px solid #486887;background:#0a1b2ded;border-radius:0;color:#b8cddd;box-shadow:3px 3px #030b17;font:10px Consolas,'Courier New',monospace;min-height:43px;padding:11px 16px;display:flex;align-items:center;gap:10px}.sporttab:before{content:'';width:6px;height:6px;background:#486887}.sporttab.active{background:#183d52;color:#a5f0f5;border-color:#79dbe0;box-shadow:3px 3px #225875}.sporttab.active:before{background:#ffcf78}.sporttab:hover,.ghost:hover,.profile-pill:hover{background:#21405a}
.hero,.game-card,.lb-preview,.pane,.tm-board,.control-block,.modal,.profile-box{background:#071627f5;border:3px solid #6584a6;border-radius:0;box-shadow:6px 6px #030b17,inset 0 0 0 2px #173754}
.hero{min-height:330px;grid-template-columns:1.1fr .9fr;overflow:hidden}.hero-copy{padding:26px 30px;position:relative}.eyebrow{font:9px Consolas,'Courier New',monospace;color:#6edbfa;letter-spacing:1px;gap:8px;line-height:1.5}.eyebrow:before{width:5px;height:5px;border-radius:0}.hero h1,.game-title{font:clamp(25px,3.2vw,42px)/1.25 Consolas,'Courier New',monospace;letter-spacing:-2px;color:#fff7db;text-shadow:3px 0 #293f66,0 3px #293f66,3px 3px #293f66,6px 6px #081626;margin:14px 0}.hero h1 span{display:inline;color:inherit}.hero p{color:#b7ccde;font-size:13px;line-height:1.65;margin-bottom:18px;max-width:490px}.hero-copy .actions{max-width:480px;gap:10px}.hero-copy .actions .btn{flex:1 1 43%}
.btn{font:10px Consolas,'Courier New',monospace;letter-spacing:0;border-radius:0;min-height:46px;padding:13px 14px;box-shadow:none}.btn.primary{background:#ffcf78;border:0;border-bottom:4px solid #ac7838;color:#1d2636;box-shadow:none}.btn.secondary,.btn.dark{background:#19354c;color:#bdeaf2;border:2px solid #5984a4;border-bottom:4px solid #345269;box-shadow:none}.btn:hover{transform:none;filter:none;background:#28536c}.btn.primary:hover{background:#ffe0a1}.btn:active{transform:translateY(2px)}.hero-meta{gap:20px;margin-top:20px}.metric{border:0;border-left:2px solid #345269;background:none;border-radius:0;padding:0 0 0 12px;min-width:74px;box-shadow:none}.metric strong{font:16px Consolas,'Courier New',monospace;color:var(--gold);margin-bottom:6px;letter-spacing:-1px}.metric span{font-size:9px;color:#9ab4c9;letter-spacing:1px}
.hero-art{position:relative;min-height:330px;background:#18334e url('/assets/pixel-teammates.svg') center/cover no-repeat;image-rendering:pixelated;border-left:2px solid #345269}.hero-art:before,.hero-art:after,.rink,.connect-line,.connect-puck,.hero-art-label,.player-card .num{display:none}.player-card{position:absolute;top:auto;bottom:22px;width:43%;height:auto;min-height:62px;padding:9px 10px;transform:none!important;border:2px solid #6584a6;border-radius:0;background:#071627ef;box-shadow:3px 3px #030b17;backdrop-filter:none}.player-card.left{left:5%}.player-card.right{right:5%}.player-card small{color:#6edbfa;font:7px Consolas,'Courier New',monospace;display:block;margin-bottom:8px}.player-card strong{font:13px Consolas,monospace;color:#fff7db}.section-head{margin:26px 0 16px}.section-head h2{font:16px/1.5 Consolas,'Courier New',monospace;color:#fff7db;letter-spacing:-.5px;margin:0}.section-head p{font-size:12px;line-height:1.5;color:#afc5d6;margin:7px 0 0}
.game-grid{grid-template-columns:1fr 1fr;gap:20px}.game-card{min-height:248px;grid-template-columns:minmax(0,1.35fr) minmax(120px,.65fr)}.game-copy{padding:22px;min-width:0}.game-card h3{font:clamp(15px,1.65vw,22px)/1.4 Consolas,'Courier New',monospace;color:#fff7db;letter-spacing:-1px;margin:12px 0}.game-card h3 span{color:inherit!important}.game-card p{font-size:12px;line-height:1.65;color:#b7ccde;margin:0 0 14px}.tagrow{gap:5px;margin-bottom:16px}.tag{border:1px solid #345269;background:#102a40;border-radius:0;color:#9bbdcc;font-size:8px;padding:4px 6px;box-shadow:none}.card-art{position:relative;border-left:2px solid #345269;min-height:248px;image-rendering:pixelated;background-color:#14334d;background-position:center;background-size:cover}.tg-art{background-image:url('/assets/pixel-twine.svg')}.if-art{background-image:url('/assets/pixel-fishing.svg')}.card-art:before,.card-art:after,.tg-map,.tg-pin,.art-copy,.if-chain,.if-label{display:none}
.lb-preview{margin-top:24px;overflow:hidden}.lb-preview-head{padding:18px 20px;border-bottom:1px solid #345269;gap:16px;flex-wrap:wrap}.lb-preview-head h3{font:13px/1.6 Consolas,'Courier New',monospace;color:#fff7db;letter-spacing:-.5px;margin:0 0 6px}.demo-badge{background:#163f44;color:#95e0c9;border:1px solid #426e71;border-radius:0;font:7px Consolas,'Courier New',monospace;padding:5px 7px;margin-left:8px;display:inline-block}.lb-tabs,.modal-tabs{gap:7px}.chipbtn{border:1px solid #486887;border-radius:0;background:#11273d;color:#bce6ef;min-height:38px;padding:8px 10px;font:8px Consolas,'Courier New',monospace}.chipbtn.active{background:#79dbe0;color:#102334;border-color:#acebf0}.lb-table{font-size:12px}.lb-table th{font:8px Consolas,'Courier New',monospace;color:#8ab8cd;line-height:1.6}.lb-table td,.lb-table th{padding:12px 14px;border-color:#29465f}.lb-table td:first-child{color:var(--gold)}.you-row{background:#193a51}.empty-state{margin:0;padding:22px;color:#afc5d6;font-size:12px}.tiny,.game-sub{color:#a6bfd1}.profile-link{color:#8ce5ee}.footer{padding-top:28px;font-size:9px;color:#aec5d4;gap:14px}.footer .ghost{font-size:8px}
.backrow{margin:6px 0 22px}.backbtn{color:#a3e4ee;font:9px Consolas,'Courier New',monospace;background:#091d30d9;border:1px solid #42627e;border-radius:0;padding:10px 12px}.roundbadge{font:9px Consolas,'Courier New',monospace;letter-spacing:0;background:#143349;color:#ffcf78;border:1px solid #42627e;border-radius:0;padding:10px 12px}.game-sub{font-size:12px;line-height:1.7;max-width:830px}.game-title{font-size:clamp(24px,3vw,38px)}.duel-player{border:2px solid #597c9a;border-radius:0;background:#0a1d30ed;color:#f0f8fd;box-shadow:3px 3px #030b17}.duel-player span{font:8px Consolas,'Courier New',monospace;color:#6edbfa}.duel-player strong{font:15px Consolas,monospace}.versus{font:16px Consolas,'Courier New',monospace;color:var(--gold)}.tm-head{border-color:#345269;background:#102b42}.turn-indicator{font:10px Consolas,'Courier New',monospace;color:#79dbe0}.timer-ring{border-radius:0;background:#79dbe0!important;padding:3px}.timer-ring:before{background:#102b42;border-radius:0;inset:3px}.timer-ring strong{font:20px Consolas,'Courier New',monospace;color:#fff7db}.chain-stage{background:#091b2de8;min-height:250px}.chain-player{border:2px solid #426886;border-radius:0;background:#112e45;color:#eff9ff;box-shadow:3px 3px #030b17}.chain-player.current{border-color:#79dbe0;box-shadow:3px 3px #225875}.chain-player small{color:#9db6ca}.chain-label,.season-row{border-radius:0;background:#143148;color:#e1edf5}.chain-label{border-color:#486887}.season-name small{color:#a9bdce}.tm-entry{border-color:#345269;background:#0d2339}.tm-help span{color:#a4bbcd;line-height:1.6}.forfeit{color:#ffa380;font:8px Consolas,'Courier New',monospace;padding:10px}.field{background:#172d46;border:2px solid #6783a3;border-radius:0;color:#eff9ff;padding:12px 13px;font-size:14px;outline:none}.field::placeholder{color:#a7bed1}.field:focus{border-color:#79dbe0}.notice,.result-reveal{border:2px solid #486887;border-radius:0;background:#16394d;color:#edf9fa;box-shadow:none}.result-reveal h3{font:16px Consolas,'Courier New',monospace;line-height:1.5;color:#ffcf78}.result-reveal p{font-size:12px;line-height:1.6}
.photo-pane{border:3px solid #6584a6;border-radius:0;background:#071221;box-shadow:6px 6px #030b17}.photo-pane img{image-rendering:auto}.photo-round{border:1px solid #6584a6;border-radius:0;background:#071627e8;font:8px Consolas,'Courier New',monospace;color:#ffcf78}.control-block{padding:16px}.control-head{font:9px Consolas,'Courier New',monospace;color:#6edbfa;line-height:1.6}.control-head span{font:11px Consolas,monospace;color:#afc5d6}.worldmap,#worldMap{border-radius:0;border:2px solid #6584a6;background:#183d56;box-shadow:none}.map-ocean{fill:#183d56}.map-country{fill:#5a8b9e;stroke:#9ac2cf}.map-grid{stroke:#7aa8b7;opacity:.25}.map-zoom-btn,.map-zoom-reset{border-radius:0;border:1px solid #6584a6;background:#19354c;color:#bdeaf2;font-family:Consolas,'Courier New',monospace}.map-zoom-label,.map-hint{color:#9fb9cb}.year-big{font:22px Consolas,'Courier New',monospace;color:#ffcf78;letter-spacing:-1px}.add-team{color:#8ce5ee}.select-stack select{color-scheme:dark}.photo-credit{color:#a5bccf}
.modal-backdrop{background:#030e1ce8;backdrop-filter:none}.modal{padding:28px;max-height:88dvh;margin:4vh auto;width:min(880px,100%);overflow-y:auto;scrollbar-color:#6886a7 #10283e}.modal h2{font:22px/1.5 Consolas,'Courier New',monospace;letter-spacing:-1px;color:#fff7db;margin-right:38px}.modal h3{font:13px/1.6 Consolas,'Courier New',monospace;color:#ffcf78}.modal p,.modal label{color:#bacddd;font-size:13px;line-height:1.7}.modal-x{border:2px solid #486887;border-radius:0;background:#19354c;color:#9ee3ef;box-shadow:3px 3px #030b17}.profile-box{padding:16px;border:1px solid #426886;box-shadow:none;background:#102b42}.profile-box strong{font:16px/1.7 Consolas,'Courier New',monospace;color:#ffcf78}.profile-box span{color:#92c2d4;font-size:10px}.history-row{border-color:#345269;font-size:12px}.recovery{border:2px solid #6584a6;background:#102b42;color:#ffcf78}.auth-form #authError{color:#ffad98}#appNotice{border:2px solid #fff0c1;background:#ffcf78;color:#1d2636;box-shadow:4px 4px #030b17;font-size:13px}
@media(max-width:1050px){.game-card{grid-template-columns:minmax(0,1fr) 140px}.game-copy{padding:18px}.game-card h3{font-size:16px}.game-card .btn{font-size:8px}.hero-copy{padding:24px}.hero-art{min-height:330px}.hero h1{font-size:30px}}
@media(max-width:850px){.game-grid{grid-template-columns:1fr}.game-card{grid-template-columns:minmax(0,1.6fr) minmax(140px,1fr);min-height:230px}.card-art{min-height:230px}.game-card h3{font-size:23px}.game-card .btn{font-size:10px}.hero{grid-template-columns:1fr 1fr}.hero h1{font-size:25px}.hero-copy .actions .btn{font-size:8px}.hero-meta{gap:10px}.metric{min-width:62px}.metric strong{font-size:14px}.tg-layout{grid-template-columns:1fr}.photo-pane{min-height:280px;max-height:500px}}
@media(max-width:600px){.shell{padding:0 14px 28px}.topbar{margin:0 -14px;padding:13px 14px;gap:14px}.brand-name{font-size:14px}.brand-sub{display:none}.logo{width:28px;height:28px;font-size:15px}.top-actions{width:100%;justify-content:space-between}.ghost,.profile-pill{font-size:8px;padding:9px;min-height:38px}.sportbar{padding:16px 0 20px;gap:8px}.sporttab{font-size:8px;padding:10px 12px;min-height:40px}.hero{grid-template-columns:1fr}.hero-copy{padding:23px 21px}.hero h1{font-size:30px}.hero-copy .actions .btn{font-size:9px}.hero-art{min-height:210px;border-left:0;border-top:2px solid #345269;background-size:cover;background-position:center 43%}.player-card{bottom:14px;min-height:52px}.player-card strong{font-size:12px}.hero-meta{gap:25px}.section-head h2{font-size:13px}.section-head p{font-size:11px}.game-grid{gap:18px}.game-card{grid-template-columns:minmax(0,1fr) 98px}.game-copy{padding:18px 15px}.game-card h3{font-size:16px;overflow-wrap:normal;letter-spacing:-1px}.game-card p{font-size:11px}.game-card .eyebrow{font-size:7px;letter-spacing:0}.game-card .btn{font-size:8px;padding:12px 10px}.card-art{min-height:250px}.game-title{font-size:25px;overflow-wrap:anywhere}.lb-preview-head{padding:16px 13px}.lb-preview-head h3{font-size:11px}.demo-badge{margin:6px 0;font-size:6px}.lb-tabs{flex-wrap:wrap}.chipbtn{font-size:7px}.modal{padding:22px 15px}.modal h2{font-size:17px}.modal .lb-table{font-size:10px}.lb-table th,.lb-table td{padding:10px 7px}.modal-backdrop{padding:12px}.tm-entry{padding:15px 12px}.tm-help{align-items:flex-start}.duel-player{padding:12px}.duel-player strong{font-size:12px}.tm-head{padding:14px}.control-head{font-size:8px}.backbtn,.roundbadge{font-size:8px}.footer{font-size:8px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Image-free game menu: keep the IF world and put the games themselves first. */
.home .hero-art,.home .card-art{display:none}
.home .hero,.home .game-card{grid-template-columns:minmax(0,1fr);min-height:0}
.home .hero-copy{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);column-gap:48px;padding:30px}
.home .hero-copy>.eyebrow,.home .hero-copy>h1,.home .hero-copy>p,.home .hero-copy>.hero-meta{grid-column:1}
.home .hero-copy>.actions{grid-column:2;grid-row:1 / 6;align-self:center;max-width:none}
.home .hero-copy>p{max-width:560px;margin-bottom:0}
.home .game-copy{display:flex;flex-direction:column;align-items:flex-start;padding:26px}
.home .game-copy p{max-width:520px}
.home .game-copy .tagrow{margin-top:auto}
@media(max-width:700px){.home .hero-copy{display:block;padding:23px 21px}.home .hero-copy>.actions{margin-top:20px}.home .game-copy{padding:22px}.home .game-card h3{font-size:20px}}

.view.active{background:#071627e8;padding:22px;border:2px solid #426886;box-shadow:6px 6px #030b17}.view .game-sub{color:#c1d5e3}.site-world:after{background:linear-gradient(#07122170,#071221a8)}@media(max-width:600px){.view.active{padding:14px 10px}}

/* Softer terminal lettering, with pixel type reserved for the brand mark. */
.brand-name,.logo{font-family:Pixel,monospace}
.hero h1,.game-title{font-weight:700;letter-spacing:1px;text-shadow:2px 2px #081626}
.hero h1{font-size:clamp(32px,3.5vw,44px)}
.game-card h3,.home .game-card h3{font-size:26px;font-weight:700;letter-spacing:.6px}
.section-head h2{font-size:21px;font-weight:700;letter-spacing:0}
.lb-preview-head h3{font-size:18px;font-weight:700;letter-spacing:0}
.btn,.hero-copy .actions .btn,.game-card .btn{font-size:13px;font-weight:700;letter-spacing:.5px}
.sporttab{font-size:13px;font-weight:700;letter-spacing:.3px}
.ghost,.profile-pill,.chipbtn,.backbtn,.roundbadge{font-size:12px;font-weight:700}
.eyebrow,.game-card .eyebrow{font-size:11px;font-weight:700;letter-spacing:1.3px}
.metric strong{font-size:23px;font-weight:700;letter-spacing:0}
.metric span,.tag,.demo-badge{font-size:10px}
.modal h2,.modal h3,.profile-box strong{font-weight:700;letter-spacing:0}
.lb-table th,.control-head,.turn-indicator{font-size:12px;font-weight:700}
@media(max-width:600px){.hero h1{font-size:34px}.section-head h2{font-size:18px}.ghost,.profile-pill{font-size:11px}.sporttab{font-size:12px}.lb-preview-head h3{font-size:17px}.btn,.hero-copy .actions .btn,.game-card .btn{font-size:12px}.modal h2{font-size:23px}}

/* Teammates masthead: retain pixel lettering only in the brand. */
.brand-name{font-family:Pixel,monospace;font-size:clamp(11px,2vw,17px);letter-spacing:0;line-height:1.5}.brand-sub{font-family:Consolas,"Courier New",monospace;font-size:10px;letter-spacing:2px}.topbar .brand{min-width:0}.demo-banner{padding:10px 18px;border-bottom:2px solid #486887;background:#11273d;color:#ffcf78;font:12px/1.6 Consolas,"Courier New",monospace;text-align:center}.demo-banner a{color:#a5e9fa}

/* Matchmaking uses the existing site panels and typography. */
.matchmaking-panel{max-width:820px;margin:32px auto;padding:clamp(24px,5vw,60px);text-align:center;border:3px solid #6584a6;box-shadow:6px 6px #030b17}.matchmaking-panel h1{font:700 clamp(23px,4vw,36px)/1.35 Consolas,'Courier New',monospace;color:#f7e7bd;margin:16px 0}.matchmaking-panel #matchmakingStatus{min-height:48px;color:#bce6ef}.matchmaking-players{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;margin:28px 0}.matchmaking-players>div{padding:18px 12px;border:2px solid #486887;background:#11273d;min-width:0}.matchmaking-players strong{display:block;overflow-wrap:anywhere;margin-top:10px;color:#eff9ff;font-size:18px}.matchmaking-vs{color:#ffcf78}.matchmaking-panel #matchmakingCode{display:block;color:#ffcf78;letter-spacing:3px;font-size:24px;margin-bottom:24px}.matchmaking-panel .btn{margin-top:20px;min-height:44px}@media(max-width:500px){.matchmaking-panel{margin:18px auto}.matchmaking-players{gap:8px}.matchmaking-players strong{font-size:14px}.matchmaking-players>div{padding:16px 8px}}

/* Keep the full site name visible on phones. */
.topbar .brand-sub{display:block;font-size:9px;letter-spacing:2px;line-height:1.5}

