:root{color:#102d67;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--cream:#fff;--muted:#536580;--peach:#124bb8;--ink:#102d67;--line:#ccd7e5;--scene-table:url(/pool-table.webp);background:#eef1f4}body[data-scenery=square]{--scene-table:url(/square-table.webp)}a{color:inherit}.scenery,.scenery-shade{display:none}.app-shell{background:#fff;max-width:1600px;min-height:100svh;padding:0;box-shadow:0 0 40px #142f5110}.header{background:#fff;border-bottom:1px solid #d0d9e6;gap:28px;height:72px;padding:0 36px}.brand{color:#092c74;flex-direction:row-reverse;gap:5px;text-decoration:none}.brand>span:last-child{letter-spacing:-2px;text-transform:lowercase;font-size:42px;font-style:italic;font-weight:700}.brand small{display:none}.brand-mark{width:18px;height:25px;color:inherit}.header-scenes{margin-right:auto}.header-actions{align-items:center;gap:22px;display:flex}.header-actions .icon-button{color:#102d67;border:0;border-radius:0;gap:7px;width:auto;height:auto;font-size:12px;display:flex}.header-actions .icon-button .icon{display:none}.header-actions .language-control{border-left:1px solid #bcc9db;order:3;padding-left:18px}.language-control select,select option{color:#102d67;background:#fff}.scene-choices{background:#fff;border:0;border-radius:0;gap:22px;padding:0;display:flex}.scene-choices button{color:#415476;background:0 0;border:0;border-radius:0;padding:12px 0;font-size:12px;position:relative}.scene-choices button.selected{color:#063996;box-shadow:none;background:0 0}.scene-choices button.selected:after{content:"";background:#124bb8;height:2px;position:absolute;bottom:3px;left:0;right:0}#main{flex:1;min-width:0}.home-screen{background:var(--scene-table) center center / cover no-repeat;isolation:isolate;height:calc(100svh - 110px);min-height:680px;max-height:1000px;margin:0;padding:0;display:block;position:relative}.home-screen:before{content:"";pointer-events:none;z-index:-1;background:linear-gradient(#00133133,#0000 42%);position:absolute;inset:0}.home-title{color:#fff;text-shadow:0 2px 14px #00122666;position:absolute;top:6%;left:8%}.home-title h1{font-family:var(--serif);letter-spacing:-5px;text-transform:lowercase;align-items:center;gap:18px;font-size:clamp(76px,9vw,145px);font-style:italic;font-weight:700;line-height:1;display:flex}.home-title h1 svg{width:.45em;height:.52em}.home-title p{text-align:center;letter-spacing:5px;margin-top:18px;font-size:12px}.home-actions{text-align:center;width:min(560px,64%);position:absolute;bottom:13%;left:50%;transform:translate(-50%)}.play-options{gap:18px;width:100%;margin:0;display:flex}.play-option{border:1px solid #16489a;border-radius:4px;flex:1;justify-content:space-between;align-items:center;min-width:0;min-height:60px;padding:16px 24px;text-decoration:none;display:flex;box-shadow:0 3px 8px #00152e30}.play-option.primary{color:#fff;background:#073ba4}.play-option.secondary{color:#073482;background:#fff}.play-option strong{font-family:var(--serif);font-size:25px;font-weight:700}.join-link{color:#fff;text-underline-offset:5px;text-shadow:0 1px 4px #000;margin-top:20px;font-size:13px;display:inline-block}body[data-scenery=square] .join-link{color:#10244d;text-shadow:0 1px 2px #fff}.home-scene-picker{background:#fff;border-radius:2px;margin:0;padding:5px 18px;position:absolute;bottom:25px;left:28px}.home-deck{pointer-events:none;gap:18px;display:flex;position:absolute;bottom:10%;right:6%;transform:rotate(8deg)}.home-deck>div{width:65px;height:94px;position:relative;box-shadow:2px 4px #dce1e8,3px 7px #bbc3ce}.home-deck .card-back{place-items:center;display:grid}.home-deck .card-back>svg{width:22px;height:28px}.home-deck .home-queen{transform:rotate(7deg)}.preview-bar{color:#455c80;background:#fff;border-top:1px solid #d0d9e6;min-height:38px;margin:0;padding:10px 28px}.preview-bar nav{gap:24px}.preview-bar nav a{color:#455c80;font-size:11px}.preview-bar nav a[data-status=active]{color:#09399e}.version{font-family:var(--serif);color:#102d67;font-style:italic}.table-screen{padding:0}.screen-top{background:#fff;border-bottom:1px solid #d0d9e6;min-height:40px;margin:0;padding:8px 28px}.screen-top .text-button,.game-meta,.game-meta strong{color:#233e69;font-size:11px}.game-layout{grid-template-columns:minmax(0,1fr) 265px;gap:0;padding:0}.game-area{background:var(--scene-table) center / cover no-repeat;color:#fff;min-height:650px;padding:20px 28px 18px;position:relative}.table-stage{height:360px;margin:0 0 4px}body[data-scenery] .table-rim{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;inset:90px 70px 0}body[data-scenery] .table-felt{box-shadow:none;background:0 0;border:0;border-radius:0}body[data-scenery] .table-felt:before,.table-watermark{display:none}.seat{box-shadow:none;color:#fff;text-shadow:0 1px 5px #000;background:0 0;border:1px solid #0000;border-radius:3px;gap:4px;padding:6px 10px;transition:scale .24s ease-out}.seat.current{box-shadow:none;border-color:#0000}.seat .avatar,.seat .mini-hand,.seat small{display:none}.seat-info{min-width:40px}.seat strong{font-family:var(--serif);font-size:24px;font-weight:700}.seat-0{bottom:0}.seat-2{top:5px}.seat-1,.seat-3{top:48%}.turn-dot,.status-dot{background:#ec3e35}.trick-counter{color:#fff;text-shadow:0 1px 4px #000;bottom:5px;right:5px}.trick-counter strong{color:inherit}.turn-banner{color:#fff;text-shadow:0 1px 4px #000;background:0 0;border:0;justify-content:center;min-height:30px;margin:0;padding:0}.turn-helper{color:#fff}.player-hand{min-height:145px;padding:12px 0 10px}.hand-bottom{padding-top:18px}.hand-bottom>span,.hand-bottom .text-button{color:#fff;text-shadow:0 1px 4px #000}body[data-scenery=square] .seat-0,body[data-scenery=square] .turn-banner,body[data-scenery=square] .turn-helper,body[data-scenery=square] .hand-bottom>span,body[data-scenery=square] .hand-bottom .text-button,body[data-scenery=square] .trick-counter{color:#10274a;text-shadow:0 1px 3px #fff8}.card-face,.queen .card-center:before{color:#182234;background:#fff}.card-face.red{color:#c72535}.hand-card.not-legal .card-face{color:#637084;background:#e3e7ed}.hand-card.not-legal .card-face.red{color:#ae6871}.hand-card.not-legal .queen .card-center:before{background:#e3e7ed}.card-back,.pile-cards i{background-color:#1c4987;border-color:#fff}.table-card{width:72px;height:105px}.score-panel{-webkit-backdrop-filter:none;backdrop-filter:none;color:#103675;background:linear-gradient(90deg,#0000 16px,#ec929b 16px 17px,#0000 17px),repeating-linear-gradient(0deg,#0000 0 35px,#cbdff5 35px 36px),#fff;border:0;border-left:1px solid #afbfda;border-radius:0;align-self:stretch;margin:0;padding:28px 20px 24px 26px}.panel-heading h2{color:#073482;font-size:39px;font-style:italic}.panel-heading>span{color:#123974;background:0 0;border-radius:0}.score-panel>p{color:#52658a;margin:10px 0 20px;line-height:1.6}.score-sheet{border-collapse:collapse;text-align:center;width:100%;font-family:var(--serif);table-layout:fixed;font-size:20px}.score-sheet th{overflow-wrap:anywhere;border-bottom:1px solid #9eb8df;padding:12px 2px;font-size:15px;font-weight:600}.score-sheet td{border-bottom:2px solid #8ba7cf;padding:14px 2px}.score-tricks{justify-content:space-around;gap:4px;margin:18px 0;font-size:10px;display:flex}.score-tricks span{overflow-wrap:anywhere;text-align:center;min-width:0}.score-tricks small{color:#536888;margin-top:5px;font-size:9px;display:block}.hand-points{color:#14386c;border-color:#b6c9e2;font-size:11px}.hand-points strong,.hand-points small,.score-panel .text-button{color:#123b80}.score-tip{display:none}.score-panel .text-button{margin-top:30px;font-size:12px}.lobby-screen,.results-screen,.empty-game{color:#12336a;background:#f5f8fc;min-height:70svh;padding:48px 6%}.room-panel,.results-card,.room-seat,.entry-label input,dialog,.modal,.dialog-panel{color:#163568;box-shadow:none;background:#fff;border-color:#c6d5e8;border-radius:5px}.room-seat small,.lobby-copy p,.results-screen p,.entry-label,.scene-setting>small{color:#526686}.button.peach,.button.primary{color:#fff;background:#103eaa;border-radius:4px}.button,.add-seat{border-radius:4px}.connection-bar{color:#183e75;background:#edf3fc;padding:8px 28px}.icon-button,.text-button{color:inherit}@media (width>=1500px){.game-area{min-height:750px}.table-stage{height:440px}.home-screen{min-height:740px}}@media (width<=1000px){.header{gap:20px;padding:0 20px}.header-actions{gap:12px}.header-actions .icon-button span{display:none}.header-actions .icon-button .icon{display:block}.game-layout{grid-template-columns:minmax(0,1fr) 220px}.game-area{min-height:610px;padding:20px 16px}.table-stage{height:325px}.score-panel{padding-left:23px;padding-right:12px}.home-deck{bottom:30%;right:3%;scale:.8}.home-actions{width:70%}}@media (width<=700px){.header{flex-wrap:nowrap;gap:12px;height:62px;padding:0 14px}.brand>span:last-child{font-size:34px}.brand-mark{width:15px}.header-scenes{display:none}.header-actions{gap:13px;margin-left:auto}.header-actions .language-control{padding-left:10px}.language-control select{max-width:105px;font-size:10px}.home-screen{background-position:50%;height:calc(100svh - 100px);min-height:650px}.home-title{top:8%;left:7%}.home-title h1{letter-spacing:-4px;font-size:86px}.home-title p{letter-spacing:3px;font-size:10px}.home-actions{width:86%;bottom:16%}.play-options{gap:10px}.play-option{min-height:56px;padding:14px 12px}.play-option strong{font-size:21px}.play-option .icon{width:17px}.home-scene-picker{padding:4px 15px;bottom:22px;left:7%}.home-deck{bottom:35%;right:10%;scale:.85}.screen-top{gap:8px;padding:9px 12px}.screen-top .text-button{font-size:0}.screen-top .text-button .icon{width:18px}.game-meta{font-size:10px}.game-layout{flex-direction:column;display:flex}.game-area{background-position:50%;background-size:auto 100%;min-height:570px;padding:16px 10px}.table-stage{height:310px}body[data-scenery] .table-rim{inset:95px 42px 10px}.table-card{width:57px;height:83px}.seat strong{font-size:20px}.seat-1{left:0}.seat-3{right:0}.seat-0{bottom:0}.seat-2{top:0}.turn-helper{display:none}.player-hand{min-height:115px}.hand-card{flex-basis:56px;height:84px;margin-left:-31px}.hand-card .card-corner{font-size:15px}.hand-card .card-center{font-size:25px}.hand-bottom{padding:14px 4px 0}.hand-bottom>span{max-width:60%;font-size:9px}.hand-bottom .text-button{font-size:10px}.score-panel{border-top:1px solid #b5c9e2;border-left:0;padding:20px 24px 24px 30px;display:block}.score-panel>p{margin:4px 0 10px}.score-tricks{margin:12px 0}.hand-points{margin-top:12px;padding:12px 0}.score-panel .text-button{margin-top:14px}.panel-heading h2{font-size:32px}.preview-bar{padding:10px 16px}.preview-bar nav{gap:18px}.lobby-screen,.results-screen{padding:30px 20px}}.brand>span:last-child,.home-title h1{font-synthesis:weight style;font-family:Georgia,Times New Roman,serif;font-weight:700}.brand>span:last-child{letter-spacing:-2px;font-size:34px}.home-title h1{font-size:clamp(72px,8vw,125px)}.play-options{max-width:none}.play-option{gap:12px}.play-option strong{white-space:nowrap}.preview-bar{height:38px}.preview-bar nav a{padding:4px 0}.home-screen{min-height:580px}body[data-screen=home] .header-scenes{visibility:hidden}.turn-banner strong{color:inherit}.hand-points>span,.dialog-intro,.rules-list p,.setting-row small,.room-footnote,.invite-block small,.invite-block>span,.room-footnote,.results-bottom,.result-person small{color:#526686}.setting-row select{color:#153a78}.switch,.switch.on{background:#ced9ea;border-color:#a9bbd7}.switch.on{background:#1645a9;border-color:#1645a9}.switch i,.switch.on i{background:#fff}.result-row .delta{color:#a32c40}.network-status{color:#a52f40}@media (width<=700px){.home-screen{min-height:620px}.home-title h1{font-size:76px}.brand>span:last-child{font-size:29px}.play-option strong{font-size:19px}.play-option{gap:6px;padding:12px}}.game-area{background-position:bottom;background-size:auto 140%;width:100%;max-width:none}.pile-cards i{background:repeating-linear-gradient(45deg,#204b8a 0 4px,#6981b0 4px 5px);border-color:#fff}@media (width<=700px){.player-hand{flex-wrap:nowrap;align-items:flex-end;gap:0;max-width:none;min-height:115px}.hand-card{flex:0 0 56px;margin-left:calc(min(100vw - 20px,370px)/12 - 60.6667px)}.hand-card:first-child{margin-left:0}}.game-area{background-size:auto 120%}body[data-scenery] .table-rim{top:160px}body[data-scenery=square] .seat-1,body[data-scenery=square] .seat-3{color:#10274a;text-shadow:0 1px 3px #fff8}.results-screen{color:#103675;background:#f3f6fb;width:100%;max-width:none;padding:42px max(24px,50% - 340px) 40px}.result-emblem{display:none}.result-heading h1{color:#103675;font-size:52px;font-style:italic}.result-heading .eyebrow{color:#315384;margin-top:0}.result-heading>p{color:#526686;line-height:1.7}.results-panel{color:#103675;background:linear-gradient(90deg,#0000 23px,#eaa0aa 23px 24px,#0000 24px),#fff;border:1px solid #bccce2;border-radius:2px;margin-top:28px;padding:0 28px 0 40px;box-shadow:0 5px 16px #193b6610}.results-columns{color:#526b91;border-bottom:1px solid #aac4e6;padding:18px 0;font-size:10px}.result-row{border-bottom:1px solid #cbdff5;min-height:82px}.result-row.is-you{background:#eef4ff}.result-person .avatar{display:none}.result-person{gap:12px;min-width:0}.result-person>span:nth-child(3){min-width:0}.result-person strong{font-family:var(--serif);overflow-wrap:anywhere;font-size:24px}.result-person small{color:#536888;font-size:10px}.result-person .position{color:#687e9e;font-size:18px}.result-row .total{font-family:var(--serif);color:#103675;font-variant-numeric:tabular-nums;font-size:30px}.result-row .delta{color:#9d3043;font-variant-numeric:tabular-nums;font-size:17px}.result-row .delta.negative{color:#20664d}.results-bottom{color:#526686;gap:16px;font-size:10px;line-height:1.6}.result-actions .text-button{color:#163c80;text-underline-offset:4px}@media (width<=650px){.results-screen{padding:30px 16px}.result-heading h1{font-size:40px}.results-panel{background:linear-gradient(90deg,#0000 15px,#eaa0aa 15px 16px,#0000 16px),#fff;padding:0 14px 0 28px}.results-columns,.result-row{grid-template-columns:minmax(0,1fr) 60px 55px;gap:8px}.result-person{gap:8px}.result-person strong{font-size:21px}.result-person .position{font-size:15px}.result-person>.icon{width:15px;margin-left:0}.result-actions{flex-wrap:wrap;gap:16px}}body[data-scenery=pool] .home-screen:before{background:linear-gradient(#071c32b8 0% 32%,#0000 58%)}body[data-scenery=pool] .home-title{text-shadow:none}body[data-scenery=pool] .seat{color:#fff;text-shadow:none;background:linear-gradient(90deg,#0000 0%,#071c32c7 12px calc(100% - 12px),#0000 100%);border-radius:0;padding:6px 16px}body[data-scenery=pool] .turn-banner{color:#fff;width:fit-content;max-width:100%;text-shadow:none;background:#071c32c7;margin:0 auto;padding:6px 12px}body[data-scenery=pool] .hand-bottom{background:#071c32c7;margin-top:12px;padding:10px 12px}body[data-scenery=pool] .hand-bottom>span,body[data-scenery=pool] .hand-bottom .text-button{text-shadow:none}
