.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  min-height: 64px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 62%, transparent);
  background: color-mix(in srgb, var(--color-surface) 82%, transparent);
  box-shadow: none;
  transition: var(--transition-color), var(--transition-shadow);
  backdrop-filter: blur(var(--blur-lg));
}

.battle-component__score,
.battle-component.is-predict-game .battle-component__score,
.battle-component.is-predict-game.is-playing .battle-component__score {
  color: #f4f7ff;
  text-shadow: 0 0 1.25rem rgb(125 255 178 / 0.18);
}

.battle-component__streak,
.battle-component.is-predict-game .battle-component__streak,
.battle-component__timer,
.battle-component.is-predict-game .battle-component__timer {
  color: #7dffb2;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  width: min(100% - (var(--container-padding) * 2), 80rem);
  min-height: 64px;
  align-items: center;
  gap: var(--space-10);
}

.site-header__logo {
  display: inline-flex;
  justify-self: start;
  min-height: 40px;
  align-items: center;
  gap: var(--space-2);
  border-radius: var(--radius-full);
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-tight);
  transition: var(--transition-color), var(--transition-transform);
}

.site-header__logo:hover {
  color: var(--color-primary);
}

.site-header__logo:active {
  transform: scale(var(--active-scale));
}

.site-header__logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface-card);
  color: var(--color-primary-strong);
  box-shadow: var(--shadow-sm);
}

.site-header__logo-mark svg,
.site-header__icon-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-header__logo-text {
  font-size: var(--font-size-base);
  line-height: var(--line-height-tight);
}

.site-header__nav {
  display: flex;
  flex: 0 1 auto;
  justify-self: center;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1);
  border: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-surface-muted) 72%, transparent);
}

.site-header__nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  padding-inline: var(--space-4);
  transition: var(--transition-color), background-color var(--duration-normal) var(--timing-standard);
}

.site-header__nav a:hover {
  background: var(--color-surface-card);
  color: var(--color-text);
}

.site-header__language {
  display: inline-flex;
  align-items: center;
}

.site-header__language-select {
  min-height: 36px;
  border: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-surface-card) 78%, transparent);
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  padding-inline: var(--space-3);
}

.site-header__language--mobile {
  display: none;
}

.site-header__mobile-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: var(--space-3);
}

.site-header__mobile-actions {
  display: none;
}

.site-header__icon-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-color), var(--transition-transform), var(--transition-shadow);
}

.site-header__icon-button {
  width: 40px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface-card);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.site-header__icon-button:hover {
  border-color: color-mix(in srgb, var(--color-primary) 34%, var(--color-border-strong));
  background: var(--color-surface-elevated);
  color: var(--color-primary);
  box-shadow: var(--glow-sm);
  transform: scale(var(--hover-scale));
}

.site-header__icon-button:active {
  transform: scale(var(--active-scale));
}

.site-header__mobile-menu {
  display: none;
}

.battle-shell .site-header,
.battle-shell .site-header__container {
  min-height: 56px;
}

.battle-shell .site-header__logo {
  min-height: 36px;
}

.battle-shell .site-header__logo-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
}

.battle-shell .site-header__nav a {
  min-height: 32px;
}

.battle-shell .site-header__icon-button {
  min-height: 36px;
}

.battle-shell .site-header__icon-button {
  width: 36px;
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header {
    background: var(--color-surface-panel);
  }
}

@media (max-width: 767px) {
  .site-header,
  .site-header__container {
    min-height: 64px;
  }

  .battle-shell .site-header,
  .battle-shell .site-header__container {
    min-height: 56px;
  }

  .site-header__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-3);
    width: 100%;
    padding-inline: var(--space-4);
  }

  .site-header__nav {
    display: none;
  }

  .site-header__language--desktop {
    display: none;
  }

  .site-header__mobile-actions {
    display: flex;
  }

  .site-header__mobile-menu {
    position: absolute;
    top: 100%;
    left: var(--space-4);
    right: var(--space-4);
    display: grid;
    gap: var(--space-2);
    max-height: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-border) 76%, transparent);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-surface) 86%, transparent);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    padding: 0 var(--space-3);
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height var(--duration-slow) var(--timing-emphasized), opacity var(--duration-normal) var(--timing-standard), padding var(--duration-normal) var(--timing-standard), transform var(--duration-normal) var(--timing-spring);
    backdrop-filter: blur(var(--blur-lg));
  }

  .site-header.is-menu-open .site-header__mobile-menu {
    max-height: 28rem;
    opacity: 1;
    padding-block: var(--space-3);
    pointer-events: auto;
    transform: translateY(var(--space-2));
  }

  .site-header__mobile-menu a {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: var(--space-3);
    border-radius: var(--radius-xl);
    color: var(--color-text);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    padding-inline: var(--space-3);
    transition: var(--transition-color), background-color var(--duration-normal) var(--timing-standard);
  }

  .site-header__mobile-menu a:hover {
    background: var(--color-surface-card);
    color: var(--color-text);
  }

  .site-header__language--mobile {
    display: flex;
    width: 100%;
  }

  .site-header__language-select {
    width: 100%;
    min-height: 54px;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--color-text);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    padding-inline: var(--space-3);
  }

  .site-header__mobile-menu svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: 0 0 auto;
    fill: currentColor;
  }

}

