@font-face{font-family:"Courier Prime";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/courier-prime-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Courier Prime";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/courier-prime-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Libre Caslon Display";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-display-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Libre Caslon Display";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-display-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Libre Caslon Text";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-400-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Libre Caslon Text";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-400-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-400-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/libre-caslon-text-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-caslon-text-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Libre Caslon Text";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/libre-caslon-text-700-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"UnifrakturMaguntia";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/unifrakturmaguntia-400-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Black Werewolf: the site's only stylesheet. Colours, type and spacing follow the 2026-10 design. */

:root {
  --ink: #0F0D0B;
  --ink-2: #15120F;
  --ink-3: #1E1915;
  --paper: #E6DCC6;
  --paper-2: #CFC5AE;
  --muted: #B8AE98;
  --line: #4A4337;
  --line-2: #6B6253;
  --accent: #D9604A;
  --accent-2: #F08A74;
  --village: #8FB0D9;
  --wolves: #D9604A;
  --cult: #B79AD6;
  --solo: #9CC9A8;
  --other: #CFC5AE;
  --display: "Libre Caslon Display", Georgia, serif;
  --text: "Libre Caslon Text", Georgia, serif;
  --mono: "Courier Prime", ui-monospace, monospace;
  --black: "UnifrakturMaguntia", serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--text); }
