.p012-lawyer-original {
  display: none;
}
.p012-lawyer-bob { animation: bob 2.6s ease-in-out infinite; }
.p012-lawyer-wave {
  animation: p012-wave 1.4s ease-in-out infinite;
  transform-box: view-box;
}
.p012-lawyer-blink {
  animation: p012-blink 4.2s infinite;
  transform-box: view-box;
}
@keyframes p012-wave {
  50% { transform: rotate(-5deg); }
}
@keyframes p012-blink {
  0%, 91.5%, 98.5%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.10); }
}
@media (prefers-reduced-motion: reduce) {
  .p012-lawyer-original { display: inline; }
  .p012-lawyer-idle { display: none; }
  .p012-lawyer-bob, .p012-lawyer-wave, .p012-lawyer-blink { animation: none; }
}

.worlds.p012-worlds {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.p012-worlds .world { min-width: 0; }
.p012-worlds .world .wd2 svg { width: 50%; min-width: 0; }
.p012-worlds .p012-track-card {
  background: #f7e7d3;
  color: #713445;
  border-color: #b8663c;
}
.p012-worlds .p012-track-card.on { border-color: #713445; }
.p012-track-card .muted { color: #674535; }
html[data-theme="dark"] .p012-worlds .p012-track-card {
  background: #31202a;
  color: #ffe8d5;
  border-color: #a86345;
}
html[data-theme="dark"] .p012-worlds .p012-track-card.on { border-color: #f1aa86; }
html[data-theme="dark"] .p012-track-card .muted { color: #e5c2b0; }

html.classic body.law[class] { --p:#713445; --s:#a2563b; --a:#b8663c; }
html.classic[data-theme="dark"] body.law[class] { --p:#9b4d65; --s:#ab5e3e; --a:#e6a282; }

.authhero.p012-authhero .ahc { width: clamp(38px, 13vw, 70px); }
.p012-authhero .ahl { min-width: 0; }
@media (max-width: 375px) {
  .p012-worlds { gap: 6px; }
  .p012-worlds .world { padding-inline: 4px; }
  .p012-worlds .world b { font-size: 12px; }
  .p012-worlds .world .muted { font-size: 10px; }
  .p012-worlds .world .wd2 { height: 58px; }
}
