/* The new look (Jon, 2026-10-15, from the v3 mockup): one dark palette, Inter for reading, Playfair Display for headings,
   JetBrains Mono for labels, glass panels. Loaded on every page after the page's own styles. The html:root selector
   outranks each page's :root, so the colour and font variables every page already uses take these values. Pages with
   a look of their own (the films) carry html.own-look and keep theirs; only the header and the player change there. */
/* The fonts (Inter, Playfair Display, JetBrains Mono) are linked from site_nav.HEAD, not imported here: an @import would
   hold this whole sheet back until the fonts' stylesheet arrived, and the page would flash unstyled. */
html:root:not(.own-look) {
  --bg: #0c0c10; --space: #0c0c10; --surface: rgba(24, 24, 31, 0.6); --panel: rgba(30, 30, 42, 0.4);
  --ink: #e6e6eb; --cream: #e6e6eb; --fg: #e6e6eb; --soft: #cfd0d9; --muted: #838495; --dim: #7a7b8f;
  --rule: rgba(255, 255, 255, 0.08); --line: rgba(255, 255, 255, 0.08);
  --red: #a855f7; --red-text: #22d3ee; --accent: #22d3ee; --gold: #f59e0b; --amber: #f59e0b; --green: #10b981; --violet: #a855f7;
  --pu: #a855f7; --cy: #06b6d4; --cy-text: #22d3ee; --em: #10b981; --am: #f59e0b; --rose: #f43f5e;
  /* the four seats, in the colours of their name plates in the Roundtable picture (Jon, 2026-10-15: "fix the colors") */
  --claude: #d9a06b; --gpt: #7fc29b; --gemini: #9aa0f0; --grok: #e2e4de;
  --serif: "Playfair Display", Georgia, serif; --sans: Inter, system-ui, sans-serif; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}
