:root {
  color-scheme: dark;
  --bg: #101016;
  --panel: #1b1b25;
  --text: #f5f5fa;
  --muted: #aaaabd;
  --accent: #d7ff53;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
.shell {
  width: min(100% - 36px, 720px);
  margin: 0 auto;
  padding: 28px 0 64px;
}
.brand {
  color: var(--text);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -2px;
  text-decoration: none;
}
.brand span, h1 span { color: var(--accent); }
.hero { padding: 64px 0 20px; }
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 2px; }
h1 {
  font-size: clamp(38px, 10vw, 76px);
  line-height: 1.04;
  letter-spacing: -2px;
}
.hero h1 { margin: 24px 0; }
.muted, .hint { color: var(--muted); line-height: 1.6; }
.hint { font-size: 13px; }
.page-heading { margin: 40px 0 24px; }
.page-heading h1 { font-size: clamp(32px, 7vw, 48px); }
.panel {
  background: var(--panel);
  border: 1px solid #ffffff12;
  border-radius: 22px;
  padding: 24px;
  margin: 20px 0;
}
.field { margin-bottom: 22px; }
label { display: block; margin-bottom: 8px; font-weight: 650; }
input, select, textarea {
  width: 100%;
  border: 1px solid #ffffff25;
  border-radius: 12px;
  background: #111118;
  color: var(--text);
  padding: 13px;
  font: inherit;
}
textarea { resize: vertical; }
input[type="color"] { height: 52px; padding: 5px; }
input[type="checkbox"] { width: 20px; height: 20px; }
.check { display: flex; align-items: center; gap: 12px; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent);
}
.button {
  display: inline-block;
  border: 0;
  border-radius: 14px;
  padding: 16px 22px;
  background: var(--accent);
  color: #111;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.secondary { margin-top: 14px; background: #343443; color: white; }
.notice { padding: 14px; background: #26351b; border-radius: 12px; }
.errorlist { color: #ff9d9d; padding-left: 20px; }
.display-page {
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #111;
}
#stage { position: fixed; inset: 0; overflow: hidden; }
#banner {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  font-weight: 900;
  line-height: 1.15;
  white-space: pre;
  will-change: transform;
}
.display-toolbar {
  position: fixed;
  z-index: 10;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: .35;
  transition: opacity .2s;
}
.display-toolbar:hover, .display-toolbar:focus-within { opacity: 1; }
.display-toolbar span {
  background: #0009;
  color: white;
  font: 12px system-ui, sans-serif;
  padding: 8px;
  border-radius: 8px;
}
.display-toolbar button {
  border: 1px solid #ffffff40;
  background: #0009;
  color: white;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
}
