:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#19191c;background:#f5f3ef;font-synthesis:none;--orange:#ff5b13;--muted:#858995;--line:#eae7e2;--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ffac7e;outline-offset:3px}button{transition:background .18s,transform .18s,box-shadow .18s}button:active:not(:disabled){transform:translateY(1px) scale(.985)}h1,h2,p{margin:0}h2{font-size:23px;letter-spacing:-.7px}button svg,span[data-icon] svg{width:21px;height:21px;display:block;flex:none}span[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}.skip-link{position:fixed;top:-100px;left:20px;z-index:99;padding:12px;background:white}.skip-link:focus{top:10px}
.header{height:80px;background:rgba(255,255,255,.84);border-bottom:1px solid #e9e5df;box-shadow:0 3px 22px #46351d03;position:relative;z-index:10}.header-inner{max-width:1600px;height:100%;padding:0 40px;margin:auto;display:flex;align-items:center;gap:62px}.brand{display:flex;align-items:center;gap:15px;white-space:nowrap;font-size:30px;font-weight:780;letter-spacing:-1.3px}.brand-mark{width:56px;height:46px;position:relative;display:block;flex:none}.brand-mark i{position:absolute;display:block;background:linear-gradient(135deg,#ff4909,#ff7321);width:34px;height:34px;border-radius:10px;left:0;top:0}.brand-mark i+i{left:22px;top:12px;box-shadow:-2px -2px 0 #fff8}.desktop-nav{display:flex;align-self:stretch;gap:36px;align-items:stretch;white-space:nowrap}.desktop-nav a{display:flex;align-items:center;position:relative;font-size:15px;color:#52535b}.desktop-nav a.active{color:#151518;font-weight:600}.desktop-nav a.active:after{content:'';position:absolute;bottom:5px;height:3px;background:var(--orange);border-radius:3px;left:-5px;right:-5px}.desktop-nav a:hover{color:var(--orange)}.header-actions{display:flex;align-items:center;gap:24px;margin-left:auto}.demo-indicator{display:flex;gap:9px;align-items:center;color:#8a8b92;font-size:13px;white-space:nowrap}.status-dot{height:9px;width:9px;border-radius:50%;background:#16c67c;box-shadow:0 0 0 4px #16c67c0b}.wallet-pill{border:0;border-radius:13px;background:linear-gradient(125deg,#ff4708,#ff6a18);color:#fff;height:48px;padding:0 18px;display:flex;align-items:center;gap:10px;font-size:17px;white-space:nowrap}.wallet-pill:hover,.primary:hover{box-shadow:0 7px 18px #f65b1829;filter:brightness(1.035)}.profile-trigger{display:flex;align-items:center;gap:12px;border:0;background:none;padding:0}.avatar{--a:44px;width:var(--a);height:var(--a);flex:none;border-radius:50%;display:inline-block;background-image:url('assets/portraits.png');background-size:calc(var(--a)*1586/48) calc(var(--a)*992/48);background-position:calc(var(--a)*var(--sx)/48) calc(var(--a)*-726/48);box-shadow:0 0 0 2px #fff;vertical-align:middle;background-color:#ece7df}.face-0{--sx:-403}.face-1{--sx:-604}.face-2{--sx:-798}.face-3{--sx:-994}.face-4{--sx:-1189}.face-5{--sx:-1383}.profile-trigger .avatar{--a:40px}.icon-button{border:1px solid transparent;border-radius:11px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#8b8b92;flex:none}.icon-button:hover{background:#f2efea;color:#252529}.mobile-menu{display:none}
.layout{max-width:1560px;margin:24px auto 0;padding:0 28px;display:grid;grid-template-columns:302px minmax(0,1fr);gap:16px;align-items:start}.sidebar{display:flex;flex-direction:column;gap:16px}.card{border:1px solid #ffffffb8;background:linear-gradient(125deg,#fff,#ffffffc7);border-radius:22px;box-shadow:0 4px 25px #41331d02}.account-card{padding:18px}.profile-row{display:flex;width:100%;gap:14px;align-items:center;padding:12px 10px;background:#fff8;border:1px solid #eeeae4;border-radius:13px;text-align:left}.profile-row>span:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.profile-row b{font-size:18px}.profile-row small{font-size:13px;color:#898c97}.profile-avatar{--a:56px;outline:2px solid var(--orange);outline-offset:4px;margin-right:3px}.profile-row:hover{background:white;border-color:#ead6c9}.balance-label{font-size:14px;color:#888b94;margin:24px 0 4px}.balance-big{font-size:39px;font-weight:680;letter-spacing:-1.7px;font-variant-numeric:tabular-nums;margin-bottom:18px}.primary{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(115deg,#ff4e0d,#ff681e);color:white;border:1px solid #ff5912;border-radius:12px;height:52px;font-size:16px;font-weight:600;box-shadow:0 2px 1px #a94b0c06}.wide{width:100%}.bet-card{padding:22px 20px 16px}.bet-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.bet-title h2{font-size:23px}.live-label{font-size:10px;letter-spacing:1px;color:#aa9d8f;font-weight:600;display:flex;align-items:center;gap:5px}.live-label i{background:#b2b09e;width:4px;height:4px;border-radius:50%}label{display:block;color:#7e828c;font-size:14px;margin-bottom:8px}.amount-input{height:67px;background:#fff;border:1px solid #e5e0da;border-radius:12px;display:flex;align-items:center;padding:0 16px;transition:border-color .2s,box-shadow .2s}.amount-input:focus-within{border-color:#ffad7d;box-shadow:0 0 0 3px #ff6c1710}.amount-input input{width:100%;min-width:0;font-size:34px;letter-spacing:-1px;font-weight:640;background:none;border:0;padding:0;color:#17171a;outline:none!important}.amount-input>span{font-size:33px;color:#a0a1a8;font-weight:500}.quick-actions{display:flex;gap:9px;margin-top:10px;margin-bottom:14px}.quick-actions button{height:42px;background:#fcfbf9;border:1px solid #e8e4df;border-radius:10px;flex:1;display:flex;align-items:center;justify-content:center;font-size:19px}.quick-actions button:hover{background:#fff0e5;border-color:#ffcdb0}.field-error{font-size:12px;line-height:1.5;color:#c83e26;margin:0}.field-error:not(:empty){margin-bottom:12px}.my-stake{display:flex;justify-content:space-between;gap:5px;margin-top:16px;font-size:12px;color:#919198;padding-top:12px;border-top:1px solid #eeeae4}.my-stake b{color:#65646a;font-weight:550}.rules-card{display:flex;padding:22px 17px;gap:13px;text-align:left;border:1px solid #ffffffa6}.rules-symbol{width:45px;height:45px;border-radius:13px;background:#fff0e5;color:#ff6518}.rules-symbol svg{width:29px!important;height:29px!important}.rules-card b{font-size:17px;line-height:1.3;display:block;letter-spacing:-.4px}.rules-card small{display:block;font-size:12px;line-height:1.6;color:#929198;margin-top:9px}.rules-link{border-top:1px solid #ece6df;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#6d6e76;margin-top:17px;padding-top:14px}.rules-link svg{width:16px}.sidebar-foot{display:flex;align-items:flex-start;gap:7px;font-size:11px;line-height:1.5;color:#aaa39b;padding:0 8px}.sidebar-foot svg{width:15px;height:15px}.main-column{min-width:0;display:flex;flex-direction:column;gap:13px}.game-card{position:relative;overflow:hidden}.game-heading{display:flex;align-items:flex-start;justify-content:space-between;padding:23px 25px 0;position:relative;z-index:2}h1{font-size:35px;line-height:1.12;letter-spacing:-1.5px;font-weight:720}.round-meta{display:flex;align-items:center;gap:13px;margin-top:10px;color:#8e8e96;font-size:14px}.phase-badge{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:5px 8px;background:#eaf6ee;color:#598068;font-size:10px;font-weight:600;letter-spacing:.1px}.phase-badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.phase-badge.result{background:#fff0e5;color:#f06a28}.phase-badge.throwing{background:#fff2e4;color:#f06a28}.game-tools{display:flex;gap:2px}.game-tools .icon-button{width:34px;height:34px}.game-stage{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:center;gap:16px;padding:0 36px 2px 16px;min-height:445px}.board-wrap{position:relative;width:100%;max-width:490px;aspect-ratio:1;margin:-15px auto -15px;isolation:isolate}#dartboard{display:block;width:100%;height:100%;aspect-ratio:1;overflow:visible;filter:drop-shadow(5px 9px 12px rgba(74,52,30,.15));transform:rotate(var(--board-rot,0deg));animation:board-arrive .8s var(--ease) both}#dartboard .segment{transition:filter .25s;cursor:pointer}#dartboard .segment:hover{filter:brightness(1.12)}#dartboard .segment:focus{outline:none;filter:brightness(1.15)}#dartboard .board-avatar{pointer-events:none}#dartboard .sector-label{font-family:inherit;fill:#fff;text-anchor:middle;paint-order:stroke;stroke:#2a170b;stroke-opacity:.16;stroke-width:2.4px;stroke-linejoin:round;pointer-events:none}#dartboard .sector-pct{font-weight:720;letter-spacing:-.5px}#dartboard .sector-name{font-weight:560}#dart{position:absolute;width:8.4%;height:21%;overflow:visible;z-index:4;pointer-events:none;opacity:0;transform-origin:50% 99.5%;filter:drop-shadow(4px 6px 3px #0003)}#dart.at-rest{opacity:1;transform:rotate(27deg)}.board-status{position:absolute;bottom:15%;left:50%;transform:translateX(-50%);pointer-events:none}.round-summary{padding-bottom:17px}.bank-label{font-size:11px;letter-spacing:2.4px;color:#858791;font-weight:650;margin-bottom:9px}.bank-value{font-size:43px;letter-spacing:-2px;font-weight:720;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1.18}.bank-value span{font-size:34px;font-weight:550}.bank-value.bump{animation:bank-bump .35s var(--ease)}.timer{margin-top:25px;width:fit-content;min-width:139px;padding:11px 16px;border:1px solid #ffddc9;background:#fff4eb;border-radius:13px;display:flex;align-items:center;justify-content:center;gap:10px;color:#fc641a;font-size:27px;font-weight:620;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.timer svg{width:25px!important;height:25px!important}.timer.urgent{animation:timer-pulse 1s ease-in-out infinite}.timer-caption{font-size:11px;color:#a59b92;margin:9px 0 25px}.round-stats{border-top:1px solid #ebe6df;border-bottom:1px solid #ebe6df;padding:17px 0;display:flex;flex-direction:column;gap:13px}.round-stats>div{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#8d8c94}.round-stats b{color:#27272d;font-size:17px;font-weight:620;font-variant-numeric:tabular-nums}.round-stats b.accent{color:var(--orange)}.fair-note{display:flex;align-items:center;gap:9px;margin-top:21px;font-size:12px;color:#6e746f}.fair-note>span{color:#80a08a}.fair-note>div{flex:1}.fair-note small{display:block;color:#a3a39f;font-size:10px;margin-top:4px}.fair-note .icon-button{width:26px;height:30px}.fair-note .icon-button svg{width:16px}.round-banner{position:relative;min-height:72px;display:flex;align-items:center;justify-content:center;gap:13px;margin:0 17px 16px;padding:13px 20px;border-radius:15px;background:linear-gradient(100deg,#fff0e3,#fff7f0 50%,#fff0e3);color:#a07450}.round-banner .banner-icon{color:#e9905d;border:1px solid #f5cfad;width:37px;height:37px;border-radius:50%;display:flex;align-items:center;justify-content:center}.round-banner .banner-text b{display:block;font-size:14px;font-weight:600;color:#615145}.round-banner .banner-text small{font-size:11px;display:block;margin-top:4px;color:#a8988b}.round-banner .avatar{--a:48px;outline:2px solid var(--orange);outline-offset:3px;margin-right:2px}.winner-heading{font-size:14px;font-weight:650;color:#282329}.winner-money{font-size:29px;font-weight:680;color:#ff6218;letter-spacing:-1px;margin-top:1px}.winner-chance{border-left:1px solid #eed1bb;padding-left:20px;margin-left:8px;font-size:12px;color:#8a817b}.winner-chance b{color:#ff641d;font-size:18px;margin-left:6px}.round-banner.winner{animation:result-in .5s var(--ease)}.round-banner .waiting-chip{font-size:11px;color:#ab8a70;margin-left:auto}.participants-card{padding:12px 7px}.participants{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.participant{border:0;border-right:1px solid #efebe5;background:transparent;text-align:left;padding:0 10px;display:flex;align-items:center;gap:8px;min-width:0;border-radius:8px}.participant:last-child{border-right:0}.participant:hover{background:#fff1e7}.participant .avatar{--a:36px}.participant-info{min-width:0}.participant-name{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap;color:#6e6b70}.color-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:none}.participant-amount{font-weight:650;white-space:nowrap;font-size:13px;letter-spacing:-.2px;margin-top:4px}.participant.is-you .avatar{outline:2px solid #ffaf7f;outline-offset:2px}.mobile-section-title{display:none}.history-card{padding:20px 20px 5px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.section-heading h2{font-size:22px}.subtle-button{display:flex;align-items:center;justify-content:center;gap:12px;padding:7px 11px;font-size:11px;background:#ffffff90;border:1px solid #e8e4de;border-radius:9px;height:33px;white-space:nowrap}.subtle-button svg{width:15px;height:15px}.subtle-button:hover{background:#fff1e7}.table-head,.history-row{display:grid;grid-template-columns:.65fr 1.15fr .95fr .6fr 1.1fr 22px;align-items:center;gap:10px}.table-head{padding:9px 12px;background:#f5f3f0;border-radius:7px;font-size:11px;color:#9c9b9f}.history-row{width:100%;border:0;border-bottom:1px solid #efede8;padding:13px 12px;background:transparent;text-align:left;font-size:12px;min-height:55px}.history-row:last-child{border-bottom:0}.history-row:hover{background:#fff5ed;border-radius:8px}.history-row .avatar{--a:27px;margin-right:9px}.history-row .winner-cell{display:flex;align-items:center;white-space:nowrap}.history-row .row-id,.history-row .row-date,.history-row .row-chance{color:#8a8b95;font-size:11px}.history-row .row-bank{font-weight:620}.history-row>svg{width:15px;color:#b5b0aa}.empty-history{padding:25px 12px 28px;display:flex;align-items:center;gap:13px;color:#a19a91;font-size:12px;line-height:1.5}.empty-history strong{display:block;color:#82786e;font-weight:550;margin-bottom:3px}.footer{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#aca59c;padding:5px 5px 22px;align-items:center}.footer button{background:none;border:0;padding:0;color:#a69d94;font-size:11px;display:flex;align-items:center;gap:5px}.footer button svg{width:13px;height:13px}
dialog{padding:0;border:1px solid #fff;border-radius:26px;width:min(560px,calc(100vw - 32px));max-height:88dvh;box-shadow:0 30px 100px #26211b35;background:#faf9f6;color:#242326;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#25211c55;backdrop-filter:blur(7px)}dialog[open]{animation:modal-in .25s var(--ease)}.modal-shell{padding:28px}.modal-header{position:relative;padding-right:30px;margin-bottom:25px}.modal-header h2{font-size:29px;letter-spacing:-1px}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;color:#ad9c8d;font-size:10px;margin-bottom:10px;font-weight:650}.close-modal{position:absolute;right:-7px;top:-8px;background:#ede9e3}.modal-tabs{display:flex;gap:4px;padding:4px;background:#edeae5;border-radius:12px;margin-bottom:24px}.modal-tabs button{flex:1;border:0;border-radius:9px;background:transparent;padding:10px;font-size:13px;color:#8b827a}.modal-tabs button.active{background:#fff;color:#2b2825;box-shadow:0 2px 5px #4b3b2710}.modal-balance{padding:20px 22px;background:linear-gradient(120deg,#ffede0,#fff5ed);border:1px solid #ffddc6;border-radius:16px;margin-bottom:22px}.modal-balance small{font-size:12px;color:#a78b77;display:block}.modal-balance b{font-size:35px;letter-spacing:-1.4px;display:block;margin-top:5px}.demo-note{font-size:12px;line-height:1.6;color:#93877d;margin:15px 0}.method-card{border:1px solid #ffd4b9;background:#fff4eb;border-radius:12px;display:flex;align-items:center;gap:13px;padding:14px;font-size:13px;margin:16px 0}.method-card>span{color:#f46d26}.method-card b{display:block;font-weight:600}.method-card small{display:block;color:#9d8b7e;font-size:11px;margin-top:4px}.amount-presets{display:flex;gap:7px;margin:12px 0 20px}.amount-presets button{flex:1;border:1px solid #e5dfd7;border-radius:9px;padding:10px 2px;background:#fff;font-size:12px}.amount-presets button:hover{border-color:#ffb586;background:#fff3e9}.tx-list{max-height:375px;overflow:auto}.transaction{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #ebe5dc}.tx-icon{width:37px;height:37px;border-radius:11px;background:#edeae4;display:flex;align-items:center;justify-content:center;color:#928477;flex:none}.transaction .tx-info{flex:1;min-width:0}.transaction b{font-size:12px;font-weight:550;display:block}.transaction small{font-size:10px;color:#a1968a;display:block;margin-top:5px}.tx-amount{font-size:14px;font-weight:650;white-space:nowrap}.tx-amount.positive{color:#4b9870}.modal-subheading{font-size:14px;font-weight:650;margin:23px 0 12px}.text-input,textarea{width:100%;border:1px solid #dfd9d0;border-radius:10px;background:#fff;padding:12px;color:#4b4540;outline:none}.text-input:focus,textarea:focus{border-color:#ffae7e}textarea{font-family:ui-monospace,SFMono-Regular,monospace;font-size:10px;line-height:1.5;resize:vertical;min-height:130px;overflow-wrap:anywhere}.hash-box{font-family:ui-monospace,SFMono-Regular,monospace;background:#edeae5;padding:13px;border-radius:10px;color:#837267;font-size:10px;line-height:1.7;overflow-wrap:anywhere;position:relative}.hash-label{display:flex;justify-content:space-between;align-items:center;color:#95877b;font-size:11px;margin:10px 0 8px}.hash-label button{font-size:11px;border:0;background:none;color:#de793f}.proof-status{padding:15px;border-radius:12px;margin-top:15px;background:#e9f4ed;border:1px solid #cde5d5;color:#4f8763;font-size:12px;line-height:1.6;display:flex;gap:10px}.proof-status.error{background:#fff0e9;border-color:#f5c3ac;color:#b34928}.proof-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:20px 0}.proof-step{padding:13px 11px;border:1px solid #e5dfd7;border-radius:12px;background:#fff8}.proof-step span{color:#e4834b;font-size:11px;font-weight:600}.proof-step b{display:block;margin-top:8px;font-size:12px}.proof-step small{display:block;color:#9b8f84;font-size:10px;margin-top:5px;line-height:1.5}.proof-details{margin-top:16px}.proof-details summary{cursor:pointer;font-size:12px;color:#8e7e70;padding:10px 0}.code-note{font-family:ui-monospace,monospace;font-size:10px;background:#edeae5;padding:12px;border-radius:9px;line-height:1.8;overflow-wrap:anywhere}.modal-actions{display:flex;gap:8px;margin-top:16px}.modal-actions .primary{flex:1}.modal-actions .subtle-button{height:52px;padding:0 15px}.help-item{border-top:1px solid #e5dfd7}.help-item summary{padding:18px 2px;cursor:pointer;font-size:14px;font-weight:550;list-style:none;display:flex;align-items:center;justify-content:space-between}.help-item summary:after{content:'+';color:#b39a86;font-size:20px;font-weight:400}.help-item[open] summary:after{content:'−'}.help-item p{font-size:13px;color:#8c8076;line-height:1.8;padding:0 0 20px}.help-footer{margin-top:18px;display:flex;gap:10px;align-items:center;border:1px solid #eadfce;border-radius:13px;padding:15px;font-size:12px;color:#958372}.help-footer svg{color:#dd9467}.rules-list{padding-left:23px;margin:0}.rules-list li{padding:0 0 20px 6px;line-height:1.7;font-size:13px;color:#8d8075}.rules-list li::marker{color:var(--orange);font-weight:650}.rules-list b{color:#4f443b;display:block;font-size:15px;margin-bottom:4px}.profile-edit-head{display:flex;align-items:center;gap:20px;margin-bottom:24px}.profile-edit-head .avatar{--a:64px}.profile-edit-head b{font-size:20px}.profile-edit-head small{display:block;color:#a59789;font-size:12px;margin-top:7px}.settings-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-top:1px solid #e8e1d8;gap:10px;font-size:13px}.settings-row small{display:block;color:#9c9084;margin-top:5px;font-size:11px}.switch{width:42px;height:24px;background:#d4cec6;position:relative;border:0;border-radius:15px;padding:0}.switch:after{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;background:white;border-radius:50%;transition:transform .2s}.switch.on{background:var(--orange)}.switch.on:after{transform:translateX(18px)}.menu-links{display:flex;flex-direction:column;gap:6px}.menu-links button{border:1px solid #eae3d9;border-radius:12px;background:#fff;text-align:left;padding:18px;font-size:15px;display:flex;justify-content:space-between;align-items:center}.toast-region{position:fixed;bottom:22px;right:24px;z-index:50;display:flex;flex-direction:column;gap:8px;pointer-events:none;max-width:360px}.toast{background:#29231f;color:#fff9f4;border:1px solid #ffffff1c;border-radius:13px;padding:14px 18px;box-shadow:0 12px 40px #372b2725;font-size:13px;line-height:1.5;animation:toast-in .3s var(--ease);display:flex;gap:10px;align-items:center}.toast svg{width:17px;color:#ffa56d;flex:none}.toast.leave{opacity:0;transform:translateY(8px);transition:.25s}.modal-empty{text-align:center;color:#a39384;font-size:13px;padding:30px 15px;line-height:1.7}.round-proof-select{width:100%;padding:12px;border:1px solid #e5ddd2;background:#fff;border-radius:9px;color:#78695c;font-size:12px;margin-bottom:14px}#confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}.confetti-piece{position:absolute;left:50%;top:83%;width:6px;height:10px;border-radius:1px;animation:confetti 1.6s cubic-bezier(.1,.7,.3,1) forwards;opacity:0}.reduced-motion *{animation-duration:.01ms!important;transition-duration:.01ms!important}
@keyframes board-arrive{from{opacity:0;transform:rotate(calc(var(--board-rot,0deg) - 4deg)) scale(.96)}to{opacity:1;transform:rotate(var(--board-rot,0deg)) scale(1)}}@keyframes timer-pulse{50%{box-shadow:0 0 0 5px #ff791311;background:#ffe8d6}}@keyframes bank-bump{50%{transform:translateY(-2px);color:#f56a24}}@keyframes result-in{from{opacity:.3;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes modal-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}@keyframes toast-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes confetti{0%{opacity:1;transform:translate(0,0) rotate(0)}35%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(min-width:1600px){.game-stage{min-height:490px}.board-wrap{max-width:520px}.bank-value{font-size:48px}.layout{gap:18px;grid-template-columns:320px minmax(0,1fr)}}
@media(max-width:1270px){.header-inner{padding:0 24px;gap:34px}.brand{font-size:25px;gap:10px}.brand-mark{transform:scale(.85);transform-origin:left center;width:48px}.desktop-nav{gap:23px}.header-actions{gap:16px}.demo-indicator{display:none}.layout{padding:0 20px;grid-template-columns:270px minmax(0,1fr);gap:14px}.game-stage{grid-template-columns:minmax(0,1fr) 200px;padding-right:22px;gap:8px;min-height:390px}.bank-value{font-size:36px}.bank-value span{font-size:29px}.participants-card{padding:12px 5px}.participant{flex-direction:column;gap:7px;align-items:flex-start;padding:0 10px}.participant .avatar{--a:34px}.participant-name{font-size:10px}.participant-amount{font-size:12px}.board-wrap{margin:0 auto}.round-summary{padding-bottom:0}.game-heading h1{font-size:31px}.balance-big{font-size:35px}.bet-title h2{font-size:21px}.history-row,.table-head{grid-template-columns:.55fr 1fr .9fr .55fr 1fr 15px;font-size:11px}.table-head{font-size:10px}.history-row .row-date{font-size:10px}.header-actions .wallet-pill{height:45px;font-size:15px}.profile-trigger .avatar{--a:34px}}
@media(max-width:1000px) and (min-width:761px){.header-inner{gap:20px}.desktop-nav{gap:16px}.desktop-nav a{font-size:13px}.profile-trigger{display:none}.layout{grid-template-columns:230px minmax(0,1fr);padding:0 16px}.account-card{padding:14px}.profile-avatar{--a:44px}.profile-row b{font-size:16px}.balance-big{font-size:32px}.bet-card{padding:20px 15px}.bet-title h2{font-size:19px}.rules-card{padding:18px 13px;gap:9px}.rules-card b{font-size:14px}.rules-symbol{width:35px;height:35px}.rules-card small{font-size:11px}.game-stage{grid-template-columns:minmax(0,1fr) 154px;min-height:330px;padding:10px 18px 10px 6px;gap:2px}.bank-value{font-size:28px;letter-spacing:-1.3px}.bank-value span{font-size:23px}.bank-label{font-size:9px}.timer{font-size:23px;min-width:120px;padding:9px 13px;margin-top:18px}.timer-caption{font-size:10px;margin-bottom:16px}.round-stats{padding:12px 0;font-size:11px;gap:10px}.round-stats>div{font-size:11px}.round-stats b{font-size:15px}.fair-note{margin-top:12px;font-size:10px;gap:6px}.fair-note small{font-size:9px}.game-heading{padding:20px 20px 0}.game-heading h1{font-size:28px}.round-meta{font-size:12px}.game-tools{display:none}.participant{padding:0 5px}.participant-amount{font-size:11px}.history-card{padding:18px 14px 4px}.history-row,.table-head{grid-template-columns:.5fr 1.15fr .9fr .5fr 15px}.row-date,.table-head>span:nth-child(5){display:none}.section-heading h2{font-size:20px}.round-banner{margin:0 12px 12px;padding:12px;gap:10px}.round-banner .waiting-chip{display:none}.round-banner .banner-text b{font-size:12px}.round-banner .banner-text small{font-size:10px}.winner-money{font-size:24px}.winner-chance{padding-left:12px}.footer{font-size:9px}.sidebar-foot{font-size:10px}}
@media(max-width:760px){.header{height:66px}.header-inner{padding:0 17px;gap:10px}.brand{font-size:22px;letter-spacing:-1px;gap:6px}.brand-mark{width:39px;height:38px;transform:scale(.72)}.desktop-nav,.profile-trigger{display:none}.header-actions{gap:7px}.wallet-pill{height:37px!important;padding:0 11px;font-size:12px!important;border-radius:10px;gap:6px}.wallet-pill svg{width:16px;height:16px}.mobile-menu{display:flex;width:32px;height:36px;color:#605a54}.layout{display:flex;flex-direction:column;padding:0 12px;margin:15px auto 0;gap:0;max-width:600px}.sidebar{display:contents}.account-card,.rules-card,.sidebar-foot{display:none}.main-column{width:100%;gap:10px}.card{border-radius:18px}.game-heading{padding:19px 17px 0}.game-heading h1{font-size:30px;letter-spacing:-1.2px}.round-meta{font-size:12px;margin-top:9px;gap:10px}.phase-badge{font-size:9px;padding:4px 7px}.game-tools{gap:0}.game-tools .icon-button{width:28px;height:30px}.game-tools svg{width:17px;height:17px}.game-stage{display:flex;flex-direction:column-reverse;padding:0 9px;gap:0;min-height:0;position:relative}.round-summary{display:grid;grid-template-columns:1fr auto;align-items:center;padding:20px 10px 0;width:100%;gap:4px 8px}.bank-label{font-size:9px;letter-spacing:1.8px;margin:0;grid-column:1}.bank-value{font-size:37px;letter-spacing:-1.8px;grid-column:1;grid-row:2}.bank-value span{font-size:29px}.timer{grid-column:2;grid-row:1 / 3;font-size:23px;min-width:113px;margin:0;padding:9px 11px;border-radius:11px;gap:7px}.timer svg{width:20px!important;height:20px!important}.timer-caption{font-size:9px;grid-column:2;grid-row:3;text-align:center;margin:2px 0 0}.round-stats{grid-column:1;grid-row:3;display:flex;flex-direction:row;border:0;padding:0;margin:0;gap:14px}.round-stats>div{font-size:10px;gap:6px}.round-stats b{font-size:12px}.fair-note{display:none}.board-wrap{width:100%;max-width:440px;margin:-5px auto -11px}.round-banner{margin:0 10px 11px;min-height:65px;padding:10px 12px;gap:9px}.round-banner .banner-icon{width:32px;height:32px;flex:none}.round-banner .banner-icon svg{width:17px;height:17px}.round-banner .banner-text b{font-size:12px}.round-banner .banner-text small{font-size:10px}.round-banner .waiting-chip{display:none}.round-banner .avatar{--a:37px}.winner-heading{font-size:12px}.winner-money{font-size:23px}.winner-chance{font-size:10px;padding-left:12px;margin-left:auto}.winner-chance b{font-size:14px;display:block;margin:3px 0 0}.participants-card{padding:15px 12px}.mobile-section-title{display:block;font-size:17px;font-weight:650;letter-spacing:-.5px;margin-bottom:13px}.mobile-section-title>span{color:#aba39a;font-size:14px;font-weight:500;margin-left:5px}.participants{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.participant{border:1px solid #eeebe6;border-radius:11px;padding:9px 7px;flex-direction:row;gap:6px;align-items:center;min-height:55px}.participant:last-child{border-right:1px solid #eeebe6}.participant .avatar{--a:29px}.participant-name{font-size:9px;gap:3px}.participant-amount{font-size:10px;letter-spacing:-.3px}.color-dot{width:5px;height:5px}.history-card{padding:16px 14px 5px}.section-heading{margin-bottom:10px}.section-heading h2{font-size:19px}.subtle-button{font-size:10px;height:31px;padding:6px 9px;gap:5px}.table-head{display:none}.history-row{grid-template-columns:45px 1fr 1fr 37px;padding:12px 0;gap:6px}.row-date{display:none}.history-row>svg{display:none}.history-row .row-bank{text-align:right;font-size:11px}.history-row .row-chance{text-align:right;font-size:10px}.history-row .row-id{font-size:10px}.history-row .winner-cell{font-size:11px}.history-row .avatar{--a:24px;margin-right:6px}.empty-history{padding:18px 4px;font-size:11px}.footer{padding:4px 4px 178px;font-size:8px;gap:5px}.footer button{font-size:9px}.footer button svg{width:11px}.bet-card{position:fixed;bottom:0;left:0;right:0;z-index:15;border-radius:20px 20px 0 0;border:1px solid #e7e0d8;box-shadow:0 -5px 28px #5a442814;background:#fffffff5;backdrop-filter:blur(16px);padding:12px max(17px,calc((100vw - 550px)/2)) calc(12px + env(safe-area-inset-bottom));display:block}.bet-title{margin:0 0 9px;gap:10px}.bet-title h2{font-size:16px;letter-spacing:-.4px}.live-label{margin-left:auto;font-size:9px}#bet-form{display:grid;grid-template-columns:1fr 105px;gap:9px}#bet-form>label{display:none}.amount-input{height:42px;border-radius:10px;padding:0 12px}.amount-input input{font-size:24px}.amount-input>span{font-size:23px}.quick-actions{margin:0;gap:6px}.quick-actions button{height:42px;font-size:16px;border-radius:10px}.quick-actions button:last-child{display:none}#bet-button{height:44px;grid-column:1 / -1;font-size:14px;border-radius:10px}#bet-error:not(:empty){grid-column:1 / -1;margin:0;font-size:11px}#bet-error:empty{display:none}.my-stake{position:absolute;right:max(17px,calc((100vw - 550px)/2));top:14px;margin:0;padding:0;border:0;font-size:10px;gap:7px}.live-label{display:none}.toast-region{bottom:175px;left:16px;right:16px;max-width:none}.toast{font-size:12px}.modal-shell{padding:23px 20px}.modal-header h2{font-size:26px}dialog{max-height:88dvh;border-radius:23px}.modal-actions .primary{font-size:13px}.proof-steps{gap:5px}.proof-step{padding:12px 9px}.proof-step b{font-size:11px}.proof-step small{font-size:9px}}
@media(max-width:370px){.header-inner{padding:0 11px}.brand{font-size:19px}.brand-mark{width:35px;transform:scale(.65)}.wallet-pill{padding:0 8px;font-size:11px!important}.wallet-pill svg{display:none}.game-heading h1{font-size:27px}.game-tools{display:none}.participant{padding:8px 5px;gap:5px}.participant .avatar{--a:24px}.participant-name{font-size:8px}.participant-amount{font-size:9px}.bank-value{font-size:33px}.timer{min-width:104px;font-size:21px}.winner-chance{padding-left:9px}.winner-money{font-size:21px}.footer>span:nth-child(2){font-size:7px}}

.ui-icon{width:21px;height:21px;flex:none;display:block}.empty-history>.ui-icon{width:28px;height:28px}

.modal-header{position:sticky;top:0;background:#faf9f6;z-index:4;padding-top:14px;padding-bottom:14px;margin-top:-14px}.close-modal{top:6px}

/* The shared header keeps identical geometry on every route and reserves scrollbar space. */
:root{scrollbar-gutter:stable}
.desktop-nav a{font-weight:600}
