.duel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.duel-heading h2{font:800 clamp(28px,4vw,48px) / 1.1 "Trebuchet MS",sans-serif;margin:8px 0 20px}.duel-heading>p{font-size:13px;line-height:1.6}.duel-status{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 0;border-top:1px solid currentColor;border-bottom:1px solid currentColor;margin-bottom:22px}.duel-status p{font-weight:700;margin:0}.duel-status>div{display:flex;align-items:center;gap:10px}.duel-help{font-size:13px;line-height:1.6;margin-top:22px}.duel-result-note{font-size:12px;line-height:1.5;font-weight:400}.duel-status>div{flex-wrap:wrap}.four-player strong,.fleet-roster strong{overflow-wrap:anywhere}.four-player,.fleet-roster>div{min-width:0}.four-table{--coral: #f76559;--gold: #f4c748;background:#e1eaff;color:#192a4a;padding:clamp(18px,4vw,44px);border-radius:20px;border:1px solid #bacbeb}.four-table .eyebrow{color:#254ca5}.four-table h2 span{display:block;letter-spacing:9px;font-size:18px;color:#254ca5;margin-top:12px}.four-table button{background:#fff;color:#192a4a;border-color:#a4b7de}.four-players{display:flex;justify-content:center;gap:20px;margin:12px auto 20px;max-width:650px}.four-player{border:2px solid transparent;display:grid;grid-template-columns:30px 1fr;gap:4px 8px;padding:13px 18px;flex:1;border-radius:12px}.four-player>span{grid-row:1/3;font-size:26px;color:#b43931}.four-player.player-1>span{color:#947100}.four-player small{font-size:12px}.four-player.playing{background:#fff;border-color:#254ca5}.four-board-wrap{max-width:660px;margin:auto}.four-drops{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:0 16px 9px}.four-drops button{padding:8px 0;font-size:12px}.four-drops button span{display:block;font-size:21px}.four-board{--four-gap: clamp(6px, 1.5vw, 13px);overflow:hidden;display:grid;grid-template-columns:repeat(7,1fr);gap:var(--four-gap);padding:clamp(10px,2vw,20px);background:#254ca5;border-radius:16px;box-shadow:0 9px #17377c,0 18px 30px #17377c33;border:2px solid #3c65bb}.four-hole{aspect-ratio:1;border-radius:50%;background:#bbcee8;box-shadow:inset 2px 4px 6px #12285480;display:grid;place-items:center;position:relative}.four-hole span{font-family:Arial,sans-serif;font-size:clamp(17px,3vw,39px);line-height:1}.four-disc{position:absolute;inset:0;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 5px #ffffff24,inset 1px 3px #fff6,0 2px 3px #10203f88}.four-disc.player-0{background:var(--coral);color:#9b3027}.four-disc.player-1{background:var(--gold);color:#705400}.four-disc.disc-falling{z-index:2;animation:disc-drop .54s cubic-bezier(.45,0,.8,.65)}.four-hole.landing-preview{outline:3px dashed #fff;outline-offset:-3px}.four-ghost{opacity:.55;color:#192a4a}.four-hole.connected-four{z-index:1}.four-hole.connected-four .four-disc{box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 7px #192a4a55}.four-disc.disc-winning:not(.disc-falling){animation:disc-connect .7s ease-out}.four-hole.last-disc:after{content:"";position:absolute;inset:3px;border:2px dashed #192a4a;border-radius:50%}.four-hole.connected-four{outline:4px solid white;outline-offset:-4px}.four-feet{display:flex;justify-content:space-between;padding:0 26px}.four-feet i{height:20px;width:25px;background:#17377c;border-radius:0 0 4px 4px}.duel-rules{border:0;padding:0;min-width:0}.duel-rules legend{font:27px Georgia,serif;margin-bottom:12px}.duel-rules>label,.tournament-option>label{display:grid;gap:7px;margin:18px 0;font-size:13px}.duel-rules select{width:100%}.duel-rules p{line-height:1.6;font-size:13px}.duel-rules .inline-check{display:flex;align-items:center}.tournament-option{border-top:1px solid var(--line);margin-top:24px;padding-top:6px}.fleet-table{background:#191b39;color:#e8f2fb;border:1px solid #465b79;border-radius:18px;padding:clamp(18px,3vw,36px);background-image:radial-gradient(circle at 20% 18%,#89a6cf45 1px,transparent 1.6px),radial-gradient(circle at 65% 77%,#89a6cf25 1px,transparent 1.6px);background-size:83px 103px,131px 127px}.fleet-table .eyebrow{color:#6ce5cf}.fleet-table h2{letter-spacing:-1.4px}.fleet-sector{text-align:right;font:11px monospace;letter-spacing:2px;color:#6ce5cf}.fleet-sector b{display:block;font-size:19px;margin-top:9px;white-space:nowrap}.fleet-table button{background:#252c50;color:#e8f2fb;border-color:#566783}.fleet-table button:hover:not(:disabled):not([aria-disabled=true]){background:#354675;border-color:#6ce5cf}.fleet-table button:focus-visible,.four-table button:focus-visible{outline:3px solid #ffb87a;outline-offset:3px}.fleet-roster{display:flex;gap:14px;margin-bottom:24px}.fleet-roster>div{flex:1;border:1px solid #465b79;padding:12px 16px;border-radius:8px}.fleet-roster span{display:block;color:#c1cbe0;font-size:12px;margin-top:7px}.fleet-placement{margin:24px 0;padding:0;border:0;min-width:0}.fleet-placement h3,.fleet-placement legend{font-family:Trebuchet MS,sans-serif}.fleet-placement legend{padding:0;font-size:20px;font-weight:700}.fleet-placement-count{margin-bottom:20px}.fleet-roster small{display:block;margin-top:7px;color:#ffb87a;font-size:11px;line-height:1.5}.fleet-shot-key{display:flex;flex-wrap:wrap;gap:18px;margin-top:12px;font-family:monospace;color:#c1cbe0}.fleet-placement p{font-size:13px;line-height:1.6;color:#c1cbe0}.fleet-ship-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.fleet-ship-picker button{text-align:left;padding:12px 10px}.fleet-ship-picker button[aria-pressed=true]{border:2px solid #6ce5cf;background:#19433f}.fleet-ship-picker strong{display:block;font-size:12px}.fleet-ship-picker span{display:block;font:16px monospace;letter-spacing:2px;color:#6ce5cf;margin-top:6px}.fleet-tools{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.fleet-tools button,.fleet-confirm button{font-size:12px}.fleet-confirm{padding:15px;border:1px solid #ffb87a;border-radius:8px}.fleet-confirm button{margin-right:8px}.fleet-boards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,40px)}.fleet-grid-panel{min-width:0}.fleet-grid-panel h3{font:700 18px Trebuchet MS,sans-serif;margin:12px 0}.fleet-map-row,.fleet-coordinates{display:grid;grid-template-columns:18px repeat(10,minmax(0,1fr));gap:3px}.fleet-coordinates{font:10px monospace;text-align:center;margin:0 0 6px}.fleet-map{display:grid;gap:3px}.fleet-row-label{display:flex;align-items:center;font:10px monospace}.fleet-map .fleet-cell{aspect-ratio:1;min-width:0;padding:0;border:1px solid #425170;border-radius:3px;background:#202745;font:bold clamp(16px,2vw,26px) monospace;opacity:1;display:grid;place-items:center;line-height:1;transform:none}.fleet-map .fleet-cell[aria-disabled=true]{cursor:default}.fleet-map .fleet-cell:focus-visible{z-index:2;position:relative;outline:2px solid #ffb87a;outline-offset:1px}.fleet-map .fleet-cell:hover{transform:none}.fleet-map .fleet-cell.occupied{background:#347c79;color:#bbfff2;border-color:#81cfbf}.fleet-map .fleet-cell.selected-ship{box-shadow:inset 0 0 0 2px #d4fff8}.fleet-map .fleet-cell.shot-miss{color:#bac4dc;background:#24263e}.fleet-map .fleet-cell.shot-hit,.fleet-map .fleet-cell.shot-sunk{color:#ffb87a;background:#513a43;border-color:#e58a70}.fleet-map .fleet-cell.shot-sunk{box-shadow:inset 0 0 0 2px #ffb87a;background:#694243}.fleet-log{margin-top:18px;font-size:13px}.fleet-log p{color:#c1cbe0;margin:8px 0}.tournament-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:clamp(18px,3vw,35px)}.tournament-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;margin:24px 0}.tournament-layout h3{font-size:23px;margin-bottom:16px}.tournament-matches{display:grid;gap:12px;margin-bottom:20px}.tournament-matches article{padding:18px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:15px}.tournament-matches .your-match{border:2px solid var(--accent, #547e77)}.tournament-matches h4{font:700 17px Trebuchet MS,sans-serif;margin:8px 0}.tournament-matches h4 span{font-weight:400;color:var(--muted)}.tournament-matches p{font-size:12px;color:var(--muted);margin:0}.tournament-matches button{flex-shrink:0;font-size:12px}.tournament-bye{padding:15px;background:var(--bg);border-radius:8px;font-size:13px;line-height:1.6}.tournament-standings{border-collapse:collapse;width:100%;font-size:12px}.tournament-standings td,.tournament-standings th{padding:12px 7px;border-bottom:1px solid var(--line);text-align:left}.tournament-standings small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.tournament-standings td:nth-child(3){font-weight:800;font-size:18px}.tournament-winner{padding:20px;background:#f4c748;color:#192a4a;border-radius:10px}.tournament-previous{font-size:13px}.tournament-previous h4{margin-top:15px}.tournament-return{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--paper);border:1px solid var(--line);padding:15px;border-radius:10px;margin-bottom:20px}.duel-shelf{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:28px}.duel-feature{padding:28px;border-radius:18px;position:relative;overflow:hidden}.duel-feature h2{font:800 35px Trebuchet MS,sans-serif;margin:10px 0}.duel-feature p{font-size:14px;line-height:1.6;max-width:32ch}.duel-feature.four-feature{background:#e1eaff;color:#192a4a}.duel-feature.fleet-feature{background:#191b39;color:#e8f2fb;border:1px solid #465b79}.duel-feature .eyebrow{color:inherit}.duel-feature button{margin-top:18px;background:#fff;color:#192a4a}.shelf-discs{display:flex;gap:8px;margin:22px 0}.shelf-discs span{display:grid;place-items:center;width:42px;height:42px;background:#f76559;border:5px solid #254ca5;border-radius:50%}.shelf-discs span:nth-child(2n){background:#f4c748}.shelf-fleet{font:35px monospace;color:#6ce5cf;letter-spacing:12px;margin:22px 0}@keyframes disc-drop{0%{transform:translateY(calc(var(--drop-rows) * (-100% - var(--four-gap))))}82%{transform:translateY(0)}92%{transform:translateY(-8%)}to{transform:translateY(0)}}@keyframes disc-connect{0%{transform:scale(.85);filter:brightness(1.8)}70%{transform:scale(1.06)}to{transform:scale(1);filter:brightness(1)}}@keyframes duel-state{0%{box-shadow:inset 5px 0 currentColor;background-color:#829ac933}to{box-shadow:inset 0 0 transparent}}@keyframes fleet-impact{0%{transform:scale(.65);filter:brightness(2.5);box-shadow:0 0 0 12px #ffb87a00}35%{transform:scale(1.12);box-shadow:0 0 0 7px #ffb87a77}to{transform:scale(1);filter:brightness(1);box-shadow:0 0 0 15px #ffb87a00}}@keyframes fleet-deploy{0%{filter:brightness(1.8);transform:scale(.7)}to{filter:brightness(1);transform:scale(1)}}.duel-state-arrive{animation:duel-state .9s ease-out}.duel-status.duel-finished{padding:22px;border:2px solid currentColor;border-radius:12px}.duel-finished>p{font:800 clamp(23px,3vw,34px)/1.2 "Trebuchet MS",sans-serif}.duel-result-label{display:block;font:700 11px/1.5 Arial,sans-serif;letter-spacing:2px;margin-bottom:7px}.duel-timer-policy{max-width:29ch;font-size:12px;line-height:1.5}.duel-recent{margin-top:20px;padding:10px 14px;border-left:3px solid currentColor;font-size:13px;line-height:1.5}.duel-recent p{margin:3px 0}.four-result-detail{text-align:center;font-weight:700}.four-drops button{min-height:48px}.four-drops button:disabled{opacity:.7}.four-drops button span{font-size:15px}.four-touch-controls{display:none;align-items:end;gap:10px;margin:0 0 16px}.four-touch-controls label{flex:1;min-width:0;font-size:13px;font-weight:700}.four-touch-controls select{display:block;width:100%;min-height:48px;margin-top:6px;padding:8px;color:#192a4a;background:#fff;border:1px solid #a4b7de;border-radius:8px;font:inherit}.four-touch-controls button{min-height:48px;padding:8px 14px;white-space:nowrap;font-size:14px;font-weight:700}.four-touch-controls select:focus-visible,.four-board-details summary:focus-visible{outline:3px solid #254ca5;outline-offset:3px}.four-action-error{padding:12px;border:1px solid #a33435;border-radius:8px;background:#fff0ef;color:#782429}.four-board-details{max-width:660px;margin:16px auto 0;border-top:1px solid #a4b7de;font-size:13px;line-height:1.6}.four-board-details summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:700}.four-board-details table{width:100%;table-layout:fixed;border-collapse:collapse;background:#f4f7ff}.four-board-details caption{text-align:left;margin-bottom:8px}.four-board-details th,.four-board-details td{border:1px solid #a4b7de;height:36px;padding:3px;text-align:center}@media(max-width:600px),(pointer:coarse){.four-touch-controls{display:flex}}.fleet-aim-controls{padding:12px;background:#11182f;border:1px solid #536882;border-radius:8px;margin:10px 0 16px}.fleet-aim-controls p{margin:0 0 12px;font-size:13px;line-height:1.5;min-height:3em}.fleet-aim-controls button{min-height:44px;margin:0 6px 5px 0}.fleet-fire-controls button:first-of-type{background:#6ce5cf;color:#142a33;font-weight:800}.fleet-fire-controls button:first-of-type:disabled{background:#32474e;color:#bacddd;opacity:1}.fleet-map .fleet-cell.placement-preview{background:#5ea392;border:2px dashed #d6fff2}.fleet-map .fleet-cell.placement-invalid{background:#753c50;border:2px dashed #ffb6a6}.fleet-map .fleet-cell.target-selected{border:2px solid #fff;background:#3c6373;box-shadow:inset 0 0 0 3px #6ce5cf}.fleet-map .fleet-cell.latest-shot{outline:2px solid #fff;outline-offset:1px;position:relative;z-index:1}.fleet-map .fleet-cell.shot-impact{animation:fleet-impact .85s ease-out;z-index:3}.fleet-map .fleet-cell.shot-impact.shot-sunk{animation-duration:1.25s}.fleet-deployed .fleet-cell.recently-deployed{animation:fleet-deploy .45s ease-out}.fleet-roster .commander-active{border:2px solid #6ce5cf;background:#203742}.fleet-last-shot{display:flex;align-items:center;gap:15px;padding:14px 18px;margin-bottom:18px;border-left:4px solid #9eb4d2;background:#242e49}.fleet-last-shot.result-hit,.fleet-last-shot.result-sunk{border-color:#ffb87a}.fleet-last-shot.result-sunk{background:#473343}.fleet-shot-mark{font:700 35px monospace}.fleet-last-shot strong{font-size:15px;line-height:1.5}.fleet-last-shot small{display:block;margin-top:4px;font-size:12px;color:#c1cbe0}.fleet-recap{display:flex;flex-wrap:wrap;gap:8px 28px;margin-bottom:16px;font-size:13px}.fleet-recap strong{display:block}.fleet-deployment-boards{grid-template-columns:minmax(0,470px);justify-content:center}@media(max-width:720px){.fleet-boards,.tournament-layout,.duel-shelf{grid-template-columns:1fr}.fleet-ship-picker{grid-template-columns:repeat(3,1fr)}.four-players{gap:6px}.four-player{padding:10px 8px;font-size:12px;grid-template-columns:20px 1fr}.four-player>span{font-size:18px}.four-player small{font-size:12px}.four-drops{padding:0 8px 8px;gap:5px}.four-drops button{padding:5px 0}.four-table .duel-heading>p{display:none}.duel-status{align-items:flex-start;flex-direction:column}.fleet-roster>div{padding:10px;font-size:12px}.fleet-roster span{font-size:12px}.fleet-grid-panel{max-width:470px;width:100%;margin:auto}.fleet-map .fleet-cell{font-size:20px}.tournament-matches article{align-items:flex-start;flex-direction:column}.tournament-return{align-items:flex-start;flex-direction:column}.duel-heading{gap:12px}}@media(prefers-reduced-motion:reduce){.four-disc.disc-falling,.four-disc.disc-winning,.duel-state-arrive,.fleet-map .fleet-cell.shot-impact,.fleet-deployed .fleet-cell.recently-deployed{animation:none}}@media(max-width:430px){.four-table,.fleet-table{padding:14px 10px}.four-board{padding:8px;--four-gap: 5px}.four-drops{padding:0 10px 8px;gap:5px}.four-player{padding:8px 4px;gap:4px}.fleet-map-row,.fleet-coordinates{grid-template-columns:15px repeat(10,minmax(0,1fr));gap:2px}.fleet-map{gap:2px}.fleet-sector{display:none}.fleet-ship-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-tools button{min-height:44px}}.craft-carrier{--hull-color: #87dfcf;--hull-fill: #2b6664;--hull-angle: 0deg}.craft-battleship{--hull-color: #9ebeff;--hull-fill: #344b79;--hull-angle: 45deg}.craft-cruiser{--hull-color: #d6b6ff;--hull-fill: #584478;--hull-angle: 90deg}.craft-submarine{--hull-color: #ffe0a1;--hull-fill: #6e5735;--hull-angle: 135deg}.craft-destroyer{--hull-color: #ffb6c4;--hull-fill: #754656;--hull-angle: 25deg}.fleet-map .fleet-cell.occupied:not(.shot-hit):not(.shot-sunk):not(.placement-preview):not(.placement-invalid){color:var(--hull-color);border-color:var(--hull-color);background:repeating-linear-gradient(var(--hull-angle),transparent 0 5px,#ffffff0d 5px 7px),var(--hull-fill)}.fleet-hull-letter{font:800 clamp(12px,1.4vw,19px)/1 monospace;text-shadow:0 1px 2px #101729}.fleet-craft-legend ul{list-style:none;padding:0;margin:0;display:flex;gap:8px 14px;flex-wrap:wrap}.fleet-craft-legend li{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.4}.fleet-craft-legend li small{color:#c1cbe0;display:block;font-size:11px}.craft-key-mark{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--hull-color);border-radius:4px;color:var(--hull-color);background:var(--hull-fill);font:800 15px monospace}.fleet-sunk-label{display:block;color:#ffd2a9;font:800 13px/1.5 Trebuchet MS,sans-serif;text-transform:uppercase;letter-spacing:1.2px;margin-bottom:3px}.fleet-sinking{animation:fleet-sink-report .65s ease-out}.fleet-sinking .fleet-shot-mark{animation:fleet-breakup .6s ease-out}.fleet-map .fleet-cell.shot-impact.shot-sunk{position:relative;animation:fleet-breakup .65s ease-out}.fleet-map .fleet-cell.shot-impact.shot-sunk:before,.fleet-map .fleet-cell.shot-impact.shot-sunk:after{content:"";position:absolute;inset:-2px;border:2px solid #ffcda6;border-radius:50%;pointer-events:none;animation:fleet-shockwave .65s ease-out both}.fleet-map .fleet-cell.shot-impact.shot-sunk:after{animation-delay:.1s;border-style:dashed}@keyframes fleet-shockwave{0%{transform:scale(.5);opacity:1}to{transform:scale(3.5);opacity:0}}@keyframes fleet-breakup{0%{transform:scale(.7) rotate(-20deg);filter:brightness(2.5)}45%{transform:scale(1.3) rotate(12deg)}to{transform:scale(1) rotate(0);filter:brightness(1)}}@keyframes fleet-sink-report{0%{box-shadow:inset 0 0 0 3px #ffd2a9;background:#79534c}to{box-shadow:inset 0 0 0 0 transparent;background:#473343}}@media(min-width:721px){.fleet-battle-boards{grid-template-rows:auto auto auto auto;row-gap:0}.fleet-battle-boards>.fleet-grid-panel{display:grid;grid-template-rows:subgrid;grid-row:span 4}}@media(prefers-reduced-motion:reduce){.fleet-sinking,.fleet-sinking .fleet-shot-mark,.fleet-map .fleet-cell.shot-impact.shot-sunk{animation:none}.fleet-map .fleet-cell.shot-impact.shot-sunk:before,.fleet-map .fleet-cell.shot-impact.shot-sunk:after{animation:none;display:none}}.fleet-mobile-picker{display:none}.fleet-action-error{padding:12px;border:1px solid #ffb6a6;border-radius:8px;color:#ffe3db;background:#513a43;font-size:14px}.fleet-preview-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:10px;font-size:13px}.fleet-preview-tools button{margin:0;min-height:44px}@media(max-width:720px){.fleet-placement{margin:16px 0 8px}.fleet-ship-picker{display:none}.fleet-mobile-picker{display:grid;gap:6px;font-size:13px;color:#c1cbe0}.fleet-mobile-picker select{width:100%;min-height:44px;background:#252c50;color:#e8f2fb;border:1px solid #6ce5cf;border-radius:6px;padding:8px;font-size:14px}.fleet-mobile-picker select:focus-visible{outline:3px solid #ffb87a;outline-offset:2px}.fleet-placement-count{margin:8px 0}.fleet-tools{margin:10px 0;gap:6px}.fleet-tools button{flex:1 1 auto;min-height:44px}.fleet-deployment-boards .fleet-grid-panel{display:flex;flex-direction:column}.fleet-deployment-boards .fleet-aim-controls{order:1}}.playing-card{--card-width: clamp(74px, 9vw, 112px);display:inline-block;flex:0 0 auto;position:relative;width:var(--card-width);aspect-ratio:2 / 3;padding:0;margin:0;border:0;border-radius:10%;background:transparent;color:inherit;vertical-align:middle;box-shadow:0 3px 4px #0c20212b,0 9px 16px #0c202124;transition:transform .16s ease,box-shadow .16s ease;-webkit-tap-highlight-color:transparent}.playing-card svg{display:block;width:100%;height:100%;overflow:visible}.playing-card.card-skin-space{--card-focus: #92c8e9}.playing-card.card-skin-magic{--card-focus: #e5b66e}button.playing-card{cursor:pointer}button.playing-card:not(:disabled):hover{transform:translateY(-9px);z-index:2;box-shadow:0 6px 4px #0c20212b,0 16px 22px #0c202140}.playing-card:focus-visible{outline:3px solid var(--card-focus, #e9bd47);outline-offset:4px;z-index:3}.playing-card.selected{transform:translateY(-12px);outline:3px solid var(--card-focus, #d6ae63);outline-offset:2px;z-index:3}.playing-card.unavailable{filter:saturate(.7)}button.playing-card:disabled{cursor:default;opacity:.72}.playing-card.small{--card-width: clamp(38px, 5vw, 58px)}.rules{min-width:0;padding:0;margin:0;border:0;color:#223334;font-family:system-ui,sans-serif}.rules legend{padding:0;font:400 1.6rem/1.2 Georgia,serif;color:#153f40}.rules .rules-intro{margin:.65rem 0 1.35rem;font-size:.88rem;line-height:1.55;color:#596561}.rules-selects{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr));gap:1rem 1.4rem}.rules-field{min-width:0}.rules-field>label{display:block;margin-bottom:.5rem;font-size:.82rem;font-weight:650}.rules-field select{width:100%;min-height:44px;padding:.7rem 2rem .7rem .8rem;border:1px solid #153f4038;border-radius:6px;background-color:#fffcf5;color:#223334;font:inherit;font-size:.86rem}.rules-field select:focus-visible,.rules-toggle input:focus-visible{outline:3px solid #a27529;outline-offset:3px}.rules-field p{margin:.5rem 0 0;font-size:.76rem;line-height:1.6;color:#596561}.rules-toggles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:0 1.5rem;margin-top:1.1rem}.rules-toggle{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 0;border-top:1px solid #153f401a;cursor:pointer}.rules-toggle input{flex:0 0 auto;margin:.05rem 0 0;width:19px;height:19px;accent-color:#153f40;cursor:inherit}.rules-toggle-title{display:block;font-size:.85rem;font-weight:650;line-height:1.4}.rules-toggle-help{display:block;margin-top:.25rem;color:#596561;font-size:.76rem;line-height:1.6}.rules-toggle.rules-inactive{opacity:.62;cursor:default}.rules:disabled .rules-toggle,.rules:disabled select{cursor:default}.rules-summary{display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:0;list-style:none;font-family:system-ui,sans-serif}.rules-summary li{padding:.3rem .55rem;border:1px solid currentColor;border-radius:4px;font-size:.7rem;line-height:1.25;opacity:.8}@media(prefers-reduced-motion:reduce){.playing-card{transition:none}}.last-light-game .opponent strong{font-size:14px}.last-light-game .opponent small{font-size:12px;line-height:1.35}.last-light-game .card-count{position:relative;font-size:24px}.last-light-game .card-count small{font-size:11px}.last-light-game .catch-button{min-height:44px;font-size:13px;padding:9px 10px}.last-light-game .direction-badge{font-size:13px}.last-light-game .pile>span{font-size:11px;letter-spacing:1px}.last-light-game .pile small{font-size:12px;line-height:1.4}.last-light-game .color-indicator{font-size:12px}.last-light-game .table-log{font-size:13px;min-height:44px;color:#f0eddd}.last-light-game .hand-heading h3 span,.last-light-game .hand-heading p,.last-light-game .hand-help{font-size:13px}.last-light-game .hand-actions button,.last-light-game .hand-heading button{min-height:44px;font-size:14px}.last-light-game .hand-actions{padding:12px 0}.last-light-game .hand-cards{position:relative;padding-block:20px 30px;align-items:flex-start}.last-light-game .ll-hand-card{position:relative;flex:0 0 auto}.last-light-game .ll-hand-card[data-drawn=true] .playing-card{outline:3px solid var(--ink);outline-offset:3px}.last-light-game .ll-drawn-label{position:absolute;bottom:-22px;left:50%;transform:translate(-50%);padding:3px 7px;font:700 11px/1.3 Segoe UI,sans-serif;letter-spacing:1px;border-radius:4px;background:var(--ink);color:var(--paper)}.last-light-game .ll-hand-guidance{font-size:14px;color:var(--muted);line-height:1.6;max-width:75ch}.last-light-game .ll-hand-scroll{display:flex;align-items:center;gap:10px;max-width:560px;font-size:13px;line-height:1.45;color:var(--muted)}.last-light-game .ll-hand-scroll button{min-width:44px;min-height:44px;flex-shrink:0;font-size:20px}.last-light-game .ll-hand-scroll span{flex:1}.last-light-game .ll-choice-error{padding:12px;border:1px solid #b4483c;border-radius:8px;background:#fff1ec;color:#762820;font-size:14px;line-height:1.5}.last-light-game .ll-call-decision{border:1px solid #b99958;border-radius:10px;background:#e7c47724;padding:10px 14px;margin-bottom:12px}.last-light-game .ll-call-decision .inline-check{min-height:44px;font-size:15px;font-weight:650}.last-light-game .ll-call-decision input{width:22px;height:22px;flex-shrink:0}.last-light-game .ll-call-decision p{font-size:13px;line-height:1.5;margin:3px 0}.last-light-game .ll-rules-help{display:grid;gap:12px;padding-block:12px;max-width:80ch}.last-light-game .ll-rules-help p,.last-light-game #choice-help,.last-light-game .ll-challenge-help{font-size:14px;line-height:1.65}.last-light-game .ll-challenge-help{margin-block:18px;text-align:left}.last-light-game .ll-challenge-help p+p{margin-top:12px}.last-light-game .card-choice .wide+.wide{margin-top:12px}.last-light-game .ll-count-delta{position:absolute;left:-28px;top:-5px;color:#ffe7a8;font:700 15px/1.2 Segoe UI,sans-serif;pointer-events:none}.last-light-game .ll-discard-arrival .playing-card{animation:ll-discard .48s cubic-bezier(.18,.75,.3,1)}.last-light-game .ll-hand-arrival{animation:ll-deal .52s cubic-bezier(.16,.75,.2,1)}.last-light-game .ll-deck-deal .playing-card{animation:ll-deck .42s ease-out}.last-light-game .ll-count-change{animation:ll-count .6s ease-out}.last-light-game .ll-turn-arrival{animation:ll-turn .8s ease-out}.last-light-game .ll-stack-arrival{animation:ll-stack .55s ease-out}.last-light-game .ll-direction-change{animation:ll-direction .6s ease-out}.last-light-game .ll-result-arrival{animation:ll-result .75s cubic-bezier(.16,.75,.2,1)}@keyframes ll-discard{0%{transform:translate(-70px,-65px) rotate(-18deg) scale(.85);opacity:.2}70%{transform:translateY(3px) rotate(3deg)}to{transform:none;opacity:1}}@keyframes ll-deal{0%{transform:translateY(-35px) rotate(7deg);opacity:.25}to{transform:none;opacity:1}}@keyframes ll-deck{40%{transform:translate(12px) rotate(5deg)}to{transform:none}}@keyframes ll-count{35%{transform:scale(1.22);color:#ffe7a8}to{transform:none}}@keyframes ll-turn{0%{background:#d8b45a40;box-shadow:0 0 0 10px #d8b45a20}to{background:transparent;box-shadow:0 0 0 0 transparent}}@keyframes ll-stack{35%{transform:scale(1.2)}to{transform:none}}@keyframes ll-direction{40%{transform:translate(8px);color:var(--ink)}to{transform:none}}@keyframes ll-result{0%{transform:translateY(18px);opacity:.3}to{transform:none;opacity:1}}@media(max-width:600px){.last-light-game .game-status{flex-wrap:wrap;gap:12px}.last-light-game .game-status h2{font-size:17px;max-width:none}.last-light-game .status-badges{width:100%;justify-content:space-between}.last-light-game .direction-badge{width:auto;text-align:left}.last-light-game .opponents{gap:10px}.last-light-game .opponent{min-width:min(100%,135px);padding:10px 8px}.last-light-game .opponent strong{font-size:13px}.last-light-game .opponent .avatar{display:none}.last-light-game .table-center{gap:10px}.last-light-game .pile{min-width:0;flex:1}.last-light-game .pile .playing-card{--card-width: clamp(64px, 21vw, 88px)}.last-light-game .between-piles{min-width:65px}.last-light-game .table-wordmark{font-size:15px}.last-light-game .penalty{font-size:13px;text-align:center;max-width:75px}.last-light-game .table-log{text-align:left}.last-light-game .hand-heading{gap:10px}.last-light-game .hand-heading h3 span{display:block;margin:3px 0 0}.last-light-game .hand-actions{gap:8px}.last-light-game .hand-actions>button{flex:1 1 140px}.last-light-game .hand-help{width:100%;margin:0}.last-light-game .hand-cards{touch-action:pan-x pan-y}}@media(prefers-reduced-motion:reduce){.last-light-game *,.last-light-game *:before,.last-light-game *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.last-light-game .ll-discard-arrival .playing-card,.last-light-game .ll-hand-arrival .playing-card{outline:3px solid #dab665;outline-offset:3px}.last-light-game .ll-turn-arrival{border-left:4px solid #b49352;padding-left:10px}}.last-light-game{width:100%;min-width:0}.last-light-game .game-status{margin:0;padding:10px 20px;min-height:64px}.last-light-game .game-status h2{font-size:clamp(17px,1.5vw,23px);max-width:none}.last-light-game .card-table{display:flex;flex-direction:column;min-height:calc(100dvh - 204px);padding:20px clamp(16px,3vw,52px) 12px;border-width:3px;border-radius:20px;background-image:radial-gradient(ellipse at 50% 38%,#46746755,#082f3533 72%);isolation:isolate}.last-light-game .ll-playfield{display:grid;grid-template-columns:minmax(130px,210px) minmax(250px,1fr) minmax(130px,210px);grid-template-rows:auto minmax(230px,1fr) auto;grid-template-areas:"left top right" "left center right" "left log right";align-items:center;gap:12px clamp(14px,3vw,50px);flex:1;position:relative;min-height:360px}.last-light-game .ll-seats{display:flex;gap:14px;position:relative;z-index:2;min-width:0}.last-light-game .ll-seats-left{grid-area:left;flex-direction:column}.last-light-game .ll-seats-right{grid-area:right;flex-direction:column}.last-light-game .ll-seats-top{grid-area:top;justify-content:center}.last-light-game .opponent{min-width:0;width:100%;max-width:210px;flex:0 1 210px;padding:10px;background:#08232255;border-color:#e6ecda33}.last-light-game .ll-seats-left .opponent,.last-light-game .ll-seats-right .opponent{flex-basis:auto}.last-light-game .opponent strong{max-width:130px}.last-light-game .opponent.active-player{background:#d0b56b22;border-color:#f0ce82;box-shadow:0 0 0 2px #e2bd6e33,0 8px 26px #061b2526}.last-light-game .mini-hand{height:52px;margin:10px 0 0}.last-light-game .mini-hand>span{margin-left:-13px}.last-light-game .mini-hand>span:first-child{margin-left:0}.last-light-game .mini-hand .playing-card{--card-width: 34px;margin:0}.last-light-game .mini-hand>span:nth-child(2n) .playing-card{transform:rotate(5deg)}.last-light-game .table-center{grid-area:center;gap:clamp(18px,4vw,65px);margin:20px 0 6px;align-self:center}.last-light-game .pile{min-width:0}.last-light-game .pile .playing-card{--card-width: clamp(108px, 10vw, 158px);filter:drop-shadow(0 15px 13px #031a2855)}.last-light-game .between-piles{min-width:70px}.last-light-game .table-wordmark{display:none}.last-light-game .table-emblem{font-size:34px;margin-bottom:16px}.last-light-game .color-indicator{font-size:13px}.last-light-game .table-log{grid-area:log;margin:4px 0 12px;min-height:24px;font-size:12px}.last-light-game .table-log p:not(:last-child){display:none}.last-light-game .your-hand{position:relative;z-index:3;width:100%;margin:12px auto 0;max-width:1500px;color:#fff8e9;background:radial-gradient(ellipse at bottom,#061e3455,transparent 72%)}.last-light-game .hand-heading{margin-bottom:0;padding:0 12px}.last-light-game .hand-heading h3{font-size:18px;color:#fff8e9}.last-light-game .hand-heading h3 span,.last-light-game .hand-heading p,.last-light-game .your-hand .text-button,.last-light-game .ll-hand-guidance,.last-light-game .hand-help,.last-light-game .ll-hand-scroll{color:#e0e9e6}.last-light-game .ll-hand-guidance{padding:0 12px;margin:0;max-width:none;font-size:12px}.last-light-game .hand-cards{min-height:0;gap:0;padding:32px 24px 24px;align-items:flex-end;scroll-padding-inline:24px}.last-light-game .ll-hand-card{margin-left:-12px}.last-light-game .ll-hand-card:first-child{margin-left:auto}.last-light-game .ll-hand-card:last-child{margin-right:auto}.last-light-game .ll-hand-card:hover,.last-light-game .ll-hand-card:focus-within{z-index:4}.last-light-game .your-hand .hand-cards .playing-card{--card-width: clamp(96px, 8.8vw, 140px);transform:translateY(-10px);box-shadow:0 12px 10px #03182455,0 22px 30px #03182444}.last-light-game .your-hand .hand-cards .playing-card:disabled{filter:saturate(.8);transform:translateY(3px);opacity:1}.last-light-game .your-hand .hand-cards .playing-card:enabled:hover,.last-light-game .your-hand .hand-cards .playing-card:focus-visible{transform:translateY(-24px) rotate(-2deg);filter:drop-shadow(0 16px 10px #06132066)}.last-light-game .hand-actions{justify-content:center;padding:0;margin:0}.last-light-game .hand-help{margin-left:10px}.last-light-game .hand-actions .secondary{background:#102f3f;border-color:#a4c1b788;color:#fff8e9}.last-light-game .ll-call-decision{margin:8px 12px;padding:4px 12px}.last-light-game .ll-call-decision p{font-size:12px}.last-light-game .ll-hand-scroll{margin:6px auto 0}.last-light-game .ll-piles-selecting{visibility:hidden}.last-light-game .ll-field-choice{grid-area:center;z-index:3;position:relative;width:min(100%,500px);justify-self:center;padding:12px 18px;color:#fff8e9;border:1px solid #cddcce55;border-radius:16px;background:#092a32ee;box-shadow:0 12px 35px #05152244}.last-light-game .ll-field-choice>.playing-card{--card-width: 55px;margin-bottom:6px}.last-light-game .ll-field-choice h2{color:#fff8e9;font-size:20px;margin:4px 0}.last-light-game .ll-field-choice #choice-help{color:#d6e3dd;font-size:12px;line-height:1.4}.last-light-game .ll-field-choice .color-choices{grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 2px}.last-light-game .ll-field-choice .color-choices button{min-height:50px;padding:10px 5px;font-size:14px;border:1px solid #fff6}.last-light-game .ll-field-choice .color-choices .chosen{outline:none}.last-light-game .ll-field-choice .color-choices button:focus-visible{outline:3px solid #fff8e9;outline-offset:3px}.last-light-game .ll-choice-cancel{position:absolute;top:5px;right:6px;min-height:44px;min-width:44px;color:#fff8e9;font-size:24px}.last-light-game .rules-during-game{padding:4px 18px;margin-top:8px}.last-light-game .rules-during-game summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.last-light-game .ll-opening-card{animation:ll-opening-deal .62s cubic-bezier(.16,.75,.2,1) var(--deal-delay) both}.last-light-game .ll-hand-arrival{animation:ll-opening-deal .52s cubic-bezier(.16,.75,.2,1) both}.last-light-game .ll-opening-opponent>span{animation:ll-opening-seat .48s ease-out var(--deal-delay) both}@keyframes ll-opening-deal{0%{opacity:0}75%{opacity:0}to{transform:none;opacity:1}}@keyframes ll-opening-seat{0%{opacity:0}to{transform:none;opacity:1}}.last-light-game .ll-deal-flight{position:absolute;z-index:10;pointer-events:none;animation:ll-flight var(--flight-duration, .52s) cubic-bezier(.2,.7,.3,1) var(--deal-delay, 0ms) both}.last-light-game .ll-deal-flight .playing-card{--card-width: 100%}@keyframes ll-flight{0%{transform:translate(0) rotate(-8deg);opacity:0}10%{opacity:1}88%{opacity:1}to{transform:translate(var(--flight-x),var(--flight-y)) rotate(0) scale(var(--flight-scale));opacity:0}}@media(min-width:1000px)and (max-height:820px){.last-light-game .card-table{padding-top:12px}.last-light-game .ll-playfield{min-height:290px;grid-template-rows:auto minmax(160px,1fr) auto}.last-light-game .pile .playing-card{--card-width: 105px}.last-light-game .your-hand .hand-cards .playing-card{--card-width: 98px}.last-light-game .hand-cards{padding-block:25px 18px}.last-light-game .mini-hand{height:42px}.last-light-game .mini-hand .playing-card{--card-width: 28px}}@media(max-width:800px){.last-light-game .card-table{padding:12px 10px;min-height:calc(100dvh - 140px);border-radius:12px}.last-light-game .ll-playfield{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:"top top" "left right" "center center" "log log";gap:10px;min-height:0}.last-light-game .ll-seats-left,.last-light-game .ll-seats-right{flex-direction:row;flex-wrap:wrap;align-self:start}.last-light-game .ll-seats-left{justify-content:flex-start}.last-light-game .ll-seats-right{justify-content:flex-end}.last-light-game .ll-seats-top{flex-wrap:wrap}.last-light-game .opponent{padding:7px 8px;max-width:190px}.last-light-game .opponent small{font-size:10px;margin-top:1px}.last-light-game .opponent .avatar{display:none}.last-light-game .mini-hand{height:30px;margin-top:5px}.last-light-game .mini-hand .playing-card{--card-width: 20px}.last-light-game .mini-hand>span{margin-left:-6px}.last-light-game .card-count{font-size:20px}.last-light-game .table-center{gap:20px;margin:4px 0}.last-light-game .pile .playing-card{--card-width: clamp(78px, 22vw, 110px)}.last-light-game .between-piles{min-width:65px}.last-light-game .table-log{margin:0;font-size:11px}.last-light-game .your-hand{margin-top:12px}.last-light-game .your-hand .hand-cards .playing-card{--card-width: 92px}.last-light-game .hand-cards{padding:26px 16px 22px}.last-light-game .hand-help{margin:0;width:auto}.last-light-game .hand-heading{padding:0 4px}.last-light-game .hand-heading h3 span{display:inline;margin-left:8px}.last-light-game .ll-hand-guidance{padding:0 4px;line-height:1.4}.last-light-game .ll-field-choice{padding:10px}.last-light-game .game-status{padding:8px;gap:4px}.last-light-game .status-badges{width:auto;margin-left:auto}.last-light-game .game-status h2{font-size:16px}}@media(prefers-reduced-motion:reduce){.last-light-game .ll-deal-flight{display:none}.last-light-game .ll-opening-card,.last-light-game .ll-opening-opponent>span{animation:none}.last-light-game .your-hand .hand-cards .playing-card{transition:none}}.last-light-game .your-hand .ll-compressed-hand{display:block;position:relative;overflow:visible;height:calc(clamp(104px,8.6vw,136px)*1.5 + 52px);padding:0;margin:0 20px;width:calc(100% - 40px)}.last-light-game .your-hand .ll-compressed-hand .ll-hand-card{position:absolute;bottom:15px;margin:0;transform:translate(var(--hand-shift, 0px));transition:left .26s ease,transform .2s ease}.last-light-game .your-hand .ll-compressed-hand .playing-card{--card-width: clamp(104px, 8.6vw, 136px);transition:transform .2s cubic-bezier(.2,.85,.2,1),box-shadow .2s,filter .2s;transform:translateY(-6px)}.last-light-game .your-hand .ll-compressed-hand .playing-card:disabled{transform:translateY(3px)}.last-light-game .your-hand .ll-compressed-hand .ll-hovered .playing-card,.last-light-game .your-hand .ll-compressed-hand .playing-card:focus-visible,.last-light-game .your-hand .ll-compressed-hand .playing-card:enabled:hover{transform:translateY(-34px) scale(1.055);filter:none;box-shadow:0 20px 22px #00141a88,0 0 0 2px #f9e1a488}.last-light-game .ll-draw-incoming{visibility:hidden}.last-light-game .your-hand .ll-compressed-hand .ll-draw-incoming{animation:none}.last-light-game .ll-hand-guidance,.last-light-game .hand-help{display:none}.last-light-game .ll-call-decision{margin:0 12px}.last-light-game .ll-call-decision p{display:none}.last-light-game .ll-direction-ring{display:flex;align-items:center;flex-direction:column;width:104px;color:#f2d393;margin-bottom:12px}.last-light-game .ll-direction-ring svg{width:84px;overflow:visible}.last-light-game .ll-direction-ring circle{fill:#08282c55;stroke:#f2d39333;stroke-width:1}.last-light-game .ll-direction-ring path{fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.last-light-game .ll-direction-ring g{transform-origin:50px 50px;animation:ll-flow 8s linear infinite}.last-light-game .ll-direction-ring.counterclockwise svg{transform:scaleX(-1)}.last-light-game .ll-direction-ring.paused g{animation-play-state:paused}.last-light-game .ll-direction-ring small{font-size:9px;font-weight:750;letter-spacing:.5px}.last-light-game .table-emblem,.last-light-game .direction-badge{display:none}@keyframes ll-flow{to{transform:rotate(360deg)}}.last-light-game .opponent{max-width:250px;flex-basis:250px;padding:12px}.last-light-game .opponent strong{font-size:16px;max-width:150px}.last-light-game .card-count{font-size:32px;font-weight:750;min-width:40px}.last-light-game .card-count small{font-size:12px}.last-light-game .mini-hand{height:90px;margin-top:12px}.last-light-game .mini-hand .playing-card{--card-width: 58px}.last-light-game .mini-hand>span{margin-left:-43px}.last-light-game .ll-playfield{grid-template-columns:minmax(170px,250px) minmax(250px,1fr) minmax(170px,250px);grid-template-rows:auto minmax(160px,1fr) auto;min-height:0;gap:8px 24px}.last-light-game .table-center{margin:8px 0}.last-light-game .card-table{min-height:calc(100dvh - 180px);padding:14px 24px 12px}.last-light-game .your-hand{margin-top:0}@media(min-width:1000px){.last-light-game .card-table{min-height:0;height:calc(100dvh - 190px);padding-block:8px}.last-light-game .game-status{min-height:52px;padding-block:6px}.last-light-game .ll-playfield{grid-template-rows:auto minmax(0,1fr) auto}.last-light-game .ll-seats-top .opponent{display:grid;grid-template-columns:minmax(0,1fr) 165px;max-width:430px;flex-basis:430px;align-items:center}.last-light-game .ll-seats-top .mini-hand{margin-top:0;height:76px}.last-light-game .ll-seats-top .mini-hand .playing-card{--card-width: 49px}.last-light-game .ll-seats-top .mini-hand>span:not(:first-child){margin-left:-39px}.last-light-game .pile .playing-card{--card-width: clamp(90px, 12dvh, 118px)}.last-light-game .table-log{margin:0;min-height:18px}.last-light-game .table-center{margin:0}.last-light-game .hand-actions,.last-light-game .your-hand{flex-shrink:0}}@media(min-width:1000px)and (max-height:820px){.last-light-game .card-table{min-height:0;height:calc(100dvh - 190px);padding:8px 22px}.last-light-game .game-status{min-height:52px;padding-block:6px}.last-light-game .ll-playfield{grid-template-rows:auto minmax(100px,1fr) auto;min-height:0}.last-light-game .ll-seats-top .opponent{display:grid;grid-template-columns:1fr 130px;max-width:390px;flex-basis:390px;align-items:center}.last-light-game .ll-seats-top .mini-hand{margin-top:0}.last-light-game .ll-seats-top .mini-hand>span:not(:first-child){margin-left:-39px}.last-light-game .mini-hand{height:72px}.last-light-game .mini-hand .playing-card{--card-width: 46px}.last-light-game .mini-hand>span{margin-left:-35px}.last-light-game .pile .playing-card{--card-width: 88px}.last-light-game .your-hand .ll-compressed-hand{height:180px}.last-light-game .your-hand .ll-compressed-hand .playing-card{--card-width: 98px}.last-light-game .ll-direction-ring svg{width:64px}.last-light-game .ll-direction-ring{margin-bottom:6px}.last-light-game .table-log{margin-block:0;min-height:18px}}@media(max-width:800px){.last-light-game .card-table{padding:10px}.last-light-game .ll-playfield{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:8px}.last-light-game .opponent{padding:7px}.last-light-game .opponent strong{font-size:14px}.last-light-game .mini-hand{height:57px}.last-light-game .mini-hand .playing-card{--card-width: 36px}.last-light-game .mini-hand>span{margin-left:-27px}.last-light-game .card-count{font-size:27px}.last-light-game .ll-direction-ring{width:76px}.last-light-game .ll-direction-ring svg{width:64px}.last-light-game .ll-direction-ring small{font-size:7px}.last-light-game .your-hand .ll-compressed-hand{height:187px;margin-inline:8px;width:calc(100% - 16px)}.last-light-game .your-hand .ll-compressed-hand .playing-card{--card-width: 98px}.last-light-game .your-hand .ll-compressed-hand .ll-hovered .playing-card{transform:translateY(-30px)}}@media(prefers-reduced-motion:reduce){.last-light-game .ll-direction-ring g{animation:none}.last-light-game .your-hand .ll-compressed-hand .ll-hand-card,.last-light-game .your-hand .ll-compressed-hand .playing-card{transition:none}}@media(max-width:800px){.last-light-game .card-table{min-height:calc(100dvh - 200px)}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child){grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto auto auto;grid-template-areas:"left top right" "center center center" "log log log";gap:8px}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .opponent{padding:7px 4px}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .opponent-header{gap:4px;min-height:48px}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .opponent strong{font-size:12px;line-height:1.25}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .opponent-header>div>small{display:none}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .card-count{min-width:30px}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .mini-hand{height:53px;margin-top:6px}.last-light-game .ll-playfield:has(.ll-seats-left>:only-child):has(.ll-seats-top>:only-child):has(.ll-seats-right>:only-child) .mini-hand>span:not(:first-child){margin-left:-31px}}dialog.room-dialog{position:fixed;inset:0;margin:auto;width:min(450px,calc(100% - 32px));color:var(--ink)}dialog.room-dialog::backdrop{background:#102528a8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}dialog.room-party-overlay{width:min(1280px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:20px 24px;overflow:auto}dialog.room-party-overlay::backdrop{background:#08151d8c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.party-overlay-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.party-overlay-heading h2{margin:0}dialog.room-chat-overlay{inset:64px 16px 16px auto;margin:0;width:min(460px,calc(100% - 32px));height:calc(100dvh - 80px);max-height:none;display:flex;flex-direction:column}.room-chat-overlay .chat-panel{width:100%;margin:0;display:flex;flex-direction:column;flex:1;min-height:0;padding:12px 0 0;border:0;box-shadow:none}.room-chat-overlay .chat-messages{flex:1;min-height:80px;height:auto;overflow:auto}.room-chat-overlay .table-toolbar,.room-chat-overlay .waiting-party{display:none}@media(max-width:700px){dialog.room-party-overlay{width:calc(100% - 16px);padding:16px;max-height:calc(100dvh - 16px)}dialog.room-chat-overlay{inset:8px;height:calc(100dvh - 16px)}}.party-table,.party-rules{--party-cherry: #4a243d;--party-mustard: #dfbe52;--party-paper: #fff8ea;--party-ink: #32232c;color:var(--party-ink);font-family:system-ui,sans-serif}.party-table{padding:clamp(18px,3.5vw,42px);border:1px solid #4a243d26;border-radius:16px;background:#f2e8d8}.party-event-log{border-bottom:1px solid #4a243d26;padding:12px 0;font-size:.8rem;line-height:1.5}.party-event-log p{margin:3px 0}.party-event-log p:last-child{font-weight:650}.party-clock-help{margin:12px 0 0;font-size:.78rem;line-height:1.5}.party-hand-dock{position:sticky;top:10px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:14px 0;color:var(--party-ink);background:var(--party-paper);border:1px solid #4a243d55;border-radius:6px;box-shadow:0 4px 12px #32232c20}.party-hand-dock>div{min-width:0;font-size:.82rem}.party-hand-dock summary{cursor:pointer;font-size:.75rem;padding:6px 0}.party-hand-dock details p{max-width:550px;max-height:22vh;overflow-y:auto;line-height:1.4}.party-hand-dock>button{flex:0 0 auto}.party-gallery-dock{position:sticky;top:10px;z-index:5;padding:10px 14px;margin:14px 0;border:1px solid #4a243d55;border-radius:6px;background:var(--party-paper);color:var(--party-ink);box-shadow:0 4px 12px #32232c20;font-size:.82rem}.party-gallery-dock summary{cursor:pointer;padding:6px 0;font-weight:650}.party-gallery-dock details p{max-height:22vh;overflow-y:auto;line-height:1.5}.party-gallery-dock nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-top:5px}.party-gallery-dock nav>span{margin-right:4px}.party-gallery-dock a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;color:var(--party-cherry);border:1px solid #4a243d45;border-radius:4px;text-decoration:none;font-weight:750}.party-gallery-dock a:hover{background:#dfbe5233}.party-entry{scroll-margin-top:38vh}.party-order-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.party-order-controls button{min-height:40px;padding:7px 12px;color:var(--party-cherry);background:var(--party-paper);border:1px solid #4a243d55;border-radius:4px;font:600 .78rem system-ui,sans-serif}.party-order-controls button:disabled{opacity:.45}.party-confirm .party-order-editor li{padding-block:10px}.party-gallery-dock a:focus-visible,.party-order-controls button:focus-visible,.party-entry:focus-visible{outline:3px solid #aa7811;outline-offset:3px}.party-table .party-confirm-dialog{position:fixed;inset:0;width:min(570px,calc(100vw - 30px));max-height:calc(100dvh - 40px);overflow-y:auto;margin:auto;padding:25px;color:var(--party-ink);box-shadow:0 20px 80px #1d122960}.party-confirm-dialog::backdrop{background:#201423ba;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.party-confirm-dialog .party-confirm-prompt{font:1.2rem/1.5 Georgia,serif}.party-table .party-point-receipt{display:inline-block;color:#6d4b08;font-size:.82rem;font-weight:800;margin-left:5px}.party-motion-received .party-received-count{animation:party-receipt .6s ease-out}.party-motion-submitted .party-submitted .party-answer-stack{animation:party-envelope .65s cubic-bezier(.2,.75,.25,1)}.party-motion-entries .party-entry{animation:party-open-entry .48s cubic-bezier(.2,.75,.25,1) both}.party-motion-round .party-prompt{animation:party-new-invitation .65s cubic-bezier(.2,.75,.25,1)}.party-motion-round .party-players .is-judge{animation:party-judge-handoff .8s ease-out}.party-motion-award .party-entry.is-winner{animation:party-winning-answer .85s ease-out;animation-delay:0ms!important}.party-motion-award .took-point .party-point-receipt{animation:party-point-arrival .9s ease-out}.party-motion-finish .party-result{animation:party-last-word .85s cubic-bezier(.2,.75,.25,1)}@keyframes party-receipt{0%{transform:scale(1)}40%{transform:scale(1.15);color:#946e13}to{transform:scale(1)}}@keyframes party-envelope{0%{transform:translateY(22px) rotate(-2deg);opacity:.35}65%{transform:translateY(-3px) rotate(.5deg);opacity:1}to{transform:none}}@keyframes party-open-entry{0%{opacity:0;transform:perspective(700px) rotateX(-14deg) translateY(20px);transform-origin:top}to{opacity:1;transform:none}}@keyframes party-new-invitation{0%{transform:translate(-20px) rotate(-1deg);opacity:.45}to{transform:none;opacity:1}}@keyframes party-judge-handoff{0%,40%{box-shadow:0 0 0 4px #dfbe52}to{box-shadow:0 0 #dfbe5200}}@keyframes party-winning-answer{0%{transform:scale(.97)}35%{transform:scale(1.025);box-shadow:0 0 0 5px #dfbe5280}to{transform:scale(1);box-shadow:0 0 #dfbe5200}}@keyframes party-point-arrival{0%{opacity:0;transform:translateY(18px) scale(1.5)}55%{opacity:1;transform:translateY(-3px) scale(1.1)}to{transform:none}}@keyframes party-last-word{0%{transform:translateY(18px);clip-path:inset(0 0 100%)}to{transform:none;clip-path:inset(0)}}@media(prefers-reduced-motion:reduce){.party-table *,.party-table *:before,.party-table *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.party-masthead{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:2px solid var(--party-cherry)}.party-kicker{display:block;font:600 .65rem/1.5 Courier New,monospace;letter-spacing:.12em;text-transform:uppercase}.party-masthead h2{margin:7px 0 0;font:400 clamp(2.6rem,6vw,4.8rem)/.95 Georgia,serif;letter-spacing:-.055em;color:var(--party-cherry)}.party-masthead h2>span{color:#a96739}.party-round{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;font:.7rem/1.3 Courier New,monospace}.party-round strong{font:400 2.8rem/1 Georgia,serif}.party-round>span{margin-top:4px;opacity:.75}.party-status{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0}.party-status>p{margin:0;font-size:.87rem;line-height:1.5}.party-status-actions{display:flex;align-items:center;flex:0 0 auto;gap:10px}.party-timer{font:700 .85rem/1 Courier New,monospace;min-width:3ch}.party-table .party-button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:42px;padding:.7rem 1rem;border:1px solid var(--party-cherry);border-radius:5px;background:var(--party-cherry);color:var(--party-paper);box-shadow:none;font:650 .8rem/1.3 system-ui,sans-serif;cursor:pointer}.party-table .party-button.quiet{background:transparent;color:var(--party-cherry)}.party-table .party-button:not(:disabled):hover{background:#65334f;color:#fff8ea;transform:none}.party-table button:disabled{cursor:default;opacity:.5}.party-table button:focus-visible,.party-rules input:focus-visible,.party-rules select:focus-visible{outline:3px solid #9f7522;outline-offset:4px}.party-players{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 22px;list-style:none}.party-players li{display:grid;grid-template-columns:1fr auto;gap:3px 12px;min-width:115px;padding:9px 12px;border:1px solid #4a243d33;border-radius:5px;font-size:.78rem;background:#fff8ea7a}.party-players li.is-judge{background:var(--party-cherry);color:var(--party-paper)}.party-player-name{overflow-wrap:anywhere;max-width:180px}.party-player-name small{margin-left:5px;opacity:.65;font-size:.62rem}.party-player-state{grid-column:1 / -1;font:.61rem/1.3 Courier New,monospace;text-transform:uppercase;letter-spacing:.06em;opacity:.75}.party-prompt{position:relative;padding:clamp(22px,4vw,46px);background:var(--party-cherry);color:var(--party-paper);border-radius:6px;box-shadow:5px 5px 0 var(--party-mustard)}.party-prompt-label,.party-prompt-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font:.68rem/1.5 Courier New,monospace}.party-prompt-label{color:var(--party-mustard);text-transform:uppercase;letter-spacing:.09em}.party-prompt-label>span:last-child{padding:4px 8px;border:1px solid #dfbe5280}.party-prompt h3{max-width:850px;margin:30px 0 36px;font:400 clamp(1.65rem,3.5vw,2.7rem)/1.3 Georgia,serif;letter-spacing:-.025em;color:inherit;overflow-wrap:anywhere;white-space:pre-wrap}.party-prompt-footer{padding-top:12px;border-top:1px solid #fff8ea33;opacity:.75}.party-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:32px 0 16px}.party-section-title h3{margin:0;font:400 1.5rem/1.2 Georgia,serif;color:var(--party-cherry)}.party-section-title>span{font:.68rem/1.4 Courier New,monospace;text-align:right}.party-hand-help,.party-submitted>p{font-size:.8rem;line-height:1.55;opacity:.8}.party-hand{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));align-items:stretch;gap:12px;margin:18px 0}.party-table .party-answer{display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:190px;padding:17px;border:1px solid #4a243d2e;border-radius:5px;background:var(--party-paper);color:var(--party-ink);box-shadow:0 3px #4a243d12;text-align:left;overflow-wrap:anywhere}.party-table button.party-answer{cursor:pointer;transition:border-color .12s ease,box-shadow .12s ease}.party-table button.party-answer:not(:disabled):hover{border-color:var(--party-cherry);transform:none;background:#fffdf6}.party-table button.party-answer.is-picked{border:2px solid var(--party-cherry);padding:16px;background:#fff5d5;box-shadow:3px 3px 0 var(--party-cherry)}.party-answer-top{display:flex;justify-content:space-between;gap:8px;align-items:center;min-height:21px;font:600 .68rem/1.4 Courier New,monospace;text-transform:uppercase;letter-spacing:.045em}.party-order{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--party-cherry);color:var(--party-paper);font:700 .7rem/1 system-ui,sans-serif}.party-answer-text{display:block;flex:1;margin:20px 0 16px;font:600 1rem/1.5 Georgia,serif;white-space:pre-wrap}.party-answer-bottom{display:block;margin-top:auto;font:.68rem/1.4 Courier New,monospace;opacity:.8}.party-draft{margin:20px 0;font-size:.82rem}.party-draft>span{font-weight:650}.party-draft ol,.party-confirm ol{padding-left:1.3rem;margin:.6rem 0}.party-draft li,.party-confirm li{padding:.2rem 0 .2rem .3rem;line-height:1.5;overflow-wrap:anywhere}.party-confirm{margin-top:20px;padding:20px;border:1px solid #4a243d4d;border-left:4px solid var(--party-cherry);border-radius:4px;background:#fff8ea}.party-confirm h4{margin:0 0 8px;font:400 1.3rem/1.3 Georgia,serif;color:var(--party-cherry)}.party-confirm p,.party-confirm ol{font-size:.82rem;line-height:1.6}.party-confirm>div{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.party-waiting{display:flex;gap:20px;align-items:center;padding:30px 10px}.party-waiting p{max-width:520px;font-size:.86rem;line-height:1.65}.party-seal{display:flex;flex:0 0 65px;align-items:center;justify-content:center;width:65px;height:65px;border:1px dashed var(--party-cherry);border-radius:50%;font:400 2.6rem/1 Georgia,serif;transform:rotate(-12deg)}.party-answer-stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:10px;padding:0;margin:0;list-style:none}.party-submitted{max-width:850px}.party-entry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:16px;align-items:start}.party-entry{padding:13px;border:1px solid #4a243d33;border-radius:6px}.party-entry-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;margin-bottom:12px;font:.65rem/1.5 Courier New,monospace}.party-entry-heading strong{font-family:system-ui,sans-serif;overflow-wrap:anywhere}.party-entry .party-answer-stack{grid-template-columns:1fr}.party-entry .party-answer{min-height:130px}.party-entry>button{margin-top:12px;width:100%!important}.party-entry.is-chosen{border:2px solid var(--party-cherry);padding:12px}.party-entry.is-winner{border:2px solid #8d681a;padding:12px;background:#dfbe524d}.party-result{margin:30px 0 0;padding:26px;background:var(--party-mustard);color:var(--party-ink);border-radius:5px}.party-result h3{margin:8px 0;font:400 clamp(1.8rem,3vw,2.5rem)/1.2 Georgia,serif;overflow-wrap:anywhere;color:inherit}.party-result p{font-size:.84rem;line-height:1.5}.party-next{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:15px;margin-top:25px;padding-top:20px;border-top:1px solid #4a243d33}.party-next p,.party-next>span{margin:0;font-size:.8rem;line-height:1.5}.party-error{padding:12px;border:1px solid #b34d4d;background:#ffe7df;border-radius:4px;font-size:.85rem;color:#792525}.party-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.party-rules{padding:0;margin:0;min-width:0;border:0}.party-rules>legend{padding:0;font:400 1.6rem/1.3 Georgia,serif;color:var(--party-cherry)}.party-rules-intro{margin:.65rem 0 1.25rem;font-size:.83rem;line-height:1.65}.party-rule-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:15px}.party-rule-field label{display:block;margin-bottom:7px;font-size:.78rem;font-weight:650}.party-rule-field select{width:100%;min-height:43px;padding:9px 12px;border:1px solid #4a243d40;border-radius:5px;background:var(--party-paper);color:var(--party-ink);font:.84rem system-ui,sans-serif}.party-rule-note{margin:15px 0 22px;font-size:.76rem;line-height:1.6;opacity:.8}.party-pack-picker{min-width:0;padding:0;border:0;margin:0}.party-pack-picker legend{padding:0;font:400 1.2rem/1.3 Georgia,serif}.party-pack-picker>p{font-size:.78rem;line-height:1.5}.party-pack-list{display:grid;gap:9px}.party-pack{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #4a243d26;border-radius:6px;background:#fff8ea66;cursor:pointer}.party-pack.is-selected{border-color:#4a243d66;background:#fff8ea}.party-pack input{flex:0 0 auto;width:19px;height:19px;margin:2px 0 0;accent-color:var(--party-cherry)}.party-pack-title{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.85rem;font-weight:650}.party-audience{display:inline-block;border:1px solid #4a243d33;padding:2px 5px;border-radius:3px;font:.58rem/1.3 Courier New,monospace;text-transform:uppercase;letter-spacing:.04em}.party-audience.adult{background:var(--party-cherry);color:var(--party-paper)}.party-pack-description{display:block;margin-top:5px;font-size:.77rem;line-height:1.5}.party-pack-counts{display:block;margin-top:7px;font-size:.67rem;line-height:1.45;opacity:.7}.party-rules-summary{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0;list-style:none}.party-rules-summary li{padding:4px 7px;border:1px solid currentColor;border-radius:3px;font:.66rem/1.4 system-ui,sans-serif;opacity:.8}@media(max-width:520px){.party-masthead{gap:10px}.party-masthead .party-kicker{font-size:.65rem;letter-spacing:.04em}.party-status{align-items:flex-start}.party-status-actions{flex-direction:column-reverse}.party-hand{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.party-table .party-hand .party-answer{padding:12px;min-height:185px}.party-table .party-hand .party-answer.is-picked{padding:11px}.party-answer-text{font-size:.94rem}.party-answer-top{font-size:.65rem}.party-section-title{align-items:flex-start}.party-prompt-footer{flex-wrap:wrap}.party-confirm{padding:15px}.party-round strong{font-size:2.1rem}}@media(prefers-reduced-motion:reduce){.party-table button.party-answer{transition:none}}@media(prefers-color-scheme:dark){.party-table .party-point-receipt{color:#ffe18d}.party-table{background:#292127;border-color:#765769;color:#f2e8d8}.party-table .party-masthead h2,.party-table .party-section-title h3{color:#f2e8d8}.party-table .party-masthead{border-color:#bd91a7}.party-players li{background:#3b2b36;border-color:#765769}.party-players li.is-judge{background:#6f3a56}.party-table .party-status .party-button.quiet,.party-table .party-entry>.party-button.quiet{color:#fff8ea;border-color:#a88296}.party-entry,.party-next{border-color:#765769}.party-entry.is-chosen{border-color:#dfbe52}.party-entry.is-winner{background:#514329;border-color:#dfbe52}.party-seal{border-color:#bd91a7}.party-confirm{color:#32232c}.party-rules{color:inherit}}.party-table{min-height:calc(100dvh - 120px);padding:clamp(14px,2vw,28px);border-radius:0}.party-table .party-status{padding:0 0 12px}.party-round-inline{white-space:nowrap;font:12px/1.4 Courier New,monospace}.party-round-inline strong{font-size:18px}.party-table .party-players{margin-bottom:18px;gap:6px}.party-table .party-players li{padding:12px 14px;min-width:155px;flex:1 1 155px;font-size:15px;gap:5px 14px}.party-table .party-player-name{font-weight:650}.party-table .party-player-name small{font-size:12px;opacity:1}.party-table .party-players li>strong{grid-column:2;grid-row:1 / 3;align-self:center;text-align:center;font-size:28px;line-height:1}.party-table .party-score-unit{display:block;margin-top:5px;font-size:11px;font-weight:500}.party-table .party-player-state{grid-column:1;font-size:12px;opacity:1}.party-info-trigger{min-height:44px;padding:9px 0;border:0;background:transparent;color:inherit;font-size:13px;text-align:left;text-decoration:underline;text-underline-offset:4px}.party-table dialog.party-info-dialog{color:var(--party-ink);background:var(--party-paper);line-height:1.6}.party-info-content header{display:flex;align-items:center;justify-content:space-between;gap:20px}.party-info-content h3{margin:0}.party-playing-area{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,2.2fr);align-items:start;gap:clamp(22px,3vw,48px)}.party-prompt-column{min-width:0;position:sticky;top:20px}.party-table .party-prompt{padding:clamp(20px,2.2vw,34px);box-shadow:4px 4px 0 var(--party-mustard),0 18px 30px #2014232b}.party-table .party-prompt h3{font-size:clamp(24px,2.2vw,38px);margin:26px 0}.party-table .party-prompt-footer{flex-wrap:wrap}.party-table .party-event-log{margin-top:16px;border-bottom:0}.party-table .party-event-log summary,.party-table .party-clock-help summary{padding:8px 0;cursor:pointer}.party-answer-field{min-width:0}.party-answer-field>.party-section-title,.party-answer-field>.party-entries>.party-section-title{margin-top:0}.party-table .party-hand{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:18px 14px;padding:8px 3px 18px;margin:12px -3px 0}.party-table .party-hand .party-answer{min-height:210px;box-shadow:0 5px #4a243d20,0 14px 24px #20142326;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;animation:party-deal-card .45s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:calc(var(--deal-order, 0) * 40ms)}.party-table .party-hand button.party-answer:not(:disabled):hover,.party-table .party-hand button.party-answer:focus-visible{transform:translateY(-14px) rotate(-.6deg);box-shadow:0 6px #4a243d20,0 20px 30px #20142338}.party-table .party-hand button.party-answer.is-picked{transform:translateY(-10px);box-shadow:0 4px 0 var(--party-cherry),0 18px 26px #20142330}.party-table .party-hand button.party-answer.is-picked:hover,.party-table .party-hand button.party-answer.is-picked:focus-visible{transform:translateY(-16px) rotate(-.6deg)}.party-table .party-hand-dock,.party-table .party-gallery-dock{top:8px;margin-top:10px}.party-table .party-entry-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.party-table .party-entry .party-answer{box-shadow:0 8px 16px #20142324}.party-table .party-result{margin-top:0}@keyframes party-deal-card{0%{opacity:0;transform:translateY(28px) rotate(3deg)}to{opacity:1;transform:translateY(0) rotate(0)}}@media(max-width:900px){.party-playing-area{grid-template-columns:1fr;gap:24px}.party-prompt-column{position:static}.party-table .party-prompt h3{font-size:clamp(23px,4vw,34px);margin:18px 0}.party-table .party-event-log{margin-top:8px;padding:0}.party-table .party-prompt{padding:20px}}@media(max-width:520px){.party-table .party-status{align-items:flex-start;gap:10px}.party-table .party-status-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;max-width:135px}.party-table .party-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.party-table .party-players li{min-width:0;padding:10px}.party-table .party-hand{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.party-table .party-hand .party-answer{min-height:190px}.party-table .party-hand button.party-answer:not(:disabled):hover{transform:none}}@media(prefers-reduced-motion:reduce){.party-table .party-hand .party-answer{animation:none;transition:none}}@media(min-width:1000px)and (max-height:950px){.party-table{padding:16px 16px 4px}.party-table .party-players{margin-bottom:12px}.party-table .party-players li{padding:9px 12px}.party-table .party-hand-dock{padding:8px 12px}.party-table .party-section-title{margin-block:8px}.party-table .party-hand-help{margin-block:6px}.party-table .party-hand{padding-bottom:6px}.party-table .party-hand-dock>div{display:flex;align-items:center;gap:16px}.party-table .party-hand-dock .party-info-trigger{min-height:36px;padding:6px 0}.party-table .party-hand{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.party-table .party-hand .party-answer{min-height:clamp(155px,calc((100dvh - 430px)/2),210px);padding:14px}.party-table .party-hand .party-answer-text{font-size:17px;margin-block:12px}}.four-table,.fleet-table{min-height:calc(100dvh - 120px);padding:clamp(12px,1.7vw,26px);border-radius:0}.four-table .duel-status,.fleet-table .duel-status{border-top:0;padding-top:0;padding-bottom:10px;margin-bottom:14px}.four-table .duel-status.duel-finished,.fleet-table .duel-status.duel-finished{border:2px solid currentColor;padding:16px 20px;overflow:visible}.four-table .four-board-wrap{--four-board-padding: clamp(10px, 2vw, 20px);--four-gap: clamp(6px, 1.5vw, 13px)}.four-table .four-board{position:relative;padding:var(--four-board-padding)}.four-column-targets{position:absolute;inset:var(--four-board-padding);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;z-index:3}.four-table .four-column-targets button{padding:0;background:transparent!important;border:0!important;border-radius:100px;opacity:1;touch-action:manipulation}.four-table .four-column-targets button:hover:enabled{background:#ffffff16!important;box-shadow:inset 0 0 0 2px #fff5;filter:none}.four-table .four-column-targets button:disabled{cursor:default;background:transparent!important;box-shadow:none!important;filter:none!important}.four-table .four-drops[hidden]{display:none}.four-winning-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:4}.four-winning-lines line{stroke-linecap:round}.four-winning-line-shadow{stroke:#172b52b3;stroke-width:13px}.four-winning-line{stroke:#fffbe6;stroke-width:6px}.four-line-arrive .four-winning-line{stroke-dasharray:1;animation:four-connect-line .5s .3s ease-out backwards}@keyframes four-connect-line{0%{stroke-dashoffset:1}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.four-line-arrive .four-winning-line{animation:none}}.four-table .duel-help,.fleet-table .duel-help{margin-top:12px}.four-table .four-board-wrap{width:min(100%,max(440px,calc((100dvh - 330px)*1.16)));max-width:1100px}.four-table .four-players{max-width:none}.four-table .four-player{grid-template-columns:40px 1fr;font-size:17px}.four-table .four-player>span{font-size:38px}.four-table .four-player small{font-size:13px;line-height:1.5}.four-turn-label{grid-column:2;font-size:12px;margin-top:6px}.duel-info{margin-block:8px}.duel-info>button{min-height:44px;padding:10px 14px}.duel-info-dialog header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.duel-info-dialog h3{margin:0}.duel-info-dialog table{width:100%;text-align:center;border-spacing:8px}.duel-info-dialog li{margin-block:12px}.duel-info-dialog .craft-key-mark{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-right:10px;border:1px solid currentColor}.fleet-table .duel-info-dialog{color:#ecf2ff;background:#152237;border-color:#526b8f}.four-table .four-drops{gap:var(--four-gap);padding-inline:calc(var(--four-board-padding) + 2px)}.four-table .four-drops button{min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;text-align:center}.fleet-table .fleet-roster{margin-bottom:14px;gap:12px}.fleet-table .fleet-roster>div{padding:12px 16px;font-size:17px}.fleet-table .fleet-roster span{margin-top:4px;font-size:14px;line-height:1.5}.fleet-table .fleet-roster small{font-size:12px}.fleet-craft-count{font-size:28px;color:#f0f5ff;vertical-align:baseline}.fleet-play-area{min-width:0}.fleet-table .fleet-map{position:relative}.fleet-vessels{position:absolute;inset:0 0 0 21px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:repeat(10,minmax(0,1fr));gap:3px;pointer-events:none;z-index:1}.fleet-vessel{min-width:0;min-height:0;filter:drop-shadow(0 2px 3px #040916)}.fleet-vessel svg{display:block;width:100%;height:100%;overflow:visible}.fleet-vessel.is-sunk{filter:grayscale(.35) brightness(.95)}.fleet-wreck-piece{transform-box:fill-box;transform-origin:center;transform:translate(var(--wreck-x),var(--wreck-y)) rotate(var(--wreck-angle));opacity:.8}.fleet-wreck-piece.piece-0{--wreck-x: -20px;--wreck-y: -18px;--wreck-angle: -15deg}.fleet-wreck-piece.piece-1{--wreck-x: 0px;--wreck-y: 18px;--wreck-angle: 9deg}.fleet-wreck-piece.piece-2{--wreck-x: 20px;--wreck-y: -15px;--wreck-angle: 16deg}.fleet-vessel.is-breaking .fleet-wreck-piece{animation:fleet-break-apart 1.1s cubic-bezier(.2,.7,.2,1) both}.fleet-impact-fire{position:absolute;inset:2% 18% 8%;display:block;z-index:3;pointer-events:none;transform-origin:center bottom;filter:drop-shadow(0 0 5px #ff762f);animation:fleet-fire-flicker .78s ease-in-out infinite alternate}.fleet-impact-fire svg{width:100%;height:100%;overflow:visible}.fleet-impact-fire.is-ember{inset:62% 68% 4% 7%;filter:drop-shadow(0 0 2px #ff762f)}.fleet-table .fleet-map .fleet-cell.wreck-cell:is(.shot-hit,.shot-sunk){background:transparent;border-color:#b97d58}.fleet-table .fleet-map .fleet-cell.shot-hit,.fleet-table .fleet-map .fleet-cell.shot-sunk{background:#772f2424;border-color:#ff9a5c;position:relative}@keyframes fleet-fire-flicker{0%{transform:scale(.9,.94) rotate(-3deg);opacity:.88}to{transform:scale(1.06,1.04) rotate(3deg);opacity:1}}@keyframes fleet-break-apart{0%{transform:translate(0) rotate(0);opacity:1}to{transform:translate(var(--wreck-x),var(--wreck-y)) rotate(var(--wreck-angle));opacity:.8}}@media(prefers-reduced-motion:reduce){.fleet-vessel.is-breaking .fleet-wreck-piece,.fleet-impact-fire{animation:none}}.fleet-map:has(.fleet-vessels) .fleet-map-row{position:relative;z-index:2}.fleet-table .fleet-map:has(.fleet-vessels) .fleet-cell.occupied:not(.shot-hit):not(.shot-sunk){background:transparent}.fleet-table .fleet-map:has(.fleet-vessels) .fleet-hull-letter{visibility:hidden}.fleet-picker-ship{width:100%;height:38px;object-fit:contain;margin-bottom:4px;filter:drop-shadow(0 2px 3px #040916)}.fleet-key-ship{width:96px;height:38px;object-fit:contain;vertical-align:middle;margin-right:12px}.fleet-table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.fleet-table-footer .duel-info{flex-shrink:0}.fleet-table-footer .duel-help{margin:0;font-size:12px}.fleet-table .fleet-craft-legend summary{cursor:pointer;min-height:24px;font-size:13px;font-weight:700}.fleet-table .fleet-craft-legend[open] summary{margin-bottom:12px}.fleet-table .fleet-boards{gap:clamp(20px,4vw,64px)}.fleet-table .fleet-deployment-boards{grid-template-columns:minmax(0,1fr)}.fleet-table .fleet-grid-panel h3{margin-top:0}.fleet-table .fleet-last-shot{padding:9px 14px;margin:0 0 14px}.fleet-table .fleet-shot-key{margin-top:6px}.fleet-table .fleet-log summary,.four-table .four-board-details summary{min-height:44px;padding-block:12px}@media(min-width:1050px){.fleet-table{height:calc(100dvh - 120px);min-height:0;display:grid;grid-template-columns:200px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;column-gap:22px;padding:12px 16px}.fleet-table>.duel-status{grid-column:1 / -1;margin-bottom:10px}.fleet-status-rail{grid-column:1;grid-row:2;min-height:0}.fleet-table .fleet-roster{flex-direction:column;gap:8px}.fleet-table .fleet-roster>div{padding:8px 10px}.fleet-table .fleet-roster span{line-height:1.3;margin-top:2px}.fleet-table .fleet-roster small{margin-top:3px}.fleet-table .fleet-last-shot{padding:8px 10px;font-size:12px;gap:8px;margin-bottom:10px}.fleet-table .fleet-last-shot .fleet-shot-mark{width:24px;min-width:24px;font-size:24px}.fleet-table .fleet-last-shot strong,.fleet-table .fleet-sunk-label{font-size:12px;line-height:1.4}.fleet-table .fleet-play-area{grid-column:2;grid-row:2;min-height:0}.fleet-table-footer{grid-column:1 / -1;margin-top:8px}.fleet-status-rail .fleet-table-footer{flex-direction:column;align-items:stretch;gap:8px;margin-top:10px}.fleet-status-rail .fleet-table-footer .fleet-shot-key{display:flex;margin:8px 0 0}.fleet-table .fleet-shot-key{display:inline-flex;margin:0 0 0 10px;font-size:12px}.fleet-table .fleet-grid-panel h3{margin-bottom:8px}.fleet-table:has(.fleet-arranging){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto}.fleet-table:has(.fleet-arranging) .fleet-status-rail{grid-column:1;grid-row:2}.fleet-table:has(.fleet-arranging) .fleet-roster{flex-direction:row;gap:16px;margin-bottom:10px}.fleet-table:has(.fleet-arranging) .fleet-roster>div{padding:6px 12px}.fleet-table:has(.fleet-arranging) .fleet-roster span{display:inline;margin-left:12px;font-size:12px}.fleet-table:has(.fleet-arranging) .fleet-play-area{grid-column:1;grid-row:3}.four-table{height:calc(100dvh - 120px);min-height:0;padding:12px 16px;display:grid;grid-template-columns:minmax(175px,1fr) minmax(0,3.8fr) minmax(175px,1fr);grid-template-rows:auto auto minmax(0,1fr);align-content:stretch;column-gap:clamp(16px,2.5vw,44px)}.four-table>.duel-status{grid-column:1 / -1}.four-table .four-players{display:contents}.four-table .four-player{grid-row:2;align-self:start;padding:16px 12px}.four-table .four-player.player-0{grid-column:1}.four-table .four-player.player-1{grid-column:3}.four-table .four-board-wrap{grid-row:2 / span 2;grid-column:2;align-self:center;width:min(100%,calc((100dvh - 285px)*1.16))}.four-table:has(.duel-finished) .four-board-wrap{width:min(100%,calc((100dvh - 265px)*1.16))}.four-table-tools{grid-row:3;grid-column:1;align-self:start;min-width:0;font-size:12px}.four-table-tools .duel-recent{padding:8px 10px;margin-top:12px;font-size:12px}.four-table-tools .duel-help,.four-table-tools .four-result-detail{font-size:12px;text-align:left;line-height:1.5}.four-table>:is(.duel-recent,.duel-help,.four-result-detail,.duel-info){grid-column:1 / -1}.four-table>.duel-recent{margin-top:12px}.fleet-arranging{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.6fr);gap:28px;align-items:start}.fleet-arranging .fleet-placement{margin:0}.fleet-arranging .fleet-ship-picker{grid-template-columns:repeat(3,minmax(0,1fr));margin:8px 0;gap:6px}.fleet-arranging .fleet-tools{flex-direction:row;flex-wrap:wrap;gap:6px;margin:8px 0}.fleet-arranging .fleet-tools button{padding:8px 10px}.fleet-arranging .fleet-placement>p{font-size:12px;margin:8px 0}.fleet-arranging .fleet-ship-picker button{padding:7px;font-size:12px}.fleet-arranging .fleet-deployment-boards{grid-column:2;grid-row:1;width:min(100%,calc(100dvh - 380px));justify-self:center}.fleet-arranging .fleet-action-error{grid-column:1 / -1}.fleet-arranging .fleet-aim-controls{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:10px;margin:6px 0 12px;align-items:center}.fleet-arranging .fleet-preview-tools{display:contents}.fleet-arranging .fleet-aim-controls p{grid-column:1 / -1;grid-row:2;min-height:0;margin:0}.fleet-arranging .fleet-aim-controls>button{grid-column:3;grid-row:1}.fleet-arranging .fleet-aim-controls button{margin:0;padding:8px}.fleet-table .fleet-battle-boards,.fleet-table .fleet-play-area>.fleet-boards:not(.fleet-deployment-boards){width:min(100%,calc((100dvh - 315px)*2 + 32px));margin-inline:auto;column-gap:32px;row-gap:0}.fleet-table .fleet-fire-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.fleet-table .fleet-fire-controls p{min-height:0;margin:0}.fleet-table .fleet-fire-controls button{margin:0;flex-shrink:0}}@media(max-width:600px){.four-table .four-players{gap:8px;margin-bottom:14px}.four-table .four-player{padding:9px 7px;grid-template-columns:28px 1fr;gap:4px}.four-table .four-player>span{font-size:28px}.four-table .four-board-wrap{width:100%}.fleet-table .fleet-roster{gap:8px}.fleet-table .fleet-roster>div{padding:8px}}@media(max-width:430px){.four-table .four-board-wrap{--four-gap: 5px}.fleet-vessels{left:17px;gap:2px}.fleet-table-footer{flex-wrap:wrap;gap:4px}}.game-cover{display:block;position:relative;isolation:isolate;width:100%;height:100%;min-width:0;overflow:hidden;aspect-ratio:3 / 4;background:#172b3d}.game-cover>svg{display:block;width:100%;height:100%;overflow:hidden}.game-cover--bad-company{background:#ece1c8}.game-cover--last-light{background:#292e2a}.game-cover--compact{aspect-ratio:1}@media(prefers-reduced-motion:no-preference){.game-cover>svg{transition:transform .23s ease-out}:is(button,a):is(:hover,:focus-visible) .game-cover>svg{transform:scale(1.035)}}.room-plan{display:grid;grid-template-columns:minmax(0,1fr) 320px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:10px;overflow:clip}.room-plan-library{padding:22px;min-width:0}.room-plan-library-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.room-plan-library-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.4px}.room-plan-library-heading p{color:var(--muted);font-size:13px;margin-top:6px}.room-plan-library-heading button{font-size:12px;flex-shrink:0}.party-game-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.party-game-card{min-width:0}.party-game-cover-button{display:block;position:relative;width:100%;padding:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--wash);box-shadow:0 5px 13px #0002;transition:transform .16s,box-shadow .16s}.party-game-cover-button .game-cover{height:auto}.party-game-cover-button:not(:disabled):hover{transform:translateY(-4px);box-shadow:0 9px 19px #0003}.party-game-cover-button:focus-visible{outline:3px solid var(--teal);outline-offset:4px}.party-game-card.unavailable .game-cover{filter:saturate(.4);opacity:.66}.party-game-add,.party-game-queued{position:absolute;display:grid;place-items:center;color:#fff;background:#132e36e8;box-shadow:0 2px 6px #0004;font:650 13px Segoe UI,sans-serif}.party-game-add{right:7px;bottom:7px;height:28px;width:28px;border-radius:50%;font-size:23px;line-height:1}.party-game-queued{top:7px;left:7px;min-height:25px;min-width:25px;padding:3px 7px;border-radius:4px;max-width:calc(100% - 14px)}.party-game-caption{padding-top:10px}.party-game-caption strong{display:block;font-size:14px;line-height:1.3}.party-game-caption small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.party-game-caption p{font-size:11px;line-height:1.5;margin-top:8px;color:var(--muted)}.party-game-card.available .party-game-caption p{color:var(--teal)}.room-plan-help{color:var(--muted);font-size:12px;line-height:1.6;margin-top:18px}.room-plan-queue{padding:20px 16px;border-left:1px solid var(--line);background:var(--wash);min-width:0}.room-plan-queue-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}.room-plan-queue-heading h3{font-size:20px}.room-plan-queue-heading>span{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.room-plan-list{margin:0;padding:0;list-style:none;display:grid;gap:9px}.room-plan-list>li{position:relative;display:flex;align-items:flex-start;gap:10px;padding:10px;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:7px;transition:box-shadow .12s,border-color .12s}.room-plan-list>li.is-dragging{box-shadow:0 5px 15px #0002;opacity:.7}.room-plan-list>li.is-drop-target{border-color:var(--teal);box-shadow:0 -3px 0 var(--teal)}.room-plan-current{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--line);border-radius:7px;background:var(--paper)}.room-plan-list>.room-plan-setting-up{border-color:var(--teal);box-shadow:inset 3px 0 0 var(--teal)}.room-plan-playing{margin-bottom:18px}.room-plan-current-label{color:var(--teal);font-size:11px;font-weight:750;line-height:1.4}.room-plan-mini-cover{position:relative;flex:0 0 42px;width:42px;height:56px;border-radius:3px;overflow:hidden}.room-plan-position{position:absolute;top:0;left:0;display:grid;place-items:center;width:21px;height:23px;background:#132e36f2;color:#fff;border-radius:0 0 4px;font:700 12px Segoe UI,sans-serif;font-variant-numeric:tabular-nums}.room-plan-entry{min-width:0;flex:1;display:grid;gap:5px}.room-plan-entry>strong{font-size:12px;line-height:1.4}.room-plan-entry>small{font-size:11px;color:var(--muted);line-height:1.4}.room-plan-entry select{min-width:0;width:100%;padding:6px;font-size:11px}.room-plan-row-actions{display:flex;flex-wrap:wrap;gap:3px;margin-left:-4px}.room-plan-row-actions button{padding:4px;min-height:30px;border-color:transparent;background:transparent;font-size:11px}.room-plan-row-actions button:not(:disabled):hover{border-color:var(--line);background:var(--wash)}.room-plan-drag{flex:0 0 26px;display:grid;place-items:center;padding:0;width:26px;min-height:44px;border:0;background:transparent;color:var(--muted);touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}.room-plan-drag:active{cursor:grabbing}.room-plan-empty{display:flex;align-items:center;gap:12px;padding:18px 10px;min-height:110px;border:1px dashed var(--line);border-radius:7px}.room-plan-empty>span{display:grid;place-items:center;flex:0 0 37px;height:50px;border:1px dashed var(--line);border-radius:3px;color:var(--muted);font-size:18px}.room-plan-empty p{font-size:12px;color:var(--muted);line-height:1.7}.room-plan-advance{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.room-plan-advance button{width:100%;min-height:42px;font-size:13px}.room-plan-advance p{font-size:12px;line-height:1.6;color:var(--muted);margin-top:10px}.room-plan-error,.room-plan-notice{grid-column:1 / -1;font-size:12px;line-height:1.5}.room-plan-error{padding:12px 22px;color:#ac392c}[data-theme=dark] .room-plan-error{color:#ffb7a8}.room-plan-notice{color:var(--teal)}.room-plan-notice:not(:empty){padding:10px 22px;border-top:1px solid var(--line)}.waiting-party{margin:18px 0;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}.waiting-party h2{font-size:23px}.waiting-party>p{font-size:13px;color:var(--muted)}.waiting-party-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.waiting-party-list>div{display:flex;gap:8px;align-items:center;padding:7px 10px;border:1px solid var(--line);border-radius:6px;font-size:13px}.waiting-party-list button{padding:5px 9px}.party-default-bot{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.party-default-bot small{font-size:11px;color:var(--muted)}.gathering-guide ol{padding-left:20px;display:grid;gap:22px;margin:24px 0 8px}.gathering-guide li{padding-left:5px;color:var(--muted);font-size:14px;line-height:1.7}.gathering-guide li strong{color:var(--ink);display:block}.room-workshop>.section-heading{margin-block:24px}@media(max-width:1150px){.party-game-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.room-plan{grid-template-columns:minmax(0,1fr)}.room-plan-queue{border-left:0;border-top:1px solid var(--line)}.party-game-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.room-plan-list{grid-template-columns:repeat(2,minmax(0,1fr))}.room-plan-row-actions button{min-height:40px;padding:5px 7px}}@media(max-width:560px){.room-plan-library{padding:16px}.room-plan-library-heading{align-items:flex-start;flex-wrap:wrap}.party-game-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 13px}.room-plan-list{grid-template-columns:minmax(0,1fr)}.room-plan-row-actions button{min-height:44px;padding:5px 9px}.room-plan-drag{flex-basis:36px;min-height:48px}}@media(prefers-reduced-motion:reduce){.party-game-cover-button,.room-plan-list>li{transition:none}}.workshop>.section-heading{align-items:flex-start}.workshop h2{font-size:31px;margin:5px 0 8px}.deck-draft-status{font-size:13px;line-height:1.5;padding:12px 15px;border:1px solid #95627d55;border-radius:7px;margin:14px 0}.deck-library-item .deck-draft-badge{color:#77445f;font-size:12px;font-weight:650}.deck-description{display:grid;gap:7px;margin:14px 0}.deck-description textarea{width:100%}.file-button{position:relative;background:var(--paper);border:1px solid var(--line);padding:11px 16px;border-radius:8px;font-size:13px;cursor:pointer;white-space:nowrap;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-button:focus-within{outline:3px solid #c89540;outline-offset:3px}.workshop-grid{min-width:0;padding:0;margin:0;border:0;display:grid;grid-template-columns:255px minmax(0,1fr);gap:22px;align-items:start}.file-button:has(input:disabled){opacity:.55;cursor:wait}.deck-library{padding:21px;position:sticky;top:20px}.deck-library h3{margin-bottom:10px}.deck-library-item{display:grid;text-align:left;width:100%;padding:15px 12px;gap:7px;margin-top:12px;font-weight:400}.deck-library-item strong{font:18px Georgia,serif}.deck-library-item span{font-size:11px;color:var(--muted)}.deck-library-item small{font-size:10px;color:var(--muted)}.deck-library-item.selected{border-color:#95627d;box-shadow:inset 3px 0 #95627d}.deck-format-help{margin-top:20px}.deck-format-help p{font-size:12px;color:var(--muted);margin-bottom:12px;overflow-wrap:anywhere}.deck-format-help code{font-size:11px}.deck-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.deck-editor-heading h3{font-size:25px}.deck-editor-heading .segmented{margin:0}.deck-editor-heading .segmented button{font-size:12px;padding:7px 10px}.deck-metadata{display:grid;grid-template-columns:2fr 2fr .7fr 1fr;gap:10px;margin-bottom:18px}.deck-metadata label{font-size:11px}.deck-metadata input,.deck-metadata select{width:100%;font-size:12px;padding:9px}.deck-edit-actions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:15px}.deck-edit-actions button{font-size:11px;padding:9px 12px}.deck-edit-actions .primary{margin-left:auto}.json-label{font-size:12px}.json-label textarea{font:12px/1.6 Consolas,monospace;width:100%;resize:vertical;min-height:260px;padding:15px;tab-size:2}.deck-card-editors>details{border-top:1px solid var(--line)}.deck-card-scroll{max-height:310px;overflow-y:auto;padding-right:8px;overscroll-behavior:contain}.deck-edit-row{display:grid;grid-template-columns:20px minmax(0,1fr) 48px 26px;gap:8px;align-items:center;margin:9px 0}.deck-edit-row.response-edit{grid-template-columns:20px minmax(0,1fr) 26px}.edit-row-index{font-size:10px;color:var(--muted)}.deck-edit-row textarea{font-size:12px;line-height:1.5;resize:vertical;width:100%;min-height:58px}.deck-edit-row label{font-size:9px;gap:3px}.deck-edit-row select{padding:6px;font-size:11px}.deck-edit-row button{padding:5px;border:0;background:transparent;font-size:18px;color:var(--muted)}.deck-editor-area>.panel>.fine-print{margin-top:16px}.deck-preview{padding:24px;background:var(--wash);border-radius:12px;margin-top:20px}.deck-preview .section-heading{margin-bottom:16px}.deck-preview button{font-size:11px}.preview-prompt{background:#49263c;color:#fff8ea;border-radius:10px;padding:26px;box-shadow:0 7px #321d2b14}.preview-prompt>span{font-size:9px;letter-spacing:1.8px;display:flex;justify-content:space-between;color:#f0d272}.preview-prompt>p{font:24px/1.45 Georgia,serif;margin-top:17px;overflow-wrap:anywhere}.preview-responses{display:flex;gap:12px;margin:15px 0;flex-wrap:wrap}.preview-responses article{flex:1;min-width:170px;background:#fff8ea;color:#302c2e;border:1px solid #ded6c6;box-shadow:0 4px #d4cdbe;border-radius:8px;padding:20px}.preview-responses small{font-size:8px;letter-spacing:1.5px;color:#766c69}.preview-responses p{font:19px/1.4 Georgia,serif;margin-top:12px;overflow-wrap:anywhere}.party-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;align-items:center;position:relative;overflow:hidden;background:#452539;color:#fff8ea;border:1px solid #654252;border-radius:15px;padding:35px 44px;margin-top:22px}.party-feature h2{font:48px/1 Georgia,serif;letter-spacing:-1.6px;margin:12px 0 16px}.party-feature .eyebrow{color:#e9c85c}.party-feature p:not(.eyebrow){font-size:14px;color:#e5cfd9;max-width:360px}.party-feature .game-meta{color:#eedeca}.party-feature-art{position:relative;height:220px;display:flex;justify-content:center;align-items:center}.party-feature-card{width:180px;min-height:205px;background:#fff8ea;color:#392a32;border-radius:8px;padding:23px 20px;box-shadow:0 8px 25px #160b1955;transform:rotate(9deg);position:absolute;right:5px;top:15px;border:1px solid #e3cfb0}.party-feature-card:first-child{background:#252128;color:#fff8ea;transform:rotate(-11deg);right:135px;top:0}.party-feature-card small{font-size:7px;font-weight:750;letter-spacing:1.2px;display:block;border-bottom:1px solid #a3958750;padding-bottom:10px}.party-feature-card p{font:22px/1.4 Georgia,serif!important;color:inherit!important;margin-top:20px}.party-feature-card b{display:block;font-size:9px;margin-top:25px;color:#c4a749}.game-selection{margin-bottom:20px;padding:18px 22px;background:var(--paper);border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:18px}.game-selection label{font-size:12px;min-width:210px}.game-selection select{min-width:220px}.game-selection p{font-size:12px;max-width:390px;color:var(--muted)}.history-filter{display:flex;align-items:center;gap:13px}.history-filter>label:not(.inline-check){font-size:11px}.history-filter select{padding:7px;font-size:12px}@media(max-width:950px){.workshop-grid{grid-template-columns:210px minmax(0,1fr);gap:15px}.deck-library{padding:16px}.deck-editor-area>.panel{padding:20px}.deck-metadata{grid-template-columns:1fr 1fr}.party-feature{padding:30px;gap:15px}.party-feature h2{font-size:41px}.party-feature-art{transform:scale(.85);transform-origin:right center}}@media(max-width:700px){.workshop-grid{grid-template-columns:1fr}.deck-library{position:static}.deck-library-item{display:inline-grid;width:calc(50% - 6px);vertical-align:top;margin:10px 6px 0 0}.workshop h2{font-size:26px}.workshop>.section-heading{flex-direction:column;gap:15px}.deck-preview{padding:18px}.deck-preview .section-heading{gap:10px}.preview-prompt{padding:20px}.preview-prompt>p{font-size:23px}.preview-responses article{min-width:125px;padding:16px}.preview-responses p{font-size:18px}.deck-edit-row{gap:5px;grid-template-columns:14px minmax(0,1fr) 42px 22px}.deck-edit-row.response-edit{grid-template-columns:14px minmax(0,1fr) 22px}.deck-edit-actions .primary{margin-left:0}.deck-editor-heading h3{font-size:22px}.party-feature{grid-template-columns:1fr;padding:28px 25px;gap:20px}.party-feature-art{transform:scale(.85);transform-origin:center center;max-width:340px;width:100%;margin:auto;height:205px}.party-feature h2{font-size:43px}.game-selection{flex-direction:column;align-items:stretch;padding:17px}.game-selection select{width:100%;min-width:0}.history-filter{flex-wrap:wrap}.home-tabs{flex-wrap:wrap;gap:15px 20px}.home-tabs .shelf-note{display:none}}.catan-table{color-scheme:light;font-family:DM Sans,Segoe UI,sans-serif;color:#20363c;background:#f7f7ef;font-synthesis:none;font-weight:400;--navy: #143b51;--paper: #fff9ec;--line: #dbe1d7;--muted: #708084;--gold: #e9b95e;--sea: #b8d5df}.catan-table *{box-sizing:border-box}.catan-table{margin:0}.catan-table button,.catan-table input,.catan-table select{font:inherit}.catan-table button,.catan-table a,.catan-table input,.catan-table select,.catan-table summary{-webkit-tap-highlight-color:transparent}.catan-table button{cursor:pointer}.catan-table button:disabled{cursor:not-allowed;opacity:.4}.catan-table button{border:0}.catan-table button:focus-visible,.catan-table a:focus-visible,.catan-table input:focus-visible,.catan-table select:focus-visible,.catan-table summary:focus-visible,.catan-table svg [role=button]:focus-visible{outline:3px solid #d09122;outline-offset:4px}.catan-table a{color:inherit}.catan-table h1,.catan-table h2,.catan-table h3,.catan-table p{margin:0}.catan-table h1,.catan-table h2{font-family:Fraunces,Georgia,serif;font-weight:500}.catan-table h1{font-size:52px;letter-spacing:-2px;line-height:1.12}.catan-table h2{font-size:28px;letter-spacing:-.7px}.catan-table h3{font-size:16px;font-weight:700}.catan-table h4{font-size:12px;text-transform:uppercase;letter-spacing:1.2px;margin:24px 0 13px}.catan-table p{line-height:1.65}.catan-table label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600}.catan-table input,.catan-table select{width:100%;min-width:0;border:1px solid #cfd9d2;border-radius:8px;padding:12px 13px;background:#fffef7;color:#20363c;font-size:14px;min-height:44px}.catan-table input:disabled,.catan-table select:disabled{color:#718080;background:#eef0e8}.catan-table button{min-height:40px}.catan-table button.primary,.catan-table button.secondary,.catan-table button.quiet,.catan-table .file-button{border-radius:8px;padding:11px 17px;font-size:13px;font-weight:700;transition:background .15s,transform .15s}.catan-table .primary{background:var(--navy);color:#fff9ec}.catan-table .primary:hover:not(:disabled){background:#24566b;transform:translateY(-1px)}.catan-table .secondary{color:#254551;background:#e8ede5;border:1px solid #d3ded5!important}.catan-table .secondary:hover:not(:disabled){background:#dbe6dd}.catan-table .quiet{background:transparent;color:var(--navy)}.catan-table .quiet:hover{background:#e7eee7}.catan-table .large{min-height:50px;font-size:14px!important}.catan-table .text-button{background:none;padding:8px 0;color:#45606a;font-size:12px;text-decoration:underline;text-underline-offset:4px}.catan-table .button-row{display:flex;gap:9px;flex-wrap:wrap}.catan-table .full{width:100%}.catan-table .form-row{display:flex;gap:12px}.catan-table .form-row>label{flex:1;min-width:0}.catan-table .eyebrow{font-size:10px;font-weight:700;letter-spacing:2.1px;color:#637d82}.catan-table .fine-print{font-size:11px;line-height:1.65;color:var(--muted)}.catan-table .site-header{height:100px;max-width:1500px;padding:0 52px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.catan-table .brand{display:flex;gap:13px;align-items:center;text-decoration:none;font-family:Fraunces,Georgia,serif;font-size:25px;letter-spacing:-.6px}.catan-table .brand em{font-size:20px;font-weight:400;color:#8c9b83}.catan-table .brand small{display:block;font-family:DM Sans,sans-serif;font-size:8px;letter-spacing:2.7px;font-weight:700;margin-top:5px}.catan-table .brand-mark{display:grid;place-items:center;width:42px;height:46px;background:#143b51;color:#e9b95e;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);font-size:33px}.catan-table .header-right{display:flex;align-items:center;gap:20px}.catan-table .help-button{border:1px solid #cdd8cf;background:transparent;width:34px;min-height:34px;border-radius:50%;font-family:Georgia,serif;font-size:18px}.catan-table .connection{font-size:11px;color:#8c7668;display:flex;align-items:center;gap:6px}.catan-table .connection:before{content:"";width:6px;height:6px;background:#cb9672;border-radius:50%}.catan-table .connection.online{color:#64816b}.catan-table .connection.online:before{background:#6a996c}.catan-table .site-footer{max-width:1400px;border-top:1px solid var(--line);padding:23px 0;margin:36px auto 0;display:flex;align-items:center;justify-content:space-between;color:#7c8b88;font-size:11px}.catan-table .site-footer>span:first-child{font-size:9px;font-weight:700;letter-spacing:2px}.catan-table .welcome{max-width:1400px;margin:0 auto;padding:62px 42px 28px;display:grid;grid-template-columns:.9fr 1.2fr;gap:55px;align-items:center;min-height:calc(100vh - 192px)}.catan-table .welcome h1{font-size:clamp(44px,4.4vw,68px);margin:21px 0 23px;letter-spacing:-2.7px}.catan-table .welcome h1 em{font-weight:400;color:#4e796a}.catan-table .intro{max-width:340px;font-size:15px;color:#6e7e7d}.catan-table .four-dots{display:flex;align-items:center;gap:5px;margin:26px 0}.catan-table .four-dots>span{width:24px;height:24px;color:#fff;display:grid;place-items:center;border-radius:50%;font-size:10px;font-weight:700;border:2px solid #f7f7ef}.catan-table .four-dots p{font-size:10px;line-height:1.55;color:#7b8984;margin-left:10px}.catan-table .create-form{max-width:425px}.catan-table .create-form>.primary{width:100%;display:flex;justify-content:space-between;margin-top:15px}.catan-table .join-details{font-size:12px;color:#708080;margin-top:19px;max-width:425px}.catan-table .join-details summary{cursor:pointer}.catan-table .join-details form{display:flex;gap:9px;margin-top:10px}.catan-table .welcome-board{transform:rotate(-1deg)}.catan-table .board-caption{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.6px;color:#6b8489;padding:0 12px 14px}.catan-table .welcome-board .board{border:9px solid #ebeee1;box-shadow:0 20px 50px #143b5112;border-radius:40px}.catan-table .welcome-note{margin:23px 0 0 38px;display:flex;gap:18px;align-items:center;transform:rotate(1deg);color:#7a8b80}.catan-table .welcome-note p{font-size:12px;line-height:1.8}.catan-table .welcome-note strong{font-weight:500;color:#3e625d}.catan-table .note-star{color:#c39b50;font-size:29px}.catan-table .board{display:block;width:100%;height:auto;max-height:610px;border-radius:25px;-webkit-user-select:none;user-select:none;touch-action:manipulation}.catan-table .token{font-family:DM Sans,sans-serif;font-weight:700;font-size:19px;fill:#394742}.catan-table .token.red{fill:#b34d39}.catan-table .pips{font-size:6px;letter-spacing:1px;fill:#7a7865}.catan-table .port-label{font-size:9px;fill:#4b676b;font-family:DM Sans,sans-serif;font-weight:700}.catan-table .selectable{cursor:pointer}.catan-table .selectable:hover>polygon{stroke:#fff;stroke-width:6;filter:brightness(1.04)}.catan-table .selectable:hover>circle{fill:#e9b95e}.catan-table .selectable:hover>line:last-child{stroke:#e9b95e}.catan-table .tile{touch-action:manipulation}.catan-table .error-banner{max-width:1380px;margin:14px auto 0;padding:13px 18px;background:#f7e3d8;border:1px solid #deb3a1;color:#894633;border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.catan-table .error-banner button{background:none;font-size:22px;color:inherit;min-height:24px}.catan-table .toast{position:fixed;z-index:100;bottom:24px;left:50%;transform:translate(-50%);padding:14px 24px;background:#143b51;color:#fff;border-radius:10px;font-size:13px;box-shadow:0 8px 24px #143b512a;max-width:90vw;overflow-wrap:anywhere}.catan-table .page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.catan-table .page-heading h1{font-size:43px;margin:12px 0}.catan-table .page-heading p:not(.eyebrow){color:#7b8983;font-size:13px}.catan-table .lobby{max-width:1350px;margin:40px auto;padding:0 32px}.catan-table .room-code{padding:16px 22px;background:#e8ede4;border-radius:12px;font-size:9px;letter-spacing:2px;color:#7b8b81}.catan-table .room-code strong{display:block;margin-top:6px;font-family:monospace;font-size:19px;letter-spacing:1px;color:#3b5a56}.catan-table .lobby-grid{display:grid;grid-template-columns:1fr 290px;gap:35px}.catan-table .seats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.catan-table .seat-card{border:1px solid #d6e0d3;border-top:3px solid var(--player);border-radius:10px;padding:15px;background:#fffff8;min-height:180px}.catan-table .seat-card-top{display:flex;align-items:center;gap:7px;position:relative}.catan-table .seat-piece{color:var(--player);font-size:30px;line-height:1}.catan-table .seat-number{font-size:8px;letter-spacing:1.3px;color:#9ba69b}.catan-table .host-badge{font-size:7px;position:absolute;right:0;top:0;color:#829278}.catan-table .seat-card h3{margin:12px 0 6px}.catan-table .seat-card p{font-size:10px;color:#7c8a82}.catan-table .seat-controls{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}.catan-table .seat-controls select{padding:5px;font-size:11px;min-height:34px}.catan-table .seat-controls .secondary{font-size:10px;min-height:30px;padding:7px 12px}.catan-table .ready-tag{font-size:10px;color:#608569}.catan-table .waiting-tag{font-size:10px;color:#a08b62}.catan-table .lobby-board-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 14px}.catan-table .lobby-board-heading h2{font-size:23px}.catan-table .lobby-main .board{max-height:460px;background:var(--sea)}.catan-table .start-row{display:flex;gap:12px;margin:21px 0 11px}.catan-table .start-row>.primary{flex:1}.catan-table .settings-panel{border-left:1px solid #d8e0d5;padding-left:30px}.catan-table .settings-panel h2{font-size:23px;margin-bottom:24px}.catan-table .settings-form{display:flex;flex-direction:column;gap:17px}.catan-table .settings-form label{font-size:11px}.catan-table .settings-form input,.catan-table .settings-form select{font-size:12px;padding:10px}.catan-table .checkbox-label{flex-direction:row;align-items:center;font-weight:400;line-height:1.5}.catan-table .checkbox-label input{width:16px;min-height:16px;accent-color:#143b51;flex-shrink:0}.catan-table .table-rule{display:flex;align-items:center;gap:12px;border-top:1px solid #d8e0d5;margin-top:24px;padding-top:20px}.catan-table .table-rule>span{font-size:35px;color:#82977b}.catan-table .table-rule p{font-size:10px;color:#7a897e}.catan-table .history-row{width:100%;display:flex;justify-content:space-between;padding:10px 0;font-size:11px;background:none;border-bottom:1px solid #d8e0d5;color:#4e6e6b}.catan-table .recovery-button{margin-top:15px}.catan-table .map-notice{font-size:12px;background:#f2e7c9;padding:12px;border-radius:8px;margin-top:12px}.catan-table .invitation{max-width:850px;margin:80px auto;text-align:center;padding:0 25px;min-height:65vh}.catan-table .invitation h1{margin:18px 0}.catan-table .invitation>p{color:#76867f}.catan-table .name-entry{max-width:300px;text-align:left;margin:25px auto}.catan-table .invite-seats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:26px}.catan-table .invite-seats button{background:#fffef5;border:1px solid #d6e0d3;border-top:4px solid var(--player);border-radius:12px;padding:25px 10px;display:flex;flex-direction:column;align-items:center;gap:15px}.catan-table .invite-seats small{font-size:10px;color:#7e8a81}.catan-table .invite-seats .seat-piece{font-size:40px}.catan-table .invitation details{font-size:12px;margin:20px auto;max-width:370px}.catan-table .invitation details form{display:grid;gap:12px;margin-top:18px;text-align:left}.catan-table .game-page{max-width:1460px;margin:0 auto;padding:0 38px}.catan-table .game-topline{display:flex;justify-content:space-between;align-items:center;padding:18px 0 15px;font-size:9px;letter-spacing:1.4px;color:#7a8a86}.catan-table .game-topline>div{display:flex;gap:20px}.catan-table .game-topline .text-button{font-size:10px;min-height:20px;padding:0}.catan-table .player-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:25px}.catan-table .player-summary{position:relative;display:flex;align-items:center;gap:12px;padding:13px 16px;border:1px solid #dce3d9;border-radius:10px;background:#fffef8;min-width:0}.catan-table .player-summary.active{border-color:var(--player);box-shadow:inset 0 -3px var(--player)}.catan-table .player-avatar{flex-shrink:0;background:var(--player);color:#fff9ec;font-size:19px;font-family:Georgia,serif;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.catan-table .player-info{flex:1;min-width:0}.catan-table .player-info strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.catan-table .player-info strong small{font-size:9px;font-weight:400;color:#87938d;margin-left:3px}.catan-table .player-info>span{display:block;font-size:9px;color:#8a948d;margin-top:6px;white-space:nowrap}.catan-table .player-info .awards{font-size:8px;color:var(--player);margin-top:3px;min-height:9px}.catan-table .score{font-family:Fraunces,Georgia,serif;font-size:27px;text-align:center;line-height:1}.catan-table .score small{display:block;font:6px DM Sans,sans-serif;letter-spacing:1.3px;margin-top:5px;color:#96a094}.catan-table .game-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:30px}.catan-table .play-area{min-width:0}.catan-table .turn-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px}.catan-table .turn-heading h2{font-size:28px;margin-top:7px}.catan-table .turn-heading .eyebrow{font-size:9px}.catan-table .dice{display:flex;gap:5px}.catan-table .dice>span{font-family:Segoe UI Symbol,sans-serif;display:grid;place-items:center;background:#fffdf3;color:#344e56;border:1px solid #d5ded3;border-radius:9px;width:43px;height:43px;font-size:39px;line-height:1;box-shadow:0 3px #dce2d5}.catan-table .board-wrap{position:relative}.catan-table .board-wrap>.board{max-height:550px;background:var(--sea)}.catan-table .board-hint{position:absolute;bottom:11px;left:50%;transform:translate(-50%);background:#fffdf0ed;color:#456461;box-shadow:0 3px 10px #143b5110;padding:8px 15px;border-radius:20px;white-space:nowrap;font-size:11px;pointer-events:none}.catan-table .choosing{outline:2px solid #e4b25b;outline-offset:4px;border-radius:25px}.catan-table .confirm-bar{display:flex;align-items:center;gap:10px;background:#fff0c9;border:1px solid #e6cf92;border-radius:9px;padding:11px 16px;margin-top:14px;font-size:13px}.catan-table .confirm-bar>span{flex:1}.catan-table .paused-banner{background:#efe6c9;border:1px solid #dfd2a8;padding:13px 16px;border-radius:8px;font-size:12px;margin-bottom:17px}.catan-table .hand-area{margin-top:20px}.catan-table .hand-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.catan-table .hand-heading h3{font-size:13px}.catan-table .hand-heading>span{font-size:10px;color:#8b9489}.catan-table .resource-hand{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.catan-table .resource-card{display:grid;grid-template-columns:32px 1fr;align-items:center;position:relative;padding:14px 16px;border-radius:9px;background:#fffef8;border:1px solid #dbe1d5;border-bottom:3px solid var(--resource);gap:4px}.catan-table .resource-symbol{font-size:28px;color:var(--resource);grid-row:span 2}.catan-table .resource-card>strong{text-align:right;font-family:Fraunces,Georgia,serif;font-size:25px}.catan-table .resource-card>span:last-child{text-align:right;font-size:9px;color:#7d8c7f}.catan-table .action-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px}.catan-table .build-actions{display:flex;gap:7px;flex:1}.catan-table .build-button{flex:1;min-width:0;padding:9px 11px;background:#e8ede4;border:1px solid transparent;border-radius:8px;color:#36575a;text-align:left}.catan-table .build-button strong{display:block;font-size:11px}.catan-table .build-button small{font-size:10px;color:#859176;display:block;margin-top:4px;letter-spacing:2px}.catan-table .build-button.selected{background:#e9dfbd;border-color:#d2ae55}.catan-table .action-row>.primary{flex-shrink:0;font-size:12px}.catan-table .roll-button{width:100%;display:flex;justify-content:space-between}.catan-table .waiting-message{font-size:11px;color:#849082}.catan-table .dev-hand{display:flex;gap:9px;margin-top:15px;flex-wrap:wrap}.catan-table .dev-card{background:#e8ebdf;border:1px solid #d4dece;border-radius:8px;padding:10px 14px;text-align:left;min-width:105px}.catan-table .dev-card>span{font-size:23px;color:#779371}.catan-table .dev-card strong{display:block;font-size:10px;color:#506d58;margin:4px 0}.catan-table .dev-card small{font-size:8px;color:#89977e}.catan-table .dev-card.vp{background:#f3e9c5;opacity:1}.catan-table .activity-panel{border:1px solid #dce3d8;border-radius:13px;background:#fffef8;align-self:start;overflow:hidden;position:sticky;top:20px}.catan-table .tabs{display:flex;border-bottom:1px solid #dce3d8}.catan-table .tabs button{flex:1;background:none;padding:14px 5px;font-size:10px;color:#839182;border-bottom:2px solid transparent;position:relative}.catan-table .tabs button.current{color:#264f56;border-bottom-color:#264f56;font-weight:700}.catan-table .badge{display:inline-grid;place-items:center;width:15px;height:15px;background:#d18c54;color:#fff;border-radius:50%;margin-left:3px;font-size:8px}.catan-table .panel-heading{padding:23px 21px 18px}.catan-table .panel-heading h3{font-size:13px}.catan-table .panel-heading p{font-size:10px;color:#92a08f;margin-top:4px}.catan-table .event-log{max-height:490px;overflow:auto;padding:0 21px 15px}.catan-table .event{display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #edf0e5;padding:12px 0}.catan-table .event>span{font-family:monospace;font-size:9px;color:#b1bba7;padding-top:4px;min-width:17px}.catan-table .event p{font-size:11px;line-height:1.7;color:#6d7e71}.catan-table .event:first-child p{color:#355a57}.catan-table .bank-summary{background:#edf0e5;padding:15px 21px}.catan-table .bank-summary h4{margin:0 0 13px;font-size:9px}.catan-table .bank-summary>div{display:flex;justify-content:space-between;font-size:14px;color:#7b9176}.catan-table .bank-summary strong{color:#385950;font-size:11px}.catan-table .bank-summary small{font-size:9px;color:#86967e;display:block;margin-top:13px}.catan-table .timer{padding:14px 20px;font-size:11px;display:flex;justify-content:space-between;border-top:1px solid #dce3d8}.catan-table .timer strong{color:#b5773b}.catan-table .disconnect-controls{padding:14px 21px;font-size:10px;color:#91a08d}.catan-table .disconnect-controls p{font-size:10px;margin-top:10px}.catan-table .disconnect-controls .text-button{display:block}.catan-table .trade-panel,.catan-table .stats-panel{padding:21px}.catan-table .trade-panel>h3,.catan-table .stats-panel>h3{font-size:14px;margin-bottom:22px}.catan-table .trade-panel .form-row{gap:8px}.catan-table .trade-panel .secondary.full{font-size:10px;padding:12px 5px;margin-top:12px}.catan-table .trade-panel label,.catan-table .stats-panel label{font-size:10px}.catan-table .trade-panel select,.catan-table .stats-panel select{font-size:11px;padding:9px}.catan-table .trade-panel .fine-print{font-size:10px;margin-top:13px}.catan-table .trade-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:8px;align-items:center;margin:16px 0}.catan-table .trade-grid>span{font-size:9px;color:#90a087}.catan-table .trade-grid label{font-size:10px;font-weight:400}.catan-table .trade-grid input{font-size:12px;min-height:33px;padding:7px 5px}.catan-table .offer-card{background:#eff0df;border:1px solid #d9dfc8;padding:13px;border-radius:8px;margin:13px 0}.catan-table .offer-card>strong{font-size:10px}.catan-table .offer-card>p{font-size:10px;color:#76826b;margin:9px 0}.catan-table .offer-card button{font-size:9px;padding:8px 11px;min-height:31px}.catan-table .histogram{display:flex;align-items:flex-end;height:210px;gap:5px;padding:15px 0;margin-top:10px;border-bottom:1px solid #dce3d8}.catan-table .bar-column{display:flex;flex-direction:column;align-items:center;gap:7px;flex:1}.catan-table .bar-column>div{width:100%;border-radius:4px 4px 0 0}.catan-table .bar-column>span{font-size:8px;color:#8c9b86}.catan-table .bar-column>strong{font-size:9px;color:#6b806e}.catan-table .stats-panel>.fine-print{font-size:10px;margin-top:14px}.catan-table .stat-player{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0e5;font-size:10px}.catan-table .stat-player>span{font-size:9px;color:#82917b}.catan-table .chat-log{padding:0 21px;height:360px;overflow:auto}.catan-table .chat-log>p{font-size:12px;line-height:1.7;margin-bottom:16px}.catan-table .chat-log strong{display:block;font-size:10px;color:#819174}.catan-table .chat-log span{overflow-wrap:anywhere}.catan-table .empty-copy{color:#96a18c;font-size:11px!important}.catan-table .chat-form{display:flex;gap:6px;padding:16px}.catan-table .chat-form input{font-size:11px}.catan-table .chat-form button{padding:8px 14px}.catan-table .decision-box{margin:16px 0;padding:20px;background:#eeedda;border:1px solid #d5d9be;border-radius:10px}.catan-table .decision-box h3{font-size:13px;margin-bottom:16px}.catan-table .resource-pickers{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:17px}.catan-table .resource-pickers label{font-size:10px}.catan-table .resource-pickers label>div{display:flex;align-items:center;justify-content:space-between;border:1px solid #ced6bf;border-radius:7px;overflow:hidden;background:#fffdef}.catan-table .resource-pickers button{background:none;padding:5px 12px;color:#678565;min-height:36px}.catan-table .resource-pickers strong{font-size:13px}.catan-table .modal{max-width:850px;width:calc(100vw - 40px);max-height:90vh;overflow:auto;border:1px solid #d0dbcf;border-radius:18px;padding:28px;background:#f7f7ef;color:#20363c;box-shadow:0 20px 100px #143b5140}.catan-table .modal::backdrop{background:#143b5180;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.catan-table .modal-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.catan-table .modal-heading .quiet{font-size:28px}.catan-table .modal>p{font-size:13px;color:#6d8073;margin:14px 0}.catan-table .modal>h3{margin:24px 0 10px}.catan-table .rules-costs p{display:flex;justify-content:space-between;border-bottom:1px solid #dce3d8;padding:10px 0;font-size:12px}.catan-table .rules-costs strong{text-transform:capitalize}.catan-table .rules-costs span{color:#7a8c76}.catan-table .recovery-code{display:block;font-size:16px;background:#e7ede0;overflow-wrap:anywhere;padding:20px;border-radius:8px;margin:20px 0}.catan-table .winner-box{text-align:center;padding:30px;background:#f2ebcc;border:1px solid #e4d8a9;border-radius:12px;margin-top:20px}.catan-table .winner-box>span{font-size:40px;color:#b78b38}.catan-table .winner-box h2{margin:10px 0}.catan-table .winner-box p{font-size:13px;color:#8d865f}.catan-table .winner-box .button-row{justify-content:center;margin-top:20px}.catan-table .replay-controls{display:flex;align-items:center;gap:10px;background:#e7eddf;padding:16px;border-radius:10px;margin-top:18px}.catan-table .replay-controls label{flex:1;font-size:10px}.catan-table .replay-controls input{padding:0;min-height:25px;accent-color:#143b51}.catan-table .editor-layout{display:grid;grid-template-columns:1fr 210px;gap:23px;margin-top:20px}.catan-table .editor-layout .board{max-height:430px;touch-action:none}.catan-table .editor-layout label{margin:12px 0}.catan-table .editor-layout h3{margin-top:16px}.catan-table .editor-layout input,.catan-table .editor-layout select{font-size:12px;padding:9px}.catan-table .editor-ports{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.catan-table .editor-ports label{font-size:9px}.catan-table .editor-ports select{font-size:10px;min-height:35px;padding:6px}.catan-table .editor-ports>.form-row{align-items:center}.catan-table .file-button{display:inline-flex;justify-content:center;cursor:pointer;align-items:center}.catan-table .file-button input{display:none}.catan-table .editor-error{color:#ae5138!important}@media(min-width:1600px){.catan-table .welcome{padding-top:85px;padding-bottom:65px}.catan-table .welcome-board .board{max-height:700px}}@media(max-width:1100px){.catan-table .site-header{padding:0 28px;height:86px}.catan-table .welcome{padding:40px 30px;gap:30px;grid-template-columns:.9fr 1fr}.catan-table .welcome h1{font-size:49px}.catan-table .game-page{padding:0 24px}.catan-table .game-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.catan-table .player-summary{padding:12px 10px;gap:8px}.catan-table .player-avatar{width:27px;height:27px;font-size:16px}.catan-table .player-info strong{font-size:11px}.catan-table .player-info>span{font-size:8px}.catan-table .resource-card{padding:10px;grid-template-columns:22px 1fr}.catan-table .resource-symbol{font-size:21px}.catan-table .resource-card>strong{font-size:21px}.catan-table .build-button{padding:8px}.catan-table .build-button strong{font-size:10px}.catan-table .site-footer{margin:30px 25px 0}.catan-table .lobby-grid{grid-template-columns:1fr 250px;gap:22px}.catan-table .settings-panel{padding-left:22px}.catan-table .seat-card{padding:11px}.catan-table .seat-number{display:none}.catan-table .game-layout .board{max-height:470px}.catan-table .turn-heading h2{font-size:24px}}@media(max-width:800px){.catan-table .welcome{grid-template-columns:1fr;gap:38px;max-width:620px}.catan-table .welcome h1{font-size:58px}.catan-table .welcome-copy{padding:0 10px}.catan-table .welcome .intro{max-width:390px}.catan-table .welcome-board{grid-row:2}.catan-table .welcome-board .board{max-height:520px}.catan-table .welcome-note{margin-left:20px}.catan-table .create-form{max-width:none}.catan-table .lobby-grid{grid-template-columns:1fr}.catan-table .settings-panel{border-left:0;border-top:1px solid #d8e0d5;padding:25px 0 0}.catan-table .settings-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.catan-table .settings-panel .form-row{grid-column:span 2}.catan-table .lobby{padding:0 22px;margin:28px auto}.catan-table .page-heading h1{font-size:36px}.catan-table .room-code{padding:12px}.catan-table .game-layout{grid-template-columns:1fr}.catan-table .activity-panel{position:static}.catan-table .event-log{max-height:250px}.catan-table .player-strip{gap:7px}.catan-table .player-summary{display:grid;grid-template-columns:24px 1fr;gap:6px;padding:10px}.catan-table .player-info{grid-column:span 2;grid-row:2}.catan-table .score{grid-column:2;grid-row:1;text-align:right;font-size:23px;display:flex;align-items:center;gap:4px;justify-content:flex-end}.catan-table .score small{font-size:5px;letter-spacing:0}.catan-table .player-info>span{font-size:8px}.catan-table .game-layout .board{max-height:560px}.catan-table .action-row>.primary{font-size:11px}.catan-table .site-header{height:80px}.catan-table .header-right{gap:8px}.catan-table .connection{font-size:9px}.catan-table .header-right .quiet{font-size:11px;padding:8px}.catan-table .brand{font-size:21px}.catan-table .brand small{font-size:7px}.catan-table .brand-mark{width:33px;height:37px}.catan-table .site-footer>span:nth-child(2){display:none}.catan-table .invitation{margin-top:45px}.catan-table .invite-seats{gap:9px}.catan-table .invite-seats button{padding:20px 6px}.catan-table .invite-seats strong{font-size:11px}.catan-table .game-topline{font-size:8px;letter-spacing:.7px}.catan-table .game-topline>div{gap:12px}.catan-table .bank-summary>div{max-width:360px}.catan-table .chat-log{height:220px}.catan-table .editor-layout{grid-template-columns:1fr}.catan-table .editor-layout>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catan-table .editor-layout>div>h3{grid-column:span 2}.catan-table .editor-layout label{margin:5px 0}.catan-table .editor-layout>div .form-row{grid-column:span 2}.catan-table .stats-panel .histogram{max-width:450px}}@media(max-width:480px){.catan-table .site-header{padding:0 16px;height:74px}.catan-table .brand{font-size:19px;gap:9px}.catan-table .brand small{letter-spacing:2px;font-size:6px}.catan-table .connection{display:none}.catan-table .help-button{width:30px;min-height:30px}.catan-table .header-right .quiet{font-size:10px}.catan-table .welcome{padding:34px 18px;gap:28px}.catan-table .welcome h1{font-size:49px;letter-spacing:-2px}.catan-table .welcome .eyebrow{font-size:8px}.catan-table .intro{font-size:14px}.catan-table .welcome-copy{padding:0 3px}.catan-table .welcome .form-row{flex-direction:column;gap:13px}.catan-table .board-caption{font-size:7px;letter-spacing:1px}.catan-table .welcome-board .board{border-width:5px;border-radius:25px}.catan-table .welcome-note p{font-size:11px}.catan-table .page-heading{gap:15px}.catan-table .page-heading .eyebrow{font-size:8px;letter-spacing:1px}.catan-table .page-heading h1{font-size:30px;letter-spacing:-1px}.catan-table .page-heading p:not(.eyebrow){font-size:11px}.catan-table .room-code{font-size:7px;padding:10px}.catan-table .room-code strong{font-size:12px}.catan-table .seats-grid{grid-template-columns:1fr 1fr}.catan-table .seat-card{min-height:153px}.catan-table .seat-number{display:block}.catan-table .start-row{flex-direction:column}.catan-table .game-page{padding:0 12px}.catan-table .game-topline{font-size:7px;letter-spacing:.4px;gap:8px;flex-wrap:wrap}.catan-table .game-topline .text-button{font-size:8px}.catan-table .player-summary{padding:8px 6px;gap:4px}.catan-table .player-avatar{width:23px;height:23px;font-size:12px}.catan-table .player-info strong{font-size:10px}.catan-table .player-info>span{font-size:7px;white-space:normal;line-height:1.5}.catan-table .player-info .awards{font-size:7px}.catan-table .score{font-size:21px}.catan-table .score small{display:none}.catan-table .player-strip{margin-bottom:20px;gap:5px}.catan-table .turn-heading h2{font-size:23px;letter-spacing:-.6px;max-width:250px}.catan-table .turn-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.catan-table .dice>span{width:31px;height:32px;font-size:29px}.catan-table .board-wrap .board{border-radius:16px}.catan-table .board-hint{font-size:9px;padding:7px 10px;bottom:5px}.catan-table .resource-hand{gap:6px}.catan-table .resource-card{padding:10px 7px;grid-template-columns:1fr;gap:5px;justify-items:center}.catan-table .resource-symbol{grid-row:auto;font-size:24px}.catan-table .resource-card>strong{font-size:25px}.catan-table .resource-card>span:last-child{font-size:8px}.catan-table .action-row{flex-wrap:wrap;gap:10px}.catan-table .build-actions{width:100%;flex-basis:100%;gap:5px}.catan-table .build-button{padding:10px 8px}.catan-table .build-button small{font-size:9px;letter-spacing:1px}.catan-table .action-row>.primary{width:100%;min-height:44px}.catan-table .hand-heading>span{font-size:9px}.catan-table .confirm-bar{gap:5px;padding:10px;font-size:10px}.catan-table .confirm-bar button{font-size:10px;padding:10px}.catan-table .resource-pickers{grid-template-columns:repeat(3,1fr)}.catan-table .decision-box{padding:15px}.catan-table .resource-pickers label>div button{padding:5px 9px}.catan-table .invite-seats{grid-template-columns:1fr 1fr}.catan-table .invitation h1{font-size:36px}.catan-table .modal{width:calc(100vw - 20px);padding:20px 16px}.catan-table .modal-heading h2{font-size:25px}.catan-table .modal>p{font-size:12px}.catan-table .rules-costs p{flex-direction:column;gap:6px}.catan-table .editor-ports{grid-template-columns:1fr}.catan-table .settings-form{gap:14px}.catan-table .settings-form>label{font-size:10px}.catan-table .settings-form select{font-size:11px;padding:9px 7px}.catan-table .replay-controls{flex-wrap:wrap;padding:12px}.catan-table .replay-controls>.primary{width:100%}.catan-table .winner-box{padding:22px 15px}.catan-table .winner-box h2{font-size:24px}.catan-table .site-footer{margin:25px 16px 0}.catan-table .error-banner{margin:10px 12px;font-size:12px}.catan-table .dev-card{min-width:95px;padding:9px 11px}}.catan-table .board-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:-5px 0 9px;font-size:10px;color:#83927f}.catan-table .board-tools>span{margin-right:auto}.catan-table .board-tools .quiet{padding:0;width:32px;min-height:32px;font-size:18px;border:1px solid #d8e0d3}.catan-table .board-tools .text-button{min-height:30px;font-size:10px}.catan-table .board-scroll{overflow:auto;max-height:550px;border-radius:25px;overscroll-behavior:contain}.catan-table .board-scaled.zoomed .board{max-height:none;border-radius:25px}.catan-table .return-options{display:flex;gap:17px;margin:18px 0 0;flex-wrap:wrap;font-size:11px;color:#708080}.catan-table .restore-link{font-size:11px;font-weight:400;cursor:pointer;text-decoration:underline}.catan-table .restore-link input{display:none}@media(max-width:480px){.catan-table .board-scroll{max-height:420px}.catan-table .board-tools>span{font-size:8px}.catan-table .board-tools .text-button{font-size:9px}.catan-table .board-tools{gap:7px}}@media(prefers-reduced-motion:reduce){.catan-table *,.catan-table *:before,.catan-table *:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.catan-table .quantity{display:grid;grid-template-columns:20px 1fr 20px;align-items:center;border:1px solid #d5dece;border-radius:7px;overflow:hidden;min-width:0}.catan-table .quantity input{border:0;text-align:center;padding:7px 0;appearance:textfield;min-width:0;background:transparent}.catan-table .quantity input::-webkit-inner-spin-button{appearance:none}.catan-table .quantity button{padding:0;min-height:36px;background:#edf0e5;color:#426d5b;font-size:14px}.catan-table .replay-resources{margin-top:16px}.catan-table .theme-toggle{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:transparent;color:inherit}.catan-table .theme-toggle:hover{background:#8aada51a}.catan-table .map-description{font-weight:400;font-size:11px;line-height:1.65;color:var(--muted)}.catan-table .port-sign{cursor:pointer}.catan-table .port-sign:hover .port-paper,.catan-table .port-sign:focus-visible .port-paper{fill:#fffdf0}.catan-table .port-name{font:700 10px DM Sans,sans-serif;fill:#34493e}.catan-table .port-ratio{font:700 14px DM Sans,sans-serif;fill:#34493e}.catan-table .port-dialog{max-width:460px}.catan-table .port-trade-example{display:flex;align-items:center;justify-content:space-evenly;gap:15px;padding:18px 10px;background:#e7eddf;border-radius:10px;text-align:center;font-size:12px}.catan-table .port-trade-example span{flex:1}.catan-table .port-trade-example span:nth-child(2){flex:0;font-size:26px}.catan-table .port-trade-example strong{display:block;font:40px Fraunces,Georgia,serif;margin-bottom:5px}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]){color-scheme:dark;color:#e2eae5;background:#12232d;--navy: #b5d9da;--paper: #1b303b;--line: #36505a;--muted: #a6b9b9;--sea: #294b5a}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(input,select,.seat-card,.invite-seats button,.player-summary,.resource-card,.activity-panel,.resource-pickers label>div){background:#1b303b;color:#e2eae5;border-color:#36505a}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(input:disabled,select:disabled){background:#20333c;color:#a6b9b9}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.primary,.primary:hover:not(:disabled)){background:#dbbb7b;color:#182d35}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.secondary,.secondary:hover:not(:disabled),.room-code,.build-button,.dev-card,.bank-summary,.offer-card,.decision-box,.replay-controls,.recovery-code,.quantity button,.port-trade-example){background:#29424c;color:#dfebe6;border-color:#48636a!important}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.quiet:hover,.build-button.selected){background:#36505a}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.help-button,.text-button,.history-row,.tabs button.current,.resource-pickers button){color:#b5d9da;border-color:#48636a}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.eyebrow,.intro,.four-dots p,.join-details,.return-options,.board-caption,.welcome-note,.site-footer,.connection,.page-heading p:not(.eyebrow),.room-code,.seat-number,.host-badge,.seat-card p,.waiting-tag,.table-rule p,.invitation>p,.invite-seats small,.game-topline,.player-info strong small,.player-info>span,.score small,.hand-heading>span,.resource-card>span:last-child,.build-button small,.waiting-message,.dev-card small,.tabs button,.panel-heading p,.event>span,.event p,.bank-summary small,.disconnect-controls,.trade-grid>span,.offer-card>p,.bar-column>span,.bar-column>strong,.stat-player>span,.chat-log strong,.empty-copy,.modal>p,.rules-costs span,.board-tools){color:#a6b9b9}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.welcome h1 em,.welcome-note strong,.connection.online,.ready-tag,.room-code strong,.dev-card strong,.event:first-child p,.bank-summary strong){color:#b3d6bd}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.map-notice,.confirm-bar,.paused-banner,.dev-card.vp,.winner-box){background:#454133;color:#f0dfb4;border-color:#7b704f}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .winner-box p{color:#d8c994}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .modal{background:#1b303b;color:#e2eae5;border-color:#48636a}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .modal::backdrop{background:#07151dbf}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .error-banner{background:#4e3531;color:#ffd0bd;border-color:#8c5a4d}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .editor-error{color:#ffb89e!important}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .board-hint{background:#1b303bee;color:#dbe8e0}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .welcome-board .board{border-color:#2d424c;box-shadow:0 20px 50px #07131d55}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .four-dots>span{border-color:#12232d}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.settings-panel,.table-rule,.history-row,.tabs,.event,.timer,.histogram,.stat-player,.rules-costs p,.quantity,.board-tools .quiet){border-color:#36505a}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .player-summary.active{border-color:var(--player)}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .seat-card,:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .invite-seats button{border-top-color:var(--player)}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .resource-card{border-bottom-color:var(--resource)}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .tabs button.current{border-bottom-color:#b5d9da}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.checkbox-label input,.replay-controls input){accent-color:#dbbb7b}@media(max-width:480px){.catan-table .site-header{flex-wrap:wrap;height:auto;min-height:74px;gap:8px;padding-top:12px;padding-bottom:12px}.catan-table .header-right{margin-left:auto;gap:6px}.catan-table .theme-toggle{width:34px;height:34px;min-height:34px}.catan-table .header-right .quiet{padding:6px}}.catan-table .replay-resources>label{max-width:260px;margin-bottom:15px}.catan-table .replay-resources>.fine-print{margin-top:12px}@media(max-width:480px){.catan-table .quantity{grid-template-columns:27px 1fr 27px}.catan-table .quantity button{min-height:42px}.catan-table .trade-grid{grid-template-columns:1fr 1.1fr 1.1fr}}.catan-table .in-game .site-header{height:54px;max-width:none;padding:0 20px}.catan-table .in-game .brand{font-size:19px;gap:9px}.catan-table .in-game .brand-mark{width:29px;height:32px;font-size:24px}.catan-table .in-game .brand small,.catan-table .in-game .site-footer{display:none}.catan-table .in-game .error-banner{position:fixed;top:50px;left:16px;right:16px;z-index:20;margin:0;max-width:none}.catan-table .in-game .game-page{max-width:none;padding:0 16px 12px}.catan-table .in-game .game-topline{padding:8px 0;min-height:32px}.catan-table .in-game .turn-heading{margin:0 0 7px}.catan-table .in-game .turn-heading h2{margin-top:3px;font-size:24px}.catan-table .in-game .turn-heading .eyebrow{font-size:8px}.catan-table .in-game .board-tools{margin:0 0 7px}.catan-table .in-game .board-tools .quiet{width:28px;min-height:26px}.catan-table .in-game .board-tools .text-button{min-height:26px}.catan-table .in-game .dice>span{width:34px;height:34px;font-size:31px}.catan-table .in-game .player-strip{gap:6px;margin:0}.catan-table .in-game .player-summary{padding:9px 10px;gap:9px}.catan-table .in-game .player-avatar{width:28px;height:28px;font-size:16px}.catan-table .in-game .score{font-size:25px}.catan-table .in-game .player-info .awards:empty{display:none}.catan-table .in-game .paused-banner{margin:0 0 8px;padding:8px 12px}.catan-table .in-game .resource-hand{display:flex;align-items:flex-end;gap:8px;padding:4px 5px 5px 2px}.catan-table .in-game .resource-hand .resource-card{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:0;flex:0 0 64px;width:64px;height:92px;padding:5px 4px 7px;border:2px solid #f4e8c5;border-radius:6px;background:linear-gradient(140deg,#ffffff38,transparent 65%),var(--resource);color:#172e33;position:relative;box-shadow:0 2px 3px #12232d50,inset 0 0 0 2px #233c392e;isolation:isolate}.catan-table .in-game .resource-card.stacked{box-shadow:2px 2px #dbccaa,4px 4px #8c826e,5px 6px 4px #12232d44,inset 0 0 0 2px #233c392e}.catan-table .in-game .resource-card.empty{filter:saturate(.35);opacity:.78;box-shadow:none}.catan-table .in-game .resource-card .card-art{width:52px;height:58px;margin-top:6px}.catan-table .in-game .resource-card .card-name{display:block;color:#142f32;font-size:10px;font-weight:700;text-align:center;margin-top:1px}.catan-table .in-game .resource-hand .resource-card .card-name{color:#142f32}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .dev-card{background:#dfd0a6;border-color:#b5a16b}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .dev-card strong{color:#244b43}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .dev-card small{color:#435747}.catan-table .in-game .card-count{position:absolute;top:-3px;right:-3px;z-index:1;display:grid;place-items:center;min-width:24px;height:25px;padding:0 4px;border-radius:0 5px 0 9px;background:#234e66;color:#fff7df;font-size:17px;font-weight:700;line-height:1;box-shadow:-1px 1px #ffffff4a}.catan-table .in-game .hand-heading{margin:0;gap:12px}.catan-table .in-game .hand-heading h3{font-size:10px}.catan-table .in-game .hand-heading>span{font-size:10px}.catan-table .in-game .hand-area{background:#eeeee2;border:1px solid #c5d1c5;border-radius:12px;padding:9px 12px;box-shadow:0 -3px 18px #18374915}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .hand-area{background:#20343e;border-color:#48616a}.catan-table .in-game .action-row{margin:0;gap:9px}.catan-table .in-game .build-actions{flex:none;gap:6px}.catan-table .in-game .build-button{position:relative;width:74px;flex:0 0 74px;height:86px;padding:5px;border:1px solid #a9bdbb;background:#d2e5e3;color:#48747d;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px}.catan-table .in-game .build-button .card-art{width:40px;height:42px}.catan-table .in-game .build-button strong{font-size:9px}.catan-table .in-game .build-button small{margin-top:3px;font-size:9px;letter-spacing:1px;color:#3e6258}.catan-table .in-game .piece-count{position:absolute;top:3px;right:5px;color:#31595f;font-size:12px;font-weight:700}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .build-button{color:#94bcc0}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .build-button small,:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .piece-count{color:#c0d8d2}.catan-table .in-game .build-button.selected{outline:2px solid #d0a958;outline-offset:1px}.catan-table .in-game .dev-hand{margin:0;display:flex;flex-wrap:nowrap;gap:7px;overflow-x:auto;padding:4px 3px 5px;align-self:end}.catan-table .in-game .dev-card{flex:0 0 78px;min-width:78px;height:96px;padding:4px;border:2px solid #c5b47f;border-radius:6px;text-align:center;background:#eee1bc}.catan-table .in-game .dev-card .card-art{width:42px;height:46px;display:block;margin:0 auto}.catan-table .in-game .dev-card strong{margin:2px 0;font-size:9px}.catan-table .in-game .dev-card small{font-size:8px;line-height:1.3;display:block}.catan-table .in-game .dev-card:disabled{opacity:.72}.catan-table .in-game .dev-card.vp{opacity:1}@media(min-width:901px)and (min-height:620px){.catan-table .in-game .site-header{height:44px}.catan-table .in-game .game-topline{min-height:24px;padding:4px 0}.catan-table .in-game .turn-heading{min-height:38px;margin-bottom:8px}.catan-table .in-game .turn-heading h2{font-size:21px}.catan-table .in-game .board-tools{position:absolute;right:90px;top:3px;z-index:2}.catan-table .in-game .board-tools>span{display:none}.catan-table .in-game .paused-banner{position:absolute;top:56px;left:12px;right:12px;z-index:3;box-shadow:0 2px 8px #12232d25}.catan-table .in-game .game-page{display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:24px auto minmax(0,1fr);column-gap:14px;row-gap:8px;height:calc(100dvh - 188px)}.catan-table .in-game .game-topline{grid-column:1 / -1;grid-row:1}.catan-table .in-game .game-layout{display:contents}.catan-table .in-game .player-strip{grid-column:2;grid-row:2;display:grid;grid-template-columns:1fr}.catan-table .in-game .play-area{grid-column:1;grid-row:2 / 4;min-height:0;display:flex;flex-direction:column;position:relative}.catan-table .in-game .activity-panel{grid-column:2;grid-row:3;position:static;align-self:stretch;min-height:0;overflow:auto}.catan-table .in-game .event-log{max-height:260px}.catan-table .in-game .board-wrap{flex:1;min-height:0;background:var(--sea);border-radius:20px}.catan-table .in-game .board-scroll{height:100%;max-height:none;border-radius:20px}.catan-table .in-game .board-scaled{height:100%}.catan-table .in-game .board-wrap .board{width:100%;height:100%;max-height:none;border-radius:20px}.catan-table .in-game .board-scaled.zoomed{height:auto}.catan-table .in-game .board-scaled.zoomed .board{height:auto;max-height:none}.catan-table .in-game .hand-area{position:fixed;bottom:10px;left:16px;right:16px;z-index:5;height:134px;margin:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:15px 1fr;column-gap:15px}.catan-table .in-game .hand-heading{grid-column:1 / -1;grid-row:1}.catan-table .in-game .hand-area .resource-hand{grid-column:1;grid-row:2}.catan-table .in-game .hand-area .dev-hand{grid-column:2;grid-row:2}.catan-table .in-game .hand-area .action-row{grid-column:3;grid-row:2;align-self:center}.catan-table .in-game .hand-area .waiting-message{max-width:290px;font-size:11px}.catan-table .in-game .roll-button{min-width:170px;min-height:60px;align-items:center;gap:25px}.catan-table .in-game .confirm-bar,.catan-table .in-game .play-area>.decision-box{position:absolute;z-index:4;bottom:8px;left:12px;right:12px;margin:0;box-shadow:0 5px 25px #142c3540}.catan-table .in-game .reviewing-game{height:auto;min-height:calc(100dvh - 54px);grid-template-rows:32px auto auto}.catan-table .in-game .reviewing-game .board-wrap{flex:none;height:calc(100dvh - 220px);min-height:400px}.catan-table .in-game .reviewing-game .activity-panel{max-height:60vh}}@media(max-width:900px),(max-height:619px){.catan-table .in-game .game-layout{grid-template-columns:1fr;gap:16px}.catan-table .in-game .player-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin:4px 0 12px}.catan-table .in-game .activity-panel{position:static}.catan-table .in-game .board-wrap .board{max-height:none}.catan-table .in-game .board-scroll{max-height:65dvh}.catan-table .in-game .hand-area{margin-top:12px}.catan-table .in-game .hand-heading{margin-bottom:3px}.catan-table .in-game .action-row{margin-top:10px;flex-wrap:wrap}.catan-table .in-game .action-row>.primary{flex:1}.catan-table .in-game .build-actions{flex:1}.catan-table .in-game .build-button{flex:1;width:auto}.catan-table .in-game .dev-hand{margin-top:8px}}@media(min-width:901px)and (max-width:1100px)and (min-height:620px){.catan-table .in-game .resource-hand .resource-card{flex-basis:56px;width:56px}.catan-table .in-game .resource-card .card-art{width:46px}.catan-table .in-game .build-button{width:62px;flex-basis:62px}.catan-table .in-game .turn-heading>div:first-child{max-width:calc(100% - 250px)}.catan-table .in-game .turn-heading h2{font-size:18px}}@media(max-width:480px){.catan-table .in-game .site-header{min-height:50px;height:auto;padding:7px 10px}.catan-table .in-game .brand{font-size:16px;gap:6px}.catan-table .in-game .brand-mark{width:24px;height:28px;font-size:23px}.catan-table .in-game .game-page{padding:0 8px 12px}.catan-table .in-game .player-summary{padding:6px;gap:3px}.catan-table .in-game .player-avatar{width:21px;height:21px;font-size:12px}.catan-table .in-game .player-info strong{font-size:9px}.catan-table .in-game .player-info>span{font-size:7px;margin-top:3px}.catan-table .in-game .score{font-size:20px}.catan-table .in-game .turn-heading h2{font-size:21px;max-width:280px}.catan-table .in-game .hand-area{padding:8px}.catan-table .in-game .resource-hand{gap:7px;justify-content:flex-start}.catan-table .in-game .resource-hand .resource-card{flex-basis:calc((100% - 28px)/5);max-width:64px;min-width:0;height:86px}.catan-table .in-game .resource-card .card-art{width:100%;height:52px}.catan-table .in-game .build-button{min-width:0;height:78px}.catan-table .in-game .build-button .card-art{width:35px;height:35px}}.catan-table .in-game .board-scroll.ocean-viewport{background-color:var(--sea);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='44' viewBox='0 0 58 44'%3E%3Cpath d='M5 12q9 6 18 0m10 21q9 6 18 0' fill='none' stroke='white' stroke-width='1.4' opacity='.23'/%3E%3C/svg%3E");background-repeat:repeat;height:100%;width:100%;max-height:none;overflow:auto;position:relative}.catan-table .in-game .ocean-viewport .board-stage{display:grid;place-items:center;min-width:100%;min-height:100%}.catan-table .in-game .ocean-viewport .board-scaled{min-width:0;min-height:0}.catan-table .in-game .ocean-viewport .board{width:100%;height:100%;max-height:none;background:transparent}.catan-table .in-game .ocean-viewport.can-pan,.catan-table .in-game .ocean-viewport.can-pan .board{cursor:grab}.catan-table .in-game .ocean-viewport.panning,.catan-table .in-game .ocean-viewport.panning *{cursor:grabbing}.catan-table .ocean-viewport:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.catan-table .in-game .brand{font-size:23px}.catan-table .in-game .header-right .quiet{font-size:14px}.catan-table .in-game .connection{font-size:12px}.catan-table .in-game .game-topline{font-size:12px;letter-spacing:.6px}.catan-table .in-game .game-topline .text-button{font-size:13px}.catan-table .in-game .turn-heading h2{font-size:27px}.catan-table .in-game .turn-heading .eyebrow{font-size:11px;letter-spacing:1px}.catan-table .in-game .board-tools{gap:8px;align-items:center}.catan-table .in-game .board-tools .quiet{width:38px;min-height:36px;font-size:22px}.catan-table .in-game .board-tools .text-button{font-size:13px;min-height:36px}.catan-table .in-game .zoom-level{min-width:45px;font-size:14px;font-weight:700;color:var(--navy);text-align:center;font-variant-numeric:tabular-nums}.catan-table .in-game .board-hint{font-size:13px;padding:9px 16px}.catan-table .in-game .player-info strong{font-size:16px}.catan-table .in-game .player-info strong small{font-size:12px}.catan-table .in-game .player-info>span{font-size:12px;white-space:normal;line-height:1.4}.catan-table .in-game .player-info .awards{font-size:11px}.catan-table .in-game .score{font-size:30px}.catan-table .in-game .score small{font-size:9px}.catan-table .in-game .player-avatar{width:34px;height:34px;font-size:20px}.catan-table .in-game .tabs button{font-size:14px;padding:13px 6px}.catan-table .in-game .panel-heading{padding:18px 18px 12px}.catan-table .in-game .panel-heading h3{font-size:17px}.catan-table .in-game .panel-heading p{font-size:13px}.catan-table .in-game .event-log{padding:0 18px 12px}.catan-table .in-game .event{gap:10px}.catan-table .in-game .event p{font-size:15px;line-height:1.55}.catan-table .in-game .event>span{font-size:11px}.catan-table .in-game .bank-summary{padding:16px 18px}.catan-table .in-game .bank-summary h4{font-size:12px}.catan-table .in-game .bank-summary strong{font-size:15px}.catan-table .in-game .bank-summary small{font-size:12px}.catan-table .in-game .disconnect-controls,.catan-table .in-game .disconnect-controls p,.catan-table .in-game .disconnect-controls .text-button{font-size:13px}.catan-table .in-game .trade-panel,.catan-table .in-game .stats-panel{padding:18px}.catan-table .in-game .trade-panel>h3,.catan-table .in-game .stats-panel>h3{font-size:17px}.catan-table .in-game .trade-panel :is(label,select,input,.fine-print,.secondary.full),.catan-table .in-game .stats-panel :is(label,select,.fine-print),.catan-table .in-game .trade-grid>span,.catan-table .in-game .offer-card :is(strong,p,button){font-size:13px}.catan-table .in-game .stat-player{font-size:14px}.catan-table .in-game .stat-player>span{font-size:12px}.catan-table .in-game .bar-column>span,.catan-table .in-game .bar-column>strong{font-size:12px}.catan-table .in-game .chat-log>p{font-size:15px}.catan-table .in-game .chat-log strong{font-size:13px}.catan-table .in-game .chat-form input{font-size:14px}.catan-table .in-game .hand-heading h3,.catan-table .in-game .hand-heading>span{font-size:14px}.catan-table .in-game .hand-area .waiting-message{font-size:14px;line-height:1.5;max-width:350px}.catan-table .in-game .resource-hand .resource-card{flex-basis:72px;width:72px;height:106px}.catan-table .in-game .resource-card .card-art{width:58px;height:65px}.catan-table .in-game .resource-hand .resource-card .card-name{font-size:13px}.catan-table .in-game .card-count{font-size:20px;min-width:28px;height:29px}.catan-table .in-game .build-button{width:86px;flex-basis:86px;height:99px}.catan-table .in-game .build-button strong{font-size:11px;white-space:nowrap}.catan-table .in-game .build-button small{font-size:11px}.catan-table .in-game .piece-count{font-size:14px}.catan-table .in-game .dev-card{flex-basis:91px;min-width:91px;height:110px}.catan-table .in-game .dev-card strong{font-size:12px}.catan-table .in-game .dev-card small{font-size:10px}.catan-table .in-game .action-row>.primary{font-size:14px}.catan-table .in-game .confirm-bar{font-size:15px}.catan-table .in-game .decision-box h3{font-size:17px}.catan-table .in-game .resource-pickers label{font-size:14px}.catan-table .in-game .paused-banner{font-size:14px;position:static;margin-bottom:8px}@media(min-width:901px)and (min-height:620px){.catan-table .in-game .site-header{height:52px}.catan-table .in-game .game-page{grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:30px auto minmax(0,1fr);height:calc(100dvh - 220px)}.catan-table .in-game .hand-area{height:158px;grid-template-rows:21px 1fr}.catan-table .in-game .turn-heading>div:first-child{max-width:calc(100% - 310px)}.catan-table .in-game .turn-heading{min-height:46px}.catan-table .in-game .reviewing-game{height:auto}.catan-table .in-game .reviewing-game .board-wrap{min-height:400px}}@media(min-width:901px)and (max-width:1200px)and (min-height:620px){.catan-table .in-game .game-page{grid-template-columns:minmax(0,1fr) 290px}.catan-table .in-game .board-tools{position:static;align-self:flex-end;margin-bottom:8px}.catan-table .in-game .turn-heading>div:first-child{max-width:calc(100% - 85px)}.catan-table .in-game .turn-heading h2{font-size:24px}.catan-table .in-game .resource-hand .resource-card{flex-basis:58px;width:58px}.catan-table .in-game .resource-card .card-art{width:48px}.catan-table .in-game .build-button{width:78px;flex-basis:78px}.catan-table .in-game .build-button strong{font-size:10px}}@media(max-width:900px),(max-height:619px){.catan-table .in-game .board-scroll.ocean-viewport{height:auto;max-height:65dvh}.catan-table .in-game .player-info strong{font-size:13px}.catan-table .in-game .player-info>span{font-size:11px}.catan-table .in-game .player-info strong small{font-size:10px}.catan-table .in-game .board-tools>span{font-size:12px}.catan-table .in-game .build-button{width:auto;flex:1}}@media(max-width:480px){.catan-table .in-game .build-actions{flex:1 0 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.catan-table .in-game .action-row>.primary{min-height:44px}.catan-table .in-game .site-header{padding:8px}.catan-table .in-game .brand{font-size:18px}.catan-table .in-game .header-right .quiet{font-size:12px}.catan-table .in-game .game-topline{font-size:10px;gap:5px}.catan-table .in-game .game-topline .text-button,.catan-table .in-game .player-info strong{font-size:12px}.catan-table .in-game .player-info>span{font-size:10px}.catan-table .in-game .score{font-size:24px}.catan-table .in-game .player-avatar{width:25px;height:25px;font-size:14px}.catan-table .in-game .turn-heading h2{font-size:24px}.catan-table .in-game .board-tools>span{display:none}.catan-table .in-game .board-tools .quiet{width:40px;min-height:40px}.catan-table .in-game .resource-hand .resource-card{flex-basis:calc((100% - 28px)/5);width:auto;height:96px}.catan-table .in-game .resource-card .card-art{width:100%;height:58px}.catan-table .in-game .resource-hand .resource-card .card-name{font-size:12px}.catan-table .in-game .build-button{height:90px}.catan-table .in-game .build-button strong{font-size:10px}.catan-table .in-game .board-hint{white-space:normal;text-align:center;width:max-content;max-width:90%;font-size:12px}}@media(max-width:360px){.catan-table .in-game .build-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}.catan-table .in-game .hand-area .game-controls{display:grid;grid-template-columns:repeat(6,88px);gap:7px;margin:0;align-self:center}.catan-table .in-game .game-controls .dock-button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;height:110px;padding:8px 3px 7px;border:2px solid #f6faf2;border-radius:11px;background:#b5d9dc;box-shadow:inset 0 -5px #628e9c44,0 0 0 1px #5a8790;color:#294f60}.catan-table .in-game .game-controls .dock-button .card-art{width:60px;height:66px}.catan-table .in-game .game-controls .piece-button .card-art{color:var(--piece-color)}.catan-table .in-game .game-controls .dock-button strong{font-size:12px;line-height:1.2;white-space:nowrap}.catan-table .in-game .game-controls .dock-count{position:absolute;top:2px;right:3px;min-width:22px;padding:1px 3px;border-radius:0 5px;background:#406b79;color:#fff9df;font-size:17px;line-height:1.1;font-weight:700}.catan-table .in-game .game-controls .dock-button:disabled{opacity:.6;cursor:default;filter:saturate(.65)}.catan-table .in-game .game-controls .dock-button:not(:disabled):hover{background:#d1edef}.catan-table .in-game .game-controls .dock-button.selected{outline:3px solid #d8af55;outline-offset:2px}.catan-table .in-game .game-controls .turn-control.ready{background:#e1be71;box-shadow:inset 0 -5px #916c3344,0 0 0 1px #b48948;color:#4c442f}.catan-table .in-game .game-controls .turn-control.ready:hover{background:#f1d397}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .game-controls .dock-button{background:#497988;border-color:#c5e7e6;color:#f0f6e9}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .game-controls .dock-button:not(:disabled):hover{background:#608f9c}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .game-controls .turn-control.ready{background:#d9b667;color:#3d3c2b}.catan-table .in-game .modal .trade-panel{padding:0}.catan-table .in-game .trade-modal{max-width:620px}.catan-table .in-game .modal .trade-panel>h3{display:none}.catan-table .in-game .modal .trade-panel label,.catan-table .in-game .modal .trade-panel select,.catan-table .in-game .modal .trade-panel .quantity input{font-size:15px}@media(min-width:901px)and (max-width:1200px)and (min-height:620px){.catan-table .in-game .hand-area .game-controls{grid-template-columns:repeat(6,76px);gap:6px}.catan-table .in-game .game-controls .dock-button strong{font-size:11px}}@media(max-width:900px),(max-height:619px){.catan-table .in-game .hand-area .game-controls{grid-template-columns:repeat(6,minmax(0,1fr));width:100%;margin-top:12px}}@media(max-width:600px){.catan-table .in-game .hand-area .game-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.catan-table .in-game .game-controls .dock-button{height:92px}.catan-table .in-game .game-controls .dock-button .card-art{width:48px;height:53px}}.catan-table .header-turn{display:flex;flex-direction:column;min-width:0;margin:0 24px;line-height:1.25}.catan-table .map-gallery{margin:24px 0}.catan-table .map-gallery>p{font-size:14px;margin:8px 0 16px}.catan-table .map-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catan-table .map-choice{display:flex;flex-direction:column;text-align:left;border:2px solid #819b9d66;border-radius:12px;padding:10px;background:var(--paper);color:var(--ink);gap:6px}.catan-table .map-choice:disabled{opacity:1;cursor:default}.catan-table .map-choice.chosen{border-color:#c59532;box-shadow:0 0 0 2px #c5953233}.catan-table .map-choice svg{width:100%;height:115px;background:var(--sea);border-radius:7px;padding:5px}.catan-table .map-choice strong{font-size:15px}.catan-table .map-choice span{font-size:12px;line-height:1.45}@media(max-width:600px){.catan-table .map-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catan-table .map-choice{padding:7px}}.catan-table .header-turn strong{font-size:17px}.catan-table .header-turn span{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.catan-table .my-color{display:inline-flex;gap:7px;align-items:center;white-space:nowrap}.catan-table .my-color i{width:16px;height:16px;border-radius:50%;border:1px solid #fff8}.catan-table .color-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.catan-table .color-palette button{display:flex;align-items:center;flex-direction:column;gap:7px;padding:12px;border:2px solid transparent;border-radius:12px;background:#82949a20;color:inherit}.catan-table .color-palette button[aria-pressed=true]{border-color:#d5ae62}.catan-table .color-palette i{display:block;width:42px;height:42px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff6}.catan-table .in-game .sidebar-tools{display:flex;justify-content:space-between;align-items:center;gap:6px}.catan-table .in-game .sidebar-tools .board-tools{position:static;margin:0;display:flex;gap:5px}.catan-table .in-game .sidebar-tools .board-tools>span{display:none}.catan-table .in-game .sidebar-tools .board-tools .quiet{width:32px;min-height:32px;height:32px}.catan-table .in-game .sidebar-tools .dice{gap:4px}.catan-table .in-game .sidebar-tools .dice span{width:29px;height:29px;font-size:24px}.catan-table .turn-clock{padding:10px 12px;border:1px solid #72929366;background:#8cabad18;border-radius:10px}.catan-table .turn-clock>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.catan-table .turn-clock span{font-size:13px;font-weight:700}.catan-table .turn-clock strong{font-size:25px;font-variant-numeric:tabular-nums}.catan-table .turn-clock progress{width:100%;height:7px;accent-color:#c69b45;display:block;margin:5px 0}.catan-table .turn-clock small{font-size:11px}.catan-table .turn-clock.urgent{color:#e1845c;border-color:currentColor}.catan-table .clock-settings{display:grid;gap:10px;margin-top:14px}.catan-table .clock-settings label{font-size:13px}.catan-table .in-game .hand-area .hand-cards{display:flex;align-items:stretch;gap:16px;min-width:0;overflow-x:auto;padding:3px 2px}.catan-table .in-game .hand-area .resource-hand{display:flex;flex-wrap:nowrap;flex:0 0 auto;gap:9px;align-items:center}.catan-table .in-game .hand-area .resource-hand .resource-card{flex:0 0 88px;min-width:88px;max-width:none;width:88px;height:136px;padding:6px 3px 4px;cursor:pointer}.catan-table .in-game .hand-area .resource-hand .resource-card .card-art{width:72px;height:88px}.catan-table .in-game .hand-area .resource-hand .resource-card .card-name{font-size:15px}.catan-table .in-game .hand-area .resource-hand .resource-card:disabled{opacity:1;cursor:default;filter:none}.catan-table .in-game .hand-area .resource-hand .resource-card:not(:disabled):hover{transform:translateY(-3px);outline:2px solid #e5be6a}.catan-table .in-game .hand-area .empty-hand{font-size:15px;opacity:.7;padding:24px 12px}.catan-table .in-game .hand-area .dev-hand{border-left:2px solid #839693;padding:0 5px 0 17px;display:flex;flex:0 0 auto;gap:9px;align-self:stretch;overflow:visible}.catan-table .in-game .hand-area .dev-card,.catan-table .in-game .hand-area .dev-card:disabled{width:108px;min-width:108px;height:136px;background:#eadbb6;color:#293d43;border:2px solid #b99d59;opacity:1;filter:none}.catan-table .in-game .hand-area .dev-card:disabled{background:#d9d3c1;border-color:#9c9e91;cursor:default}.catan-table .in-game .hand-area .dev-card .card-art{width:54px;height:62px}.catan-table .in-game .hand-area .dev-card strong{font-size:14px;color:#293d43}:is([data-theme] .catan-table,.catan-table[data-theme]) .in-game .hand-area .dev-card{background:#eadbb6;color:#293d43}:is([data-theme] .catan-table,.catan-table[data-theme]) .in-game .hand-area .dev-card:disabled{background:#d9d3c1}:is([data-theme] .catan-table,.catan-table[data-theme]) .in-game .hand-area .dev-card strong{color:#293d43}:is([data-theme] .catan-table,.catan-table[data-theme]) .in-game .hand-area .dev-card small{color:#3b5057}.catan-table .in-game .hand-area .dev-card small{color:#3b5057;font-size:12px}.catan-table .in-game .game-controls .dock-button:disabled{opacity:1;filter:none;background:#9aadae;color:#435b63;border-color:#b6c8c8}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .game-controls .dock-button:disabled{opacity:1;background:#314b56;color:#b6c9cc;border-color:#647e86;filter:none}.catan-table .incoming-trades{position:absolute;right:12px;top:12px;width:300px;max-width:calc(100% - 24px);max-height:75%;overflow:auto;z-index:8}.catan-table .board-notifications{position:absolute;right:12px;top:12px;width:320px;max-width:calc(100% - 24px);max-height:75%;overflow:auto;z-index:12;pointer-events:none}.catan-table .board-notifications .incoming-trades{position:static;width:auto;max-width:none;max-height:none;overflow:visible}.catan-table .board-notifications .incoming-trade{pointer-events:auto}.catan-table .game-notice{display:flex;align-items:flex-start;gap:10px;border-left:5px solid var(--player)}.catan-table .game-notice>.card-art{flex:0 0 35px;width:35px;height:44px;color:var(--player)}.catan-table .game-notice>div{min-width:0;flex:1}.catan-table .game-notice strong{font-size:17px}.catan-table .game-notice p{margin-bottom:0;line-height:1.4}.catan-table .game-notice>button{padding:0;min-width:32px;min-height:32px;font-size:20px}.catan-table .moving-robber{transition:transform .75s cubic-bezier(.22,.61,.36,1);filter:drop-shadow(0 3px 2px #122b3c55)}.catan-table .bank-cards{flex:0 0 auto;padding:12px;border-bottom:1px solid var(--line)}.catan-table .bank-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.catan-table .bank-heading small{font-size:11px}.catan-table .player-info .road-length .card-art{display:inline-block;width:16px;height:18px;vertical-align:middle;color:var(--player)}.catan-table .player-info .road-length>span{white-space:nowrap;margin-left:5px}.catan-table .bank-cards .resource-bundle{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.catan-table .bank-cards .mini-resource{width:100%;min-width:0;height:67px}.catan-table .bank-cards .mini-resource .card-art{width:100%;height:39px}.catan-table .bank-cards .mini-resource b{font-size:16px}.catan-table .bank-cards .mini-resource small{font-size:10px}.catan-table .trade-confirm-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.catan-table .trade-confirm-options p{font-size:13px;line-height:1.5;margin:8px 0 0}.catan-table .trade-confirm-options button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:7px}.catan-table .trade-confirm-options button .card-art{width:30px;height:32px;flex:0 0 30px}.catan-table .trade-confirm-options button:disabled{background:#53666b;border-color:#71858a;color:#e0e6e6;opacity:1;filter:grayscale(1)}.catan-table .trade-choice .bank-set:disabled{opacity:1;color:var(--muted);background:transparent;border-style:dashed}.catan-table .trade-choice .bank-set{width:100%;margin-top:7px;padding:7px 3px;min-height:36px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:inherit}.catan-table .bank-set small{display:inline;opacity:.8}.catan-table .sound-control{display:flex;align-items:center;gap:5px;font-size:23px}.catan-table .sound-control span{font-size:12px}.catan-table .sound-toggle{display:flex;gap:10px;align-items:center;margin:16px 0}.catan-table .sound-volume{display:flex;flex-direction:column;gap:10px;margin:18px 0}.catan-table .sound-volume input{width:100%}@media(max-width:600px){.catan-table .sound-control span{display:none}.catan-table .sound-control{padding:4px;min-width:32px}.catan-table .board-notifications{top:8px;right:8px;max-width:calc(100% - 16px);max-height:65%;width:270px}.catan-table .game-notice{padding:10px}.catan-table .game-notice strong{font-size:15px}.catan-table .trade-confirm-options{gap:9px}.catan-table .trade-confirm-options button{padding:8px;font-size:13px}.catan-table .trade-choice .bank-set{min-height:40px}}@media(prefers-reduced-motion:reduce){.catan-table .moving-robber{transition:none}}.catan-table .incoming-trade{padding:15px;background:#f7f3df;color:#263f48;border:2px solid #b99852;border-radius:12px;margin-bottom:8px;box-shadow:0 5px 22px #102c3e44}.catan-table .incoming-trade p{font-size:14px;line-height:1.7;margin:8px 0}.catan-table .incoming-trade .button-row{gap:7px;margin-top:8px}.catan-table .incoming-trade button{font-size:13px;padding:8px 10px}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .incoming-trade{background:#203a48;color:#f3eed7}.catan-table .trade-people{border:0;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 20px}.catan-table .trade-people legend{font-size:14px;font-weight:700;margin-bottom:10px}.catan-table .trade-people button{border:1px solid #819ba0;background:transparent;color:inherit;border-radius:8px;padding:9px 12px}.catan-table .trade-people i{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:7px;background:var(--player)}.catan-table .trade-people .selected{background:#b7934b33;border:2px solid #c6a159;padding:8px 11px}.catan-table .trade-card-section h3{font-size:17px;margin:18px 0 9px}.catan-table .trade-resource-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.catan-table .trade-choice{position:relative}.catan-table .trade-choice>button:first-child{width:100%;min-height:111px;border:2px solid #8b9d9b;border-radius:8px;background:#849b8e22;color:inherit;display:flex;flex-direction:column;align-items:center;padding:6px 3px}.catan-table .trade-choice .card-art{width:56px;height:69px}.catan-table .trade-choice strong{font-size:13px}.catan-table .trade-choice.chosen>button:first-child{border-color:#dfb654;background:#c8a35b33}.catan-table .trade-amount{position:absolute;top:3px;right:5px;background:#385c70;color:#fff;padding:1px 5px;font-weight:700;border-radius:4px}.catan-table .trade-minus{position:absolute;bottom:-7px;right:-3px;width:26px;height:26px;min-height:26px;padding:0;border-radius:50%;background:#f6efd6;color:#304b54;border:1px solid #718987}.catan-table .trade-instruction{font-size:13px;line-height:1.5;margin:18px 0}.catan-table .quick-trade>.primary{min-height:44px}.catan-table .open-trade{border-top:1px solid #80949266;margin-top:16px;padding-top:12px;font-size:13px}.catan-table .open-trade button{margin-right:10px}.catan-table .activity-panel .quick-trade{padding:12px}.catan-table .activity-panel .trade-resource-row{gap:4px}.catan-table .activity-panel .trade-choice .card-art{width:34px;height:40px}.catan-table .activity-panel .trade-choice>button:first-child{min-height:77px}.catan-table .activity-panel .trade-choice strong{font-size:10px}.catan-table .in-game .chat-log strong{font-weight:800}.catan-table .in-game .activity-panel .tabs{position:sticky;top:0;z-index:3;background:#fffef8}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .activity-panel .tabs{background:#1b323e}@media(min-width:901px)and (min-height:620px){.catan-table .in-game .game-page{height:calc(100dvh - 62px);grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:28px auto minmax(0,1fr)}.catan-table .in-game .play-area{gap:8px}.catan-table .in-game .hand-area{position:static;flex:0 0 300px;height:300px;width:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px 142px 104px;gap:5px;margin:0;overflow:visible;padding:9px 12px}.catan-table .in-game .hand-area .hand-heading{grid-column:1;grid-row:1}.catan-table .in-game .hand-area .hand-cards{grid-column:1;grid-row:2}.catan-table .in-game .hand-area .game-controls{grid-column:1;grid-row:3;display:grid;grid-template-columns:repeat(6,108px);justify-content:end;gap:7px;align-self:end}.catan-table .in-game .game-controls .dock-button{height:70px;padding:4px;gap:0}.catan-table .in-game .game-controls .dock-button .card-art{height:43px;width:44px}.catan-table .in-game .game-controls .dock-button strong{font-size:11px}.catan-table .in-game .game-controls .dock-count{font-size:14px}.catan-table .in-game .confirm-bar,.catan-table .in-game .play-area>.decision-box{bottom:318px}.catan-table .in-game .player-strip{gap:6px}.catan-table .in-game .player-summary{min-height:59px;padding:8px 10px}.catan-table .in-game .activity-panel{border-radius:12px}.catan-table .in-game .event-log{max-height:none;flex:1}}@media(min-width:901px)and (max-width:1200px){.catan-table .in-game .header-turn{margin:0 12px;max-width:280px}.catan-table .in-game .header-turn span{font-size:12px}.catan-table .in-game .connection{display:none}.catan-table .in-game .hand-area .resource-hand .resource-card{width:78px;min-width:78px;flex-basis:78px}.catan-table .in-game .hand-area .resource-hand .resource-card .card-art{width:64px}.catan-table .in-game .hand-area .game-controls{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:900px),(max-height:619px){.catan-table .in-game .header-turn{margin:0;max-width:45%}.catan-table .in-game .header-turn strong{font-size:14px}.catan-table .in-game .header-turn span{font-size:11px}.catan-table .in-game .hand-area{height:auto}.catan-table .in-game .player-strip .turn-clock,.catan-table .in-game .player-strip .sidebar-tools{grid-column:1 / -1}.catan-table .in-game .hand-area .hand-cards{padding-bottom:8px}.catan-table .in-game .hand-area .game-controls{grid-template-columns:repeat(6,minmax(0,1fr));margin-top:8px}.catan-table .in-game .game-controls .dock-button{height:74px;padding:3px 1px}.catan-table .in-game .game-controls .dock-button .card-art{width:38px;height:43px}.catan-table .in-game .game-controls .dock-button strong{font-size:10px}}@media(max-width:600px){.catan-table .in-game .header-right .quiet.my-color{font-size:0;gap:0}.catan-table .in-game .header-right .my-color i{width:21px;height:21px}.catan-table .in-game .turn-clock small{display:none}.catan-table .in-game .site-header{flex-wrap:wrap;height:auto;padding:9px;gap:8px}.catan-table .in-game .header-turn{order:3;max-width:none;width:100%;flex-direction:row;justify-content:space-between;gap:8px}.catan-table .in-game .header-right{margin-left:auto;gap:5px}.catan-table .in-game .header-right .quiet{padding:4px;font-size:11px}.catan-table .in-game .brand{font-size:17px}.catan-table .in-game .hand-area .game-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.catan-table .in-game .hand-area .resource-hand .resource-card{width:80px;min-width:80px;flex-basis:80px}.catan-table .in-game .game-controls .dock-button strong{font-size:12px}.catan-table .color-palette{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.catan-table .trade-resource-row{gap:5px}.catan-table .trade-choice .card-art{width:42px;height:58px}.catan-table .trade-choice>button:first-child{min-height:93px}.catan-table .trade-choice strong{font-size:11px}.catan-table .incoming-trades{max-height:80%}}.catan-table .in-game .game-controls .dock-button{width:100%;height:100px;padding:6px 3px}.catan-table .in-game .game-controls .dock-button .card-art{width:62px;height:62px}.catan-table .in-game .game-controls .dock-button strong{font-size:14px}.catan-table .in-game .game-controls .dock-count{font-size:18px}.catan-table .in-game .game-controls .dock-button:disabled .card-art{filter:grayscale(1);opacity:.4}.catan-table .in-game .game-controls .dock-button:disabled{cursor:not-allowed;box-shadow:none}.catan-table .dock-slot{position:relative;min-width:0}.catan-table .cost-preview{display:none;position:absolute;bottom:calc(100% + 10px);right:0;padding:12px;width:max-content;max-width:min(310px,calc(100vw - 32px));background:#183744;color:#fff4d7;border:1px solid #c6aa70;border-radius:10px;box-shadow:0 5px 18px #0005;z-index:35;pointer-events:none}.catan-table .cost-preview p{margin:10px 0 0;max-width:280px;font-size:14px;line-height:1.4}.catan-table .cost-help{position:absolute;left:3px;top:3px;width:30px;height:30px;min-height:30px;padding:0;border-radius:50%;background:#183744;color:#fff4d7;border:1px solid #9bc4cc;font-size:17px;z-index:2}.catan-table .ability-description{display:flex;align-items:center;gap:20px}.catan-table .ability-description>.card-art{width:100px;height:120px;flex:0 0 100px}.catan-table .ability-dialog p{line-height:1.6}.catan-table .modal.ability-dialog,.catan-table .modal.cost-dialog{max-width:560px;font-size:16px}.catan-table .cost-dialog .mini-resource{width:64px;min-height:90px}.catan-table .cost-dialog .mini-resource .card-art{width:54px;height:58px}.catan-table .cost-dialog>.secondary{margin-top:16px}.catan-table .in-game .hand-area .dev-card.unavailable{background:#ede6d4;border-color:#a69f8c}.catan-table .in-game .hand-area .dev-card.unavailable .card-art{filter:grayscale(.6)}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .hand-area .dev-card.unavailable{background:#344b56}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .hand-area .dev-card.unavailable strong{color:#fff4d7}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .in-game .hand-area .dev-card.unavailable small{color:#e0e9e9}.catan-table .trade-validation{padding:12px;border-radius:8px;background:var(--paper);border:1px solid var(--line);font-size:15px;line-height:1.4}.catan-table .trade-choice small{display:block;font-size:12px}.catan-table .illustrated-choice{max-width:640px}.catan-table .illustrated-choice>p{margin:4px 0 12px}.catan-table .illustrated-choice>.primary{margin-top:14px}.catan-table .victim-choice{display:flex;align-items:center;gap:10px;text-align:left}.catan-table .victim-choice .player-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff}.catan-table .victim-choice small{display:block;margin-top:3px}@media(max-width:600px){.catan-table .cost-help{width:36px;height:36px}.catan-table .illustrated-choice .trade-resource-row{gap:5px}.catan-table .illustrated-choice .trade-choice>button:first-child{min-height:104px;padding:4px}.catan-table .illustrated-choice .trade-choice strong{font-size:12px}.catan-table .illustrated-choice .trade-choice small{font-size:10px}}.catan-table .cost-preview>strong{display:block;margin-bottom:8px;font-size:15px}.catan-table .dock-slot:hover .cost-preview,.catan-table .dock-slot:focus-within .cost-preview{display:block}.catan-table .dock-slot:focus-visible{outline:2px solid #e0b75e;outline-offset:3px;border-radius:10px}.catan-table .resource-bundle{display:flex;flex-wrap:wrap;gap:5px}.catan-table .mini-resource{display:flex;flex:0 0 48px;width:48px;flex-direction:column;align-items:center;position:relative;background:var(--resource);border:2px solid #f0dfb5;border-radius:4px;color:#152f3b;padding:3px 0}.catan-table .mini-resource b{position:absolute;right:1px;top:0;background:#234656;color:#fff;padding:0 3px;font-size:14px}.catan-table .mini-resource .card-art{width:44px;height:48px}.catan-table .mini-resource small{font-size:11px;font-weight:700}.catan-table .trade-exchange{display:flex;align-items:center;gap:10px;margin:12px 0}.catan-table .trade-exchange>div{flex:1;min-width:0}.catan-table .trade-exchange>div>small{display:block;margin-bottom:5px}.catan-table .in-game .player-info .road-length{font-size:12px;color:var(--ink);margin-top:3px}.catan-table .in-game .hand-area{position:relative;left:auto;right:auto;bottom:auto}.catan-table .discard-selection{position:absolute;bottom:calc(100% + 8px);left:0;width:100%;display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px;background:#203b48;color:#fff3d7;border:2px solid #d2ad5d;border-radius:10px;z-index:10}.catan-table .discard-selection p{margin:4px 0 0;max-width:300px;font-size:13px}.catan-table .discard-list{display:flex;gap:5px;flex:1;flex-wrap:wrap}.catan-table .discard-list>button{padding:0;background:none;border:0}.catan-table .discard-count{position:absolute;bottom:25px;background:#163743;color:#fff;padding:2px 5px;border-radius:4px;font-size:12px}.catan-table .in-game .hand-area .resource-card[aria-pressed=true]{outline:3px solid #e5b951;outline-offset:-3px}.catan-table .in-game .hand-area.discarding .resource-card:disabled{opacity:.65;cursor:not-allowed}@media(max-width:600px){.catan-table .dock-slot:nth-child(2) .cost-preview{right:auto;left:-30px}.catan-table .dock-slot:nth-child(4) .cost-preview{right:auto;left:0}.catan-table .discard-selection{position:static;margin-bottom:10px}}.catan-table .roll-effects{position:fixed;inset:0;z-index:30;pointer-events:none}.catan-table .board .robber-target{cursor:pointer;outline:none!important}.catan-table .board .robber-target>polygon{fill:transparent;stroke:transparent;stroke-width:5;pointer-events:all;stroke-linejoin:round}.catan-table .board .robber-target:hover>polygon,.catan-table .board .robber-target:focus-visible>polygon{fill:#fff5ce20;stroke:#fff5cf}.catan-table .board .robber-target.chosen>polygon{fill:#e7b74930;stroke:#f2c45e;stroke-width:6}.catan-table .turn-notice{position:absolute;top:12px;left:12px;z-index:9;display:flex;align-items:center;gap:10px;background:#173642ee;color:#fff4d7;border:2px solid var(--player);border-radius:12px;padding:12px 16px;pointer-events:none;box-shadow:0 4px 15px #0003}.catan-table .turn-notice i{font-style:normal;background:var(--player);border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-size:21px}.catan-table .turn-notice strong{font-size:20px;display:block}.catan-table .turn-notice small{font-size:12px;display:block}.catan-table .trade-responses{display:flex;gap:8px}.catan-table .incoming-trade .trade-response{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 2px;background:transparent;border:1px solid #8b9e9e88;color:inherit;border-radius:8px}.catan-table .incoming-trade .trade-response:disabled{opacity:1;cursor:default}.catan-table .trade-response i{display:grid;place-items:center;font-style:normal;font-size:23px;font-weight:700;width:35px;height:35px;background:var(--player);border:2px solid #fff5d5;border-radius:50%;color:#fff}.catan-table .trade-response.accepted{background:#5e9b6425!important;border-color:#76aa7c!important}.catan-table .trade-response.accepted i{background:#3f8050}.catan-table .trade-response.declined i{background:#687d83}.catan-table .trade-response span{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:12px}.catan-table .trade-response small{font-size:11px}.catan-table .incoming-trade .trade-status{font-size:12px;line-height:1.4}.catan-table .player-card-total{position:relative;display:flex;flex-direction:column;align-items:center;flex:0 0 43px;padding-top:1px;color:var(--ink)}.catan-table .player-card-total .card-art{position:absolute;top:0;width:43px;height:42px;opacity:.2}.catan-table .player-card-total strong{font-size:27px;line-height:36px;z-index:1;font-variant-numeric:tabular-nums}.catan-table .player-card-total small{font-size:9px;letter-spacing:.6px}.catan-table .theft-effect{position:fixed;inset:0;z-index:35;pointer-events:none}.catan-table .theft-notice{position:absolute;bottom:320px;left:50%;transform:translate(-50%);max-width:90vw;padding:15px 20px;border:2px solid #d2975c;background:#173642;color:#fff4d7;border-radius:12px;font-size:18px;box-shadow:0 4px 20px #0004}.catan-table .theft-effect .stolen-card{animation-duration:1.3s;animation-delay:.2s}@media(max-width:600px){.catan-table .turn-notice{padding:8px;max-width:calc(100% - 24px)}.catan-table .turn-notice strong{font-size:16px}.catan-table .in-game .player-summary .player-card-total{grid-column:1 / -1;flex-direction:row;justify-content:center;gap:5px;flex:auto;width:100%}.catan-table .player-card-total .card-art{display:none;position:static;width:20px;height:28px;opacity:.7}.catan-table .player-card-total strong{font-size:22px;line-height:28px}.catan-table .player-card-total small{font-size:8px}.catan-table .theft-notice{top:100px;bottom:auto;font-size:15px}}.catan-table .dice-stage{position:absolute;left:calc(50% - 220px);top:35%;display:flex;gap:24px;perspective:700px}.catan-table .die-drop{width:58px;height:58px;animation:catan-die-bounce 1.1s both;animation-delay:var(--delay)}.catan-table .die-cube{position:relative;width:58px;height:58px;transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry));animation:catan-die-tumble 1.1s cubic-bezier(.2,.65,.3,1) both;animation-delay:var(--delay)}.catan-table .die-face{position:absolute;inset:0;background:#fff5db;border:2px solid #c7b58b;border-radius:10px;padding:9px;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;backface-visibility:hidden;box-shadow:inset 0 0 9px #ba9d5a44}.catan-table .die-face .pip{background:#244651;border-radius:50%}.catan-table .face-1{transform:translateZ(29px)}.catan-table .face-2{transform:rotateY(90deg) translateZ(29px)}.catan-table .face-3{transform:rotateX(90deg) translateZ(29px)}.catan-table .face-4{transform:rotateX(-90deg) translateZ(29px)}.catan-table .face-5{transform:rotateY(-90deg) translateZ(29px)}.catan-table .face-6{transform:rotateY(180deg) translateZ(29px)}.catan-table .roll-total{font-size:40px;color:#fff4cf;text-shadow:0 2px 6px #143846;align-self:center;margin-left:10px;animation:catan-roll-reveal 1.2s both}.catan-table .roll-caption{position:absolute;top:calc(35% + 92px);left:calc(50% - 200px);background:#163443ed;color:#fff6d5;padding:8px 18px;border-radius:20px;font-weight:700;animation:catan-roll-reveal 1.2s both}.catan-table .flying-card{position:fixed;width:40px;height:56px;margin:-28px -20px;border:2px solid #fff1cd;border-radius:5px;background:#d9d8b5;box-shadow:0 2px 10px #0005;animation:catan-resource-flight 1.45s cubic-bezier(.4,.05,.4,1) both}.catan-table .flying-card .card-art{width:100%;height:100%}.catan-table .flying-card b{position:absolute;right:0;top:0;background:#284d5e;color:#fff;font-size:13px;padding:0 3px}.catan-table .board .tile.producing>polygon{stroke:#fffbd4;stroke-width:7px;filter:drop-shadow(0 0 9px #ffe391);animation:catan-tile-production 1.2s ease-in-out 2}@keyframes catan-die-bounce{0%{transform:translate(-90px,-130px) scale(.7);opacity:0}25%{opacity:1}65%{transform:translate(5px,20px)}82%{transform:translateY(-10px)}to{transform:none}}@keyframes catan-die-tumble{0%{transform:rotateX(620deg) rotateY(520deg) rotate(140deg)}to{transform:rotateX(var(--rx)) rotateY(var(--ry))}}@keyframes catan-roll-reveal{0%,80%{opacity:0}to{opacity:1}}@keyframes catan-resource-flight{0%{transform:translate(0) scale(.35);opacity:0}18%{opacity:1;transform:translateY(-25px) scale(1)}85%{opacity:1}to{transform:translate(var(--dx),var(--dy)) scale(.6);opacity:0}}@keyframes catan-tile-production{50%{filter:drop-shadow(0 0 15px #fff0ab)}}.catan-table .roll-effects.reduced .dice-stage{display:none}.catan-table .roll-effects.reduced .roll-caption{animation:none}@media(min-width:901px)and (max-height:900px){.catan-table .in-game .player-strip{gap:6px}.catan-table .in-game .player-summary{min-height:60px;padding:6px 10px}.catan-table .in-game .player-info strong{font-size:15px;line-height:1.2}.catan-table .in-game .player-info>span{font-size:11px;line-height:1.25}.catan-table .in-game .player-info .road-length{margin-top:3px}.catan-table .in-game .player-info .awards:empty{display:none}.catan-table .in-game .turn-clock{padding:6px 10px}.catan-table .in-game .turn-clock strong{font-size:23px}.catan-table .in-game .bank-cards{padding:9px 12px}.catan-table .in-game .activity-panel .panel-heading{padding:10px 14px 8px}.catan-table .in-game .activity-panel .panel-heading p{display:none}}@media(max-width:900px){.catan-table .dice-stage{left:calc(50% - 110px)}.catan-table .roll-caption{left:calc(50% - 80px)}}@media(prefers-reduced-motion:reduce){.catan-table .board .tile.producing>polygon{animation:none}.catan-table .resource-card{transition:none}}.catan-table .event-message{min-width:0}.catan-table .event-message p{margin:0;line-height:1.9}.catan-table .event-picture{display:inline-flex;align-items:center;gap:3px;vertical-align:middle;white-space:nowrap}.catan-table .event-picture svg{width:21px;height:29px;flex:none}.catan-table .event-payout{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.catan-table .event-payout>strong{font-size:.8rem}.catan-table .event-payout .resource-bundle{gap:4px}.catan-table .event-payout .mini-resource{flex-basis:34px;width:34px;height:45px}.catan-table .event-payout .mini-resource .card-art{width:30px;height:39px}.catan-table .event-payout .mini-resource small{display:none}.catan-table .host-recovery{margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.catan-table .seat-code-row{display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px 0;border-bottom:1px solid var(--line)}.catan-table .seat-code-row strong{grid-column:1 / -1}.catan-table .seat-code-row code{align-self:center;overflow-wrap:anywhere;font-size:.82rem;min-width:0;-webkit-user-select:all;user-select:all}.catan-table .finished-summary{display:flex;align-items:center;justify-content:center;gap:24px;padding:18px;flex-wrap:wrap}.catan-table .winner-dialog{width:min(560px,calc(100vw - 24px))}.catan-table .winner-celebration{text-align:center;padding:16px;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--winner-color) 14%,transparent),transparent 70%)}.catan-table .winner-celebration>svg{width:82px;height:104px;transform:rotate(-7deg)}.catan-table .winner-celebration>p{margin:10px 0 4px}.catan-table .winner-celebration h3{color:var(--winner-color);font-size:2.5rem;margin:0}.catan-table .winning-score{display:block;font:3.7rem Georgia,serif;margin:8px 0 20px}.catan-table .winning-score span{display:block;font:.9rem system-ui,sans-serif}.catan-table .winner-record{display:flex;gap:20px;justify-content:center;flex-wrap:wrap}.catan-table .winner-record span{display:inline-flex;align-items:center;gap:6px;font-size:.9rem}.catan-table .winner-record svg{width:25px;height:34px}.catan-table .winner-actions{justify-content:center}.catan-table .winner-dialog>.fine-print{text-align:center}.catan-table .host-account-link{text-decoration:none;white-space:nowrap}.catan-table .host-signin{padding:20px 0}.catan-table .host-signin .primary{display:inline-flex;text-decoration:none}.catan-table .host-dashboard{margin:24px 0}.catan-table .classic-layout-choice{max-width:620px;margin:16px 0}.catan-table .classic-layout-choice span{color:var(--muted);font-size:13px;line-height:1.5;margin-top:6px}.catan-table .map-choice .map-facts{font-size:12px;font-weight:700;color:var(--muted)}.catan-table .host-table-list{max-height:440px;overflow-y:auto;display:grid;gap:12px;padding-right:6px}.catan-table .host-table-row{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.catan-table .host-table-row h3,.catan-table .host-table-row p{margin:0 0 4px}.catan-table .host-table-row .button-row{margin-top:12px}.catan-table .host-table-row small{overflow-wrap:anywhere}.catan-table .host-table-filters{margin:12px 0 16px;flex-wrap:wrap}.catan-table .archived-table-message{max-width:620px;margin:12vh auto;padding:24px}.catan-table .archived-table-message .primary{display:inline-block;margin-top:16px}.catan-table{--ink: #20363c;border:1px solid var(--line);border-radius:12px;overflow:hidden;font-family:Segoe UI,system-ui,sans-serif}.catan-rules :is(input,select,option,optgroup),.catan-table :is(select,option,optgroup){color:var(--ink);background-color:var(--paper)}.catan-rules label{color:var(--ink)}.catan-rules>p{grid-column:1 / -1;color:var(--muted);line-height:1.5}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]){--ink: #e2eae5;color-scheme:dark}:is([data-theme=dark] .catan-rules,.catan-rules[data-theme=dark]),:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(input,select,option,optgroup){color-scheme:dark}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(select,option,optgroup){color:#e2eae5;background-color:#1b303b}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(label,legend,.game-log,.bank-heading strong,.hand-heading h3){color:#e2eae5}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) :is(.fine-print,.bank-heading small,.hand-heading>span,.board-tools,.turn-clock small){color:#b5c9cc}:is([data-theme=dark] .catan-table,.catan-table[data-theme=dark]) .catan-action-error{background:#4e3531;color:#ffd0bd;border-color:#ab786b}.catan-table .catan-phase-heading{padding:4px 0 10px;color:var(--navy)}.catan-table .catan-action-error{padding:10px 14px;background:#fff0e9;color:#8b3326;border:1px solid #c67354;border-radius:6px}.catan-table .game-log{overflow:auto;max-height:440px;padding:0 12px 12px;font-size:12px}.catan-table .game-log>p{padding:9px 0;border-bottom:1px solid var(--line);line-height:1.5}.catan-table .in-game .game-page{padding-top:8px}.catan-table .in-game .game-layout{min-height:560px}.catan-table .in-game .player-strip{align-self:start}.catan-table .game-topline{flex-wrap:wrap}@media(max-width:760px){.catan-table .in-game .game-layout{min-height:0}.catan-table .game-log{max-height:220px}}dialog.room-dialog.match-results{--result-accent: #986824;--result-wash: #f5e9ca;width:min(760px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;padding:clamp(20px,4vw,36px);color:#183136;background:#fbfcf8;border:1px solid #acbbb6;border-top:5px solid var(--result-accent);border-radius:16px;box-shadow:0 26px 90px #0006}dialog.match-results.game-bad-company{--result-accent: #874568;--result-wash: #f3e5ed}dialog.match-results.game-four-in-a-row{--result-accent: #3659aa;--result-wash: #e5edff}dialog.match-results.game-starfall-fleet{--result-accent: #227970;--result-wash: #ddf4ec}.match-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px}.match-results-game{font-weight:700}.match-results-stamp{color:#4b6369;white-space:nowrap}dialog.match-results h2{color:inherit;font:600 clamp(26px,4vw,40px)/1.14 Georgia,serif;margin:24px 0 10px;overflow-wrap:anywhere}.match-results-summary{color:#4b6369;font-size:14px;line-height:1.5;margin:0 0 24px}.match-results-scroll{overflow-x:auto;border:1px solid #bccbc6;border-radius:8px}.match-results-scroll:focus-visible{outline:3px solid var(--result-accent);outline-offset:3px}.match-results table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums}.match-results th,.match-results td{padding:13px 14px;text-align:right;border-bottom:1px solid #d5dfd9;white-space:nowrap}.match-results th:first-child{text-align:left;min-width:140px;white-space:normal;overflow-wrap:anywhere}.match-results thead{background:#edf1ed;color:#38565b;font-size:11px}.match-results tbody th{font-weight:650}.match-results tbody th small{display:block;margin-top:4px;font-size:11px;font-weight:500;color:#4b6369}.match-results tbody tr:last-child>*{border-bottom:0}.match-results .match-result-winner{background:var(--result-wash)}.match-results-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.match-results-footer p{margin:0;color:#4b6369;font-size:12px;line-height:1.5}.match-results-footer button{min-width:110px;min-height:46px;flex:0 0 auto}:root[data-theme=dark] dialog.room-dialog.match-results{color:#ecf3f0;background:#1b2c32;border-color:#627b80;--result-accent: #ddbc76;--result-wash: #39463c}:root[data-theme=dark] .match-results :is(.match-results-stamp,.match-results-summary,.match-results-footer p,tbody th small){color:#bbccca}:root[data-theme=dark] .match-results thead{background:#243b42;color:#d4e5e1}:root[data-theme=dark] .match-results-scroll{border-color:#607b80}:root[data-theme=dark] .match-results :is(th,td){border-bottom-color:#405b60}@media(max-width:520px){dialog.room-dialog.match-results{padding:20px 16px;width:calc(100% - 20px)}.match-results th,.match-results td{padding:11px 10px}.match-results th:first-child{min-width:110px}.match-results-footer{gap:12px}}.app .room-main.room-lobby,.app .room-main.room-immersive{width:calc(100% - 48px);max-width:1680px;margin-inline:auto}.app .room-main.room-lobby{padding-top:24px}.app .room-main.room-immersive{width:calc(100% - 24px);max-width:none;padding-top:8px;padding-bottom:8px}.app:has(.room-immersive) .site-header{height:52px;min-height:52px;padding:6px 20px;max-width:none}.app:has(.room-immersive) .brand svg{width:28px;height:28px}.app:has(.room-immersive) .brand{font-size:17px}.app:has(.room-immersive) .brand small,.app:has(.room-immersive) .local-label,.app:has(.room-immersive) .site-footer{display:none}.app:has(.room-immersive) .header-actions{gap:10px}.play-session-toolbar{display:flex;align-items:center;gap:8px;min-height:42px;margin-bottom:8px}.play-session-toolbar button{padding:9px 16px;font-size:13px;min-height:40px}.session-connection{font-size:12px;color:var(--muted);margin-left:auto}.app .room-main .room-heading[hidden],.app .room-main .room-tabs[hidden],.app .room-main .game-stage[hidden]{display:none}.app .room-main .room-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:8px 0;margin:16px 0;border-block:1px solid var(--line);position:static}.app .room-main .room-tabs button{padding:12px 18px;min-height:44px;line-height:1.3;border:0;border-radius:6px;font-size:13px}.app .room-main .room-tabs button.active{background:var(--teal);color:var(--paper)}.app .room-main .room-tabs button:focus-visible{outline-offset:-3px}.game-stage{min-width:0}.game-stage>*{width:100%}.app .room-main .table-toolbar{padding:12px 0;margin:0}.app .room-main .room-heading{padding:8px 0 16px;margin-bottom:8px}@media(min-width:1100px){.room-lobby .lobby-grid{grid-template-columns:minmax(360px,1fr) minmax(0,1.4fr)}}@media(max-width:700px){.app .room-main.room-lobby{width:calc(100% - 24px)!important}.app .room-main.room-immersive{width:calc(100% - 12px);padding-bottom:4px}.app:has(.room-immersive) .site-header{padding-inline:12px}.app:has(.room-immersive) .brand{font-size:14px}.app:has(.room-immersive) .header-actions{width:auto}.app .room-main .room-tabs{gap:4px}.app .room-main .room-tabs button{padding:10px 12px}.app .room-main .room-heading{gap:12px}.play-session-toolbar{margin-bottom:4px}.session-connection{max-width:160px;text-align:right}}.library-home{max-width:1480px;padding:24px 32px 40px;margin:0 auto}.player-account-trigger{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}a.player-account-trigger{display:inline-block;padding:9px 12px;text-decoration:none;border-radius:7px}@media(max-width:760px){.site-header:has(.player-account-trigger){height:auto;min-height:72px;flex-wrap:wrap;padding-block:12px;gap:6px}.site-header:has(.player-account-trigger) .header-actions{width:100%;justify-content:flex-end;gap:10px}}.library-home .library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.library-heading h1{font-size:32px;letter-spacing:-.7px}.library-heading p{color:var(--muted);font-size:13px;margin-top:4px}.library-heading-actions{display:flex;align-items:end;gap:12px}.library-heading-actions .join-inline{margin:0}.library-heading-actions .join-inline label{font-size:12px}.library-heading-actions .join-inline input{width:210px}.library-heading-actions>button{min-height:41px}.library-home .home-tabs{margin-bottom:0;gap:8px}.library-home .home-tabs button{padding:11px 15px}.library-home .rooms-section,.library-home>.history-section{padding-top:24px}.library-layout{display:grid;grid-template-columns:205px minmax(0,1fr);border:1px solid var(--line);border-top:0;min-height:600px;border-radius:0 0 10px 10px;overflow:clip;background:var(--paper)}.library-sidebar{padding:22px 12px;background:var(--wash);border-right:1px solid var(--line)}.library-sidebar h2{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:0 9px;font:650 12px Segoe UI,sans-serif;text-transform:uppercase;letter-spacing:.07em;color:var(--muted)}.library-sidebar h2 span{font-size:11px}.library-game-list{display:grid;gap:4px;margin-top:12px}.library-game-list button{display:flex;gap:11px;align-items:center;text-align:left;padding:10px 9px;background:transparent;border-color:transparent;font-size:13px}.library-game-list button[aria-pressed=true]{background:var(--paper);border-color:var(--line);box-shadow:0 3px 8px #00000008}.library-game-list small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:3px}.game-spine{width:7px;height:29px;border-radius:2px;flex-shrink:0;background:#c89540}.spine-bad-company{background:#a83b45}.spine-four-in-a-row{background:#4477cb}.spine-starfall-fleet{background:#8a79c5}.library-rooms{margin-top:30px;border-top:1px solid var(--line);padding-top:18px}.library-rooms>p{font-size:12px;color:var(--muted);padding:12px 9px;line-height:1.6}.library-rooms>button{width:100%;margin-top:9px;font-size:12px}.library-rooms>button:not(.primary){text-align:left;background:transparent;padding:9px}.library-rooms strong{display:block;overflow-wrap:anywhere}.library-rooms small{display:block;font-weight:400;color:var(--muted);margin-top:4px;font-size:11px}.library-planned{margin:22px 8px 0;color:var(--muted)}.library-planned summary{font-size:12px}.library-planned p{font-size:12px;color:var(--ink);margin:10px 0 14px}.library-planned small{display:block;font-size:11px;color:var(--muted)}.library-content{min-width:0;padding:22px 24px 24px}.library-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.library-section-heading h2{font-size:22px;letter-spacing:-.4px}.library-section-heading h2 span{font:600 12px Segoe UI,sans-serif;color:var(--muted);margin-left:7px}.library-section-heading p{font-size:12px;color:var(--muted);margin-top:4px}.library-search{width:260px;max-width:50%}.library-search input{width:100%;font-size:12px;padding:10px}.library-covers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.library-cover{display:flex;flex-direction:column;text-align:left;background:transparent;padding:0 0 10px;border:0;border-radius:5px;min-width:0;position:relative;transition:transform .18s ease}.library-cover:hover:enabled{transform:translateY(-3px);filter:none}.library-cover>.game-cover{width:100%;overflow:hidden;border-radius:5px;box-shadow:0 7px 14px #0002;margin-bottom:12px}.library-cover.selected>.game-cover{outline:3px solid var(--gold);outline-offset:3px}.library-cover-title{font-size:clamp(13px,1.2vw,17px);line-height:1.3;font-weight:750}.library-inspiration{font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px;font-weight:400}.library-inspiration strong{color:var(--ink);font-weight:650}.library-cover-meta{font-size:11px;color:var(--muted);margin-top:7px;font-weight:400}.library-detail{display:grid;grid-template-columns:108px minmax(0,1fr) 190px;gap:20px;margin-top:20px;padding:20px 0;border-block:1px solid var(--line)}.library-detail-art{min-width:0;display:flex;align-items:start}.library-detail-art .game-cover{width:100%;border-radius:5px;overflow:hidden}.library-detail-copy{min-width:0}.library-detail-copy h2{font-size:28px;margin:2px 0 3px}.library-detail-copy>.eyebrow{font-size:10px}.library-detail-copy>p:not(.eyebrow){font-size:13px;line-height:1.65}.library-detail-copy .library-detail-inspiration{font-size:12px;margin-bottom:10px;color:var(--muted)}.library-detail-inspiration strong{color:var(--ink)}.library-features{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:12px 0 0;gap:6px}.library-features li{font-size:10px;font-weight:650;padding:4px 7px;border-radius:4px;background:var(--wash)}.library-game-tools{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:9px;padding-left:18px;border-left:1px solid var(--line)}.library-game-tools>p{font-size:11px;color:var(--muted);line-height:1.6}.library-game-tools>strong{font-size:13px}.library-game-tools>.eyebrow{font-size:10px}.library-game-tools button{font-size:12px;padding:10px 8px}.library-game-tools .skin-picker{display:grid;gap:6px}.library-game-tools .skin-picker select{max-width:100%;width:100%}.library-night-note{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-top:17px}.library-night-note span{color:var(--muted);font-size:12px;line-height:1.65}.library-night-note strong{color:var(--ink);display:block}.library-night-note button{flex-shrink:0;font-size:12px}.library-no-results{padding:28px 12px;border:1px dashed var(--line);display:grid;gap:12px;justify-items:start}.library-workshop .deck-workshop{margin-top:10px}@media(min-width:1600px){.library-cover>.game-cover{max-height:305px}}@media(max-width:1100px){.library-home{padding-inline:22px}.library-layout{grid-template-columns:180px minmax(0,1fr)}.library-content{padding-inline:20px}.library-covers{gap:13px}.library-detail{grid-template-columns:80px minmax(0,1fr);gap:15px}.library-game-tools{grid-column:2;border-left:0;padding-left:0;align-items:start}.library-game-tools .skin-picker{display:flex}.library-game-tools>p{max-width:320px}}@media(max-width:760px){.library-home{padding:18px 16px 32px}.library-home .library-heading{align-items:start;flex-direction:column;gap:15px}.library-heading h1{font-size:30px}.library-heading-actions{width:100%;flex-wrap:wrap}.library-heading-actions .join-inline{flex:1}.library-heading-actions .join-inline input{width:100%}.library-layout{display:block}.library-sidebar{display:none}.library-content{padding:19px 16px}.library-covers{gap:15px 13px;grid-template-columns:repeat(2,minmax(0,1fr))}.library-section-heading{align-items:start}.library-search{max-width:54%}.library-section-heading h2{font-size:20px}.library-cover-title{font-size:14px}.library-detail{grid-template-columns:minmax(0,1fr)}.library-detail-art{display:none}.library-game-tools{grid-column:1;padding-top:14px;border-top:1px solid var(--line)}.library-detail-copy h2{font-size:27px}.library-night-note{flex-direction:column;align-items:start;gap:12px}.library-night-note button{width:100%}.library-home .home-tabs{gap:0}.library-home .home-tabs button{font-size:12px;padding:11px 10px}}@media(prefers-reduced-motion:reduce){.library-cover{transition:none}.library-cover:hover:enabled{transform:none}}.public-scoreboard{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.scoreboard-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.scoreboard-heading h2{font-size:25px}.scoreboard-heading .eyebrow{font-size:10px}.scoreboard-heading p:not(.eyebrow){font-size:12px;color:var(--muted);margin-top:5px}.scoreboard-options{display:grid;gap:10px;justify-items:end}.scoreboard-options select{font-size:12px;max-width:230px}.scoreboard-bots{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.scoreboard-scroll{max-width:100%;overflow-x:auto}.public-scoreboard table{width:100%;border-collapse:collapse;font-size:13px}.public-scoreboard th,.public-scoreboard td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:right}.public-scoreboard th:first-child{text-align:left}.public-scoreboard thead th{color:var(--muted);font-size:11px;font-weight:600}.public-scoreboard tbody button{padding:0;border:0;background:none;text-align:left;border-radius:2px;font-size:13px}.public-scoreboard tbody button:hover{text-decoration:underline}.public-scoreboard tbody small{display:block;font-weight:400;font-size:10px;color:var(--muted);margin-top:3px}.scoreboard-empty{padding:24px 18px;background:var(--wash);border-radius:6px}.scoreboard-empty p{font-size:14px}.scoreboard-empty small{color:var(--muted)}.scoreboard-footnote{font-size:11px;color:var(--muted);line-height:1.6;margin-top:12px}.scoreboard-record{background:var(--wash);padding:10px 14px;font-size:13px;margin-bottom:12px;border-left:3px solid var(--gold)}.player-game-record{padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}.player-game-record h3{font-size:21px;margin-bottom:6px}.player-game-record p{font-size:13px}.player-game-record small{color:var(--muted)}.game-page>.back-link{display:inline-block;margin-bottom:20px}.game-page-intro{display:grid;grid-template-columns:190px minmax(0,1fr);gap:32px;align-items:center;padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.game-page-cover{min-width:0;border-radius:6px;overflow:hidden}.game-page-copy{max-width:800px}.game-page-copy h1{margin-block:4px 6px}.game-page-inspired{color:var(--muted);font-size:15px;margin-bottom:18px}.game-page-inspired strong{color:var(--ink)}.game-page-copy>p{line-height:1.65}.game-page-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}.game-page-copy .game-page-note{font-size:12px;color:var(--muted);margin-top:10px}.game-page>.public-scoreboard{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:22px 24px}@media(max-width:760px){.scoreboard-heading{align-items:start;flex-direction:column}.scoreboard-options{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%;align-items:center}.public-scoreboard th,.public-scoreboard td{padding:10px 6px}.public-scoreboard table{font-size:12px}.game-page-intro{grid-template-columns:70px minmax(0,1fr);padding:16px;gap:16px;align-items:start}.game-page-copy>p:not(.eyebrow):not(.game-page-inspired),.game-page-copy>ul,.game-page-actions{margin-left:-86px}.game-page-copy>h1{font-size:28px}.game-page-inspired{font-size:13px;margin-bottom:26px}.game-page>.public-scoreboard{padding:20px 14px}.game-page-copy .game-page-note{margin-top:14px}}.personal-stats-trigger{display:inline-grid;place-items:center;flex:0 0 auto}dialog.room-dialog.personal-stats-dialog{width:min(580px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;padding:26px;background:#fbfcf8;color:#183136;border:1px solid #a7bcb7;border-radius:14px}.personal-stats-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.personal-stats-heading>div{min-width:0}.personal-stats-heading>div>span{color:#4b666a;font-size:12px}.personal-stats-heading h2{margin:7px 0 0;color:inherit;font:600 29px/1.2 Georgia,serif;overflow-wrap:anywhere}.personal-stats-heading>button{flex:0 0 auto}.personal-stats-identity,.personal-stats-first,.personal-stats-empty p{font-size:13px;line-height:1.6;color:#4b666a}.personal-stats-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#c3d0cb;border:1px solid #c3d0cb;border-radius:8px;overflow:hidden;margin:22px 0}.personal-stats-totals>div{background:#eef3ee;padding:16px}.personal-stats-totals dt{color:#4b666a;font-size:12px}.personal-stats-totals dd{color:#183136;margin:4px 0 0;font:600 30px/1.1 Georgia,serif}.personal-stats-games{border-top:1px solid #c3d0cb}.personal-stats-games article{padding:15px 0;border-bottom:1px solid #c3d0cb}.personal-game-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.personal-game-heading h3{margin:0;font-size:16px;color:inherit}.personal-game-heading>span{white-space:nowrap;font-size:12px;color:#4b666a}.personal-stats-games article p{margin:6px 0 0;font-size:12px;color:#4b666a;line-height:1.5}.personal-stats-games article .personal-game-best{color:#294c52}.personal-stats-footer{display:flex;justify-content:flex-end;margin-top:22px}.personal-stats-footer>button{min-width:100px;min-height:44px}:root[data-theme=dark] dialog.room-dialog.personal-stats-dialog{background:#1b2c32;color:#ecf3f0;border-color:#627b80}:root[data-theme=dark] .personal-stats-dialog :is(.personal-stats-heading>div>span,.personal-stats-identity,.personal-stats-first,.personal-stats-empty p,.personal-stats-totals dt,.personal-game-heading>span,.personal-stats-games article p){color:#bfd0ce}:root[data-theme=dark] .personal-stats-dialog .personal-stats-totals{background:#516a70;border-color:#516a70}:root[data-theme=dark] .personal-stats-dialog .personal-stats-totals>div{background:#243c42}:root[data-theme=dark] .personal-stats-dialog .personal-stats-totals dd{color:#edf5f0}:root[data-theme=dark] .personal-stats-dialog :is(.personal-stats-games,.personal-stats-games article){border-color:#516a70}:root[data-theme=dark] .personal-stats-dialog .personal-stats-games article .personal-game-best{color:#dfd3a8}@media(max-width:520px){dialog.room-dialog.personal-stats-dialog{padding:20px 16px}.personal-stats-totals>div{padding:13px}}@media(max-width:760px){.app:has(.room-immersive) .site-header:has(.player-account-trigger){height:52px;min-height:52px;flex-wrap:nowrap;gap:10px;padding-block:6px}.app:has(.room-immersive) .site-header:has(.player-account-trigger) .brand{flex:0 0 28px}.app:has(.room-immersive) .site-header:has(.player-account-trigger) .brand>span{display:none}.app:has(.room-immersive) .site-header:has(.player-account-trigger) .header-actions{flex:1;min-width:0;width:auto;justify-content:flex-end;gap:8px}.app:has(.room-immersive) .site-header .player-account-trigger{flex:0 1 160px;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app:has(.room-immersive) .site-header .header-actions>.icon-button{flex:0 0 36px;width:36px;height:40px}}:root[data-theme=dark] .rules,:root[data-theme=dark] .rules legend,:root[data-theme=dark] .rules .rules-toggle-title{color:#eef4f1}:root[data-theme=dark] .rules :is(.rules-intro,.rules-field p,.rules-toggle-help){color:#bacbc6}:root[data-theme=dark] .rules .rules-toggle{border-color:#627b7d}:root[data-theme=dark] .rules .rules-inactive{opacity:1}:root[data-theme=dark]{color-scheme:dark;--dark-field: #223438;--dark-field-ink: #eef4f1;--dark-field-line: #627b7d}:root[data-theme=dark] :is(input,select,textarea,option,optgroup){color-scheme:dark;color:var(--dark-field-ink);background-color:var(--dark-field);border-color:var(--dark-field-line)}:root[data-theme=dark] :is(input,textarea)::placeholder{color:#b2c3c3;opacity:1}:root[data-theme=dark] :is(input,select,textarea):disabled{color:#b4c4c3;background-color:#293b40;border-color:#566b70;opacity:1}:root[data-theme=dark] input:is([type=checkbox],[type=radio],[type=range]){accent-color:#b3d6c8}:root[data-theme=dark] :is(input,select,textarea,button,a,summary):focus-visible{outline-color:#f0cc83}:root[data-theme=dark] .danger{color:#ffc0b6;border-color:#b47770}:root[data-theme=dark] :is(.error,.last-light-game .ll-choice-error,.room-plan-error){background:#4c3031;color:#ffe1d8;border-color:#b47a72}:root[data-theme=dark] .error button{color:inherit}:root[data-theme=dark] :is(.deck-draft-badge,.deck-library-item .deck-draft-badge){color:#e4b5d0}:root[data-theme=dark] .deck-library-item.selected{border-color:#d4a3bf;box-shadow:inset 3px 0 #d4a3bf}:root[data-theme=dark] :is(.deck-draft-status,.deck-preview,.deck-format-help){border-color:#856a80}:root[data-theme=dark] :is(.library-sidebar,.room-plan,.workshop,.public-scoreboard){--muted: #b8c9c5}:root[data-theme=dark] .party-table{background:#292127;border-color:#98758a;color:#f2e8d8}:root[data-theme=dark] .party-table :is(.party-masthead h2,.party-section-title h3){color:#f2e8d8}:root[data-theme=dark] .party-table .party-masthead h2>span{color:#e6b88c}:root[data-theme=dark] .party-table :is(.party-point-receipt,.party-seal){color:#ffe18d}:root[data-theme=dark] .party-table :is(.party-masthead,.party-entry,.party-next,.party-seal,.party-event-log){border-color:#98758a}:root[data-theme=dark] .party-table .party-players li{background:#3b2b36;color:#f2e8d8;border-color:#98758a}:root[data-theme=dark] .party-table .party-players li.is-judge{background:#6f3a56}:root[data-theme=dark] .party-table :is(.party-status,.party-entry)>.party-button.quiet,:root[data-theme=dark] .party-table .party-status .party-button.quiet{color:#fff8ea;border-color:#bf9db0}:root[data-theme=dark] .party-table .party-entry.is-chosen{border-color:#dfbe52}:root[data-theme=dark] .party-table .party-entry.is-winner{background:#514329;border-color:#dfbe52}:root[data-theme=dark] .party-table :is(.party-hand-help,.party-submitted>p,.party-round>span){color:#d6c8d0;opacity:1}:root[data-theme=dark] .party-rules{color:#f2e8ef}:root[data-theme=dark] .party-rules>legend{color:#f0c5db}:root[data-theme=dark] .party-rules .party-rule-note{color:#cfbdc8;opacity:1}:root[data-theme=dark] .party-rules .party-pack{color:#f2e8ef;background:#352b35;border-color:#8d7184}:root[data-theme=dark] .party-rules .party-pack.is-selected{background:#4a3347;border-color:#d3a4bf}:root[data-theme=dark] .party-rules .party-rule-field select{color:var(--dark-field-ink);background:var(--dark-field);border-color:var(--dark-field-line)}:root[data-theme=dark] .party-table :is(.party-confirm,.party-confirm-dialog,.party-hand-dock,.party-gallery-dock){color:#32232c}:root[data-theme=dark] .four-table{background:#152842;color:#e5edf8;border-color:#637fa3}:root[data-theme=dark] .four-table :is(.eyebrow,h2 span){color:#adc9ff}:root[data-theme=dark] .four-table button{background:#243d5d;color:#e5edf8;border-color:#7a94b7}:root[data-theme=dark] .four-table .four-player.playing{background:#26446c;border-color:#adc9ff}:root[data-theme=dark] .four-table .four-player>span{color:#ff9787}:root[data-theme=dark] .four-table .four-player.player-1>span{color:#f4ce69}:root[data-theme=dark] .four-table .four-touch-controls select{background:#243d5d;color:#e5edf8;border-color:#7a94b7}:root[data-theme=dark] .four-table .four-board-details table{background:#203550;color:#e5edf8}:root[data-theme=dark] .four-table .four-board-details :is(th,td){border-color:#7a94b7}:root[data-theme=dark] .four-table .four-action-error{background:#4c3031;color:#ffe1d8;border-color:#b47a72}:root[data-theme=dark] .fleet-table :is(select,option,optgroup){background:#252c50;color:#e8f2fb;border-color:#81cfbf;color-scheme:dark}:root[data-theme=dark] .fleet-table select:disabled{background:#252c50;color:#c1cbe0;opacity:1}:root{font-family:Segoe UI,system-ui,sans-serif;color:#233b3d;background:#f4f2e9;font-synthesis:none;--ink: #233b3d;--muted: #697773;--paper: #fffdf5;--base: #f4f2e9;--line: #d9ded3;--teal: #245452;--gold: #dab269;--wash: #e9eee5;--shadow: 0 14px 45px #243b3c12;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--ink: #ecf0e4;--muted: #a9bbb7;--paper: #23383b;--base: #172b2e;--line: #415455;--teal: #9bc4b8;--wash: #2d4446;--shadow: 0 14px 45px #0002;color:var(--ink);background:var(--base)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{border:1px solid var(--line);background:var(--paper);color:var(--ink);padding:10px 16px;border-radius:8px;font-size:14px;font-weight:650;cursor:pointer;transition:background .15s,transform .15s}button:hover:enabled{filter:brightness(.96)}button:disabled{opacity:.48;cursor:not-allowed}button:active:enabled{filter:brightness(.92)}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #c89540;outline-offset:3px}input,select,textarea{min-width:0;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);padding:10px 12px;max-width:100%}input[type=checkbox]{width:18px;height:18px;accent-color:#397562;flex-shrink:0}input[type=range]{padding:0}label{display:grid;gap:7px;font-size:14px;font-weight:600}form label+label{margin-top:16px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,Times New Roman,serif;font-weight:500}h1{font-size:clamp(30px,3.3vw,43px);letter-spacing:-1.2px;line-height:1.15}h2{font-size:29px;letter-spacing:-.6px}h3{font-size:21px}p{line-height:1.6}small{font-size:12px}details summary{cursor:pointer;font-size:14px;font-weight:650;padding:12px 0}details p{margin-bottom:10px}details input{width:100%}.primary{background:#285754;color:#fffdf5;border-color:#285754}.secondary{background:var(--paper);border:1px solid var(--line)}.gold-button{background:#dfb66b;color:#273a37;border:1px solid #dfb66b;font-size:15px;padding:13px 20px}.gold-button span{margin-left:30px}.wide{width:100%}.text-button{border:none;background:transparent;padding:8px 0;color:var(--teal)}.danger{color:#b3413f;border-color:#c98176}.muted{color:var(--muted);font-size:14px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;font-family:Segoe UI,sans-serif;line-height:1.8}.gold{color:#e8c987}.badge{background:var(--wash);padding:5px 9px;border-radius:20px;font-size:12px}.fine-print{font-size:12px;color:var(--muted);line-height:1.65}.empty-note{color:var(--muted);padding:25px 0;font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.inline-check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500}.inline-form{display:flex;gap:8px;margin:18px 0}.inline-form input{flex:1}.control-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.error{background:#fff0e9;color:#913e30;border:1px solid #e4b9a8;border-radius:8px;padding:13px 16px;display:flex;justify-content:space-between;gap:14px;margin:14px 0;font-size:14px}.error button{border:0;background:transparent;color:inherit;padding:0 5px}.notice{padding:12px 18px;background:var(--wash);border:1px solid var(--line);border-radius:9px;margin-bottom:15px;font-size:14px}.site-header{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 max(28px,calc((100vw - 1270px)/2));position:relative;gap:15px}.brand{display:flex;align-items:center;text-decoration:none;gap:12px}.brand svg{width:40px;height:40px;color:var(--teal)}.brand>span{font:22px Georgia,serif;letter-spacing:-.4px}.brand small{display:block;font:11px Segoe UI,sans-serif;letter-spacing:.5px;color:var(--muted);margin-top:5px}.header-actions{display:flex;gap:8px;align-items:center}.local-label{font-size:11px;color:var(--muted);margin-right:18px}.local-label i{display:inline-block;width:6px;height:6px;background:#648565;border-radius:50%;margin-right:7px}.icon-button{font-size:22px;width:37px;height:37px;border:0;background:transparent;padding:0;font-family:Georgia,serif}.sound-popover{position:absolute;right:30px;top:72px;background:var(--paper);padding:20px;z-index:30;box-shadow:var(--shadow);border:1px solid var(--line);border-radius:12px;display:grid;gap:10px;min-width:230px}.home-main,.room-main{max-width:1270px;margin:auto;padding:38px 28px 60px;min-height:calc(100svh - 143px)}.welcome-line{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:36px}.welcome-line h1{margin:5px 0 9px}.join-inline label{font-size:12px;color:var(--muted);margin-bottom:8px;font-weight:500}.join-inline>div{display:flex;gap:7px}.join-inline input{width:190px;font-size:13px}.join-inline button{white-space:nowrap}.home-tabs{display:flex;gap:29px;border-bottom:1px solid var(--line);margin-bottom:26px;align-items:center}.home-tabs button,.room-tabs button{border:0;border-radius:0;background:transparent;color:var(--muted);padding:0 0 14px;font-size:14px;border-bottom:2px solid transparent}.home-tabs button.active,.room-tabs button.active{color:var(--ink);border-color:var(--teal)}.home-tabs button span{background:var(--wash);padding:2px 7px;border-radius:9px;margin-left:7px;font-size:10px}.shelf-note{margin-left:auto;font:italic 14px Georgia,serif;color:var(--muted)}.featured-game{min-height:402px;background:#214f4d;color:#fff9e9;border-radius:15px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;position:relative}.feature-copy{padding:39px 45px;z-index:1}.feature-copy h2{font-size:60px;line-height:1.1;letter-spacing:-2px;margin:11px 0 14px}.title-star{color:#ddb570;font-size:22px;margin-left:20px;vertical-align:middle}.feature-description{font:23px/1.3 Georgia,serif;color:#ede9d7}.feature-detail{font-size:13px;color:#ccdad0;max-width:325px;margin-top:14px;line-height:1.65}.game-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:#e5ead9;margin:21px 0}.game-meta span+span:before{content:"·";margin-right:16px;color:#dab269}.feature-note{font-size:11px;color:#b5ccc0;margin-top:10px}.feature-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:350px;isolation:isolate;background:radial-gradient(ellipse at 50% 45%,#53837760,transparent 70%)}.card-fan{position:relative;height:270px;width:310px;transform:rotate(6deg);margin-top:-12px}.card-fan>.playing-card{position:absolute;--card-width: 139px;transform-origin:50% 110%;filter:drop-shadow(0 10px 10px #08252640)}.card-fan>.playing-card:nth-child(1){left:16px;top:25px;transform:rotate(-27deg)}.card-fan>.playing-card:nth-child(2){left:83px;top:13px;transform:rotate(-9deg)}.card-fan>.playing-card:nth-child(3){left:148px;top:19px;transform:rotate(10deg)}.card-fan>.playing-card:nth-child(4){left:202px;top:38px;transform:rotate(27deg)}.orbit{position:absolute;border:1px solid #abc7ac25;border-radius:50%;z-index:-1}.orbit-one{width:390px;height:390px}.orbit-two{width:450px;height:450px}.art-star{position:absolute;color:#d7b66f;font-size:30px}.star-one{top:35px;right:50px}.star-two{bottom:95px;left:20px;font-size:37px}.art-caption{position:absolute;bottom:31px;text-align:center;color:#d4dac2;font-size:9px;letter-spacing:2px;display:grid;gap:7px}.art-caption span+span{font:italic 13px Georgia,serif;letter-spacing:0;color:#b7cbbd}.shelf-section{margin-top:31px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.section-heading h2{font-size:25px}.section-heading>p{font-size:12px;color:var(--muted)}.future-shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.future-game{display:flex;align-items:center;gap:17px;padding:20px;border:1px solid var(--line);border-radius:11px;background:var(--paper);min-height:117px}.future-game small{text-transform:uppercase;font-size:8px;letter-spacing:1.5px;color:var(--muted)}.future-game h3{font-size:19px;margin:5px 0}.future-game p{font-size:11px;color:var(--muted)}.shelf-icon{width:44px;height:57px;border:1px solid var(--line);background:var(--wash);display:grid;place-items:center;font:30px Georgia,serif;flex-shrink:0;border-radius:6px;color:var(--teal)}.site-footer{border-top:1px solid var(--line);margin:auto;max-width:1214px;padding:19px 0;display:flex;justify-content:space-between;color:var(--muted);font-size:11px;gap:15px}.site-footer>span:first-child{font-style:italic;font-family:Georgia,serif;font-size:13px}.panel{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:27px;box-shadow:0 4px 16px #243b3c03}.panel>h2,.panel>h3{margin-bottom:10px}.empty{border:1px dashed var(--line);border-radius:13px;text-align:center;padding:55px 25px;background:var(--paper)}.empty h3{font-size:26px}.empty p{color:var(--muted);margin:14px 0 22px}.empty button+button{margin-left:10px}.modal-backdrop{position:fixed;inset:0;background:#102528a8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px;z-index:100;overflow-y:auto}.modal{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:33px;width:100%;max-width:450px;position:relative;max-height:calc(100svh - 44px);overflow-y:auto;box-shadow:0 25px 100px #0003}.modal h2{margin:8px 0 14px;font-size:32px}.modal form{margin-top:24px}.modal form>.primary{margin-top:23px}.modal-close{position:absolute;right:15px;top:11px;font-size:26px;font-weight:400;background:transparent;border:0;padding:4px 8px}.modal>label{margin-top:15px}.segmented{display:flex;gap:5px;background:var(--wash);border-radius:9px;width:fit-content;padding:4px;margin-bottom:20px}.segmented button{border:0;background:transparent}.segmented .active{background:var(--paper)}.room-list{display:grid;gap:12px}.room-list article{display:flex;align-items:center;gap:22px;background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:22px}.room-symbol{font:30px Georgia,serif;color:var(--teal)}.room-list-main{flex:1}.room-list-main p{font-size:13px;color:var(--muted);margin-top:4px}.history-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:23px}.member-list{margin:15px 0}.member-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:15px 0}.avatar{display:flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;background:#d6e2d1;color:#274b42;font-family:Georgia,serif;font-size:18px}.avatar-1{background:#e5cdad;color:#664a34}.avatar-2{background:#cbdce9;color:#365970}.avatar-3{background:#e3cbd0;color:#6e434c}.member-row strong{font-size:14px}.member-row small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.win-rate{margin-left:auto;text-align:right;font:24px Georgia,serif}.win-rate small{font:10px Segoe UI,sans-serif}.result-entry{padding:21px 0;border-bottom:1px solid var(--line)}.result-entry:last-child{border-bottom:0}.result-heading{display:flex;justify-content:space-between;gap:10px;font-size:14px}.result-heading time{color:var(--muted);font-size:11px;white-space:nowrap}.result-entry p,.result-rules{font-size:12px;color:var(--muted);margin-top:5px}.result-rules{font-size:11px}.attribution{display:flex;align-items:center;justify-content:space-between;margin:7px 0;gap:14px}.attribution span{font-size:12px}.attribution select{font-size:12px;max-width:190px}.room-main{padding-top:24px}.room-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:22px}.back-link{font-size:11px;color:var(--muted);text-decoration:none}.room-heading h1{font-size:31px;margin:9px 0}.room-heading p{font-size:12px;color:var(--muted)}.connection-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c69049;margin-right:6px}.connection-dot.online{background:#52856b}.middot{margin:0 10px}.invite-controls{display:flex;gap:6px;align-items:center}.invite-controls input{width:215px;font-size:11px;color:var(--muted)}.room-tabs{display:flex;gap:27px;border-bottom:1px solid var(--line);margin-bottom:24px}.room-tabs button{font-size:13px}.join-panel{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-bottom:24px}.join-panel h2{margin:4px 0 10px}.join-panel .inline-form{margin-top:0}.join-panel details summary{padding:6px 0}.lobby-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);gap:22px}.people-panel>.muted{font-size:12px}.seat-list{margin:14px 0 20px}.seat-row{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);padding:16px 0}.seat-name{flex:1;min-width:0}.seat-name strong{font-size:13px;display:block;overflow-wrap:anywhere}.seat-name small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.seat-name select{font-size:10px;padding:4px 7px;margin-top:7px;max-width:165px}.ready-label{font-size:10px;white-space:nowrap;color:var(--muted)}.ready-label.yes{color:var(--teal)}.remove-seat{border:0;background:transparent;padding:3px 5px;font-size:19px;color:var(--muted)}.bot-adder{display:flex;gap:8px}.bot-adder select{flex:1;font-size:13px}.lobby-start{margin-top:25px;display:grid;gap:11px}.lobby-start .fine-print{text-align:center}.rules-panel{padding:24px 28px}.chat-panel{max-width:800px;margin:auto}.chat-messages{height:350px;overflow:auto;padding:18px 0}.chat-messages>div{display:flex;gap:12px;margin:0 0 23px}.chat-messages strong{font-size:12px}.chat-messages p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}.chat-messages time{font-size:10px;color:var(--muted);margin-left:auto;white-space:nowrap}.controls-panel>details{padding:12px 0;border-bottom:1px solid var(--line)}.game-status{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 18px}.game-status h2{font-family:Segoe UI,sans-serif;font-size:17px;font-weight:600;letter-spacing:0;margin-top:5px}.game-status .eyebrow{color:var(--teal)}.status-badges{display:flex;align-items:center;gap:10px}.direction-badge{color:var(--muted);font-size:11px}.timer{background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:8px;font-variant-numeric:tabular-nums;font-size:14px;min-width:47px;text-align:center}.card-table{background:#214f4d;border-radius:22px;min-height:390px;padding:23px 32px 18px;color:#f8f2df;position:relative;overflow:hidden;border:7px solid #344b43;box-shadow:inset 0 0 0 1px #adba9355,inset 0 0 60px #082c3144}.table-grain{position:absolute;inset:0;pointer-events:none;opacity:.12;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.35' filter='url(%23noise)'/%3E%3C/svg%3E")}.opponents{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;position:relative;z-index:1}.opponent{min-width:145px;max-width:215px;flex:1;border:1px solid #bfd1b828;border-radius:11px;padding:10px 12px 8px;background:#173c3c44;position:relative}.opponent.active-player{border-color:#e2bd6e;box-shadow:0 0 0 2px #e2bd6e24;background:#51705b66}.opponent-header{display:flex;gap:8px;align-items:center}.opponent .avatar{width:29px;height:29px;font-size:15px}.opponent strong{font-size:11px;display:block;max-width:120px;overflow-wrap:anywhere}.opponent small{display:block;font-size:8px;color:#ced8c9;margin-top:4px}.card-count{font:20px Georgia,serif;margin-left:auto;text-align:center}.card-count small{font:8px Segoe UI,sans-serif;display:block;margin-top:0}.mini-hand{display:flex;justify-content:center;margin:10px 5px 0;height:45px}.mini-hand .playing-card{--card-width: 30px;margin-left:-9px;transform:rotate(-3deg)}.mini-hand .playing-card:nth-child(2n){transform:rotate(5deg)}.mini-hand .playing-card:first-child{margin-left:0}.last-light-label{position:absolute;bottom:-8px;left:50%;transform:translate(-50%);font:italic 12px Georgia,serif;padding:3px 7px;background:#e1ba70;color:#233f3a;border-radius:5px;white-space:nowrap}.catch-button{display:block;margin:5px auto 0;padding:3px 6px;font-size:10px;background:#eac880;color:#243d39}.table-center{display:flex;align-items:center;justify-content:center;gap:38px;position:relative;z-index:1;margin:30px 0 20px}.pile{display:grid;justify-items:center;gap:10px;min-width:120px}.pile .playing-card{--card-width: 106px;filter:drop-shadow(2px 5px 2px #092a2855)}.pile:first-child .playing-card{box-shadow:2px 3px #d2c8ae,4px 5px #7e927e;border-radius:8px}.pile>span{font-size:8px;letter-spacing:1.8px;text-align:center;color:#e6e5cb}.pile small{display:block;letter-spacing:0;font-size:9px;color:#bccfc0;margin-top:5px}.between-piles{display:flex;flex-direction:column;align-items:center;min-width:110px}.table-emblem{color:#d9b36c;font-size:22px}.table-wordmark{font:21px/1.1 Georgia,serif;text-align:center;letter-spacing:5px;color:#dbdfc766;margin:6px -5px 18px 0}.color-indicator{font-size:10px;text-transform:uppercase;letter-spacing:1px;padding:6px 12px;border-radius:12px;font-weight:650;border:1px solid #fff5}.color-red{background:#b53d38;color:#fff7e7}.color-yellow{background:#e9bd47;color:#273b39}.color-green{background:#34745a;color:#fff7e7}.color-blue{background:#356b9a;color:#fff7e7}.penalty{color:#ffe0a0;font-size:14px;margin-top:10px}.table-log{position:relative;text-align:center;min-height:32px;font-size:10px;color:#c4d1bf}.table-log p{line-height:1.7}.your-hand{margin-top:22px}.hand-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.hand-heading h3{font-size:22px}.hand-heading h3 span{font-family:Segoe UI,sans-serif;font-size:11px;color:var(--muted);margin-left:12px}.hand-heading p{font-size:11px;margin-top:4px}.hand-heading button{font-size:12px}.hand-cards{display:flex;gap:8px;overflow-x:auto;padding:13px 5px 14px;align-items:center;min-height:150px;overscroll-behavior-x:contain}.hand-cards .playing-card{--card-width: 89px;flex-shrink:0;transition:transform .2s,filter .2s;transform:translateY(-6px)}.hand-cards .playing-card:disabled{opacity:1;filter:saturate(.6) brightness(.83);transform:translateY(3px)}.hand-cards .playing-card:enabled:hover{transform:translateY(-13px);filter:drop-shadow(0 5px 4px #122a2525)}.hand-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:9px}.hand-actions button{font-size:12px}.hand-help{font-size:11px;color:var(--muted);margin-left:auto}.partner-hand{margin-top:22px;border:1px solid var(--line);border-radius:10px;background:var(--paper);padding:0 16px}.partner-hand .hand-cards{min-height:100px}.partner-hand .playing-card{--card-width: 61px;transform:none}.rules-during-game{margin-top:20px;border-top:1px solid var(--line);padding-top:5px}.spectator-note{text-align:center;font-size:13px;color:var(--muted);padding:22px}.winner-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--paper);border:1px solid #bfa16e;border-radius:12px;padding:25px 30px;margin-top:20px}.winner-banner h2{margin:6px 0}.winner-banner p{font-size:13px;color:var(--muted)}.card-choice{text-align:center}.card-choice>.playing-card{--card-width: 93px;margin:0 auto 18px}.card-choice h2{font-size:28px}.color-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.color-choices button{padding:16px;border:2px solid transparent;text-transform:capitalize}.color-choices .chosen{outline:2px solid var(--ink);outline-offset:2px}.card-choice>label{margin-bottom:20px;text-align:left}.skin-picker{display:flex;align-items:center;gap:9px}.skin-picker label{font-size:11px;color:var(--muted);font-weight:500}.skin-picker select{font-size:12px;padding:7px 9px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.skin-note{font-size:11px;color:var(--muted)}.skin-space .card-table{background:#192c4d;border-color:#354158}.skin-space .featured-game{background:#223656}.skin-space .feature-art{background:radial-gradient(ellipse at 50% 45%,#7886c440,transparent 70%)}.skin-space .opponent{background:#18293d66}.skin-space .opponent.active-player{background:#48567088}.skin-magic .card-table{background:#4a2a42;border-color:#654455}.skin-magic .featured-game{background:#4e2d44}.skin-magic .feature-art{background:radial-gradient(ellipse at 50% 45%,#b76d9850,transparent 70%)}.skin-magic .opponent{background:#2f1c3266}.skin-magic .opponent.active-player{background:#77526388}@media(min-width:1500px){.home-main,.room-main{padding-top:45px}.featured-game{min-height:440px}.feature-copy{padding-top:48px}.card-fan{transform:rotate(6deg) scale(1.1)}}@media(max-width:1000px){.feature-copy{padding:33px}.feature-copy h2{font-size:50px}.card-fan{transform:rotate(6deg) scale(.85);margin-left:-45px}.future-shelf{grid-template-columns:repeat(2,1fr)}.shelf-note{display:none}.lobby-grid{grid-template-columns:.85fr 1.15fr;gap:15px}.panel{padding:21px}.lobby-grid .panel{padding:20px}.history-grid{grid-template-columns:1fr 1.15fr}.opponents{gap:8px}.opponent{min-width:125px;padding:8px}.invite-controls input{width:160px}.site-footer{margin:0 28px}.hand-help{width:100%;margin:6px 0 0}.welcome-line{gap:15px}.join-inline input{width:150px}}@media(max-width:760px){.site-header{height:72px;padding:0 20px}.brand>span{font-size:19px}.brand svg{width:33px;height:33px}.local-label{display:none}.home-main,.room-main{padding:26px 18px 35px}.welcome-line{align-items:flex-start;flex-direction:column;gap:20px;margin-bottom:27px}.welcome-line h1{font-size:34px}.join-inline{width:100%}.join-inline>div{width:100%}.join-inline input{width:auto;flex:1}.home-tabs{gap:22px}.home-tabs button{font-size:12px}.featured-game{grid-template-columns:1fr .9fr;min-height:370px}.feature-copy{padding:29px 24px}.feature-copy h2{font-size:42px;white-space:nowrap}.title-star{font-size:14px;margin-left:10px}.feature-description{font-size:20px}.feature-detail{font-size:12px;max-width:220px}.feature-art{min-height:300px;overflow:hidden}.card-fan{transform:rotate(8deg) scale(.68);margin-left:-80px}.orbit-one{width:270px;height:270px}.orbit-two{width:320px;height:320px}.art-caption{font-size:7px;letter-spacing:1px}.art-caption span+span{font-size:10px}.star-one{right:15px;top:25px}.star-two{left:8px;bottom:100px}.game-meta{gap:6px 10px;line-height:1.6;margin:17px 0}.game-meta span+span:before{display:none}.feature-copy .gold-button{font-size:12px;padding:12px}.gold-button span{margin-left:14px}.feature-note{font-size:9px}.section-heading{align-items:flex-start}.section-heading>p{max-width:180px;font-size:10px;text-align:right}.future-game{padding:15px;gap:10px;min-height:114px}.future-game h3{font-size:18px}.future-game p{font-size:10px}.shelf-icon{width:33px;height:48px;font-size:24px}.history-grid,.lobby-grid,.join-panel{grid-template-columns:1fr}.history-page>.section-heading{flex-direction:column;gap:14px}.room-heading{align-items:flex-start;flex-direction:column;gap:13px}.invite-controls{width:100%}.invite-controls input{flex:1}.room-heading h1{font-size:29px}.room-tabs{gap:25px;margin-bottom:19px}.room-tabs button{font-size:12px}.game-status{align-items:flex-start}.game-status h2{font-size:14px;line-height:1.5;max-width:280px}.status-badges{gap:6px;flex-wrap:wrap;justify-content:flex-end}.direction-badge{width:100%;text-align:right;font-size:9px}.status-badges button{font-size:11px;padding:7px 10px}.card-table{padding:18px 15px 13px;border-width:5px;border-radius:17px}.opponent{max-width:200px;min-width:100px}.opponent-header{gap:6px}.opponent .avatar{width:24px;height:24px;font-size:12px}.opponent strong{font-size:10px;max-width:100px}.opponent small{font-size:7px}.card-count{font-size:17px}.mini-hand{height:36px}.mini-hand .playing-card{--card-width: 25px}.table-center{gap:18px;margin-top:25px}.pile .playing-card{--card-width: 91px}.between-piles{min-width:80px}.table-wordmark{font-size:17px;letter-spacing:3px}.pile{min-width:90px}.table-log{font-size:9px}.hand-cards .playing-card{--card-width: 77px}.hand-cards{min-height:130px;gap:6px}.hand-actions .inline-check{font-size:11px}.winner-banner{padding:20px;flex-direction:column;text-align:center}.winner-banner h2{font-size:27px}.site-footer{margin:0 18px;flex-direction:column;gap:7px;text-align:center}.modal{padding:29px 24px}.room-list article{gap:12px;padding:18px}.room-list h3{font-size:20px}.room-list p,.room-list button{font-size:11px}.room-symbol{display:none}}@media(max-width:480px){.featured-game{grid-template-columns:1fr;min-height:0}.feature-copy{padding:29px 26px 23px}.feature-copy h2{font-size:52px}.feature-detail{max-width:290px}.feature-description br{display:none}.feature-description{font-size:21px}.feature-art{min-height:220px;border-top:1px solid #b9cfb31a}.card-fan{transform:rotate(5deg) scale(.65);margin:-40px 0 0 -22px;height:210px}.orbit-one{width:260px;height:260px}.orbit-two{width:310px;height:310px}.art-caption{bottom:17px}.feature-note{font-size:10px}.game-meta{font-size:10px;gap:15px}.feature-copy .gold-button{font-size:13px}.future-shelf{grid-template-columns:1fr}.future-game{min-height:96px;padding:16px 20px}.future-game h3{font-size:21px}.future-game p{font-size:11px}.shelf-icon{width:43px;height:57px;margin-right:5px}.section-heading h2{font-size:23px}.section-heading>p{max-width:125px;line-height:1.6}.brand small{font-size:10px}.header-actions{gap:1px}.brand{gap:8px}.icon-button{width:31px}.home-tabs,.room-tabs{gap:19px}.room-tabs button{font-size:11px}.card-table{padding:15px 9px 12px}.opponent{min-width:85px;padding:8px 6px}.opponent .avatar{display:none}.opponent-header{gap:4px}.opponent strong{font-size:10px;max-width:67px}.opponent small{max-width:70px;line-height:1.4}.card-count{font-size:16px}.table-center{gap:11px}.pile .playing-card{--card-width: 82px}.pile{min-width:80px}.between-piles{min-width:65px}.table-wordmark{font-size:15px}.table-emblem{font-size:18px}.color-indicator{font-size:9px;padding:5px 10px}.penalty{font-size:11px}.hand-cards .playing-card{--card-width: 72px}.game-status h2{max-width:235px}.status-badges button{padding:6px}.direction-badge{font-size:8px}.hand-actions button{padding:10px 12px}.table-toolbar{align-items:flex-start;gap:8px}.skin-note{font-size:10px;max-width:145px}.skin-picker select{max-width:145px}}@media(max-width:480px){.in-game{padding-top:17px}.in-game .room-heading{gap:10px;margin-bottom:15px}.in-game .room-heading h1{font-size:25px;margin:7px 0}.in-game .room-heading p{font-size:11px}.in-game .invite-controls input{padding:8px;font-size:10px}.in-game .invite-controls button{padding:8px 11px;font-size:12px}.in-game .table-toolbar{margin-bottom:12px}.in-game .room-tabs{margin-bottom:15px}.in-game .game-status{margin-bottom:13px}.in-game .card-table{min-height:0}.in-game .table-center{margin:18px 0 12px}.in-game .pile .playing-card{--card-width: 73px}.in-game .table-log{min-height:25px}.in-game .your-hand{margin-top:17px}.in-game .hand-heading{margin-bottom:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
