/* Season 1 cosmetics are still assets. Player level always sits above every frame. */
#pool-game-app .pool-hud .pool-avatar{overflow:visible!important;isolation:isolate}
#pool-game-app .pool-hud .pool-level-badge{position:absolute!important;z-index:10!important;left:auto!important;right:-10px!important;bottom:-10px!important;min-width:24px!important;width:auto!important;height:22px!important;padding:0 5px!important;display:grid!important;place-items:center!important;border:2px solid #f4d380!important;border-radius:8px!important;box-shadow:0 2px 6px #000!important;background:#101b30!important;color:#fff1c3!important;font:800 11px/1 system-ui!important;transform:none!important;clip-path:none!important}
.pg-starter-pack,.pg-starter-pack *,.s1-cue-preview img,.s1-title-art,.s1-rank-frame::before,.s1-gallery-page{animation:none!important;transition:none!important}
.pg-starter-pack:hover,.pg-starter-pack:hover *{translate:none!important}
.pg-purchase-art{animation:none!important;transform:none!important}
.s1-rank-frame{position:relative!important;border:0!important;box-shadow:none!important;border-radius:50%!important;isolation:isolate;overflow:visible!important}
.s1-rank-frame::before{content:'';position:absolute;inset:-25% -28% -48%;z-index:2;background:url('/assets/pool/season-rank-frames-v1.webp') var(--rank-x) var(--rank-y)/200% 400% no-repeat;pointer-events:none}
.s1-rank-frame>img{border-radius:50%!important}
.s1-pass-frame{position:relative!important;border:3px solid #ae67fb!important;border-radius:50%!important;box-shadow:0 0 0 3px #352448,0 0 13px #a360dd88!important}.s1-frame-silver-pass{border-color:#d9e8fb!important;box-shadow:0 0 0 3px #677686!important}
.s1-title{display:inline-block;max-width:100%;font:700 15px Georgia;color:#f5d697;overflow-wrap:anywhere}.s1-title-art{width:100%;max-width:520px;aspect-ratio:4.5;background:transparent url('/assets/pool/season-title-atlas-v1.webp') center var(--title-y)/100% 300% no-repeat}.s1-night-title{padding:10px 28px;border:1px solid #ad80da;border-radius:10px;background:linear-gradient(110deg,#110c26,#502265,#110c26);color:#eddcfe}.pg-peek-content .s1-title-art{width:260px}.pg-identity .s1-title-art{width:330px}.pg-starter-reward.title .s1-title-art{align-self:center;min-width:0;width:100%}.pg-header-info em{font-size:9px}
.s1-cue-preview{margin:0!important;display:grid;gap:7px;justify-items:center;min-width:0;width:100%}.s1-cue-preview img{width:100%;height:70px;object-fit:contain;transform:none!important}.s1-rarity{display:inline-block;font:800 9px system-ui;letter-spacing:.13em;text-transform:uppercase;color:#b0bccb}.rarity-rare{color:#8ec4ff}.rarity-legendary{color:#f4cb6e}.s1-cue-preview figcaption{font:600 12px Georgia;color:#e5c88f}.s1-simple-cue{display:block;height:6px;width:90%;margin:25px 0;border-radius:3px 0 0 3px;clip-path:polygon(0 0,100% 40%,100% 60%,0 100%)}.s1-season-cue{display:block;width:100%;aspect-ratio:9;background:url('/assets/pool/season-cue-atlas-v1.webp') center var(--cue-y)/100% 300% no-repeat;margin:12px 0}.pg-peek-content>.s1-cue-preview{width:220px}.pg-peek-content .s1-cue-preview img{height:40px}
#pool-profile-editor.s1-dialog,#pool-season-pass.s1-dialog,#pool-offer-gallery.s1-dialog{width:min(1050px,96vw)!important;max-width:96vw!important;max-height:94dvh!important;overflow:auto!important;padding:22px!important;border:1px solid #c9a76c!important;background:#08111f!important;color:#e9d9bd!important;border-radius:18px!important;box-sizing:border-box}
.s1-dialog>.modal-close{position:sticky!important;float:right;top:0!important;right:0!important;z-index:20;width:36px;height:36px;background:#172b41!important;color:#f1d190!important;border:1px solid #826c50!important;border-radius:50%!important}.s1-dialog>h2{font:700 27px Georgia!important;color:#f2d08d!important;margin:6px 0 18px!important}.s1-dialog>.eyebrow,.s1-dialog>.dialog-description{display:none!important}.s1-dialog .pg-button{font:600 12px system-ui!important;min-height:38px;white-space:normal;line-height:1.4}.s1-dialog h3{font:700 20px Georgia!important;color:#f2d08d!important}
.s1-editor{display:grid;gap:25px}.s1-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin-top:15px}.s1-option{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;padding:20px!important;min-height:140px;background:#102137!important;border:1px solid #625736!important;border-radius:12px!important;overflow:visible!important}.s1-option[aria-pressed=true]{border:2px solid #f0c86f!important;background:#2e263d!important}.s1-option small{font-size:10px;color:#a8bac8}.s1-frame-sample{display:grid;place-items:center;position:relative;width:62px!important;height:62px!important;margin:25px 15px 40px!important;border-radius:50%;background:#1a2a40;color:#efd49e}.s1-title-option{width:100%;max-width:600px;display:block!important;margin:8px 0;padding:4px 16px!important;background:#0d192b!important;border-color:#5c496a!important}.s1-title-option .s1-title-art{width:100%;vertical-align:middle}.s1-title-option:disabled{opacity:.65}
.s1-pass-hero{min-height:280px;padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;border-radius:14px;background:linear-gradient(90deg,#080b1fd9,transparent),url('/assets/pool/season-eclipse-hero-v1.webp') center/cover}.s1-pass-hero h1{font:700 clamp(35px,7vw,85px)/1 Georgia;color:#ffe2ac;text-shadow:0 3px 8px #000;margin:18px 0}.s1-pass-hero small{color:#ead6b1;letter-spacing:.12em;font-size:10px}.s1-pass-hero p{max-width:260px;font:16px Georgia;color:#ead6b1;text-shadow:0 2px 5px #000}.s1-pass-body{display:grid;gap:18px}.s1-progress{padding:20px;border:1px solid #977c50;border-radius:12px;display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#111b30}.s1-progress strong{font:700 23px Georgia;color:#eed18e}.s1-progress span{text-align:right;font:600 14px system-ui;color:#d3c3e9}.s1-progress progress{grid-column:1/-1;width:100%;height:18px;accent-color:#aa49e9}.s1-progress p{grid-column:1/-1;font:12px/1.6 system-ui;color:#a9b7cd;margin:0}.s1-premium{width:100%;font:700 22px Georgia!important;background:linear-gradient(#ad4ce0,#35145b)!important;color:#ffdf9e!important;border:2px solid #e5be6e!important;border-radius:18px!important;padding:18px!important;box-shadow:inset 0 0 16px #c95cff55}.s1-premium-label{color:#ecce87;font:700 19px Georgia;text-align:center}.s1-daily{border:1px solid #977c50;padding:18px;border-radius:12px;background:#161b32}.s1-daily h3{margin:0 0 9px}.s1-daily p{font:13px system-ui;color:#c3b5df}.s1-rewards{display:grid;grid-template-columns:55px 1fr 1fr;gap:1px;background:#77717c;border:1px solid #9b8354;border-radius:10px;overflow:hidden}.s1-rewards>strong{background:#0e1728;text-align:center;padding:15px 3px;font:700 15px Georgia;color:#efd28c}.s1-tier{display:grid;place-items:center;background:#0e1728;color:#d4c4a6;font:700 22px Georgia}.s1-reward{display:grid;justify-items:center;align-content:space-between;gap:8px;min-height:175px;padding:14px 10px;background:#0c1626;text-align:center}.s1-reward.premium{background:linear-gradient(#1d1630,#0c1626)}.s1-reward>strong{font:600 12px system-ui;color:#d8c9e5}.s1-reward-art{height:100px;width:100%;display:grid;place-items:center}.s1-reward-art .pg-currency-icon{width:65px;height:65px}.s1-reward-art .s1-frame-sample{width:45px!important;height:45px!important;margin:12px!important}.s1-reward-art .s1-title{font-size:12px}.s1-reward-art .s1-cue-preview img{height:55px}.s1-reward .pg-button{width:100%;max-width:160px}
#pool-offer-gallery.s1-dialog{width:min(840px,96vw)!important;overflow:hidden!important;display:block}#pool-offer-gallery:not([open]){display:none!important}.s1-gallery{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;align-items:stretch;scrollbar-width:thin;max-height:72dvh}.s1-gallery-page{flex:0 0 100%;min-width:0;overflow-y:auto;max-height:72dvh;scroll-snap-align:center;scroll-snap-stop:always;box-sizing:border-box;padding:4px 12px 15px}.s1-gallery-page .pg-starter-pack{min-height:0;padding:18px!important}.s1-gallery-page .pg-starter-heading h2{font-size:36px!important}.s1-gallery-page .pg-starter-art{height:150px!important}.s1-gallery-page .pg-midnight-title{font-size:28px!important}.s1-gallery-page .pg-starter-reward{height:145px!important}.s1-gallery-page .pg-starter-reward img{height:80px!important}.s1-gallery-page .pg-starter-buy{min-height:56px!important;font-size:24px!important}.s1-gallery-controls{display:flex;align-items:center;justify-content:center;gap:15px;padding-top:12px}.s1-gallery-controls span{color:#e7ca8b;font:15px Georgia}.s1-gallery-season{background:linear-gradient(#0a0e2377,#080e22e8),url('/assets/pool/season-eclipse-hero-v1.webp') center/cover;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#f9d99a;text-align:center;min-height:450px;border-radius:14px}.s1-gallery-season h2{font:700 65px Georgia!important;color:#f9d99a!important}.s1-gallery-season small{letter-spacing:.25em}.s1-gallery-season p{font:18px Georgia}
@media(max-width:650px){#pool-profile-editor.s1-dialog,#pool-season-pass.s1-dialog,#pool-offer-gallery.s1-dialog{padding:12px!important}.s1-options{grid-template-columns:repeat(2,minmax(0,1fr))}.s1-option{padding:12px!important}.s1-pass-hero{min-height:230px;padding:22px}.s1-rewards{grid-template-columns:38px 1fr 1fr}.s1-reward{padding:12px 5px}.s1-progress{padding:14px}.s1-progress strong{font-size:18px}.s1-gallery-page{padding:2px 3px 10px}.s1-gallery-page .pg-starter-heading h2{font-size:25px!important}.s1-gallery-page .pg-starter-reward{height:125px!important}.s1-gallery-page .pg-starter-reward img{height:65px!important}.s1-gallery-controls{gap:7px}.s1-gallery-controls .pg-button{font-size:10px!important}}
@media(orientation:landscape) and (max-height:500px){.s1-dialog{max-height:94dvh!important}#pool-offer-gallery.s1-dialog>h2{font-size:19px!important;margin:0 0 6px!important}.s1-gallery,.s1-gallery-page{max-height:64dvh}.s1-gallery-controls{padding-top:5px}.s1-pass-hero{min-height:230px}.s1-profile-editor .s1-options{grid-template-columns:repeat(4,1fr)}}
#pool-season-pass .s1-premium{font:700 21px Georgia!important;color:#ffe1a0!important}.s1-progress progress{appearance:none;-webkit-appearance:none;border:1px solid #6d648b;border-radius:10px;overflow:hidden;background:#10172c}.s1-progress progress::-webkit-progress-bar{background:#10172c}.s1-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#6b24ac,#ce89ff);box-shadow:0 0 8px #b567e9}.s1-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#6b24ac,#ce89ff)}
.s1-rank-frame::before{inset:-25% -50%;clip-path:inset(0 0 3% 0)}
.s1-rank-frame::before{display:none!important}.s1-frame-overlay{position:absolute!important;top:-25%!important;left:-42%!important;width:184%!important;height:177%!important;max-width:none!important;z-index:2;pointer-events:none;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain!important}

.s1-title-isolated{display:inline-flex!important;align-items:center;justify-content:center;width:min(100%,420px);max-width:100%;background:none!important;border:0!important;padding:0!important;overflow:visible!important;flex-shrink:0}.s1-title-isolated img{display:block;width:100%;height:auto!important;object-fit:contain;max-height:150px;animation:none!important}.pg-identity .s1-title-isolated{width:330px}.pg-peek-content .s1-title-isolated{width:260px}.s1-title-option .s1-title-isolated{width:360px}.pg-starter-reward .s1-title-isolated{width:100%}
.pg-profile-hero .pg-identity{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0}.pg-profile-hero .pg-identity>h1,.pg-profile-hero .pg-identity>p{margin:0}.pg-profile-hero .pg-identity>.s1-title-isolated{width:min(330px,100%);margin:0 auto}.pg-profile-hero .pg-identity>.pg-button{align-self:center}
html.pool-landscape-fallback #pool-offer-gallery.s1-dialog{padding:12px!important}html.pool-landscape-fallback #pool-offer-gallery>h2{font-size:19px!important;line-height:26px!important;margin:0 42px 8px 0!important}html.pool-landscape-fallback .s1-gallery,html.pool-landscape-fallback .s1-gallery-page{max-height:calc(94dvw - 120px)!important}html.pool-landscape-fallback .s1-gallery-controls{padding-top:6px;min-height:36px}html.pool-landscape-fallback .s1-gallery-controls .pg-button{min-height:32px;font-size:11px!important}
/* Featured offers fit as complete cards; only horizontal browsing is scrollable. */
#pool-offer-gallery.s1-dialog[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(1060px,96vw)!important;height:min(590px,94dvh)!important;max-height:94dvh!important;padding:18px!important;box-sizing:border-box;overflow:hidden!important}
#pool-offer-gallery>h2{font-size:20px!important;line-height:1.2;margin:0 45px 0 0!important}
#pool-offer-gallery>p:empty{display:none}
#pool-offer-gallery .s1-gallery{min-height:0;height:100%;max-height:none!important;scrollbar-width:none;overscroll-behavior-x:contain}
#pool-offer-gallery .s1-gallery-page{height:100%;max-height:none!important;padding:0;overflow:hidden;container-type:size}
.s1-offer{height:100%;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(12px,3cqw,28px);align-items:center;box-sizing:border-box;padding:clamp(10px,2cqw,22px);border:1px solid #8c7547;border-radius:16px;background:radial-gradient(ellipse at 10% 30%,#123d50,#091320 75%)}
.s1-offer-visual{min-width:0;min-height:0;height:100%;display:grid;place-items:center;overflow:hidden}
.s1-offer-visual img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain!important;border:0!important;border-radius:9px;animation:none!important;transform:none!important}
.s1-offer-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:clamp(5px,2cqh,12px)}
.s1-offer-label{font:700 clamp(9px,1.3cqw,12px)/1.3 system-ui;color:#8ae4f4;letter-spacing:.08em}
.s1-offer h2{font:700 clamp(21px,3.6cqw,38px)/1.02 Georgia!important;color:#ffe0a0;margin:0!important}
.s1-offer p,.s1-offer-rewards{font:400 clamp(11px,1.45cqw,14px)/1.35 system-ui!important;color:#ccdae5;margin:0!important}
.s1-offer-rewards{padding-left:17px!important}
.s1-offer-price{font:700 clamp(17px,2.3cqw,25px)/1.15 system-ui;color:#f2cf85}
.s1-offer .pg-button{min-height:36px!important;max-width:100%;padding:8px 18px!important;margin:0!important;font-size:13px!important;line-height:1.2}
.s1-offer-terms{font:400 10px/1.25 system-ui;color:#abbccc}
#pool-offer-gallery .s1-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0!important;min-height:36px}
#pool-offer-gallery .s1-gallery-controls button{padding:7px 14px!important;min-height:34px!important;font-size:12px!important}
@container (max-height:290px){.s1-offer{padding:10px;gap:15px}.s1-offer-copy{gap:5px}.s1-offer h2{font-size:25px!important}.s1-offer p,.s1-offer-rewards{font-size:11px!important}.s1-offer-label{font-size:9px}.s1-offer-price{font-size:18px}.s1-offer .pg-button{min-height:30px!important;padding:5px 14px!important}.s1-offer-terms{font-size:9px}}
@container (max-width:500px) and (min-height:430px){.s1-offer{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:12px}.s1-offer-copy{gap:8px}.s1-offer h2{font-size:28px!important}}
@media (max-height:500px) and (orientation:landscape){#pool-offer-gallery.s1-dialog[open]{gap:8px;padding:12px!important;height:96dvh!important;max-height:96dvh!important}}
@media (orientation:portrait){html.pool-landscape-fallback #pool-offer-gallery.s1-dialog[open]{width:96dvh!important;max-width:96dvh!important;height:94dvw!important;max-height:94dvw!important;gap:8px;padding:12px!important}}

#pool-offer-gallery.s1-dialog>.modal-close{position:absolute!important;top:10px!important;right:10px!important;float:none!important}
html.pool-landscape-fallback #pool-offer-gallery .s1-gallery,html.pool-landscape-fallback #pool-offer-gallery .s1-gallery-page{max-height:none!important}
/* Override the general phone dialog header, which otherwise takes a grid row. */
html.nexo-identity body #pool-offer-gallery.s1-dialog[open]>.modal-close{position:absolute!important;top:10px!important;right:10px!important;float:none!important}
#pool-offer-gallery.s1-dialog>h2{grid-row:1;min-height:0}
#pool-offer-gallery.s1-dialog>.s1-gallery{grid-row:2}
#pool-offer-gallery.s1-dialog>.s1-gallery-controls{grid-row:3}
@container (max-height:225px){.s1-offer{padding:6px;gap:8px}.s1-offer-copy{gap:3px}.s1-offer h2{font-size:22px!important}.s1-offer p,.s1-offer-rewards{font-size:10px!important;line-height:1.2!important}.s1-offer-label{font-size:8px}.s1-offer-price{font-size:16px}.s1-offer .pg-button{min-height:28px!important;padding:4px 12px!important}.s1-offer-terms{font-size:9px}}
/* Pack artwork stays still over its own themed pool-lounge background. */
.s1-offer-visual.s1-offer-starter,.s1-offer-visual.s1-offer-grandmaster{border-radius:12px;border:1px solid #bda06b66;background-size:cover;background-position:center;box-shadow:inset 0 0 35px #0009}
.s1-offer-visual.s1-offer-starter{background-image:radial-gradient(ellipse at 50% 45%,#7726aa44,#0b082fcc 80%),url('/assets/pool/midnight-club-v1.webp')}
.s1-offer-visual.s1-offer-grandmaster{background-image:radial-gradient(ellipse at 50% 45%,#ba2c1d66,#25050bcc 80%),url('/assets/pool/midnight-club-v1.webp')}
.s1-offer-starter img,.s1-offer-grandmaster img{filter:drop-shadow(0 0 7px #9752ff66);padding:12px;box-sizing:border-box}
.s1-offer-grandmaster img{filter:drop-shadow(0 0 7px #ff722366)}
