:root{color-scheme:dark;--bg:#101110;--panel:#191b19;--line:#2c2e2b;--muted:#8e958d;--yellow:#f0cb45;--green:#58c79a;--red:#ef7776}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f2f3ed;font:15px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:2px solid var(--yellow);outline-offset:4px}button:disabled{cursor:not-allowed;opacity:.4}header{height:88px;padding:0 5%;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:35px}.brand{display:flex;align-items:center;color:#f8f9f0;text-decoration:none;letter-spacing:2px;font-weight:800;font-size:21px;gap:4px}.brand>span:not(.logo){color:var(--yellow)}.logo{display:grid;place-items:center;background:var(--yellow);color:#171a13;width:36px;height:36px;border-radius:10px;margin-right:10px;font-style:italic}nav{display:flex;align-self:stretch;margin-left:50px;gap:35px}.nav{border:0;background:none;color:var(--muted);position:relative}.nav.active{color:var(--yellow)}.nav.active:after{content:'';position:absolute;bottom:0;height:3px;background:var(--yellow);left:0;right:0}.demo{margin-left:auto;color:var(--yellow);border:1px solid #645729;border-radius:5px;padding:4px 12px;font-size:13px}.avatar{border:1px solid #454941;background:#22251f;border-radius:50%;height:32px;width:32px}main{max-width:1320px;margin:auto;padding:44px 38px 0}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px}.eyebrow{font-size:12px;color:var(--muted);letter-spacing:2px}h1{font-size:36px;line-height:1.4;margin:12px 0 4px;letter-spacing:1px}h1 span{color:var(--yellow)}.intro p{color:var(--muted);margin:8px 0}.wallet{min-width:290px;border-left:1px solid #464839;padding-left:30px;display:flex;flex-direction:column;gap:3px}.wallet>span{color:#b0b5a9;font-size:14px}.coin-small{color:var(--yellow);float:right}.wallet strong{font-size:32px;letter-spacing:1px}.wallet small{font-size:12px;color:var(--muted)}.notice{display:flex;align-items:center;gap:12px;padding:13px 18px;background:#232319;color:#c6bd8c;border:1px solid #383523;border-radius:7px;margin:30px 0;font-size:13px}.notice>span:first-child{color:var(--yellow);font-size:20px}.notice-right{margin-left:auto;color:#9b9988}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}h2{font-size:18px;margin:0}.section-title h2>span{color:#686d62;font-size:12px;padding-left:12px}.muted{font-size:13px;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(320px,1fr);gap:22px}.panel{border:1px solid var(--line);border-radius:14px;background:var(--panel)}.market{padding:28px 28px 0;background:radial-gradient(ellipse at 25% 0%,#30302355,transparent 55%),var(--panel)}.market-top,.asset,.price-row{display:flex;align-items:center}.market-top{justify-content:space-between}.asset{gap:12px}.bitcoin{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;color:white;background:#f59c20;font-size:34px;font-weight:700;transform:rotate(12deg)}.asset h2{font-size:21px}.asset h2 span{font-size:14px;color:var(--muted);font-weight:400}.asset small{color:var(--muted);font-size:12px}.live{font-size:12px;background:#202e25;color:var(--green);padding:5px 10px;border-radius:5px}.price-row{justify-content:space-between;margin:28px 0}.price-row strong{display:block;font-size:43px;font-weight:600;letter-spacing:-1px;font-variant-numeric:tabular-nums}.price-row #change{color:var(--green);font-size:13px}.open{text-align:right;display:flex;flex-direction:column;gap:7px}.open span{color:var(--muted);font-size:13px}.open b{font-weight:500;font-variant-numeric:tabular-nums}.chart-heading{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.chart-heading b{font-weight:400;color:var(--yellow);margin-left:12px}.chart{height:220px;margin-top:20px}svg{height:100%;width:100%;overflow:visible}.chart-times{display:flex;justify-content:space-between;color:#797f74;font-size:12px;margin:12px 0 22px}.past{display:flex;align-items:center;border-top:1px solid var(--line);padding:19px 0;gap:14px;font-size:12px;color:var(--muted)}#rounds{display:flex;gap:5px;flex-wrap:wrap}#rounds i{font-style:normal;background:#233a2f;color:var(--green);border-radius:4px;padding:2px 4px}#rounds i.down{background:#402c2b;color:var(--red)}.past small{margin-left:auto;white-space:nowrap}.prediction{padding:24px}.prediction-top{display:flex;justify-content:space-between;align-items:center}.prediction-top>span{font-size:12px;color:var(--muted)}.countdown{display:flex;align-items:center;flex-direction:column;padding:23px 0 20px}.countdown>span{font-size:13px;color:var(--yellow)}.countdown strong{font-size:48px;letter-spacing:3px;font-variant-numeric:tabular-nums;line-height:1.5;font-weight:500}.countdown small{font-size:12px;color:var(--muted)}.progress{width:100%;height:3px;background:#33352d;margin-top:20px;border-radius:5px}.progress i{display:block;height:100%;background:var(--yellow);transition:width 1s linear}.amount-label{display:flex;justify-content:space-between;font-size:13px}.amount-label>span{color:var(--muted)}.amount-label b{color:var(--yellow);font-weight:500}.amounts{display:flex;gap:7px;margin:12px 0 18px}.amounts button{flex:1;padding:9px 0;background:#242721;border:1px solid #373c32;border-radius:6px;font-size:14px}.amounts .selected{background:#3a3520;border-color:var(--yellow);color:var(--yellow)}.directions{display:flex;gap:12px}.directions button{display:flex;align-items:center;flex-direction:column;flex:1;border-radius:9px;padding:10px 3px 15px}.directions #up{background:#213d30;border:1px solid #3b795a;color:#7ae3ac}.directions #down{background:#402a29;border:1px solid #80504a;color:#ff9a94}.directions button>span{font-size:28px;line-height:1.2}.directions b{font-size:20px;margin:5px}.directions small{font-size:11px;opacity:.75}.return{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:15px}.return b{color:#d3d8cb;font-weight:400}.current{text-align:center;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:12px;color:#b6bfab}#cancel{display:block;margin:8px auto 0;border:0;background:none;font-size:12px;text-decoration:underline;color:var(--muted)}.how{display:grid;grid-template-columns:1fr 1fr 1fr;padding:28px 0;gap:25px}.how>div{display:flex;align-items:center;gap:16px}.how>div>span{font-size:29px;font-weight:300;color:#625a38}.how p{margin:0}.how b{display:block;font-size:14px;font-weight:500}.how small{color:var(--muted);font-size:12px}.records{padding:24px;margin-top:8px}.records .section-title>span{color:var(--muted);font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left;font-size:13px}th{color:var(--muted);font-weight:400;padding:12px;background:#20231e}td{padding:16px 12px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted);font-size:12px}td:last-child{color:var(--yellow)}#empty{text-align:center;padding:28px 0;color:var(--muted)}#empty>span{font-size:32px;color:#716d4c}#empty h3{color:#c5cabb;font-size:14px;font-weight:400}#empty p{font-size:12px}footer{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:30px 0;color:#747d6e;font-size:11px}footer .brand{font-size:14px}footer small{color:var(--yellow);font-size:10px}dialog{background:#1c211a;border:1px solid #525840;border-radius:16px;color:#eff1e8;padding:34px;max-width:480px;width:90%;box-shadow:0 25px 100px #000}dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}dialog h2{font-size:26px;margin:15px 0}dialog p{font-size:15px;color:#b8c1b0;line-height:1.9}#closeRules{float:right;background:none;border:0;font-size:24px}.primary{width:100%;background:var(--yellow);border:0;color:#171a13;border-radius:8px;padding:12px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#e8cf75;color:#161910;padding:12px 22px;border-radius:8px;box-shadow:0 10px 40px #0007;display:none;z-index:5;max-width:90%}.positive{color:var(--green)}.negative{color:var(--red)}@media(min-width:1400px){main{padding-top:50px}}@media(max-width:950px){header{padding:0 25px;gap:18px}nav{margin-left:10px;gap:20px}main{padding:30px 22px 0}.workspace{grid-template-columns:1fr}.chart{height:240px}.directions{gap:18px}.countdown{padding-top:15px}.prediction .directions button{padding:15px}.how{gap:10px}.how small{font-size:11px}.past small{display:none}}@media(max-width:600px){header{height:70px;padding:0 17px;gap:12px}.brand{font-size:17px}.logo{height:30px;width:30px;margin-right:4px}nav{margin-left:auto;gap:14px}.nav{font-size:13px}.demo{display:none}.avatar{width:27px;height:27px}main{padding:24px 16px 0}.intro{align-items:flex-start;gap:15px}h1{font-size:24px;margin-top:9px}.intro .eyebrow{font-size:9px;letter-spacing:1px}.intro p{font-size:12px}.wallet{min-width:0;border:0;padding:0;text-align:right}.wallet strong{font-size:23px}.wallet>span{font-size:11px}.wallet small{font-size:10px;max-width:120px}.coin-small{display:none}.notice{font-size:11px;margin:20px 0;padding:10px}.notice-right{display:none}.section-title .muted{display:none}.market{padding:20px 18px 0}.price-row strong{font-size:35px}.open b{font-size:14px}.open span{font-size:11px}.live{font-size:10px}.chart{height:185px}.past{gap:8px;align-items:flex-start}#rounds{gap:4px}.past>span{white-space:nowrap}#rounds i{padding:1px 3px;font-size:10px}.how{grid-template-columns:1fr;padding:22px 7px;gap:18px}.how small{font-size:12px}.how>div>span{font-size:22px}.how p{display:flex;align-items:center;gap:20px}.records{padding:18px 14px}footer{flex-wrap:wrap;gap:10px}footer>span:nth-child(2){order:3;width:100%;font-size:10px}.prediction{padding:22px}.price-row{margin:25px 0}.eyebrow{font-size:11px}}
@media(max-width:600px){.intro h1{font-size:19px;letter-spacing:0;white-space:nowrap}.wallet small{max-width:130px}.workspace{gap:16px}.prediction{grid-row:auto}.intro .eyebrow{letter-spacing:.5px}.notice{margin:16px 0}.prediction .countdown{padding:12px 0}.prediction .countdown strong{font-size:38px}.prediction .directions button{padding:8px 3px}.prediction .current{margin-top:13px;padding-top:10px}.prediction{padding:18px}.amounts{margin:9px 0 12px}}
/* Platform sections */
[hidden]{display:none!important}main{max-width:1160px;padding-top:30px}.header-login{background:#f0cb45;color:#171a13;border:0;border-radius:7px;padding:8px 15px;font-size:13px;font-weight:600}.desktop-nav{margin-left:45px}.desktop-nav .nav{font-size:15px;min-width:42px}.welcome-banner{min-height:280px;border:1px solid #51452a;border-radius:18px;background:radial-gradient(ellipse at 88% 30%,#a080252e,transparent 60%),linear-gradient(115deg,#23231a,#161812);padding:35px 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;overflow:hidden}.welcome-banner h1{font-size:32px;margin:10px 0;line-height:1.45}.welcome-banner p{font-size:14px;color:#b8baa7;margin-bottom:22px}.compact{width:auto;padding:10px 18px;font-size:14px}.compact span{margin-left:20px}.banner-reward{display:flex;flex-direction:column;align-items:flex-end;gap:12px}.banner-reward strong{font-size:64px;color:#f0cb45;font-weight:650;letter-spacing:-2px}.banner-reward strong span{font-size:25px;margin-left:8px}.banner-reward small{color:#b6ad8a;font-size:14px}.banner-reward>span{font-size:13px;color:#939682}.member-card{padding:25px 30px;margin:22px 0 32px}.member-top{display:flex;align-items:center;gap:18px}.user-icon{display:grid;place-items:center;font-size:32px;background:#252721;border:1px solid #3d4235;color:#969f85;border-radius:50%;width:58px;height:58px}.member-name{display:flex;flex-direction:column;gap:5px}.member-name strong{font-size:19px}.member-name small{font-size:13px;color:var(--muted)}.member-balance{margin-left:auto;text-align:right;display:flex;flex-direction:column}.member-balance>span{color:var(--muted);font-size:13px}.member-balance button{border:0;background:none;color:var(--muted)}.member-balance strong{font-size:30px;color:var(--yellow);font-variant-numeric:tabular-nums}.quick-links{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.quick-links button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:9px;color:#bfc4b8;font-size:13px}.quick-links button>span{font-size:25px;background:#272a22;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;color:var(--yellow)}.gold-title:before{content:'';display:inline-block;width:4px;height:18px;vertical-align:-3px;background:var(--yellow);border-radius:4px;margin-right:12px}.featured{width:100%;padding:23px 26px;text-align:left;background:radial-gradient(ellipse at 48% 45%,#322b232e,transparent 65%),#181a17;border-color:#49422b;transition:border-color .2s,transform .2s}.featured:hover{border-color:#b29a46;transform:translateY(-2px)}.featured-top{display:flex;align-items:center;gap:10px}.hot{background:#f2c600;color:#111;padding:4px 11px;border-radius:8px;font-weight:750;font-size:13px}.live-badge{background:#111;color:#bed5c8;padding:4px 10px;border-radius:8px;font-size:12px;letter-spacing:1px}.feature-source{margin-left:auto;color:#a3b49e;font-size:13px}.featured-price{display:flex;align-items:center;justify-content:center;gap:20px;padding:34px 0}.featured-price .bitcoin{height:56px;width:56px;font-size:41px}.featured-price strong{font-size:58px;letter-spacing:1px;font-variant-numeric:tabular-nums;color:var(--green)}.featured-bottom{display:flex;justify-content:space-between;align-items:center}.featured-bottom h2{font-size:25px}.featured-bottom p{color:var(--muted);margin:5px 0 0;font-size:14px}.enter{display:flex;gap:25px;align-items:center;background:#f0c400;color:#12150e;border-radius:40px;padding:10px 24px;font-size:18px;font-weight:600}.enter span{font-size:26px;line-height:1}.library-title{margin-top:30px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.guide-grid article{padding:22px}.guide-grid article>span{color:#b0a06d;font-size:24px}.guide-grid h3{font-size:15px;margin:10px 0 5px}.guide-grid p{font-size:13px;color:var(--muted);margin:0}.page-heading{margin:10px 0 30px}.page-heading h1{font-size:32px}.page-heading p{font-size:15px;color:var(--muted)}.benefit-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.reward-card{padding:30px;position:relative;background:radial-gradient(ellipse at 100% 0%,#6d5c242a,transparent 60%),var(--panel)}.reward-icon{display:block;font-size:40px;color:var(--yellow);line-height:1.4;margin-bottom:25px}.tag{position:absolute;right:26px;top:30px;border:1px solid #554c2c;color:#d4c78e;border-radius:20px;padding:4px 12px;font-size:12px}.reward-card h2{font-size:21px}.reward-amount{color:var(--yellow);font-size:42px;font-weight:600;margin:10px 0}.reward-amount small{font-size:14px;color:#a8ae9e;font-weight:400}.reward-card p{color:#a9b19f;font-size:14px;margin-bottom:24px}.reward-card>small{display:block;font-size:12px;color:var(--muted);margin-top:14px}.benefit-note{margin-top:22px;padding:26px 30px}.benefit-note h3{font-size:17px}.benefit-note p{color:var(--muted);font-size:14px}.text-button{border:0;background:none;color:var(--yellow);padding:5px 0;font-size:14px}.profile-card{padding:30px}.profile-identity{display:flex;align-items:center;gap:18px}.large{width:68px;height:68px;font-size:38px}.profile-identity h2{font-size:24px}.profile-identity p{color:var(--muted);font-size:13px;margin:6px 0}.profile-identity button{margin-left:auto}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);margin-top:25px;padding-top:25px}.profile-stats>div{display:flex;flex-direction:column;gap:6px}.profile-stats span{font-size:13px;color:var(--muted)}.profile-stats strong{font-size:29px;color:var(--yellow);font-weight:600}.account-menu{margin:22px 0;padding:0 25px}.account-menu button{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 0;width:100%;border:0;border-bottom:1px solid var(--line);text-align:left;background:none}.account-menu button:last-child{border:0}.account-menu button>span:first-child{font-size:16px}.account-menu small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.account-menu b{color:var(--muted);font-size:22px}.subtle-tag{color:var(--muted);font-size:12px;background:#292d24;border-radius:5px;padding:4px 8px}.logout-button{color:var(--red);padding:12px 20px;background:none;border:1px solid #603f36;border-radius:8px;width:100%}.record-tabs,.record-filters{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.record-tabs{border-bottom:1px solid var(--line);gap:24px}.record-tabs button{padding:10px 0;background:none;border:0;border-bottom:2px solid transparent;color:var(--muted)}.record-tabs button.selected{color:var(--yellow);border-color:var(--yellow)}.record-filters button{border:1px solid #373d30;background:#23271f;color:#a9b29d;border-radius:20px;padding:5px 13px;font-size:13px}.record-filters .selected{background:#3f3923;color:var(--yellow);border-color:#796b36}.reward-entry{display:flex;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);gap:15px}.reward-entry>span{font-size:23px;color:var(--yellow)}.reward-entry strong{font-size:14px}.reward-entry small{display:block;color:var(--muted);font-size:12px}.reward-entry b{margin-left:auto;color:var(--green);font-size:16px}.empty-message{text-align:center;padding:40px 10px;color:var(--muted);font-size:14px}.btc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.btc-toolbar>span{color:var(--muted);font-size:13px}.bottom-nav{display:none}.dialog-close{float:right;background:none;border:0;font-size:24px;color:#a2ac98}#authDialog h2{margin-bottom:5px}#authDialog>p{font-size:14px}#authForm label{display:block;font-size:14px;color:#c2cbb8;margin:14px 0 7px}#authForm input{display:block;width:100%;background:#131810;border:1px solid #3e4834;border-radius:7px;padding:12px;font-size:15px;color:#f5f6ee}#authForm input:focus{outline:1px solid var(--yellow);border-color:var(--yellow)}#authForm .auth-hint{font-size:12px;line-height:1.5;color:#9ea992;margin:13px 0}#authError{color:var(--red);font-size:13px;line-height:1.4;margin:8px 0}.auth-switch{display:block;border:0;background:none;color:var(--yellow);font-size:14px;margin:16px auto}.auth-divider{display:flex;align-items:center;gap:10px;color:#78856b;font-size:12px;margin:20px 0 14px}.auth-divider:before,.auth-divider:after{content:'';flex:1;background:#343f2b;height:1px}.telegram-button{width:100%;border:1px solid #36596a;border-radius:7px;padding:10px;background:#1b3039;color:#a3d5ed;font-size:14px}.telegram-button small{font-size:11px;color:#7f9ca9;margin-left:12px}#authDialog .telegram-hint{font-size:11px;line-height:1.4;color:#84927a;margin:12px 0 0}dialog{max-height:90vh;overflow:auto}.btc-toolbar+.notice{margin:20px 0}footer{margin-top:12px}
@media(max-width:700px){header{height:68px;padding:0 18px;gap:10px}.desktop-nav{display:none}.header-login{margin-left:auto;font-size:12px;padding:7px 10px}.demo{display:none}main{padding:18px 16px 110px}.welcome-banner{padding:24px 22px;min-height:230px;gap:14px;position:relative}.welcome-banner h1{font-size:24px;letter-spacing:0}.welcome-banner p{font-size:12px;max-width:205px;margin:12px 0 18px}.welcome-banner .eyebrow{font-size:10px;letter-spacing:1px}.banner-reward{align-items:flex-start;position:absolute;right:20px;bottom:27px;gap:4px}.banner-reward strong{font-size:30px;letter-spacing:-1px}.banner-reward strong span{font-size:14px;margin-left:3px}.banner-reward small{font-size:10px;max-width:90px}.banner-reward>span{display:none}.welcome-banner .compact{padding:9px 12px;font-size:12px}.compact span{margin-left:8px}.member-card{padding:20px 18px;margin:18px 0 26px}.member-top{gap:12px}.user-icon{height:44px;width:44px;font-size:27px;flex-shrink:0}.member-name strong{font-size:16px}.member-name small{font-size:11px;max-width:130px}.member-balance strong{font-size:23px}.member-balance>span{font-size:11px}.quick-links{padding-top:18px;margin-top:18px}.quick-links button{font-size:12px}.quick-links button>span{width:43px;height:43px;font-size:23px}.featured{padding:18px}.featured-price{padding:33px 0;gap:13px}.featured-price strong{font-size:38px;letter-spacing:0}.featured-price .bitcoin{height:44px;width:44px;font-size:33px}.feature-source{font-size:10px}.hot,.live-badge{font-size:11px}.featured-bottom h2{font-size:23px}.featured-bottom p{font-size:12px}.enter{padding:8px 18px;font-size:15px;gap:13px}.guide-grid{gap:9px}.guide-grid article{padding:16px 12px}.guide-grid article>span{font-size:20px}.guide-grid h3{font-size:13px}.guide-grid p{font-size:11px}.bottom-nav{display:flex;position:fixed;bottom:15px;left:16px;right:16px;height:70px;margin:0;padding:6px;border-radius:40px;background:#202220f2;border:1px solid #3c4238;box-shadow:0 6px 40px #000a;backdrop-filter:blur(18px);gap:0;z-index:4}.bottom-nav button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;background:none;border:0;border-radius:30px;color:#8e9786;font-size:12px}.bottom-nav button>span{font-size:23px;line-height:1.2}.bottom-nav button.active{background:#30332c;color:var(--yellow)}.page-heading{margin:8px 0 24px}.page-heading h1{font-size:26px;letter-spacing:0}.page-heading p{font-size:13px}.benefit-grid{grid-template-columns:1fr;gap:16px}.reward-card{padding:25px}.reward-icon{margin-bottom:14px}.reward-card p{font-size:13px}.benefit-note{padding:20px}.profile-card{padding:21px}.profile-identity{gap:12px;flex-wrap:wrap}.profile-identity h2{font-size:20px}.profile-identity p{font-size:11px}.profile-identity button{margin-left:0;width:100%;margin-top:5px}.profile-stats{gap:10px}.profile-stats strong{font-size:23px}.profile-stats span{font-size:11px}.account-menu{padding:0 20px}.record-filters{gap:6px}.record-filters button{font-size:12px;padding:5px 10px}.btc-toolbar>span{font-size:11px}.records{margin-top:5px}.records .section-title h2{font-size:17px}#toast{bottom:105px;white-space:normal;width:max-content;text-align:center}footer{padding-bottom:0}dialog{padding:26px;max-height:85vh}header .brand{font-size:17px}header .logo{width:30px;height:30px}}
.user-icon svg{width:27px;height:27px}.quick-links svg{width:25px;height:25px}.bottom-nav button>span svg{width:25px;height:25px}.bottom-nav button>span{height:28px;display:block}.header-login{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-name{min-width:0}.member-name strong{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-identity h2{overflow-wrap:anywhere}#depositDialog form label{display:block;margin:18px 0 7px;color:#c2cbb8;font-size:14px}#depositDialog input{display:block;width:100%;background:#131810;border:1px solid #3e4834;border-radius:9px;padding:14px;color:#f5f6ee;font:inherit;font-size:18px}#depositDialog input:focus{outline:1px solid var(--yellow);border-color:var(--yellow)}#depositDialog .primary{width:100%;margin-top:8px}#depositError{min-height:20px;color:var(--red);font-size:13px}@media(max-width:700px){.header-login{max-width:130px}.member-name strong{max-width:125px}.bottom-nav button>span svg{width:23px;height:23px}.bottom-nav button>span{height:25px}}
.market-switcher{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.market-switcher>div{display:flex;background:#1e211b;border:1px solid #414735;padding:5px;border-radius:12px;gap:4px}.market-switcher button{padding:10px 32px;border:0;border-radius:8px;background:none;color:#98a18d;font-weight:600}.market-switcher button.selected{background:#f0cb45;color:#15190e}.market-switcher>span{font-size:13px;color:#a0aa94}.live-notice{border:1px solid #76613b;background:#302819;color:#dfc58e;padding:14px 18px;border-radius:10px;margin-bottom:20px;font-size:14px}.wallet-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:24px}.wallet-pair>div{background:#22271d;padding:20px;border-radius:10px}.wallet-pair span{display:block;color:#99a58b;font-size:13px}.wallet-pair strong{display:block;font-size:29px;color:#e4ce72;margin-top:8px}@media(max-width:700px){.market-switcher{gap:10px;margin-bottom:16px}.market-switcher button{padding:8px 22px;font-size:14px}.market-switcher>span{font-size:11px;max-width:125px}.banner-reward strong{font-size:27px}.wallet-pair{gap:8px}.wallet-pair>div{padding:14px 10px}.wallet-pair strong{font-size:23px}.wallet-pair span{font-size:11px}.member-balance>span{font-size:10px}}
#welcomeDialog{padding:0;width:min(420px,calc(100vw - 36px));border:1px solid #8e773d;background:#131610;border-radius:22px;overflow:auto;max-height:92vh;box-shadow:0 25px 100px #000d}#welcomeClose{position:absolute;right:14px;top:14px;z-index:2;width:32px;height:32px;border:1px solid #a2967355;background:#131610b0;color:#efe4c7;border-radius:50%;font-size:23px;line-height:1}.welcome-art{display:block;width:100%;height:215px;object-fit:cover}.welcome-copy{text-align:center;padding:0 30px 25px;background:linear-gradient(#151811,#131610);position:relative}.welcome-tag{display:inline-block;color:#c6aa61;font-size:11px;letter-spacing:1.4px;margin-top:14px}#welcomeTitle{font-size:23px;margin:10px 0 0}.welcome-value{display:block;font-size:59px;line-height:1.2;color:#f1d577;letter-spacing:-1.5px;margin-top:7px}.welcome-unit{display:block;color:#e1c983;font-size:16px}#welcomeDescription{font-size:13px;line-height:1.7;color:#a7ad99;margin:16px 0}#welcomeAction{font-weight:650;padding:13px;font-size:15px}#welcomeLater{display:block;margin:12px auto;border:0;background:none;color:#a7aa98;font-size:13px}.welcome-copy>small{color:#777f6d;font-size:10px}#welcomeDialog::backdrop{background:#000b;backdrop-filter:blur(6px)}@media(max-height:750px){.welcome-art{height:155px}.welcome-value{font-size:48px}.welcome-copy{padding-bottom:18px}#welcomeDescription{margin:10px 0}}

/* Price-first BTC layout, shared by desktop and mobile. */
#game .workspace{grid-template-columns:minmax(0,1fr);max-width:860px;margin:auto;gap:16px}
.market-top .countdown{padding:0;align-items:flex-end;text-align:right;position:relative;max-width:52%}.market-top .countdown strong{font-size:40px;line-height:1.2}.market-top .countdown small{font-size:11px}.market-top .progress{margin-top:10px}.market>.live{display:inline-block;margin-top:16px}.market .price-row{flex-direction:row-reverse;gap:20px}.market .price-row>div{flex:1}.market .open{text-align:left;border-right:1px solid var(--line);padding-right:12px}.market .open b{font-size:34px;font-weight:600}.market .price-row strong{font-size:34px}.market .chart{height:250px}.past{margin-top:10px}#rounds i{border-radius:50%;min-width:26px;height:26px;display:grid;place-items:center}.prediction-top{margin-bottom:20px}.prediction .directions button{padding:18px}.prediction .directions b{font-size:25px}
@media(max-width:600px){.market{padding:18px 14px 0}.market .asset{gap:8px}.market .asset small{font-size:10px}.market .asset h2{font-size:20px}.market .asset h2 span{display:none}.market-top .countdown strong{font-size:32px}.market-top .countdown>span{font-size:11px}.market-top .countdown small{max-width:170px;font-size:10px}.market .price-row{margin:18px 0;gap:12px}.market .price-row strong,.market .open b{font-size:25px}.market .price-row #change{font-size:10px}.market .chart{height:195px}.chart-heading{font-size:10px}.chart-times{font-size:10px}.past{padding:14px 0}.past>span{font-size:10px}#rounds{gap:4px}#rounds i{min-width:20px;height:20px}.prediction-top{margin-bottom:14px}}

/* Reference-style live market presentation. */
.market.panel{background:#151515;border-color:#262626;border-radius:24px}.market .bitcoin{box-shadow:0 0 24px #ff981122;background:#ff9811}.market .price-row strong{color:#ff9811!important;font-weight:750}.market .open b{color:#c9cbd3;font-weight:700}.market .eyebrow{color:#ff9811;letter-spacing:0;font-size:14px}.market .open span{font-size:14px}.market .chart-heading{opacity:.65}.market-top .countdown>span{color:#f3bd00}.market-top .countdown strong{font-weight:750;letter-spacing:0}.market>.live{background:none;padding:0;color:#30ca76}.live-price-path{filter:drop-shadow(0 0 3px #ff98115c)}.market .progress{height:5px;background:#292b32}.past{border-top-color:#292929}#rounds i{background:#183323;color:#23c962;width:30px;height:30px;font-size:16px}#rounds i.down{background:#3a211e;color:#ef493d}.prediction.panel{background:#151515;border-radius:24px}.directions #up{background:#182e20;border:0;color:#27c96b}.directions #down{background:#351e1b;border:0;color:#f14c40}@media(max-width:600px){.market .price-row strong,.market .open b{font-size:28px}.market .chart{height:215px}.market-top .countdown strong{font-size:38px}.market .price-row{margin:22px 0}.market .chart-times{margin-bottom:14px}#rounds i{width:22px;height:22px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.live-price-path{filter:none}}
/* Mobile H5/PWA: usable touch targets, safe areas and keyboard-friendly fields. */
@media(max-width:600px){button,a.button{min-height:44px;touch-action:manipulation}input,select,textarea{font-size:16px!important}.header-login{min-height:44px}.avatar{min-width:44px;min-height:44px}#toggleBalance{min-width:44px;min-height:44px}#welcomeClose,.dialog-close{width:44px!important;height:44px!important}#welcomeLater{min-height:44px}header{padding-top:max(12px,env(safe-area-inset-top))}.bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}.quick-actions button{min-height:72px}}
@media(max-width:360px){header{gap:8px}.brand{font-size:16px}.header-login{padding:8px}.market-switcher{gap:8px}}

/* Both BTC rooms stay within reach above the price chart on phones. */
.room-switcher{display:flex;gap:8px;background:#171817;border:1px solid var(--line);padding:6px;border-radius:16px;margin:18px 0}
.room-switcher button{flex:1;min-height:48px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--muted);padding:10px 6px;display:flex;flex-direction:column;align-items:center;gap:3px}
.room-switcher button.selected{border-color:#746124;background:#37311a;color:var(--yellow)}
.room-switcher strong{font-size:17px}.room-switcher small{font-size:12px}
.room-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}
.room-cards button{display:flex;align-items:center;gap:14px;text-align:left;padding:20px;background:#191b19;border:1px solid var(--line);border-radius:16px;min-width:0}
.room-cards strong,.room-cards small{display:block}.room-cards strong{font-size:18px}.room-cards small{color:var(--muted);font-size:12px;margin-top:4px}.room-cards b{margin-left:auto;font-size:24px;color:var(--yellow)}
.room-icon{font-size:32px;color:var(--yellow);font-weight:800;line-height:1;text-align:center;min-width:36px}.room-icon small{font-size:10px;color:#b9a25f;letter-spacing:2px}
.room-record{font-size:11px;color:var(--yellow);border:1px solid #584d28;border-radius:4px;padding:2px 5px;margin-right:4px}
#rounds i.draw{color:#abb1a7;background:#2a2c29}.record-room-switcher{margin:0 0 16px}.record-room-switcher button{justify-content:center}
@media(max-width:600px){.room-cards{gap:10px}.room-cards button{padding:15px 8px;gap:8px;flex-wrap:nowrap}.room-cards button>span:last-of-type{min-width:0;flex:1}.room-cards strong{font-size:16px;white-space:nowrap}.room-cards b{display:none}.room-cards small{font-size:clamp(9px,2.4vw,11px);white-space:nowrap;letter-spacing:-.15px}.room-icon{font-size:28px;min-width:30px;flex:0 0 30px}.room-icon small{font-size:10px;letter-spacing:2px}.btc-toolbar{gap:8px;flex-wrap:wrap}.room-switcher{margin-top:14px}.room-switcher+.notice{margin-top:14px}}
@media(prefers-reduced-motion:reduce){.live-price-path{filter:none}.progress i{transition:none}}

@media(max-width:600px){#btcPage .notice{display:none}.room-switcher{margin-bottom:20px}}

@media(max-width:600px){
 #predictionRecords .table-wrap{overflow:visible}#predictionRecords table{display:block;white-space:normal}#predictionRecords thead{display:none}
 #history{display:grid;gap:12px}#history tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 10px;background:#151715;border:1px solid var(--line);border-radius:12px;padding:14px}
 #history td{min-width:0;border:0;padding:0;font-size:14px}#history td:first-child{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid var(--line);font-weight:600}
 #history td:first-child small{margin-top:7px;font-weight:400}#history td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:4px;font-weight:400}
 #history td:nth-child(4){grid-column:1/-1}#history td:nth-child(4) small{display:inline;margin-left:16px;color:#c8cec3;font-size:14px}
 #history td:last-child{font-size:17px;font-weight:600}.record-filters{flex-wrap:wrap}
}

/* Keep round timing beside the prediction controls on mobile. */
.round-timing{margin:0 0 20px;padding:16px;border:1px solid #353429;border-radius:16px;background:#1d1d18}.round-stage{display:flex;justify-content:space-between;gap:8px;align-items:center}.round-stage b{font-size:13px;color:var(--yellow)}.round-stage>span{font-size:11px;color:var(--muted);white-space:nowrap}.round-clocks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.round-clocks>div+div{border-left:1px solid #38382d;padding-left:16px}.round-clocks span,.round-clocks small{display:block;color:#a4aa9b;font-size:11px}.round-clocks strong{display:block;font-size:32px;line-height:1.4;font-variant-numeric:tabular-nums;color:#f4f3e9;letter-spacing:1px}.round-timing[data-stage="open"] #betCountdown{color:var(--green)}.round-timing[data-stage="closed"] #betCountdown,.round-timing[data-stage="settling"] #betCountdown{color:#85897e}.round-steps{display:flex;list-style:none;gap:6px;margin:0;padding:0}.round-steps li{flex:1;text-align:center;border-top:3px solid #393b32;padding-top:7px;color:#8d9385;font-size:11px;white-space:nowrap}.round-steps li.active{border-color:var(--yellow);color:var(--yellow)}#roundTimingNote{margin:12px 0 0;color:#a4aa9b;font-size:11px;line-height:1.7}@media(max-width:360px){.round-timing{padding:12px}.round-clocks strong{font-size:28px}.round-stage>span{display:none}.round-clocks>div+div{padding-left:12px}}
/* The profile only presents the selected market. Give its balance full width. */
.profile-card .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.profile-card .profile-stats>div:first-child{grid-column:1/-1;padding-bottom:18px;border-bottom:1px solid var(--line)}.profile-card #profileBalance{font-size:32px;overflow-wrap:anywhere}.profile-card .profile-stats span{line-height:1.6}

.live-network{display:grid;gap:8px;margin:0 0 18px;color:var(--muted);font-size:13px}.live-network select{min-height:44px;padding:10px;background:var(--panel);color:#eee;border:1px solid var(--line);border-radius:8px;max-width:100%;font:inherit}.live-network small{font-size:11px}
.live-risk{margin:-8px 0 14px;color:#aeb5aa;font-size:11px;line-height:1.6}.live-risk strong{color:var(--yellow)}
.legal-action{display:block;width:100%;margin:-8px 0 20px;padding:12px 16px;border:1px solid #8b7136;border-radius:10px;background:#302819;color:#f0d27a}.legal-documents{display:grid;gap:10px;padding:0;list-style:none}.legal-documents a{display:block;padding:12px 14px;border:1px solid #454b3e;border-radius:9px;color:var(--yellow);text-decoration:none}.legal-confirm{display:flex;align-items:flex-start;gap:10px;margin:18px 0;color:#d2d8cb}.legal-confirm input{width:22px;height:22px;flex:0 0 auto;margin:1px 0}#legalError{color:var(--red);min-height:22px;margin:0 0 8px;font-size:12px}

/* Keep the balance visibility control beside its label on narrow screens. */
.member-balance{flex-shrink:0}.member-balance>span{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;gap:2px}.member-balance #toggleBalance{flex:0 0 44px;width:44px;padding:0;display:inline-flex;align-items:center;justify-content:center}.member-name{flex:1;min-width:0}

.user-icon:has(>img){overflow:hidden}.user-icon>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
