/* Componenti lesson-specific per Animazioni CSS */

:root {
  --motion-accent: #7c3aed;
  --easing-accent: #0f766e;
  --motion-success: #16a34a;
  --motion-warning: #f0c040;
  --motion-danger: #dc2626;
  --demo-bg: #f8fafc;
  --demo-border: #111827;
}

.demo-button {
  border: 2px solid var(--demo-border);
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  padding: 10px 14px;
}

.demo-button:hover,
.demo-button:focus {
  background: #111827;
  color: #ffffff;
}

.demo-button:focus {
  outline: 3px solid var(--motion-warning);
  outline-offset: 3px;
}

.live-code-display {
  border-top: 1px solid #d1d5db;
  background: #111827;
}

.live-code-display pre {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.demo-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.compare-panel {
  min-width: 0;
  border: 2px solid var(--demo-border);
  border-radius: 8px;
  background: var(--demo-bg);
  padding: 20px;
}

.compare-panel h3 {
  margin-top: 0;
}

.compare-panel p {
  font-size: 1rem;
}

.motion-stage {
  position: relative;
  min-height: 180px;
  margin-top: 18px;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  background: #ffffff;
}

.motion-card {
  position: absolute;
  top: 52px;
  left: 24px;
  width: 170px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #d8b4fe;
  font-weight: 700;
  padding: 18px;
  transform: translateX(0);
}

.motion-card.is-shifted {
  transform: translateX(170px);
}

.motion-card-smooth {
  transition: transform 350ms ease-out;
}

.motion-role-cards {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.motion-role-cards .layout-card {
  border-color: #c4b5fd;
  text-align: left;
}

.motion-role-cards .layout-card h3 {
  color: #4c1d95;
}

.stable-compare .compare-panel {
  background: #ffffff;
}

.confirm-card {
  max-width: 340px;
  min-height: 230px;
  border: 2px solid #0f766e;
  border-radius: 8px;
  background: #ecfdf5;
  padding: 22px;
}

.confirm-card h4 {
  font-size: 1.3rem;
  margin: 12px 0 8px 0;
}

.confirm-card p {
  margin-bottom: 18px;
}

.confirm-card button {
  border: 2px solid #0f766e;
  border-radius: 6px;
  background: #0f766e;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
}

.confirm-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
}

.confirm-card-enhanced {
  animation: confirmEnter 520ms ease-out both;
}

@keyframes confirmEnter {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

.transition-button-area,
.syntax-card-area,
.duration-stage,
.delay-area {
  display: grid;
  min-height: 220px;
  place-items: center;
  background: var(--demo-bg);
}

.demo-hover-button {
  border: 2px solid #111827;
  border-radius: 8px;
  background: var(--motion-accent);
  box-shadow: 0 8px 0 #2e1065;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 750;
  padding: 18px 24px;
}

.demo-hover-button.has-transition {
  transition: transform 250ms ease-out;
}

.demo-hover-button:hover,
.demo-hover-button:focus {
  transform: translateY(-8px);
}

.demo-hover-button:focus {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.syntax-card {
  width: min(360px, 100%);
  border: 2px solid #4f46e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c7d2fe;
  opacity: 1;
  padding: 24px;
  transform: translateY(0);
}

.syntax-card h3 {
  margin-top: 0;
}

.syntax-card p {
  margin-bottom: 0;
}

.syntax-card.mode-transform {
  transition: transform 250ms ease-out;
}

.syntax-card.mode-opacity {
  transition: opacity 250ms ease-out;
}

.syntax-card.mode-both {
  transition:
    transform 250ms ease-out,
    opacity 250ms ease-out;
}

.syntax-card.mode-transform:hover,
.syntax-card.mode-transform:focus-within {
  transform: translateY(-6px);
}

.syntax-card.mode-opacity:hover,
.syntax-card.mode-opacity:focus-within {
  opacity: 0.4;
}

.syntax-card.mode-both:hover,
.syntax-card.mode-both:focus-within {
  opacity: 0.4;
  transform: translateY(-6px);
}

.all-card {
  min-height: 180px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 0 #e5e7eb;
  padding: 22px;
}

.all-card h4 {
  font-size: 1.25rem;
  margin: 0 0 12px 0;
}

.all-card p {
  margin-bottom: 0;
}

.all-card-loose {
  transition: all 2000ms ease-out;
}

.all-card-strict {
  transition:
    transform 2000ms ease-out,
    box-shadow 2000ms ease-out;
}

.all-card:hover {
  box-shadow: 0 14px 0 #c4b5fd;
  color: #6d28d9;
  transform: translateY(-8px);
}

.easing-stage {
  display: grid;
  gap: 12px;
  background: #f0fdfa;
}

.easing-row {
  display: grid;
  grid-template-columns: 120px minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
}

.easing-row > span {
  color: #134e4a;
  font-size: 0.95rem;
  font-weight: 750;
  text-align: right;
}

.easing-track {
  position: relative;
  height: 30px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      to right,
      #ccfbf1 0,
      #ccfbf1 20px,
      #99f6e4 20px,
      #99f6e4 22px
    );
  overflow: hidden;
}

.easing-track::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 4px;
  bottom: 3px;
  width: 3px;
  background: #134e4a;
}

.easing-ball {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--easing-accent);
  transform: translateX(0);
}

