@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--ease-out:cubic-bezier(0, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.contents{display:contents}.hidden{display:none}.inline{display:inline}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}:root{--bg:#123c32;--deep:#0d3028;--ink:#f3f0e5;--muted:#a5bbb0;--accent:#e0eeae;--line:#d8e7d329;--red:#b34b44;color:var(--ink);background:var(--bg);font-synthesis:none;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.38}a{color:inherit;text-decoration:none}button{color:inherit}input,select{min-width:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button,input{touch-action:manipulation}h1,h2,p{margin:0}h1,h2{font-weight:400}button{transition:background .18s,transform .18s,opacity .18s}button:not(:disabled):active{transform:translateY(1px)}.felt{background:0 0}.muted{color:var(--muted)}.eyebrow{letter-spacing:2px;align-items:center;gap:10px;font-size:10px;font-weight:600;display:flex}.live-dot{background:var(--accent);border-radius:50%;flex:none;width:6px;height:6px;display:inline-block}.live-dot.offline{background:#84918c}.wordmark{letter-spacing:-1.7px;align-items:center;font-size:30px;font-weight:700;display:flex}.brand-symbol{color:var(--accent);margin-right:9px;font-size:35px;line-height:1}.wordmark-dot{color:var(--accent)}.text-button{min-height:44px;color:var(--muted);background:0 0;border:0;align-items:center;gap:18px;padding:8px 0;font-size:12px;display:inline-flex}.text-button:hover,.rules-button{color:var(--ink)}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:22px;min-height:48px;padding:12px 21px;font-size:13px;font-weight:600;display:inline-flex}.primary{background:var(--accent);color:var(--deep)}.primary:not(:disabled):hover{background:#ecf6c9}.secondary{border-color:var(--line);color:var(--ink);background:0 0}.secondary:not(:disabled):hover{background:#ffffff0c}.icon-button{border:1px solid var(--line);background:0 0;border-radius:6px;flex:none;width:44px;height:44px;font-size:23px}.site-header{justify-content:space-between;align-items:center;max-width:1440px;height:112px;margin:0 auto;padding:0 64px;display:flex}.home{flex-direction:column;min-height:100svh;display:flex;overflow:hidden}.home-hero{grid-template-columns:1.1fr 1fr;align-items:center;width:100%;max-width:1440px;min-height:530px;margin:auto;padding:40px 64px 75px;display:grid}.hero-copy{z-index:2;position:relative}.hero-copy h1{letter-spacing:-2.7px;margin:30px 0 24px;font-family:Georgia,Times New Roman,serif;font-size:clamp(45px,4.9vw,74px);line-height:1.1}.hero-copy h1 em{color:var(--accent);font-weight:400}.hero-copy>p{color:var(--muted);font-size:15px;line-height:1.85}.create-form{max-width:450px;margin-top:35px}.create-form label,.join-form label{margin-bottom:12px;font-size:12px;display:block}.create-form label span{color:#95aa9f;margin-left:7px;font-size:10px}.create-row{gap:8px;display:flex}.create-row input,.join-form input{height:52px;color:var(--ink);background:#ffffff08;border:1px solid #c5ddba38;border-radius:6px;width:100%;padding:0 15px;font-size:14px}.create-row input::placeholder,.join-form input::placeholder{color:#9cb3a5}.create-row .button{min-height:52px}.form-note{color:#9eb5a7;align-items:center;gap:10px;margin-top:17px;font-size:10px;display:flex}.form-note i{background:#9eb5a7;border-radius:50%;width:2px;height:2px}.hero-art{height:450px;margin-left:12px;position:relative}.orbit{border:1px solid #c7d7a311;border-radius:50%;width:420px;height:420px;position:absolute;top:12px;left:50%;transform:translate(-50%)}.orbit-two{width:540px;height:540px;top:-48px}.art-caption,.art-bottom{letter-spacing:2px;color:#b8cda473;white-space:nowrap;font-size:8px;position:absolute;left:50%;transform:translate(-50%)}.art-caption{top:20px}.art-bottom{bottom:2px}.hero-card{filter:drop-shadow(0 14px 18px #071d245c);animation:.7s ease-out both card-arrive;position:absolute;top:105px;left:50%}.hero-card .playing-card{border-radius:11px;width:168px;height:243px}.hero-card .card-corner{font-size:23px;top:13px;left:15px}.hero-card .card-corner.bottom{inset:auto 15px 13px auto}.hero-card .card-center{font-size:79px}.hero-card .joker .card-center{font-size:102px;top:45%}.hero-card .joker-word{letter-spacing:3px;font-size:10px;bottom:51px}.hero-card-one{top:114px;transform:translate(-125%)rotate(-22deg)}.hero-card-two{animation-delay:90ms;top:82px;transform:translate(-60%)rotate(-5deg)}.hero-card-three{animation-delay:.18s;transform:translate(4%)rotate(17deg)}.art-star{color:var(--accent);opacity:.8;font-size:40px;position:absolute;top:55px;right:20px}.home-steps{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:30px;width:calc(100% - 128px);max-width:1312px;margin:0 auto;padding:30px 0;display:grid}.home-steps>div{align-items:center;gap:20px;display:flex}.home-steps>div>span{color:#93ad96;font-family:Georgia,serif;font-size:24px;font-style:italic}.home-steps p{flex-direction:column;gap:7px;display:flex}.home-steps b{font-size:13px;font-weight:400}.home-steps small{color:var(--muted);font-size:11px}.home-footer{width:100%;max-width:1440px;color:var(--accent);justify-content:space-between;padding:24px 64px;font-size:10px;display:flex}.home-footer>span:first-child{color:var(--muted)}.home-footer .muted{margin-left:9px}.playing-card{color:#233e37;-webkit-user-select:none;user-select:none;background:#f7f3e8;border:1px solid #e6e0d4;border-radius:7px;flex:none;width:74px;height:108px;transition:transform .18s,box-shadow .18s;position:relative;overflow:hidden;box-shadow:0 2px 4px #00130b22}.card-corner{flex-direction:column;align-items:center;font-size:16px;line-height:.97;display:flex;position:absolute;top:7px;left:7px}.card-corner b{font-family:Georgia,serif;font-weight:500}.card-corner>span{margin-top:3px;font-size:.72em}.card-corner.bottom{inset:auto 7px 7px auto;transform:rotate(180deg)}.card-center{font-size:32px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.playing-card.red{color:var(--red)}.playing-card.joker{color:#5a6740;background:#e9eacb}.joker .card-center{font-size:46px;top:44%}.joker-word{letter-spacing:1.5px;font-size:6px;position:absolute;bottom:22px;left:50%;transform:translate(-50%)}.joker-rep{color:#fff;background:#294f41;border-radius:3px;padding:1px 4px;font-size:9px;position:absolute;bottom:3px;left:50%;transform:translate(-50%)}.playing-card.back{background-color:#2d5949;background-image:repeating-linear-gradient(45deg,#0000,#0000 4px,#a6c09533 4px 5px),repeating-linear-gradient(-45deg,#0000,#0000 4px,#a6c09522 4px 5px);border:4px solid #f0eadb;outline:1px solid #325849}.card-back-mark{color:#d1dfb1;background:#2d5949;border:1px solid #c0d3a680;border-radius:50%;place-items:center;width:31px;height:42px;font-size:26px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.playing-card.small{border-radius:5px;width:49px;height:71px}.small .card-corner{font-size:12px;top:4px;left:4px}.small .card-corner.bottom{inset:auto 4px 4px auto}.small .card-center{font-size:23px}.small .joker-word{font-size:4px;bottom:16px}.small .joker-rep{font-size:7px}.small.back{border-width:2px}.small .card-back-mark{width:22px;height:32px;font-size:20px}.playing-card.selected{box-shadow:0 0 0 3px var(--accent),0 8px 15px #071d2480;transform:translateY(-15px)}.playing-card.selected:not(:disabled):active{transform:translateY(-14px)}.game-page{max-width:1800px;min-height:100svh;margin:auto;padding:0 36px 12px}.game-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:83px;display:flex}.game-header .wordmark{font-size:26px}.game-header .brand-symbol{font-size:31px}.room-label{letter-spacing:1.5px;color:var(--muted);font-size:9px}.room-label b{color:var(--ink);margin-left:8px;font-size:11px;font-weight:400}.table-meta{justify-content:space-between;align-items:center;height:56px;font-size:11px;display:flex}.scoreline{gap:23px;font-size:11px;display:flex}.scoreline b{color:var(--accent);margin-left:9px}.live-status{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.opponent-row{align-items:center;gap:11px;max-width:940px;margin:4px auto 19px;display:flex}.avatar{width:36px;height:36px;color:var(--accent);background:#b7cda01a;border:1px solid #c0d3a62b;border-radius:50%;place-items:center;font-family:Georgia,serif;display:grid}.opponent-row b{margin-bottom:4px;font-size:12px;font-weight:500;display:block}.opponent-row>div>span{color:var(--muted);align-items:center;gap:5px;font-size:9px;display:flex}.opponent-cards{margin-left:auto;padding-left:20px;display:flex}.opponent-cards .playing-card{border-width:2px;width:30px;height:43px;margin-left:-20px}.opponent-cards .card-back-mark{width:17px;height:25px;font-size:14px}.game-table{background:#092e262d;border:1px solid #adc88e26;border-radius:100px;max-width:1100px;min-height:350px;margin:auto;padding:29px 45px 23px;position:relative}.table-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.table-heading .eyebrow{letter-spacing:1.5px;font-size:8px}.subtle{color:#99af9e;letter-spacing:0;font-size:8px;font-weight:400}.opening-label{color:#b1c898;font-size:9px}.melds-area{flex-wrap:wrap;align-items:flex-start;gap:24px;min-height:158px;padding:24px 0;display:flex}.melds-area.empty{justify-content:center;align-items:center;padding:16px 0}.table-empty{text-align:center;color:#8da991}.table-empty>span{color:#b7cda057;font-size:33px;line-height:1.2}.table-empty p{margin:6px 0;font-family:Georgia,serif;font-size:18px;font-style:italic}.table-empty small{color:#7f9d89;font-size:9px}.meld-cards{max-width:100%;padding:3px;display:flex;overflow-x:auto}.meld-cards>.playing-card:not(:first-child){margin-left:-12px}.table-meld{max-width:100%}.meld-caption{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:5px 3px;font-size:8px;display:flex}.meld-caption .text-button{min-height:30px;padding:0;font-size:10px}.piles{justify-content:center;align-items:flex-start;gap:25px;margin-top:5px;display:flex}.pile{flex-direction:column;align-items:center;gap:10px;display:flex}.pile>span{letter-spacing:.5px;color:var(--muted);font-size:9px}.pile-button{background:0 0;border:0;border-radius:7px;padding:0;position:relative}.pile-button:disabled{opacity:1;cursor:default}.pile-button:not(:disabled):hover{transform:translateY(-4px)}.pile-button:not(:disabled){box-shadow:0 0 0 1px #cddd8b66}.stock-stack:before,.stock-stack:after{content:"";z-index:0;background:#dfdacd;border:1px solid #325849;border-radius:7px;position:absolute;inset:0;transform:translate(-3px,3px)}.stock-stack:after{z-index:-1;transform:translate(-5px,5px)}.pile-count{width:31px;height:31px;color:var(--ink);background:#214738;border:1px solid #9eb98e;border-radius:50%;place-items:center;font-size:11px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.closing-pile{transform-origin:bottom;opacity:.8;margin-left:10px;transform:scale(.83)}.chosen-pile .playing-card{box-shadow:0 0 0 3px var(--accent)}.empty-card{border:1px dashed var(--line);border-radius:7px;place-items:center;width:74px;height:108px;display:grid}.hand-dock{max-width:1100px;margin:23px auto 0}.hand-header{justify-content:space-between;align-items:center;display:flex}.hand-header>div:first-child{align-items:center;gap:7px;display:flex}.hand-header b{font-size:12px;font-weight:500}.hand-count{color:var(--muted);margin-left:5px;font-size:10px}.turn-indicator{background:#7d9687;border-radius:50%;width:7px;height:7px}.turn-indicator[data-active=true]{background:var(--accent);box-shadow:0 0 0 4px #e0eeae15}.sort-controls{gap:4px;display:flex}.sort-controls button{color:var(--muted);background:0 0;border:0;border-radius:5px;min-height:36px;padding:9px 13px;font-size:10px}.sort-controls button.active{color:var(--ink);background:#b6c7a61c}.turn-help{color:var(--muted);margin:5px 0 0;font-size:10px;line-height:1.5}.hand-scroll{overscroll-behavior-x:contain;scrollbar-color:#a5bc9155 transparent;scrollbar-width:thin;padding:25px 5px 9px;overflow-x:auto}.hand-cards{justify-content:center;width:max-content;min-width:100%;padding-right:4px;display:flex}.hand-card{flex:none;position:relative}.hand-card:not(:first-child){margin-left:-12px}.hand-card:has(.selected){z-index:2}.hand-card .playing-card{width:78px;height:111px}.hand-card.staged{opacity:.3}.hand-card.staged .playing-card{opacity:1}.hand-card.virtual .playing-card{background:#e5eebc;border:2px dashed #496626}.hand-card>small{white-space:nowrap;color:var(--deep);font-size:7px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.actions-bar{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;margin-top:11px;padding-top:15px;display:flex}.selection-summary{flex-direction:column;gap:5px;display:flex}.selection-summary b{font-size:11px;font-weight:500}.selection-summary>span{color:var(--muted);font-size:9px}.play-actions{align-items:center;gap:7px;display:flex}.play-actions .button{gap:17px;min-height:44px;padding:10px 17px;font-size:11px}.discard-action{color:var(--ink);background:#f6f0dd13;border-color:#f6f0dd13}.drafts{flex-wrap:wrap;gap:8px;margin:8px 0;display:flex}.drafts button{color:var(--accent);background:#dce8b114;border:1px solid #dce8b164;border-radius:5px;min-height:40px;padding:9px 12px;font-size:11px}.closing-discard{flex-wrap:wrap;align-items:center;gap:12px;margin:10px 0;font-size:12px;display:flex}.closing-discard select{background:var(--deep);border:1px solid var(--line);color:var(--ink);border-radius:5px;padding:12px}.game-footer{color:#9bb09f;align-items:center;gap:20px;max-width:1100px;margin:19px auto 0;font-size:9px;display:flex}.game-footer>span{flex:1}.game-footer .text-button{white-space:nowrap;font-size:10px}.game-log{border-top:1px solid var(--line);max-width:1100px;margin:0 auto;padding:10px 0;list-style:none}.game-log li{color:var(--muted);gap:18px;padding:7px 0;font-size:11px;display:flex}.game-log li span{opacity:.4}.game-error{z-index:30;color:#5e3224;background:#fff1d9;border-radius:9px;justify-content:space-between;align-items:center;gap:18px;width:calc(100% - 32px);max-width:560px;padding:10px 12px 10px 18px;font-size:12px;line-height:1.5;display:flex;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0004}.game-error .icon-button{border-color:#5e322422}.error{color:#f2c1a9;margin-top:15px;font-size:12px;line-height:1.5}.connection-banner{text-align:center;color:#ead2a5;background:#e3bf6b24;border-bottom:1px solid #e3bf6b44;padding:12px;font-size:12px}.lobby{text-align:center;max-width:520px;margin:55px auto 80px}.lobby .eyebrow,.cut-scene .eyebrow,.round-ended .eyebrow{justify-content:center}.lobby h1,.round-ended h1{letter-spacing:-1.4px;margin:21px 0 16px;font-family:Georgia,serif;font-size:45px}.lobby>p{font-size:13px;line-height:1.6}.lobby-symbol{color:var(--accent);margin:15px;font-size:80px}.waiting-cards{justify-content:center;height:150px;margin:10px 0 24px;display:flex}.waiting-cards .playing-card{width:90px;height:130px;transform:rotate(-12deg)}.waiting-cards .playing-card+.playing-card{margin-top:7px;margin-left:-26px;transform:rotate(12deg)}.invite-box{text-align:left;margin:30px auto}.invite-box label{letter-spacing:1.4px;color:var(--muted);font-size:9px}.invite-box>div{gap:8px;margin-top:12px;display:flex}.invite-box input{border:1px solid var(--line);width:100%;color:var(--ink);background:#ffffff08;border-radius:6px;padding:13px;font-size:12px}.seats{color:var(--muted);justify-content:center;gap:25px;margin:25px 0;font-size:11px;display:flex}.seats>span{align-items:center;gap:7px;display:flex}.join-form{text-align:left;flex-direction:column;gap:10px;max-width:320px;margin:30px auto;display:flex}.join-form label{margin:0}.join-form .button{margin-top:8px}.cut-scene,.round-ended{text-align:center;padding:25px 0 30px}.cut-scene h2{letter-spacing:-.5px;margin:16px 0;font-family:Georgia,serif;font-size:32px}.cut-scene>p{margin:20px 0;font-size:12px;line-height:1.7}.cut-deck{width:130px;height:120px;margin:27px auto 30px;position:relative}.cut-deck .playing-card{position:absolute;left:20px}.cut-deck .playing-card+.playing-card{transform:translate(var(--cut-offset),-5px) rotate(5deg)}.cut-controls{max-width:290px;margin:auto}.cut-controls label{color:var(--muted);justify-content:space-between;font-size:11px;display:flex}.cut-controls input{width:100%;accent-color:var(--accent);height:44px;margin:7px 0 15px;display:block}.cut-controls .button{width:100%}.cut-reveal{justify-content:center;gap:10px;margin:24px 0;display:flex}.win-symbol{color:var(--accent);margin-bottom:20px;font-size:75px}.round-ended p{margin-bottom:25px;font-size:13px;line-height:1.6}.modal-scrim{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:100;background:#021e19cc;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.rules-panel{background:#183f35;border:1px solid #b8cba53b;border-radius:16px;max-width:560px;max-height:90svh;padding:25px 30px;overflow:auto;box-shadow:0 20px 80px #00120b66}.section-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.rules-panel h2{margin:20px 0;font-family:Georgia,serif;font-size:29px}.rules-panel ol{padding-left:18px}.rules-panel li{color:var(--muted);padding:0 0 13px 6px;font-size:12px;line-height:1.65}.rules-panel li b{color:var(--ink);font-weight:500}.rules-panel>p{font-size:11px;line-height:1.8}.rules-panel>.button{width:100%;margin-top:20px}.entrance{animation:.4s ease-out both enter}@keyframes enter{0%{opacity:0;translate:0 9px}to{opacity:1;translate:0}}@keyframes card-arrive{0%{opacity:0;translate:0 30px}to{opacity:1;translate:0}}@media (min-width:1500px){.home-hero{min-height:630px}.hero-art{scale:1.12}.hero-copy h1{font-size:78px}.home-steps{padding:38px 0}}@media (max-width:1000px){.site-header{height:94px;padding:0 32px}.home-hero{min-height:490px;padding:30px 32px 60px}.hero-copy h1{font-size:52px}.hero-art{margin-left:0;scale:.83}.home-steps{gap:15px;width:calc(100% - 64px)}.home-footer{padding:24px 32px}.game-table{border-radius:50px;padding:25px 30px}.game-page{padding:0 24px 12px}.hand-card .playing-card{width:71px;height:103px}.hand-card:not(:first-child){margin-left:-15px}}@media (max-width:700px){.site-header{height:82px;padding:0 24px}.wordmark{font-size:28px}.rules-button{gap:10px;font-size:11px}.home-hero{flex-direction:column-reverse;align-items:stretch;min-height:0;padding:0 24px 38px;display:flex}.hero-art{width:300px;height:238px;margin:0 auto;scale:1}.hero-card .playing-card{border-radius:7px;width:99px;height:143px}.hero-card{top:52px}.hero-card-one{top:60px}.hero-card-two{top:42px}.hero-card .card-corner{font-size:16px;top:9px;left:9px}.hero-card .card-corner.bottom{bottom:9px;right:9px}.hero-card .card-center{font-size:44px}.hero-card .joker .card-center{font-size:61px}.hero-card .joker-word{font-size:6px;bottom:30px}.orbit{width:230px;height:230px;top:0}.orbit-two{width:310px;height:310px;top:-40px}.art-caption{font-size:6px;top:8px}.art-bottom{font-size:6px;bottom:6px}.art-star{font-size:25px;top:30px;right:25px}.hero-copy h1{letter-spacing:-2px;margin:21px 0 17px;font-size:46px}.hero-copy>.eyebrow{letter-spacing:1.6px;margin-top:13px;font-size:8px}.hero-copy>p{font-size:13px;line-height:1.8}.create-form{max-width:none;margin-top:25px}.create-row{gap:7px}.create-row .button{gap:16px;padding:12px 17px;font-size:12px}.home-steps{grid-template-columns:1fr;gap:25px;width:calc(100% - 48px);padding:25px 0}.home-steps>div{gap:20px}.home-steps>div>span{font-size:22px}.home-steps p{gap:5px}.home-footer{padding:23px 24px;font-size:9px}.home-footer>span:last-child{display:none}.game-page{padding:0 15px 10px}.game-header{height:68px}.game-header .wordmark{font-size:24px}.game-header .brand-symbol{font-size:27px}.room-label{letter-spacing:1px;font-size:0}.room-label b{margin:0;font-size:10px}.game-header .rules-button{gap:0;font-size:0}.game-header .rules-button span{font-size:19px}.game-header .rules-button:before{content:"?";border:1px solid var(--line);border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;display:grid}.game-header .rules-button span{display:none}.table-meta{height:45px;font-size:10px}.scoreline{gap:13px;font-size:10px}.scoreline b{margin-left:5px}.opponent-row{gap:9px;margin:4px 5px 15px}.opponent-row b{font-size:11px}.opponent-row>div>span{font-size:8px}.opponent-cards .playing-card{width:25px;height:36px;margin-left:-18px}.opponent-cards{padding-left:18px}.opponent-cards .card-back-mark{width:14px;height:20px;font-size:11px}.avatar{width:31px;height:31px;font-size:13px}.game-table{border-radius:20px;min-height:310px;padding:18px 14px}.table-heading{gap:6px}.table-heading .eyebrow{letter-spacing:1px;font-size:7px}.subtle{display:none}.opening-label{font-size:8px}.melds-area{gap:16px;min-height:139px;padding:18px 0}.table-empty p{font-size:16px}.table-empty small{font-size:8px}.table-empty>span{font-size:30px}.piles{gap:23px;margin-top:0}.piles .playing-card{width:60px;height:87px}.piles .card-corner{font-size:14px;top:6px;left:6px}.piles .card-corner.bottom{inset:auto 6px 6px auto}.piles .card-center{font-size:29px}.piles .joker-word{font-size:5px;bottom:18px}.closing-pile{margin-left:0}.pile>span{font-size:8px}.hand-dock{margin-top:16px}.hand-header{gap:5px}.hand-header>div:first-child{flex-wrap:wrap;gap:5px}.hand-header b{font-size:11px}.hand-count{margin-left:3px;font-size:9px}.sort-controls{gap:0}.sort-controls button{min-height:44px;padding:9px;font-size:9px}.turn-help{min-height:27px;margin-top:4px;font-size:9px}.hand-scroll{margin:0 -15px;padding:23px 15px 9px}.hand-cards{justify-content:flex-start}.hand-card .playing-card{width:67px;height:98px}.hand-card:not(:first-child){margin-left:-19px}.actions-bar{flex-direction:column;align-items:stretch;gap:12px;margin-top:8px;padding-top:11px}.selection-summary{flex-direction:row;justify-content:space-between;align-items:center}.selection-summary b{font-size:10px}.selection-summary>span{font-size:9px}.play-actions{gap:5px;display:flex}.play-actions .button{flex:1;gap:9px;min-height:45px;padding:10px 12px;font-size:10px}.play-actions .icon-button{width:33px;min-width:33px;height:45px}.play-actions .secondary{padding:10px 9px;font-size:9px}.game-footer{gap:10px;margin-top:12px}.game-footer>span{font-size:8px;line-height:1.5}.game-footer .text-button{font-size:9px}.lobby{margin:40px auto;padding:0 5px}.lobby h1,.round-ended h1{font-size:35px}.lobby>p{font-size:12px}.invite-box>div{flex-direction:column}.invite-box input{height:46px;font-size:12px}.invite-box .button{width:100%}.seats{gap:17px;font-size:10px}.cut-scene{padding:15px 0}.cut-scene .eyebrow{letter-spacing:1.1px;font-size:8px}.cut-scene h2{font-size:26px}.cut-scene>p{font-size:11px}.cut-reveal{gap:8px}.cut-reveal .playing-card{width:69px;height:100px}.round-ended{padding:30px 0}.round-ended .eyebrow{font-size:8px}.round-ended h1{font-size:32px}.round-ended p{font-size:11px}.rules-panel{max-height:88svh;padding:19px}.rules-panel .eyebrow{font-size:8px}.rules-panel h2{font-size:27px}.modal-scrim{padding:13px}}@media (max-width:360px){.hero-copy h1{font-size:39px}.site-header{padding:0 20px}.home-hero{padding:0 20px 32px}.hero-art{width:260px;height:220px}.hero-copy>.eyebrow{font-size:7px}.create-row{flex-direction:column}.create-row .button{width:100%}.game-page{padding:0 11px 8px}.game-table{padding:16px 11px}.hand-count{display:none}.play-actions .button{gap:5px;padding:10px 8px;font-size:9px}.play-actions .secondary{padding:10px 7px;font-size:8px}.play-actions .icon-button{width:29px;min-width:29px}.piles{gap:18px}.hand-scroll{margin:0 -11px;padding-left:11px;padding-right:11px}.game-footer{gap:8px}.scoreline{gap:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.site-header{width:100%}dialog.modal-scrim{width:100%;max-width:none;height:100%;max-height:none;color:var(--ink);border:0;margin:0}dialog.modal-scrim:not([open]){display:none}.joker-exchange{min-height:44px;color:var(--accent);border-color:#dce8b164;gap:8px;width:100%;margin-top:5px;padding:9px 12px;font-size:11px;display:flex}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
body{isolation:isolate}body:before{content:"";z-index:-1;pointer-events:none;background-color:#082a20;background-image:linear-gradient(#03231d26,#03231d26),url(/images/card-table.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;position:fixed;inset:0}@media (max-width:700px) and (orientation:portrait){body:before{background-image:linear-gradient(#03231d26,#03231d26),url(/images/card-table-small.webp)}}.brand-logo{flex:none;align-items:center;width:260px;max-width:100%;min-height:44px;display:inline-flex}.brand-logo img{width:100%;height:auto;display:block}.game-header .brand-logo{width:176px}.cut-reveal{flex-wrap:wrap}.cut-reveal-card{justify-items:center;gap:9px;margin:0;display:grid}.cut-reveal-card figcaption{color:var(--muted);font-size:11px}.cut-reveal-card.is-closing .playing-card{outline:2px solid var(--accent);outline-offset:3px}.cut-reveal-card.is-closing figcaption{color:var(--accent);font-weight:600}.cut-award{text-align:center;justify-items:center;gap:6px;font-size:14px;line-height:1.5;display:grid}.cut-award b{overflow-wrap:anywhere;max-width:100%}.cut-award>span{color:var(--accent)}.cut-card-order{color:var(--muted);font-size:11px}.cut-result .cut-reveal{flex-wrap:nowrap;gap:clamp(5px,2vw,12px);margin:18px 0;padding:4px;display:flex}.cut-result .cut-reveal-card{min-width:0;animation:.3s ease-out both cut-card-in;animation-delay:calc(var(--reveal-index) * 70ms);flex:0 74px}.cut-result .playing-card{aspect-ratio:69/100;width:100%;height:auto}.cut-result .cut-reveal-card figcaption{text-align:center;font-size:11px}.cut-result .is-awarded .playing-card{box-shadow:0 0 0 2px #e3c574,0 0 20px #e3c57430}.cut-result .is-awarded figcaption{color:#f4d98f;font-weight:600}.cut-history-button{justify-content:space-between;width:100%;margin-bottom:22px}.cut-notice{z-index:5;background:#14392f;border:1px solid #c7ac6599;border-radius:14px;align-items:flex-start;width:min(360px,100% - 16px);animation:.2s ease-out both cut-card-in;display:flex;position:absolute;top:8px;right:8px;box-shadow:0 8px 30px #001c1870}.cut-notice-details{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:14px;flex:1;padding:12px 8px 12px 16px}.cut-notice-details>span{gap:3px;font-size:12px;line-height:1.4;display:grid}.cut-notice-details b{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.cut-notice-cards{color:var(--accent)}.cut-notice .icon-button{border:0;flex:none;min-width:44px;min-height:44px}@keyframes cut-card-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (max-width:400px){.cut-result .cut-reveal{gap:6px}.cut-result .card-corner{font-size:16px;top:5px;left:5px}.cut-result .card-corner.bottom{display:none}.cut-result .card-center{font-size:24px;top:64%}.cut-result .joker-word{display:none}}@media (prefers-reduced-motion:reduce){.cut-result .cut-reveal-card,.cut-notice{animation:none}}.header-actions{align-items:center;gap:12px;display:flex}.sound-toggle{color:var(--muted);border:0;place-items:center;display:inline-grid}.sound-toggle[aria-pressed=true]{color:var(--accent)}.sound-setting{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.sound-setting b{font-size:14px;font-weight:600}.sound-setting p{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.6}.menu-button{letter-spacing:2px;border:0;font-size:17px}.match-bar{grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;width:100%;max-width:1100px;margin:0 auto;padding:18px 4px;display:grid}.match-player{align-items:center;gap:10px;min-width:0;display:flex}.match-player>div{gap:4px;min-width:0;display:grid}.match-player b{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.match-player b small{color:var(--muted);font-size:11px;font-weight:400}.match-player>div>span{color:var(--muted);font-size:12px}.match-player.opponent{text-align:right;justify-content:flex-end}.match-player.on-turn b{color:var(--accent)}.match-score{text-align:center;gap:3px;display:grid}.match-score>b{letter-spacing:4px;font-size:18px}.match-score b span,.match-score>span{color:var(--muted);font-size:11px}.match-player>.opponent-overview{gap:5px}.opponent-heading{justify-content:flex-end;align-items:center;gap:7px;min-width:0;display:flex}.opponent-heading b{min-width:0}.opponent-heading .turn-indicator{flex:none}.opponent-state{color:var(--muted);white-space:nowrap;font-size:10px}.opponent-state:empty{display:none}.opponent-hand-visual{justify-content:flex-end;align-items:center;gap:14px;padding:3px 3px 4px;display:flex}.opponent-fan{--fan-width:25px;--fan-height:35px;--fan-step:9px;width:calc(var(--fan-width) + (var(--fan-count) - 1) * var(--fan-step));height:calc(var(--fan-height) + 4px);flex:none;margin-inline:5px;position:relative}.opponent-fan-card{left:calc(var(--fan-index) * var(--fan-step));top:var(--fan-lift);transform:rotate(var(--fan-angle));transform-origin:50% 100%;position:absolute}.opponent-fan .playing-card,.draw-card-icon .playing-card{background-color:#2d5c4b;border:1px solid #cad6b7;border-radius:3px;box-shadow:0 2px 3px #001b1855}.opponent-fan .playing-card{width:var(--fan-width);height:var(--fan-height)}.opponent-fan .card-back-mark,.draw-card-icon .card-back-mark{border-color:#d5e0bb77;width:13px;height:20px;font-size:10px}.opponent-fan.empty{width:var(--fan-width);height:var(--fan-height);border:1px dashed #a9c5ad55;border-radius:3px}.opponent-hand-count{flex:none;justify-items:center;min-width:32px;line-height:1;display:grid}.opponent-hand-count strong{font-variant-numeric:tabular-nums;color:#f0f1df;font-size:26px;font-weight:650;animation:.24s ease-out opponent-count-change;display:block}.opponent-hand-count>span{color:var(--muted);margin-top:3px;font-size:10px}.opponent-hand[data-low=true] .opponent-hand-count strong{color:var(--accent)}.opponent-hand[data-low=true] .playing-card{border-color:var(--accent)}@keyframes opponent-count-change{0%{opacity:.45;transform:translateY(-4px)scale(.9)}to{opacity:1;transform:none}}.is-playing .game-table{border-radius:22px}.is-playing .table-heading .eyebrow{letter-spacing:.4px;text-transform:none;font-size:12px}.table-count{color:var(--muted);font-weight:400}.is-playing .opening-label{font-size:12px}.is-playing .table-empty p{color:#c7d6c7;margin:8px 0;font-family:inherit;font-size:15px;font-style:normal}.is-playing .table-empty small{color:var(--muted);font-size:12px}.is-playing .table-empty>span{font-size:36px}.is-playing .hand-cards{gap:6px}.is-playing .hand-card:not(:first-child){margin-left:0}.is-playing .hand-card .playing-card{width:74px;height:108px}.is-playing .hand-header b{font-size:15px;font-weight:600}.is-playing .hand-count{font-size:12px;display:inline}.is-playing .turn-help{font-size:12px;line-height:1.5}.is-playing .sort-controls{background:#05291f80;border:1px solid #7ca38926;border-radius:26px;flex:none;gap:6px;width:320px;padding:4px;box-shadow:inset 0 1px 9px #001b1466,0 1px #b3c5a60d}.is-playing .sort-controls button{color:#c8d2c9;background:#001f1799;border:1px solid #0000;border-radius:21px;flex:1;min-width:0;min-height:44px;padding:9px 16px;font-size:13px;font-weight:500;transition:background .16s,border-color .16s,box-shadow .16s,color .16s}.is-playing .sort-controls button.active{color:#f5f1e5;background:linear-gradient(#cfb37345,#b9984f1f);border-color:#dfbc78cc;font-weight:600;box-shadow:inset 0 1px #ffe7ae33,inset 0 0 14px #d1ad5621,0 0 0 1px #d9b66b24}.is-playing .sort-controls button:focus-visible{outline-offset:2px;outline:2px solid #f4d98f}@media (hover:hover) and (pointer:fine){.is-playing .sort-controls button:not(.active):hover{color:#f5f1e5;background:#123d3099}}.is-playing .actions-bar{align-items:stretch}.is-playing .selection-summary{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;min-height:44px;display:flex}.selection-summary>div{gap:4px;min-width:0;display:grid}.selection-summary>div>span{color:var(--muted);font-size:12px;line-height:1.3}.is-playing .selection-summary b{font-size:13px;font-weight:600}.is-playing .play-actions .button{min-height:48px;font-size:14px}.is-playing .drafts{scrollbar-width:thin;flex-wrap:nowrap;padding:2px;overflow-x:auto}.is-playing .drafts button{flex:none;align-items:center;gap:18px;min-height:44px;font-size:12px;display:flex}.drafts button b{margin-left:8px}.is-playing .selection-summary>.drafts{max-width:360px;margin:0 8px;display:flex}.hand-rack{position:relative}.hand-card .playing-card{display:block}.hand-scroll-hint{text-align:right;color:var(--muted);padding:3px 0;font-size:11px;display:block}.selected-mark,.card-badge{width:18px;height:18px;color:var(--deep);background:var(--accent);z-index:3;border-radius:50%;place-items:center;font-size:12px;font-weight:700;display:grid;position:absolute;bottom:4px;right:4px}.card-badge{pointer-events:none}.pickup-badge{color:#fff;background:#294f41}.is-playing .hand-card.staged{opacity:.55}.is-playing .hand-card.virtual .playing-card{background:#f0f3d5;border:2px dashed #607735}.meld-caption{font-size:11px}.meld-caption .text-button{min-height:44px;font-size:12px}.joker-exchange{font-size:12px}.game-sheet{width:100%;max-width:none;height:100%;max-height:none;color:var(--ink);background:#041c17a8;border:0;margin:0;padding:24px}.game-sheet[open]{justify-content:center;align-items:center;display:flex}.game-sheet::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#041c1766}.sheet-panel{border:1px solid var(--line);background:#183f35;border-radius:20px;flex-direction:column;width:100%;max-width:540px;max-height:90dvh;animation:.18s ease-out sheet-in;display:flex;overflow:hidden;box-shadow:0 16px 70px #001a1655}.sheet-heading{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px 12px 22px;display:flex}.sheet-heading h2{letter-spacing:-.4px;font-size:19px;font-weight:600}.sheet-heading .icon-button{border:none}.sheet-content{overscroll-behavior:contain;padding:20px 22px;overflow:auto}.sheet-hint{color:#bdcdc1;margin-bottom:18px;font-size:13px;line-height:1.6}.target-list{gap:24px;display:grid}.target-list .table-meld{border-bottom:1px solid var(--line);width:100%;padding-bottom:18px}.target-list .table-meld:last-child{border-bottom:0;padding-bottom:0}.target-list .meld-cards .playing-card{width:60px;height:86px}.target-list .small .card-corner{font-size:16px;top:6px;left:6px}.target-list .small .card-corner.bottom{inset:auto 6px 6px auto}.target-list .small .joker-rep{font-size:11px}.target-list .joker-exchange{font-size:14px}.target-list .meld-caption{min-height:48px;font-size:12px}.target-list .meld-caption .text-button{color:var(--accent);font-size:14px}.log-title{margin:26px 0 10px;font-size:14px}.game-sheet .game-log li{font-size:13px;line-height:1.6}@keyframes sheet-in{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media (max-width:700px),(max-width:1000px) and (max-height:600px) and (orientation:landscape){.site-header .brand-logo{width:210px}.game-header .brand-logo{width:148px}.game-page{--muted:#b3c8bc}.game-page.is-playing{flex-direction:column;max-width:none;height:100dvh;min-height:0;padding:0 12px;display:flex;overflow:hidden}.is-playing .game-header{border-bottom:1px solid var(--line);flex:none;height:52px;min-height:52px}.is-playing .game-header .wordmark{font-size:23px}.is-playing .game-header .brand-symbol{margin-right:6px;font-size:27px}.game-header .header-actions{gap:0}.game-header .rules-button{justify-content:center;min-width:44px;min-height:44px}.game-header .room-label b{font-size:11px}.is-playing .match-bar{flex:none;gap:8px;min-height:64px;padding:10px 2px}.is-playing .match-player{gap:7px}.is-playing .match-player b{font-size:13px}.is-playing .match-player>div>span{font-size:10px;line-height:1.3}.is-playing .match-score>b{font-size:16px}.is-playing .match-score>span{font-size:10px}.is-playing .match-player>.opponent-overview{gap:2px;width:100%}.is-playing .opponent-heading{gap:5px}.is-playing .opponent-state{font-size:9px}.is-playing .opponent-hand-visual{gap:8px;padding:2px 2px 0}.is-playing .opponent-fan{--fan-width:18px;--fan-height:26px;--fan-step:5px;margin-inline:4px}.is-playing .opponent-fan .card-back-mark{width:10px;height:16px;font-size:8px}.is-playing .opponent-hand-count{min-width:26px}.is-playing .opponent-hand-count strong{font-size:22px}.is-playing .opponent-hand-count>span{margin-top:2px;font-size:9px}.is-playing .game-table{background:#092e2638;border:0;border-radius:14px 14px 0 0;flex-direction:column;flex:1 1 0;width:100%;min-height:0;padding:0;display:flex;overflow:hidden}.is-playing .table-heading{flex:none;padding:10px 10px 7px}.is-playing .table-heading .eyebrow{letter-spacing:0;gap:6px;font-size:11px}.is-playing .opening-label{font-size:11px}.is-playing .melds-area{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#93ad9677 transparent;flex:1 1 0;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px 16px;min-height:0;padding:8px 10px 16px;display:grid;overflow:auto}.is-playing .melds-area.empty{justify-content:center;align-items:center;padding:6px 10px;display:flex}.is-playing .table-empty>span{font-size:33px}.is-playing .table-empty p{margin:5px 0;font-size:14px}.is-playing .table-empty small{font-size:11px}.is-playing .table-meld{min-width:0}.is-playing .game-table .table-meld:has(.playing-card:nth-child(5)){grid-column:1/-1}.is-playing .game-table .meld-cards{scrollbar-width:thin;padding:3px}.is-playing .game-table .meld-cards .playing-card{width:40px;height:59px}.is-playing .game-table .meld-cards>.playing-card:not(:first-child){margin-left:-5px}.is-playing .game-table .small .card-corner{font-size:14px;font-weight:600}.is-playing .game-table .small .card-corner.bottom{display:none}.is-playing .game-table .small .card-center{font-size:18px;top:67%}.is-playing .game-table .small .joker .card-center{top:52%}.is-playing .game-table .small .joker-rep{font-size:10px}.is-playing .game-table .small .joker-word{display:none}.is-playing .game-table .meld-caption{min-height:20px;padding:4px 3px;font-size:11px}.is-playing .game-table .meld-caption .text-button,.is-playing .game-table .joker-exchange{display:none}.is-playing .game-table .table-meld[data-actionable=true] .meld-cards{background:#dce8b111;border-radius:6px;outline:1px solid #dce8b180}.is-playing .piles{border-top:1px solid var(--line);background:#10372e;flex:none;justify-content:space-around;align-items:center;gap:8px;margin:0;padding:11px 6px}.is-playing .pile{flex-direction:row;gap:7px}.is-playing .pile>span{letter-spacing:0;max-width:48px;font-size:11px}.is-playing .piles .playing-card,.is-playing .piles .empty-card{border-radius:4px;width:36px;height:52px}.is-playing .pile-button{min-width:44px;min-height:54px;padding:0 4px}.is-playing .piles .card-corner{font-size:13px;top:4px;left:4px}.is-playing .piles .card-corner.bottom,.is-playing .piles .joker-word{display:none}.is-playing .piles .card-center{font-size:19px;top:68%}.is-playing .piles .back{border-width:2px}.is-playing .piles .card-back-mark{display:none}.is-playing .pile-count{width:27px;height:27px;font-size:11px}.is-playing .stock-stack:before,.is-playing .stock-stack:after{display:none}.is-playing .closing-pile{opacity:1;margin:0;transform:none}.is-playing .hand-dock{width:calc(100% + 24px);max-width:none;padding:6px 12px max(10px, var(--safe-bottom));background:#0f3028;border-top:1px solid #d5e6c930;flex:none;margin:0 -12px;box-shadow:0 -8px 24px #09251e22}.is-playing .hand-header{gap:4px;min-height:44px}.is-playing .hand-header>div:first-child{flex-wrap:nowrap;gap:7px;min-width:0}.is-playing .hand-header b{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.is-playing .hand-count{white-space:nowrap;margin:0;font-size:11px}.is-playing .sort-controls{gap:3px;width:clamp(186px,52vw,224px);padding:3px}.is-playing .sort-controls button{padding:8px 5px;font-size:11px}.is-playing .turn-help{min-height:30px;margin:0;padding:0 0 5px;font-size:11px;line-height:1.35}.is-playing .hand-scroll{scrollbar-width:thin;margin:0;padding:5px 3px 4px;overflow-x:auto}.is-playing .hand-cards{grid-template-columns:repeat(var(--hand-columns), minmax(0, 1fr));width:max(100%, var(--hand-min-width));grid-auto-rows:77px;justify-content:start;align-items:center;gap:6px 5px;min-width:0;padding:0;display:grid}.is-playing .hand-card{justify-self:center;width:100%;max-width:68px;height:77px;margin:0}.is-playing .hand-card:not(:first-child){margin-left:0}.is-playing .hand-card .playing-card{border-radius:5px;width:100%;height:77px;box-shadow:0 1px 2px #00130b22}.is-playing .hand-card .card-corner{font-size:19px;top:6px;left:5px}.is-playing .hand-card .card-corner b{font-weight:600}.is-playing .hand-card .card-corner.bottom{display:none}.is-playing .hand-card .card-center{font-size:24px;top:68%}.is-playing .hand-card .joker .card-center{font-size:27px;top:66%}.is-playing .hand-card .joker-word{display:none}.is-playing .hand-card .playing-card.selected{box-shadow:0 0 0 2px var(--accent);background:#f1f6d5;transform:translateY(-2px)}.is-playing .hand-card .playing-card.selected:active{transform:translateY(-1px)}.is-playing .hand-card .selected-mark{width:16px;height:16px;font-size:11px;bottom:2px;right:2px}.is-playing .hand-scroll-hint{padding:1px 0 0;font-size:10px;line-height:13px}.is-playing .selection-summary>div:first-child{flex:1}.is-playing .selection-summary>.drafts{flex:0 auto;gap:6px;max-width:30%;margin:0}.is-playing .draft-label{display:none}.is-playing .drafts button b{margin:0}.is-playing .drafts button{gap:12px;padding:6px 10px;font-size:11px}.is-playing .actions-bar{flex-direction:column;gap:5px;margin-top:5px;padding-top:4px}.is-playing .selection-summary{min-height:40px}.is-playing .selection-summary b{font-size:12px}.is-playing .selection-summary>div{gap:2px}.is-playing .selection-summary>div>span{font-size:11px}.is-playing .selection-summary .icon-button{border:0;width:44px;height:44px}.is-playing .play-actions{gap:8px;display:flex}.is-playing .play-actions .button{flex:1;gap:10px;min-height:48px;padding:10px 14px;font-size:14px}.is-playing .play-actions .secondary{flex:.8}.is-playing .play-actions .target-action{flex:1}.is-playing .closing-discard{flex-wrap:nowrap;justify-content:space-between;gap:8px;margin:4px 0;font-size:12px}.is-playing .closing-discard select{max-width:62%;min-height:44px;padding:8px;font-size:16px}.is-playing .game-footer{display:none}.is-playing .game-error{z-index:101;font-size:13px;top:60px;bottom:auto}.is-playing .connection-banner{z-index:10;background:#5c4928;padding:10px;font-size:12px;position:absolute;top:52px;left:12px;right:12px}.game-sheet{padding:16px 0 0}.game-sheet[open]{align-items:flex-end}.sheet-panel{max-height:85dvh;padding-bottom:var(--safe-bottom);border-radius:22px 22px 0 0}.sheet-content{padding:16px 20px 24px}.sheet-heading h2{font-size:18px}.game-page .lobby{margin:25px auto}.game-page .lobby>p,.game-page .cut-scene>p,.game-page .round-ended p{font-size:14px}.game-page .seats{flex-wrap:wrap;font-size:13px}.game-page .invite-box input{font-size:16px}.game-page .cut-controls label{font-size:13px}.rules-panel li{font-size:14px}.rules-panel>p{font-size:13px}.rules-panel .section-heading{background:#183f35;padding:8px 0;position:sticky;top:-19px}.home-hero{flex-direction:column;padding-top:10px}.home-hero .hero-art{margin-top:32px}.home .create-row .button{font-size:14px}.home .hero-copy>p{font-size:15px}}@media (max-width:360px){.site-header .brand-logo{width:188px}.is-playing .match-player>div>span{font-size:10px}.is-playing .pile{gap:2px}.is-playing .piles{gap:2px;padding-inline:2px}.is-playing .pile>span{font-size:10px}.is-playing .hand-count{font-size:10px;display:inline}.is-playing .hand-header b{font-size:13px}.is-playing .play-actions .button{padding-inline:10px;font-size:13px}.game-header .room-label{display:none}}@media (max-width:700px) and (max-height:700px){.is-playing .game-header{height:44px;min-height:44px}.is-playing .match-bar{min-height:52px;padding-block:5px}.is-playing .hand-dock{padding-top:2px;padding-bottom:max(6px, var(--safe-bottom))}.is-playing .hand-cards{grid-auto-rows:65px;gap:5px}.is-playing .hand-card,.is-playing .hand-card .playing-card{height:65px}.is-playing .hand-card .card-corner{font-size:17px;top:4px}.is-playing .hand-card .card-center{font-size:21px}.is-playing .turn-help,.is-playing .table-empty>span{display:none}.is-playing .piles{padding-block:7px}.is-playing .selection-summary>div>span{font-size:11px}}@media (max-width:1000px) and (max-height:600px) and (orientation:landscape){.game-page.is-playing{grid-template-rows:44px 64px minmax(0,1fr);grid-template-columns:1fr 1fr;column-gap:14px;padding-bottom:8px;display:grid}.is-playing .game-header{grid-column:1/-1;height:44px;min-height:44px}.is-playing .match-bar{grid-area:2/1;min-height:0;padding:3px 0}.is-playing .game-table{grid-area:3/1;height:100%}.is-playing .hand-dock{grid-area:2/2/4;width:100%;height:100%;margin:0;padding:0 8px 4px;overflow-y:auto}.is-playing .hand-header{min-height:38px}.is-playing .hand-card,.is-playing .hand-card .playing-card{height:62px}.is-playing .hand-cards{grid-auto-rows:62px;gap:5px}.is-playing .turn-help{display:none}.is-playing .actions-bar{margin-top:3px;padding-top:0}.is-playing .selection-summary>div>span{font-size:10px}.is-playing .table-empty>span{display:none}.is-playing .piles{padding-block:6px}}.hand-card .playing-card{touch-action:manipulation;-webkit-touch-callout:none}.hand-card .playing-card:not(:disabled){cursor:grab}.hand-guidance{color:var(--muted);justify-content:space-between;gap:8px;padding:3px 0 0;font-size:11px;line-height:16px;display:flex}.hand-guidance>span:last-child:not(:first-child){white-space:nowrap}.is-playing .hand-card.fresh-card .playing-card{border-color:#e1eaaa;box-shadow:0 0 0 2px #e1eaaa,0 3px 14px #dce8b12b}.hand-card.arriving-card .playing-card{animation:.32s ease-out backwards card-drawn}.new-card-badge{color:#173d2e;text-align:center;letter-spacing:.5px;pointer-events:none;background:#e1eaaa;border-radius:0 0 5px 5px;padding:2px 0;font-size:10px;font-weight:750;line-height:12px;position:absolute;bottom:0;left:0;right:0}.hand-dealt .playing-card{animation:card-dealt .26s ease-out var(--deal-delay) backwards}.card-table-arrival{animation:.24s ease-out both card-placed}.card-discard-arrival{animation:.22s ease-out both card-discarded}.match-player.on-turn .turn-indicator{animation:.5s ease-out turn-start}.is-playing .hand-card.drag-source{border-radius:5px;outline:1px dashed #dce8b180}.is-playing .hand-card.drag-source .playing-card,.drag-source .new-card-badge,.drag-source .card-badge{opacity:.18}.drag-card-preview{filter:drop-shadow(0 8px 10px #001d1777);cursor:grabbing;transform:rotate(3deg)scale(1.04)}.drag-card-preview>.playing-card{border-color:#e1eaaa;border-radius:5px;width:100%;height:100%;box-shadow:0 0 0 2px #e1eaaa}.drag-card-preview[data-compact=true] .card-corner{font-size:18px;top:4px;left:5px}.drag-card-preview[data-compact=true] .card-corner.bottom,.drag-card-preview[data-compact=true] .joker-word{display:none}.drag-card-preview[data-compact=true] .card-center{font-size:23px;top:68%}@keyframes card-drawn{0%{opacity:.25;transform:translateY(-14px)scale(.92)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes card-dealt{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes card-placed{0%{opacity:.4;transform:translateY(-12px)rotate(-3deg)}to{opacity:1;transform:translateY(0)}}@keyframes card-discarded{0%{opacity:.4;transform:translate(12px,-10px)rotate(5deg)}to{opacity:1;transform:translate(0)}}@keyframes turn-start{50%{box-shadow:0 0 0 7px #dce8b122}}@media (max-width:700px){.new-card-badge{padding:1px 0;font-size:9px;line-height:11px}.hand-guidance{padding-top:2px;font-size:10px;line-height:13px}}@media (max-width:360px){.is-playing .hand-header>div:first-child{gap:4px}}@media (prefers-reduced-motion:reduce){.sheet-panel{animation:none}.drag-card-preview{transform:none}}.game-mode{border-bottom:1px solid var(--line);gap:22px;margin-bottom:22px;display:flex}.game-mode button{min-height:44px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:10px 2px;font-size:13px}.game-mode button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent)}.bot-picker{border:0;min-width:0;margin:0 0 22px;padding:0;animation:.18s ease-out sheet-in}.bot-picker legend{margin-bottom:10px;padding:0;font-size:12px}.bot-levels{border:1px solid var(--line);border-radius:7px;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;display:grid}.create-form .bot-levels label{cursor:pointer;margin:0;position:relative}.bot-levels input{opacity:0;width:1px;height:1px;position:absolute}.create-form .bot-levels label span{min-height:44px;color:var(--muted);border-radius:4px;justify-content:center;align-items:center;margin:0;font-size:12px;transition:color .18s,background .18s;display:flex}.bot-levels input:checked+span{background:var(--accent);font-weight:600;color:var(--deep)!important}.bot-levels input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}.bot-description{color:#d3dfd4;min-height:39px;margin-top:12px;font-size:12px;line-height:1.6}.bot-fairness{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.5}.bot-menu-description{gap:12px;display:grid}.bot-menu-description h3{margin:0;font-size:16px}.bot-menu-description p{color:var(--muted);font-size:13px;line-height:1.65}@media (max-width:700px){.bot-mode .hero-copy>.eyebrow,.bot-mode .hero-copy>p{display:none}.bot-mode .hero-copy h1{letter-spacing:-1px;margin:8px 0 12px;font-size:34px;line-height:1.08}.bot-mode .create-form{margin-top:14px}.bot-mode .game-mode{margin-bottom:12px}.bot-mode .bot-picker{margin-bottom:14px}.game-mode,.bot-picker{margin-bottom:18px}.create-form .bot-levels label span{font-size:11px}}.game-start{flex-direction:column;min-height:100svh;display:flex}.game-start .site-header{width:100%}.start-content{width:min(100% - 48px,460px);margin:auto;padding:35px 0 48px}.start-content>.eyebrow{color:var(--accent);font-size:10px}.start-content h1{letter-spacing:-2px;margin:16px 0 12px;font-family:Georgia,serif;font-size:52px}.start-hint{color:var(--muted);font-size:14px;line-height:1.6}.start-content .create-form{max-width:none;margin-top:28px}.start-content .game-mode{gap:0}.start-content .game-mode button{width:50%;font-size:14px}.start-content .create-row{flex-direction:column;gap:10px}.start-content .create-row .button{font-size:14px}.connection-note{color:var(--accent);margin-top:12px;font-size:12px;line-height:1.5}.join-code{border-top:1px solid var(--line);margin-top:30px;font-size:13px}.join-code summary{cursor:pointer;justify-content:space-between;align-items:center;min-height:52px;list-style:none;display:flex}.join-code summary::-webkit-details-marker{display:none}.join-code summary span{font-size:22px}.join-code[open] summary span{transform:rotate(45deg)}.join-code form{padding:8px 0}.join-code label{color:var(--muted);margin-bottom:12px;font-size:12px;display:block}.join-code form>div{gap:8px;display:flex}.join-code input{border:1px solid var(--line);width:100%;color:var(--ink);letter-spacing:2px;background:#ffffff08;border-radius:6px;padding:12px}.start-footer{color:var(--muted);justify-content:space-between;gap:16px;padding:24px;font-size:11px;display:flex}.start-footer a{align-items:center;min-height:44px;display:inline-flex}.start-footer>span{align-self:center}@media (max-width:700px){.start-content{padding:15px 0 24px}.start-content h1{margin:10px 0;font-size:38px}.start-content .create-form{margin-top:18px}.start-content .bot-picker{margin-bottom:12px}.start-content .bot-description{margin-top:8px}.start-content .form-note{gap:7px;margin-top:12px;font-size:9px}.start-content .join-code{margin-top:18px}.start-footer{padding:8px 24px 16px}.start-footer>span{display:none}}@media (max-width:700px) and (max-height:700px){.game-start .site-header{flex:none;height:68px}.start-content{padding-top:10px}.start-content>.eyebrow{display:none}.start-content h1{margin-top:0;margin-bottom:8px}}@media (max-width:1000px),(pointer:coarse){:root input,:root select,:root textarea{font-size:16px}}.button.primary,.button.primary:not(:disabled):hover{color:#183a2e;background:linear-gradient(#f4d98f 0%,#d9b65e 100%);border:1px solid #ffebaee6;border-radius:18px;transition:transform .16s,box-shadow .16s,filter .16s;box-shadow:0 8px 24px #00000038,inset 0 1px #ffffff73}.button.primary{gap:14px;font-weight:600}.button.primary:focus-visible{outline-offset:4px;outline:3px solid #ffe6a3}.button.primary:disabled{box-shadow:none;opacity:.48}.button.primary:not(:disabled):active{transform:translateY(0)scale(.98)}.button-arrow{margin-left:auto;font-size:24px;line-height:1;transition:transform .16s}.draw-card-icon{flex:none;align-items:center;display:inline-flex}.draw-card-icon .playing-card{border-radius:5px;width:27px;height:38px;display:block}.bot-levels input:checked+span{background:linear-gradient(#f4d98f,#d9b65e);color:#183a2e!important}@media (hover:hover) and (pointer:fine){.button.primary:not(:disabled):hover{filter:brightness(1.04);transform:translateY(-2px);box-shadow:0 12px 30px #00000047,0 0 24px #e0bc5e2e,inset 0 1px #ffffff80}.button.primary:not(:disabled):hover .button-arrow{transform:translate(4px)}.button.primary:not(:disabled):active{transform:translateY(0)scale(.98)}}@media (max-width:700px),(max-width:1000px) and (max-height:600px) and (orientation:landscape){.is-playing .play-actions .draw-card-btn{min-width:0;min-height:48px;padding:8px 16px;font-size:14px}.draw-card-icon .playing-card{width:22px;height:30px}.draw-card-icon .card-back-mark{width:12px;height:18px;font-size:9px}.is-playing .play-actions:has(>.button:nth-child(3)){gap:6px}.is-playing .play-actions:has(>.button:nth-child(3))>.button{gap:5px;min-width:0;padding-inline:6px;font-size:12px}.is-playing .play-actions:has(>.button:nth-child(3))>.primary{white-space:normal}.is-playing .play-actions:has(>.button:nth-child(3)) .button-arrow{flex:none;font-size:20px}}@media (prefers-reduced-motion:reduce){.button.primary:not(:disabled):hover,.button.primary:not(:disabled):active,.button.primary:not(:disabled):hover .button-arrow{transform:none}}.game-page.is-playing{--play-header:64px;--play-score:74px;--rack-height:144px;--hand-help:32px;height:100dvh;min-height:0;padding:var(--safe-top) max(24px, var(--safe-right)) max(8px, var(--safe-bottom)) max(24px, var(--safe-left));grid-template-columns:minmax(0,1fr);grid-template-rows:var(--play-header) var(--play-score) minmax(0, 1fr) auto;display:grid;overflow:hidden}.is-playing .game-header{height:100%;min-height:0}.is-playing .match-bar{height:100%;min-height:0;padding-block:2px;overflow:hidden}.is-playing .opponent-heading{line-height:1.2}.is-playing .game-table{grid-template-rows:38px minmax(0,1fr) 100px;width:100%;height:100%;min-height:0;margin:0 auto;padding:0 18px;display:grid;overflow:hidden}.is-playing .table-heading{min-width:0;padding:0 4px}.is-playing .melds-area{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#93ad9677 transparent;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:16px 24px;min-width:0;min-height:0;margin:0;padding:8px 4px 14px;display:flex;overflow:auto}.is-playing .melds-area.empty{align-content:center;align-items:center;padding:6px}.is-playing .table-empty{max-height:100%;overflow:auto}.is-playing .game-table .meld-caption{height:26px;min-height:0}.is-playing .game-table .meld-caption>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.is-playing .game-table .meld-caption .text-button,.is-playing .game-table .joker-exchange{display:none}.is-playing .game-table .table-meld[data-actionable=true] .meld-cards{background:#dce8b111;border-radius:6px;outline:1px solid #dce8b180}.is-playing .piles{border-top:1px solid var(--line);align-items:center;gap:32px;height:100%;margin:0;padding:8px 0}.is-playing .pile{flex-direction:row;gap:10px}.is-playing .pile>span{font-size:11px}.is-playing .piles .playing-card,.is-playing .piles .empty-card{width:48px;height:70px}.is-playing .piles .card-corner{font-size:15px;top:5px;left:5px}.is-playing .piles .card-corner.bottom,.is-playing .piles .joker-word{display:none}.is-playing .piles .card-center{font-size:23px;top:65%}.is-playing .pile-button{min-width:48px;min-height:70px}.is-playing .closing-pile{margin:0;transform:none}.is-playing .hand-dock{grid-template-columns:minmax(0,1fr);grid-template-rows:54px var(--hand-help) var(--rack-height) 64px;width:100%;min-width:0;min-height:0;margin:0 auto;padding:8px 0 0;display:grid}.is-playing .hand-header{grid-row:1;gap:10px;min-width:0;height:100%;min-height:0}.is-playing .hand-header>div:first-child{flex-wrap:nowrap;min-width:0}.is-playing .hand-header b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.is-playing .hand-count{white-space:nowrap;flex:none}.is-playing .turn-help{grid-row:2;height:100%;min-height:0;margin:0;padding:0;display:block;overflow:auto}.is-playing .hand-rack{grid-row:3;grid-template-rows:minmax(0,1fr) 18px;min-height:0;display:grid}.is-playing .hand-scroll{overscroll-behavior:contain;height:100%;min-height:0;margin:0;padding:10px 4px 6px;overflow:auto}.is-playing .hand-cards{align-content:start;align-items:start}.is-playing .hand-card .playing-card.selected{transform:translateY(-2px)}.is-playing .hand-card .playing-card.selected:not(:disabled):active{transform:translateY(-1px)}.is-playing .hand-guidance{white-space:nowrap;height:18px;min-height:0;padding:2px 0;line-height:14px;overflow:hidden}.is-playing .hand-guidance>span:first-child{text-overflow:ellipsis;overflow:hidden}.is-playing .hand-guidance>span:last-child:not(:first-child){flex:none}.is-playing .actions-bar{grid-row:4;grid-template-columns:minmax(0,1fr) minmax(360px,52%);align-items:center;gap:16px;height:100%;min-height:0;margin:0;padding:0;display:grid}.is-playing .selection-summary{gap:6px;min-width:0;height:56px;min-height:0}.is-playing .selection-summary>.selection-message{overscroll-behavior:contain;scrollbar-width:thin;flex:1;min-width:0;min-height:0;max-height:100%;overflow:auto}.is-playing .selection-message:focus-visible{outline:1px solid var(--accent);outline-offset:-1px;border-radius:3px}.is-playing .selection-summary>.drafts{flex:0 40%;min-width:0;max-width:40%;height:48px;margin:0;overflow-y:hidden}.is-playing .selection-summary .cancel-selection{border:0;flex:none;width:44px;min-width:44px;height:44px}.is-playing .play-actions{grid-template-columns:1fr 1fr 2fr;gap:8px;min-width:0;height:52px;display:grid}.is-playing .play-actions>.button{white-space:normal;gap:6px;width:100%;min-width:0;height:100%;min-height:0;padding:8px 10px;font-size:13px;line-height:1.2}.is-playing .play-actions .primary{grid-column:3}.is-playing .play-actions .draw-card-btn{gap:6px;min-width:0;min-height:0;padding:8px 10px;font-size:13px}.is-playing .play-actions .button-arrow{flex:none;font-size:20px}.is-playing .play-actions .draw-card-icon .playing-card{width:20px;height:28px}.is-playing .play-actions .secondary>span,.is-playing .game-footer{display:none}.is-playing .connection-banner{top:calc(var(--play-header) + var(--safe-top));z-index:10;background:#5c4928;padding:10px;font-size:12px;position:absolute;left:12px;right:12px}.is-playing .game-error{top:calc(var(--play-header) + var(--safe-top) + 8px);bottom:auto}.is-playing .closing-discard-trigger{flex:none;min-height:44px;padding:6px 10px;font-size:12px}.game-sheet .closing-discard{grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:10px;margin:0 0 16px;font-size:14px;display:grid}.game-sheet .closing-discard select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#c8d2c9 50%),linear-gradient(135deg,#c8d2c9 50%,#0000 50%);background-position:calc(100% - 19px) 21px,calc(100% - 14px) 21px;background-repeat:no-repeat;background-size:5px 5px;width:100%;max-width:none;height:48px;min-height:48px;padding:10px 36px 10px 12px;font-size:16px}.game-sheet .closing-picker-done{width:100%;margin-top:16px}@media (max-width:700px),(max-width:1000px) and (max-height:600px) and (orientation:landscape){.game-page.is-playing{--play-header:52px;--play-score:70px;--rack-height:188px;--hand-help:32px;padding-inline:max(12px, var(--safe-left)) max(12px, var(--safe-right));padding-bottom:0}.is-playing .game-table{grid-template-rows:32px minmax(0,1fr) 72px;padding:0}.is-playing .table-heading{padding-inline:10px}.is-playing .melds-area{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:6px 10px 12px;display:grid}.is-playing .game-table .meld-caption{height:20px}.is-playing .piles{gap:4px;padding:6px 2px}.is-playing .pile{gap:4px}.is-playing .piles .playing-card,.is-playing .piles .empty-card{width:36px;height:52px}.is-playing .pile-button{min-width:44px;min-height:54px}.is-playing .piles .card-corner{font-size:13px;top:4px;left:4px}.is-playing .piles .card-center{font-size:19px;top:68%}.is-playing .hand-dock{grid-template-rows:52px var(--hand-help) var(--rack-height) 110px;width:calc(100% + 24px);padding:4px 12px max(8px, var(--safe-bottom));margin:0 -12px}.is-playing .hand-header{gap:4px}.is-playing .hand-rack{grid-template-rows:minmax(0,1fr) 16px}.is-playing .hand-scroll{padding:5px 3px}.is-playing .hand-cards{grid-template-rows:repeat(2,77px);grid-auto-rows:77px}.is-playing .hand-guidance{height:16px;font-size:10px;line-height:12px}.is-playing .actions-bar{grid-template-rows:56px 48px;grid-template-columns:minmax(0,1fr);gap:5px}.is-playing .selection-summary{height:56px}.is-playing .selection-summary>.drafts{flex-basis:32%;max-width:32%}.is-playing .play-actions{gap:6px;height:48px}:is(.is-playing .play-actions>.button,.is-playing .play-actions:has(>.button:nth-child(3))>.button,.is-playing .play-actions .draw-card-btn){gap:4px;min-height:0;padding:6px;font-size:12px}.is-playing .play-actions .draw-card-btn>span:not([class]){min-width:0}.is-playing .play-actions .draw-card-icon{display:inline-flex}}@media (max-width:700px) and (max-height:700px){.game-page.is-playing{--play-header:44px;--play-score:60px;--rack-height:126px;--hand-help:0px}.is-playing .game-table{grid-template-rows:28px minmax(0,1fr) 62px}.is-playing .game-table .meld-cards .playing-card{width:34px;height:45px}.is-playing .game-table .small .card-corner{font-size:12px;top:3px;left:4px}.is-playing .game-table .small .card-center{font-size:16px}.is-playing .game-table .meld-caption{height:18px;font-size:10px}.is-playing .piles{padding-block:3px}.is-playing .hand-dock{grid-template-rows:52px 0 var(--rack-height) 98px;padding-top:2px;padding-bottom:max(6px, var(--safe-bottom))}.is-playing .hand-rack{grid-template-rows:minmax(0,1fr) 0}.is-playing .hand-guidance{visibility:hidden}.is-playing .actions-bar{grid-template-rows:44px 48px}.is-playing .selection-summary{height:44px}.is-playing .hand-cards{grid-template-rows:repeat(2,55px);grid-auto-rows:55px;gap:5px}.is-playing .hand-card,.is-playing .hand-card .playing-card{height:55px}.is-playing .hand-card .card-corner{font-size:16px}.is-playing .hand-card .card-center{font-size:19px}}@media (max-width:1000px) and (max-height:600px) and (orientation:landscape){.game-page.is-playing{--play-header:44px;--hand-help:0px;padding-bottom:max(6px, var(--safe-bottom));grid-template-rows:44px 64px minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}.is-playing .game-header{grid-area:1/1/auto/-1}.is-playing .match-bar{grid-area:2/1}.is-playing .game-table{grid-area:3/1;grid-template-rows:28px minmax(0,1fr) 62px}.is-playing .hand-dock{grid-area:2/2/4;grid-template-rows:52px 0 minmax(0,1fr) 104px;width:100%;height:100%;margin:0;padding:0 6px;overflow:hidden}.is-playing .hand-header b{max-width:65px}.is-playing .sort-controls{width:clamp(156px,23vw,206px)}.is-playing .sort-controls button{padding-inline:3px;font-size:10px}.is-playing .hand-cards{--landscape-card-height:clamp(44px, calc((100dvh - 260px) / 2), 62px);grid-template-rows:repeat(2, var(--landscape-card-height));grid-auto-rows:var(--landscape-card-height)}.is-playing .hand-card,.is-playing .hand-card .playing-card{height:var(--landscape-card-height)}.is-playing .actions-bar{grid-template-rows:50px 48px}.is-playing .selection-summary{height:50px}.is-playing .hand-rack{grid-template-rows:minmax(0,1fr) 14px}.is-playing .hand-guidance{visibility:visible;height:14px;padding-block:1px;font-size:9px}.is-playing .hand-count{font-size:10px}}@media (max-width:1000px) and (max-height:340px) and (orientation:landscape){.is-playing .hand-rack{grid-template-rows:minmax(0,1fr) 0}.is-playing .hand-guidance{visibility:hidden}}@media (max-height:650px) and (min-width:1001px){.game-page.is-playing{--play-header:48px;--play-score:74px;--rack-height:124px;--hand-help:0px}.is-playing .turn-help{visibility:hidden}.is-playing .hand-card .playing-card{width:62px;height:88px}.is-playing .hand-dock{grid-template-rows:54px 0 var(--rack-height) 64px}.is-playing .game-table{grid-template-rows:30px minmax(0,1fr) 82px}}@media (max-width:700px) and (max-height:499px) and (orientation:portrait){.game-page.is-playing{grid-template-rows:var(--play-header) var(--play-score) 180px auto;height:auto;min-height:100dvh;overflow:visible}}.hint-trigger{color:var(--accent);font-size:12px;font-weight:600}.move-hint h3{margin-bottom:10px;font-size:20px}.move-hint>p{margin-bottom:18px;line-height:1.6}.hint-opening{border-block:1px solid var(--line);gap:7px;margin-bottom:18px;padding:14px 0;font-size:14px;display:grid}.hint-opening small{color:var(--muted);line-height:1.6}.hint-groups{gap:22px;margin-bottom:22px;display:grid}.hint-groups h4{color:var(--muted);margin-bottom:10px;font-size:13px;font-weight:500}.hint-cards{gap:7px;padding:4px;display:flex;overflow-x:auto}.hint-cards>*{flex:none}.hint-cards .playing-card{width:57px;height:82px}.hint-added .playing-card,.hand-card.hinted-card .playing-card,.table-meld[data-hinted=true] .meld-cards{outline-offset:1px;outline:2px solid #e5c675}.hand-card.hinted-card.staged{opacity:1}.hint-prepare{width:100%}.round-hands{text-align:left;max-width:700px;margin:28px auto 0}.round-hands h2{margin-bottom:16px;font-size:17px;font-weight:500}.round-hand{border-top:1px solid var(--line);min-width:0;padding:16px 0}.round-hand header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:13px;display:flex}.round-hand header b{overflow-wrap:anywhere;min-width:0}.round-hand header span{color:var(--muted);flex:none;font-size:12px}.round-hand>p{color:var(--muted);font-size:13px}.round-hand-cards{scrollbar-width:thin;overscroll-behavior-x:contain;gap:9px;padding:4px 4px 10px;display:flex;overflow-x:auto}.round-hand-cards figure{flex:none;justify-items:center;gap:8px;margin:0;display:grid}.round-hand-cards .playing-card{width:64px;height:92px}.round-hand-cards figcaption{color:var(--accent);font-size:10px}.round-hand-cards .is-carried .playing-card{outline-offset:1px;outline:2px solid #e5c675}@media (max-width:700px){.round-hands{margin-top:24px}.round-hand-cards .playing-card{width:52px;height:76px}}.game-guide{z-index:6;text-align:left;background:#153b30;border:1px solid #c7ac6599;border-radius:16px;flex-direction:column;width:min(390px,100% - 16px);max-height:calc(100% - 16px);animation:.2s ease-out cut-card-in;display:flex;position:absolute;top:8px;right:8px;overflow:hidden;box-shadow:0 8px 30px #001c1870}.game-guide header{flex:none;justify-content:space-between;align-items:center;min-height:44px;padding-left:16px;display:flex}.game-guide .guide-kicker{letter-spacing:1px;color:var(--muted);gap:14px;font-size:10px;display:flex}.game-guide header b{color:var(--accent)}.game-guide .icon-button{border:0;flex:none;width:44px;height:44px}.guide-body{overscroll-behavior-y:contain;scrollbar-width:thin;min-height:0;padding:0 16px 12px;overflow-y:auto}.guide-body h3{margin:0 0 8px;font-size:17px}.guide-body p{color:#c4d2c9;font-size:13px;line-height:1.6}.guide-body .guide-progress{color:var(--accent);margin-top:8px}.game-guide footer{flex:none;justify-content:space-between;align-items:center;gap:12px;padding:0 8px 8px 16px;display:flex}.game-guide footer .button{border-radius:12px;min-width:104px;min-height:44px;padding:8px 14px;font-size:13px}.game-guide footer .text-button{min-width:44px;min-height:44px;font-size:13px}.game-page[data-guide-target=draw] .draw-card-btn,.game-page[data-guide-target=discard] .play-actions .primary,.game-page[data-guide-target=compose] .prepare-action{outline-offset:2px;outline:2px solid #e5c675}.game-page[data-guide-target=compose] .hand-scroll,.game-page[data-guide-target=hand] .hand-scroll{border-radius:8px;box-shadow:inset 0 0 0 1px #e5c67588}@media (prefers-reduced-motion:reduce){.game-guide{animation:none}}.guide-compact-title,.guide-compact-text{display:none}@media (max-width:700px) and (max-height:700px),(max-width:1000px) and (max-height:340px) and (orientation:landscape){.guide-label,.guide-body h3,.guide-detail-text{display:none}.game-guide .guide-kicker{letter-spacing:0;gap:10px}.game-guide .guide-compact-title{color:var(--ink);margin:0;font-size:13px;display:block}.guide-body{padding:0 14px 8px}.guide-body .guide-compact-text{font-size:12px;line-height:1.45;display:block}}
:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);-webkit-text-size-adjust:100%}.cut-actions>p{margin:20px 0;font-size:12px;line-height:1.7}.install-trigger{display:none}.install-steps h3{margin:20px 0 8px;font-size:15px}.install-steps p{font-size:14px;line-height:1.6}.install-steps>p:last-child{margin-top:20px}.install-confirm{width:100%}@media (max-width:700px),(max-width:1000px) and (max-height:600px) and (orientation:landscape){.game-page:not(.is-playing),.game-start{max-width:none;height:100dvh;min-height:0;padding:var(--safe-top) max(12px, var(--safe-right)) max(8px, var(--safe-bottom)) max(12px, var(--safe-left));display:grid;overflow:hidden}.game-page:not(.is-playing){grid-template-rows:48px 28px minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.game-page:not(.is-playing)>.game-header{grid-row:1;height:48px;min-height:0}.game-page:not(.is-playing)>.table-meta{grid-row:2;gap:12px;min-width:0;height:28px;font-size:10px}.table-meta .scoreline{flex:1;justify-content:center;gap:12px;min-width:0}.table-meta .scoreline>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.game-page:not(.is-playing)>.opponent-row,.game-page:not(.is-playing)>.game-footer{display:none}.game-page:not(.is-playing)>.game-table{overscroll-behavior:contain;border-radius:20px;grid-row:3;width:100%;min-width:0;height:100%;min-height:0;margin:0;padding:12px;overflow:auto}.game-page:not(.is-playing)>.lobby{overscroll-behavior:contain;grid-row:3;width:100%;max-width:520px;min-height:0;margin:0 auto;padding:12px 8px;overflow:auto}.game-page[data-phase=joining]{grid-template-rows:48px minmax(0,1fr)}.game-page[data-phase=joining]>.lobby{grid-row:2}.game-page:not(.is-playing) .connection-banner{top:calc(var(--safe-top) + 48px);left:max(12px, var(--safe-left));right:max(12px, var(--safe-right));z-index:10;position:absolute}.lobby .waiting-cards{height:90px;margin:8px 0 16px}.lobby .waiting-cards .playing-card{width:54px;height:78px}.lobby h1{margin:14px 0 10px;font-size:30px}.lobby .invite-box{margin:18px 0}.lobby .seats{margin:16px 0}.cut-scene{grid-template-rows:auto minmax(0,1fr) auto;align-items:center;gap:12px;height:100%;min-height:0;padding:8px 0;display:grid}.cut-scene>.eyebrow{display:none}.cut-scene h2{overflow-wrap:anywhere;margin:0;font-size:28px;line-height:1.12}.cut-scene .cut-deck{height:120px;margin:12px auto}.cut-scene .cut-controls{width:min(100%,340px);margin:0 auto}.cut-controls label{font-size:12px}.cut-controls input{margin:0 0 8px}.cut-controls .button,.cut-actions .button{min-height:48px}.cut-scene .cut-result{min-height:0;max-height:100%;padding:5px;overflow:auto}.cut-scene .cut-award{gap:2px;font-size:13px}.cut-scene .cut-reveal{margin:12px 0 4px}.cut-scene .cut-reveal-card{flex-basis:64px;gap:6px}.cut-scene .cut-actions{gap:12px;width:min(100%,340px);margin:0 auto;display:grid}.cut-actions>p{margin:0;font-size:12px;line-height:1.45}.round-ended{padding:8px 0}.round-ended .win-symbol{margin:0 0 8px;font-size:32px}.round-ended h1{overflow-wrap:anywhere;margin:12px 0;font-size:30px}.round-ended>p{margin-bottom:16px}.round-ended .round-hands{margin-top:20px}.game-start{grid-template-rows:52px minmax(0,1fr) 44px}.game-start .site-header{min-width:0;height:52px;padding:0}.game-start .site-header .brand-logo{width:175px}.game-start .header-actions{gap:8px}.game-start .rules-button{justify-content:center;gap:0;width:44px;min-height:44px;font-size:0}.game-start .rules-button>span{display:none}.game-start .rules-button:before{content:"?";border:1px solid var(--line);border-radius:50%;place-items:center;width:28px;height:28px;font-size:16px;display:grid}.install-trigger{justify-content:center;width:44px;min-height:44px;display:inline-flex}.install-trigger>span{display:none}.game-start .start-content{overscroll-behavior:contain;scrollbar-width:thin;align-self:center;width:min(100%,460px);min-height:0;max-height:100%;margin:0 auto;padding:12px 4px;overflow:auto}.start-content>.eyebrow{display:none}.start-content h1{margin:0 0 6px;font-size:34px}.start-content .start-hint{font-size:12px;line-height:1.4}.start-content .create-form{margin-top:12px}.start-content .game-mode{margin-bottom:12px}.start-content .game-mode button{font-size:13px}.start-content .bot-picker{margin-bottom:10px}.bot-picker legend{margin-bottom:6px}.start-content .bot-description{min-height:34px;margin-top:6px;font-size:12px;line-height:1.4}.start-content .bot-fairness{margin-top:2px;font-size:11px}.start-content .create-form>label{margin-bottom:6px}.start-content .create-row{gap:8px}.start-content .create-row input,.start-content .create-row .button{height:48px;min-height:48px}.start-content .form-note{margin-top:8px}.start-content .join-code{margin-top:12px}.start-content .join-code summary{min-height:44px}.game-start .start-footer{min-width:0;padding:0 4px}.start-footer>span{display:none}.game-sheet,dialog.modal-scrim{padding:max(8px, var(--safe-top)) max(12px, var(--safe-right)) max(8px, var(--safe-bottom)) max(12px, var(--safe-left))}.game-sheet .sheet-panel,.rules-panel{max-height:100%}.game-sheet .sheet-panel{border-radius:20px;padding-bottom:0}.game-sheet .sheet-content{min-height:0}.game-error{bottom:max(12px, var(--safe-bottom))}}@media (max-width:700px) and (max-height:650px) and (orientation:portrait){.game-start .start-content{padding-block:6px}.start-content h1{font-size:28px;line-height:1.1}.start-content>.start-hint,.start-content .form-note{display:none}}@media (max-width:1000px) and (max-height:600px) and (orientation:landscape){.game-start{grid-template-rows:44px minmax(0,1fr)}.game-start .site-header{height:44px}.game-start .site-header .brand-logo{width:150px}.game-start .start-footer{display:none}.game-start .start-content{grid-template-rows:auto auto 1fr;grid-template-columns:minmax(120px,.65fr) minmax(0,1.35fr);align-self:stretch;column-gap:24px;width:min(100%,850px);padding:8px 4px;display:grid}.start-content h1{grid-area:1/1;align-self:end;margin:0 0 6px;font-size:30px}.start-content>.start-hint{grid-area:2/1}.start-content .create-form{grid-area:1/2/4;align-self:center;margin-top:0}.start-content .join-code{grid-area:3/1;align-self:start}.join-code form>div{flex-direction:column}.start-content .game-mode,.start-content .bot-picker{margin-bottom:6px}.start-content .bot-description{min-height:0;margin-top:4px;font-size:11px}.bot-picker legend{margin-bottom:4px;font-size:11px}.start-content .create-row{flex-direction:row}.start-content .create-row input{flex:1;width:0}.start-content .create-row .button{white-space:normal;flex:1;gap:8px;padding:6px 10px;font-size:12px;line-height:1.15}.start-content .form-note{display:none}.game-page:not(.is-playing){grid-template-rows:44px 26px minmax(0,1fr)}.game-page:not(.is-playing)>.game-header{height:44px}.game-page:not(.is-playing)>.table-meta{height:26px}.game-page:not(.is-playing)>.game-table{padding:8px 16px}.game-page[data-phase=waiting]>.lobby{grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px;max-width:850px;padding:8px;display:grid}.lobby .waiting-cards{display:none}.lobby>.eyebrow{grid-area:1/1;font-size:9px}.lobby h1{grid-area:2/1;margin:8px 0;font-size:26px}.lobby>p{grid-area:3/1;font-size:12px}.lobby .seats{flex-wrap:wrap;grid-area:4/1;gap:8px;margin:8px 0}.lobby .invite-box{grid-area:1/2/4;align-self:center;width:100%;margin:0}.invite-box>div{flex-direction:column}.lobby>.button{grid-area:4/2;margin-top:8px}.round-ended{grid-template-rows:auto auto minmax(0,1fr) 48px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px 24px;height:100%;min-height:0;padding:0;display:grid}.round-ended .win-symbol{display:none}.round-ended>.eyebrow{grid-area:1/1;font-size:9px}.round-ended h1{grid-area:2/1;margin:0;font-size:24px;line-height:1.1}.round-ended>p{grid-area:3/1;min-height:0;margin:0;font-size:12px;overflow:auto}.round-ended>.button{grid-area:4/1;width:100%;min-width:0;padding-inline:8px}.round-ended .round-hands{overscroll-behavior:contain;grid-area:1/2/5;width:100%;min-height:0;margin:0;overflow:auto}.round-hands h2{margin-bottom:8px;font-size:14px}.round-hand{padding-block:10px}.cut-scene{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 24px;padding:0}.cut-scene h2{grid-area:1/1;font-size:25px}.cut-scene .cut-deck,.cut-scene .cut-result{grid-area:2/1}.cut-scene .cut-controls,.cut-scene .cut-actions{grid-area:1/2/3}.cut-scene .cut-deck{height:108px;margin-block:4px}.cut-scene .cut-award{flex-wrap:wrap;justify-content:center;gap:4px 10px;font-size:12px;display:flex}.cut-scene .cut-reveal{margin:8px 0 2px}.cut-scene .cut-reveal-card{flex-basis:54px;gap:4px}.cut-scene .card-corner.bottom,.cut-scene .joker-word{display:none}.cut-scene .cut-reveal-card figcaption,.cut-scene .cut-card-order{font-size:10px}.cut-scene .card-center{font-size:25px;top:66%}.cut-scene .card-corner{font-size:15px;top:5px;left:5px}.is-playing .hand-cards{--landscape-card-height:clamp(44px, calc((100dvh - var(--safe-top) - var(--safe-bottom) - 260px) / 2), 62px)}}@media (max-width:700px) and (max-height:480px) and (orientation:portrait){.game-page:not(.is-playing) .cut-scene{min-height:300px}}
