/* Design tokens shared by the room and the classic page. */
:root {
  --bg: #f4e6d4;
  --bg-2: #f9efe2;
  --ink: #1f2430;
  --ink-2: #4a4f5c;
  --muted: #7a7466;
  --line: rgba(31, 36, 48, 0.12);
  --card: rgba(255, 252, 246, 0.86);
  --card-solid: #fffcf6;
  --accent: #e07a5f;
  --accent-2: #3d6b5c;
  --gold: #f2b84b;
  --navy: #2f3e5c;
  --shadow: 0 10px 40px -12px rgba(60, 40, 20, 0.28);
  --radius: 18px;
  --serif: 'Instrument Serif', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-solid);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.3); }
.btn.primary { background: var(--ink); color: #fffaf0; border-color: transparent; }
.btn.big { padding: 14px 26px; font-size: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 36, 48, 0.06);
  color: var(--ink-2);
}
.muted { color: var(--muted); }
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 4px;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
