  .invlv select { font: 700 15px ui-monospace, monospace; padding: 4px 6px; border-radius: 6px; }
  .invspeed { margin-left: auto; font: 12px ui-monospace, monospace; color: #3e4c3a; }
  .hsform { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 6px 0; padding: 8px; border-radius: 8px; background: #fff3d6; font-size: 13px; font-weight: 700; }
  .hsform input { width: 9em; font: 15px ui-monospace, monospace; padding: 4px 6px; border-radius: 6px; border: 1px solid #c9a35a; }
  .hsform button { border: 0; border-radius: 6px; background: #ef7a1a; color: #2a1404; font-weight: 800; padding: 6px 12px; cursor: pointer; }
  .hsbox { margin: 10px 6px 0; padding: 8px 10px; border-radius: 8px; background: #eef3e6; }
  .hstitle { font-weight: 800; font-size: 13px; color: #8d1d1d; margin-bottom: 4px; }
  .hsbox ol { margin: 0; padding-left: 1.6em; font: 13px/1.6 ui-monospace, "Noto Sans Mono CJK TC", monospace; }
  .readout { font-family: ui-monospace, monospace; margin: 0 8px 8px; min-height: 20px; }
  .note { font-size: 12px; color: #3e4c3a; margin: 0 8px 6px; }
  /* language toggle (same as games site) */
  .lang-toggle {
    position: fixed; top: 12px; right: 12px; z-index: 40; min-width: 64px; min-height: 40px;
    padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35);
    background: #243140; color: #fff; font: 650 14px/1 system-ui, "PingFang TC", "Noto Sans TC", sans-serif;
    letter-spacing: .06em; cursor: pointer; box-shadow: 0 8px 18px rgba(0,0,0,.25);
  }
  .lang-toggle:hover { transform: translateY(-1px); }

  /* page + formula help sidebar (beside on wide, under on narrow) */
  .page {
    max-width: 960px; margin: 0 auto; padding: 18px 14px 28px;
    display: flex; gap: 18px; align-items: flex-start; flex-wrap: nowrap; justify-content: center;
  }