.discovery-section {
  display: grid;
  justify-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
  padding-block: var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);
  text-align: center;
}

.discovery-section__eyebrow {
  color: var(--color-info);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

.discovery-section__title {
  color: var(--color-text);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.discovery-section__description {
  max-width: 34rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  color: var(--color-text-muted);
}

.site-footer__container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-8);
  padding-block: var(--space-8);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.site-footer__name {
  color: var(--color-text);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.site-footer__badge {
  color: var(--color-info);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

.site-footer__description {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
}

.site-footer__nav {
  display: contents;
}

.site-footer__group {
  display: grid;
  align-content: start;
  gap: var(--space-3);
}

.site-footer__heading {
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

.site-footer__group a {
  color: var(--color-text-muted);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  text-decoration: none;
  transition: color 200ms ease-out;
}

.site-footer__group a:hover {
  color: var(--color-text);
}

.site-footer__copyright {
  grid-column: 1 / -1;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);
  padding-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
}

@media (width <= 760px) {
  .site-footer__container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.battle-page {
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow-x: hidden;
  padding-block: var(--space-3);
}

.battle-shell .battle-page {
  min-height: calc(100vh - 56px);
  min-height: calc(100svh - 56px);
  padding-block: var(--space-2);
}

.battle-shell.is-gameplay-fullscreen .site-header {
  display: none;
}

.battle-shell.is-gameplay-fullscreen .battle-page {
  min-height: 100vh;
  min-height: 100svh;
  align-items: start;
  padding-block: 0;
}

.battle-shell .mode-info {
  display: none;
}

.battle-page .battle-component {
  margin-top: 0;
  border-top: 0;
}

.battle-component {
  position: relative;
  display: grid;
  gap: var(--space-3);
  width: min(100% - (var(--container-padding) * 2), 108rem);
  max-width: 108rem;
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  padding-bottom: var(--space-4);
  border-top: 0;
}

.battle-component.is-predict-game.is-playing {
  gap: var(--space-2);
}

.battle-shell.is-gameplay-fullscreen .battle-component {
  width: min(100% - 1.5rem, 108rem);
  padding-top: var(--space-2);
  padding-bottom: var(--space-3);
}

.battle-component__header {
  display: grid;
  justify-items: center;
  gap: var(--space-1);
  text-align: center;
}

.battle-component__game-indicator {
  display: grid;
  justify-items: center;
  gap: 0;
  margin-bottom: 0;
}

.battle-component__game-label {
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.battle-component__game-rule {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug);
}

.battle-component__help-button {
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 18%, var(--color-border));
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-primary-soft) 62%, transparent);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  padding-inline: var(--space-4);
  transition: var(--transition-color), var(--transition-transform), var(--transition-shadow);
}

.battle-component__help-button:hover {
  color: var(--color-primary);
  box-shadow: var(--glow-sm);
  transform: scale(var(--hover-scale));
}

.battle-intro {
  display: grid;
  justify-self: center;
  gap: var(--space-5);
  width: min(100%, 34rem);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgb(67 97 255 / 0.16), transparent 42%),
    linear-gradient(180deg, var(--color-surface-card), var(--color-surface-panel));
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.battle-intro[hidden] {
  display: none;
}

.battle-intro__eyebrow {
  color: var(--color-text);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
}

.battle-intro__text {
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-base);
}

.battle-intro__rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}

.battle-intro__rules li {
  display: grid;
  min-width: 8.5rem;
  gap: var(--space-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-muted);
  padding: var(--space-3);
}

.battle-intro__rules span {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.battle-intro__rules strong {
  color: var(--color-primary-strong);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.battle-intro__rule {
  display: none;
}

.battle-intro__button {
  justify-self: center;
  min-height: 58px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
  border-radius: var(--radius-xl);
  background: var(--color-primary);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-extrabold);
  padding-inline: var(--space-12);
  box-shadow: var(--glow-md);
  transition: var(--transition-color), var(--transition-transform), var(--transition-shadow);
}

.battle-intro__button:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--glow-md);
  transform: scale(var(--hover-scale));
}

.battle-component__eyebrow {
  color: var(--color-info);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
}

