/* Shared practice-casino shell. Account/Profile styles remain untouched. */
body.casino-page { --casino-ink:#eef3fa; --casino-muted:#9fb0c4; --casino-line:#2a374b; --casino-mint:#6ee7b7; --pk-tabbar-height:56px; margin:0; min-width:0; min-height:100dvh; background:#0b1120; color:var(--casino-ink); color-scheme:dark; font:400 15px/1.5 'IBM Plex Sans',sans-serif; }
.casino-page *, .casino-page *::before, .casino-page *::after,
.profile-casino *, .profile-casino *::before, .profile-casino *::after { box-sizing:border-box; }
.casino-page [hidden] { display:none !important; }
.casino-page :is(button,a,summary,input):focus-visible, .profile-casino a:focus-visible { outline:2px solid #eef3fa; outline-offset:3px; }
.casino-page :is(button,a,summary) { -webkit-tap-highlight-color:transparent; }
.casino-page button { font:inherit; }
.casino-page a { color:inherit; }
.casino-page h1, .casino-page h2, .casino-page h3 { font-family:'Space Grotesk',sans-serif; }
.casino-page .casino-header { display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:1120px; margin:auto; padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px; }
.casino-page .casino-header-title { min-width:0; margin:0; font-size:20px; font-weight:600; letter-spacing:-.025em; }
.casino-page .casino-brand { display:inline-flex; align-items:center; gap:10px; min-height:44px; text-decoration:none; }
.casino-page .casino-brand-mark { display:block; width:40px; height:40px; padding:3px; border-radius:10px; background:#fff; object-fit:contain; }
.casino-page .casino-brand-wordmark { color:#fff; font:700 24px/1 'Space Grotesk',sans-serif; letter-spacing:-.04em; }
.casino-page .casino-back, .casino-page .casino-rules-toggle { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:44px; min-height:44px; padding:8px 0; color:#c3cedd; font-size:14px; text-decoration:none; }
.casino-page .casino-main { width:100%; max-width:1120px; margin:auto; padding:20px 16px calc(88px + env(safe-area-inset-bottom,0px)); }
.casino-page .casino-practice-note { color:#a7c7ba; font-size:12px; }
.casino-page .casino-panel { min-width:0; padding:16px; border:1px solid var(--casino-line); border-radius:16px; background:#111c2e; }
.casino-page .casino-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-width:44px; min-height:44px; padding:10px 14px; border:1px solid #3b4e65; border-radius:12px; background:#152337; color:#eef3fa; font-weight:600; text-decoration:none; cursor:pointer; }
.casino-page .casino-button--primary { border-color:#6ee7b7; background:#6ee7b7; color:#09271d; }
.casino-page .casino-button:disabled { opacity:.48; cursor:not-allowed; }
/* Give the guest helper an in-flow home instead of its fixed header overlay. */
.casino-page .casino-guest-slot { margin-top:16px; }
.casino-page .casino-guest-slot:empty { display:none; }
.casino-page #guestHeaderBtn { display:flex !important; position:static !important; align-items:center; justify-content:center; width:100%; min-height:44px; padding:10px 16px !important; border:1px solid #3f695b; border-radius:12px !important; background:#112a28 !important; color:#a0efd0 !important; box-shadow:none !important; font-size:14px !important; }
.casino-page .pk-tabbar { bottom:0; z-index:60; background:#0b1120; }
.casino-page .pk-tab { min-height:56px; padding-block:6px; color:#9fb0c4; }
.casino-page .pk-tab.is-active { color:#6ee7b7; background:#6ee7b714; border-radius:12px 12px 0 0; }
.casino-page .pk-tab.is-active::before { background:#6ee7b7; box-shadow:none; }

/* Lobby: two real games, no non-functional 'coming soon' tiles. */
.casino-lobby .casino-main { padding-top:12px; }
.casino-lobby-heading { margin:8px 0 22px; }
.casino-lobby-heading h1 { margin:0; font-size:clamp(26px,4vw,34px); line-height:1.2; letter-spacing:-.035em; }
.casino-lobby-heading p { max-width:520px; margin:8px 0 0; color:#aab9cd; font-size:14px; }
.casino-lobby .casino-practice-note { margin:0 0 8px; }
.casino-game-grid { display:grid; gap:16px; }
.casino-game-card { position:relative; display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #33514e; border-radius:20px; background:#102a2a; text-decoration:none; transition:border-color .15s,background-color .15s; }
.casino-game-card--roulette { border-color:#37445d; background:#162237; }
.casino-game-art { position:relative; display:grid; place-items:center; height:136px; overflow:hidden; background:radial-gradient(ellipse at 50% 70%,#24615377,transparent 70%); }
.casino-game-art--roulette { background:radial-gradient(ellipse at 50% 65%,#40577c66,transparent 70%); }
.casino-mini-card { position:absolute; display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; width:65px; height:88px; padding:8px; border:1px solid #fff; border-radius:8px; background:#f4f6fa; color:#142032; box-shadow:0 6px 12px #0003; font:700 23px/1 'Space Grotesk',sans-serif; transform:translateX(-22px) rotate(-13deg); }
.casino-mini-card + .casino-mini-card { color:#ad2642; transform:translate(22px,6px) rotate(12deg); }
.casino-mini-card span { align-self:flex-end; font-size:28px; }
.casino-wheel-art { width:112px; height:112px; border:6px solid #b5a16b; border-radius:50%; background:repeating-conic-gradient(#862f40 0deg 10deg,#1a2539 10deg 20deg); box-shadow:inset 0 0 0 5px #0e1828,0 6px 12px #0003; }
.casino-wheel-art::before { content:''; position:absolute; inset:0; width:48px; height:48px; margin:auto; border:2px solid #b5a16b; border-radius:50%; background:#142133; }
.casino-wheel-art::after { content:''; position:absolute; top:24px; left:calc(50% + 13px); width:9px; height:9px; border-radius:50%; background:#f7f9fc; }
.casino-game-copy { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:0 20px 20px; }
.casino-game-copy h2 { margin:0; font-size:24px; letter-spacing:-.025em; }
.casino-game-copy p { margin:5px 0 14px; color:#b6c8d0; font-size:14px; }
.casino-game-meta { display:flex; flex-wrap:wrap; gap:4px 12px; margin-bottom:16px; color:#a7babe; font-size:12px; }
.casino-game-copy .casino-button { align-self:stretch; margin-top:auto; }
.casino-how { margin-top:20px; padding:16px 0 0; border-top:1px solid #2a374b; }
.casino-how h2 { margin:0 0 10px; font-size:16px; }
.casino-how ul { display:grid; gap:10px; margin:0; padding:0; list-style:none; color:#aab9cd; font-size:13px; }
.casino-how strong { color:#dce5f1; font-weight:500; }

/* Only this block styles the existing Profile page. */
.profile-casino { padding:20px !important; }
.profile-casino-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; }
.profile-casino .profile-casino-heading h2 { margin:0; color:#eef3fa; font:600 20px/1.3 'Space Grotesk',sans-serif; letter-spacing:-.02em; }
.profile-casino .profile-casino-browse { display:inline-flex; align-items:center; gap:6px; min-height:44px; color:#9becc9; font-size:13px; text-decoration:none; }
.profile-casino .profile-casino-description { margin:4px 0 16px; color:#aebed0; font-size:13px; line-height:1.6; }
.profile-casino-games { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.profile-casino-game { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; padding:14px; border:1px solid #36554f; border-radius:14px; background:#102a2a; text-decoration:none; }
.profile-casino-game + .profile-casino-game { border-color:#3a4963; background:#162237; }
.profile-casino-game strong { color:#eef3fa; font:600 16px/1.3 'Space Grotesk',sans-serif; }
.profile-casino-game small { color:#afc1cb; font-size:12px; }
.profile-casino-game .profile-casino-play { display:flex; align-items:center; justify-content:space-between; align-self:stretch; gap:8px; min-height:44px; margin-top:auto; padding-top:6px; color:#93ebc4; font-size:13px; font-weight:600; }
.profile-casino .profile-casino-note { margin:12px 0 0; color:#9fb0c4; font-size:12px; line-height:1.5; }
@media (min-width:620px) {
  .casino-game-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .casino-game-art { height:184px; }
  .casino-how ul { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
}
@media (max-width:360px) {
  .profile-casino { padding:16px !important; }
  .profile-casino-games { gap:8px; }
  .profile-casino-game { padding:10px; }
  .profile-casino-game strong { font-size:15px; }
}
@media (hover:hover) {
  .casino-game-card:hover, .profile-casino-game:hover { border-color:#6ee7b7; }
  .casino-page .casino-button:not(:disabled):hover { filter:brightness(1.08); }
}
@media (prefers-reduced-motion:reduce) {
  .casino-page *, .casino-page *::before, .casino-page *::after,
  .profile-casino *, .profile-casino *::before, .profile-casino *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}