#motion-chat .practice-layout {
  width: min(100%, 580px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.practice-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.practice-picker button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid #d8c7d5;
  border-radius: 10px;
  background: var(--paper, #fffaf5);
  color: var(--ink, #382c40);
  font: inherit;
  font-size: .88rem;
  cursor: pointer;
}
.practice-picker button[aria-pressed="true"] {
  background: #51365d;
  border-color: #51365d;
  color: #fff7f0;
}
.practice-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: .86rem;
}
.home .practice-links .pare-launch {
  border: 0;
  padding-inline: 0;
}
.practice-links :is(a, button) {
  text-decoration: underline;
  text-underline-offset: .25em;
}

.home #motion-chat .practice53 {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-self: center;
  background: #fffaf5;
  color: #33283c;
  border: 1px solid #dbccd7;
  border-radius: 18px;
  box-shadow: 0 5px 18px #57355d13;
  overflow: hidden;
}

.home #motion-chat .practice53-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  max-width: none;
  padding: 10px 14px;
  text-align: left;
}
.practice53-logo {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 9px;
  background: #f5e6db;
}
.practice53-logo img { width: 22px; height: 22px; object-fit: contain; }
.practice53-header div { flex: 1; min-width: 0; }
.practice53-header b, .practice53-header small { display: block; }
.practice53-header small { font-size: .72rem; color: #68596f; }

.practice53-play, .practice53-translate {
  min-height: 44px;
  min-width: 44px;
  padding: 4px 10px;
  border: 0;
  border-radius: 9px;
  background: #f4eaf3;
  color: #462d53;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.practice53-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 12px;
  border-top: 1px solid #e0d4dc;
}
.practice53 :is(.practice53-play, small)[hidden] { display: none; }

.practice53 figure { position: relative; margin: 0; overflow: hidden; background: #503a50; }
.practice53 figure img {
  display: block;
  width: 100%;
  height: clamp(76px, 12vw, 115px);
  object-fit: cover;
  object-position: center 65%;
}
.practice53-thread {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  list-style: none;
  padding: 12px;
  margin: 0;
}
.practice53-thread li {
  justify-self: start;
  min-width: 0;
  max-width: min(94%, 34ch);
  padding: 6px 9px;
  border: 1px solid #e0d4dc;
  border-radius: 11px 11px 11px 4px;
  background: #fff;
  font-size: .92rem;
  line-height: 1.42;
  overflow-wrap: break-word;
}
.practice53-thread li:nth-child(even) {
  justify-self: end;
  border-radius: 11px 11px 4px 11px;
  background: #f0e6f5;
  --entry-x: 9px;
}
.practice53-speaker { display: block; font-size: .72rem; color: #66496d; }
.practice53-thread small { display: block; margin-top: 3px; color: #634e6d; }
.practice53-animated li:not(.is-visible) { visibility: hidden; }
.practice53-animated .is-visible { animation: practice-enter .28s cubic-bezier(.2,.72,.26,1) both; }

@keyframes practice-enter {
  from { opacity: 0; translate: var(--entry-x, -9px) 4px; }
  to { opacity: 1; translate: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .practice53-animated .is-visible { animation: none; }
}