.battle-component__heading {
  color: var(--color-text);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.battle-component__description {
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.battle-component.is-playing .battle-component__game-rule,
.battle-component.is-playing .battle-component__description {
  display: none;
}

.battle-component.is-playing .battle-component__header {
  gap: 0;
}

.battle-component__meta {
  display: flex;
  justify-self: center;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem var(--space-4);
  width: min(100%, 62rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

.battle-component__meta[hidden] {
  display: none;
}

.battle-component.is-lobby .battle-component__meta {
  display: none;
}

.battle-component__round,
.battle-component__score,
.battle-component__best,
.battle-component__streak,
.battle-component__remaining,
.battle-component__timer {
  justify-self: center;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.battle-component__round,
.battle-component__score,
.battle-component__best,
.battle-component__streak,
.battle-component__remaining {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.battle-component__round {
  order: 4;
}

.battle-component__round,
.battle-component__remaining {
  color: var(--color-text-muted);
}

.battle-component__score {
  order: 1;
  flex-basis: 100%;
  min-height: 0;
  min-width: 0;
  color: var(--color-primary-strong);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1;
  padding: 0;
  text-shadow: 0 0.75rem 1.75rem color-mix(in srgb, var(--color-primary) 30%, transparent);
  box-shadow: none;
}

.battle-component__best {
  order: 2;
  min-height: 0;
  color: var(--color-text);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-extrabold);
}

.battle-component__streak {
  order: 3;
  min-height: 0;
  color: var(--color-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-extrabold);
}

.battle-component__remaining {
  order: 5;
}

.battle-component__timer {
  order: 6;
}

.battle-component__progress {
  order: 7;
  flex-basis: 100%;
}

.battle-component__best {
  color: var(--color-text);
}

.battle-component__timer {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-info);
  padding: 0;
  text-align: center;
}

.battle-component__score,
.battle-component__streak {
  position: relative;
}

.battle-component__score.is-score-pop,
.battle-component__streak.is-score-pop {
  animation: savezly-score-pop 500ms ease-out;
}

.battle-component__score.is-score-pop::after {
  content: none;
}

.battle-component__progress {
  width: min(100%, 28rem);
  height: 0.3rem;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-text) 13%, transparent);
}

.battle-component__progress::before {
  content: "";
  display: block;
  width: var(--battle-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--color-primary);
  box-shadow: var(--glow-sm);
  transition: width 220ms ease-out;
}

.battle-component.is-predict-game .battle-component__meta {
  display: flex;
  gap: 0.25rem var(--space-4);
  width: min(100%, 44rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.battle-component.is-predict-game .battle-component__round,
.battle-component.is-predict-game .battle-component__score,
.battle-component.is-predict-game .battle-component__best,
.battle-component.is-predict-game .battle-component__streak,
.battle-component.is-predict-game .battle-component__remaining {
  border: 0;
  background: transparent;
  padding: 0 var(--space-2);
}

.battle-component.is-predict-game .battle-component__score {
  flex-basis: 100%;
  min-height: 0;
  min-width: 0;
  background: transparent;
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  line-height: 1;
  padding: 0;
  text-shadow: 0 0.8rem 2rem color-mix(in srgb, var(--color-primary) 32%, transparent);
  box-shadow: none;
}

.battle-component.is-predict-game .battle-component__best {
  min-height: 0;
  font-size: var(--font-size-sm);
}

.battle-component.is-predict-game .battle-component__streak {
  min-height: 0;
  font-size: var(--font-size-sm);
}

.battle-component.is-predict-game .battle-component__round {
  min-height: 0;
  font-size: var(--font-size-sm);
}

.battle-component.is-predict-game .battle-component__remaining {
  min-height: 0;
  font-size: var(--font-size-sm);
}

.battle-component.is-predict-game .battle-component__timer {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: var(--font-size-sm);
}

.battle-component.is-predict-game .battle-component__progress {
  flex-basis: 100%;
  width: min(100%, 24rem);
  height: 0.3rem;
}

.battle-component.is-predict-game .battle-component__body {
  gap: clamp(0.5rem, 0.9vw, 1rem);
}

.battle-component.is-predict-game.is-playing .battle-component__meta {
  gap: 0.2rem var(--space-4);
  width: min(100%, 42rem);
  padding: 0;
  box-shadow: none;
}

.battle-component.is-predict-game.is-playing .battle-component__score {
  min-height: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.battle-component.is-predict-game.is-playing .battle-component__best,
.battle-component.is-predict-game.is-playing .battle-component__streak,
.battle-component.is-predict-game.is-playing .battle-component__round,
.battle-component.is-predict-game.is-playing .battle-component__remaining,
.battle-component.is-predict-game.is-playing .battle-component__timer {
  min-height: 1.25rem;
  font-size: var(--font-size-xs);
}

.battle-component.is-predict-game.is-playing .battle-component__progress {
  height: 0.3rem;
}

.battle-component.is-predict-game.is-playing .battle-component__body {
  margin-top: calc(-1 * var(--space-1));
}

.battle-component__body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 48rem));
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.5rem, 0.9vw, 1rem);
  transition: opacity var(--duration-normal) var(--timing-standard), transform var(--duration-normal) var(--timing-spring);
}

.battle-component.is-lobby .battle-component__body {
  display: none;
}

.battle-component.is-starting .battle-component__body {
  animation: savezly-round-enter 260ms var(--timing-spring);
}

@keyframes savezly-round-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.battle-component__vs {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-primary) 32%, var(--color-border));
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-surface) 86%, transparent);
  color: var(--color-primary-strong);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(var(--blur-lg));
}

.battle-option {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: 100%;
  min-height: clamp(30rem, 68vh, 44rem);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface-card);
  box-shadow: 0 34px 82px rgb(0 0 0 / 0.50), 0 16px 34px rgb(0 0 0 / 0.34);
  cursor: default;
  transition: border-color 200ms ease-out, box-shadow 200ms ease-out, opacity 200ms ease-out, transform 200ms ease-out;
}

.battle-component.is-playing .battle-option {
  animation: savezly-card-breathe 5200ms ease-in-out infinite;
}

