* { box-sizing: border-box; margin: 0; padding: 0; }
:root { color-scheme: dark; --surface: #1b1c1d; --well: #141516; --line: #2c2d30; --muted: #83848a; --green: #28a909; --red: #e50539; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: #000; color: #fff; font: 14px/1.3 Inter, Arial, sans-serif; min-width: 280px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid #b2f2a3; outline-offset: 2px; }
button:disabled { cursor: default; }
button { border: 0; }
.hide { display: none !important; }
.text-success { color: var(--green) !important; }
.t1 { color: #34b4ff; }
.t2 { color: #913ef8; }
.t3 { color: #c017b4; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-small { width: 12px; height: 12px; }
.icon-green { color: #28a90d; }
.icon-button { background: transparent; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 auto; padding: 2px; color: #83848a; border-radius: 5px; }
.icon-button:hover { color: #fff; background: #ffffff08; }
.balance-bar { height: 40px; flex: 0 0 40px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; padding: 0 8px; position: relative; z-index: 100; }
.game-logo { display: block; width: 72px; height: 32px; overflow: visible; }
.bar-right { display: flex; align-items: center; gap: 7px; }
.wallet-display { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.wallet-amount { color: #28a90d; font-size: 15px; font-weight: 700; }
.wallet-currency { color: #c0c0c3; font-size: 12px; font-weight: 400; }
.menu-icon { border-left: 1px solid #303133; border-radius: 0; padding-left: 6px; width: 30px; }
.chat-icon { color: #a0a0a2; }
.main-container { width: 100%; display: flex; flex-direction: column; flex: 1 0 auto; background: #000; }
.right-sidebar { order: 0; width: 100%; min-width: 0; }
.game-play { display: flex; flex-direction: column; gap: 4px; padding: 0 4px 4px; }
.history-top { height: 32px; min-height: 32px; z-index: 30; position: relative; margin-bottom: 4px; }
.stats { display: flex; align-items: center; height: 32px; position: relative; }
.payouts-wrapper { flex: 1; overflow: hidden; min-width: 0; }
.payouts-block { display: flex; align-items: center; gap: 14px; overflow: auto hidden; scrollbar-width: none; height: 32px; padding: 0 7px; white-space: nowrap; }
.payouts-block::-webkit-scrollbar { display: none; }
.hist-x { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-radius: 0; padding: 0; font-family: inherit; font-size: 12px; font-weight: 700; line-height: normal; cursor: pointer; flex-shrink: 0; }
.hist-x:hover { filter: brightness(1.3); }
.shadow-overlay { position: absolute; right: 42px; top: 0; width: 35px; height: 100%; background: linear-gradient(90deg, transparent, #000); pointer-events: none; z-index: 1; }
.button-block { flex: 0 0 auto; position: relative; }
.dots-toggle { display: flex; align-items: center; justify-content: center; gap: 2px; width: 42px; height: 22px; border: 1px solid #414145; border-radius: 13px; background: #1b1c1d; color: #b0b0b3; }
.dots-toggle > .icon:first-child { width: 17px; height: 17px; }
.history-dropdown { display: none; position: absolute; right: 0; top: 29px; width: min(360px, calc(100vw - 16px)); max-height: 300px; overflow-y: auto; padding: 12px; background: #1b1c1d; border: 1px solid #36373a; border-radius: 12px; box-shadow: 0 8px 30px #000a; }
.button-block.show .history-dropdown { display: block; }
.history-dropdown-title { font-size: 12px; color: #bbb; margin-bottom: 10px; }
.round-history-list { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.stage-board { position: relative; flex: 0 0 auto; height: 200px; min-height: 200px; width: 100%; overflow: hidden; border: 1px solid #333; border-radius: 20px; background: #000; isolation: isolate; }
.rotateimage { position: absolute; z-index: 0; pointer-events: none; background: url('/aviator-v2/assets/reference/uploaded-rays.svg') center / 100% 100% no-repeat; opacity: 1; transform-origin: center; }
.rotatebg { animation: none; transform: rotate(4deg); }
.stage-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(50,125,172,.65), rgba(35,95,134,.32) 30%, transparent 70%); opacity: 0; transition: opacity .15s; }
.stage-glow[data-tier="t2"] { background: radial-gradient(ellipse at 50% 50%, rgba(110,52,184,.65), rgba(66,26,116,.32) 30%, transparent 70%); }
.stage-glow[data-tier="t3"] { background: radial-gradient(ellipse at 50% 50%, rgba(149,34,146,.65), rgba(94,17,91,.32) 30%, transparent 70%); }
canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; z-index: 2; }
.counter-num { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); z-index: 10; text-align: center; white-space: nowrap; }
.counter-num #auto_increment_number, .counter-num #auto_increment_number span { font: 700 64px/1 Inter, Arial, sans-serif; color: inherit; letter-spacing: -1.5px; }
.counter-num.crashed { color: #d0021b; }
.flew_away_section { color: #fff; font-size: 20px; line-height: 1.2; font-weight: 400; margin-bottom: 6px; letter-spacing: .5px; }
.loading-game { position: absolute; inset: 0; z-index: 8; display: none; align-items: center; justify-content: center; }
.loading-game.show { display: flex; }
.center-loading { display: flex; align-items: center; flex-direction: column; text-align: center; }
.loading-mark { width: 98px; height: 60px; }
.loading-mark svg { width: 100%; height: 100%; }
.waiting-text { font-size: 15px; line-height: 20px; font-weight: 500; color: #fff; margin-top: 9px; letter-spacing: .3px; }
.line-loader { height: 4px; width: 180px; margin-top: 13px; background: #ffffff22; border-radius: 3px; overflow: hidden; }
.fill-line { height: 100%; width: 0; background: #e50539; border-radius: 3px; animation: fill-line 5s linear forwards; }
@keyframes fill-line { from { width: 100%; } to { width: 0; } }
.online-pill { position: absolute; bottom: 7px; right: 9px; z-index: 12; display: flex; align-items: center; gap: 4px; color: #777; font-size: 10px; }
.online-dot { width: 4px; height: 4px; border-radius: 50%; background: #28a90d; }
.connecting-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 50; background: #000e; font-size: 14px; color: #aaa; }
.bet-controls { display: flex; flex-direction: column; gap: 4px; }
.bet-control { width: 100%; min-width: 0; }
.controls { position: relative; padding: 10px 12px 12px; min-height: 144px; border: 1px solid #2c2d30; border-radius: 20px; background: #1b1c1d; }
.bet-mode { width: 208px; max-width: 70%; height: 24px; border-radius: 16px; background: #141516; display: flex; margin: 0 auto 8px; padding: 0; }
.bet-mode-tab { width: 50%; border-radius: 16px; background: transparent; color: #9b9b9d; font-size: 12px; line-height: 24px; }
.bet-mode-tab.active { background: #2c2d30; color: #fff; }
.second-bet-toggle { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; position: absolute; top: 11px; right: 10px; border: 1px solid #56575a; border-radius: 50%; background: #141516; color: #a1a1a4; }
.second-bet-toggle .icon { width: 14px; height: 14px; }
.first-row { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 480px; margin: 0 auto; }
.bet-block { width: 140px; flex: 0 0 140px; display: flex; flex-direction: column; gap: 4px; }
.spinner { display: flex; align-items: center; height: 32px; padding: 0 4px; border-radius: 16px; background: #141516; }
.spinner .input { min-width: 0; flex: 1; height: 100%; }
.spinner input { display: block; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 18px; font-weight: 600; text-align: center; padding: 0 2px; }
.step-btn { display: flex; align-items: center; justify-content: center; flex: 0 0 24px; width: 24px; height: 24px; border: 1px solid #5b5c60; border-radius: 50%; background: #141516; color: #9a9a9c; padding: 3px; }
.step-btn .icon { width: 16px; height: 16px; stroke-width: 1.5; }
.step-btn:hover { background: #2c2d30; color: #fff; }
.bets-opt-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.bet-opt { height: 24px; line-height: 24px; border-radius: 12px; background: #141516; color: #83848a; font-size: 14px; font-weight: 400; padding: 0; }
.bet-opt:hover { color: #fff; background: #2c2d30; }
.buttons-block { flex: 1; min-width: 0; padding: 4px; background: #141516; border-radius: 16px; }
.buttons-block button { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; min-height: 80px; border: 1px solid #b2f2a3; border-radius: 12px; gap: 0; transition: background .12s; }
.buttons-block .btn-success { background: #28a909; color: #fff; }
.buttons-block .btn-success:hover:not(:disabled) { background: #2cb90b; }
.buttons-block .btn-danger { background: #cb011a; color: #fff; border-color: #ff7f91; }
.buttons-block .btn-warning { background: #d07206; color: #fff; border-color: #ffcc88; }
.buttons-block .label { font-size: 22px; line-height: 27px; font-weight: 400; pointer-events: none; }
.buttons-block .sub-label { font-size: 22px; line-height: 27px; font-weight: 400; pointer-events: none; white-space: nowrap; }
.buttons-block .sub-label .currency { font-size: 18px; }
.buttons-block .queued-next .sub-label { font-size: 10px; line-height: 14px; font-weight: 400; color: #ffe8e8; white-space: normal; max-width: 150px; }
.buttons-block button:disabled { opacity: .72; }
.auto-footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 39px; padding-top: 8px; max-width: 480px; margin: 0 auto; }
.auto-option { display: flex; align-items: center; gap: 6px; color: #aaa; font-size: 12px; white-space: nowrap; cursor: pointer; position: relative; }
.toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track { position: relative; display: block; flex: 0 0 auto; width: 28px; height: 16px; border-radius: 9px; background: #141516; border: 1px solid #4c4d50; transition: background .15s; }
.toggle-track::after { content: ''; display: block; position: absolute; width: 12px; height: 12px; left: 1px; top: 1px; background: #78797b; border-radius: 50%; transition: transform .15s; }
.toggle-input:checked + .toggle-track { background: #28a909; border-color: #28a909; }
.toggle-input:checked + .toggle-track::after { transform: translateX(12px); background: #fff; }
.toggle-input:focus-visible + .toggle-track { outline: 2px solid #b2f2a3; outline-offset: 2px; }
.auto-cashout-value { width: 74px; min-width: 45px; height: 28px; padding: 0 6px; border: 1px solid #414246; border-radius: 16px; background: #141516; color: #ddd; font-size: 14px; text-align: center; }
.auto-cashout-value::-webkit-inner-spin-button { appearance: none; }
.add-second-bet { display: flex; justify-content: center; align-items: center; gap: 6px; height: 36px; background: #1b1c1d; border: 1px solid #333; color: #aaa; border-radius: 14px; }
.add-second-bet .icon { width: 18px; height: 18px; }
.left-sidebar { display: flex; flex-direction: column; order: 1; width: 100%; min-width: 0; height: 488px; padding: 0 4px 4px; }
.tabs-navs { display: flex; justify-content: center; align-items: center; height: 40px; flex: 0 0 40px; background: #1b1c1d; border-radius: 16px 16px 0 0; }
.nav-pills { position: relative; display: flex; align-items: center; width: 280px; height: 24px; border-radius: 16px; background: #141516; overflow: hidden; }
.nav-item { width: 33.333%; z-index: 1; }
.nav-item button { display: block; width: 100%; height: 24px; padding: 0; background: transparent; color: #83848a; font-size: 12px; font-weight: 400; }
.nav-item.active button { color: #fff; }
.active-line { position: absolute; top: 0; left: 0; height: 24px; width: 33.333%; border-radius: 16px; background: #2c2d30; transition: left .15s; }
.nav-item:nth-child(2).active ~ .active-line { left: 33.333%; }
.nav-item:nth-child(3).active ~ .active-line { left: 66.666%; }
.contents-blocks { display: flex; flex-direction: column; flex: 1; min-height: 0; background: #1b1c1d; border-radius: 0 0 16px 16px; padding: 0 8px; color: #aaa; overflow: hidden; }
#allbetsPanel, #previousPanel, #mybetsPanel, #topPanel { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.round-stats { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 2px 5px; }
.rs-bets { display: flex; flex-direction: column; color: #aaa; font-size: 12px; }
.rs-bets b { color: #fff; font-size: 16px; font-weight: 500; }
.rs-total { display: none; }
.rs-right { text-align: right; }
.rs-win { color: #fff; font-size: 15px; }
.rs-dim { font-size: 10px; color: #777; }
.rs-progress { height: 3px; background: #111213; border-radius: 2px; overflow: hidden; margin-bottom: 7px; }
.rs-progress-fill { height: 100%; width: 0; background: #28a909; transition: width .3s; }
.list-header { display: flex; align-items: center; justify-content: space-between; min-height: 24px; color: #68696b; font-size: 10px; padding: 0 5px; }
.list-body { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: #3c3d40 transparent; }
.column-1 { width: 30%; text-align: left; }
.column-2 { width: 23%; text-align: center; }
.column-3 { width: 20%; text-align: center; }
.column-4 { width: 27%; text-align: right; }
.list-items { display: flex; align-items: center; justify-content: space-between; min-height: 34px; padding: 3px 6px; margin-bottom: 2px; border: 1px solid transparent; border-radius: 10px; background: #101112; color: #bbb; font-size: 12px; }
.list-items.cashed-out { border-color: #235c0d; background: #143007; }
.list-items .users { display: flex; align-items: center; gap: 5px; color: #83848a; }
.avatar-img { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: #3b3c40; object-fit: cover; }
.username-text { max-width: 65px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.x-val { font-size: 12px; font-weight: 700; }
.win-val { color: #fff; }
.no-bets-msg { padding: 35px 10px; text-align: center; color: #777; font-size: 12px; }
.activity-mode-notice { display: flex; flex: 0 0 auto; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 6px; padding: 6px 8px; border-radius: 8px; background: #141516; color: #a3a3a3; font-size: 10px; line-height: 14px; }
.activity-mode-notice[hidden] { display: none; }
.activity-mode-badge, .demo-tag { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 1px 4px; border-radius: 4px; background: #303140; color: #c3c5ef; font-size: 9px; line-height: 12px; font-weight: 500; }
.activity-mode-badge { font-size: 10px; }
.demo-participant-count { margin-left: auto; }
.activity-own-heading { margin: 6px 4px 2px; color: #ccc; font-size: 11px; font-weight: 600; }
.own-real-bets { padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid #303134; }
.simulated-bet .users { gap: 4px; }
.simulated-bet .username-text { max-width: 48px; flex-shrink: 1; }
.demo-activity-rows { min-width: 0; }
.demo-top-controls { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 6px 4px; background: #1b1c1d; color: #a3a3a3; font-size: 11px; }
.demo-top-controls > div { display: flex; padding: 3px; gap: 2px; border-radius: 20px; background: #141516; }
.demo-top-controls button { min-width: 44px; padding: 3px 10px; border: 0; border-radius: 16px; color: #a3a3a3; background: transparent; font: inherit; }
.demo-top-controls button.active { color: #ebebeb; background: #2c2d30; }
.demo-top-card { margin: 4px 0 8px; padding: 10px; border-radius: 14px; background: #101112; color: #bbbfc5; font-size: 12px; }
.demo-top-card header { display: flex; align-items: center; gap: 6px; background: transparent; }
.demo-top-card header .demo-tag { margin-left: auto; }
.demo-top-result { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0 8px; }
.demo-top-result .x-val { font-size: 18px; }
.demo-top-result .win-val { color: #b2f2a3; font-size: 15px; font-weight: 600; }
.demo-top-card footer { color: #7b7b7b; font-size: 10px; overflow-wrap: anywhere; }
.sidebar-footer { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 10px 1px; margin-top: 4px; font-size: 10px; border-top: 1px solid #2b2c2e; }
.pf-line { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #83848a; background: transparent; }
.pf-line .icon { width: 15px; height: 15px; }
.powered-by { color: #666; font-size: 9px; white-space: nowrap; }
.powered-by b { color: #aaa; font-weight: 600; }
.menu-panel { display: none; position: absolute; top: var(--game-header-bottom, 40px); right: 4px; width: min(300px, calc(100vw - 8px)); padding: 0 12px; border: 1px solid #38393b; border-radius: 0 0 14px 14px; z-index: 200; background: #252628; box-shadow: 0 12px 30px #0009; }
.menu-panel.show, .menu-panel.open { display: block; }
.menu-profile { display: flex; align-items: center; gap: 9px; min-height: 60px; color: #ddd; font-size: 14px; }
.menu-profile > .icon-button { margin-left: auto; }
.profile-avatar { width: 31px; height: 31px; border-radius: 50%; background: #36373a; color: #7e7f84; text-align: center; line-height: 31px; }
.menu-setting { min-height: 39px; display: flex; justify-content: space-between; align-items: center; color: #ccc; font-size: 13px; cursor: pointer; position: relative; }
.menu-setting > span { display: flex; align-items: center; gap: 10px; }
.menu-panel .icon { width: 19px; height: 19px; color: #919295; }
.menu-divider { height: 1px; background: #3b3c3e; margin: 7px 0; }
.menu-panel > button { display: flex; align-items: center; gap: 10px; width: 100%; background: transparent; padding: 10px 0; text-align: left; font-size: 13px; color: #ccc; }
.menu-panel > button:hover { color: #fff; }
.menu-footer { padding: 15px 0 12px; text-align: center; font-size: 10px; color: #777; letter-spacing: 1px; }
.chat-panel { display: none; flex-direction: column; position: fixed; left: 0; right: 0; top: var(--game-header-bottom, 40px); bottom: 0; width: 100%; background: #1b1c1d; border-left: 1px solid #36373a; z-index: 250; box-shadow: -5px 0 25px #0008; }
.chat-panel.show, .chat-panel.open { display: flex; }
.chat-header { flex: 0 0 48px; min-height: 48px; background: #2c2d30; }
.chat-online { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 14px; color: #83848a; font-size: 11px; }
.chat-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 12px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
.chat-empty { padding: 36px 16px; text-align: center; color: #777; font-size: 13px; }
.chat-message { margin: 0 0 10px; padding: 9px 11px; border-radius: 10px; background: #26272a; color: #c6c6c8; overflow-wrap: anywhere; }
.chat-message header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.chat-message strong { font-size: 12px; color: #a5a5aa; font-weight: 500; }
.chat-message time { color: #737378; font-size: 10px; }
.chat-message p { font-size: 13px; line-height: 1.45; white-space: pre-wrap; }
.chat-form { flex: 0 0 auto; display: flex; gap: 7px; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #353639; background: #242527; }
.chat-form input { flex: 1; min-width: 0; height: 38px; border: 1px solid #44464b; border-radius: 8px; padding: 0 10px; background: #141516; color: #ddd; font-size: 13px; }
.chat-form button { flex: 0 0 60px; border-radius: 8px; background: #28a909; color: #fff; font-size: 13px; }
.chat-form input:disabled, .chat-form button:disabled { opacity: .45; cursor: default; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.game-notice { display: none; position: fixed; top: calc(var(--game-header-bottom, 40px) + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: min(400px, calc(100vw - 24px)); padding: 10px 15px; border: 1px solid #595a60; border-radius: 10px; background: #2c2d30f5; color: #f1f1f3; box-shadow: 0 6px 20px #0009; font-size: 12px; line-height: 1.5; text-align: center; z-index: 550; pointer-events: none; }
.game-notice.show { display: block; }
.client-seed-form { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.client-seed-form input { flex: 1; min-width: 0; height: 34px; padding: 0 9px; border: 1px solid #424348; border-radius: 8px; background: #141516; color: #ddd; font: 12px monospace; }
.client-seed-form button { min-height: 34px; padding: 0 14px; border: 1px solid #719d64; border-radius: 8px; background: #235f13; color: #fff; font-size: 12px; }
#clientSeedStatus { color: #83848a; font-size: 10px; line-height: 1.5; }
.custom-toaster { position: fixed; top: calc(var(--game-header-bottom, 40px) + 15px); left: 50%; transform: translateX(-50%); width: min(340px, calc(100vw - 24px)); z-index: 400; }
.cashout-toaster { display: none; position: relative; padding: 10px 18px; border: 1px solid #7ee235; border-radius: 14px; background: #409711; box-shadow: 0 8px 30px #0008; }
.cashout-toaster.show { display: block; }
.cashout-stop { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; padding-right: 15px; }
.cashout-title { font-size: 12px; font-weight: 600; color: #fff; }
.stop-number { color: #fff; font-size: 20px; font-weight: 700; }
.got-block { padding: 5px 10px; border-radius: 9px; background: #eafbe0; text-align: center; }
.cashout-win-title { font-size: 10px; color: #0d1a0d; }
.out-amount { font-size: 22px; color: #2c6b0a; font-weight: 700; }
.toaster-close { position: absolute; top: 2px; right: 2px; color: #eafbe0; width: 22px; height: 22px; }
.toaster-close .icon { width: 17px; height: 17px; }
.pf-modal { display: none; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 500; background: #000a; padding: 12px; }
.pf-modal.show { display: flex; }
.pf-dialog { display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: 88vh; background: #1b1c1d; border: 1px solid #3a3b3e; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px #000b; }
.pf-dialog-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 8px 15px; border-bottom: 1px solid #333438; }
.pf-dialog-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.pf-dialog-body { padding: 16px; overflow-y: auto; color: #aaa; font-size: 12px; line-height: 1.6; }
.pf-dialog-body h3 { color: #fff; font-size: 14px; margin: 14px 0 5px; }
.pf-dialog-body h3:first-child { margin-top: 0; }
.pf-dialog-body p { margin-bottom: 12px; }
.pf-dialog-body ul, .pf-dialog-body ol { padding-left: 19px; margin: 8px 0 14px; }
.pf-dialog-body li { margin-bottom: 5px; }
.pf-dialog-body table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pf-dialog-body th, .pf-dialog-body td { padding: 8px 5px; text-align: left; border-bottom: 1px solid #333; }
.pf-intro { margin-bottom: 16px; }
.pf-intro b { color: #fff; }
.pf-section { margin-bottom: 16px; }
.pf-label { margin-bottom: 6px; color: #777; font-size: 10px; font-weight: 600; }
.pf-code { padding: 8px 10px; background: #101112; border: 1px solid #333; border-radius: 8px; font: 11px/1.5 monospace; color: #51ba3c; word-break: break-all; }
.pf-round-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-round-item { padding: 5px 10px; border: 1px solid #333; border-radius: 8px; background: #101112; font-size: 12px; font-weight: 700; cursor: pointer; }
.pf-round-item:hover { border-color: #28a909; }
.pf-verify { padding: 12px; margin-top: 8px; border: 1px solid #333; border-radius: 10px; background: #141516; }
.pf-vrow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #292a2d; font-size: 11px; }
.pf-vrow > span { color: #777; flex-shrink: 0; }
.pf-vrow code { font: 10px/1.5 monospace; text-align: right; word-break: break-all; }
.pf-vrow b { color: #fff; }
.pf-verdict { padding: 8px; margin-top: 10px; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 600; }
.pf-verdict.ok { background: #28a90d22; color: #47c920; }
.pf-verdict.fail { background: #e5053922; color: #ff5470; }
.pf-verdict.checking { background: #101112; color: #929294; }
@media (min-width: 480px) and (max-width: 799px) { .stage-board { height: clamp(200px, 45vw, 320px); } .game-play { padding-right: 6px; padding-left: 6px; } .left-sidebar { padding-right: 6px; padding-left: 6px; } }
@media (max-width: 360px) { .controls { padding-right: 8px; padding-left: 8px; } .bet-block { flex-basis: 124px; width: 124px; } .first-row { gap: 5px; } .buttons-block .sub-label { font-size: 19px; } .auto-footer { gap: 5px; } .auto-option { font-size: 10px; gap: 4px; } .auto-cashout-value { width: 60px; } .counter-num #auto_increment_number, .counter-num #auto_increment_number span { font-size: 58px; } }
@media (min-width: 800px) {
  body { height: 100vh; height: 100dvh; overflow: hidden; }
  .chat-panel { left: auto; width: 360px; }
  .game-logo { width: 88px; height: 34px; }
  .main-container { flex-direction: row; flex: 1 1 0; height: auto; min-height: 0; }
  .left-sidebar { order: 0; flex: 0 0 320px; width: 320px; height: 100%; padding: 5px 0 5px 5px; }
  .right-sidebar { order: 1; flex: 1; min-width: 0; }
  .game-play { height: 100%; padding: 0 5px 5px; }
  .history-top { margin-bottom: 0; }
  .stage-board { flex: 1; height: auto; min-height: 240px; }
  .counter-num #auto_increment_number, .counter-num #auto_increment_number span { font-size: 110px; letter-spacing: -2px; }
  .flew_away_section { font-size: 30px; }
  .bet-controls { flex-direction: row; align-items: stretch; gap: 4px; }
  .bet-control { width: 50%; flex: 1; }
  .controls { padding: 10px 8px 12px; height: 100%; }
  .bet-block { flex: 0 1 140px; min-width: 100px; }
  .buttons-block .sub-label { font-size: 20px; }
  .waiting-text { font-size: 20px; }
  .loading-mark { width: 140px; height: 85px; }
}
@media (min-width: 800px) and (max-width: 1040px) { .left-sidebar { flex-basis: 280px; width: 280px; } .bet-mode { width: 150px; } .bet-block { width: 112px; flex-basis: 112px; } .buttons-block .sub-label, .buttons-block .label { font-size: 17px; } .first-row { gap: 4px; } .controls { padding-right: 5px; padding-left: 5px; } .auto-footer { flex-wrap: wrap; gap: 4px; } .auto-option { font-size: 10px; gap: 4px; } .auto-cashout-value { width: 65px; } }
@media (prefers-reduced-motion: reduce) { .rotatebg { animation: none; } * { transition-duration: 0s !important; } }
