:root {
  --bg: #07060d;
  --panel: #100e19;
  --panel-2: #151220;
  --line: rgba(255,255,255,.08);
  --text: #f6f2ff;
  --muted: #8d879d;
  --purple: #a657ff;
  --purple-2: #6e2bff;
  --cyan: #29e6dd;
  --danger: #ff5470;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 70% 0%, #180d2a 0, transparent 36%), var(--bg); }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.brand { display: flex; gap: 10px; align-items: center; color: white; text-decoration: none; font: 800 21px 'Manrope'; letter-spacing: .24em; }
.brand-gem { color: var(--purple); filter: drop-shadow(0 0 10px #a657ffaa); font-size: 25px; }
.brand-large { font-size: 27px; position: absolute; top: 42px; left: 50px; }
.eyebrow { margin: 0 0 10px; color: #b58bff; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.muted { color: var(--muted); }
.primary { border: 0; border-radius: 12px; background: linear-gradient(120deg,var(--purple-2),var(--purple)); padding: 13px 20px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 35px #6e2bff35; }
.primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.primary span { margin-left: 15px; }
.wide { width: 100%; margin-top: 8px; padding: 15px; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.15fr .85fr; }
.auth-art { position: relative; overflow: hidden; padding: 50px; border-right: 1px solid var(--line); background: linear-gradient(135deg,#090712 10%,#190c2d 60%,#071616); }
.auth-art::after { content:''; position:absolute; width:500px; height:500px; border:1px solid #9f5bff25; border-radius:50%; left:50%; top:42%; transform:translate(-50%,-50%); box-shadow:0 0 120px #7331ff25,inset 0 0 100px #36fff312; }
.orb { position: absolute; width: 310px; height: 310px; left: 50%; top: 40%; transform: translate(-50%,-50%) rotate(45deg); border: 1px solid #b06cff55; border-radius: 45% 55% 48% 52%; background: radial-gradient(circle at 35% 30%,#d6aaff,#6730bd 30%,#160d25 65%); box-shadow: 0 0 90px #7d31ff55; z-index: 2; animation: float 6s ease-in-out infinite; }
.orb::before { content:''; position:absolute; inset:22px; border:1px solid #6fffe455; border-radius:50% 45% 55% 48%; }
.orb-core { display:grid; place-items:center; width:100%; height:100%; font-size:90px; color:#fff; text-shadow:0 0 35px #fff; transform:rotate(-45deg); }
@keyframes float { 50% { transform:translate(-50%,-53%) rotate(50deg); } }
.auth-copy { position:absolute; z-index:3; left:50px; bottom:100px; max-width:600px; }
.auth-copy h1 { margin:0 0 18px; font:800 clamp(38px,5vw,70px)/.98 'Manrope'; letter-spacing:-.045em; }
.auth-copy h1 em { color:#ba8aff; font-style:normal; }
.auth-copy>p:last-child { color:#aaa3b9; max-width:520px; line-height:1.7; }
.legal { position:absolute; bottom:30px; left:50px; color:#615b6d; font-size:11px; }
.auth-panel { display:grid; place-items:center; padding:30px; background:#090810; }
.auth-card { width:min(410px,100%); }
.auth-card h2 { margin:0; font:800 35px 'Manrope'; letter-spacing:-.035em; }
.auth-card>.muted { margin-bottom:30px; }
label { display:block; margin:16px 0; color:#bbb5ca; font-size:12px; font-weight:700; letter-spacing:.03em; }
input { width:100%; margin-top:8px; padding:14px 15px; border:1px solid var(--line); border-radius:10px; outline:0; color:white; background:#12101a; }
input:focus { border-color:#9d59ff; box-shadow:0 0 0 3px #9d59ff18; }
textarea,select { width:100%; margin-top:8px; padding:13px 15px; border:1px solid var(--line); border-radius:10px; outline:0; color:white; background:#12101a; resize:vertical; }
textarea:focus,select:focus { border-color:#9d59ff; box-shadow:0 0 0 3px #9d59ff18; }
.switch { text-align:center; color:var(--muted); font-size:13px; margin-top:24px; }
.switch button { border:0; padding:0; background:none; color:#b77cff; cursor:pointer; font-weight:700; }
.rules-consent { display:flex; align-items:flex-start; gap:10px; line-height:1.5; }
.rules-consent input { width:auto; margin:3px 0 0; accent-color:var(--purple); }
.rules-consent button { border:0; padding:0; background:none; color:#b77cff; cursor:pointer; font-weight:700; }
.modal-backdrop { position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:20px; background:#020106d9; backdrop-filter:blur(12px); }
.rules-modal { position:relative; width:min(620px,100%); max-height:90vh; overflow:auto; padding:28px; border:1px solid #a657ff42; border-radius:18px; background:#100e19; box-shadow:0 30px 100px #000c; }
.rules-modal h2 { margin:0 0 22px; font:800 30px 'Manrope'; }
.rules-modal article { display:flex; gap:13px; padding:12px 0; border-top:1px solid var(--line); }
.rules-modal article>b { flex:0 0 28px; height:28px; display:grid; place-items:center; border-radius:8px; background:#a657ff1d; color:#c79aff; font-size:11px; }
.rules-modal article p,.rules-modal article strong,.rules-modal article span { display:block; margin:0; }
.rules-modal article strong { font-size:12px; }
.rules-modal article span { margin-top:3px; color:var(--muted); font-size:11px; line-height:1.45; }
.modal-close { position:absolute; right:17px; top:17px; width:32px; height:32px; border:1px solid var(--line); border-radius:9px; background:#ffffff08; cursor:pointer; }
.shell { min-height:100vh; display:grid; grid-template-columns:220px 1fr; }
.sidebar { position:sticky; top:0; height:100vh; padding:28px 18px; border-right:1px solid var(--line); background:#090810e8; backdrop-filter:blur(20px); display:flex; flex-direction:column; }
.sidebar .brand { padding:0 12px 38px; }
.mobile-balances { display:none; }
.sidebar nav { display:grid; gap:6px; }
.nav-item { width:100%; padding:11px 13px; border:0; border-radius:9px; text-align:left; background:transparent; color:#858091; cursor:pointer; font-size:13px; font-weight:600; }
.nav-item span { display:inline-block; width:26px; color:#6c6677; }
.nav-item:hover { color:white; background:#ffffff08; }
.nav-item.active { color:white; background:linear-gradient(90deg,#7f3cff26,transparent); box-shadow:inset 2px 0 #9d59ff; }
.nav-item.active span { color:#b77cff; }
.sidebar-foot { margin-top:auto; display:flex; align-items:center; gap:10px; padding:12px; border-top:1px solid var(--line); color:#c7c1d0; font-size:12px; }
.sidebar-foot small { display:block; color:#5d5867; font-size:8px; letter-spacing:.15em; }
.status-dot,.live-count i,.engine-status i { width:7px; height:7px; border-radius:50%; background:#36e9af; box-shadow:0 0 10px #36e9af; }
.content { min-width:0; }
header { height:76px; position:sticky; top:0; z-index:10; display:flex; align-items:center; gap:12px; padding:0 28px; border-bottom:1px solid var(--line); background:#08070edb; backdrop-filter:blur(18px); }
.search { width:min(390px,30vw); position:relative; }
.search span { position:absolute; left:13px; top:13px; color:#787181; }
.search input { height:42px; margin:0; padding-left:38px; border-radius:8px; background:#0e0d14; }
.wallet,.gems { border-left:1px solid var(--line); padding-left:16px; margin-left:auto; }
.gems { margin-left:0; }
.wallet small,.gems small { display:block; color:#625d6c; font-size:8px; letter-spacing:.14em; font-weight:800; }
.wallet strong,.gems strong { font:700 13px 'Manrope'; }
.wallet em { color:#807989; font-style:normal; font-size:10px; }
.coin { color:#b16cff; margin-right:5px; }
.icon-button { position:relative; width:40px; height:40px; border:1px solid var(--line); border-radius:10px; background:#100e17; cursor:pointer; }
.icon-button b { position:absolute; right:-5px; top:-6px; min-width:18px; height:18px; display:grid; place-items:center; padding:0 5px; border-radius:10px; background:var(--danger); color:white; font-size:8px; box-shadow:0 0 14px #ff547077; }
.profile-button { border:0; background:none; display:flex; align-items:center; gap:9px; cursor:pointer; text-align:left; }
.profile-button>span { width:35px; height:35px; display:grid; place-items:center; border-radius:10px; background:linear-gradient(135deg,#7439cd,#25a9a7); font-weight:800; }
.profile-button strong,.profile-button small { display:block; }
.profile-button strong { font-size:11px; }
.profile-button small { color:#625d6c; font-size:8px; }
.user-avatar,.avatar-fallback { width:35px; height:35px; flex:0 0 35px; display:grid; place-items:center; border-radius:10px; object-fit:cover; background:linear-gradient(135deg,#7439cd,#25a9a7); font-weight:800; }
.user-avatar.large,.avatar-fallback.large { width:112px; height:112px; border-radius:26px; font-size:34px; box-shadow:0 20px 60px #0008,0 0 35px #a657ff33; }
.mobile-menu { display:none; }
.page { padding:25px 28px 40px; max-width:1540px; margin:auto; }
.hero { min-height:310px; border:1px solid #a857ff33; border-radius:18px; overflow:hidden; position:relative; display:flex; align-items:center; padding:44px; background:radial-gradient(circle at 82% 50%,#4a1b6f 0,transparent 30%),linear-gradient(110deg,#171023,#0b101b); }
.hero::before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,#32fff310); }
.hero-content { position:relative; z-index:2; max-width:560px; }
.hero h1 { margin:0; font:800 clamp(36px,5vw,64px) 'Manrope'; letter-spacing:-.05em; }
.hero p:not(.eyebrow) { color:#a09aaa; line-height:1.6; font-size:13px; }
.hero-symbol { position:absolute; right:10%; top:50%; transform:translateY(-50%); width:200px; height:230px; display:grid; place-items:center; font-size:110px; color:#e6d1ff; text-shadow:0 0 35px #b65cff; }
.hero-symbol::before,.hero-symbol::after,.hero-symbol i { content:''; position:absolute; border:1px solid #b465ff44; transform:rotate(45deg); }
.hero-symbol::before { width:170px; height:170px; }
.hero-symbol::after { width:220px; height:220px; border-color:#4fffff22; }
.quick-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:14px 0 34px; }
.quick-card { min-height:72px; display:flex; align-items:center; gap:13px; padding:14px 17px; border:1px solid var(--line); border-radius:12px; background:#100e17; text-align:left; cursor:pointer; }
.quick-card:hover { border-color:#ffffff20; transform:translateY(-1px); }
.quick-card .quick-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:9px; background:#ffffff0a; font-size:18px; }
.quick-card small { display:block; color:#77717f; font-size:8px; letter-spacing:.14em; font-weight:800; }
.quick-card strong { font-size:12px; }
.quick-card b { margin-left:auto; color:#696371; }
.quick-card.purple { background:linear-gradient(110deg,#1d1129,#100e17); }
.quick-card.cyan { background:linear-gradient(110deg,#0b2424,#100e17); }
.section-head { display:flex; justify-content:space-between; align-items:end; margin:26px 0 13px; }
.section-head h2 { margin:0; font:700 21px 'Manrope'; }
.section-head>span { color:#686270; font-size:10px; }
.game-grid { display:grid; grid-template-columns:repeat(5,minmax(150px,1fr)); gap:12px; }
.game-card { min-width:0; position:relative; border:1px solid var(--line); border-radius:13px; overflow:hidden; background:#100e17; cursor:pointer; transition:.18s ease; }
.game-card:hover { transform:translateY(-3px); border-color:#a657ff55; box-shadow:0 15px 35px #0008; }
.game-art { height:130px; display:grid; place-items:center; font:800 58px 'Manrope'; }
.game-art span { filter:drop-shadow(0 0 18px currentColor); }
.game-art.completed-art { display:block; overflow:hidden; background:#09070f; }
.game-art.completed-art img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .28s ease,filter .28s ease; }
.game-card:hover .game-art.completed-art img { transform:scale(1.045); filter:saturate(1.12) brightness(1.05); }
.art-0 { background:radial-gradient(circle,#662e8c,#171022 70%); color:#d69bff; }
.art-1 { background:radial-gradient(circle,#185a63,#0d1a1c 70%); color:#6ff9ee; }
.art-2 { background:radial-gradient(circle,#7c3a25,#21120e 70%); color:#ffb37a; }
.art-3 { background:radial-gradient(circle,#223d76,#0e1423 70%); color:#7bb4ff; }
.art-4 { background:radial-gradient(circle,#623047,#201019 70%); color:#ff82b5; }
.art-5 { background:radial-gradient(circle,#525326,#18190c 70%); color:#edee7e; }
.game-info { display:flex; justify-content:space-between; gap:8px; padding:12px; }
.game-info h3 { margin:0; font:700 12px 'Manrope'; }
.game-info p { margin:3px 0 0; color:#6e6877; font-size:9px; }
.live-count { align-self:end; white-space:nowrap; color:#77717f; font-size:8px; }
.live-count i { display:inline-block; width:5px; height:5px; margin-right:4px; }
.heart { position:absolute; right:8px; top:8px; z-index:2; width:28px; height:28px; border:1px solid #ffffff16; border-radius:8px; background:#08070ea8; color:#aaa3b7; cursor:pointer; }
.heart.active { color:#c87dff; }
.rank { position:absolute; top:8px; left:8px; z-index:2; font:800 11px 'Manrope'; color:#fff; text-shadow:0 1px 8px #000; }
.empty { color:var(--muted); }
footer { margin-top:45px; padding-top:18px; border-top:1px solid var(--line); display:flex; justify-content:space-between; color:#5d5866; font-size:10px; }
footer button,.back { border:0; background:none; color:#8f879a; cursor:pointer; }
.back { margin-bottom:28px; }
.game-landing { text-align:center; max-width:900px; margin:20px auto; }
.game-emblem { width:150px; height:150px; margin:0 auto 25px; border:1px solid var(--line); border-radius:38px; display:grid; place-items:center; font:800 70px 'Manrope'; box-shadow:0 25px 70px #0008; }
.game-landing h1 { margin:5px 0; font:800 50px 'Manrope'; letter-spacing:-.05em; }
.lead { max-width:680px; margin:15px auto 25px; color:#908999; line-height:1.7; }
.engine-status { max-width:650px; margin:25px auto; padding:16px; border:1px solid #ffbe551e; background:#231b1020; border-radius:12px; display:flex; align-items:center; text-align:left; gap:12px; }
.engine-status i { background:#ffb04a; box-shadow:0 0 10px #ffb04a; }
.engine-status small,.engine-status strong { display:block; }
.engine-status small { color:#8b7a63; font-size:8px; letter-spacing:.15em; }
.engine-status strong { font-size:11px; margin-top:3px; }
.tier-row { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:30px; }
.tier-row button { padding:18px 8px; border:1px solid var(--line); border-radius:11px; background:#100e17; color:#8c8695; font-weight:700; }
.tier-row small { display:block; margin-top:5px; color:#56515d; font-size:7px; }
.social-shell { max-width:1050px; margin:0 auto; }
.social-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:18px; }
.social-heading h1 { margin:0; font:800 38px 'Manrope'; letter-spacing:-.04em; }
.social-tabs { display:flex; gap:6px; padding:5px; border:1px solid var(--line); border-radius:11px; background:#0e0c15; }
.social-tabs button { border:0; border-radius:8px; padding:9px 12px; background:transparent; color:var(--muted); cursor:pointer; font-size:11px; font-weight:700; }
.social-tabs button.active { background:#a657ff20; color:white; }
.social-tabs b { margin-left:5px; padding:2px 5px; border-radius:8px; background:var(--danger); color:white; font-size:8px; }
.social-columns { display:grid; grid-template-columns:1fr 1.5fr; gap:12px; }
.social-card { margin-bottom:12px; padding:20px; border:1px solid var(--line); border-radius:14px; background:#100e17; }
.social-card h2 { margin:0 0 14px; font:700 19px 'Manrope'; }
.social-card h3 { margin:28px 0 10px; color:#aaa3b7; font:700 12px 'Manrope'; text-transform:uppercase; letter-spacing:.12em; }
.friend-code { margin:4px 0; color:#d8bdff; font:800 27px 'Manrope'; letter-spacing:.12em; }
.inline-form { display:flex; align-items:center; gap:8px; }
.inline-form input { min-width:0; margin:0; }
.inline-form .primary { white-space:nowrap; }
.social-row { min-height:58px; display:flex; align-items:center; justify-content:space-between; gap:15px; padding:11px 0; border-top:1px solid var(--line); }
.social-row:first-of-type { border-top:0; }
.social-row>div { display:flex; align-items:center; gap:7px; }
.social-row>div:first-child { display:block; }
.social-row strong,.social-row small { display:block; }
.social-row small { margin-top:3px; color:#6f6979; font-size:9px; }
.transfer-form { width:min(360px,55%); }
.small-action { border:1px solid #a657ff45; border-radius:8px; padding:8px 11px; background:#a657ff18; color:#d8b8ff; cursor:pointer; white-space:nowrap; font-size:10px; font-weight:700; }
.small-action.danger { border-color:#ff547044; background:#ff547012; color:#ff8ca0; }
.pending-note { margin:15px 0 0; color:#837b8d; font-size:10px; }
.status-pill { padding:6px 9px; border-radius:12px; background:#ffffff0a; color:#77717f; font-size:9px; }
.history-row { display:grid; grid-template-columns:1fr auto 80px; gap:12px; align-items:center; padding:10px 0; border-top:1px solid var(--line); font-size:11px; }
.history-row em { color:#77717f; font-style:normal; text-align:right; text-transform:capitalize; }
.notification-row { display:flex; justify-content:space-between; gap:18px; padding:14px 0; border-top:1px solid var(--line); }
.notification-row.unread { padding-left:12px; border-left:2px solid var(--purple); }
.notification-row p { margin-bottom:5px; }
.notification-row strong,.notification-row span,.notification-row small { display:block; }
.notification-row strong { font-size:12px; }
.notification-row span { margin-top:4px; color:#aaa3b7; font-size:11px; line-height:1.45; }
.notification-row small { margin-top:6px; color:#5e5868; font-size:8px; }
.notification-row>button { align-self:flex-start; border:0; background:none; color:#6d6676; cursor:pointer; }
.coin-flip-shell,.dice-shell,.limbo-shell,.plinko-shell,.mines-shell,.keno-shell,.hi-lo-shell { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(300px,.75fr); gap:14px; }
.coin-game-panel,.dice-game-panel,.limbo-game-panel,.plinko-game-panel,.mines-game-panel,.keno-game-panel,.hi-lo-game-panel,.rules-card,.history-card { border:1px solid var(--line); border-radius:16px; background:#100e17; }
.coin-game-panel,.dice-game-panel,.limbo-game-panel,.plinko-game-panel,.mines-game-panel,.keno-game-panel,.hi-lo-game-panel { padding:24px; overflow:hidden; background:radial-gradient(circle at 50% 43%,#5e24a82a,transparent 26%),linear-gradient(145deg,#151020,#0c0b12); }
.coin-title { display:flex; align-items:center; gap:17px; }
.coin-title .game-emblem { flex:0 0 72px; width:72px; height:72px; margin:0; border-radius:20px; font-size:31px; }
.coin-title h1 { margin:0; font:800 38px 'Manrope'; letter-spacing:-.045em; }
.coin-title p:last-child { margin:5px 0 0; color:var(--muted); font-size:11px; }
.tier-select { display:grid; grid-template-columns:repeat(5,1fr); gap:6px; margin:22px 0; }
.tier-select button { padding:10px 6px; border:1px solid var(--line); border-radius:9px; background:#ffffff05; color:#837d8e; cursor:pointer; }
.tier-select button.active { border-color:#a657ff77; background:#a657ff18; color:white; box-shadow:inset 0 0 20px #a657ff12; }
.tier-select strong,.tier-select small { display:block; }
.tier-select strong { font-size:10px; }
.tier-select small { margin-top:3px; color:#686171; font-size:7px; }
.coin-stage { height:215px; display:grid; place-items:center; perspective:900px; }
.onyx-coin { width:145px; height:145px; position:relative; border-radius:50%; transform-style:preserve-3d; background:radial-gradient(circle at 35% 28%,#ebd7ff,#9e57f0 35%,#3c1765 72%); border:5px solid #c78aff; box-shadow:0 0 0 5px #4e1d7a,0 25px 65px #000b,0 0 55px #a657ff55,inset 0 0 25px #fff4; }
.onyx-coin::before { content:''; position:absolute; inset:10px; border:2px dashed #e2c5ff99; border-radius:50%; }
.onyx-coin span { position:absolute; inset:0; display:grid; place-items:center; color:white; font:900 62px 'Manrope'; text-shadow:0 3px 18px #2a0a4b; backface-visibility:hidden; }
.onyx-coin .tails { transform:rotateY(180deg); }
.onyx-coin.result { animation:coin-settle 1.35s cubic-bezier(.2,.8,.2,1) both; }
.onyx-coin.result.tails { animation-name:coin-settle-tails; }
@keyframes coin-settle { 0%{transform:translateY(-190px) rotateY(0) rotateX(0)} 70%{transform:translateY(8px) rotateY(1440deg) rotateX(18deg)} 100%{transform:none} }
@keyframes coin-settle-tails { 0%{transform:translateY(-190px) rotateY(0) rotateX(0)} 70%{transform:translateY(8px) rotateY(1620deg) rotateX(18deg)} 100%{transform:rotateY(180deg)} }
.side-select { display:grid; grid-template-columns:1fr 1fr; gap:8px; max-width:430px; margin:0 auto 16px; }
.side-select button { padding:13px; border:1px solid var(--line); border-radius:11px; background:#ffffff05; color:#85808d; cursor:pointer; font-weight:800; }
.side-select button.active { border-color:#42eee166; background:#29e6dd12; color:#82fff6; box-shadow:0 0 25px #29e6dd0f; }
.coin-wager { display:grid; grid-template-columns:1fr auto; align-items:end; gap:9px; max-width:430px; margin:auto; }
.coin-wager label { margin:0; }
.coin-wager input { margin-top:6px; }
.coin-wager .primary { height:44px; }
.coin-wager .primary:disabled { opacity:.55; cursor:wait; }
.wager-note { margin:9px 0 0; text-align:center; color:#625c6b; font-size:8px; }
.coin-info-panel { display:grid; align-content:start; gap:14px; }
.rules-card,.history-card { padding:19px; }
.rules-card h2 { margin:0 0 14px; font:700 19px 'Manrope'; }
.rules-card>p:not(.eyebrow) { color:#7f7888; font-size:9px; line-height:1.55; }
.math-grid { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin-bottom:15px; }
.math-grid>div { padding:11px; border:1px solid var(--line); border-radius:9px; background:#ffffff04; }
.math-grid strong,.math-grid small { display:block; }
.math-grid strong { color:#d7b7ff; font:800 17px 'Manrope'; }
.math-grid small { margin-top:2px; color:#686170; font-size:7px; text-transform:uppercase; letter-spacing:.1em; }
.history-card .section-head { margin:0 0 5px; }
.flip-history { display:grid; grid-template-columns:1fr auto 55px; align-items:center; gap:8px; padding:9px 0; border-top:1px solid var(--line); font-size:10px; }
.flip-history span { text-transform:capitalize; }
.flip-history small { color:#625c6b; text-align:right; }
.flip-history.win b { color:#66efbe; }
.flip-history.loss b { color:#ff7e94; }
.result-overlay { position:fixed; inset:0; z-index:70; display:grid; place-items:center; padding:20px; background:#030107db; backdrop-filter:blur(13px); cursor:pointer; }
.result-card { width:min(470px,100%); padding:30px; border:1px solid #a657ff55; border-radius:20px; background:radial-gradient(circle at 50% 30%,#6c2ea233,transparent 40%),#100e19; box-shadow:0 35px 100px #000d; text-align:center; }
.result-card .onyx-coin { width:125px; height:125px; margin:12px auto 23px; }
.result-card .onyx-coin span { font-size:52px; }
.result-card h2 { margin:0; font:800 30px 'Manrope'; }
.result-card>p:not(.eyebrow) { color:#a7a0ae; }
.result-card.win h2,.result-card.win .result-numbers b { color:#72efc3; }
.result-card.loss h2 { color:#ff8298; }
.result-numbers { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin:20px 0; }
.result-numbers>div { padding:12px 6px; border:1px solid var(--line); border-radius:10px; background:#ffffff05; }
.result-numbers small,.result-numbers b { display:block; }
.result-numbers small { color:#6b6573; font-size:7px; letter-spacing:.12em; }
.result-numbers b { margin-top:4px; font-size:12px; }
.dismiss-hint { color:#5f5967; font-size:8px; }
.result-overlay.settled .onyx-coin { animation:none; }
.dice-stage { height:170px; display:grid; place-items:center; align-content:center; margin:5px 0 12px; border:1px solid #a657ff22; border-radius:14px; background:radial-gradient(circle,#6d2cad2c,transparent 60%),#09070f; box-shadow:inset 0 0 60px #0009; }
.dice-stage small,.dice-stage strong,.dice-stage span { display:block; }
.dice-stage small { color:#8d6eba; font-size:8px; letter-spacing:.18em; }
.dice-stage strong { margin:5px 0; color:#e9d8ff; font:900 58px 'Manrope'; letter-spacing:-.06em; text-shadow:0 0 30px #a657ff88; }
.dice-stage span { color:#57505f; font-size:8px; }
.chance-control { max-width:520px; margin:0 auto 17px; padding:15px; border:1px solid var(--line); border-radius:12px; background:#ffffff04; }
.chance-control>div:first-child,.chance-summary { display:flex; align-items:center; justify-content:space-between; }
.chance-control>div:first-child span { color:#756d7e; font-size:8px; letter-spacing:.14em; }
.chance-control>div:first-child strong { color:#d9bdff; font:800 17px 'Manrope'; }
.chance-control input { width:100%; margin:12px 0; padding:0; accent-color:var(--purple); box-shadow:none; }
.chance-summary { color:#77707f; font-size:9px; }
.chance-summary b { color:#74e9df; }
.roll-result { width:170px; height:105px; margin:15px auto 20px; display:grid; place-items:center; border:1px solid #b36cff66; border-radius:18px; background:radial-gradient(circle,#7335a755,#130c1e 72%); color:#f0e4ff; font:900 45px 'Manrope'; text-shadow:0 0 25px #a657ffaa; box-shadow:0 20px 55px #000a; animation:dice-reveal 1.15s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dice-reveal { 0%{transform:scale(.6) rotate(-8deg);filter:blur(12px);opacity:.2} 65%{transform:scale(1.08) rotate(2deg);filter:blur(2px)} 100%{transform:none;filter:none;opacity:1} }
.result-overlay.settled .roll-result { animation:none; }
.limbo-stage { height:190px; display:grid; place-items:center; align-content:center; margin:5px 0 12px; border:1px solid #42eee133; border-radius:14px; background:radial-gradient(circle,#1d80762e,transparent 62%),linear-gradient(180deg,#090d12,#08070d); box-shadow:inset 0 0 70px #000a; }
.limbo-stage small,.limbo-stage strong,.limbo-stage span { display:block; }
.limbo-stage small { color:#5fa89f; font-size:8px; letter-spacing:.18em; }
.limbo-stage strong { margin:4px 0; color:#b8fff8; font:900 60px 'Manrope'; letter-spacing:-.06em; text-shadow:0 0 32px #29e6dd66; }
.limbo-stage span { color:#5f696d; font-size:8px; letter-spacing:.1em; }
.target-presets { display:grid; grid-template-columns:repeat(5,1fr); gap:7px; max-width:540px; margin:0 auto 13px; }
.target-presets button { padding:9px; border:1px solid var(--line); border-radius:9px; background:#ffffff05; color:#77717f; cursor:pointer; font-weight:800; }
.target-presets button.active { border-color:#42eee166; background:#29e6dd12; color:#82fff6; }
.limbo-wager { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:9px; max-width:620px; margin:auto; }
.limbo-wager label { color:#77717f; font-size:8px; letter-spacing:.1em; }
.limbo-wager input { display:block; width:100%; margin-top:5px; }
.limbo-live-math { display:grid; grid-template-columns:1fr 1fr; gap:8px; max-width:620px; margin:10px auto 0; }
.limbo-live-math>div { padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#ffffff04; }
.limbo-live-math small,.limbo-live-math strong { display:block; }
.limbo-live-math small { color:#6e6876; font-size:7px; letter-spacing:.12em; }
.limbo-live-math strong { margin-top:3px; color:#c4fff8; font:800 14px 'Manrope'; }
.limbo-result-number { margin:16px auto 20px; color:#c7fff8; font:900 49px 'Manrope'; text-shadow:0 0 30px #29e6dd88; animation:limbo-rise 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes limbo-rise { 0%{transform:translateY(55px) scale(.7);filter:blur(10px);opacity:.15} 70%{transform:translateY(-8px) scale(1.06);filter:blur(1px)} 100%{transform:none;filter:none;opacity:1} }
.result-overlay.settled .limbo-result-number { animation:none; }
.plinko-board { position:relative; min-height:330px; padding:22px 10px 8px; margin:4px 0 15px; border:1px solid #a657ff2e; border-radius:15px; background:radial-gradient(circle at 50% 15%,#8238bf2f,transparent 45%),linear-gradient(#09070f,#0d0a13); overflow:hidden; }
.plinko-pegs { height:270px; display:flex; flex-direction:column; justify-content:space-around; }
.plinko-peg-row { display:flex; justify-content:center; gap:clamp(7px,2.1vw,25px); }
.plinko-peg-row i { width:5px; height:5px; flex:0 0 5px; border-radius:50%; background:#bfa3dc; box-shadow:0 0 8px #a657ff99; }
.plinko-ball { position:absolute; z-index:3; top:9px; left:calc(var(--landing) - 7px); width:14px; height:14px; border-radius:50%; background:#65fff3; box-shadow:0 0 18px #29e6dd,0 0 4px white inset; transition:left .3s; }
.plinko-ball.drop { animation:plinko-drop 1.2s cubic-bezier(.2,.75,.2,1) both; }
@keyframes plinko-drop { 0%{top:8px;left:calc(50% - 7px);opacity:.3} 18%{transform:translateX(-12px)} 36%{transform:translateX(13px)} 54%{transform:translateX(-9px)} 72%{transform:translateX(8px)} 100%{top:278px;left:calc(var(--landing) - 7px);transform:none;opacity:1} }
.plinko-slots { display:grid; gap:2px; }
.plinko-slots span { min-width:0; padding:6px 1px; overflow:hidden; border-radius:4px; background:#34233f; color:#947ca2; text-align:center; font-size:clamp(5px,.55vw,8px); }
.plinko-slots span:first-child,.plinko-slots span:last-child { background:#69223b; color:#ff9dbd; }
.plinko-slots span.landed { background:#1d746d; color:#bafff9; box-shadow:0 0 18px #29e6dd77; }
.plinko-controls { display:grid; grid-template-columns:1fr 1fr; gap:10px; max-width:560px; margin:0 auto 13px; }
.plinko-controls>div>small { display:block; margin-bottom:5px; color:#716a79; font-size:7px; letter-spacing:.12em; }
.segmented { display:grid; grid-template-columns:repeat(3,1fr); padding:3px; border:1px solid var(--line); border-radius:10px; background:#09080d; }
.segmented button { padding:9px 4px; border:0; border-radius:7px; background:transparent; color:#766f7d; cursor:pointer; text-transform:capitalize; font-weight:800; }
.segmented button.active { background:#a657ff22; color:#e6d3ff; box-shadow:inset 0 0 15px #a657ff18; }
.plinko-result-chip { width:150px; margin:16px auto 20px; padding:18px; border:1px solid #42eee166; border-radius:15px; background:#10221f; color:#8dfff6; font:900 38px 'Manrope'; text-shadow:0 0 24px #29e6dd88; animation:dice-reveal 1.15s cubic-bezier(.2,.8,.2,1) both; }
.result-overlay.settled .plinko-result-chip,.result-overlay.settled .plinko-ball { animation:none; }
.mines-board { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; max-width:570px; margin:18px auto; padding:13px; border:1px solid #a657ff2d; border-radius:16px; background:radial-gradient(circle at 50% 45%,#55317c2a,transparent 62%),#09070f; }
.mine-tile { aspect-ratio:1; border:1px solid #9d65cc33; border-radius:12px; background:linear-gradient(145deg,#21172f,#100c18); box-shadow:inset 0 1px #ffffff0a,0 6px 14px #0007; color:#bafff6; cursor:pointer; font:900 clamp(16px,2.1vw,29px) 'Manrope'; transition:.16s transform,.16s border-color,.16s background; }
.mine-tile.covered:hover:not(:disabled) { transform:translateY(-2px); border-color:#a657ff88; background:linear-gradient(145deg,#302043,#151020); }
.mine-tile.safe { border-color:#2ae6d466; background:radial-gradient(circle,#237d744f,#0d211f); color:#8dfff6; text-shadow:0 0 18px #29e6dd; animation:mine-reveal .32s ease both; }
.mine-tile.mine { border-color:#ff5b7655; background:radial-gradient(circle,#6e1c334d,#261019); color:#ff7895; text-shadow:0 0 18px #ff416f; animation:mine-reveal .32s ease both; }
.mine-tile.hit { border-color:#ff5b76; background:#511426; color:#ffe1e8; box-shadow:0 0 25px #ff416f66; animation:mine-hit .55s ease both; }
@keyframes mine-reveal { from{transform:scale(.55) rotate(-8deg);opacity:.2} to{transform:none;opacity:1} }
@keyframes mine-hit { 0%{transform:scale(.7)} 55%{transform:scale(1.12) rotate(8deg)} 100%{transform:none} }
.mine-count-control { max-width:570px; margin:0 auto 14px; padding:13px; border:1px solid var(--line); border-radius:12px; background:#ffffff04; }
.mine-count-control>div:first-child { display:flex; justify-content:space-between; align-items:center; }
.mine-count-control small { color:#756d7e; font-size:8px; letter-spacing:.14em; }
.mine-count-control strong { color:#cdb1ef; font:800 18px 'Manrope'; }
.mine-count-control>input { width:100%; margin:11px 0 1px; padding:0; accent-color:#a657ff; box-shadow:none; }
.mine-presets { display:grid; grid-template-columns:repeat(6,1fr); gap:5px; margin-top:10px; }
.mine-presets button { padding:7px 3px; border:1px solid var(--line); border-radius:7px; background:#ffffff05; color:#7e7588; cursor:pointer; font-weight:800; }
.mine-presets button.active { border-color:#42eee166; background:#29e6dd12; color:#8dfff6; }
.mines-live-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; max-width:570px; margin:0 auto 11px; }
.mines-live-strip>div { padding:10px 8px; border:1px solid var(--line); border-radius:9px; background:#ffffff04; text-align:center; }
.mines-live-strip small,.mines-live-strip strong { display:block; }
.mines-live-strip small { color:#6d6674; font-size:7px; letter-spacing:.1em; }
.mines-live-strip strong { margin-top:3px; color:#bbfff7; font:800 13px 'Manrope'; }
.mines-cashout { display:block; width:min(100%,570px); margin:0 auto; }
.mines-result-icon { width:105px; height:105px; display:grid; place-items:center; margin:15px auto 22px; border:1px solid #42eee177; border-radius:23px; background:#102a27; color:#92fff6; font-size:48px; text-shadow:0 0 25px #29e6dd; animation:mine-reveal .75s ease both; }
.mines-result.loss .mines-result-icon { border-color:#ff547077; background:#38131e; color:#ff839b; text-shadow:0 0 25px #ff416f; }
.result-overlay.settled .mines-result-icon,.result-overlay.settled .mine-tile { animation:none; }
.keno-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:620px; margin:17px auto 9px; }
.keno-toolbar>div:first-child strong { color:#cbb0ec; font:900 21px 'Manrope'; }
.keno-toolbar small { color:#716979; font-size:8px; letter-spacing:.1em; }
.keno-toolbar>div:last-child { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.keno-toolbar button { padding:7px 9px; border:1px solid var(--line); border-radius:7px; background:#ffffff05; color:#8d8397; cursor:pointer; font-size:8px; font-weight:800; }
.keno-toolbar button:hover { border-color:#a657ff77; color:#dcc7f5; }
.keno-grid { display:grid; grid-template-columns:repeat(8,1fr); gap:6px; max-width:620px; margin:0 auto 15px; padding:11px; border:1px solid #a657ff2d; border-radius:15px; background:radial-gradient(circle,#4a29702a,transparent 65%),#09070f; }
.keno-grid button { aspect-ratio:1; min-width:0; border:1px solid #8556aa35; border-radius:50%; background:linear-gradient(145deg,#21162f,#100c18); color:#877d91; cursor:pointer; font:800 clamp(9px,1.1vw,13px) 'Manrope'; transition:.14s; }
.keno-grid button:hover:not(:disabled) { transform:translateY(-2px); border-color:#a657ff88; color:#e0caf8; }
.keno-grid button.selected { border-color:#b56dff; background:radial-gradient(circle,#7737a9,#2a143f); color:#fff; box-shadow:0 0 14px #a657ff55; }
.keno-grid button.drawn { border-color:#ff5b7877; background:#3b1420; color:#ff9eb0; animation:keno-ball .5s ease both; }
.keno-grid button.hit { border-color:#42eee1; background:#123b36; color:#8dfff6; box-shadow:0 0 17px #29e6dd66; animation:keno-ball .5s ease both; }
@keyframes keno-ball { from{transform:scale(.55) rotate(-15deg);opacity:.2} to{transform:none;opacity:1} }
.keno-paytable { display:grid; gap:5px; margin-top:13px; }
.keno-paytable>div { display:flex; justify-content:space-between; padding:7px 9px; border:1px solid var(--line); border-radius:7px; background:#ffffff04; color:#81788a; font-size:9px; }
.keno-paytable b { color:#bafff7; }
.keno-draw-balls { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:17px auto 22px; max-width:340px; }
.keno-draw-balls span { aspect-ratio:1; display:grid; place-items:center; border:1px solid #a657ff77; border-radius:50%; background:#251337; color:#e6d4fb; font:900 15px 'Manrope'; animation:keno-ball .8s cubic-bezier(.2,.8,.2,1) both; }
.keno-draw-balls span.hit { border-color:#42eee1; background:#123b36; color:#8dfff6; box-shadow:0 0 15px #29e6dd66; }
.result-overlay.settled .keno-draw-balls span { animation:none; }
.hi-lo-table { position:relative; min-height:285px; margin:8px 0 16px; border:1px solid #a657ff35; border-radius:16px; background:radial-gradient(circle at 50% 42%,#67339738,transparent 43%),linear-gradient(160deg,#0e0a16,#07060c); box-shadow:inset 0 0 65px #000a; overflow:hidden; }
.hi-lo-table::before { content:''; position:absolute; inset:12px; border:1px solid #a657ff18; border-radius:12px; }
.hi-lo-deck { position:absolute; right:28px; top:27px; width:70px; height:96px; }
.hi-lo-deck i { position:absolute; inset:0; border:1px solid #a657ff66; border-radius:9px; background:repeating-linear-gradient(45deg,#241334 0 5px,#160d22 5px 10px); box-shadow:0 8px 20px #0008; }
.hi-lo-deck i:nth-child(2) { transform:translate(-5px,4px); }
.hi-lo-deck i:nth-child(3) { transform:translate(-10px,8px); }
.hi-lo-card-line { min-height:190px; display:flex; align-items:center; justify-content:center; gap:clamp(5px,1vw,12px); padding:24px 105px 15px 22px; }
.hi-lo-card { width:clamp(63px,9vw,92px); aspect-ratio:.7; flex:0 0 auto; display:grid; grid-template-rows:auto 1fr auto; padding:9px; border:2px solid #c7a4e6; border-radius:11px; background:linear-gradient(145deg,#f1e7fb,#a98bc4); color:#321545; box-shadow:0 13px 28px #0009; transform:translateY(calc((var(--card-index,0) % 2) * 5px)) rotate(calc((var(--card-index,0) - 2) * 1.4deg)); animation:hi-lo-deal .38s cubic-bezier(.2,.8,.2,1) both; }
.hi-lo-card small { font-size:6px; letter-spacing:.12em; }
.hi-lo-card strong { align-self:center; font:900 clamp(31px,4.5vw,49px) 'Manrope'; text-align:center; }
.hi-lo-card span { justify-self:end; color:#7a2caf; font-size:17px; }
.hi-lo-card.current { border-color:#65fff3; background:linear-gradient(145deg,#241633,#0e0b15); color:#dffefa; box-shadow:0 0 30px #29e6dd45,0 14px 30px #000b; transform:translateY(-8px) scale(1.05); }
.hi-lo-card.current span { color:#65fff3; }
.hi-lo-card.card-back { display:grid; place-items:center; padding:0; border-color:#a657ff77; background:repeating-linear-gradient(45deg,#2c173f 0 7px,#160d22 7px 14px); }
.hi-lo-card.card-back span { justify-self:auto; color:#c78eff; font-size:35px; text-shadow:0 0 20px #a657ff; }
@keyframes hi-lo-deal { from{transform:translate(80px,-30px) rotate(14deg) scale(.65);opacity:.1} to{opacity:1} }
.hi-lo-table-copy { position:absolute; left:0; right:0; bottom:13px; text-align:center; }
.hi-lo-table-copy small,.hi-lo-table-copy strong,.hi-lo-table-copy span { display:block; }
.hi-lo-table-copy small { color:#80659e; font-size:7px; letter-spacing:.16em; }
.hi-lo-table-copy strong { display:none; }
.hi-lo-table-copy span { margin-top:3px; color:#726a7d; font-size:9px; }
.hi-lo-choices { display:grid; grid-template-columns:1fr 1fr; gap:9px; max-width:570px; margin:0 auto 10px; }
.hi-lo-choices button { min-height:72px; display:grid; grid-template-columns:1fr auto; align-items:center; padding:12px 15px; border:1px solid var(--line); border-radius:12px; background:#ffffff05; color:#91879c; cursor:pointer; text-align:left; }
.hi-lo-choices button:hover:not(:disabled) { transform:translateY(-2px); }
.hi-lo-choices button.higher { border-color:#29e6dd44; background:#29e6dd0b; }
.hi-lo-choices button.lower { border-color:#a657ff55; background:#a657ff0c; }
.hi-lo-choices button span { font:800 15px 'Manrope'; text-transform:capitalize; }
.hi-lo-choices button.higher span,.hi-lo-choices button.higher strong { color:#79fff5; }
.hi-lo-choices button.lower span,.hi-lo-choices button.lower strong { color:#d5a9ff; }
.hi-lo-choices button strong { font:800 13px 'Manrope'; }
.hi-lo-choices button small { grid-column:1/-1; margin-top:4px; color:#716979; font-size:8px; }
.hi-lo-live-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; max-width:570px; margin:0 auto 10px; }
.hi-lo-live-strip>div { padding:10px; border:1px solid var(--line); border-radius:9px; background:#ffffff04; text-align:center; }
.hi-lo-live-strip small,.hi-lo-live-strip strong { display:block; }
.hi-lo-live-strip small { color:#696170; font-size:7px; letter-spacing:.1em; }
.hi-lo-live-strip strong { margin-top:3px; color:#c9fff9; font:800 13px 'Manrope'; }
.hi-lo-cashout { display:block; width:min(100%,570px); margin:0 auto; }
.hi-lo-result-cards { min-height:170px; display:flex; justify-content:center; align-items:center; gap:8px; margin:12px 0 20px; }
.hi-lo-result-cards .hi-lo-card { width:90px; }
.result-overlay.settled .hi-lo-card { animation:none; }
.page.game-page { max-width:none; padding:16px 18px 28px; }
.game-page>.back { margin-bottom:12px; }
.game-page .coin-flip-shell,.game-page .dice-shell,.game-page .limbo-shell,.game-page .plinko-shell,.game-page .mines-shell,.game-page .keno-shell,.game-page .hi-lo-shell { grid-template-columns:minmax(0,3.4fr) minmax(285px,.82fr); min-height:calc(100vh - 122px); }
.game-page .coin-game-panel,.game-page .dice-game-panel,.game-page .limbo-game-panel,.game-page .plinko-game-panel,.game-page .mines-game-panel,.game-page .keno-game-panel,.game-page .hi-lo-game-panel { min-height:calc(100vh - 122px); padding:clamp(24px,2.2vw,38px); }
.game-page .coin-title h1 { font-size:clamp(38px,3vw,54px); }
.game-page .coin-stage { height:clamp(300px,48vh,560px); }
.game-page .onyx-coin { width:clamp(170px,14vw,240px); height:clamp(170px,14vw,240px); }
.game-page .onyx-coin span { font-size:clamp(70px,6vw,105px); }
.game-page .dice-stage,.game-page .limbo-stage { height:clamp(300px,46vh,540px); }
.game-page .dice-stage strong,.game-page .limbo-stage strong { font-size:clamp(72px,8vw,130px); }
.game-page .plinko-board { min-height:clamp(500px,64vh,760px); }
.game-page .plinko-pegs { height:clamp(440px,57vh,690px); }
.game-page .plinko-peg-row i { width:8px; height:8px; flex-basis:8px; box-shadow:0 0 12px #a657ffcc; }
.game-page .plinko-ball { width:20px; height:20px; left:calc(50% - 10px); top:10px; box-shadow:0 0 24px #29e6dd,0 0 7px white inset; }
.plinko-slots span.impact { animation:plinko-impact .55s ease both; }
@keyframes plinko-impact { 0%{transform:scale(1)} 45%{transform:scale(1.35);box-shadow:0 0 30px #29e6dd;background:#1c776d;color:white} 100%{transform:scale(1.08);box-shadow:0 0 16px #29e6dd77} }
.game-page .mines-board { width:min(100%,72vh); max-width:820px; }
.game-page .keno-grid,.game-page .keno-toolbar { max-width:900px; }
.game-page .keno-grid button { font-size:clamp(12px,1vw,18px); }
.game-page .hi-lo-table { min-height:clamp(390px,52vh,620px); }
.game-page .hi-lo-card-line { min-height:clamp(290px,40vh,480px); }
.game-page .hi-lo-card { width:clamp(90px,9vw,145px); }
.header-home { border:0; background:none; color:white; font:800 15px 'Manrope'; letter-spacing:.2em; cursor:pointer; }
.header-spacer { flex:1; }
.foundation-page { max-width:1260px; }
.foundation-hero { min-height:300px; display:flex; flex-direction:column; justify-content:center; padding:clamp(28px,5vw,64px); border:1px solid #a657ff35; border-radius:20px; background:radial-gradient(circle at 85% 20%,#29e6dd18,transparent 30%),radial-gradient(circle at 70% 100%,#7a31e72b,transparent 45%),#100d19; }
.foundation-hero.compact { min-height:220px; }
.foundation-hero h1 { max-width:760px; margin:0; font:800 clamp(36px,5vw,64px)/1 'Manrope'; letter-spacing:-.045em; }
.foundation-hero p:not(.eyebrow) { max-width:650px; color:#a29baa; line-height:1.7; }
.foundation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:18px; }
.settings-card { padding:24px; border:1px solid var(--line); border-radius:16px; background:linear-gradient(145deg,#12101b,#0d0c13); }
.settings-card h2 { margin:0 0 10px; font:750 24px 'Manrope'; }
.settings-card h3 { margin:28px 0 4px; font:700 15px 'Manrope'; }
.settings-subhead { margin-top:28px; }
.button-row { display:flex; flex-wrap:wrap; gap:9px; margin-top:18px; }
.secondary,.danger-button { padding:11px 15px; border:1px solid var(--line); border-radius:10px; background:#ffffff08; cursor:pointer; }
.danger-button { border-color:#ff547044; color:#ff8a9d; background:#ff54700d; }
.reserved-card { background:repeating-linear-gradient(135deg,#100e17,#100e17 14px,#12101c 14px,#12101c 28px); }
.reserved-card p:last-child { color:var(--muted); line-height:1.65; }
.profile-banner { min-height:270px; display:flex; align-items:end; gap:25px; padding:42px; border:1px solid #a657ff38; border-radius:20px; background:radial-gradient(circle at 75% 20%,#29e6dd2b,transparent 30%),linear-gradient(120deg,#291344,#0c1d22); overflow:hidden; }
.profile-banner.banner-violet { background:radial-gradient(circle at 80% 10%,#a657ff3c,transparent 32%),linear-gradient(120deg,#2a1241,#0c0913); }
.profile-banner.banner-cyan { background:radial-gradient(circle at 80% 10%,#29e6dd3c,transparent 32%),linear-gradient(120deg,#102936,#090b12); }
.profile-banner.banner-midnight { background:radial-gradient(circle at 80% 10%,#3e4f8b3c,transparent 32%),linear-gradient(120deg,#11172a,#080910); }
.profile-banner h1 { margin:0; font:800 clamp(38px,5vw,62px) 'Manrope'; letter-spacing:-.045em; }
.profile-banner p:not(.eyebrow) { color:#bbb2c9; }
.toggle-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid var(--line); }
.toggle-row input { width:auto; margin:0; accent-color:var(--purple); }
.range-row { display:grid; grid-template-columns:1fr auto; align-items:center; gap:8px; }
.range-row input { grid-column:1/-1; margin:0; padding:0; accent-color:var(--purple); }
.range-row output { color:#c9b0ff; }
.account-facts { display:grid; gap:10px; margin:20px 0; }
.account-facts div { padding:12px; border:1px solid var(--line); border-radius:10px; background:#ffffff04; }
.account-facts dt { color:#716a7d; font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.account-facts dd { margin:5px 0 0; overflow-wrap:anywhere; font-size:12px; }
.rules-page { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.rules-page article { display:flex; gap:16px; min-height:130px; padding:22px; border:1px solid var(--line); border-radius:14px; background:#100e17; }
.rules-page article>b { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; border-radius:10px; color:#c8a3ff; background:#a657ff1c; }
.rules-page h2 { margin:0; font:700 17px 'Manrope'; }
.rules-page p { color:var(--muted); line-height:1.6; }
.rules-accept { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:16px; padding:22px; border:1px solid #a657ff55; border-radius:14px; background:#a657ff0e; }
.rules-accept h2 { margin:0; font:700 20px 'Manrope'; }
.inline-status { margin-top:20px; padding:12px; border-radius:10px; color:#c7c0d2; background:#ffffff06; line-height:1.5; }
.toast { position:fixed; right:25px; bottom:25px; z-index:30; max-width:360px; padding:13px 17px; border:1px solid #40e8b944; border-radius:10px; background:#10201ce8; box-shadow:0 15px 50px #0009; transform:translateY(20px); opacity:0; pointer-events:none; transition:.2s; font-size:12px; }
.toast.show { transform:none; opacity:1; }
.toast[data-tone=error] { border-color:#ff547055; background:#251016ec; }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }
@media (max-width:1100px) { .game-grid { grid-template-columns:repeat(3,1fr); } .top-grid .game-card:nth-child(n+4){display:none} .wallet,.gems{display:none} }
@media (max-width:760px) {
  .auth-shell { grid-template-columns:1fr; } .auth-art { min-height:330px; padding:28px; border-right:0; } .brand-large{left:28px;top:26px}.orb{width:170px;height:170px;top:42%}.orb-core{font-size:55px}.auth-copy{left:28px;bottom:25px}.auth-copy h1{font-size:34px}.auth-copy>p:last-child,.legal{display:none}.auth-panel{padding:35px 22px}.auth-card h2{font-size:29px}
  .shell{display:block}.sidebar{display:none}.nav-open .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:280px;z-index:40;box-shadow:30px 0 80px #000}.mobile-balances{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:-18px 0 20px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#110e19}.mobile-balances small,.mobile-balances strong{display:block}.mobile-balances small{color:#6d6676;font-size:7px;letter-spacing:.12em}.mobile-balances strong{margin-top:3px;font-size:10px}header{height:68px;padding:0 14px}.mobile-menu{display:block;border:0;background:none}.search{width:auto;flex:1}.profile-button>div,.icon-button{display:none}.page{padding:15px}.hero{min-height:330px;padding:28px}.hero-symbol{opacity:.25;right:-20px}.hero-content{z-index:3}.quick-grid{grid-template-columns:1fr}.game-grid{grid-template-columns:repeat(2,1fr)}.top-grid .game-card:nth-child(n+5){display:none}.game-art{height:105px}.section-head{margin-top:24px}.tier-row{grid-template-columns:1fr 1fr}.game-landing h1{font-size:38px}
  .social-heading{display:block}.social-heading h1{font-size:30px}.social-tabs{margin-top:15px;overflow:auto}.social-tabs button{flex:1}.social-columns{grid-template-columns:1fr}.social-row{align-items:flex-start;flex-direction:column}.social-row>div:last-child{flex-wrap:wrap}.transfer-form{width:100%}.history-row{grid-template-columns:1fr auto auto}.rules-modal{padding:22px}
  .foundation-grid,.rules-page{grid-template-columns:1fr}.foundation-hero{min-height:190px;padding:25px}.foundation-hero h1{font-size:36px}.profile-banner{min-height:250px;align-items:flex-start;flex-direction:column;justify-content:end;padding:25px}.user-avatar.large,.avatar-fallback.large{width:84px;height:84px}.profile-banner h1{font-size:38px}.settings-card{padding:19px}.foundation-shell .profile-button{display:flex}.foundation-shell .profile-button>div{display:none}.header-home{display:none}
  .page.game-page{padding:12px}.game-page .coin-flip-shell,.game-page .dice-shell,.game-page .limbo-shell,.game-page .plinko-shell,.game-page .mines-shell,.game-page .keno-shell,.game-page .hi-lo-shell,.coin-flip-shell,.dice-shell,.limbo-shell,.plinko-shell,.mines-shell,.keno-shell,.hi-lo-shell{grid-template-columns:1fr}.game-page .coin-game-panel,.game-page .dice-game-panel,.game-page .limbo-game-panel,.game-page .plinko-game-panel,.game-page .mines-game-panel,.game-page .keno-game-panel,.game-page .hi-lo-game-panel,.coin-game-panel,.dice-game-panel,.limbo-game-panel,.plinko-game-panel,.mines-game-panel,.keno-game-panel,.hi-lo-game-panel{min-height:0;padding:17px}.coin-title h1{font-size:31px}.tier-select{grid-template-columns:repeat(2,1fr)}.tier-select button:last-child{grid-column:1/-1}.game-page .coin-stage,.coin-stage{height:240px}.game-page .onyx-coin,.onyx-coin{width:145px;height:145px}.game-page .onyx-coin span,.onyx-coin span{font-size:62px}.coin-wager,.limbo-wager{grid-template-columns:1fr}.coin-wager .primary,.limbo-wager .primary{width:100%}.result-numbers{grid-template-columns:1fr}.coin-info-panel{grid-template-columns:1fr}.result-card{padding:23px}.game-page .dice-stage,.game-page .limbo-stage{height:270px}.game-page .dice-stage strong,.game-page .limbo-stage strong,.dice-stage strong,.limbo-stage strong{font-size:58px}.target-presets{grid-template-columns:repeat(3,1fr)}.game-page .plinko-board,.plinko-board{min-height:390px}.game-page .plinko-pegs,.plinko-pegs{height:330px}.game-page .plinko-peg-row i{width:6px;height:6px;flex-basis:6px}.plinko-controls{grid-template-columns:1fr}.game-page .mines-board,.mines-board{width:100%;gap:5px;padding:8px}.mine-tile{border-radius:8px}.mines-live-strip{grid-template-columns:1fr 1fr}.mine-presets{grid-template-columns:repeat(3,1fr)}.game-page .keno-grid,.keno-grid{grid-template-columns:repeat(5,1fr)}.keno-toolbar{align-items:flex-start}.keno-toolbar>div:last-child{max-width:190px}.game-page .hi-lo-table,.hi-lo-table{min-height:300px}.game-page .hi-lo-card-line,.hi-lo-card-line{min-height:210px;padding:21px 75px 12px 10px;gap:3px}.hi-lo-deck{right:18px;top:22px;width:53px;height:74px}.game-page .hi-lo-card,.hi-lo-card{width:62px;padding:6px}.hi-lo-choices{grid-template-columns:1fr}.hi-lo-live-strip{grid-template-columns:1fr 1fr}.hi-lo-live-strip>div:last-child{grid-column:1/-1}
}
@keyframes plinko-drop-mobile { 0%{top:8px;left:calc(50% - 7px);opacity:.3} 30%{transform:translateX(-9px)} 60%{transform:translateX(8px)} 100%{top:248px;left:calc(var(--landing) - 7px);transform:none;opacity:1} }