.battle-component.is-phone-mode .battle-option {
  border-color: color-mix(in srgb, var(--color-border) 54%, transparent);
  background:
    radial-gradient(circle at 50% 42%, rgb(255 255 255 / 0.045), transparent 44%),
    linear-gradient(180deg, rgb(21 26 38 / 0.76), rgb(14 18 29 / 0.88));
  box-shadow: 0 30px 74px rgb(0 0 0 / 0.48), 0 14px 30px rgb(0 0 0 / 0.32);
}

.battle-option[aria-disabled="false"] {
  cursor: pointer;
}

.battle-component.is-updating .battle-option {
  opacity: 0.72;
}

.battle-option[aria-disabled="false"]:hover {
  border-color: var(--color-border-strong);
  box-shadow: 0 44px 96px rgb(0 0 0 / 0.56), 0 18px 42px rgb(0 0 0 / 0.38);
  transform: translateY(-2px);
}

.battle-component.has-selection .battle-option:hover {
  transform: none;
}

.battle-option[aria-disabled="false"]:active {
  transform: scale(0.995);
}

.battle-option:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-primary) 72%, transparent);
  outline-offset: 4px;
}

.battle-option.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 18%, transparent), var(--shadow-xl);
}

.battle-option.is-selected::after {
  content: "✓";
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-primary) 28%, var(--color-border));
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, var(--color-primary) 16%, transparent), var(--shadow-sm);
}

.battle-option.is-dimmed {
  opacity: 0.72;
  box-shadow: var(--shadow-sm);
}

.battle-option.is-selected::after {
  content: none;
  display: none;
}

.battle-component.is-reveal-choice .battle-option.is-selected {
  transform: none;
}

.battle-component.is-reveal-choice .battle-option.is-dimmed {
  opacity: 0.58;
}

.battle-component.is-winner-focus .battle-option.is-dimmed {
  opacity: 0.76;
}

.battle-component.is-winner-focus .battle-option.is-internet-pick {
  opacity: 1;
}

.battle-component.is-predict-game.is-winner-focus .battle-option.is-dimmed {
  opacity: 0.82;
}

.battle-component.is-predict-game.is-winner-focus .battle-option.is-internet-pick {
  opacity: 1;
}

.battle-component.is-winner-focus .battle-option.is-selected::after {
  display: none;
}

.battle-component.is-final-result .battle-option {
  opacity: 1;
  filter: none;
}

.battle-component.is-final-result .battle-option.is-selected {
  opacity: 1;
  filter: none;
}

.battle-component.is-predict-game-over.is-winner-focus .battle-option.is-dimmed {
  opacity: 0.82;
}

.battle-component.is-predict-game-over.is-winner-focus .battle-option.is-internet-pick {
  opacity: 1;
}

.battle-component.is-feedback-correct .battle-option.is-selected {
  border-color: var(--color-success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 20%, transparent), var(--shadow-xl);
  animation: savezly-correct-pulse 520ms ease-out;
}

.battle-component.is-feedback-wrong .battle-option.is-selected {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-danger) 22%, transparent), var(--shadow-xl);
  animation: savezly-wrong-shake 360ms ease-out;
}

.battle-option.is-internet-pick {
  border-color: var(--color-success);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 20%, transparent), 0 1.25rem 3.25rem color-mix(in srgb, var(--color-success) 16%, transparent), var(--shadow-xl);
}

.battle-option.is-player-pick {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-danger) 16%, transparent), var(--shadow-lg);
}

.battle-option.is-other-choice {
  border-color: var(--color-border-strong);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.08), var(--shadow-lg);
}

.battle-option__result-label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  display: grid;
  gap: 0.15rem;
  min-width: 7.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  box-shadow: var(--shadow-md);
}

.battle-option__result-label strong {
  font-size: var(--font-size-lg);
  line-height: 1;
}

.battle-option__result-label span:empty {
  display: none;
}

.battle-option__result-label--pending {
  min-width: 5.5rem;
  place-items: center;
  border-color: color-mix(in srgb, var(--color-primary) 30%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface-card) 88%, var(--color-primary) 12%);
}

.battle-option__result-label--pending strong {
  color: var(--color-text);
  font-size: var(--font-size-2xl);
}

.battle-option__result-label--correct {
  border-color: color-mix(in srgb, var(--color-success) 42%, var(--color-border));
  background: color-mix(in srgb, var(--color-success) 26%, var(--color-surface-card));
}

.battle-option__result-label--wrong {
  border-color: color-mix(in srgb, var(--color-danger) 46%, var(--color-border));
  background: color-mix(in srgb, var(--color-danger) 26%, var(--color-surface-card));
}

.battle-option__result-label--other {
  border-color: var(--color-border-strong);
  background: color-mix(in srgb, var(--color-surface-card) 86%, rgb(255 255 255 / 0.16));
  color: var(--color-text-muted);
}

@keyframes savezly-correct-pulse {
  0% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 18%, transparent), var(--shadow-xl);
  }

  45% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 24%, transparent), var(--shadow-xl);
  }

  100% {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 18%, transparent), var(--shadow-xl);
  }
}