.easing-stage.is-running .easing-ball {
  transform: translateX(var(--easing-travel, 360px));
}

.easing-stage.is-running .easing-linear {
  transition: transform 1200ms linear;
}

.easing-stage.is-running .easing-ease {
  transition: transform 1200ms ease;
}

.easing-stage.is-running .easing-in {
  transition: transform 1200ms ease-in;
}

.easing-stage.is-running .easing-out {
  transition: transform 1200ms ease-out;
}

.easing-stage.is-running .easing-in-out {
  transition: transform 1200ms ease-in-out;
}

.duration-button {
  --duration: 250ms;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 8px 0 #a78bfa;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 18px 24px;
  transition: transform var(--duration) ease-out;
}

.duration-button.is-raised,
.duration-button:hover,
.duration-button:focus-visible {
  transform: translateY(-16px);
}

.duration-button:focus-visible {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.demo-menu-wrapper {
  position: relative;
  display: inline-block;
  padding: 16px;
}

.demo-menu-trigger {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 12px 18px;
}

.demo-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 16px;
  width: 240px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 0 #c4b5fd;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 250ms ease-out,
    transform 250ms ease-out;
  transition-delay: var(--close-delay, 300ms);
}

.demo-menu-wrapper:hover .demo-menu,
.demo-menu-wrapper:focus-within .demo-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0ms;
}

.demo-menu a {
  display: block;
  color: #111827;
  font-weight: 650;
  padding: 12px 14px;
  text-decoration: none;
}

.demo-menu a:hover,
.demo-menu a:focus {
  background: #ede9fe;
}

.demo-caption {
  color: #4b5563;
  font-size: 0.95rem;
  margin: 18px 0 0 0;
  text-align: center;
}

.action-stage,
.keyframe-panel-stage,
.badge-stage,
.note-stage,
.loop-stage,
.timeline-stage,
.direction-stage,
.shorthand-stage {
  background: var(--demo-bg);
}

.action-stage {
  display: grid;
  min-height: 240px;
  place-items: center;
}

#azioni-diverse-demo .button {
  --enter-duration: 150ms;
  --exit-duration: 400ms;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 8px 0 #a78bfa;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 0;
}

#azioni-diverse-demo .button-face {
  display: block;
  padding: 18px 24px;
  transform: translateY(0);
  transition: transform var(--exit-duration) ease-out;
}

#azioni-diverse-demo .button:hover .button-face {
  transform: translateY(-4px);
  transition: transform var(--enter-duration) ease-out;
}

#azioni-diverse-demo .button:active .button-face {
  transform: translateY(2px);
  transition-duration: 0ms;
}

#azioni-diverse-demo .button:focus-visible {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.flicker-pad {
  display: grid;
  min-height: 170px;
  place-items: center;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  background: #ffffff;
}

