@font-face{font-family:Sora;src:url(/games-assets/aedaa86e6c486e31d231a062a882f0701193fbbdb953df2f94058ff473a38255/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}@media(hover:hover){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:10px;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}.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}.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(calc(260px - var(--status-height,0px)),1fr) 112px;overflow:hidden}.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)}@media(hover:hover){.history-chip:hover{background:var(--edge2)}}.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:calc(260px - var(--status-height,0px));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:10px}.chart-footer span:nth-child(2){font-size:10px;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:10px;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:10px;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:10px;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:10px;background:#55c8f211;color:#7cc9df}.player-name{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#b1b6c7}.player-name small{font-size:10px;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:10px;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:10px;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}.controls label{display:block;font-size:10px;color:var(--muted);margin-bottom:7px;font-weight:700}.controls label>span{font-size:10px;color:var(--faint);margin-left:5px}.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}.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}@media(hover:hover){.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 svg{width:25px;height:25px;stroke-width:2.3}.control-status{position:absolute;top:2px;left:22px;right:22px;font-size:10px;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 - 24px);padding:0;border:1px solid #282b39;border-radius:20px;background:var(--surface);color:var(--text);box-shadow:0 30px 100px #0008;overflow:hidden}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:rgb(5 6 11 / 74%)}.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;outline:none}#modalClose{background:none;border:1px solid #343849;border-radius:10px}.modal-body{min-height:0;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}.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-status{font-size:11px;color:var(--red);line-height:1.8;margin-bottom: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)}.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)}
@media(max-width:1000px) and (min-width:761px){.arena{grid-template-columns:minmax(0,1fr) 190px}.primary{gap:8px}.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}.header-tools{gap:2px}.header-tools .text-tool{display:none}.square{border-radius:10px}.header-tools .square svg{width:19px;height:19px}.game-frame{height:calc(100dvh - 102px - env(safe-area-inset-bottom) - var(--status-height,0px));min-height:calc(500px - var(--status-height,0px));border-radius:0;border-left:0;border-right:0;grid-template-rows:44px minmax(calc(265px - var(--status-height,0px)),1fr) 158px}.history-chip{min-width:48px;font-size:10px}.arena{display:flex;flex-direction:column}.flight-space{flex:1;min-height:calc(225px - var(--status-height,0px));background-size:24px 24px}.round-top{top:12px;left:18px;right:16px;font-size:10px}.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:calc(108px + var(--status-height,0px));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:10px}.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:10px}.chart-footer span:nth-child(2){font-size:10px}.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:10px}.controls label{font-size:10px;margin-bottom: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}.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:10px;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}.primary svg{width:21px;height:21px}.control-status{top:-15px;left:12px;right:12px;text-align:right;font-size:10px;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:10px;margin-bottom:env(safe-area-inset-bottom)}.game-footer button{font-size:10px}.modal-header{height:66px;padding:0 18px}.modal-body{padding:18px;padding-bottom:calc(18px + env(safe-area-inset-bottom))}.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-field input{font-size:17px}.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:10px;margin-top:0;height:16px}.readout{top:18%}}
@media(max-height:740px) and (min-width:761px){.game-footer{height:44px}.game-frame{grid-template-rows:48px minmax(calc(260px - var(--status-height,0px)),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}.exhaust{display:none}}
@media(min-width:761px) and (max-width:1000px){.primary{gap:6px}}
@media(max-width:760px){.primary{margin-left:0;grid-column:1/-1}.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}.target-group label{font-size:10px;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}.control-status{top:-15px}}
@media(max-width:340px){.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}}

@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:10px;flex:none}.target-group .field{height:44px;width:62px;flex:1}}

.money-field input{height:100%}.game-footer button{min-width:44px}

@media(max-width:760px){.money-field{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) - var(--status-height,0px))}.game-footer{margin-bottom:var(--safe-bottom)}}

/* GAMES-WIN-LOSS-FEEDBACK-01 (DESIGN.md 顶部留位, card §1.1 decision 8): with the status strip hidden the readout stays under the
   top 44px of the flight space; while the strip shows (--status-height > 0) it keeps its 12% and C5 below, as before. */
@media(max-width:760px){.readout{top:max(12%,calc(44px - var(--status-height,0px)))}#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}
/* GAMES-SHARED-AUTO-STATUS-01: the status strip is the shared one above the game header (navigation.css .game-status); the overlay is gone.
   Amendment C1: the frame, its flight row and the flight space give up the strip's height (phone minimums above, desktop here, after
   the shared clamp), so the frame's bottom and #action stay where they are while the strip shows and hides. */
/* CRASH-LAYOUT-FIX-01 (owner 2026-12-01): the arena's one row is the frame's middle row, so a long player list scrolls inside the sidebar
   while the heading, the column names and the total stay put and the canvas keeps its height whatever the number of players. The
   list's scrollbar sits in #playersBody's 17px right padding, and every row is pinned to the column names' width, so a scrollbar
   never narrows a row. */
@media(min-width:761px){#frame{height:calc(clamp(500px,calc(100dvh - 200px),680px) - var(--status-height,0px))}.arena{grid-template-rows:minmax(0,1fr)}#playersBody{container-type:inline-size}#playerRows{overflow-y:auto;margin-right:-17px}.player-row{width:100cqw}}
/* Amendment C5: when the strip leaves the flight space under 200px (phones only; without the strip it is never that short: 200px
   portrait floor, 225px landscape, 260px desktop), the big readout keeps only its number, sized to the height it has and kept above
   the 自动领取 box, which shrinks to 32px at the foot of the flight space. The caption, the message, the round label, the chart footer
   and the countdown bar come back with the room. Size container queries and cqh units: Chrome/Edge 105, Safari 16, Firefox 110. */
#frame{container:frame/size}.flight-space{container:flight/size}
@media(max-width:760px){
 html[lang='en'] .target-group label{white-space:normal;text-align:center}
 @container flight (max-height:199px){.readout{top:4px}.multiplier{font-size:clamp(20px,calc(80cqh - 32px),68px)}#phaseCaption,.flight-message{display:none}.round-top>span,.chart-footer,.countdown-track{visibility:hidden}}
 /* The same condition seen from the controls: the frame's content box is 246px taller than the flight space. */
 @container frame (max-height:445px){
  .target-group{top:-78px;height:32px;padding:0 6px}
  .target-group label{min-height:28px}
  .target-group .field{height:28px;font-size:14px}
  /* Place the checkbox beside the two English lines in the smaller box. */
  html[lang='en'] .target-group label{position:relative;padding-left:12px}
  html[lang='en'] .target-group label input{position:absolute;left:-6px}
 }
}
@media(max-width:340px){@container flight (max-height:199px){.multiplier{font-size:clamp(20px,calc(80cqh - 32px),61px)}}}

.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)}

.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}



