*{box-sizing:border-box} :root{color-scheme:dark;font-family:Arial,Helvetica,sans-serif;color:#e9edf8;background:#0a1020;--gold:#f5c56b;--cyan:#62e4ed;--mint:#47dba4;--muted:#8894b4}body{margin:0;background:radial-gradient(ellipse at 18% 0%,#25315388,transparent 54%),radial-gradient(ellipse at 95% 100%,#133a4288,transparent 60%),#0b1021}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;border:1px solid #65749135;background:#27334b55;border-radius:10px;min-height:44px}button:hover{border-color:#84c1d680;background-color:#33446199}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}.shell{max-width:1700px;margin:auto;padding:10px clamp(16px,2.4vw,46px) 12px}.topbar{height:90px;display:grid;grid-template-columns:1fr 1.6fr 1fr;align-items:center}.back{font-size:12px;font-weight:800;letter-spacing:2px;justify-self:start;padding:15px 2px}.wordmark{text-align:center;filter:drop-shadow(0 4px 5px #000);transform:skew(-5deg)}.wordmark>span{display:block;font-size:clamp(24px,2.7vw,41px);letter-spacing:2px;font-weight:900;background:linear-gradient(#fff9c5 12%,#ffc95c 45%,#b87929 53%,#f9cf70 78%);color:transparent;background-clip:text;-webkit-background-clip:text;-webkit-text-stroke:.5px #edbc5680}.wordmark b{font-weight:900}.wordmark small{display:block;color:#a2d9f2;font-size:9px;font-weight:800;letter-spacing:5px;margin-top:6px}.top-actions{display:flex;gap:7px;justify-self:end}.top-actions button{width:42px;height:42px;min-height:42px;font-size:20px;color:#c1c8df;background:#141e33}.top-actions button[aria-pressed=false]{opacity:.6}.layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;height:calc(100svh - 143px);min-height:555px}.sidebar{display:flex;flex-direction:column;overflow:hidden;border-radius:18px;background:linear-gradient(140deg,#1f2942,#111b2e);border:1px solid #6d86ad30;box-shadow:0 15px 40px #0003;padding:16px}.wallet{border-bottom:1px solid #7a95bc25;padding:4px 2px 20px}.wallet small{font-size:9px;font-weight:800;letter-spacing:2px;color:#a6b4d1}.wallet strong{font-size:32px;display:block;color:var(--gold);margin:10px 0 6px}.wallet>span{font-size:10px;color:var(--muted)}.side-head{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;padding:19px 0 12px;color:#9faecb}.live-dot{color:var(--mint);font-size:8px}.live-dot:before{content:'●';margin-right:4px;font-size:6px}.tabs{display:flex;gap:4px}.tabs button{flex:1;font-size:10px;min-height:36px;border-radius:7px;background:transparent;border-color:transparent}.tabs [aria-selected=true]{background:#50648666;color:#d6fbff;border-color:#69becb40}.table-head{display:flex;justify-content:space-between;font-size:9px;color:#8091b3;padding:17px 0 9px}.players{flex:1;overflow:auto;scrollbar-width:thin;min-height:80px}.player-row{padding:11px 0;border-top:1px solid #50618024;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}.player-row>div{display:grid;gap:5px}.player-row b{font-size:11px;overflow:hidden;max-width:140px;white-space:nowrap;text-overflow:ellipsis;font-weight:500}.player-row small{color:#8f9ebb;font-size:9px}.player-row .paid{color:var(--mint);font-weight:700}.player-row .lost{color:#ed7281}.empty{font-size:12px;line-height:1.8;color:#8594b1;text-align:center;margin:30px 0}.side-note{padding-top:16px;border-top:1px solid #62759930;text-align:center;color:#a9b8d4;font-size:11px;line-height:1.7}.side-note>span{font-size:30px;color:var(--gold)}.side-note p{margin:4px 0 9px}.side-note button{font-size:10px;background:transparent;border:0;min-height:30px;color:#b6c5df}.game-main{display:grid;grid-template-rows:minmax(240px,1fr) 39px 186px;gap:9px;min-width:0}.stage{position:relative;overflow:hidden;border:1px solid #809ac64d;border-radius:20px;background:linear-gradient(#07102110,#03081d30),url('./assets/minimal-orbit.png') center center/cover;box-shadow:0 20px 45px #0004}.stage:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 70px #03081d66;border-radius:inherit}.stage-top{position:absolute;z-index:2;top:18px;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.6px;color:#abc0e1;gap:12px}.stage-top>span{font-weight:700}.stage-top button{font-size:8px;letter-spacing:1px;border:1px solid #829bcc44;background:#101b32aa;color:#9dd7df;min-height:30px;padding:6px 9px}.stage canvas{position:absolute;inset:0;width:100%;height:100%}.readout{position:absolute;left:12%;right:12%;top:22%;text-align:center;pointer-events:none;z-index:1}.readout>span{font-size:clamp(11px,1.15vw,16px);font-weight:600;letter-spacing:2px;color:#c6def4;text-shadow:0 2px 6px #000}.readout>strong{display:block;font-size:clamp(48px,6.7vw,104px);font-weight:900;letter-spacing:-3px;color:#effdff;text-shadow:0 4px 18px #011426;margin-top:9px;line-height:1.08;font-variant-numeric:tabular-nums}.readout strong span{font-size:.65em;color:#8df4f1;margin-left:7px}.readout small{display:block;color:#9ab6ce;font-size:11px;margin-top:12px;text-shadow:0 2px 5px #000}.stage.crashed .readout>strong,.stage.crashed .readout strong span{color:#ff8068}.stage.landed .readout>strong{color:#8bf1bb}#countdown-track{height:3px;width:150px;margin:18px auto 0;border-radius:3px;background:#b6d6ef25;overflow:hidden}#countdown-track i{height:100%;display:block;background:linear-gradient(90deg,#4ae1ea,#ffd582);box-shadow:0 0 10px #8be7fa}.stage-bottom{position:absolute;bottom:16px;left:22px;right:22px;display:flex;justify-content:space-between;color:#849abd;font-size:8px;letter-spacing:1.5px;z-index:2}#toast{position:absolute;left:50%;bottom:50px;transform:translateX(-50%);max-width:80%;padding:12px 20px;border-radius:12px;background:#13354fef;border:1px solid #6fbdb16e;color:#d3fff4;font-size:13px;opacity:0;transition:opacity .2s;pointer-events:none;z-index:4;box-shadow:0 8px 30px #0004}#toast.show{opacity:1}.history{display:flex;align-items:center;gap:10px;min-width:0}.history>span{font-size:8px;letter-spacing:1.4px;color:#91a4c2;flex-shrink:0}.history>div{display:flex;gap:6px;overflow:auto;scrollbar-width:none;flex:1}.history button{min-height:28px;font-size:10px;background:#273b5366;border-color:#6795ab25;flex-shrink:0;padding:4px 10px;border-radius:7px;color:#b8cfe3}.history button.high{color:#ffe0a1;background:#714b363d}.history button.mid{color:#9aeee0;background:#24565b66}.history>button{font-size:9px}.bets{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bet-panel{background:linear-gradient(145deg,#24334c,#152137);border:1px solid #6f8baa3d;border-radius:15px;padding:12px 14px;min-width:0;box-shadow:0 12px 20px #0002}.bet-top{display:flex;justify-content:space-between;gap:7px;align-items:center;font-size:9px;color:#99acc8;margin-bottom:10px}.bet-top>strong{letter-spacing:1.5px;color:#b7c6dd;font-size:9px}.toggle{display:flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.toggle input{appearance:none;width:28px;height:16px;border-radius:12px;background:#131b2d;border:1px solid #536581;cursor:pointer;position:relative;margin:0}.toggle input:before{content:'';position:absolute;left:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#8193b2;transition:transform .15s}.toggle input:checked{background:#21625e;border-color:#52a69d}.toggle input:checked:before{background:#8ff5df;transform:translateX(12px)}.target{width:53px;border:1px solid #60789466;border-radius:5px;background:#0f1b2d;color:#bce6e7;min-height:28px;padding:4px;text-align:center;font-size:11px}.bet-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(142px,.8fr);gap:10px}.stake-box{height:60px;display:flex;align-items:center;gap:2px;padding:6px;background:#101b2eaa;border:1px solid #667f9d4a;border-radius:10px}.stake-box button{width:36px;flex-shrink:0;background:transparent;border:0;font-size:23px}.stake-box input{min-width:0;width:100%;background:transparent;border:0;text-align:center;color:#f7deb0;font-size:22px;font-weight:800;outline:none;font-variant-numeric:tabular-nums;-moz-appearance:textfield}.stake-box input::-webkit-inner-spin-button,.target::-webkit-inner-spin-button{-webkit-appearance:none}.act{min-height:60px;border:1px solid #ffedb66e;background:linear-gradient(145deg,#f4ca77,#bd8839);color:#382910;box-shadow:0 0 20px #ffd48917,inset 0 1px #fff6;font-size:13px;font-weight:800;line-height:1.4;letter-spacing:.5px}.act small{display:block;font-size:9px;letter-spacing:0;font-weight:500;opacity:.78;margin-top:3px}.act:hover{background:linear-gradient(145deg,#ffdc93,#d39c46)}.act.cash{background:linear-gradient(145deg,#66efca,#24a995);border-color:#baffde66;color:#063b32;box-shadow:0 0 24px #53edb929}.act.cancel{background:linear-gradient(145deg,#d26176,#9f3e54);border-color:#faa2ac66;color:#fff}.quick{display:flex;gap:4px;margin-top:8px}.quick button{flex:1;min-width:0;min-height:33px;font-size:10px;border-radius:6px;background:#32466266;color:#abbed7}.bet-feedback{font-size:10px;color:#95a8c5;margin-top:8px;min-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bet-feedback.paid{color:#7aebbb}.bet-feedback.lost{color:#e39aac}footer{display:flex;justify-content:space-between;gap:20px;font-size:9px;color:#7186a6;margin-top:13px}footer .offline{color:#f8ad82}dialog{width:min(700px,calc(100vw - 32px));max-height:85svh;border:1px solid #6483a866;border-radius:20px;background:linear-gradient(150deg,#24314a,#101b2e);color:#d8e4f5;padding:22px;box-shadow:0 30px 90px #0009}dialog::backdrop{background:#030714bb;backdrop-filter:blur(8px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.dialog-head h2{font-size:21px;color:#f6d598;margin:0}.dialog-head button{width:44px;font-size:26px;background:transparent}.rules{line-height:1.75;font-size:13px;color:#c0cde2}.rules p{margin:0 0 14px}.rules strong{color:#f7dda8}.rules table{width:100%;border-collapse:collapse;margin:14px 0}.rules td,.rules th{text-align:left;padding:10px;border-bottom:1px solid #778dae30;font-size:12px}.proof-label{color:#91aacb;font-size:11px;display:block;margin:13px 0 6px}.proof-value{display:block;padding:10px;background:#09152599;border:1px solid #607e9d30;border-radius:8px;font-size:11px;word-break:break-all;color:#b5cddd;font-family:monospace}.proof-result{margin:15px 0;padding:12px;border-radius:10px;background:#1e554733;color:#9feccb;line-height:1.6;font-size:13px}.proof-list{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.proof-list button{font-size:12px;color:#c5dfef;padding:10px}.proof-list small{display:block;font-size:9px;color:#8eabc5;margin-top:5px}.proof-button{padding:10px 20px;color:#b7f5e2;margin-top:14px}body.reduced *{transition:none!important}body.reduced .stage{background-attachment:initial}
@media(max-width:1200px){.layout{grid-template-columns:190px 1fr;gap:10px}.sidebar{padding:13px}.wallet strong{font-size:27px}.bet-panel{padding:11px}.bet-top{font-size:8px;gap:4px}.bet-top>strong{letter-spacing:.7px}.bet-main{grid-template-columns:minmax(0,1fr) 135px}.target{width:47px}.topbar{height:80px}.layout{height:calc(100svh - 133px)}}
@media(max-height:760px) and (min-width:900px){.topbar{height:72px}.layout{height:calc(100svh - 124px);min-height:530px}.game-main{grid-template-rows:minmax(240px,1fr) 33px 181px}.readout{top:19%}.readout>strong{font-size:68px}.readout small{font-size:10px}.side-note>span{display:none}.stage-top{top:12px}.wallet{padding-bottom:15px}}
@media(max-width:950px){.layout{grid-template-columns:1fr}.sidebar{display:none}.game-main{grid-template-rows:minmax(270px,1fr) 35px 186px}.topbar{grid-template-columns:.6fr 1fr .9fr}.top-actions{gap:4px}.top-actions button{width:34px;height:40px;min-height:40px;font-size:18px}.wordmark>span{font-size:25px}.wordmark small{font-size:7px;letter-spacing:3px}.back{font-size:10px;letter-spacing:1px}.readout{top:23%}.layout{min-height:550px}.readout>strong{font-size:70px}}
@media(max-width:600px){.shell{padding:8px 12px 18px}.topbar{height:94px;grid-template-columns:1fr 1fr;position:relative;align-items:start;padding-top:6px}.wordmark{position:absolute;top:52px;width:100%}.wordmark>span{font-size:25px}.wordmark small{display:none}.top-actions{grid-column:2}.back{padding:11px 0}.layout{height:auto;min-height:0}.game-main{display:flex;flex-direction:column}.stage{height:330px;flex-shrink:0}.stage-top{left:15px;right:15px;font-size:8px}.stage-top button{font-size:7px;letter-spacing:0}.readout>strong{font-size:62px}.readout small{font-size:9px}.readout{left:3%;right:3%;top:25%}.stage-bottom{left:15px;right:15px;font-size:7px;letter-spacing:0}.history{height:36px}.bets{grid-template-columns:1fr;gap:10px}.bet-panel{padding:14px}.bet-top{font-size:10px}.bet-top>strong{font-size:10px}.bet-main{grid-template-columns:minmax(0,1fr) 160px}.bet-feedback{font-size:11px}.quick button{min-height:38px}.bet-top{margin-bottom:12px}.bet-panel{min-height:185px}.proof-list{grid-template-columns:repeat(3,1fr)}footer{font-size:8px;line-height:1.6}footer>span:last-child{max-width:190px;text-align:right}}
.wordmark{transform:none}.wordmark img{display:block;width:min(430px,100%);height:85px;object-fit:contain;margin:auto}.compact-wallet{display:none;font-size:8px;letter-spacing:.6px;color:#9eafc7;margin-top:7px}.compact-wallet b{font-size:15px;color:var(--gold);margin-left:6px;letter-spacing:0;font-variant-numeric:tabular-nums}@media(max-height:760px) and (min-width:900px){.wordmark img{height:69px}}@media(max-width:950px){.compact-wallet{display:block}.wordmark img{height:75px}.back{padding-top:7px}}@media(max-width:600px){.wordmark{top:49px}.wordmark img{height:46px;width:270px}.back{padding:2px 0}.compact-wallet{margin-top:6px}.topbar{height:106px}}

/* Updating payout text must never replace the pointer target. */
.act-label,.act small{pointer-events:none}.act-label{display:block}

/* Both bet/cashout panels stay visible on a phone. */
@media(max-width:600px) and (orientation:portrait){html[data-largo-game="rocket"] body .shell{padding:6px 8px}html[data-largo-game="rocket"] body .topbar{height:78px}html[data-largo-game="rocket"] body .wordmark{top:38px}html[data-largo-game="rocket"] body .wordmark img{height:38px}html[data-largo-game="rocket"] body .stage{height:max(120px,calc(100dvh - 464px))}html[data-largo-game="rocket"] body .history{height:28px;min-height:28px}html[data-largo-game="rocket"] body .bets{gap:6px}html[data-largo-game="rocket"] body .bet-panel{padding:8px;min-height:0}html[data-largo-game="rocket"] body .bet-top{margin-bottom:5px;font-size:9px}html[data-largo-game="rocket"] body .bet-main{grid-template-columns:minmax(0,1fr) 145px}html[data-largo-game="rocket"] body .bet-main button.act{min-height:52px}html[data-largo-game="rocket"] body .quick{margin-top:5px}html[data-largo-game="rocket"] body .quick button{min-height:32px}html[data-largo-game="rocket"] body .bet-feedback{margin-top:4px;font-size:10px;min-height:12px}html[data-largo-game="rocket"] body .readout>strong{font-size:54px}html[data-largo-game="rocket"] body .readout small{font-size:10px}html[data-largo-game="rocket"] body .readout{top:22%}
}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape){html[data-largo-game="rocket"] body .shell{padding:4px 8px;display:block;height:auto}html[data-largo-game="rocket"] body .topbar{height:48px;align-items:center}html[data-largo-game="rocket"] body .wordmark{position:static}html[data-largo-game="rocket"] body .wordmark img{height:45px}html[data-largo-game="rocket"] body .layout{height:calc(100dvh - 58px);min-height:0;grid-template-columns:1fr}html[data-largo-game="rocket"] body .sidebar{display:none}html[data-largo-game="rocket"] body .game-main{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 310px;grid-template-rows:minmax(0,1fr) 28px;gap:5px 8px}html[data-largo-game="rocket"] body .stage{grid-column:1;grid-row:1;height:100%;min-height:0}html[data-largo-game="rocket"] body .history{grid-column:1;grid-row:2;min-height:0;height:28px}html[data-largo-game="rocket"] body .bets{grid-template-rows:repeat(2,minmax(0,1fr));grid-column:2;grid-row:1/3;display:grid;grid-template-columns:1fr;gap:6px;min-height:0}html[data-largo-game="rocket"] body .bet-panel{padding:7px;min-height:0}html[data-largo-game="rocket"] body .bet-top{font-size:9px;margin-bottom:5px}html[data-largo-game="rocket"] body .bet-main{grid-template-columns:minmax(0,1fr) 133px}html[data-largo-game="rocket"] body .bet-main button.act{min-height:48px}html[data-largo-game="rocket"] body .quick{margin-top:4px}html[data-largo-game="rocket"] body .quick button{min-height:28px}html[data-largo-game="rocket"] body .bet-feedback{margin-top:3px;font-size:9px;min-height:12px}html[data-largo-game="rocket"] body .readout>strong{font-size:48px}html[data-largo-game="rocket"] body .readout{top:23%}html[data-largo-game="rocket"] body .stage-top{font-size:8px;left:10px;right:10px}html[data-largo-game="rocket"] body .stage-top button{font-size:7px}html[data-largo-game="rocket"] body .compact-wallet b{font-size:13px}
}
