:root { color-scheme: dark; --bg:#101820; --ink:#f6f1e8; --accent:#f0b45a; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    var(--bg);
}
.top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: max(12px, env(safe-area-inset-top)) 16px 8px;
}
.mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.logo {
  margin: 0;
  font-family: Georgia, "Iowan Old Style", Palatino, "Noto Serif", serif;
  font-size: clamp(36px, 10vw, 60px);
  line-height: .9;
  letter-spacing: -.04em;
  font-weight: 700;
}
.logo span { color: var(--accent); }
.sub { margin: 4px 0 0; color: #cbbba6; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.stage {
  position: relative;
  flex: 1;
  min-height: 240px;
  margin: 0 12px 8px;
}
canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: #8ec6ea;
  touch-action: none;
}
.street {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  margin: 0;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: #1c140c;
  background: rgba(246, 241, 232, .88);
  border-radius: 999px;
  padding: 6px 12px;
  pointer-events: none;
}
button, .cta {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
footer { padding: 4px 16px max(14px, env(safe-area-inset-bottom)); text-align: center; }
.actions { display: flex; justify-content: center; gap: 10px; }
.cta { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-width: 132px; }
.cta-main { color: #1a1208; background: linear-gradient(180deg, #ffe6b0, #f0c36a); }
.cta-alt { color: #f6f0e6; background: rgba(255,255,255,.04); border: 1px solid rgba(240,195,106,.6); }
.fine { color: #b7ab9a; font-size: 12px; margin: 8px 0 0; }
[hidden] { display: none !important; }
html, body, canvas, button, a {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
