
  body.pa213-ui-motion-polish #pa188-shell {
    --pa213-bottom-h: 96px;
    --pa213-soft-line: rgba(255, 225, 154, .18);
    --pa213-panel-pad: clamp(10px, .92vw, 15px);
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-root {
    gap: clamp(7px, .62vw, 10px) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-main {
    scroll-padding-bottom: calc(var(--pa213-bottom-h, 96px) + 14px) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-panel {
    padding: var(--pa213-panel-pad) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-page[data-active="false"],
  body.pa213-ui-motion-polish #pa188-shell .pa188-page[data-active="false"] * {
    pointer-events: none !important;
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-page[data-active="false"] *,
  body.pa213-ui-motion-polish #pa188-shell:not([data-open="true"]) *,
  body.pa213-ui-motion-polish #pa211-battle:not([data-active="true"]) * {
    animation: none !important;
    transition-duration: .001ms !important;
  }

  /* v213 keeps click and page-enter feedback, but removes decorative always-on loops. */
  body.pa213-ui-motion-polish #pa188-shell .pa188-top,
  body.pa213-ui-motion-polish #pa188-shell .pa188-title h1,
  body.pa213-ui-motion-polish #pa188-shell .pa188-tab[data-current="true"],
  body.pa213-ui-motion-polish #pa188-shell .pa188-platform,
  body.pa213-ui-motion-polish #pa188-shell .pa188-resource-icon,
  body.pa213-ui-motion-polish #pa188-shell .pa188-floor.active,
  body.pa213-ui-motion-polish #pa188-shell .pa188-current-floor,
  body.pa213-ui-motion-polish #pa188-shell .pa188-member.ready,
  body.pa213-ui-motion-polish #pa188-shell .pa188-member.leader,
  body.pa213-ui-motion-polish #pa188-shell .pa188-ready,
  body.pa213-ui-motion-polish #pa188-shell .pa210-pill[data-state="live"],
  body.pa213-ui-motion-polish #pa188-shell .pa210-ready[data-ready="true"] {
    animation: none !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page] .pa188-node[data-selected="true"],
  body.pa213-ui-motion-polish #pa188-shell[data-page] .pa188-node-icon,
  body.pa213-ui-motion-polish #pa188-shell[data-page] .pa188-btn.primary,
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] .pa188-floor.active,
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] .pa188-current-floor,
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] .pa188-member.ready,
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] .pa188-member.leader.ready {
    animation: none !important;
  }
  body.pa213-ui-motion-polish #pa188-shell::before {
    animation-duration: 34s !important;
    opacity: .16 !important;
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-panel::after,
  body.pa213-ui-motion-polish #pa188-shell .pa188-panel::before {
    animation: none !important;
    opacity: .08 !important;
    transform: none !important;
  }
  body.pa213-ui-motion-polish #pa188-shell .pa188-btn,
  body.pa213-ui-motion-polish #pa188-shell .pa188-mini,
  body.pa213-ui-motion-polish #pa188-shell .pa188-tab,
  body.pa213-ui-motion-polish #pa188-shell .pa188-mode,
  body.pa213-ui-motion-polish #pa188-shell .pa188-node,
  body.pa213-ui-motion-polish #pa188-shell .pa188-member,
  body.pa213-ui-motion-polish #pa188-shell .pa210-btn {
    transition: transform .14s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease !important;
  }

  /* Desktop orbital cards were taller than the available center panel. */
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad {
    gap: clamp(8px, .7vw, 11px) !important;
    align-content: start !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-member {
    height: clamp(224px, 32.5dvh, 298px) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(70px, 82px) auto auto minmax(28px, 30px) minmax(0, 28px) !important;
    gap: 5px !important;
    overflow: hidden !important;
    padding: clamp(8px, .72vw, 11px) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-member-visual {
    height: clamp(88px, 12dvh, 106px) !important;
    margin: 3px auto 4px !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-member-visual canvas {
    width: min(102px, 82%) !important;
    height: auto !important;
    max-height: 112px !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-member-name {
    font-size: clamp(13px, 1.05vw, 15px) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-member-level,
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-build {
    font-size: 10px !important;
    line-height: 1.22 !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-build {
    min-height: 0 !important;
    white-space: normal !important;
    overflow: hidden !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-ready {
    min-height: 28px !important;
    padding: 4px 8px !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-train {
    min-height: 28px !important;
    padding: 3px 8px !important;
    font-size: 9px !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] #pa188-orbital-squad .pa188-train small {
    display: none !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"] .pa188-panel.center {
    overflow: hidden auto !important;
  }

  /* Mobile: make the whole page scroll cleanly above the bottom command bar. */
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-main {
    padding-bottom: max(12px, env(safe-area-inset-bottom)) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-layout.terminal,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-layout.match,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-layout.orbital {
    gap: 12px !important;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-panel,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] #pa210-lobby .pa210-body {
    overflow: visible !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] #pa210-lobby {
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    gap: 10px !important;
    padding-bottom: 12px !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] #pa210-lobby .pa210-panel {
    min-height: auto !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-btn,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-mini,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa210-btn {
    white-space: normal !important;
    line-height: 1.12 !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-btn small,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa210-btn small {
    margin-top: 2px !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-bottom {
    position: relative !important;
    z-index: 4 !important;
  }
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-resource,
  body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-resource > div {
    min-width: 0 !important;
  }

  @media (max-width: 420px) {
    body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-top {
      gap: 5px 7px !important;
    }
    body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-title h1 {
      font-size: 25px !important;
      letter-spacing: .07em !important;
    }
    body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-nav {
      gap: 4px !important;
    }
    body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-tab,
    body.pa213-ui-motion-polish #pa188-shell[data-pa202-orient="portrait"] .pa188-close {
      min-width: 0 !important;
      padding: 0 6px !important;
      font-size: 11px !important;
    }
    body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"][data-pa202-orient="portrait"] #pa188-orbital-squad .pa188-member {
      min-height: 196px !important;
    }
    body.pa213-ui-motion-polish #pa188-shell[data-page="orbital"][data-pa202-orient="portrait"] #pa188-orbital-squad .pa188-member-visual {
      height: 82px !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    body.pa213-ui-motion-polish #pa188-shell *,
    body.pa213-ui-motion-polish #pa188-shell::before,
    body.pa213-ui-motion-polish #pa188-shell::after,
    body.pa213-ui-motion-polish #pa211-battle * {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
    }
  }
