.j-layout:has(.battle-victory) { display: block; max-width: 980px; margin-inline: auto; }
.j-layout:has(.battle-victory) > .j-sidebar { display: none; }
.j-main:has(.battle-victory) > .j-route-header, .j-main:has(.battle-victory) > .j-path-wrap { display: none; }
.battle-victory { border-radius: 16px; border-color: #c8d8e0; }
.bv-hero { position: relative; display: flex; align-items: center; gap: 21px; min-height: 112px; padding: 20px 28px; overflow: hidden; background: radial-gradient(ellipse at 90% 50%, #326b70, transparent 58%), #173b51; color: #f5fcff; }
.bv-hero::after { content: ''; position: absolute; right: -55px; top: -110px; width: 330px; height: 330px; border: 35px solid #c9efce08; border-radius: 50%; pointer-events: none; }
.bv-emblem { display: grid; place-items: center; flex-shrink: 0; width: 70px; height: 70px; border: 1px solid #ffe6a34d; border-radius: 50%; background: #f6cc6a12; color: #f7d27a; }
.bv-emblem > .icon { width: 34px; height: 34px; }
.bv-kicker { color: #b8d6dc; font-size: 10px; font-weight: 750; letter-spacing: 1.5px; }
.bv-hero h1 { margin: 6px 0 7px; color: #fff; font-size: clamp(29px, 4vw, 32px); line-height: 1.1; letter-spacing: -1px; }
.bv-hero p { margin: 0; color: #c4e3e6; font-size: 13px; overflow-wrap: anywhere; }
.bv-hero > .bv-protagonist { z-index: 1; width: 80px; height: 80px; margin-left: auto; }
.bv-content { padding: 20px 26px; }
.bv-content h2 { color: #2d4b66; font-size: 15px; font-weight: 800; letter-spacing: -.2px; }
.bv-rewards > h2 { margin: 0 0 10px; }
.bv-reward-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 12px; }
.bv-reward { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 76px; padding: 13px 15px; border: 1px solid #d2e2df; border-radius: 11px; background: #f2f9f5; color: #33735a; }
.bv-reward-symbol { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #bbd9c8; border-radius: 50%; background: #e3f1e6; font-size: 24px; font-weight: 800; }
.bv-reward-symbol .icon { width: 22px; height: 22px; }
.bv-reward > div { min-width: 0; }
.bv-reward > div > span { display: block; margin-bottom: 6px; color: #526f64; font-size: 11px; }
.bv-reward strong { display: block; font-size: 27px; letter-spacing: -.6px; line-height: 1.15; overflow-wrap: anywhere; }
.bv-reward strong small { font-size: 17px; }
.bv-level { border-color: #d2e0ec; background: #f2f7fc; color: #355f85; }
.bv-level .bv-reward-symbol { border-color: #c2d7e9; background: #e3eef7; }
.bv-level > div > span { color: #586f85; }
.bv-level-arrow { margin: 0 8px; color: #8babbf; font-size: 21px; }
.bv-level > b { align-self: flex-start; margin-left: auto; padding: 4px 7px; border-radius: 5px; background: #dfeef9; font-size: 11px; }
.bv-badge, .bv-cup { background: #fffaec; border-color: #e8d7ac; color: #88631f; }
.bv-badge .bv-reward-symbol, .bv-cup .bv-reward-symbol { border-color: #e6cf92; background: #f8ebc4; }
.bv-badge > div > span, .bv-cup > div > span { color: #856d3e; }
.bv-badge strong, .bv-cup strong { font-size: 21px; }
.bv-team { margin-top: 18px; }
.bv-team-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bv-team-heading h2 { margin: 0; }
.bv-team-heading h2 > span { margin-left: 7px; color: #72899c; font-size: 11px; font-weight: 600; }
.bv-heal { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 10px; border: 1px solid #d3e1e9; border-radius: 7px; background: #f3f8fb; color: #476b82; font-size: 11px; font-weight: 700; }
.bv-heal .icon { width: 15px; height: 15px; }
.bv-heal > b { min-width: 18px; padding: 2px 4px; border-radius: 4px; background: #e0edf4; text-align: center; }
.bv-heal:disabled { opacity: .5; }
.bv-team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.bv-member { position: relative; display: flex; flex: 1 1 115px; flex-direction: column; align-items: center; min-width: 0; max-width: 180px; padding: 21px 12px 11px; border: 1px solid #d9e3ec; border-radius: 11px; background: #f8fafc; text-align: center; }
.bv-member:hover { border-color: #8bafbc; background: #f0f7fa; }
.bv-member-level { position: absolute; left: 10px; top: 9px; color: #6e8699; font-size: 10px; font-weight: 650; }
.bv-member > .sprite { width: 80px; height: 64px; object-fit: contain; }
.bv-member > strong { width: 100%; margin: 4px 0 8px; color: #2f506b; font-size: 13px; overflow-wrap: anywhere; }
.bv-member > small { margin-top: auto; color: #547185; font-size: 11px; font-variant-numeric: tabular-nums; }
.bv-member > .hp-track { width: 100%; height: 5px; margin-top: 9px; padding: 0; border: 0; border-radius: 5px; background: #dce7ed; overflow: hidden; }
.bv-member-hurt { border-color: #e4b4bd; background: #fff7f7; }
.bv-member-hurt > small { color: #b3374e; }
.bv-losses { margin-top: 20px; padding: 16px; border: 1px solid #e6c5ce; border-radius: 10px; background: #fff5f6; }
.bv-losses h2 { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; color: #ad3d52; font-size: 13px; }
.bv-losses h2 .icon { width: 18px; height: 18px; }
.bv-losses > div { display: flex; gap: 12px; flex-wrap: wrap; }
.bv-fallen { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bv-fallen > .sprite { width: 44px; height: 44px; filter: grayscale(1); opacity: .65; }
.bv-fallen strong { display: block; color: #934055; font-size: 12px; overflow-wrap: anywhere; }
.bv-fallen small { display: block; margin-top: 5px; color: #8b6571; font-size: 11px; line-height: 1.5; }
.bv-next { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e0e8ee; }
.bv-next > div { min-width: 0; }
.bv-next small { display: block; margin-bottom: 5px; color: #738a9d; font-size: 10px; }
.bv-next strong { color: #3d5b73; font-size: 12px; line-height: 1.5; }
.bv-next > .j-button { flex-shrink: 0; min-width: 156px; }
.battle-victory button:focus-visible { outline: 3px solid #3188bf; outline-offset: 3px; }
@media(max-width:600px) {
  .bv-hero { min-height: 110px; gap: 12px; padding: 17px 19px; }
  .bv-emblem { width: 44px; height: 44px; }
  .bv-emblem > .icon { width: 24px; height: 24px; }
  .bv-kicker { font-size: 8px; letter-spacing: .8px; }
  .bv-hero h1 { font-size: 29px; }
  .bv-hero p { font-size: 12px; }
  .bv-hero > .bv-protagonist { width: 64px; height: 74px; flex-shrink: 0; }
  .bv-content { padding: 20px 17px; }
  .bv-reward-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .bv-reward { min-height: 78px; padding: 12px 10px; gap: 9px; flex-wrap: wrap; }
  .bv-reward-symbol { width: 29px; height: 29px; font-size: 19px; }
  .bv-reward-symbol .icon { width: 17px; height: 17px; }
  .bv-reward > div { flex: 1; }
  .bv-reward > div > span { font-size: 10px; line-height: 1.4; }
  .bv-reward strong { font-size: 23px; }
  .bv-reward strong small { font-size: 14px; }
  .bv-level { position: relative; }
  .bv-level > b { display: none; }
  .bv-level-arrow { margin: 0 4px; font-size: 17px; }
  .bv-badge strong, .bv-cup strong { font-size: 17px; }
  .bv-badge, .bv-cup { grid-column: 1 / -1; min-height: 62px; }
  .bv-reward:only-child { grid-column: 1 / -1; }
  .bv-team { margin-top: 18px; }
  .bv-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bv-member { max-width: none; padding: 22px 7px 11px; }
  .bv-member-level { left: 7px; font-size: 9px; }
  .bv-member > .sprite { width: 68px; max-width: 100%; height: 60px; }
  .bv-member > strong { font-size: 11px; }
  .bv-member > small { font-size: 9px; }
  .bv-next { align-items: stretch; flex-direction: column; gap: 12px; }
  .bv-next > .j-button { width: 100%; }
}