@keyframes savezly-card-breathe {
  0%,
  100% {
    box-shadow: 0 34px 82px rgb(0 0 0 / 0.50), 0 16px 34px rgb(0 0 0 / 0.34);
  }

  50% {
    box-shadow: 0 38px 92px rgb(0 0 0 / 0.54), 0 18px 38px rgb(0 0 0 / 0.36);
  }
}

@keyframes savezly-score-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.065);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--color-success) 18%, transparent), var(--glow-sm);
  }

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

@keyframes savezly-score-bonus {
  0% {
    opacity: 0;
    transform: translateY(0.4rem);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-0.9rem);
  }
}

@keyframes savezly-wrong-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(3px);
  }
}

.battle-option__image {
  grid-row: 1;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
  overflow: hidden;
  padding: clamp(var(--space-6), 4vw, var(--space-12));
  border-bottom: 0;
  background: var(--battle-media-background, linear-gradient(135deg, var(--color-surface-muted), var(--color-surface-elevated)));
}

.battle-option__image[data-visual-type="logo"],
.battle-option__image[data-visual-type="render"],
.battle-option__image:not([data-visual-type]) {
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 38%),
    var(--battle-media-background, linear-gradient(135deg, var(--color-surface-muted), var(--color-surface-elevated)));
}

.battle-option__image[data-visual-type="photo"],
.battle-option__image[data-visual-type="cover"] {
  padding: 0;
  background: var(--color-surface);
}

.battle-option__image[data-visual-type="poster"] {
  aspect-ratio: auto;
  padding: 0;
  background: var(--color-surface-muted);
}

.battle-option__image[data-visual-type="flag"] {
  aspect-ratio: auto;
  padding: var(--space-4);
  background: var(--color-surface-muted);
}

.battle-option__image[data-visual-type="avatar"] {
  aspect-ratio: auto;
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  background: var(--color-surface-muted);
}

.battle-option__image[data-visual-type="render"] {
  isolation: isolate;
  padding: clamp(var(--space-5), 3vw, var(--space-9));
  background:
    radial-gradient(ellipse at 50% 48%, rgb(255 255 255 / 0.11), transparent 36%),
    radial-gradient(ellipse at 50% 66%, rgb(67 97 255 / 0.11), transparent 50%),
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(0 0 0 / 0.045));
}

.battle-option__image[data-visual-type="render"]::after {
  position: absolute;
  inset: auto 15% 9%;
  z-index: -1;
  height: 16%;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgb(0 0 0 / 0.25), transparent 68%);
  filter: blur(12px);
  content: "";
}

.battle-component.is-phone-mode .battle-option__image[data-visual-type="render"] {
  isolation: isolate;
  padding: clamp(var(--space-4), 2.6vw, var(--space-7));
  background:
    radial-gradient(ellipse at 50% 48%, rgb(165 181 255 / 0.16), transparent 33%),
    radial-gradient(ellipse at 50% 65%, rgb(255 255 255 / 0.055), transparent 46%),
    linear-gradient(180deg, rgb(255 255 255 / 0.018), rgb(0 0 0 / 0.035));
}

.battle-component.is-phone-mode .battle-option__image[data-visual-type="render"]::before {
  position: absolute;
  inset: 9% 10% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 48%, rgb(255 255 255 / 0.12), transparent 43%),
    radial-gradient(ellipse at 50% 54%, rgb(94 116 215 / 0.18), transparent 64%);
  filter: blur(16px);
  content: "";
}

.battle-component.is-phone-mode .battle-option__image[data-visual-type="render"]::after {
  position: absolute;
  inset: auto 12% 7%;
  height: 22%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgb(0 0 0 / 0.28), transparent 66%);
  filter: blur(12px);
  content: "";
}

.battle-option__image[data-visual-type="photo"] .battle-option__logo,
.battle-option__image[data-visual-type="cover"] .battle-option__logo,
.battle-option__image[data-visual-type="poster"] .battle-option__logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: var(--battle-media-position, center);
  filter: none;
  transform: none;
}

.battle-option__image[data-visual-type="flag"] .battle-option__logo {
  width: 100%;
  height: auto;
  max-height: none;
  transform: none;
}

.battle-option__image[data-visual-type="avatar"] .battle-option__logo {
  aspect-ratio: 1;
  width: min(100%, 14rem);
  height: auto;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: var(--battle-media-position, center);
  transform: none;
}

.battle-option__image[data-visual-type="render"] .battle-option__logo {
  width: 100%;
  height: 100%;
  max-width: 96%;
  max-height: 96%;
  object-fit: contain;
  filter: none;
  transform: scale(var(--battle-render-scale, 1));
}

.battle-option__image[data-visual-type="logo"] .battle-option__logo {
  width: min(62%, 18rem);
  height: auto;
  max-width: 18rem;
  max-height: 18rem;
  object-fit: contain;
  filter: drop-shadow(0 1.2rem 2rem color-mix(in srgb, var(--color-primary) 18%, transparent));
}

.battle-component.is-phone-mode .battle-option__image[data-visual-type="render"] .battle-option__logo {
  width: auto;
  height: auto;
  max-width: min(100%, 28rem);
  max-height: min(100%, 34rem);
  transform: scale(var(--battle-render-scale, 1));
}

