:root {
  --paper: #f6f4e9;
  --ink: #302f3a;
  --purple: #363147;
  --orange: #e88843;
  --muted: #777b78;
  --line: #c7c9bd;
  --mono: "Courier New", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  color: var(--ink);
  background: #e5e7dc;
  background-image: radial-gradient(#7d847b30 .7px, transparent .7px);
  background-size: 6px 6px;
  font: 14px/1.7 Arial, sans-serif;
}
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #b35422;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.system-line { background: var(--purple); color: #d4d3c8; border-bottom: 3px solid #e7a05c; }
.system-line .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; font: 10px/1.5 var(--mono); letter-spacing: 1px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 26px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; font: 900 25px/1.1 Arial, sans-serif; letter-spacing: -.8px; }
.brand small { display: block; margin-top: 7px; color: #69716a; font: 10px/1.5 var(--mono); letter-spacing: 0; }
.header nav { display: flex; gap: 5px; }
.header nav a { padding: 8px 17px; border: 1px solid #b7bcac; background: #f5f4e9; text-decoration: none; font: bold 12px/1.5 Arial, sans-serif; box-shadow: inset 1px 1px white, 2px 2px #bdc1b0; }
.header nav a:hover { background: #f8d8a5; }
.header nav .active { background: var(--purple); color: #fff2d5; border-color: #302b41; box-shadow: inset 1px 1px #726783, 2px 2px #b5b9a8; }
.hero { display: grid; grid-template-columns: .84fr 1.35fr; background: var(--purple); border: 1px solid #3d3d44; box-shadow: 5px 5px #b5baaa; min-height: 356px; }
.hero-copy { padding: 33px 30px 25px; color: #faf3dc; display: flex; flex-direction: column; align-items: flex-start; }
.case-tag { display: inline-block; padding: 4px 8px; background: #514153; border: 1px solid #99765e; color: #f2c18b; font: 9px/1.5 var(--mono); letter-spacing: 1px; }
h1 { font: 900 clamp(35px, 4vw, 53px)/1.08 Arial, sans-serif; letter-spacing: -1.9px; margin: 20px 0 5px; }
h1 span { color: #efab5b; }
.subtitle { color: #f0bb78; font: 19px/1.5 Georgia, serif; margin: 0 0 17px; }
.hero-copy>p:not(.subtitle) { color: #d1ccd2; font-size: 14px; margin: 0 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; text-decoration: none; background: #eeeade; color: #35313e; font-weight: bold; font-size: 12px; padding: 11px 16px; border: 1px solid #c9beac; box-shadow: inset 1px 1px #fff6df, 3px 3px #211f2c; }
.orange-button { background: #eea257; border-color: #ffc589; }
.button:hover { background: #ffd398; }
.hero-foot { display: flex; gap: 20px; justify-content: space-between; align-items: center; width: 100%; margin-top: auto; padding-top: 23px; color: #b6acbb; font: 9px/1.5 var(--mono); letter-spacing: .6px; }
.hero-foot b { color: #e7b37a; font-size: 12px; }
.hero-image { margin: 0; min-width: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hero-image img { width: 100%; height: 100%; min-height: 325px; display: block; object-fit: cover; object-position: 67% 50%; }
.hero-image figcaption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 13px; background: #242332e8; color: #ead6ba; font: 9px/1.5 var(--mono); }
.demo-notice { display: flex; align-items: center; gap: 13px; background: #f1e7c7; border: 1px solid #cabd8e; padding: 13px 16px; margin-top: 20px; }
.demo-notice>span:first-child { display: grid; place-items: center; width: 23px; height: 23px; flex-shrink: 0; background: #c09b54; color: white; border-radius: 50%; font: bold 17px Georgia, serif; }
.demo-notice p { font-size: 12px; color: #716242; margin: 0; }
.read-only { flex-shrink: 0; margin-left: auto; font: 9px var(--mono); letter-spacing: .8px; color: #857147; }
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; color: #747b70; font: 10px/1.6 var(--mono); margin: 24px 0 15px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs strong { font-weight: normal; color: #3d4c42; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.forum-main { min-width: 0; }
#forum { border: 1px solid #aeb5a6; box-shadow: 3px 3px #c4c8b9; background: var(--paper); scroll-margin-top: 15px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 15px; background: var(--purple); color: #f8eed7; border-top: 1px solid #777082; border-bottom: 1px solid #1e1e28; }
h2 { margin: 0; font: bold 19px/1.3 Arial, sans-serif; }
.panel-heading h2 { font-size: 15px; }
.panel-heading h2>span { margin-right: 6px; color: #e8a45a; }
.panel-heading>span { font: 9px/1.5 var(--mono); color: #cac2cc; text-align: right; }
.forum-toolbar { display: flex; align-items: stretch; gap: 10px; padding: 15px; background: #eeeede; }
.search { position: relative; flex: 1; min-width: 0; }
.search input { width: 100%; padding: 10px 35px 10px 11px; color: #3b3a43; background: #fffdf5; border: 1px solid #a9b09f; border-top-color: #8d9686; font-size: 12px; border-radius: 0; }
.search>span:last-child { position: absolute; right: 12px; top: 3px; color: #8b917e; font-size: 24px; pointer-events: none; }
.forum-toolbar button, #reset-search { padding: 8px 12px; border: 1px solid #b1b6a5; background: #e0e3d6; color: #3e4b3e; box-shadow: inset 1px 1px #fffef1; font-size: 11px; }
.forum-toolbar button:hover, #reset-search:hover { background: #d1d8bf; }
.forum-filters { display: flex; flex-wrap: wrap; padding: 0 15px 14px; gap: 5px; background: #eeeede; }
.forum-filters button { padding: 6px 11px; border: 1px solid #bbc1b0; background: transparent; color: #67705d; font: 11px/1.5 Arial, sans-serif; }
.forum-filters button[aria-pressed=true] { color: #fff8e9; background: #5c674d; border-color: #5c674d; }
.forum-filters button>span { margin-left: 5px; font: 10px var(--mono); opacity: .8; }
.table-caption { display: flex; justify-content: space-between; gap: 12px; padding: 7px 15px; background: #d7ddcb; color: #63705b; font: 8px/1.5 var(--mono); letter-spacing: .6px; border-block: 1px solid #b3bda8; }
.thread { border-bottom: 1px solid #c9ccbe; }
.thread>summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 65px 56px 15px; align-items: center; gap: 13px; padding: 19px 15px; list-style: none; }
.thread>summary::-webkit-details-marker { display: none; }
.thread>summary:hover { background: #eeefdf; }
.thread[open]>summary { background: #f3dfbd; border-bottom: 1px solid #cebc9e; }
.topic-icon { display: grid; place-items: center; width: 34px; height: 34px; background: #e1e4d7; color: #6b725e; border: 1px solid #b3bba4; box-shadow: inset 2px 2px #f8faed; font: bold 23px/1 var(--mono); }
.thread[open] .topic-icon { background: #dda35f; color: #fff7e3; border-color: #bb884e; box-shadow: inset 1px 1px #ffe0a4; }
.topic-title { display: block; }
.topic-title strong { display: block; font-size: 13px; line-height: 1.5; color: #3f394a; }
.topic-title small { display: block; font-size: 10px; line-height: 1.6; color: #858676; margin-top: 4px; }
.pin { display: inline-block; font: bold 8px/1.3 var(--mono); letter-spacing: .5px; background: #d29251; color: white; padding: 2px 5px; margin-bottom: 5px; }
.topic-label { font: 9px/1.5 Arial, sans-serif; color: #7a826a; }
.reply-count { text-align: center; color: #727865; }
.reply-count b { display: block; font: bold 17px/1.3 var(--mono); }
.reply-count small { font-size: 8px; }
.topic-arrow { font: 20px/1 var(--mono); color: #8b927c; }
.thread[open] .topic-arrow { font-size: 0; }
.thread[open] .topic-arrow:after { content: "−"; font-size: 20px; color: #986d3c; }
.thread-tools { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 15px; background: #ebe9db; color: #8a8672; font: 9px/1.5 var(--mono); }
.bookmark { background: #fff8e8; border: 1px solid #bfba9e; color: #806d47; padding: 5px 10px; font: 10px/1.5 Arial, sans-serif; flex-shrink: 0; }
.bookmark[aria-pressed=true] { background: #e3b36e; color: #513f29; }
.post { display: grid; grid-template-columns: 142px minmax(0, 1fr); background: #fffdf4; border-top: 1px solid #cccdbb; }
.post-author { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; background: #e8eadd; padding: 18px 12px; border-right: 1px solid #cdd1bf; overflow-wrap: anywhere; }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; font: bold 17px/1 var(--mono); border: 2px solid #ffffff66; box-shadow: 2px 2px #00000014; }
.avatar.orange { background: #d68f4b; color: #fff1d5; }
.avatar.purple { background: #776780; color: #f0e5ed; }
.avatar.green { background: #7b8f65; color: #f3f3d4; }
.avatar.blue { background: #658590; color: #e4f1e7; }
.post-author strong { display: block; font: bold 10px/1.5 Arial, sans-serif; color: #4e5849; }
.post-author small { display: block; font: 9px/1.6 Arial, sans-serif; color: #91957f; margin-top: 4px; }
.post-body { padding: 16px 20px 20px; min-width: 0; font-size: 13px; line-height: 1.8; }
.post-meta { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px dashed #d5d3bf; padding-bottom: 8px; margin-bottom: 13px; font: 8px/1.5 var(--mono); color: #a3a08c; }
.post-body p { margin: 0 0 12px; }
.post-body p:last-child { margin-bottom: 0; }
.post-body a { color: #78542f; font-size: 11px; }
.post-body .signature { border-top: 1px dashed #d2cdb3; padding-top: 10px; margin-top: 18px; color: #92917d; font: italic 12px Georgia, serif; }
.post-image { width: 100%; height: auto; display: block; border: 3px double #aab19e; margin-top: 15px; }
.post-body blockquote { margin: 14px 0; padding: 12px 16px; background: #ede8d9; border-left: 3px solid #c19459; font: italic 17px/1.5 Georgia, serif; }
.post-body .post-note { font-size: 10px; color: #8e907b; }
.spoiler { margin-top: 10px; border: 1px solid #bfc5b1; background: #f3f3e8; }
.spoiler summary { padding: 9px 12px; font-size: 11px; font-weight: bold; color: #55694b; }
.spoiler p { padding: 4px 13px 13px; font-size: 12px; }
.thread-bottom { display: flex; gap: 15px; flex-wrap: wrap; padding: 9px 15px; background: #dfdfcf; color: #817e68; font: 8px/1.5 var(--mono); }
.thread-bottom>span { margin-left: auto; }
.forum-status { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 11px 15px; color: #8b8e7b; background: #edeee2; font: 9px/1.6 var(--mono); }
#empty-results { text-align: center; padding: 40px 20px; color: #7a806e; }
#empty-results strong { color: #4c4e48; font-size: 17px; }
#empty-results p { font-size: 12px; }
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.side-panel { border: 1px solid #abb39f; background: #f2f2e5; box-shadow: 3px 3px #c5c9b8; }
.side-heading { display: flex; justify-content: space-between; gap: 15px; padding: 10px 13px; background: #606b53; color: #eff0d9; font: bold 10px/1.5 var(--mono); letter-spacing: .7px; border-top: 1px solid #9ba588; }
.side-heading>span { color: #d9cc9a; }
.dossier-content { padding: 18px; }
.agent-mark { display: flex; gap: 13px; align-items: center; border-bottom: 1px dashed #bac0a8; padding-bottom: 17px; margin-bottom: 18px; }
.agent-mark>span { color: #66684e; font: bold 21px/1.1 var(--mono); }
.agent-mark b { display: inline-block; border: 1px solid #b77f51; color: #ad7951; padding: 3px 4px; font: 8px/1 var(--mono); transform: rotate(-6deg); margin-top: 9px; letter-spacing: 1px; }
.dossier h2 { font: bold 20px/1.2 Arial, sans-serif; letter-spacing: -.4px; }
.dossier dl { margin-block: 18px; font-size: 11px; }
.dossier dl>div { display: grid; grid-template-columns: 65px 1fr; gap: 8px; border-bottom: 1px solid #d7d9c9; padding-block: 7px; }
.dossier dt { color: #969a83; }
.dossier dd { margin: 0; color: #5c624f; }
.dossier p { font-size: 12px; color: #7c816c; margin: 0 0 16px; }
.side-link { display: block; font-size: 10px; font-weight: bold; color: #817251; }
.radio { padding: 18px; background: #e4d6ae; border-color: #bdac7f; position: relative; }
.eyebrow { font: 9px/1.5 var(--mono); letter-spacing: 1px; margin: 0 0 15px; color: #8c7852; }
.radio>p:not(.eyebrow) { font: italic 19px/1.5 Georgia, serif; color: #645739; margin: 0 0 14px; }
.radio small { font: 8px/1.5 var(--mono); color: #a18b5b; }
.rules ol { padding: 0 18px 0 34px; margin-block: 18px; color: #79836c; font-size: 11px; }
.rules li { padding-left: 3px; margin-bottom: 9px; }
.about-site p { margin: 16px 16px 0; color: #7d8470; font-size: 11px; }
.about-site>a { display: inline-block; margin: 16px; font-size: 10px; color: #78613f; }
.retro-badges { display: flex; gap: 10px; justify-content: center; }
.retro-badges span { border: 3px double #9da88e; background: #dadecd; color: #667255; font: bold 8px/1.4 var(--mono); text-align: center; padding: 4px 9px; }
.field-notes { margin-top: 28px; background: #f3f1e4; border: 1px solid #aeb5a5; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 24px; }
.note-grid b { display: inline-block; color: #bb854b; font: bold 11px var(--mono); border-bottom: 2px solid #cfaa72; padding-bottom: 7px; margin-bottom: 13px; }
h3 { margin: 0 0 10px; font: bold 15px/1.5 Arial, sans-serif; }
.note-grid p { font-size: 12px; line-height: 1.8; color: #7c816e; margin: 0; }
.note-footer { margin: 0; border-top: 1px dashed #c9c6b2; padding: 11px 24px; font: 9px/1.6 var(--mono); color: #95937b; }
.archive { background: #d8ddcb; border: 1px solid #aeb89f; margin-top: 28px; padding: 26px; }
.archive-title { display: flex; align-items: center; gap: 15px; }
.folder-icon { font-size: 40px; line-height: 1; color: #9a895a; }
.archive-title .eyebrow { margin-bottom: 5px; color: #849073; }
.archive-title h2 { font-size: 20px; }
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 25px; }
.timeline article { border-top: 1px solid #aab796; padding-top: 13px; }
.timeline article>span { display: block; font: bold 29px/1.3 var(--mono); color: #7b885f; margin-bottom: 12px; }
.timeline h3 { font-size: 13px; }
.timeline p { font-size: 12px; color: #748164; }
.archive-sources { display: flex; flex-wrap: wrap; gap: 20px; border-top: 1px dashed #acb89c; padding-top: 16px; margin-top: 16px; font-size: 10px; color: #778267; }
.closing { text-align: center; padding: 50px 15px; }
.closing>span { font: 9px/1.5 var(--mono); color: #909981; letter-spacing: 1.5px; }
.closing h2 { font: bold 26px/1.3 Arial, sans-serif; margin: 16px 0 23px; color: #535e4c; }
.closing .button { box-shadow: 2px 2px #a8b29a; background: #d5ddc5; border-color: #9eac8c; }
footer { border-top: 3px double #aeb89f; padding-block: 23px; color: #89927b; }
footer>div { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { font: bold 14px/1.5 Arial, sans-serif; text-decoration: none; color: #606b54; }
.footer-brand span { font: 10px var(--mono); font-weight: normal; color: #929a86; }
footer>div>span { font: 8px var(--mono); letter-spacing: .8px; }
footer>p { font-size: 9px; line-height: 1.8; margin: 13px 0 0; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px; background: var(--paper); color: var(--ink); }
@media (max-width: 1000px) {
  .forum-layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; }
  .hero { grid-template-columns: 1fr 1.15fr; }
  .hero-copy { padding: 25px; }
  h1 { font-size: 43px; }
  .header { flex-wrap: wrap; gap: 18px; }
  .topic-label { display: none; }
  .thread>summary { grid-template-columns: 32px minmax(0, 1fr) 47px 12px; gap: 10px; padding-inline: 12px; }
  .read-only { display: none; }
  .panel-heading>span { font-size: 8px; }
  .post { grid-template-columns: 115px minmax(0, 1fr); }
  .post-body { padding: 14px; }
  .note-grid { padding: 18px; gap: 17px; }
}
@media (max-width: 760px) {
  .forum-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .retro-badges { align-self: center; }
  .hero { grid-template-columns: .95fr 1fr; }
  .hero-copy { padding: 22px; }
  h1 { font-size: 36px; }
  .subtitle { font-size: 17px; }
  .case-tag { font-size: 8px; letter-spacing: .3px; }
  .hero-image img { min-height: 340px; object-position: 72% 50%; }
  .hero-foot { gap: 10px; font-size: 8px; }
  .topic-label { display: block; }
  .thread>summary { grid-template-columns: 36px minmax(0, 1fr) 65px 56px 15px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 28px); }
  .system-line .wrap { font-size: 9px; }
  .system-line .wrap>span:last-child { display: none; }
  .header { padding-block: 19px; }
  .brand { font-size: 23px; gap: 10px; }
  .brand small { font-size: 8px; }
  .brand img { width: 43px; height: 43px; }
  .header nav { width: 100%; gap: 6px; }
  .header nav a { flex: 1; text-align: center; padding: 7px 9px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 25px 23px; }
  h1 { font-size: 47px; }
  .subtitle { font-size: 20px; }
  .hero-copy>p:not(.subtitle) { font-size: 13px; margin-bottom: 18px; }
  .hero-foot { padding-top: 24px; font-size: 8px; }
  .hero-image img { height: auto; min-height: 0; aspect-ratio: 1.6; object-position: 70% 50%; }
  .hero-image figcaption { font-size: 8px; padding: 6px 10px; }
  .hero-image figcaption>span:last-child { display: none; }
  .demo-notice { padding: 12px; gap: 10px; }
  .demo-notice p { font-size: 11px; }
  .breadcrumbs { font-size: 9px; gap: 7px; }
  .panel-heading { padding: 11px 12px; flex-wrap: wrap; gap: 6px; }
  .panel-heading h2 { font-size: 14px; }
  .panel-heading>span { text-align: left; }
  .forum-toolbar { flex-direction: column; padding: 12px; gap: 8px; }
  .forum-toolbar button { align-self: flex-start; }
  .forum-filters { padding: 0 12px 12px; gap: 5px; }
  .forum-filters button { font-size: 10px; padding: 5px 9px; }
  .table-caption { padding-inline: 12px; }
  .table-caption>span:last-child { display: none; }
  .thread>summary { grid-template-columns: 30px minmax(0, 1fr) 13px; padding: 17px 12px; gap: 10px; }
  .topic-icon { width: 29px; height: 29px; font-size: 20px; }
  .topic-label, .reply-count { display: none; }
  .topic-title strong { font-size: 13px; }
  .topic-title small { font-size: 10px; }
  .thread-tools { flex-wrap: wrap; gap: 9px; padding-inline: 12px; }
  .post { grid-template-columns: 1fr; }
  .post-author { flex-direction: row; align-items: center; border: 0; border-bottom: 1px solid #cdd1bf; gap: 12px; padding: 11px 13px; }
  .avatar { width: 36px; height: 36px; font-size: 13px; }
  .post-author strong { font-size: 11px; }
  .post-author small { margin-top: 1px; }
  .post-body { padding: 13px 15px 18px; font-size: 13px; }
  .thread-bottom>span { margin-left: 0; }
  .thread-bottom { gap: 5px; }
  .forum-status { gap: 5px; padding: 10px 12px; font-size: 8px; }
  .note-grid { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .note-grid b { margin-bottom: 9px; }
  .note-grid h3 { font-size: 17px; }
  .note-footer { padding-inline: 22px; }
  .archive { padding: 21px; }
  .archive-title { gap: 10px; }
  .archive-title h2 { font-size: 18px; }
  .timeline { grid-template-columns: 1fr; gap: 20px; }
  .timeline p { margin-bottom: 0; }
  .archive-sources { gap: 12px; }
  .sidebar { grid-template-columns: 1fr; gap: 20px; margin-top: 3px; }
  .dossier-content { padding: 22px; }
  .dossier dl>div { grid-template-columns: 75px 1fr; }
  .dossier p { font-size: 13px; }
  .radio { padding: 22px; }
  .radio>p:not(.eyebrow) { font-size: 23px; }
  .rules ol, .about-site p { font-size: 12px; }
  .closing { padding-block: 40px; }
  .closing h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