.flicker-button {
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.flicker-button:focus-visible {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.flicker-button-fragile {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  padding: 16px 26px;
  transition: transform 220ms ease-out;
}

.flicker-button-fragile:hover,
.flicker-button-fragile:focus-visible {
  transform: translateY(-28px);
}

.flicker-button-stable {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.flicker-face {
  display: block;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  padding: 16px 26px;
  transition: transform 220ms ease-out;
}

.flicker-button-stable:hover .flicker-face,
.flicker-button-stable:focus-visible .flicker-face {
  transform: translateY(-28px);
}

.animatable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.animatable-panel {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.animatable-panel h3 {
  margin-top: 0;
}

.animatable-panel ul {
  margin-bottom: 0;
}

.animatable-panel-warning {
  background: #fff7ed;
}

.animatable-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: var(--demo-bg);
}

.animatable-card {
  min-height: 210px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  padding: 20px;
}

.animatable-card h3 {
  margin-top: 0;
}

.animatable-card p {
  margin-bottom: 12px;
}

.animatable-card:focus-visible {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.animatable-card-smooth {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 250ms ease-out,
    transform 250ms ease-out,
    background-color 250ms ease-out;
}

.animatable-card-smooth:hover,
.animatable-card-smooth:focus-visible {
  background-color: #ede9fe;
  opacity: 0.65;
  transform: translateY(-8px);
}

.animatable-card-discrete {
  display: block;
  transition: display 250ms ease-out;
}

.animatable-card-discrete span {
  display: inline-grid;
  min-width: 58px;
  min-height: 34px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 6px;
  background: #ffffff;
  font-weight: 800;
  margin-right: 8px;
}

.animatable-card-discrete:hover,
.animatable-card-discrete:focus-visible {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 10px;
}

.animatable-card-discrete:hover h3,
.animatable-card-discrete:hover p,
.animatable-card-discrete:focus-visible h3,
.animatable-card-discrete:focus-visible p {
  width: 100%;
}

.visibility-chip {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 999px;
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 800;
  padding: 0 16px;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 250ms ease-out,
    visibility 0s linear 250ms;
}

.animatable-card-visibility:hover .visibility-chip,
.animatable-card-visibility:focus-visible .visibility-chip {
  opacity: 0;
  visibility: hidden;
}

.transition-components-stage {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.9fr);
  gap: 22px;
  align-items: stretch;
  background: var(--demo-bg);
}

.transition-ingredients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.transition-ingredient {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.transition-ingredient span {
  display: block;
  color: #4b5563;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.transition-ingredient strong {
  display: block;
  color: #111827;
  font-size: 1.1rem;
}

.transition-recipe-card {
  display: grid;
  align-content: center;
  min-height: 230px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  cursor: default;
  padding: 24px;
  transform: translateY(0);
  transition: transform 300ms ease-in-out 100ms;
}

.transition-recipe-card h3 {
  margin-top: 0;
}

.transition-recipe-card p {
  margin-bottom: 0;
}

.transition-recipe-card:hover,
.transition-recipe-card:focus {
  transform: translateY(-8px);
}

.transition-recipe-card:focus {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.try-card-grid-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.try-card-link-preview {
  color: inherit;
  text-decoration: none;
}

.try-card-preview {
  min-height: 160px;
  border: 2px solid #4f46e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 0 #c7d2fe;
  padding: 22px;
  transform: translateY(0);
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out;
}

.try-card-preview h4 {
  font-size: 1.25rem;
  margin: 0 0 8px 0;
}

.try-card-preview p {
  margin-bottom: 0;
}

.try-card-link-preview:hover .try-card-preview,
.try-card-link-preview:focus-visible .try-card-preview {
  box-shadow: 0 14px 0 #a5b4fc;
  transform: translateY(-8px);
}

.try-card-link-preview:focus-visible {
  outline: 3px solid #166534;
  outline-offset: 4px;
}

.keyframe-panel-stage {
  display: grid;
  min-height: 250px;
  place-items: center;
  overflow: hidden;
}

.keyframe-slide-panel {
  width: min(460px, 100%);
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  padding: 24px;
}

.keyframe-slide-panel h3 {
  margin-top: 0;
}

.keyframe-slide-panel p {
  margin-bottom: 0;
}

.keyframe-slide-panel.is-running {
  animation: lessonSlideIn 500ms ease-out both;
}

@keyframes lessonSlideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.badge-stage {
  display: grid;
  min-height: 220px;
  place-items: center;
}

.pop-badge {
  --badge-duration: 300ms;
  display: inline-grid;
  min-width: 130px;
  min-height: 56px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 999px;
  background: #ede9fe;
  color: #4c1d95;
  font-size: 1.25rem;
  font-weight: 800;
}

.pop-badge.is-running {
  animation: lessonPopIn var(--badge-duration) ease-out both;
}

@keyframes lessonPopIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.note-stage {
  display: grid;
  min-height: 270px;
  place-items: center;
  overflow: hidden;
}

.drop-note {
  width: min(360px, 100%);
  border: 2px solid #854d0e;
  border-radius: 8px;
  background: #fef3c7;
  box-shadow: 0 10px 0 #facc15;
  color: #422006;
  padding: 24px;
}

.drop-note h3 {
  margin-top: 0;
}

.drop-note p {
  margin-bottom: 0;
}

.drop-note.is-running {
  animation: lessonDropIn 600ms ease-out both;
}

@keyframes lessonDropIn {
  from {
    opacity: 0;
    transform: translateY(-32px) rotate(-8deg);
  }

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

.loop-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-height: 240px;
  align-items: stretch;
}

.loop-stage.is-paused .loop-disc {
  animation-play-state: paused;
}

.loop-item {
  display: grid;
  place-items: center;
  gap: 14px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
}

.loop-item strong {
  color: #111827;
}

.loop-disc {
  display: block;
  position: relative;
  width: 78px;
  height: 78px;
  border: 2px solid #111827;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: none;
}

.loop-disc::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111827;
  transform: translateX(-50%);
}

.loop-disc-still,
.loop-disc-pulse,
.loop-disc-spinner {
  background: #ffffff;
}

.loop-disc-pulse.is-running {
  animation: lessonPulse 900ms ease-in-out 3;
}

.loop-disc-spinner {
  animation: lessonSpin 800ms linear infinite;
}

@keyframes lessonPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.22);
  }
}

@keyframes lessonSpin {
  to {
    transform: rotate(360deg);
  }
}

.timeline-stage {
  display: grid;
  align-content: center;
  gap: 36px;
  min-height: 260px;
  overflow: hidden;
}

.timeline-track {
  position: relative;
  width: min(620px, 100%);
  height: 64px;
  margin: 0 auto;
  border-bottom: 4px solid #111827;
}

.timeline-marker {
  position: absolute;
  bottom: -32px;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.marker-zero {
  left: 0;
  transform: none;
}

.marker-sixty {
  left: 60%;
}

.marker-full {
  right: 0;
  transform: none;
}

.timeline-ball {
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 24px;
  height: 24px;
  border: 3px solid #111827;
  border-radius: 50%;
  background: var(--motion-accent);
}

.timeline-badge {
  justify-self: center;
  border: 2px solid #111827;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 0 #c4b5fd;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 12px 22px;
}

.timeline-stage.is-running .timeline-ball {
  animation: lessonTimelineBall 1800ms ease-out both;
}

.timeline-stage.is-running .timeline-badge {
  animation: lessonTimelineBadge 1800ms ease-out both;
}

@keyframes lessonTimelineBall {
  0% {
    left: 0;
    transform: scale(0.8);
  }

  60% {
    left: 60%;
    transform: scale(1.08);
  }

  100% {
    left: calc(100% - 24px);
    transform: scale(1);
  }
}

@keyframes lessonTimelineBadge {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }

  60% {
    opacity: 1;
    transform: scale(1.08);
  }

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

.direction-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.direction-item {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 190px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  text-align: center;
}

.direction-item strong {
  font-size: 0.9rem;
}

.direction-box {
  display: block;
  width: 72px;
  height: 72px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #99f6e4;
  animation: lessonBreathe 1200ms ease-in-out infinite;
}

.direction-normal {
  animation-direction: normal;
}

.direction-reverse {
  animation-direction: reverse;
}

.direction-alternate {
  animation-direction: alternate;
}

.direction-alternate-reverse {
  animation-direction: alternate-reverse;
}

@keyframes lessonBreathe {
  0% {
    transform: scale(1);
  }

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

.shorthand-stage {
  display: grid;
  min-height: 230px;
  place-items: start center;
  overflow: hidden;
  padding-top: 42px;
}

.shorthand-toast {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ecfdf5;
  box-shadow: 0 8px 0 #86efac;
  color: #064e3b;
  font-weight: 800;
  padding: 16px 22px;
}

.shorthand-toast.is-running {
  animation: lessonToastIn 400ms ease-out both;
  animation-delay: 300ms;
}

@keyframes lessonToastIn {
  from {
    opacity: 0;
    transform: translateY(-28px);
  }

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

.return-bug-stage,
.fill-mode-stage,
.choose-tool-stage,
.play-state-stage,
.action-driven-stage,
.orchestration-stage,
.transform-compare-stage {
  background: var(--demo-bg);
}

.return-bug-stage {
  min-height: 280px;
}

.return-bug-visual {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(280px, 1fr);
  align-items: center;
  gap: 40px;
  width: 100%;
}

.return-bug-box {
  display: grid;
  width: 150px;
  height: 110px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  color: #111827;
  font-weight: 800;
  opacity: 1;
}

.return-bug-box.is-running {
  animation: returnBugFade 1000ms linear;
}

@keyframes returnBugFade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.opacity-chart {
  position: relative;
  width: min(420px, 100%);
  height: 250px;
  border-left: 3px solid #111827;
  border-bottom: 3px solid #111827;
  background: #ffffff;
  padding: 0;
}

.chart-label {
  position: absolute;
  left: -28px;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
}

.chart-label-start {
  top: 0;
}

.chart-label-end {
  bottom: 68px;
}

.chart-axis-label {
  position: absolute;
  color: #4b5563;
  font-size: 0.85rem;
  font-weight: 800;
}

.chart-axis-opacity {
  top: -24px;
  left: 0;
}

.chart-axis-time {
  right: 0;
  bottom: 42px;
}

.chart-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  overflow: visible;
}

.chart-lines path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 5;
}

.chart-path-fade {
  stroke: #7c3aed;
}

.chart-path-jump {
  stroke: #dc2626;
  stroke-dasharray: 8 8;
}

.chart-dot {
  position: absolute;
  top: 32px;
  left: 13.89%;
  width: 18px;
  height: 18px;
  border: 2px solid #111827;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.return-bug-box.is-running + .opacity-chart .chart-dot {
  animation: returnBugDot 1000ms linear both;
}

.chart-legend {
  position: absolute;
  left: 0;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
}

.chart-legend::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.chart-legend-fade {
  bottom: 34px;
}

.chart-legend-fade::before {
  background: #7c3aed;
}

.chart-legend-jump {
  bottom: 8px;
}

.chart-legend-jump::before {
  background: repeating-linear-gradient(
    to right,
    #dc2626 0,
    #dc2626 7px,
    transparent 7px,
    transparent 11px
  );
}

@keyframes returnBugDot {
  0% {
    top: 32px;
    left: 13.89%;
  }

  88% {
    top: 132px;
    left: 77.78%;
  }

  100% {
    top: 32px;
    left: 77.78%;
  }
}

.fill-mode-stage {
  display: grid;
  gap: 16px;
  min-height: 280px;
  align-content: start;
  justify-items: center;
  overflow: hidden;
  padding-top: 24px;
}

.fill-mode-moments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(520px, 100%);
}

.fill-mode-moments span {
  border: 2px solid #111827;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 10px;
  text-align: center;
}

.fill-mode-scene {
  display: grid;
  min-height: 142px;
  width: min(520px, 100%);
  place-items: center;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  background: #ffffff;
}

.fill-mode-toast {
  --fill-mode: both;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #f3f4f6;
  box-shadow: 0 8px 0 #d1d5db;
  color: #374151;
  font-weight: 800;
  opacity: 0.35;
  padding: 16px 22px;
  transform: translateY(-18px);
}

.fill-mode-toast.is-running {
  animation-name: fillModeSlideIn;
  animation-duration: 700ms;
  animation-timing-function: ease-out;
  animation-delay: 600ms;
  animation-fill-mode: var(--fill-mode);
}

@keyframes fillModeSlideIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    background: #ffffff;
    box-shadow: 0 8px 0 #86efac;
    color: #064e3b;
    transform: translateY(0);
  }
}