.battle-option__logo {
  display: block;
  width: auto;
  height: clamp(13rem, 22vw, 22rem);
  max-width: 92%;
  object-fit: contain;
  filter: drop-shadow(0 0.875rem 1.5rem var(--battle-logo-shadow, color-mix(in srgb, var(--color-primary) 14%, transparent)));
  transform: none;
}

.battle-option__image[data-battle-brand="windows"] {
  --battle-logo-shadow: color-mix(in srgb, #0078d4 20%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #0078d4 8%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="macos"] {
  --battle-logo-shadow: color-mix(in srgb, #5b8def 15%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, rgb(255 255 255 / 0.12) 18%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="linux"] {
  --battle-logo-shadow: color-mix(in srgb, #f4c542 18%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #f4c542 8%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="ubuntu"] {
  --battle-logo-shadow: color-mix(in srgb, #e95420 19%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #e95420 8%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="fedora"] {
  --battle-logo-shadow: color-mix(in srgb, #3c6eb4 18%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #3c6eb4 8%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="debian"] {
  --battle-logo-shadow: color-mix(in srgb, #d70a53 18%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #d70a53 7%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="chromeos"] {
  --battle-logo-shadow: color-mix(in srgb, #34a853 16%, transparent);
  --battle-media-background:
    linear-gradient(135deg, color-mix(in srgb, #4285f4 7%, var(--color-surface)), color-mix(in srgb, #fbbc04 6%, var(--color-surface-elevated)), color-mix(in srgb, #34a853 7%, var(--color-surface)));
}

.battle-option__image[data-battle-brand="freebsd"] {
  --battle-logo-shadow: color-mix(in srgb, #ab2b28 18%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #ab2b28 7%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="zorin-os"] {
  --battle-logo-shadow: color-mix(in srgb, #15a6f0 18%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #15a6f0 8%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__image[data-battle-brand="elementary-os"] {
  --battle-logo-shadow: color-mix(in srgb, #64baff 17%, transparent);
  --battle-media-background:
    linear-gradient(135deg, var(--color-surface), color-mix(in srgb, #64baff 7%, var(--color-surface-elevated)), var(--color-surface));
}

.battle-option__content {
  grid-row: 2;
  z-index: 1;
  display: grid;
  align-self: stretch;
  justify-self: stretch;
  justify-items: center;
  gap: var(--space-2);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-surface-panel) 72%, transparent), color-mix(in srgb, var(--color-surface-card) 92%, transparent));
  min-height: clamp(4.75rem, 7vw, 6.5rem);
  align-content: center;
  padding: clamp(var(--space-3), 1.7vw, var(--space-5)) var(--space-5);
  pointer-events: none;
  text-align: center;
}

.battle-component.is-phone-mode .battle-option__content {
  min-height: clamp(3.25rem, 4.4vw, 4.25rem);
  padding: clamp(var(--space-2), 0.85vw, var(--space-3)) var(--space-5);
  border-top-color: transparent;
  background: transparent;
}

.battle-option__details {
  display: grid;
  justify-items: center;
  gap: 0;
  max-width: min(100%, 34rem);
}

.battle-option__title {
  color: var(--color-text);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
  text-align: center;
  text-shadow: 0 0.4rem 1.35rem rgb(0 0 0 / 0.68), 0 0 2rem color-mix(in srgb, var(--color-primary) 18%, transparent);
  text-wrap: balance;
}

.battle-option__subtitle {
  display: none;
}

.battle-option__metadata {
  display: none;
}

.battle-component.is-playing .battle-option__metadata {
  display: none;
}

.battle-component.is-predict-game.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option__subtitle {
  display: none;
}

.battle-component.is-predict-game .battle-option__details {
  gap: 0;
}

.battle-component.is-predict-game .battle-option__title {
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  text-transform: uppercase;
}

.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="render"] .battle-option__content,
.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="photo"] .battle-option__content,
.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="cover"] .battle-option__content,
.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="poster"] .battle-option__content {
  padding-block: var(--space-2);
}

.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="render"] .battle-option__title,
.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="photo"] .battle-option__title,
.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="cover"] .battle-option__title,
.battle-component.is-playing:not(.is-reveal-choice):not(.is-final-result) .battle-option[data-visual-type="poster"] .battle-option__title {
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  opacity: 0.64;
}

.battle-component.is-phone-mode .battle-option[data-visual-type="render"] .battle-option__title {
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  letter-spacing: 0.01em;
  opacity: 0.72;
  text-shadow: 0 0.3rem 1rem rgb(0 0 0 / 0.50);
}

.battle-component.is-predict-game .battle-option__subtitle {
  font-size: var(--font-size-xs);
}

.battle-component.is-reveal-choice .battle-option__subtitle,
.battle-component.is-reveal-choice .battle-option__metadata,
.battle-component.is-predict-game-over .battle-option__subtitle,
.battle-component.is-predict-game-over .battle-option__metadata {
  visibility: hidden;
}

.battle-component__next {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  max-height: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: var(--z-overlay);
  width: min(100% - 2rem, 34rem);
  max-width: 34rem;
  margin-inline: 0;
  overflow: hidden;
  padding: 0 var(--space-6);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--color-surface-card) 90%, transparent);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.96);
  transition: max-height var(--duration-slow) var(--timing-emphasized), opacity var(--duration-normal) var(--timing-standard), padding var(--duration-normal) var(--timing-standard), transform var(--duration-normal) var(--timing-spring);
}

.battle-component__next.is-champion {
  max-width: 42rem;
  width: min(100% - 2rem, 42rem);
  border-color: color-mix(in srgb, var(--color-success) 42%, var(--color-border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-success-soft) 55%, var(--color-surface-card)), var(--color-surface-panel));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 14%, transparent), var(--shadow-xl);
}

