body{color:#f4f4f4;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body:before{content:"";z-index:-1;position:fixed;inset:0}a{color:#76c7ff;text-decoration:none}.page-container{min-height:100vh;padding:2rem 3rem}.hero{justify-content:space-between;align-items:center;gap:2rem;display:flex}.hero h1{margin-bottom:.5rem;font-size:3rem}.logo{cursor:default}.hero .logo{margin-bottom:.5rem}.hero-left h1{align-items:center;gap:10px;display:flex}.hero-actions button,.hero-actions .secondary-btn,button{cursor:pointer;border:none;border-radius:999px;padding:.6rem 1.2rem;font-weight:600}.hero-actions button,button{color:#fff;background:#ff7b3c}.secondary-btn{color:#f4f4f4;background:0 0;border:1px solid #444}.highlight{margin-top:3rem}.card{background:#101827;border-radius:1rem;max-width:400px;margin:3rem auto;padding:2rem;box-shadow:0 12px 30px #0006}.result-box{background:#020617;border:1px solid #1f2937;border-radius:.75rem;margin-top:1rem;padding:.8rem 1rem;font-size:.95rem}.form label{margin-bottom:1rem;display:block}.form input{color:#f4f4f4;background:#050816;border:1px solid #333;border-radius:.5rem;width:100%;margin-top:.3rem;padding:.5rem}.form button{width:100%;margin-top:1rem}.error{color:#fff;background:#ff4c4c;border-radius:.5rem;margin-bottom:1rem;padding:.5rem .7rem}.muted{color:#aaa;font-size:.9rem}.dialog-backdrop{background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.dialog{background:#101827;border-radius:1rem;width:350px;padding:2rem;box-shadow:0 12px 30px #0009}.dialog h2{margin-top:0;margin-bottom:1rem}.dialog label{margin-bottom:1rem;display:block}.dialog input{color:#f4f4f4;background:#050816;border:1px solid #333;border-radius:.5rem;width:100%;margin-top:.3rem;padding:.5rem}.dialog-actions{justify-content:flex-end;gap:.5rem;display:flex}.user-layout{grid-template-columns:minmax(0,3fr) 280px;gap:2rem;padding:2rem 3rem;display:grid}.user-main{min-height:100vh}.user-header h1{margin-bottom:.3rem}.user-sidebar{flex-direction:column;gap:1rem;display:flex}.user-panel{background:#101827;border-radius:1rem;padding:1.2rem}.game-grid-wrapper{flex-wrap:wrap;gap:1rem;margin-top:1rem;display:flex}.game-card{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#111827d9;border-radius:.9rem;width:200px;padding:1rem;transition:transform .2s;box-shadow:0 0 15px #ff008040,0 0 20px #00ffff26}.game-card:hover{transform:scale(1.04);box-shadow:0 0 25px #ff008066,0 0 35px #00ffff4d}.game-card h4{margin-top:0}.history-list{margin:0;padding:0;font-size:.85rem;list-style:none}.history-row{justify-content:space-between;gap:.5rem;display:flex}.history-game{font-weight:600}.history-bet{color:#e5e7eb}.history-win{font-weight:600}.history-win.win{color:#4ade80}.history-win.lose{color:#f97373}.history-time{color:#9ca3af;margin-bottom:.5rem;font-size:.75rem}.leaderboard-header{justify-content:space-between;align-items:center;margin-bottom:2rem;display:flex}.leaderboard-grid{gap:2rem;display:grid}.leaderboard-section{background:#101827;border-radius:1rem;padding:1.5rem}.leaderboard-table{border-collapse:collapse;width:100%;margin-top:1rem;font-size:.9rem}.leaderboard-table th,.leaderboard-table td{text-align:left;border-bottom:1px solid #1f2937;padding:.4rem .6rem}.leaderboard-table th{color:#9ca3af;font-weight:500}.admin-tabs{gap:.5rem;margin-bottom:1rem;display:flex}.tab-btn{color:#e5e7eb;cursor:pointer;background:#020617;border:1px solid #374151;border-radius:999px;padding:.4rem 1rem;font-size:.9rem}.tab-btn.active{color:#fff;background:#ff7b3c;border-color:#ff7b3c}.admin-panel{background:#101827;border-radius:1rem;margin-top:1rem;padding:1.5rem;box-shadow:0 10px 30px #00000080}.admin-panel-header{justify-content:space-between;align-items:center;display:flex}.admin-table{border-collapse:collapse;width:100%;margin-top:1rem;font-size:.85rem}.admin-table th,.admin-table td{text-align:left;border-bottom:1px solid #1f2937;padding:.4rem .6rem}.admin-table th{color:#9ca3af;font-weight:500}.small-btn{cursor:pointer;color:#fff;background:#ff7b3c;border:none;border-radius:999px;padding:.25rem .7rem;font-size:.8rem}.small-btn.secondary-btn{color:#e5e7eb;background:0 0;border:1px solid #4b5563}.link-cell{color:#76c7ff;cursor:pointer;text-decoration:underline}.slot-grid{flex-direction:column;gap:.25rem;margin-bottom:.5rem;display:inline-flex}.slot-row{gap:.25rem;display:flex}.slot-cell{background:#0b1120;border:1px solid #1f2937;border-radius:.4rem;justify-content:center;align-items:center;width:32px;height:32px;font-size:.9rem;font-weight:600;display:flex}@media (max-width:900px){.hero{flex-direction:column;align-items:flex-start}.user-layout{grid-template-columns:1fr}}body{background:url(/casino-bg.png) 50%/cover no-repeat fixed}.game-frame{border:0;width:100%;display:block}.dialog-backdrop>.dialog{max-width:calc(100vw - 6rem);max-height:calc(100dvh - 4rem);overflow-y:auto}.dialog-backdrop:has(.game-dialog-fullscreen){z-index:100}.dialog-backdrop>.dialog.game-dialog-fullscreen{box-sizing:border-box;background:#0b1020;border-radius:0;flex-direction:column;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;display:flex;overflow:hidden}.game-dialog-fullscreen>h2{padding:12px max(16px,env(safe-area-inset-left));border-bottom:1px solid #252c42;flex:none;margin:0;font-size:14px}.game-dialog-fullscreen>.game-frame{flex:1 1 0;min-height:0;height:0!important}.game-dialog-fullscreen>[role=status]{padding:0 16px}body:has(.lobby-shell){color:#36264d;background-color:#6419bc;background-image:-webkit-linear-gradient(315deg,#6017b510,#e5388610),-webkit-image-set(url(/lobby-theme/learning-landscape-vibrant-1600.webp) 1x,url(/lobby-theme/learning-landscape-vibrant-native.webp) 2x);background-image:linear-gradient(135deg,#6017b510,#e5388610),image-set("/lobby-theme/learning-landscape-vibrant-1600.webp" 1x,"/lobby-theme/learning-landscape-vibrant-native.webp" 2x);background-position:50%;background-repeat:no-repeat;background-size:cover;background-attachment:fixed}.lobby-shell,.lobby-shell *{box-sizing:border-box}.lobby-shell{color:#36264d;grid-template-columns:220px minmax(0,1fr);gap:28px;max-width:1600px;min-height:100dvh;margin:0 auto;padding:24px;font-family:ui-rounded,Avenir Next,system-ui,sans-serif;display:grid}.lobby-shell .glass{-webkit-backdrop-filter:blur(18px);background:#ffffffa3;border:1px solid #ffffffe6;box-shadow:inset 0 1px #fff,0 8px 30px #4c28630c}.lobby-shell button,.lobby-shell a{-webkit-tap-highlight-color:transparent}.lobby-shell button{font:inherit;color:inherit;cursor:pointer}.lobby-shell button:focus-visible,.lobby-shell a:focus-visible{outline-offset:4px;outline:3px solid #8b5bc2}.lobby-sidebar{border-radius:28px;flex-direction:column;align-self:start;height:calc(100dvh - 48px);padding:22px 14px 14px;display:flex;position:sticky;top:24px}.lobby-brand{color:#36264d;padding:4px 6px 30px;display:block}.lobby-navigation{gap:8px;display:grid}.lobby-navigation a,.lobby-navigation button{color:#6a587c;text-align:left;background:0 0;border-radius:17px;align-items:center;gap:13px;min-height:49px;padding:13px 15px;font-size:13px;font-weight:650;text-decoration:none;display:flex}.lobby-navigation a:hover,.lobby-navigation button:hover{color:#573481;background:#eee3f8}.lobby-user{border-top:1px solid #77549324;align-items:center;gap:4px;margin-top:auto;padding-top:18px;display:flex}.lobby-shell .account-button{background:0 0;border-radius:14px;align-items:center;gap:10px;min-width:0;padding:6px;display:flex}.user-avatar{color:#665176;background:#e3dbea;border-radius:14px;flex:none;place-items:center;width:38px;height:38px;font-size:15px;font-weight:800;display:grid}.account-name{text-overflow:ellipsis;max-width:94px;font-size:12px;font-weight:700;overflow:hidden}.lobby-shell .logout-button{color:#78628b;background:0 0;border-radius:15px;margin-left:auto;padding:11px}.lobby-shell .logout-button:hover{background:#eee3f8}.lobby-main{min-width:0;padding:14px 0 0}.lobby-heading{justify-content:space-between;align-items:center;gap:16px;padding:0 4px 25px;display:flex}.lobby-heading h1{letter-spacing:-.05em;align-items:center;gap:13px;margin:0;font-size:clamp(27px,3vw,36px);font-weight:800;display:flex}.game-count{color:#775c91;letter-spacing:0;background:#e8dcf5;border-radius:10px;place-items:center;min-width:29px;height:29px;font-size:12px;display:inline-grid}.lobby-shell .wallet-pill{color:#61417e;white-space:nowrap;border-radius:999px;align-items:center;gap:9px;padding:12px 17px;display:flex}.wallet-pill p{margin:0;font-size:12px;font-weight:750}.wallet-pill p>span{color:#79648d;font-weight:450}.lobby-collection{border-radius:30px;padding:22px;position:relative}.collection-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px;display:flex}.game-filters{background:#e6dbf2a8;border:1px solid #fff9;border-radius:999px;gap:5px;padding:5px;display:inline-flex}.lobby-shell .game-filters button{color:#705b83;background:0 0;border-radius:999px;min-height:40px;padding:10px 17px;font-size:12px;font-weight:650;transition:background .15s,color .15s}.collection-count{color:#765b8c;white-space:nowrap;font-size:11px}.catalogue-status{color:#765b8c;margin:-10px 0 12px;font-size:11px;display:block}.lobby-notice{color:#685336;background:#f8eedb;border-radius:15px;padding:12px 15px;font-size:12px;line-height:1.5}.lobby-notice button{margin-left:8px}.lobby-shell .game-grid-wrapper{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;display:grid}.lobby-shell .game-card{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffb8;border:1px solid #ffffffd9;border-radius:23px;width:auto;min-width:0;padding:0;transition:transform .18s,box-shadow .18s;position:relative;overflow:hidden;box-shadow:0 3px 10px #4728660c,inset 0 1px #fff}.lobby-shell .game-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #5934761c}.game-cover{aspect-ratio:3/2;background:#e9e5ee;position:relative;overflow:hidden}.game-cover img{object-fit:cover;width:100%;height:100%;display:block}.game-card-body{justify-content:space-between;align-items:center;gap:12px;padding:17px 18px 18px;display:flex}.lobby-shell .game-card h4{color:#39264f;letter-spacing:-.025em;margin:0;font-size:16px;font-weight:750;line-height:1.3}.lobby-shell .game-card-action{z-index:1;background:0 0;border:0;border-radius:23px;width:100%;height:100%;padding:0;position:absolute;inset:0}.lobby-shell .game-card-action:focus-visible{outline-offset:-3px;outline:3px solid #8b5bc2}.lobby-shell .lobby-drawer{color:#39264f;background:#faf6fff5;border-radius:28px;width:370px;max-width:calc(100vw - 32px);height:calc(100dvh - 40px);max-height:none;margin:0;padding:24px;position:fixed;inset:20px 20px 20px auto;box-shadow:0 14px 60px #44205d29}.lobby-drawer:not([open]){display:none}.lobby-drawer::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#35204755}.lobby-drawer>header{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.lobby-drawer h2{letter-spacing:-.04em;margin:0;font-size:23px}.lobby-drawer header button{color:#61417e;background:#ecdef7;place-items:center;min-height:44px;padding:10px;display:grid}.lobby-drawer .user-panel{color:#61417e;background:0 0;padding:0}.lobby-drawer .user-panel p{color:#78618d;font-size:13px}.lobby-drawer .history-list li{border-bottom:1px solid #e8dcef;padding:14px 0}.lobby-drawer .history-row{flex-wrap:wrap;gap:8px;font-size:12px}.lobby-drawer .history-time{color:#7b638f;margin-top:8px}.lobby-drawer .history-win.win{color:#39724e}.lobby-drawer .history-win.lose{color:#9c554b}.account-details .user-avatar{border-radius:20px;width:58px;height:58px;font-size:22px}.account-details h3{margin:20px 0 8px;font-size:23px}.account-details>span:last-child{color:#7b638f;font-size:13px}@media (max-width:1199px) and (min-width:900px){.lobby-shell{grid-template-columns:200px minmax(0,1fr);gap:20px;padding:20px}.lobby-shell .game-grid-wrapper{grid-template-columns:repeat(2,minmax(0,1fr))}.lobby-brand{padding-left:0;padding-right:0}}@media (max-width:899px){.lobby-shell{grid-template-columns:1fr;gap:22px;padding:18px}.lobby-sidebar{border-radius:25px;grid-template-columns:minmax(0,1fr) auto;gap:14px;height:auto;padding:15px;display:grid;position:static}.lobby-brand{align-self:center;padding:3px 0}.lobby-navigation{grid-area:2/1/auto/-1;gap:6px;display:flex}.lobby-navigation a,.lobby-navigation button{flex:1;justify-content:center;gap:7px;min-height:46px;padding:12px 8px;font-size:12px}.lobby-user{border:0;margin:0;padding:0}.account-name{display:none}.lobby-shell .logout-button{padding:10px}.lobby-main{padding:0}.lobby-heading{padding-bottom:20px}.lobby-shell .game-grid-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lobby-collection{border-radius:26px;padding:18px}}@media (max-width:559px){.lobby-shell{gap:21px;padding:14px}.lobby-sidebar{padding:12px}.lobby-brand .logo{gap:4px!important}.lobby-brand .logo>svg{width:29px}.lobby-brand .logo>div>div{font-size:15px!important}.lobby-navigation a,.lobby-navigation button{gap:6px;font-size:11px}.lobby-navigation svg{width:17px}.lobby-shell .account-button{padding:3px}.user-avatar{border-radius:12px;width:32px;height:36px}.lobby-shell .logout-button{padding:9px}.lobby-shell .wallet-pill{gap:6px;padding:10px 12px}.wallet-pill p{font-size:10px}.wallet-pill>svg{width:17px}.wallet-pill p>span{display:none}.lobby-heading h1{font-size:28px}.lobby-collection{padding:13px}.collection-toolbar{gap:8px;margin-bottom:17px}.collection-count{display:none}.game-filters{justify-content:space-between;width:100%}.lobby-shell .game-filters button{flex:1;padding:10px 12px;font-size:12px}.lobby-shell .game-grid-wrapper{grid-template-columns:1fr;gap:19px}.game-card-body{padding:17px 18px 20px}.lobby-shell .game-card h4{font-size:19px}}@media (prefers-reduced-motion:reduce){.lobby-shell .game-card,.lobby-shell .game-filters button{transition:none}}.lobby-shell .account-button,.lobby-shell .logout-button{min-width:44px;min-height:44px}@media (max-width:599px){body:has(.lobby-shell){background-image:-webkit-linear-gradient(315deg,#6017b510,#e5388610),-webkit-image-set(url(/lobby-theme/learning-portrait-vibrant-780.webp) 1x,url(/lobby-theme/learning-portrait-vibrant-native.webp) 2x);background-image:linear-gradient(135deg,#6017b510,#e5388610),image-set("/lobby-theme/learning-portrait-vibrant-780.webp" 1x,"/lobby-theme/learning-portrait-vibrant-native.webp" 2x)}}.lobby-shell{color:#fff5ff}.lobby-shell .glass{background:#37146dc9;border-color:#e9beff66;box-shadow:inset 0 1px #ffffff30,0 12px 32px #28095830}.lobby-brand{color:#fff5ff}.lobby-navigation a,.lobby-navigation button,.lobby-shell .logout-button{color:#f1d7ee}.lobby-navigation .is-active{color:#fff;background:#a52f97;box-shadow:inset 0 1px #ffffff30}.lobby-navigation a:hover,.lobby-navigation button:hover,.lobby-shell .logout-button:hover{color:#fff;background:#8528ac}.lobby-user{border-color:#efc7ee30}.game-count{color:#ffe4f5;background:#8831b5}.lobby-shell .wallet-pill,.wallet-pill p>span{color:#ffeafa}.game-filters{background:#210c3e70;border-color:#efc4ff30}.lobby-shell .game-filters button{color:#f1d3ee}.lobby-shell .game-filters button[aria-selected=true]{color:#fff;background:#ae287f;box-shadow:inset 0 1px #ffffff35,0 3px 8px #21052c26}.collection-count,.catalogue-status{color:#f1d3ee}.lobby-shell button:focus-visible,.lobby-shell a:focus-visible{outline-color:#f4addf}.lobby-shell .game-card{background:#fff6fef5;border-color:#ffe7ffd9}.lobby-shell .game-card:hover{box-shadow:0 12px 24px #17032140}.lobby-shell .game-card:has(:focus-visible){box-shadow:0 0 0 3px #f4addf,0 10px 24px #17032140}.user-avatar{color:#fff0fc;background:#873f81}.lobby-shell .lobby-drawer{color:#39264f;background:#fff4fcf5}.lobby-shell .game-card{--title-start:#6d28d9;--title-end:#9d174d;background:#6d28d9}.lobby-shell .game-card[data-cover=dice]{--title-start:#6d28d9;--title-end:#6b21a8}.lobby-shell .game-card[data-cover=slots]{--title-start:#a33413;--title-end:#9d174d}.lobby-shell .game-card[data-cover=color-spin]{--title-start:#006c72;--title-end:#5b21b6}.lobby-shell .game-card[data-cover=animal-pick]{--title-start:#21613e;--title-end:#3f6212}.lobby-shell .game-card[data-cover=coin-flip]{--title-start:#8c4408;--title-end:#9d174d}.lobby-shell .game-card[data-cover=little-sorter]{--title-start:#9f245e;--title-end:#8c3514}.lobby-shell .game-card[data-cover=shape-builder]{--title-start:#075985;--title-end:#5b21b6}.lobby-shell .game-card[data-cover=number-garden]{--title-start:#1a6539;--title-end:#16646d}.lobby-shell .game-card[data-cover=pattern-parade]{--title-start:#7e22ce;--title-end:#a21962}.lobby-shell .game-card-body{background:linear-gradient(115deg,var(--title-start),var(--title-end));min-height:76px;box-shadow:inset 0 1px #ffffff30}.lobby-shell .game-card h4{color:#fff;text-shadow:0 1px 2px #24083445;overflow-wrap:anywhere}.lobby-shell .game-card:is(:hover,:focus-within) .game-card-body{box-shadow:inset 0 2px #ffffff70}.lobby-shell .game-card-action:focus-visible{outline-color:#ffe8a3}