.help-circle-preview {
  display: grid;
  gap: 16px;
}

.help-circle-preview .demo-button {
  justify-self: start;
}

.help-page-preview {
  position: relative;
  min-height: 300px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  padding: 28px;
}

.help-page-line {
  width: 62%;
  height: 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #cbd5e1;
}

.help-line-wide {
  width: 78%;
}

.help-line-short {
  width: 42%;
}

.help-button-preview {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: #4f46e5;
  box-shadow: 0 8px 0 #c7d2fe;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 2rem;
  font-weight: 800;
}

.help-button-preview.is-running {
  animation: helpPreviewEnter 500ms ease-out 500ms both;
}

@keyframes helpPreviewEnter {
  from {
    opacity: 0;
    transform: translateY(120%);
  }

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

.choose-tool-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  display: grid;
  min-height: 170px;
  align-content: center;
  justify-items: center;
  gap: 14px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  text-align: center;
}

.tool-card span {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 750;
}

.tool-card button {
  border: 2px solid #111827;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 14px;
  transition:
    transform 220ms ease-out,
    box-shadow 220ms ease-out;
}

.tool-card button:hover,
.tool-card button:focus-visible {
  box-shadow: 0 6px 0 #c4b5fd;
  transform: translateY(-6px);
}

.tool-pulse strong {
  display: grid;
  min-width: 112px;
  min-height: 52px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 999px;
  background: #ecfdf5;
  animation: toolPulse 1200ms ease-in-out infinite alternate;
}

