@font-face {
  font-family: "SMD Original";
  src: url("./FOT-Skip-Std.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --smd-game-font: "SMD Original", "Trebuchet MS", "Segoe UI", sans-serif;
}

/* Unity used the recovered font prefab for its live interface labels. Several
   web screens name fallback fonts directly, so inheritance alone is not enough. */
html,
body,
body *,
button,
input,
select,
textarea {
  font-family: var(--smd-game-font) !important;
}

/* Suppress Chrome/Android's browser-generated tap flash across the playable
   interface. Authored :active, selected, checked, and disabled artwork remains
   unaffected because this only removes the user-agent highlight overlay. */
html,
body,
body *,
button,
a,
[role="button"],
input,
select,
textarea,
canvas {
  -webkit-tap-highlight-color: transparent;
}

/* Game artwork is not selectable text. Keep form fields selectable so login,
   account-name editing, and accessibility interactions continue to work. */
button,
a,
[role="button"],
canvas {
  -webkit-user-select: none;
  user-select: none;
}
