:root { --bg: #efefed; --ink: #111; --muted: #6b6b68; --title: 34px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body { font-family: Inter, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }

#stage { position: fixed; inset: 0; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
#stage.dragging { cursor: grabbing; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-weight: 400; font-size: var(--title); letter-spacing: -0.035em; line-height: 1;
  white-space: nowrap; color: #fff; mix-blend-mode: difference; pointer-events: none;
}

.top, .foot {
  position: fixed; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) 20px 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
}
.foot { top: auto; bottom: 0; padding: 0 20px max(18px, env(safe-area-inset-bottom)); color: var(--muted); font-size: 10.5px; }
.mark { color: var(--ink); text-decoration: none; font-weight: 500; letter-spacing: .02em; text-transform: none; font-size: 14px; }
.meta { color: var(--muted); font-variant-numeric: tabular-nums; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 599px) {
  .foot { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
}
html.no-gl #gl { display: none; }