.tool-enter strong {
  display: block;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 0 #c4b5fd;
  padding: 14px 20px;
  animation: toolEnter 1400ms ease-out 400ms infinite both;
}

.tool-spinner i {
  display: block;
  width: 58px;
  height: 58px;
  border: 5px solid #d1d5db;
  border-top-color: #111827;
  border-radius: 50%;
  animation: toolSpin 900ms linear infinite;
}

@keyframes toolPulse {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.12);
  }
}

@keyframes toolEnter {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes toolSpin {
  to {
    transform: rotate(360deg);
  }
}

.play-state-stage {
  display: grid;
  min-height: 230px;
  place-items: center;
}

.loader {
  display: block;
  width: 92px;
  height: 92px;
  border: 8px solid #d1d5db;
  border-top-color: #111827;
  border-radius: 50%;
  animation: loaderSpin 900ms linear infinite;
  animation-play-state: running;
}

.loader.is-paused {
  animation-play-state: paused;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.action-driven-stage {
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
}

.action-panel {
  --open-duration: 360ms;
  --close-duration: 180ms;
  width: min(420px, 100%);
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  opacity: 0;
  padding: 22px;
  transform: translateY(16px);
  transition:
    opacity var(--close-duration) ease-in,
    transform var(--close-duration) ease-in;
}

.action-panel h3 {
  margin-top: 0;
}

.action-panel p {
  margin-bottom: 0;
}

.action-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity var(--open-duration) ease-out,
    transform var(--open-duration) ease-out;
}

.orchestration-stage {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  min-height: 330px;
  align-items: center;
}

.orchestration-timeline {
  display: grid;
  gap: 16px;
  padding: 20px 0;
}

.timeline-row {
  position: relative;
  display: block;
  height: 34px;
  color: #111827;
  font-weight: 800;
}

.timeline-row::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 106px;
  height: 18px;
  border: 2px solid #111827;
  border-radius: 999px;
  background: #ffffff;
}