.battle-component.is-predict-game .battle-component__next.is-champion {
  gap: var(--space-2);
  width: min(100% - 2rem, 18.25rem);
  max-width: 18.25rem;
  padding-inline: var(--space-3);
  border-color: color-mix(in srgb, var(--color-success) 22%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface-card) 84%, transparent);
  box-shadow: 0 0.75rem 1.75rem rgb(0 0 0 / 0.24);
}

.battle-component__next.is-champion::before {
  content: "";
  width: 7rem;
  height: 7rem;
  border: 1px solid color-mix(in srgb, var(--color-success) 24%, var(--color-border));
  border-radius: var(--radius-2xl);
  background-color: var(--color-surface-muted);
  background-image: var(--champion-logo);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  box-shadow: var(--shadow-md);
}

.battle-component.is-predict-game .battle-component__next.is-champion::before {
  display: none;
}

.battle-component.has-selection .battle-component__next {
  max-height: 32rem;
  opacity: 1;
  padding-block: var(--space-6);
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.battle-component.has-selection.is-final-result .battle-component__next {
  max-height: none;
  overflow: visible;
}

.battle-component.has-selection.is-predict-game-over .battle-component__next {
  padding-block: var(--space-4);
}

.battle-component.has-selection:not(.is-final-result) .battle-component__next {
  position: static;
  width: min(100%, 30rem);
  max-width: 30rem;
  margin-inline: auto;
  transform: translateY(0);
}

.battle-component.is-final-result::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-overlay) - 1);
  background: rgb(0 0 0 / 0.42);
  pointer-events: none;
}

.battle-component.is-final-success::before {
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--color-success) 14%, transparent), transparent 22rem),
    rgb(0 0 0 / 0.42);
}

.battle-component.is-final-danger::before {
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--color-danger) 14%, transparent), transparent 22rem),
    rgb(0 0 0 / 0.46);
}

.battle-component.is-predict-game-over::before {
  background: transparent;
}

.battle-component__result-choice {
  color: var(--color-text);
  font-size: clamp(1.6rem, 3.4vw, 2.85rem);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0;
  line-height: 1;
}

.battle-component__next.is-champion .battle-component__result-choice {
  color: var(--color-success);
  font-size: var(--font-size-2xl);
}

.battle-component.is-predict-game .battle-component__next.is-champion .battle-component__result-choice {
  font-size: var(--font-size-xl);
}

.battle-component__next.is-game-over {
  border-color: color-mix(in srgb, var(--color-danger) 38%, var(--color-border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-danger-soft) 55%, var(--color-surface-card)), var(--color-surface-panel));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-danger) 14%, transparent), var(--shadow-xl);
}

.battle-component.is-predict-game-over .battle-component__next.is-game-over {
  gap: var(--space-2);
  width: min(100% - 2rem, 18.25rem);
  max-width: 18.25rem;
  padding-inline: var(--space-3);
  border-color: color-mix(in srgb, var(--color-danger) 22%, var(--color-border));
  background: color-mix(in srgb, var(--color-surface-card) 82%, transparent);
  box-shadow: 0 0.75rem 1.75rem rgb(0 0 0 / 0.24);
  transition: max-height var(--duration-slow) var(--timing-emphasized), opacity 420ms ease-out, padding var(--duration-normal) var(--timing-standard), transform 420ms ease-out;
}

.battle-component__next.is-game-over .battle-component__result-choice {
  color: var(--color-danger);
  font-size: var(--font-size-2xl);
}

.battle-component.is-predict-game-over .battle-component__next.is-game-over .battle-component__result-choice {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.battle-component__result-message {
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-base);
}

.battle-component.is-predict-game .battle-component__result-message {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
}

.battle-component.is-predict-game-over .battle-component__result-message {
  color: var(--color-text);
  font-size: var(--font-size-sm);
}

.battle-component__next-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-extrabold);
  padding-inline: var(--space-6);
  transition: var(--transition-color), var(--transition-shadow), var(--transition-transform);
}

.battle-component__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

.battle-component.is-predict-game-over .battle-component__actions {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: var(--space-2);
}

.battle-component.is-predict-game-over .battle-component__next-button,
.battle-component.is-predict-game-over .battle-component__action-link {
  width: 100%;
  min-height: 40px;
  padding-inline: var(--space-4);
}

.battle-component.is-predict-game-over .battle-component__next-button {
  border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
  box-shadow: var(--glow-sm);
  font-weight: var(--font-weight-extrabold);
}

.battle-component__action-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface-muted);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  padding-inline: var(--space-6);
  text-decoration: none;
  transition: var(--transition-color), var(--transition-shadow), var(--transition-transform);
}

