:root{color-scheme:dark;--gold:#ffc94a;--red:#ed3150;--black:#171923;--panel:#12151d}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -20%,#263044,#090b10 55%);color:#f8f5e9;font-family:Inter,system-ui,sans-serif;min-height:100vh}header{height:72px;padding:0 max(18px,4vw);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff18;background:#07090ddd;position:sticky;top:0;z-index:9}header a{color:#fff;text-decoration:none;font-weight:800}header>div:first-of-type{text-align:center}header b{display:block;letter-spacing:.12em}header small,.hero small,.history>small,.info small{color:#9ca6b8;letter-spacing:.16em;font-size:.67rem}.wallet{text-align:right}.wallet b{color:var(--gold);font-size:1.15rem}main{width:min(1240px,94vw);margin:28px auto 70px}.hero{display:grid;grid-template-columns:1fr auto 1fr;gap:20px;align-items:center}.round b{display:block;margin-top:5px}.round i{font-style:normal;color:var(--gold)}#liveDot{display:inline-block;width:9px;height:9px;background:#32e68a;border-radius:50%;box-shadow:0 0 14px #32e68a;margin-right:8px}.timer{text-align:center}.timer strong{display:block;font-size:clamp(2.6rem,7vw,5.3rem);line-height:.92;font-variant-numeric:tabular-nums;color:var(--gold)}.timer span{font-size:.65rem;letter-spacing:.2em}.fair{text-align:right;min-width:0}.fair code{display:block;overflow:hidden;text-overflow:ellipsis;color:#9ca6b8;font-size:.7rem}.fair button,.info button{border:1px solid #ffffff28;background:#ffffff0a;color:white;border-radius:8px;padding:7px 10px;margin-top:8px}.wheel-shell{height:150px;margin:26px 0 14px;overflow:hidden;border:1px solid #ffffff20;border-radius:20px;background:#050609;position:relative;box-shadow:0 24px 65px #0008}.marker{position:absolute;z-index:2;left:50%;top:0;bottom:0;width:3px;background:var(--gold);box-shadow:0 0 18px var(--gold)}.marker:before{content:"▼";position:absolute;top:-5px;left:-8px;color:var(--gold)}.wheel{display:flex;gap:8px;align-items:center;height:100%;will-change:transform;transition:transform 6.2s cubic-bezier(.08,.7,.08,1)}.cell{flex:0 0 92px;height:105px;border-radius:13px;display:grid;place-items:center;font-size:2rem;font-weight:900;border:2px solid #ffffff18}.cell.red{background:linear-gradient(145deg,#ff4360,#97162e)}.cell.black{background:linear-gradient(145deg,#303443,#090a0f)}.cell.white{background:linear-gradient(145deg,#fff,#bfc5ce);color:#111;box-shadow:0 0 25px #fff7}.history{display:flex;gap:16px;align-items:center;margin-bottom:22px}.history div{display:flex;gap:6px;overflow:hidden}.history i{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;font-size:.78rem}.history .red{background:var(--red)}.history .black{background:#242833;border:1px solid #5b6273}.history .white{background:#fff;color:#111}.bet-layout{display:grid;grid-template-columns:1fr 290px;gap:18px}.controls,aside,.info article{background:#11141c;border:1px solid #ffffff15;border-radius:17px;padding:20px}.amount{display:flex;justify-content:space-between;gap:15px}.amount label{font-size:.7rem;letter-spacing:.12em;color:#adb5c4}.amount input{display:block;margin-top:6px;width:220px;background:#090b10;color:#fff;border:1px solid #ffffff25;border-radius:9px;padding:12px;font-size:1.15rem}.amount button{background:#252a36;color:#fff;border:0;border-radius:8px;padding:9px 12px;margin:15px 3px 0}.colors{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:18px}.colors button{height:105px;border-radius:14px;border:2px solid transparent;color:#fff;cursor:pointer;transition:.15s}.colors button:hover{transform:translateY(-3px);border-color:var(--gold)}.colors span,.colors b,.colors small{display:block}.colors b{font-size:2rem}.colors .red{background:#c51e3b}.colors .black{background:#050609}.colors .white{background:#e9edf2;color:#12141a}.controls p{margin:14px 0 0;color:#aeb6c5}aside h2{font-size:1rem;margin-top:0}aside>div{min-height:92px;color:#9da6b6;font-size:.86rem}.bet-row{display:flex;justify-content:space-between;padding:7px;border-bottom:1px solid #ffffff12}.bet-row i{text-transform:uppercase;font-style:normal}.info{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:18px;margin-top:18px}.info h2{font-size:1.1rem;color:var(--gold)}.info p{font-size:.82rem;line-height:1.55;color:#aeb6c5}dialog{width:min(650px,90vw);border:1px solid #ffffff30;border-radius:18px;background:#12151d;color:#fff}dialog pre{white-space:pre-wrap;word-break:break-all;background:#080a0e;padding:15px;border-radius:10px;color:#b9f6d4}#verifyClose{float:right;background:none;border:0;color:#fff;font-size:1.6rem}@media(max-width:780px){header{height:62px}.hero{grid-template-columns:1fr 1fr}.fair{grid-column:1/-1;text-align:left}.wheel-shell{height:120px}.cell{flex-basis:70px;height:84px}.bet-layout,.info{grid-template-columns:1fr}.amount{display:block}.amount input{width:100%}.colors{gap:6px}.colors button{height:92px;padding:5px}.wallet small{display:none}}
