/* Native disclosures stay usable if scripts or the scoring feed are unavailable. */
.battle-section > summary { cursor:pointer; list-style:none; align-items:center; gap:12px; }
.battle-section > summary::-webkit-details-marker { display:none; }
.battle-section > summary h2::before,.battle-section > summary h3::before { content:"▸ "; color:var(--cyan); }
.battle-section[open] > summary h2::before,.battle-section[open] > summary h3::before { content:"▾ "; }
.battle-section > summary:focus-visible { outline:2px solid var(--cyan); outline-offset:5px; }
.battle-section:not([open]) > :not(summary) { display:none !important; }
.battle-section:not([open]) > summary { margin-bottom:0; }
.battle-section:not([open]) > summary p:not(.eyebrow) { display:none; }
.battle-section .result-chip,.primetime-joust .result-chip { flex:none; white-space:nowrap; }
.primetime-joust + .my-battle { margin-top:16px; }
.live-score-boards { align-items:start; }
.battle-contest-nav{position:sticky;top:12px;z-index:6;min-width:0;margin:0 0 22px;padding:16px;border:2px solid rgba(189,151,77,.7);border-radius:10px;background:linear-gradient(120deg,#1f1930,#0a1d28);box-shadow:0 8px 22px #0005}
.battle-contest-nav-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;line-height:1.4}
.battle-contest-nav-heading strong{font-size:.95rem;letter-spacing:.03em;color:#f2d599}.battle-contest-nav-heading span{font-size:.65rem;color:#c6cfdb}
.battle-contest-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.battle-contest-links button{min-width:0;min-height:82px;padding:12px;text-align:left;background:#151b29;border:2px solid #596174;border-radius:7px;color:var(--text,#fff);font:inherit;line-height:1.35;overflow-wrap:anywhere;cursor:pointer}
.battle-contest-links button::before{content:"SELECT";display:block;margin-bottom:5px;color:#b9c2d1;font-size:.52rem;font-weight:800;letter-spacing:.12em}
.battle-contest-links strong,.battle-contest-links small{display:block}.battle-contest-links strong{font-size:.84rem}.battle-contest-links small{margin-top:5px;font-size:.6rem;color:#b9c2d1}
.battle-contest-links button:hover:not(:disabled){border-color:var(--cyan,#35d4ff);background:#142832}
.battle-contest-links button[aria-current=location]{border-color:#6ef1ff;background:linear-gradient(135deg,#164354,#18253a);box-shadow:inset 0 -4px #6ef1ff,0 0 18px #35d4ff26}
.battle-contest-links button[aria-current=location]::before{content:"✓ VIEWING";color:#85ffd3}
.battle-contest-links button[aria-current=location] strong{color:#fff}.battle-contest-links button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.battle-contest-links button:disabled{opacity:.5;cursor:not-allowed}
.battle-contest-links button[hidden]{display:none!important}
/* Independent of owner/auth gates: never reveal a hidden feature to select it. */
[data-battle-selected="arena"] [data-battle-content]:not([data-battle-content~="arena"]),
[data-battle-selected="siege"] [data-battle-content]:not([data-battle-content~="siege"]),
[data-battle-selected="joust"] [data-battle-content]:not([data-battle-content~="joust"]),
[data-battle-selected="carnage"] [data-battle-content]:not([data-battle-content~="carnage"]){display:none!important}
[data-battle-selected] .live-score-boards,[data-battle-selected] .my-battle-cards{grid-template-columns:minmax(0,1fr)}
#livePrimetimePanel,#curatedCarnage,#liveArenaContest,#liveSiegeContest,#mainArenaEntry,#depthArena{scroll-margin-top:150px}
@media(max-width:600px) {
  .battle-section > summary { gap:8px; }
  .battle-section > summary h2,.battle-section > summary h3 { font-size:1.2rem; }
  .battle-contest-nav{top:8px;padding:10px;margin-bottom:16px}.battle-contest-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.battle-contest-links button{min-height:82px;padding:10px}.battle-contest-links strong{font-size:.78rem}.battle-contest-nav-heading{align-items:start;flex-direction:column;gap:5px}.battle-contest-nav-heading span{font-size:.6rem}
}