.timeline-row-backdrop::before {
  width: 46%;
  background: #ddd6fe;
}

.timeline-row-dialog::before {
  left: 148px;
  width: 52%;
  background: #bfdbfe;
}

.timeline-row-close::before {
  left: 218px;
  width: 30%;
  background: #bbf7d0;
}

.modal-preview {
  position: relative;
  min-height: 240px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgb(17 24 39 / 0.56);
  opacity: 0;
  transition: opacity 300ms ease-out;
}

.modal-preview,
.modal-backdrop,
.modal-dialog,
.modal-close {
  pointer-events: none;
}

.modal-dialog {
  position: absolute;
  top: 58px;
  left: 50%;
  width: min(300px, calc(100% - 48px));
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 0 #c4b5fd;
  padding: 22px;
  opacity: 0;
  transform: translate(-50%, 22px);
  transition:
    opacity 350ms ease-out,
    transform 350ms ease-out;
  transition-delay: 120ms;
}

.modal-dialog h3 {
  margin-top: 0;
}

.modal-dialog p {
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 180ms ease-out;
  transition-delay: 300ms;
}

.orchestration-stage.is-open .modal-preview,
.orchestration-stage.is-open .modal-backdrop,
.orchestration-stage.is-open .modal-dialog,
.orchestration-stage.is-open .modal-close {
  pointer-events: auto;
}

.orchestration-stage.is-open .modal-backdrop,
.orchestration-stage.is-open .modal-dialog,
.orchestration-stage.is-open .modal-close {
  opacity: 1;
}

.orchestration-stage.is-open .modal-dialog {
  transform: translate(-50%, 0);
}

