/* Reference upgrader, opaque mobile surfaces */
:root{--yellow:#ffdf00}header{background:#18191d!important;backdrop-filter:none!important;isolation:isolate;z-index:50!important}header:before{content:'';position:absolute;inset:0;background:#18191d;z-index:-1}dialog{background:#191a1e!important;opacity:1;isolation:isolate}dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}.mobile-drawer{background:#18191c!important;z-index:100!important}.menu-backdrop{z-index:90!important;background:#000b!important}.mobile-bottom{display:none}.upgrade-battle-banner{width:100%;height:50px;display:flex;align-items:center;justify-content:space-between;border-radius:0;padding:0 4%;overflow:hidden;position:relative;background:linear-gradient(100deg,#18191d,#65551b 65%,#262219);border:0;border-bottom:1px solid #4a421d;color:white}.upgrade-battle-banner>span{font-size:20px;font-weight:900;z-index:1;white-space:nowrap}.upgrade-battle-banner>span>b{color:#f0d24c}.upgrade-battle-banner>strong{font-size:47px;color:#f5d551;font-style:italic;line-height:1;text-shadow:3px 3px #473a13;position:absolute;right:20%;z-index:1}.upgrade-battle-banner>img{height:130px;width:290px;object-fit:contain;opacity:.5;margin-left:auto;transform:rotate(-12deg)}.ticker{height:110px;position:relative;border:0;background:#0f1012;overflow:hidden;padding-top:18px}.live-label{position:absolute;top:0;left:20px;height:18px;display:flex;gap:5px;background:none;border:0;color:#e6c521;font-size:10px;padding:0;white-space:nowrap}.live-label .dot{background:#ffdc26;box-shadow:none;width:6px;height:8px}.live-label small{position:static;font-size:7px;color:#8e7f46;margin-left:8px}.ticker #drops{display:flex;padding:5px;gap:5px;align-items:center;overflow:hidden;min-width:0;width:100%}.ticker .drop{position:relative;display:flex;align-items:center;justify-content:center;width:145px;min-width:145px;height:76px;padding:3px 8px;border:1px solid color-mix(in srgb,var(--c) 50%,#333);border-radius:10px;background:linear-gradient(145deg,#202126,color-mix(in srgb,var(--c) 27%,#17181b));overflow:hidden;flex-shrink:0}.ticker .drop img{height:63px;width:115px;object-fit:contain;max-width:100%;margin:0}.drop-copy{position:absolute;inset:auto 0 0;background:#141519f5;padding:2px 5px;text-align:right;line-height:1.2;display:none}.drop-copy b{font-size:8px;display:block}.drop-copy small{font-size:7px}.drop:hover .drop-copy{display:block}.drop-avatar{position:absolute;left:4px;bottom:4px;display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:#151619;border:1px solid #67645c;border-radius:50%;font-size:9px;color:#b7b4a4}.ticker .featured-drop{width:190px;min-width:190px;height:88px;background:linear-gradient(0deg,#f5d500,#c7a70040 75%,#18191c);border:1px solid #ffdf00}.featured-drop img{width:155px;height:75px}.upgrade-arrows{display:block;flex-shrink:0;overflow:visible}.upgrade-arrows .chevron-back{fill:#746000}.upgrade-arrows .chevron-front{fill:#ffe000}.upgrade-arrows .chevron-shadow{fill:#8c7200}.upgrade-arrows.down{transform:rotate(180deg)}.upgrader-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px 0 15px}.upgrader-heading h1{display:flex;align-items:center;gap:8px;font-size:23px;letter-spacing:-.5px;font-weight:900;margin:0}.heading-arrows{width:28px;height:34px}.upgrader-heading button{width:44px;height:44px;padding:10px;border:0;border-radius:11px;background:#1e1f23}.upgrade-tools button{color:#f9d900;background:#25220d}.upgrade-tools button[aria-pressed=true]{background:#ffdc26;color:#171717}body[data-page=upgrade] main{background:#0f1012}.upgrade-layout:has(.spectrum-wheel){display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-areas:'wheel wheel' 'source target' 'action action';gap:9px;padding:0;margin:0}.upgrade-layout:has(.spectrum-wheel):before{display:none}.source-selection{grid-area:source}.target-selection{grid-area:target}.upgrade-center{grid-area:wheel;padding:0!important;display:flex;align-items:center;flex-direction:column}.upgrade-layout>.upgrade-action{grid-area:action;min-width:100%;height:54px;border-radius:8px;box-shadow:none;background:linear-gradient(100deg,#ffdf00,#ffe80c);display:flex;align-items:center;justify-content:center;gap:9px;color:#171717;font-size:18px;margin:0}.upgrade-action:disabled{opacity:1;filter:none;color:#292610;cursor:not-allowed}.button-arrows{width:18px;height:23px}.upgrade-layout .selection{position:relative;height:250px;min-height:0;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:15px 12px;background:#191a1e;border:0;border-radius:7px;box-shadow:0 2px 5px #0007;gap:5px;text-align:center}.selection-title{position:relative;z-index:2;font-size:12px;line-height:1.5;font-weight:700;min-height:36px;color:#f4f4f5;max-width:230px}.selection-help{position:relative;z-index:2;font-size:10px!important;margin:0;color:#8b8c90}.selection-ghost{position:absolute;inset:60px 0 0;background:url('assets/hero-ak.png') center 38%/95% auto no-repeat;filter:brightness(0);opacity:.35;transform:rotate(18deg)}.selection-arrows{width:65px;height:76px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);filter:drop-shadow(0 0 30px #e0c00044)}.selection-arrows.down{transform:translate(-50%,-50%) rotate(180deg)}.selection:has(.selection-arrows):before{content:'';position:absolute;inset:30px 0;background:radial-gradient(ellipse,#7c67052b,transparent 65%)}.upgrade-layout .selection>img{height:135px;max-width:90%;width:240px;object-fit:contain;margin:0;filter:drop-shadow(0 0 15px #ffdf0020)}.upgrade-layout .selection>b{font-size:13px;line-height:1.4}.upgrade-layout .selection>small{font-size:10px}.target-selection .yellow{color:#ffdf00}.spectrum-wheel{width:350px;height:350px!important;border-radius:50%;padding:37px!important;margin:25px auto 25px!important;background:conic-gradient(from 90deg,#f1d900 0deg,#ffc600 45deg,#ee3c26 90deg,#ffa800 135deg,#e3d300 180deg,#252525 180deg 360deg)!important;border:17px solid #101113!important;outline:2px solid #28292b;box-shadow:0 0 0 10px #111214!important;isolation:isolate}.spectrum-wheel:before{inset:-28px!important;background:repeating-conic-gradient(#353638 0deg 1deg,transparent 1deg 10deg)!important;mask:radial-gradient(transparent 68%,#000 69%)!important}.spectrum-wheel:after{inset:17px!important;border:0!important;background:repeating-conic-gradient(#121315 0deg 1deg,transparent 1deg 8deg);mask:radial-gradient(transparent 66%,#000 67%);animation:none!important}.spectrum-wheel .wheel-core{width:100%;height:100%;background:#191a1c!important;box-shadow:0 0 0 15px #101113!important;border:0!important;display:flex;align-items:center;justify-content:center}.spectrum-wheel .dial-status,.spectrum-wheel .dial-readout,.spectrum-wheel .wheel-label{display:none}.spectrum-wheel .dial-chevrons{margin:0;line-height:1}.dial-logo{width:113px;height:131px}.spectrum-wheel .wheel-core>strong,.spectrum-wheel .wheel-core>small{display:none}.spectrum-wheel.has-chance .dial-logo{width:74px;height:85px}.spectrum-wheel.has-chance .wheel-core>strong{display:block;font-size:34px!important;margin-top:3px;line-height:1.2}.spectrum-wheel.has-chance .wheel-core>small{display:block;font-size:8px;letter-spacing:.5px}.spectrum-wheel .needle{position:absolute;inset:-17px!important;background:none!important;transform:rotate(var(--rotation));border-radius:50%;z-index:5;pointer-events:none}.spectrum-wheel .needle:before,.spectrum-wheel .needle:after{display:none!important}.reference-pointer{position:absolute;width:25px;height:63px;bottom:-20px;left:calc(50% - 12.5px);filter:drop-shadow(0 0 3px #f9cf0040)}.chance-presets{margin:9px 0 16px!important;display:flex;justify-content:center;gap:9px}.chance-presets button{min-height:40px;font-size:17px;min-width:73px;padding:6px 12px}.chance-presets:has(button:disabled){display:none}.upgrade-picker{margin-top:27px;border:0;border-radius:14px;background:#18191d}.picker-tabs{background:#111214;border:0;padding:0;gap:4px}.picker-tabs>button{font-weight:400;font-size:17px;border-radius:15px 15px 0 0;padding:18px 5px;min-height:54px;box-shadow:none!important}.picker-tabs>button.active{background:#202125;color:#eee}.picker-tabs>button>span{display:none}.picker-body{background:#202125;padding:16px}.inventory-switch{background:#18191d;border:0;padding:4px;margin:0 0 24px;max-width:none}.inventory-switch>button{font-size:16px;padding:9px;min-height:42px;font-weight:400}.inventory-switch>button.active{background:#ffdf00;box-shadow:none}.picker-empty{background:#18191d;border:0;min-height:270px;border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.picker-empty h3{font-weight:500}.support-button{position:fixed;right:18px;bottom:24px;width:58px;height:58px;border-radius:50%;padding:10px;background:#ffdf00;color:#222329;z-index:40;border:0;box-shadow:0 4px 15px #0006}.support-button svg{width:100%;height:100%}.mobile-bottom button{display:flex;flex-direction:column;align-items:center;gap:5px;justify-content:center;border:0;background:none;border-radius:0;color:#77797e;padding:8px}.mobile-bottom button svg{width:28px;height:28px}.mobile-bottom button b{font-size:28px;line-height:28px}.mobile-bottom button span{font-size:12px;font-weight:400}body[data-page=upgrade] [data-bottom-page=upgrade],body[data-page=battles] [data-bottom-page=battles],body[data-page=profile] [data-bottom-page=profile]{color:#ffdf00}footer{background:#18191d!important;position:relative;border-top:1px solid #28292d!important;margin:0;isolation:isolate}#toast{z-index:80;bottom:100px}
@media(min-width:851px){body[data-page=upgrade] main{max-width:850px;margin:auto}.upgrade-layout .selection{height:270px}.spectrum-wheel{width:370px;height:370px!important}}
@media(max-width:850px){.mobile-bottom{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;left:0;right:0;padding:8px 15px calc(8px + env(safe-area-inset-bottom));background:#18191d!important;z-index:55;border-top:1px solid #2d2e32;min-height:78px;isolation:isolate}body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.support-button{bottom:calc(96px + env(safe-area-inset-bottom));width:55px;height:55px;right:14px}header{position:sticky!important;top:0!important}.upgrader-heading{margin:26px 0 12px}.upgrader-heading h1{font-size:20px}.upgrader-heading button{width:36px;height:36px;padding:8px}.heading-arrows{width:24px;height:28px}.upgrade-battle-banner{height:42px;padding:0 10px}.upgrade-battle-banner>span{font-size:16px}.upgrade-battle-banner>strong{font-size:41px}.ticker{height:91px}.ticker .drop{min-width:105px;width:105px;height:58px;border-radius:8px}.ticker .featured-drop{min-width:132px;width:132px;height:67px}.ticker .drop img{height:48px;width:94px}.ticker .featured-drop img{height:60px;width:117px}.ticker #drops{padding:4px;gap:3px}.live-label{font-size:9px;left:15px}.spectrum-wheel{width:min(76vw,350px);height:min(76vw,350px)!important;padding:29px!important;border-width:13px!important;margin:25px auto 25px!important}.spectrum-wheel .needle{inset:-13px!important}.spectrum-wheel .wheel-core{box-shadow:0 0 0 12px #101113!important}.dial-logo{width:95px;height:110px}.upgrade-layout .selection{height:205px;padding:12px 9px;gap:4px}.selection-title{font-size:10px;min-height:30px;line-height:1.5}.selection-help{font-size:8px!important}.selection-arrows{width:50px;height:60px;top:54%}.upgrade-layout .selection>img{height:93px}.upgrade-layout>.upgrade-action{height:47px;font-size:17px;min-height:47px}.upgrade-layout .selection>b{font-size:11px}.upgrade-layout .selection>small{font-size:9px}.upgrade-layout .selection>strong{font-size:13px}.picker-tabs>button{font-size:14px;min-height:48px}.picker-body{padding:13px}.inventory-switch>button{font-size:14px}.spectrum-wheel.has-chance .dial-logo{height:63px;width:54px}.spectrum-wheel.has-chance .wheel-core>strong{font-size:29px!important}.spectrum-wheel.has-chance .wheel-core>small{font-size:7px}.reference-pointer{width:22px;height:58px;left:calc(50% - 11px);bottom:-20px}.picker-description{font-size:11px}.picker-tabs>button:disabled{opacity:.55}.drop-copy{display:none!important}.upgrader-heading .icon{margin:0}.selection-ghost{inset:40px 0 0}.upgrade-layout:has(.spectrum-wheel){gap:7px}.wallet select{appearance:auto;color:#c6c6c8;background:#18191d;border:0}.wallet #topup{border-radius:9px;background:#ffdf00}.source-note{line-height:1.7}body[data-page=upgrade] .source-note{font-size:10px}}
@media(max-width:350px){.selection-title{font-size:9px}.selection-help{font-size:8px!important}.upgrade-layout .selection{height:180px}.spectrum-wheel{width:74vw;height:74vw!important;padding:25px!important}.dial-logo{width:82px;height:95px}.upgrader-heading h1{font-size:18px}.inventory-switch>button{font-size:13px}.picker-tabs>button{font-size:13px}}
html{background:#18191d;color-scheme:dark}.upgrade-tools{display:flex;flex-direction:column;gap:4px}.upgrader-heading{align-items:flex-start}.upgrader-heading h1{margin-top:8px}.upgrade-tools #toggle-sound{color:#ffdf00;background:#25220d}.upgrade-tools #toggle-sound[aria-pressed=false]{color:#96862b}.outer-wheel-arc{position:absolute;inset:-17px;width:calc(100% + 34px);height:calc(100% + 34px);z-index:3;pointer-events:none}.spectrum-wheel .dial-logo{height:auto!important}.heading-arrows{height:auto}.button-arrows{height:20px}.site-footer{display:block;padding:35px 28px 28px;color:#929296;font-size:13px}.footer-brand{font-size:27px;font-weight:900;color:white;letter-spacing:-1px}.footer-brand span{color:#ffdf00}.footer-tagline{font-size:13px;margin:10px 0 25px}.footer-links{display:flex;flex-direction:column;gap:8px;align-items:flex-start;margin-bottom:25px}.footer-links button{border:0;padding:5px 0;background:none;color:#96969b;font-weight:400;font-size:14px;text-align:left;min-height:35px}.footer-language{padding:16px 18px;background:#202125;border-radius:9px;display:flex;justify-content:space-between;color:#d6d6da;margin-bottom:23px}.footer-language span{color:#8a8a90}.footer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.footer-stats>div{background:#202125;border-radius:10px;display:flex;align-items:center;gap:18px;padding:18px}.footer-stats>div>b{color:#ffdf00;font-size:29px;font-weight:900;width:32px;text-align:center}.footer-stats span{font-size:12px;color:#a7a7ac}.footer-stats small{display:block;font-weight:800;color:#f0f0f2;font-size:23px;margin-top:6px}.footer-legal{border-top:1px solid #2a2b2f;margin-top:25px;padding-top:15px;color:#6d6e75;line-height:1.6;font-size:11px}.footer-legal p:first-child{color:#b9b9bd}.footer-legal p{margin:12px 0}.support-button{background:#ffdf00!important;opacity:1!important}.mobile-bottom{box-shadow:0 -1px #101114}.spectrum-wheel.spinning{animation:none!important}
@media(max-width:850px){.upgrader-heading h1{margin-top:8px}.upgrader-heading{margin-bottom:2px;height:70px}.site-footer{padding:30px 22px}.footer-stats{grid-template-columns:1fr}.footer-stats>div{padding:17px 19px;min-height:77px}.footer-stats>div>b{width:35px}.footer-stats small{font-size:23px}.footer-stats span{font-size:12px}.outer-wheel-arc{inset:-13px;width:calc(100% + 26px);height:calc(100% + 26px)}.mobile-bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px));height:calc(78px + env(safe-area-inset-bottom,0px))}.upgrader-heading .upgrade-tools button{height:31px;width:32px;padding:7px}.upgrader-heading #upgrade-info{height:34px;width:34px}}
@media(max-width:850px){.spectrum-wheel{width:min(68vw,330px);height:min(68vw,330px)!important;margin-top:24px!important;margin-bottom:29px!important;padding:25px!important}.upgrade-layout .selection{height:174px}.selection-arrows{top:55%;width:47px;height:55px}.selection-title{font-size:10px}.selection-help{font-size:8px!important}.upgrade-layout .selection>img{height:73px}.upgrade-layout .selection>b{font-size:10px}.dial-logo{width:86px}.spectrum-wheel.has-chance .dial-logo{width:48px;height:auto}.spectrum-wheel.has-chance .wheel-core>strong{font-size:26px!important}}
@media(max-width:350px){.spectrum-wheel{width:69vw;height:69vw!important;padding:22px!important}.upgrade-layout .selection{height:165px}.dial-logo{width:77px}.selection-title{font-size:9px}.spectrum-wheel.has-chance .dial-logo{width:38px}.spectrum-wheel.has-chance .wheel-core>strong{font-size:23px!important}}
.footer-stats>div>b svg{height:30px;width:30px;display:block}.upgrade-picker .inventory-switch .icon{height:19px;width:19px}.support-button:hover{transform:none}
.mobile-bottom{overflow:hidden;gap:0;flex:none;order:initial}.mobile-bottom button{min-height:0;height:60px;max-height:60px;padding:4px 8px;line-height:1.2}.mobile-bottom button span{line-height:15px}.mobile-bottom button svg{height:27px}.mobile-bottom button b{height:28px;line-height:28px}
