.wallet-hud{position:absolute;z-index:5;right:11.1%;top:5.8cqw;width:33.4%;height:7.7cqw;display:flex;justify-content:space-around;align-items:center;gap:1cqw;padding:0 .6cqw;background:linear-gradient(#181009,#080604);border:1px solid #8f5d26;color:#f2cf96;font:3.4cqw Georgia;box-shadow:inset 0 0 6px #000;clip-path:polygon(4% 0,96% 0,100% 50%,96% 100%,4% 100%,0 50%)}.wallet-hud span{white-space:nowrap}.wallet-hud i{font-style:normal;color:#e9af46}.wallet-hud span:last-child i{color:#8dc9e2}body:has(.reference-home) .wallet-hud{top:12.2cqw}.wallet-hud:hover{filter:brightness(1.15)}
.character-navigation{flex-wrap:wrap}.character-navigation a{flex:1;text-align:center;padding-inline:13px;white-space:nowrap}.mission-currency{display:block!important;color:#d7b675!important;font:12px/1.5 Georgia!important;white-space:normal;max-width:150px;margin-top:6px!important}.mission-currency.gem-mission{color:#9acde1!important}.official-quest .reward{flex-shrink:0;text-align:right}.celebration-currency{display:block;color:#a8d4dc;font:12px/1.5 Georgia;margin-top:5px}.daily-gem-bonus{display:flex;align-items:center;gap:15px;margin:20px 0;padding:15px;background:linear-gradient(100deg,#19405444,#0c0906c9);border:1px solid #a7773266}.daily-gem-bonus>span{font-size:30px;color:#93cde0;text-shadow:0 0 14px #6ba6cf55}.daily-gem-bonus strong{font:21px Georgia;color:#e9c98c}.daily-gem-bonus p{font:12px/1.6 Georgia;color:#cfbea2;margin:6px 0 0}
.shop-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px;border:1px solid #a17135;background:radial-gradient(ellipse at right,#74602633,transparent 70%),linear-gradient(#0f0a07df,#090604eb);margin:24px 0}.shop-intro h2{font-size:35px;margin:10px 0}.shop-intro p{font:15px/1.6 Georgia;margin-bottom:0}.shop-wallet{flex-shrink:0;display:grid;gap:12px;padding:17px;border:1px solid #9b6a3388;background:#0d0806;color:#d9b47b}.shop-wallet span{white-space:nowrap;font-size:15px}.shop-wallet span:last-child{color:#9bcce0}.shop-wallet b{font-size:27px;margin:0 5px}.chest-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.chest-card{min-width:0;text-align:center;background:radial-gradient(ellipse at center 25%,color-mix(in srgb,var(--chest-color) 12%,transparent),#0b0806eb 70%)}.chest-card>.eyebrow{color:var(--chest-color)}.chest-card h2{font-size:29px}.chest-card>p{font:14px/1.6 Georgia;min-height:43px}.chest-card>button{width:100%;font-size:17px;margin-top:15px;min-height:48px}.chest-price{font:30px Georgia;color:var(--chest-color);margin:20px 0 0}.chest-price small{font-size:15px}.shop-item-preview{display:flex;gap:10px;text-align:left;align-items:center;padding:10px;border-top:1px solid #a1763944;border-bottom:1px solid #a1763944;background:#08050466}.shop-item-preview .gear-art{width:58px;height:58px;flex-shrink:0}.shop-item-preview small{font:8px 'DM Sans',sans-serif;color:#b79a6d;letter-spacing:1px}.shop-item-preview strong{display:block;font:18px/1.3 Georgia;color:#e6c68e;margin-top:7px}.level-chest-gift{display:flex;gap:22px;align-items:center;padding:24px;margin:26px 0;border:1px solid #b88039;background:linear-gradient(110deg,#5e371b55,#0b0806e8)}.level-chest-gift h3{margin-top:10px;font-size:27px}.level-chest-gift p{font:14px/1.6 Georgia;color:#c6af8c}.level-chest-gift button{font-size:17px;flex-shrink:0}.level-chest-gift button:disabled,.first-week-prizes button:disabled{cursor:default;opacity:.65}.economy-rules{margin:28px 0;border:1px solid #8f612d;padding:20px;background:#100a06e6}.economy-rules summary{font:23px Georgia;color:#e7c38b;cursor:pointer;line-height:1.4}.economy-rules p{font:14px/1.7 Georgia;color:#c9b392}.economy-small{font:11px/1.6 'DM Sans',sans-serif!important;color:#b49c78!important}
.first-week-economy{margin-top:27px;padding-top:24px;border-top:1px solid #99683277}.first-week-economy h3{font-size:29px;margin:10px 0}.first-week-economy>p{font:14px/1.6 Georgia;color:#cbb28b}.first-week-prizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}.first-week-prizes>div{display:flex;flex-direction:column;align-items:center;padding:15px 9px;border:1px solid #7c572e;background:#100a06}.first-week-prizes>div.ready{border-color:#deb069;background:linear-gradient(#6a441e44,#100a06)}.first-week-prizes>div.claimed{border-color:#788452}.first-week-prizes span{font:13px Georgia;color:#e5c58d}.first-week-prizes b{font:24px Georgia;color:#e8b95f;margin:12px 0 5px}.first-week-prizes small{font:10px Georgia;color:#9fc6d9;min-height:25px}.first-week-prizes button{font-size:13px;padding:10px 7px;width:100%;min-height:40px}
.treasure-chest{position:relative;width:100%;max-width:330px;aspect-ratio:320/230;margin:0 auto;perspective:700px;isolation:isolate}.treasure-chest svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 10px 10px #000)}.chest-base{z-index:1}.chest-lid{z-index:3;transform-origin:50% 48%;transform-style:preserve-3d}.chest-aura{position:absolute;inset:7% 7% 0;background:radial-gradient(ellipse,color-mix(in srgb,var(--chest-color) 24%,transparent),transparent 68%);z-index:0}.chest-rays{position:absolute;z-index:2;left:16%;right:12%;bottom:42%;height:75%;opacity:0;background:conic-gradient(from 165deg at 50% 100%,transparent,#ffe4a5a8 5deg,transparent 10deg,#fff3c1 16deg,transparent 23deg,#ffe4a5a8 31deg,transparent 40deg);clip-path:polygon(0 0,100% 0,68% 100%,32% 100%);filter:blur(2px);pointer-events:none}.chest-spark{position:absolute;opacity:0;color:#ffdc8b;font-size:24px;z-index:4}.spark-one{left:20%;top:20%}.spark-two{right:20%;top:5%;font-size:35px}.spark-three{right:40%;top:33%;font-size:17px}
.chest-purchase,.chest-opening{text-align:center}.chest-purchase>h2,.chest-opening>h2{font-size:33px;margin:12px 0;color:#f1ca87}.chest-purchase>p{font:14px/1.6 Georgia}.chest-purchase>button{width:100%;font-size:18px;min-height:48px}.chest-purchase>button:disabled{opacity:.6;cursor:default}.guaranteed-item{display:flex;gap:16px;align-items:center;text-align:left;border:1px solid #a4773c77;padding:12px;background:#090604}.guaranteed-item>.gear-art{width:80px;height:80px;flex-shrink:0}.guaranteed-item h3{font-size:24px}.guaranteed-item p{font:13px/1.5 Georgia;margin:7px 0 0;color:#c6ad86}dialog:has(.chest-opening),dialog:has(.chest-purchase){width:min(94vw,510px);max-width:510px;max-height:94dvh;overflow:auto;background:radial-gradient(ellipse at center 30%,#54371955,transparent 60%),#100b07;border-color:#bc8540;padding:25px}.chest-opening>.treasure-chest{margin-top:20px;animation:chest-rumble .7s ease-in-out}.chest-opening .chest-lid{animation:chest-open 1.9s ease-in-out forwards}.chest-opening .chest-rays{animation:treasure-light 1.9s ease-out forwards}.chest-opening .chest-spark{animation:treasure-spark 1.9s ease-out forwards}.chest-opening .spark-two{animation-delay:.15s}.chest-opening .spark-three{animation-delay:.25s}.chest-loot{display:none}.chest-opening.revealed .chest-loot{display:block;animation:loot-reveal .45s ease-out}.chest-opening.revealed .chest-lid{animation:none;transform:rotateX(-65deg) translateY(-14px)}.chest-opening.revealed .chest-rays{animation:none;opacity:.65}.chest-obtained{font:14px Georgia;color:#f1cc84}.chest-revealed-item>.gear-art{width:150px;height:150px;margin:5px auto;filter:drop-shadow(0 0 17px color-mix(in srgb,var(--chest-color) 40%,transparent))}.chest-revealed-item h3{font-size:29px;margin:12px 0;color:var(--chest-color)}.chest-revealed-item p{font:14px/1.6 Georgia;color:#d5bc93}.chest-loot>button{width:100%;font-size:18px;min-height:46px;margin-top:12px}.currency-treasure{font-size:48px;color:#edbe6a;text-shadow:0 0 20px #d79a3955}.chest-opening>[data-skip-chest]{font-size:14px;min-height:44px}
@keyframes chest-rumble{0%,100%{transform:none}25%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}75%{transform:rotate(-1deg)}}@keyframes chest-open{0%,30%{transform:none}70%,100%{transform:rotateX(-65deg) translateY(-14px)}}@keyframes treasure-light{0%,30%{opacity:0;transform:scaleY(.5)}70%{opacity:1;transform:scaleY(1.1)}100%{opacity:.65;transform:none}}@keyframes treasure-spark{0%,40%{opacity:0;transform:translateY(25px) scale(.5)}65%{opacity:1}100%{opacity:0;transform:translateY(-35px) scale(1.1)}}@keyframes loot-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:650px){.character-navigation{gap:6px}.character-navigation a{font-size:14px;padding:12px 7px}.shop-intro{padding:22px 16px;display:block}.shop-intro h2{font-size:30px}.shop-wallet{display:flex;justify-content:space-around;margin-top:20px;padding:12px}.shop-wallet b{font-size:25px}.chest-catalog{gap:12px}.chest-card h2{font-size:24px}.chest-card>p{font-size:13px;min-height:60px}.chest-card>button{font-size:14px;padding:12px 7px}.shop-item-preview{flex-direction:column;text-align:center;gap:4px;padding:8px 4px}.shop-item-preview strong{font-size:16px}.shop-item-preview small{font-size:7px;letter-spacing:.5px}.chest-price{font-size:26px}.chest-price small{font-size:12px}.level-chest-gift{padding:20px 15px;display:block}.level-chest-gift button{width:100%}.economy-rules{padding:18px 14px}.economy-rules summary{font-size:21px}.first-week-prizes{grid-template-columns:repeat(2,minmax(0,1fr))}.first-week-economy h3{font-size:25px}.mission-currency{font-size:11px!important;max-width:90px}.official-quest .text{min-width:0}.daily-gem-bonus strong{font-size:20px}.daily-gem-bonus p{font-size:12px}.chest-purchase>h2,.chest-opening>h2{font-size:29px}.chest-purchase .treasure-chest,.chest-opening .treasure-chest{max-width:280px}.guaranteed-item{gap:10px;padding:10px}.guaranteed-item>.gear-art{width:65px;height:65px}.guaranteed-item h3{font-size:22px}.chest-revealed-item>.gear-art{width:120px;height:120px}.chest-revealed-item h3{font-size:25px}dialog:has(.chest-opening),dialog:has(.chest-purchase){padding:23px 16px}.chest-opening.revealed>.treasure-chest{max-width:210px}}
@media(max-width:360px){.chest-catalog{grid-template-columns:1fr}.chest-card>p{min-height:0}.chest-card .treasure-chest{max-width:240px}.shop-item-preview{flex-direction:row;text-align:left;gap:12px}.chest-card h2{font-size:29px}.chest-card>button{font-size:17px}.shop-item-preview strong{font-size:19px}.character-navigation a{font-size:13px}.official-quest .reward{margin-left:35px}.shop-wallet{gap:12px}.shop-wallet span{font-size:13px}.shop-wallet b{font-size:23px}}
@media(prefers-reduced-motion:reduce){.chest-opening>.treasure-chest,.chest-opening .chest-lid,.chest-opening .chest-rays,.chest-opening .chest-spark,.chest-opening.revealed .chest-loot{animation:none}}
.wallet-hud{top:3.7cqw;height:9cqw}
.treasure-chest{aspect-ratio:1;max-width:300px}
.treasure-chest,.chest-revealed-item{mix-blend-mode:screen}
.chest-frame{position:absolute;inset:0;background-image:url('assets/cofre-estados-v1.png');background-size:200% 100%;background-repeat:no-repeat;mix-blend-mode:screen;z-index:2;filter:drop-shadow(0 0 8px color-mix(in srgb,var(--chest-color) 22%,transparent))}
.chest-frame-closed{background-position:left center}.chest-frame-open{background-position:right center;opacity:0}
.chest-opening .chest-frame-closed{animation:chest-frame-close 1.9s ease-in-out forwards}
.chest-opening .chest-frame-open{animation:chest-frame-open 1.9s ease-in-out forwards}
.chest-opening.revealed .chest-frame-closed{animation:none;opacity:0}.chest-opening.revealed .chest-frame-open{animation:none;opacity:1}
.chest-opening .chest-rays{bottom:38%;height:60%;z-index:1}
@keyframes chest-frame-close{0%,35%{opacity:1}65%,100%{opacity:0}}
@keyframes chest-frame-open{0%,35%{opacity:0}65%,100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.chest-opening .chest-frame{animation:none}}
