:root{color:#272923;font-synthesis:none;--ink:#272923;--muted:#66695f;--paper:#f8f5ed;--line:#d8d6cd;--red:#973a2c;--focus:#286353;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;accent-color:var(--ink);background:#ece9e1;font-family:Geologica,Segoe UI,sans-serif;font-weight:430}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{color:#172920;background:#bcd4c8}input{caret-color:var(--red)}*{scrollbar-width:thin;scrollbar-color:#b2b3a7 transparent}a{color:inherit;text-underline-offset:4px}button{color:inherit}svg{display:block}h1,h2,p{margin:0}input[type=range]{cursor:pointer;min-width:0}button,select,input{border-radius:5px}.studio{--header-height:64px;max-width:1800px;min-height:100dvh;margin:0 auto}.turn-controls svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.studio-workspace{grid-template-columns:minmax(0,1fr);display:grid}.table-area{min-width:0;padding:22px 24px 0}.stage{isolation:isolate;background:#b9b1a0;border-radius:10px;min-width:0;height:clamp(510px,100dvh - 275px,880px);position:relative;overflow:hidden}.card-scene{touch-action:none;position:absolute;inset:0}.card-scene canvas{width:100%;height:100%;display:block}.card-scene[data-mode=inspect]{cursor:grab}.opponent-label{pointer-events:none;color:#202c27;white-space:nowrap;background:#f8f5edf0;border-radius:4px;padding:5px 9px;font-size:11px;position:absolute;top:114px;left:50%;transform:translate(-50%)}.opponent-label span{color:#596259;margin-left:8px}.upload-button svg,.studio-message svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.small-suit{width:15px;height:15px}.turn-controls{background:var(--paper);border-radius:6px;align-items:center;gap:2px;padding:4px;display:flex}.turn-controls button{background:0 0;border:0;min-height:36px;padding:8px 11px;font-size:12px}.turn-controls button:hover{background:#e1e1d7}.zoom-control{background:#f8f5edf0;border-radius:4px;align-items:center;gap:10px;padding:3px 12px;font-size:11px;display:flex}.zoom-control input{width:115px}.hand-controls{align-items:center;gap:24px;min-height:72px;padding:17px 3px 13px;display:flex}.hand-controls-label{flex-shrink:0;gap:5px;font-size:12px;display:grid}.hand-controls-label span+span{color:var(--muted);font-size:10px}.hand-choices{flex-wrap:wrap;gap:6px;display:flex}.hand-choice{color:var(--ink);background:#f8f5ed;border:1px solid #c9ccc0;justify-content:center;align-items:center;gap:5px;min-width:45px;height:44px;padding:0 8px;font-family:Sofia Sans Extra Condensed,Arial Narrow,sans-serif;font-size:22px;font-weight:700;display:flex;position:relative}.hand-choice.red{color:#973a2c}.hand-choice[aria-pressed=true]{background:#d3e2d5;border-color:#557662}.hand-choice i{background:#416850;border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px;right:4px}.hand-choice:hover{background:#e0e7d9}.game-bar{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:20px 3px 22px;display:flex}.game-caption p{font-family:Sofia Sans Extra Condensed,Arial Narrow,sans-serif;font-size:25px;font-weight:700;line-height:1}.game-caption span{color:var(--muted);margin-top:7px;font-size:11px;display:block}.game-actions{flex-shrink:0;gap:7px;display:flex}.game-actions button{background:0 0;border:1px solid #bcc1b4;min-height:42px;padding:11px 16px;font-size:12px}.game-actions .primary-action{color:#f7f2e6;background:#293b30;border-color:#0000;min-width:105px}.game-actions button:not(:disabled):hover{background:#d9ded1}.game-actions .primary-action:not(:disabled):hover{background:#3e5948}.draw-controls{background:var(--paper);color:var(--ink);border:1px solid #c8cbc0;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;display:flex}.draw-copy{gap:4px;min-width:0;display:grid}.draw-copy strong{font-size:13px;font-weight:600}.draw-copy span,.draw-mode-note{color:var(--muted);font-size:11px}.draw-actions{flex-shrink:0;gap:7px;display:flex}.draw-actions button{background:0 0;border:1px solid #bcc1b4;min-height:44px;padding:10px 13px}.draw-actions .primary-action{color:#f7f2e6;background:#293b30;border-color:#0000;min-width:112px}.draw-actions button:not(:disabled):hover{background:#d9ded1}.draw-actions .primary-action:not(:disabled):hover{background:#3e5948}.accessible-bout{margin-bottom:20px;padding:10px 4px;font-size:12px}.accessible-bout summary{cursor:pointer}.accessible-bout ul{padding-left:20px}.accessible-bout li{justify-content:space-between;align-items:center;gap:12px;margin-top:10px;display:flex}.accessible-bout button{background:var(--paper);border:1px solid var(--line);padding:8px}.appearance-panel{border-left:1px solid var(--line);background:var(--paper);max-height:calc(100dvh - var(--header-height));padding:29px 23px 24px;position:sticky;top:0;overflow:auto}fieldset{border:0;min-width:0;margin:25px 0 0;padding:0}legend{margin-bottom:12px;padding:0;font-size:12px;font-weight:600}.finish-options{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.finish-options button{background:0 0;border:1px solid #d4d6cb;padding:0 0 8px;font-size:10px;overflow:hidden}.finish-options button[aria-pressed=true]{border:2px solid #57725c}.finish-sample{background:#e6ddc9;height:55px;margin-bottom:8px;display:block;position:relative;overflow:hidden}.finish-sample:before{content:"";background:#f9f4e7;border-radius:3px;position:absolute;inset:11px 18px 9px;transform:rotate(-14deg);box-shadow:4px 6px 8px #40392c29}.finish-sample.satin{background:#c3cbbb}.finish-sample.satin:before{background:linear-gradient(125deg,#d7d9ca,#fffdf5 43%,#e1e2d5 65%)}.finish-sample.foil{background:#b4aca0}.finish-sample.foil:before{background:linear-gradient(125deg,#b19665,#f7e4b9 38%,#b19364 62%,#e1c995)}.field-note{color:var(--muted);margin-top:10px;font-size:10px;line-height:1.6}.color-row{justify-content:space-between;align-items:center;padding:6px 0;font-size:11px;display:flex}.color-value{font-variant-numeric:tabular-nums;color:var(--muted);align-items:center;gap:10px;font-size:10px;display:flex}input[type=color]{cursor:pointer;background:0 0;border:1px solid #bcbfb2;border-radius:4px;width:26px;height:26px;padding:0;overflow:hidden}input[type=color]::-webkit-color-swatch-wrapper{padding:2px}input[type=color]::-webkit-color-swatch{border:0;border-radius:2px}.range-label{grid-template-columns:1fr auto;align-items:center;gap:12px;margin-top:17px;font-size:11px;display:grid}.range-label output{color:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.range-label input{grid-column:1/-1;width:100%;height:14px;margin:0}.appearance-panel select{width:100%;color:var(--ink);background:0 0;border:1px solid #c7cabd;padding:10px 28px 10px 9px;font-size:11px}.upload-button{background:0 0;border:1px solid #c7cabd;justify-content:space-between;width:100%;margin-top:9px;padding:11px 10px;font-size:11px;display:flex}.upload-button:hover{background:#e8e9de}.text-button{text-underline-offset:4px;color:var(--muted);background:0 0;border:0;padding:7px 0;font-size:10px;text-decoration:underline}.surface-options{gap:10px;margin-bottom:15px;display:flex}.surface-options button{border:3px solid var(--paper);outline:1px solid #c6c9be;width:43px;height:40px}.surface-options button[aria-pressed=true]{outline:2px solid #425e4b}.setup-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.setup-options button{text-align:left;background:0 0;border:0;align-items:center;gap:7px;padding:5px 0;font-size:10px;display:flex}.setup-options button:hover{color:#276442}.setup-swatch{border-radius:3px;flex-shrink:0;place-items:center;width:29px;height:32px;display:grid}.setup-swatch>span{border:1px solid #f6eddb;border-radius:2px;width:13px;height:20px;transform:rotate(-13deg)}.save-setup form{gap:6px;margin-top:10px;display:flex}.save-setup input{background:0 0;border:1px solid #c7cabd;width:100%;min-width:0;padding:10px 8px;font-size:11px}.save-setup input::placeholder{color:#6a7064}.save-setup button{background:#dce1d3;border:0;padding:8px 10px;font-size:11px}.reset-style{margin-top:18px}.studio-message{z-index:10;color:#f9f6ed;background:#293b30;border-radius:8px;align-items:center;gap:20px;max-width:min(90vw,540px);padding:14px 18px;font-size:12px;line-height:1.5;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #14291e30}.studio-message button{color:inherit;background:0 0;border:0;padding:0 4px;font-size:21px}.sr-only,.studio.is-playing .game-status .bout-update{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width>=1600px){.appearance-panel{padding-left:28px;padding-right:28px}.table-area{padding:28px 32px 0}.stage{height:calc(100dvh - 275px)}}@media (width<=1050px){.appearance-panel{padding:25px 18px}.table-area{padding:18px 16px 0}.hand-controls{display:block}.hand-controls-label{justify-content:space-between;margin-bottom:10px;display:flex}.stage{height:540px}.game-actions{gap:5px}.game-actions button{padding:10px 12px}.game-caption span{max-width:210px;line-height:1.5}}@media (width<=760px){.studio{--header-height:60px}.table-area{padding:12px 12px 0}.stage{border-radius:7px;height:540px}.appearance-panel{border-left:0;border-top:1px solid var(--line);grid-template-columns:1fr 1fr;column-gap:24px;max-height:none;padding:25px 24px;display:grid;position:static}.reset-style{grid-column:1/-1}.hand-controls{padding-top:14px}.hand-controls-label{gap:10px;font-size:11px}.hand-controls-label span+span{font-size:9px}.game-bar{padding:17px 0}.game-caption p{font-size:25px}.game-caption span{max-width:150px;font-size:10px}.game-actions button{padding:10px 11px}.game-actions .primary-action{min-width:90px}.opponent-label{font-size:10px;top:130px}.turn-controls button{padding:8px 9px;font-size:11px}}@media (width<=390px){.stage{height:505px}.appearance-panel{grid-template-columns:1fr}.appearance-panel>*{grid-column:1}.game-bar{flex-wrap:wrap}.game-actions{width:100%}.game-actions button{flex:1}.game-caption span{max-width:none}.hand-controls-label{gap:4px;display:grid}}.opponent-label{left:var(--opponent-x);top:var(--opponent-y)}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}button:enabled:active{transform:translateY(1px)}@media (prefers-reduced-motion:reduce){button:enabled:active{transform:none}}.game-status{z-index:4;background:#ece9e1;justify-content:space-between;align-items:center;gap:20px;min-height:82px;padding:0 3px 16px;display:flex;position:sticky;top:0}.game-status h1{color:var(--ink);align-items:center;gap:9px;font-family:Sofia Sans Extra Condensed,Arial Narrow,sans-serif;font-size:34px;font-weight:700;line-height:1.1;display:flex}.game-status[data-tone=human] h1,.game-status[data-tone=won] h1{color:#286353}.game-status[data-tone=lost] h1{color:var(--red)}.game-status p{margin-top:5px;font-size:12px;line-height:1.5}.game-status .bout-update{color:var(--muted);margin-top:4px;font-size:11px}.table-context{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:6px 16px;font-size:11px;line-height:1.5;display:flex}.table-context>span{white-space:nowrap}.trump-context{align-items:center;gap:5px;display:inline-flex}.trump-context [data-suit=hearts],.trump-context [data-suit=diamonds]{color:var(--red)}.opponent-label[data-active=true]{color:#f8f5ed;background:#293b30}.opponent-label[data-active=true] span{color:#e1e8da}.opponent-label strong{font-size:inherit;margin-left:9px;font-weight:600}.game-result{text-align:center;background:var(--paper);border-radius:8px;width:min(360px,100% - 32px);padding:30px 28px;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%);box-shadow:0 12px 36px #1a251b30}.game-result h2{color:#286353;font-family:Sofia Sans Extra Condensed,Arial Narrow,sans-serif;font-size:64px;font-weight:800;line-height:1}.game-result[data-tone=lost] h2{color:var(--red)}.game-result[data-tone=draw] h2{color:var(--ink)}.game-result h2:focus{outline:none}.game-result p{max-width:28ch;margin:14px auto 22px;font-size:13px;line-height:1.6}.game-result button{color:#f8f5ed;background:#293b30;border:0;min-height:44px;padding:12px 28px;font-size:13px}.game-result button:hover{background:#3e5948}@media (width<=760px){.game-status{gap:12px;min-height:90px;padding:0 2px 12px}.game-status h1{font-size:30px}.game-status p{font-size:12px}.game-status .bout-update{font-size:10px}.game-result{padding:26px 22px}.game-result h2{font-size:54px}.game-bar{z-index:3;background:#ece9e1;gap:12px;position:sticky;bottom:0}.game-caption span{line-height:1.5}.game-actions button{min-height:44px}}.court-picker{pointer-events:auto;min-width:0}.court-picker select{width:180px;max-width:100%;min-height:44px;color:var(--ink);background:var(--paper);border:1px solid #bcbfb2;border-radius:5px;padding:10px 24px 10px 10px}@media (width<=760px){.court-picker select{width:156px;font-size:11px}}.back-pattern-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.studio{--header-height:0px;max-width:none;position:relative}.table-area{position:relative}.table-tools{z-index:8;top:max(16px, env(safe-area-inset-top));right:max(16px, env(safe-area-inset-right));gap:8px;display:flex;position:absolute}.language-switcher{justify-content:space-between;align-items:center;gap:16px;margin:20px 0;font-size:13px;display:flex}.language-switcher select{border:1px solid var(--line);background:var(--paper);min-height:44px;color:var(--ink);padding:8px 12px}.tool-button{background:var(--paper);border:1px solid #babdb0;border-radius:8px;place-items:center;width:48px;height:48px;padding:12px;display:grid}.tool-button:hover{background:#e4e7db}.tool-button svg,.bout-toggle svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.tool-button span{display:none}.play-preferences{grid-column:1/-1}.display-preference{cursor:pointer;align-items:center;gap:12px;min-height:48px;font-size:14px;display:flex}.display-preference input{width:20px;height:20px}.table-area[data-view=inspect]{padding-top:80px}.studio.is-playing .table-area{height:100svh;min-height:360px;padding:0}.studio.is-playing .studio-workspace{grid-template-columns:minmax(0,1fr)}.studio.is-playing .stage{border-radius:0;height:100%;min-height:0;position:absolute;inset:0}.table-frame{pointer-events:none;position:absolute;inset:28px}.studio.is-playing .table-frame{top:calc(max(20px, env(safe-area-inset-top)) + 124px);bottom:calc(max(16px, env(safe-area-inset-bottom)) + 128px)}.studio.is-playing .game-status{z-index:2;top:max(20px, env(safe-area-inset-top));left:max(24px, env(safe-area-inset-left));min-height:0;color:var(--table-ink);pointer-events:none;background:0 0;flex-direction:column;align-items:flex-start;gap:8px;padding:0;display:flex;position:absolute;right:144px}.studio.is-playing .game-status h1{color:inherit;font-size:26px}.studio.is-playing .game-status p{max-width:54ch;margin-top:4px;font-size:12px}.studio.is-playing .table-context{color:inherit;gap:8px 16px;font-size:12px}.studio.is-playing .opponent-label{color:var(--table-ink);background:0 0;padding:0;font-size:12px;transform:translate(-50%,-100%)}.studio.is-playing .opponent-label span{color:inherit}.studio.is-playing .player-controls{z-index:3;bottom:max(16px, env(safe-area-inset-bottom));left:max(24px, env(safe-area-inset-left));right:max(24px, env(safe-area-inset-right));color:var(--table-ink);pointer-events:none;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;display:grid;position:absolute}.studio.is-playing .hand-controls{gap:8px;min-width:0;padding:0;display:grid}.studio.is-playing .hand-controls-label{color:inherit;justify-content:space-between;margin:0;font-size:12px;display:flex}.studio.is-playing .hand-controls-label span+span{display:none}.studio.is-playing .hand-choices{pointer-events:auto;flex-wrap:nowrap;gap:8px;min-width:0;padding:4px 3px;scroll-padding-inline:8px;overflow-x:auto}.studio.is-playing .hand-choice{flex:none;min-width:48px;height:52px}.studio.is-playing .game-bar{background:0 0;border:0;min-height:0;padding:0 0 4px;position:static}.studio.is-playing .game-caption{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.studio.is-playing .game-actions{pointer-events:auto;gap:8px}.studio.is-playing .draw-controls{pointer-events:auto;flex-wrap:wrap;grid-column:auto;justify-self:end;width:min(560px,48vw);box-shadow:0 5px 18px #17261c20}.studio.is-playing .draw-copy{min-width:min-content}.studio.is-playing .draw-actions button{font-size:14px}.studio.is-playing .game-actions button{background:var(--paper);min-width:80px;min-height:52px;color:var(--ink);padding:12px 16px;font-size:14px}.studio.is-playing .game-actions .primary-action{color:#f8f5ed;background:#293b30}.studio.is-playing .game-actions button:disabled{opacity:1;color:#797e73;background:#d8d9cd}.studio.is-playing .game-actions .bout-toggle{place-items:center;width:48px;min-width:48px;padding:12px;display:grid}.studio.is-playing .accessible-bout{background:var(--paper);width:min(420px,100%);max-height:min(360px,45svh);color:var(--ink);border:1px solid var(--line);pointer-events:auto;border-radius:12px;margin:0;padding:16px;position:absolute;bottom:calc(100% + 16px);right:0;overflow-y:auto}.bout-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.bout-heading h2{font-size:16px}.bout-heading button{min-height:44px}@media (width<=760px){.studio.is-playing .table-frame{top:min(25%, calc(max(16px, env(safe-area-inset-top)) + 160px));bottom:min(55%, calc(max(12px, env(safe-area-inset-bottom)) + 224px))}.studio.is-playing .table-tools{top:max(12px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right))}.studio.is-playing .game-status{top:max(16px, env(safe-area-inset-top));left:max(16px, env(safe-area-inset-left));gap:6px;right:128px}.studio.is-playing .game-status h1{font-size:24px}.studio.is-playing .game-status p{font-size:11px}.studio.is-playing .table-context{gap:4px 12px;font-size:11px}.studio.is-playing .player-controls{left:max(12px, env(safe-area-inset-left));right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr);gap:8px}.studio.is-playing .hand-controls{gap:4px}.studio.is-playing .hand-choice{flex-direction:column;justify-content:center;gap:4px;width:56px;height:72px;padding:8px;font-size:28px;display:flex}.studio.is-playing .hand-choice .small-suit{width:22px;height:22px}.studio.is-playing .game-bar{padding:0}.studio.is-playing .game-actions{width:100%}.studio.is-playing .draw-controls{flex-direction:column;grid-column:1/-1;align-items:stretch;gap:8px;width:100%}.studio.is-playing .draw-actions{width:100%}.studio.is-playing .draw-actions button{flex:1}.studio.is-playing .game-actions button{flex:1;min-width:0;padding:12px 8px;font-size:14px}.studio.is-playing .game-actions .bout-toggle{flex:0 0 48px}}@media (height<=500px){.studio.is-playing .hand-choice{flex-direction:row;width:auto;height:48px;font-size:24px}.studio.is-playing .hand-choice .small-suit{width:16px;height:16px}.studio.is-playing .game-actions button{min-height:48px}.studio.is-playing .game-status p{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}@media (height<=500px) and (width>=600px) and (orientation:landscape){.studio.is-playing .table-frame{top:calc(max(20px, env(safe-area-inset-top)) + 76px);bottom:calc(max(16px, env(safe-area-inset-bottom)) + 112px)}.studio.is-playing .draw-controls{flex-direction:row;grid-column:auto;width:min(560px,48vw)}.studio.is-playing .draw-actions{width:auto}.studio.is-playing .player-controls{grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=760px),(height<=500px) and (orientation:landscape){.studio.is-playing .draw-copy span{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.back-pattern-options button{border:1px solid var(--line);min-width:0;color:var(--ink);background:0 0;border-radius:5px;flex-direction:column;align-items:center;gap:8px;padding:10px 4px;font-size:11px;display:flex}.back-pattern-options button:hover{background:#e8e9de}.back-pattern-options button[aria-pressed=true]{border-color:var(--focus);background:#dce1d3}.back-pattern-options canvas{border-radius:3px;width:44px;height:auto;display:block}.back-pattern-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.back-frame{cursor:pointer;align-items:center;gap:8px;min-height:44px;font-size:11px;display:flex}.back-frame input{width:16px;height:16px;accent-color:var(--focus);margin:0}.variation-button{border:1px solid var(--line);min-height:44px;color:var(--ink);background:0 0;border-radius:5px;padding:8px 10px;font-size:11px}.variation-button:hover{background:#e8e9de}@media (width>=391px) and (width<=760px){.back-settings{grid-column:1/-1}}.drop-feedback{color:var(--table-ink);pointer-events:none;white-space:nowrap;font-size:12px;position:absolute;left:50%;transform:translate(-50%)}.cancel-selection{min-height:44px;color:inherit;text-underline-offset:4px;pointer-events:auto;background:0 0;border:0;padding:0 12px;text-decoration:underline;position:absolute;top:-12px;right:0}.hand-controls{position:relative}.play-preferences{gap:12px;display:grid}.draw-preference{border-top:1px solid var(--line);gap:7px;padding-top:10px;display:grid}.draw-preference>span{color:var(--muted);font-size:11px}[hidden]{display:none!important}.menu-toggle.tool-button{gap:8px;width:auto;padding:0 14px;font-size:14px;display:flex}.menu-toggle.tool-button span{display:inline}.studio.is-menu-open{background:var(--paper);max-width:none}.is-menu-open .studio-workspace{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(300px,380px);height:100dvh;min-height:360px}.menu-heading{padding:max(12px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 12px max(24px, env(safe-area-inset-left));grid-column:1/-1;align-items:center;gap:16px;display:flex}.menu-heading h1{font-family:Sofia Sans Extra Condensed,Arial Narrow,sans-serif;font-size:32px}.menu-pause{color:var(--muted);font-size:12px}.menu-return{color:var(--paper);background:#293b30;border:0;min-height:44px;margin-left:auto;padding:10px 16px;font-size:14px}.menu-return:hover{background:#3e5948}.menu-sections{border-bottom:1px solid var(--line);grid-column:1/-1;gap:12px;padding:0 24px;display:flex}.menu-sections button{min-height:48px;color:var(--muted);background:0 0;border:0;border-bottom:3px solid #0000;border-radius:0;padding:8px 12px;font-size:14px}.menu-sections button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--focus)}.menu-sections button:hover{color:var(--ink);background:#e9eadf}.is-menu-open .table-area{grid-template-rows:minmax(0,1fr) auto;min-height:0;padding:0;display:grid}.is-menu-open .stage{border-radius:0;height:100%;min-height:0}.is-menu-open .card-scene[data-mode=play]{pointer-events:none}.is-menu-open .opponent-label{color:var(--table-ink);background:0 0}.preview-controls{padding:12px max(16px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-bottom));background:var(--paper);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;display:grid}.preview-controls .court-picker select{width:100%;max-width:100%;min-height:44px;font-size:14px}.preview-controls .turn-controls{padding:0}.preview-controls .turn-controls button{min-width:44px;min-height:44px;padding:6px 10px;font-size:13px}.preview-controls .zoom-control{min-height:44px;padding:0;font-size:13px}.preview-controls .zoom-control input{flex:1;width:100%;min-height:44px}.preview-controls output{font-variant-numeric:tabular-nums;min-width:4ch}.preview-side{color:var(--muted);text-align:right;font-size:12px}.menu-content{overscroll-behavior:contain;min-width:0;min-height:0;padding:24px max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 24px;border-left:1px solid var(--line);scroll-padding-block:16px;overflow-y:auto}.studio .menu-content .appearance-panel{background:0 0;border:0;height:auto;max-height:none;padding:0;display:block;overflow:visible}.menu-content .appearance-panel fieldset{margin:0 0 28px}.menu-content .appearance-panel legend{margin-bottom:16px;font-size:15px}.menu-content .appearance-panel select,.menu-content .appearance-panel input:not([type=checkbox],[type=radio],[type=color]),.menu-content .appearance-panel button{min-height:44px;font-size:14px}.menu-content .appearance-panel .field-note{font-size:12px;line-height:1.6}.menu-content .color-row,.menu-content .range-label,.menu-content .draw-preference>span{font-size:13px}.menu-content .language-switcher{margin-bottom:28px}.how-to-play{max-width:65ch;font-size:15px;line-height:1.65}.how-to-play section+section{margin-top:28px}.how-to-play h2{margin-bottom:12px;font-family:Sofia Sans Extra Condensed,Arial Narrow,sans-serif;font-size:28px;line-height:1.2}.how-to-play h3{margin:0 0 4px;font-size:15px}.how-to-play p+p,.how-to-play li+li{margin-top:12px}.how-to-play ol{padding-left:24px}.help-now{border-bottom:1px solid var(--line);padding-bottom:24px}@media (width<=760px){.studio.is-playing .hand-choice{flex-direction:row;gap:5px;width:auto;min-width:48px;height:48px;font-size:26px}.studio.is-playing .hand-choice .small-suit{width:18px;height:18px}.studio.is-playing .game-status{right:108px}.studio.is-playing .table-frame{top:min(25%, calc(max(16px, env(safe-area-inset-top)) + 132px));bottom:min(55%, calc(max(12px, env(safe-area-inset-bottom)) + 200px))}}@media (width<=900px){.is-menu-open .studio-workspace{grid-template-columns:minmax(0,1fr) minmax(280px,42%)}.preview-controls{grid-template-columns:minmax(0,1fr);gap:4px}.preview-controls .turn-controls{justify-content:space-between}.preview-side{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}}@media (width<=599px){.is-menu-open .studio-workspace{grid-template-rows:auto auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.menu-heading{padding:max(8px, env(safe-area-inset-top)) 12px 4px;flex-wrap:wrap;gap:8px}.menu-heading h1{font-size:28px}.menu-pause{font-size:11px}.menu-return{padding:10px;font-size:13px}.menu-sections{flex-wrap:wrap;gap:0;padding:0 8px}.menu-sections button{flex:1 0 auto;min-height:44px;padding:8px;font-size:13px}.is-menu-open .table-area{grid-template-rows:clamp(160px,24dvh,220px) auto}.preview-controls{grid-template-columns:minmax(0,1fr) 90px;gap:0 8px;padding:4px 12px 8px}.preview-controls .court-picker,.preview-controls .turn-controls{grid-column:1/-1}.preview-controls .court-picker select{min-height:44px;font-size:13px}.preview-controls .zoom-control{grid-column:1/-1;min-height:44px}.preview-controls .zoom-control input{min-height:44px}.menu-content{padding:20px 16px max(20px, env(safe-area-inset-bottom));border-left:0;border-top:1px solid var(--line)}.studio[data-menu-section=game] .table-area,.studio[data-menu-section=help] .table-area{display:none}.studio[data-menu-section=game] .menu-content,.studio[data-menu-section=help] .menu-content{grid-row:3/5}}@media (height<=500px) and (width>=600px){.menu-heading{padding-block:6px}.menu-sections button{min-height:44px}.preview-controls{grid-template-columns:minmax(0,1fr);gap:0;padding:4px 12px}.preview-controls .court-picker,.preview-controls .zoom-control{min-height:44px}.is-menu-open .table-area{grid-template-rows:minmax(80px,1fr) auto}}
