/* Opt-in only: script marks the existing study/flashcard CTAs; navigation, cards and forms stay unchanged. */
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action] {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: fit-content !important;
  min-width: 44px !important;
  max-width: 100% !important;
  min-height: 44px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-image: none !important;
  border-radius: 5px !important;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  color: var(--memory-accent, var(--accent, #c3b185)) !important;
  font: 400 16px / 1.5 var(--font-display, "Songti SC", serif) !important;
  letter-spacing: .035em !important;
  text-align: center !important;
  white-space: normal !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 140ms ease, opacity 140ms ease, transform 120ms ease !important;
}
/* Remove old plaque/raster/arrow decorations, not the original label or its live-update hook. */
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action]::before,
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action]::after { content: none !important; display: none !important; background: none !important; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action] > :is(.mr-icon, .flashcard-control-icon, .museum-icon, img, svg:not(.museum-artifact-icon)) { display: none !important; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action] > .museum-artifact-icon {
  display: block !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 32px !important;
  color: inherit !important;
  background: none !important;
  filter: none !important;
  pointer-events: none;
  overflow: visible;
}
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action] > span:not(.mr-icon):not(.flashcard-control-icon):not(.museum-icon) { font: inherit !important; color: inherit !important; letter-spacing: inherit !important; min-width: 0; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action="continue"] {
  min-height: 52px !important;
  padding: 8px 16px !important;
  gap: 14px !important;
  margin-inline: auto !important;
  justify-self: center !important;
  font-size: 20px !important;
  letter-spacing: .09em !important;
}
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action="continue"] > .museum-artifact-icon { flex-basis: 32px !important; width: 32px !important; height: 38px !important; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action="flip"],
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.tarot-draw-button.museum-artifact-action[data-artifact-action="draw"] { display: flex !important; min-height: 48px !important; margin-inline: auto !important; padding-inline: 14px !important; font-size: 18px !important; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) .flashcard-blindbox-footer button.museum-artifact-action[data-artifact-action],
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) .mr-flash > footer button.museum-artifact-action[data-artifact-action] { padding-inline: 5px !important; font-size: 14px !important; gap: 8px !important; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action]:disabled { opacity: .42 !important; cursor: default; }
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action]:focus-visible { outline: 2px solid var(--fg, #eee4ce) !important; outline-offset: 4px !important; }
@media (hover: hover) {
  body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action]:hover:not(:disabled) { color: var(--fg, #eee4ce) !important; }
}
body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action]:active:not(:disabled) { transform: translateY(1px) !important; }
@media (prefers-reduced-motion: reduce) {
  body.student-page.museum-refined.museum-artifact-actions-enabled :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action] { transition: none !important; transform: none !important; }
}
body.student-page.museum-refined.museum-artifact-actions-enabled[data-museum-motion="off"] :is(#knowledgeStudyPanel, #podcastPanel, #learningPanel) button.museum-artifact-action[data-artifact-action] { transition: none !important; transform: none !important; }
