@font-face { font-family: 'Mobian Bookman'; src: url('/fonts/bookman-old-style.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mobian OldTyper'; src: url('/fonts/oldtypernr.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
:root { --accent: #FF6600; --page-background: #222222; --ticker-background: #E6CEA6; --text: #ffffff; --muted: #bdbdbd; --surface: #2a2a2a; --raised: #303030; --line: #454545; }
* { box-sizing: border-box; }
.music-player { position: fixed; right: max(18px,env(safe-area-inset-right)); bottom: max(18px,env(safe-area-inset-bottom)); z-index: 150; color: var(--text); font: 14px/1.4 Arial,sans-serif; }
.music-toggle { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; padding: 11px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #222; box-shadow: 0 3px 14px #0008; }
.music-toggle.is-playing { color: var(--accent); border-color: var(--accent); }
.music-player svg { width: 22px; height: 22px; flex-shrink: 0; }
.music-panel { width: 320px; max-width: calc(100vw - 36px); max-height: calc(100svh - 100px); overflow-y: auto; margin-bottom: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #222; box-shadow: 0 5px 24px #0009; }
.music-panel[hidden] { display: none; }
.music-panel-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.music-panel button { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 6px; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 5px; }
.music-panel button[aria-pressed="true"],.music-panel button:active { color: var(--accent); background: #ffffff09; }
@media (hover: hover) and (pointer: fine) { .music-toggle:hover { color: var(--accent); border-color: var(--accent); } .music-panel button:hover { color: var(--accent); background: #ffffff09; } }
.music-player button:focus-visible,.music-player input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.music-title { font-weight: bold; overflow-wrap: anywhere; margin: 8px 0 14px; }
.music-transport { display: flex; justify-content: space-between; gap: 5px; }
.music-panel [data-music="play"] { color: var(--accent); border-color: var(--line); }
.music-player input[type="range"] { accent-color: var(--accent); cursor: pointer; min-width: 0; padding: 0; border: 0; }
.music-player .music-seek { --music-progress: 0%; --music-progress-offset: 8px; display: block; width: 100%; height: 32px; min-height: 32px; margin: 8px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; appearance: none; -webkit-appearance: none; touch-action: pan-y; direction: ltr; }
.music-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right,var(--accent) calc(var(--music-progress) + var(--music-progress-offset)),#626262 calc(var(--music-progress) + var(--music-progress-offset))); }
.music-seek::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); box-shadow: none; }
.music-seek::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right,var(--accent) calc(var(--music-progress) + var(--music-progress-offset)),#626262 calc(var(--music-progress) + var(--music-progress-offset))); }
.music-seek::-moz-range-progress { background: transparent; }
.music-seek::-moz-range-thumb { width: 16px; height: 16px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); box-shadow: none; }
.music-time { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.music-volume { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12px; }
.music-volume[hidden] { display: none; }
@media (hover: none) and (pointer: coarse) { .music-volume { display: none; } .music-player .music-seek { height: 44px; min-height: 44px; } }
.music-volume input { flex: 1; width: 80px; }
.music-volume output { min-width: 32px; text-align: right; }
.music-status { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.music-status:empty { display: none; }
.music-player audio { display: none; }
html { scroll-padding-top: 24px; }
body { position: relative; isolation: isolate; margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background-color: #000000; color: var(--text); font-family: Arial, sans-serif; line-height: 1.65; }
/* The SVG carries real alpha; Safari need not support CSS luminance masks. */
body::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: transparent; -webkit-mask-image: url('/images/tiles-background-mask.svg?v=750137b706f17a3b'); -webkit-mask-repeat: repeat; -webkit-mask-size: 512px 512px; mask-image: url('/images/tiles-background-mask.svg?v=750137b706f17a3b'); mask-mode: alpha; mask-repeat: repeat; mask-size: 512px 512px; }
@supports (-webkit-mask-image: url("")) or (mask-image: url("")) { body::before { background-color: #ffffff; } }
a { color: var(--accent); text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .65; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.news-ticker { width: 100%; height: 30px; flex: none; overflow: hidden; background: var(--ticker-background); color: #000000; font-family: 'Mobian OldTyper', 'a_OldTyperNr', 'Courier New', monospace; font-size: 20px; font-weight: 400; line-height: 1.4; }
.ticker-track { display: flex; align-items: center; width: max-content; height: 100%; animation: ticker-scroll var(--ticker-duration, 1s) linear infinite; animation-play-state: paused; }
.ticker-track[data-ticker-ready="true"] { animation-play-state: running; }
.ticker-group { display: flex; flex: none; align-items: center; height: 100%; }
.ticker-item { display: inline-flex; align-items: center; height: 100%; flex: none; white-space: nowrap; padding-right: 48px; color: inherit; text-decoration: none; text-transform: uppercase; }
.ticker-item:hover { text-decoration: underline; }
@keyframes ticker-scroll { to { transform: translateX(var(--ticker-offset, 0px)); } }
@media (prefers-reduced-motion: reduce) { .news-ticker { overflow-x: auto; scrollbar-width: none; } .news-ticker::-webkit-scrollbar { display: none; } .ticker-track { animation: none; } .ticker-group[aria-hidden="true"] { display: none; } }
.banner { display: block; width: 100%; flex: none; }
.banner img { display: block; width: 100%; height: auto; }
.site-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; width: 100%; padding: 14px max(24px, calc((100vw - 1272px) / 2)); border-bottom: 1px solid #544331; background: #191817; }
.sections { display: grid; grid-template-columns: repeat(4, max-content); gap: 0; min-width: 0; border: 1px solid #544331; }
.sections a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 0; border-right: 1px solid #544331; border-radius: 0; background: transparent; color: var(--muted); font: 16px/1.5 'Mobian Bookman', 'Bookman Old Style', Georgia, serif; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.sections a:last-child { border-right: 0; }
.sections a[aria-current="page"] { background: #382819; color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.sections a:active { background: #382819; color: var(--accent); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: var(--text); font-size: 16px; text-decoration: none; }
.primary-button:hover { box-shadow: inset 0 0 0 1px white; }
.site-account-controls { display: flex; flex: none; align-items: center; gap: 12px; margin-left: auto; }
.account-button { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 10px; border: 1px solid #544331; border-radius: 0; background: transparent; color: #FFFFFF; }
.account-fox { display: block; width: 26px; height: 26px; background-color: currentColor; -webkit-mask: url('/images/account-fox.svg') center / contain no-repeat; mask: url('/images/account-fox.svg') center / contain no-repeat; }
.account-button:active { color: #FF6600; border-color: #FF6600; }
@media (hover: hover) and (pointer: fine) { .account-button:hover { color: #FF6600; border-color: #FF6600; } }
.language { flex: none; min-height: 46px; padding: 10px 14px; border: 1px solid #544331; border-radius: 0; background: transparent; color: inherit; font: 16px/1.5 'Mobian Bookman', 'Bookman Old Style', Georgia, serif; }
.language [aria-current="true"] { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .sections a:hover { color: var(--accent); background: #2e241b; } .language:hover { border-color: var(--accent); } }
#app { flex: 1; width: min(1320px, 100%); margin: 0 auto; padding: 36px 24px 80px; }
#app:focus { outline: none; }
h1, h2, h3 { line-height: 1.25; overflow-wrap: anywhere; }
h1 { margin: 0 0 20px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.025em; }
h2 { margin: 0 0 20px; font-size: 25px; }
h3 { margin: 0 0 10px; font-size: 20px; }
p { margin: 0 0 18px; }
.home-hero { text-align: center; padding: 8px 0 32px; }
.home-hero h1 { margin: 0 auto 18px; max-width: 1000px; color: var(--text); font-family: 'Mobian Bookman', 'Bookman Old Style', Georgia, serif; font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.communities { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; margin: 0 auto; gap: 24px; }
.communities a { padding: 10px 4px; font: clamp(16px, 2.6vw, 21px)/1.5 Georgia, serif; }
.communities a, .footer-links a, .service-links a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.actions { display: flex; flex-direction: column; gap: 0; margin: 0 0 40px; padding: 0 16px; background: #171615; border-top: 1px solid #544331; border-bottom: 1px solid #544331; }
.action { display: flex; align-items: center; gap: 18px; min-height: 68px; padding: 17px 10px; background: transparent; border: 0; border-bottom: 1px solid #544331; border-radius: 0; color: var(--text); text-decoration: none; font: 18px/1.5 'Mobian Bookman', 'Bookman Old Style', Georgia, serif; }
.action:last-child { border-bottom: 0; }
.action > span:not(.action-icon):not(.arrow) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.action-icon { display: flex; flex: 0 0 24px; align-items: center; color: var(--accent); }
.action-icon svg { width: 24px; height: 24px; }
.action:active { background: #2e241b; }
@media (hover: hover) and (pointer: fine) { .action:hover { background: #2e241b; color: var(--accent); } }
.arrow { font-weight: 400; font-size: 25px; color: var(--accent); }
.widgets { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section-heading h2 { margin: 0; }
.section-heading > a { font-size: 14px; white-space: nowrap; }
.meta, .eyebrow { color: var(--muted); font-size: 12px; }
.eyebrow { color: var(--accent); letter-spacing: .08em; margin-bottom: 12px; text-transform: uppercase; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.meta time { font-variant-numeric: tabular-nums; }
.publication-zone { color: #b2b2b2; font-size: 12px; margin: 0 0 20px; }
.mode-label { color: var(--accent); font-size: 11px; }
.news-card, .post-card, .article-card { margin-bottom: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); min-width: 0; }
.news-card { display: flex; flex-direction: column; }
.card-content { padding: 22px; display: flex; flex: 1; flex-direction: column; align-items: start; }
.news-card h2, .news-card h3, .article-card h2 { margin-bottom: 14px; font-size: 22px; }
.news-card h2 a, .news-card h3 a, .article-card h2 a { color: var(--text); text-decoration: none; }
.news-card h2 a:hover, .news-card h3 a:hover, .article-card h2 a:hover { color: var(--accent); }
.news-card p, .article-card p { color: var(--muted); font-size: 15px; }
.card-image-link { display: block; border-radius: 9px 9px 0 0; overflow: hidden; }
.card-image { width: 100%; margin: 0; aspect-ratio: 16 / 9; background: #1b1b1b; }
.card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-image.contain img { object-fit: contain; padding: 12px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.category-chip { padding: 3px 9px; border: 1px solid #525252; border-radius: 4px; color: var(--accent); text-decoration: none; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.category-chip:hover { border-color: var(--accent); background: #383029; }
.mode-chip { border-color: #805131; color: white; }
.read-link { display: inline-block; margin-top: auto; font-size: 13px; font-weight: 700; text-decoration: none; }
.read-link:hover { text-decoration: underline; }
.post-card { padding: 22px; }
.post-author { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.post-avatar { display: block; flex: 0 0 80px; width: 80px; height: 80px; object-fit: cover; object-position: center; border-radius: 50%; border: 0; padding: 0; }
.avatar-initial { display: grid; place-items: center; background: var(--raised); color: var(--accent); font-size: 28px; }
.post-author strong { font-size: 14px; }
.post-author .meta { margin: 3px 0 0; }
.post-card p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.post-card p:last-child { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.news-grid .news-card { margin-bottom: 0; }
.wiki-invite { display: flex; gap: 20px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.wiki-invite img { object-fit: contain; flex: none; }
.wiki-invite p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.wiki-invite a { font-size: 13px; }
.intro { max-width: 780px; color: var(--muted); margin-bottom: 24px; }
.filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 20px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.filters .wide { grid-column: span 2; }
label { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; color: #ddd; }
input, select, textarea { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #626262; border-radius: 5px; padding: 9px 11px; background: var(--page-background); color: var(--text); color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #aaa; }
textarea { min-height: 160px; resize: vertical; }
.filter-actions { display: flex; align-items: end; }
.secondary-button, .tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; background: transparent; border: 1px solid #626262; border-radius: 5px; color: var(--text); text-decoration: none; }
.secondary-button:hover, .tab:hover { border-color: var(--accent); }
.result-count { margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.empty { grid-column: 1 / -1; padding: 38px 24px; border: 1px dashed #666; border-radius: 6px; text-align: center; color: var(--muted); }
.empty h2 { color: var(--text); font-size: 22px; }
.empty p { max-width: 650px; margin-inline: auto; }
.empty p:last-child { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 24px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.reading { max-width: 860px; margin-inline: auto; }
.reading h1 { font-size: clamp(28px, 4vw, 44px); }
.reading p { font-size: 18px; line-height: 1.8; }
.reading h2 { margin-top: 34px; }
.reading .lead { color: #d5d5d5; font-size: 20px; border-left: 3px solid var(--accent); padding-left: 20px; margin: 24px 0 32px; }
.news-reading > .category-chips { margin: 20px 0; }
.article-image { width: 100%; margin: 0 0 32px; }
.article-image img { display: block; width: 100%; height: auto; border-radius: 6px; background: #1b1b1b; }
figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.6; }
.prose { max-width: 740px; margin-inline: auto; }
.reading-footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); clear: both; }
.wiki-shell { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.wiki-rail { position: sticky; top: 24px; font-size: 13px; }
.wiki-brand { display: flex; flex-direction: column; align-items: center; padding: 4px 10px 24px; text-decoration: none; }
.wiki-brand img { margin-bottom: 12px; object-fit: contain; }
.wiki-brand strong { font: 700 20px 'Mobian Bookman', Georgia, serif; color: white; }
.wiki-brand span { color: var(--muted); font-size: 12px; margin-top: 8px; }
.wiki-rail nav { border-top: 1px solid var(--line); padding-top: 20px; }
.wiki-rail nav a { display: block; text-decoration: none; padding: 7px 10px; border-left: 2px solid transparent; color: #d5d5d5; }
.wiki-rail nav a:hover, .wiki-rail nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.wiki-rail .eyebrow { font-size: 10px; padding: 0 10px; }
.wiki-rail-topics { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.wiki-rail-topics a { display: block; padding: 4px 10px; text-decoration: none; }
.wiki-rail-topics a:hover { text-decoration: underline; }
.wiki-paper { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 6px; background: #282828; padding: 30px; min-width: 0; }
.wiki-paper h1 { font-family: 'Mobian Bookman', Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.5vw, 42px); }
.wiki-paper .breadcrumbs { margin-bottom: 22px; }
.wiki-tabs { display: flex; flex-wrap: wrap; gap: 0 24px; border-bottom: 1px solid #606060; margin: 0 0 26px; }
.wiki-tabs a { padding: 10px 0; color: var(--muted); text-decoration: none; font-size: 13px; border-bottom: 2px solid transparent; }
.wiki-tabs a:hover, .wiki-tabs a[aria-current="page"] { color: white; border-color: var(--accent); }
.wiki-body { display: flow-root; }
.wiki-body p { font-size: 16px; line-height: 1.9; }
.wiki-lead { font-size: 17px !important; }
.facts { width: 290px; max-width: 45%; float: right; margin: 0 0 24px 28px; border: 1px solid #775335; border-radius: 4px; background: #242424; overflow: hidden; }
.facts h2 { background: #994400; font-size: 18px; text-align: center; padding: 12px; margin: 0; }
.facts h3 { background: #34302d; font-size: 12px; letter-spacing: .08em; text-align: center; text-transform: uppercase; padding: 10px; margin: 0; }
.infobox-image { margin: 0; padding: 12px; }
.infobox-image img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.infobox-image figcaption { font-size: 11px; }
.facts dl { margin: 0; font-size: 12px; }
.facts dl > div { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 10px; padding: 12px; border-bottom: 1px solid #414141; }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.toc { display: table; min-width: 200px; max-width: 100%; border: 1px solid #525252; border-radius: 4px; background: #222; padding: 14px 18px; margin: 24px 0; font-size: 13px; }
.toc summary { color: white; cursor: pointer; font-weight: 700; }
.toc ol { margin: 10px 0 0; padding-left: 20px; }
.toc a { display: inline-block; padding: 4px 0; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.wiki-section { margin-top: 30px; }
.wiki-section h2 { border-bottom: 1px solid #656565; font-size: 24px; padding-bottom: 8px; margin: 0 0 16px; }
.anchor-link { font-size: 15px; margin-left: 12px; font-weight: 400; text-decoration: none; opacity: .6; }
.wiki-section h2:hover .anchor-link { opacity: 1; }
.related { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; }
.wiki-categories { border: 1px solid #525252; background: #222; padding: 16px; margin-top: 28px; clear: both; }
.wiki-categories h2 { font-size: 14px; margin: 0 0 12px; }
.wiki-categories .category-chips { margin: 0; }
.wiki-discussion { margin-top: 28px; color: var(--muted); }
.wiki-discussion h2 { color: white; font-size: 18px; }
.wiki-discussion p { font-size: 14px; margin-bottom: 0; }
.article-grid { display: flex; flex-direction: column; gap: 16px; }
.article-card { display: flex; gap: 22px; padding: 20px; border-radius: 6px; margin: 0; }
.article-card > div { min-width: 0; }
.article-card .eyebrow { font-size: 10px; margin-bottom: 8px; }
.article-card h2 { font-size: 22px; }
.wiki-preview { width: 110px; flex: none; align-self: start; margin: 0; }
.wiki-preview img { width: 100%; height: auto; max-height: 120px; object-fit: contain; }
.article-card .category-chips { margin-bottom: 12px; }
.wiki-paper .filters { grid-template-columns: 1fr 1fr; padding: 16px; }
.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.tab[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.feed-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 30px; }
.notice { color: var(--muted); border-left: 3px solid var(--accent); padding: 12px 18px; margin-bottom: 24px; }
.feed-aside { align-self: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.feed-aside p { font-size: 15px; color: var(--muted); }
.form-preview { max-width: 800px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-preview .full { grid-column: 1 / -1; }
.form-preview .checkbox { flex-direction: row; align-items: center; }
.checkbox input { width: 18px; min-height: 18px; }
.service-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding: 24px max(24px, calc((100vw - 1272px) / 2)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 1050px) { .wiki-shell { grid-template-columns: 1fr; } .wiki-rail { position: static; display: flex; align-items: center; gap: 24px; } .wiki-brand { flex: none; padding: 0; align-items: start; } .wiki-brand img, .wiki-rail-topics { display: none; } .wiki-rail nav { display: flex; flex-wrap: wrap; border: 0; padding: 0; } .wiki-rail nav .eyebrow { display: none; } .wiki-rail nav a { padding: 4px 10px; font-size: 12px; } .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .widgets, .feed-layout { grid-template-columns: 1fr; } .filters { grid-template-columns: 1fr 1fr; } .action { font-size: 17px; } .home-news { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .home-news .news-card { margin: 0; } }
@media (max-width: 650px) { .actions, .news-grid, .form-preview { grid-template-columns: 1fr; } .form-preview .full { grid-column: auto; } #app { padding: 28px 16px 50px; } .site-bar, .site-footer { padding-inline: 16px; } .sections { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); } .sections a { padding-inline: 10px; font-size: 14px; } .language { font-size: 14px; } .actions { padding-inline: 8px; } .card-content, .post-card { padding: 20px; } .filters { padding: 16px; } .reading p { font-size: 16px; } .home-hero { padding-top: 8px; } .communities { gap: 12px; } .wiki-paper { padding: 20px; } .facts { float: none; width: 100%; max-width: 360px; margin: 0 auto 24px; } .wiki-rail { display: block; } .wiki-brand { flex-direction: row; align-items: baseline; gap: 14px; margin-bottom: 14px; } .wiki-rail nav a { padding-inline: 6px; } .wiki-preview { width: 75px; } .article-card { padding: 16px; gap: 16px; } .article-card h2 { font-size: 19px; } .wiki-tabs { gap: 0 18px; } }
@media (max-width: 420px) { .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sections a:nth-child(2) { border-right: 0; } .sections a:nth-child(-n+2) { border-bottom: 1px solid #544331; } .filters, .wiki-paper .filters, .home-news { grid-template-columns: 1fr; } .filters .wide { grid-column: auto; } .article-card { display: block; } .wiki-preview { float: right; margin-left: 12px; } .home-hero h1 { font-size: 32px; } }
.date-control { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.date-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; width: 100%; padding: 9px 11px; border: 1px solid #626262; border-radius: 5px; background: var(--page-background); color: white; font-size: 14px; text-align: left; }
.date-toggle svg { flex: none; color: var(--accent); }
.calendar-dialog { width: min(360px, calc(100% - 32px)); max-height: calc(100svh - 32px); margin: auto; padding: 20px; border: 1px solid #775335; border-radius: 10px; background: var(--surface); color: white; box-shadow: 0 16px 60px #0008; }
.calendar-dialog::backdrop { background: #0009; }
.calendar-header { display: grid; grid-template-columns: 36px minmax(0,1fr) 36px; align-items: center; gap: 8px; }
.calendar-selects { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 8px; }
.calendar-selects input, .calendar-selects select { min-height: 40px; padding: 8px; font-size: 13px; }
.calendar-dialog button { min-height: 36px; border: 1px solid transparent; border-radius: 4px; background: transparent; color: white; }
.calendar-dialog button:hover { border-color: var(--accent); background: #383029; }
.calendar-header > button { font-size: 26px; }
.calendar-title { font-size: 13px; color: var(--muted); text-align: center; margin: 18px 0 10px; }
.calendar-row { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; }
.calendar-row [role="columnheader"] { text-align: center; font-size: 11px; color: var(--muted); padding: 8px 0; }
.calendar-row [role="gridcell"] { min-height: 36px; }
.calendar-row button { display: block; width: 100%; padding: 6px 0; font-size: 13px; }
.calendar-row [aria-selected="true"] button { background: var(--accent); color: white; }
.calendar-row button[aria-current="date"] { border-color: var(--accent); }
.calendar-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.calendar-footer button { font-size: 12px; color: var(--accent); padding: 6px 8px; }

/* The archival collection follows the wiki's typography and remains usable on phones. */
.archive-prose { overflow-wrap: anywhere; }
.archive-prose h2 { clear: both; padding-bottom: 10px; margin-top: 34px; border-bottom: 1px solid var(--line); font-size: 24px; }
.archive-prose h3 { margin-top: 28px; font-size: 20px; }
.archive-prose h4 { margin-top: 24px; }
.archive-prose ul, .archive-prose ol { padding-left: 24px; }
.archive-prose li { margin-bottom: 8px; }
.archive-prose blockquote { margin: 20px 0; padding: 12px 20px; border-left: 3px solid var(--accent); background: #222; }
.archive-prose pre { overflow-x: auto; white-space: pre; padding: 18px; background: #1c1c1c; border-radius: 4px; }
.table-scroll { width: 100%; overflow-x: auto; clear: both; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border: 1px solid #505050; text-align: left; vertical-align: top; min-width: 100px; }
th { color: white; background: #3a3028; }
tr:nth-child(even) { background: #252525; }
.source-note { clear: both; padding: 18px 20px; margin-top: 32px; background: #222; border: 1px solid var(--line); border-left: 3px solid var(--accent); font-size: 13px; }
.source-note p { font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.source-language { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
.original-record > summary { padding: 12px 16px; background: #332b24; border: 1px solid #66503d; border-radius: 4px; cursor: pointer; }
.original-record > div { margin-top: 24px; }
.toc { max-height: 420px; overflow-y: auto; }
.toc-level-3, .toc-level-4 { margin-left: 10px; font-size: 12px; }
.document-card { padding: 24px; margin-bottom: 16px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px; }
.document-card h2 { font-size: 21px; margin-bottom: 12px; }
.document-card h2 a { text-decoration: none; color: white; }
.document-card h2 a:hover { color: var(--accent); }
.document-card p { color: var(--muted); font-size: 14px; }
.document-status { font-size: 12px !important; }
.post-handle { font-size: 12px; color: var(--muted); margin-top: 3px; }
.post-author strong a { color: white; text-decoration: none; }
.post-author strong a:hover { color: var(--accent); }
.post-avatar { object-position: center 35%; background: #343434; }
.avatar-empty { background: #343434; }
.vox-avatar { background: #e9dfd4; }
.managed-badge { display: inline-block; color: var(--accent); font-size: 11px; margin-top: 6px; }
.profile-header { padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 8px; background: var(--surface); margin-bottom: 28px; }
.profile-header h1 { margin-bottom: 10px; }
.profile-posts { max-width: 800px; }
.document-reading { max-width: 1000px; }
.archive-prose p { white-space: normal; }
img[data-media-src]:not([src]) { opacity: 0; }
.logo-plate img { background: #e9dfd4; }
@media(max-width:650px) { .table-scroll table { font-size: 12px; } th,td { padding: 8px; } .document-card { padding: 18px; } .toc { display: block; min-width: 0; } }

.verse { margin: 24px 0; padding: 18px 22px; border-left: 3px solid var(--accent); background: #222; }
.verse p { margin: 0; line-height: 1.8; }
.wiki-lead { margin-top: 4px; }

.post-text { overflow-wrap: anywhere; }

.resource-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.resource-link { display: block; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 5px; background: #292929; text-decoration: none; overflow-wrap: anywhere; }
.resource-link:hover { border-color: var(--accent); background: #303030; }
.reading-actions { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }

.document-status[data-document-status="draft"]{color:#ffb078;font-weight:700}.document-status[data-document-status="repealed"]{color:#c6c6c6}.document-status[data-document-status="in-force"]{color:#ff6600}

/* Account portraits and expandable publication attachments. */
.post-avatar { object-position: center; }
.profile-identity { display: flex; align-items: center; gap: 20px; }
.profile-identity > div { min-width: 0; }
.profile-identity h1 { margin: 0 0 8px; overflow-wrap: anywhere; }
.profile-identity p { margin: 0 0 12px; }
.profile-directory { margin-top: 24px; }
.profile-directory summary { cursor: pointer; color: var(--accent); font-weight: bold; }
.profile-directory nav { display: grid; gap: 12px; margin-top: 18px; }
.profile-directory nav a { display: flex; align-items: center; gap: 10px; }
.profile-directory .post-avatar { width: 40px; height: 40px; flex-basis: 40px; }
.profile-directory span { min-width: 0; overflow-wrap: anywhere; }
.profile-directory small { display: block; color: var(--muted); }
.post-emphasis { font-size: 1.6em; font-weight: 700; text-transform: uppercase; }
.post-embed { margin: 20px 0; max-width: 100%; }
.post-image-viewport { max-width: 100%; overflow: auto; border-radius: 6px; }
.post-image-toggle { display: block; width: min(100%, 640px); margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.post-image-toggle img { display: block; width: 100%; height: auto; max-width: none; }
.post-embed figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

.image-lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: white; overflow: hidden; }
.image-lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.image-lightbox-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 72px 24px 24px; box-sizing: border-box; pointer-events: none; }
.image-lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: auto; }
.image-lightbox-close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 2px solid white; border-radius: 50%; background: #222; color: white; font: 38px/1 Arial, sans-serif; cursor: pointer; }
.image-lightbox-close:hover { background: var(--accent); }
.image-lightbox-close:focus-visible, .post-image-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.post-reply-reference { color: var(--muted); font-size: 14px; margin: 18px 0 12px; }
.quoted-post { --quote-padding-block: 16px; margin: 0 0 18px; padding: var(--quote-padding-block) 20px; border-left: 3px solid var(--accent); border-radius: 4px; background: #202020; overflow-wrap: anywhere; }
.quoted-post p { margin: 12px 0 0; font-size: 15px; }
.post-replies { margin-top: 32px; }
.post-thread { max-width: 760px; margin-inline: auto; }
@media (max-width: 650px) { .image-lightbox-stage { padding-inline: 12px; } }

a.publication-number, a.publication-number:visited, a.publication-number:hover, a.publication-number:active { color: inherit; text-decoration: none; }

a.publication-number:hover { text-decoration: underline; }

.post-handle a, .post-reply-reference a, .quoted-post a, .post-text a, .prose a, .archive-prose a, .wiki-lead a, .lead a, .profile-directory-entry a { text-decoration: none; }
.post-handle a:hover, .post-reply-reference a:hover, .quoted-post a:hover, .post-text a:hover, .prose a:hover, .archive-prose a:hover, .wiki-lead a:hover, .lead a:hover, .profile-directory-entry a:hover { text-decoration: underline; }
.profile-directory-entry { display: flex; align-items: center; gap: 10px; }
.profile-directory-entry small { display: block; }

.post-handle a, .post-handle a:visited, .profile-directory-entry small a, .profile-directory-entry small a:visited { color: var(--muted); text-decoration: none; }
.post-handle a:hover, .profile-directory-entry small a:hover { color: var(--accent); text-decoration: underline; }

.author-search { position: relative; }
.author-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 280px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 8px 24px #0008; }
.author-suggestions[hidden] { display: none; }
.author-suggestions button { display: block; width: 100%; padding: 10px 12px; border: 0; background: transparent; color: var(--text); text-align: left; }
.author-suggestions button small { display: block; color: var(--muted); }
.author-suggestions button:hover, .author-suggestions button[aria-selected="true"] { background: var(--raised); }

/* Post paragraph spacing: Enter adds 6 pt; Shift+Enter stays within the line height. */
.post-text { margin: 15px 0; }
.post-text p, .quoted-post .post-text p { margin: 0; white-space: normal; line-height: inherit; }
.post-text p + p, .quoted-post .post-text p + p { margin-top: 6pt; }
.quoted-post .post-text { margin: 12px 0 0; }
.quote-preview { position: relative; margin-top: 12px; }
.quote-content { font-size: 15px; line-height: 1.65; }
.quote-content .post-text { margin: 0; }
.quote-preview[data-quote-collapsed="true"] .quote-content { max-height: var(--quote-preview-height); overflow: hidden; }
.quote-overlay { position: static; display: flex; align-items: center; justify-content: center; margin-top: 4px; pointer-events: none; }
.quote-overlay[hidden] { display: none; }
.quote-preview[data-quote-collapsed="true"] .quote-overlay { position: absolute; inset: auto 0 0; height: 44px; margin: 0; background: linear-gradient(to bottom, #20202000, #202020e6 75%, #202020); }
/* The overlay ends at the text edge; account for the blockquote padding
   so the control's lower edge stays 8 CSS pixels above the quote edge. */
.quote-preview[data-quote-collapsed="true"] .quote-toggle { position: absolute; left: 50%; bottom: calc(8px - var(--quote-padding-block)); transform: translateX(-50%); white-space: nowrap; }
.quote-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; max-width: 100%; padding: 0 14px; border: 0; border-radius: 0; background: transparent; color: var(--accent); font: 13px/24px Arial, sans-serif; text-align: center; pointer-events: auto; }
.quote-preview[data-quote-collapsed="false"] .quote-overlay { margin-top: 0; margin-bottom: -8px; }
.quote-preview[data-quote-collapsed="false"] .quote-toggle { min-height: 9.3333px; line-height: 9.3333px; }
.quote-toggle:active { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .quote-toggle:hover { text-decoration: underline; } }
/* Literal Markdown quotations share the archive's quotation appearance. */
.post-text .markdown-quote {--quote-padding-block:12px;margin:12px 0;padding:var(--quote-padding-block) 20px;background:#202020;border-left:3px solid var(--accent);border-radius:4px;}
.post-text .markdown-quote p {margin:0;}
.post-text .markdown-quote p + p {margin-top:6pt;}

.markdown-quote > .quote-preview {margin-top:0;}
.markdown-quote .quote-content > .post-text {margin:0;}

/* Scroll restoration is handled explicitly when the reader is inside a post. */
#app { overflow-anchor: none; }
.author-suggestions button { display: flex; align-items: center; gap: .4em; font: inherit; }
.author-option-avatar { width: 1em; height: 1em; border-radius: 50%; object-fit: cover; flex: none; }
.author-option-name { color: var(--muted); }

.editor-panel .author-search { display: block; }