/* 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}}

/* GAMES-MOBILE-ONE-SCREEN-01: a portrait phone shows the whole game in one visual viewport. Crash has no status line above
   the game (a guest plays the demo), so the frame keeps its viewport-height formula; only its floors come down so a 600px
   screen fits. Header, recent row, players row and controls keep their size; the flight space keeps at least 200px. Short
   landscape keeps its earlier scrolling layout. */
@media(max-width:760px) and (orientation:portrait){
 .game-frame{min-height:calc(449px - var(--status-height,0px));grid-template-rows:44px minmax(calc(244px - var(--status-height,0px)),1fr) 158px}
 .flight-space{min-height:calc(200px - var(--status-height,0px))}
}
/* GAMES-GUEST-DEMO-01 amendment C: the guest login button sits right after the footer note. */
.guest-login{margin-left:8px;margin-right:auto}
/* GAMES-LAYOUT-FIX-01 amendment A: 「取消投注」 above keeps the family main-action build (125deg gradient, light 1px border,
   inset highlight, 3px solid shadow) in the light of the family dialogs' main button, apart from green bet, blue cash-out and
   red loss; disabled stays .45. The toast is the baccarat / hilo one for 「请先完成当前投注」. */
.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);border:1px solid var(--edge2);padding:12px 18px;border-radius:11px;background:#242936f5;color:var(--text);z-index:30;max-width:calc(100vw - 28px);font-size:12px;text-align:center;box-shadow:0 8px 30px #0006;pointer-events:none}

/* GAMES-SHARED-SHELL-01 part B: Crash's own auto cash-out field stays between the auto button and the main button; on narrower
   desktop windows the main button gives way (prototype README 11.3). The red line above the bet row reads at 10px (revision E). */
@media(min-width:761px){
.controls-bar .target-group{flex:0 0 146px;width:146px}
/* GAMES-WIN-LOSS-FEEDBACK-01 (DESIGN.md 触控区怎么量): the 自动领取 label takes the bar's top padding and its own gap to the field, a 44px tall tap on the checkbox with the same look.
   Its line is 14px on every platform (Linux fonts drew it 13px, a 43px tap), and 44px is the floor. Up to 760px high the bar's top padding
   is 12px, so the tap reaches 6px above the bar there, on purpose (Planner 2026-11-20, option A). */
.controls-bar .target-group label{margin:-23px 0 0;padding:23px 0 7px;line-height:14px;min-height:44px}
.controls-bar .target-group+.direction-buttons{flex:0 1 340px;width:auto;min-width:0}
.control-status{font-size:10px}
}

/* BYTEWIN-EN-GAME-POLISH-01: retain the shared phone control grid and reserve a
   44px auto-cash-out pocket just above it.  It sits above the footer time-axis
   band instead of taking a third control row, so 320px portrait keeps the main
   action visible and tappable. */
@media(max-width:760px){
 .game-frame .controls-bar{height:158px;grid-template-rows:58px 63px;padding:22px 14px 1px}
 .chart-footer{bottom:0}
 .game-frame .controls-bar .target-group{position:absolute;grid-column:auto;grid-row:auto;right:16px;top:-103px;width:130px;height:44px;display:flex;flex-direction:row;align-items:center;gap:6px;padding:1px 6px;background:#141b24e8;border-color:#343f4d}
 .game-frame .controls-bar .target-group label{width:44px;min-height:44px;flex:none;flex-direction:column;justify-content:center;gap:3px;margin:0;font-size:10px;white-space:normal;text-align:center}
 .game-frame .controls-bar .target-group .field{height:44px;width:62px;flex:1;min-width:0;padding:0;text-align:center}
}
@media(max-width:340px){.game-frame .controls-bar .target-group{right:0;width:104px;gap:4px;padding:0 4px}.game-frame .controls-bar .target-group .field{width:44px}}
@media(max-width:760px) and (orientation:portrait){
 @container frame (max-height:445px){
  /* The shared status strip can leave less than 200px for the flight.  Preserve
     its readout rather than overlay it with a smaller auto-cash-out control. */
  .game-frame .controls-bar .target-group{display:none}
 }
}
/* CRASH-LAYOUT-FIX-01 (owner 2026-12-01): phones show only #chartElapsed, centred; the 0s and scale ends of the time axis stay on desktop. */
@media(max-width:760px){.chart-footer{justify-content:center}.chart-footer>span:not(#chartElapsed){display:none}}
