@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap";:root{font-family:DM Sans,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;font-weight:400;color-scheme:light;--bg: #f7f6f0;--surface: #fffffc;--field: #fbfcf8;--sunk: #f1f3ec;--raised: #fffffc;--hover: #e9ede5;--highlight: #f4f7ee;--ink: #243c33;--muted: #646c62;--label: #73806d;--soft: #8f9786;--leaf: #618267;--line: #e4e6dc;--line-strong: #dce1d5;--green: #1c5547;--green-hover: #113e32;--green-soft: #e3eee8;--on-green: #ffffff;--good: #2f7a4f;--good-soft: #e1ecd8;--red: #b85448;--gold: #bd9758;--gold-deep: #b8872a;--felt-light: #28634f;--felt-dark: #174c3f;--felt-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--felt-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cpath d='M17 1 L33 17 L17 33 L1 17 Z' fill='none' stroke='white' stroke-opacity='0.045'/%3E%3Ccircle cx='17' cy='17' r='1.3' fill='white' fill-opacity='0.06'/%3E%3C/svg%3E")}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg: #0f1a17;--surface: #16241f;--field: #1a2a24;--sunk: #111d19;--raised: #2a4037;--hover: #1f302a;--highlight: #1b2e27;--ink: #e6ece4;--muted: #9aa79f;--label: #93a397;--soft: #7d8b82;--leaf: #8fbf98;--line: #26372f;--line-strong: #30443b;--green: #6cc3a2;--green-hover: #85d3b5;--green-soft: #1d3a31;--on-green: #0c1a15;--good: #7fd49d;--good-soft: #1c3527;--red: #e8907f;--gold: #d6b67c;--gold-deep: #d9a84a;--felt-light: #22584a;--felt-dark: #0f3a30}}:root[data-theme=dark]{color-scheme:dark;--bg: #0f1a17;--surface: #16241f;--field: #1a2a24;--sunk: #111d19;--raised: #2a4037;--hover: #1f302a;--highlight: #1b2e27;--ink: #e6ece4;--muted: #9aa79f;--label: #93a397;--soft: #7d8b82;--leaf: #8fbf98;--line: #26372f;--line-strong: #30443b;--green: #6cc3a2;--green-hover: #85d3b5;--green-soft: #1d3a31;--on-green: #0c1a15;--good: #7fd49d;--good-soft: #1c3527;--red: #e8907f;--gold: #d6b67c;--gold-deep: #d9a84a;--felt-light: #22584a;--felt-dark: #0f3a30}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button,input{outline-offset:4px}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--gold)}button{color:inherit}button svg{flex-shrink:0}button{border:0}a{color:inherit}.red{color:var(--red)}.muted{color:var(--muted);font-size:14px;line-height:1.6}.app{min-height:100dvh}.site-header{max-width:1280px;margin:auto;padding:30px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;background:none;text-align:left;padding:0;font-size:25px;font-weight:700;letter-spacing:-1.2px}.brand-mark{font-size:37px;color:var(--green)}.brand-light{font-weight:450}.brand small{display:block;font-size:7px;letter-spacing:2.05px;margin-top:5px;font-weight:600}.header-actions{display:flex;align-items:center;gap:10px}.icon-button{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:transparent}.icon-button:hover{background:var(--hover)}.home{max-width:1150px;margin:auto;padding:56px 40px 0;display:grid;grid-template-columns:1fr 440px;align-items:center;gap:36px 70px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;display:flex;align-items:center;gap:9px;color:var(--label)}.eyebrow>span,.mode-pill>span:first-child{width:6px;height:6px;background:#739578;border-radius:50%}.intro h1{font-family:Playfair Display,Georgia,serif;font-weight:500;font-size:84px;letter-spacing:-3.8px;line-height:1.07;margin:23px 0}.intro h1 em{font-weight:500;color:var(--leaf)}.intro>p{font-size:15px;line-height:1.8;color:var(--muted)}.hero-cards{height:226px;position:relative;margin-top:28px}.hero-card{position:absolute;top:15px;left:25px;width:115px;height:161px;background:#fffefa;border:1px solid #e2e4d9;border-radius:10px;box-shadow:0 10px 20px #223f3212;color:#294e40}.hero-card-0{transform:rotate(-17deg);top:29px;left:15px}.hero-card-1{transform:rotate(-3deg);left:95px;top:6px}.hero-card-2{transform:rotate(13deg);left:175px;top:17px}.hero-note{position:absolute;left:310px;top:93px;transform:rotate(-7deg);font-family:Playfair Display,Georgia,serif;font-size:13px;font-style:italic;line-height:1.5;color:var(--label);white-space:nowrap}.hero-note>span{display:block;font-size:29px;transform:rotate(210deg);margin-left:15px}.setup-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:30px 32px;box-shadow:0 16px 45px #34432d07;align-self:start}.setup-label{display:flex;align-items:center;gap:10px;font-size:9px;font-weight:650;letter-spacing:1.65px;color:var(--label)}.small-icon{width:36px;height:36px;border-radius:10px;background:var(--sunk);display:grid;place-items:center;color:var(--leaf)}.setup-card h2{font-family:Playfair Display,Georgia,serif;font-size:28px;font-weight:500;letter-spacing:-.7px;margin:22px 0 8px}.setup-card>p{margin:0}.bot-setup{display:grid;gap:12px;margin-bottom:16px}.bot-setup .rules-grid{margin:0}.bot-tag{position:absolute;bottom:-4px;left:50%;transform:translate(-50%);padding:1px 4px;border-radius:4px;background:#1c4a3d;border:1px solid #ffffff33;color:#d8e3cd;font-size:8px;font-weight:700;letter-spacing:.5px;line-height:1.3;text-transform:uppercase}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 20px}.rules-grid label{display:grid;gap:7px;color:var(--label);font-size:10px;font-weight:600}.rules-grid select{width:100%;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--field);color:var(--ink);padding:7px 9px;font-size:11px}.rules-grid .toggle-row{display:flex;grid-column:1 / -1;align-items:center;justify-content:space-between;min-height:44px;padding:0 9px;border:1px solid var(--line);border-radius:8px}.rules-grid input{width:20px;height:20px;accent-color:var(--green)}.paplu-values{grid-column:1 / -1;display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin:0;padding:10px;border:1px solid var(--line);border-radius:8px}.paplu-values legend{padding:0 4px;color:var(--muted);font-size:11px;font-weight:600}.rules-grid .paplu-values input{width:100%;height:36px;border:1px solid var(--line);border-radius:6px;background:var(--field);padding:0 8px;font-size:13px}.paplu-values small{grid-column:1 / -1;color:var(--muted);font-size:11px}.avatar{width:32px;height:32px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e4ebd9;color:#6a8060;font-size:13px;font-weight:650}.avatar-1{background:#f0e3d4;color:#a27d58}.avatar-2{background:#e0e5f0;color:#6b7d9f}.avatar-3{background:#f0dfe3;color:#a67a84}.avatar-4{background:#eee8c9;color:#8e8647}.avatar-5{background:#e5dff0;color:#8c74a1}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:9px;font-size:13px;font-weight:600;min-height:46px;padding:12px 20px;transition:background .15s,transform .15s}.primary{background:var(--green);color:var(--on-green)}.primary:not(:disabled):hover{background:var(--green-hover);transform:translateY(-1px)}.secondary{background:var(--surface);border:1px solid var(--line-strong)}.secondary:not(:disabled):hover{background:var(--hover)}.start-button{width:100%;justify-content:space-between;padding:15px 20px;margin-top:10px}.setup-footer{display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid var(--line);padding-top:19px;margin-top:24px;color:var(--soft);font-size:10px}.home-bottom{grid-column:1/-1;margin-top:28px;display:flex;align-items:center;justify-content:center;border-top:1px solid var(--line);padding:24px 0}.home-bottom>span{font-size:9px;letter-spacing:1.7px;color:var(--soft)}.home-bottom>button{font-size:11px;display:flex;align-items:center;gap:8px;background:none;color:var(--label)}.site-footer{max-width:1150px;margin:auto;padding:26px 40px;display:flex;align-items:center;justify-content:space-between;color:var(--soft);font-size:10px}.site-footer>span:last-child{letter-spacing:5px;font-size:14px}.game-page{max-width:1100px;margin:auto;padding:25px 30px}.text-button{background:none;display:flex;align-items:center;gap:7px;font-size:12px;min-height:44px}.table-surface{position:relative;border-radius:23px;background:radial-gradient(ellipse at 50% 40%,transparent 55%,rgb(0 0 0 / .22) 100%),var(--felt-grain),var(--felt-lattice),radial-gradient(ellipse at 50% 30%,var(--felt-light),var(--felt-dark) 75%);padding:18px 30px 0;color:#fff;box-shadow:inset 0 0 0 6px #ffffff06,inset 0 0 0 7px #ffffff08}.felt-table{position:relative;overflow:visible}.table-surface:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.2;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.2' filter='url(%23n)'/%3E%3C/svg%3E");pointer-events:none}.felt-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:11px;color:#cbd8ba}.felt-top button{display:flex;align-items:center;gap:5px;min-height:32px;padding:0 10px;border:1px solid #ffffff26;border-radius:20px;background:#ffffff0a;color:#eef3e6;font-size:11px}.opponents{position:relative;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.piles{display:flex;position:relative;margin-top:18px;justify-content:center;align-items:flex-end;gap:25px}.pile-wrap{display:flex;flex-direction:column;align-items:center;gap:6px}.playing-card,.deck-back{width:96px;height:134.4px;position:relative;flex-shrink:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;color:#294b3d;text-align:left;-webkit-user-select:none;user-select:none;touch-action:none;overflow:visible}.playing-card.red{color:#b85448}.playing-card:disabled,.deck-back:disabled{opacity:1}.card-artwork{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 2px 2px #13271b30);transition:filter .18s ease}@media(hover:hover)and (pointer:fine){.group-cards .playing-card:hover .card-artwork{filter:drop-shadow(0 7px 5px #13271b38)}}.playing-card.selected .card-artwork{filter:drop-shadow(0 5px 4px #13271b30)}.playing-card:focus-visible{outline:2px solid #668754;outline-offset:4px}.discard-card.drop-target{outline:2px dashed #d9e6ae;outline-offset:7px}.discard-card.drop-target{outline-offset:18px;border-radius:14px}.discard-card.drop-target.drop-hot{outline:3px solid #f3f7e8;outline-offset:9px}.results h2{font:500 28px Playfair Display,Georgia,serif;margin:15px 0}.hand-panel{padding-top:25px}.card-groups{display:flex;flex-wrap:wrap;justify-content:center;padding:22px 0 12px;align-items:flex-start;gap:12px}.card-group{position:relative;flex:0 0 auto}.group-cards{display:flex;flex-wrap:nowrap}.group-cards .playing-card+.playing-card{margin-left:var(--fan-offset, 5px)}.group-cards .playing-card{width:84px;height:117.6px}.selection-check{position:absolute;right:-5px;top:-7px;width:18px;height:18px;border-radius:50%;background:#4e7550;display:grid;place-items:center;color:#fff}.group-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;width:0;min-width:100%;margin-top:9px;min-height:24px;color:var(--muted);font-size:10px}.valid .group-label{color:var(--good);font-weight:600}.move-here{position:relative;flex:none;margin-left:auto;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:var(--on-green);box-shadow:0 2px 6px #13271b40}.move-here:after{content:"";position:absolute;top:-8px;right:-8px;bottom:-8px;left:-8px}.action-bar{display:flex;gap:10px}.dialog{border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--ink);width:min(520px,calc(100% - 28px));max-height:85dvh;padding:25px;box-shadow:0 20px 100px #112a3240}.dialog::backdrop{background:#143a2bcc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.dialog-heading h2{font:500 25px Playfair Display,Georgia,serif;margin:0}.dialog-heading .icon-button{flex-shrink:0}.dialog p,.dialog li{font-size:13px;line-height:1.8;color:var(--label)}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:25px}.help-content ol{padding-left:20px}.help-content li{padding-left:5px;margin:10px 0}.rule-example{background:var(--sunk);padding:14px;border-radius:8px;margin:12px 0}.rule-example>span{display:block;font:500 25px Georgia,serif;color:var(--red);margin-bottom:10px}.rule-example b{font-size:12px}.rule-example p{margin:5px 0 0}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);font-size:14px}.setting-row>span{display:flex;gap:10px;align-items:center}.setting-row select{min-height:38px;padding:0 10px;border:1px solid var(--line-strong);border-radius:9px;background:var(--field);color:var(--ink);font:inherit;font-size:13px}.setting-row input{accent-color:var(--green);width:21px;height:21px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%);z-index:10;background:#3f4c37;color:#fff;padding:16px 18px;border-radius:10px;box-shadow:0 6px 35px #0002;display:flex;align-items:center;gap:15px;width:max-content;max-width:calc(100% - 30px);font-size:13px}.toast button{background:transparent;color:#fff;padding:5px}.results{width:100%;max-width:560px;margin:24px auto 30px;text-align:center}.results .eyebrow{justify-content:center}.results>p{font-size:13px;color:var(--label)}.winner-banner{display:grid;justify-items:center}.winner-banner h2{margin:6px 0 4px}.winner-banner p{margin:0}.winner-face{position:relative;margin:14px 0 10px}.winner-face .player-avatar{box-shadow:0 0 0 3px #ffd66b,0 6px 24px #d9a44155}.winner-crown{position:absolute;top:-20px;left:50%;transform:translate(-50%) rotate(-8deg);color:#d9a441;fill:#ffd66b}.standings{margin:22px 0;padding:0;list-style:none;text-align:left;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.standings li{display:grid;grid-template-columns:22px 36px minmax(0,1fr) auto 56px;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid var(--line);font-size:14px}.standings li:first-child{border-top:0}.standings li.is-you{background:var(--highlight)}.standing-place{font-weight:700;color:var(--muted);text-align:center}.standings li:first-child .standing-place{color:var(--gold-deep)}.standing-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.standing-name small{font-weight:400;color:var(--muted)}.standing-change{font-size:12px;color:var(--muted)}.standing-change.up{color:var(--good)}.standing-change.down{color:var(--red)}.standing-total{text-align:right;font-size:16px}.final-hand>small{display:block;margin:-2px 0 8px;color:var(--muted);font-size:11px}.results details{text-align:left;margin-top:25px;font-size:13px}.results summary{cursor:pointer;padding:12px 0}.final-hand{padding:12px 0;border-top:1px solid var(--line)}.final-who{display:flex;align-items:center;gap:8px;margin-bottom:8px}.final-who>span{margin-left:auto;font-weight:600}.final-groups{display:flex;flex-wrap:wrap;gap:6px}.final-group{display:flex;padding:4px;border-radius:6px;background:var(--sunk)}.final-group.valid{background:var(--good-soft)}.mini-card{position:relative;display:block;width:38px;height:53.2px;flex-shrink:0}.mini-card+.mini-card{margin-left:-18px}.reduce-motion *,.reduce-motion *:before{animation:none!important;transition:none!important}@media(min-width:1000px){.home{min-height:680px}.intro{padding-top:12px}}@media(max-width:1000px){.home{grid-template-columns:1fr 390px;gap:25px;padding:45px 30px 0}.intro h1{font-size:70px}.hero-note{display:none}.hero-cards{transform:scale(.9);transform-origin:left center}.setup-card{padding:25px}.site-header{padding:24px 30px}}@media(max-width:760px){.site-header{padding:19px 22px}.brand{font-size:22px}.brand small{font-size:6px;letter-spacing:1.8px}.brand-mark{font-size:33px}.header-actions{gap:7px}.header-actions .icon-button{width:37px;height:37px}.home{display:flex;flex-direction:column;padding:34px 23px 0;gap:26px}.intro{text-align:center}.intro .eyebrow{justify-content:center;font-size:9px}.intro h1{font-size:61px;letter-spacing:-2.7px;margin:16px 0 12px}.intro h1 br{display:none}.intro>p{font-size:13px;margin:0}.hero-cards{height:168px;width:290px;margin:16px auto -5px;transform:scale(.78);transform-origin:top center}.setup-card{width:100%;max-width:460px;align-self:center;padding:25px 24px}.rules-grid{gap:8px}.setup-card h2{font-size:27px}.home-bottom{margin:0;padding:20px 0;display:flex;flex-direction:column;gap:15px}.site-footer{padding:22px 23px;font-size:9px}.game-page{padding:12px 14px 20px}.app:has(.game-page) .site-footer{display:none}.table-surface{padding:10px 12px 0;border-radius:17px}.opponents{gap:6px}.piles{gap:20px;margin-top:14px}.piles .playing-card,.piles .deck-back{width:64px;height:89.6px}.card-groups{gap:6px;padding:22px 0 6px}.group-cards .playing-card{width:64px;height:90px;margin-right:0}.group-label{font-size:10px;margin-top:4px;min-height:0}.app:has(.game-page) .site-header{padding-top:10px;padding-bottom:10px}.app:has(.game-page) .brand small{display:none}.dialog{padding:21px}.dialog-heading h2{font-size:23px}.dialog-actions .primary,.dialog-actions .secondary{font-size:12px;padding:11px}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.stock-pile{position:relative}.stock-remainder{position:absolute;top:0;width:96px;height:134.4px;pointer-events:none;border-radius:5%/3.57%}.stock-pile .deck-back{z-index:1}.card-groups.is-dragging .card-group{outline:1px dashed #ffffff40;outline-offset:4px;border-radius:8px}.card-groups.is-dragging .card-group:hover{outline-color:#ffffffa0}@media(max-width:760px){.stock-remainder{width:64px;height:89.6px}}.empty-discard{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;text-align:center;color:#d8e3cd;border:1px dashed #aec49b;border-radius:5px;font-size:11px}.card-turn{position:absolute;top:0;right:0;bottom:0;left:0;display:block;transform-style:preserve-3d;pointer-events:none}.card-front,.card-reverse{position:absolute;top:0;right:0;bottom:0;left:0;backface-visibility:hidden}.card-reverse{transform:rotateY(180deg)}.group-cards .playing-card,.deck-back{perspective:800px}.held-card-overlay{position:fixed;z-index:1000;pointer-events:none;transform:rotate(4deg);filter:drop-shadow(-3px 12px 8px #13271b38)}.playing-card.drag-hover .card-artwork{filter:drop-shadow(0 7px 5px #13271b38)}.opponents{position:relative;display:flex;justify-content:center;flex-wrap:wrap;gap:6px 10px}.seat{position:relative;display:grid;justify-items:center;gap:3px;width:76px;text-align:center;transition:opacity .45s}.seat.dropped{opacity:.45}.seat-face{position:relative;display:inline-grid;border-radius:50%}.player-avatar{display:block;border-radius:50%;box-shadow:0 0 0 2px #ffffff30}.turn-ring{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border:4px solid #ffd66b;border-radius:50%;box-shadow:0 0 0 2px #163f33,0 0 20px 5px #ffd66bcc;animation:turn-glow 1.2s ease-in-out infinite;pointer-events:none}@keyframes turn-glow{50%{box-shadow:0 0 0 2px #163f33,0 0 6px 1px #ffd66b55}}.seat-face{margin-bottom:6px;transition:transform .45s ease-out}.seat.active .seat-face{transform:scale(1.1)}.opponents:has(.seat.active) .seat:not(.active):not(.dropped){opacity:.65}.seat.active .seat-name{color:#ffd66b;font-weight:700}.seat-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#f3f7e8}.seat-status{display:flex;align-items:center;gap:5px;min-height:16px;font-size:11px;color:#cbd8ba}.seat-score{font-size:10px;color:#a9bda9}.seat-bubble-anchor{position:absolute;top:calc(100% + 4px);left:50%;z-index:30;transform:translate(-50%);pointer-events:none}.seat-bubble{position:relative;display:block;padding:5px 9px;border-radius:10px;background:var(--surface);color:var(--ink);font-size:11px;font-weight:600;white-space:nowrap;box-shadow:0 4px 12px #0f2a2140}.seat-bubble:before{content:"";position:absolute;top:-5px;left:50%;width:10px;height:10px;background:inherit;transform:translate(-50%) rotate(45deg)}.flight-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25;pointer-events:none}.flight-card{position:absolute;top:0;left:0;perspective:800px;filter:drop-shadow(-2px 8px 6px #13271b40)}@media(max-width:760px){.opponents{gap:6px 4px}.seat{width:64px}.seat-name{font-size:11px}}@media(min-width:761px){.opponents{gap:10px 22px}.seat{width:104px}.seat .player-avatar{width:60px;height:60px}.seat-name{font-size:14px}.seat-status,.seat-score{font-size:12px}}.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:12px;margin:8px 0 16px}.avatar-grid button{position:relative;display:grid;place-items:center;padding:4px;border-radius:50%;background:none}.avatar-grid button.chosen .player-avatar{box-shadow:0 0 0 3px var(--green)}.avatar-check{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--green);color:var(--on-green)}.setup-card>.muted+.rules-grid{margin-top:22px}.you-field{display:grid;gap:7px}.you-field>label{color:var(--label);font-size:10px;font-weight:600}.you-row{display:flex;align-items:center;gap:10px}.you-row input{flex:1;min-width:0;height:44px;border:1px solid var(--line);border-radius:9px;background:var(--field);padding:0 12px;color:var(--ink);font-size:14px}.avatar-choice{position:relative;flex-shrink:0;width:44px;height:44px;padding:0;border-radius:50%;background:none}.avatar-choice .player-avatar{box-shadow:0 0 0 1px var(--line)}.avatar-edit{position:absolute;right:-3px;bottom:-3px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--green);color:var(--on-green);box-shadow:0 0 0 2px var(--surface)}.avatar-initial{display:grid;place-items:center;border-radius:50%;background:var(--sunk);color:var(--green);font-weight:700}@media(min-width:761px)and (max-height:900px){.app:has(.game-page) .site-header{padding-top:10px;padding-bottom:10px}.app:has(.game-page) .brand small{display:none}.game-page{padding-top:12px}.table-surface{padding:12px 24px 0}.seat .player-avatar{width:44px;height:44px}.piles{margin-top:10px}.piles .playing-card,.piles .deck-back,.stock-remainder{width:80px;height:112px}.group-cards .playing-card{width:68px;height:95.2px}.card-groups{padding-top:14px;padding-bottom:4px}}.app:has(.game-page) .brand small,.app:has(.game-page) .site-footer{display:none}.app:has(.game-page){display:flex;flex-direction:column}.app:has(.game-page) .site-header{width:100%}.game-page{flex:1;display:flex;flex-direction:column;width:100%}.table-surface,.felt-table{flex:1;display:flex;flex-direction:column}.felt-top{margin-bottom:4px;font-size:11px;color:#cbd8ba}.felt-top .table-info{display:block;max-width:100%;min-height:0;padding:2px 0;border:0;border-radius:6px;background:none;color:inherit;font:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-info>*{display:inline}.table-info small{font-size:inherit;font-weight:650;color:#f3f7e8}.table-info b{font-weight:500}.table-info>:not(.table-info-more,small):before{content:" · ";opacity:.7}.table-info .table-info-more{display:inline-flex;align-items:center;gap:3px;margin-right:5px;vertical-align:-2px;opacity:.8}.table-info-more span{display:none}.felt-top .table-info:hover .table-info-more{opacity:1}@media(min-width:761px){.felt-top{position:absolute;top:0;left:0;z-index:2;margin:0}.felt-top .table-info{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0;font-size:12px;line-height:1.35;white-space:normal}.table-info>*{display:block}.table-info>:not(.table-info-more,small):before{content:none}.table-info small{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#cbd8ba}.table-info b{color:#f3f7e8;font-size:14px;font-weight:600}.table-info .table-info-more{display:inline-flex;order:9;align-self:flex-start;margin:4px 0 0;font-size:11px;text-decoration:underline;text-underline-offset:3px}.table-info-more span{display:inline}}.table-rules{display:grid;gap:12px;margin:4px 0 0}.table-rules>div{display:grid;grid-template-columns:92px 1fr;gap:12px}.table-rules dt{color:var(--label);font-size:12px;font-weight:650;padding-top:1px}.table-rules dd{margin:0;font-size:14px;line-height:1.45}.piles{--pile-w: 96px;--pile-gap: 36px;align-items:center;gap:var(--pile-gap)}.deck-count{position:absolute;right:-6px;bottom:-6px;z-index:2;min-width:24px;padding:2px 6px;border-radius:10px;background:#0f3328;color:#cbd8ba;font-size:10px;font-weight:600;text-align:center;box-shadow:0 0 0 1px #ffffff20}.table-status{display:grid;justify-items:center;gap:5px}.status-pill{display:flex;align-items:center;gap:10px;max-width:100%;padding:7px 24px;border-radius:999px;background:#0f332866;box-shadow:0 0 0 1px #ffffff18}.status-pill:has(.player-avatar){padding-left:7px}.status-pill.your-turn{background:#ffd66b;color:#2b2410;box-shadow:0 4px 16px #ffd66b40}.status-pill h2{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 24px Playfair Display,Georgia,serif}.group-label{color:#a9bda9}.valid .group-label{color:#bfe3a0;font-weight:600}.move-here{background:#ffd66b;color:#2b2410}.seat-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:6px 0 0}.hand-who{display:flex;align-items:center;gap:10px;min-width:0;padding-left:6px}.hand-who>div{display:flex;flex-direction:column;min-width:0;line-height:1.25}.hand-who>div>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hand-who b{font-size:13px;color:#f3f7e8}.seat-row.your-turn .hand-who b{color:#ffd66b}.hand-who>div>span{font-size:11px;color:#a9bda9}.hand-tools{display:flex;align-items:center;gap:6px;flex-shrink:0}.hand-tools>button,.hand-tools .react-wrap>button{display:flex;align-items:center;gap:6px;min-height:38px;padding:8px 12px;border-radius:999px;background:#ffffff14;color:#eef3e6;font-size:12px;font-weight:600}.hand-tools>button:not(:disabled):hover,.hand-tools .react-wrap>button:hover{background:#ffffff26}.hand-tools>button:disabled{opacity:.35}.selected-count{color:#cbd8ba;font-size:11px;white-space:nowrap}.hand-dock{padding:4px 0 max(14px,env(safe-area-inset-bottom))}.action-bar{display:flex;justify-content:flex-end;gap:10px}.action-bar.is-idle{visibility:hidden}.action-bar .primary{min-width:180px;background:#fdf6e3;color:#173f33}.action-bar .primary:not(:disabled):hover{background:#fff}.action-bar .secondary{background:transparent;border-color:#ffffff40;color:#eef3e6}.action-bar .secondary:not(:disabled):hover{background:#ffffff14}.action-bar button:disabled{opacity:.45}@media(max-width:760px){.game-page{padding:8px 8px 0}.table-surface{padding:10px 10px 0}.piles{margin-top:16px}.piles .playing-card,.piles .deck-back,.stock-remainder{width:78px;height:109.2px}.status-pill{padding:6px 20px}.bot-tag{display:none}.status-pill h2{font-size:21px}.card-groups{gap:6px;padding:20px 0 6px}.group-cards .playing-card{width:72px;height:100.8px}.group-label{margin-top:4px;min-height:0}.hand-tools .tool-label{display:none}.hand-tools>button{padding:8px 11px}.seat-row.selecting .hand-stats,.selected-count{display:none}.seat-row.selecting .hand-tools{gap:4px}.card-groups{row-gap:8px;justify-content:flex-start}.group-label{min-height:24px}.hand-dock{position:sticky;bottom:0;z-index:5;margin:0 -10px;padding:4px 10px max(10px,env(safe-area-inset-bottom))}.action-bar .primary{min-width:0;flex:1}}@media(min-width:761px)and (max-height:900px){.hand-dock{padding-top:8px;padding-bottom:10px}}.game-page:has(.results) .table-surface{display:none}.opponents{--arc-depth: 72px;flex-wrap:nowrap;padding-bottom:calc(var(--arc-depth) * .5);margin-bottom:calc(var(--arc-depth) * -.3)}.opponents .seat{transform:translateY(calc(var(--arc) * var(--arc-depth)))}@media(max-width:760px){.opponents{--arc-depth: 56px;margin-bottom:0}}@media(min-width:761px){.opponents{--arc-depth: 110px;gap:10px 44px;margin-bottom:calc(var(--arc-depth) * -.4)}}@media(min-width:1100px)and (min-height:850px){.seat{width:120px}.seat .player-avatar{width:72px;height:72px}.seat-name{font-size:15px}.piles .playing-card,.piles .deck-back,.stock-remainder{width:112px;height:156.8px}.status-pill h2{font-size:28px}.group-cards .playing-card{width:96px;height:134.4px}.hand-who b{font-size:15px}.hand-who>div>span{font-size:12px}}@media(max-width:760px){.piles{--pile-w: 78px;--pile-gap: 20px}}@media(min-width:761px)and (max-height:900px){.piles{--pile-w: 80px}}@media(min-width:1100px)and (min-height:850px){.piles{--pile-w: 112px}}@media(min-width:761px){.app:has(.game-page) .site-header{padding-top:10px;padding-bottom:10px}.game-page{margin:0 auto;padding-top:16px;padding-bottom:12px}.table-surface,.felt-table{flex:none}}.wild-card-preview{position:absolute;top:0;left:0;width:var(--pile-w);height:calc(var(--pile-w) * 1.4);transform:translate(-48%) rotate(-14deg)}.stock-pile .stock-remainder{z-index:1}.stock-pile .deck-back{z-index:2}.stock-pile .deck-count{z-index:3}.opponents:not([data-seats="1"]):not([data-seats="2"]){justify-content:space-between;width:min(100%,780px);margin-left:auto;margin-right:auto}@media(max-width:760px){.opponents:not([data-seats="1"]):not([data-seats="2"]){width:100%}.opponents[data-seats="3"]{padding-left:18px;padding-right:18px}}.table-centre{--rhythm: 36px;padding:calc(var(--rhythm) - 14px) 0 calc(var(--rhythm) - 24px)}.table-status{margin-top:calc(var(--rhythm) * 1.5 + 4px)}@media(min-width:761px)and (max-height:900px){.table-centre{--rhythm: 30px}}@media(min-width:1100px)and (min-height:850px){.table-centre{--rhythm: 46px}}@media(max-width:760px){.table-centre{flex:1;display:flex;flex-direction:column;justify-content:space-evenly;padding:0 0 11px}.table-status{margin-top:clamp(8px,3dvh,64px)}}.status-pill h2{display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1.1}.status-pill:has(.player-avatar) h2{align-items:flex-start}.pill-detail{font:500 13px DM Sans,system-ui,sans-serif;letter-spacing:.2px;opacity:.8}@media(max-width:760px){.pill-detail{font-size:12px}}@media(min-width:1100px)and (min-height:850px){.pill-detail{font-size:15px}}@media(min-width:761px)and (max-height:900px){.status-pill{padding-top:5px;padding-bottom:5px}.status-pill h2{font-size:20px}.pill-detail{font-size:12px}}@media(min-width:1100px)and (min-height:850px){.status-pill{padding-top:5px;padding-bottom:5px}.status-pill h2{font-size:24px}.pill-detail{font-size:14px}}.deal-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:40;cursor:pointer}.deal-card{position:absolute;top:0;left:0;perspective:800px;filter:drop-shadow(-2px 6px 5px #13271b40)}.deal-card>.card-back,.deal-turn,.deal-face,.deal-turn>.card-back{position:absolute;top:0;right:0;bottom:0;left:0}.card-back{display:block;background:url(/cards/B2.svg) center / contain no-repeat}.deal-turn{display:block;transform-style:preserve-3d}.deal-face,.deal-turn>.card-back{backface-visibility:hidden}.deal-turn>.card-back{transform:rotateY(180deg)}.deal-skip{position:absolute;right:0;bottom:8px;padding:4px 10px;border-radius:999px;background:#0f332899;color:#cbd8ba;font-size:11px}.hand-panel.is-dealing .card-groups{opacity:0}.win-celebration{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#1c5547fa,#0d2a21);cursor:pointer}.confetti{position:absolute;top:0;color:#fdf6e3;pointer-events:none;text-shadow:0 2px 4px #0005}.confetti.red{color:#ff7a7a}.win-card{position:relative;display:grid;justify-items:center;gap:8px;padding:24px;text-align:center;color:#fdf6e3}.win-card .winner-face{margin:20px 0 6px}.win-card .winner-crown{position:absolute;top:-30px;left:50%;margin-left:-17px;color:#d9a441;fill:#ffd66b}.win-card .winner-crown svg{fill:#ffd66b}.win-card h2{margin:0;font:500 34px Playfair Display,Georgia,serif}.win-points{font-size:44px;font-weight:700;color:#ffd66b;text-shadow:0 4px 24px #ffd66b66}.win-hand{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:560px;margin-top:10px}.win-card small{margin-top:12px;color:#cbd8ba;font-size:12px}.felt-table .wild-card-preview,.felt-table .discard-card{transition:opacity .4s}.felt-table.is-dealing .wild-card-preview,.felt-table.is-dealing .discard-card,.felt-table.is-dealing .stock-pile .deck-back,.felt-table.is-dealing .stock-remainder,.felt-table.is-dealing .deck-count{opacity:0;visibility:hidden}.status-pill.your-turn .player-avatar{box-shadow:0 0 0 2px #fff8}@media(min-width:761px)and (max-height:900px){.status-pill h2{gap:2px}.status-pill .player-avatar{width:26px;height:26px}.status-pill{padding-top:4px;padding-bottom:4px}}.hand-stats{display:flex;flex-direction:column;justify-content:center;align-self:stretch;gap:1px;margin-left:4px;padding-left:12px;border-left:1px solid #ffffff26;line-height:1.25;font-size:11px;color:#a9bda9;white-space:nowrap}.hand-stats b{font-size:13px}.seat-row .hand-stats .hand-points b{color:#ff8a8a}.seat-row .hand-stats .hand-points.safe b{color:#f3f7e8}.hand-dock{display:flex;align-items:center;gap:12px}.hand-dock .action-bar{flex:1}.hand-card-points{font-size:12px;color:#cbd8ba;white-space:nowrap}@media(max-width:760px){.hand-card-points{font-size:11px}.hand-card-points{max-width:74px;white-space:normal;line-height:1.2}.hand-dock{gap:8px}.action-bar .show-button{padding:0 14px}.action-bar button{white-space:nowrap}.action-bar .show-button svg{display:none}}.seat-row .hand-stats .hand-bonus b{color:#8fe39a}.deal-card.riffle-card{filter:drop-shadow(0 1px 1px #13271b1f)}.seat-score,.hand-who .hand-total{font-weight:700}.seat-row .hand-who .hand-total.gain,.seat-score.gain{color:#8fe39a}.seat-row .hand-who .hand-total.loss,.seat-score.loss{color:#ff8a8a}.standing-total.gain{color:var(--good)}.standing-total.loss{color:var(--red)}.win-rays{position:absolute;top:-40px;left:50%;width:360px;height:360px;margin-left:-180px;border-radius:50%;background:repeating-conic-gradient(from 0deg,#ffd66b33 0deg 8deg,transparent 8deg 22deg);mask:radial-gradient(circle,#000 25%,transparent 68%);pointer-events:none}.win-card>:not(.win-rays){position:relative}.win-how{margin:0;color:#cbd8ba;font-size:13px}.leader-crown{position:absolute;top:-13px;left:50%;z-index:2;transform:translate(-50%) rotate(-10deg);color:#d9a441;line-height:0;filter:drop-shadow(0 1px 1px #0006)}.leader-crown svg{fill:#ffd66b}.dealer-chip{position:absolute;top:-6px;right:-18px;z-index:2;padding:1px 5px;border-radius:999px;background:#fdf6e3;color:#173f33;font-size:9px;font-weight:800;letter-spacing:.3px;line-height:1.4;text-transform:uppercase;box-shadow:0 1px 3px #0005}.standing-name{display:flex;flex-direction:column;min-width:0}.standing-name>span{overflow:hidden;text-overflow:ellipsis}.standing-note{white-space:normal;line-height:1.35;font-size:11px;font-weight:400;color:var(--muted)}.your-round{margin:6px 0 0;font-weight:700;font-size:15px}.your-round.gain{color:var(--good)}.your-round.loss{color:var(--red)}.win-card .your-round{font-size:18px}.win-card .your-round.gain{color:#8fe39a}.win-card .your-round.loss{color:#ff8a8a}.round-winner .standing-note{color:var(--good)}.standing-crown{margin-left:5px;vertical-align:-1px;color:#d9a441;fill:#ffd66b}.hand-who .dealer-chip{top:auto;right:auto;bottom:-9px;left:50%;transform:translate(-50%)}.folded-cards{position:absolute;right:-14px;bottom:-4px;z-index:2;width:22px;height:30px}.folded-cards>.card-back{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:2px;filter:drop-shadow(0 1px 1px #0005)}.folded-hand{display:flex;align-items:center;justify-content:center;gap:18px;min-height:110px;color:#cbd8ba;font-size:14px;font-weight:600}.folded-cards.big{position:relative;right:auto;bottom:auto;width:56px;height:78px}.card-groups[hidden]{display:none}.hand-who .player-avatar{width:48px;height:48px}@media(max-width:760px){.hand-who .player-avatar{width:44px;height:44px}}.seat{align-content:start}.hand-tools>button[hidden]{display:none}.discard-pile{position:relative}.discard-under{position:absolute;top:0;left:0;pointer-events:none}.discard-pile>.discard-card{z-index:1}.rules-panel{display:grid;gap:16px;margin:0 0 20px}.rules-choices{display:grid;grid-template-columns:2fr 5fr;gap:12px}.rules-choice,.ending-picker{display:grid;gap:7px;color:var(--label);font-size:10px;font-weight:600}.segmented{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;padding:3px;gap:3px;border:1px solid var(--line);border-radius:11px;background:var(--sunk)}.segmented button{min-height:36px;border:0;border-radius:8px;background:none;color:var(--muted);font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.segmented button[aria-checked=true]{background:var(--raised);color:var(--ink);box-shadow:0 1px 3px #0000002a}.ending-kinds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ending-kinds button{position:relative;display:grid;gap:5px;padding:10px 9px 9px;border:1.5px solid var(--line);border-radius:13px;background:var(--surface);color:var(--ink);align-content:start;text-align:left;transition:border-color .15s,background .15s}.ending-kinds button b{font-size:13px;font-weight:650}.ending-kinds button small{font-size:11px;font-weight:450;line-height:1.3;color:var(--muted)}.ending-kinds button.chosen{border-color:var(--green);background:var(--green-soft)}.ending-kinds button.chosen:after{content:"";position:absolute;top:9px;right:9px;width:7px;height:7px;border-radius:50%;background:var(--green)}.ending-kinds svg{display:block;width:100%;max-width:64px;height:20px}.ending-kinds svg .fill{fill:var(--green)}.ending-kinds svg circle.fill,.ending-kinds svg .ring{stroke:var(--green);stroke-width:1.5}.ending-kinds svg .ring{fill:none}.ending-kinds svg .track{fill:var(--line-strong)}.ending-kinds svg .pole{fill:var(--ink)}.ending-kinds svg .flag{fill:var(--gold)}.ending-kinds svg .out{fill:var(--red)}.ending-dial{display:grid;gap:12px;padding:14px 16px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 8px 22px #34432d10}.ending-number{display:flex;align-items:center;justify-content:space-between}.ending-number>div{display:grid;justify-items:center;gap:2px}.ending-number button{display:grid;place-items:center;width:44px;height:44px;border:1.5px solid var(--line);border-radius:50%;background:var(--field);color:var(--ink)}.ending-number button:disabled{opacity:.35}.ending-number output{font-family:Playfair Display,Georgia,serif;font-size:40px;font-weight:700;line-height:1;font-variant-numeric:lining-nums tabular-nums;color:var(--ink)}.ending-number span{font-size:11px;font-weight:600;color:var(--muted)}.ending-dial input[type=range]{width:100%;margin:0;accent-color:var(--green)}.ending-quick{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}.ending-quick button{min-height:30px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:none;color:var(--muted);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}.ending-quick button[aria-pressed=true]{border-color:var(--green);color:var(--green)}.ending-dial p{margin:0;text-align:center;font-size:13px;font-weight:450;color:var(--ink)}.table-info-pool{color:#ffd66b}.game-over{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 auto 18px;padding:14px 20px;max-width:460px;border-radius:16px;background:linear-gradient(135deg,#fff4cf,#ffe7a3);box-shadow:0 8px 28px #d9a44140;color:#5b4310;text-align:left}.game-over svg{flex-shrink:0;color:#b8872a}.game-over b{display:block;font:600 20px Playfair Display,Georgia,serif}.game-over span{font-size:12px}.join-code{display:grid;grid-template-columns:1fr auto;gap:8px}.join-code input{min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--field);padding:0 12px;color:var(--ink);font-size:15px;letter-spacing:2px;text-transform:uppercase}.join-code input::placeholder{letter-spacing:0;text-transform:none}.online-page{display:grid;justify-items:center;padding:32px 16px 48px}.online-card{width:100%;max-width:460px;display:grid;gap:14px}.online-card h2{margin:0;font:500 30px Playfair Display,Georgia,serif}.online-card .muted{margin:0}.online-card form{display:grid;gap:16px}.table-code{letter-spacing:3px;font-family:DM Sans,sans-serif;font-weight:700}.invite{display:flex;flex-wrap:wrap;gap:8px}.invite .secondary{flex:1;gap:7px;min-width:110px;padding:10px 12px;text-decoration:none;color:var(--ink)}.lobby-seats{display:grid;margin:0;padding:0;list-style:none;border:1px solid var(--line);border-radius:14px;overflow:hidden}.lobby-seats li{display:flex;align-items:center;gap:12px;padding:10px 12px;border-top:1px solid var(--line)}.lobby-seats li:first-child{border-top:0}.lobby-name{flex:1;display:grid;min-width:0}.lobby-name small{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px}.lobby-name b small{display:inline;font-weight:400}.add-bot{gap:7px}.online-waiting{margin:0;text-align:center;color:var(--muted)}.online-leave{justify-self:center;color:var(--muted)}.online-problem{margin:0;color:var(--red);font-size:13px}.online-status{position:fixed;top:10px;left:50%;z-index:70;display:flex;align-items:center;gap:6px;margin:0;padding:6px 12px;border-radius:999px;background:#3f4c37;color:#fff;font-size:12px;transform:translate(-50%)}.react-wrap{position:relative}.react-menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:20;display:flex;gap:2px;padding:5px;border-radius:999px;background:var(--surface);box-shadow:0 6px 20px #0f2a2150}.react-menu button{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:none;font-size:22px}.react-menu button:hover{background:var(--hover)}.my-reaction{position:absolute;top:-18px;right:-16px;z-index:3;font-size:26px;pointer-events:none}.seat-bubble:only-child{font-size:11px}.countdown{font-variant-numeric:tabular-nums}.countdown.hurry{color:#b3261e}.status-pill:not(.your-turn) .countdown.hurry{color:#ffb4a8}.turn-ring.timed{border-color:transparent}.turn-clock{position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;width:calc(100% + 8px);height:calc(100% + 8px);overflow:visible}.turn-clock circle{fill:none;stroke-width:8}.clock-track{stroke:#ffffff26}.clock-arc{stroke:#ffd66b;stroke-linecap:round;transition:stroke .4s}.turn-clock.hurry .clock-arc{stroke:#ff7a6b}.away-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0;padding:10px 14px;border-radius:12px;background:#0f332899;color:#fdf6e3;font-size:13px}.away-banner .primary{min-height:38px;padding:8px 16px;background:#ffd66b;color:#2b2410}.seat-bubble.emoji{padding:0;background:none;box-shadow:none;font-size:30px;filter:drop-shadow(0 2px 3px #0005)}.seat-bubble.emoji:before{display:none}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-top:18px;padding:3px;border:1px solid var(--line);border-radius:12px;background:var(--sunk)}.mode-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border-radius:9px;background:none;color:var(--muted);font-size:13px;font-weight:600}.mode-switch button.chosen{background:var(--raised);color:var(--ink);box-shadow:0 1px 3px #34432d26}.setup-card .mode-line{margin:10px 0 18px}.rules-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--field);font-size:13px;color:var(--ink)}.rules-summary>span{display:grid;gap:2px}.rules-summary small{color:var(--label);font-size:10px;font-weight:600}.rules-summary .text-button{min-height:36px;color:var(--green);font-weight:600}.mode-panel{display:grid;gap:10px;margin-top:4px}.mode-panel .rules-grid{margin:0}.continue-button{justify-content:space-between}@media(max-width:760px)and (max-height:880px){.opponents{--arc-depth: 40px}.seat .player-avatar{width:42px;height:42px}.piles{--pile-w: 68px;margin-top:6px}.piles .playing-card,.piles .deck-back,.stock-remainder{width:68px;height:95.2px}.group-cards .playing-card{width:64px;height:89.6px}.card-groups,.hand-panel{padding-top:12px}}@media(max-width:760px)and (max-height:760px){.opponents{--arc-depth: 28px}.seat .player-avatar{width:36px;height:36px}.piles{--pile-w: 60px}.piles .playing-card,.piles .deck-back,.stock-remainder{width:60px;height:84px}.group-cards .playing-card{width:58px;height:81.2px}.status-pill h2{font-size:18px}.status-pill{padding-block:4px}}@media(max-width:760px)and (max-height:700px){.app:has(.game-page) .site-header{padding-top:4px;padding-bottom:4px}.opponents{--arc-depth: 20px}.seat .player-avatar{width:32px;height:32px}.piles{--pile-w: 54px;margin-top:2px}.piles .playing-card,.piles .deck-back,.stock-remainder,.group-cards .playing-card{width:54px;height:75.6px}.card-groups,.hand-panel{padding-top:4px}.status-pill h2{font-size:16px}.table-surface{padding-top:5px}.felt-top{margin-bottom:0}}.deck-back{transition:translate .18s ease-out}.deck-back.is-drawing{translate:0 14px}.show-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:1.5px solid #ffd66b;border-radius:12px;background:transparent;color:#ffd66b;font-weight:700}.show-button:not(:disabled):hover{background:#ffd66b1f}.action-bar .show-button:disabled{opacity:.45}.dialog .show-button{background:#ffd66b;border-color:#ffd66b;color:#2b2410}.dialog .show-button:hover{background:#ffe08a}.show-warning{margin:12px 0 0;font-size:13px;color:var(--muted)}.show-spread{margin:14px 0 6px}.show-spread .show-card .mini-card{transform:rotate(6deg)}.show-sequence{--show-w: clamp(46px, 7.5vw, 84px);position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px;border-radius:inherit;background:var(--felt-lattice),radial-gradient(ellipse at 50% 45%,#0f3328ee,#0a241df5);color:#f3f7e8;cursor:pointer;overflow:hidden}.show-who{display:flex;align-items:center;gap:10px}.show-who h2{margin:0;font:600 26px Playfair Display,Georgia,serif;color:#ffd66b}.show-down-card{position:relative;display:block;width:var(--show-w);aspect-ratio:5 / 7;filter:drop-shadow(0 6px 10px #0006)}.show-groups{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 18px;max-width:100%}.show-group{display:grid;justify-items:start;gap:6px}.show-group-cards{display:flex;perspective:800px}.show-card{position:relative;display:block;width:var(--show-w);aspect-ratio:5 / 7;filter:drop-shadow(0 3px 4px #0005)}.show-card+.show-card{margin-left:calc(var(--show-w) * -.55)}.show-group small{color:#bfe3a0;font-size:11px;font-weight:600}.show-skip{margin:0;font-size:12px;color:#cbd8ba}@media(max-width:760px){.show-sequence{--show-w: 46px;gap:14px}.show-who h2{font-size:22px}.show-groups{gap:10px 12px}}.game-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 16px}.game-picker button{display:grid;justify-items:start;gap:2px;padding:12px 14px;border:1.5px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left;transition:border-color .15s,background .15s}.game-picker button.chosen{border-color:var(--green);background:var(--green-soft)}.game-picker b{font:600 18px Playfair Display,Georgia,serif}.game-picker small{color:var(--muted);font-size:12px}.game-suits{font-size:13px;letter-spacing:2px;color:var(--leaf)}.coming-next{margin:0;padding:12px 14px;border:1px dashed var(--line-strong);border-radius:12px;font-size:13px}.tp-variants{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}@media(max-width:480px){.tp-variants{grid-template-columns:1fr 1fr}}.tp-variants button{display:grid;gap:3px;align-content:start;padding:9px 10px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left}.tp-variants button.chosen{border-color:var(--green);background:var(--green-soft)}.tp-variants b{font-size:13px}.tp-variants small{font-size:11px;font-weight:450;line-height:1.3;color:var(--muted)}.tp-surface{display:flex;flex-direction:column;min-height:min(860px,calc(100dvh - 90px));overflow:hidden}.tp-seat{position:relative}.tp-seat.winner .player-avatar{box-shadow:0 0 0 3px #ffd66b,0 0 18px 4px #ffd66b88}.tp-chips{display:inline-flex;align-items:center;gap:3px;color:#ffd66b;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}.tp-tag{display:inline-block;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.3px;text-transform:uppercase}.tp-tag.blind{background:#0f332899;color:#cbd8ba;box-shadow:inset 0 0 0 1px #ffffff26}.tp-tag.seen{background:#fdf6e3;color:#173f33}.tp-tag.packed,.tp-tag.out{background:#ffffff14;color:#a9bda9}.tp-mini-hand{--tp-w: 26px;display:flex;justify-content:center;margin-top:4px;min-height:calc(var(--tp-w) * 1.4)}.tp-mini-hand .tp-card+.tp-card{margin-left:calc(var(--tp-w) * -.55)}.tp-mini-hand.showing{--tp-w: 40px}.tp-card{position:relative;display:block;width:var(--tp-w, 70px);aspect-ratio:5 / 7;perspective:700px;filter:drop-shadow(0 2px 3px #0005)}.tp-card .card-turn{position:absolute;top:0;right:0;bottom:0;left:0}.tp-bubble{position:absolute;top:-8px;left:50%;translate:-50% 0;padding:2px 8px;border-radius:999px;background:#fdf6e3;color:#173f33;font-size:11px;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px #0004;z-index:3}.tp-centre{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:10px 0}.tp-joker{--tp-w: 52px;display:grid;justify-items:center;gap:3px;color:#ffd66b;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.tp-pot{display:flex;align-items:center;gap:10px;padding:8px 16px 8px 10px;border-radius:999px;background:#0f332880;box-shadow:inset 0 0 0 1px #ffffff1a}.tp-pot b{display:block;font:700 26px/1 Playfair Display,Georgia,serif;color:#ffd66b;font-variant-numeric:lining-nums tabular-nums}.tp-pot small{font-size:11px;color:#cbd8ba}.tp-stake{margin:0;font-size:12px;color:#cbd8ba}.tp-status{margin:4px 0 8px}.tp-me .seat-row{padding-top:0}.tp-hand-name{color:#f3f7e8;font-size:13px;font-weight:700}.tp-my-cards{--tp-w: clamp(72px, 13vw, 104px);position:relative;display:flex;justify-content:center;gap:10px;padding:12px 0 10px}.tp-see{position:absolute;top:50%;left:50%;translate:-50% -50%;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 18px;border:0;border-radius:999px;background:#ffd66b;color:#2b2410;font-weight:700;box-shadow:0 6px 18px #0006;z-index:2}.tp-actions{flex-wrap:wrap;justify-content:flex-end}.tp-actions .secondary{background:transparent;border-color:#ffffff40;color:#eef3e6}.tp-actions .primary{min-width:150px;background:#fdf6e3;color:#173f33}@media(max-width:760px){.tp-actions{display:grid;grid-template-columns:repeat(3,1fr)}.tp-actions .primary{min-width:0;grid-column:span 3}.tp-actions button{padding:0 8px}}.tp-chip-flight{position:absolute;top:0;left:0;z-index:20;display:inline-flex;align-items:center;gap:3px;translate:-50% -50%;padding:3px 9px;border-radius:999px;background:#ffd66b;color:#2b2410;font-size:12px;font-weight:800;box-shadow:0 3px 10px #0006;pointer-events:none}.tp-result{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25;display:grid;place-items:center;padding:16px;background:var(--felt-lattice),radial-gradient(ellipse at 50% 45%,#0f3328f2,#0a241df8)}.tp-result-card{display:grid;justify-items:center;gap:10px;width:min(520px,100%);text-align:center}.tp-result-winners{display:flex;gap:6px}.tp-result-card h2{margin:0;font:600 28px Playfair Display,Georgia,serif;color:#ffd66b}.tp-result-why{margin:0;color:#cbd8ba;font-size:14px}.tp-shown{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.tp-shown-hand{display:grid;justify-items:center;gap:4px;padding:8px 10px;border-radius:12px;background:#ffffff0d}.tp-shown-hand.won{box-shadow:inset 0 0 0 1.5px #ffd66b}.tp-shown-who{font-size:12px;font-weight:700;color:#f3f7e8}.tp-shown-cards{display:flex}.tp-shown-hand small{color:#bfe3a0;font-size:12px;font-weight:600}.tp-standings{display:grid;gap:4px;width:min(320px,100%);margin:4px 0;padding:0;list-style:none}.tp-standings li{display:flex;align-items:center;gap:8px;padding:6px 12px;border-radius:10px;background:#ffffff0d;color:#eef3e6}.tp-standings li b{margin-left:auto;color:#ffd66b}.tp-standings li.champion{box-shadow:inset 0 0 0 1.5px #ffd66b}.tp-standings svg{color:#ffd66b}.tp-result .primary{min-width:200px;background:#fdf6e3;color:#173f33}@media(min-width:761px){.tp-surface>.felt-top{top:18px;left:30px}}.tp-bubble{top:30px;left:auto;right:-18px;translate:0 0}.chip-stack{position:relative;display:inline-block;flex:none;vertical-align:middle}.poker-chip{position:absolute;left:0;border-radius:50%}.chip-pile{display:inline-flex;align-items:flex-end;gap:3px;min-height:26px}.tp-chips,.tp-chip-flight{gap:5px}.tp-middle{display:flex;align-items:center;justify-content:center;gap:18px}.tp-deck .deck-back{display:block;width:72px;height:100.8px;border-radius:6px;background:url(/cards/B2.svg) center / cover;box-shadow:1px 1px #e9e3d3,2px 2px #d6cfbd,3px 3px #e9e3d3,4px 4px #cfc7b3,5px 6px 8px #0005}@media(min-width:761px){.tp-deck .deck-back{width:88px;height:123.2px}}.tp-surface.is-dealing .tp-mini-hand,.tp-surface.is-dealing .tp-my-cards .tp-card,.tp-surface.is-dealing .tp-see{visibility:hidden}.tp-raise{display:grid;gap:10px;margin-bottom:10px;padding:12px 14px;border-radius:16px;background:#0f3328e6;box-shadow:inset 0 0 0 1px #ffffff1f,0 10px 30px #0006}.tp-raise-row{display:flex;align-items:center;justify-content:space-between}.tp-raise-row button{display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffff40;border-radius:50%;background:transparent;color:#eef3e6}.tp-raise-row button:disabled{opacity:.35}.tp-raise-amount{display:grid;justify-items:center}.tp-raise-amount small{font-size:11px;color:#cbd8ba}.tp-raise-amount output{font:700 30px/1 Playfair Display,Georgia,serif;color:#ffd66b;font-variant-numeric:lining-nums tabular-nums}.tp-raise input[type=range]{width:100%;accent-color:#ffd66b}.tp-raise-picks{display:flex;justify-content:center;gap:6px}.tp-raise-picks button{min-height:30px;padding:0 12px;border:1px solid #ffffff40;border-radius:999px;background:transparent;color:#eef3e6;font-size:12px;font-weight:600}.tp-raise-picks button[aria-pressed=true]{border-color:#ffd66b;color:#ffd66b}.tp-raise-actions{display:flex;justify-content:flex-end;gap:8px}.tp-raise-actions .secondary{background:transparent;border-color:#ffffff40;color:#eef3e6}.tp-raise-actions .primary{background:#ffd66b;color:#2b2410}.tp-next-variant{display:grid;justify-items:center;gap:6px;margin-top:4px}.tp-next-variant>span{font-size:11px;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#cbd8ba}.tp-next-variant>small{max-width:36ch;color:#cbd8ba;font-size:12px}.tp-variant-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.tp-variant-chips button{min-height:30px;padding:0 11px;border:1px solid #ffffff33;border-radius:999px;background:transparent;color:#eef3e6;font-size:12px;font-weight:600}.tp-variant-chips button[aria-checked=true]{border-color:#ffd66b;background:#ffd66b;color:#2b2410}.tp-variant-chips button:disabled{opacity:.35}.tp-me .hand-dock{flex-direction:column;align-items:stretch}.tp-surface.is-dealing .tp-deck .deck-back{visibility:hidden}.tp-seat .tp-chips{flex-direction:column;gap:2px}.tp-chips .chip-pile{min-height:0;gap:2px}.tp-pack-flight{position:absolute;top:0;left:0;z-index:18;width:26px;height:36px;translate:-50% -50%;pointer-events:none}.tp-pack-flight i{position:absolute;width:26px;height:36px;border-radius:3px;background:url(/cards/B2.svg) center / cover;box-shadow:0 2px 4px #0006}.tp-chip-key{display:flex;align-items:center;gap:5px;margin:0;font-size:11px;color:#cbd8ba}.tp-chip-key .chip-stack{margin-left:6px}.tp-packed-note{align-self:center;padding:26px 0;color:#a9bda9;font-size:14px}.tp-showdown{position:absolute;top:0;right:0;bottom:0;left:0;z-index:26;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px;background:var(--felt-lattice),radial-gradient(ellipse at 50% 45%,#0f3328ee,#0a241df5);cursor:pointer}.tp-showdown h2{margin:0;font:700 40px Playfair Display,Georgia,serif;color:#ffd66b;text-shadow:0 4px 24px #ffd66b55}.tp-showdown-hands{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 22px}.tp-showdown-hand{position:relative;display:grid;justify-items:center;gap:8px;padding:12px 14px;border-radius:16px;background:#ffffff0d}.tp-showdown-who{display:flex;align-items:center;gap:8px;color:#f3f7e8;font-weight:700}.tp-showdown-cards{--tp-w: clamp(52px, 11vw, 78px);display:flex}.tp-showdown-card+.tp-showdown-card{margin-left:calc(var(--tp-w) * -.35)}.tp-showdown-card{transform-style:preserve-3d}.tp-showdown-card .card-front,.tp-showdown-card .card-reverse{position:absolute;top:0;right:0;bottom:0;left:0;backface-visibility:hidden}.tp-showdown-card .card-reverse{transform:rotateY(180deg)}.tp-showdown-hand b{color:#cbd8ba;font-size:14px}.tp-showdown-hand b.won{color:#ffd66b}.tp-showdown-crown{position:absolute;top:-14px;right:-8px;color:#d9a441}.tp-showdown-crown svg{fill:#ffd66b}.tp-showdown-why{margin:0;color:#eef3e6;font-size:15px;text-align:center}.tp-chip-standings{width:min(460px,100%);margin:4px 0;text-align:left}.tp-result-card .game-over{width:min(460px,100%)}.tp-chip-standings{color:var(--ink)}.tp-chip-standings .standing-total{color:var(--ink);font-variant-numeric:tabular-nums}.tp-showdown h2{margin-bottom:8px}.tp-results .tp-shown{margin:18px 0 4px}.tp-results .tp-shown-hand{background:var(--sunk);border:1px solid var(--line)}.tp-results .tp-shown-hand.won{border-color:var(--gold);box-shadow:none}.tp-results .tp-shown-who{color:var(--ink)}.tp-results .tp-shown-hand small{color:var(--good)}.tp-next{display:grid;gap:10px;margin:24px 0 14px;text-align:left}.tp-next h3{margin:0;font:600 18px Playfair Display,Georgia,serif;color:var(--ink)}.tp-next .tp-variants button{min-height:64px}.tp-next .tp-variants button:disabled{opacity:.4}.tp-deal-next{width:100%;min-height:52px;justify-content:center;margin-top:6px;font-size:16px}.tp-deal-next{position:sticky;bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 8px 24px #0003}.tp-status{transition:opacity .3s}.tp-status.is-hidden{opacity:0;visibility:hidden}