.transform-compare-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.movement-column {
  min-width: 0;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.movement-column h3 {
  margin: 0 0 18px 0;
}

.movement-stack {
  min-height: 190px;
}

.movement-box,
.movement-neighbor {
  display: grid;
  width: 110px;
  height: 64px;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 8px;
  font-weight: 800;
}

.movement-box {
  background: #ede9fe;
}

.movement-neighbor {
  margin-top: 12px;
  background: #f8fafc;
}

.transform-compare-stage.is-running .movement-box-margin {
  animation: moveWithMargin 1600ms ease-in-out infinite alternate;
}

.transform-compare-stage.is-running .movement-box-transform {
  animation: moveWithTransform 1600ms ease-in-out infinite alternate;
}

@keyframes moveWithMargin {
  to {
    margin-top: 38px;
  }
}

@keyframes moveWithTransform {
  to {
    transform: translateY(38px);
  }
}

.reduced-motion-preview-area {
  display: grid;
  min-height: 220px;
  place-items: center;
  background: var(--demo-bg);
}

.reduced-motion-preview-card {
  width: min(360px, 100%);
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  padding: 22px;
  transform: translateY(0);
}

.reduced-motion-preview-card h3 {
  margin-top: 0;
}

.reduced-motion-preview-card p {
  margin-bottom: 0;
}

.reduced-motion-preview-card:hover,
.reduced-motion-preview-card:focus-within {
  transform: translateY(-8px);
}

.reduced-motion-preview-card:focus {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .reduced-motion-preview-card {
    transition: transform 220ms ease-out;
  }
}

.reduced-motion-try-preview {
  display: grid;
  gap: 18px;
  place-items: center;
  background: #f1f5f9;
}

.try-reduced-motion-notice {
  width: min(360px, 100%);
  border: 2px solid #0f766e;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #99f6e4;
  padding: 24px;
}

.try-reduced-motion-notice h3 {
  margin-top: 0;
}

.try-reduced-motion-notice p {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .try-reduced-motion-notice.is-running {
    animation: tryReducedNoticeEnter 400ms ease-out both;
  }
}

@keyframes tryReducedNoticeEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.scroll-model-stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  background: var(--demo-bg);
}

.scroll-model-panel {
  min-width: 0;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.scroll-model-panel h3 {
  margin-top: 0;
}

.time-track {
  position: relative;
  height: 48px;
  margin-top: 24px;
  border: 2px solid #111827;
  border-radius: 999px;
  background: #f8fafc;
  overflow: hidden;
}

.time-dot {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  border: 2px solid #111827;
  border-radius: 50%;
  background: var(--motion-accent);
  animation: timeDotTravel 1600ms linear infinite alternate;
}

@keyframes timeDotTravel {
  to {
    transform: translateX(260px);
  }
}

.scroll-frame {
  height: 260px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  overflow-y: auto;
}

.scroll-frame:focus-visible {
  outline: 3px solid var(--motion-warning);
  outline-offset: 4px;
}

.scroll-spacer {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: #475569;
  font-weight: 800;
}

.scroll-model-card,
.view-timeline-card,
.range-card,
.scroll-try-card {
  min-height: 140px;
  margin: 18px;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  color: #111827;
  font-weight: 800;
  padding: 22px;
}

.scroll-model-card {
  background: #ecfdf5;
  box-shadow: 0 8px 0 #99f6e4;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-model-card {
      animation: lessonScrollFade linear both;
      animation-timeline: view();
      animation-range: entry;
    }
  }
}

@keyframes lessonScrollFade {
  from {
    opacity: 0.2;
    transform: translateY(32px);
  }

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

.scroll-reveal-stage {
  background: var(--demo-bg);
}

.view-timeline-frame,
.scroll-try-frame {
  height: 340px;
}

.view-timeline-card,
.scroll-try-card {
  background: #ede9fe;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .view-timeline-card {
      animation: lessonViewFadeIn linear both;
      animation-timeline: view();
      animation-range: entry;
    }

    .scroll-try-card {
      animation: lessonViewReveal linear both;
      animation-timeline: view();
      animation-range: entry;
    }
  }
}

@keyframes lessonViewFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes lessonViewReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.range-compare .compare-panel {
  background: #ffffff;
}

.range-frame {
  height: 300px;
}

.range-spacer {
  min-height: 320px;
}

.range-card {
  min-height: 170px;
  background: #ecfeff;
  box-shadow: 0 8px 0 #67e8f9;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .range-card {
      animation: lessonRangeReveal linear both;
      animation-timeline: view();
    }

    .range-card-entry {
      animation-range: entry;
    }

    .range-card-cover {
      animation-range: cover;
    }
  }
}

@keyframes lessonRangeReveal {
  from {
    opacity: 0.2;
    transform: translateY(54px) scale(0.96);
  }

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

.scroll-try-preview {
  background: #0f172a;
}

.scroll-try-frame {
  width: min(680px, 100%);
  background: #0f172a;
}

.scroll-try-frame .scroll-spacer {
  color: #cbd5e1;
}

.scroll-try-card {
  background: #334155;
  box-shadow: 0 8px 0 #64748b;
  color: #ffffff;
}

.view-transition-snapshot-stage {
  display: grid;
  min-height: 330px;
  place-items: center;
  background: var(--demo-bg);
}

.view-transition-browser {
  width: min(540px, 100%);
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  overflow: hidden;
}

.fake-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #111827;
  background: #f8fafc;
  padding: 10px;
}

