/* V1.28Beta-mobile-battle-readable1-hotfix: small last-loaded mobile battle fixes. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-edge: max(6px, env(safe-area-inset-left));
    --mobile-battle-edge-r: max(6px, env(safe-area-inset-right));
    --mobile-battle-bottom: max(6px, env(safe-area-inset-bottom));
    --mobile-battle-bottom-row: clamp(38px, 10.4vw, 42px);
    --mobile-battle-action-gap: clamp(4px, 1.3vw, 6px);
    --mobile-battle-action-bottom: calc(var(--mobile-battle-bottom) + var(--mobile-battle-bottom-row) + 8px);
    --mobile-battle-stage-top: calc(max(8px, env(safe-area-inset-top)) + 36px);
    --mobile-battle-stage-bottom: calc(var(--mobile-battle-action-bottom) + ((100vw - var(--mobile-battle-edge) - var(--mobile-battle-edge-r) - var(--mobile-battle-action-gap) * 2) / 3 * 793 / 1983) + 12px);
    --mobile-battle-card-w: clamp(108px, 30.5vw, 132px);
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(6, 12, 20, 0.18)),
      var(--battle-wallpaper-art, var(--battle-visible-surface)) center center / cover no-repeat,
      #dceef6 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighters.fighters {
    position: absolute !important;
    left: var(--mobile-battle-edge) !important;
    right: var(--mobile-battle-edge-r) !important;
    top: var(--mobile-battle-stage-top) !important;
    bottom: var(--mobile-battle-stage-bottom) !important;
    width: auto !important;
    inline-size: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) clamp(22px, 5.6vw, 30px) minmax(0, 1fr) !important;
    gap: clamp(5px, 1.2vh, 8px) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .combatant.combatant {
    min-height: 0 !important;
    height: 100% !important;
    display: grid !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 5px !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    border: 1px solid rgba(232, 247, 255, 0.34) !important;
    background: linear-gradient(180deg, rgba(8, 15, 22, 0.42), rgba(5, 10, 16, 0.30)) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .you-combatant.you-combatant {
    grid-template-columns: minmax(0, 1fr) var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .opponent-combatant.opponent-combatant {
    grid-template-columns: var(--mobile-battle-card-w) minmax(0, 1fr) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #youCard#youCard,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #opponentCard#opponentCard,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .versus.versus {
    display: grid !important;
    place-items: center !important;
    min-height: 0 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(18px, 5vw, 24px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78), 0 0 12px rgba(114, 211, 255, 0.46) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards.cards {
    position: fixed !important;
    left: 6px !important;
    right: auto !important;
    top: auto !important;
    bottom: var(--mobile-battle-action-bottom) !important;
    width: calc(100vw - 12px) !important;
    inline-size: calc(100vw - 12px) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: var(--mobile-battle-action-gap) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1600 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards.cards > .action-card.action-card {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    display: block !important;
    overflow: visible !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.38)) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards.cards > .action-card.action-card span {
    position: absolute !important;
    left: 35% !important;
    top: 21.5% !important;
    width: 61% !important;
    height: 50% !important;
    display: grid !important;
    place-items: center !important;
    color: #fbfdff !important;
    -webkit-text-fill-color: #fbfdff !important;
    font-size: clamp(12px, 3.55vw, 16px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .battle-libraries.battle-libraries {
    position: fixed !important;
    left: var(--mobile-battle-edge) !important;
    right: auto !important;
    top: auto !important;
    bottom: var(--mobile-battle-bottom) !important;
    width: min(172px, calc(100vw - 156px)) !important;
    min-width: 154px !important;
    max-width: 172px !important;
    height: var(--mobile-battle-bottom-row) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3px !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1500 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .battle-libraries.battle-libraries > .library-action.library-action {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    border: 1px solid rgba(255, 246, 208, 0.30) !important;
    background-color: rgba(7, 11, 16, 0.78) !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .battle-libraries.battle-libraries > .opportunity-library-action.library-action {
    background: linear-gradient(180deg, rgba(2, 5, 8, 0.02), rgba(2, 5, 8, 0.74)), url("assets/ui/battle-library-opportunity-icon-crop-v1.png?v=V1.28Beta-mobile-battle-readable1") center center / cover no-repeat !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .battle-libraries.battle-libraries > .artifact-library-action.library-action {
    background: linear-gradient(180deg, rgba(2, 5, 8, 0.02), rgba(2, 5, 8, 0.74)), url("assets/ui/battle-library-artifact-icon-crop-v1.png?v=V1.28Beta-mobile-battle-readable1") center center / cover no-repeat !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .battle-libraries.battle-libraries > .library-action.library-action > span {
    position: absolute !important;
    left: 4px !important;
    right: 4px !important;
    bottom: 3px !important;
    display: block !important;
    color: #fff7d6 !important;
    -webkit-text-fill-color: #fff7d6 !important;
    font-size: clamp(9px, 2.55vw, 11px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .utility.utility {
    position: fixed !important;
    left: var(--mobile-battle-edge) !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    right: auto !important;
    bottom: auto !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1700 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .utility.utility > button {
    height: 28px !important;
    min-height: 28px !important;
    width: auto !important;
    min-width: 54px !important;
    padding: 0 8px !important;
    overflow: hidden !important;
    clip-path: none !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle.battle:not([hidden]) > .utility.utility::before,
  html body:not(.maintenance-mode).battle-controls-active #battle.battle:not([hidden]) > .utility.utility::after,
  html body:not(.maintenance-mode).battle-controls-active #battle.battle:not([hidden]) > .utility.utility > button::before,
  html body:not(.maintenance-mode).battle-controls-active #battle.battle:not([hidden]) > .utility.utility > button::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active .toast.toast:not([hidden]) {
    top: calc(max(8px, env(safe-area-inset-top)) + 40px) !important;
    bottom: auto !important;
    width: auto !important;
    max-width: calc(100vw - 18px) !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 9px 12px !important;
    white-space: normal !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #controlBanner.control-banner:not([hidden]) {
    top: calc(max(8px, env(safe-area-inset-top)) + 42px) !important;
    width: min(360px, calc(100vw - 18px)) !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    line-height: 1.24 !important;
  }
}

/* V1.28Beta-mobile-battle-critical-readable2: last lock for narrow phones after legacy action rules. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(150px, 43vw, 190px) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .you-combatant.you-combatant.you-combatant.you-combatant.you-combatant {
    grid-template-columns: minmax(0, 1fr) var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant {
    grid-template-columns: var(--mobile-battle-card-w) minmax(0, 1fr) !important;
  }
}

@media (max-width: 390px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(146px, 42vw, 174px) !important;
  }
}

/* V1.28Beta-mobile-battle-critical-readable1: phone duel battle must keep core combat info visible. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(150px, 43vw, 190px) !important;
    --duel-mobile-stage-bottom: calc(var(--duel-mobile-action-bottom, var(--mobile-battle-action-bottom)) + var(--duel-mobile-action-h, 58px) + 14px) !important;
    --mobile-battle-stage-bottom: calc(var(--mobile-battle-action-bottom) + 64px + 14px) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .you-combatant.you-combatant.you-combatant.you-combatant {
    grid-template-columns: minmax(0, 1fr) var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant {
    grid-template-columns: var(--mobile-battle-card-w) minmax(0, 1fr) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #youCard#youCard,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #opponentCard#opponentCard {
    position: relative !important;
    display: block !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 11px !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .character-face.character-face.character-face {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    border-radius: 11px !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .avatar.avatar.avatar.avatar {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    border-radius: 11px !important;
    background-size: var(--art-size, cover), cover, cover !important;
    background-position: var(--art-position, center bottom), center center, center center !important;
    background-repeat: no-repeat !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-head.fighter-head.fighter-head {
    position: absolute !important;
    left: 7px !important;
    top: 7px !important;
    z-index: 30 !important;
    width: auto !important;
    max-width: calc(100% - 14px) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 4px 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: visible !important;
    border: 1px solid rgba(218, 242, 255, 0.36) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(8, 19, 30, 0.78), rgba(5, 12, 20, 0.64)) !important;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-head.fighter-head.fighter-head :is(.fighter-side, strong, .player-name-text) {
    display: inline-block !important;
    max-width: 88px !important;
    color: #f8fdff !important;
    -webkit-text-fill-color: #f8fdff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    z-index: 32 !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card > b {
    display: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card > span {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    pointer-events: auto !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card :is(.skill-label, .inline-skill-name, .inline-skill-action, .passive-skill-label) {
    width: auto !important;
    min-width: min(112px, calc(100% - 4px)) !important;
    max-width: calc(100% - 4px) !important;
    min-height: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
    padding: 4px 10px 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    overflow: visible !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    pointer-events: auto !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card .skill-inline-icon.skill-inline-icon {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card .skill-inline-text.skill-inline-text {
    min-width: 0 !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows:
      minmax(22px, auto)
      clamp(48px, 8.6vh, 68px)
      minmax(30px, auto)
      minmax(28px, auto)
      minmax(58px, auto)
      minmax(22px, auto) !important;
    align-content: stretch !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 4px !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel > :is(.status-bar, .equipment-slots, .meter-row, .energy, .fatigue-row, .choice) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .equipment-slots.equipment-slots {
    height: clamp(48px, 8.6vh, 68px) !important;
    min-height: 48px !important;
    max-height: none !important;
    padding: 3px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 4px !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .equipment-slot.equipment-slot {
    width: 100% !important;
    height: 100% !important;
    min-height: 42px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .equipment-slot.filled::before {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .meter-row.meter-row {
    min-height: 30px !important;
    height: auto !important;
    max-height: none !important;
    padding: 4px 6px !important;
    display: grid !important;
    grid-template-columns: minmax(48px, max-content) minmax(34px, 1fr) minmax(30px, max-content) !important;
    align-items: center !important;
    gap: 5px !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .meter-row .stat-label.stat-label {
    min-width: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    overflow: visible !important;
    color: #f8fdff !important;
    -webkit-text-fill-color: #f8fdff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .stat-label-icon.stat-label-icon {
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    object-fit: contain !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .meter-row > b {
    min-width: 30px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: visible !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel .fatigue-row.fatigue-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: repeat(2, minmax(27px, auto)) !important;
    gap: 4px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy.energy, .fatigue.fatigue, .laziness.laziness) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 27px !important;
    height: 27px !important;
    max-height: none !important;
    padding: 4px 6px !important;
    display: grid !important;
    grid-template-columns: minmax(50px, max-content) minmax(32px, max-content) !important;
    align-items: center !important;
    justify-content: start !important;
    justify-items: start !important;
    gap: 7px !important;
    overflow: visible !important;
    text-align: left !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-label.stat-label {
    min-width: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    color: #f8fdff !important;
    -webkit-text-fill-color: #f8fdff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    letter-spacing: 0 !important;
    transform: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-marks.stat-marks {
    display: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-value.stat-value {
    min-width: 32px !important;
    display: inline-block !important;
    justify-self: start !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: visible !important;
    letter-spacing: 0 !important;
    transform: none !important;
    font-variant-numeric: tabular-nums !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-value.stat-value::after {
    content: none !important;
    display: none !important;
  }
}

/* Final action-row lock: outrank legacy 16/16/8 ID mobile rules when duel-mobile-layout parses fully. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards.cards.cards.cards {
    position: fixed !important;
    left: 6px !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(max(6px, env(safe-area-inset-bottom)) + clamp(38px, 10.4vw, 42px) + 8px) !important;
    width: calc(100vw - 12px) !important;
    min-width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    inline-size: calc(100vw - 12px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(4px, 1.3vw, 6px) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1600 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards.cards.cards.cards > .action-card.action-card.action-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    display: block !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (max-width: 390px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(102px, 29vw, 118px);
  }
}

/* Beat legacy mobile action/status locks that use very high-ID important rules. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighters.fighters.fighters {
    position: absolute !important;
    left: var(--mobile-battle-edge) !important;
    right: var(--mobile-battle-edge-r) !important;
    top: var(--mobile-battle-stage-top) !important;
    bottom: var(--mobile-battle-stage-bottom) !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) clamp(22px, 5.6vw, 30px) minmax(0, 1fr) !important;
    gap: clamp(5px, 1.2vh, 8px) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .combatant.combatant.combatant {
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 5px !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .you-combatant.you-combatant.you-combatant {
    grid-template-columns: minmax(0, 1fr) var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .opponent-combatant.opponent-combatant.opponent-combatant {
    grid-template-columns: var(--mobile-battle-card-w) minmax(0, 1fr) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .versus.versus.versus {
    display: grid !important;
    place-items: center !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(18px, 5vw, 24px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78), 0 0 12px rgba(114, 211, 255, 0.46) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards.cards.cards.cards {
    position: fixed !important;
    left: 6px !important;
    right: auto !important;
    top: auto !important;
    bottom: var(--mobile-battle-action-bottom) !important;
    width: calc(100vw - 12px) !important;
    inline-size: calc(100vw - 12px) !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    box-sizing: border-box !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: var(--mobile-battle-action-gap) !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    z-index: 1600 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards.cards.cards.cards > .action-card.action-card.action-card {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 1983 / 793 !important;
    display: block !important;
    overflow: visible !important;
    background-size: 100% 100% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards#cards.cards.cards.cards > .action-card.action-card.action-card span {
    position: absolute !important;
    left: 35% !important;
    top: 21.5% !important;
    width: 61% !important;
    height: 50% !important;
    display: grid !important;
    place-items: center !important;
    color: #fbfdff !important;
    -webkit-text-fill-color: #fbfdff !important;
    font-size: clamp(12px, 3.55vw, 16px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) > .battle-libraries.battle-libraries.battle-libraries {
    position: fixed !important;
    left: var(--mobile-battle-edge) !important;
    right: auto !important;
    top: auto !important;
    bottom: var(--mobile-battle-bottom) !important;
    width: min(172px, calc(100vw - 156px)) !important;
    min-width: 154px !important;
    max-width: 172px !important;
    height: var(--mobile-battle-bottom-row) !important;
    min-height: var(--mobile-battle-bottom-row) !important;
    max-height: var(--mobile-battle-bottom-row) !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3px !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1500 !important;
  }
}

/* V1.28Beta-mobile-battle-critical-readable3: true final phone portrait width lock. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(150px, 43vw, 190px) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .you-combatant.you-combatant.you-combatant.you-combatant.you-combatant.you-combatant {
    grid-template-columns: minmax(0, 1fr) var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant {
    grid-template-columns: var(--mobile-battle-card-w) minmax(0, 1fr) !important;
  }
}

@media (max-width: 390px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(146px, 42vw, 174px) !important;
  }
}

/* V1.28Beta-lollipopz-near-crop2: phone battle keeps normal Lollipopz close, slightly smaller, and shifted left. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .avatar.avatar.avatar.avatar[data-character="Lollipopz"]:not([data-mode-active="magic-assassin"]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    --art-size: auto 124% !important;
    --art-position: 54% 44% !important;
    background:
      var(--character-art, none),
      radial-gradient(circle at 52% 24%, rgba(103, 188, 255, 0.20), transparent 0 34%, transparent 58%),
      linear-gradient(180deg, rgba(8, 18, 30, 0.18), rgba(2, 5, 10, 0.72)),
      #07111d !important;
    background-size: var(--art-size), cover, cover, cover !important;
    background-position: var(--art-position), center center, center center, center center !important;
    background-repeat: no-repeat !important;
  }
}

/* V1.28Beta-mobile-battle-status-portrait-lock1: compact phone status stack, larger portraits, no nested skill frame. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(176px, 50vw, 218px) !important;
    --duel-mobile-fighter-card-w: var(--mobile-battle-card-w) !important;
    --mobile-battle-panel-gap: 5px !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .combatant.combatant.combatant.combatant {
    gap: var(--mobile-battle-panel-gap) !important;
    padding: 4px !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .you-combatant.you-combatant.you-combatant.you-combatant.you-combatant.you-combatant.you-combatant {
    grid-template-columns: minmax(0, 1fr) var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant.opponent-combatant {
    grid-template-columns: var(--mobile-battle-card-w) minmax(0, 1fr) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #youCard#youCard#youCard,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #opponentCard#opponentCard#opponentCard {
    position: relative !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .character-face.character-face.character-face.character-face,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .avatar.avatar.avatar.avatar.avatar {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-head.fighter-head.fighter-head.fighter-head {
    position: absolute !important;
    left: 6px !important;
    top: 6px !important;
    z-index: 38 !important;
    width: auto !important;
    max-width: calc(100% - 12px) !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    pointer-events: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-head.fighter-head.fighter-head.fighter-head .fighter-side::after {
    content: "-" !important;
    margin-left: 2px !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-head.fighter-head.fighter-head.fighter-head :is(.fighter-side, strong, .player-name-text) {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    max-width: 86px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: clamp(10px, 2.8vw, 12px) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.92), 0 0 9px rgba(84, 222, 255, 0.42) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    min-width: 0 !important;
    padding: 3px !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .status-bar.status-bar {
    order: 0 !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: 22px !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .status-bar.status-bar:empty {
    display: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .meter-row.meter-row {
    order: 1 !important;
    flex: 0 0 25px !important;
    min-height: 25px !important;
    height: 25px !important;
    max-height: 25px !important;
    padding: 3px 5px !important;
    display: grid !important;
    grid-template-columns: minmax(44px, max-content) minmax(24px, 1fr) minmax(30px, max-content) !important;
    gap: 4px !important;
    align-items: center !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .energy.energy {
    order: 2 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .fatigue-row.fatigue-row {
    order: 3 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy.energy, .fatigue.fatigue, .laziness.laziness) {
    flex: 0 0 24px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 24px !important;
    height: 24px !important;
    max-height: 24px !important;
    padding: 3px 6px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(34px, max-content) !important;
    align-items: center !important;
    justify-content: start !important;
    justify-items: start !important;
    gap: 6px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-label.stat-label {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    color: #f8fdff !important;
    -webkit-text-fill-color: #f8fdff !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    transform: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-label-icon.stat-label-icon {
    width: 15px !important;
    min-width: 15px !important;
    height: 15px !important;
    object-fit: contain !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-marks.stat-marks {
    display: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) .stat-value.stat-value {
    min-width: 34px !important;
    max-width: 44px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: visible !important;
    transform: none !important;
    font-variant-numeric: tabular-nums !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) :is(.stat-label, .stat-value, .stat-marks)::before,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel :is(.energy, .fatigue, .laziness) :is(.stat-label, .stat-value, .stat-marks)::after {
    content: none !important;
    display: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .equipment-slots.equipment-slots {
    order: 4 !important;
    flex: 1 1 auto !important;
    min-height: 56px !important;
    height: auto !important;
    max-height: none !important;
    padding: 3px !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .fighter-panel.fighter-panel.fighter-panel.fighter-panel.fighter-panel .choice.choice {
    order: 5 !important;
    flex: 0 0 20px !important;
    min-height: 20px !important;
    height: 20px !important;
    padding: 2px 6px !important;
    overflow: hidden !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card > span,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card .skill-label.skill-label {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
    overflow: visible !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card :is(.skill-label, .inline-skill-action, .inline-skill-name, .passive-skill-label, .skill-inline-icon, .skill-inline-text)::before,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card :is(.skill-label, .inline-skill-action, .inline-skill-name, .passive-skill-label, .skill-inline-icon, .skill-inline-text)::after {
    content: none !important;
    display: none !important;
  }
}

@media (max-width: 390px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(172px, 49vw, 196px) !important;
    --duel-mobile-fighter-card-w: var(--mobile-battle-card-w) !important;
  }
}

/* Same standard, but above the older 16-ID mobile fighter-width lock. */
@media (max-width: 720px) {
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) {
    --mobile-battle-card-w: clamp(180px, 49vw, 206px) !important;
    --duel-mobile-fighter-card-w: var(--mobile-battle-card-w) !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card.role-card,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card.role-card > span {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card.role-card::before,
  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) .role-card.role-card.role-card.role-card.role-card::after {
    content: none !important;
    display: none !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #controlBanner.control-banner:not([hidden]) {
    top: max(6px, env(safe-area-inset-top)) !important;
    left: calc(50% + 12px) !important;
    right: auto !important;
    width: min(246px, calc(100vw - 136px)) !important;
    min-width: 190px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(-50%) !important;
    overflow: hidden !important;
    z-index: 2200 !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #controlBanner.control-banner:not([hidden]) strong {
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  html body:not(.maintenance-mode).battle-controls-active #appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot#appRoot.app.battle-app.duel-battle-app:not(.team-battle-app):not(.identity-battle-app) #battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle#battle.battle:not([hidden]):not(.team-mode):not(.identity-battle) #controlBanner.control-banner:not([hidden]) span {
    display: none !important;
  }
}
