/* Retro-only typography and game-style appearance switch. Existing motion and layout stay native. */
html.zlm-home[data-zlm-style="retro"] .sm-panel {
  font-family: ZlmRacerPixel, monospace;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 #fff4df;
}
html.zlm-home[data-zlm-style="retro"] .sm-panel :is(.sm-visual, .sm-track, .sm-cell, .sm-word, .sm-sr) {
  font-family: inherit;
}
html.zlm-home[data-zlm-style="retro"] .zlm-style-switch {
  min-height: 44px;
  padding: 0 12px;
  border: 2px solid #39304c;
  border-radius: 0;
  background: #fff0d9;
  color: #39304c;
  font: 400 17px/1.2 ZlmRacerPixel, monospace;
  letter-spacing: 0;
  text-decoration: none;
  box-shadow: 3px 3px 0 #39304c;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}
html.zlm-home[data-zlm-style="retro"] .zlm-style-switch:hover {
  background: #f8d9dc;
}
html.zlm-home[data-zlm-style="retro"] .zlm-style-switch:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #39304c;
}
html.zlm-home[data-zlm-style="retro"] .zlm-style-switch:focus-visible {
  outline: 2px solid #39304c;
  outline-offset: 5px;
}