/* High-contrast parchment text and centered raid action. */
.hero-art #opponent-reward,.hero-art #opponent-reward .icon-value,.hero-art #opponent-reward small,.hero-art #opponent-reward .opponent-reward-label36{color:#49351c!important}#opponent-reward .icon-value{font-weight:700}.raid-options{grid-template-columns:1fr!important;justify-items:center}.raid-options>.raid-option:not([hidden]){width:min(100%,720px);box-sizing:border-box;margin-inline:auto}.side-nav [data-screen=village]{display:none!important}.hero-art #buy-energy36{border:0;background:none;box-shadow:none;width:35px;height:35px;min-width:35px;padding:0;filter:drop-shadow(0 2px 2px #0008);transition:filter .2s,transform .2s}.hero-art #buy-energy36 svg{width:35px;height:35px;display:block}.hero-art #buy-energy36:hover{filter:drop-shadow(0 0 5px #f7d46e88);transform:translateY(-1px)}#buy-energy36:focus-visible{outline:2px solid #fff0ad;outline-offset:3px}
.chests37{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:26px}.hero-art .chest-card37{position:relative;isolation:isolate;overflow:hidden;border:1px solid #91a8b7;border-radius:18px;padding:25px;background:radial-gradient(ellipse at 50% 35%,#3e626a,#172c36 65%);box-shadow:inset 0 0 0 5px #b7d6e013,0 12px 28px #34251533;color:#e7edf0;text-align:center}.hero-art .chest-card37.mythic{border-color:#b398cc;background:radial-gradient(ellipse at 50% 35%,#604776,#261b37 65%);color:#eee4fa}.chest-title37 .eyebrow{font:10px system-ui;letter-spacing:2.5px;color:#b7c9cb!important}.hero-art .chest-title37 h3{font:30px Georgia;color:#f1e2bf!important;margin:9px 0 0}.chest-art37{height:230px;display:grid;place-items:center;margin:5px 0}.chest-art37 img{max-height:100%;max-width:100%;width:340px;object-fit:contain;filter:drop-shadow(0 15px 12px #0005)}.chest-odds37{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:0!important;min-height:58px;align-content:center;color:#e4e8dc!important;font:12px system-ui!important}.chest-odds37 span{background:#060c183b;border:1px solid #c0bc9b35;padding:7px 9px;border-radius:6px}.chest-odds37 b{color:#f3dba3;margin-left:5px}.chest-pity37{min-height:38px;font:12px/1.6 system-ui!important;color:#d2c9de!important;margin:12px 0!important}.chest-pity37 b{color:#f7d89a}.chest-keys37{display:flex;align-items:center;gap:9px;padding:12px 15px;border:1px solid #c6bc9833;border-radius:8px;background:#070d1838;margin:14px 0;color:#e4dfcc;font:13px system-ui}.chest-keys37 strong{margin-left:auto;font:24px Georgia}.key37{display:inline-block;width:24px;height:24px;vertical-align:middle;color:#b9d5e6;flex-shrink:0}.key37.mythic{color:#b98ae1}.chest-actions37{display:grid;gap:10px}.hero-art .chest-actions37 button{min-height:47px;display:flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(#859650,#4f6331);border:1px solid #d3c781;color:#fff0c3;font:15px Georgia;box-shadow:inset 0 1px #fff5,0 3px 6px #0003}.hero-art .chest-actions37 button+button{background:linear-gradient(#526577,#293b4b);border-color:#9baeb7}.hero-art .mythic .chest-actions37 button+button{background:linear-gradient(#75538a,#463256);border-color:#b394c7}.hero-art .chest-actions37 button:disabled{opacity:.48;cursor:not-allowed}.chest-reset37{display:block;color:#b3b9b8;font:10px/1.5 system-ui;margin-top:13px}
#chest-dialog37{width:min(620px,calc(100vw - 24px));height:min(800px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:28px 20px;border:1px solid #bba16b;border-radius:20px;overflow:hidden;text-align:center;background:radial-gradient(ellipse at 50% 62%,#38616c,#13232e 72%);color:#f0e5c8;box-shadow:0 25px 80px #000b}#chest-dialog37.mythic{background:radial-gradient(ellipse at 50% 62%,#6c4380,#21192e 72%)}#chest-dialog37::backdrop{background:#080c14dc;backdrop-filter:blur(7px)}.reveal-kicker37{font:12px system-ui;letter-spacing:2px;margin:0;position:relative;z-index:2}.reveal-item37{position:relative;z-index:3;opacity:0;transform:translateY(70px) scale(.3);transition:opacity .45s,transform .7s cubic-bezier(.16,1,.3,1);margin-top:30px}.revealed .reveal-item37{opacity:1;transform:none}.reveal-rarity37{display:inline-block;padding:6px 18px;border:1px solid #ceb87a66;border-radius:30px;background:#080f204d;color:#e5d8ad;font:13px system-ui}.reveal-item37 h2{font:26px Georgia;color:#fff0c7;margin:12px 0}.reveal-tile37{width:116px;height:116px;margin:auto;display:grid;place-items:center;border:2px solid #cfcca6;border-radius:15px;box-shadow:0 0 45px #e6d7a933,inset 0 0 0 5px #fff1}.reveal-tile37 :is(.painted-item,.painted-gear33,img,svg){width:86px!important;height:86px!important;object-fit:contain}.reveal-item37 p{font:12px system-ui;color:#c6d2cb;margin:12px 0}.reveal-chest37{position:absolute;bottom:90px;left:50%;transform:translateX(-50%);width:75%;height:35%;z-index:2}.reveal-chest37 img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .35s,transform .5s}.reveal-chest37 .closed37{animation:chest-shake37 .17s linear infinite alternate}.reveal-chest37 .opened37{opacity:0;transform:scale(.9)}.revealed .closed37{opacity:0;animation:none}.revealed .opened37{opacity:1;transform:scale(1)}.reveal-halo37{position:absolute;inset:15% -20% -5%;opacity:0;background:repeating-conic-gradient(from 0deg,#f3da7022 0deg 10deg,transparent 10deg 30deg);mask-image:radial-gradient(ellipse,#000,transparent 65%);transition:opacity .5s;animation:chest-rays37 30s linear infinite}.revealed .reveal-halo37{opacity:1}#chest-continue37{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:4;min-width:220px;padding:13px 18px;border:1px solid #b9a56b;border-radius:8px;background:linear-gradient(#536842,#2c452e);color:#fff0c6;font:16px Georgia}@keyframes chest-shake37{to{transform:rotate(2deg) translateY(-3px)}}@keyframes chest-rays37{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){#chest-dialog37 *{animation:none!important;transition:none!important}}@media(max-width:700px){.chests37{grid-template-columns:1fr;gap:18px}.hero-art .chest-card37{padding:20px}.chest-art37{height:200px}.hero-art .chest-title37 h3{font-size:27px}.reveal-item37{margin-top:24px}.reveal-item37 h2{font-size:22px}.reveal-tile37{width:95px;height:95px}.reveal-chest37{width:90%;bottom:85px}}@media(max-height:640px){.reveal-item37{margin-top:14px}.reveal-item37 h2{font-size:19px;margin:6px}.reveal-tile37{height:70px;width:70px}.reveal-tile37 :is(.painted-item,.painted-gear33,img,svg){width:54px!important;height:54px!important}.reveal-chest37{bottom:65px;height:29%}}
#page-shop .chest-art37 img{height:210px;width:340px;max-width:100%;object-fit:contain}#page-shop .chest-reset37{color:#c8d2d0!important}#page-shop .chest-actions37 button{background:linear-gradient(#859650,#4f6331);border:1px solid #d3c781;color:#fff0c3}#page-shop .chest-actions37 button+button{background:linear-gradient(#526577,#293b4b);border-color:#9baeb7;color:#eef2f4}#page-shop .mythic .chest-actions37 button+button{background:linear-gradient(#75538a,#463256);border-color:#b394c7}.reveal-tile37.rarity-0{background:radial-gradient(#818a8c,#364248)}.reveal-tile37.rarity-1{background:radial-gradient(#52915d,#173c29);border-color:#91c991}.reveal-tile37.rarity-2{background:radial-gradient(#528bc2,#163452);border-color:#8ec8ef}.reveal-tile37.rarity-3{background:radial-gradient(#9c5ab4,#3a1c51);border-color:#daa0f3}
