/* A feature spread between roster and arenas, without another card grid. */
main>#chaos-strike[data-ui]{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:36px;min-height:560px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 78% 60%,#533c714d,transparent 60%),var(--background)}
#chaos-strike .strike-copy{position:relative;z-index:2;max-width:520px}
#chaos-strike #strike-title{font-size:clamp(40px,6vw,76px);line-height:1.06;letter-spacing:-.035em;max-width:8ch}
#chaos-strike #strike-title::after{display:none}
#chaos-strike .special-badge{font-size:clamp(19px,2.3vw,26px)!important;font:400 clamp(19px,2.3vw,26px)/1.4 var(--display);color:var(--warm)!important;margin:22px 0 14px}
#chaos-strike .strike-description{font-size:16px;line-height:1.8;color:var(--muted-foreground);margin:0 0 26px}
#chaos-strike .strike-art{position:relative;min-width:0;min-height:430px;display:grid;place-items:center;isolation:isolate}
#chaos-strike .strike-art::before{content:"";position:absolute;width:82%;aspect-ratio:1;border-radius:50%;border:1px solid #b9a4ff35;background:radial-gradient(circle,#7452db45,transparent 68%);z-index:-1}
#chaos-strike .strike-art::after{content:"";position:absolute;inset:28% 0;border-block:1px solid #b9a4ff25;background:linear-gradient(100deg,transparent,#7452db18,transparent);transform:rotate(-14deg);z-index:-1;pointer-events:none}
#chaos-strike .strike-art img{position:relative;inset:auto;max-width:100%;width:520px;height:480px;object-fit:contain;transform:none;filter:drop-shadow(0 20px 24px #03071366)}
/* Arena accents transition, photographs and gameplay colors remain unmodified. */
#arena-panel{--atmosphere:#ffc56b;position:relative}
[data-ui] #arena-panel{border-color:color-mix(in srgb,var(--atmosphere) 50%,var(--border));box-shadow:0 16px 38px #03071340,0 0 28px color-mix(in srgb,var(--atmosphere) 9%,transparent);transition:border-color 280ms ease,box-shadow 280ms ease}
#arena-panel[data-theme=meteor]{--atmosphere:#b9a4ff}
#arena-panel[data-theme=volcano]{--atmosphere:#ffb578}
#arena-panel[data-theme=thunder]{--atmosphere:#75ceef}
#arena-panel[data-theme=snow]{--atmosphere:#ace8f3}
#arena-panel[data-theme=steel]{--atmosphere:#ffc56b}
[data-ui] #arena-title{color:var(--atmosphere);transition:color 280ms ease}
[data-ui] #arena-panel .arena-description{background:linear-gradient(110deg,color-mix(in srgb,var(--atmosphere) 7%,var(--card)),var(--card))}
/* The guide contains the same crawlable content, with mobile-sized disclosures. */
.guide-hub .guide-chapter{border:1px solid var(--border);background:var(--card);border-radius:20px;margin:0 0 16px;overflow:clip}
.guide-hub .guide-chapter>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;min-height:92px}
.guide-hub .guide-chapter>summary::-webkit-details-marker{display:none}
.guide-hub .guide-chapter>summary h3{font:400 24px/1.35 var(--display);color:var(--foreground);margin:0 0 6px;overflow-wrap:anywhere}
.guide-hub .guide-chapter>summary span{font-size:14px;line-height:1.6;color:var(--muted-foreground)}
.guide-hub .guide-chapter>summary::after{content:"";width:10px;height:10px;flex:0 0 10px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);transition:transform 180ms;margin-right:4px}
.guide-hub .guide-chapter[open]>summary::after{transform:rotate(225deg)}
.guide-hub .guide-chapter>summary:focus-visible{outline:3px solid var(--ring);outline-offset:-5px;border-radius:20px}
.guide-hub .guide-chapter>section[data-ui]{background:transparent;border:0;border-top:1px solid var(--border);padding:24px;margin:0}
.guide-hub .guide-chapter :is(.section-heading,.tactics-heading){margin:0 0 24px;display:block}
.guide-hub .guide-chapter :is(.section-intro,.attributes-section>.section-intro){margin:0;max-width:900px}
.guide-hub .tactics-grid{margin-top:24px}
.guide-hub .guide-chapter .attributes-grid{margin-top:24px}
.guide-hub .power-balance-note{margin:20px 0}
.guide-hub .power-card{background:var(--background)}
@media(max-width:700px){
 main>#chaos-strike[data-ui]{grid-template-columns:minmax(0,1fr);gap:12px;min-height:0}
 #chaos-strike .strike-copy{max-width:none}
 #chaos-strike #strike-title{font-size:clamp(38px,11vw,58px);max-width:none}
 #chaos-strike .strike-art{min-height:0}
 #chaos-strike .strike-art img{height:340px;width:100%}
 #chaos-strike .strike-description{font-size:15px}
 .guide-hub .guide-chapter>summary{padding:20px;gap:16px}
 .guide-hub .guide-chapter>summary h3{font-size:21px}
 .guide-hub .guide-chapter>summary span{font-size:13px}
 .guide-hub .guide-chapter>section[data-ui]{padding:18px}
 .guide-hub :is(.tactics-grid,.attributes-grid,.power-grid){grid-template-columns:minmax(0,1fr)}
 [data-ui] :is(h2,h3,h4,.button){overflow-wrap:anywhere}
 [data-ui] :is(.section-heading,.picked-copy,.strike-copy,.playstyle-control){min-width:0}
 [data-ui] .button{max-width:100%;white-space:normal;text-align:center}
}
@media(prefers-reduced-motion:reduce){[data-ui] #arena-panel,[data-ui] #arena-title,.guide-hub .guide-chapter>summary::after{transition:none}}

[data-ui] .guide-shortcut{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:24px;color:var(--accent);font-size:15px;text-decoration:underline;text-underline-offset:5px}
/* Keep decorative rays inside their art panel, without clipping text. */
#chaos-strike .strike-art{overflow:clip}
.guide-hub .guide-chapter{min-width:0}
.guide-hub .guide-chapter>summary>div{min-width:0}
.guide-hub .guide-chapter :is(.tactics-grid,.attributes-grid,.power-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.guide-hub .guide-chapter .attribute-card{grid-column:auto}
@media(max-width:900px){main>#chaos-strike[data-ui]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}#chaos-strike .strike-art img{height:360px}#chaos-strike .strike-art{min-height:360px}}
@media(max-width:700px){main>#chaos-strike[data-ui]{grid-template-columns:minmax(0,1fr)}}
/* Long localized tactical names need a real text line, not an unbreakable flex item. */
[data-ui] .tactics-grid,.guide-hub .guide-chapter .tactics-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
[data-ui] .tactic-card h3{display:block;overflow-wrap:anywhere}
[data-ui] .tactic-card h3 kbd{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:0 12px 8px 0}

.guide-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}.guide-preview{display:flex;flex-direction:column;gap:16px;min-width:0;padding:24px;border:1px solid var(--border);border-radius:20px;background:var(--card);scroll-margin-top:100px}.guide-preview h3{font-size:23px;line-height:1.3}.guide-preview p{line-height:1.75}.guide-preview a{margin-top:auto;align-self:flex-start;color:var(--accent);font-weight:700;min-height:44px;display:inline-flex;align-items:center;gap:8px}.guide-preview a:hover{text-decoration:underline}.guide-preview a:focus-visible{outline:3px solid var(--ring);outline-offset:5px}