html:not(.own-look) { background: var(--bg); }
html:not(.own-look) body { background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 300; }
html:not(.own-look) body::before {                     /* the soft glow and faint grid behind every page */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.3;
  background: radial-gradient(420px 420px at -60px -60px, rgba(168, 85, 247, 0.35), transparent 70%),
              radial-gradient(420px 420px at calc(100% + 60px) 35%, rgba(6, 182, 212, 0.35), transparent 70%),
              radial-gradient(420px 420px at 33% calc(100% + 60px), rgba(16, 185, 129, 0.25), transparent 70%),
              linear-gradient(to right, rgba(31, 31, 46, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(31, 31, 46, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px; }
html:not(.own-look) :is(h1, h2, h3) { font-family: var(--serif); font-weight: 700; color: #fff; }
html:not(.own-look) h1 { font-weight: 400; }
html:not(.own-look) b, html:not(.own-look) strong { font-weight: 600; }
html:not(.own-look) :is(button, input, select, textarea, summary) { font-family: inherit; }
html:not(.own-look) a { text-decoration-color: var(--red-text); }
/* links a page doesn't colour itself: light grey, not the browser's dark blue, which can't be read on this background
   (Jon, 2026-10-20: "the very small print in blue is unreadable"). :where() keeps it weaker than any page's own link colour. */
:where(html:not(.own-look) a) { color: var(--soft); }
html:not(.own-look) ::selection { background: var(--pu); color: #fff; }
html:not(.own-look) .label.sec, html:not(.own-look) .trunk-head .d { color: var(--cy-text); }

/* glass where the old pages drew plain boxes */
html:not(.own-look) :is(.tease, .suggest form, .forum form, .post, .latest li, .year-panel, .glossary .term:target, .zl-list li) {
  background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--rule); border-radius: 16px; }
html:not(.own-look) .tease { padding: 22px 24px 12px; }
html:not(.own-look) .hero img { box-shadow: 0 0 0 1px var(--rule), 0 40px 100px -50px rgba(168, 85, 247, 0.45); }
/* the old red fills become the purple accent */
html:not(.own-look) :is(.map a, .newbie a, .suggest summary, .branch button, .zpager a):hover,
html:not(.own-look) .suggest[open] summary { border-color: var(--pu); background: rgba(168, 85, 247, 0.12); }
html:not(.own-look) :is(.suggest button, .forum button[type="submit"]) { border-color: var(--pu); background: rgba(168, 85, 247, 0.16); }
html:not(.own-look) :is(.suggest button, .forum button[type="submit"]):hover { background: rgba(168, 85, 247, 0.3); }
html:not(.own-look) :is(.post.panel, .latest li.panel) { border-color: rgba(168, 85, 247, 0.45); background: rgba(168, 85, 247, 0.06); }
html:not(.own-look) :is(.newbie a, .suggest summary, .branch button, .map a) { font-style: normal; font-family: var(--sans); font-weight: 500; }
html:not(.own-look) .days a.day .tag::after, html:not(.own-look) .newbie .arr, html:not(.own-look) .suggest .arr, html:not(.own-look) .map a::after { color: var(--cy-text); }

/* each seat in its own colour: the name on a Roundtable answer, a panelist's forum post, the cards on the home page */
[id^="claude-"] .who b, .post.panel[data-seat="claude"] .who b, .post.panel[data-seat="claude"] .badge, .panel[data-seat="claude"] .who b, .c-claude { color: var(--claude); border-color: var(--claude); }
[id^="gpt-"] .who b, .post.panel[data-seat="gpt"] .who b, .post.panel[data-seat="gpt"] .badge, .panel[data-seat="gpt"] .who b, .c-gpt { color: var(--gpt); border-color: var(--gpt); }
[id^="gemini-"] .who b, .post.panel[data-seat="gemini"] .who b, .post.panel[data-seat="gemini"] .badge, .panel[data-seat="gemini"] .who b, .c-gemini { color: var(--gemini); border-color: var(--gemini); }
[id^="grok-"] .who b, .post.panel[data-seat="grok"] .who b, .post.panel[data-seat="grok"] .badge, .panel[data-seat="grok"] .who b, .c-grok { color: var(--grok); border-color: var(--grok); }
.c-claude { background: rgba(217, 160, 107, 0.12); } .c-gpt { background: rgba(127, 194, 155, 0.12); } .c-gemini { background: rgba(154, 160, 240, 0.12); } .c-grok { background: rgba(226, 228, 222, 0.1); }

/* shared pieces (the home page uses them; any page can) */
.glass { background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 24px; }
.card { background: var(--panel); border-radius: 16px; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.card:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: opacity 0.2s, background 0.2s; }
.btn-white { background: #fff; color: var(--bg); } .btn-white:hover { background: #e6e6eb; }
.btn-glass { background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; } .btn-glass:hover { background: rgba(255, 255, 255, 0.1); }
.btn-dim { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: #cfd0d9; font-size: 13px; padding: 10px 16px; } .btn-dim:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-grad { background: linear-gradient(90deg, var(--pu), var(--cy)); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 12px 20px; border-radius: 10px; box-shadow: 0 10px 20px -8px rgba(168, 85, 247, 0.5); }
.btn-grad:hover { opacity: 0.9; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font: 500 11px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid; }
.tag.rose { color: var(--rose); background: rgba(244, 63, 94, 0.1); border-color: rgba(244, 63, 94, 0.3); }
.tag.pu { color: var(--pu); background: rgba(168, 85, 247, 0.1); border-color: rgba(168, 85, 247, 0.3); }
.tag.cy { color: var(--cy-text); background: rgba(6, 182, 212, 0.1); border-color: rgba(6, 182, 212, 0.3); }
.tag.em { color: var(--em); background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
.mono { font: 500 11px/1.5 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.mono.sm, .sm { font-size: 11px; letter-spacing: 0.06em; }
.dim { color: var(--dim); } .muted { color: var(--muted); } .soft { color: var(--soft); font-style: italic; font-weight: 400; }
.cy { color: var(--cy-text); } .pu { color: var(--pu); } .em { color: var(--em); } .am { color: var(--am); } .rose { color: var(--rose); }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.sm { width: 15px; height: 15px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; align-items: center; } .between { justify-content: space-between; } .center { justify-content: center; } .end { align-items: flex-end; }
.gap { gap: 16px; } .wrapr { flex-wrap: wrap; gap: 16px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--cy-text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
