@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap";:root{--paper:#f3f1e7;--ink:#193b37;--muted:#6d7d70;--line:#d9decb;--lime:#dce8b0;--gold:#e7bc70;--green:#204d41}*{box-sizing:border-box}body{background:var(--paper);color:var(--ink);margin:0;font-family:DM Sans,Arial,sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s}button:disabled{cursor:default;opacity:.5}:is(button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible){outline-offset:4px;outline:3px solid #e0b24f}button:hover:not(:disabled){filter:brightness(1.04)}a{color:inherit;text-decoration:none}button{color:inherit}button svg{flex-shrink:0}h1,h2,p{margin-top:0}h1,h2,.game-wordmark{font-family:Libre Caslon Display,Georgia,serif;font-weight:400}em{font-weight:400}.app{background:radial-gradient(ellipse at 14% 63%,#dde4cb85,transparent 46%),var(--paper);min-height:100svh}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;max-width:1360px;height:94px;margin:auto;padding:0 64px;display:flex}.brand{letter-spacing:-.8px;align-items:center;gap:12px;font-size:20px;font-weight:700;display:flex}.brand svg{color:var(--green)}.brand-sub{letter-spacing:2.4px;margin-top:2px;font-size:8px;font-weight:500;display:block}.top-actions{align-items:center;gap:12px;display:flex}.icon-button{background:0 0;border:0;border-radius:50px;justify-content:center;align-items:center;gap:9px;padding:9px;font-size:12px;display:flex}.icon-button:hover{background:#dfe4d2}.home-grid{grid-template-columns:1.12fr 1fr;gap:72px;max-width:1240px;margin:auto;padding:60px 40px 22px;display:grid}.eyebrow{align-items:center;justify-content:inherit;letter-spacing:2px;gap:8px;font-size:10px;font-weight:700;display:flex}.eyebrow>span:first-child{background:#7c9875;border-radius:50%;width:6px;height:6px}.intro{position:relative}.intro h1{letter-spacing:-5px;white-space:nowrap;margin:26px 0 20px;font-size:clamp(72px,7.7vw,108px);line-height:1.05;position:relative}.intro h1 em{color:#6e8060}.title-star{color:#c28d45;margin-left:8px;font:22px Georgia;position:absolute;top:0}.lead{letter-spacing:-.6px;margin-bottom:16px;font-size:23px;line-height:1.5}.lead strong{font-weight:500}.intro-copy{max-width:380px;color:var(--muted);font-size:14px;line-height:1.75}.facts{align-items:center;gap:0;margin-top:22px;font-size:11px;display:flex}.facts span{border-left:1px solid #cdd3c0;align-items:center;gap:7px;padding:0 16px;display:flex}.facts span:first-child{border:0;padding-left:0}.card-theatre{max-width:440px;height:310px;margin:6px auto 0;position:relative}.hero-card{filter:drop-shadow(0 15px 16px #233b3430);border-radius:14px;width:132px;position:absolute;top:45px}.hero-back{left:48px;transform:rotate(-19deg)}.hero-fly{z-index:2;top:32px;left:153px;transform:rotate(5deg)}.hero-witch{top:53px;left:258px;transform:rotate(21deg)}.orbit{border:1px solid #cbd4ba;border-radius:50%;width:380px;height:210px;position:absolute;top:50px;left:25px;transform:rotate(-17deg)}.orbit-two{opacity:.45;width:320px;height:240px;top:36px;left:55px;transform:rotate(19deg)}.spark{color:#8a956d;font-size:34px;position:absolute}.spark-one{top:50px;left:18px}.spark-two{font-size:24px;bottom:48px;right:5px}.theatre-note{color:#7c886c;font-family:Georgia,serif;font-size:12px;font-style:italic;position:absolute;bottom:6px;left:106px;transform:rotate(-3deg)}.entry-panel{background:#fffef6;border:1px solid #dce0ce;border-radius:22px;align-self:start;margin-top:4px;padding:32px 36px 0;box-shadow:0 18px 60px #2c49300b}.panel-kicker{letter-spacing:1.8px;color:#798568;align-items:center;gap:9px;margin-bottom:24px;font-size:9px;font-weight:700;display:flex}.entry-panel h2{letter-spacing:-1px;margin-bottom:29px;font-size:43px;line-height:1.05}.entry-panel h2 em{color:#7c8767}.tabs{background:#eaf0df;border-radius:10px;margin-bottom:24px;padding:4px;display:flex}.tabs button{background:0 0;border:0;border-radius:7px;flex:1;padding:11px 3px;font-size:11px}.tabs button.chosen{background:#fffef6;font-weight:700;box-shadow:0 2px 4px #273b2510}.entry-panel label{margin:18px 0 9px;font-size:11px;font-weight:600;display:block}input,select{width:100%;color:var(--ink);background:#fffef9;border:1px solid #d8dfca;border-radius:9px;padding:14px 13px;font-size:12px}input::placeholder{color:#9a9f8e}.capacity{gap:10px;display:flex}.capacity button{background:0 0;border:1px solid #d8dfca;border-radius:9px;flex:1;justify-content:center;align-items:center;gap:10px;padding:13px;display:flex}.capacity .chosen{background:#e8eed9;border-color:#698060}.capacity b{font-weight:500}.primary,.secondary{border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:10px;padding:13px 19px;font-size:12px;font-weight:600;line-height:1.35;display:inline-flex}.primary{background:var(--green);color:#fffef6}.secondary{color:var(--ink);background:#f2f4e7;border:1px solid #c6d4b7}.entry-cta{justify-content:space-between;width:100%;margin-top:25px;padding:17px 19px}.entry-note{text-align:center;color:#8a927e;margin:13px 0 20px;font-size:10px;line-height:1.6}.panel-footer{border-top:1px solid var(--line);text-align:center;color:#8c977c;padding:20px 0;font-family:Georgia,serif;font-size:12px;font-style:italic}.tiny-star{color:#b7a15d;padding-right:6px;font-style:normal}.resume{background:0 0;border:0;justify-content:center;align-items:center;gap:4px;width:100%;padding:0 0 18px;font-size:11px;text-decoration:underline;display:flex}.home-footer{color:#88917d;justify-content:space-between;max-width:1230px;margin:0 auto;padding:16px 40px 26px;font-size:10px;display:flex}.home-footer button{background:0 0;border:0;align-items:center;gap:8px;font-size:10px;display:flex}.error-inline{color:#9d4439;background:#fcf0e8;border-radius:7px;margin:12px 0 0;padding:10px;font-size:12px}.loading{color:#7c8f6e;align-content:center;justify-items:center;gap:18px;height:70vh;display:grid}.floating{animation:3s ease-in-out infinite bob}@keyframes bob{50%{transform:translateY(-8px)}}.lobby{text-align:center;max-width:620px;margin:45px auto;padding:0 24px}.back-link{color:#7d8a70;align-items:center;gap:8px;margin-bottom:35px;font-size:11px;display:flex}.lobby .eyebrow{justify-content:center}.lobby h1{letter-spacing:-2px;margin:15px 0;font-size:64px}.lobby h1 em{color:#7f8d69}.lobby>p{color:#829078;font-size:13px;line-height:1.7}.room-code{background:#e0e8cd;border:1px dashed #a4b58c;border-radius:12px;grid-template-columns:1fr auto;align-items:center;column-gap:18px;margin:24px auto 30px;padding:18px 30px;display:grid}.room-code>span{letter-spacing:6px;font-size:32px;font-weight:700}.room-code small{text-align:center;grid-column:1/-1;margin-top:6px;font-size:10px}.lobby-seats{text-align:left;gap:10px;display:grid}.seat{background:#fffef6;border:1px solid #d8dfcb;border-radius:12px;align-items:center;gap:13px;padding:15px;display:flex}.seat>div{flex:1}.seat strong{font-size:13px}.seat small{color:#849177;margin-top:4px;font-size:10px;display:block}.seat.empty{color:#9ca78c;background:0 0;border-style:dashed}.avatar{color:#29483d;background:#d7e5bd;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;font-size:12px;font-weight:700;display:inline-flex}.avatar-1{color:#755c42;background:#e7d7b9}.avatar-2{color:#495f71;background:#d0d7e1}.avatar-3{color:#795e70;background:#e4cfd7}.seat .avatar{width:38px;height:38px}.start-label{text-align:left;justify-content:space-between;align-items:center;gap:14px;margin-top:23px;font-size:11px;display:flex}.start-label select{width:48%;padding:10px}.lobby-buttons{gap:10px;margin:20px 0;display:flex}.lobby-buttons button{flex:1}.muted{line-height:1.65;color:#87917b!important;font-size:11px!important}.waiting{padding:16px;font-size:12px}.floating-chat{background:var(--green);color:#fff;border:0;border-radius:24px;align-items:center;gap:10px;padding:13px 20px;font-size:12px;display:flex;position:fixed;bottom:22px;right:25px}.in-game{background:#e9eddf;min-height:100dvh}.in-game .topbar{max-width:1100px;height:62px;padding:0 30px}.in-game .brand{font-size:16px}.in-game .brand-sub{font-size:7px}.game-shell{color:#eef2d8;background:#153c35;border:1px solid #2b5140;border-radius:22px;max-width:1060px;margin:15px auto;padding:16px 24px;box-shadow:0 15px 40px #23392818}.game-meta,.game-meta>div{align-items:center;gap:20px;display:flex}.game-meta{justify-content:space-between}.game-wordmark{letter-spacing:-1px;font-size:29px}.game-wordmark em{color:#baca96}.round-chip{color:#c6d5ad;border:1px solid #52715a;border-radius:15px;padding:5px 9px;font-size:10px}.code-chip{letter-spacing:1px;color:#d1dfb7;background:#284c40;border:0;border-radius:15px;align-items:center;gap:8px;padding:7px 12px;font-size:11px;font-weight:600;display:flex}.board{background:radial-gradient(#345d45 0,#1a4035 65%,#153c35 90%);flex-direction:column;align-items:center;padding:8px 0 4px;display:flex}.opponents{justify-content:center;gap:18px;width:100%;display:flex}.hand{background:#173e3260;border:1px solid #49634c65;border-radius:15px;padding:9px 14px;transition:box-shadow .2s;position:relative}.hand.active{border-color:#a9c97a;box-shadow:0 0 0 2px #bedc7c15}.hand-heading{align-items:center;gap:8px;margin-bottom:7px;font-size:10px;display:flex}.hand-heading .avatar{width:23px;height:23px;font-size:10px}.hand-heading strong{text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-weight:500;overflow:hidden}.bot-label{color:#aabb8d;letter-spacing:1px;font-size:7px}.score{color:#bfcda3;white-space:nowrap;margin-left:auto;padding-left:9px;font-size:9px}.hand-cards{grid-template-columns:repeat(2,1fr);justify-items:center;gap:5px;display:grid}.card-slot,.pile-button{background:0 0;border:0;border-radius:7px;padding:0;display:block;position:relative}.card-slot{aspect-ratio:2/3;height:clamp(65px,11.5dvh,110px)}.card-image{object-fit:contain;filter:drop-shadow(0 3px 3px #0003);border-radius:7px;width:100%;height:100%;display:block}.card-slot:disabled,.pile-button:disabled{opacity:1}.card-slot:not(:disabled){outline-offset:2px;outline:2px solid #d9dc9c}.card-slot:not(:disabled):hover,.card-slot.selected{transform:translateY(-3px);box-shadow:0 0 0 3px #eccb7e}.position{color:#b9ca9d;background:#163e35;border:1px solid #7a9160;border-radius:50%;place-content:center;width:15px;height:15px;font-size:8px;display:grid;position:absolute;bottom:-1px;left:-4px}.hand-note{text-align:center;color:#d3dda9;margin-top:6px;font-size:9px;display:block}.my-hand{justify-content:center;width:100%;display:flex}.self{padding:8px 22px}.self .hand-cards{gap:5px 8px}.self .card-slot{height:clamp(74px,12dvh,114px)}.table-center{flex-direction:column;align-items:center;gap:8px;width:100%;padding:9px 0 11px;display:flex}.status-line{justify-content:center;align-items:center;gap:7px;min-height:15px;font-size:11px;display:flex}.status-line strong{font-weight:500}.turn-light{background:#81976a;border-radius:50%;width:5px;height:5px}.turn-light.yours{background:#e8ce83;box-shadow:0 0 12px #eed688}.piles{justify-content:center;align-items:center;gap:24px;min-height:98px;display:flex}.pile-wrap{flex-direction:column;align-items:center;gap:5px;display:flex}.pile-wrap>span{letter-spacing:1.2px;color:#a8bd91;font-size:7px}.pile-button{aspect-ratio:2/3;height:clamp(62px,10dvh,90px)}.deck-pile{box-shadow:3px 2px #738e74,5px 4px #234d40}.pile-button:not(:disabled):hover{transform:translateY(-4px)}.deck-count{color:#244635;background:#d4dfac;border:2px solid #194033;border-radius:7px;padding:3px 5px;font-size:9px;position:absolute;bottom:-3px;right:-7px}.center-emblem{color:#9fb48280;flex-direction:column;align-items:center;gap:5px;display:flex}.center-emblem small{letter-spacing:1.3px;font-size:6px}.empty-pile{color:#728e64;border:1px dashed #839b7255;border-radius:7px;place-content:center;width:100%;height:100%;display:grid}.drawn-wrap{margin-left:2px;position:relative}.drawn-wrap:before{content:"";border-left:1px solid #7c93625c;height:70%;position:absolute;top:0;left:-13px}.table-actions{justify-content:center;align-items:center;min-height:35px;display:flex}.table-actions .primary{color:#233e31;background:#dce8b0;padding:9px 18px}.table-actions .secondary{background:#dae3bf;padding:9px 18px}.text-button{color:inherit;text-underline-offset:4px;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;padding:10px;font-size:11px;text-decoration:underline;display:inline-flex}.boo-button{color:#244734;background:#dbe3b1;border:1px solid #bdc48d;border-radius:24px;align-items:center;gap:15px;padding:9px 20px;font-family:Georgia,serif;font-size:15px;display:flex}.boo-button small{opacity:.7;font:8px DM Sans,Arial}.wait-action{color:#b5c79b;font-size:10px}.game-bottom{color:#aabd94;border-top:1px solid #49634c70;justify-content:space-between;align-items:center;gap:10px;padding-top:9px;font-size:10px;display:flex}.game-bottom>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-button{color:#dce8ba;background:#2a503f;border:0;border-radius:20px;align-items:center;gap:8px;padding:7px 14px;font-size:10px;display:flex}.chat-button b{font-size:8px}.players-3 .rival .card-slot,.players-4 .rival .card-slot{height:clamp(55px,9dvh,86px)}.players-4 .opponents{gap:8px}.players-4 .rival{padding:8px 10px}.players-4 .rival .hand-heading{gap:5px}.players-4 .rival .score{padding-left:4px}.overlay{z-index:30;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#102e2bd4;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:var(--paper);color:var(--ink);text-align:center;border-radius:21px;width:100%;max-width:500px;max-height:92dvh;padding:32px;position:relative;overflow:auto;box-shadow:0 25px 80px #0003}.modal h2{letter-spacing:-1px;margin:17px 0;font-size:38px;line-height:1.1}.modal p{color:#7c886e;font-size:12px;line-height:1.7}.modal .eyebrow{justify-content:center;font-size:9px}.modal>.primary{width:100%;margin:9px 0}.modal>.secondary{width:100%}.close{background:0 0;border:0;padding:5px;position:absolute;top:15px;right:15px}.rules{text-align:left;max-width:530px}.rules .eyebrow{justify-content:flex-start}.rules h2{font-size:45px}.rules ol{padding-left:20px;font-size:12px;line-height:1.7}.rules li{padding:6px 0 6px 3px}.rules li strong{color:#35573c}.power-guide{grid-template-columns:1fr 1fr;gap:10px;margin:20px 0;display:grid}.power-guide>div{border-top:1px solid #d4dcc5;align-items:center;gap:10px;padding-top:12px;display:flex}.power-guide b{color:#718255;font:26px Georgia}.power-guide span,.rules .rule-note{font-size:10px}.secret-card{width:135px;height:203px;margin:22px auto}.secret-modal .swap-choices{grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 15px;display:grid}.results{max-width:580px}.results-icon{color:#687d4d;background:#dce7c5;border-radius:50%;place-items:center;width:58px;height:58px;margin:0 auto 18px;display:grid}.result-table{margin:20px 0}.result-table>div{text-align:left;border-bottom:1px solid #d8dec9;align-items:center;gap:12px;padding:11px 0;font-size:11px;display:flex}.result-table strong{text-overflow:ellipsis;width:24%;overflow:hidden}.mini-cards{flex:1;gap:3px;display:flex}.mini-cards img{border-radius:3px;width:26px;height:39px}.result-table span,.result-table b{text-align:center;min-width:33px}.result-table b{font-size:21px;font-weight:500}.result-table small{color:#889477;font-size:8px;font-weight:400;display:block}.results details{text-align:left;margin:15px 0;font-size:11px}.results summary{cursor:pointer}.history-table{overflow:auto}.history-table table{border-collapse:collapse;width:100%;margin-top:10px;font-size:10px}.history-table td,.history-table th{text-align:center;border-bottom:1px solid #d5ddc3;padding:6px}.chat-shade{z-index:45;background:#102e2b80;justify-content:flex-end;display:flex;position:fixed;inset:0}.chat-drawer{background:#f3f1e7;flex-direction:column;width:380px;max-width:100%;height:100dvh;display:flex;box-shadow:-10px 0 40px #0002}.chat-drawer header{justify-content:space-between;align-items:center;padding:18px 20px 0;display:flex}.chat-drawer header>div{align-items:center;gap:10px;display:flex}.chat-drawer h2{margin:0;font-size:26px}.chat-sub{color:#849175;border-bottom:1px solid #d4ddc5;padding:0 20px 10px;font-size:9px}.messages{flex:1;padding:15px 20px;overflow:auto}.message{background:#e2e9d5;border-radius:0 12px 12px;margin:0 0 12px;padding:10px 13px}.message b{color:#5b7750;font-size:10px}.message p{overflow-wrap:anywhere;white-space:pre-wrap;margin:5px 0 0;font-size:12px;line-height:1.5}.chat-empty{text-align:center;color:#8f9e7d;margin-top:100px}.chat-empty p{font-size:12px;line-height:1.7}.chat-drawer form{border-top:1px solid #d4ddc5;gap:7px;padding:15px;display:flex}.chat-drawer form button{padding:12px}.toast{z-index:60;color:#684f32;background:#fff4dd;border:1px solid #d7bf85;border-radius:10px;align-items:center;gap:15px;width:max-content;max-width:92vw;padding:14px 17px;font-size:12px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 28px #0002}.toast button{background:0 0;border:0;padding:0}.offline{z-index:50;color:#543f23;background:#e9c98e;border-radius:10px;align-items:center;gap:8px;width:max-content;max-width:95vw;padding:10px 15px;font-size:11px;display:flex;position:fixed;top:65px;left:50%;transform:translate(-50%)}.offline button{background:0 0;border:0;font-size:10px;text-decoration:underline}@media (min-width:1100px) and (min-height:850px){.game-shell{margin-top:20px}.board{padding:12px 0}.table-center{padding:13px 0}.opponents{gap:30px}.self .hand-cards{gap:7px 10px}.game-bottom{padding-top:13px}}@media (max-width:900px){.home-grid{gap:30px;padding:40px 28px}.topbar{padding:0 28px}.intro h1{letter-spacing:-4px;font-size:74px}.intro-copy{font-size:12px}.lead{font-size:20px}.entry-panel{padding:28px 24px 0}.entry-panel h2{font-size:37px}.hero-card{width:105px}.hero-back{left:10%}.hero-fly{left:37%}.hero-witch{left:64%}.card-theatre{height:270px}.orbit{width:90%;left:5%}.orbit-two{width:80%;left:10%}.theatre-note{bottom:13px;left:20%}.game-shell{margin:10px 16px;padding:14px 17px}.home-footer{padding:12px 28px}}@media (max-width:650px){.topbar{height:73px;padding:0 21px}.brand{font-size:18px}.top-actions{gap:1px}.icon-button span{display:none}.home-grid{flex-direction:column;gap:20px;padding:30px 22px 20px;display:flex}.intro .eyebrow{letter-spacing:1.5px;font-size:8px}.intro h1{letter-spacing:-4px;margin:18px 0 14px;font-size:80px;line-height:1}.lead{margin-bottom:10px;font-size:19px;line-height:1.4}.intro-copy{display:none}.facts{margin-top:17px;font-size:10px}.facts span{padding:0 13px}.card-theatre{width:100%;max-width:340px;height:210px;margin:5px auto 0}.hero-card{width:100px;top:29px}.hero-fly{top:14px}.hero-witch{top:31px}.orbit{height:160px;top:22px}.orbit-two{height:175px;top:15px}.theatre-note{font-size:10px;bottom:0;left:28%}.spark-one{top:13px}.spark-two{bottom:15px}.entry-panel{border-radius:17px;width:100%;margin:0;padding:23px 24px 0}.panel-kicker{margin-bottom:14px;font-size:8px}.entry-panel h2{margin-bottom:20px;font-size:32px}.entry-panel h2 br{display:none}.entry-panel h2 em{margin-left:7px}.tabs{margin-bottom:18px}.entry-panel label{margin-top:14px}.entry-cta{margin-top:20px}.panel-footer{padding:17px 0}.home-footer{align-items:center;gap:18px;padding:10px 24px 25px;font-size:8px}.home-footer button{text-align:right;font-size:9px}.lobby{margin-top:28px}.lobby h1{font-size:50px}.room-code{margin-top:20px}.in-game .topbar{height:49px;padding:0 13px}.in-game .brand{gap:7px;font-size:14px}.in-game .brand svg{width:22px}.in-game .brand-sub{letter-spacing:1.5px;font-size:6px}.in-game .icon-button{padding:7px}.in-game .icon-button svg{width:17px}.game-shell{border-radius:16px;margin:7px 7px 0;padding:9px 10px}.game-wordmark{font-size:23px}.game-meta,.game-meta>div{gap:8px}.round-chip{padding:4px 7px;font-size:8px}.code-chip{gap:5px;padding:6px 8px;font-size:9px}.board{padding:6px 0 3px}.hand{border-radius:10px;padding:6px 10px}.hand-heading{gap:5px;margin-bottom:5px;font-size:9px}.hand-heading .avatar{width:18px;height:18px;font-size:8px}.hand-heading strong{max-width:100px}.hand-heading .score{padding-left:5px;font-size:8px}.card-slot{height:clamp(57px,10.8dvh,86px)}.self .card-slot{height:clamp(64px,11.7dvh,94px)}.hand-cards{gap:4px}.self{padding:6px 18px}.table-center{gap:6px;padding:8px 0}.status-line{text-align:center;font-size:10px}.piles{gap:21px;min-height:0}.pile-button{height:clamp(56px,9dvh,76px)}.pile-wrap{gap:4px}.pile-wrap>span{font-size:6px}.center-emblem small{font-size:5px}.center-emblem svg{width:22px}.table-actions{min-height:30px}.table-actions .secondary,.table-actions .primary{padding:8px 13px;font-size:10px}.boo-button{gap:12px;padding:8px 13px;font-size:13px}.boo-button small{font-size:7px}.game-bottom{padding-top:7px;font-size:8px}.chat-button{padding:6px 9px;font-size:9px}.game-bottom>span{max-width:72%}.players-3 .rival .card-slot,.players-4 .rival .card-slot{height:clamp(49px,8.5dvh,70px)}.players-4 .rival{width:32%;padding:6px 5px}.players-4 .opponents{gap:5px}.players-4 .rival .hand-heading{flex-wrap:wrap;gap:4px}.players-4 .rival .hand-heading strong{max-width:55px;font-size:8px}.players-4 .rival .hand-heading .bot-label{display:none}.players-4 .rival .hand-heading .score{flex-basis:100%;margin-left:0;padding-left:22px;font-size:7px;line-height:1}.players-3 .opponents{gap:12px}.modal{border-radius:17px;padding:26px 22px}.modal h2{font-size:33px}.results .result-table>div{gap:7px}.result-table strong{width:24%;font-size:10px}.mini-cards{gap:2px}.mini-cards img{width:22px;height:33px}.result-table span,.result-table b{min-width:28px}.result-table b{font-size:18px}.result-table span{font-size:10px}.results-icon{width:44px;height:44px;margin-bottom:13px}.results details{margin:13px 0}.results>p{font-size:11px}.overlay{padding:12px}.rules h2{font-size:39px}.rules ol{font-size:11px}.modal .eyebrow{font-size:8px}.secret-card{width:125px;height:188px;margin:15px auto}.hand-note{font-size:8px}.floating-chat{bottom:15px;right:15px}.code-input{letter-spacing:5px;font-size:18px}}@media (max-height:680px) and (max-width:650px){.in-game .topbar{height:43px}.game-shell{margin-top:4px;padding:6px 8px}.game-wordmark{font-size:20px}.card-slot{height:54px}.self .card-slot{height:60px}.table-center{gap:4px;padding:6px 0}.pile-button{height:51px}.hand-heading{margin-bottom:4px}.hand-note{margin-top:4px}.game-bottom{padding-top:5px}.status-line{font-size:9px}.boo-button{padding:6px 12px}.table-actions{min-height:28px}.players-4 .rival .card-slot{height:45px}.results-icon{display:none}.modal h2{font-size:28px}.modal{padding:22px}.result-table{margin:12px 0}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.music-control{border-radius:25px;align-items:center;gap:3px;display:flex}.music-control.playing{background:#e0e8ce}.music-control input{accent-color:#406842;cursor:pointer;background:0 0;border:0;width:64px;height:20px;margin-right:10px;padding:0}.music-dot{background:#668947;border-radius:50%;width:5px;height:5px}.music-toggle span,.header-chat span{font-size:11px}@media (max-width:650px){.music-control input{width:42px;margin-right:5px}.music-toggle span{display:none}.in-game .top-actions{gap:0}.in-game .music-toggle{gap:3px}.in-game .brand-sub{letter-spacing:1px}.in-game .brand{font-size:12px}.in-game .brand>svg{width:19px}}.dice-lobby{max-width:660px}.dice-lobby h1{font-size:56px}.dice-players{grid-template-columns:1fr 1fr;gap:12px;margin:28px 0;display:grid}.dice-player{text-align:left;background:#fffef6;border:1px solid #d4ddc5;border-radius:15px;padding:17px}.dice-player.out{opacity:.45}.dice-name{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.dice-name strong{font-size:12px}.dice-name small{color:#839171;flex-basis:100%;padding-left:38px;font-size:9px}.dice-pair{align-items:center;gap:8px;margin-top:18px;display:flex}.die{color:#355b43;justify-content:center;width:50px;font-family:Arial,sans-serif;font-size:58px;line-height:1;display:inline-flex}.die.unrolled{color:#a4b194;border:1px dashed #c6d1b7;border-radius:9px;font-family:Georgia,serif;font-size:30px;line-height:48px}.dice-total{text-align:center;margin-left:auto;font-size:27px;font-weight:500}.dice-total small{color:#92a17e;font-size:8px;font-weight:400;display:block}.roll-button{width:100%;padding:17px}.dice-lobby .muted{font-size:10px!important}@media (max-width:650px){.dice-lobby h1{font-size:43px}.dice-player{padding:13px 10px}.die{width:39px;font-size:49px}.dice-pair{gap:5px}.dice-total{font-size:23px}.dice-players{gap:8px}}.dice-summary{color:#b8cba0;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;padding:8px 0 2px;font-size:9px;display:flex}.dice-summary .winner{color:#ebd394;font-weight:700}.turn-banner{text-align:center;letter-spacing:1.4px;color:#d6e4bc;background:#234b40;border-radius:9px;margin-bottom:8px;padding:6px;font-size:11px;font-weight:800}.game-shell.your-turn{background:#665016;border:3px solid #ffe05c;box-shadow:0 0 24px #edbf4240}.your-turn .board{background:radial-gradient(#90742b,#665016 80%)}.your-turn .turn-banner{color:#302506;background:#ffe05c;font-size:13px}.your-turn .hand{background:#253e2bd9}.your-turn .status-line{color:#fff4c1}.card-slot.swapped{outline:none!important}.card-slot.swapped.selected{outline-offset:9px;outline:2px dashed #fff!important}.swap-badge{color:#310b2c;text-align:center;background:#ff5ee0;border:1px solid #fff;border-radius:50%;width:18px;height:18px;font-size:14px;font-weight:900;line-height:16px;position:absolute;top:-6px;right:-6px}.swap-legend{text-align:center;color:#ffb9f2;min-height:15px;padding:3px;font-size:9px}.compass-board{grid-template-rows:auto minmax(220px,auto) auto;grid-template-columns:minmax(100px,1fr) minmax(180px,1.5fr) minmax(100px,1fr);gap:10px;width:100%;padding:14px 0;display:grid}.compass-board .opponents{display:contents}.compass-board .seat-position{justify-content:center;align-items:center;min-width:0;display:flex}.compass-board .seat-top{grid-area:1/2}.compass-board .seat-left{grid-area:2/1}.compass-board .seat-right{grid-area:2/3}.compass-board .table-center{grid-area:2/2;gap:12px;min-width:0;padding:6px 0}.compass-board .my-hand{grid-area:3/2}.compass-board .seat-left .hand{transform:rotate(90deg)}.compass-board .seat-right .hand{transform:rotate(270deg)}.compass-board .seat-top .hand{transform:rotate(180deg)}.compass-board .rival{flex-shrink:0;width:172px;padding:8px 10px}.compass-board .rival .card-slot{height:66px}.compass-board .rival .hand-heading{flex-wrap:nowrap;gap:5px}.compass-board .rival .hand-heading strong{max-width:80px;font-size:10px}.compass-board .rival .hand-heading .score{flex-basis:auto;margin-left:auto;padding-left:0;font-size:9px}.compass-board .piles{flex-wrap:wrap;gap:14px}.compass-board .center-emblem{display:none}.compass-board .status-line{text-align:center;line-height:1.4}.compass-board .boo-button{flex-direction:column;gap:3px}.compass-board .table-actions{text-align:center;max-width:100%}.compass-board .self{min-width:155px;padding:8px 14px}@media (max-width:650px){.compass-board{grid-template-rows:auto minmax(162px,auto) auto;grid-template-columns:minmax(78px,1fr) minmax(110px,1.4fr) minmax(78px,1fr);gap:5px;padding:12px 0 5px}.compass-board .rival{width:102px;min-height:106px;padding:4px}.compass-board .rival .card-slot{height:38px}.compass-board .rival .hand-heading{gap:3px;margin-bottom:4px;font-size:7px}.compass-board .rival .hand-heading strong{max-width:48px;font-size:8px}.compass-board .rival .hand-heading .avatar{width:15px;height:15px;font-size:7px}.compass-board .rival .hand-heading .score{font-size:7px}.compass-board .rival .bot-label{display:none}.compass-board .self{min-width:120px;padding:5px 8px}.compass-board .self .card-slot{height:clamp(49px,8.5dvh,72px)}.compass-board .self .hand-heading strong{max-width:60px}.compass-board .table-center{gap:7px}.compass-board .pile-button{height:49px}.compass-board .piles{gap:10px;max-width:115px}.compass-board .drawn-wrap{margin:0}.compass-board .drawn-wrap:before{display:none}.compass-board .status-line{font-size:9px}.compass-board .boo-button{padding:7px 9px;font-size:12px}.compass-board .boo-button small{font-size:6px}.compass-board .text-button{padding:5px;font-size:9px}.turn-banner{margin-bottom:6px;padding:4px;font-size:9px}.your-turn .turn-banner{font-size:11px}.swap-legend{font-size:8px}}.swap-badges{pointer-events:none;flex-wrap:wrap;justify-content:flex-end;gap:2px;max-width:calc(100% + 10px);display:flex;position:absolute;top:-7px;right:-5px}.swap-badges .swap-badge{color:#251227;border-color:#25122780;width:auto;min-width:15px;height:15px;padding:0 3px;font-size:9px;line-height:13px;position:static}.swap-legend{color:#f2e9e7;flex-wrap:wrap;justify-content:center;gap:5px 12px;padding:5px 0;line-height:1.5;display:flex}.swap-key{align-items:center;gap:4px;display:inline-flex}.swap-key i{border-radius:50%;width:8px;height:8px}.swap-legend small{color:#d7d8bf;flex-basis:100%;font-size:8px}.compass-board .hand-cards{gap:12px}.hand:has(.swapped) .hand-cards{gap:12px}