.fake-browser-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid #111827;
  border-radius: 50%;
  background: #ffffff;
}

.fake-address {
  min-width: 0;
  flex: 1 1 auto;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  padding: 6px 12px;
  text-overflow: ellipsis;
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out;
  white-space: nowrap;
}

.view-transition-browser.is-detail .fake-address {
  border-color: #0f766e;
  background: #ecfdf5;
}

.view-transition-snapshot {
  position: relative;
  width: 100%;
  height: 210px;
}

.view-snapshot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 0 #c4b5fd;
  color: #111827;
  text-align: center;
}

.view-snapshot {
  align-content: center;
  gap: 10px;
}

.view-snapshot span {
  color: #4b5563;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.view-snapshot strong {
  font-size: 1.6rem;
}

.view-transition-snapshot.is-running .view-snapshot-old {
  animation: lessonCrossfadeOld 1400ms ease-in-out both;
}

.view-transition-snapshot.is-running .view-snapshot-new {
  animation: lessonCrossfadeNew 1400ms ease-in-out both;
}

@keyframes lessonCrossfadeOld {
  0%,
  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes lessonCrossfadeNew {
  0%,
  30% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.demo-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.source-code-box {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  margin: 24px 0;
  overflow: hidden;
}

.source-code-box h3 {
  margin: 0;
  border-bottom: 2px solid #111827;
  background: #f8fafc;
  padding: 14px 18px;
}

.source-code-box p {
  margin: 0;
  padding: 16px 18px 0 18px;
}

.source-code-box pre {
  margin-bottom: 0;
  border-radius: 0;
}

.recap-table-large {
  font-size: 0.92rem;
}

.slide-exercise .slide-content {
  padding-bottom: 40px;
}

.exercise-level,
.exercise-checklist {
  border: 2px solid #111827;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  margin-top: 16px;
}

.exercise-level h3,
.exercise-checklist h3 {
  margin-top: 0;
}

.exercise-level ul,
.exercise-checklist ul {
  margin-bottom: 0;
}

.thanks-line {
  margin-top: 28px;
  font-size: 1.7rem;
  font-weight: 900;
}

.source-line {
  color: #4b5563;
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .motion-role-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-compare {
    grid-template-columns: 1fr;
  }

  .loop-stage,
  .direction-stage,
  .animatable-grid,
  .animatable-stage,
  .transition-components-stage,
  .transition-ingredients,
  .try-card-grid-preview,
  .return-bug-visual,
  .choose-tool-stage,
  .orchestration-stage,
  .transform-compare-stage,
  .scroll-model-stage {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confirm-card-enhanced,
  .keyframe-slide-panel.is-running,
  .pop-badge.is-running,
  .drop-note.is-running,
  .loop-disc-pulse.is-running,
  .loop-disc-spinner,
  .timeline-stage.is-running .timeline-ball,
  .timeline-stage.is-running .timeline-badge,
  .direction-box,
  .shorthand-toast.is-running,
  .return-bug-box.is-running,
  .return-bug-box.is-running + .opacity-chart .chart-dot,
  .fill-mode-toast.is-running,
  .help-button-preview.is-running,
  .tool-pulse strong,
  .tool-enter strong,
  .tool-spinner i,
  .loader,
  .transform-compare-stage.is-running .movement-box-margin,
  .transform-compare-stage.is-running .movement-box-transform,
  .time-dot,
  .try-reduced-motion-notice.is-running,
  .scroll-model-card,
  .view-timeline-card,
  .range-card,
  .scroll-try-card,
  .view-transition-snapshot.is-running .view-snapshot-old,
  .view-transition-snapshot.is-running .view-snapshot-new,
  .slide.active,
  .demo-area {
    animation: none;
  }

  .demo-hover-button,
  .syntax-card,
  .all-card,
  .duration-button,
  .demo-menu,
  .easing-ball,
  #azioni-diverse-demo .button-face,
  .flicker-button-fragile,
  .flicker-face,
  .animatable-card-smooth,
  .visibility-chip,
  .transition-recipe-card,
  .try-card-preview,
  .fill-mode-toast,
  .tool-card button,
  .action-panel,
  .modal-backdrop,
  .modal-dialog,
  .modal-close,
  .reduced-motion-preview-card,
  .fake-address {
    transition-duration: 1ms;
  }
}
