/* What every design stands on: the faces and a few zero-specificity resets. */
@font-face { font-family: Overpass; src: url(/fonts/overpass.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Archivo; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url(/fonts/special-elite.woff2) format("woff2"); font-display: swap; }
/* the title's own face (Jersey 15), cut down to the letters of "CityNamed" */
@font-face { font-family: "CityNamed Logo"; src: url(/fonts/logo.woff2) format("woff2"); font-display: swap; }
/* the game's pixel face, and a second one that can draw the few names the first cannot (Vietnamese) */
@font-face { font-family: "Jersey 20"; src: url(/fonts/jersey.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Handjet; src: url(/fonts/handjet.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Gentium Book Plus"; src: url(/fonts/gentium-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: #2b2d31; }
#game { min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; position: relative; }
/* :where keeps these resets at zero specificity so a design's own classes always win */
:where(#game) button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:where(#game) :is(h1, h2, p, ol, ul) { margin: 0; padding: 0; list-style: none; }


.nothing { margin: auto; padding: 2rem; color: #f4f1e6; font: 600 1.125rem/1.4 system-ui, sans-serif; text-align: center; }
.nothing a { color: inherit; }
