/* Additive presentation layer: keeps the arena's painted semicircles visible. */
.coop-timer{top:42.7%;width:16%;height:3.8%;border:0;border-radius:0;background:none;box-shadow:none;gap:0}
.coop-timer:before,.coop-timer:after{display:none}
.coop-timer-label{display:none}
.coop-lane-meta .pvp-clock{font-size:3.3cqw;color:#f1dfb3;text-shadow:0 1px 3px #06151e,0 0 5px #06151e}
.coop-round-meta,.coop-boss-meta{top:52.7%;height:4.1%;border:0;border-radius:0;background:none}
.coop-round-meta{left:18%;width:20%;gap:1cqw}
.coop-boss-meta{right:10%;width:27%;padding:0;gap:.5cqw}
.coop-lane-meta .pvp-round{font-size:2.6cqw}
.coop-lane-meta .pvp-phase{font-size:2.5cqw}
.coop-boss-label{font-size:1.35cqw;letter-spacing:.06cqw}
@container(max-width:280px){.coop-lane-meta .pvp-clock{font-size:11px}.coop-lane-meta .pvp-round,.coop-lane-meta .pvp-phase{font-size:7px}}

#main-menu .menu-currencies>span{position:relative;display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;justify-content:center;gap:4px 6px;min-width:82px;padding:8px 11px;line-height:1}
#main-menu .menu-currencies b{grid-column:2;grid-row:1;line-height:1;font-variant-numeric:tabular-nums}
#main-menu .menu-currencies small{position:static;grid-column:1/-1;grid-row:2;justify-self:center;text-align:center;line-height:1.2;transform:none;margin:0;letter-spacing:.6px}
#main-menu .pass-node{display:flex;align-items:center;justify-content:center;padding:0;font-family:Arial,sans-serif;line-height:1;font-variant-numeric:tabular-nums;border-radius:50%;box-sizing:border-box}
#main-menu .mobile-menu-nav button>svg{flex-shrink:0;vertical-align:middle}
#main-menu .deck-presets{display:flex;align-items:center;gap:4px;flex-shrink:0}
#main-menu .deck-presets button{display:grid;place-items:center;width:28px;height:26px;min-height:26px;padding:0;border:1px solid #a3b6aa44;border-radius:5px;background:#102c36;color:#9bb7b8;font:12px/1 Arial}
#main-menu .deck-presets [aria-pressed=true]{color:#f0d9a3;border-color:#c6ab6d;background:#79643633;box-shadow:inset 0 1px #efcf9433}
#main-menu .collection-tools{max-height:55px;opacity:1;transform:translateY(0);overflow:hidden;visibility:visible;transition:max-height .24s ease,opacity .2s ease,transform .24s ease,margin .24s ease,visibility 0s}
#main-menu .filters-hidden .collection-tools{display:grid;max-height:0;opacity:0;transform:translateY(-5px);margin-bottom:0;visibility:hidden;transition:max-height .24s ease,opacity .18s ease,transform .24s ease,margin .24s ease,visibility 0s .24s;pointer-events:none}
#main-menu button.collection-filter{text-align:left;padding:15px 10px 4px;height:41px;color:#e5d9b8}
#main-menu .collection-filter>strong{display:flex;justify-content:space-between;gap:4px;font:12px/1.3 Arial}
#main-menu .collection-filter>strong i{font-style:normal;color:#a5bfbb}
.filter-options{display:grid;gap:7px}
.filter-options button{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:46px;padding:12px 15px;border:1px solid #b0bca33b;border-radius:8px;background:#1b3842;color:#d8dccc;text-align:left;font:14px Arial}
.filter-options [aria-pressed=true]{border-color:#c6ae71;background:#89733b30;color:#f0dca8}
.filter-options button>b{color:#b5d9cb;font-size:17px}
.game-sheet.filter-sheet{width:min(440px,calc(100% - 24px))}
.game-sheet.filter-sheet .sheet-frame{height:auto;max-height:calc(var(--game-height,100dvh) - 24px);grid-template-rows:auto minmax(0,1fr) auto}
.forge-repeat-pulse{opacity:0;position:absolute;inset:4%;pointer-events:none;border:2px solid #e2f7bd;border-radius:50%;background:radial-gradient(ellipse,#e4ffd138,transparent 68%);z-index:5;animation:forge-repeat .95s ease-out both}
@keyframes forge-repeat{0%{opacity:0;transform:scale(.6)}18%{opacity:.8}100%{opacity:0;transform:scale(1.65)}}
.tower-sheet .tower-level-number .level-before{animation:dim-stat .2s both}
.tower-sheet .tower-level-number .level-after{animation:new-stat .2s .02s both}
#main-menu .story-completion{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 14px;padding:12px 14px;border:1px solid #baa26840;border-radius:9px;background:#7c6a2f14}
#main-menu .story-completion strong{display:block;color:#dfc99a;font:16px Georgia}
#main-menu .story-completion small{display:block;margin-top:5px;color:#b4c2b8;font-size:11px}
#main-menu .story-completion button{font-size:11px;min-height:38px;flex-shrink:0}
#main-menu .chest-open-all{min-height:42px;border-color:#b9a66c77;color:#ead29a}
#main-menu .pvp-home-recordings{min-width:0}
#main-menu .pvp-recordings{border:1px solid #aab8a139;border-radius:12px;padding:16px;background:#16313b88;margin-top:8px}
#main-menu .recording-switch{align-items:center;line-height:1.5}
#main-menu .recording-switch input{flex-shrink:0;margin:0}

/* A scrollable gallery replaces the overlapping orbital hero arrangement. */
#main-menu .collection-heroes{padding-left:0}
#main-menu .hero-gallery-scroll{flex:1;min-height:0;padding:2px 4px 14px 1px}
#main-menu .hero-gallery-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;margin-bottom:16px;justify-content:stretch;overflow:visible}
#main-menu .hero-gallery-roster>button{min-width:0;display:flex;align-items:center;gap:12px;text-align:left;padding:9px;border:1px solid #9fb5ad44;border-radius:10px;background:linear-gradient(125deg,#294650,#122e39);color:#dddbc5}
#main-menu .arsenal-hero-panel .hero-gallery-roster>button{min-width:0;width:auto}
#main-menu .hero-gallery-roster>button.selected{border-color:#d1b678;background:linear-gradient(125deg,#72634355,#18343b);box-shadow:inset 0 1px #efc98033}
#main-menu .hero-gallery-roster img{width:54px;height:62px;flex-shrink:0;object-fit:cover;object-position:center 20%;border-radius:6px}
#main-menu .hero-gallery-roster>button>span{min-width:0;display:block;font-size:inherit;color:inherit}
#main-menu .hero-gallery-roster strong{display:block;font:21px/1.2 Georgia}
#main-menu .hero-gallery-roster small{display:block;font:10px/1.4 Arial;margin-top:4px;color:#a6beb9;white-space:normal}
#main-menu .hero-gallery-card{max-width:none;width:100%;display:grid;grid-template-columns:minmax(200px,.8fr) minmax(250px,1fr);gap:0;padding:0;text-align:left;border:1px solid #c2ac6b55;border-radius:15px;overflow:hidden;background:linear-gradient(130deg,#29464a,#102a36);min-width:0}
#main-menu .hero-portrait-art{min-width:0;position:relative;min-height:350px;isolation:isolate;overflow:hidden}
#main-menu .hero-portrait-art img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 23%}
#main-menu .hero-portrait-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 80%,#203c43),linear-gradient(0deg,#112b34aa,transparent 25%)}
#main-menu .hero-gallery-copy{padding:30px;display:flex;flex-direction:column;justify-content:center;min-width:0;gap:16px}
#main-menu .hero-gallery-copy h2{font:44px/1.1 Georgia;color:#f0dfb8;margin:0}
#main-menu .hero-gallery-copy .eyebrow{font-size:9px;line-height:1.6}
#main-menu .hero-gallery-copy .hero-skill{display:flex;gap:12px;padding:16px;margin:0;text-align:left;background:#112b36a6;border:1px solid #a5c4b52e;min-width:0}
#main-menu .hero-gallery-copy .hero-skill>span{font-size:30px;flex-shrink:0}
#main-menu .hero-gallery-copy .hero-skill h3{font:23px/1.2 Georgia;margin:0;color:#dce7ce}
#main-menu .hero-gallery-copy .hero-skill p{font:12px/1.8 Arial;color:#b8cdca;margin:8px 0 0}
#main-menu .hero-gallery-copy .hero-stats{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:14px;margin:0;font-size:11px}
#main-menu .hero-gallery-copy .hero-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding-top:14px;margin:0}
#main-menu .hero-gallery-copy .hero-actions>span{display:block;max-width:none;font-size:10px}
#main-menu .hero-gallery-copy .hero-actions button{min-width:0;width:100%;min-height:45px;font-size:13px}
@media(max-width:760px){
 #main-menu .menu-currencies>span{min-width:62px;padding:7px 8px;gap:4px}
 #main-menu .menu-currencies small{font-size:5px;letter-spacing:.4px}
 #main-menu .deck-presets{gap:3px}#main-menu .deck-presets button{width:25px;height:25px;min-height:25px;font-size:11px}
 #main-menu .hero-gallery-roster{gap:6px;margin-bottom:10px}
 #main-menu .hero-gallery-roster>button{flex-direction:column;gap:6px;padding:6px;text-align:center}
 #main-menu .hero-gallery-roster img{width:100%;height:80px;object-position:center 20%}
 #main-menu .hero-gallery-roster strong{font-size:16px}#main-menu .hero-gallery-roster small{font-size:8px;line-height:1.3}
 #main-menu .hero-gallery-card{grid-template-columns:1fr}
 #main-menu .hero-portrait-art{min-height:0;height:260px}
 #main-menu .hero-portrait-art img{object-position:center 24%}
 #main-menu .hero-portrait-art:after{background:linear-gradient(0deg,#203c43,transparent 30%)}
 #main-menu .hero-gallery-copy{padding:18px;gap:12px}#main-menu .hero-gallery-copy h2{font-size:35px}
 #main-menu .hero-gallery-copy .hero-skill{padding:12px;gap:10px}#main-menu .hero-gallery-copy .hero-skill h3{font-size:21px}
 #main-menu .hero-gallery-copy .hero-skill p{font-size:11px;line-height:1.7}
 #main-menu .story-completion{padding:10px;gap:9px}#main-menu .story-completion strong{font-size:14px}
 #main-menu .story-completion button{font-size:9px;max-width:110px;padding:8px;line-height:1.4}
}
@media(max-height:500px) and (orientation:landscape){
 #main-menu .hero-gallery-roster{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:10px}
 #main-menu .hero-gallery-roster>button{flex-direction:row;text-align:left}#main-menu .hero-gallery-roster img{width:40px;height:46px}
 #main-menu .hero-gallery-roster strong{font-size:17px}#main-menu .hero-gallery-roster small{font-size:8px}
 #main-menu .hero-gallery-card{grid-template-columns:40% 60%}#main-menu .hero-portrait-art{height:auto;min-height:290px}
 #main-menu .hero-gallery-copy{padding:18px;gap:12px}#main-menu .hero-gallery-copy h2{font-size:32px}
}
@media(prefers-reduced-motion:reduce){#main-menu .collection-tools,.forge-repeat-pulse{animation:none;transition:none}}
#main-menu.calm-ui .collection-tools{transition:none}
