:root {
    color-scheme: dark;
    --text: #f1ede8;
    --muted: #938c84;
    --bronze: #b59a78;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: #000;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: #000;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

[hidden] {
    display: none !important;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c3ae92;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.04em;
    text-decoration: none;
}

.brand img {
    width: 31px;
    height: 31px;
    object-fit: contain;
    filter: saturate(.35) brightness(.78);
}

.eyebrow {
    margin: 0;
    color: #9e876c;
    font-size: 12px;
    letter-spacing: .18em;
}

@media (max-width: 600px) {
    .brand {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.selection-error { padding: 32px; border: 1px solid rgba(181,154,120,.3); border-radius: 20px; color: #d1c5b6; }
.selection-error p { color: #968c80; line-height: 1.6; }
.selection-error a { color: #c4a780; }
.star-rating::before, .score-ring.star-rating::before {
  content: "★★★★★";
  position: static;
  inset: auto;
  top: 0;
  right: 0;
  height: 18px;
  width: max-content;
  border-radius: 0;
  background: linear-gradient(90deg, #c5a575 var(--score, 0%), #4d453a var(--score, 0%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: .5px;
  white-space: nowrap;
  box-shadow: none;
}

/* Shared rounded glass navigation, independent of page styles. */
body #menuPanel, body #menu {
  width: min(264px, calc(100vw - 40px)); padding: 8px;
  border: 1px solid rgba(181,154,120,.25); border-radius: 25px;
  background: linear-gradient(145deg,rgba(37,32,27,.91),rgba(13,12,11,.94));
  -webkit-backdrop-filter: blur(24px) saturate(125%); backdrop-filter: blur(24px) saturate(125%);
  box-shadow: 0 18px 50px #0009, inset 0 1px #ffffff09; overflow: hidden;
}
body #menuPanel a, body #menu a { display: block; padding: 14px 16px; border-radius: 17px; color: #ddd4ca; font-size: 14px; line-height: 1.4; text-decoration: none; }
body #menuPanel a + a, body #menu a + a { border-top: 1px solid #b59a7814; }
body #menuPanel a:hover, body #menuPanel a:focus-visible, body #menu a:hover, body #menu a:focus-visible { background: #b59a7810; color: #e0cfb7; }
