@font-face{font-family:Sora;src:url(/games-assets/f74f4b0d9751e1205fd3f21f8da0554634e09b0c48c18f3dd66b4f18cb2fc003/public/trade/fonts/sora-latin-v17.woff2) format('woff2');font-weight:100 800;font-display:swap}
:root{color-scheme:dark;--bg:#0b0c11;--surface:#14161f;--card:#1b1d27;--edge:#282b39;--edge2:#343849;--text:#eef0f7;--muted:#9096ab;--faint:#666c82;--green:#35d59b;--blue:#55c8f2;--red:#ff5d73;--gold:#ffcc4d;--accent:#8b8fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:600 13px Sora,'PingFang SC','Microsoft YaHei',sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:1px solid var(--edge2);background:var(--card);font-weight:700;touch-action:manipulation;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}button:disabled{opacity:.45;cursor:default}button:hover:not(:disabled){border-color:#62687d}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,select{min-width:0;color:var(--text);outline:none}input:disabled{opacity:.55}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}h1,h2,h3,p{margin:0}.muted{color:var(--faint)}.site-header{height:60px;display:flex;align-items:center;gap:20px;padding:0 22px;border-bottom:1px solid var(--edge)}.brand{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:800}.brand svg{width:78px;height:13px;stroke:none}.site-header nav{display:flex;gap:4px;margin-left:8px;align-items:center}.site-header nav>*{padding:8px 14px;font-size:14px;color:var(--muted);font-weight:600}.site-header nav .selected{background:var(--surface);color:var(--text);border-radius:99px}.site-wallet{margin-left:auto;border:1px solid var(--edge);background:var(--surface);padding:7px 13px;border-radius:99px;line-height:1.3}.site-wallet small{display:block;font-size:9px;color:var(--muted);letter-spacing:.1em}.site-wallet b{font-size:15px;font-weight:800}.demo-user{font-size:12px;color:var(--muted)}.page{max-width:1120px;padding:12px 22px 0;margin:auto}.game-header{height:62px;display:flex;align-items:center;gap:8px;justify-content:space-between}.game-title{display:flex;align-items:center;gap:9px}.game-logo{height:30px;width:30px}.title-help{border:0;background:none;padding:0;text-align:left;min-height:44px}.game-title h1{font-size:21px;font-weight:800;white-space:nowrap}.game-title h1 span{font-size:12px;letter-spacing:.08em;color:var(--muted);margin-left:5px}.mode-badge{padding:4px 7px;color:var(--green);border:1px solid #35d59b38;background:#35d59b10;font-size:10px;border-radius:6px;white-space:nowrap}.header-tools{display:flex;align-items:center;gap:7px}.square{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex:none}.text-tool{min-height:44px;border:0;background:none;display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);padding:10px 9px}.text-tool svg{width:17px;height:17px}.mobile-balance,.mobile-fair{display:none}.game-frame{height:clamp(500px,calc(100dvh - 200px),680px);border:1px solid var(--edge);border-radius:16px;background:var(--surface);display:grid;grid-template-rows:48px minmax(260px,1fr) 112px;overflow:hidden}.history-bar{display:flex;align-items:center;padding:0 18px;gap:12px;min-width:0;border-bottom:1px solid var(--edge)}.history-label{font-size:11px;color:var(--muted);white-space:nowrap}.recent{display:flex;gap:6px;align-items:center;flex:1;min-width:0;overflow:auto;scrollbar-width:none}.recent::-webkit-scrollbar{display:none}.history-chip{border:0;background:var(--card);color:var(--muted);border-radius:7px;height:44px;min-width:52px;padding:0 9px;flex:none;font-size:11px}.history-chip.high{background:#35d59b18;color:var(--green)}.history-chip:hover{background:var(--edge2)}.history-button{display:flex;gap:5px;align-items:center;border:0;background:none;min-height:44px;padding:0;color:var(--muted);font-size:12px;white-space:nowrap}.history-button svg{width:18px;height:18px}.arena{display:grid;grid-template-columns:minmax(0,1fr) 224px;min-height:0}.flight-space{position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:260px;background-image:linear-gradient(#ffffff04 1px,transparent 1px)}.flight-space{background-image:linear-gradient(#ffffff04 1px,transparent 1px),linear-gradient(90deg,#ffffff04 1px,transparent 1px);background-size:32px 32px}.flight-space:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 60% 70%,#55c8f20c,transparent 60%);transition:background .5s}.round-top{position:absolute;top:18px;left:22px;right:20px;display:flex;justify-content:space-between;align-items:center;color:var(--faint);font-size:10px;z-index:2}.round-phase{display:flex;align-items:center;gap:6px;color:var(--muted)}.round-phase i{width:5px;height:5px;border-radius:50%;background:var(--green);box-shadow:0 0 8px #35d59b55}.readout{position:absolute;top:17%;left:0;right:0;text-align:center;z-index:2;pointer-events:none}.readout p:first-child{font-size:11px;color:var(--muted);letter-spacing:.04em}.multiplier{font-size:76px;font-weight:800;letter-spacing:-.055em;line-height:1.25;white-space:nowrap}.multiplier span{font-size:.55em;color:#bfc5d5;letter-spacing:-.03em;margin-left:2px}.flight-message{height:20px;margin-top:3px;font-size:11px;color:var(--muted)}canvas{width:100%;height:100%;display:block}.chart-footer{position:absolute;left:42px;bottom:15px;right:24px;display:flex;justify-content:space-between;color:var(--faint);font-size:9px}.chart-footer span:nth-child(2){font-size:9px;color:#71798d}.countdown-track{position:absolute;left:28%;right:28%;top:58%;height:3px;border-radius:4px;background:var(--edge);overflow:hidden;transition:opacity .2s}.countdown-track i{height:100%;width:100%;display:block;background:var(--green);transform-origin:left}.goal-label{position:absolute;left:44px;bottom:27%;font-size:9px;color:#55c8f29c;padding:4px 6px;background:#14161fe6;border-radius:4px;pointer-events:none}.players{border-left:1px solid var(--edge);background:#12141d;min-width:0;display:flex;flex-direction:column}.players-heading{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:0 17px;border:0;border-radius:0;border-bottom:1px solid #282b3970;background:none;font-size:11px;text-align:left}.players-heading span b{margin-left:5px;font-size:10px;color:var(--muted);font-weight:600}.players-heading small{font-size:9px;color:var(--faint);font-weight:600}.fold-arrow{display:none}#playersBody{display:flex;flex-direction:column;flex:1;min-height:0;padding:0 17px}.player-columns{display:flex;justify-content:space-between;font-size:8px;color:var(--faint);padding:15px 0 8px}.player-row{display:flex;align-items:center;gap:8px;min-height:43px;border-bottom:1px solid #282b3948}.avatar{height:23px;width:23px;border-radius:7px;display:grid;place-items:center;font-size:9px;background:#55c8f211;color:#7cc9df}.player-name{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#b1b6c7}.player-name small{font-size:8px;color:var(--faint)}.player-out{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;font-size:10px;gap:3px;color:var(--muted)}.player-out small{font-size:8px;color:var(--faint)}.player-out.paid{color:var(--green)}.player-row.you{background:#35d59b09}.player-row.you .avatar{color:var(--green);background:#35d59b18}.players-total{display:flex;justify-content:space-between;margin-top:auto;padding:13px 0 15px;font-size:9px;color:var(--faint)}.players-total b{font-weight:700;color:var(--muted)}
#rocket{position:absolute;top:0;left:0;width:48px;height:48px;transform:translate(48px,270px);will-change:transform;pointer-events:none;z-index:1;transition:opacity .2s}#rocket svg{width:48px;height:48px;position:relative;z-index:1;stroke-width:1.8}.exhaust{position:absolute;width:12px;height:38px;background:linear-gradient(#ffcc4dbb,#ff8b4d00);transform:rotate(42deg);left:7px;top:28px;filter:blur(3px);opacity:0}.flying .exhaust{animation:flame .12s infinite alternate;opacity:.8}.waiting #rocket{opacity:.25}.crashed #rocket{opacity:0}.crashed .multiplier,.crashed .multiplier span{color:var(--red)}.crashed .round-phase i{background:var(--red);box-shadow:none}.crashed .countdown-track,.flying .countdown-track{opacity:0}.flying .flight-message{color:#8aa6b6}.win-note{position:absolute;bottom:52px;left:42px;display:flex;align-items:center;gap:10px;z-index:3;background:#132c26e8;border:1px solid #35d59b40;border-radius:12px;padding:12px 16px;animation:win-in .35s ease-out;box-shadow:0 8px 25px #0002}.win-note svg{width:24px;height:24px;color:var(--green)}.win-note small{display:block;color:#91c9b7;font-size:9px;margin-bottom:4px}.win-note b{color:var(--green);font-size:23px;font-weight:800}.controls{display:grid;grid-template-columns:320px 64px 146px minmax(180px,1fr);align-items:end;gap:12px;padding:15px 22px 20px;border-top:1px solid var(--edge);position:relative;background:#14161f}.controls label{display:block;font-size:10px;color:var(--muted);margin-bottom:7px;font-weight:700}.controls label>span{font-size:9px;color:var(--faint);margin-left:5px}.money-row{display:flex;gap:6px}.money-field{min-width:0;flex:1;height:46px;background:var(--card);border:1px solid var(--edge2);border-radius:12px;display:flex;align-items:center;padding:0 12px;gap:8px;font-size:17px;font-weight:800}.money-field span{color:var(--muted)}.money-field input{background:none;border:0;width:100%;font-weight:800;font-size:17px;padding:0}.money-row .square{height:46px;width:44px}.adjust{font-size:23px}.auto-button{height:66px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:12px;padding:7px 6px}.auto-button span{font-size:9px;white-space:nowrap}.auto-button svg{width:24px;height:24px}.auto-button.running{color:var(--green);border-color:#35d59b55}.target-group label{display:flex;align-items:center;gap:5px;white-space:nowrap}.target-group input[type=checkbox]{accent-color:var(--green);height:12px;width:12px;margin:0}.field{height:46px;width:100%;padding:0 12px;background:#0b0d13;border:1px solid var(--edge2);border-radius:12px;font-weight:800;font-size:17px}.primary{position:relative;isolation:isolate;overflow:hidden;min-height:66px;background:linear-gradient(125deg,#58e8b4,#30c692);border:1px solid #9affd180;border-radius:13px;box-shadow:inset 0 1px #d9ffee88,0 3px #0c7958;color:#06251b;display:flex;justify-content:center;align-items:center;gap:14px;padding:8px 15px;transition:filter .12s,transform .12s}.primary:hover:not(:disabled){filter:brightness(1.07);border-color:#d9ffee}.primary:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px #d9ffee88}.primary.cashout{background:linear-gradient(125deg,#8cdcf8,#44bde7);color:#07222c;box-shadow:inset 0 1px #e5fbffb0,0 3px #1b718e;border-color:#aff3ff90}.primary.queued{background:var(--card);color:var(--text);border:1px solid var(--edge2);box-shadow:0 3px #0b0d13}.primary svg{width:25px;height:25px;stroke-width:2.3}.action-text{display:flex;align-items:center;justify-content:center;gap:12px}.action-text small{font-size:12px;font-weight:700;white-space:nowrap}.action-text b{font-size:24px;font-weight:800;white-space:nowrap}.primary.won:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 35%,#fff8 50%,transparent 65%);animation:shine 1s linear infinite;z-index:-1}.button-feedback{font-size:9px;position:absolute;bottom:5px;left:0;right:0;text-align:center}.primary.won{padding-bottom:17px}.control-status{position:absolute;top:2px;left:22px;right:22px;font-size:9px;color:var(--red);pointer-events:none}.game-footer{display:flex;justify-content:space-between;align-items:center;height:50px;font-size:10px;color:#71788d;padding:3px 2px}.game-footer button{height:44px;background:none;border:0;color:var(--muted);font-size:10px;padding:0}.lobby{max-width:1120px;margin:auto;padding:50px 22px}.lobby-heading>span{font-size:10px;letter-spacing:.14em;color:var(--green)}.lobby-heading h1{font-size:32px;margin:10px 0}.lobby-heading p{color:var(--muted);font-size:13px}.lobby-card{width:min(520px,100%);margin-top:32px;border-radius:20px;background:var(--surface);border:1px solid var(--edge);padding:28px;display:flex;align-items:center;gap:28px;text-align:left}.lobby-card>img{width:150px;height:150px}.lobby-card small{font-size:10px;letter-spacing:.12em;color:var(--muted)}.lobby-card h2{font-size:23px;margin:7px 0 12px}.lobby-card p{font-size:11px;color:var(--muted);line-height:1.7}.lobby-card strong{display:flex;align-items:center;gap:16px;margin-top:25px;font-size:12px}.lobby-card strong svg{width:17px;height:17px}.lobby-note{font-size:10px;color:var(--faint);margin-top:20px}
dialog{width:calc(100% - 24px);max-width:520px;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--edge2);border-radius:20px;background:var(--surface);color:var(--text);box-shadow:0 20px 80px #0008;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#05060bc9;backdrop-filter:blur(6px)}.modal-header{height:74px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--edge)}.modal-header h2{font-size:20px;font-weight:800}.modal-body{overflow:auto;padding:22px;overscroll-behavior:contain}.section-card{padding:17px;border:1px solid var(--edge);background:var(--card);border-radius:16px;margin-bottom:16px;line-height:1.8}.section-card:last-child{margin-bottom:0}.section-card h3{font-size:12px;margin-bottom:10px}.section-card p{font-size:12px;color:var(--muted);line-height:1.9}.section-card ol{padding-left:18px;color:var(--muted);font-size:12px;line-height:2;margin-bottom:0}.secondary{min-height:44px;border-radius:12px;padding:8px 15px;font-size:12px}.light{background:linear-gradient(#f4f6ff,#cfd6f0);color:#14161f;border-color:#cdd4eb}.wide{width:100%}.action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:22px 16px}.facts small{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.facts b{font-size:22px;font-weight:800}.modal-note{color:var(--muted);font-size:11px;line-height:1.9}.form-label{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}.form-group{margin-bottom:16px}.form-group .field{font-size:14px}.form-status{font-size:11px;color:var(--red);line-height:1.8;margin-bottom:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.strategy{padding:14px;background:var(--card);border:1px solid var(--edge);border-radius:12px;margin-bottom:12px}.strategy>span{font-size:11px;display:block;margin-bottom:10px}.strategy-control{display:flex;gap:8px}.strategy select{width:50%;background:#0b0d13;border:1px solid var(--edge2);border-radius:9px;padding:8px;font-size:11px}.strategy input{width:50%;height:44px}.preset-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.preset-grid button{min-height:48px;border-radius:12px;font-size:12px}.record-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:68px;border:0;border-bottom:1px solid var(--edge);background:none;text-align:left;padding:12px 0;font-size:12px;gap:12px}.record-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.record-row .right{text-align:right}.profit{color:var(--green)}.empty{padding:30px 0;text-align:center;color:var(--muted);font-size:12px}.how-flight{height:120px;position:relative;margin-bottom:18px;border-radius:13px;background:linear-gradient(160deg,#14161f,#142a30);overflow:hidden}.how-flight>svg{width:75px;height:75px;position:absolute;right:20%;top:12px}.how-flight b{position:absolute;left:22px;bottom:20px;font-size:35px;color:var(--blue)}.fair-step{display:flex;gap:12px;margin:12px 0;font-size:12px;color:var(--muted);align-items:center}.fair-step i{font-style:normal;color:var(--green);width:26px;height:26px;border-radius:8px;background:#35d59b15;display:grid;place-items:center;flex:none}.checks{display:flex;flex-direction:column;gap:12px}.check-row{display:flex;justify-content:space-between;gap:12px;font-size:11px}.check-row span:last-child{color:var(--muted)}@keyframes shine{from{transform:translateX(-100%)}to{transform:translateX(100%)}}@keyframes win-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px) and (min-width:761px){.arena{grid-template-columns:minmax(0,1fr) 190px}.controls{grid-template-columns:270px 60px 128px minmax(150px,1fr);gap:9px;padding-inline:16px}.action-text{gap:8px}.action-text b{font-size:21px}.primary{gap:8px}.money-row .square{width:40px}.site-header nav>*{padding:8px 10px}}
@media(max-width:760px){.site-header{display:none}.page{max-width:none;margin:0;padding:0}.game-header{height:58px;padding:0 8px;gap:5px}.game-title{gap:4px}.game-title h1{font-size:15px}.game-title h1 span,.game-logo{display:none}.mode-badge{font-size:8px;padding:3px 4px}.header-tools{gap:2px}.header-tools .text-tool{display:none}.square{border-radius:10px}.header-tools .square svg{width:19px;height:19px}.mobile-balance{display:block;margin-left:auto;text-align:right;line-height:1.4;padding-right:3px}.mobile-balance small{font-size:8px;color:var(--muted);display:block}.mobile-balance b{font-size:11px;font-weight:800;white-space:nowrap}.game-frame{height:calc(100dvh - 102px - env(safe-area-inset-bottom));min-height:500px;border-radius:0;border-left:0;border-right:0;grid-template-rows:42px minmax(265px,1fr) 161px}.history-bar{padding:0 12px;gap:9px}.history-label{display:none}.history-chip{min-width:48px;font-size:10px}.history-button{font-size:10px;gap:4px}.history-button svg{width:17px;height:17px}.mobile-fair{display:block;min-height:44px;background:none;border:0;font-size:10px;color:var(--muted);padding:0;white-space:nowrap}.arena{display:flex;flex-direction:column}.flight-space{flex:1;min-height:225px;background-size:24px 24px}.round-top{top:12px;left:18px;right:16px;font-size:9px}.readout{top:19%}.readout p:first-child{font-size:10px}.multiplier{font-size:68px}.flight-message{font-size:10px}.players{flex:none;border-left:0;border-top:1px solid var(--edge);max-height:38px;overflow:hidden}.players.expanded{position:absolute;left:12px;right:12px;top:108px;z-index:5;border:1px solid var(--edge2);border-radius:13px;max-height:330px;box-shadow:0 15px 50px #0008;overflow:auto}.players-heading{min-height:38px;padding:0 17px;font-size:10px}.fold-arrow{display:inline;padding-left:8px}.players-heading small{font-size:8px}.player-columns{padding-top:9px}.player-row{min-height:40px}.players-total{padding-top:9px;padding-bottom:12px}.chart-footer{left:22px;right:18px;bottom:11px;font-size:8px}.chart-footer span:nth-child(2){font-size:8px}.countdown-track{left:27%;right:27%;top:65%}#rocket,#rocket svg{width:40px;height:40px}.exhaust{top:22px;left:5px;width:11px}.goal-label{left:22px;bottom:23%;font-size:8px}.win-note{bottom:32px;left:22px;padding:8px 12px;gap:7px;border-radius:10px}.win-note b{font-size:20px}.win-note small{font-size:8px}.win-note svg{width:21px;height:21px}.controls{grid-template-columns:minmax(0,1fr) 68px;grid-template-rows:64px 60px;gap:10px 8px;padding:9px 12px 15px;align-items:end}.amount-group{grid-column:1;grid-row:1}.controls label{font-size:9px;margin-bottom:5px}.money-row{gap:5px}.money-field{height:44px;padding:0 8px;gap:5px;flex:1;min-width:90px;max-width:none;border-radius:11px}.money-field input{font-size:17px}.money-row .square{width:44px;height:44px}.money-row .square svg{width:19px;height:19px}.auto-button{grid-column:2;grid-row:1;width:68px;height:64px;border-radius:11px;gap:5px}.auto-button span{font-size:8px}.auto-button svg{width:22px;height:22px}.target-group{grid-column:1;grid-row:2;width:100px;position:relative;z-index:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:0 8px;background:#0b0d13;border:1px solid var(--edge2);border-radius:12px}.target-group label{font-size:9px;gap:4px;margin-bottom:1px}.target-group label>span{display:none}.target-group input[type=checkbox]{width:11px;height:11px}.target-group .field{height:29px;padding:0 3px;border:0;font-size:17px;background:none;border-radius:5px}.primary{grid-row:2;grid-column:1/-1;margin-left:108px;height:60px;min-height:60px;border-radius:12px;gap:7px;padding:5px 9px}.action-text{gap:5px;flex-direction:column}.action-text small{font-size:10px}.action-text b{font-size:21px}.primary svg{width:21px;height:21px}.primary.won{padding-bottom:13px}.button-feedback{font-size:8px;bottom:4px}.control-status{top:-15px;left:12px;right:12px;text-align:right;font-size:8px;background:var(--surface);width:max-content;max-width:95%;border-radius:3px}.control-status:empty{display:none}.game-footer{height:44px;padding:0 12px;font-size:8px;margin-bottom:env(safe-area-inset-bottom)}.game-footer button{font-size:9px}.modal-header{height:66px;padding:0 18px}.modal-body{padding:18px}.lobby{padding:30px 16px}.lobby-heading h1{font-size:27px}.lobby-card{padding:20px 15px;gap:18px;border-radius:16px}.lobby-card>img{width:115px;height:115px}.lobby-card h2{font-size:20px}.lobby-card p{font-size:10px}.lobby-card strong{margin-top:20px}.section-card{padding:15px}.section-card p{font-size:11px}.facts b{font-size:20px}}
@media(max-width:340px){.money-field{min-width:80px;padding:0 6px}.money-row{gap:4px}.money-row .square{width:44px}.controls{grid-template-columns:minmax(0,1fr) 52px;gap:9px 5px;padding-inline:8px}.auto-button{width:52px}.auto-button span{font-size:7px}.money-field input{font-size:17px}.mobile-balance{padding-right:1px}.game-header{padding-inline:6px}.game-title h1{font-size:15px}.target-group{width:91px}.primary{margin-left:99px}.round-top{left:16px}.multiplier{font-size:61px}.flight-message{font-size:9px}.readout{top:18%}}
@media(max-height:740px) and (min-width:761px){.game-footer{height:44px}.controls{padding-top:13px;padding-bottom:16px}.game-frame{grid-template-rows:48px minmax(260px,1fr) 104px}.readout{top:14%}.multiplier{font-size:68px}.players-heading{min-height:46px}.player-row{min-height:36px}.player-columns{padding-top:10px}.players-total{padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.primary.won{outline:2px solid #b4ffe2;outline-offset:-3px}.exhaust{display:none}}
@media(min-width:761px) and (max-width:1000px){.controls{grid-template-columns:260px 52px 100px minmax(135px,1fr);gap:8px;padding-inline:12px}.action-text{flex-direction:column;gap:2px}.action-text small{font-size:10px}.action-text b{font-size:21px}.primary{gap:6px}.money-row .square{width:40px}}
@media(max-width:760px){.primary{margin-left:0;grid-column:1/-1}.action-text{flex-direction:row;gap:12px}.action-text b{font-size:24px}.primary svg{width:25px;height:25px}.target-group{position:absolute;grid-column:auto;grid-row:auto;right:16px;top:-100px;height:48px;width:116px;display:flex;flex-direction:row;gap:7px;align-items:center;padding:5px 8px;background:#141b24e8;border-color:#343f4d;backdrop-filter:blur(8px)}.target-group label{font-size:8px;flex-direction:column;gap:3px;margin:0;min-height:36px;justify-content:center}.target-group .field{height:38px;width:58px;min-width:0;font-size:16px;padding:0;text-align:center}.target-group input[type=checkbox]{width:12px;height:12px}.money-field{flex:none;width:104px;min-width:104px;max-width:104px}.money-row .square{flex:1;width:auto;min-width:44px}.control-status{top:-15px}}
@media(max-width:340px){.controls{column-gap:4px}.money-row{gap:4px}.money-field{width:104px;min-width:104px;max-width:104px;padding:0 6px;gap:4px}.target-group{right:12px;top:-95px;width:108px}.primary{margin-left:0}.action-text b{font-size:23px}.win-note{left:16px;padding:8px 10px}.win-note b{font-size:18px}.win-note small{font-size:8px}}

@media(max-width:760px){.players{max-height:44px}.players-heading{min-height:44px}.target-group{width:130px;padding:1px 6px;gap:6px}.target-group label{width:44px;min-height:44px;font-size:8px;flex:none}.target-group .field{height:44px;width:62px;flex:1}.win-note{max-width:calc(100% - 158px)}}

.strategy-control .unit{align-self:center;font-size:12px;color:var(--muted)}
.money-field input{height:100%}.controls .money-row .square{min-width:44px}.game-footer button,.mobile-fair{min-width:44px}

@media(max-width:760px){.money-field{height:46px}.money-row .square{height:46px}}

@media(max-width:760px){:root{--safe-bottom:max(env(safe-area-inset-bottom),34px)}.game-frame{height:calc(100dvh - 102px - var(--safe-bottom))}.game-footer{margin-bottom:var(--safe-bottom)}}

@media(max-width:760px){.readout{top:12%}#rocket,#rocket svg{width:28px;height:28px}.exhaust{top:13px;left:2px;width:9px;height:25px}}

/* Motion V2: the curve and flame meet at the SVG nozzle, not its centre. */
#rocket{transform-origin:39.0625% 60.9375%;transition:none}
.exhaust{left:39.0625%;top:60.9375%;width:25%;height:80%;transform-origin:50% 0;transform:translateX(-50%) rotate(45deg);filter:blur(2px)}
.flying .exhaust{animation:engine-flame .11s ease-in-out infinite alternate}
.crashed #rocket{opacity:0}
@keyframes engine-flame{from{transform:translateX(-50%) rotate(45deg) scaleY(.8)}to{transform:translateX(-50%) rotate(45deg) scaleY(1.2)}}
@media(prefers-reduced-motion:reduce){.flying .exhaust{animation:none;display:none}}

/* Motion V3: one renderer keeps the ship, nozzle, trail and burst aligned. */
#rocket{display:none}
#crashStatus{max-width:1120px;margin:0 auto;padding:6px 22px;color:#ffcc4d;display:flex;align-items:center;gap:8px;flex-wrap:wrap}#crashStatus button{min-height:44px;padding:0 12px;border-radius:10px}@media(max-width:760px){#crashStatus{padding:4px 8px;font-size:10px}}

.flying .multiplier[data-tier="blue"],.flying .multiplier[data-tier="blue"] span{color:var(--blue)}
.flying .multiplier[data-tier="purple"],.flying .multiplier[data-tier="purple"] span{color:var(--accent)}
.flying .multiplier[data-tier="gold"],.flying .multiplier[data-tier="gold"] span{color:var(--gold)}

.mode-badge{color:#ffc94d;border-color:#ffc94d38;background:#ffc94d14}.round-top>span{display:flex;align-items:center;gap:8px}.global-history{min-width:44px;min-height:44px;flex-shrink:0;border:0;background:none;color:var(--muted);padding:0 4px;font-size:10px}.record-row .right{line-height:1.6;overflow-wrap:anywhere}

.history-button{min-width:44px;flex-shrink:0}

/* HEADER-BALANCE-INT-01：窄屏顶栏余额只显示整数，截断不进位（setHeaderBalance，见 public/trade/wallet-connect.js）。 */
.hb-narrow{display:none}
@media(max-width:760px){.mobile-balance .hb-wide{display:none}.mobile-balance .hb-narrow{display:inline}}
