/* DuoBall Roll pages: one small stylesheet, system fonts only, light and dark. */
:root {
  color-scheme: light dark;
  --bg: #fbf6ee;
  --card: #ffffff;
  --text: #23201c;
  --muted: #5b554c;
  --accent: #a8231b;
  --rule: #e4d8c4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120f;
    --card: #1f1b17;
    --text: #f2ebe0;
    --muted: #c0b6a7;
    --accent: #ff9a8b;
    --rule: #3b332b;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, sans-serif;
}
.marquee {
  background: #1b100b;
  color: #ffe9bd;
  text-align: center;
  padding: 1.6rem 1rem 1.2rem;
  border-bottom: 4px solid #e9a52a;
}
.marquee h1 {
  margin: 0;
  font-size: clamp(1.7rem, 7.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd36b;
  text-shadow: 0 0 14px rgba(255, 186, 64, 0.45);
}
.marquee p { margin: 0.35rem 0 0; color: #f5dcae; }
.marquee a { color: inherit; text-decoration: none; }
.bulbs {
  height: 10px;
  max-width: 30rem;
  margin: 0.8rem auto 0;
  background: radial-gradient(circle, #ffd36b 0 3px, transparent 3.6px) center / 22px 10px repeat-x;
}
main { max-width: 42rem; margin: 0 auto; padding: 1.4rem 1.1rem 3rem; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; color: var(--accent); }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.3rem; }
p, li { max-width: 40rem; }
ul { padding-left: 1.3rem; }
li { margin: 0.3rem 0; }
a { color: var(--accent); }
.lead { font-size: 1.12rem; }
.muted { color: var(--muted); }
.key {
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 0 0.35em;
  border: 1px solid var(--rule);
  border-radius: 0.35em;
  background: var(--card);
}
details {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  padding: 0.55rem 0.9rem;
  margin: 0.55rem 0;
}
summary { cursor: pointer; font-weight: 650; }
details[open] summary { margin-bottom: 0.3rem; }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 0.8rem;
  padding: 1rem 1.1rem;
}
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 0.6rem 0; font-size: 0.97rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--rule); }
th { font-weight: 650; }
footer { max-width: 42rem; margin: 0 auto; padding: 0 1.1rem 2.5rem; color: var(--muted); font-size: 0.92rem; }
