:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: #0d0e10;
  color: #eee9e0;
  --gold: #d5b575;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse 70% 65% at 50% 0%, #27211b 0%, #141414 42%, transparent 80%);
}
.entry { width: min(420px, calc(100% - 40px)); padding: 54px 0; text-align: center; }
.brand-mark {
  display: block; width: 84px; height: 84px; margin: 0 auto 20px; object-fit: contain;
}
.brand { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: 4px; padding-left: 4px; }
.brand span { display: block; margin-top: 9px; color: var(--gold); font-size: 10px; font-weight: 400; letter-spacing: 4px; }
.selection { margin-top: 51px; }
.spinner { width: 32px; height: 32px; margin: 0 auto 23px; border: 2px solid #d5b57522; border-top-color: var(--gold); border-radius: 50%; animation: spin 900ms linear infinite; }
h1 { margin: 0; font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: 2px; }
#selection-detail { margin: 12px 0 0; color: #8d8a84; font-size: 12px; line-height: 1.8; }
.actions { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 28px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { min-height: 42px; padding: 0 18px; font: inherit; font-size: 12px; border: 1px solid #e9cc9299; border-radius: 8px; background: linear-gradient(115deg, #d8ba80, #bd985d); color: #201b12; cursor: pointer; }
a { color: #bba77f; font-size: 12px; text-decoration: none; }
a:hover { color: #e2c385; }
button:hover { filter: brightness(1.08); }
button:focus-visible, a:focus-visible { outline: 2px solid #f2d79e; outline-offset: 5px; }
.entry[data-state="unavailable"] .spinner { animation: none; border-top-color: #d99985; }
.no-script { margin-top: 25px; color: #8d8a84; font-size: 12px; line-height: 1.8; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
