:root{font-family:Helvetica Neue,Arial,Hiragino Kaku Gothic ProN,Noto Sans JP,sans-serif;color:#e2e4df;background:#101416;font-synthesis:none;font-size:14px;font-weight:400;--accent: #d69c83;--muted: #939c9e;--line: #ffffff16;--paper: #e2e4df;--surface: #20272a;font-feature-settings:"palt";font-variant-numeric:tabular-nums}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.1)}.app{position:relative;width:min(100%,480px);height:100svh;min-height:560px;margin:0 auto;overflow:hidden;isolation:isolate;background:#151b1e;box-shadow:0 0 0 1px #ffffff09}.scene{position:absolute;inset:0;z-index:-2}.scene canvas{display:block;touch-action:none}.vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#11181bb3,transparent 28%,transparent 57%,#11181be6 83%,#11181b)}.scene-loading{position:absolute;inset:0;display:grid;place-items:center;background:#151b1e;color:var(--muted);font-size:12px}.eyebrow{font-size:11px;font-weight:500;color:var(--muted)}.home-header{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;padding-top:env(safe-area-inset-top)}.wordmark{font-size:13px;font-weight:700;letter-spacing:-.03em;text-decoration:none;color:var(--paper)}.icon-button{height:44px;width:44px;border:0;border-radius:50%;background:#1e272bc9;display:grid;place-items:center;font-size:22px}.icon-button svg{width:19px;height:19px}.home-title{position:absolute;top:100px;left:24px;right:24px;pointer-events:none}.home-title>.eyebrow{font-size:12px;color:var(--accent)}.home-title h1{font-size:49px;font-weight:650;letter-spacing:-.065em;line-height:1;margin:12px 0 18px}.home-title p{font-size:12px;line-height:1.7;color:#aeb7b7;margin:0}.home-menu{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:24px;right:24px}.menu-note{font-size:11px;color:var(--muted);margin-bottom:13px}.button{min-height:50px;border:0;border-radius:7px;background:#283136;font-size:13px;font-weight:550;padding:13px 16px;display:flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,color .15s}.button.primary{background:var(--paper);color:#182125}.button.primary:active:not(:disabled){background:#fff}.button.outline{background:#242d31;border:1px solid #ffffff0d}.button.danger{background:#382e2c;color:#d8b2a2}.button.full{width:100%;justify-content:space-between;margin:10px 0}.button span{font-size:11px;font-weight:400;color:inherit;opacity:.62}.button small{font-size:10px;font-weight:400;opacity:.7}.home-links{display:flex;align-items:center;justify-content:space-between;margin:8px -8px 22px}.home-links>span{display:none}.home-links button{border:0;background:transparent;min-height:44px;padding:8px;font-size:12px;color:#b9c1c1}.home-foot{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;font-size:10px;color:#69777a}.game-header{height:74px;display:flex;align-items:center;gap:14px;padding:env(safe-area-inset-top) 18px 0}.mini-logo{height:44px;width:32px;border:0;background:transparent;font-size:22px;display:grid;place-items:center}.round-counter{display:flex;flex-direction:column;gap:3px}.round-counter>span{font-size:9px;color:var(--muted)}.round-counter strong{font-size:20px;font-weight:550;line-height:1;letter-spacing:-.04em}.round-counter small{font-size:12px;color:var(--muted);font-weight:400;letter-spacing:0}.header-actions{display:flex;gap:4px;margin-left:auto}.scoreboard{display:flex;justify-content:space-between;align-items:center;margin:9px 22px 0;padding:12px 0 11px;border-top:1px solid var(--line)}.scoreboard>div{display:flex;flex-direction:column;gap:5px;min-width:78px}.scoreboard span{font-size:10px;color:#a3aeb0}.scoreboard b{font-size:29px;font-weight:500;line-height:1.1;letter-spacing:-.05em}.scoreboard .pot{min-width:40px;text-align:center}.scoreboard .pot b{font-size:24px;color:var(--accent)}.opponent-score{text-align:right}.table-caption{position:absolute;top:164px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;padding:9px 0;color:var(--muted);font-size:10px;border-top:1px solid #ffffff09;pointer-events:none}.mode-badge{font-size:11px;font-weight:700;letter-spacing:.02em;color:#ced4d2}.mode-badge.drawing{animation:fade 1s ease-in-out infinite}.scene-tools{position:absolute;bottom:250px;left:22px;right:22px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted)}.scene-tools>span{font-size:9px;color:#849295}.scene-tools button{min-height:44px;border:0;background:transparent;padding:8px 0 8px 16px;font-size:11px;color:#bcc5c5}.control-panel{position:absolute;bottom:0;left:0;right:0;padding:14px 22px max(18px,env(safe-area-inset-bottom));background:#171f22f2;border-top:1px solid #ffffff10}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;min-height:36px}.panel-heading h2{font-size:15px;font-weight:500;letter-spacing:-.025em;margin:0}.help{width:44px;height:36px;flex-shrink:0;border:0;border-radius:5px;background:transparent;color:#a2adb0;font-size:13px}.hand-label{display:flex;justify-content:space-between;gap:8px;margin:0 0 9px;font-size:10px;color:#9aa7a9}.hand-label small{font-size:10px;color:#e2e4df;margin-left:5px}.hand-strip{display:flex;gap:5px;overflow-x:auto;padding:2px 0 9px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#48585d transparent}.hand-strip button{height:46px;flex:0 0 44px;border:1px solid transparent;border-radius:5px;background:#263135;color:#c8d0cf;font-size:20px;font-weight:450}.hand-strip button[aria-pressed=true]{background:#dfe2dc;color:#172226;border-color:#dfe2dc;transform:translateY(-2px)}.button.commit{margin:7px 0 0;min-height:48px}.button.commit span{font-size:10px}.bet-status{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin:0 0 10px}.bet-status b{font-size:14px;font-weight:500;color:var(--paper);margin-left:5px}.amount-control{display:flex;align-items:center;gap:12px;margin:0 0 13px}.amount-control>button{height:44px;width:44px;border:0;border-radius:5px;background:#29363b;font-size:20px}.amount-control>div{flex:1;min-width:0;text-align:center}.amount-control label{font-size:10px;color:var(--muted)}.amount-control b{font-size:22px;font-weight:500;margin-left:8px;color:var(--paper)}input[type=range]{width:100%;accent-color:var(--accent);min-height:26px;margin:0;cursor:pointer}.action-buttons{display:flex;gap:7px}.action-buttons .button{flex:1;min-height:54px;flex-direction:column;gap:5px;padding:10px 5px}.waiting{min-height:95px;display:flex;align-items:center;justify-content:center;gap:15px}.waiting p{font-size:12px;color:#c8cecd}.waiting small{display:block;font-size:10px;color:var(--muted);margin-top:8px}.spinner{width:15px;height:15px;border:1.5px solid #6e7f8255;border-top-color:#c2cfca;border-radius:50%;animation:spin 1.1s linear infinite}.last-action{display:flex;justify-content:space-between;gap:10px;margin:12px 0 0;font-size:10px;color:#9ba9ab}.last-action span{color:#b4c0be}.round-result{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0 14px}.round-result span{font-size:14px}.round-result small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:6px}.round-result>b{font-size:32px;font-weight:450;letter-spacing:-.05em;color:#c4a89b}.positive{color:#a4bcb0!important}.final-result{text-align:left;padding:4px 0 20px}.final-result h3{font-size:32px;font-weight:500;letter-spacing:-.05em;margin:8px 0 16px}.final-result p{font-size:12px;color:#b7c1c1;margin:0 0 8px}.final-result small{font-size:10px;color:var(--muted)}.tutorial{display:flex;align-items:center;gap:10px;margin:0 0 10px;padding:11px 12px;border-radius:5px;background:#283439}.tutorial p{font-size:11px;line-height:1.65;margin:0;flex:1;color:#c9d1d0}.tutorial>button{flex-shrink:0;border:0;background:transparent;font-size:10px;color:#a0b1b4;min-height:44px;padding:0 2px}.dialog{color:var(--paper);background:#1c2529;border:1px solid #ffffff17;border-radius:10px;padding:20px 22px;width:min(440px,calc(100% - 28px));max-height:calc(100svh - 40px);overscroll-behavior:contain;box-shadow:0 16px 80px #0004}.dialog::backdrop{background:#0a1014b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head .eyebrow{font-size:10px;color:#7d8c90;letter-spacing:-.02em}.dialog h2{font-size:24px;font-weight:500;letter-spacing:-.04em;margin:12px 0 26px}.dialog>.button{margin-top:20px}.prose{font-size:12px;line-height:1.95;color:#afbbbd}.prose ol{padding-left:20px}.prose li{margin-bottom:12px}.prose b{color:#d0d8d5}.prose dl{display:grid;grid-template-columns:78px 1fr;gap:10px 8px;padding-top:18px;border-top:1px solid var(--line)}.prose dt{color:#d1d8d5}.prose dd{margin:0}.prose small{font-size:10px;color:var(--muted)}.settings-grid{display:flex;flex-direction:column;gap:20px;margin:8px 0 24px}.settings-grid label{display:flex;flex-direction:column;gap:9px;font-size:12px}.settings-grid select{height:44px;width:100%;padding:0 12px;color:var(--paper);background:#29373d;border:1px solid #ffffff11;border-radius:5px}.settings-grid .toggle{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:32px}.toggle input{height:22px;width:22px;accent-color:var(--accent)}.settings-grid small{font-size:10px;line-height:1.7;margin-top:-12px;color:var(--muted)}.history-header,.history-row{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;align-items:center;gap:8px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.history-header{font-size:10px;color:var(--muted)}.history-row b{font-size:17px;font-weight:500}.history-row small{font-size:9px;color:var(--muted)}.history-row>span:last-child small{display:block;margin-top:5px}.review{margin-top:25px;font-size:11px;line-height:1.8;color:#aebbbb}.review h3{font-size:17px;font-weight:500}.review small{font-size:10px;color:var(--muted)}.notice{position:fixed;top:88px;left:50%;transform:translate(-50%);z-index:5;width:min(432px,calc(100% - 24px));padding:12px 15px;border-radius:6px;background:#39434a;color:#d4dbd8;border:1px solid #ffffff16;display:flex;align-items:center;gap:12px;font-size:11px}.notice button{border:0;background:none;font-size:22px;min-height:32px}.fallback-table{width:100%;height:100%;padding:220px 24px 230px;display:flex;align-items:center;flex-direction:column;background:#263236}.fallback-opponent{position:relative;display:flex;align-items:center;flex-direction:column;gap:6px;font-size:10px;color:var(--muted);margin-bottom:12px}.fallback-person{display:block;width:34px;height:40px;border-radius:50% 50% 40% 40%;background:#a88c78;border-top:9px solid #303538}.fallback-card{height:65px;width:46px;display:grid;place-items:center;border:1px solid #899b9e;background:#405159;color:#dae0db;font-size:26px;flex-shrink:0}.fallback-machine{padding:12px;font-size:17px;font-weight:500;color:#d0d8d3}.fallback-machine small{display:block;text-align:center;margin-top:7px;font-size:9px;color:var(--muted)}.fallback-card.own{transform:rotate(-4deg)}.fallback-hand{display:none}.orientation-notice{position:fixed;inset:0;z-index:20;background:#151e22;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px}.orientation-notice[hidden]{display:none}.orientation-notice svg{height:58px;width:44px;color:#a8b8bb;margin-bottom:12px}.orientation-notice h2{font-size:18px;font-weight:500}.orientation-notice p{font-size:12px;color:var(--muted)}.reduce-motion *{animation:none!important;transition:none!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{50%{opacity:.5}}@media(min-width:600px){.app{height:min(100svh,960px);margin:auto}.dialog{width:420px}}@media(max-width:360px){.home-header{padding-left:18px;padding-right:18px}.home-title{left:18px;right:18px}.home-title h1{font-size:43px}.home-menu{left:18px;right:18px}.game-header{padding-left:12px;padding-right:12px;gap:9px}.header-actions{gap:0}.scoreboard{margin-left:18px;margin-right:18px}.table-caption{left:18px;right:18px}.control-panel{padding-left:18px;padding-right:18px}.panel-heading h2{font-size:14px}.button{font-size:12px}.button.commit span{font-size:9px}.scene-tools{left:18px;right:18px}}@media(max-height:720px){.home-header{height:62px}.home-title{top:80px}.home-title h1{font-size:44px;margin:8px 0 12px}.home-title p{font-size:11px}.home-menu{bottom:16px}.home-links{margin-bottom:9px}.home-foot{padding-top:12px}.game-header{height:62px}.scoreboard{margin-top:0;padding-top:9px;padding-bottom:9px}.scoreboard b{font-size:26px}.table-caption{top:143px;padding-top:6px;padding-bottom:6px}.control-panel{padding-top:7px;padding-bottom:12px}.panel-heading{margin-bottom:4px}.hand-label{margin-bottom:6px}.hand-strip{padding-bottom:6px}.hand-strip button{height:44px}.button.commit{min-height:46px;margin-top:6px}.scene-tools{bottom:220px}.tutorial{padding:8px 10px;margin-bottom:6px}.tutorial p{font-size:10px;line-height:1.5}.tutorial>button{font-size:9px}.final-result{padding-bottom:12px}.final-result h3{font-size:27px;margin-top:4px}.waiting{min-height:74px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}.mode-badge small{margin-left:6px;color:var(--muted);font-size:9px;font-weight:400}.ante-status{text-align:right;font-size:10px}.ante-status b{color:var(--paper);font-size:14px;font-weight:500;margin-right:3px}.ante-status small{display:block;font-size:9px;margin-top:3px}.bet-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:7px}.bet-presets button{min-height:44px;padding:5px 8px;background:#253137;border:1px solid #ffffff0b;border-radius:5px;font-size:10px;display:flex;justify-content:space-between;align-items:center}.bet-presets button b{font-size:16px;font-weight:500}.bet-presets button[aria-pressed=true]{border-color:#c5b2a766;background:#344149}.stake-risk{margin:0 0 12px;font-size:10px;line-height:1.6;color:var(--muted)}.stake-risk b{color:#d5b5a5;font-weight:500;white-space:nowrap}.comeback-label{font-size:11px;color:var(--accent);margin:0 0 7px}.legacy-note{font-size:10px;line-height:1.5;color:var(--muted);margin:0 0 8px}.stakes-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:11px;text-align:right}.stakes-table th{color:var(--muted);font-weight:400}.stakes-table td,.stakes-table th{padding:7px 4px;border-bottom:1px solid var(--line)}.stakes-table th:first-child,.stakes-table td:first-child{text-align:left}.history-fee{display:block;margin-top:5px;font-size:9px}.scene-tools[hidden]{display:none}.npc-analysis{margin-top:24px;padding-top:10px;border-top:1px solid var(--line)}.npc-analysis>p{font-size:10px;color:var(--muted)}.npc-analysis details{border-bottom:1px solid var(--line);padding:8px 0}.npc-analysis summary{padding:10px 0;min-height:44px;cursor:pointer;color:var(--paper)}.npc-analysis details p{display:flex;gap:10px;line-height:1.8;padding:0 0 8px}.npc-analysis details p span{flex:0 0 36px;color:var(--muted)}.previous-review{display:block;width:100%;min-height:44px;margin:-12px 0 10px;background:transparent;border:0;color:#bac6c6;font-size:11px;text-align:left;padding:0}
