:root{--bg:#e2eaf0;--ink:#182936;--orange:#f05a32;--muted:#576b7b;--line:#b5c5d0;--paper:#edf3f7;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button{background:none;border:0}button:disabled,input:disabled,select:disabled{opacity:.45;cursor:wait}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:3px solid var(--orange);outline-offset:4px}a{color:inherit}.masthead{height:92px;margin:0 4%;display:flex;align-items:center;gap:40px}.wordmark{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:29px;font-weight:800;letter-spacing:-1.8px}.wordmark img{width:42px;height:42px;object-fit:cover;mix-blend-mode:multiply}.brand-line{font-size:13px;color:var(--muted)}nav{display:flex;align-items:center;gap:24px;margin-left:auto}nav button{font-size:14px;padding:10px 0}nav button:hover,.quiet:hover{text-decoration:underline;text-underline-offset:4px}.practice-badge{background:var(--ink);color:var(--bg);padding:8px 10px;font-size:12px;border-radius:3px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 328px;gap:32px;margin:0 4%;max-width:1600px}.board{min-width:0}.board-head{height:117px;display:flex;justify-content:space-between;align-items:center;border-top:2px solid var(--ink)}.eyebrow{font-size:11px;letter-spacing:.12em;margin:0 0 10px;color:var(--muted);font-weight:600}h1{font-size:44px;font-weight:500;letter-spacing:-.055em;line-height:1;margin:0}.round-indicator{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.round-indicator>span{font-size:12px;color:var(--muted)}.round-indicator strong{font-size:33px;letter-spacing:-.06em;font-weight:400;font-variant-numeric:tabular-nums}.stage{position:relative;height:clamp(420px,48vw,610px);overflow:hidden;border:1px solid var(--line);background:linear-gradient(90deg,transparent calc(50% - .5px),#c9d6e0 50%,transparent calc(50% + .5px)),var(--bg)}.stage-top{position:absolute;top:20px;left:22px;right:22px;display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;pointer-events:none;z-index:1}.stage-top b{color:var(--ink);font-weight:500;font-variant-numeric:tabular-nums;margin-right:5px}canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:crosshair}.axis-label{position:absolute;bottom:21px;left:22px;color:var(--muted);font-size:12px;pointer-events:none}.board-status{min-height:62px;display:flex;align-items:center;gap:10px}.status-symbol{font-size:26px;color:var(--orange)}.board-status p{font-size:14px;line-height:1.35;flex:1;margin:12px 0}.quiet{font-size:12px;padding:8px 0;color:var(--muted);white-space:nowrap}.receipt{border-top:1px solid var(--line);padding:18px 0 0}.receipt-head{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:12px;margin-bottom:14px}.tickets{display:flex;flex-wrap:wrap;gap:6px;min-height:34px;max-height:100px;overflow:auto}.empty-tickets{font-size:13px;color:var(--muted);padding:6px 0}.ticket{font-size:12px;background:var(--paper);border:1px dashed #8195a4;padding:8px 11px;border-radius:3px;font-variant-numeric:tabular-nums}.ticket.mine{background:var(--ink);color:var(--bg);border-color:var(--ink)}.ticket.winning{background:var(--orange);color:var(--ink);border-color:var(--orange)}.play-panel{min-width:0}.bank{padding:24px 25px 19px;background:var(--ink);color:var(--bg);border-radius:4px}.bank-label{display:flex;justify-content:space-between;align-items:center;font-size:14px}.demo-label{font-size:11px;color:#adbdc9}.bank-value{font-size:64px;letter-spacing:-.07em;font-variant-numeric:tabular-nums;line-height:1.05;margin:24px 0 15px;overflow-wrap:anywhere}.bank-detail{font-size:13px;color:#bac8d2;display:flex;justify-content:space-between}.split{border-top:1px solid #40505b;display:flex;justify-content:space-between;font-size:12px;color:#bac8d2;margin-top:23px;padding-top:15px}.split b{font-size:16px;font-weight:500;color:var(--bg);margin-right:4px}.controls{padding:26px 0 22px;border-bottom:1px solid var(--line)}.control-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.control-head h2{font-size:25px;letter-spacing:-.04em;margin:0;font-weight:500}.control-head select{background:transparent;border:1px solid var(--line);border-radius:3px;font-size:12px;padding:7px 8px}.demo-seat-note{font-size:11px;color:var(--muted);margin:10px 0 20px;line-height:1.4}.objects{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.object{border:1px solid var(--line);border-radius:3px;height:86px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;font-size:12px}.object:hover{background:var(--paper)}.object.selected{background:var(--paper);border-color:var(--ink)}.shape-wrap{display:flex;align-items:center;justify-content:center;height:28px}.shape{display:block;background:var(--ink)}.selected .shape{background:var(--orange)}.brick{width:28px;height:24px}.plank{width:38px;height:8px}.ball{width:26px;height:26px;border-radius:50%}.wedge{width:32px;height:26px;clip-path:polygon(0 100%,50% 0,100% 100%)}.shape-note{min-height:18px;font-size:12px;line-height:1.4;color:var(--muted);margin:12px 0 20px}.position-head{display:flex;align-items:center;justify-content:space-between;font-size:13px}.rotate{font-size:19px;border:1px solid var(--line);border-radius:3px;padding:4px 9px;min-width:67px}.rotate span{font-size:12px;margin-left:7px}input[type=range]{width:100%;margin:18px 0 7px;accent-color:var(--ink);cursor:ew-resize;height:20px}.position-scale{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.entry-price{display:flex;justify-content:space-between;align-items:center;margin:25px 0 13px;font-size:13px}.entry-price strong{font-weight:500;font-size:17px}.entry-price small{font-weight:400;font-size:11px;color:var(--muted)}.primary{width:100%;background:var(--orange);border-radius:3px;min-height:54px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:16px;font-weight:500}.primary:hover{background:#ff6b42}.primary>span{font-size:24px;line-height:19px}.payment-note{font-size:11px;color:var(--muted);line-height:1.5;margin:13px 0 22px}.chance{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted)}.chance b{color:var(--ink);font-weight:500;margin-left:4px}.mini-rules{font-size:13px;line-height:1.5;color:var(--muted);padding:8px 0}.mini-rules b{color:var(--ink);font-weight:500}.mini-rules p{margin:12px 0}.mini-rules .quiet{font-size:12px}footer{display:flex;justify-content:space-between;gap:25px;font-size:11px;color:var(--muted);margin:40px 4% 0;padding:23px 0 27px;border-top:1px solid var(--line)}
.round-over{position:absolute;inset:0;background:rgba(226,234,240,.97);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;text-align:center;z-index:2}.round-over[hidden]{display:none}.end-label{font-size:13px;color:var(--muted);margin-bottom:20px}.round-over h2{font-size:76px;letter-spacing:-.07em;font-weight:500;line-height:.93;margin:0 0 23px}.round-over>p:not(.result-note){font-size:14px;line-height:1.45;max-width:310px;margin:0 0 16px}.winner-result{font-size:30px;letter-spacing:-.03em}.result-note{font-size:12px;color:var(--muted);margin:14px 0 24px}.round-over .primary{max-width:260px;font-size:14px}
dialog{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:6px;max-width:550px;width:calc(100% - 30px);max-height:90vh;padding:32px}dialog::backdrop{background:#18293680;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.close{font-size:30px;min-width:40px;min-height:40px}dialog h2{font-size:43px;letter-spacing:-.045em;font-weight:500;line-height:1.02;margin:0 0 28px}ol{font-size:16px;line-height:1.5;padding-left:22px}li{padding:0 0 14px 5px}.dialog-note{font-size:14px;color:var(--muted);line-height:1.55}.token-copy{font-size:21px;line-height:1.4}
@media(min-width:1800px){.layout,.masthead,footer{max-width:1600px;margin-left:auto;margin-right:auto}}
@media(max-width:1050px){.brand-line{display:none}.layout{grid-template-columns:minmax(0,1fr) 292px;gap:23px}.stage{height:520px}.bank{padding:22px}.bank-value{font-size:60px}.stage-top{left:16px;right:16px}.stage-top span:first-child{max-width:160px}.axis-label{left:16px}.board-status{align-items:flex-start}.board-status .status-symbol{padding-top:9px}.board-status .quiet{margin-top:9px}.receipt-head{font-size:11px}.round-over h2{font-size:62px}}
@media(max-width:760px){.masthead{height:78px;margin:0 20px;gap:15px}.wordmark{font-size:25px;gap:3px}.wordmark img{width:35px;height:35px}nav{gap:17px}nav button{font-size:13px}.practice-badge{display:none}.layout{margin:0 20px;display:flex;flex-direction:column;gap:0}.board,.play-panel{display:contents}.board-head{order:0;height:99px}.bank{order:1;border-radius:3px;display:grid;grid-template-columns:1fr auto;gap:5px 16px;padding:17px 18px}.bank-label{display:flex;gap:12px;justify-content:flex-start;font-size:13px}.bank-value{grid-column:2;grid-row:1/3;margin:0;align-self:center;font-size:43px}.bank-detail{display:none}.split{grid-column:1;border:0;margin:0;padding:0;justify-content:flex-start;gap:15px;font-size:11px}.split b{font-size:13px}.demo-label{font-size:10px}.stage{order:2;height:385px;margin-top:18px}.stage-top{font-size:11px;top:17px}.stage-top span:first-child{max-width:none}.axis-label{font-size:11px}.board-status{order:3;min-height:58px;align-items:center}.board-status .quiet{margin:0}.board-status .status-symbol{padding:0}.board-status p{font-size:13px}.controls{order:4;padding-top:23px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.control-head,.demo-seat-note,.objects,.shape-note,.chance{grid-column:1/-1}.object{height:75px}.position-head{grid-column:1}.position-head label{font-size:12px}.rotate{min-width:62px}input[type=range]{grid-column:1}.position-scale{grid-column:1}.entry-price{grid-column:2;grid-row:5;margin:0 0 10px}.primary#add{grid-column:2;grid-row:6/8;align-self:start;font-size:14px;min-height:51px;padding:13px}.payment-note{grid-column:1/-1;text-align:right;margin:12px 0 20px}.shape-note{margin-bottom:22px}.receipt{order:5;padding-top:20px;border:0;margin-bottom:12px}.mini-rules{order:6;border-top:1px solid var(--line)}footer{margin:20px 20px 0;flex-direction:column;gap:6px;font-size:11px}.round-over h2{font-size:51px}.end-label{margin-bottom:13px}.round-over>p:not(.result-note){font-size:13px}.winner-result{font-size:25px}.result-note{margin:9px 0 16px}.round-over .primary{min-height:46px}h1{font-size:37px}.eyebrow{font-size:10px}}
@media(max-width:380px){.masthead,.layout{margin-left:14px;margin-right:14px}nav{gap:12px}.bank-value{font-size:37px}.bank-label{gap:7px}.controls{gap:0 15px}.stage{height:350px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Camera gestures stay inside the scene; the surrounding page scrolls normally. */
#scene{touch-action:none;user-select:none;cursor:grab}#scene.dragging{cursor:grabbing}.axis-label{bottom:65px;font-size:11px}.camera-controls{position:absolute;bottom:13px;left:15px;right:15px;display:flex;align-items:center;gap:5px;z-index:1}.camera-controls>span{margin-right:auto;color:var(--muted);font-size:10px;letter-spacing:.03em}.camera-controls button{height:38px;min-width:38px;border:1px solid var(--line);background:var(--paper);border-radius:3px;font-size:20px;line-height:1}.camera-controls button:hover{border-color:var(--ink)}.camera-controls #fit-tower{font-size:12px;padding:0 12px;margin-left:3px}.camera-controls #fit-tower span{padding-left:8px}.stage-top span:first-child{max-width:180px}.stage-top span:last-child{white-space:nowrap}.stage-top{line-height:1.4}

dialog{scrollbar-width:none;-ms-overflow-style:none}dialog::-webkit-scrollbar{display:none}