.battle-component.is-predict-game-over .battle-component__action-link[data-random-mode] {
  border-color: color-mix(in srgb, var(--color-primary) 22%, var(--color-border));
  background: var(--color-surface-muted);
  color: var(--color-text);
}

.battle-component.is-predict-game-over .battle-component__action-link[data-more-modes] {
  border-color: transparent;
  background: transparent;
  color: var(--color-text-muted);
}

.battle-component__action-link:hover {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  transform: scale(var(--hover-scale));
}

.battle-component__share {
  display: grid;
  justify-items: center;
  width: 100%;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 68%, transparent);
}

.battle-component__share[hidden] {
  display: none;
}

.battle-component__share-prompt {
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-align: center;
}

.battle-component__share-button,
.battle-component__copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font: inherit;
  transition: var(--transition-color), var(--transition-shadow), var(--transition-transform), opacity var(--duration-normal) var(--timing-standard);
}

.battle-component__share-button {
  min-height: 42px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 26%, transparent);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-extrabold);
  padding-inline: var(--space-5);
}

.battle-component__copy-link {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  padding: 0 var(--space-2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.battle-component__share-button:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--glow-sm);
  transform: scale(var(--hover-scale));
}

.battle-component__copy-link:hover {
  color: var(--color-text);
}

.battle-component__share-status {
  min-height: 1.25rem;
  color: var(--color-success);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  opacity: 0;
  text-align: center;
  transition: opacity var(--duration-normal) var(--timing-standard);
}

.battle-component__share-status.is-visible {
  opacity: 1;
}

.mode-info {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
  padding-block: var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--color-border) 82%, transparent);
}

.mode-info__eyebrow {
  color: var(--color-info);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.mode-info__title {
  color: var(--color-text);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  line-height: var(--line-height-tight);
}

.mode-info__description {
  max-width: 52rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

.battle-component__next-button:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--glow-md);
  transform: scale(var(--hover-scale));
}

.battle-component__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .battle-component {
    gap: var(--space-6);
    padding-top: 0;
    padding-bottom: var(--space-10);
  }

  .battle-component__body {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .battle-component__vs {
    display: none;
  }

  .battle-option {
    min-height: clamp(22rem, 42vh, 30rem);
    border-radius: var(--radius-xl);
  }

  .battle-component.is-phone-mode .battle-option {
    min-height: clamp(18rem, 34vh, 23rem);
  }

  .battle-option__image {
    aspect-ratio: auto;
    padding: var(--space-5);
  }

  .battle-component.is-phone-mode .battle-option__image[data-visual-type="render"] {
    min-height: 13.5rem;
    padding: var(--space-4);
    background:
      radial-gradient(ellipse at 50% 48%, rgb(165 181 255 / 0.15), transparent 32%),
      radial-gradient(ellipse at 50% 66%, rgb(255 255 255 / 0.045), transparent 43%),
      linear-gradient(180deg, rgb(255 255 255 / 0.012), rgb(0 0 0 / 0.025));
  }

  .battle-component.is-phone-mode .battle-option__image[data-visual-type="render"]::before {
    inset: 4% 6% 3%;
    filter: blur(13px);
  }

  .battle-component.is-phone-mode .battle-option__image[data-visual-type="render"] .battle-option__logo {
    max-width: min(100%, 18rem);
    max-height: min(100%, 16rem);
    transform: scale(var(--battle-render-scale, 1));
  }

  .battle-option__logo {
    height: clamp(8rem, 32vw, 12rem);
    transform: none;
  }

  .battle-option__image[data-visual-type="photo"] .battle-option__logo,
  .battle-option__image[data-visual-type="cover"] .battle-option__logo,
  .battle-option__image[data-visual-type="poster"] .battle-option__logo {
    transform: none;
  }

  .battle-option__content {
    min-height: 4.6rem;
    padding: var(--space-4);
  }

  .battle-component.is-phone-mode .battle-option__content {
    min-height: 3.2rem;
    padding: var(--space-2) var(--space-4);
  }

  .battle-option__title,
  .battle-component.is-predict-game .battle-option__title {
    font-size: clamp(2rem, 9vw, 3.3rem);
  }

  .battle-component.is-phone-mode .battle-option[data-visual-type="render"] .battle-option__title {
    font-size: clamp(0.78rem, 3.7vw, 0.95rem);
  }

  .battle-component__meta {
    gap: 0.2rem var(--space-3);
  }

  .battle-component.is-predict-game .battle-component__meta {
    display: flex;
    width: min(100%, 28rem);
    padding-inline: 0;
  }

  .battle-component.is-predict-game .battle-component__score {
    flex-basis: 100%;
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .battle-component.is-predict-game .battle-component__best,
  .battle-component.is-predict-game .battle-component__streak,
  .battle-component.is-predict-game .battle-component__round,
  .battle-component.is-predict-game .battle-component__remaining {
    font-size: var(--font-size-xs);
  }

  .battle-component.is-predict-game .battle-component__timer {
    font-size: var(--font-size-xs);
  }

  .battle-component__progress {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .discovery-section {
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-block: var(--space-6);
  }

  .battle-component__next.is-champion::before {
    width: 5.5rem;
    height: 5.5rem;
  }

  .battle-component__heading {
    font-size: var(--font-size-xl);
  }
}
