/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --ink: #171717;
  --muted: #6b7280;
  --panel: #ffffff;
  --line: #d7dce2;
  --mat: #e8edf1;
  --player: #166534;
  --ai: #9f1239;
  --atb: #0284c7;
  --atb-ready: #16a34a;
}

.coach-tour-highlight {
  position: relative;
  z-index: 120;
  border-radius: 12px;
  outline: 2px solid rgba(251, 191, 36, 0.95);
  outline-offset: 7px;
  box-shadow:
    0 0 0 7px rgba(251, 191, 36, 0.16),
    0 0 34px rgba(251, 191, 36, 0.55);
  animation: coach-tour-pulse 1.35s ease-in-out infinite;
}

.coach-answer-bubble {
  overflow-wrap: anywhere;
}

.coach-answer-token {
  display: inline;
  border-radius: 0.42rem;
  padding: 0.02rem 0.22rem;
  font: inherit;
  line-height: inherit;
}

.coach-answer-token--position {
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  font-weight: 900;
}

.coach-answer-token--technique {
  border: 1px solid rgba(217, 119, 6, 0.24);
  background: rgba(245, 158, 11, 0.14);
  color: #92400e;
  cursor: pointer;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(146, 64, 14, 0.28);
  text-underline-offset: 0.14em;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.coach-answer-token--technique:hover,
.coach-answer-token--technique:focus-visible {
  border-color: rgba(146, 64, 14, 0.5);
  background: rgba(245, 158, 11, 0.28);
  color: #78350f;
  outline: none;
}

.coach-answer-typing::after {
  content: "";
  display: inline-block;
  width: 0.48rem;
  height: 1.05em;
  margin-left: 0.12rem;
  transform: translateY(0.16em);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.62);
  animation: coach-answer-cursor 0.82s ease-in-out infinite;
}

.coach-answer-loading::after {
  content: "";
  display: inline-block;
  width: 0.82rem;
  height: 0.82rem;
  margin-left: 0.46rem;
  transform: translateY(0.1rem);
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-top-color: rgba(17, 17, 17, 0.64);
  border-radius: 999px;
  animation: coach-answer-spin 0.78s linear infinite;
}

@keyframes coach-answer-cursor {
  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

@keyframes coach-answer-spin {
  to {
    transform: translateY(0.1rem) rotate(360deg);
  }
}

.coach-tour-panel {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 130;
  width: min(25rem, calc(100vw - 2rem));
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.94);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.66), 0 0 38px rgba(251, 191, 36, 0.16);
  color: white;
  padding: 1.25rem;
  backdrop-filter: blur(18px);
}

.coach-tour-panel__kicker {
  color: rgb(251, 191, 36);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.coach-tour-panel__title {
  margin-top: 0.55rem;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.coach-tour-panel__body {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.55;
}

.coach-tour-panel__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.coach-tour-panel__button {
  min-height: 2.65rem;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.coach-tour-panel__button--primary {
  border: 1px solid rgba(251, 191, 36, 0.65);
  background: rgb(245, 158, 11);
  color: black;
}

.coach-tour-panel__button--primary:hover {
  background: rgb(251, 191, 36);
}

.coach-tour-panel__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.68);
}

.coach-tour-panel__button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

@keyframes coach-tour-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 7px rgba(251, 191, 36, 0.12),
      0 0 30px rgba(251, 191, 36, 0.42);
  }

  50% {
    box-shadow:
      0 0 0 11px rgba(251, 191, 36, 0.22),
      0 0 48px rgba(251, 191, 36, 0.72);
  }
}

@media (max-width: 720px) {
  .coach-tour-panel {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
  }
}

.fight-tutorial-panel {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(168px, 22vh, 260px);
  z-index: 120;
  width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(24, 18, 8, 0.96), rgba(3, 3, 3, 0.95)),
    rgba(0, 0, 0, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58), 0 0 36px rgba(245, 158, 11, 0.16);
  padding: 18px;
  color: white;
}

.fight-tutorial-panel-kicker {
  margin: 0 0 8px;
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.fight-tutorial-panel h2 {
  margin: 0;
  color: white;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fight-tutorial-panel p[data-fight-tutorial-body] {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.fight-tutorial-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.fight-tutorial-panel-actions button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fight-tutorial-panel-actions button:last-child {
  border-color: rgba(245, 158, 11, 0.58);
  background: #f59e0b;
  color: #050505;
}

.fight-tutorial-highlight {
  position: relative;
  z-index: 92;
  outline: 2px solid rgba(251, 191, 36, 0.96);
  outline-offset: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 36px rgba(245, 158, 11, 0.62),
    0 0 72px rgba(245, 158, 11, 0.34);
  isolation: isolate;
  animation: fight-tutorial-highlight-pulse 1.35s ease-in-out infinite;
}

.fight-tutorial-highlight::after {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 2px solid rgba(251, 191, 36, 0.8);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 34px rgba(245, 158, 11, 0.72);
  pointer-events: none;
  animation: fight-tutorial-highlight-ring 1.35s ease-in-out infinite;
}

.fight-tutorial-action-locked {
  opacity: 0.32;
  filter: grayscale(0.7);
}

.fight-tutorial-action-locked .arena-action-card-button {
  cursor: not-allowed;
}

.fight-tutorial-action-spotlight {
  position: relative;
  z-index: 95;
  opacity: 1;
  filter: none;
}

.fight-tutorial-action-spotlight .arena-action-card-button {
  animation: fight-tutorial-spotlight 0.9s ease-in-out infinite;
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.88),
    0 0 34px rgba(245, 158, 11, 0.72);
}

.dojo-coach-intro-combat-spotlight {
  animation: dojo-coach-combat-spotlight 1.45s ease-in-out infinite;
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.75),
    0 0 36px rgba(245, 158, 11, 0.62),
    0 12px 32px rgba(0, 0, 0, 0.42) !important;
  transform-origin: center;
}

@keyframes fight-tutorial-spotlight {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 0 0 3px rgba(245, 158, 11, 0.75),
      0 0 28px rgba(245, 158, 11, 0.52);
  }

  50% {
    transform: translateY(-2px) scale(1.025);
    box-shadow:
      0 0 0 4px rgba(245, 158, 11, 1),
      0 0 48px rgba(245, 158, 11, 0.88);
  }
}

@keyframes fight-tutorial-highlight-pulse {
  0%,
  100% {
    outline-color: rgba(251, 191, 36, 0.82);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 0 28px rgba(245, 158, 11, 0.48),
      0 0 58px rgba(245, 158, 11, 0.24);
  }

  50% {
    outline-color: rgba(255, 255, 255, 0.96);
    box-shadow:
      0 0 0 2px rgba(251, 191, 36, 0.9),
      0 0 44px rgba(245, 158, 11, 0.78),
      0 0 88px rgba(245, 158, 11, 0.42);
  }
}

@keyframes fight-tutorial-highlight-ring {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.985);
  }

  50% {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes dojo-coach-combat-spotlight {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }

  50% {
    transform: translateY(-1px) scale(1.035);
    filter: saturate(1.2);
  }
}

@media (max-width: 720px) {
  .fight-tutorial-panel {
    right: 12px;
    bottom: 148px;
    left: 12px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fight-tutorial-highlight,
  .fight-tutorial-highlight::after {
    animation: none;
  }

  .dojo-coach-intro-combat-spotlight {
    animation: none;
  }
}

/* main {
  margin-top: 96px;
} */

:root {
  --app-viewport-height: 100vh;
  --app-viewport-width: 100vw;
}

body.app-body {
  min-height: var(--app-viewport-height, 100vh);
  margin: 0;
  color: var(--ink);
  background: #f5f6f2;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-body--fight-hub .app-navbar-shell {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  opacity: 0.18;
  transform: translateY(calc(-100% + 8px));
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.app-body--fight-hub .app-navbar-shell::after {
  position: absolute;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 16px;
  content: "";
}

.app-body--fight-hub .app-navbar-shell:hover,
.app-body--fight-hub .app-navbar-shell:focus-within {
  opacity: 1;
  transform: translateY(0);
}

.app-body--fight-hub.app-body--fight-navbar-open .app-navbar-shell {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fight-hub-navbar-toggle {
  display: none;
}

.fight-hub-navbar-backdrop,
.app-navbar-drawer-close {
  display: none;
}

.home-footer {
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: #ffffff;
  background: #050505;
}

.home-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 32px, 1280px);
  min-height: 88px;
  margin: 0 auto;
}

.home-footer p {
  margin: 0;
  color: rgb(255 255 255 / 52%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.home-footer-links a {
  color: rgb(255 255 255 / 76%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 140ms ease;
}

.home-footer-links a:hover,
.home-footer-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

@media (max-width: 1200px) {
  .app-navbar-shell .app-navbar-brand {
    gap: 0;
  }

  .app-navbar-brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .app-navbar-shell .app-navbar-game-links {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .home-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }

  .home-footer-links {
    justify-content: flex-start;
  }
}

.nav-user-menu summary::-webkit-details-marker {
  display: none;
}

.nav-user-menu[open] summary {
  border-color: rgb(110 231 183 / 72%);
  background: rgb(16 185 129 / 16%);
  color: #d1fae5;
}

.nav-user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.85rem;
  color: rgb(255 255 255 / 78%);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.nav-user-menu-item:hover {
  background: rgb(255 255 255 / 8%);
  color: #ffffff;
  transform: translateX(2px);
}

.nav-user-menu-item svg {
  flex: 0 0 auto;
  color: rgb(255 255 255 / 52%);
}

.nav-user-menu-item:hover svg {
  color: #fca5a5;
}

.nav-user-menu-item--danger {
  color: #fecaca;
}

.nav-user-menu-item--danger:hover {
  background: rgb(239 68 68 / 14%);
  color: #ffffff;
}

.nav-user-menu-item--danger:hover svg {
  color: #f87171;
}

/* Dojo UI form controls */
input[type="checkbox"] {
  appearance: none;
  display: inline-grid;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  place-content: center;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)),
    rgb(10 10 10 / 92%);
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 45%),
    0 0 0 0 rgb(239 68 68 / 0%);
  color: #ffffff;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

input[type="checkbox"]::before {
  width: 0.64rem;
  height: 0.64rem;
  background: currentcolor;
  clip-path: polygon(14% 50%, 0 65%, 38% 100%, 100% 18%, 84% 4%, 35% 68%);
  content: "";
  opacity: 0;
  transform: scale(0.55) rotate(-8deg);
  transition:
    opacity 120ms ease,
    transform 120ms ease;
}

input[type="checkbox"]:hover {
  border-color: rgb(239 68 68 / 68%);
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 45%),
    0 0 18px rgb(239 68 68 / 18%);
}

input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: rgb(239 68 68 / 90%);
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 45%),
    0 0 0 3px rgb(239 68 68 / 22%),
    0 0 20px rgb(239 68 68 / 18%);
}

input[type="checkbox"]:checked {
  border-color: rgb(239 68 68 / 90%);
  background:
    linear-gradient(180deg, #ef4444, #b91c1c),
    #dc2626;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 16%),
    0 0 18px rgb(239 68 68 / 28%);
}

input[type="checkbox"]:checked::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.app-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field span {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.auth-field input:focus {
  border-color: #0f172a;
  outline: 3px solid rgb(15 23 42 / 12%);
}

.auth-field small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 750;
}

.auth-errors {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #7f1d1d;
  background: #fee2e2;
  font-size: 0.86rem;
  font-weight: 750;
}

.auth-errors ul {
  margin: 0;
  padding-left: 18px;
}

.prototype-notice-dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  color: #f8fafc;
  background: transparent;
}

.prototype-notice-dialog::backdrop {
  background: rgb(0 0 0 / 80%);
  backdrop-filter: blur(6px);
}

.prototype-notice-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0%, rgb(220 38 38 / 22%), transparent 35%),
    linear-gradient(180deg, #111111 0%, #050505 100%);
  box-shadow: 0 28px 76px rgb(0 0 0 / 64%), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.prototype-notice-kicker {
  margin: 0;
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.prototype-notice-panel h2 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.prototype-notice-panel p {
  margin: 0;
}

.prototype-notice-panel p:not(.prototype-notice-kicker) {
  color: #d4d4d4;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.65;
}

.prototype-notice-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid rgb(248 113 113 / 55%);
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #dc2626, #991b1b);
  box-shadow: 0 14px 24px rgb(127 29 29 / 34%);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    transform 140ms ease,
    background 140ms ease;
}

.prototype-notice-action:hover,
.prototype-notice-action:focus-visible {
  border-color: rgb(254 202 202 / 80%);
  outline: 0;
  transform: translateY(-1px);
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  border: 1px solid #0f172a;
  color: #ffffff;
  background: #0f172a;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #ffffff;
}

.technique-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.technique-filter {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #334155;
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.technique-filter--active {
  border-color: #0f172a;
  color: #ffffff;
  background: #0f172a;
}

.technique-sections {
  display: grid;
  gap: 16px;
}

.technique-section {
  display: grid;
  gap: 10px;
}

.technique-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}

.technique-section-heading h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.technique-section-heading span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.technique-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 9px;
}

.fighter-deck-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.fighter-deck-actions .secondary-action,
.fighter-deck-action {
  gap: 7px;
}

.fighter-deck-actions svg,
.fighter-deck-action svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.fighter-deck-frame {
  display: grid;
  gap: 16px;
}

.fighter-deck-message {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 850;
}

.fighter-deck-message--notice {
  border: 1px solid #86efac;
  color: #14532d;
  background: #dcfce7;
}

.fighter-deck-message--alert {
  border: 1px solid #fecaca;
  color: #991b1b;
  background: #fff1f2;
}

.fighter-deck-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fighter-deck-summary > div {
  display: flex;
  justify-content: space-around;
  gap: 3px 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(15 23 42 / 6%);
}

.fighter-deck-summary svg {
  grid-row: span 2;
  width: 20px;
  height: 20px;
  color: #0f172a;
  stroke-width: 2.5;
}

.fighter-deck-summary strong {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.fighter-deck-summary small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fighter-deck-rank-card {
  align-content: start;
  gap: 12px;
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgb(15 23 42 / 6%);
}

.fighter-deck-rank-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: center;
}

.fighter-deck-rank-copy svg {
  grid-row: span 2;
}

.fighter-deck-rank-card .fighter-belt-display {
  grid-column: 1 / -1;
}

.fighter-deck-filters {
  max-height: 112px;
  overflow-y: auto;
}

.fighter-deck-display-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fighter-deck-display-options label {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #334155;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fighter-deck-display-options input {
  width: 16px;
  height: 16px;
}

.fighter-deck-slot {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 72%);
}

.fighter-deck-slot-heading span {
  padding: 5px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  background: #f8fafc;
}

.fighter-deck-technique {
  position: relative;
  display: grid;
  gap: 8px;
  width: 280px;
}

.fighter-deck-technique--locked > [data-controller="technique-modal"] > .technique-card,
.fighter-deck-technique--higher-belt > [data-controller="technique-modal"] > .technique-card {
  opacity: 0.5;
  filter: grayscale(1);
}

.fighter-deck-technique--higher-belt > [data-controller="technique-modal"] > .technique-card {
  opacity: 0.38;
}

.fighter-deck-lock-overlay {
  position: absolute;
  top: 82px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  color: #ffffff;
  background: rgb(15 23 42 / 86%);
  box-shadow: 0 12px 24px rgb(15 23 42 / 24%);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  pointer-events: none;
  transform: translateX(-50%);
}

.fighter-deck-lock-overlay svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.7;
}

.fighter-deck-lock-overlay--belt {
  border-color: rgb(250 204 21 / 38%);
  color: #fef3c7;
  background: rgb(15 23 42 / 92%);
}

.fighter-deck-technique-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fighter-deck-technique-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-deck-technique-status svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.fighter-deck-technique--equipped .fighter-deck-technique-status {
  border-color: #86efac;
  color: #14532d;
  background: #dcfce7;
}

.fighter-deck-technique--locked .fighter-deck-technique-status,
.fighter-deck-technique--higher-belt .fighter-deck-technique-status {
  border-color: #cbd5e1;
  color: #475569;
  background: #f1f5f9;
}

.fighter-deck-technique--higher-belt .fighter-deck-technique-status {
  border-color: #fde68a;
  color: #854d0e;
  background: #fffbeb;
}

.fighter-deck-toggle {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  background: #ffffff;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.fighter-deck-toggle svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.7;
}

.fighter-deck-toggle--add {
  border-color: #86efac;
  color: #14532d;
  background: #f0fdf4;
}

.fighter-deck-toggle--remove {
  border-color: #fecaca;
  color: #991b1b;
  background: #fff1f2;
}

.fighter-deck-toggle--disabled {
  color: #64748b;
  background: #f1f5f9;
  cursor: not-allowed;
}

.fighter-deck-technique form {
  margin: 0;
}

@media (max-width: 760px) {
  .fighter-deck-summary {
    grid-template-columns: 1fr;
  }

  .fighter-deck-technique-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .fighter-deck-toggle,
  .fighter-deck-technique-status {
    width: 100%;
  }

  .fighter-deck-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fighter-deck-technique {
    width: 100%;
  }
}

@media (hover: none) {
  .app-body--fight-hub .fight-hub-navbar-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    left: 50%;
    z-index: 90;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 999px;
    color: rgb(255 255 255 / 92%);
    background: rgb(0 0 0 / 74%);
    box-shadow: 0 12px 34px rgb(0 0 0 / 42%);
    transform: translateX(-50%);
    backdrop-filter: blur(16px);
    transition:
      background 180ms ease,
      border-color 180ms ease,
      top 180ms ease;
  }

  .app-body--fight-hub .fight-hub-navbar-toggle:hover,
  .app-body--fight-hub .fight-hub-navbar-toggle:focus-visible {
    border-color: rgb(255 255 255 / 42%);
    background: rgb(0 0 0 / 88%);
    outline: none;
  }

  .app-body--fight-hub .fight-hub-navbar-toggle svg {
    width: 22px;
    height: 22px;
  }

  .app-body--fight-hub .fight-hub-navbar-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .app-body--fight-hub.app-body--fight-navbar-open .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 108px);
  }

  .app-body--fight-hub .app-navbar-shell {
    position: fixed;
    opacity: 0;
    transform: translateY(calc(-100% - 2px));
    pointer-events: none;
  }

  .app-body--fight-hub .app-navbar-shell::after {
    content: none;
  }

  .app-body--fight-hub.app-body--fight-navbar-open .app-navbar-shell {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .app-body--fight-hub .fight-arena-screen {
    min-height: 100vh;
    height: 100vh;
  }
}

.technique-card {
  --technique-accent: #64748b;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 418px;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 8px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 50% 0%, rgb(255 255 255 / 10%), transparent 34%),
    radial-gradient(circle at 0% 12%, rgb(220 38 38 / 12%), transparent 32%),
    linear-gradient(180deg, #111827 0%, #060b16 52%, #020202 100%);
  box-shadow: 0 24px 48px rgb(0 0 0 / 34%), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.technique-card::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--technique-accent), transparent);
  content: "";
  opacity: 0.95;
}

.technique-card::after {
  position: absolute;
  inset: 6px 0 auto;
  z-index: -1;
  height: 96px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--technique-accent) 26%, transparent), transparent);
  content: "";
  opacity: 0.38;
}

.technique-card > * {
  position: relative;
}

.technique-card:hover,
.technique-card:focus-within {
  z-index: 5;
}

.technique-card--interactive {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.technique-card--interactive:hover,
.technique-card--interactive:focus-visible {
  border-color: color-mix(in srgb, var(--technique-accent) 72%, white 8%);
  outline: 0;
  transform: translateY(-3px);
  box-shadow: 0 30px 60px rgb(0 0 0 / 42%), 0 0 28px color-mix(in srgb, var(--technique-accent) 28%, transparent);
}

.technique-card--takedown { --technique-accent: #3b82f6; }
.technique-card--pull-guard { --technique-accent: #8b5cf6; }
.technique-card--guard-pass { --technique-accent: #16a34a; }
.technique-card--sweep { --technique-accent: #eab308; }
.technique-card--submission { --technique-accent: #ef4444; }
.technique-card--escape { --technique-accent: #14b8a6; }
.technique-card--posture { --technique-accent: #94a3b8; }
.technique-card--pressure { --technique-accent: #a855f7; }
.technique-card--defense { --technique-accent: #0ea5e9; }
.technique-card--transition { --technique-accent: #22c55e; }

.technique-card-topline,
.technique-card-context,
.technique-card-metrics {
  display: flex;
  gap: 8px;
}

.technique-card-context {
  flex-wrap: wrap;
}

.technique-card-topline {
  align-items: center;
  justify-content: space-between;
}

.technique-card-category,
.technique-card-belt,
.technique-card-context span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #e5e7eb;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.technique-card-category,
.technique-card-belt {
  min-height: 28px;
  padding: 7px 8px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 7px;
  background: rgb(0 0 0 / 34%);
}

.technique-card-category {
  border-color: color-mix(in srgb, var(--technique-accent) 52%, transparent);
  color: #ffffff;
}

.technique-card-category svg {
  width: 15px;
  height: 15px;
  color: var(--technique-accent);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--technique-accent) 44%, transparent));
}

.technique-card-mastery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgb(250 204 21 / 34%);
  border-radius: 7px;
  background: linear-gradient(180deg, rgb(0 0 0 / 58%), rgb(15 23 42 / 72%));
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 42%);
}

.technique-card-mastery-progress {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.technique-card-mastery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #ffffff;
}

.technique-card-mastery-label span {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technique-card-mastery-label small {
  color: #94a3b8;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.technique-card-mastery-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
}

.technique-card-mastery-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #facc15);
}

.technique-card-mastery-level {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: #020617;
  background: linear-gradient(180deg, #fde047, #facc15);
  font-size: 0.96rem;
  font-weight: 950;
  box-shadow: 0 0 20px rgb(250 204 21 / 20%);
}

.technique-card h3 {
  display: grid;
  min-height: 44px;
  margin: 0;
  place-items: center;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.08;
  text-wrap: balance;
}

.technique-card-media {
  display: grid;
  width: min(70%, 168px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid rgb(255 255 255 / 10%);
  background:
    radial-gradient(circle at 50% 15%, rgb(255 255 255 / 10%), transparent 44%),
    #0b1220;
  box-shadow: 0 18px 34px rgb(0 0 0 / 32%), inset 0 0 0 1px rgb(0 0 0 / 54%);
}

.technique-card-media img {
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
  object-position: center;
  border-radius: 7px;
}

.technique-card-sources {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 7px;
  background: rgb(0 0 0 / 24%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.technique-card-sources-title {
  color: #94a3b8;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.technique-card-source-list,
.technique-modal-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.technique-card-source-list {
  justify-content: center;
}

.technique-source-chip {
  --technique-source-color: #94a3b8;
  position: relative;
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--technique-source-color) 42%, transparent);
  border-radius: 999px;
  color: #f8fafc;
  background: linear-gradient(180deg, color-mix(in srgb, var(--technique-source-color) 14%, transparent), rgb(0 0 0 / 32%));
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.technique-source-chip svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: var(--technique-source-color);
}

.technique-source-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.technique-source-chip strong {
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.technique-source-chip--native {
  --technique-source-color: #facc15;
}

.technique-source-chip--coach {
  --technique-source-color: #38bdf8;
}

.technique-source-chip--pve-event {
  --technique-source-color: #fb7185;
}

.technique-source-chip--achievement {
  --technique-source-color: #34d399;
}

.technique-source-chip--competition {
  --technique-source-color: #f97316;
}

.technique-source-chip--missing {
  --technique-source-color: #94a3b8;
  color: #cbd5e1;
}

.technique-source-chip--more {
  --technique-source-color: #e5e7eb;
  padding-inline: 10px;
}

.technique-card-context {
  justify-content: center;
}

.technique-card-context span {
  padding: 6px 8px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 7px;
  color: #cbd5e1;
  background: rgb(0 0 0 / 30%);
}

.technique-card-context svg {
  width: 14px;
  height: 14px;
}

.technique-card-intent svg {
  color: #f8fafc;
}

.technique-card-intent-icon--sword {
  color: #f87171;
}

.technique-card-intent-icon--shield {
  color: #60a5fa;
}

.technique-card-stat-chip {
  --technique-stat-color: #94a3b8;
  border-color: color-mix(in srgb, var(--technique-stat-color) 42%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--technique-stat-color) 16%, transparent), rgb(0 0 0 / 30%));
}

.technique-card-stat-chip--strength {
  --technique-stat-color: #ef4444;
}

.technique-card-stat-chip--speed {
  --technique-stat-color: #38bdf8;
}

.technique-card-stat-chip--endurance {
  --technique-stat-color: #facc15;
}

.technique-card-stat-chip--flexibility {
  --technique-stat-color: #22c55e;
}

.technique-card-stat-chip svg {
  color: var(--technique-stat-color);
}

.technique-card-stat-chip strong {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-transform: none;
}

.technique-card-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.technique-card-metric {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 3px 6px;
  min-height: 46px;
  padding: 7px 6px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 7px;
  background: linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(0 0 0 / 26%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%);
  text-align: center;
}

.technique-card-metric svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.7;
}

.technique-card-metric--atb svg {
  color: #38bdf8;
}

.technique-card-metric--fatigue svg {
  color: #facc15;
}

.technique-card-metric--target svg {
  color: #ef4444;
}

.technique-card-metric--window svg {
  color: #a78bfa;
}

.technique-card-metric span {
  color: #cbd5e1;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.technique-card-metric strong {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
}

.technique-card-metric small {
  grid-column: 1 / -1;
  color: #94a3b8;
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.belt-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 999px;
  background: #ffffff;
}

.belt-dot--white {
  background: #ffffff;
}

.belt-dot--blue {
  background: #2563eb;
}

.belt-dot--purple {
  background: #7e22ce;
}

.belt-dot--brown {
  background: #92400e;
}

.belt-dot--black {
  background: #020617;
}

.technique-empty {
  display: grid;
  min-height: 96px;
  margin: 0;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 850;
}

.technique-empty--modal {
  color: #cbd5e1;
  background: rgb(255 255 255 / 6%);
}

.technique-modal {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  color: #f8fafc;
  background: transparent;
}

.technique-modal::backdrop {
  background: rgb(0 0 0 / 82%);
  backdrop-filter: blur(6px);
}

.technique-modal-panel {
  position: relative;
  display: grid;
  gap: 18px;
  max-height: calc(100vh - 32px);
  padding: 26px;
  overflow-y: auto;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 10%, rgb(220 38 38 / 20%), transparent 34%),
    radial-gradient(circle at 90% 0%, rgb(255 255 255 / 8%), transparent 30%),
    linear-gradient(180deg, #111111 0%, #050505 100%);
  box-shadow: 0 34px 90px rgb(0 0 0 / 66%), inset 0 1px 0 rgb(255 255 255 / 8%);
  scrollbar-width: none;
}

.technique-modal-panel::-webkit-scrollbar {
  display: none;
}

.technique-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(248 113 113 / 55%);
  border-radius: 7px;
  color: #ffffff;
  background: linear-gradient(180deg, #dc2626, #991b1b);
  box-shadow: 0 14px 24px rgb(127 29 29 / 34%);
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.technique-modal-close:hover,
.technique-modal-close:focus-visible {
  border-color: rgb(254 202 202 / 80%);
  outline: 0;
  transform: translateY(-1px);
}

.technique-modal-close svg {
  width: 20px;
  height: 20px;
}

.technique-modal-view-link {
  position: absolute;
  top: 14px;
  right: 60px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(148 163 184 / 45%);
  border-radius: 7px;
  color: #dbeafe;
  background: rgb(15 23 42 / 78%);
  box-shadow: 0 14px 24px rgb(15 23 42 / 28%);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.technique-modal-view-link:hover,
.technique-modal-view-link:focus-visible {
  border-color: rgb(191 219 254 / 78%);
  outline: 0;
  background: rgb(30 41 59 / 88%);
  transform: translateY(-1px);
}

.technique-modal-view-link svg {
  width: 20px;
  height: 20px;
}

.technique-modal-heading,
.technique-modal-content,
.technique-outcomes-heading,
.technique-outcome-row {
  display: grid;
}

.technique-modal-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  min-height: 56px;
  padding-right: 88px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  padding-bottom: 18px;
}

.technique-modal-heading h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.technique-modal-heading > span {
  padding: 8px 12px;
  border: 1px solid rgb(248 113 113 / 24%);
  border-radius: 7px;
  color: #fecaca;
  background: rgb(220 38 38 / 12%);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.technique-modal-content {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 22px;
  align-items: start;
}

.technique-modal-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.technique-outcomes-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: rgb(255 255 255 / 4%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.technique-outcomes-heading {
  grid-template-columns: 135px minmax(135px, 170px) minmax(0, 1fr);
  gap: 10px;
  padding: 0 4px 4px;
  color: #9ca3af;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.technique-outcomes-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.technique-outcome-row {
  grid-template-columns: 135px minmax(135px, 170px) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-left: 5px solid #64748b;
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(0 0 0 / 20%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.technique-outcome-row--normal {
  border-left-color: #38bdf8;
}

.technique-outcome-row--good {
  border-left-color: #facc15;
}

.technique-outcome-row--critical {
  border-left-color: #22c55e;
}

.technique-outcome-badge {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.technique-outcome-badge strong {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 0 18px rgb(0 0 0 / 32%);
}

.technique-outcome-badge span {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.15;
}

.technique-outcome-position,
.technique-outcome-effects {
  align-self: center;
  color: #e5e7eb;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.technique-outcome-position {
  overflow-wrap: anywhere;
}

.technique-outcome-effects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.technique-outcome-effect {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 7px;
  color: #d1d5db;
  background: rgb(0 0 0 / 24%);
}

.technique-outcome-effect--option {
  max-width: 100%;
  flex-wrap: wrap;
  border-color: rgb(74 222 128 / 22%);
  color: #bbf7d0;
  background: rgb(22 101 52 / 16%);
  line-height: 1.2;
}

.technique-outcome-effect--option svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: #60a5fa;
}

.technique-outcome-effect--option strong {
  color: #ffffff;
  font-weight: 950;
}

.technique-outcome-effect-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.technique-outcome-submission {
  display: inline-flex;
  width: 24px;
  height: 24px;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  border-color: rgb(248 113 113 / 50%) !important;
  border-radius: 999px;
  color: #fecaca !important;
  background: rgb(239 68 68 / 18%) !important;
  cursor: help;
}

.technique-outcome-submission svg {
  width: 15px;
  height: 15px;
}

.technique-modal-card .technique-card {
  min-height: 440px;
}

.technique-modal-card .technique-card-media {
  width: min(72%, 190px);
}

.technique-stats-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: rgb(255 255 255 / 4%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.technique-stats-panel h3 {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.technique-stats-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.technique-raw-score {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgb(248 113 113 / 24%);
  border-radius: 7px;
  color: #cbd5e1;
  background: rgb(0 0 0 / 34%);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.technique-raw-score-icons {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #e5e7eb;
}

.technique-raw-score-icons svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.technique-raw-score strong {
  color: #ffffff;
  font-size: 0.8rem;
}

.technique-tooltip,
.fighter-creation-stat-tooltip {
  position: relative;
}

.technique-tooltip:hover,
.technique-tooltip:focus-visible,
.fighter-creation-stat-tooltip:hover,
.fighter-creation-stat-tooltip:focus-visible {
  z-index: 80;
}

.technique-tooltip::after,
.fighter-creation-stat-tooltip::after {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 70;
  width: max-content;
  max-width: 320px;
  padding: 8px 10px;
  border: 1px solid rgb(148 163 184 / 28%);
  border-radius: 8px;
  color: #f8fafc;
  background: rgb(15 23 42 / 96%);
  box-shadow: 0 14px 34px rgb(0 0 0 / 30%);
  content: attr(data-tooltip);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translate(-50%, 4px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: normal;
}

.fighter-creation-stat-tooltip::after {
  max-width: min(320px, calc(100vw - 48px));
}

.fighter-creation-stat-help {
  display: inline-grid;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  color: #fecaca;
  background: rgb(127 29 29 / 32%);
  cursor: help;
  font-size: 0.68rem;
  line-height: 1;
  outline: none;
}

.fighter-creation-stat-help:focus-visible {
  border-color: rgb(248 113 113 / 85%);
  box-shadow: 0 0 0 3px rgb(248 113 113 / 18%);
}

.fighter-creation-stat-tooltip--align-start::after {
  left: 0;
  transform: translateY(4px);
}

.fighter-creation-stat-tooltip--align-end::after {
  right: 0;
  left: auto;
  transform: translateY(4px);
}

.technique-tooltip::before,
.fighter-creation-stat-tooltip::before {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  z-index: 71;
  width: 9px;
  height: 9px;
  background: rgb(15 23 42 / 96%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px) rotate(45deg);
  transition: opacity 120ms ease, transform 120ms ease;
}

.fighter-creation-stat-tooltip--align-start::before {
  left: 16px;
  transform: translateY(4px) rotate(45deg);
}

.fighter-creation-stat-tooltip--align-end::before {
  right: 16px;
  left: auto;
  transform: translateY(4px) rotate(45deg);
}

.technique-tooltip:hover::after,
.technique-tooltip:focus-visible::after,
.fighter-creation-stat-tooltip:hover::after,
.fighter-creation-stat-tooltip:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.fighter-creation-stat-tooltip--align-start:hover::after,
.fighter-creation-stat-tooltip--align-start:focus-visible::after,
.fighter-creation-stat-tooltip--align-end:hover::after,
.fighter-creation-stat-tooltip--align-end:focus-visible::after {
  transform: translateY(0);
}

.technique-tooltip:hover::before,
.technique-tooltip:focus-visible::before,
.fighter-creation-stat-tooltip:hover::before,
.fighter-creation-stat-tooltip:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0) rotate(45deg);
}

.fighter-creation-stat-tooltip--align-start:hover::before,
.fighter-creation-stat-tooltip--align-start:focus-visible::before,
.fighter-creation-stat-tooltip--align-end:hover::before,
.fighter-creation-stat-tooltip--align-end:focus-visible::before {
  transform: translateY(0) rotate(45deg);
}

@media (max-width: 639px) {
  .fighter-creation-stat-tooltip--align-end::after {
    right: auto;
    left: 0;
    transform: translateY(4px);
  }

  .fighter-creation-stat-tooltip--align-end::before {
    right: auto;
    left: 16px;
    transform: translateY(4px) rotate(45deg);
  }

  .fighter-creation-stat-tooltip--align-end:hover::after,
  .fighter-creation-stat-tooltip--align-end:focus-visible::after {
    transform: translateY(0);
  }

  .fighter-creation-stat-tooltip--align-end:hover::before,
  .fighter-creation-stat-tooltip--align-end:focus-visible::before {
    transform: translateY(0) rotate(45deg);
  }
}

.technique-stats-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}

.technique-stat-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 10px;
  border: 2px solid rgb(255 255 255 / 12%);
  border-radius: 7px;
  background: linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(0 0 0 / 24%));
}

.technique-stat-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgb(15 23 42 / 70%);
  color: #ffffff;
}

.technique-stat-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.technique-stat-pill strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
}

.technique-stat-pill--primary {
  border-color: rgb(250 204 21 / 86%);
  box-shadow: inset 0 0 0 1px rgb(250 204 21 / 22%);
}

.technique-stat-pill--secondary {
  border-color: rgb(203 213 225 / 82%);
  box-shadow: inset 0 0 0 1px rgb(203 213 225 / 20%);
}

.technique-stat-pill--third {
  border-color: rgb(180 83 9 / 86%);
  box-shadow: inset 0 0 0 1px rgb(180 83 9 / 20%);
}

.technique-sources-panel,
.technique-positions-panel,
.technique-description-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: rgb(255 255 255 / 4%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.technique-sources-panel h3,
.technique-positions-panel h3,
.technique-description-panel h3 {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.technique-modal-source-list {
  align-items: center;
}

.technique-modal-source-list .technique-source-chip {
  min-height: 32px;
  padding: 7px 10px;
  text-transform: none;
}

.technique-position-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.technique-position-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgb(56 189 248 / 28%);
  border-radius: 8px;
  background: rgb(14 165 233 / 10%);
  padding: 6px 10px;
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.technique-description-panel p {
  margin: 0;
  color: #d1d5db;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.fight-arena-screen {
  --fight-arena-image: linear-gradient(135deg, #111827, #020617);
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 96px);
  height: calc(100vh - 96px);
  overflow: hidden;
  color: #ffffff;
  background: #050505;
}

.fight-arena-screen::before,
.fight-arena-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.fight-arena-screen::before {
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgb(0 0 0 / 38%) 0%, rgb(0 0 0 / 10%) 42%, rgb(0 0 0 / 72%) 100%),
    linear-gradient(90deg, rgb(0 0 0 / 58%) 0%, rgb(0 0 0 / 7%) 34%, rgb(0 0 0 / 7%) 66%, rgb(0 0 0 / 58%) 100%),
    var(--fight-arena-image);
  background-position: center;
  background-size: cover;
}

.fight-arena-screen::after {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, transparent 0 34%, rgb(0 0 0 / 22%) 58%, rgb(0 0 0 / 70%) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 0%) 0 70%, rgb(0 0 0 / 52%) 100%);
}

.fight-arena-hud {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 300px) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
  padding: 18px 32px 0;
}

.fight-arena-fighter {
  display: flex;
  min-width: 0;
  align-items: start;
  gap: 16px;
}

.fight-arena-fighter--ai {
  display: block;
}

.fight-arena-avatar {
  display: grid;
  width: clamp(74px, 7vw, 116px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(59 130 246 / 70%);
  border-radius: 7px;
  color: rgb(147 197 253 / 90%);
  background:
    radial-gradient(circle at 50% 20%, rgb(59 130 246 / 42%), transparent 52%),
    linear-gradient(180deg, rgb(15 23 42 / 78%), rgb(2 6 23 / 92%));
  box-shadow:
    0 0 22px rgb(59 130 246 / 24%),
    inset 0 1px 0 rgb(255 255 255 / 12%);
}

.fight-arena-avatar-frame {
  position: relative;
  display: inline-grid;
}

.fight-arena-player-actions {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 3;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.fight-arena-player-actions form {
  margin: 0;
}

.fight-arena-forfeit-button,
.fight-arena-spectator-invite-button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(248 113 113 / 72%);
  border-radius: 999px;
  cursor: pointer;
}

.fight-arena-forfeit-button {
  border-color: rgb(248 113 113 / 72%);
  color: #fecaca;
  background:
    radial-gradient(circle at 50% 15%, rgb(248 113 113 / 28%), transparent 58%),
    rgb(24 5 5 / 92%);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 42%),
    0 0 18px rgb(239 68 68 / 24%),
    inset 0 1px 0 rgb(255 255 255 / 16%);
}

.fight-arena-forfeit-button:hover {
  border-color: rgb(252 165 165 / 92%);
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 15%, rgb(252 165 165 / 34%), transparent 58%),
    rgb(127 29 29 / 92%);
}

.fight-arena-spectator-invite-button {
  border-color: rgb(96 165 250 / 72%);
  color: #bfdbfe;
  background:
    radial-gradient(circle at 50% 15%, rgb(96 165 250 / 30%), transparent 58%),
    rgb(5 13 31 / 92%);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 42%),
    0 0 18px rgb(59 130 246 / 24%),
    inset 0 1px 0 rgb(255 255 255 / 16%);
}

.fight-arena-spectator-invite-button:hover {
  border-color: rgb(191 219 254 / 92%);
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 15%, rgb(147 197 253 / 36%), transparent 58%),
    rgb(30 64 175 / 92%);
}

.fight-arena-forfeit-button svg,
.fight-arena-spectator-invite-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.8;
}

.fight-arena-forfeit-button span,
.fight-arena-spectator-invite-button span,
.fight-arena-spectator-count > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fight-arena-spectator-count {
  display: inline-flex;
  min-width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid rgb(250 204 21 / 58%);
  border-radius: 999px;
  color: #fde68a;
  background:
    radial-gradient(circle at 50% 15%, rgb(250 204 21 / 24%), transparent 58%),
    rgb(24 18 4 / 92%);
  box-shadow:
    0 10px 24px rgb(0 0 0 / 42%),
    0 0 18px rgb(250 204 21 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 16%);
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1;
}

.fight-arena-spectator-count svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.8;
}

.fight-arena-spectator-count strong {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.fight-arena-fighter--ai .fight-arena-avatar {
  border-color: rgb(239 68 68 / 74%);
  color: rgb(252 165 165 / 90%);
  background:
    radial-gradient(circle at 50% 20%, rgb(239 68 68 / 38%), transparent 52%),
    linear-gradient(180deg, rgb(15 23 42 / 78%), rgb(2 6 23 / 92%));
  box-shadow:
    0 0 22px rgb(239 68 68 / 22%),
    inset 0 1px 0 rgb(255 255 255 / 12%);
}

.fight-arena-avatar svg {
  width: 42%;
  height: 42%;
  stroke-width: 1.7;
}

.fight-arena-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.fight-arena-player-stack {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  justify-items: start;
}

.fight-arena-player-stack > .combat-log--arena {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
}

.fight-arena-player-stack > .combat-log--arena.combat-log--collapsed {
  width: 100%;
}

.fight-arena-ai-stack {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 8px;
}

.fight-arena-quick-controls {
  display: inline-flex;
  justify-content: end;
  gap: 6px;
}

.fight-arena-display-toggle {
  margin: 0;
}

.fight-arena-quick-controls form {
  margin: 0;
}

.fight-arena-actions--spectator {
  grid-template-columns: minmax(180px, 0.58fr) minmax(280px, 1fr) minmax(180px, 0.58fr);
}

.fight-arena-spectator-card {
  display: flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgb(148 163 184 / 20%);
  border-radius: 10px;
  color: rgb(226 232 240 / 86%);
  background:
    radial-gradient(circle at 50% 0%, rgb(59 130 246 / 12%), transparent 54%),
    rgb(2 6 23 / 64%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
  backdrop-filter: blur(10px);
}

.fight-arena-spectator-card h3 {
  margin: 2px 0 4px;
  color: #ffffff;
  font-size: clamp(1rem, 1.2vw, 1.28rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.fight-arena-spectator-card span {
  display: block;
  max-width: 58ch;
  color: rgb(203 213 225 / 72%);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.fight-arena-spectator-card > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #93c5fd;
  stroke-width: 2.5;
}

.fight-arena-spectator-card--reaction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  border-color: rgb(251 191 36 / 42%);
  background:
    radial-gradient(circle at 50% 0%, rgb(245 158 11 / 18%), transparent 56%),
    rgb(24 18 8 / 72%);
}

.fight-arena-spectator-card--urgent {
  border-color: rgb(248 113 113 / 58%);
  background:
    radial-gradient(circle at 50% 0%, rgb(239 68 68 / 22%), transparent 56%),
    rgb(24 8 8 / 78%);
}

.fight-arena-spectator-reaction-copy {
  min-width: 0;
}

.fight-arena-spectator-reaction-copy .kicker {
  margin: 0;
  color: #fbbf24;
  font-size: 0.64rem;
  line-height: 1.1;
}

.fight-arena-spectator-card--urgent .fight-arena-spectator-reaction-copy .kicker {
  color: #fca5a5;
}

.fight-arena-spectator-reaction-copy h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fight-arena-spectator-reaction-clock {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 96px;
}

.fight-arena-spectator-reaction-clock strong {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-size: 1.34rem;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  text-shadow: 0 8px 18px rgb(0 0 0 / 70%);
}

.fight-arena-spectator-reaction-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgb(251 191 36 / 28%);
  border-radius: 999px;
  background: rgb(15 23 42 / 58%);
}

.fight-arena-spectator-reaction-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #facc15);
  box-shadow: 0 0 16px rgb(250 204 21 / 42%);
}

.fight-arena-spectator-card--urgent .fight-arena-spectator-reaction-track {
  border-color: rgb(248 113 113 / 42%);
}

.fight-arena-spectator-card--urgent .fight-arena-spectator-reaction-fill {
  background: linear-gradient(90deg, #dc2626, #fb7185);
  box-shadow: 0 0 18px rgb(248 113 113 / 48%);
}

.fight-arena-ai-debug-panel {
  justify-self: end;
  width: min(340px, calc(100vw - 28px));
  text-align: left;
}

.fight-arena-ai-debug-panel .resource-panel--ai {
  grid-area: auto;
  max-height: min(430px, 48vh);
  overflow: hidden;
  border-color: rgb(96 165 250 / 34%);
  border-top-color: rgb(96 165 250 / 70%);
  background:
    radial-gradient(circle at 80% 0%, rgb(59 130 246 / 18%), transparent 34%),
    rgb(15 23 42 / 92%);
  box-shadow: 0 18px 44px rgb(0 0 0 / 36%);
}

.fight-arena-ai-debug-panel .resource-heading,
.fight-arena-ai-debug-panel .compact-stats,
.fight-arena-ai-debug-panel .atb-meter {
  display: none;
}

.fight-arena-ai-debug-panel .ai-intent {
  max-height: min(390px, 44vh);
  overflow: hidden;
  border-color: rgb(148 163 184 / 24%);
  background: rgb(2 6 23 / 70%);
}

.fight-arena-ai-debug-panel .ai-debug-heading span,
.fight-arena-ai-debug-panel .ai-option span,
.fight-arena-ai-debug-panel .ai-option-empty,
.fight-arena-ai-debug-panel .ai-pending-action,
.fight-arena-ai-debug-panel .ai-position-debug {
  color: rgb(203 213 225 / 76%);
}

.fight-arena-ai-debug-panel .ai-debug-heading strong,
.fight-arena-ai-debug-panel .ai-pending-action strong,
.fight-arena-ai-debug-panel .ai-position-debug strong,
.fight-arena-ai-debug-panel .ai-option strong,
.fight-arena-ai-debug-panel .ai-option small {
  color: #f8fafc;
}

.fight-arena-ai-debug-panel .ai-option-list {
  max-height: min(260px, 28vh);
}

.fight-arena-ai-debug-panel .ai-option {
  border-color: rgb(148 163 184 / 18%);
  background: rgb(15 23 42 / 76%);
}

.fight-arena-icon-control,
.fight-arena-ai-toggle-label,
.fight-arena-display-toggle-label {
  display: inline-flex;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 999px;
  color: #e5e7eb;
  background: rgb(2 6 23 / 54%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.fight-arena-icon-control:hover,
.fight-arena-ai-toggle-label:hover,
.fight-arena-display-toggle-label:hover {
  border-color: rgb(248 113 113 / 48%);
  color: #ffffff;
  background: rgb(239 68 68 / 16%);
}

.fight-arena-icon-control svg,
.fight-arena-ai-toggle-label svg,
.fight-arena-display-toggle-label svg {
  width: 13px;
  height: 13px;
  color: #fca5a5;
  stroke-width: 2.8;
}

.fight-arena-icon-control span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fight-arena-ai-toggle-label input,
.fight-arena-display-toggle-label input {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #ef4444;
}

.fight-arena-ai-toggle-label:has(input:not(:checked)),
.fight-arena-display-toggle-label:has(input:not(:checked)) {
  color: #a3a3a3;
  opacity: 0.62;
}

.fight-arena-display-toggle-label {
  border-color: rgb(96 165 250 / 24%);
}

.fight-arena-display-toggle-label:hover {
  border-color: rgb(96 165 250 / 50%);
  background: rgb(37 99 235 / 16%);
}

.fight-arena-display-toggle-label svg {
  color: #93c5fd;
}

.fight-arena-display-toggle-label input {
  accent-color: #3b82f6;
}

.fight-arena-display-toggle-label small {
  color: rgb(191 219 254 / 78%);
  font-size: 0.52rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.fight-arena-fighter-copy {
  display: flex;
  flex-direction: column;
  align-items: end;
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 13px;
}

.fight-arena-fighter-player {
  align-items: start !important;
}

.fight-arena-fighter-copy h2 {
  max-width: min(34vw, 520px);
  margin: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 1.65rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 8px 24px rgb(0 0 0 / 72%);
  text-transform: uppercase;
  white-space: normal;
}

.fight-arena-fighter-copy p {
  margin: 8px 0 0;
  color: #d4d4d4;
  font-size: clamp(0.86rem, 1.25vw, 1.22rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 8px 20px rgb(0 0 0 / 74%);
}

.fight-arena-belt {
  display: flex;
  margin-top: 8px;
}

.fight-arena-fighter--ai .fight-arena-belt {
  justify-content: end;
}

.fight-recent-activities {
  gap: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  text-align: left;
  background:
    radial-gradient(circle at 0% 0%, rgb(59 130 246 / 18%), transparent 38%),
    linear-gradient(180deg, rgb(5 10 22 / 76%), rgb(3 7 18 / 84%));
  box-shadow:
    0 18px 44px rgb(0 0 0 / 34%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
  backdrop-filter: blur(8px);
}

.fight-recent-activities-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.fight-recent-activities-heading span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(96 165 250 / 34%);
  border-radius: 7px;
  color: #93c5fd;
  background: rgb(37 99 235 / 12%);
}

.fight-recent-activities-heading svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.8;
}

.fight-recent-activities-heading h2 {
  margin: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fight-recent-activity-list {
  display: grid;
  margin: 6px 0 0 0;
  gap: 6px;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.fight-recent-activity-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 7px;
  color: #ffffff;
  background: rgb(255 255 255 / 6%);
  text-decoration: none;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}

.fight-recent-activity-link:hover {
  border-color: rgb(96 165 250 / 38%);
  background: rgb(15 23 42 / 76%);
  transform: translateY(-1px);
}

.fight-recent-activity-result {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.fight-recent-activity--win .fight-recent-activity-result {
  border-color: rgb(34 197 94 / 46%);
  color: #bbf7d0;
  background: rgb(34 197 94 / 13%);
}

.fight-recent-activity--lose .fight-recent-activity-result {
  border-color: rgb(248 113 113 / 48%);
  color: #fecaca;
  background: rgb(239 68 68 / 13%);
}

.fight-recent-activity-opponent {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.fight-recent-activity-opponent small {
  color: #94a3b8;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.fight-recent-activity-opponent strong {
  overflow: hidden;
  color: #f8fafc;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.fight-recent-activity-score {
  display: grid;
  min-width: 76px;
  gap: 3px;
  color: #dbeafe;
  font-variant-numeric: tabular-nums;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.fight-recent-activity-score span:last-child {
  color: #bbf7d0;
}

.fight-recent-activity-victory {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border: 1px solid rgb(250 204 21 / 24%);
  border-radius: 999px;
  color: #fef3c7;
  background: rgb(250 204 21 / 8%);
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.fight-recent-activities-empty {
  margin: 0;
  padding: 10px;
  border: 1px dashed rgb(255 255 255 / 14%);
  border-radius: 7px;
  color: #a3a3a3;
  font-size: 0.72rem;
  font-weight: 850;
}

.fight-arena-scoreboard {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.fight-arena-score-row {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) 42px minmax(70px, 1fr);
  min-width: 245px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  background: rgb(4 7 14 / 72%);
  box-shadow:
    0 16px 34px rgb(0 0 0 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 8%);
  backdrop-filter: blur(8px);
}

.fight-arena-score-side {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 12px 7px;
}

.fight-arena-score-side--player {
  color: #3b82f6;
}

.fight-arena-score-side--ai {
  color: #ef4444;
}

.fight-arena-score-side strong {
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 950;
  line-height: 0.88;
}

.fight-arena-score-side dl {
  display: flex;
  gap: 8px;
  margin: 0;
}

.fight-arena-score-meta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.fight-arena-score-meta dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.fight-arena-score-meta dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
}

.fight-arena-score-meta--advantage dd {
  color: #22c55e;
}

.fight-arena-score-meta--penalty dd {
  color: #ef4444;
}

.fight-arena-score-separator {
  display: grid;
  place-items: center;
  border-right: 1px solid rgb(255 255 255 / 10%);
  border-left: 1px solid rgb(255 255 255 / 10%);
  color: #9ca3af;
  font-size: 1.8rem;
  font-weight: 950;
}

.fight-arena-timer {
  display: grid;
  min-width: 128px;
  min-height: 54px;
  place-items: center;
  margin-top: -2px;
  padding: 7px 18px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 0 0 10px 10px;
  color: #ffffff;
  background: rgb(4 7 14 / 78%);
  box-shadow: 0 14px 34px rgb(0 0 0 / 38%);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 8px 18px rgb(0 0 0 / 68%);
  backdrop-filter: blur(8px);
}

.fight-arena-position {
  max-width: 300px;
  margin: 2px 0 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 8px 20px rgb(0 0 0 / 74%);
  text-transform: uppercase;
  white-space: nowrap;
}

.fight-arena-countdown {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgb(0 0 0 / 46%);
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 18px 48px rgb(0 0 0 / 78%);
  text-transform: uppercase;
  backdrop-filter: blur(2px);
}

.fight-arena-countdown[hidden] {
  display: none;
}

.fight-arena-actions {
  --arena-collapsed-panel-width: 124px;
  --arena-collapsed-panel-height: 54px;

  position: absolute;
  right: 28px;
  bottom: 18px;
  left: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(92px, 124px) minmax(0, 1fr) minmax(92px, 124px);
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: end;
  overflow: visible;
}

.fight-arena-resource--player {
  grid-row: 2;
  grid-column: 1;
}

.fight-arena-card-carousel {
  grid-row: 2;
  grid-column: 2;
}

.fight-arena-resource--ai {
  grid-row: 2;
  grid-column: 3;
}

.fight-arena-info-panel {
  --arena-collapsed-panel-width: 124px;
  --arena-collapsed-panel-height: 54px;

  grid-row: 1;
  grid-column: 2 / 4;
  justify-self: end;
  display: grid;
  gap: 12px;
  width: min(380px, 42vw);
  padding: 14px 16px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 12px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgb(9 12 20 / 82%), rgb(0 0 0 / 90%)),
    rgb(2 6 23 / 80%);
  box-shadow:
    0 22px 52px rgb(0 0 0 / 46%),
    inset 0 1px 0 rgb(255 255 255 / 8%);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.fight-arena-ai-stack > .fight-arena-info-panel {
  grid-row: auto;
  grid-column: auto;
  justify-self: end;
  z-index: 4;
  width: min(340px, 32vw);
}

.fight-arena-ai-stack > .fight-arena-info-panel.fight-arena-info-panel--collapsed {
  width: clamp(74px, 7vw, 116px);
}

.fight-arena-info-panel--mobile-landscape {
  display: none;
}

.fight-arena-info-panel--collapsed {
  align-content: center;
  width: min(var(--arena-collapsed-panel-width), calc(100vw - 56px));
  height: var(--arena-collapsed-panel-height);
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border-radius: 10px;
  clip-path: none;
}

.fight-arena-info-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.fight-arena-info-panel h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.fight-arena-info-visibility {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  color: #e5e7eb;
  background: rgb(255 255 255 / 7%);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.fight-arena-info-visibility:hover {
  border-color: rgb(74 222 128 / 46%);
  color: #ffffff;
  background: rgb(34 197 94 / 18%);
}

.fight-arena-info-visibility svg {
  width: 13px;
  height: 13px;
  color: #4ade80;
  stroke-width: 2.6;
}

.fight-arena-info-panel--collapsed .fight-arena-info-heading {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 0;
  border-bottom: 0;
}

.fight-arena-info-panel--collapsed h2,
.fight-arena-info-panel--collapsed .fight-arena-info-body {
  display: none;
}

.fight-arena-info-panel--collapsed .fight-arena-info-visibility {
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0 6px;
}

.combat-log--arena.combat-log--full + .fight-arena-info-panel {
  grid-column: 3;
  align-content: center;
  width: min(var(--arena-collapsed-panel-width), calc(100vw - 56px));
  height: var(--arena-collapsed-panel-height);
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border-radius: 10px;
  clip-path: none;
}

.combat-log--arena.combat-log--full + .fight-arena-info-panel .fight-arena-info-heading {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 0;
  border-bottom: 0;
}

.combat-log--arena.combat-log--full + .fight-arena-info-panel h2,
.combat-log--arena.combat-log--full + .fight-arena-info-panel .fight-arena-info-body {
  display: none;
}

.combat-log--arena.combat-log--full + .fight-arena-info-panel .fight-arena-info-visibility {
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0 6px;
}

.fight-arena-info-panel dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.fight-arena-info-row {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.fight-arena-info-row + .fight-arena-info-row {
  padding-top: 10px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.fight-arena-info-panel dt {
  color: #a3a3a3;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.fight-arena-info-panel dd {
  min-width: 0;
  margin: 0;
}

.fight-arena-effect-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fight-arena-effect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 8px 18px rgb(0 0 0 / 68%);
}

.fight-arena-effect.is-negative {
  color: #f87171;
}

.fight-arena-effect-list--malus .fight-arena-effect {
  color: #f87171;
}

.fight-arena-effect span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fight-arena-effect strong {
  color: currentcolor;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 950;
  white-space: nowrap;
}

.fight-arena-info-muted {
  color: #71717a;
  font-size: 0.78rem;
  font-weight: 850;
}

.fight-arena-resource {
  display: grid;
  min-height: 116px;
  align-content: center;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 10px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgb(17 24 39 / 78%), rgb(2 6 23 / 88%)),
    #020617;
  box-shadow:
    0 18px 40px rgb(0 0 0 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
  backdrop-filter: blur(10px);
}

.fight-arena-resource--player {
  border-color: rgb(59 130 246 / 28%);
  box-shadow:
    0 18px 40px rgb(0 0 0 / 38%),
    0 0 24px rgb(59 130 246 / 12%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
}

.fight-arena-resource--ai {
  border-color: rgb(239 68 68 / 28%);
  box-shadow:
    0 18px 40px rgb(0 0 0 / 38%),
    0 0 24px rgb(239 68 68 / 11%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
}

.fight-arena-resource dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.fight-arena-resource div + div {
  padding-top: 12px;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.fight-arena-resource dt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a3a3a3;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fight-arena-resource dt svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  stroke-width: 2.8;
}

.fight-arena-resource dl > div:first-child dt svg {
  color: #38bdf8;
}

.fight-arena-resource dl > div:nth-child(2) dt svg {
  color: #facc15;
}

.fight-arena-resource--ai dl > div:nth-child(2) dt svg {
  color: #ef4444;
}

.fight-arena-resource dd {
  margin: 8px 0 0;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 2.25vw, 2rem);
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 8px 20px rgb(0 0 0 / 70%);
  white-space: nowrap;
}

.fight-arena-resource--player dl > div:first-child dd,
.fight-arena-resource--player [data-atb-target="value"] {
  color: #3b82f6;
}

.fight-arena-resource--player {
  min-height: 98px;
  padding: 10px;
}

.fight-arena-resource--player dl {
  gap: 8px;
}

.fight-arena-resource--player div + div {
  padding-top: 8px;
}

.fight-arena-resource--player dt {
  gap: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.fight-arena-resource--player dt svg {
  width: 12px;
  height: 12px;
}

.fight-arena-resource--player dd {
  margin-top: 5px;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  text-shadow: 0 7px 16px rgb(0 0 0 / 62%);
}

.fight-arena-resource--ai dl > div:first-child dd {
  color: #ef4444;
}

.fight-arena-resource-state--waiting,
.opponent-state-label--waiting {
  --opponent-state-color: #cbd5e1;
}

.fight-arena-resource-state--building,
.opponent-state-label--building {
  --opponent-state-color: #fde047;
}

.fight-arena-resource-state--ready,
.opponent-state-label--ready {
  --opponent-state-color: #fca5a5;
}

.fight-arena-resource-state--fresh,
.opponent-state-label--fresh {
  --opponent-state-color: #86efac;
}

.fight-arena-resource-state--winded,
.opponent-state-label--winded {
  --opponent-state-color: #fde047;
}

.fight-arena-resource-state--tired,
.opponent-state-label--tired {
  --opponent-state-color: #fb923c;
}

.fight-arena-resource-state--exhausted,
.opponent-state-label--exhausted {
  --opponent-state-color: #fca5a5;
}

.fight-arena-resource-state--spent,
.opponent-state-label--spent {
  --opponent-state-color: #f87171;
}

.fight-arena-resource--opponent {
  min-height: 98px;
  padding: 10px;
}

.fight-arena-resource--opponent dl {
  gap: 8px;
}

.fight-arena-resource--opponent div + div {
  padding-top: 8px;
}

.fight-arena-resource--opponent dt {
  gap: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.fight-arena-resource--opponent dt svg {
  width: 12px;
  height: 12px;
}

.fight-arena-resource--opponent .fight-arena-resource-state dd {
  display: block;
  overflow: hidden;
  max-width: 100%;
  margin-top: 5px;
  color: var(--opponent-state-color);
  font-size: clamp(0.68rem, 0.82vw, 0.78rem);
  line-height: 1;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-shadow: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.fight-arena-resource--ai.fight-arena-resource--opponent dl > .fight-arena-resource-state dd,
.fight-arena-resource--ai.fight-arena-resource--opponent dl > .fight-arena-resource-state dt svg,
.opponent-state-label {
  color: var(--opponent-state-color);
}

.opponent-state-label {
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.compact-stats dd.opponent-state-label {
  overflow-wrap: anywhere;
  font-size: 0.78rem;
}

.fight-arena-card-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 7px 8px;
  align-items: center;
  min-width: 0;
  overflow: visible;
}

.arena-reaction-window {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(116px, auto) minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  padding: 0 10px 0 2px;
}

.arena-reaction-window-action {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  color: #d4d4d8;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.arena-reaction-window-action strong {
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: inherit;
  text-align: left;
  text-overflow: ellipsis;
  text-shadow: 0 6px 14px rgb(0 0 0 / 80%);
  white-space: nowrap;
}

.arena-reaction-window-track {
  position: relative;
  height: 7px;
  overflow: hidden;
  border: 1px solid rgb(251 191 36 / 26%);
  border-radius: 999px;
  background: rgb(15 23 42 / 58%);
  box-shadow:
    inset 0 1px 3px rgb(0 0 0 / 76%),
    0 0 16px rgb(251 191 36 / 10%);
}

.arena-reaction-window-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #facc15);
  box-shadow: 0 0 14px rgb(250 204 21 / 42%);
}

.arena-reaction-window--opponent .arena-reaction-window-track {
  border-color: rgb(59 130 246 / 22%);
  box-shadow:
    inset 0 1px 3px rgb(0 0 0 / 76%),
    0 0 16px rgb(59 130 246 / 10%);
}

.arena-reaction-window--opponent .arena-reaction-window-fill {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  box-shadow: 0 0 14px rgb(56 189 248 / 38%);
}

.arena-reaction-window--urgent .arena-reaction-window-track {
  border-color: rgb(239 68 68 / 42%);
}

.arena-reaction-window--urgent .arena-reaction-window-fill {
  background: linear-gradient(90deg, #dc2626, #fb7185);
  box-shadow: 0 0 18px rgb(248 113 113 / 48%);
}

.arena-reaction-window strong {
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-align: right;
  text-shadow: 0 6px 14px rgb(0 0 0 / 80%);
}

.fight-arena-card-track {
  display: grid;
  grid-auto-columns: clamp(156px, 11.5vw, 176px);
  grid-auto-flow: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  padding: 8px 2px 12px;
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.fight-arena-card-track::-webkit-scrollbar {
  display: none;
}

.fight-arena-carousel-button {
  display: grid;
  width: 34px;
  height: 124px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  color: #bfdbfe;
  background: rgb(2 6 23 / 68%);
  box-shadow: 0 12px 28px rgb(0 0 0 / 28%);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.fight-arena-carousel-button--previous {
  grid-column: 1;
}

.fight-arena-card-track {
  grid-column: 2;
}

.fight-arena-carousel-button--next {
  grid-column: 3;
}

.fight-arena-card-carousel--static .fight-arena-card-track,
.fight-arena-card-carousel--static .fight-arena-atb-gauge {
  grid-column: 2;
}

.fight-arena-carousel-button:hover {
  border-color: rgb(59 130 246 / 52%);
  color: #ffffff;
  background: rgb(59 130 246 / 18%);
}

.fight-arena-carousel-button:disabled {
  border-color: rgb(255 255 255 / 8%);
  color: #64748b;
  background: rgb(2 6 23 / 34%);
  cursor: default;
  opacity: 0.56;
  box-shadow: none;
}

.fight-arena-carousel-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.arena-action-card {
  position: relative;
  display: grid;
  height: 124px;
  min-width: 0;
  scroll-snap-align: start;
}

.arena-action-card:hover,
.arena-action-card:focus-within {
  z-index: 60;
}

.arena-action-card form {
  display: contents;
}

.arena-action-card-button {
  position: relative;
  display: grid;
  width: 100%;
  height: 124px;
  min-height: 0;
  align-content: space-between;
  gap: 8px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 10px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgb(31 41 55 / 82%), rgb(9 12 20 / 88%)),
    #111827;
  box-shadow:
    0 18px 34px rgb(0 0 0 / 36%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
  text-align: left;
  cursor: pointer;
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  backdrop-filter: blur(10px);
}

.arena-action-card-button::before {
  position: absolute;
  inset: 0;
  border: 1px solid currentcolor;
  border-radius: inherit;
  content: "";
  opacity: 0.14;
  pointer-events: none;
}

.arena-action-card-button:not(:disabled):hover,
.arena-action-card:focus-within .arena-action-card-button:not(:disabled) {
  border-color: currentcolor;
  box-shadow:
    0 20px 38px rgb(0 0 0 / 42%),
    0 0 26px color-mix(in srgb, currentcolor 22%, transparent),
    inset 0 1px 0 rgb(255 255 255 / 10%);
  transform: translateY(-2px);
}

.arena-action-card-button:disabled {
  color: #9ca3af;
  cursor: default;
  opacity: 0.62;
  filter: grayscale(0.35);
}

.arena-action-card--unavailable .arena-action-card-button,
.arena-action-card-button--unavailable {
  border-color: rgb(148 163 184 / 34%);
  color: #9ca3af;
  opacity: 0.62;
  filter: grayscale(0.45);
}

.arena-action-card-button--optioned {
  cursor: default;
}

.arena-action-card-category {
  overflow: hidden;
  color: #d1d5db;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.arena-action-card-button > strong {
  display: -webkit-box;
  min-height: 2.16em;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.12;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.arena-action-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  color: #d4d4d4;
  font-variant-numeric: tabular-nums;
  font-size: clamp(0.56rem, 0.72vw, 0.64rem);
  font-weight: 950;
  min-width: 0;
}

.arena-action-card-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  white-space: nowrap;
}

.arena-action-card-metrics svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  stroke-width: 2.6;
}

.arena-action-card-metrics span:nth-child(1) svg {
  color: #38bdf8;
}

.arena-action-card-metrics span:nth-child(2) svg {
  color: #facc15;
}

.arena-action-card-metrics span:nth-child(3) svg {
  color: #ef4444;
}

.arena-action-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}

.arena-action-option-button {
  display: inline-flex;
  min-width: 0;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 5px 6px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 7px;
  color: #f8fafc;
  background: rgb(0 0 0 / 28%);
  font-size: 0.58rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.arena-action-option-button:hover:not(:disabled) {
  border-color: currentcolor;
  background: rgb(255 255 255 / 11%);
}

.arena-action-option-button:disabled {
  color: #9ca3af;
  cursor: default;
  opacity: 0.58;
}

.arena-action-option-button svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  stroke-width: 2.7;
}

.arena-action-option-button span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arena-action-card .action-tooltip,
.action-tooltip.is-visible,
.action-tooltip.is-positioning {
  position: fixed;
  right: auto;
  bottom: auto;
  z-index: 1000;
  width: min(360px, calc(100vw - 24px));
  transform: translate(-50%, 6px);
}

.arena-action-card .action-tooltip.is-visible,
.arena-action-card .action-tooltip.is-positioning,
.action-tooltip.is-visible,
.action-tooltip.is-positioning {
  opacity: 1;
  transform: translate(-50%, 0);
}

.arena-action-card .action-tooltip.is-positioning,
.action-tooltip.is-positioning {
  opacity: 0;
}

.fight-arena-action-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 72px;
  place-items: center;
  margin: 0;
  border: 1px dashed rgb(255 255 255 / 16%);
  border-radius: 10px;
  color: #a3a3a3;
  background: rgb(2 6 23 / 60%);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.fight-arena-action-empty--spectator {
  gap: 6px;
  align-content: center;
  border-style: solid;
  border-color: rgb(251 191 36 / 24%);
  color: #f8fafc;
  background:
    radial-gradient(circle at 50% 0%, rgb(251 191 36 / 12%), transparent 62%),
    rgb(2 6 23 / 60%);
}

.fight-arena-action-empty--spectator strong {
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.fight-arena-action-empty--spectator span {
  color: rgb(226 232 240 / 70%);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.fight-arena-atb-gauge {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 0 8px;
}

.fight-arena-atb-track {
  position: relative;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgb(59 130 246 / 24%);
  border-radius: 999px;
  background: rgb(15 23 42 / 76%);
  box-shadow:
    0 0 22px rgb(59 130 246 / 22%),
    inset 0 1px 4px rgb(0 0 0 / 72%);
}

.fight-arena-atb-track::after {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(10% - 2px),
      rgb(2 6 23 / 78%) calc(10% - 2px),
      rgb(2 6 23 / 78%) 10%
    );
  content: "";
  pointer-events: none;
}

.fight-arena-atb-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  box-shadow: 0 0 18px rgb(56 189 248 / 56%);
}

.fight-arena-atb-gauge strong {
  color: #93c5fd;
  font-variant-numeric: tabular-nums;
  font-size: 0.98rem;
  font-weight: 950;
  text-shadow: 0 8px 20px rgb(0 0 0 / 70%);
}

.app-body--fight-hub .fight-arena-screen {
  min-height: var(--app-viewport-height, 100vh);
  height: var(--app-viewport-height, 100vh);
}

.fight-screen {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  height: calc(100vh - 32px);
  gap: 8px;
  min-height: 0;
}

.fight-hud {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.fighter-summary,
.scoreboard,
.resource-panel,
.combat-log,
.fight-position-visual,
.action-deck {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 94%);
}

.fighter-summary {
  display: grid;
  align-content: space-between;
  gap: 5px;
  padding: 8px 10px;
}

.fighter-summary--player {
  border-left: 5px solid var(--player);
}

.fighter-summary--ai {
  grid-template-columns: 1fr auto;
  border-right: 5px solid var(--ai);
  text-align: right;
}

.fighter-summary--ai > div:not(.fight-controls),
.fighter-summary--ai .fighter-meta {
  grid-column: 1 / -1;
}

.fight-controls {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.fight-controls form {
  margin: 0;
}

.ai-initiative-toggle label {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-initiative-toggle input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.side-label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fighter-summary h2 {
  overflow: hidden;
  font-size: 0.98rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fighter-meta {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fighter-summary--ai .fighter-meta {
  justify-content: end;
}

.secondary-action--compact {
  min-height: 28px;
  padding: 0 9px;
  font-size: 0.72rem;
}

.scoreboard {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 6px 8px;
  text-align: center;
}

.score-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.score-breakdown {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.score-breakdown div {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1px;
  padding: 3px 4px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
}

.score-breakdown span {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 900;
}

.score-breakdown strong {
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  line-height: 1;
}

.score-breakdown .points {
  width: 24px;
  height: 24px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-breakdown .left {
  margin-right: 4px;
}

.score-breakdown .right {
  margin-left: 4px;
}

.fight-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 82px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #ffffff;
  background: #0f172a;
  font-variant-numeric: tabular-nums;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1;
}

.fight-position {
  color: #111827;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fight-flash {
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.fight-flash--alert {
  border: 1px solid #fda4af;
  color: #881337;
  background: #ffe4e6;
}

.result-overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 42%, rgb(220 38 38 / 18%), transparent 34%),
    rgb(0 0 0 / 78%);
  backdrop-filter: blur(5px);
}

.result-overlay[hidden] {
  display: none;
}

.result-overlay--tutorial {
  background:
    radial-gradient(circle at 50% 38%, rgb(245 158 11 / 20%), transparent 34%),
    rgb(0 0 0 / 80%);
}

.result-overlay--drill {
  background:
    radial-gradient(circle at 50% 38%, rgb(16 185 129 / 18%), transparent 34%),
    rgb(0 0 0 / 80%);
}

.result-panel {
  display: grid;
  gap: 16px;
  width: min(1040px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  padding: clamp(16px, 2vw, 24px);
  overflow-y: auto;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px;
  background:
    radial-gradient(circle at 18% 0%, rgb(239 68 68 / 18%), transparent 34%),
    linear-gradient(180deg, rgb(24 24 27 / 92%), rgb(3 7 18 / 96%));
  box-shadow:
    0 36px 120px rgb(0 0 0 / 64%),
    inset 0 1px 0 rgb(255 255 255 / 10%);
}

.tutorial-result-panel {
  display: grid;
  gap: 22px;
  width: min(720px, 100%);
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgb(245 158 11 / 38%);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 0%, rgb(245 158 11 / 18%), transparent 36%),
    linear-gradient(180deg, rgb(24 18 8 / 96%), rgb(3 3 3 / 98%));
  box-shadow:
    0 34px 110px rgb(0 0 0 / 68%),
    inset 0 1px 0 rgb(255 255 255 / 10%);
}

.drill-result-panel {
  border-color: rgb(52 211 153 / 34%);
  background:
    radial-gradient(circle at 18% 0%, rgb(16 185 129 / 16%), transparent 36%),
    linear-gradient(180deg, rgb(6 24 18 / 96%), rgb(3 3 3 / 98%));
}

.drill-result-restart-form {
  margin: 0;
}

.drill-result-restart {
  min-height: 44px;
  cursor: pointer;
  font: inherit;
}

.drill-result-panel .tutorial-result-summary h3,
.drill-result-panel .tutorial-result-summary svg {
  color: #34d399;
}

.drill-result-panel .tutorial-result-continue {
  border-color: rgb(52 211 153 / 62%);
  color: #03110c;
  background: #34d399;
}

.drill-result-panel .tutorial-result-continue:hover {
  border-color: rgb(110 231 183 / 82%);
  background: #6ee7b7;
}

.tutorial-result-heading {
  display: grid;
  gap: 10px;
  text-align: center;
}

.tutorial-result-heading h2 {
  display: grid;
  gap: 0.02em;
  justify-self: center;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 950;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.tutorial-result-heading h2 span {
  display: block;
}

.tutorial-result-heading > p:last-child {
  margin: 0;
  color: rgb(253 230 138 / 92%);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
}

.tutorial-result-summary {
  display: grid;
  gap: 14px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 12px;
  background: rgb(255 255 255 / 5%);
  padding: 16px;
}

.tutorial-result-summary h3 {
  margin: 0;
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tutorial-result-summary ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tutorial-result-summary li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  color: rgb(255 255 255 / 78%);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.tutorial-result-summary svg {
  width: 18px;
  height: 18px;
  justify-self: center;
  color: #fbbf24;
  stroke-width: 2.8;
}

.tutorial-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tutorial-result-continue {
  border-color: rgb(245 158 11 / 60%);
  color: #050505;
  background: #f59e0b;
}

.tutorial-result-continue:hover {
  border-color: rgb(251 191 36 / 80%);
  background: #fbbf24;
}

.result-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.result-panel h2 {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
  line-height: 0.9;
  text-transform: uppercase;
}

.result-panel-heading > div > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-top: 12px;
  padding: 0 10px;
  border: 1px solid rgb(248 113 113 / 44%);
  border-radius: 999px;
  color: #fecaca;
  background: rgb(127 29 29 / 34%);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.result-new-fight,
.result-panel-dismiss {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  color: #ffffff;
  background: rgb(255 255 255 / 8%);
  font-size: 0.78rem;
  font-weight: 950;
  font-family: inherit;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.result-new-fight:hover,
.result-panel-dismiss:hover {
  border-color: rgb(248 113 113 / 52%);
  background: rgb(220 38 38 / 24%);
}

.result-panel-dismiss {
  border-color: rgb(96 165 250 / 34%);
  color: #dbeafe;
  background: rgb(37 99 235 / 14%);
}

.result-panel-dismiss:hover {
  border-color: rgb(147 197 253 / 62%);
  background: rgb(37 99 235 / 24%);
}

.result-new-fight svg,
.result-panel-dismiss svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.8;
}

.result-panel-body {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.45fr);
  gap: 14px;
  align-items: start;
}

.result-fighters {
  display: grid;
  grid-column: 1;
  gap: 8px;
}

.result-fighter-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 10px;
  background: rgb(255 255 255 / 6%);
}

.result-fighter-card--winner {
  border-color: rgb(250 204 21 / 42%);
  background: rgb(113 63 18 / 22%);
}

.result-fighter-card > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  color: #facc15;
  background: rgb(250 204 21 / 12%);
}

.result-fighter-card:not(.result-fighter-card--winner) > span {
  color: #94a3b8;
  background: rgb(148 163 184 / 12%);
}

.result-fighter-card svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.6;
}

.result-fighter-card small {
  display: block;
  color: #a1a1aa;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-fighter-card strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1;
  gap: 8px;
  margin: 0;
}

.result-stats div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 9px;
  background: rgb(255 255 255 / 6%);
}

.result-stats dt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a1a1aa;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-stats dt svg {
  width: 13px;
  height: 13px;
  color: #ef4444;
  stroke-width: 2.8;
}

.result-stats dd {
  margin: 7px 0 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-achievement-panel {
  display: grid;
  grid-column: 1;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgb(34 197 94 / 26%);
  border-radius: 10px;
  background:
    radial-gradient(circle at 8% 0%, rgb(34 197 94 / 16%), transparent 32%),
    rgb(20 83 45 / 18%);
  box-shadow: inset 4px 0 0 rgb(34 197 94 / 74%);
}

.result-achievement-panel header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.result-achievement-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-achievement-panel header > strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgb(74 222 128 / 38%);
  border-radius: 8px;
  color: #bbf7d0;
  background: rgb(22 101 52 / 30%);
  font-size: 0.9rem;
  font-weight: 950;
}

.result-achievement-panel header > strong svg {
  width: 15px;
  height: 15px;
}

.result-achievement-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.result-achievement-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 8px;
  background: rgb(0 0 0 / 20%);
}

.result-achievement-icon {
  display: grid;
  width: 46px;
  height: 46px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgb(74 222 128 / 26%);
  border-radius: 8px;
  color: #86efac;
  background: rgb(22 101 52 / 22%);
}

.result-achievement-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.result-achievement-icon svg {
  width: 20px;
  height: 20px;
}

.result-achievement-copy {
  min-width: 0;
}

.result-achievement-copy > strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-achievement-copy > small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #a7f3d0;
  font-size: 0.62rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.result-achievement-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.result-achievement-rewards span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  border: 1px solid rgb(250 204 21 / 28%);
  border-radius: 999px;
  color: #fef3c7;
  background: rgb(250 204 21 / 10%);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-achievement-rewards svg {
  width: 12px;
  height: 12px;
}

.result-achievement-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgb(74 222 128 / 28%);
  border-radius: 8px;
  color: #bbf7d0;
  background: rgb(22 101 52 / 18%);
  font-size: 0.68rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.result-achievement-link:hover {
  border-color: rgb(134 239 172 / 48%);
  background: rgb(22 101 52 / 30%);
}

.result-achievement-link svg {
  width: 14px;
  height: 14px;
}

.result-xp-panel {
  display: grid;
  grid-row: 1 / span 2;
  grid-column: 2;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 10px;
  background: rgb(255 255 255 / 6%);
}

.result-xp-panel header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.result-xp-panel h3 {
  margin: 0;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-xp-panel header > strong {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgb(250 204 21 / 40%);
  border-radius: 8px;
  color: #fef3c7;
  background: rgb(113 63 18 / 32%);
  font-size: 0.92rem;
  font-weight: 950;
}

.result-xp-panel header > strong svg {
  width: 15px;
  height: 15px;
  color: #facc15;
}

.result-xp-modifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-xp-modifiers span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 7px;
  color: #d4d4d8;
  background: rgb(0 0 0 / 20%);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-grade-progress {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgb(250 204 21 / 26%);
  border-radius: 8px;
  background: rgb(113 63 18 / 16%);
}

.result-grade-progress--level-up {
  border-color: rgb(250 204 21 / 52%);
  background:
    radial-gradient(circle at 8% 0%, rgb(250 204 21 / 18%), transparent 30%),
    rgb(113 63 18 / 24%);
  box-shadow:
    inset 4px 0 0 #facc15,
    0 0 26px rgb(250 204 21 / 12%);
  animation: gradeUnlockPulse 1.25s ease-out both;
}

.result-grade-progress--belt-up {
  border-color: rgb(59 130 246 / 58%);
  background:
    radial-gradient(circle at 8% 0%, rgb(59 130 246 / 22%), transparent 32%),
    rgb(30 64 175 / 20%);
  box-shadow:
    inset 4px 0 0 #3b82f6,
    0 0 30px rgb(59 130 246 / 16%);
}

.result-grade-celebration {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid rgb(250 204 21 / 34%);
  border-radius: 10px;
  background:
    radial-gradient(circle at 14% 0%, rgb(250 204 21 / 28%), transparent 38%),
    linear-gradient(110deg, rgb(250 204 21 / 18%), rgb(0 0 0 / 0%) 58%),
    rgb(0 0 0 / 18%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
  animation: gradeUnlockPop 0.42s ease-out 0.16s both;
}

.result-grade-celebration::before {
  position: absolute;
  inset: -30% auto -30% -28%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 34%), transparent);
  content: "";
  transform: skewX(-18deg);
}

.result-grade-progress--level-up .result-grade-celebration::before {
  animation: gradeUnlockSweep 1.35s ease-out 0.32s both;
}

.result-grade-progress--belt-up .result-grade-celebration {
  border-color: rgb(96 165 250 / 40%);
  background:
    radial-gradient(circle at 14% 0%, rgb(59 130 246 / 30%), transparent 38%),
    linear-gradient(110deg, rgb(59 130 246 / 20%), rgb(0 0 0 / 0%) 58%),
    rgb(0 0 0 / 20%);
}

.result-grade-celebration-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.result-grade-celebration-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgb(250 204 21 / 42%);
  border-radius: 999px;
  color: #facc15;
  background: rgb(250 204 21 / 14%);
  box-shadow: 0 0 18px rgb(250 204 21 / 22%);
  animation: gradeUnlockEmblem 0.78s cubic-bezier(0.2, 0.88, 0.2, 1.18) 0.28s both;
}

.result-grade-progress--belt-up .result-grade-celebration-icon {
  border-color: rgb(96 165 250 / 46%);
  color: #93c5fd;
  background: rgb(59 130 246 / 16%);
  box-shadow: 0 0 18px rgb(59 130 246 / 24%);
}

.result-grade-celebration .result-grade-celebration-icon svg {
  width: 18px;
  height: 18px;
}

.result-grade-celebration .result-grade-celebration-kicker {
  display: block;
  margin: 0 0 2px;
  color: #facc15;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.result-grade-celebration strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1rem, 2.6vw, 1.42rem);
  font-weight: 950;
  line-height: 0.95;
  text-transform: uppercase;
}

.result-grade-celebration .result-grade-celebration-copy small {
  display: block;
  margin-top: 4px;
  color: #fef3c7;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-grade-progress--belt-up .result-grade-celebration .result-grade-celebration-kicker,
.result-grade-progress--belt-up .result-grade-celebration .result-grade-celebration-copy small {
  color: #bfdbfe;
}

.result-grade-belt-transition {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.result-grade-belt-state {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.result-grade-belt-state > span {
  color: #a1a1aa;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-grade-belt-state--after > span {
  color: #fef3c7;
}

.result-grade-progress--belt-up .result-grade-belt-state--after > span {
  color: #bfdbfe;
}

.result-grade-belt-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgb(250 204 21 / 30%);
  border-radius: 999px;
  color: #facc15;
  background: rgb(0 0 0 / 24%);
  animation: gradeUnlockArrow 0.62s ease-out 0.52s both;
}

.result-grade-progress--belt-up .result-grade-belt-arrow {
  border-color: rgb(96 165 250 / 34%);
  color: #93c5fd;
}

.result-grade-belt {
  --result-belt-highlight: color-mix(in srgb, var(--result-belt-base) 72%, #ffffff);
  --result-belt-shadow: color-mix(in srgb, var(--result-belt-base) 82%, #000000);
  --result-belt-border: rgb(255 255 255 / 28%);
  --result-belt-zone-base: #111827;
  --result-belt-zone-highlight: #1f2937;
  position: relative;
  min-height: 42px;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%)),
    rgb(2 6 23 / 54%);
}

.result-grade-belt--before {
  opacity: 0.56;
  filter: saturate(0.7);
}

.result-grade-belt--after {
  animation: gradeBeltReveal 0.78s cubic-bezier(0.16, 0.92, 0.22, 1) 0.36s both;
}

.result-grade-belt--black {
  --result-belt-zone-highlight: #991b1b;
  --result-belt-zone-base: #7f1d1d;
}

.result-grade-belt-main {
  position: absolute;
  top: 50%;
  right: 9px;
  left: 9px;
  height: 19px;
  border: 1px solid var(--result-belt-border);
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--result-belt-highlight), var(--result-belt-base) 52%, var(--result-belt-shadow)),
    var(--result-belt-base);
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 15%),
    0 8px 18px rgb(0 0 0 / 30%);
  transform: translateY(-50%);
}

.result-grade-belt-zone {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 48%;
  max-width: 86px;
  height: 19px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, var(--result-belt-zone-highlight), var(--result-belt-zone-base)),
    var(--result-belt-zone-base);
  box-shadow: 0 7px 16px rgb(0 0 0 / 40%);
  transform: translateY(-50%);
}

.result-grade-belt-stripes {
  display: grid;
  grid-template-columns: repeat(4, 5px);
  gap: 3px;
}

.result-grade-belt-stripe {
  width: 5px;
  height: 19px;
  border-radius: 1px;
}

.result-grade-belt-stripe--active {
  background:
    linear-gradient(180deg, #ffffff, #e2e8f0),
    #ffffff;
  box-shadow:
    inset 0 0 0 1px #ffffff,
    0 0 12px rgb(255 255 255 / 30%);
}

.result-grade-belt-stripe--new {
  animation: gradeStripeInstall 0.88s cubic-bezier(0.16, 0.92, 0.22, 1.12) calc(0.72s + var(--stripe-delay, 0ms)) both;
}

.result-grade-progress header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.result-grade-progress header div,
.result-grade-progress header strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-grade-progress header span {
  color: #facc15;
}

.result-grade-progress svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.8;
}

.result-grade-unlocks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.result-grade-unlocks span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  border: 1px solid rgb(250 204 21 / 30%);
  border-radius: 999px;
  color: #fef3c7;
  background: rgb(250 204 21 / 10%);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-grade-progress-track {
  display: block;
  height: 7px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  background: rgb(0 0 0 / 28%);
}

.result-grade-progress-track span {
  display: block;
  width: var(--grade-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dc2626, #facc15);
  box-shadow: 0 0 16px rgb(250 204 21 / 34%);
}

.result-grade-progress--level-up .result-grade-progress-track span {
  animation: gradeUnlockTrack 0.9s ease-out both;
}

.result-grade-progress--belt-up .result-grade-progress-track span {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  box-shadow: 0 0 18px rgb(59 130 246 / 40%);
}

.result-grade-progress small {
  color: #d4d4d8;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes gradeUnlockPulse {
  0% {
    transform: scale(0.985);
    filter: brightness(1);
  }

  45% {
    transform: scale(1.012);
    filter: brightness(1.18);
  }

  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes gradeUnlockPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gradeUnlockTrack {
  0% {
    filter: brightness(1);
    box-shadow: 0 0 0 rgb(250 204 21 / 0%);
  }

  55% {
    filter: brightness(1.3);
    box-shadow: 0 0 22px rgb(250 204 21 / 46%);
  }

  100% {
    filter: brightness(1);
  }
}

@keyframes gradeUnlockSweep {
  0% {
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(360%) skewX(-18deg);
  }
}

@keyframes gradeUnlockEmblem {
  0% {
    opacity: 0;
    transform: scale(0.72) rotate(-10deg);
  }

  58% {
    opacity: 1;
    transform: scale(1.12) rotate(4deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes gradeUnlockArrow {
  0% {
    opacity: 0;
    transform: translateX(-8px) scale(0.86);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes gradeBeltReveal {
  0% {
    opacity: 0;
    filter: brightness(1);
    transform: translateY(8px) scale(0.96);
  }

  46% {
    opacity: 1;
    filter: brightness(1.4);
    transform: translateY(0) scale(1.04);
  }

  100% {
    opacity: 1;
    filter: brightness(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes gradeStripeInstall {
  0% {
    opacity: 0;
    box-shadow: 0 0 0 rgb(255 255 255 / 0%);
    transform: translateY(-20px) scaleY(1.45);
  }

  48% {
    opacity: 1;
    box-shadow:
      inset 0 0 0 1px #ffffff,
      0 0 22px rgb(255 255 255 / 72%);
    transform: translateY(2px) scaleY(1.08);
  }

  100% {
    opacity: 1;
    box-shadow:
      inset 0 0 0 1px #ffffff,
      0 0 12px rgb(255 255 255 / 30%);
    transform: translateY(0) scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-grade-progress--level-up,
  .result-grade-progress--level-up .result-grade-celebration::before,
  .result-grade-celebration,
  .result-grade-celebration-icon,
  .result-grade-belt-arrow,
  .result-grade-belt--after,
  .result-grade-belt-stripe--new,
  .result-grade-progress--level-up .result-grade-progress-track span {
    animation: none;
  }
}

.result-xp-list {
  display: grid;
  gap: 7px;
  max-height: 300px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.result-xp-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background: rgb(0 0 0 / 18%);
}

.result-xp-list li.result-xp-row--level-up {
  border-color: rgb(250 204 21 / 48%);
  background: rgb(113 63 18 / 24%);
  box-shadow: inset 4px 0 0 #facc15;
}

.result-xp-list strong {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 950;
}

.result-xp-list small {
  display: block;
  margin-top: 2px;
  color: #a1a1aa;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.result-xp-gain {
  min-width: 110px;
  text-align: right;
}

.result-xp-level-up,
.result-xp-level-max {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-top: 5px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-xp-level-up {
  color: #fef3c7;
  background: rgb(180 83 9 / 42%);
}

.result-xp-level-max {
  color: #bfdbfe;
  background: rgb(30 64 175 / 42%);
}

.result-xp-effects {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 6px;
}

.result-xp-effects span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 5px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 6px;
  color: #d4d4d8;
  background: rgb(255 255 255 / 6%);
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-xp-effects svg {
  width: 12px;
  height: 12px;
}

.result-xp-effects .is-improved {
  border-color: rgb(34 197 94 / 34%);
  color: #bbf7d0;
  background: rgb(22 101 52 / 22%);
}

.result-xp-effects .is-weaker {
  border-color: rgb(248 113 113 / 34%);
  color: #fecaca;
  background: rgb(127 29 29 / 22%);
}

.result-xp-empty {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.78rem;
  font-weight: 800;
}

.fight-stage {
  position: relative;
  display: grid;
  grid-template:
    "player visual ai" minmax(128px, 180px)
    "player log ai" minmax(0, 1fr)
    "actions actions actions" auto / minmax(220px, 285px) minmax(280px, 1fr) minmax(220px, 285px);
  gap: 10px;
  height: 100%;
  min-height: 0;
  padding: 10px;
  border: 1px solid #c8d1d8;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 36%) 1px, transparent 1px),
    linear-gradient(0deg, rgb(255 255 255 / 36%) 1px, transparent 1px),
    var(--mat);
  background-size: 44px 44px;
}

.countdown-overlay {
  position: absolute;
  inset: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgb(15 23 42 / 62%);
  font-size: clamp(3rem, 13vw, 7rem);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.countdown-overlay[hidden] {
  display: none;
}

.submission-check-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 18px;
  padding: 18px 22px;
  color: #ffffff;
  background: rgb(15 23 42 / 76%);
}

.fight-arena-screen > .submission-check-overlay {
  z-index: 9;
  padding: clamp(18px, 2.2vw, 34px);
  background:
    radial-gradient(circle at 50% 48%, rgb(15 23 42 / 34%), rgb(0 0 0 / 72%) 72%),
    rgb(2 6 23 / 48%);
  backdrop-filter: blur(3px);
}

.submission-check-card {
  justify-self: center;
  align-self: center;
  display: grid;
  min-width: 220px;
  justify-items: center;
  gap: 8px;
  padding: 18px 22px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(15 23 42 / 84%);
  box-shadow: 0 18px 50px rgb(0 0 0 / 30%);
}

.submission-check-card h2 {
  max-width: 320px;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.25rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.submission-countdown {
  display: grid;
  min-width: 72px;
  min-height: 56px;
  place-items: center;
  border-radius: 8px;
  color: #facc15;
  background: #111827;
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.submission-check-lanes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.submission-lane {
  display: grid;
  gap: 8px;
}

.submission-lane-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.submission-lane-heading strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.submission-lane-heading span,
.submission-lane output {
  color: #e5e7eb;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.submission-lane output {
  justify-self: center;
  min-width: 42px;
  min-height: 24px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.submission-track {
  position: relative;
  height: 26px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 4px;
  background:
    linear-gradient(
      90deg,
      #dc2626 0%,
      #dc2626 calc(50% - var(--zone-half) - 8%),
      #f59e0b calc(50% - var(--zone-half)),
      #22c55e 50%,
      #f59e0b calc(50% + var(--zone-half)),
      #dc2626 calc(50% + var(--zone-half) + 8%),
      #dc2626 100%
    );
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 16%);
}

.submission-track::after {
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: 50%;
  width: 2px;
  background: #ffffff;
  content: "";
  transform: translateX(-50%);
}

.submission-cursor {
  position: absolute;
  top: -11px;
  bottom: -11px;
  width: 0;
  transform: translateX(-50%);
}

.submission-check-overlay--resolved .submission-cursor {
  transition: left 180ms ease-out;
}

.submission-cursor::before,
.submission-cursor::after {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.submission-cursor::before {
  top: 0;
  border-top: 0;
  border-bottom: 10px solid #ffffff;
}

.submission-cursor::after {
  bottom: 0;
  border-top: 10px solid #ffffff;
  border-bottom: 0;
}

.submission-push-button {
  min-width: 112px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #65a30d;
  border-radius: 6px;
  color: #1f2937;
  background: #84cc16;
  box-shadow: 0 8px 0 #3f6212;
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.submission-push-button:active {
  box-shadow: 0 3px 0 #3f6212;
  transform: translateY(5px);
}

.submission-push-button:disabled {
  color: #365314;
  background: #a3e635;
  cursor: default;
  opacity: 0.8;
}

.player-control {
  display: contents;
}

.resource-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 12px;
}

.resource-panel--player {
  grid-area: player;
  border-top: 5px solid var(--player);
}

.resource-panel--ai {
  grid-area: ai;
  border-top: 5px solid var(--ai);
}

.fight-position-visual {
  grid-area: visual;
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  background:
    radial-gradient(circle at center, rgb(255 255 255 / 14%), transparent 62%),
    #0f172a;
}

.fight-position-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 5px 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: #ffffff;
  background: rgb(55 65 81 / 88%);
  box-shadow: 0 6px 18px rgb(15 23 42 / 22%);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.fight-position-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 164px;
  object-fit: contain;
  object-position: center;
}

.fight-position-visual-empty {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-align: center;
}

.fight-position-visual-empty strong {
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.fight-position-visual-empty span {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 800;
}

.fight-opposition-board {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(240px, 280px) minmax(180px, 220px);
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: min(820px, calc(100% - 28px));
  padding: 16px;
  border: 1px solid rgb(15 23 42 / 18%);
  border-radius: 8px;
  background: rgb(15 23 42 / 82%);
  box-shadow: 0 24px 70px rgb(15 23 42 / 38%);
  transform: translate(-50%, -50%);
  animation: opposition-board-in 180ms ease-out both;
}

.fight-arena-screen > .fight-opposition-board {
  top: 52%;
  z-index: 6;
  width: min(900px, calc(100vw - 64px));
  border-color: rgb(255 255 255 / 16%);
  background: rgb(2 6 23 / 78%);
  box-shadow:
    0 30px 90px rgb(0 0 0 / 52%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
  backdrop-filter: blur(14px);
}

.fight-opposition-board[hidden] {
  display: none;
}

.fight-opposition-board--pending {
  border-color: rgb(245 158 11 / 60%);
}

.fight-opposition-board--resolved {
  border-color: rgb(255 255 255 / 20%);
}

.fight-opposition-slot {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  background: rgb(255 255 255 / 7%);
}

.fight-opposition-slot::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  content: "";
}

.fight-opposition-slot--player {
  animation: opposition-slide-player 360ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.fight-opposition-slot--ai {
  animation: opposition-slide-ai 360ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.fight-opposition-slot--winner {
  border-color: #86efac;
  background: rgb(22 101 52 / 26%);
}

.fight-opposition-slot--loser {
  border-color: #fca5a5;
  background: rgb(127 29 29 / 26%);
  opacity: 0.72;
}

.fight-opposition-slot--pending {
  border-color: #fbbf24;
}

.fight-opposition-slot--draw {
  border-color: #cbd5e1;
}

.fight-opposition-board--resolved .fight-opposition-slot--winner::after {
  background: rgb(34 197 94 / 30%);
  animation: opposition-state-flash 820ms ease-out 420ms both;
}

.fight-opposition-board--resolved .fight-opposition-slot--loser::after {
  background: rgb(239 68 68 / 28%);
  animation: opposition-state-flash 820ms ease-out 420ms both;
}

.fight-opposition-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.fight-opposition-label span,
.fight-opposition-label strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fight-opposition-label span {
  color: #cbd5e1;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fight-opposition-label strong {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fight-opposition-outcome {
  display: grid;
  min-height: 28px;
  place-items: center;
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 7px;
  color: #ffffff;
  background: rgb(15 23 42 / 76%);
  font-size: 0.72rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.fight-opposition-card .technique-card {
  min-height: 236px;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  box-shadow: none;
}

.fight-opposition-card .technique-card-topline {
  gap: 4px;
}

.fight-opposition-card .technique-card-category,
.fight-opposition-card .technique-card-belt {
  font-size: 0.56rem;
}

.fight-opposition-card .technique-card-category svg {
  width: 12px;
  height: 12px;
}

.fight-opposition-card .technique-card h3 {
  font-size: 0.92rem;
}

.fight-opposition-card .technique-card-media {
  width: min(68%, 104px);
}

.fight-opposition-card .technique-card-context {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: center;
}

.fight-opposition-card .technique-card-context span {
  min-height: 24px;
  padding: 5px 6px;
  font-size: 0.58rem;
  white-space: nowrap;
}

.fight-opposition-card .technique-card-context svg {
  width: 12px;
  height: 12px;
}

.fight-opposition-card .technique-card-stat-chip strong {
  font-size: 0.64rem;
}

.fight-opposition-card .technique-card-metrics {
  gap: 4px;
}

.fight-opposition-card .technique-card-metric {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 50px;
  padding: 5px 2px;
  overflow: hidden;
}

.fight-opposition-card .technique-card-metric svg {
  width: 13px;
  height: 13px;
}

.fight-opposition-card .technique-card-metric span {
  font-size: 0.52rem;
}

.fight-opposition-card .technique-card-metric strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.74rem;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fight-opposition-empty {
  display: grid;
  min-height: 236px;
  place-items: center;
  padding: 12px;
  border: 1px dashed rgb(255 255 255 / 20%);
  border-radius: 8px;
  color: #cbd5e1;
  background: rgb(15 23 42 / 62%);
  font-size: 0.72rem;
  font-weight: 850;
  text-align: center;
}

.fight-opposition-center {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #ffffff;
  text-align: center;
}

.fight-opposition-board--resolved .fight-opposition-center {
  padding-top: 24px;
}

.fight-opposition-outcome-letter {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  color: #e5e7eb;
  font-size: clamp(4.2rem, 7vw, 7rem);
  font-weight: 950;
  line-height: 0.82;
  opacity: 0;
  pointer-events: none;
  text-shadow:
    0 8px 26px rgb(0 0 0 / 62%),
    0 0 18px rgb(255 255 255 / 18%);
  transform: translate(-50%, 8px) scale(0.62);
  will-change: opacity, transform;
}

.fight-opposition-outcome-letter--b {
  color: #e5e7eb;
}

.fight-opposition-outcome-letter--a {
  color: #60a5fa;
  text-shadow:
    0 8px 26px rgb(0 0 0 / 62%),
    0 0 22px rgb(96 165 250 / 54%);
}

.fight-opposition-outcome-letter--s {
  color: #fbbf24;
  text-shadow:
    0 8px 26px rgb(0 0 0 / 66%),
    0 0 20px rgb(251 191 36 / 72%),
    0 0 34px rgb(239 68 68 / 44%);
}

.fight-opposition-board--resolved .fight-opposition-outcome-letter {
  animation: opposition-outcome-letter-rise 1120ms cubic-bezier(0.16, 0.92, 0.22, 1) 180ms both;
}

.fight-opposition-vs {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 10px 30px rgb(0 0 0 / 24%);
  font-size: 1.25rem;
  font-weight: 950;
  animation: opposition-vs-pulse 900ms ease-in-out 2;
}

.fight-opposition-effect-empty,
.fight-opposition-effect-list {
  max-width: 260px;
  margin: 0;
}

.fight-opposition-effect-empty {
  padding: 8px 10px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
  font-weight: 900;
  line-height: 1.25;
}

.fight-opposition-effect-list {
  display: grid;
  gap: 5px;
  width: min(100%, 270px);
  padding: 0;
  list-style: none;
}

.fight-opposition-effect {
  padding: 6px 8px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
  color: #e5e7eb;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.fight-opposition-effect--positive {
  border-color: rgb(74 222 128 / 34%);
  background: rgb(34 197 94 / 12%);
  color: #86efac;
}

.fight-opposition-effect--negative {
  border-color: rgb(248 113 113 / 34%);
  background: rgb(239 68 68 / 12%);
  color: #fca5a5;
}

.fight-opposition-scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 260px);
}

.fight-opposition-score-chip {
  display: inline-flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 8px;
  color: #ffffff;
  background: rgb(255 255 255 / 12%);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  animation: opposition-value-rise 460ms ease-out both;
}

.fight-opposition-score-chip:nth-child(2) {
  animation-delay: 120ms;
}

.fight-opposition-score-chip svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.fight-opposition-score-chip strong {
  overflow: visible;
  white-space: nowrap;
}

.fight-opposition-score-chip--textual {
  gap: 6px;
  padding: 8px 9px;
}

.fight-opposition-score-chip--textual strong {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.fight-opposition-score-chip--attack svg {
  color: #f97316;
}

.fight-opposition-score-chip--defense svg {
  color: #60a5fa;
}

.fight-opposition-board--resolved .fight-opposition-score-chip.log-metric--winner {
  border-color: #86efac;
  color: #dcfce7;
  background: rgb(22 101 52 / 42%);
}

.fight-opposition-board--resolved .fight-opposition-score-chip.log-metric--loser {
  border-color: #fca5a5;
  color: #fee2e2;
  background: rgb(127 29 29 / 42%);
}

.fight-opposition-matchup {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  max-width: 260px;
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  color: #e5e7eb;
  background: rgb(15 23 42 / 70%);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.fight-opposition-matchup--hard-counter {
  border-color: #86efac;
  color: #bbf7d0;
  background: rgb(22 101 52 / 34%);
}

.fight-opposition-matchup--soft-counter {
  border-color: #67e8f9;
  color: #cffafe;
  background: rgb(8 145 178 / 34%);
}

.fight-opposition-matchup--neutral,
.fight-opposition-matchup--none,
.fight-opposition-matchup--pending {
  border-color: #cbd5e1;
  color: #e5e7eb;
  background: rgb(100 116 139 / 34%);
}

.fight-opposition-matchup--bad-counter {
  border-color: #fed7aa;
  color: #ffedd5;
  background: rgb(194 65 12 / 34%);
}

.fight-opposition-matchup--terrible-counter {
  border-color: #fca5a5;
  color: #fee2e2;
  background: rgb(185 28 28 / 36%);
}

.fight-opposition-player-position {
  display: grid;
  gap: 4px;
  width: min(100%, 260px);
  padding: 9px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 8px;
  background: rgb(17 24 39 / 82%);
}

.fight-opposition-player-position span {
  color: #cbd5e1;
  font-size: 0.58rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fight-opposition-player-position strong {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.1;
}

.fight-opposition-effect-empty {
  color: #ffffff;
  font-size: 0.88rem;
}

@keyframes opposition-board-in {
  from {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes opposition-slide-player {
  from {
    opacity: 0;
    transform: translateX(-26px) rotate(-1deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes opposition-slide-ai {
  from {
    opacity: 0;
    transform: translateX(26px) rotate(1deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes opposition-vs-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes opposition-value-rise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes opposition-state-flash {
  0% {
    opacity: 0;
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes opposition-outcome-letter-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, 10px) scale(0.62);
  }

  18% {
    opacity: 1;
    transform: translate(-50%, 0) scale(0.92);
  }

  48% {
    opacity: 1;
    transform: translate(-50%, -18px) scale(1.34);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -44px) scale(1.42);
  }
}

@keyframes opposition-outcome-letter-rise-mobile {
  0% {
    opacity: 0;
    transform: translateY(5px) scale(0.78);
  }

  32% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fight-opposition-board,
  .fight-opposition-slot--player,
  .fight-opposition-slot--ai,
  .fight-opposition-vs,
  .fight-opposition-score-chip,
  .fight-opposition-board--resolved .fight-opposition-outcome-letter,
  .fight-opposition-board--resolved .fight-opposition-slot::after {
    animation: none;
  }

  .fight-opposition-board--resolved .fight-opposition-outcome-letter {
    opacity: 1;
    transform: translate(-50%, -44px) scale(1.42);
  }
}

.resource-heading,
.combat-log-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.atb-meter {
  display: grid;
  gap: 6px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 900;
}

.meter-track {
  height: 14px;
  overflow: hidden;
  border: 1px solid #b8c4ce;
  border-radius: 999px;
  background: #dbe3ea;
}

.meter-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--atb), var(--atb-ready));
}

.compact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.compact-stats div {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.compact-stats dt {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-stats dd {
  margin: 2px 0 0;
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
  font-weight: 950;
}

.combat-log {
  grid-area: log;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 12px;
}

.combat-log-heading strong {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #0f172a;
  font-size: 0.75rem;
}

.log-mode-controls {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.log-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #475569;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: none;
  cursor: pointer;
}

.log-toggle input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #0f172a;
}

.log-list {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.log-entry {
  display: flex;
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.log-entry--state-pending {
  border-color: #f59e0b;
  background: #fffbeb;
}

.log-entry--state-success {
  border-color: #86efac;
  background: #f0fdf4;
}

.log-entry--state-failed {
  border-color: #fda4af;
  background: #fff1f2;
}

.log-entry--player {
  box-shadow: inset 4px 0 0 var(--player);
}

.log-entry--ai {
  box-shadow: inset -4px 0 0 var(--ai);
}

.log-entry--missed-reaction {
  background: #fff1f2;
}

.log-entry--fight-ended {
  border-color: #0f172a;
  background: #eef2ff;
}

.log-entry time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 900;
}

.log-body {
  min-width: 0;
}

.log-action-name,
.log-summary,
.log-gameplay-summary {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-action-name {
  color: #111827;
  font-size: 0.86rem;
  font-weight: 950;
  white-space: nowrap;
}

.log-summary {
  line-height: 1.3;
}

.log-summary,
.log-effects,
.log-gameplay-costs,
.log-empty {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.log-effects,
.log-gameplay-costs {
  max-width: 220px;
  line-height: 1.3;
  text-align: right;
}

.log-gameplay-summary,
.log-gameplay-costs {
  display: none;
}

.log-gameplay-summary {
  color: #111827;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.combat-log--gameplay .log-entry {
  grid-template-columns: 42px minmax(0, 1fr) minmax(240px, auto);
  gap: 8px;
  padding: 7px 8px;
}

.combat-log--gameplay .log-action-name,
.combat-log--gameplay .log-summary,
.combat-log--gameplay .log-effects {
  display: none;
}

.combat-log--gameplay .log-gameplay-summary,
.combat-log--gameplay .log-gameplay-costs {
  display: block;
}

.combat-log--gameplay .log-gameplay-costs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}

.log-gameplay-cost {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.log-gameplay-cost svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.log-gameplay-cost[title="ATB"] svg {
  color: #0284c7;
}

.log-gameplay-cost[title="fatigue"] svg {
  color: #ca8a04;
}

.log-gameplay-cost[title="cible"] svg {
  color: #dc2626;
}

.log-gameplay-cost[title="score"] svg {
  color: #7c3aed;
}

.log-gameplay-cost[title="bonus defense"] svg,
.log-gameplay-cost--neutral svg {
  color: #64748b;
}

.log-gameplay-cost--positive svg {
  color: #16a34a;
}

.log-gameplay-cost--negative svg {
  color: #dc2626;
}

.log-metrics {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin-left: 4px;
  vertical-align: middle;
}

.log-metric-chip,
.log-delta {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 6px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.log-metric--winner {
  border-color: #86efac;
  color: #166534;
  background: #dcfce7;
}

.log-metric--loser {
  border-color: #fecaca;
  color: #991b1b;
  background: #fee2e2;
}

.log-metric--neutral,
.log-delta--draw,
.log-delta--neutral {
  border-color: #cbd5e1;
  color: #475569;
  background: #f8fafc;
}

.log-delta {
  border-width: 2px;
  font-size: 0.74rem;
}

.log-delta--offense {
  border-color: #22c55e;
  color: #14532d;
  background: #bbf7d0;
}

.log-delta--defense {
  border-color: #ef4444;
  color: #7f1d1d;
  background: #fecaca;
}

.log-debug,
.log-raw-details {
  grid-column: 1 / -1;
  display: none;
}

.log-debug {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}

.combat-log--full .log-debug {
  display: grid;
}

.combat-log--full .log-raw-details {
  display: block;
}

.log-debug-section {
  min-width: 0;
  padding: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #ffffff;
}

.log-debug-section h4 {
  margin: 0 0 4px;
  color: #334155;
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.log-debug-section table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.log-debug-section th,
.log-debug-section td {
  padding: 2px 0;
  vertical-align: top;
  color: #475569;
  font-size: 0.64rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.log-debug-section th {
  width: 38%;
  padding-right: 6px;
  color: #64748b;
  font-weight: 900;
  text-align: left;
}

.log-debug-section td {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 700;
}

.log-raw-details {
  color: #475569;
  font-size: 0.66rem;
  font-weight: 800;
}

.log-raw-details summary {
  cursor: pointer;
}

.log-raw-details pre {
  max-height: 180px;
  overflow: auto;
  margin: 6px 0 0;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #0f172a;
  background: #ffffff;
  font-size: 0.62rem;
  line-height: 1.35;
  white-space: pre-wrap;
}

.log-empty {
  display: grid;
  min-height: 140px;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.combat-log--arena {
  --arena-collapsed-panel-width: 124px;
  --arena-collapsed-panel-height: 54px;

  grid-area: auto;
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 4;
  width: min(440px, calc(100vw - 56px));
  height: min(28vh, 280px);
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 10px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgb(15 23 42 / 78%), rgb(2 6 23 / 88%)),
    rgb(2 6 23 / 72%);
  box-shadow:
    0 20px 48px rgb(0 0 0 / 42%),
    inset 0 1px 0 rgb(255 255 255 / 9%);
  backdrop-filter: blur(12px);
}

.combat-log--arena.combat-log--full {
  grid-column: 1 / 3;
  width: min(620px, calc(100vw - 56px));
  height: min(42vh, 440px);
}

.combat-log--arena.combat-log--collapsed {
  align-content: center;
  width: min(var(--arena-collapsed-panel-width), calc(100vw - 56px));
  height: var(--arena-collapsed-panel-height);
  min-width: 0;
  padding: 8px;
  gap: 0;
  grid-template-rows: auto;
}

.combat-log--arena .combat-log-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  color: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.combat-log--arena .combat-log-heading > span {
  color: #ffffff;
  white-space: nowrap;
}

.combat-log--arena .combat-log-heading strong {
  min-width: 22px;
  height: 22px;
  color: #ffffff;
  background: rgb(239 68 68 / 70%);
  font-size: 0.68rem;
  box-shadow: 0 0 16px rgb(239 68 68 / 22%);
}

.combat-log-visibility {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  color: #e5e7eb;
  background: rgb(255 255 255 / 7%);
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.combat-log-visibility:hover {
  border-color: rgb(248 113 113 / 46%);
  color: #ffffff;
  background: rgb(239 68 68 / 18%);
}

.combat-log-visibility svg {
  width: 13px;
  height: 13px;
  color: #f87171;
  stroke-width: 2.6;
}

.combat-log--arena .log-mode-controls {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 5px;
  justify-content: end;
  min-width: 0;
  overflow: hidden;
}

.combat-log--arena .log-toggle {
  flex: 0 1 auto;
  gap: 4px;
  min-width: 0;
  color: #a3a3a3;
  font-size: 0.56rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.combat-log--arena .log-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.combat-log--arena .log-toggle input {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  accent-color: #ef4444;
}

.combat-log--arena .log-list {
  gap: 5px;
  padding-right: 4px;
  scrollbar-color: rgb(239 68 68 / 44%) transparent;
}

.combat-log--arena .log-entry {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 7px;
  padding: 7px;
  border-color: rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 6%);
  box-shadow: none;
}

.combat-log--arena .log-entry--state-pending {
  border-color: rgb(245 158 11 / 58%);
  background: rgb(120 53 15 / 32%);
}

.combat-log--arena .log-entry--state-success {
  border-color: rgb(34 197 94 / 46%);
  background: rgb(20 83 45 / 28%);
}

.combat-log--arena .log-entry--state-failed,
.combat-log--arena .log-entry--missed-reaction {
  border-color: rgb(248 113 113 / 46%);
  background: rgb(127 29 29 / 30%);
}

.combat-log--arena .log-entry--player {
  box-shadow: inset 3px 0 0 #3b82f6;
}

.combat-log--arena .log-entry--ai {
  box-shadow: inset -3px 0 0 #ef4444;
}

.combat-log--arena .log-entry time {
  color: #a3a3a3;
  font-size: 0.66rem;
}

.combat-log--arena .log-action-name,
.combat-log--arena .log-gameplay-summary {
  color: #ffffff;
}

.combat-log--arena .log-summary,
.combat-log--arena .log-effects,
.combat-log--arena .log-gameplay-costs,
.combat-log--arena .log-empty {
  color: #a3a3a3;
}

.combat-log--arena .log-gameplay-summary {
  font-size: 0.76rem;
}

.combat-log--arena .log-gameplay-costs {
  max-width: 100%;
  text-align: left;
}

.combat-log--arena .log-entry > .log-effects {
  grid-column: 2;
  text-align: left;
}

.combat-log--arena.combat-log--gameplay .log-entry {
  grid-template-columns: 34px minmax(0, 1fr);
}

.combat-log--arena.combat-log--gameplay .log-gameplay-costs {
  justify-content: start;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.66rem;
}

.combat-log--arena .log-metric-chip,
.combat-log--arena .log-delta {
  border-color: rgb(255 255 255 / 16%);
  color: #e5e7eb;
  background: rgb(15 23 42 / 72%);
}

.combat-log--arena .log-metric--winner {
  border-color: rgb(34 197 94 / 44%);
  color: #bbf7d0;
  background: rgb(22 101 52 / 32%);
}

.combat-log--arena .log-metric--loser {
  border-color: rgb(248 113 113 / 44%);
  color: #fecaca;
  background: rgb(127 29 29 / 32%);
}

.combat-log--arena .log-debug {
  grid-template-columns: 1fr;
}

.combat-log--arena .log-debug-section,
.combat-log--arena .log-raw-details pre {
  border-color: rgb(255 255 255 / 10%);
  background: rgb(0 0 0 / 22%);
}

.combat-log--arena .log-debug-section h4 {
  color: #e5e7eb;
}

.combat-log--arena .log-debug-section th,
.combat-log--arena .log-debug-section td,
.combat-log--arena .log-raw-details {
  color: #a3a3a3;
}

.combat-log--arena .log-raw-details pre {
  color: #e5e7eb;
}

.combat-log--arena .log-empty {
  min-height: 100%;
  border-color: rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 5%);
}

.combat-log--arena.combat-log--collapsed .log-mode-controls,
.combat-log--arena.combat-log--collapsed .combat-log-heading > strong,
.combat-log--arena.combat-log--collapsed .log-list,
.combat-log--arena.combat-log--collapsed .log-empty {
  display: none;
}

.combat-log--arena.combat-log--collapsed .combat-log-heading {
  grid-template-columns: minmax(0, 1fr);
}

.combat-log--arena.combat-log--collapsed .combat-log-heading > span {
  display: none;
}

.combat-log--arena.combat-log--collapsed .combat-log-visibility {
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0 6px;
}

.action-deck {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.action-deck--reaction {
  border-color: #f59e0b;
  background: #fff7ed;
}

.action-deck--opponent-reaction {
  border-color: #64748b;
  background: #f8fafc;
}

.action-deck--locked {
  opacity: 0.96;
}

.reaction-window-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  color: #111827;
  background: #fffbeb;
}

.reaction-window-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.reaction-window-copy span,
.reaction-window-copy small {
  overflow: hidden;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.reaction-window-copy strong {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reaction-window-clock {
  display: grid;
  min-width: 68px;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #111827;
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
  font-weight: 950;
}

.reaction-window-track {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #fed7aa;
}

.reaction-window-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f97316, #facc15);
}

.reaction-window-panel--opponent {
  border-color: #64748b;
  color: #e5e7eb;
  background: #334155;
}

.reaction-window-panel--opponent .reaction-window-copy span,
.reaction-window-panel--opponent .reaction-window-copy small {
  color: #cbd5e1;
}

.reaction-window-panel--opponent .reaction-window-copy strong {
  color: #ffffff;
}

.reaction-window-panel--opponent .reaction-window-clock {
  color: #111827;
  background: #e5e7eb;
}

.reaction-window-panel--opponent .reaction-window-track {
  background: rgb(255 255 255 / 20%);
}

.reaction-window-panel--opponent .reaction-window-fill {
  background: linear-gradient(90deg, #94a3b8, #e5e7eb);
}

.reaction-window-panel--urgent {
  border-color: #dc2626;
  background: #fef2f2;
}

.reaction-window-panel--urgent .reaction-window-copy span,
.reaction-window-panel--urgent .reaction-window-copy small {
  color: #991b1b;
}

.reaction-window-panel--urgent .reaction-window-clock {
  background: #991b1b;
}

.reaction-window-panel--urgent .reaction-window-track {
  background: #fecaca;
}

.reaction-window-panel--urgent .reaction-window-fill {
  background: linear-gradient(90deg, #dc2626, #f97316);
}

.action-deck-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 18px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.action-deck-heading strong {
  color: #111827;
}

.action-deck form {
  display: contents;
}

.action-intention {
  position: relative;
  min-width: 0;
}

.action-intention .action-button {
  width: 100%;
  height: 100%;
}

.action-empty {
  grid-column: 1 / -1;
  margin: 0;
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--muted);
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 800;
}

.action-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  color: #0f172a;
  background: #ffffff;
  cursor: pointer;
}

.action-type-takedown {
  color: #3b82f6;
}

.action-type-pull-guard {
  color: #7c3aed;
}

.action-type-guard-pass {
  color: #16a34a;
}

.action-type-sweep {
  color: #ca8a04;
}

.action-type-submission {
  color: #dc2626;
}

.action-type-escape {
  color: #0d9488;
}

.action-type-posture {
  color: #475569;
}

.action-type-pressure {
  color: #a855f7;
}

.action-type-defense {
  color: #0369a1;
}

.action-button-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.action-name {
  min-width: 0;
  font-weight: 900;
  line-height: 1.25;
}

.action-category-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
}

.action-category-icon svg,
.action-metric svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.action-metrics {
  display: grid;
  gap: 3px;
  min-width: 92px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
}

.action-metric {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  text-align: left;
  white-space: nowrap;
}

.action-metric svg {
  color: currentcolor;
}

.action-button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  cursor: default;
}

.action-intention--unavailable .action-button,
.action-button--unavailable {
  color: #94a3b8;
  background: #f1f5f9;
  opacity: 0.72;
  filter: grayscale(0.35);
}

.action-button--optioned {
  align-items: stretch;
  cursor: default;
}

.action-option-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 6px;
}

.action-option-button {
  display: inline-flex;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 6px 8px;
  border: 1px solid rgb(148 163 184 / 65%);
  border-radius: 7px;
  color: #0f172a;
  background: rgb(255 255 255 / 88%);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.action-option-button:hover:not(:disabled) {
  border-color: currentcolor;
  background: #ffffff;
}

.action-option-button:disabled {
  color: #94a3b8;
  background: #f1f5f9;
  cursor: default;
}

.action-option-button svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  stroke-width: 2.7;
}

.action-option-button span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-deck--reaction .action-button:not(:disabled) {
  border-color: #f59e0b;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgb(245 158 11 / 24%);
}

.action-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  display: grid;
  gap: 8px;
  width: min(320px, calc(100vw - 28px));
  padding: 10px;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #e5e7eb;
  background: #111827;
  box-shadow: 0 18px 36px rgb(15 23 42 / 30%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.action-tooltip--options {
  width: min(360px, calc(100vw - 28px));
  max-height: min(420px, 70vh);
  overflow-y: auto;
}

.action-intention:not(.arena-action-card):hover .action-tooltip,
.action-intention:not(.arena-action-card):focus-within .action-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.action-tooltip-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.action-tooltip-heading strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-tooltip-heading span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgb(255 255 255 / 7%);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.action-tooltip-outcomes {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-tooltip-options {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.action-tooltip-option {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 6px;
  background: rgb(255 255 255 / 5%);
}

.action-tooltip-option-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #0f172a;
}

.action-tooltip-option-icon svg {
  width: 14px;
  height: 14px;
}

.action-tooltip-option-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.action-tooltip-option-body > strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-tooltip-option-body > small {
  color: #cbd5e1;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.25;
}

.action-tooltip-option-effects {
  display: grid;
  gap: 4px;
}

.action-tooltip-option-effect {
  display: grid;
  grid-template-columns: 13px minmax(0, 1fr);
  gap: 5px;
  align-items: center;
  padding: 4px 6px;
  border-radius: 5px;
  color: #e5e7eb;
  background: rgb(255 255 255 / 8%);
  font-size: 0.6rem;
  font-weight: 850;
  line-height: 1.2;
}

.action-tooltip-option-effect svg {
  width: 12px;
  height: 12px;
  color: #93c5fd;
}

.action-tooltip-outcome {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 6px;
  background: rgb(255 255 255 / 5%);
}

.action-tooltip-outcome--critical {
  border-left: 3px solid #22c55e;
}

.action-tooltip-outcome--good {
  border-left: 3px solid #facc15;
}

.action-tooltip-outcome--normal {
  border-left: 3px solid #38bdf8;
}

.action-tooltip-level {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #0f172a;
  font-size: 0.68rem;
  font-weight: 950;
}

.action-tooltip-outcome strong,
.action-tooltip-outcome small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-tooltip-outcome strong {
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 950;
}

.action-tooltip-outcome small {
  color: #cbd5e1;
  font-size: 0.62rem;
  font-weight: 800;
}

.action-tooltip-effects {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  color: #e5e7eb;
  font-size: 0.62rem;
  font-weight: 900;
  white-space: nowrap;
}

.action-tooltip-effect-chip {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  max-width: 120px;
  padding: 3px 6px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 999px;
  overflow: hidden;
  color: #e5e7eb;
  background: rgb(255 255 255 / 8%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  text-overflow: ellipsis;
}

.action-tooltip-effect-chip svg {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}

.action-tooltip-effect-chip--opening {
  border-color: rgb(251 146 60 / 30%);
  color: #fed7aa;
  background: rgb(154 52 18 / 18%);
}

.action-tooltip-effect-chip--setup,
.action-tooltip-effect-chip--positive {
  border-color: rgb(74 222 128 / 26%);
  color: #bbf7d0;
  background: rgb(22 101 52 / 18%);
}

.action-tooltip-effect-chip--negative {
  border-color: rgb(248 113 113 / 30%);
  color: #fecaca;
  background: rgb(127 29 29 / 18%);
}

.action-tooltip-resolution-effects {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 6px;
  background: rgb(0 0 0 / 18%);
}

.action-tooltip-resolution-label {
  color: #94a3b8;
  font-size: 0.56rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.action-tooltip-resolution-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.action-tooltip-submission {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgb(248 113 113 / 32%);
  border-radius: 999px;
  background: rgb(127 29 29 / 18%);
}

.action-tooltip-submission svg {
  width: 12px;
  height: 12px;
  color: #f87171;
}

.action-tooltip-empty {
  margin: 0;
  padding: 8px;
  border: 1px dashed rgb(255 255 255 / 18%);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.66rem;
  font-weight: 800;
}

.ai-intent {
  display: grid;
  min-height: 42px;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7ed;
}

.ai-debug-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-debug-heading span,
.ai-option span,
.ai-option-empty,
.ai-pending-action,
.ai-position-debug {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.ai-debug-heading strong,
.ai-pending-action strong,
.ai-position-debug strong {
  color: #111827;
}

.ai-pending-action,
.ai-option-empty,
.ai-position-debug {
  margin: 0;
}

.ai-option-list {
  display: grid;
  gap: 6px;
  max-height: 150px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
}

.ai-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  background: #ffffff;
}

.ai-option--locked {
  opacity: 0.55;
}

.ai-option div {
  min-width: 0;
}

.ai-option strong,
.ai-option span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-option strong {
  color: #111827;
  font-size: 0.78rem;
  font-weight: 900;
}

.ai-option small {
  color: #111827;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.fighter-profile-screen {
  display: grid;
  gap: 16px;
}

.fighter-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 230px;
  align-items: start;
  padding: 26px;
  overflow: hidden;
  border: 1px solid #1e293b;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgb(15 23 42 / 96%), rgb(17 24 39 / 92%) 48%, rgb(127 29 29 / 88%)),
    #111827;
  box-shadow: 0 24px 70px rgb(15 23 42 / 20%);
}

.fighter-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 0%) 38px, rgb(255 255 255 / 5%) 39px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 0%) 58px, rgb(255 255 255 / 6%) 59px);
  opacity: 0.75;
}

.fighter-profile-hero::after {
  content: "BJJ";
  position: absolute;
  right: 28px;
  bottom: -18px;
  color: rgb(255 255 255 / 6%);
  font-size: 8rem;
  font-weight: 950;
  line-height: 1;
}

.fighter-profile-hero-main,
.fighter-profile-actions {
  position: relative;
  z-index: 1;
}

.fighter-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: end;
  gap: 8px;
}

.fighter-profile-actions form {
  margin: 0;
}

.fighter-back-action,
.danger-action {
  gap: 7px;
}

.fighter-back-action svg,
.fighter-edit-action svg,
.danger-action svg,
.fighter-hero-badges svg,
.fighter-profile-eyebrow svg,
.fighter-card-icon svg,
.fighter-dojo-mark svg,
.fighter-stat-card svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.danger-action {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #991b1b;
  border-radius: 8px;
  color: #ffffff;
  background: #991b1b;
  font-size: 0.72rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.danger-action:hover {
  background: #7f1d1d;
}

.fighter-name-frame {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.fighter-profile-hero .fighter-name-frame {
  max-width: 720px;
}

.fighter-name-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.fighter-name-title {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 10px;
}

.fighter-profile-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: #facc15;
  background: rgb(15 23 42 / 72%);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-name-frame h1 {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 0.95;
}

.fighter-edit-action {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  color: #f8fafc;
  background: rgb(15 23 42 / 70%);
  text-decoration: none;
}

.fighter-edit-action:hover {
  border-color: rgb(250 204 21 / 70%);
  color: #facc15;
  background: rgb(15 23 42 / 92%);
}

.fighter-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.fighter-hero-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  color: #e5e7eb;
  background: rgb(15 23 42 / 70%);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fighter-profile-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

.fighter-profile-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 97%), rgb(248 250 252 / 96%)),
    #ffffff;
  box-shadow: 0 16px 42px rgb(15 23 42 / 10%);
}

.fighter-profile-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.fighter-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fighter-card-heading--split {
  justify-content: space-between;
}

.fighter-card-heading-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.fighter-stat-points-badge {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.fighter-stat-points-badge svg {
  width: 16px;
  height: 16px;
  color: #0f172a;
  stroke-width: 2.5;
}

.fighter-stat-points-badge strong {
  color: #0f172a;
  font-size: 1rem;
}

.fighter-card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
}

.fighter-card-icon--rank {
  color: #854d0e;
  background: #fef3c7;
}

.fighter-card-icon--stats {
  color: #075985;
  background: #e0f2fe;
}

.fighter-card-icon--record {
  color: #9a3412;
  background: #ffedd5;
}

.fighter-belt-display {
  --fighter-belt-base: #f8fafc;
  --fighter-belt-highlight: color-mix(in srgb, var(--fighter-belt-base) 45%, #ffffff);
  --fighter-belt-shadow: color-mix(in srgb, var(--fighter-belt-base) 82%, #020617);
  --fighter-belt-border: color-mix(in srgb, var(--fighter-belt-base) 70%, #020617);
  --fighter-belt-zone-highlight: #1f2937;
  --fighter-belt-zone-base: #020617;
  --fighter-belt-zone-border: rgb(255 255 255 / 12%);
  position: relative;
  display: grid;
  align-items: center;
  min-height: 78px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 90%), rgb(241 245 249 / 90%)),
    #ffffff;
}

.fighter-belt-display--black {
  --fighter-belt-zone-highlight: #b91c1c;
  --fighter-belt-zone-base: #7f1d1d;
  --fighter-belt-zone-border: rgb(248 113 113 / 34%);
}

.fighter-belt-main {
  display: block;
  height: 34px;
  border: 1px solid var(--fighter-belt-border);
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--fighter-belt-highlight), var(--fighter-belt-base) 52%, var(--fighter-belt-shadow)),
    var(--fighter-belt-base);
  box-shadow:
    inset 0 0 0 4px rgb(255 255 255 / 16%),
    0 8px 20px rgb(15 23 42 / 10%);
}

.fighter-belt-black-zone {
  position: absolute;
  top: 50%;
  right: 42px;
  display: grid;
  width: 108px;
  height: 34px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0px 12px;
  border-radius: 2px;
  background:
    linear-gradient(180deg, var(--fighter-belt-zone-highlight), var(--fighter-belt-zone-base)),
    var(--fighter-belt-zone-base);
  box-shadow: 0 10px 24px rgb(15 23 42 / 28%);
  transform: translateY(-50%);
}

.fighter-belt-stripes {
  display: grid;
  grid-template-columns: repeat(4, 14px);
  gap: 6px;
}

.fighter-belt-stripe {
  height: 34px;
}

.fighter-belt-stripe--active {
  background:
    linear-gradient(180deg, #ffffff, #e2e8f0),
    #ffffff;
  box-shadow:
    inset 0 0 0 1px #ffffff,
    0 0 14px rgb(255 255 255 / 28%);
}

.fighter-belt-display--compact {
  min-height: 62px;
  padding: 0 12px;
}

.fighter-belt-display--compact .fighter-belt-main {
  height: 24px;
}

.fighter-belt-display--compact .fighter-belt-black-zone {
  right: 34px;
  width: 86px;
  height: 24px;
  padding: 0 9px;
}

.fighter-belt-display--compact .fighter-belt-stripes {
  grid-template-columns: repeat(4, 10px);
  gap: 5px;
}

.fighter-belt-display--compact .fighter-belt-stripe {
  height: 24px;
}

.fighter-belt-display--activity {
  width: 86px;
  min-height: 38px;
  padding: 0 7px;
  border-color: rgb(255 255 255 / 14%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)),
    rgb(2 6 23 / 72%);
}

.fighter-belt-display--activity .fighter-belt-main {
  height: 18px;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 16%),
    0 5px 12px rgb(0 0 0 / 22%);
}

.fighter-belt-display--activity .fighter-belt-black-zone {
  right: 15px;
  width: 34px;
  height: 18px;
  padding: 0 3px;
  border-radius: 2px;
  box-shadow: 0 5px 12px rgb(0 0 0 / 35%);
}

.fighter-belt-display--activity .fighter-belt-stripes {
  grid-template-columns: repeat(4, 4px);
  gap: 2px;
}

.fighter-belt-display--activity .fighter-belt-stripe {
  height: 18px;
}

.fighter-belt-display--fight-hud {
  width: clamp(88px, 8vw, 124px);
  min-height: 31px;
  padding: 0 7px;
  border-color: rgb(255 255 255 / 16%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)),
    rgb(2 6 23 / 68%);
  box-shadow: 0 8px 22px rgb(0 0 0 / 30%);
}

.fighter-belt-display--fight-hud .fighter-belt-main {
  height: 15px;
  border-radius: 3px;
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 16%),
    0 5px 12px rgb(0 0 0 / 24%);
}

.fighter-belt-display--fight-hud .fighter-belt-black-zone {
  right: 13px;
  width: 42%;
  max-width: 54px;
  height: 15px;
  padding: 0 3px;
  border-radius: 2px;
  box-shadow: 0 5px 12px rgb(0 0 0 / 36%);
}

.fighter-belt-display--fight-hud .fighter-belt-stripes {
  grid-template-columns: repeat(4, 4px);
  gap: 2px;
}

.fighter-belt-display--fight-hud .fighter-belt-stripe {
  height: 15px;
}

.fighter-belt-display--sparring-card {
  width: 100%;
  min-height: 34px;
  padding: 0 8px;
  border-color: rgb(255 255 255 / 12%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)),
    rgb(2 6 23 / 64%);
}

.fighter-belt-display--sparring-card .fighter-belt-main {
  height: 16px;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgb(255 255 255 / 16%),
    0 5px 12px rgb(0 0 0 / 20%);
}

.fighter-belt-display--sparring-card .fighter-belt-black-zone {
  right: 14px;
  width: 46%;
  max-width: 88px;
  height: 16px;
  padding: 0 4px;
  border-radius: 2px;
  box-shadow: 0 5px 12px rgb(0 0 0 / 36%);
}

.fighter-belt-display--sparring-card .fighter-belt-stripes {
  grid-template-columns: repeat(4, 5px);
  gap: 3px;
}

.fighter-belt-display--sparring-card .fighter-belt-stripe {
  height: 16px;
}

.sparrings-hub::before,
.sparrings-hub::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.sparrings-hub::before {
  inset: 0;
  opacity: 0.26;
  background:
    radial-gradient(circle at 22% 26%, rgb(255 255 255 / 8%), transparent 22%),
    radial-gradient(circle at 78% 14%, rgb(59 130 246 / 10%), transparent 28%),
    linear-gradient(90deg, transparent, rgb(255 255 255 / 4%), transparent);
  filter: blur(24px);
}

.sparrings-hub::after {
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgb(255 255 255 / 52%) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgb(239 68 68 / 46%) 0 1px, transparent 1.5px);
  background-position:
    12% 18%,
    74% 28%;
  background-size:
    220px 220px,
    260px 260px;
}

.sparring-partner-card {
  --sparring-style-color: #3b82f6;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.sparring-partner-card:hover,
.sparring-partner-card:focus-visible {
  border-color: color-mix(in srgb, var(--sparring-style-color) 72%, #ffffff 12%);
  outline: 0;
  background: rgb(15 23 42 / 88%);
  box-shadow:
    0 26px 62px rgb(0 0 0 / 48%),
    0 0 28px color-mix(in srgb, var(--sparring-style-color) 24%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--sparring-style-color) 28%, transparent);
  transform: translateY(-4px);
}

.sparring-partner-card-image {
  transition: transform 520ms ease, opacity 180ms ease, filter 180ms ease;
}

.sparring-partner-card:hover .sparring-partner-card-image,
.sparring-partner-card:focus-visible .sparring-partner-card-image {
  opacity: 1;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.03);
}

.sparring-signature-item {
  position: relative;
}

.sparring-signature-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 12px;
  color: inherit;
  background: rgb(0 0 0 / 35%);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.sparring-signature-button:hover,
.sparring-signature-button:focus-visible {
  border-color: rgb(255 255 255 / 22%);
  outline: 0;
  background: rgb(255 255 255 / 7%);
  transform: translateX(2px);
}

/* Activities hub motion */
.activity-hub::before,
.activity-hub::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.activity-hub::before {
  inset: -18%;
  z-index: 1;
  background:
    radial-gradient(ellipse at 16% 72%, rgb(255 255 255 / 8%), transparent 30%),
    radial-gradient(ellipse at 74% 20%, rgb(239 68 68 / 8%), transparent 28%),
    radial-gradient(ellipse at 52% 88%, rgb(59 130 246 / 7%), transparent 24%);
  filter: blur(28px);
  opacity: 0.34;
  transform: translate3d(-1.5%, 0, 0) scale(1.04);
  animation: activity-fog-drift 18s ease-in-out infinite alternate;
}

.activity-hub::after {
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgb(255 255 255 / 16%) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgb(239 68 68 / 16%) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgb(59 130 246 / 14%) 0 1px, transparent 1.5px);
  background-position:
    7% 18%,
    82% 26%,
    48% 82%;
  background-size:
    240px 180px,
    320px 240px,
    380px 260px;
  opacity: 0.14;
  animation: activity-particle-drift 26s linear infinite;
}

.activity-hub-content {
  z-index: 2;
}

.activity-stat-icon,
.activity-card,
.activity-card-image,
.activity-card-icon,
.activity-cta {
  transition:
    opacity 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    transform 220ms ease;
}

.activity-stat-icon {
  box-shadow: 0 0 0 rgb(255 255 255 / 0%);
}

.activity-stat-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px currentcolor;
}

.activity-card {
  transform: translateZ(0);
}

.activity-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 42%;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 13%) 48%, transparent 100%);
  content: "";
  opacity: 0;
  transform: translateX(-170%) skewX(-14deg);
}

.activity-card:hover {
  border-color: rgb(255 255 255 / 34%);
  box-shadow:
    0 22px 70px rgb(0 0 0 / 46%),
    0 0 34px rgb(255 255 255 / 8%);
  transform: translateY(-2px);
}

.activity-card:hover::after {
  animation: activity-card-sweep 720ms ease-out 1;
}

.activity-card:hover .activity-card-image {
  transform: scale(1.03);
}

.activity-card:hover .activity-card-icon {
  transform: translateY(-1px) scale(1.04);
}

.activity-card--locked:hover {
  border-color: rgb(255 255 255 / 22%);
  box-shadow:
    0 18px 54px rgb(0 0 0 / 42%),
    0 0 26px rgb(255 255 255 / 5%);
}

.activity-card--locked:hover .activity-card-image {
  filter: grayscale(1) brightness(0.88);
  opacity: 0.62;
}

.activity-cta:not(.activity-cta--locked):hover {
  transform: translateY(-1px);
}

.activity-cta--sparring:not(.activity-cta--locked):hover {
  box-shadow:
    0 16px 34px rgb(37 99 235 / 28%),
    0 0 24px rgb(96 165 250 / 22%);
}

.activity-cta--dojo:not(.activity-cta--locked):hover {
  background: #fbbf24;
  box-shadow:
    0 16px 34px rgb(146 64 14 / 30%),
    0 0 24px rgb(245 158 11 / 34%);
}

.activity-cta--drill:not(.activity-cta--locked):hover {
  background: #6ee7b7;
  box-shadow:
    0 16px 34px rgb(6 95 70 / 28%),
    0 0 24px rgb(52 211 153 / 28%);
}

@keyframes activity-fog-drift {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1.04);
  }

  to {
    transform: translate3d(1.8%, -1.2%, 0) scale(1.09);
  }
}

@keyframes activity-particle-drift {
  from {
    background-position:
      7% 18%,
      82% 26%,
      48% 82%;
  }

  to {
    background-position:
      9% 8%,
      80% 15%,
      50% 72%;
  }
}

@keyframes activity-card-sweep {
  0% {
    opacity: 0;
    transform: translateX(-170%) skewX(-14deg);
  }

  18% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(345%) skewX(-14deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-hub::before,
  .activity-hub::after,
  .activity-stat-icon,
  .activity-card,
  .activity-card::after,
  .activity-card-image,
  .activity-card-icon,
  .activity-cta {
    animation: none;
    transition: none;
  }

  .activity-stat-icon:hover,
  .activity-card:hover,
  .activity-card:hover .activity-card-image,
  .activity-card:hover .activity-card-icon,
  .activity-cta:not(.activity-cta--locked):hover {
    transform: none;
  }
}

.fighter-card-note {
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.fighter-grade-progress {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgb(250 204 21 / 24%);
  border-radius: 8px;
  background: rgb(0 0 0 / 28%);
}

.fighter-grade-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fighter-grade-progress-copy span,
.fighter-grade-progress-copy strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-grade-progress-copy span {
  color: #facc15;
}

.fighter-grade-progress-copy svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.8;
}

.fighter-grade-progress-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  background: rgb(255 255 255 / 8%);
}

.fighter-grade-progress-track span {
  display: block;
  width: var(--grade-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dc2626, #facc15);
  box-shadow: 0 0 18px rgb(250 204 21 / 34%);
}

.fighter-grade-progress small {
  color: #a3a3a3;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fighter-profile-card--dojo {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #e5e7eb;
  background:
    linear-gradient(135deg, rgb(15 23 42 / 96%), rgb(12 74 110 / 86%)),
    #0f172a;
}

.fighter-profile-card--dojo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0%), rgb(255 255 255 / 0%) 28px, rgb(255 255 255 / 5%) 29px),
    linear-gradient(90deg, rgb(22 101 52 / 0%) 0 20%, rgb(22 101 52 / 55%) 20% 24%, rgb(22 101 52 / 0%) 24% 76%, rgb(127 29 29 / 55%) 76% 80%, rgb(127 29 29 / 0%) 80%);
  opacity: 0.8;
}

.fighter-profile-card--dojo > * {
  position: relative;
  z-index: 1;
}

.fighter-profile-card--dojo h2 {
  color: #ffffff;
}

.fighter-profile-card--dojo p:not(.kicker) {
  max-width: 420px;
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.55;
}

.fighter-dojo-mark {
  display: inline-grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgb(250 204 21 / 45%);
  border-radius: 999px;
  color: #facc15;
  background: rgb(15 23 42 / 70%);
  box-shadow: inset 0 0 0 8px rgb(255 255 255 / 5%);
}

.fighter-dojo-mark span {
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 950;
}

.fighter-profile-card--record {
  grid-column: 1 / -1;
}

.fighter-record-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fighter-record-grid div {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  background: #f8fafc;
}

.fighter-record-main {
  border-color: #fed7aa !important;
  background: #fff7ed !important;
}

.fighter-record-grid dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-record-grid dd {
  margin: 0;
  color: #111827;
  font-size: 1.85rem;
  font-weight: 950;
  line-height: 1;
}

.fighter-record-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fighter-record-breakdown span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  color: #475569;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.fighter-record-breakdown svg {
  width: 15px;
  height: 15px;
}

.fighter-record-breakdown strong {
  color: #111827;
}

.fighter-profile-card--stats {
  grid-column: 1 / -1;
}

.fighter-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fighter-stat-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #d7dce2;
  border-top: 4px solid var(--stat-tone, #0f172a);
  border-radius: 8px;
  background: #f8fafc;
}

.fighter-stat-card dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-stat-card dt span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--stat-tone, #0f172a);
  background: rgb(255 255 255 / 80%);
}

.fighter-stat-card dd {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #111827;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.fighter-stat-card dd small {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 900;
}

.fighter-stat-track {
  display: block;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.fighter-stat-track span {
  display: block;
  width: var(--stat-fill);
  height: 100%;
  border-radius: inherit;
  background: var(--stat-tone, #0f172a);
}

.fighter-stat-allocation-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
}

.fighter-stat-allocation-form header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.fighter-stat-allocation-form h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-stat-allocation-counter {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.fighter-stat-allocation-counter span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-stat-allocation-counter strong {
  color: #0f172a;
  font-size: 0.92rem;
}

.fighter-stat-allocation-form--ready .fighter-stat-allocation-counter span:first-child {
  border-color: #86efac;
  color: #14532d;
  background: #dcfce7;
}

.fighter-stat-allocation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.fighter-stat-allocation-field {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  background: #f8fafc;
}

.fighter-stat-allocation-field span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fighter-stat-allocation-field svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.fighter-stat-allocation-field input {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  color: #0f172a;
  background: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
}

.fighter-stat-allocation-field small {
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.fighter-stat-allocation-submit {
  width: fit-content;
  min-width: 180px;
}

.fighter-stat-allocation-submit:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.fighter-stat-allocation-errors {
  margin: 0;
}

.fighter-stat-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.fighter-stat-card--power {
  --stat-tone: #b91c1c;
}

.fighter-stat-card--speed {
  --stat-tone: #0284c7;
}

.fighter-stat-card--endurance {
  --stat-tone: #ca8a04;
}

.fighter-stat-card--flexibility {
  --stat-tone: #16a34a;
}

.fighter-show-page {
  overflow: visible;
}

.fighter-show-shell {
  display: grid;
  gap: 18px;
}

.fighter-show-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
}

.fighter-show-topbar h1 {
  margin: 0;
  letter-spacing: 0;
}

.fighter-show-actions {
  align-items: center;
  justify-content: flex-end;
}

.fighter-show-actions form {
  margin: 0;
}

.fighter-show-hero {
  grid-template-columns: clamp(320px, 28vw, 440px) minmax(0, 1fr);
  align-items: start;
  overflow: visible;
}

.fighter-show-media {
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding-left: 24px;
  overflow: visible;
  background: transparent;
}

.fighter-show-portrait-frame {
  margin-top: 24px;
  height: clamp(360px, 48vh, 520px);
  border-right: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
}

.fighter-show-image {
  object-position: center center;
}

.fighter-show-media-cards {
  justify-self: stretch;
  width: 100%;
}

.fighter-show-grade-card {
  max-width: none;
}

.fighter-show-grade-layout {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.fighter-show-right {
  display: grid;
  align-content: start;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 24px;
}

.fighter-show-sidebar {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 0;
}

.fighter-show-reputations {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgb(239 68 68 / 14%), transparent 58%),
    rgb(255 255 255 / 3.5%);
}

.fighter-show-reputation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fighter-show-reputation-card {
  min-width: 0;
}

.fighter-show-reputation-layout {
  min-height: 126px;
}

.fighter-show-reputation-icon {
  width: 64px;
  height: 64px;
}

.fighter-show-reputation-icon img {
  max-height: 58px;
}

.fighter-show-reputation-copy h2 {
  overflow-wrap: anywhere;
}

.fighter-show-content {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.fighter-show-stats-panel {
  order: 1;
}

.fighter-show-record-panel {
  order: 2;
}

.fighter-show-timeline-row {
  order: 3;
}

.fighter-show-favorites {
  order: 4;
}

.fighter-show-favorites,
.fighter-show-stats-panel,
.fighter-show-record-panel,
.fighter-show-timeline-row {
  margin-top: 0;
}

.fighter-show-record-panel .fighter-profile-card {
  width: 100%;
}

/* Dark dojo profile and deck pages */
.fighter-profile-screen,
.fighter-deck-frame {
  gap: 18px;
}

.fighter-profile-screen .kicker,
.fighter-deck-frame .kicker {
  color: #ef4444;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.fighter-profile-screen .secondary-action,
.fighter-deck-actions .secondary-action {
  border-color: rgb(255 255 255 / 18%);
  color: #ffffff;
  background: rgb(255 255 255 / 6%);
  backdrop-filter: blur(10px);
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.fighter-profile-screen .secondary-action:hover,
.fighter-deck-actions .secondary-action:hover {
  border-color: rgb(239 68 68 / 45%);
  background: rgb(239 68 68 / 12%);
  transform: translateY(-1px);
}

.fighter-profile-hero {
  border-color: rgb(255 255 255 / 11%);
  background:
    radial-gradient(circle at 18% 16%, rgb(220 38 38 / 24%), transparent 34%),
    radial-gradient(circle at 90% 0%, rgb(255 255 255 / 10%), transparent 30%),
    linear-gradient(135deg, rgb(12 12 12 / 98%), rgb(17 24 39 / 94%) 54%, rgb(127 29 29 / 60%)),
    #050505;
  box-shadow: 0 30px 70px rgb(0 0 0 / 42%), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.fighter-profile-hero::before {
  opacity: 0.22;
}

.fighter-profile-hero::after {
  color: rgb(255 255 255 / 5%);
}

.fighter-profile-screen .fighter-profile-hero {
  min-height: 240px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fighter-profile-screen .fighter-profile-hero::before,
.fighter-profile-screen .fighter-profile-hero::after {
  content: none;
}

.fighter-profile-eyebrow,
.fighter-hero-badges span {
  border-color: rgb(239 68 68 / 24%);
  color: #fecaca;
  background: rgb(0 0 0 / 34%);
}

.fighter-name-frame h1 {
  text-transform: uppercase;
  text-shadow: 0 16px 34px rgb(0 0 0 / 32%);
}

.fighter-edit-action {
  border-color: rgb(255 255 255 / 18%);
  color: #ffffff;
  background: rgb(255 255 255 / 8%);
}

.fighter-edit-action:hover {
  border-color: rgb(239 68 68 / 55%);
  color: #ffffff;
  background: rgb(239 68 68 / 16%);
}

.danger-action {
  min-height: 34px;
  border-color: rgb(248 113 113 / 45%);
  background: linear-gradient(180deg, #dc2626, #991b1b);
  box-shadow: 0 14px 24px rgb(127 29 29 / 28%);
}

.danger-action:hover {
  background: linear-gradient(180deg, #ef4444, #991b1b);
}

.fighter-profile-card,
.fighter-deck-summary > div,
.fighter-deck-rank-card,
.fighter-deck-slot {
  border-color: rgb(255 255 255 / 10%);
  color: #f8fafc;
  background: rgb(6 10 18 / 84%);
  box-shadow: 0 24px 54px rgb(0 0 0 / 28%), inset 0 1px 0 rgb(255 255 255 / 5%);
  backdrop-filter: blur(10px);
}

.fighter-profile-card h2,
.fighter-deck-summary strong,
.fighter-deck-rank-card strong {
  color: #ffffff;
}

.fighter-card-note,
.fighter-profile-card--dojo p:not(.kicker),
.fighter-deck-summary small,
.fighter-deck-rank-card small {
  color: #a3a3a3;
}

.fighter-card-icon {
  border: 1px solid rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 7%);
}

.fighter-card-icon--rank { color: #facc15; }
.fighter-card-icon--stats { color: #38bdf8; }
.fighter-card-icon--record { color: #ef4444; }

.fighter-stat-points-badge,
.fighter-deck-slot-heading span,
.fighter-deck-technique-status,
.fighter-deck-toggle,
.fighter-record-breakdown span {
  border-color: rgb(255 255 255 / 12%);
  color: #e5e7eb;
  background: rgb(0 0 0 / 32%);
}

.fighter-stat-points-badge svg,
.fighter-stat-points-badge strong,
.fighter-record-breakdown strong {
  color: #ffffff;
}

.fighter-belt-display {
  border-color: rgb(255 255 255 / 14%);
  background: rgb(0 0 0 / 32%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

.fighter-profile-card--dojo {
  background: rgb(6 10 18 / 84%);
}

.fighter-profile-card--dojo::before {
  content: none;
}

.fighter-dojo-mark {
  border-color: rgb(239 68 68 / 36%);
  color: #ef4444;
  background: rgb(0 0 0 / 35%);
}

.fighter-record-grid div,
.fighter-record-main,
.fighter-stat-card,
.fighter-stat-allocation-form,
.fighter-stat-allocation-field {
  border-color: rgb(255 255 255 / 10%) !important;
  background: rgb(0 0 0 / 24%) !important;
}

.fighter-record-grid dt,
.fighter-stat-card dt,
.fighter-stat-allocation-field span,
.fighter-stat-allocation-field small {
  color: #9ca3af;
}

.fighter-record-grid dd,
.fighter-stat-card dd,
.fighter-stat-allocation-form h3 {
  color: #ffffff;
}

.fighter-stat-card dt span {
  color: var(--stat-tone, #ffffff);
  background: rgb(0 0 0 / 28%);
}

.fighter-stat-track {
  background: rgb(255 255 255 / 12%);
}

.fighter-stat-card p {
  color: #a3a3a3;
}

.fighter-stat-allocation-counter span {
  border-color: rgb(255 255 255 / 12%);
  color: #d1d5db;
  background: rgb(0 0 0 / 32%);
}

.fighter-stat-allocation-counter strong {
  color: #ffffff;
}

.fighter-stat-allocation-field input {
  border-color: rgb(255 255 255 / 12%);
  color: #ffffff;
  background: rgb(0 0 0 / 36%);
}

.fighter-stat-allocation-form--ready .fighter-stat-allocation-counter span:first-child {
  border-color: rgb(34 197 94 / 42%);
  color: #bbf7d0;
  background: rgb(34 197 94 / 12%);
}

.fighter-stat-allocation-submit {
  border-color: rgb(239 68 68 / 45%);
  background: linear-gradient(180deg, #dc2626, #991b1b);
}

.fighter-deck-frame {
  color: #f8fafc;
}

.fighter-deck-message {
  border: 1px solid rgb(255 255 255 / 12%);
}

.fighter-deck-message--notice {
  color: #bbf7d0;
  background: rgb(34 197 94 / 12%);
}

.fighter-deck-message--alert {
  color: #fecaca;
  background: rgb(239 68 68 / 12%);
}

.fighter-deck-summary {
  margin-bottom: 18px;
}

.fighter-deck-summary > div {
  justify-content: flex-start;
}

.fighter-deck-summary svg,
.fighter-deck-rank-copy svg {
  color: #ef4444;
}

.fighter-deck-rank-copy {
  grid-template-columns: auto 1fr;
}

.fighter-deck-filters {
  max-height: none;
  overflow: visible;
  margin-bottom: 14px;
}

.fighter-deck-filters,
.fighter-deck-display-options {
  border-color: rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 4%);
}

.fighter-deck-filters .technique-filter {
  border-color: rgb(255 255 255 / 10%);
  color: #d1d5db;
  background: rgb(0 0 0 / 26%);
}

.fighter-deck-filters .technique-filter:hover {
  border-color: rgb(239 68 68 / 42%);
  color: #ffffff;
  background: rgb(239 68 68 / 10%);
}

.fighter-deck-filters .technique-filter--active {
  border-color: rgb(239 68 68 / 78%);
  color: #ffffff;
  background: #dc2626;
  box-shadow: 0 0 22px rgb(239 68 68 / 20%);
}

.fighter-deck-display-options {
  width: fit-content;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
}

.fighter-deck-display-options label {
  border-color: rgb(255 255 255 / 10%);
  color: #d1d5db;
  background: rgb(0 0 0 / 26%);
}

.fighter-deck-slot {
  padding: 18px;
}

.fighter-deck-slot-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.fighter-deck-slot-heading h2 {
  color: #ffffff;
  font-size: 1.4rem;
}

.fighter-deck-slot-heading span {
  color: #ffffff;
}

.fighter-deck-technique {
  width: 100%;
}

.fighter-deck-technique--equipped .fighter-deck-technique-status {
  border-color: rgb(34 197 94 / 42%);
  color: #bbf7d0;
  background: rgb(34 197 94 / 12%);
}

.fighter-deck-technique--locked .fighter-deck-technique-status,
.fighter-deck-technique--higher-belt .fighter-deck-technique-status {
  border-color: rgb(255 255 255 / 12%);
  color: #a3a3a3;
  background: rgb(0 0 0 / 28%);
}

.fighter-deck-technique--higher-belt .fighter-deck-technique-status {
  border-color: rgb(250 204 21 / 34%);
  color: #fef3c7;
  background: rgb(250 204 21 / 10%);
}

.fighter-deck-toggle--add {
  border-color: rgb(34 197 94 / 46%);
  color: #bbf7d0;
  background: rgb(34 197 94 / 12%);
}

.fighter-deck-toggle--remove {
  border-color: rgb(248 113 113 / 46%);
  color: #fecaca;
  background: rgb(239 68 68 / 12%);
}

.fighter-deck-toggle--disabled {
  color: #9ca3af;
  background: rgb(255 255 255 / 6%);
}

.fighter-name-frame--editing {
  display: block;
  width: min(520px, 100%);
}

.fighter-name-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(15 23 42 / 78%);
}

.fighter-name-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
    padding: 16px 0;
  }

  .fighter-profile-hero,
  .fighter-profile-grid,
  .fighter-record-grid,
  .fighter-stat-grid {
    grid-template-columns: 1fr;
  }

  .fighter-profile-hero {
    min-height: auto;
    padding: 20px;
  }

  .fighter-profile-hero::after {
    right: 12px;
    bottom: -8px;
    font-size: 5rem;
  }

  .fighter-profile-actions {
    justify-content: start;
  }

  .fighter-card-heading--split {
    align-items: stretch;
    flex-direction: column;
  }

  .fighter-stat-points-badge {
    width: 100%;
    justify-content: center;
  }

  .fighter-stat-allocation-form header {
    align-items: stretch;
    flex-direction: column;
  }

  .fighter-stat-allocation-counter {
    justify-content: stretch;
  }

  .fighter-stat-allocation-counter span,
  .fighter-stat-allocation-submit {
    width: 100%;
    justify-content: center;
  }

  .fighter-stat-allocation-grid {
    grid-template-columns: 1fr;
  }

  .fighter-name-frame h1 {
    font-size: 2.45rem;
  }

  .fighter-profile-card--stats {
    grid-column: auto;
  }

  .fight-arena-screen {
    min-height: calc(100vh - 96px);
    height: auto;
    overflow-y: auto;
  }

  .fight-arena-hud {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .fight-arena-scoreboard {
    order: -1;
  }

  .fight-arena-fighter--ai {
    justify-content: start;
    text-align: left;
  }

  .fight-arena-fighter--ai .fight-arena-avatar {
    order: -1;
  }

  .fight-arena-fighter--ai .fight-arena-ai-stack {
    order: -1;
    justify-items: start;
  }

  .fight-arena-fighter-copy h2 {
    max-width: calc(100vw - 132px);
  }

  .fight-recent-activities {
    width: min(430px, 100%);
  }

  .fight-recent-activity-link {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
  }

  .fight-recent-activity-score,
  .fight-recent-activity-victory {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }

  .fight-recent-activity-score {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .fight-arena-score-row {
    width: min(100%, 320px);
  }

  .fight-arena-actions {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26vh;
    padding: 0 14px 18px;
  }

  .fight-arena-resource {
    min-height: auto;
    padding: 12px;
  }

  .fight-arena-resource--player,
  .fight-arena-info-panel,
  .fight-arena-card-carousel,
  .combat-log--arena {
    grid-row: auto;
    grid-column: 1;
  }

  .fight-arena-info-panel {
    width: 100%;
  }

  .fight-arena-ai-stack > .fight-arena-info-panel {
    justify-self: start;
    width: min(360px, calc(100vw - 28px));
  }

  .fight-arena-resource dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fight-arena-resource div + div {
    padding-top: 0;
    padding-left: 10px;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 10%);
  }

  .fight-arena-resource--ai {
    display: none;
  }

  .fight-arena-card-carousel {
    grid-template-columns: minmax(0, 1fr);
  }

  .fight-arena-carousel-button {
    display: none;
  }

  .fight-arena-card-track {
    grid-column: 1;
    grid-auto-columns: minmax(146px, 42vw);
  }

  .fight-arena-atb-gauge {
    grid-column: 1;
  }

  .combat-log--arena {
    position: relative;
    bottom: auto;
    left: auto;
    z-index: 4;
    width: auto;
    height: min(280px, 44vh);
    margin: 0;
  }

  .combat-log--arena.combat-log--full {
    width: auto;
    height: min(420px, 58vh);
  }

  .combat-log--arena .combat-log-heading {
    grid-template-columns: 1fr auto;
  }

  .combat-log--arena .log-mode-controls {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: start;
  }

  .combat-log--arena .combat-log-heading > strong {
    grid-column: 2;
    grid-row: 1;
  }

  .combat-log--arena .combat-log-visibility {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .combat-log--arena.combat-log--collapsed {
    width: auto;
    height: auto;
  }

  .fight-arena-player-stack > .combat-log--arena {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: min(360px, calc(100vw - 28px));
    height: min(280px, 44vh);
  }

  .fight-arena-player-stack > .combat-log--arena.combat-log--collapsed {
    width: 100%;
    height: var(--arena-collapsed-panel-height);
  }

  .fight-screen {
    min-height: auto;
  }

  .fight-hud,
  .fight-stage {
    grid-template-columns: 1fr;
  }

  .fight-hud {
    grid-template-areas:
      "score"
      "player"
      "ai";
  }

  .fighter-summary--player {
    grid-area: player;
  }

  .fighter-summary--ai {
    grid-area: ai;
    text-align: left;
  }

  .fight-controls,
  .fighter-summary--ai .fighter-meta {
    justify-content: start;
  }

  .scoreboard {
    grid-area: score;
  }

  .result-panel,
  .result-panel-heading,
  .result-panel-body,
  .result-stats {
    grid-template-columns: 1fr;
  }

  .result-fighters,
  .result-stats,
  .result-achievement-panel,
  .result-xp-panel {
    grid-row: auto;
    grid-column: auto;
  }

  .result-panel-heading,
  .result-achievement-panel header,
  .result-xp-panel header,
  .result-xp-list li {
    align-items: stretch;
    flex-direction: column;
  }

  .result-panel-actions {
    justify-content: stretch;
  }

  .result-grade-belt-transition {
    grid-template-columns: 1fr;
  }

  .result-grade-belt-arrow {
    justify-self: center;
  }

  .result-grade-belt-arrow svg {
    transform: rotate(90deg);
  }

  .result-new-fight,
  .result-panel-dismiss {
    justify-content: center;
  }

  .result-xp-gain {
    min-width: 0;
    text-align: left;
  }

  .fight-stage {
    grid-template:
      "player" auto
      "ai" auto
      "visual" minmax(150px, auto)
      "log" minmax(220px, auto)
      "actions" auto / 1fr;
  }

  .submission-check-overlay {
    padding: 14px;
  }

  .submission-check-lanes {
    grid-template-columns: 1fr;
  }

  .submission-push-button {
    justify-self: center;
    order: 3;
  }

  .fight-opposition-board {
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: 1fr;
    width: auto;
    transform: none;
  }

  .fight-opposition-center {
    order: -1;
  }

  .action-deck {
    grid-template-columns: 1fr 1fr;
  }

  .technique-modal-content,
  .technique-outcome-row,
  .technique-outcomes-heading {
    grid-template-columns: 1fr;
  }

  .technique-modal-panel {
    padding: 18px;
  }

  .technique-modal-card {
    order: -1;
  }

  .log-debug {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (max-width: 900px) {
  .app-body--fight-hub .fight-arena-screen {
    min-height: var(--app-viewport-height, 100vh);
  }
}

.mobile-orientation-hint {
  display: none;
}

@media (orientation: portrait) and (max-width: 700px),
       (hover: none) and (pointer: coarse) and (orientation: portrait) and (max-width: 920px) {
  .mobile-orientation-hint {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: grid;
    place-items: center;
    padding:
      calc(env(safe-area-inset-top, 0px) + 24px)
      calc(env(safe-area-inset-right, 0px) + 24px)
      calc(env(safe-area-inset-bottom, 0px) + 24px)
      calc(env(safe-area-inset-left, 0px) + 24px);
    color: #ffffff;
    text-align: center;
    background:
      radial-gradient(circle at 50% 12%, rgb(59 130 246 / 18%), transparent 34%),
      rgb(0 0 0 / 84%);
    backdrop-filter: blur(10px);
  }

  .mobile-orientation-hint > div {
    display: grid;
    justify-items: center;
    gap: 12px;
    width: min(340px, 100%);
    padding: 20px 18px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 12px;
    background: rgb(15 23 42 / 86%);
    box-shadow:
      0 28px 80px rgb(0 0 0 / 48%),
      inset 0 1px 0 rgb(255 255 255 / 10%);
  }

  .mobile-orientation-hint svg {
    width: 36px;
    height: 36px;
    color: #93c5fd;
    stroke-width: 2.6;
  }

  .mobile-orientation-hint strong {
    font-size: 1.08rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
  }

  .mobile-orientation-hint span {
    color: rgb(226 232 240 / 72%);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
  }
}

@media (hover: none) and (orientation: landscape) and (max-height: 560px),
       (orientation: landscape) and (max-height: 560px) and (max-width: 960px) {
  .app-body--fighter-new-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #050505;
  }

  .app-body--fighter-new-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--fighter-new-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--fighter-new-page .fighter-new-page,
  .app-body--fighter-new-page .fighter-new-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--fighter-new-page .fighter-new-page {
    background: #050505;
  }

  .app-body--fighter-new-page .fighter-new-shell {
    grid-template-columns: minmax(176px, 0.46fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--fighter-new-page .fighter-new-intro {
    align-self: center;
    min-width: 0;
    max-width: none;
    overflow: hidden;
  }

  .app-body--fighter-new-page .fighter-new-intro > p:first-child {
    margin-bottom: 5px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--fighter-new-page .fighter-new-intro h1 {
    font-size: clamp(1.55rem, 8vh, 2.2rem);
    line-height: 0.88;
    letter-spacing: 0;
  }

  .app-body--fighter-new-page .fighter-new-intro h1 span {
    margin-top: 3px;
  }

  .app-body--fighter-new-page .fighter-new-intro h1 + p {
    max-width: none;
    margin-top: 8px;
    font-size: 0.62rem;
    line-height: 1.28;
  }

  .app-body--fighter-new-page .fighter-new-panel {
    align-self: stretch;
    max-height: none;
    min-height: 0;
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 12px;
    scrollbar-color: rgb(239 68 68 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--fighter-new-page .fighter-new-panel::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--fighter-new-page .fighter-new-panel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--fighter-new-page .fighter-new-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--fighter-new-page .fighter-new-form {
    display: grid;
    gap: 8px;
  }

  .app-body--fighter-new-page .fighter-new-form > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
  }

  .app-body--fighter-new-page .fighter-new-name-field > span,
  .app-body--fighter-new-page .fighter-new-stats-header p:first-child {
    margin-bottom: 5px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--fighter-new-page .fighter-new-name-field input {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.72rem;
  }

  .app-body--fighter-new-page .fighter-new-stats {
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--fighter-new-page .fighter-new-stats-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 8px;
    align-items: center;
    margin-bottom: 7px;
  }

  .app-body--fighter-new-page .fighter-new-stats-header p:last-child {
    margin-top: 3px;
    font-size: 0.5rem;
    line-height: 1.15;
  }

  .app-body--fighter-new-page .fighter-new-remaining {
    padding: 6px 7px;
    border-radius: 8px;
  }

  .app-body--fighter-new-page .fighter-new-remaining strong {
    font-size: 1.05rem;
  }

  .app-body--fighter-new-page .fighter-new-remaining span {
    margin-top: 3px;
    font-size: 0.4rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--fighter-new-page .fighter-new-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .app-body--fighter-new-page .fighter-new-stat-field {
    min-width: 0;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--fighter-new-page .fighter-new-stat-field > span:first-child {
    min-width: 0;
    margin-bottom: 5px;
    gap: 5px;
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--fighter-new-page .fighter-new-stat-field > span:first-child > span {
    min-width: 0;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-new-page .fighter-new-stat-field svg {
    width: 12px;
    height: 12px;
  }

  .app-body--fighter-new-page .fighter-creation-stat-help {
    width: 15px;
    height: 15px;
    font-size: 0.52rem;
  }

  .app-body--fighter-new-page .fighter-new-stat-field input {
    min-height: 28px;
    padding: 0 7px;
    border-radius: 7px;
    font-size: 0.68rem;
  }

  .app-body--fighter-new-page .fighter-new-submit {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body:not(.app-body--fight-hub) .home-page {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .app-body:not(.app-body--fight-hub) .home-hero {
    height: calc(100vh - 34px);
    height: calc(100dvh - 34px);
    min-height: 300px;
  }

  .app-body:not(.app-body--fight-hub) .home-hero::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background:
      linear-gradient(90deg, rgb(0 0 0 / 76%) 0%, rgb(0 0 0 / 42%) 36%, rgb(0 0 0 / 12%) 72%),
      linear-gradient(180deg, rgb(0 0 0 / 16%) 0%, rgb(0 0 0 / 6%) 54%, rgb(0 0 0 / 42%) 100%);
    pointer-events: none;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-media img {
    object-position: 58% center;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-inner {
    z-index: 1;
    align-items: center;
    height: 100%;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 14px)
      calc(env(safe-area-inset-right, 0px) + 18px)
      16px
      calc(env(safe-area-inset-left, 0px) + 70px);
  }

  .app-body:not(.app-body--fight-hub) .home-hero-copy {
    width: min(54vw, 430px);
    max-width: 430px;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-kicker {
    margin-bottom: 6px;
    font-size: 0.54rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-title {
    font-size: clamp(2.75rem, 15vh, 4.35rem);
    line-height: 0.84;
    letter-spacing: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-intro {
    max-width: 410px;
    margin-top: 10px;
    font-size: clamp(0.76rem, 2.6vh, 0.95rem);
    line-height: 1.38;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-actions form {
    margin: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-actions button,
  .app-body:not(.app-body--fight-hub) .home-hero-actions a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.56rem;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .app-body:not(.app-body--fight-hub) .home-hero-actions a {
    border-color: rgb(255 255 255 / 22%);
    background: rgb(0 0 0 / 42%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
  }

  .app-body:not(.app-body--fight-hub) .home-combat-system {
    min-height: auto;
    padding: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-inner {
    height: auto;
    max-width: none;
    justify-content: start;
    padding:
      16px
      calc(env(safe-area-inset-right, 0px) + 14px)
      18px
      calc(env(safe-area-inset-left, 0px) + 70px);
  }

  .app-body:not(.app-body--fight-hub) .home-combat-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(230px, 1.1fr);
    gap: 14px;
    align-items: center;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-copy {
    min-width: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-kicker {
    font-size: 0.54rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-title {
    margin-top: 7px;
    font-size: clamp(1.45rem, 6.2vh, 2rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-subtitle {
    margin-top: 5px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-intro {
    max-width: none;
    margin-top: 8px;
    font-size: 0.66rem;
    line-height: 1.34;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-note {
    gap: 7px;
    margin-top: 9px;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-note span {
    width: 22px;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-note p {
    font-size: 0.52rem;
    line-height: 1.2;
    letter-spacing: 0.11em;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-visual {
    min-width: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-frame {
    border-radius: 10px;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-image {
    max-height: 34dvh;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 12px;
    border-radius: 10px;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature {
    min-height: 72px;
    padding: 8px 10px;
    border-right: 1px solid rgb(255 255 255 / 10%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature:nth-child(2n) {
    border-right: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature > div:nth-child(2) {
    width: 28px;
    height: 28px;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature svg {
    width: 13px;
    height: 13px;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature h3 {
    margin-top: 7px;
    font-size: 0.5rem;
    line-height: 1.1;
    letter-spacing: 0.1em;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-feature p {
    max-width: none;
    margin-top: 4px;
    font-size: 0.5rem;
    line-height: 1.25;
  }

  .app-body:not(.app-body--fight-hub) .home-combat-tagline {
    margin-top: 10px;
    font-size: 0.56rem;
    line-height: 1.1;
    letter-spacing: 0.16em;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-system {
    height: auto;
    min-height: auto;
    padding: 16px 0 18px;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-inner {
    height: auto;
    max-width: none;
    padding:
      0
      calc(env(safe-area-inset-right, 0px) + 14px)
      0
      calc(env(safe-area-inset-left, 0px) + 70px);
  }

  .app-body:not(.app-body--fight-hub) .home-progression-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-visual {
    display: none;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-copy {
    max-width: none;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-intro {
    max-width: none;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-card {
    padding: 10px;
    border-radius: 10px;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-card span {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-card svg {
    width: 14px;
    height: 14px;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-card h3 {
    font-size: 0.56rem;
    line-height: 1.12;
  }

  .app-body:not(.app-body--fight-hub) .home-progression-card p {
    margin-top: 5px;
    font-size: 0.52rem;
    line-height: 1.32;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-shell {
    grid-template-columns: minmax(170px, 0.72fr) minmax(300px, 1.28fr);
    gap: 14px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    max-width: none;
    overflow: visible;
    padding:
      calc(env(safe-area-inset-top, 0px) + 12px)
      calc(env(safe-area-inset-right, 0px) + 14px)
      calc(env(safe-area-inset-bottom, 0px) + 12px)
      calc(env(safe-area-inset-left, 0px) + 70px);
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-copy {
    min-width: 0;
    max-width: none;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-kicker {
    margin-bottom: 7px;
    font-size: 0.54rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-title {
    font-size: clamp(1.55rem, 7vh, 2.35rem);
    line-height: 0.88;
    letter-spacing: 0;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-title span {
    margin-top: 5px;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-intro {
    margin-top: 10px;
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 13px;
    border-radius: 16px;
    align-self: center;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-heading {
    margin-bottom: 9px;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-heading p {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-form {
    display: grid;
    gap: 8px;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-field span {
    margin-bottom: 4px;
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-input {
    min-height: 36px;
    padding: 0 11px;
    border-radius: 9px;
    font-size: 0.78rem;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-remember {
    min-height: 34px;
    gap: 8px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 0.66rem;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-remember input {
    width: 14px;
    height: 14px;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-submit {
    min-height: 36px;
    margin-top: 2px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 0.6rem;
    letter-spacing: 0.13em;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-links {
    margin-top: 10px;
    padding-top: 9px;
    font-size: 0.62rem;
  }

  .app-body:not(.app-body--fight-hub) .auth-sign-in-links > div {
    gap: 8px 12px;
    justify-content: center;
    font-size: 0.62rem;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-content {
    height: 100%;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 10px)
      calc(env(safe-area-inset-right, 0px) + 14px)
      calc(env(safe-area-inset-bottom, 0px) + 10px)
      calc(env(safe-area-inset-left, 0px) + 70px);
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-header {
    gap: 10px;
    height: 44px;
    min-height: 44px;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-title {
    max-width: min(50vw, 360px);
    font-size: clamp(0.86rem, 4.4vh, 1.16rem);
    line-height: 0.98;
    letter-spacing: 0;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-stats {
    display: flex;
    flex: 0 0 auto;
    grid-template-columns: none;
    gap: 8px;
    min-width: 0;
    height: 38px;
    overflow: visible;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-stats > div {
    min-width: 48px;
    margin-left: 0;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-stats > div > div {
    gap: 6px;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-stats > div:nth-child(-n + 2) span {
    width: 26px;
    height: 26px;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-stats p {
    font-size: 0.82rem;
    line-height: 1;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-stats .fighter-belt-display {
    transform: scale(0.74);
    transform-origin: right center;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-track {
    display: flex;
    flex: 1 1 auto;
    gap: 10px;
    min-height: 0;
    margin-top: 8px;
    padding: 2px 2px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-left: 2px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgb(96 165 250 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-track::-webkit-scrollbar {
    height: 6px;
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-track::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body:not(.app-body--fight-hub) .activity-hub-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(96 165 250 / 72%);
  }

  .app-body:not(.app-body--fight-hub) .activity-card {
    flex: 0 0 clamp(220px, 35vw, 260px);
    height: calc(100dvh - 74px);
    min-height: 218px;
    max-height: 292px;
    border-radius: 10px;
    scroll-snap-align: start;
  }

  .app-body:not(.app-body--fight-hub) .activity-card:hover {
    transform: none;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-media {
    flex: 0 0 39%;
    height: auto;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-icon {
    top: 9px;
    left: 9px;
    width: 30px;
    height: 30px;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-icon svg {
    width: 14px;
    height: 14px;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-body {
    padding: 10px;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-kicker {
    font-size: 0.48rem;
    line-height: 1.1;
    letter-spacing: 0.14em;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-title {
    margin-top: 4px;
    font-size: 0.96rem;
    line-height: 1;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-divider {
    width: 36px;
    margin-top: 7px;
  }

  .app-body:not(.app-body--fight-hub) .activity-card-description {
    margin-top: 7px;
    font-size: 0.56rem;
    line-height: 1.35;
  }

  .app-body:not(.app-body--fight-hub) .activity-cta {
    display: flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.11em;
  }

  .app-body--competitions-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--competitions-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--competitions-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--competitions-page .competitions-index-page,
  .app-body--competitions-page .competitions-index-root,
  .app-body--competitions-page .competitions-index-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--competitions-page .competitions-index-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--competitions-page .competitions-index-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
  }

  .app-body--competitions-page .competitions-index-heading > p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body--competitions-page .competitions-index-heading h1 {
    margin-top: 4px;
    font-size: clamp(1.35rem, 7vh, 2rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .app-body--competitions-page .competitions-index-heading h1 + p {
    max-width: none;
    margin-top: 5px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .app-body--competitions-page .competitions-index-summary {
    display: flex;
    gap: 6px;
  }

  .app-body--competitions-page .competition-summary-card {
    min-width: 92px;
    padding: 7px 8px;
    border-radius: 8px;
  }

  .app-body--competitions-page .competition-summary-card > div {
    gap: 7px;
  }

  .app-body--competitions-page .competition-summary-card span {
    width: 26px;
    height: 26px;
  }

  .app-body--competitions-page .competition-summary-card svg {
    width: 14px;
    height: 14px;
  }

  .app-body--competitions-page .competition-summary-card img {
    width: 18px;
    height: 18px;
  }

  .app-body--competitions-page .competition-summary-card p:first-child {
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--competitions-page .competition-summary-card p:last-child {
    margin-top: 3px;
    font-size: 0.92rem;
    line-height: 1;
  }

  .app-body--competitions-page .competitions-index-list {
    display: grid;
    gap: 8px;
    min-height: 0;
    margin-top: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 4px 6px 0;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--competitions-page .competitions-index-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
  }

  .app-body--competitions-page .competitions-index-list::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--competitions-page .competitions-index-list::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--competitions-page .competitions-index-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(245 158 11 / 72%);
  }

  .app-body--competitions-page .competition-card {
    border-radius: 9px;
  }

  .app-body--competitions-page .competition-card:hover {
    border-color: rgb(255 255 255 / 18%);
  }

  .app-body--competitions-page .competition-card-layout {
    grid-template-columns: 124px minmax(0, 1fr) 126px;
    min-height: 132px;
  }

  .app-body--competitions-page .competition-card-media {
    height: 100%;
    min-height: 132px;
    aspect-ratio: auto;
    border-right: 1px solid rgb(255 255 255 / 10%);
    border-bottom: 0;
  }

  .app-body--competitions-page .competition-card-media > span {
    top: 7px;
    right: 7px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }

  .app-body--competitions-page .competition-card-content {
    min-width: 0;
    padding: 9px 10px;
  }

  .app-body--competitions-page .competition-card-content > div:first-child {
    gap: 6px;
  }

  .app-body--competitions-page .competition-card h2 {
    max-width: 100%;
    font-size: clamp(0.82rem, 4vh, 1.08rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--competitions-page .competition-card .fighter-belt-display--activity {
    width: 68px;
    min-height: 24px;
    padding: 0 5px;
  }

  .app-body--competitions-page .competition-card .fighter-belt-display--activity .fighter-belt-main,
  .app-body--competitions-page .competition-card .fighter-belt-display--activity .fighter-belt-black-zone {
    height: 12px;
  }

  .app-body--competitions-page .competition-card .fighter-belt-display--activity .fighter-belt-black-zone {
    right: 12px;
    width: 30px;
  }

  .app-body--competitions-page .competition-card .fighter-belt-display--activity .fighter-belt-stripes {
    grid-template-columns: repeat(4, 3px);
    gap: 2px;
  }

  .app-body--competitions-page .competition-card .fighter-belt-display--activity .fighter-belt-stripe {
    height: 12px;
  }

  .app-body--competitions-page .competition-card-content > div:first-child > p {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.07em;
  }

  .app-body--competitions-page .competition-card-meta {
    gap: 7px;
    margin-top: 7px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.07em;
  }

  .app-body--competitions-page .competition-card-meta span {
    gap: 4px;
  }

  .app-body--competitions-page .competition-card-meta svg {
    width: 11px;
    height: 11px;
  }

  .app-body--competitions-page .competition-card-rewards {
    margin-top: 8px;
  }

  .app-body--competitions-page .competition-card-rewards > p,
  .app-body--competitions-page .competition-card-requirements > p {
    font-size: 0.45rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--competitions-page .competition-card-rewards > div,
  .app-body--competitions-page .competition-card-requirements > div {
    gap: 5px;
    margin-top: 5px;
  }

  .app-body--competitions-page .competition-card-rewards span,
  .app-body--competitions-page .competition-card-requirements span {
    gap: 4px;
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 0.48rem;
    letter-spacing: 0.04em;
  }

  .app-body--competitions-page .competition-card-rewards svg,
  .app-body--competitions-page .competition-card-requirements svg {
    width: 10px;
    height: 10px;
  }

  .app-body--competitions-page .competition-card-requirements {
    display: none;
  }

  .app-body--competitions-page .competition-card-side {
    gap: 7px;
    padding: 9px;
    border-top: 0;
    border-left: 1px solid rgb(255 255 255 / 10%);
  }

  .app-body--competitions-page .competition-card-side-copy {
    display: grid;
    gap: 7px;
    text-align: left;
  }

  .app-body--competitions-page .competition-card-status {
    gap: 3px;
    font-size: 0.5rem;
    line-height: 1.15;
  }

  .app-body--competitions-page .competition-card-schedule {
    gap: 5px;
    padding: 7px;
    border-radius: 7px;
  }

  .app-body--competitions-page .competition-card-schedule p:first-child {
    font-size: 0.42rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--competitions-page .competition-card-schedule p:last-child {
    margin-top: 3px;
    font-size: 0.5rem;
    line-height: 1.1;
  }

  .app-body--competitions-page .competition-card-action {
    min-height: 31px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--competitions-page .competition-card-action svg {
    width: 12px;
    height: 12px;
  }

  .app-body--competitions-page .competition-modal-dialog {
    width: calc(100vw - 22px);
    height: calc(100dvh - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 10px;
  }

  .app-body--competitions-page .competition-modal-hero {
    height: 82px;
    min-height: 82px;
    max-height: 82px;
  }

  .app-body--competitions-page .competition-modal-close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .app-body--competitions-page .competition-modal-close svg {
    width: 14px;
    height: 14px;
  }

  .app-body--competitions-page .competition-modal-hero > div:last-child {
    right: 46px;
    bottom: 10px;
    left: 12px;
  }

  .app-body--competitions-page .competition-modal-hero p {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--competitions-page .competition-modal-hero h3 {
    margin-top: 4px;
    font-size: clamp(1rem, 5.2vh, 1.4rem);
    line-height: 0.92;
  }

  .app-body--competitions-page .competition-modal-body {
    padding: 10px;
  }

  .app-body--competitions-page .competition-modal-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
  }

  .app-body--competitions-page .competition-modal-scroll > p {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .app-body--competitions-page .competition-modal-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .app-body--competitions-page .competition-modal-facts > div {
    padding-bottom: 7px;
  }

  .app-body--competitions-page .competition-modal-facts p:first-child,
  .app-body--competitions-page .competition-modal-scroll section > p {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--competitions-page .competition-modal-facts p:last-child {
    margin-top: 5px;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .app-body--competitions-page .competition-modal-scroll section > div {
    margin-top: 7px;
  }

  .app-body--competitions-page .competition-modal-scroll section span {
    min-height: 22px;
    padding: 3px 6px;
    font-size: 0.52rem;
    line-height: 1;
  }

  .app-body--competitions-page .competition-modal-actions {
    gap: 7px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .app-body--competitions-page .competition-modal-actions button,
  .app-body--competitions-page .competition-modal-actions a,
  .app-body--competitions-page .competition-modal-actions form {
    width: 100%;
  }

  .app-body--competitions-page .competition-modal-actions button,
  .app-body--competitions-page .competition-modal-actions a {
    min-height: 32px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .app-body--competitions-page .competitions-index-empty {
    min-height: 100%;
    margin-top: 0;
    padding: 18px;
  }

  .app-body--competitions-page .competitions-index-empty svg {
    width: 30px;
    height: 30px;
  }

  .app-body--competitions-page .competitions-index-empty h2 {
    margin-top: 8px;
    font-size: 1rem;
  }

  .app-body--competitions-page .competitions-index-empty p {
    font-size: 0.62rem;
  }

  .app-body--competition-show-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--competition-show-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--competition-show-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--competition-show-page .competition-show-page,
  .app-body--competition-show-page .competition-show-root,
  .app-body--competition-show-page .competition-show-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--competition-show-page .competition-show-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--competition-show-page .competition-show-header {
    grid-template-columns: 40px minmax(0, 1fr) minmax(116px, 0.28fr);
    gap: 8px;
    align-items: stretch;
    min-width: 0;
  }

  .app-body--competition-show-page .competition-show-back {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }

  .app-body--competition-show-page .competition-show-back svg {
    width: 18px;
    height: 18px;
  }

  .app-body--competition-show-page .competition-show-heading {
    min-width: 0;
  }

  .app-body--competition-show-page .competition-show-heading > p:first-child {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body--competition-show-page .competition-show-heading > div:nth-child(2) {
    gap: 7px;
    margin-top: 4px;
    flex-wrap: nowrap;
  }

  .app-body--competition-show-page .competition-show-heading h1 {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(1rem, 5.8vh, 1.55rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--competition-show-page .competition-show-heading .fighter-belt-display--activity {
    width: 64px;
    min-height: 22px;
    padding: 0 5px;
  }

  .app-body--competition-show-page .competition-show-heading .fighter-belt-display--activity .fighter-belt-main,
  .app-body--competition-show-page .competition-show-heading .fighter-belt-display--activity .fighter-belt-black-zone {
    height: 11px;
  }

  .app-body--competition-show-page .competition-show-heading .fighter-belt-display--activity .fighter-belt-black-zone {
    right: 12px;
    width: 28px;
  }

  .app-body--competition-show-page .competition-show-heading .fighter-belt-display--activity .fighter-belt-stripes {
    grid-template-columns: repeat(4, 3px);
    gap: 2px;
  }

  .app-body--competition-show-page .competition-show-heading .fighter-belt-display--activity .fighter-belt-stripe {
    height: 11px;
  }

  .app-body--competition-show-page .competition-show-heading > div:nth-child(3) {
    gap: 7px;
    margin-top: 5px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--competition-show-page .competition-show-heading > div:nth-child(3) span {
    gap: 4px;
  }

  .app-body--competition-show-page .competition-show-heading > div:nth-child(3) svg {
    width: 10px;
    height: 10px;
  }

  .app-body--competition-show-page .competition-show-rewards-summary {
    display: none;
  }

  .app-body--competition-show-page .competition-show-path-summary {
    min-width: 0;
    padding: 7px 8px;
    border-radius: 8px;
  }

  .app-body--competition-show-page .competition-show-path-summary > p:first-child {
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--competition-show-page .competition-show-path-summary > div {
    gap: 7px;
    margin-top: 5px;
  }

  .app-body--competition-show-page .competition-show-path-summary > div p {
    min-width: 0;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--competition-show-page .competition-show-path-summary > div span {
    font-size: 0.78rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-show-board {
    min-height: 0;
    margin-top: 0;
    border-radius: 9px;
  }

  .app-body--competition-show-page .competition-show-board-inner {
    height: 100%;
    min-height: 0;
    padding: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--competition-show-page .competition-show-board-inner::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--competition-show-page .competition-show-board-inner::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--competition-show-page .competition-show-board-inner::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(245 158 11 / 72%);
  }

  .app-body--competition-show-page .competition-show-background {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    opacity: 0.16;
  }

  .app-body--competition-show-page .competition-show-bracket-scroll {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    overscroll-behavior-x: contain;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--competition-show-page .competition-show-bracket-scroll::-webkit-scrollbar {
    height: 6px;
  }

  .app-body--competition-show-page .competition-show-bracket-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--competition-show-page .competition-show-bracket-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--competition-show-page .competition-show-bracket {
    display: grid;
    width: max-content;
    min-height: 0;
    gap: 8px;
    align-items: start;
  }

  .app-body--competition-show-page .competition-show-bracket--eight {
    grid-template-columns: 218px 204px 224px 204px 218px;
  }

  .app-body--competition-show-page .competition-show-bracket--generic {
    grid-auto-flow: column;
    grid-auto-columns: 218px;
    grid-template-columns: none;
  }

  .app-body--competition-show-page .competition-show-round {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 7px;
  }

  .app-body--competition-show-page .competition-show-round > :not([hidden]) ~ :not([hidden]),
  .app-body--competition-show-page .competition-show-round .space-y-10 > :not([hidden]) ~ :not([hidden]),
  .app-body--competition-show-page .competition-show-round .space-y-16 > :not([hidden]) ~ :not([hidden]),
  .app-body--competition-show-page .competition-show-round .space-y-7 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 7px;
  }

  .app-body--competition-show-page .competition-show-round h2 {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--competition-show-page .competition-show-final-emblem {
    width: 60px;
    height: 60px;
    border-radius: 10px;
  }

  .app-body--competition-show-page .competition-show-final-emblem svg {
    width: 22px;
    height: 22px;
  }

  .app-body--competition-show-page .competition-show-final-emblem p:first-of-type {
    margin-top: 4px;
    font-size: 0.42rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--competition-show-page .competition-show-final-emblem p:last-child {
    margin-top: 1px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-show-final-card {
    padding: 8px;
    border-radius: 8px;
  }

  .app-body--competition-show-page .competition-show-final-card > p:first-child {
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--competition-show-page .competition-show-final-avatars {
    gap: 7px;
    margin-top: 8px;
  }

  .app-body--competition-show-page .competition-show-final-avatars > div {
    height: 50px;
  }

  .app-body--competition-show-page .competition-show-final-avatars > span {
    font-size: 0.68rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-show-final-card > p:last-child {
    margin-top: 8px;
    font-size: 0.56rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-show-third-place {
    max-width: none;
  }

  .app-body--competition-show-page .competition-bracket-match {
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--competition-show-page .competition-bracket-match-header {
    gap: 6px;
    margin-bottom: 6px;
  }

  .app-body--competition-show-page .competition-bracket-match-header p {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--competition-show-page .competition-bracket-match-header span {
    padding: 2px 5px;
    font-size: 0.42rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--competition-show-page .competition-bracket-entrants > :not([hidden]) ~ :not([hidden]) {
    margin-top: 5px;
  }

  .app-body--competition-show-page .competition-bracket-entrant {
    min-height: 42px;
    gap: 6px;
    padding: 5px;
    border-radius: 7px;
  }

  .app-body--competition-show-page .competition-bracket-seed {
    width: 20px;
    height: 20px;
    font-size: 0.5rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-bracket-avatar {
    width: 32px;
    height: 32px;
  }

  .app-body--competition-show-page .competition-bracket-avatar svg {
    width: 15px;
    height: 15px;
  }

  .app-body--competition-show-page .competition-bracket-entrant-copy h3 {
    font-size: 0.54rem;
    line-height: 1.05;
    letter-spacing: 0;
  }

  .app-body--competition-show-page .competition-bracket-entrant-copy p {
    margin-top: 2px;
    font-size: 0.46rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-bracket-player-badge {
    padding: 1px 4px;
    font-size: 0.38rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--competition-show-page .competition-show-details {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 8px;
    margin-top: 8px;
  }

  .app-body--competition-show-page .competition-show-info-panel {
    grid-template-columns: minmax(164px, 0.62fr) minmax(0, 1fr);
    border-radius: 8px;
  }

  .app-body--competition-show-page .competition-show-info,
  .app-body--competition-show-page .competition-show-stats,
  .app-body--competition-show-page .competition-show-action-panel {
    padding: 8px;
  }

  .app-body--competition-show-page .competition-show-info > p,
  .app-body--competition-show-page .competition-show-stats > p,
  .app-body--competition-show-page .competition-show-action-panel > p:first-child {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--competition-show-page .competition-show-info dl {
    display: grid;
    gap: 5px;
    margin-top: 7px;
  }

  .app-body--competition-show-page .competition-show-info dl > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
  }

  .app-body--competition-show-page .competition-show-info dt,
  .app-body--competition-show-page .competition-show-info dd {
    font-size: 0.5rem;
    line-height: 1.1;
  }

  .app-body--competition-show-page .competition-show-info svg {
    width: 10px;
    height: 10px;
  }

  .app-body--competition-show-page .competition-show-stats > div {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 8px;
  }

  .app-body--competition-show-page .competition-show-stats > div p:first-child {
    font-size: 0.94rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-show-stats > div p:last-child {
    margin-top: 3px;
    font-size: 0.42rem;
    line-height: 1.05;
    letter-spacing: 0.05em;
  }

  .app-body--competition-show-page .competition-show-action-panel {
    border-radius: 8px;
  }

  .app-body--competition-show-page .competition-show-action-panel a,
  .app-body--competition-show-page .competition-show-action-panel button {
    min-height: 32px;
    margin-top: 8px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--competition-show-page .competition-show-action-panel form {
    margin-top: 8px;
  }

  .app-body--competition-show-page .competition-show-action-panel form button {
    margin-top: 0;
  }

  .app-body--competition-show-page .competition-show-action-panel > div:last-child {
    gap: 4px;
    margin-top: 7px;
    font-size: 0.46rem;
    line-height: 1.1;
    letter-spacing: 0.06em;
  }

  .app-body--competition-show-page .competition-show-action-panel > div:last-child svg {
    width: 11px;
    height: 11px;
  }

  .app-body--competition-show-page .competition-podium-dialog {
    width: calc(100vw - 22px);
    max-height: calc(100dvh - 18px);
    border-radius: 10px;
  }

  .app-body--competition-show-page .competition-podium-content {
    padding: 12px;
  }

  .app-body--competition-show-page .competition-podium-close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
  }

  .app-body--competition-show-page .competition-podium-close svg {
    width: 14px;
    height: 14px;
  }

  .app-body--competition-show-page .competition-podium-content header p:first-child {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body--competition-show-page .competition-podium-content header h2 {
    max-width: calc(100% - 40px);
    margin-top: 5px;
    overflow: hidden;
    font-size: clamp(1rem, 5.8vh, 1.5rem);
    line-height: 0.95;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--competition-show-page .competition-podium-content header h2 + p {
    margin-top: 5px;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .app-body--competition-show-page .competition-podium-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    margin-top: 10px;
  }

  .app-body--competition-show-page .competition-podium-card {
    min-height: 0 !important;
    padding: 8px !important;
    border-radius: 9px;
  }

  .app-body--competition-show-page .competition-podium-card > div:first-child {
    width: 30px;
    height: 30px;
  }

  .app-body--competition-show-page .competition-podium-card > div:first-child svg {
    width: 15px;
    height: 15px;
  }

  .app-body--competition-show-page .competition-podium-card > p:first-of-type {
    margin-top: 5px;
    font-size: 0.45rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--competition-show-page .competition-podium-card > div:nth-of-type(2) {
    width: 58px;
    height: 58px;
    margin-top: 7px;
    border-radius: 8px;
  }

  .app-body--competition-show-page .competition-podium-card h3 {
    margin-top: 7px;
    overflow: hidden;
    font-size: 0.62rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--competition-show-page .competition-podium-card h3 + p {
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--competition-show-page .competition-podium-card .fighter-belt-display--activity {
    width: 58px;
    min-height: 20px;
    padding: 0 4px;
  }

  .app-body--competition-show-page .competition-podium-card .fighter-belt-display--activity .fighter-belt-main,
  .app-body--competition-show-page .competition-podium-card .fighter-belt-display--activity .fighter-belt-black-zone {
    height: 10px;
  }

  .app-body--competition-show-page .competition-podium-card .fighter-belt-display--activity .fighter-belt-black-zone {
    right: 10px;
    width: 25px;
  }

  .app-body--competition-show-page .competition-podium-card .fighter-belt-display--activity .fighter-belt-stripes {
    grid-template-columns: repeat(4, 2px);
    gap: 1px;
  }

  .app-body--competition-show-page .competition-podium-card .fighter-belt-display--activity .fighter-belt-stripe {
    height: 10px;
  }

  .app-body--competition-show-page .competition-podium-card .flex.justify-center {
    margin-top: 6px;
  }

  .app-body--competition-show-page .competition-podium-card .mt-auto {
    gap: 4px;
    padding-top: 7px;
  }

  .app-body--competition-show-page .competition-podium-card .mt-auto span {
    gap: 3px;
    padding: 3px 5px;
    font-size: 0.45rem;
    line-height: 1;
  }

  .app-body--competition-show-page .competition-podium-card .mt-auto svg {
    width: 10px;
    height: 10px;
  }

  .app-body--competition-show-page .competition-podium-actions {
    margin-top: 8px;
  }

  .app-body--competition-show-page .competition-podium-actions button {
    min-height: 31px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--dojos-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--dojos-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--dojos-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--dojos-page .dojo-index-page,
  .app-body--dojos-page .dojo-index-root {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--dojos-page .dojo-index-shell {
    display: grid;
    grid-template-columns: calc(env(safe-area-inset-left, 0px) + 156px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      0;
    overflow: hidden;
  }

  .app-body--dojos-page .dojo-index-header {
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
    align-items: center;
  }

  .app-body--dojos-page .dojo-index-heading h1 {
    font-size: clamp(1.35rem, 7vh, 2rem);
    line-height: 0.88;
    letter-spacing: 0;
  }

  .app-body--dojos-page .dojo-index-heading p {
    max-width: none;
    margin-top: 5px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .app-body--dojos-page .dojo-index-stats {
    display: flex;
    gap: 6px;
  }

  .app-body--dojos-page .dojo-index-stats > div {
    min-width: 112px;
    padding: 7px 8px;
    border-radius: 8px;
  }

  .app-body--dojos-page .dojo-index-stats > div > div {
    gap: 7px;
  }

  .app-body--dojos-page .dojo-index-stats span {
    width: 26px;
    height: 26px;
  }

  .app-body--dojos-page .dojo-index-stats img,
  .app-body--dojos-page .dojo-index-stats svg {
    width: 16px;
    height: 16px;
  }

  .app-body--dojos-page .dojo-index-stats p:first-child {
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--dojos-page .dojo-index-stats p:last-child {
    margin-top: 3px;
    font-size: 0.9rem;
    line-height: 1;
  }

  .app-body--dojos-page .dojo-index-layout {
    display: contents;
  }

  .app-body--dojos-page .dojo-index-sidebar {
    position: relative;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    overflow-y: auto;
    padding:
      calc(env(safe-area-inset-top, 0px) + 56px)
      8px
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 7px);
    border-width: 0 1px 0 0;
    border-radius: 0;
    border-color: rgb(255 255 255 / 12%);
    background:
      radial-gradient(circle at 0% 0%, rgb(37 99 235 / 20%), transparent 52%),
      rgb(2 6 23 / 84%);
    box-shadow: 18px 0 44px rgb(0 0 0 / 34%);
    overscroll-behavior: contain;
    scrollbar-color: rgb(96 165 250 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    backdrop-filter: blur(14px);
    -webkit-overflow-scrolling: touch;
  }

  .app-body--dojos-page .dojo-index-sidebar::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--dojos-page .dojo-index-sidebar::-webkit-scrollbar-track {
    background: rgb(15 23 42 / 68%);
  }

  .app-body--dojos-page .dojo-index-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(96 165 250 / 72%);
  }

  .app-body--dojos-page .dojo-index-sidebar > p {
    font-size: 0.58rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body--dojos-page .dojo-index-filter-section {
    margin-top: 10px;
    padding-bottom: 10px;
  }

  .app-body--dojos-page .dojo-index-filter-section p {
    font-size: 0.46rem;
    line-height: 1.05;
    letter-spacing: 0.1em;
  }

  .app-body--dojos-page .dojo-index-filter-form {
    display: grid;
    gap: 10px;
    margin-top: 10px;
  }

  .app-body--dojos-page .dojo-index-filter-field {
    display: grid;
    gap: 6px;
    min-width: 0;
  }

  .app-body--dojos-page .dojo-index-filter-field > span {
    overflow: hidden;
    font-size: 0.46rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.1em;
    color: rgb(147 197 253);
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .app-body--dojos-page .dojo-index-filter-select {
    width: 100%;
    min-width: 0;
    height: 31px;
    cursor: pointer;
    appearance: none;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 8px;
    background:
      linear-gradient(45deg, transparent 50%, rgb(147 197 253) 50%) calc(100% - 12px) 12px / 5px 5px no-repeat,
      linear-gradient(135deg, rgb(147 197 253) 50%, transparent 50%) calc(100% - 8px) 12px / 5px 5px no-repeat,
      rgb(255 255 255 / 4%);
    padding: 0 22px 0 8px;
    overflow: hidden;
    font-size: 0.54rem;
    font-weight: 800;
    line-height: 1;
    color: rgb(255 255 255 / 82%);
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--dojos-page .dojo-index-filter-select:focus {
    border-color: rgb(96 165 250 / 62%);
    box-shadow: 0 0 0 2px rgb(37 99 235 / 20%);
  }

  .app-body--dojos-page .dojo-index-filter-section > div {
    display: grid;
    gap: 5px;
    margin-top: 7px;
  }

  .app-body--dojos-page .dojo-index-filter-link {
    min-height: 27px;
    gap: 6px;
    padding: 0 6px;
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 7px;
    background: rgb(255 255 255 / 4%);
    font-size: 0.52rem;
    line-height: 1;
  }

  .app-body--dojos-page .dojo-index-filter-link--active {
    border-color: rgb(96 165 250 / 50%);
    background: rgb(37 99 235 / 22%);
  }

  .app-body--dojos-page .dojo-index-filter-link svg {
    width: 12px;
    height: 12px;
  }

  .app-body--dojos-page .dojo-index-filter-link > span:last-child {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
  }

  .app-body--dojos-page .dojo-index-filter-link > span:last-child span {
    width: 6px;
    height: 6px;
  }

  .app-body--dojos-page .dojo-index-reset {
    min-height: 30px;
    margin-top: 10px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojos-page .dojo-index-reset svg {
    width: 13px;
    height: 13px;
  }

  .app-body--dojos-page .dojo-index-content {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--dojos-page .dojo-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 8px;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 0 2px 6px 0;
    overscroll-behavior: contain;
    scrollbar-color: rgb(96 165 250 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--dojos-page .dojo-index-grid::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--dojos-page .dojo-index-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--dojos-page .dojo-index-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(96 165 250 / 72%);
  }

  .app-body--dojos-page .dojo-index-card {
    display: grid;
    grid-template-rows: 84px minmax(0, auto) auto;
    min-height: 0;
    border-radius: 9px;
  }

  .app-body--dojos-page .dojo-index-card:hover {
    transform: none;
  }

  .app-body--dojos-page .dojo-index-card > span {
    top: 7px;
    right: 7px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojos-page .dojo-index-card-media {
    height: 84px;
  }

  .app-body--dojos-page .dojo-index-card-body {
    padding: 9px;
  }

  .app-body--dojos-page .dojo-index-card-body > div:first-child {
    gap: 8px;
    margin-top: -32px;
  }

  .app-body--dojos-page .dojo-index-card-body > div:first-child img {
    width: 52px;
    height: 52px;
    border-width: 1px;
  }

  .app-body--dojos-page .dojo-index-card h2 {
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--dojos-page .dojo-index-card h2 + p {
    gap: 4px;
    margin-top: 3px;
    font-size: 0.48rem;
    letter-spacing: 0.06em;
  }

  .app-body--dojos-page .dojo-index-card h2 + p svg {
    width: 10px;
    height: 10px;
  }

  .app-body--dojos-page .dojo-index-card-body > div:nth-child(2) {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
  }

  .app-body--dojos-page .dojo-index-card-body > div:nth-child(2) p {
    font-size: 0.46rem;
    letter-spacing: 0.1em;
  }

  .app-body--dojos-page .dojo-index-card-body > div:nth-child(2) > div {
    min-width: 0;
  }

  .app-body--dojos-page .dojo-index-card-body > div:nth-child(2) > div:last-child {
    padding-left: 8px;
  }

  .app-body--dojos-page .dojo-index-card .fighter-belt-display--activity {
    width: 68px;
    min-height: 24px;
    padding: 0 5px;
  }

  .app-body--dojos-page .dojo-index-card .fighter-belt-display--activity .fighter-belt-main,
  .app-body--dojos-page .dojo-index-card .fighter-belt-display--activity .fighter-belt-black-zone {
    height: 12px;
  }

  .app-body--dojos-page .dojo-index-card .fighter-belt-display--activity .fighter-belt-stripes {
    grid-template-columns: repeat(4, 3px);
    gap: 2px;
  }

  .app-body--dojos-page .dojo-index-card .fighter-belt-display--activity .fighter-belt-stripe {
    height: 12px;
  }

  .app-body--dojos-page .dojo-index-card .grid.h-6.w-6 {
    width: 20px;
    height: 20px;
  }

  .app-body--dojos-page .dojo-index-card .grid.h-6.w-6 svg {
    width: 12px;
    height: 12px;
  }

  .app-body--dojos-page .dojo-index-card .truncate.text-sm {
    font-size: 0.56rem;
    line-height: 1;
  }

  .app-body--dojos-page .dojo-index-card-footer {
    padding: 8px 9px;
  }

  .app-body--dojos-page .dojo-index-card-footer .text-xs {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojos-page .dojo-index-card-footer .text-sm {
    font-size: 0.56rem;
    line-height: 1.2;
  }

  .app-body--dojos-page .dojo-index-card-footer svg {
    width: 14px;
    height: 14px;
  }

  .app-body--dojos-page .dojo-index-card-footer a {
    min-height: 30px;
    margin-top: 8px;
    border-radius: 7px;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .app-body--dojos-page .dojo-index-card-footer ul {
    margin-top: 3px;
    gap: 2px;
  }

  .app-body--dojos-page .dojo-index-locked {
    width: 100%;
    align-items: center;
  }

  .app-body--dojos-page .dojo-index-locked-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    width: 100%;
  }

  .app-body--dojos-page .dojo-index-locked-copy p {
    white-space: nowrap;
  }

  .app-body--dojos-page .dojo-index-lock-reasons {
    display: grid;
    gap: 4px;
    margin-top: 0;
  }

  .app-body--dojos-page .dojo-index-lock-reasons li {
    white-space: nowrap;
  }

  .app-body--dojos-page .dojo-index-empty {
    min-height: 100%;
    padding: 16px;
  }

  .app-body--dojos-page .dojo-index-empty svg {
    width: 28px;
    height: 28px;
  }

  .app-body--dojos-page .dojo-index-empty h2 {
    margin-top: 8px;
    font-size: 1rem;
  }

  .app-body--dojos-page .dojo-index-empty p {
    font-size: 0.62rem;
  }

  .app-body--dojos-page {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
  }

  .app-body--dojos-page main {
    height: auto;
    min-height: 100%;
    overflow: visible;
  }

  .app-body--dojos-page .dojo-index-page,
  .app-body--dojos-page .dojo-index-root {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
  }

  .app-body--dojos-page .dojo-index-shell {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 10px)
      calc(env(safe-area-inset-left, 0px) + 10px);
    overflow: visible;
  }

  .app-body--dojos-page .dojo-index-header {
    grid-column: auto;
    padding-left: 52px;
  }

  .app-body--dojos-page .dojo-index-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 0;
  }

  .app-body--dojos-page .dojo-index-sidebar {
    position: relative;
    grid-column: auto;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 8px;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 10px;
    overflow: visible;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 12px;
    background:
      radial-gradient(circle at 0% 0%, rgb(37 99 235 / 18%), transparent 48%),
      rgb(2 6 23 / 72%);
    box-shadow: 0 18px 44px rgb(0 0 0 / 24%);
  }

  .app-body--dojos-page .dojo-index-sidebar > p {
    grid-column: 1 / -1;
  }

  .app-body--dojos-page .dojo-index-filter-section {
    min-width: 0;
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .app-body--dojos-page .dojo-index-filter-form {
    display: contents;
    margin-top: 0;
  }

  .app-body--dojos-page .dojo-index-filter-field {
    align-self: end;
  }

  .app-body--dojos-page .dojo-index-filter-select {
    height: 36px;
    border-radius: 9px;
    font-size: 0.62rem;
  }

  .app-body--dojos-page .dojo-index-filter-section > div {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .app-body--dojos-page .dojo-index-filter-section > div::-webkit-scrollbar {
    display: none;
  }

  .app-body--dojos-page .dojo-index-filter-link {
    flex: 0 0 auto;
    min-width: 76px;
    max-width: 132px;
    padding: 0 8px;
  }

  .app-body--dojos-page .dojo-index-reset {
    align-self: end;
    width: auto;
    min-width: 84px;
    margin-top: 0;
  }

  .app-body--dojos-page .dojo-index-content {
    grid-column: auto;
    grid-row: auto;
    overflow: visible;
  }

  .app-body--dojos-page .dojo-index-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    height: auto;
    overflow: visible;
    padding: 0;
  }

  .app-body--dojos-page .dojo-index-card {
    grid-template-rows: 92px auto auto;
  }

  .app-body--dojos-page .dojo-index-card-media {
    height: 92px;
  }

  .app-body--dojos-page .dojo-index-card-body {
    padding: 10px;
  }

  .app-body--dojos-page .dojo-index-card-body > div:first-child {
    margin-top: -34px;
  }

  .app-body--dojos-page .dojo-index-card h2 {
    font-size: 1rem;
  }

  @media (max-width: 700px) {
    .app-body--dojos-page .dojo-index-header {
      grid-template-columns: minmax(0, 1fr);
      padding-left: 52px;
    }

    .app-body--dojos-page .dojo-index-stats {
      width: 100%;
    }

    .app-body--dojos-page .dojo-index-sidebar {
      grid-template-columns: minmax(0, 1fr);
    }

    .app-body--dojos-page .dojo-index-reset {
      width: 100%;
    }

    .app-body--dojos-page .dojo-index-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  .app-body--dojo-show-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--dojo-show-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--dojo-show-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--dojo-show-page .dojo-show-page,
  .app-body--dojo-show-page .dojo-show-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--dojo-show-page .dojo-show-shell {
    grid-template-columns: clamp(226px, 34vw, 300px) minmax(0, 1fr);
  }

  .app-body--dojo-show-page .dojo-show-hero {
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border-right: 1px solid rgb(255 255 255 / 12%);
    border-bottom: 0;
    padding:
      calc(env(safe-area-inset-top, 0px) + 56px)
      10px
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 10px);
  }

  .app-body--dojo-show-page .dojo-show-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    content: "";
    background:
      linear-gradient(180deg, rgb(0 0 0 / 58%), rgb(0 0 0 / 34%) 42%, rgb(0 0 0 / 76%)),
      radial-gradient(circle at 28% 18%, rgb(245 158 11 / 22%), transparent 36%);
  }

  .app-body--dojo-show-page .dojo-show-hero-content {
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--dojo-show-page .dojo-show-hero-content::-webkit-scrollbar,
  .app-body--dojo-show-page .dojo-show-main::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--dojo-show-page .dojo-show-hero-content::-webkit-scrollbar-track,
  .app-body--dojo-show-page .dojo-show-main::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--dojo-show-page .dojo-show-hero-content::-webkit-scrollbar-thumb,
  .app-body--dojo-show-page .dojo-show-main::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(245 158 11 / 72%);
  }

  .app-body--dojo-show-page .dojo-show-back {
    min-height: 30px;
    gap: 6px;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .app-body--dojo-show-page .dojo-show-back span:first-child {
    width: 28px;
    height: 28px;
  }

  .app-body--dojo-show-page .dojo-show-back svg {
    width: 13px;
    height: 13px;
  }

  .app-body--dojo-show-page .dojo-show-identity {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
    margin-top: 10px;
    align-items: center;
  }

  .app-body--dojo-show-page .dojo-show-logo img {
    width: 48px;
    height: 48px;
  }

  .app-body--dojo-show-page .dojo-show-logo svg {
    width: 28px;
    height: 28px;
  }

  .app-body--dojo-show-page .dojo-show-title {
    min-width: 0;
  }

  .app-body--dojo-show-page .dojo-show-title h1 {
    overflow: hidden;
    font-size: clamp(1.1rem, 5.6vh, 1.7rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-overflow: ellipsis;
  }

  .app-body--dojo-show-page .dojo-show-title h1 + p {
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.56rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--dojo-show-page .dojo-show-title p:last-child {
    gap: 4px;
    margin-top: 4px;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojo-show-page .dojo-show-title p:last-child svg {
    width: 10px;
    height: 10px;
  }

  .app-body--dojo-show-page .dojo-show-description {
    display: -webkit-box;
    max-width: none;
    margin-top: 9px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.58rem;
    line-height: 1.32;
  }

  .app-body--dojo-show-page .dojo-show-summary {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 9px;
  }

  .app-body--dojo-show-page .dojo-show-summary-card {
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--dojo-show-page .dojo-show-summary-card p:first-child,
  .app-body--dojo-show-page .dojo-show-benefits > p {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--dojo-show-page .dojo-show-summary-card > div {
    gap: 7px;
    margin-top: 6px;
  }

  .app-body--dojo-show-page .dojo-show-summary-card span:not(.fighter-belt-main):not(.fighter-belt-black-zone):not(.fighter-belt-stripe) {
    font-size: 0.56rem;
    line-height: 1;
  }

  .app-body--dojo-show-page .dojo-show-summary-card .grid.h-10.w-10 {
    width: 26px;
    height: 26px;
  }

  .app-body--dojo-show-page .dojo-show-summary-card .grid.h-10.w-10 svg {
    width: 14px;
    height: 14px;
  }

  .app-body--dojo-show-page .dojo-show-summary-card .fighter-belt-display {
    transform: scale(0.74);
    transform-origin: left center;
  }

  .app-body--dojo-show-page .dojo-show-benefits-wrap {
    margin-top: 9px;
  }

  .app-body--dojo-show-page .dojo-show-benefits {
    padding: 8px;
    border-radius: 8px;
  }

  .app-body--dojo-show-page .dojo-show-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 7px;
  }

  .app-body--dojo-show-page .dojo-show-benefit-card {
    min-width: 0;
    padding: 6px;
    border-radius: 7px;
  }

  .app-body--dojo-show-page .dojo-show-benefit-card span:first-child {
    width: 24px;
    height: 24px;
  }

  .app-body--dojo-show-page .dojo-show-benefit-card svg {
    width: 13px;
    height: 13px;
  }

  .app-body--dojo-show-page .dojo-show-benefit-card p:nth-of-type(1) {
    margin-top: 5px;
    font-size: 0.43rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--dojo-show-page .dojo-show-benefit-card p:nth-of-type(2) {
    margin-top: 3px;
    overflow: hidden;
    font-size: 0.54rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--dojo-show-page .dojo-show-main {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding:
      calc(env(safe-area-inset-top, 0px) + 10px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      10px;
    overscroll-behavior: contain;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--dojo-show-page .dojo-show-challenge-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .app-body--dojo-show-page .dojo-show-challenge-header p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body--dojo-show-page .dojo-show-challenge-header p:last-child {
    max-width: none;
    margin-top: 0;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .app-body--dojo-show-page .dojo-show-fights {
    display: grid;
    gap: 7px;
    margin-top: 8px;
  }

  .app-body--dojo-show-page .dojo-show-fights > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
  }

  .app-body--dojo-show-page .dojo-show-fight {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 7px;
    border-radius: 9px;
  }

  .app-body--dojo-show-page .dojo-show-fight-step span:last-child {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .app-body--dojo-show-page .dojo-show-fight-step span:first-child {
    display: none;
  }

  .app-body--dojo-show-page .dojo-show-fight-body {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .app-body--dojo-show-page .dojo-show-fight-media {
    height: 48px;
    border-radius: 7px;
  }

  .app-body--dojo-show-page .dojo-show-fight-profile .fighter-belt-display {
    width: 54px;
    min-height: 20px;
    padding: 0 4px;
  }

  .app-body--dojo-show-page .dojo-show-fight-profile .fighter-belt-display--activity .fighter-belt-main,
  .app-body--dojo-show-page .dojo-show-fight-profile .fighter-belt-display--activity .fighter-belt-black-zone {
    height: 10px;
  }

  .app-body--dojo-show-page .dojo-show-fight-profile .fighter-belt-display--activity .fighter-belt-stripes {
    grid-template-columns: repeat(4, 3px);
    gap: 1px;
  }

  .app-body--dojo-show-page .dojo-show-fight-profile .fighter-belt-display--activity .fighter-belt-stripe {
    height: 10px;
  }

  .app-body--dojo-show-page .dojo-show-fight-profile .mt-2 {
    margin-top: 4px;
  }

  .app-body--dojo-show-page .dojo-show-fight-copy > p:first-child {
    margin-bottom: 2px;
    font-size: 0.45rem;
    letter-spacing: 0.1em;
  }

  .app-body--dojo-show-page .dojo-show-fight-copy h3 {
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.03;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--dojo-show-page .dojo-show-fight-copy h3 + p,
  .app-body--dojo-show-page .dojo-show-fight-copy p:not(:first-child) {
    margin-top: 2px;
    font-size: 0.52rem;
    line-height: 1.16;
  }

  .app-body--dojo-show-page .dojo-show-fight-copy p:nth-of-type(n + 4) {
    display: none;
  }

  .app-body--dojo-show-page .dojo-show-fight-action {
    min-width: 88px;
  }

  .app-body--dojo-show-page .dojo-show-fight-action button,
  .app-body--dojo-show-page .dojo-show-fight-action > span {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .app-body--dojo-show-page .dojo-show-fight-action svg {
    width: 14px;
    height: 14px;
  }

  .app-body--dojo-show-page .dojo-show-fight-action strong {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojo-show-page .dojo-show-fight-action .text-sm {
    font-size: 0.5rem;
    line-height: 1;
  }

  .app-body--dojo-show-page .dojo-show-coach-intro {
    margin-top: 8px;
    padding: 9px;
    border-radius: 12px;
    box-shadow: 4px 4px 0 rgb(0 0 0 / 72%);
  }

  .app-body--dojo-show-page .dojo-show-coach-intro .h-12.w-12 {
    width: 36px;
    height: 36px;
  }

  .app-body--dojo-show-page .dojo-show-coach-intro p:first-child {
    font-size: 0.5rem;
  }

  .app-body--dojo-show-page .dojo-show-coach-intro p:nth-child(2) {
    margin-top: 5px;
    font-size: 0.68rem;
    line-height: 1.24;
  }

  .app-body--dojo-show-page .dojo-show-coach-intro button {
    min-height: 30px;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojo-show-page .dojo-show-coach-card {
    margin-top: 8px;
    border-radius: 9px;
  }

  .app-body--dojo-show-page .dojo-show-coach-layout {
    grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
    gap: 6px;
    min-height: 132px;
    align-items: stretch;
  }

  .app-body--dojo-show-page .dojo-show-coach-status,
  .app-body--dojo-show-page .dojo-show-coach-actions {
    align-self: center;
    gap: 8px;
    padding: 9px;
  }

  .app-body--dojo-show-page .dojo-show-coach-status > span {
    width: 34px;
    height: 34px;
  }

  .app-body--dojo-show-page .dojo-show-coach-status svg {
    width: 18px;
    height: 18px;
  }

  .app-body--dojo-show-page .dojo-show-coach-status p:first-child {
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--dojo-show-page .dojo-show-coach-status p:last-child {
    margin-top: 4px;
    font-size: 0.56rem;
    line-height: 1.24;
  }

  .app-body--dojo-show-page .dojo-show-coach-portrait {
    display: block;
    min-height: 132px;
  }

  .app-body--dojo-show-page .dojo-show-coach-portrait img {
    height: 154px;
  }

  .app-body--dojo-show-page .dojo-show-coach-actions h3 {
    font-size: 0.9rem;
    line-height: 1;
  }

  .app-body--dojo-show-page .dojo-show-coach-actions p {
    margin-top: 3px;
    font-size: 0.54rem;
    line-height: 1.16;
  }

  .app-body--dojo-show-page .dojo-show-coach-actions a,
  .app-body--dojo-show-page .dojo-show-coach-actions button,
  .app-body--dojo-show-page .dojo-show-coach-actions .inline-flex {
    min-height: 30px;
    margin-top: 7px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .app-body--dojo-show-page .dojo-show-coach-actions svg {
    width: 13px;
    height: 13px;
  }

  .app-body--coach-show-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--coach-show-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--coach-show-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--coach-show-page .coach-show-page,
  .app-body--coach-show-page .coach-show-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--coach-show-page .coach-show-page {
    overflow-y: hidden;
  }

  .app-body--coach-show-page .coach-show-shell {
    display: grid;
    grid-template-columns: clamp(164px, 24vw, 218px) minmax(0, 1fr);
    gap: 8px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      0;
  }

  .app-body--coach-show-page .coach-show-credits {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    right: calc(env(safe-area-inset-right, 0px) + 9px);
    min-height: 32px;
    gap: 6px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .app-body--coach-show-page .coach-show-credits svg {
    width: 14px;
    height: 14px;
  }

  .app-body--coach-show-page .coach-show-credits span span:last-child {
    display: none;
  }

  .app-body--coach-show-page .coach-show-stage-portrait,
  .app-body--coach-show-page .coach-show-mobile-portrait {
    display: none;
  }

  .app-body--coach-show-page .coach-tour-highlight {
    border-radius: 8px;
    outline-offset: 4px;
    box-shadow:
      0 0 0 4px rgb(251 191 36 / 14%),
      0 0 24px rgb(251 191 36 / 48%);
  }

  .app-body--coach-show-page .coach-tour-panel {
    top: auto;
    right: calc(env(safe-area-inset-right, 0px) + 12px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    left: auto;
    display: grid;
    grid-template-areas:
      "kicker actions"
      "title actions"
      "body actions";
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 4px;
    width: min(320px, calc(100vw - 232px));
    max-height: min(152px, calc(100dvh - 24px));
    padding: 10px 11px;
    overflow: hidden;
    border-radius: 12px;
  }

  .app-body--coach-show-page .coach-tour-panel[data-coach-tour-scenario="after_tutorial_navigation"] {
    top: calc(env(safe-area-inset-top, 0px) + 54px);
    right: auto;
    bottom: auto;
    left: calc(min(320px, 42vw) + 14px);
    width: min(310px, calc(100vw - min(320px, 42vw) - 28px));
  }

  .app-body--coach-show-page .coach-tour-panel__kicker {
    grid-area: kicker;
    margin: 0;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--coach-show-page .coach-tour-panel__title {
    grid-area: title;
    margin-top: 0;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--coach-show-page .coach-tour-panel__body {
    grid-area: body;
    max-height: 70px;
    margin-top: 2px;
    overflow-y: auto;
    padding-right: 3px;
    font-size: 0.62rem;
    line-height: 1.28;
    scrollbar-width: thin;
  }

  .app-body--coach-show-page .coach-tour-panel__actions {
    grid-area: actions;
    display: grid;
    align-content: end;
    gap: 6px;
    margin-top: 0;
  }

  .app-body--coach-show-page .coach-tour-panel__button {
    min-width: 82px;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.5rem;
    line-height: 1.05;
    letter-spacing: 0.08em;
  }

  .app-body--coach-show-page .coach-show-sidebar {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding:
      calc(env(safe-area-inset-top, 0px) + 48px)
      8px
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 8px);
    border-right: 1px solid rgb(255 255 255 / 12%);
    background:
      radial-gradient(circle at 0% 0%, rgb(245 158 11 / 18%), transparent 55%),
      rgb(2 6 23 / 78%);
    box-shadow: 18px 0 44px rgb(0 0 0 / 32%);
    overscroll-behavior: contain;
    scrollbar-color: rgb(245 158 11 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    backdrop-filter: blur(14px);
    -webkit-overflow-scrolling: touch;
  }

  .app-body--coach-show-page .coach-show-sidebar::-webkit-scrollbar,
  .app-body--coach-show-page .coach-show-advice-panel::-webkit-scrollbar,
  .app-body--coach-show-page .coach-answer-bubble::-webkit-scrollbar,
  .app-body--coach-show-page .coach-show-lessons-content::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--coach-show-page .coach-show-sidebar::-webkit-scrollbar-track,
  .app-body--coach-show-page .coach-show-advice-panel::-webkit-scrollbar-track,
  .app-body--coach-show-page .coach-answer-bubble::-webkit-scrollbar-track,
  .app-body--coach-show-page .coach-show-lessons-content::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--coach-show-page .coach-show-sidebar::-webkit-scrollbar-thumb,
  .app-body--coach-show-page .coach-show-advice-panel::-webkit-scrollbar-thumb,
  .app-body--coach-show-page .coach-answer-bubble::-webkit-scrollbar-thumb,
  .app-body--coach-show-page .coach-show-lessons-content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(245 158 11 / 72%);
  }

  .app-body--coach-show-page .coach-show-back {
    min-height: 28px;
    gap: 6px;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .app-body--coach-show-page .coach-show-back span:first-child {
    width: 28px;
    height: 28px;
  }

  .app-body--coach-show-page .coach-show-back svg {
    width: 13px;
    height: 13px;
  }

  .app-body--coach-show-page .coach-show-overview {
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--coach-show-page .coach-show-overview > p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--coach-show-page .coach-show-overview-body {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
    margin-top: 7px;
  }

  .app-body--coach-show-page .coach-show-avatar {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }

  .app-body--coach-show-page .coach-show-overview h1 {
    overflow: hidden;
    font-size: clamp(0.95rem, 4.8vh, 1.35rem);
    line-height: 0.92;
    text-overflow: ellipsis;
  }

  .app-body--coach-show-page .coach-show-overview h1 + p {
    display: -webkit-box;
    margin-top: 4px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.52rem;
    line-height: 1.24;
  }

  .app-body--coach-show-page .coach-show-overview .mt-3.flex.flex-wrap {
    gap: 4px;
    margin-top: 6px;
  }

  .app-body--coach-show-page .coach-show-overview .mt-3.flex.flex-wrap span {
    min-height: 20px;
    padding: 0 5px;
    font-size: 0.42rem;
    letter-spacing: 0.06em;
  }

  .app-body--coach-show-page .coach-show-overview .mt-3.flex.flex-wrap svg {
    width: 10px;
    height: 10px;
  }

  .app-body--coach-show-page .coach-show-overview form button,
  .app-body--coach-show-page .coach-show-guide-button {
    min-height: 30px;
    margin-top: 7px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .app-body--coach-show-page .coach-show-overview form button svg,
  .app-body--coach-show-page .coach-show-guide-button svg {
    width: 13px;
    height: 13px;
  }

  .app-body--coach-show-page .coach-show-overview .my-5 {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .app-body--coach-show-page .coach-show-dojo {
    gap: 7px;
  }

  .app-body--coach-show-page .coach-show-dojo > div:first-child {
    width: 36px;
    height: 36px;
  }

  .app-body--coach-show-page .coach-show-dojo > div:first-child img {
    width: 36px;
    height: 36px;
  }

  .app-body--coach-show-page .coach-show-dojo > div:last-child > p:first-child {
    font-size: 0.46rem;
    letter-spacing: 0.1em;
  }

  .app-body--coach-show-page .coach-show-dojo h2 {
    margin-top: 3px;
    font-size: 0.72rem;
    line-height: 1;
  }

  .app-body--coach-show-page .coach-show-dojo h2 + p {
    gap: 4px;
    margin-top: 3px;
    font-size: 0.5rem;
    line-height: 1;
  }

  .app-body--coach-show-page .coach-show-dojo h2 + p svg {
    width: 10px;
    height: 10px;
  }

  .app-body--coach-show-page .coach-show-dojo p:last-child {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.52rem;
    line-height: 1.22;
  }

  .app-body--coach-show-page .coach-show-chat-column {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(245px, 300px);
    gap: 8px;
    align-items: stretch;
    justify-content: stretch;
    min-width: 0;
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 0;
  }

  .app-body--coach-show-page .coach-show-answer-card {
    display: grid;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 10px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 4px 4px 0 rgb(0 0 0 / 62%);
  }

  .app-body--coach-show-page .coach-show-answer-card > span {
    display: none;
  }

  .app-body--coach-show-page .coach-answer-bubble {
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-right: 4px;
    font-size: 0.72rem;
    line-height: 1.42;
    overscroll-behavior: contain;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 30%);
    scrollbar-width: thin;
  }

  .app-body--coach-show-page .coach-show-advice-panel {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    padding: 9px;
    border-radius: 10px;
    overscroll-behavior: contain;
    scrollbar-color: rgb(245 158 11 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--coach-show-page .coach-show-advice-panel > div:first-child {
    margin-bottom: 7px;
  }

  .app-body--coach-show-page .coach-show-advice-panel > div:first-child p,
  .app-body--coach-show-page .coach-show-capability label,
  .app-body--coach-show-page .coach-show-capability p:first-child {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--coach-show-page .coach-show-preset-list {
    display: grid;
    gap: 5px;
  }

  .app-body--coach-show-page .coach-show-preset-list > :not([hidden]) ~ :not([hidden]) {
    margin-top: 0;
  }

  .app-body--coach-show-page .coach-show-preset-list button {
    min-height: 30px;
    gap: 7px;
    padding: 6px 8px;
    border-radius: 7px;
    font-size: 0.56rem;
    line-height: 1.15;
  }

  .app-body--coach-show-page .coach-show-preset-list button svg {
    width: 13px;
    height: 13px;
  }

  .app-body--coach-show-page .coach-show-capability {
    margin-top: 7px;
    padding: 8px;
    border-radius: 8px;
  }

  .app-body--coach-show-page .coach-show-capability .mb-2 {
    margin-bottom: 6px;
  }

  .app-body--coach-show-page .coach-show-capability .mb-2 span {
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--coach-show-page .coach-show-capability .grid.gap-2 {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
  }

  .app-body--coach-show-page .coach-show-capability select,
  .app-body--coach-show-page .coach-show-capability textarea {
    min-height: 30px;
    padding: 0 7px;
    border-radius: 7px;
    font-size: 0.56rem;
    line-height: 1.1;
  }

  .app-body--coach-show-page .coach-show-capability textarea {
    height: 54px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .app-body--coach-show-page .coach-show-capability button {
    min-height: 30px;
    gap: 5px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }

  .app-body--coach-show-page .coach-show-capability button svg {
    width: 13px;
    height: 13px;
  }

  .app-body--coach-show-page .coach-show-capability > p:last-child {
    margin-top: 5px;
    font-size: 0.5rem;
    line-height: 1.2;
  }

  .app-body--coach-show-page .coach-show-lessons-dialog {
    width: min(760px, calc(100vw - 20px));
    max-height: calc(100dvh - 18px);
    border-radius: 10px;
  }

  .app-body--coach-show-page .coach-show-lessons-content {
    max-height: calc(100dvh - 18px);
    padding: 10px;
  }

  .app-body--coach-show-page .coach-show-lessons-content > button {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }

  .app-body--coach-show-page .coach-show-lessons-content header {
    padding-right: 36px;
  }

  .app-body--coach-show-page .coach-show-lessons-content header p:first-child {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  .app-body--coach-show-page .coach-show-lessons-content header h2 {
    margin-top: 4px;
    font-size: 1.05rem;
    line-height: 1;
  }

  .app-body--coach-show-page .coach-show-lessons-content header .inline-flex.items-center {
    min-height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.58rem;
  }

  .app-body--coach-show-page .coach-show-lessons-content header > p:last-child {
    margin-top: 6px;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .app-body--coach-show-page .coach-show-lessons-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }

  .app-body--coach-show-page .coach-show-lesson-card {
    min-height: 230px;
    border-radius: 9px;
  }

  .app-body--coach-show-page .coach-show-lesson-card button > span:first-child {
    height: 78px;
  }

  .app-body--coach-show-page .coach-show-lesson-card button > span:nth-child(2) {
    padding: 8px;
  }

  .app-body--coach-show-page .coach-show-lesson-card .text-base {
    font-size: 0.68rem;
    line-height: 1.05;
  }

  .app-body--coach-show-page .coach-show-lesson-card .text-sm {
    margin-top: 6px;
    font-size: 0.54rem;
    line-height: 1.24;
  }

  .app-body--coach-show-page .coach-show-lesson-card > div:last-child {
    gap: 6px;
    padding: 8px;
  }

  .app-body--coach-show-page .coach-show-lesson-card > div:last-child button,
  .app-body--coach-show-page .coach-show-lesson-card > div:last-child a {
    min-height: 28px;
    border-radius: 7px;
    font-size: 0.48rem;
  }

  .app-body--fighter-deck-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--fighter-deck-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--fighter-deck-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--fighter-deck-page .fighter-deck-page {
    display: flex;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .app-body--fighter-deck-page .fighter-deck-hero {
    flex: 0 0 auto;
  }

  .app-body--fighter-deck-page .fighter-deck-hero-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      8px
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--fighter-deck-page .fighter-deck-hero-copy {
    min-width: 0;
  }

  .app-body--fighter-deck-page .fighter-deck-hero-copy p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body--fighter-deck-page .fighter-deck-hero-copy h1 {
    margin-top: 5px;
    overflow: hidden;
    font-size: clamp(1.15rem, 5.8vh, 1.62rem);
    line-height: 0.92;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-deck-page .fighter-deck-hero-copy p:last-child {
    display: none;
  }

  .app-body--fighter-deck-page .fighter-deck-actions {
    align-self: center;
  }

  .app-body--fighter-deck-page .fighter-deck-actions a {
    min-height: 30px;
    gap: 5px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--fighter-deck-page .fighter-deck-actions svg {
    width: 13px;
    height: 13px;
  }

  .app-body--fighter-deck-page .fighter-deck-content {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    padding:
      8px
      calc(env(safe-area-inset-right, 0px) + 16px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--fighter-deck-page .fighter-deck-frame {
    display: contents;
  }

  .app-body--fighter-deck-page .fighter-deck-summary {
    display: none;
  }

  .app-body--fighter-deck-page .fighter-deck-message {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 50px);
    right: calc(env(safe-area-inset-right, 0px) + 10px);
    z-index: 92;
    max-width: min(320px, 46vw);
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 0.58rem;
    line-height: 1.2;
    box-shadow: 0 14px 34px rgb(0 0 0 / 42%);
  }

  .app-body--fighter-deck-page .fighter-deck-layout {
    display: contents;
  }

  .app-body--fighter-deck-page .fighter-deck-sidebar {
    display: contents;
  }

  .app-body--fighter-deck-page .fighter-deck-filters,
  .app-body--fighter-deck-page .fighter-deck-main {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgb(239 68 68 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--fighter-deck-page .fighter-deck-main::-webkit-scrollbar,
  .app-body--fighter-deck-page .fighter-deck-filters::-webkit-scrollbar,
  .app-body--fighter-deck-page .technique-modal-main::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--fighter-deck-page .fighter-deck-main::-webkit-scrollbar-track,
  .app-body--fighter-deck-page .fighter-deck-filters::-webkit-scrollbar-track,
  .app-body--fighter-deck-page .technique-modal-main::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--fighter-deck-page .fighter-deck-main::-webkit-scrollbar-thumb,
  .app-body--fighter-deck-page .fighter-deck-filters::-webkit-scrollbar-thumb,
  .app-body--fighter-deck-page .technique-modal-main::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--fighter-deck-page .fighter-deck-filters {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-self: stretch;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    max-height: none;
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 9px;
    background:
      radial-gradient(circle at 0% 0%, rgb(239 68 68 / 18%), transparent 56%),
      rgb(2 6 23 / 76%);
    overscroll-behavior: contain;
    scroll-padding-block: 7px;
    scroll-snap-type: y proximity;
  }

  .app-body--fighter-deck-page .fighter-deck-filters .technique-filter {
    min-height: 30px;
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0 7px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0.06em;
    scroll-snap-align: start;
    text-align: left;
    text-overflow: ellipsis;
    white-space: normal;
  }

  .app-body--fighter-deck-page .fighter-deck-filters .technique-filter::before {
    content: attr(data-mobile-label);
    font-size: 0.48rem;
    line-height: 1.05;
  }

  .app-body--fighter-deck-page .fighter-deck-display-options {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    align-items: end;
    min-width: 0;
    margin-bottom: 0;
    padding: 7px 8px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 9px;
    background: rgb(255 255 255 / 3.5%);
    box-shadow: 0 14px 30px rgb(0 0 0 / 18%);
    backdrop-filter: blur(10px);
  }

  .app-body--fighter-deck-page .fighter-deck-display-options label {
    min-height: 32px;
    gap: 6px;
    justify-content: flex-start;
    width: 100%;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0;
    line-height: 1.1;
    letter-spacing: 0.05em;
  }

  .app-body--fighter-deck-page .fighter-deck-display-options label::after {
    content: attr(data-mobile-label);
    font-size: 0.45rem;
  }

  .app-body--fighter-deck-page .fighter-deck-display-options input {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
  }

  .app-body--fighter-deck-page .fighter-deck-display-options span {
    display: none;
  }

  .app-body--fighter-deck-page .fighter-deck-main {
    grid-column: 2;
    grid-row: 2;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    margin-top: 0;
    overflow-x: hidden;
    padding: 0 8px 10px 0;
  }

  .app-body--fighter-deck-page .fighter-deck-sections {
    display: grid;
    gap: 8px;
  }

  .app-body--fighter-deck-page .fighter-deck-slot {
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--fighter-deck-page .fighter-deck-slot-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .app-body--fighter-deck-page .fighter-deck-slot-heading h2 {
    overflow: hidden;
    font-size: clamp(0.78rem, 3.8vh, 1.05rem);
    line-height: 1;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-deck-page .fighter-deck-slot-heading span {
    display: inline-flex;
    min-width: 96px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 7px;
    font-size: 0.47rem;
    line-height: 1;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 8px;
    min-width: 0;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid [data-controller="technique-modal"],
  .app-body--fighter-deck-page .fighter-deck-technique {
    min-width: 0;
    width: 100%;
  }

  .app-body--fighter-deck-page .fighter-deck-technique {
    gap: 5px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card {
    min-height: 176px;
    gap: 5px;
    padding: 7px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgb(0 0 0 / 28%), inset 0 1px 0 rgb(255 255 255 / 8%);
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card--interactive:hover,
  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card--interactive:focus-visible {
    transform: none;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card::before {
    height: 4px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card::after {
    inset: 4px 0 auto;
    height: 48px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-topline {
    gap: 4px;
    min-width: 0;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-category,
  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-belt {
    min-width: 0;
    min-height: 18px;
    padding: 3px 4px;
    border-radius: 5px;
    font-size: 0.38rem;
    letter-spacing: 0;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-category {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-belt {
    flex: 0 0 auto;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-category svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .belt-dot {
    width: 7px;
    height: 7px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card h3 {
    min-height: 26px;
    font-size: 0.62rem;
    line-height: 1.05;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-media {
    width: min(52%, 56px);
    border-radius: 6px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-media img {
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border-radius: 5px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-sources {
    display: none;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-context {
    gap: 4px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-context span {
    min-height: 18px;
    padding: 3px 4px;
    border-radius: 5px;
    font-size: 0.42rem;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-context svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-stat-chip strong {
    font-size: 0.48rem;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-metrics {
    gap: 4px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-metric {
    min-height: 24px;
    gap: 2px;
    padding: 3px;
    border-radius: 5px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-metric svg {
    width: 9px;
    height: 9px;
  }

  .app-body--fighter-deck-page .fighter-deck-card-grid .technique-card-metric strong {
    font-size: 0.48rem;
  }

  .app-body--fighter-deck-page .fighter-deck-technique-toolbar {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: stretch;
    gap: 5px;
  }

  .app-body--fighter-deck-page .fighter-deck-technique-status,
  .app-body--fighter-deck-page .fighter-deck-toggle {
    min-height: 26px;
    gap: 4px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.05em;
  }

  .app-body--fighter-deck-page .fighter-deck-technique-status {
    width: 28px;
    min-width: 28px;
    justify-content: center;
    padding: 0;
  }

  .app-body--fighter-deck-page .fighter-deck-technique form {
    min-width: 0;
    width: 100%;
  }

  .app-body--fighter-deck-page .fighter-deck-toggle {
    width: 100%;
  }

  .app-body--fighter-deck-page .fighter-deck-toggle span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-deck-page .fighter-deck-technique-status span {
    display: none;
  }

  .app-body--fighter-deck-page .fighter-deck-technique-status svg,
  .app-body--fighter-deck-page .fighter-deck-toggle svg {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
  }

  .app-body--fighter-deck-page .fighter-deck-lock-overlay {
    top: 70px;
    min-height: 24px;
    gap: 5px;
    padding: 0 8px;
    border-radius: 7px;
    font-size: 0.46rem;
    letter-spacing: 0.06em;
  }

  .app-body--fighter-deck-page .fighter-deck-lock-overlay svg {
    width: 11px;
    height: 11px;
  }

  .app-body--fighter-deck-page .technique-empty {
    min-height: 62px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .app-body--fighter-deck-page .technique-modal {
    width: min(720px, calc(100vw - 18px));
    max-height: calc(100dvh - 18px);
  }

  .app-body--fighter-deck-page .technique-modal-panel {
    gap: 6px;
    max-height: calc(100dvh - 18px);
    overflow: hidden;
    padding: 9px;
    border-radius: 8px;
  }

  .app-body--fighter-deck-page .technique-modal-close {
    top: 7px;
    right: 7px;
    width: 28px;
    height: 28px;
  }

  .app-body--fighter-deck-page .technique-modal-close svg {
    width: 15px;
    height: 15px;
  }

  .app-body--fighter-deck-page .technique-modal-view-link {
    top: 7px;
    right: 40px;
    width: 28px;
    height: 28px;
  }

  .app-body--fighter-deck-page .technique-modal-view-link svg {
    width: 15px;
    height: 15px;
  }

  .app-body--fighter-deck-page .technique-modal-heading {
    min-height: 28px;
    gap: 7px;
    padding-right: 68px;
    padding-bottom: 6px;
  }

  .app-body--fighter-deck-page .technique-modal-heading h2 {
    font-size: clamp(0.95rem, 4.8vh, 1.32rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--fighter-deck-page .technique-modal-heading > span {
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 0.46rem;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-deck-page .technique-modal-content {
    grid-template-columns: minmax(184px, 220px) minmax(0, 1fr);
    gap: 7px;
    height: calc(100dvh - 74px);
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }

  .app-body--fighter-deck-page .technique-modal-main {
    height: 100%;
    gap: 6px;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
  }

  .app-body--fighter-deck-page .technique-outcomes-panel,
  .app-body--fighter-deck-page .technique-stats-panel,
  .app-body--fighter-deck-page .technique-sources-panel,
  .app-body--fighter-deck-page .technique-positions-panel,
  .app-body--fighter-deck-page .technique-description-panel {
    gap: 5px;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--fighter-deck-page .technique-outcomes-heading {
    display: none;
  }

  .app-body--fighter-deck-page .technique-outcome-row {
    grid-template-columns: minmax(82px, 0.58fr) minmax(92px, 0.62fr) minmax(0, 1fr);
    gap: 5px;
    padding: 6px;
    border-left-width: 4px;
    border-radius: 7px;
  }

  .app-body--fighter-deck-page .technique-outcome-badge {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 5px;
  }

  .app-body--fighter-deck-page .technique-outcome-badge strong {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .app-body--fighter-deck-page .technique-outcome-badge span,
  .app-body--fighter-deck-page .technique-outcome-position,
  .app-body--fighter-deck-page .technique-outcome-effects {
    font-size: 0.54rem;
    line-height: 1.15;
  }

  .app-body--fighter-deck-page .technique-outcome-effect {
    min-height: 18px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 0.5rem;
  }

  .app-body--fighter-deck-page .technique-modal-card {
    order: -1;
    min-width: 0;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    align-content: stretch;
    gap: 4px;
    padding: 6px;
    overflow: hidden;
    border-radius: 7px;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card::before {
    height: 3px;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card::after {
    inset: 3px 0 auto;
    height: 38px;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card h3 {
    min-height: 20px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 6px;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card-media img {
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border-radius: 5px;
  }

  .app-body--fighter-deck-page .technique-modal-card .technique-card-sources,
  .app-body--fighter-deck-page .technique-modal-card .technique-card-context {
    display: none;
  }

  .app-body--fighter-show-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--fighter-show-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--fighter-show-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--fighter-show-page .fighter-show-page,
  .app-body--fighter-show-page .fighter-show-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--fighter-show-page .fighter-show-page {
    background: #000000;
  }

  .app-body--fighter-show-page .fighter-show-shell {
    display: grid;
    grid-template-columns: clamp(238px, 32vw, 326px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      0;
  }

  .app-body--fighter-show-page .fighter-show-topbar {
    grid-column: 1 / 3;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    min-height: 46px;
    padding:
      7px
      8px
      7px
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--fighter-show-page .fighter-show-topbar h1 {
    overflow: hidden;
    font-size: clamp(1.2rem, 6vh, 1.72rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-show-page .fighter-show-topbar .mt-3 {
    margin-top: 5px;
  }

  .app-body--fighter-show-page .fighter-show-hero {
    display: contents;
  }

  .app-body--fighter-show-page .fighter-show-media {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background: rgb(10 10 10);
    border: 1px solid rgb(255 255 255 / 10%);
    border-left: 0;
    border-radius: 0 10px 10px 0;
  }

  .app-body--fighter-show-page .fighter-show-portrait-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    grid-row: auto;
    width: 100%;
    margin-top: 0;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-right: 0;
    border-radius: 0 10px 10px 0;
  }

  .app-body--fighter-show-page .fighter-show-image {
    object-position: center top;
  }

  .app-body--fighter-show-page .fighter-show-media-cards {
    position: absolute;
    right: 7px;
    bottom: 7px;
    left: 7px;
    z-index: 2;
    grid-row: auto;
    align-self: auto;
    gap: 5px;
    padding: 0;
  }

  .app-body--fighter-show-page .fighter-show-grade-card {
    display: block;
    width: 100%;
    align-self: auto;
  }

  .app-body--fighter-show-page .fighter-show-grade-card {
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fighter-show-grade-card > p,
  .app-body--fighter-show-page .fighter-show-reputations > p,
  .app-body--fighter-show-page .fighter-show-section-header p,
  .app-body--fighter-show-page [data-fighter-career-events] > div:first-child p,
  .app-body--fighter-show-page .fighter-profile-card .kicker {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.11em;
  }

  .app-body--fighter-show-page .fighter-show-grade-layout {
    grid-template-columns: minmax(88px, 0.9fr) minmax(0, 1.1fr);
    gap: 6px;
    align-items: center;
    margin-top: 5px;
  }

  .app-body--fighter-show-page .fighter-show-grade-layout .fighter-belt-display--profile {
    min-height: 28px;
    padding: 0 6px;
  }

  .app-body--fighter-show-page .fighter-show-grade-layout .fighter-belt-display--profile .fighter-belt-main {
    height: 14px;
  }

  .app-body--fighter-show-page .fighter-show-grade-layout .fighter-belt-display--profile .fighter-belt-black-zone {
    right: 16px;
    width: 48px;
    height: 14px;
    padding: 0 3px;
  }

  .app-body--fighter-show-page .fighter-show-grade-layout .fighter-belt-display--profile .fighter-belt-stripes {
    grid-template-columns: repeat(4, 4px);
    gap: 2px;
  }

  .app-body--fighter-show-page .fighter-show-grade-layout .fighter-belt-display--profile .fighter-belt-stripe {
    height: 14px;
  }

  .app-body--fighter-show-page .fighter-grade-progress {
    gap: 3px;
    padding: 5px;
    border-radius: 6px;
  }

  .app-body--fighter-show-page .fighter-grade-progress-copy span,
  .app-body--fighter-show-page .fighter-grade-progress-copy strong {
    font-size: 0.44rem;
    line-height: 1;
  }

  .app-body--fighter-show-page .fighter-grade-progress-copy svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fighter-show-page .fighter-grade-progress-track {
    height: 5px;
  }

  .app-body--fighter-show-page .fighter-grade-progress small {
    overflow: hidden;
    font-size: 0.4rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-show-page .fighter-show-right {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-auto-rows: max-content;
    align-content: start;
    gap: 9px;
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 6px 8px 0;
    scrollbar-color: rgb(239 68 68 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--fighter-show-page .fighter-show-right::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--fighter-show-page .fighter-show-right::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--fighter-show-page .fighter-show-right::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--fighter-show-page .fighter-show-sidebar {
    display: grid;
    grid-auto-rows: max-content;
    min-height: 0;
    min-width: 0;
    gap: 7px;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .app-body--fighter-show-page .fighter-show-identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .app-body--fighter-show-page .fighter-show-identity-card {
    align-self: start;
    margin: 7px;
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--fighter-show-page .fighter-name-frame {
    display: block;
  }

  .app-body--fighter-show-page .fighter-profile-eyebrow {
    min-height: 22px;
    gap: 5px;
    padding: 0 6px;
    font-size: 0.45rem;
    letter-spacing: 0.08em;
  }

  .app-body--fighter-show-page .fighter-profile-eyebrow svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fighter-show-page .fighter-name-title {
    gap: 6px;
    margin-top: 5px;
  }

  .app-body--fighter-show-page .fighter-show-title h1,
  .app-body--fighter-show-page .fighter-name-frame h1 {
    overflow: hidden;
    font-size: clamp(1.1rem, 5.8vh, 1.65rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-overflow: ellipsis;
  }

  .app-body--fighter-show-page .fighter-edit-action,
  .app-body--fighter-show-page .fighter-show-actions a,
  .app-body--fighter-show-page .fighter-show-actions button {
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fighter-show-actions a span {
    display: none;
  }

  .app-body--fighter-show-page .fighter-edit-action svg,
  .app-body--fighter-show-page .fighter-show-actions svg {
    width: 14px;
    height: 14px;
  }

  .app-body--fighter-show-page .fighter-show-title .mt-3 {
    margin-top: 6px;
  }

  .app-body--fighter-show-page .fighter-show-title [class*="fighter-title"],
  .app-body--fighter-show-page .fighter-show-title .inline-flex {
    min-height: 22px;
    padding: 0 6px;
    font-size: 0.46rem;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-show-page .fighter-show-identity-belt {
    width: min(160px, 100%);
    margin-top: 7px;
  }

  .app-body--fighter-show-page .fighter-show-identity-belt .fighter-belt-display--profile {
    min-height: 28px;
    padding: 0 6px;
  }

  .app-body--fighter-show-page .fighter-show-identity-belt .fighter-belt-main,
  .app-body--fighter-show-page .fighter-show-identity-belt .fighter-belt-black-zone {
    height: 14px;
  }

  .app-body--fighter-show-page .fighter-show-identity-belt .fighter-belt-black-zone {
    right: 16px;
    width: 48px;
    padding: 0 3px;
  }

  .app-body--fighter-show-page .fighter-show-identity-belt .fighter-belt-stripes {
    grid-template-columns: repeat(4, 4px);
    gap: 2px;
  }

  .app-body--fighter-show-page .fighter-show-identity-belt .fighter-belt-stripe {
    height: 14px;
  }

  .app-body--fighter-show-page .fighter-show-reputations {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 9px;
    background:
      radial-gradient(circle at 0% 0%, rgb(239 68 68 / 14%), transparent 58%),
      rgb(255 255 255 / 3.5%);
    box-shadow: 0 14px 30px rgb(0 0 0 / 18%);
    backdrop-filter: blur(10px);
  }

  .app-body--fighter-show-page .fighter-show-reputation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 7px;
  }

  .app-body--fighter-show-page .fighter-show-reputation-card {
    min-width: 0;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fighter-show-reputation-layout {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    min-height: 0;
    gap: 6px;
    align-items: center;
  }

  .app-body--fighter-show-page .fighter-show-reputation-icon {
    width: 28px;
    height: 28px;
  }

  .app-body--fighter-show-page .fighter-show-reputation-icon img {
    max-height: 26px;
  }

  .app-body--fighter-show-page .fighter-show-reputation-copy h2 {
    overflow: hidden;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-show-page .fighter-show-reputation-copy h2 + p {
    display: none;
  }

  .app-body--fighter-show-page .fighter-show-reputation-copy > p:nth-of-type(2) {
    margin-top: 4px;
    font-size: clamp(0.72rem, 3.4vh, 0.95rem);
    line-height: 1;
  }

  .app-body--fighter-show-page .fighter-show-reputation-copy > p:nth-of-type(3) {
    display: none;
  }

  .app-body--fighter-show-page .fighter-show-reputation-rank {
    margin-top: 4px;
    padding-top: 4px;
  }

  .app-body--fighter-show-page .fighter-show-reputation-rank span {
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }

  .app-body--fighter-show-page .fighter-show-content {
    display: grid;
    grid-auto-rows: max-content;
    gap: 8px;
    min-height: 0;
    min-width: 0;
    padding: 0;
    overflow: visible;
  }

  .app-body--fighter-show-page .fighter-show-stats-panel {
    order: 1;
  }

  .app-body--fighter-show-page .fighter-show-record-panel {
    order: 2;
  }

  .app-body--fighter-show-page .fighter-show-timeline-row {
    order: 3;
  }

  .app-body--fighter-show-page .fighter-show-favorites {
    order: 4;
  }

  .app-body--fighter-show-page .fighter-show-timeline-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .app-body--fighter-show-page .fighter-show-timeline-row > :not([hidden]) {
    min-width: 0;
  }

  .app-body--fighter-show-page .fight-recent-activities,
  .app-body--fighter-show-page [data-fighter-career-events],
  .app-body--fighter-show-page .fighter-show-favorites,
  .app-body--fighter-show-page .fighter-show-stats-panel,
  .app-body--fighter-show-page .fighter-show-record-panel .fighter-profile-card {
    border-radius: 9px;
    padding: 9px;
  }

  .app-body--fighter-show-page .fight-recent-activities-heading,
  .app-body--fighter-show-page [data-fighter-career-events] > div:first-child,
  .app-body--fighter-show-page .fighter-show-section-header,
  .app-body--fighter-show-page .fighter-card-heading {
    gap: 7px;
    padding-bottom: 7px;
  }

  .app-body--fighter-show-page .fight-recent-activities-heading span,
  .app-body--fighter-show-page .fighter-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .app-body--fighter-show-page .fight-recent-activities-heading svg,
  .app-body--fighter-show-page .fighter-card-icon svg {
    width: 14px;
    height: 14px;
  }

  .app-body--fighter-show-page [data-fighter-career-events] h2,
  .app-body--fighter-show-page .fight-recent-activities-heading h2,
  .app-body--fighter-show-page .fighter-show-section-header h2,
  .app-body--fighter-show-page .fighter-profile-card h2 {
    margin-top: 3px;
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .app-body--fighter-show-page [data-fighter-career-events] > div:first-child > span,
  .app-body--fighter-show-page .fighter-show-section-header > span {
    min-height: 24px;
    padding: 0 7px;
    font-size: 0.46rem;
    letter-spacing: 0.08em;
  }

  .app-body--fighter-show-page [data-fighter-career-events] .mt-3 {
    gap: 6px;
    margin-top: 7px;
  }

  .app-body--fighter-show-page [data-fighter-career-events] article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page [data-fighter-career-events] article > div:first-child {
    width: 36px;
    height: 36px;
  }

  .app-body--fighter-show-page [data-fighter-career-events] article > div:first-child span {
    width: 24px;
    height: 24px;
  }

  .app-body--fighter-show-page [data-fighter-career-events] article svg {
    width: 12px;
    height: 12px;
  }

  .app-body--fighter-show-page [data-fighter-career-events] article .flex span {
    padding: 0 5px;
    font-size: 0.42rem;
    line-height: 1.4;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-show-page [data-fighter-career-events] h3 {
    margin-top: 5px;
    font-size: 0.64rem;
    line-height: 1.05;
  }

  .app-body--fighter-show-page [data-fighter-career-events] h3 + p {
    margin-top: 3px;
    font-size: 0.5rem;
    line-height: 1.2;
  }

  .app-body--fighter-show-page [data-fighter-career-events] time {
    margin-top: 4px;
    font-size: 0.42rem;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-show-page .fight-recent-activity-list {
    gap: 5px;
    margin-top: 7px;
  }

  .app-body--fighter-show-page .fight-recent-activity-link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px;
    min-height: 34px;
    padding: 6px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fight-recent-activity-result,
  .app-body--fighter-show-page .fight-recent-activity-victory {
    min-height: 22px;
    padding: 0 6px;
    font-size: 0.46rem;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-show-page .fight-recent-activity-opponent small {
    font-size: 0.42rem;
    letter-spacing: 0.08em;
  }

  .app-body--fighter-show-page .fight-recent-activity-opponent strong,
  .app-body--fighter-show-page .fight-recent-activity-score {
    font-size: 0.58rem;
    line-height: 1.05;
  }

  .app-body--fighter-show-page .fight-recent-activity-score {
    display: none;
  }

  .app-body--fighter-show-page .fighter-show-favorites,
  .app-body--fighter-show-page .fighter-show-stats-panel,
  .app-body--fighter-show-page .fighter-show-record-panel {
    margin-top: 0;
  }

  .app-body--fighter-show-page .fighter-show-favorite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
  }

  .app-body--fighter-show-page .fighter-show-favorite-card {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 74px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fighter-show-favorite-media {
    min-height: 74px;
  }

  .app-body--fighter-show-page .fighter-show-favorite-media > span {
    top: 5px;
    left: 5px;
    padding: 2px 5px;
    font-size: 0.44rem;
    letter-spacing: 0.06em;
  }

  .app-body--fighter-show-page .fighter-show-favorite-body {
    gap: 5px;
    padding: 8px;
  }

  .app-body--fighter-show-page .fighter-show-favorite-body .mb-3 {
    gap: 4px;
    margin-bottom: 5px;
  }

  .app-body--fighter-show-page .fighter-show-favorite-body .mb-3 span {
    padding: 2px 5px;
    font-size: 0.42rem;
    letter-spacing: 0.05em;
  }

  .app-body--fighter-show-page .fighter-show-favorite-body .mb-3 svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fighter-show-page .fighter-show-favorite-body h3 {
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .app-body--fighter-show-page .fighter-show-favorite-body h3 + p {
    margin-top: 4px;
    overflow: hidden;
    font-size: 0.52rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-show-page .fighter-card-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .app-body--fighter-show-page .fighter-stat-points-badge {
    width: auto;
    min-height: 28px;
    gap: 5px;
    padding: 0 7px;
    font-size: 0.46rem;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-show-page .fighter-stat-points-badge svg {
    width: 12px;
    height: 12px;
  }

  .app-body--fighter-show-page .fighter-stat-points-badge strong {
    font-size: 0.72rem;
  }

  .app-body--fighter-show-page .fighter-stat-points-badge span {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fighter-show-page .fighter-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .app-body--fighter-show-page .fighter-stat-card {
    gap: 5px;
    padding: 7px;
    border-top-width: 3px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fighter-stat-card dt {
    gap: 5px;
    font-size: 0.5rem;
    line-height: 1;
  }

  .app-body--fighter-show-page .fighter-stat-card dt span {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  .app-body--fighter-show-page .fighter-stat-card dt svg {
    width: 12px;
    height: 12px;
  }

  .app-body--fighter-show-page .fighter-stat-card dd {
    font-size: 1.05rem;
  }

  .app-body--fighter-show-page .fighter-stat-card dd small {
    font-size: 0.58rem;
  }

  .app-body--fighter-show-page .fighter-stat-track {
    height: 5px;
  }

  .app-body--fighter-show-page .fighter-stat-card p {
    display: none;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-form {
    gap: 7px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 8px;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-form header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-form h3 {
    font-size: 0.72rem;
    line-height: 1;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-counter {
    gap: 5px;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-counter span {
    width: auto;
    min-height: 24px;
    padding: 0 6px;
    font-size: 0.44rem;
    letter-spacing: 0.06em;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-field {
    gap: 4px;
    padding: 6px;
    border-radius: 7px;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-field span,
  .app-body--fighter-show-page .fighter-stat-allocation-field small {
    font-size: 0.44rem;
    letter-spacing: 0.05em;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-field svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-field input {
    min-height: 28px;
    padding: 0 7px;
    border-radius: 6px;
    font-size: 0.7rem;
  }

  .app-body--fighter-show-page .fighter-stat-allocation-submit {
    min-width: 130px;
    min-height: 30px;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .app-body--fighter-show-page .fighter-record-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .app-body--fighter-show-page .fighter-record-grid div {
    gap: 4px;
    padding: 7px;
    border-radius: 7px;
  }

  .app-body--fighter-show-page .fighter-record-grid dt {
    font-size: 0.48rem;
    letter-spacing: 0.07em;
  }

  .app-body--fighter-show-page .fighter-record-grid dd {
    font-size: 1.12rem;
  }

  .app-body--fighter-show-page .fighter-record-breakdown {
    gap: 6px;
  }

  .app-body--fighter-show-page .fighter-record-breakdown span {
    min-height: 26px;
    gap: 5px;
    padding: 0 7px;
    font-size: 0.5rem;
  }

  .app-body--fighter-show-page .fighter-record-breakdown svg {
    width: 12px;
    height: 12px;
  }

  .app-body--progression-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--progression-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--progression-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 7px);
    left: calc(env(safe-area-inset-left, 0px) + 7px);
    width: 40px;
    height: 40px;
  }

  .app-body--progression-page .progression-page {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--progression-page .progression-shell {
    display: block;
    height: 100%;
    max-width: none;
    overflow: hidden;
  }

  .app-body--progression-page .progression-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 82;
    width: calc(env(safe-area-inset-left, 0px) + 60px);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 56px)
      7px
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 7px);
    border-right: 1px solid rgb(255 255 255 / 12%);
    border-bottom: 0;
    background:
      radial-gradient(circle at 0% 0%, rgb(239 68 68 / 18%), transparent 54%),
      rgb(2 6 23 / 82%);
    box-shadow: 18px 0 44px rgb(0 0 0 / 34%);
    backdrop-filter: blur(14px);
  }

  .app-body--progression-page .progression-sidebar-header,
  .app-body--progression-page .progression-global {
    display: none;
  }

  .app-body--progression-page .progression-tabs {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 7px;
    min-height: 0;
    margin-top: 0;
    overflow-y: auto;
    padding-right: 0;
    scrollbar-width: none;
  }

  .app-body--progression-page .progression-tabs::-webkit-scrollbar {
    display: none;
  }

  .app-body--progression-page .progression-tab-link {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    min-height: 40px;
    place-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 10px;
  }

  .app-body--progression-page .progression-tab-link > span {
    display: grid;
    min-width: 0;
    place-items: center;
    gap: 0;
  }

  .app-body--progression-page .progression-tab-link svg {
    width: 18px;
    height: 18px;
  }

  .app-body--progression-page .progression-tab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .app-body--progression-page .progression-tab-count {
    display: none;
  }

  .app-body--progression-page .progression-main {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 72px);
  }

  .app-body--progression-page .progression-content-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    padding-bottom: 8px;
  }

  .app-body--progression-page .progression-content-header h2 {
    font-size: clamp(1.18rem, 6vh, 1.72rem);
    line-height: 0.92;
    letter-spacing: 0;
  }

  .app-body--progression-page .progression-content-header > div > p {
    display: none;
  }

  .app-body--progression-page .progression-completion-toggle {
    min-height: 30px;
    gap: 7px;
    margin-top: 7px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.54rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--progression-page .progression-completion-toggle input {
    width: 13px;
    height: 13px;
  }

  .app-body--progression-page .progression-stats {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    min-width: 0;
    height: 34px;
    overflow: visible;
  }

  .app-body--progression-page .progression-stats > div {
    min-width: 44px;
    margin-left: 0;
  }

  .app-body--progression-page .progression-stats > div > div {
    gap: 6px;
  }

  .app-body--progression-page .progression-stats > div:nth-child(-n + 2) span {
    width: 26px;
    height: 26px;
  }

  .app-body--progression-page .progression-stats p {
    font-size: 0.78rem;
    line-height: 1;
  }

  .app-body--progression-page .progression-stats .fighter-belt-display {
    transform: scale(0.72);
    transform-origin: right center;
  }

  .app-body--progression-page .progression-scroll {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 6px 10px 0;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--progression-page .progression-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--progression-page .progression-scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--progression-page .progression-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--progression-page .progression-track-card {
    grid-template-columns: 72px minmax(0, 1fr) 96px;
    gap: 8px;
    align-items: center;
    padding: 7px;
    border-radius: 9px;
  }

  .app-body--progression-page .progression-track-card > .relative {
    width: 72px;
  }

  .app-body--progression-page .progression-track-card > .relative img {
    aspect-ratio: 1;
  }

  .app-body--progression-page .progression-track-card > .relative > span {
    right: -6px;
    top: -6px;
    width: 30px;
    height: 30px;
  }

  .app-body--progression-page .progression-track-card > .relative > span svg {
    width: 15px;
    height: 15px;
  }

  .app-body--progression-page .progression-track-card h3 {
    font-size: clamp(0.72rem, 3.7vh, 1rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--progression-page .progression-track-card p {
    display: none;
  }

  .app-body--progression-page .progression-track-card h3 + p + p,
  .app-body--progression-page .progression-track-card p[class*="bg-red"] {
    display: block;
    margin-top: 5px;
    padding: 4px 6px;
    font-size: 0.44rem;
    line-height: 1.1;
    letter-spacing: 0.08em;
  }

  .app-body--progression-page .progression-track-card .border-b {
    gap: 6px;
    padding-bottom: 6px;
  }

  .app-body--progression-page .progression-track-card .border-b > div:last-child {
    display: none;
  }

  .app-body--progression-page .progression-track-card ul {
    max-width: none;
    gap: 4px;
    margin-top: 6px;
  }

  .app-body--progression-page .progression-track-card li {
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 5px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body--progression-page .progression-track-card li > span:first-child {
    width: 16px;
    height: 16px;
  }

  .app-body--progression-page .progression-track-card li svg {
    width: 12px;
    height: 12px;
  }

  .app-body--progression-page .progression-track-card > div:last-child {
    grid-column: auto;
    height: auto;
    justify-content: center;
  }

  .app-body--progression-page .progression-track-card > div:last-child > div {
    display: none;
  }

  .app-body--progression-page .progression-track-card > div:last-child a {
    width: 100%;
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--progression-page .progression-challenge-card {
    grid-template-columns: 78px minmax(0, 1fr) 102px;
    gap: 8px;
    align-items: center;
    padding: 7px;
    border-radius: 9px;
  }

  .app-body--progression-page .progression-challenge-card > div:first-child {
    width: 78px;
  }

  .app-body--progression-page .progression-challenge-card h3 {
    margin-top: 5px;
    font-size: clamp(0.8rem, 4vh, 1.12rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--progression-page .progression-challenge-card p {
    display: none;
  }

  .app-body--progression-page .progression-challenge-card .rounded-lg.border-amber-300\/20 {
    display: none;
  }

  .app-body--progression-page .progression-challenge-card a,
  .app-body--progression-page .progression-challenge-card button,
  .app-body--progression-page .progression-challenge-card > div:last-child > div {
    min-height: 32px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--progression-page .progression-empty {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
    overflow-y: auto;
    padding: 18px;
    border-radius: 9px;
  }

  .app-body--progression-page .progression-empty h3 {
    margin-top: 10px;
    font-size: 0.92rem;
  }

  .app-body--progression-page .progression-empty p {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .app-body--leaderboard-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--leaderboard-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--leaderboard-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    width: 40px;
    height: 40px;
  }

  .app-body--leaderboard-page .leaderboard-page {
    display: flex;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .app-body--leaderboard-page .leaderboard-hero {
    flex: 0 0 auto;
  }

  .app-body--leaderboard-page .leaderboard-hero-inner {
    grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
    gap: 12px;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      8px
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--leaderboard-page .leaderboard-hero-copy {
    max-width: none;
    min-width: 0;
    padding: 0;
  }

  .app-body--leaderboard-page .leaderboard-hero-copy p:first-child,
  .app-body--leaderboard-page .leaderboard-reputation-panel > p {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body--leaderboard-page .leaderboard-hero-copy h1 {
    margin-top: 5px;
    font-size: clamp(1.32rem, 6.2vh, 1.9rem);
    line-height: 0.92;
    letter-spacing: 0;
  }

  .app-body--leaderboard-page .leaderboard-hero-copy p:last-child {
    display: none;
  }

  .app-body--leaderboard-page .leaderboard-reputation-panel {
    min-width: 0;
    padding-left: 0;
  }

  .app-body--leaderboard-page .leaderboard-reputation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 6px;
  }

  .app-body--leaderboard-page .leaderboard-reputation-card {
    min-width: 0;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--leaderboard-page .leaderboard-reputation-card-inner {
    min-height: 42px;
    gap: 7px;
  }

  .app-body--leaderboard-page .leaderboard-reputation-icon {
    width: 30px;
    height: 34px;
  }

  .app-body--leaderboard-page .leaderboard-reputation-icon img {
    max-height: 30px;
  }

  .app-body--leaderboard-page .leaderboard-reputation-copy h2 {
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--leaderboard-page .leaderboard-reputation-copy > p:nth-of-type(1),
  .app-body--leaderboard-page .leaderboard-reputation-unit,
  .app-body--leaderboard-page .leaderboard-reputation-rank span:first-child {
    display: none;
  }

  .app-body--leaderboard-page .leaderboard-reputation-points {
    margin-top: 4px;
    font-size: clamp(0.82rem, 3.5vh, 1.05rem);
    line-height: 1;
  }

  .app-body--leaderboard-page .leaderboard-reputation-rank {
    margin-top: 5px;
    justify-content: start;
    border-top: 0;
    padding-top: 0;
  }

  .app-body--leaderboard-page .leaderboard-reputation-rank span:last-child {
    font-size: 0.72rem;
  }

  .app-body--leaderboard-page .leaderboard-content {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    max-width: none;
    flex-direction: column;
    overflow: hidden;
    padding:
      8px
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--leaderboard-page .leaderboard-tabs {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 7px;
    scrollbar-width: none;
  }

  .app-body--leaderboard-page .leaderboard-tabs::-webkit-scrollbar {
    display: none;
  }

  .app-body--leaderboard-page .leaderboard-tab {
    min-height: 30px;
    flex: 0 0 auto;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--leaderboard-page .leaderboard-list {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 9px;
  }

  .app-body--leaderboard-page .leaderboard-table-wrap {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--leaderboard-page .leaderboard-table-wrap::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--leaderboard-page .leaderboard-table-wrap::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--leaderboard-page .leaderboard-table-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--leaderboard-page .leaderboard-table,
  .app-body--leaderboard-page .leaderboard-table-body,
  .app-body--leaderboard-page .leaderboard-row {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .app-body--leaderboard-page .leaderboard-table-head {
    display: none;
  }

  .app-body--leaderboard-page .leaderboard-table-body {
    display: grid;
    gap: 6px;
  }

  .app-body--leaderboard-page .leaderboard-row {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(105px, 1fr) repeat(4, 24px) repeat(3, minmax(38px, 48px)) 30px;
    gap: 5px;
    align-items: center;
    padding: 7px;
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 9px;
    background: rgb(0 0 0 / 42%);
  }

  .app-body--leaderboard-page .leaderboard-row:hover {
    background: rgb(255 255 255 / 4%);
  }

  .app-body--leaderboard-page .leaderboard-row > td {
    display: block;
    padding: 0;
    text-align: left;
  }

  .app-body--leaderboard-page .leaderboard-rank-cell > .flex {
    gap: 4px;
  }

  .app-body--leaderboard-page .leaderboard-rank-tile {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .app-body--leaderboard-page .leaderboard-rank-tile span:first-child {
    font-size: 0.38rem;
    letter-spacing: 0.08em;
  }

  .app-body--leaderboard-page .leaderboard-rank-tile span:last-child {
    margin-top: 1px;
    font-size: 0.72rem;
  }

  .app-body--leaderboard-page .leaderboard-rank-cell .fighter-belt-display {
    transform: scale(0.58);
    transform-origin: left center;
  }

  .app-body--leaderboard-page .leaderboard-fighter-cell > .flex {
    gap: 8px;
  }

  .app-body--leaderboard-page .leaderboard-avatar {
    width: 42px;
    height: 42px;
    border-radius: 7px;
  }

  .app-body--leaderboard-page .leaderboard-fighter-name {
    max-width: min(28vw, 210px);
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .app-body--leaderboard-page .leaderboard-fighter-cell .rounded.border-red-500\/35 {
    padding: 2px 4px;
    font-size: 0.42rem;
    letter-spacing: 0.08em;
  }

  .app-body--leaderboard-page .leaderboard-fighter-cell [class*="fighter-title"] {
    margin-top: 2px;
    transform: scale(0.82);
    transform-origin: left top;
  }

  .app-body--leaderboard-page .leaderboard-stat-cell {
    display: block;
    min-width: 0;
    text-align: center;
    font-size: 0.62rem;
    line-height: 1;
  }

  .app-body--leaderboard-page .leaderboard-reputation-cell {
    display: inline-flex;
    align-items: center;
    justify-content: end;
    min-width: 0;
  }

  .app-body--leaderboard-page .leaderboard-reputation-cell::before {
    display: none;
  }

  .app-body--leaderboard-page .leaderboard-reputation-cell span {
    gap: 4px;
    font-size: 0.56rem;
    line-height: 1;
  }

  .app-body--leaderboard-page .leaderboard-reputation-cell img {
    width: 14px;
    height: 14px;
  }

  .app-body--leaderboard-page .leaderboard-action-cell {
    justify-self: end;
  }

  .app-body--leaderboard-page .leaderboard-action-cell a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .app-body--leaderboard-page .leaderboard-action-cell svg {
    width: 15px;
    height: 15px;
  }

  .app-body--leaderboard-page .leaderboard-content > .rounded-3xl {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
    padding: 18px;
    border-radius: 9px;
    overflow-y: auto;
  }

  .app-body--leaderboard-page .leaderboard-content > .rounded-3xl h2 {
    margin-top: 10px;
    font-size: 0.95rem;
  }

  .app-body--leaderboard-page .leaderboard-content > .rounded-3xl p {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .app-body--techniques-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--techniques-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--techniques-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    width: 40px;
    height: 40px;
  }

  .app-body--techniques-page .technique-catalog-page {
    display: flex;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .app-body--techniques-page .technique-catalog-hero {
    flex: 0 0 auto;
  }

  .app-body--techniques-page .technique-catalog-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 16px)
      8px
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--techniques-page .technique-catalog-hero-copy {
    min-width: 0;
  }

  .app-body--techniques-page .technique-catalog-hero-copy p:first-child,
  .app-body--techniques-page .technique-catalog-summary > p {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body--techniques-page .technique-catalog-hero-copy h1 {
    margin-top: 5px;
    font-size: clamp(1.42rem, 6.8vh, 2rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .app-body--techniques-page .technique-catalog-hero-copy p:last-child {
    display: none;
  }

  .app-body--techniques-page .technique-catalog-summary {
    display: none;
    min-width: 0;
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--techniques-page .technique-catalog-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 7px;
  }

  .app-body--techniques-page .technique-catalog-summary-card {
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--techniques-page .technique-catalog-summary-card dt {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--techniques-page .technique-catalog-summary-card dd {
    margin-top: 5px;
    font-size: clamp(0.92rem, 4.2vh, 1.2rem);
  }

  .app-body--techniques-page .technique-catalog-content {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    min-width: 0;
    max-width: none;
    flex-direction: column;
    overflow: hidden;
    padding:
      8px
      calc(env(safe-area-inset-right, 0px) + 16px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--techniques-page .technique-catalog-filters {
    display: contents;
  }

  .app-body--techniques-page .technique-catalog-filter-top {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 0;
    align-items: end;
    margin-bottom: 0;
    padding: 7px 8px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 9px;
    background: rgb(255 255 255 / 3.5%);
    box-shadow: 0 14px 30px rgb(0 0 0 / 18%);
    backdrop-filter: blur(10px);
  }

  .app-body--techniques-page .technique-catalog-filter-top > div:first-child {
    display: none;
  }

  .app-body--techniques-page .technique-catalog-filter-top p {
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.16em;
  }

  .app-body--techniques-page .technique-catalog-filter-top h2 {
    margin-top: 4px;
    font-size: clamp(0.86rem, 3.8vh, 1.08rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--techniques-page .technique-catalog-filter-form {
    display: grid;
    grid-template-columns: minmax(92px, 0.85fr) minmax(130px, 1fr) 34px;
    gap: 7px;
    align-items: end;
  }

  .app-body--techniques-page .technique-catalog-select-label {
    gap: 4px;
    min-width: 0;
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--techniques-page .technique-catalog-select {
    min-height: 32px;
    width: 100%;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.56rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--techniques-page .technique-catalog-filter-submit {
    min-width: 34px;
    min-height: 32px;
    padding: 0;
    border-radius: 8px;
  }

  .app-body--techniques-page .technique-catalog-filter-submit span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .app-body--techniques-page .technique-catalog-filter-submit svg {
    width: 15px;
    height: 15px;
  }

  .app-body--techniques-page .technique-catalog-position-nav {
    grid-column: 1;
    grid-row: 1 / 3;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: stretch;
    gap: 6px;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 7px;
    border-radius: 9px;
    overscroll-behavior: contain;
    scroll-padding-block: 7px;
    scroll-snap-type: y proximity;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--techniques-page .technique-catalog-position-nav::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--techniques-page .technique-catalog-position-nav::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--techniques-page .technique-catalog-position-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--techniques-page .technique-catalog-position-chip {
    justify-content: flex-start;
    width: 100%;
    min-height: 30px;
    flex: 0 0 auto;
    max-width: 100%;
    padding: 0 7px;
    border-radius: 8px;
    font-size: 0;
    line-height: 1;
    letter-spacing: 0.06em;
    scroll-snap-align: start;
    text-align: left;
    white-space: normal;
  }

  .app-body--techniques-page .technique-catalog-position-chip::before {
    content: attr(data-mobile-label);
    font-size: 0.48rem;
    line-height: 1.05;
  }

  .app-body--techniques-page .technique-catalog-groups {
    grid-column: 2;
    grid-row: 2;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    gap: 8px;
    margin-top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 8px 10px 0;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--techniques-page .technique-catalog-groups::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--techniques-page .technique-catalog-groups::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--techniques-page .technique-catalog-groups::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--techniques-page .technique-catalog-group {
    min-width: 0;
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--techniques-page .technique-catalog-group-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .app-body--techniques-page .technique-catalog-group-header p {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--techniques-page .technique-catalog-group-header h2 {
    margin-top: 4px;
    font-size: clamp(0.88rem, 4vh, 1.12rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--techniques-page .technique-catalog-group-header span {
    min-height: 26px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .app-body--techniques-page .technique-catalog-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
    gap: 8px;
    min-width: 0;
  }

  .app-body--techniques-page .technique-catalog-card-grid [data-controller="technique-modal"] {
    min-width: 0;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card {
    min-height: 176px;
    gap: 5px;
    padding: 7px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 14px 28px rgb(0 0 0 / 28%), inset 0 1px 0 rgb(255 255 255 / 8%);
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card--interactive:hover,
  .app-body--techniques-page .technique-catalog-card-grid .technique-card--interactive:focus-visible {
    transform: none;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card::before {
    height: 4px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card::after {
    inset: 4px 0 auto;
    height: 48px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-topline {
    gap: 4px;
    min-width: 0;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-category,
  .app-body--techniques-page .technique-catalog-card-grid .technique-card-belt {
    min-width: 0;
    min-height: 18px;
    padding: 3px 4px;
    border-radius: 5px;
    font-size: 0.38rem;
    letter-spacing: 0;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-category {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-belt {
    flex: 0 0 auto;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-category svg {
    width: 10px;
    height: 10px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .belt-dot {
    width: 7px;
    height: 7px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card h3 {
    min-height: 26px;
    font-size: 0.62rem;
    line-height: 1.05;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-media {
    width: min(52%, 56px);
    border-radius: 6px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-media img {
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border-radius: 5px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-sources {
    display: none;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-context {
    gap: 4px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-context span {
    min-height: 18px;
    padding: 3px 4px;
    border-radius: 5px;
    font-size: 0.42rem;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-context svg {
    width: 10px;
    height: 10px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-stat-chip strong {
    font-size: 0.48rem;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-metrics {
    gap: 4px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-metric {
    min-height: 24px;
    gap: 2px;
    padding: 3px;
    border-radius: 5px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-metric svg {
    width: 9px;
    height: 9px;
  }

  .app-body--techniques-page .technique-catalog-card-grid .technique-card-metric strong {
    font-size: 0.48rem;
  }

  .app-body--techniques-page .technique-catalog-empty {
    min-height: 62px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .app-body--techniques-page .technique-modal {
    width: min(720px, calc(100vw - 18px));
    max-height: calc(100dvh - 18px);
  }

  .app-body--techniques-page .technique-modal-panel {
    gap: 6px;
    max-height: calc(100dvh - 18px);
    overflow: hidden;
    padding: 9px;
    border-radius: 8px;
  }

  .app-body--techniques-page .technique-modal-close {
    top: 7px;
    right: 7px;
    width: 28px;
    height: 28px;
  }

  .app-body--techniques-page .technique-modal-close svg {
    width: 15px;
    height: 15px;
  }

  .app-body--techniques-page .technique-modal-view-link {
    top: 7px;
    right: 40px;
    width: 28px;
    height: 28px;
  }

  .app-body--techniques-page .technique-modal-view-link svg {
    width: 15px;
    height: 15px;
  }

  .app-body--techniques-page .technique-modal-heading {
    min-height: 28px;
    gap: 7px;
    padding-right: 68px;
    padding-bottom: 6px;
  }

  .app-body--techniques-page .technique-modal-heading h2 {
    font-size: clamp(0.95rem, 4.8vh, 1.32rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--techniques-page .technique-modal-heading > span {
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 0.46rem;
    letter-spacing: 0.07em;
  }

  .app-body--techniques-page .technique-modal-content {
    grid-template-columns: minmax(184px, 220px) minmax(0, 1fr);
    gap: 7px;
    height: calc(100dvh - 74px);
    min-height: 0;
    overflow: hidden;
    align-items: stretch;
  }

  .app-body--techniques-page .technique-modal-main {
    height: 100%;
    gap: 6px;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
  }

  .app-body--techniques-page .technique-modal-main::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--techniques-page .technique-modal-main::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--techniques-page .technique-modal-main::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--techniques-page .technique-outcomes-panel,
  .app-body--techniques-page .technique-stats-panel,
  .app-body--techniques-page .technique-sources-panel,
  .app-body--techniques-page .technique-positions-panel,
  .app-body--techniques-page .technique-description-panel {
    gap: 5px;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--techniques-page .technique-outcomes-heading {
    display: none;
  }

  .app-body--techniques-page .technique-outcome-row {
    grid-template-columns: minmax(82px, 0.58fr) minmax(92px, 0.62fr) minmax(0, 1fr);
    gap: 5px;
    padding: 6px;
    border-left-width: 4px;
    border-radius: 7px;
  }

  .app-body--techniques-page .technique-outcome-badge {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 5px;
  }

  .app-body--techniques-page .technique-outcome-badge strong {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .app-body--techniques-page .technique-outcome-badge span,
  .app-body--techniques-page .technique-outcome-position,
  .app-body--techniques-page .technique-outcome-effects {
    font-size: 0.54rem;
    line-height: 1.15;
  }

  .app-body--techniques-page .technique-outcome-effect {
    min-height: 18px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 0.5rem;
  }

  .app-body--techniques-page .technique-modal-card {
    order: -1;
    min-width: 0;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .app-body--techniques-page .technique-modal-card .technique-card {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    align-content: stretch;
    gap: 4px;
    padding: 6px;
    overflow: hidden;
    border-radius: 7px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card::before {
    height: 3px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card::after {
    inset: 3px 0 auto;
    height: 38px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-topline {
    gap: 4px;
    min-width: 0;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-category,
  .app-body--techniques-page .technique-modal-card .technique-card-belt {
    min-width: 0;
    min-height: 17px;
    padding: 2px 4px;
    border-radius: 5px;
    font-size: 0.34rem;
    letter-spacing: 0;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-category {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-belt {
    flex: 0 0 auto;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-category svg {
    width: 9px;
    height: 9px;
  }

  .app-body--techniques-page .technique-modal-card .belt-dot {
    width: 6px;
    height: 6px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card h3 {
    min-height: 20px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 6px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-media img {
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border-radius: 5px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-sources,
  .app-body--techniques-page .technique-modal-card .technique-card-context {
    display: none;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-metrics {
    gap: 3px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-metric {
    min-height: 20px;
    gap: 2px;
    padding: 2px 3px;
    border-radius: 5px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-metric svg {
    width: 8px;
    height: 8px;
  }

  .app-body--techniques-page .technique-modal-card .technique-card-metric strong {
    font-size: 0.44rem;
  }

  .app-body--techniques-page .technique-stats-heading {
    gap: 7px;
  }

  .app-body--techniques-page .technique-stats-panel h3,
  .app-body--techniques-page .technique-sources-panel h3,
  .app-body--techniques-page .technique-positions-panel h3,
  .app-body--techniques-page .technique-description-panel h3 {
    font-size: 0.54rem;
    line-height: 1;
  }

  .app-body--techniques-page .technique-raw-score {
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.52rem;
  }

  .app-body--techniques-page .technique-raw-score-icons svg {
    width: 10px;
    height: 10px;
  }

  .app-body--techniques-page .technique-raw-score strong {
    font-size: 0.62rem;
  }

  .app-body--techniques-page .technique-stats-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .app-body--techniques-page .technique-stat-pill {
    min-height: 31px;
    gap: 5px;
    padding: 5px;
    border-radius: 6px;
  }

  .app-body--techniques-page .technique-stat-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .app-body--techniques-page .technique-stat-icon svg {
    width: 12px;
    height: 12px;
  }

  .app-body--techniques-page .technique-stat-pill strong {
    font-size: 0.66rem;
  }

  .app-body--techniques-page .technique-modal-source-list,
  .app-body--techniques-page .technique-position-chips {
    gap: 4px;
  }

  .app-body--techniques-page .technique-modal .technique-tooltip::before,
  .app-body--techniques-page .technique-modal .technique-tooltip::after {
    display: none;
  }

  .app-body--techniques-page .technique-modal-source-list .technique-source-chip,
  .app-body--techniques-page .technique-position-chip {
    min-height: 21px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.52rem;
  }

  .app-body--techniques-page .technique-modal-source-list .technique-source-chip {
    gap: 4px;
    text-transform: uppercase;
  }

  .app-body--techniques-page .technique-modal-source-list .technique-source-chip svg {
    width: 10px;
    height: 10px;
  }

  .app-body--techniques-page .technique-modal-source-list .technique-source-chip strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.5rem;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--techniques-page .technique-modal-source-list .technique-source-chip > span {
    display: none;
  }

  .app-body--techniques-page .technique-description-panel p {
    font-size: 0.56rem;
    line-height: 1.3;
  }

  .app-body--technique-show-page {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000000;
  }

  .app-body--technique-show-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--technique-show-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    width: 40px;
    height: 40px;
  }

  .app-body--technique-show-page .technique-show-page {
    display: flex;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
  }

  .app-body--technique-show-page .technique-show-page > header {
    flex: 0 0 auto;
  }

  .app-body--technique-show-page .technique-show-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 16px)
      8px
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--technique-show-page .technique-show-back-link {
    grid-column: 2;
    grid-row: 1;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .app-body--technique-show-page .technique-show-back-link svg {
    width: 14px;
    height: 14px;
  }

  .app-body--technique-show-page .technique-show-hero-copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .app-body--technique-show-page .technique-show-hero-copy p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body--technique-show-page .technique-show-hero-copy h1 {
    margin-top: 5px;
    overflow: hidden;
    font-size: clamp(1.22rem, 6.2vh, 1.8rem);
    line-height: 0.95;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--technique-show-page .technique-show-hero-copy p:last-child {
    display: none;
  }

  .app-body--technique-show-page .technique-show-content {
    display: grid;
    grid-template-columns: minmax(184px, 220px) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    padding:
      8px
      calc(env(safe-area-inset-right, 0px) + 16px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 16px);
  }

  .app-body--technique-show-page .technique-modal-card {
    position: static;
    min-width: 0;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: 100%;
    min-height: 0;
    align-content: stretch;
    gap: 4px;
    padding: 6px;
    overflow: hidden;
    border-radius: 7px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card::before {
    height: 3px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card::after {
    inset: 3px 0 auto;
    height: 38px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-topline {
    gap: 4px;
    min-width: 0;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-category,
  .app-body--technique-show-page .technique-modal-card .technique-card-belt {
    min-width: 0;
    min-height: 17px;
    padding: 2px 4px;
    border-radius: 5px;
    font-size: 0.34rem;
    letter-spacing: 0;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-category {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-belt {
    flex: 0 0 auto;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-category svg {
    width: 9px;
    height: 9px;
  }

  .app-body--technique-show-page .technique-modal-card .belt-dot {
    width: 6px;
    height: 6px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card h3 {
    min-height: 20px;
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 6px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-media img {
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border-radius: 5px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-sources,
  .app-body--technique-show-page .technique-modal-card .technique-card-context {
    display: none;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-metrics {
    gap: 3px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-metric {
    min-height: 20px;
    gap: 2px;
    padding: 2px 3px;
    border-radius: 5px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-metric svg {
    width: 8px;
    height: 8px;
  }

  .app-body--technique-show-page .technique-modal-card .technique-card-metric strong {
    font-size: 0.44rem;
  }

  .app-body--technique-show-page .technique-modal-main {
    height: 100%;
    gap: 6px;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 3px;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--technique-show-page .technique-modal-main::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--technique-show-page .technique-modal-main::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--technique-show-page .technique-modal-main::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--technique-show-page .technique-outcomes-panel,
  .app-body--technique-show-page .technique-stats-panel,
  .app-body--technique-show-page .technique-sources-panel,
  .app-body--technique-show-page .technique-positions-panel,
  .app-body--technique-show-page .technique-description-panel {
    gap: 5px;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--technique-show-page .technique-outcomes-heading {
    display: none;
  }

  .app-body--technique-show-page .technique-outcome-row {
    grid-template-columns: minmax(82px, 0.58fr) minmax(92px, 0.62fr) minmax(0, 1fr);
    gap: 5px;
    padding: 6px;
    border-left-width: 4px;
    border-radius: 7px;
  }

  .app-body--technique-show-page .technique-outcome-badge {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 5px;
  }

  .app-body--technique-show-page .technique-outcome-badge strong {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .app-body--technique-show-page .technique-outcome-badge span,
  .app-body--technique-show-page .technique-outcome-position,
  .app-body--technique-show-page .technique-outcome-effects {
    font-size: 0.54rem;
    line-height: 1.15;
  }

  .app-body--technique-show-page .technique-outcome-effect {
    min-height: 18px;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 0.5rem;
  }

  .app-body--technique-show-page .technique-stats-heading {
    gap: 7px;
  }

  .app-body--technique-show-page .technique-stats-panel h3,
  .app-body--technique-show-page .technique-sources-panel h3,
  .app-body--technique-show-page .technique-positions-panel h3,
  .app-body--technique-show-page .technique-description-panel h3 {
    font-size: 0.54rem;
    line-height: 1;
  }

  .app-body--technique-show-page .technique-raw-score {
    gap: 5px;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 0.52rem;
  }

  .app-body--technique-show-page .technique-raw-score-icons svg {
    width: 10px;
    height: 10px;
  }

  .app-body--technique-show-page .technique-raw-score strong {
    font-size: 0.62rem;
  }

  .app-body--technique-show-page .technique-stats-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .app-body--technique-show-page .technique-stat-pill {
    min-height: 31px;
    gap: 5px;
    padding: 5px;
    border-radius: 6px;
  }

  .app-body--technique-show-page .technique-stat-icon {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .app-body--technique-show-page .technique-stat-icon svg {
    width: 12px;
    height: 12px;
  }

  .app-body--technique-show-page .technique-stat-pill strong {
    font-size: 0.66rem;
  }

  .app-body--technique-show-page .technique-modal-source-list,
  .app-body--technique-show-page .technique-position-chips {
    gap: 4px;
  }

  .app-body--technique-show-page .technique-tooltip::before,
  .app-body--technique-show-page .technique-tooltip::after {
    display: none;
  }

  .app-body--technique-show-page .technique-modal-source-list .technique-source-chip,
  .app-body--technique-show-page .technique-position-chip {
    min-height: 21px;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.52rem;
  }

  .app-body--technique-show-page .technique-modal-source-list .technique-source-chip {
    gap: 4px;
    text-transform: uppercase;
  }

  .app-body--technique-show-page .technique-modal-source-list .technique-source-chip svg {
    width: 10px;
    height: 10px;
  }

  .app-body--technique-show-page .technique-modal-source-list .technique-source-chip strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.5rem;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--technique-show-page .technique-modal-source-list .technique-source-chip > span {
    display: none;
  }

  .app-body--technique-show-page .technique-description-panel p {
    font-size: 0.56rem;
    line-height: 1.3;
  }

  .app-body--drills-page {
    height: var(--app-viewport-height, 100vh);
    overflow: hidden;
    background: #000000;
  }

  .app-body--drills-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--drills-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    width: 40px;
    height: 40px;
  }

  .app-body--drills-page .drills-page {
    height: var(--app-viewport-height, 100vh);
    min-height: 0;
    overflow: hidden;
  }

  .app-body--drills-page .drills-shell {
    grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    min-height: 0;
    height: 100%;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 9px)
      calc(env(safe-area-inset-right, 0px) + 12px)
      calc(env(safe-area-inset-bottom, 0px) + 9px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--drills-page .drills-intro {
    min-height: 0;
    justify-content: center;
  }

  .app-body--drills-page .drills-intro > p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body--drills-page .drills-intro h1 {
    margin-top: 6px;
    font-size: clamp(1.5rem, 7.2vh, 2.08rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .app-body--drills-page .drills-intro > p:nth-of-type(2) {
    margin-top: 8px;
    font-size: 0.66rem;
    line-height: 1.34;
  }

  .app-body--drills-page .drills-player-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-top: 12px;
    border-radius: 9px;
  }

  .app-body--drills-page .drills-player-stat {
    gap: 5px;
    min-height: 34px;
    padding: 5px 6px;
  }

  .app-body--drills-page .drills-player-stat span {
    width: 23px;
    height: 23px;
  }

  .app-body--drills-page .drills-player-stat img {
    width: 20px;
    height: 20px;
  }

  .app-body--drills-page .drills-player-stat svg {
    width: 12px;
    height: 12px;
  }

  .app-body--drills-page .drills-player-stat strong {
    font-size: 0.78rem;
    line-height: 1;
  }

  .app-body--drills-page .drills-player-belt {
    grid-column: 1 / -1;
    min-height: 34px;
    padding: 4px 6px;
    border-top: 1px solid rgb(255 255 255 / 10%);
  }

  .app-body--drills-page .drills-player-belt .fighter-belt-display {
    transform: scale(0.78);
    transform-origin: center;
  }

  .app-body--drills-page .drills-setup-panel {
    align-self: stretch;
    min-height: 0;
    padding: 10px;
    overflow: hidden;
    border-radius: 9px;
  }

  .app-body--drills-page .drills-setup-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "context partner"
      "ai ai"
      "actions actions";
    gap: 9px;
    height: 100%;
    min-height: 0;
    align-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-color: rgb(52 211 153 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
  }

  .app-body--drills-page .drills-setup-form::-webkit-scrollbar {
    width: 5px;
  }

  .app-body--drills-page .drills-setup-form::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--drills-page .drills-setup-form::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(52 211 153 / 72%);
  }

  .app-body--drills-page .drills-field {
    min-width: 0;
  }

  .app-body--drills-page .drills-field--context {
    grid-area: context;
  }

  .app-body--drills-page .drills-field--partner {
    grid-area: partner;
  }

  .app-body--drills-page .drills-field--ai-mode {
    grid-area: ai;
  }

  .app-body--drills-page .drills-field label,
  .app-body--drills-page .drills-field > p {
    margin-bottom: 5px;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--drills-page .drills-select {
    min-height: 34px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.58rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--drills-page .drills-ai-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .app-body--drills-page .drills-ai-mode-option {
    gap: 7px;
    min-height: 42px;
    padding: 7px 8px;
    border-radius: 8px;
  }

  .app-body--drills-page .drills-ai-mode-option > span:first-of-type {
    width: 28px;
    height: 28px;
  }

  .app-body--drills-page .drills-ai-mode-option svg {
    width: 13px;
    height: 13px;
  }

  .app-body--drills-page .drills-ai-mode-option strong {
    font-size: 0.62rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--drills-page .drills-ai-mode-option small {
    display: none;
  }

  .app-body--drills-page .drills-setup-actions {
    grid-area: actions;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding-top: 0;
  }

  .app-body--drills-page .drills-setup-actions p {
    font-size: 0.56rem;
    line-height: 1.25;
  }

  .app-body--drills-page .drills-submit {
    min-width: 132px;
    height: 36px;
    gap: 7px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.58rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--drills-page .drills-submit svg {
    width: 13px;
    height: 13px;
  }

  .app-body--sparrings-page {
    height: var(--app-viewport-height, 100vh);
    overflow: hidden;
    background: #000000;
  }

  .app-body--sparrings-page main {
    height: 100%;
    overflow: hidden;
  }

  body.app-body--sparrings-page:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    width: 40px;
    height: 40px;
  }

  .app-body--sparrings-page .sparrings-hub {
    height: var(--app-viewport-height, 100vh);
    min-height: 0;
    overflow: hidden;
  }

  .app-body--sparrings-page .sparrings-hub::before,
  .app-body--sparrings-page .sparrings-hub::after {
    opacity: 0.12;
  }

  .app-body--sparrings-page .sparrings-shell {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 36vw);
    gap: 10px;
    height: 100%;
    max-width: none;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 64px);
  }

  .app-body--sparrings-page .sparrings-list-column {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .app-body--sparrings-page .sparrings-heading {
    flex: 0 0 auto;
    gap: 0;
  }

  .app-body--sparrings-page .sparrings-heading-copy p:first-child {
    font-size: 0.5rem;
    line-height: 1;
    letter-spacing: 0.18em;
  }

  .app-body--sparrings-page .sparrings-heading-copy h1 {
    margin-top: 5px;
    font-size: clamp(1.3rem, 6.4vh, 1.86rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .app-body--sparrings-page .sparrings-heading-copy p:last-child {
    display: none;
  }

  .app-body--sparrings-page .sparrings-toolbar {
    display: grid;
    grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
    flex: 0 0 auto;
    gap: 8px;
    align-items: end;
    margin-top: 8px;
  }

  .app-body--sparrings-page .sparrings-toolbar p {
    font-size: 0.48rem;
    line-height: 1.15;
    letter-spacing: 0.14em;
  }

  .app-body--sparrings-page .sparrings-filter-form {
    display: grid;
    grid-template-columns: minmax(112px, 1fr) minmax(120px, 1fr);
    gap: 7px;
  }

  .app-body--sparrings-page .sparrings-filter-select {
    min-width: 0;
    min-height: 32px;
    width: 100%;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.54rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--sparrings-page .sparrings-partner-grid {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    flex: 1 1 auto;
    gap: 8px;
    min-height: 0;
    margin-top: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 6px 10px 0;
    scrollbar-color: rgb(239 68 68 / 70%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--sparrings-page .sparrings-partner-grid::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--sparrings-page .sparrings-partner-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--sparrings-page .sparrings-partner-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--sparrings-page .sparring-partner-card {
    min-height: 148px;
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--sparrings-page .sparring-partner-card:hover,
  .app-body--sparrings-page .sparring-partner-card:focus-visible {
    transform: none;
  }

  .app-body--sparrings-page .sparring-partner-card > .absolute.inset-x-0 {
    top: 28%;
  }

  .app-body--sparrings-page .sparring-partner-card header span:first-child {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .app-body--sparrings-page .sparring-partner-card header span:first-child svg {
    width: 14px;
    height: 14px;
  }

  .app-body--sparrings-page .sparring-partner-card header span:last-child {
    width: 24px;
    height: 24px;
  }

  .app-body--sparrings-page .sparring-partner-card .mt-auto {
    padding-top: 36px;
  }

  .app-body--sparrings-page .sparring-partner-card h2 {
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--sparrings-page .sparring-partner-card h2 + p {
    margin-top: 3px;
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--sparrings-page .sparring-partner-card ul {
    display: none;
  }

  .app-body--sparrings-page .sparring-partner-card .fighter-belt-display--sparring-card {
    min-height: 22px;
    margin-top: 6px;
    padding: 0 5px;
    transform: scale(0.82);
    transform-origin: left center;
  }

  .app-body--sparrings-page .sparring-partner-card .inline-flex.items-center.gap-2.rounded-full {
    margin-top: 6px;
    padding: 3px 5px;
    font-size: 0.42rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--sparrings-page .sparrings-empty {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
    padding: 18px;
    border-radius: 9px;
    overflow-y: auto;
    font-size: 0.66rem;
  }

  .app-body--sparrings-page .sparrings-detail-column {
    min-height: 0;
    align-self: stretch;
  }

  .app-body--sparrings-page .sparrings-detail-card {
    display: flex;
    height: 100%;
    max-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 9px;
  }

  .app-body--sparrings-page .sparrings-detail-header {
    flex: 0 0 auto;
    padding: 8px;
  }

  .app-body--sparrings-page .sparrings-detail-header > p {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--sparrings-page .sparrings-detail-identity {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 8px;
    margin-top: 7px;
  }

  .app-body--sparrings-page .sparrings-detail-image {
    height: 82px;
    border-radius: 8px;
  }

  .app-body--sparrings-page .sparrings-detail-copy h2 {
    font-size: clamp(0.9rem, 4.6vh, 1.25rem);
    line-height: 0.95;
    letter-spacing: 0;
  }

  .app-body--sparrings-page .sparrings-detail-copy h2 + p {
    margin-top: 4px;
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--sparrings-page .sparrings-detail-copy > p:nth-of-type(2) {
    display: none;
  }

  .app-body--sparrings-page .sparrings-detail-copy .inline-flex.items-center.gap-2.rounded-full {
    margin-top: 7px;
    padding: 4px 6px;
    font-size: 0.44rem;
    line-height: 1;
    letter-spacing: 0.06em;
  }

  .app-body--sparrings-page .sparrings-detail-body {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 0.48fr);
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .app-body--sparrings-page .sparrings-signatures {
    min-height: 0;
    overflow-y: auto;
    padding: 8px;
  }

  .app-body--sparrings-page .sparrings-signatures > p,
  .app-body--sparrings-page .sparrings-detail-body > section:last-child > p,
  .app-body--sparrings-page .sparrings-rewards > p {
    font-size: 0.46rem;
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .app-body--sparrings-page .sparrings-signatures ul {
    gap: 5px;
    margin-top: 7px;
  }

  .app-body--sparrings-page .sparrings-signatures ul > :not([hidden]) ~ :not([hidden]) {
    margin-top: 5px;
  }

  .app-body--sparrings-page .sparring-signature-button {
    gap: 6px;
    padding: 6px;
    border-radius: 8px;
  }

  .app-body--sparrings-page .sparring-signature-button > span:first-child {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .app-body--sparrings-page .sparring-signature-button > span:first-child svg {
    width: 13px;
    height: 13px;
  }

  .app-body--sparrings-page .sparring-signature-button strong {
    font-size: 0.58rem;
    line-height: 1;
  }

  .app-body--sparrings-page .sparring-signature-button span span {
    font-size: 0.42rem;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .app-body--sparrings-page .sparrings-detail-body > section:last-child {
    padding: 8px;
  }

  .app-body--sparrings-page .sparrings-radar {
    margin-top: 7px;
    padding: 4px;
    border-radius: 8px;
  }

  .app-body--sparrings-page .sparrings-radar svg {
    height: min(22vh, 88px);
  }

  .app-body--sparrings-page .sparrings-radar span {
    width: 22px;
    height: 22px;
  }

  .app-body--sparrings-page .sparrings-radar span svg {
    width: 12px;
    height: 12px;
  }

  .app-body--sparrings-page .sparrings-rewards {
    flex: 0 0 auto;
    padding: 6px 8px;
  }

  .app-body--sparrings-page .sparrings-rewards .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 5px;
  }

  .app-body--sparrings-page .sparrings-rewards .grid > div {
    justify-content: center;
    gap: 5px;
    min-height: 28px;
    padding: 4px 6px;
    border: 0;
    border-radius: 7px;
  }

  .app-body--sparrings-page .sparrings-rewards .grid > div > span {
    display: grid;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 6px;
  }

  .app-body--sparrings-page .sparrings-rewards .grid > div > span svg {
    display: block;
    width: 11px;
    height: 11px;
    margin: auto;
  }

  .app-body--sparrings-page .sparrings-rewards strong {
    font-size: 0.72rem;
    line-height: 1;
  }

  .app-body--sparrings-page .sparrings-rewards strong + span {
    display: none;
  }

  .app-body--sparrings-page .sparrings-action {
    position: sticky;
    bottom: 0;
    flex: 0 0 auto;
    padding: 8px;
    background: rgb(0 0 0 / 72%);
    backdrop-filter: blur(10px);
  }

  .app-body--sparrings-page .sparrings-action button {
    min-height: 34px;
    gap: 8px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.56rem;
    line-height: 1;
    letter-spacing: 0.1em;
  }

  .app-body--sparrings-page .technique-modal {
    width: min(720px, calc(100vw - 18px));
    max-height: calc(100dvh - 18px);
  }

  .app-body--sparrings-page .technique-modal-panel {
    gap: 8px;
    max-height: calc(100dvh - 18px);
    padding: 12px;
    border-radius: 8px;
  }

  .app-body--sparrings-page .technique-modal-close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }

  .app-body--sparrings-page .technique-modal-close svg {
    width: 15px;
    height: 15px;
  }

  .app-body--sparrings-page .technique-modal-view-link {
    top: 8px;
    right: 42px;
    width: 30px;
    height: 30px;
  }

  .app-body--sparrings-page .technique-modal-view-link svg {
    width: 15px;
    height: 15px;
  }

  .app-body--sparrings-page .technique-modal-heading {
    min-height: 34px;
    gap: 8px;
    padding-right: 72px;
    padding-bottom: 8px;
  }

  .app-body--sparrings-page .technique-modal-heading h2 {
    font-size: clamp(1rem, 5.2vh, 1.45rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .app-body--sparrings-page .technique-modal-heading > span {
    padding: 5px 7px;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .app-body--sparrings-page .technique-modal-content {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 160px);
    gap: 8px;
  }

  .app-body--sparrings-page .technique-modal-main {
    gap: 8px;
  }

  .app-body--sparrings-page .technique-outcomes-panel,
  .app-body--sparrings-page .technique-stats-panel,
  .app-body--sparrings-page .technique-positions-panel,
  .app-body--sparrings-page .technique-description-panel {
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
  }

  .app-body--sparrings-page .technique-outcomes-heading {
    display: none;
  }

  .app-body--sparrings-page .technique-outcome-row {
    grid-template-columns: minmax(78px, 0.6fr) minmax(78px, 0.65fr) minmax(0, 1fr);
    gap: 6px;
    padding: 7px;
    border-left-width: 4px;
    border-radius: 7px;
  }

  .app-body--sparrings-page .technique-outcome-badge {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 5px;
  }

  .app-body--sparrings-page .technique-outcome-badge strong {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .app-body--sparrings-page .technique-outcome-badge span,
  .app-body--sparrings-page .technique-outcome-position,
  .app-body--sparrings-page .technique-outcome-effects {
    font-size: 0.56rem;
    line-height: 1.15;
  }

  .app-body--sparrings-page .technique-modal-card .technique-card {
    min-height: 176px;
    gap: 5px;
    padding: 7px;
  }

  .app-body--sparrings-page .technique-modal-card .technique-card-media {
    width: min(54%, 62px);
  }

  .app-body--sparrings-page .technique-modal-card .technique-card-sources,
  .app-body--sparrings-page .technique-modal-card .technique-card-context {
    display: none;
  }

  .app-body--fight-hub {
    overflow: hidden;
    background: #000000;
  }

  .app-body--fight-hub main {
    overflow: hidden;
  }

  .app-body:not(.app-body--fight-hub) .fight-hub-navbar-toggle {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: calc(env(safe-area-inset-left, 0px) + 10px);
    z-index: 90;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 999px;
    color: rgb(255 255 255 / 92%);
    background: rgb(0 0 0 / 74%);
    box-shadow: 0 12px 34px rgb(0 0 0 / 42%);
    backdrop-filter: blur(16px);
  }

  .app-body:not(.app-body--fight-hub).app-body--fight-navbar-open .fight-hub-navbar-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .app-body:not(.app-body--fight-hub) .fight-hub-navbar-toggle svg {
    width: 20px;
    height: 20px;
  }

  .app-body:not(.app-body--fight-hub) .fight-hub-navbar-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .app-body .fight-hub-navbar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 84;
    display: none;
    padding: 0;
    border: 0;
    background: rgb(0 0 0 / 54%);
    backdrop-filter: blur(3px);
  }

  .app-body.app-body--fight-navbar-open .fight-hub-navbar-backdrop {
    display: block;
  }

  .app-body .app-navbar-shell {
    position: fixed;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    z-index: 85;
    width: min(320px, 42vw);
    max-width: calc(100vw - 44px);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    border-right: 1px solid rgb(255 255 255 / 14%);
    border-bottom: 0;
    background:
      radial-gradient(circle at 12% 0%, rgb(239 68 68 / 18%), transparent 36%),
      linear-gradient(180deg, rgb(3 7 18 / 96%), rgb(0 0 0 / 98%));
    box-shadow: 26px 0 70px rgb(0 0 0 / 52%);
    opacity: 1;
    pointer-events: none;
    transform: translateX(calc(-100% - 8px));
    transition:
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  .app-body .app-navbar-shell::after {
    content: none;
  }

  .app-body.app-body--fight-navbar-open .app-navbar-shell {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .app-body .app-navbar-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: start;
    align-items: center;
    gap: 12px;
    min-height: 100%;
    height: auto;
    padding:
      calc(env(safe-area-inset-top, 0px) + 12px)
      12px
      calc(env(safe-area-inset-bottom, 0px) + 12px);
  }

  .app-body .app-navbar-brand {
    min-width: 0;
    gap: 8px;
  }

  .app-body .app-navbar-logo {
    width: 38px;
    height: 38px;
  }

  .app-body .app-navbar-brand-text {
    overflow: hidden;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body .app-navbar-drawer-close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 999px;
    color: rgb(255 255 255 / 82%);
    background: rgb(15 23 42 / 70%);
  }

  .app-body .app-navbar-drawer-close svg {
    width: 17px;
    height: 17px;
  }

  .app-body .app-navbar-drawer-close span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .app-body .app-navbar-game-links {
    grid-column: 1 / -1;
    display: grid;
    align-items: stretch;
    gap: 7px;
  }

  .app-body .app-navbar-game-links a {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 8px;
    background: rgb(255 255 255 / 5%);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .app-body .app-navbar-game-links a > span.absolute {
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    transform: none;
  }

  .app-body .app-navbar-account {
    grid-column: 1 / -1;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .app-body .nav-user-menu summary {
    width: 100%;
    min-height: 38px;
    justify-content: space-between;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .app-body .nav-user-menu > div {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 8px;
    border-radius: 10px;
    box-shadow: none;
  }

  .app-body .nav-user-menu-item {
    min-height: 32px;
    font-size: 0.68rem;
  }

  .app-body--fight-hub .result-overlay {
    align-items: stretch;
    justify-items: center;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 10px);
    overflow: hidden;
  }

  .app-body--fight-hub .result-panel,
  .app-body--fight-hub .tutorial-result-panel {
    width: min(100%, 920px);
    max-height: calc(100dvh - 16px);
    gap: 8px;
    padding: 10px 12px;
    overflow: hidden;
    border-radius: 10px;
  }

  .app-body--fight-hub .result-panel {
    grid-template-rows: auto auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgb(239 68 68 / 72%) rgb(15 23 42 / 68%);
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .app-body--fight-hub .result-panel::-webkit-scrollbar {
    width: 6px;
  }

  .app-body--fight-hub .result-panel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgb(15 23 42 / 68%);
  }

  .app-body--fight-hub .result-panel::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgb(239 68 68 / 72%);
  }

  .app-body--fight-hub .result-panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding-bottom: 8px;
  }

  .app-body--fight-hub .result-panel h2 {
    overflow: hidden;
    font-size: clamp(1.35rem, 7vh, 2.05rem);
    line-height: 0.92;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fight-hub .result-panel-heading > div > span {
    min-height: 22px;
    margin-top: 5px;
    padding: 0 7px;
    font-size: 0.52rem;
    letter-spacing: 0.05em;
  }

  .app-body--fight-hub .result-panel-actions {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(110px, auto);
    gap: 6px;
    justify-content: end;
  }

  .app-body--fight-hub .result-new-fight,
  .app-body--fight-hub .result-panel-dismiss {
    min-height: 32px;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    font-size: 0.56rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .app-body--fight-hub .result-panel-dismiss {
    display: none;
  }

  .app-body--fight-hub .result-new-fight svg,
  .app-body--fight-hub .result-panel-dismiss svg {
    width: 13px;
    height: 13px;
  }

  .app-body--fight-hub .result-panel-body {
    grid-template-columns: minmax(190px, 0.78fr) minmax(0, 1.55fr);
    grid-template-rows: auto auto auto;
    gap: 8px;
    min-height: 0;
    overflow: visible;
    padding-bottom: 4px;
  }

  .app-body--fight-hub .result-fighters {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .app-body--fight-hub .result-fighter-card {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
    border-radius: 7px;
  }

  .app-body--fight-hub .result-fighter-card > span {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .app-body--fight-hub .result-fighter-card svg {
    width: 15px;
    height: 15px;
  }

  .app-body--fight-hub .result-fighter-card small {
    font-size: 0.48rem;
  }

  .app-body--fight-hub .result-fighter-card strong {
    margin-top: 1px;
    font-size: 0.66rem;
  }

  .app-body--fight-hub .result-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .app-body--fight-hub .result-stats div {
    padding: 6px 7px;
    border-radius: 7px;
  }

  .app-body--fight-hub .result-stats dt {
    gap: 4px;
    font-size: 0.46rem;
  }

  .app-body--fight-hub .result-stats dt svg {
    width: 11px;
    height: 11px;
  }

  .app-body--fight-hub .result-stats dd {
    margin-top: 3px;
    font-size: 0.72rem;
  }

  .app-body--fight-hub .result-achievement-panel {
    gap: 6px;
    min-height: 0;
    padding: 8px;
    overflow: visible;
    border-radius: 8px;
  }

  .app-body--fight-hub .result-achievement-panel h3,
  .app-body--fight-hub .result-xp-panel h3 {
    font-size: 0.68rem;
  }

  .app-body--fight-hub .result-achievement-panel header > strong,
  .app-body--fight-hub .result-xp-panel header > strong {
    min-height: 26px;
    padding: 0 7px;
    font-size: 0.64rem;
  }

  .app-body--fight-hub .result-achievement-list {
    gap: 6px;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .app-body--fight-hub .result-achievement-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
  }

  .app-body--fight-hub .result-achievement-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }

  .app-body--fight-hub .result-achievement-copy > strong {
    font-size: 0.62rem;
  }

  .app-body--fight-hub .result-achievement-copy > small {
    font-size: 0.48rem;
  }

  .app-body--fight-hub .result-achievement-rewards {
    gap: 4px;
    margin-top: 4px;
  }

  .app-body--fight-hub .result-achievement-rewards span,
  .app-body--fight-hub .result-grade-unlocks span {
    min-height: 20px;
    padding: 0 5px;
    font-size: 0.46rem;
  }

  .app-body--fight-hub .result-achievement-link {
    min-height: 28px;
    font-size: 0.52rem;
  }

  .app-body--fight-hub .result-xp-panel {
    grid-row: 1 / span 3;
    grid-column: 2;
    grid-template-rows: auto auto auto auto;
    gap: 7px;
    min-height: 0;
    padding: 8px;
    overflow: visible;
    border-radius: 8px;
  }

  .app-body--fight-hub .result-xp-panel header,
  .app-body--fight-hub .result-achievement-panel header {
    gap: 8px;
    align-items: center;
  }

  .app-body--fight-hub .result-xp-modifiers {
    gap: 4px;
  }

  .app-body--fight-hub .result-xp-modifiers span {
    min-height: 22px;
    padding: 0 6px;
    font-size: 0.5rem;
  }

  .app-body--fight-hub .result-grade-progress {
    gap: 5px;
    padding: 7px;
    border-radius: 7px;
  }

  .app-body--fight-hub .result-grade-celebration {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.72fr);
    gap: 8px;
    align-items: center;
    padding: 8px;
  }

  .app-body--fight-hub .result-grade-celebration-copy {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 7px;
  }

  .app-body--fight-hub .result-grade-celebration-icon {
    width: 30px;
    height: 30px;
  }

  .app-body--fight-hub .result-grade-celebration strong {
    font-size: 0.82rem;
  }

  .app-body--fight-hub .result-grade-celebration .result-grade-celebration-kicker,
  .app-body--fight-hub .result-grade-celebration .result-grade-celebration-copy small {
    font-size: 0.46rem;
  }

  .app-body--fight-hub .result-grade-belt-transition {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 5px;
  }

  .app-body--fight-hub .result-grade-belt-arrow {
    width: 24px;
    height: 24px;
  }

  .app-body--fight-hub .result-grade-belt-arrow svg {
    transform: none;
  }

  .app-body--fight-hub .result-grade-belt {
    min-height: 30px;
    border-radius: 6px;
  }

  .app-body--fight-hub .result-grade-belt-main,
  .app-body--fight-hub .result-grade-belt-zone {
    height: 14px;
  }

  .app-body--fight-hub .result-grade-belt-stripes {
    grid-template-columns: repeat(4, 4px);
    gap: 2px;
  }

  .app-body--fight-hub .result-grade-belt-stripe {
    width: 4px;
    height: 14px;
  }

  .app-body--fight-hub .result-grade-progress header div,
  .app-body--fight-hub .result-grade-progress header strong,
  .app-body--fight-hub .result-grade-progress small {
    font-size: 0.5rem;
  }

  .app-body--fight-hub .result-grade-progress-track {
    height: 6px;
  }

  .app-body--fight-hub .result-xp-list {
    gap: 5px;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .app-body--fight-hub .result-xp-list li {
    gap: 7px;
    padding: 6px;
    border-radius: 7px;
  }

  .app-body--fight-hub .result-xp-list strong {
    font-size: 0.62rem;
  }

  .app-body--fight-hub .result-xp-list small {
    margin-top: 1px;
    font-size: 0.5rem;
  }

  .app-body--fight-hub .result-xp-gain {
    min-width: 92px;
  }

  .app-body--fight-hub .result-xp-level-up,
  .app-body--fight-hub .result-xp-level-max {
    min-height: 18px;
    margin-top: 3px;
    padding: 0 5px;
    font-size: 0.45rem;
  }

  .app-body--fight-hub .result-xp-effects {
    gap: 3px;
    margin-top: 3px;
  }

  .app-body--fight-hub .result-xp-effects span {
    padding: 2px 4px;
    font-size: 0.45rem;
  }

  .app-body--fight-hub .result-xp-empty {
    font-size: 0.62rem;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-panel {
    width: min(760px, calc(100vw - 20px));
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.2fr);
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-heading {
    gap: 6px;
    text-align: left;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-heading h2 {
    justify-self: start;
    font-size: clamp(1.5rem, 8vh, 2.3rem);
    text-align: left;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-heading > p:last-child {
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-summary {
    gap: 8px;
    min-height: 0;
    padding: 9px 10px;
    overflow: hidden;
    border-radius: 9px;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-summary h3 {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-summary ul {
    gap: 7px;
    overflow-y: auto;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-summary li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 5px;
    font-size: 0.65rem;
    line-height: 1.16;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-summary svg {
    width: 13px;
    height: 13px;
  }

  .app-body--fight-hub .result-overlay--tutorial .tutorial-result-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .app-body--fight-hub .result-overlay--drill {
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 10px);
    overflow: hidden;
  }

  .app-body--fight-hub .result-overlay--drill .drill-result-panel {
    align-content: center;
    gap: 9px;
    width: min(560px, calc(100vw - 20px));
    max-height: calc(100dvh - 16px);
    padding: 12px;
    overflow: hidden;
    border-radius: 10px;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-heading {
    gap: 4px;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-heading .kicker {
    margin: 0;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-heading h2 {
    font-size: clamp(1.6rem, 7.2vh, 2.2rem);
    line-height: 0.9;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-heading > p:last-child {
    font-size: 0.76rem;
    line-height: 1.1;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-summary {
    gap: 7px;
    padding: 8px;
    border-radius: 9px;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-summary h3 {
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-summary ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-summary li {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 5px;
    align-items: center;
    min-height: 36px;
    padding: 5px 6px;
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 7px;
    background: rgb(0 0 0 / 18%);
    font-size: 0.66rem;
    line-height: 1.15;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-summary svg {
    width: 13px;
    height: 13px;
  }

  .app-body--fight-hub .result-overlay--drill .tutorial-result-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 408px);
    justify-content: center;
    justify-self: center;
  }

  .app-body--fight-hub .result-overlay--drill .result-panel-dismiss {
    display: none;
  }

  .app-body--fight-hub .result-overlay--drill .drill-result-restart-form {
    min-width: 0;
    width: 100%;
  }

  .app-body--fight-hub .result-overlay--drill .result-new-fight,
  .app-body--fight-hub .result-overlay--drill .result-panel-dismiss {
    width: 100%;
    min-height: 34px;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    font-size: 0.58rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .app-body--fight-hub .result-overlay--drill .result-new-fight svg,
  .app-body--fight-hub .result-overlay--drill .result-panel-dismiss svg {
    width: 13px;
    height: 13px;
  }

  .app-body--fight-hub .fight-hub-navbar-toggle {
    position: static;
    z-index: 1;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border-color: rgb(255 255 255 / 18%);
    color: rgb(255 255 255 / 90%);
    background: rgb(2 6 23 / 72%);
    opacity: 1;
    transform: none;
  }

  .app-body--fight-hub.app-body--fight-navbar-open .fight-hub-navbar-toggle {
    top: auto;
  }

  .app-body--fight-hub .fight-arena-screen {
    min-height: var(--app-viewport-height, 100vh);
    height: var(--app-viewport-height, 100vh);
    overflow: hidden;
  }

  .app-body--fight-hub .fight-arena-screen::after {
    background:
      radial-gradient(circle at 50% 42%, transparent 0 42%, rgb(0 0 0 / 22%) 66%, rgb(0 0 0 / 68%) 100%),
      linear-gradient(180deg, rgb(0 0 0 / 0%) 0 62%, rgb(0 0 0 / 60%) 100%);
  }

  .app-body--fight-hub .fight-arena-hud {
    grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 220px) minmax(150px, 0.9fr);
    gap: 10px;
    align-items: start;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 12px)
      0
      calc(env(safe-area-inset-left, 0px) + 12px);
  }

  .app-body--fight-hub .fight-arena-fighter {
    gap: 8px;
  }

  .app-body--fight-hub .fight-arena-fighter--ai {
    z-index: 7;
    display: grid;
    width: 100%;
    justify-self: auto;
    justify-items: end;
    text-align: right;
  }

  .app-body--fight-hub .fight-arena-fighter--ai > .flex.gap-4 {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-left: auto;
    padding-right: calc(clamp(46px, 13vh, 64px) + 8px);
  }

  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-fighter-copy {
    align-items: end;
    width: min(28vw, 210px);
    padding-top: 0;
    text-align: right;
  }

  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-fighter-copy h2,
  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-belt {
    align-self: end;
  }

  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-avatar,
  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-ai-stack {
    order: 0;
  }

  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-ai-stack {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    right: calc(env(safe-area-inset-right, 0px) + 4px);
    z-index: 8;
    flex: 0 0 auto;
    margin-left: 0;
    justify-items: end;
  }

  .app-body--fight-hub .fight-arena-ai-controls,
  .app-body--fight-hub .fight-arena-ai-stack > .fight-arena-info-panel,
  .app-body--fight-hub .fight-arena-ai-debug-panel,
  .app-body--fight-hub .fight-arena-player-stack > .combat-log--arena {
    display: none;
  }

  .app-body--fight-hub .fight-arena-avatar {
    width: clamp(46px, 13vh, 64px);
    border-radius: 6px;
  }

  .app-body--fight-hub .fight-arena-avatar-frame {
    max-width: 64px;
  }

  .app-body--fight-hub .fight-arena-player-actions {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    right: auto;
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    z-index: 8;
    gap: 5px;
    justify-items: start;
  }

  .app-body--fight-hub .fight-arena-forfeit-button,
  .app-body--fight-hub .fight-arena-spectator-invite-button,
  .app-body--fight-hub .fight-arena-spectator-count {
    min-width: 26px;
    width: 26px;
    height: 26px;
    padding: 0;
  }

  .app-body--fight-hub .fight-arena-spectator-count strong {
    font-size: 0.62rem;
  }

  .app-body--fight-hub .fight-arena-fighter-copy {
    padding-top: 3px;
  }

  .app-body--fight-hub .fight-arena-fighter-copy h2 {
    max-width: min(28vw, 260px);
    font-size: clamp(0.72rem, 2.9vh, 1rem);
    line-height: 1.02;
  }

  .app-body--fight-hub .fight-arena-belt {
    margin-top: 4px;
    transform: scale(0.76);
    transform-origin: left top;
  }

  .app-body--fight-hub .fight-arena-fighter--ai .fight-arena-belt {
    justify-content: end;
    transform-origin: right top;
  }

  .app-body--fight-hub .fight-arena-scoreboard {
    gap: 3px;
    order: 0;
  }

  .app-body--fight-hub .fight-arena-score-row {
    grid-template-columns: minmax(48px, 1fr) 38px minmax(48px, 1fr);
    width: auto;
    min-width: 190px;
    border-radius: 7px;
  }

  .app-body--fight-hub .fight-arena-score-side {
    gap: 1px;
    padding: 5px 7px 4px;
  }

  .app-body--fight-hub .fight-arena-score-side strong {
    font-size: clamp(1.14rem, 5.2vh, 1.7rem);
  }

  .app-body--fight-hub .fight-arena-score-side dl {
    gap: 5px;
  }

  .app-body--fight-hub .fight-arena-score-meta dd {
    font-size: 0.64rem;
  }

  .app-body--fight-hub .fight-arena-score-separator {
    padding: 0 3px;
    font-size: 1.1rem;
  }

  .app-body--fight-hub .fight-arena-score-separator-mark {
    display: none;
  }

  .app-body--fight-hub .fight-arena-timer {
    min-width: 82px;
    min-height: 32px;
    padding: 4px 10px;
    font-size: clamp(0.98rem, 4.6vh, 1.42rem);
    border-radius: 0 0 8px 8px;
  }

  .app-body--fight-hub .fight-arena-position {
    max-width: 220px;
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .app-body--fight-hub .fight-arena-actions {
    --arena-collapsed-panel-width: 86px;
    --arena-collapsed-panel-height: 40px;

    position: absolute;
    right: calc(env(safe-area-inset-right, 0px) + 8px);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 5px);
    left: calc(env(safe-area-inset-left, 0px) + 8px);
    grid-template-columns: minmax(72px, 86px) minmax(0, 1fr) minmax(72px, 88px);
    grid-template-rows: auto;
    gap: 6px;
    align-items: end;
    margin-top: 0;
    padding: 0;
  }

  .app-body--fight-hub .fight-arena-resource--player,
  .app-body--fight-hub .fight-arena-card-carousel,
  .app-body--fight-hub .fight-arena-resource--ai {
    grid-row: 1;
  }

  .app-body--fight-hub .fight-arena-resource--player {
    grid-column: 1;
  }

  .app-body--fight-hub .fight-arena-card-carousel {
    grid-column: 2;
  }

  .app-body--fight-hub .fight-arena-resource--ai {
    display: grid;
    grid-column: 3;
  }

  .app-body--fight-hub .fight-arena-resource {
    min-height: 82px;
    padding: 7px;
    border-radius: 8px;
  }

  .app-body--fight-hub .fight-arena-resource dl {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .app-body--fight-hub .fight-arena-resource div + div {
    padding-top: 5px;
    padding-left: 0;
    border-top: 1px solid rgb(255 255 255 / 10%);
    border-left: 0;
  }

  .app-body--fight-hub .fight-arena-resource dt {
    gap: 3px;
    font-size: 0.5rem;
  }

  .app-body--fight-hub .fight-arena-resource dt svg {
    width: 11px;
    height: 11px;
  }

  .app-body--fight-hub .fight-arena-resource dd {
    font-size: 0.72rem;
  }

  .app-body--fight-hub .fight-arena-resource--opponent .fight-arena-resource-state dd {
    font-size: 0.64rem;
    letter-spacing: 0.03em;
  }

  .app-body--fight-hub .fight-arena-card-carousel {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .app-body--fight-hub .fight-arena-carousel-button {
    display: none;
  }

  .app-body--fight-hub .fight-arena-card-track {
    grid-column: 1;
    grid-auto-columns: clamp(104px, 17vw, 130px);
    gap: 6px;
    padding: 3px 2px 6px;
  }

  .app-body--fight-hub .arena-action-card,
  .app-body--fight-hub .arena-action-card-button {
    height: clamp(72px, 20vh, 88px);
  }

  .app-body--fight-hub .arena-action-card-button {
    gap: 3px;
    padding: 6px;
    border-radius: 8px;
  }

  .app-body--fight-hub .arena-action-card-category {
    font-size: 0.46rem;
  }

  .app-body--fight-hub .arena-action-card-button > strong {
    min-height: 2em;
    font-size: 0.56rem;
    line-height: 1;
  }

  .app-body--fight-hub .arena-action-card-metrics {
    gap: 3px;
    font-size: 0.46rem;
  }

  .app-body--fight-hub .arena-action-card-metrics svg {
    width: 9px;
    height: 9px;
  }

  .app-body--fight-hub .arena-action-options {
    gap: 3px;
  }

  .app-body--fight-hub .arena-action-option-button {
    min-height: 23px;
    padding: 4px;
    font-size: 0.5rem;
  }

  .app-body--fight-hub .arena-reaction-window {
    grid-template-columns: minmax(80px, auto) minmax(0, 1fr) 36px;
    gap: 5px;
    padding: 0 4px;
  }

  .app-body--fight-hub .arena-reaction-window-action {
    font-size: 0.52rem;
  }

  .app-body--fight-hub .arena-reaction-window-track {
    height: 6px;
  }

  .app-body--fight-hub .arena-reaction-window strong {
    font-size: 0.64rem;
  }

  .app-body--fight-hub .fight-arena-atb-gauge {
    grid-column: 1;
    gap: 8px;
    padding: 0 4px;
  }

  .app-body--fight-hub .fight-arena-atb-track {
    height: 10px;
  }

  .app-body--fight-hub .fight-arena-atb-gauge strong {
    font-size: 0.72rem;
  }

  .app-body--fight-hub .fight-arena-action-empty {
    min-height: 58px;
    font-size: 0.66rem;
  }

  .app-body--fight-hub .fight-arena-player-stack > .combat-log--arena {
    top: calc(100% + 5px);
    width: min(280px, 38vw);
    height: min(112px, 30dvh);
    padding: 7px;
  }

  .app-body--fight-hub .fight-arena-player-stack > .combat-log--arena.combat-log--full {
    width: min(360px, 50vw);
    height: min(164px, 42dvh);
  }

  .app-body--fight-hub .fight-arena-player-stack > .combat-log--arena.combat-log--collapsed {
    width: 86px;
    height: 40px;
  }

  .app-body--fight-hub .combat-log--arena .combat-log-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px;
    font-size: 0.56rem;
  }

  .app-body--fight-hub .combat-log--arena .log-mode-controls {
    display: none;
  }

  .app-body--fight-hub .combat-log--arena .log-list {
    gap: 4px;
  }

  .app-body--fight-hub .combat-log--arena .log-entry {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 5px;
    padding: 5px;
  }

  .app-body--fight-hub .combat-log--arena .log-entry time,
  .app-body--fight-hub .combat-log--arena .log-summary,
  .app-body--fight-hub .combat-log--arena .log-effects,
  .app-body--fight-hub .combat-log--arena .log-gameplay-costs {
    font-size: 0.58rem;
  }

  .app-body--fight-hub .combat-log--arena .log-gameplay-summary,
  .app-body--fight-hub .combat-log--arena .log-action-name {
    font-size: 0.66rem;
  }

  .app-body--fight-hub .fight-arena-ai-stack > .fight-arena-info-panel {
    display: grid;
    gap: 5px;
    width: min(190px, 27vw);
    max-height: 34dvh;
    margin-top: 5px;
    padding: 7px 8px;
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgb(9 12 20 / 78%), rgb(0 0 0 / 84%)),
      rgb(2 6 23 / 78%);
  }

  .app-body--fight-hub .fight-arena-ai-stack > .fight-arena-info-panel.fight-arena-info-panel--collapsed {
    width: clamp(38px, 8vh, 46px);
    height: clamp(28px, 7vh, 36px);
    margin-top: 4px;
    padding: 4px;
  }

  .app-body--fight-hub .fight-arena-info-heading {
    gap: 4px;
    padding-bottom: 4px;
  }

  .app-body--fight-hub .fight-arena-info-panel h2,
  .app-body--fight-hub .fight-arena-info-body {
    font-size: 0.54rem;
  }

  .app-body--fight-hub .fight-arena-info-panel h2 {
    letter-spacing: 0.08em;
  }

  .app-body--fight-hub .fight-arena-info-visibility {
    min-height: 20px;
    padding: 0 5px;
  }

  .app-body--fight-hub .fight-arena-info-visibility svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fight-hub .fight-arena-info-panel dl {
    gap: 5px;
  }

  .app-body--fight-hub .fight-arena-info-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
  }

  .app-body--fight-hub .fight-arena-info-row + .fight-arena-info-row {
    padding-top: 5px;
  }

  .app-body--fight-hub .fight-arena-info-panel dt {
    font-size: 0.48rem;
    letter-spacing: 0.08em;
    text-align: right;
  }

  .app-body--fight-hub .fight-arena-effect-list {
    gap: 2px;
  }

  .app-body--fight-hub .fight-arena-info-muted,
  .app-body--fight-hub .fight-arena-effect {
    font-size: 0.5rem;
    line-height: 1.1;
  }

  .app-body--fight-hub .fight-arena-effect {
    gap: 4px;
  }

  .app-body--fight-hub .fight-arena-effect span {
    -webkit-line-clamp: 1;
  }

  .app-body--fight-hub .fight-arena-effect strong {
    font-size: 0.5rem;
  }

  .app-body--fight-hub .arena-action-card .action-tooltip,
  .app-body--fight-hub .action-tooltip.is-visible,
  .app-body--fight-hub .action-tooltip.is-positioning {
    width: min(320px, calc(100vw - 18px));
    max-height: calc(100dvh - 18px);
    overflow-y: auto;
  }

  .app-body--fight-hub .fight-tutorial-panel {
    top: auto;
    right: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    left: calc(env(safe-area-inset-left, 0px) + 116px);
    display: grid;
    grid-template-areas:
      "kicker actions"
      "title actions"
      "body actions";
    grid-template-columns: minmax(0, 1fr) minmax(82px, auto);
    column-gap: 10px;
    row-gap: 4px;
    width: min(360px, calc(100vw - 232px));
    max-height: min(124px, calc(100dvh - 98px));
    padding: 10px 11px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow:
      0 18px 52px rgb(0 0 0 / 58%),
      0 0 24px rgb(245 158 11 / 16%);
    transform: none;
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-actions="false"] {
    grid-template-areas:
      "kicker"
      "title"
      "body";
    grid-template-columns: minmax(0, 1fr);
    width: min(280px, calc(100vw - 250px));
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-actions="false"] .fight-tutorial-panel-actions {
    display: none;
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="player-resources"],
  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="score"],
  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="position"] {
    right: calc(env(safe-area-inset-right, 0px) + 104px);
    left: auto;
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="submission"] {
    top: calc(env(safe-area-inset-top, 0px) + 18px);
    right: auto;
    bottom: auto;
    left: calc(env(safe-area-inset-left, 0px) + 20px);
    width: clamp(190px, 32vw, 250px);
    max-height: min(126px, calc(100dvh - 38px));
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="actions"],
  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="reaction-window"] {
    top: calc(env(safe-area-inset-top, 0px) + 86px);
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(360px, calc(100vw - 260px));
    transform: translateX(-50%);
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="opposition"] {
    right: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    left: 50%;
    width: min(330px, calc(100vw - 250px));
    transform: translateX(-50%);
  }

  .app-body--fight-hub .fight-tutorial-panel[data-fight-tutorial-panel-zone="logs"] {
    right: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
    left: 50%;
    width: min(330px, calc(100vw - 250px));
    transform: translateX(-50%);
  }

  .app-body--fight-hub .fight-tutorial-panel-kicker {
    grid-area: kicker;
    margin: 0;
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.14em;
  }

  .app-body--fight-hub .fight-tutorial-panel h2 {
    grid-area: title;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-body--fight-hub .fight-tutorial-panel p[data-fight-tutorial-body] {
    grid-area: body;
    max-height: 52px;
    margin: 2px 0 0;
    overflow-y: auto;
    padding-right: 3px;
    color: rgb(255 255 255 / 78%);
    font-size: 0.62rem;
    line-height: 1.28;
    scrollbar-width: thin;
  }

  .app-body--fight-hub .fight-tutorial-panel-actions {
    grid-area: actions;
    display: grid;
    align-content: end;
    gap: 6px;
    margin-top: 0;
  }

  .app-body--fight-hub .fight-tutorial-panel-actions button {
    min-width: 82px;
    min-height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 0.5rem;
    line-height: 1.05;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .app-body--fight-hub .fight-tutorial-highlight {
    outline-offset: 4px;
    box-shadow:
      0 0 0 1px rgb(255 255 255 / 12%),
      0 0 24px rgb(245 158 11 / 48%),
      0 0 44px rgb(245 158 11 / 24%);
  }

  .app-body--fight-hub .fight-tutorial-highlight::after {
    inset: -7px;
    border-radius: 10px;
  }

  .app-body--fight-hub .fight-arena-screen > .fight-opposition-board {
    position: fixed;
    top: 50dvh;
    left: 50vw;
    grid-template-columns: minmax(112px, 132px) minmax(150px, 1fr) minmax(112px, 132px);
    gap: 6px;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 28px);
    overflow: hidden;
    padding: 6px;
    transform: translate(-50%, -50%);
  }

  .app-body--fight-hub .fight-opposition-slot--player {
    grid-column: 1;
    order: 0;
  }

  .app-body--fight-hub .fight-opposition-center {
    grid-column: 2;
    order: 0;
    align-self: center;
    gap: 6px;
  }

  .app-body--fight-hub .fight-opposition-board--resolved .fight-opposition-center {
    padding-top: 0;
  }

  .app-body--fight-hub .fight-opposition-slot--ai {
    grid-column: 3;
    order: 0;
  }

  .app-body--fight-hub .fight-opposition-slot {
    gap: 3px;
    padding: 4px;
  }

  .app-body--fight-hub .fight-opposition-label span,
  .app-body--fight-hub .fight-opposition-label strong,
  .app-body--fight-hub .fight-opposition-center small,
  .app-body--fight-hub .fight-opposition-effect,
  .app-body--fight-hub .fight-opposition-effect-empty {
    font-size: 0.46rem;
  }

  .app-body--fight-hub .fight-opposition-outcome {
    min-height: 20px;
    padding: 3px 5px;
    font-size: 0.5rem;
  }

  .app-body--fight-hub .fight-opposition-card {
    display: grid;
    max-height: none;
    overflow: visible;
    place-items: start stretch;
  }

  .app-body--fight-hub .fight-opposition-vs {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }

  .app-body--fight-hub .fight-opposition-outcome-letter {
    position: static;
    display: block;
    width: auto;
    height: auto;
    font-size: 1.8rem;
    line-height: 0.9;
    transform: none;
  }

  .app-body--fight-hub .fight-opposition-board--resolved .fight-opposition-outcome-letter {
    animation: opposition-outcome-letter-rise-mobile 820ms cubic-bezier(0.16, 0.92, 0.22, 1) 120ms both;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card {
    min-height: 138px;
    align-content: start;
    gap: 4px;
    padding: 5px;
    overflow: hidden;
    transform: none;
  }

  .app-body--fight-hub .fight-opposition-empty {
    min-height: 138px;
    padding: 8px;
    font-size: 0.56rem;
    line-height: 1.18;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card::before {
    height: 4px;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card::after {
    inset: 4px 0 auto;
    height: 54px;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-topline {
    gap: 4px;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-category,
  .app-body--fight-hub .fight-opposition-card .technique-card-belt,
  .app-body--fight-hub .fight-opposition-card .technique-card-context span,
  .app-body--fight-hub .fight-opposition-card .technique-card-metric span {
    font-size: 0.4rem;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-category,
  .app-body--fight-hub .fight-opposition-card .technique-card-belt {
    min-height: 18px;
    padding: 3px 4px;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-belt {
    display: none;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-category svg {
    width: 10px;
    height: 10px;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card h3 {
    min-height: 22px;
    font-size: 0.56rem;
    line-height: 1.05;
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-media {
    width: min(52%, 58px);
  }

  .app-body--fight-hub .fight-opposition-card .technique-card-context,
  .app-body--fight-hub .fight-opposition-card .technique-card-metrics {
    display: none;
  }

  .app-body--fight-hub .fight-opposition-scores {
    gap: 8px;
    width: min(100%, 220px);
  }

  .app-body--fight-hub .fight-opposition-score-chip {
    min-height: 44px;
    gap: 6px;
    padding: 7px 9px;
    font-size: 1rem;
  }

  .app-body--fight-hub .fight-opposition-score-chip svg {
    width: 18px;
    height: 18px;
  }

  .app-body--fight-hub .fight-opposition-score-chip--textual {
    padding: 7px 10px;
  }

  .app-body--fight-hub .fight-opposition-score-chip--textual strong {
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .app-body--fight-hub .fight-opposition-player-position {
    gap: 2px;
    padding: 5px 6px;
  }

  .app-body--fight-hub .fight-opposition-player-position span {
    font-size: 0.46rem;
  }

  .app-body--fight-hub .fight-opposition-player-position strong {
    font-size: 0.68rem;
  }

  .app-body--fight-hub .fight-arena-screen > .submission-check-overlay {
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding:
      calc(env(safe-area-inset-top, 0px) + 8px)
      calc(env(safe-area-inset-right, 0px) + 10px)
      calc(env(safe-area-inset-bottom, 0px) + 8px)
      calc(env(safe-area-inset-left, 0px) + 10px);
  }

  .app-body--fight-hub .submission-check-card {
    min-width: 160px;
    gap: 4px;
    padding: 10px 12px;
  }

  .app-body--fight-hub .submission-check-card h2 {
    max-width: 260px;
    font-size: 0.84rem;
  }

  .app-body--fight-hub .submission-countdown {
    min-width: 54px;
    min-height: 38px;
    font-size: 1.28rem;
  }

  .app-body--fight-hub .submission-check-lanes {
    align-self: stretch;
    gap: 8px;
  }

  .app-body--fight-hub .submission-lane {
    gap: 5px;
  }

  .app-body--fight-hub .submission-track {
    height: 20px;
  }

  .app-body--fight-hub .submission-push-button {
    min-width: 88px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.82rem;
  }
}

.reward-tooltip-trigger {
  position: relative;
  appearance: none;
  cursor: help;
  font: inherit;
}

.reward-tooltip-trigger:focus-visible,
.achievement-reward-tooltip-trigger:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.85);
  outline-offset: 2px;
}

.reward-tooltip-panel {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 90;
  width: max-content;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 0.45rem;
  background: rgba(9, 9, 11, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  pointer-events: none;
  text-align: left;
  text-transform: uppercase;
  transform: translate(-50%, 4px);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.reward-tooltip-trigger:hover .reward-tooltip-panel,
.reward-tooltip-trigger:focus .reward-tooltip-panel,
.reward-tooltip-trigger:focus-visible .reward-tooltip-panel {
  transform: translate(-50%, 0);
  opacity: 1;
}

.achievement-reward-tooltip-trigger {
  display: inline-grid;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.25rem;
  place-items: center;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgb(252, 211, 77);
  cursor: help;
}

.achievement-reward-tooltip-trigger:hover,
.achievement-reward-tooltip-trigger:focus {
  background: rgba(251, 191, 36, 0.12);
}

.app-body--admin .max-w-7xl {
  max-width: 1760px;
}

.app-body--admin > main > main > section {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .app-body--admin > main > main > section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .app-body--admin > main > main > section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1536px) {
  .app-body--admin > main > main > section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (hover: none) and (orientation: landscape) and (max-height: 560px),
       (orientation: landscape) and (max-height: 560px) and (max-width: 960px) {
  .app-body--competitions-page .competition-card-rewards .reward-tooltip-trigger {
    gap: 4px;
    padding: 3px 6px;
    border-radius: 999px;
    font-size: 0.48rem;
    letter-spacing: 0.04em;
  }

  .app-body--competitions-page .competition-card-rewards .reward-tooltip-trigger svg {
    width: 10px;
    height: 10px;
  }

  .reward-tooltip-panel {
    max-width: 15rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.56rem;
    letter-spacing: 0.03em;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) and (max-height: 560px) {
  .account-settings-page {
    min-height: var(--app-viewport-height, 100vh);
  }

  .account-settings-shell {
    min-height: var(--app-viewport-height, 100vh);
    max-width: none;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }

  .account-settings-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: end;
    gap: 0.5rem 1rem;
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .account-settings-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .account-settings-title {
    font-size: clamp(1.6rem, 5vw, 2.45rem);
    line-height: 0.92;
  }

  .account-settings-title span {
    margin-top: 0.25rem;
  }

  .account-settings-description {
    max-width: none;
    margin-top: 0;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .account-settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 15rem;
    gap: 0.75rem;
    align-items: start;
  }

  .account-settings-panel {
    max-height: calc(var(--app-viewport-height, 100vh) - 6.1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 1.25rem;
    padding: 0.75rem;
  }

  .account-settings-panel form {
    gap: 0.75rem;
  }

  .account-settings-panel section {
    border-radius: 1rem;
    padding: 0.75rem;
  }

  .account-settings-panel input:not([type="checkbox"]),
  .account-settings-panel select {
    border-radius: 0.75rem;
    padding: 0.58rem 0.75rem;
    font-size: 0.875rem;
  }

  .account-settings-panel label span {
    margin-bottom: 0.25rem;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .account-settings-panel small,
  .account-settings-panel p {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .account-settings-panel .rounded-2xl,
  .account-settings-panel .rounded-xl {
    border-radius: 0.75rem;
  }

  .account-settings-aside {
    display: grid;
    gap: 0.75rem;
  }

  .account-settings-aside > * {
    border-radius: 1.25rem;
    padding: 0.75rem;
  }

  .account-settings-aside dl {
    margin-top: 0.75rem;
  }

  .account-settings-aside dl,
  .account-settings-aside .space-y-4 {
    gap: 0.6rem;
  }

  .account-settings-aside dt,
  .account-settings-aside p:first-child {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .account-settings-aside dd,
  .account-settings-aside p {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .account-settings-aside button {
    margin-top: 0.75rem;
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }
}
