:root{--gw-header-height:86px;--gw-download-height:0px}
body:has(.gw-fixed-header.has-download){--gw-download-height:36px}
.gw-fixed-header{position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:640px;z-index:1000;background:#030a18 url('/assets/home-redesign-20261104/top.webp') center/cover;box-shadow:0 3px 15px #0008}
html[data-gw-tg-system-safe] .gw-fixed-header{top:0}
.gw-download-strip{height:36px;display:flex;align-items:center;justify-content:center;gap:10px;border-bottom:1px solid #2c77ab;background:#061124f5;color:#fff;font:600 13px/1 system-ui;position:relative;padding:0 35px 0 8px;box-sizing:border-box}
.gw-download-strip em{font-style:normal;color:#4dddff}.gw-download-action{color:#ffe53e;background:transparent;border:1px solid #f7da1e;border-radius:7px;padding:5px 10px;font-size:12px;white-space:nowrap}.gw-download-close{position:absolute;right:9px;top:3px;color:#7c879b;border:0;background:none;font-size:28px;line-height:28px}
.gw-unified-topbar{height:86px;display:grid;grid-template-columns:minmax(0,1fr) 44% 34px;gap:9px;align-items:center;padding:10px 16px;box-sizing:border-box;position:relative!important}
.gw-unified-topbar .galaxy-topbar-logo{width:100%!important;max-width:174px;height:auto!important;max-height:66px;object-fit:contain;margin:0!important}


.gw-notification{padding:0;background:transparent;border:0;width:34px;height:44px;display:grid;place-items:center}.gw-notification img{width:44px;height:44px;max-width:none;object-fit:contain}
.galaxy-live-tabs .galaxy-page-motion,.galaxy-live-tabs .galaxy-motion-page{transform:none!important}
body:has(.gw-fixed-header) .galaxy-live-tabs{padding-top:calc(var(--gw-header-height) + var(--gw-download-height))!important;box-sizing:border-box;}
.galaxy-live-tabs .gw-home-redesign,.galaxy-live-tabs .galaxy-profile,.galaxy-live-tabs .galaxy-wallet,.galaxy-live-tabs .galaxy-lobby,.galaxy-live-tabs .galaxy-rebuild-page{padding-top:0!important}
.gw-home-redesign{max-width:640px;margin:0 auto;background:transparent;color:#fff;min-height:calc(100dvh - 86px - var(--gw-download-height));padding:0 0 110px;box-sizing:border-box}
.gw-home-content{padding:8px 14px 0}.gw-home-hero{border:1px solid #357ca2;border-radius:14px;overflow:hidden}.gw-home-hero .galaxy-portal-carousel{margin:0!important}.gw-home-hero .galaxy-portal-banner{aspect-ratio:1.98;height:auto!important;min-height:0!important;border:0!important}.gw-home-hero .galaxy-portal-dots{margin:5px 0!important}
.gw-home-notice{display:flex;align-items:center;gap:10px;background:transparent;border:0;color:#fff;width:100%;padding:12px 4px;min-height:44px;text-align:left;font:12px/1.5 system-ui}.gw-home-notice>span:first-child{color:#25ceff;font-size:21px}.gw-home-notice>span:nth-child(2){flex:1}.gw-home-notice b{font-size:21px;font-weight:400;color:#91cfe5}
.gw-home-jackpot{position:relative;display:block;width:100%;min-height:128px;aspect-ratio:2.63;background:transparent url('/assets/home-redesign-20261104/pool.webp') center/100% 100%;border:0;padding:8px 4px 18px;color:white;text-align:center;margin:0 0 8px}.gw-home-jackpot h2{font:bold 23px/1.2 Georgia,'Noto Serif SC',serif;margin:2px 0;color:#fff;text-shadow:0 0 7px #566aff}.gw-home-jackpot small{font:7px/1.2 system-ui;letter-spacing:4px}.gw-home-jackpot>div{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:5px}.gw-home-jackpot strong{font:700 clamp(24px,7vw,44px)/1.1 Georgia,serif;color:#ffe9a0;text-shadow:0 2px #a96600,0 0 12px #f8b40066}.gw-home-jackpot>div span{font:15px system-ui}.gw-home-jackpot em{position:absolute;bottom:4px;right:6px;font:10px system-ui;font-style:normal}
.gw-home-games h2{font:bold 23px/1.2 Georgia,'Noto Serif SC',serif;margin:8px 0 12px;text-shadow:0 0 7px #627eff;display:flex;align-items:center;gap:7px}.gw-home-games h2 i{height:19px;width:3px;background:linear-gradient(#fff,#30e9ff,#9f7eff);border-radius:3px}
.gw-home-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}.gw-home-game{position:relative;height:91px;overflow:hidden;border:1px solid #e8f1ff;border-radius:10px;background:#031025;box-shadow:inset 0 0 8px #b7d7ff88,0 0 3px #afcfff77;min-width:0}.gw-home-game>img{position:absolute;left:0;top:0;width:70%;height:100%;object-fit:cover;object-position:50% 44%}.gw-home-game:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 30%,#01081833 48%,#010818dc 77%);pointer-events:none}.gw-home-game-content{position:absolute;z-index:1;inset:0;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:9px 6px}.gw-home-game h3{font:bold 17px/1.15 Georgia,'Noto Serif SC',serif;margin:0;white-space:nowrap;text-shadow:0 1px 3px #000,0 0 6px #293cff}.gw-home-game-actions{display:flex;gap:4px}.gw-home-game-actions button{border:1px solid #24baff;border-radius:6px;color:#fff;background:linear-gradient(#0f98ff,#1925e7);font:600 10px/1 system-ui;padding:7px 8px;box-shadow:inset 0 0 3px #fff7;white-space:nowrap}.gw-home-game-actions .start{background:linear-gradient(#fff39a,#e8b83e);color:#131522;border-color:#ffdf6a;padding:7px 9px}.gw-home-game-actions button:disabled{filter:grayscale(.6);opacity:.75}
.gw-home-modal{position:fixed;inset:0;background:#000b;z-index:2000;display:grid;place-items:center;padding:24px}.gw-home-modal section{max-width:410px;padding:25px;background:#08182b;border:1px solid #c4a65e;border-radius:16px;color:#fff;position:relative}.gw-home-modal section>button{position:absolute;right:10px;top:6px;background:none;border:0;color:#fff;font-size:25px}.gw-home-modal h2{margin:0 20px 12px 0;color:#ffe6a4}.gw-home-modal p{line-height:1.8;font-size:14px}
@media(min-width:520px){.gw-home-game{height:130px}.gw-home-game h3{font-size:24px}.gw-home-game-actions button{font-size:14px;padding:10px 13px}.gw-home-notice{font-size:15px}}
@media(prefers-reduced-motion:reduce){.gw-home-redesign *{animation:none!important;transition:none!important}}






.gw-home-redesign .galaxy-portal-content{box-sizing:border-box;flex-direction:column;flex:1;min-height:0;padding:0 4cqw 19cqw;display:flex}
.gw-home-redesign .galaxy-portal-carousel-area{box-sizing:border-box;flex:1;align-items:center;min-height:49cqw;padding:5cqw 0 8cqw;display:flex}
.gw-home-redesign .galaxy-portal-carousel{isolation:isolate;touch-action:pan-y;width:100%;position:relative}
.gw-home-redesign .galaxy-portal-banner{aspect-ratio:2.15;background:0 0;border-radius:4cqw;overflow:hidden}
.gw-home-redesign .galaxy-portal-banner img{object-fit:cover;width:100%;height:100%;display:block}
.gw-home-redesign .galaxy-portal-banner{touch-action:pan-y;-webkit-user-select:none;user-select:none}
.gw-home-redesign .galaxy-portal-banner-track{will-change:transform;width:100%;height:100%;display:flex}
.gw-home-redesign .galaxy-portal-banner-slide{box-sizing:border-box;flex:0 0 100%;min-width:0;height:100%;padding:0 1.35cqw;overflow:visible}
.gw-home-redesign .galaxy-portal-banner-card{box-sizing:border-box;background:#03132c;border:1px solid #44bafa80;border-radius:4cqw;width:100%;height:100%;overflow:hidden;box-shadow:0 0 18px #0588ed24,inset 0 0 0 1px #dbad5640}
.gw-home-redesign .galaxy-portal-banner img{pointer-events:none;-webkit-user-drag:none}
.gw-home-redesign .galaxy-portal-dots{justify-content:center;display:flex;position:absolute;bottom:0;left:0;right:0}
.gw-home-redesign .galaxy-portal-dots button{cursor:pointer;background:0 0;border:0;place-items:center;width:28px;height:28px;padding:0;display:grid}
.gw-home-redesign .galaxy-portal-dots span{background:#e2f4ff80;border-radius:9px;width:5px;height:5px;transition:width .2s,background .2s;box-shadow:0 1px 5px #001123}
.gw-home-redesign .galaxy-portal-dots [aria-pressed=true] span{background:#fce3a0;width:15px;box-shadow:0 0 8px #ffdc8e85}
.gw-home-redesign .galaxy-portal-banner-space{aspect-ratio:2.15;width:100%}
.gw-home-redesign .galaxy-portal-banner{position:relative}
.gw-home-redesign .galaxy-portal-banner-track{position:absolute;inset:0}
.gw-home-redesign .galaxy-portal-banner-card{position:relative}
.gw-home-redesign .galaxy-portal-banner-card img{opacity:0;visibility:hidden;transition:none;position:absolute;inset:0}
.gw-home-redesign .galaxy-portal-banner-card[data-ready=true] img{opacity:1;visibility:visible}
.gw-home-redesign .galaxy-portal-banner-placeholder{background:radial-gradient(at 50% 60%,#103e64 0%,#06192f 65%);place-items:center;display:grid;position:absolute;inset:0}
.gw-home-redesign .galaxy-portal-banner-placeholder span{display:none}
.gw-home-redesign .galaxy-portal-scene{flex:none;width:100%;height:80cqw;position:relative}
.gw-home-redesign .galaxy-portal-link{z-index:2;box-shadow:none;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:28%;padding:0;transition:filter .2s;position:absolute}
.gw-home-redesign .galaxy-portal-link:hover{filter:drop-shadow(0 0 9px #3abaff70)}
.gw-home-redesign .galaxy-portal-link:focus-visible,.gw-home-redesign .galaxy-portal-dots button:focus-visible{outline-offset:3px;outline:2px solid #84e8ff}
.gw-home-redesign .galaxy-portal-link:active{filter:brightness(1.2)}
.gw-home-redesign .galaxy-portal-link img{pointer-events:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;display:block}
.gw-home-redesign .galaxy-portal-pool{width:29%;top:0;left:35.5%}
.gw-home-redesign .galaxy-portal-checkin{width:27%;top:26cqw;left:0}
.gw-home-redesign .galaxy-portal-affiliate{width:27%;top:26cqw;right:0}
.gw-home-redesign .galaxy-portal-mascot{pointer-events:none;-webkit-user-select:none;user-select:none;width:42%;height:auto;display:block;position:absolute;bottom:0;left:29%}
.gw-home-redesign .galaxy-portal-checkin{--portal-entry-delay:.1s;--portal-float-duration:3.8s}
.gw-home-redesign .galaxy-portal-pool{--portal-entry-delay:.28s;--portal-float-duration:4.2s}
.gw-home-redesign .galaxy-portal-affiliate{--portal-entry-delay:.46s;--portal-float-duration:4s}
.gw-home-redesign .galaxy-portal-link{animation:galaxy-portal-arrive .56s cubic-bezier(.2,.75,.25,1) var(--portal-entry-delay) both}
.gw-home-redesign .galaxy-portal-link img{animation:galaxy-portal-hover var(--portal-float-duration) ease-in-out calc(var(--portal-entry-delay) + .56s) infinite}
/* Keep the original balance artwork; only align it inside the fixed header. */
.gw-unified-topbar .arena-balance{position:relative!important;inset:auto!important;box-sizing:border-box;width:100%!important;min-width:0!important;height:36px!important;margin:0!important;padding:0 32px 0 9px!important;display:flex!important;align-items:center;justify-content:center;gap:5px;color:#fff!important;background:linear-gradient(#041435,#00040f)!important;border:1px solid #fff0bd!important;border-radius:99px!important;box-shadow:0 0 3px #fff,inset 0 0 5px #edab3c,0 0 9px #c88a1d!important;white-space:nowrap}
.gw-unified-topbar .arena-coin{display:grid!important;place-items:center;width:16px!important;height:16px!important;flex-shrink:0;margin:0!important;color:#fff8cd;background:linear-gradient(130deg,#fff2bc,#f8b72b 55%,#a76303);border:1px solid #ffffcd;border-radius:50%;font-size:12px;box-shadow:0 0 5px #e8a617}
.gw-unified-topbar .arena-amount{font-size:13px!important;line-height:1;margin:0!important;max-width:none!important}.gw-unified-topbar .arena-amount b{font-weight:600!important;overflow:visible!important;max-width:none!important}
.gw-unified-topbar .arena-plus{position:absolute!important;right:2px!important;display:grid!important;place-items:center;width:30px!important;height:30px!important;margin:0!important;color:#0b0c14;background:radial-gradient(circle at 35% 25%,#fff3c1,#ffd16b 45%,#e49a29 74%,#fee7a8);border:1px solid #fff7ce;border-radius:50%;box-shadow:0 0 5px #fff,0 0 9px #d59740}
.gw-unified-topbar .arena-plus svg{width:70%;height:70%;stroke-width:2.5px}
.gw-home-hero .galaxy-portal-banner{aspect-ratio:2.15!important;position:relative;height:auto!important}.gw-home-hero .galaxy-portal-banner-slide img{width:100%;height:100%;display:block;object-fit:cover}
/* Restore the original header scale; share the bottom navigation surface. */
:root{--gw-header-height:clamp(54px,15.5vw,99.2px)}
.gw-fixed-header{container-type:inline-size;background:linear-gradient(110deg,#02132e,#00081c 55%,#041731);background-image:linear-gradient(110deg,#02132e,#00081c 55%,#041731)}
.gw-unified-topbar{height:var(--gw-header-height);min-height:54px;grid-template-columns:42cqw 34cqw 7cqw;justify-content:space-between;gap:0;padding:0 4cqw}
.gw-unified-topbar .galaxy-topbar-logo{width:100%!important;max-width:none;height:13.57cqw!important;max-height:none;object-fit:contain}
.gw-unified-topbar .arena-balance{height:6.2cqw!important;min-height:32px;padding:0 6.2cqw 0 1.5cqw!important;gap:1cqw}
.gw-unified-topbar .arena-amount{font-size:clamp(10px,2.65cqw,16px)!important}
.gw-unified-topbar .arena-coin{width:3.5cqw!important;height:3.5cqw!important;font-size:2.5cqw!important}
.gw-unified-topbar .arena-plus{width:5.8cqw!important;height:5.8cqw!important;right:1%!important}
.gw-unified-topbar .gw-notification{width:7cqw;height:7cqw;max-width:44.8px;max-height:44.8px}
.gw-unified-topbar .gw-notification img{width:100%;height:100%;max-width:100%}

.gw-skeleton{--sk-base:#102b48;--sk-shine:rgba(98,177,232,.15);position:relative;width:100%;max-width:680px;margin:0 auto;padding:20px 16px;box-sizing:border-box;min-height:180px;background:#061527;color-scheme:dark;border-radius:12px;overflow:hidden}.gw-sk-shapes{display:flex;flex-direction:column;gap:18px}.gw-sk-block{display:block;position:relative;flex-shrink:0;overflow:hidden;border-radius:9px;background:var(--sk-base);min-height:10px}.gw-sk-block:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(107,182,237,.15),transparent);transform:translateX(-100%);animation:gw-blue-sweep 1.6s linear infinite}.gw-sk-banner{aspect-ratio:1.94}.gw-sk-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gw-sk-circle{border-radius:50%}.gw-sk-offers{display:grid;grid-template-columns:23% 1fr;gap:12px}.gw-sk-offers>aside,.gw-sk-offers>div{display:flex;flex-direction:column;gap:14px}.gw-sk-room,.gw-sk-list-row,.gw-sk-chat-row{display:flex;align-items:center;gap:14px}.gw-sk-room{padding:15px 10px;border:1px solid #173650;border-radius:12px}.gw-sk-room>div,.gw-sk-list-row>div{flex:1;display:flex;flex-direction:column;gap:13px}.gw-sk-table{height:270px;border-radius:46%;border:16px solid #102b44;display:flex;flex-direction:column;align-items:center;justify-content:space-around;background:#0a2035}.gw-sk-cards{display:flex;gap:7px}.gw-sk-table~.gw-sk-block{align-self:center}.gw-sk-table .gw-sk-block{background:#15364f}.gw-sk-table .gw-sk-shapes{height:100%}.gw-sk-compact{padding:14px;min-height:120px}.gw-sk-error{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;align-content:center;min-height:180px;padding:22px;background:#081a2d;color:#c9ddef;text-align:center;border-radius:12px}.gw-sk-error p{flex-basis:100%;margin:0 0 10px}.gw-sk-error button,.gw-sk-cancel{padding:10px 22px;border:1px solid #315477;border-radius:9px;background:#12304c;color:#d5eaff;cursor:pointer}.gw-sk-cancel{display:block;margin:22px auto 0}.gw-sk-overlay{position:fixed;inset:0;z-index:2147480002;background:#061527;display:grid;place-items:center;overflow:auto}.gw-sk-overlay>.gw-skeleton{width:min(100%,680px)}.gw-resource-shell{position:relative;min-height:200px}.gw-resource-shell>.gw-resource-hidden{display:none}.gw-sk-image{position:relative;display:block;overflow:hidden;background:#102b48}.gw-sk-image>img{display:block;width:100%;height:100%;object-fit:inherit}.gw-sk-image.is-pending:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(107,182,237,.15),transparent);animation:gw-blue-sweep 1.6s linear infinite}.gw-sk-image.is-pending>img{opacity:0}.gw-sk-image-failed{position:absolute;inset:0;display:grid;place-items:center;background:#0d243c;color:#c9ddef;border:0;font-size:12px}.gw-sk-reconnect{position:absolute;top:10px;right:10px;z-index:20;background:#12304ce6;color:#c9e5fa;padding:6px 12px;border-radius:15px;font-size:12px}.gw-sk-boot{position:fixed;inset:0;z-index:2147469000;background:#061527;display:grid;place-items:center}.gw-sk-boot .gw-skeleton{padding-top:28px}.gw-sk-boot[hidden]{display:none}@keyframes gw-blue-sweep{to{transform:translateX(100%)}}@media(prefers-reduced-motion:reduce){.gw-sk-block:after,.gw-sk-image.is-pending:after{animation:none;transform:none;opacity:.45}}@media(min-width:700px) and (orientation:landscape){.gw-sk-table{height:340px}.gw-sk-table .gw-sk-cards .gw-sk-block{width:48px!important;height:65px!important}}
/* Existing inline image placeholders follow the same palette without changing geometry. */
.optimized-image:not(.is-image-ready),.gr-skeleton{background:linear-gradient(90deg,#102b48 20%,#183f60 50%,#102b48 80%)!important;background-size:200% 100%!important;animation:gw-image-sweep 1.6s linear infinite}@keyframes gw-image-pulse{50%{background-color:#173b5a}} 

.gw-sk-overlay[hidden]{display:none!important}.gw-sk-boot .gw-skeleton{max-width:640px}.gw-sk-image{height:100%;width:100%}


@keyframes gw-image-sweep{from{background-position:200% 0}to{background-position:-200% 0}}

.gr-turnover-unified .gr-turnover-summary{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:0 14px 14px;color:#92c5df;font-size:12px}.gr-turnover-unified .gr-turnover-summary strong{color:#e6f7ff;font-size:18px;font-variant-numeric:tabular-nums}.gr-turnover-unified .gr-turnover-summary small{grid-column:1/-1;font-size:10px;line-height:1.6;color:#88acc6}.gr-turnover-unified .gr-secondary-filters{align-items:center;gap:8px}.gr-turnover-unified .gr-secondary-filters>.gr-select{flex:1;min-width:0}.gr-turnover-unified .gr-turnover-refresh{border:1px solid #319aca;border-radius:8px;background:#03182f;color:#a8d7f2;padding:8px 10px;font-size:11px;height:34px}.gr-turnover-unified .gr-turnover-refresh:disabled{opacity:.5}.gr-turnover-unified .gr-list>.gw-skeleton{background:transparent}.gr-turnover-unified .gr-game-detail .gr-expense{color:#ff858c}.gr-turnover-unified .gr-game-detail .gr-income{color:#49dba1}
