/* tokens (sampled off assets/avatar.png)
   cream: #e7d4b5, the flat paper-ish background wash behind the scene
   ink: #0a0a08, the crowd silhouettes and gate linework
   metal: #605e57, the turnstile bar
   led: #ff2b29, the frozen digital readout baked into the picture
   type: Anton (display, the deadline line + ticker) + Ubuntu Mono (CA + the live countdown, tabular)
   corner radius: 0 everywhere, this is a printed sign, not software
   motion: the live countdown ticks every second, the picture's own clock stays frozen forever
*/

@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu Mono";
  src: url("assets/fonts/ubuntu-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu Mono";
  src: url("assets/fonts/ubuntu-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #e7d4b5;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px;
  font-family: "Ubuntu Mono", monospace;
  color: #0a0a08;
}

main.gate {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.frame {
  position: relative;
  width: 100%;
  border: 3px solid #0a0a08;
  overflow: hidden;
  background: #e7d4b5;
}

.frame img.scene {
  display: block;
  width: 100%;
  height: auto;
}

.live {
  position: absolute;
  top: 4.5%;
  left: 4%;
  background: #0a0a08;
  border: 2px solid #605e57;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.live-label {
  font-family: "Ubuntu Mono", monospace;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #cfc4a8;
}

.live-time {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-size: clamp(13px, 3.4vw, 20px);
  color: #ff2b29;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 6px rgba(255, 43, 41, 0.55);
}

.panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 3px solid #0a0a08;
  background: #dcc9a5;
  padding: 12px 14px;
  flex-wrap: wrap;
}

.tk {
  font-family: "Anton", sans-serif;
  font-size: clamp(18px, 4.5vw, 26px);
  letter-spacing: 0.03em;
}

.ca {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  font-size: clamp(11px, 2.6vw, 14px);
  background: #0a0a08;
  color: #e7d4b5;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}

.ca:hover { background: #2a2a24; }

.caption {
  margin: 0;
  font-family: "Anton", sans-serif;
  font-size: clamp(15px, 3.4vw, 19px);
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

nav.links {
  display: flex;
  gap: 14px;
}

nav.links a {
  font-family: "Ubuntu Mono", monospace;
  font-weight: 700;
  color: #0a0a08;
  text-decoration: none;
  border: 2px solid #0a0a08;
  padding: 8px 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

nav.links a:hover {
  background: #0a0a08;
  color: #e7d4b5;
}

@media (prefers-reduced-motion: reduce) {
  .live-time { text-shadow: none; }
}
