.battle-page { --ink: #211e1a; --paper: #fffdf1; --yellow: #ffcf4a; max-width: 760px; margin: 0 auto; padding: 1rem 1rem 3rem; color: var(--ink); }
.battle-page [hidden] { display: none !important; }
.battle-languages { display: flex; justify-content: flex-end; gap: 1rem; padding: .7rem .2rem; }
.battle-languages a[aria-current] { font-weight: 800; }
.battle-panel { background: var(--paper); border: 3px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); padding: clamp(1rem, 4vw, 2.4rem); border-radius: 18px; text-align: center; }
.battle-panel h1 { margin: 0; font-size: clamp(1.8rem, 6vw, 3.3rem); line-height: 1.1; font-weight: 950; letter-spacing: -.04em; }
.battle-panel h2 { font-size: clamp(1.35rem, 5vw, 2rem); line-height: 1.3; }
.battle-sub, .battle-hook { font-size: clamp(1.1rem, 3.2vw, 1.45rem); font-weight: 850; }
.battle-art { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 12px; margin: 1rem auto; }
.battle-button { appearance: none; display: block; width: 100%; min-height: 48px; padding: .6rem .8rem; border: 2px solid var(--ink); border-radius: 10px; background: white; color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.battle-primary, .battle-options [aria-pressed="true"] { background: var(--yellow); box-shadow: 2px 3px 0 var(--ink); }
.battle-button:disabled { opacity: .49; cursor: not-allowed; box-shadow: none; }
.battle-button:focus-visible { outline: 3px solid #2a5cc3; outline-offset: 3px; }
.battle-panel .moya-recommend { margin: .7rem 0; }
.battle-fan { font-size: .88rem; color: #4d4432; }
.battle-progress, .battle-nav { display: flex; align-items: center; gap: .75rem; }
.battle-progress progress { flex: 1; min-width: 0; accent-color: #aa6615; }
.battle-level { display: inline-block; border: 2px solid var(--ink); padding: .2rem .7rem; border-radius: 1rem; margin-top: 1rem; font-weight: 800; }
.battle-level[data-level="easy"] { background: #c5ecc7; }
.battle-level[data-level="medium"] { background: #ffd49c; }
.battle-level[data-level="hard"] { background: #ffbdb0; }
.battle-options { display: grid; gap: .6rem; margin: 1rem 0; }
.battle-options button { text-align: left; }
.battle-options button[aria-pressed="true"] { border-width: 3px; }
.battle-score { font-size: 2.6rem; line-height: 1.1; font-weight: 950; margin: .75rem 0; }
#bc-result[data-rank="god"] { background: #fff1a8; }
#bc-result[data-rank="legendary"] { background: #ede0ff; }
#bc-result[data-rank="seasoned"] { background: #dfedff; }
#bc-result[data-rank="skilled"] { background: #e2f4d8; }
#bc-result[data-rank="rookie"] { background: #ffead2; }
#bc-result[data-rank="passing"] { background: #f1f0ed; }
.battle-breakdown { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem .9rem; padding: 0; list-style: none; }
#bc-review { text-align: start; margin: 1.25rem 0; }
#bc-review summary { cursor: pointer; font-weight: 800; }
#bc-explanations li { padding: .65rem 0; }
#bc-explanations p { margin: .3rem 0; }
@media (prefers-reduced-motion: no-preference) {
  #bc-result[data-rank="god"]:not([hidden]) .battle-art { animation: battle-cheer .42s ease-out; }
}
@keyframes battle-cheer { 45% { transform: scale(1.025) rotate(-1deg); } }