img, svg { max-width: 100%; }
a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
code, kbd { font-family: var(--mono); font-size: .95em; color: var(--paper); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main { overflow-x: clip; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type helpers */
.label { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.label.dim { color: var(--muted); }
.h1 { font-family: var(--display); font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.h2 { font-family: var(--display); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
.h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.lead { font-size: 20px; line-height: 1.6; color: var(--paper-2); max-width: 36rem; }
.muted { color: var(--muted); }
.italic { font-style: italic; }
.small { font-size: 15px; }
.num { font-family: var(--display); line-height: 1; }
.mono { font-family: var(--mono); }
.numeral { font-family: var(--display); color: var(--accent); }

/* Buttons */
.btn, .ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; font: 400 17px var(--text); letter-spacing: .03em; text-decoration: none; border: 1px solid; cursor: pointer; text-align: center; }
.btn { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
.ghost { background: transparent; border-color: var(--line-2); color: var(--paper); }
.ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn.sm, .ghost.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dots { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; font-style: italic; color: var(--muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.logo { font-family: var(--black); font-size: 32px; color: var(--paper); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.logo:hover { color: var(--paper); }
.nav { display: flex; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-style: italic; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; }
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); background: transparent; color: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .menu-toggle { display: inline-flex; }
  .site-header .nav, .site-header .header-cta { display: none; }
  .site-header.open .wrap { flex-wrap: wrap; }
  .site-header.open .nav { display: flex; flex-direction: column; width: 100%; order: 3; border-top: 1px solid var(--line); padding: 8px 0; }
  .site-header.open .nav a { font-size: 22px; font-family: var(--display); font-style: normal; color: var(--paper); padding: 6px 0; }
  .site-header.open .header-cta { display: inline-flex; width: 100%; order: 4; margin-bottom: 12px; }
}

/* Breadcrumb and page head */
.crumbs { display: flex; gap: 10px; font-size: 15px; font-style: italic; color: var(--muted); padding-top: 40px; }
.crumbs a { color: var(--muted); }
.page-head { padding: 18px 0 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 28px 56px; align-items: end; }
.page-head > div { display: flex; flex-direction: column; gap: 18px; }

/* Sections and grids */
.section { padding: 72px 0; display: flex; flex-direction: column; gap: 32px; }
.section.tight { padding: 40px 0; }
.rule { border: 0; border-top: 3px double var(--line-2); margin: 0; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.head-row > div:not(.chips) { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr)); }
.grid.gap-1 { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid.gap-1 > * { background: var(--ink); }
.split { display: grid; gap: 24px 64px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: end; }

.card { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--paper); text-decoration: none; }
a.card:hover { border-color: var(--line-2); background: var(--ink-2); color: var(--paper); }
.card .card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 28px; line-height: 1.1; }
.card p { color: var(--paper-2); font-size: 16px; line-height: 1.55; }
.card .more { font-style: italic; margin-top: auto; }
.card.dashed { border-style: dashed; }
.card.boxed { background: var(--ink-2); }

.stat { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat .num { font-size: 48px; }
.stat .what { font-size: 15px; font-style: italic; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-style: italic; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--solo); }

/* Hero */
.hero { position: relative; padding: 80px 0 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 26px; position: relative; z-index: 1; }
.hero-art { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.moon { position: absolute; width: 440px; height: 440px; border-radius: 999px; top: 0; right: -70px; border: 1px solid var(--line-2);
  background: repeating-linear-gradient(-35deg, #3A342B 0 1px, transparent 1px 7px); }
.moon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 36% 36%, var(--ink) 0, var(--ink) 44%, transparent 45%); }
@media (max-width: 700px) { .hero { padding: 40px 0 48px; } .hero-art { min-height: 0; } .moon { width: 300px; height: 300px; right: -120px; top: -30px; } }

/* Telegram chat mock */
.chat { position: relative; width: 100%; max-width: 430px; background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.chat-head { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 18px; border-bottom: 3px double var(--line-2); }
.chat-head b { font-family: var(--display); font-weight: 400; font-size: 20px; display: block; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.msg { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px dotted var(--line); }
.msg:last-child { border-bottom: 0; padding-bottom: 0; }
.msg .who { font-size: 13px; font-style: italic; color: var(--village); }
.msg.me { align-items: flex-end; text-align: right; }
.msg.me .who { color: var(--muted); }
.msg.bot .who { font-style: normal; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.votes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.votes span { min-height: 44px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 300px), 100%), 1fr)); }
.steps > li { border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.steps > li .card-top { display: flex; justify-content: space-between; align-items: baseline; }
.steps > li .numeral { font-size: 30px; }
.steps > li h3 { font-size: 30px; }
.steps > li p { color: var(--paper-2); }
.steps.rows > li { flex-direction: row; gap: 22px; padding: 20px 22px; align-items: baseline; }
.steps.rows > li h3 { font-size: 22px; }
.steps.rows > li .numeral { min-width: 1.4em; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-2); padding: 3px 10px; font-size: 14px; font-style: italic; color: var(--paper); text-decoration: none; background: transparent; font-family: var(--text); cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
a.chip:hover, button.chip:hover { border-color: var(--paper); color: var(--paper); }
.chip[aria-pressed="true"], .chip.on { border-color: var(--accent); background: rgba(217, 96, 74, .12); }
.chip .count { color: var(--muted); font-style: normal; font-size: 12px; }

/* Side dots */
.side { display: inline-flex; align-items: center; gap: 8px; font-style: italic; font-size: 14px; color: var(--paper-2); }
.side::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--dot, var(--other)); }
.side-Village { --dot: var(--village); }
.side-Wolves { --dot: var(--wolves); }
.side-Cult { --dot: var(--cult); }
.side-Solo { --dot: var(--solo); }
.side-Other { --dot: var(--other); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.table td + td, .table th + th { padding-left: 16px; }
.table .r { text-align: right; }
.table .n { font-family: var(--mono); text-align: right; white-space: nowrap; }
.table .rank { color: var(--accent); width: 2.5em; }
.table tr:last-child td { border-bottom: 0; }
.panel { border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { font-size: 26px; }
.panel .empty { color: var(--muted); font-style: italic; }
.scroll-x { overflow-x: auto; }

/* Charts (server-rendered SVG) */
.chart { width: 100%; height: auto; display: block; }
.chart .bar { fill: var(--accent); }
.chart .bar.alt { fill: var(--line-2); }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart text { fill: var(--muted); font: italic 12px var(--text); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-style: italic; color: var(--muted); }
.hbar { display: grid; grid-template-columns: minmax(7em, 30%) 1fr auto; gap: 8px 14px; align-items: center; font-size: 15px; }
.hbar .track { height: 10px; background: var(--ink-3); }
.hbar .fill { height: 100%; background: var(--accent); }
.hbar .n { font-family: var(--mono); font-size: 14px; color: var(--paper-2); }

/* Prose (Markdown pages) */
.prose { max-width: 44rem; font-size: 18px; line-height: 1.7; color: var(--paper-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 32px; color: var(--paper); margin-top: 1.6em; line-height: 1.15; }
.prose h3 { font-size: 24px; color: var(--paper); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose strong { color: var(--paper); font-weight: 700; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding: 0 12px 8px 0; }
.prose td { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; vertical-align: baseline; }
.prose td:first-child { white-space: nowrap; font-family: var(--mono); color: var(--paper); }
.prose blockquote { margin-left: 0; padding-left: 18px; border-left: 2px solid var(--accent); font-style: italic; }

/* Page with a side table of contents */
.with-toc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding: 40px 0 72px; }
.toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 8px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.toc a { display: flex; gap: 12px; text-decoration: none; color: var(--paper-2); font-size: 15px; padding: 5px 0; }
.toc a:hover { color: var(--paper); }
.toc .numeral { font-size: 13px; min-width: 1.6em; padding-top: 2px; }
.with-toc.aside-right { grid-template-columns: minmax(0, 1fr) 280px; }
.aside { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 860px) { .with-toc, .with-toc.aside-right { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static; } }
/* A dated change: date beside the text, above it on phones */
.change { display: grid; grid-template-columns: minmax(8em, 20%) minmax(0, 1fr); gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .change { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.chapter { display: flex; flex-direction: column; gap: 22px; padding-bottom: 64px; }
.chapter > p { max-width: 44rem; font-size: 18px; line-height: 1.7; color: var(--paper-2); }

/* Compare table (bot vs card game) */
.compare { width: 100%; border-collapse: collapse; }
.compare th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; padding: 0 0 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.compare th:last-child { color: var(--accent); }
.compare td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.compare td:first-child { font-family: var(--display); font-size: 19px; width: 22%; }
.compare td:nth-child(2) { font-style: italic; color: var(--muted); width: 35%; }

/* FAQ and role rows: <details> */
.acc { border: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc details:first-child { border-top: 0; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--accent); font-size: 15px; }
.acc details[open] > summary::after { content: "–"; }
.acc details[open] > summary { background: var(--ink-2); }
.acc .answer { padding: 0 20px 18px; background: var(--ink-2); color: var(--paper-2); }
.acc .answer > * + * { margin-top: .8em; }

/* Roles */
.role-group { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.role-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.role-group-head h2 { font-size: 32px; display: flex; align-items: center; gap: 12px; }
.role-row summary { display: grid; grid-template-columns: minmax(10em, 22%) 1fr 9em 1em; gap: 16px; padding: 12px 16px; }
.role-row summary::after { text-align: right; }
.role-row .rn { font-family: var(--display); font-size: 20px; }
.role-row .rs { color: var(--paper-2); font-size: 16px; }
.role-row details[open] .rn { color: var(--accent-2); }
.role-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; padding: 8px 16px 22px; background: var(--ink-2); }
.role-detail .quote { font-style: italic; color: var(--paper-2); white-space: pre-line; }
@media (max-width: 700px) {
  .role-row summary { grid-template-columns: 1fr auto; }
  .role-row .rs { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .role-row .when { display: none; }
}
.filters { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 3px double var(--line-2); }
.filters .line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.filters .line > span { font-size: 14px; font-style: italic; color: var(--muted); min-width: 3.5em; }
.date-range { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; }
.date-range label { display: flex; flex-direction: column; gap: 2px; flex: 1 1 10em; min-width: 0; font-size: 13px; font-style: italic; color: var(--muted); }
.date-range input.field { border: 1px solid var(--line-2); padding: 0 10px; font-size: 15px; min-height: 44px; width: 100%; color-scheme: dark; }
/* Phones: two columns that never grow past their share, whatever the text size; the date filter takes a whole row. */
@media (max-width: 700px) {
  .filters .line.wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .filters .line.wrap > :is(span, #f-Period, .date-range, a) { grid-column: 1 / -1; }
  .filters .line.wrap select { width: 100%; text-overflow: ellipsis; }
  .date-range label { flex-basis: 100%; }
}
@media (max-width: 700px) { .filters .line { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .chip { white-space: nowrap; } }

/* Inputs */
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); padding: 0 14px; min-height: 52px; background: transparent; }
.search input, .field { flex: 1; background: transparent; border: 0; color: var(--paper); font: 400 18px var(--text); min-height: 48px; min-width: 0; }
.search input::placeholder, .field::placeholder { color: var(--muted); font-style: italic; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--accent); }
.find { border: 1px solid var(--line-2); padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.find form { display: flex; gap: 10px; flex-wrap: wrap; }
.find .field { border-bottom: 1px solid var(--line-2); flex: 1 1 14em; }
select.field { border: 1px solid var(--line-2); padding: 0 10px; font-size: 15px; min-height: 40px; color-scheme: dark; }

/* Tabs (links) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-top: 3px double var(--line-2); padding-top: 22px; }

/* Group cards */
.glyph { font-family: var(--black); font-size: 30px; color: var(--accent); line-height: 1; }
.lang { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.site-footer .wrap { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); padding-top: 40px; padding-bottom: 32px; }
.site-footer h2 { font-family: var(--text); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { color: var(--muted); text-decoration: none; font-size: 15px; min-height: 32px; display: inline-flex; align-items: center; }
.site-footer li a:hover { color: var(--paper); }
.site-footer .about { font-size: 15px; font-style: italic; color: var(--muted); max-width: 18rem; }
.site-footer .bottom { border-top: 1px solid var(--line); }
.site-footer .bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 16px; padding-bottom: 24px; font-size: 14px; color: var(--muted); }

/* Final call to action */
.cta { position: relative; overflow: hidden; border-top: 3px double var(--line-2); padding: 88px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 999px; border: 1px solid var(--line); left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: repeating-linear-gradient(-35deg, #2A2520 0 1px, transparent 1px 7px); z-index: -1; }
.cta p { font-style: italic; color: var(--paper-2); font-size: 18px; }

.notice { border: 1px dashed var(--line-2); padding: 18px 22px; color: var(--muted); font-style: italic; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Guidelines: numbered sections */
.guidelines { counter-reset: g; }
.guidelines h2 { counter-increment: g; }
.guidelines h2::before { content: counter(g, lower-roman) ". "; color: var(--accent); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 32px; align-items: start; padding-bottom: 40px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
  .grid.gap-1 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .stat { padding: 16px 18px; }
  .stat .num { font-size: 36px; }
}

/* Parts of player and group pages that load after the page */
.lazy { border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; min-width: 0; padding: 24px;
  background: linear-gradient(100deg, transparent 30%, rgba(230, 220, 198, .04) 50%, transparent 70%) var(--ink); background-size: 300% 100%;
  animation: lazy-shine 1.6s ease-in-out infinite; }
.lazy .loading { font-style: italic; color: var(--muted); font-size: 15px; }
.lazy[data-part="filters"] { border-style: dashed; margin: 18px 0; }
@keyframes lazy-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .lazy { animation: none; } }
