@charset "UTF-8";
/* The browser owns theme selection; no stored preference overrides the system. */
/* OpenAI's public webfont files; explicit weights avoid synthetic headings. */
@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v2/OpenAISans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --panel: #f7f7f7;
  --ink: #181818;
  --muted: #5d5d5d;
  --line: #dedede;
  --accent: #181818;
  --control: #ffffff;
  --control-border: #8c8c8c;
  --hover: #e9e9e9;
  --node: #ffffff;
  --node-border: #898989;
  --node-open-border: #789181;
  --node-closed-border: #9481a5;
  --reference: #326b42;
  --official_duplicate: #7653a5;
  --similarity: #236796;
  --hypothesis: #805b0b;
  --opposite: #b03f43;
  font-family: "OpenAI Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
@media screen and (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;
    --panel: #171717;
    --ink: #f2f2f2;
    --muted: #ababab;
    --line: #343434;
    --accent: #f2f2f2;
    --control: #252525;
    --control-border: #767676;
    --hover: #333333;
    --node: #202020;
    --node-border: #808080;
    --node-open-border: #607d68;
    --node-closed-border: #82738f;
    --reference: #a9d7b3;
    --official_duplicate: #c5b3ec;
    --similarity: #9bc9e8;
    --hypothesis: #e3c277;
    --opposite: #efa3a6;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, .graph-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.masthead, main, footer { width: min(1328px, calc(100% - 96px)); margin-inline: auto; }
.masthead { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-size: 1rem; font-weight: 600; letter-spacing: -.025em; }
.masthead-right, .languages { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.repo-link, .languages { font-size: .875rem; color: var(--muted); }
.languages [aria-current] { color: var(--accent); }
.skip { position: absolute; inset-block-start: -100px; inset-inline-start: 20px; z-index: 10; background: var(--accent); color: var(--bg); padding: 10px 16px; }
.skip:focus { inset-block-start: 12px; }
.edition { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px 0; color: var(--muted); font-size: .8125rem; }
.edition time { color: var(--ink); margin-inline-start: 8px; }
.observatory { display: grid; gap: 0; }
.clock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: 72px 80px; }
.clock-copy, .clock-reading { min-width: 0; }
.clock .fine { max-width: 52ch; }
.clock-copy .fine { margin-block-end: 0; }
.eyebrow, .section-number { font-size: .8125rem; font-weight: 500; color: var(--muted); margin: 0 0 16px; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4.5rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; margin: 0 0 24px; max-width: 13ch; text-wrap: balance; }
.counter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px; margin-block: 0 28px; }
.digits { display: block; font-size: clamp(7rem, 14vw, 12rem); font-weight: 500; letter-spacing: -.075em; line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; }
.counter-unit { display: block; font-size: 1.125rem; max-width: 16ch; margin-block-end: 6px; }
.anchor-link { color: var(--accent); font-size: .875rem; }
.fine { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); padding-block-start: 24px; margin-block: 24px 0; gap: 24px; max-width: 420px; }
.stats strong { display: block; font-size: 2rem; font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.stats span { display: block; color: var(--muted); font-size: .875rem; margin-block-start: 8px; }
.satire { font-size: 1.125rem; color: var(--ink); max-width: 34ch; margin-block: 0 20px; }
.network { min-width: 0; background: var(--panel); border-radius: 16px; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 32px 0; }
h2 { font-weight: 500; font-size: 1.75rem; letter-spacing: -.035em; line-height: 1.2; margin: 0; text-wrap: balance; }
.panel-heading > a { color: var(--muted); font-size: .875rem; }
.network-hint { color: var(--muted); font-size: .875rem; padding-inline: 32px; margin: 16px 0 24px; max-width: 84ch; }
.status-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 0 32px 20px; color: var(--muted); font-size: .8125rem; }
.status-key { background: var(--node); border: 1px solid var(--node-border); border-radius: 5px; padding: 3px 9px; color: var(--ink); white-space: nowrap; }
.recovery-key { position: relative; }
.recovery-key::after { content: ""; position: absolute; top: -2px; right: 12px; width: 18px; height: 3px; border-radius: 2px; background: var(--node-closed-border); }
[data-node-state="open"] { --node-border: var(--node-open-border); }
[data-node-state="closed"] { --node-border: var(--node-closed-border); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0 32px; }
.filters legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--control-border); border-radius: 999px; background: var(--control); color: var(--ink); font-size: .875rem; text-align: start; }
.filter:hover { background: var(--hover); }
.filter[aria-pressed="false"] { border-style: dashed; color: var(--muted); background: transparent; }
.filter[aria-pressed="false"] .type-symbol { filter: grayscale(1); }
.filter:disabled { cursor: default; border-color: var(--line); color: var(--muted); }
.count { color: var(--muted); font-variant-numeric: tabular-nums; }
.type-symbol { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid currentColor; border-radius: 5px; font-size: .8125rem; font-weight: 500; }
.reference { color: var(--reference); }
.official_duplicate { color: var(--official_duplicate); }
.similarity { color: var(--similarity); }
.hypothesis { color: var(--hypothesis); }
.opposite { color: var(--opposite); }
.filter-count { color: var(--muted); padding-inline: 32px; margin-block: 12px 0; font-size: .8125rem; }
.graph-scroll { overflow-x: auto; overscroll-behavior-inline: contain; margin-top: 10px; }
.graph-scroll svg { display: block; width: 100%; min-width: 950px; height: auto; }
.graph-controls { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 32px 0; }
.graph-controls button { border: 1px solid var(--control-border); border-radius: 999px; padding: 8px 14px; background: var(--control); color: var(--ink); font-size: .8125rem; }
.graph-controls button:hover { background: var(--hover); }
.graph-controls button:disabled { cursor: default; color: var(--muted); border-color: var(--line); }
.graph-interaction { margin: 12px 0 16px; padding-inline: 32px; color: var(--muted); font-size: .8125rem; }
.force-graph .node { cursor: grab; touch-action: none; user-select: none; }
.force-graph .node.dragging { cursor: grabbing; }
.edge { fill: none; stroke: currentColor; stroke-width: 1.4; }
.graph-arrow { fill: currentColor; }
.edge.opposite { stroke-width: 2.5; opacity: .95; }
.edge.edge-muted { opacity: .28; }
.edge.edge-dimmed { opacity: .12; }
.edge.edge-highlighted, .edge:hover { opacity: 1; }
.node { text-decoration: none; }
.node rect { fill: var(--node); stroke: var(--node-border); stroke-width: 1; }
.recovery-mark { display: none; fill: none; stroke: var(--node-closed-border); stroke-width: 3; stroke-linecap: round; pointer-events: none; }
.node[data-node-state="open"][data-node-recovery="uncontradicted"] .recovery-mark { display: inline; }
.node-id { fill: var(--ink); font: 600 16px ui-monospace, Consolas, monospace; }
.node-label { fill: var(--muted); font-size: 14px; font-family: inherit; }
.anchor-node rect { stroke-width: 2; }
.anchor-node .node-id { fill: var(--accent); }
.hub-node rect { stroke: var(--node-border); stroke-width: 2; }
.node:hover rect, .node:focus rect { stroke-width: 3; fill: var(--hover); }
.node:hover .node-label, .node:focus .node-label { fill: var(--ink); }
.graph-note { padding: 16px 32px; margin: 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.reports, .relationships, .method { margin-top: 88px; scroll-margin-top: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-heading h2, .method h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section-intro { color: var(--muted); max-width: 85ch; margin-block: 16px 25px; }
#refresh { color: var(--ink); background: var(--panel); border: 1px solid var(--control-border); border-radius: 999px; padding: 10px 18px; font-size: .875rem; font-weight: 500; }
#refresh:hover { background: var(--hover); }
#refresh:disabled { color: var(--muted); background: var(--panel); border-color: var(--line); cursor: wait; }
.live-note { color: var(--muted); border-inline-start: 2px solid var(--line); padding-inline-start: 16px; font-size: .875rem; margin-block: 20px; max-width: 95ch; }
.live-note p { margin: 6px 0; }
#refresh-status { color: var(--ink); }
.issue-list { border-top: 1px solid var(--line); }
.issue { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.issue-number > a { font: 1.125rem ui-monospace, Consolas, monospace; color: var(--accent); text-decoration: none; }
.issue-number > a:hover { text-decoration: underline; }
.issue-state { display: block; margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.issue-state::before { content: "○ "; }
.issue-state.closed::before { content: "◇ "; }
.issue-state.live { color: var(--accent); }
h3 { font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 0; }
h3 a { text-decoration: none; }
h3 a:hover { text-decoration: underline; }
.issue-content p { margin: 10px 0 0; max-width: 80ch; color: var(--muted); }
.issue-content .issue-dates { font-size: .8125rem; color: var(--muted); }
.review-date { color: var(--muted); font-size: .875rem; margin: 0; }
.review-date time { color: var(--ink); }
.relationship-groups { border-top: 1px solid var(--line); }
.relationship-group { border-bottom: 1px solid var(--line); padding-block: 20px; }
.relationship-group summary { cursor: pointer; font-weight: 600; font-size: 1rem; }
.relationship-group summary .type-symbol { margin-inline: 8px; vertical-align: middle; }
.group-count { font-weight: 400; font-size: .875rem; color: var(--muted); margin-inline-start: 12px; }
.type-description, .empty-category { color: var(--muted); margin: 18px 0; max-width: 100ch; }
.edge-ledger { list-style: none; margin: 0; padding: 0; }
.edge-ledger li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; padding: 18px 0; border-top: 1px solid var(--line); }
.edge-pair { display: flex; gap: 10px; align-items: start; font: .875rem ui-monospace, Consolas, monospace; padding-top: 4px; }
.edge-pair span { color: var(--muted); }
.edge-ledger p { margin: 0; max-width: 100ch; }
.sources { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .875rem; margin-top: 9px; }
.method { border-top: 1px solid var(--line); padding-block-start: 40px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin-top: 24px; }
.method-grid p { color: var(--muted); margin: 0 0 20px; }
.no-script { padding: 18px; border: 1px solid var(--line); color: var(--muted); }
footer { margin-block: 56px 32px; padding-block-start: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: .875rem; }
footer strong { font-weight: 500; }
footer p { color: var(--muted); margin: 6px 0 0; }
.data-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); }
/* Codey v6 from Codex Windows package 26.903.8094.0.
   Eight columns and eleven rows of 192 × 208 cells; artwork belongs to OpenAI. */
.pet-overlay {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 10;
  width: 96px;
  aspect-ratio: 192 / 208;
  border: 0;
  padding: 0;
  background-color: transparent;
  appearance: none;
  background-image: url("./codex-spritesheet-v6-51045ae208c0.webp");
  background-repeat: no-repeat;
  background-size: 800% 1100%;
  background-position: 0 0;
  image-rendering: pixelated;
  pointer-events: none;
  user-select: none;
}
.pet-overlay:enabled { pointer-events: auto; touch-action: none; cursor: grab; }
.pet-overlay.dragging { cursor: grabbing; }
@keyframes pet-idle {
  0%, 100% { background-position: 0 0; }
  25.4545% { background-position: 14.285714% 0; }
  35.4545% { background-position: 28.571429% 0; }
  45.4545% { background-position: 42.857143% 0; }
  58.1818% { background-position: 57.142857% 0; }
  70.9091% { background-position: 71.428571% 0; }
}
/* Codex 26.903: hover plays row 4 three times, then resumes idle.
   Five frames: 140 ms each, with a 280 ms hold on the final frame. */
@keyframes pet-jump {
  0% { background-position: 0 40%; }
  16.6667% { background-position: 14.285714% 40%; }
  33.3333% { background-position: 28.571429% 40%; }
  50% { background-position: 42.857143% 40%; }
  66.6667%, 100% { background-position: 57.142857% 40%; }
}
/* A separate name starts a fresh idle clock after the hover reaction. */
@keyframes pet-idle-after-hover {
  0%, 100% { background-position: 0 0; }
  25.4545% { background-position: 14.285714% 0; }
  35.4545% { background-position: 28.571429% 0; }
  45.4545% { background-position: 42.857143% 0; }
  58.1818% { background-position: 57.142857% 0; }
  70.9091% { background-position: 71.428571% 0; }
}
/* Eight locomotion frames: seven at 120 ms, the last at 220 ms. */
@keyframes pet-run {
  0% { background-position: 0 var(--pet-run-row); }
  11.3208% { background-position: 14.285714% var(--pet-run-row); }
  22.6415% { background-position: 28.571429% var(--pet-run-row); }
  33.9623% { background-position: 42.857143% var(--pet-run-row); }
  45.2830% { background-position: 57.142857% var(--pet-run-row); }
  56.6038% { background-position: 71.428571% var(--pet-run-row); }
  67.9245% { background-position: 85.714286% var(--pet-run-row); }
  79.2453%, 100% { background-position: 100% var(--pet-run-row); }
}
@media (prefers-reduced-motion: no-preference) {
  .pet-overlay { animation: pet-idle 6.6s step-end infinite; }
  .pet-overlay:enabled:hover, .pet-overlay:focus-visible {
    animation: pet-jump .84s step-end 3, pet-idle-after-hover 6.6s step-end 2.52s infinite;
  }
  .pet-overlay.dragging[data-run-direction] { animation: pet-run 1.06s step-end infinite; }
  .pet-overlay[data-run-direction="right"] { --pet-run-row: 10%; }
  .pet-overlay[data-run-direction="left"] { --pet-run-row: 20%; }
}
@media (max-width: 1050px) {
  .masthead, main, footer { width: calc(100% - 48px); }
  .clock { gap: 32px; padding-block: 56px 64px; }
}
@media (max-width: 760px) {
  .clock { grid-template-columns: 1fr; gap: 36px; }
  h1 { max-width: 16ch; }
  .clock-reading { max-width: 520px; }
  .digits { font-size: clamp(6rem, 22vw, 10rem); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .method-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pet-overlay { width: 72px; }
  .masthead, main, footer { width: calc(100% - 32px); }
  .masthead { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 20px; }
  .brand { font-size: .9375rem; }
  .edition { padding-block-start: 20px; }
  .clock { padding-block: 40px 48px; }
  .counter { gap: 16px; }
  .counter-unit { font-size: 1rem; }
  .network { border-radius: 12px; }
  .panel-heading { align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px 16px 0; }
  .network-hint, .status-legend, .filters, .filter-count, .graph-note, .graph-controls, .graph-interaction { padding-inline: 16px; }
  .issue, .edge-ledger li { grid-template-columns: 1fr; gap: 12px; }
  .issue-number { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
  .issue-state { margin: 0; }
  .reports, .relationships, .method { margin-top: 56px; }
  .method { padding-block-start: 28px; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  .filter, .node rect { transition: background-color .15s, stroke .15s, fill .2s; }
  /* Match the hover gap's quick opening and slower settling. */
  .edge { transition: opacity 1.5s cubic-bezier(.22, 1, .36, 1); }
}
@media print {
  :root { color-scheme: light; --bg: white; --panel: white; --ink: #111; --muted: #333; --line: #bbb; --accent: #111; }
  .masthead, main, footer { width: 100%; }
  .filters, .status-legend, .refresh-controls, .live-note, .graph-scroll, .graph-note, .graph-controls, .graph-interaction, .pet-overlay { display: none !important; }
  .observatory { display: block; }
  .clock { display: block; }
  .digits { font-size: 4rem; }
  .network { margin-top: 20px; }
  .reports, .relationships, .method { margin-top: 30px; }
  .issue, .edge-ledger li { break-inside: avoid; }
}

@media (forced-colors: active) {
  :root {
    --bg: Canvas; --panel: Canvas; --ink: CanvasText; --muted: CanvasText;
    --line: GrayText; --accent: LinkText; --control: ButtonFace;
    --control-border: ButtonText; --hover: Canvas; --node: Canvas;
    --node-border: CanvasText; --node-open-border: CanvasText; --node-closed-border: CanvasText;
    --reference: LinkText; --official_duplicate: LinkText;
    --similarity: LinkText; --hypothesis: LinkText; --opposite: LinkText;
  }
  .node:hover rect, .node:focus rect { stroke: Highlight; }
}
