/*
 * royal_games.css — the 1BET888 black-and-gold chrome for the game lobby and
 * every game page (casino shell games, Aviator, Mines). Loaded after each
 * page's own <style>, so it re-points the shared colour variables and restyles
 * the chrome (top bar, panels, nav, buttons) while each game keeps its own
 * board art and its accent colour. Green stays the colour of a win.
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg:#07070a; --panel:#14141b; --panel2:#1b1b24; --line:#26262f; --line2:#30303b;
  --dim:#9a97a3; --dimmer:#6c6976;
  --rg-gold:#f5c542; --rg-gold2:#ffdd7a;
  --rg-grad:linear-gradient(135deg,#ffe58a 0%,#f5c542 38%,#d49b12 72%,#a87308 100%);
  --sh-accent:#f5c542;
}
html body{background:var(--bg) !important;font-family:'Poppins',system-ui,-apple-system,"Segoe UI",sans-serif !important}
html body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(640px 360px at 50% -120px,rgba(245,197,66,.16),transparent 70%),radial-gradient(500px 400px at 100% 100%,rgba(184,134,11,.08),transparent 70%)}

/* ── top bars ───────────────────────────────────────────────── */
html body .topbar,html body header.top{background:rgba(7,7,10,.9) !important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,215,110,.14) !important}
html body .topbar .logo{font-family:'Poppins',sans-serif;font-style:normal;font-weight:800;background:var(--rg-grad);-webkit-background-clip:text;background-clip:text;color:transparent !important;text-shadow:none}
html body .bal{color:var(--rg-gold2)}
html body .howto{border-color:rgba(245,197,66,.55) !important;color:var(--rg-gold) !important}
html body .iconbtn:hover{background:#1b1b24}

/* lobby header */
html body .brand{text-decoration:none}
html body .brandlogo{height:40px;width:auto;display:block;mix-blend-mode:screen}
html body .addbtn{background:var(--rg-grad) !important;color:#1a1200 !important;box-shadow:0 4px 14px rgba(245,197,66,.3)}
html body .authbtn{display:inline-flex;align-items:center;padding:8px 16px;border-radius:12px;font-size:13px;font-weight:700;text-decoration:none;
  background:var(--rg-grad);color:#1a1200;box-shadow:0 4px 14px rgba(245,197,66,.28)}
html body .authbtn.ghost{background:transparent;color:var(--rg-gold);border:1.5px solid #8a6a12;box-shadow:none}

/* lobby content */
html body .hero{background:linear-gradient(150deg,#2a2210 0%,#15120a 55%,#0f0d08 100%) !important;border-color:rgba(245,197,66,.25) !important}
html body .hero .hgo{background:var(--rg-grad) !important;color:#1a1200 !important}
html body .shelf .gpill.on{background:var(--rg-grad) !important;border-color:transparent !important;color:#1a1200 !important}
html body .shelf .gsearch input:focus{border-color:var(--rg-gold) !important}
html body .shelf .gtile,html body .shelf .gt{border-color:rgba(255,255,255,.07)}
html body .shelf .gtplay-btn{background:var(--rg-grad) !important;color:#1a1200 !important}
html body .shelf h2,html body .shelf .shtitle{color:#f5f3ee}

/* ── panels (shell games, mines, aviator) ───────────────────── */
html body .panel,html body .statbar > div,html body .listpanel,html body .ctrl .panel{border:1px solid rgba(255,255,255,.06)}
html body .statbar .nv{color:var(--rg-gold2) !important}
html body .fairbtn{border-color:rgba(245,197,66,.4) !important;color:var(--rg-gold) !important}
html body .quick button,html body .step{background:#1f1f29 !important;color:#d8d5df !important}
html body .amtrow input{background:#0e0e14 !important;border-color:#30303b !important}
html body .amtrow input:focus{border-color:var(--rg-gold) !important}
html body .act.wait{background:#2a2a33 !important;color:#8f8c99 !important}
html body .sheet .card,html body .gsheet .gcard{background:#121218 !important;border:1px solid rgba(245,197,66,.18)}
html body .sheet .close,html body .gsheet .close{background:var(--rg-grad) !important;color:#1a1200 !important}

/* bottom nav */
html body .navbar{background:rgba(10,10,14,.95) !important;backdrop-filter:blur(12px);border-top:1px solid rgba(255,255,255,.08) !important}
html body .navbar a.on,html body .navbar button.on{color:var(--rg-gold) !important}

/* toasts */
html body #toast{border:1px solid rgba(255,215,110,.2)}

/* main action buttons: BET / PLAY / SPIN in gold; cash-out keeps its orange, waiting stays grey */
html body .act:not(.cash):not(.wait):not(.cancel){background:var(--rg-grad) !important;color:#1a1200 !important;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.18),0 6px 18px rgba(245,197,66,.32) !important;border-color:rgba(255,255,255,.3) !important}
