.pp63 {
  max-width: 650px;
  margin: auto;
  --pp63-teal: #21cbb8;
}
.pp63art {
  background: #070d19;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  text-align: center;
  padding-bottom: 18px;
}
.pp63art canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.pp63caption strong {
  display: block;
  font-size: 24px;
}
.pp63caption span {
  color: #b0bdcf;
  font-size: 14px;
}
.pp63controls {
  padding: 12px 0;
}
.pp63row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
}
.pp63row input {
  flex: 1;
  min-width: 0;
  accent-color: var(--accent);
}
.pp63row button,
.pp63milestones button {
  border: 1px solid #8885;
  border-radius: 12px;
  padding: 10px;
  background: transparent;
  color: inherit;
}
.pp63row button[data-pp63='play'] {
  background: var(--accent);
  color: #07151b;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.pp63milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 6px;
}
.pp63milestones small {
  display: block;
  font-size: 10px;
}
.pp63milestones button:disabled {
  opacity: 0.35;
}
.pp63full,
.pp63:fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #070d19;
  color: white;
  overflow: auto;
  padding: 16px;
  max-width: none;
}
.pp63full .pp63art,
.pp63:fullscreen .pp63art {
  max-width: min(70vh, 650px);
  margin: auto;
}
.pp63full .pp63controls,
.pp63:fullscreen .pp63controls {
  max-width: 650px;
  margin: auto;
}

.sectionhead:has(.pp63infoButton) h2 { flex: 1; }
.pp63infoButton {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  padding: 0;
  border: 1px solid #8886;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pp63actionrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  column-gap: 8px;
  min-height: 52px;
  margin: 10px 0 18px;
}
.pp63actionSpacer { grid-column: 1; grid-row: 1; }
.pp63evolutionControls {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.pp63playButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--pp63-teal);
  color: #06221e;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 12px #0002;
  transition: transform .18s ease, filter .18s ease;
  cursor: pointer;
}
.pp63playButton:active { transform: scale(.96); }
.pp63playButton svg { width: 18px; height: 18px; }
.pp63shareButton {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  min-width: 76px !important;
  min-height: 36px !important;
  padding: 8px 13px !important;
  font-size: 12px !important;
  box-shadow: 0 2px 8px #0002 !important;
  cursor: pointer;
}
.pp63speedControl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted, #b0bdcf);
  animation: pp63speedReveal .26s ease-out both;
}
.pp63speedControl[hidden] { display: none !important; }
.pp63speedSegments {
  --privacy-option: 44px;
  --privacy-padding: 3px;
  --privacy-track: #303238;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, var(--privacy-option));
  width: max-content;
  padding: var(--privacy-padding);
  border: 1px solid #8884;
  border-radius: 999px;
  background: var(--privacy-track);
  color: #8d9099;
}
.pp63speedSegments::before {
  content: '';
  position: absolute;
  inset: var(--privacy-padding) auto var(--privacy-padding) var(--privacy-padding);
  width: var(--privacy-option);
  border-radius: 999px;
  background: var(--themeAccent, var(--accent));
  transform: translateX(calc(var(--privacy-index, 0) * 100%));
  transition: transform 200ms ease;
  pointer-events: none;
}
.pp63speedSegments button {
  position: relative;
  display: grid;
  place-items: center;
  height: 32px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: color 200ms ease;
}
.pp63speedSegments button[aria-pressed='true'] { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .pp63speedControl,
  .pp63speedSegments::before,
  .pp63speedSegments button { animation: none; transition: none; }
}
@keyframes pp63speedReveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 380px) {
  .pp63actionrow { column-gap: 4px; }
  .pp63playButton { gap: 6px; padding-inline: 12px; font-size: 14px; }
  .pp63shareButton { min-width: 72px !important; padding-inline: 10px !important; }
}
.pp63progress h3 { margin: 4px 0 12px; font-size: 18px; }
.pp63completed { margin-bottom: 9px; }
.pp63completedToggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--pp63-teal) 70%, currentColor);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.pp63completedToggle svg { width: 14px; height: 14px; transition: transform .24s ease; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp63completed.is-expanded .pp63completedToggle svg { transform: rotate(180deg); }
.pp63completedPanel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.pp63completed.is-expanded .pp63completedPanel { grid-template-rows: 1fr; }
.pp63completedInner { min-height: 0; overflow: hidden; display: grid; gap: 6px; }
.pp63milestoneDone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: color-mix(in srgb, var(--pp63-teal) 16%, #24272d);
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.pp63milestoneDone.is-selected { border-color: color-mix(in srgb, var(--pp63-teal) 72%, transparent); }
.pp63milestoneDone > span:first-child, .pp63futureTitle > span:first-child { font-weight: 650; }
.pp63milestoneCount { color: var(--muted, #888); font-size: 12px; }
.pp63check { color: var(--pp63-teal); font-size: 16px; text-align: center; }
.pp63nextCard {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--pp63-teal) 16%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--pp63-teal) 10%, #202329);
}
.pp63nextEyebrow { color: color-mix(in srgb, var(--pp63-teal) 77%, currentColor); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.pp63nextHeading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 7px 0 12px; }
.pp63nextHeading > strong { font-size: clamp(21px, 5vw, 28px); line-height: 1.1; }
.pp63remaining { display: grid; justify-items: end; flex: 0 0 auto; }
.pp63remaining b { color: var(--pp63-teal); font-size: clamp(25px, 7vw, 34px); line-height: 1; }
.pp63remaining span { margin-top: 3px; color: var(--muted, #888); font-size: 11px; }
.pp63nextTrack, .pp63futureTrack { height: 7px; overflow: hidden; border-radius: 9px; background: #8883; }
.pp63nextTrack span, .pp63futureTrack span { display: block; height: 100%; border-radius: inherit; background: var(--pp63-teal); transition: width .3s ease; }
.pp63nextLabels { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted, #888); font-size: 11px; }
.pp63legacyText { max-width: 210px; color: var(--muted, #888); font-size: 12px; text-align: right; }
.pp63future { display: grid; gap: 8px; }
.pp63futureRow { padding: 9px 10px; border: 1px solid #8882; border-radius: 11px; opacity: .76; }
.pp63futureTitle { display: grid; grid-template-columns: minmax(0, 1fr) auto 17px; align-items: center; gap: 7px; margin-bottom: 7px; font-size: 12px; }
.pp63futureTitle > span:nth-child(2) { color: var(--muted, #888); font-size: 11px; }
.pp63futureTitle svg { width: 15px; height: 15px; }
.pp63futureTrack { height: 4px; }
.pp63infoDialog { max-width: 440px; }
.pp63infoDialog h3 { margin-top: 0; }
.pp63infoDialog p { line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .pp63completedPanel, .pp63completedToggle svg, .pp63nextTrack span, .pp63futureTrack span { transition: none; }
  .pp63speedControl { animation: none; }
}
html[data-theme='light'] .pp63nextCard { background: color-mix(in srgb, var(--pp63-teal) 9%, #fff); }
html[data-theme='light'] .pp63futureRow { background: #00000003; }
