/* Pokepark 2.33.0 — landing-page polish and starter showcase fixes. */

.pkl-v2210-focused {
  --p2330-focus: #087ab9;
  --p2330-focus-ring: rgba(8, 122, 185, .28);
}

.pkl-v2210-focused :where(a, button):focus-visible {
  outline: 3px solid var(--p2330-focus);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--p2330-focus-ring);
}

.pkl-v2210-focused .pkl-top-nav a[aria-current="location"],
.pkl-v2210-focused .pkl-chapters a[aria-current="location"] {
  color: #064e72;
}

.pkl-v2210-focused .ppx-partner-panel {
  overflow: hidden;
}

.pkl-v2210-focused .ppx-skill-source {
  gap: 14px;
}

.pkl-v2210-focused .ppx-skill-source small {
  max-width: 180px;
  color: rgba(8, 45, 61, .58);
  line-height: 1.35;
  text-align: right;
}

.pkl-v2210-focused .ppx-skill-focus em {
  max-width: 48ch;
  font-size: 10px;
  line-height: 1.55;
}

.pkl-v2210-focused .ppx-skill-grid button {
  cursor: pointer;
}

.pkl-v2210-focused .ppx-skill-grid button.is-active {
  box-shadow: 0 8px 26px color-mix(in srgb, var(--starter-accent) 20%, transparent);
}

.pkl-v2210-focused .ppx-partner-mon[data-team-theme="fire"] > img,
.pkl-v2210-focused .ppx-partner-mon[data-team-theme="water"] > img {
  width: min(610px, 118%);
  max-height: 610px;
  object-fit: contain;
}

.pkl-v2210-focused .ppx-partner-switcher button {
  cursor: pointer;
}

.pkl-v2210-focused .ppx-partner-switcher button.is-active {
  box-shadow: inset 0 -3px var(--starter-accent), 0 12px 28px color-mix(in srgb, var(--starter-accent) 16%, transparent);
}

@media (max-width: 1220px) and (min-width: 761px) {
  .pkl-v2210-focused .ppx-partner-mon[data-team-theme="fire"] > img,
  .pkl-v2210-focused .ppx-partner-mon[data-team-theme="water"] > img {
    width: min(520px, 112%);
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  .pkl-v2210-focused .ppx-skill-source {
    align-items: flex-start;
  }

  .pkl-v2210-focused .ppx-skill-source small {
    max-width: 132px;
    font-size: 6px;
  }

  .pkl-v2210-focused .ppx-skill-focus em {
    display: -webkit-box;
    overflow: hidden;
    font-size: 8px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .pkl-v2210-focused .ppx-partner-mon[data-team-theme="fire"] > img,
  .pkl-v2210-focused .ppx-partner-mon[data-team-theme="water"] > img {
    width: min(390px, 112vw);
    max-height: 390px;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .pkl-v2210-focused .ppx-partner-panel {
    padding: 18px 20px;
  }

  .pkl-v2210-focused .ppx-partner-title h3 {
    font-size: 31px;
  }

  .pkl-v2210-focused .ppx-partner-title p {
    margin-bottom: 10px;
  }

  .pkl-v2210-focused .ppx-skill-focus {
    min-height: 76px;
    padding-block: 9px;
  }

  .pkl-v2210-focused .ppx-partner-panel > a {
    min-height: 36px;
    margin-top: 8px;
    padding-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pkl-v2210-focused *,
  .pkl-v2210-focused *::before,
  .pkl-v2210-focused *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
