﻿:root {
  --page-bg: #05070a;
  --panel-bg: #101216;
  --panel-bg-2: #171a21;
  --trim-blue: #1f5f9c;
  --trim-blue-light: #3c8ed1;
  --gold: #d9a431;
  --gold-light: #f1cf6b;
  --parchment: #d8c7a1;
  --parchment-dark: #b9a578;
  --text: #e8e2d3;
  --muted-text: #b8ad95;
  --danger-red: #8b1e16;
  --font-serif: Garamond, "EB Garamond", "Adobe Garamond Pro", "Times New Roman", serif;
  --font-sans: Verdana, Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  min-width: 1200px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(217, 164, 49, 0.16), transparent 360px),
    linear-gradient(90deg, #020305, var(--page-bg) 16%, var(--page-bg) 84%, #020305);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
.site-title,
.section-title,
.book-title,
.product-title,
.errata-source-title {
  font-family: var(--font-serif);
}

a {
  color: #4aa3ff;
  font-size: 1rem;
  line-height: 1.45;
}

a:visited {
  color: #9cc7ff;
}

a:hover,
a:focus {
  color: var(--gold-light);
  text-decoration: underline;
}

.site-shell {
  width: 1200px;
  min-width: 1200px;
  margin: 18px auto;
  padding: 12px;
  background: #080a0e;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px #000, 0 0 28px rgba(31, 95, 156, 0.38);
}

.blue-frame {
  border: 2px solid var(--trim-blue);
  box-shadow: inset 0 0 0 1px #000, inset 0 0 18px rgba(60, 142, 209, 0.18);
}

.masthead {
  display: table;
  width: 100%;
  min-height: 190px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(31, 95, 156, 0.28), transparent 32%),
    linear-gradient(180deg, #171a21, #0c0e12);
}

.masthead-seal,
.masthead-copy,
.masthead-badge {
  display: table-cell;
  vertical-align: middle;
}

.masthead-seal {
  width: 210px;
  text-align: center;
}

.logo-seal {
  width: 190px;
  height: auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #000;
}

.masthead-copy {
  padding: 0 18px;
  text-align: center;
}

.masthead-copy h1 {
  margin: 4px 0;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: normal;
  letter-spacing: 0;
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(217, 164, 49, 0.34);
}

.kicker,
.subtitle {
  margin: 0;
}

.kicker {
  color: var(--trim-blue-light);
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
}

.subtitle {
  color: var(--muted-text);
  font-family: var(--font-serif);
  font-size: 19px;
}

.masthead-badge {
  width: 180px;
  text-align: center;
}

.masthead-badge img,
.system-seal img {
  max-width: 150px;
  height: auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #000;
}

.masthead-badge p {
  margin: 8px 0 0;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.badge-row {
  margin-top: 12px;
}

.badge-row span {
  display: inline-block;
  margin: 3px;
  padding: 3px 7px;
  color: var(--parchment);
  background: #05070a;
  border: 1px solid var(--trim-blue);
  font-family: var(--font-mono);
  font-size: 14px;
}

.navbar {
  margin: 10px 0;
  padding: 6px;
  text-align: center;
  background: linear-gradient(180deg, #20364d, #0b1723);
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: bold;
}

.navbar a {
  display: inline-block;
  min-width: 92px;
  margin: 2px;
  padding: 6px 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  background: #101216;
  border: 1px solid var(--trim-blue);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.08), inset -1px -1px 0 #000;
}

.navbar a:hover,
.navbar a:focus,
.navbar a.current {
  color: #05070a;
  background: var(--gold);
  border-color: var(--gold-light);
  text-decoration: none;
}

.page-grid {
  display: grid;
  grid-template-columns: 176px 1fr 194px;
  gap: 12px;
  align-items: start;
}

.left-sidebar,
.right-sidebar,
.main-column {
  min-width: 0;
}

.left-sidebar,
.right-sidebar {
  font-size: 16px;
  line-height: 1.45;
}

.main-column {
  font-size: 18px;
  line-height: 1.5;
  background: var(--panel-bg);
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue);
  padding: 12px;
}

.sidebar-box {
  margin-bottom: 12px;
  padding: 9px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
  background: linear-gradient(180deg, var(--panel-bg-2), var(--panel-bg));
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue);
}

.sidebar-box h2 {
  margin: -3px -3px 8px;
  padding: 4px;
  color: var(--gold-light);
  background: #05070a;
  border-bottom: 1px solid var(--trim-blue);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: normal;
  text-align: center;
}

.oldweb-button {
  display: block;
  margin: 5px 0;
  padding: 6px 5px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  background: #0c1520;
  border: 1px solid var(--trim-blue);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.08), inset -1px -1px 0 #000;
}

.oldweb-button:hover,
.oldweb-button:focus {
  color: #05070a;
  background: var(--gold);
  text-decoration: none;
}

.text-link {
  display: block;
  margin: 6px 0;
  padding: 0.35rem 0.55rem;
  color: var(--gold-light);
  background: var(--panel-bg-2);
  border: 1px solid var(--trim-blue-light);
  box-shadow: inset 0 0 0 1px #111;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: bold;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.text-link:visited {
  color: var(--gold-light);
}

.text-link:hover,
.text-link:focus {
  color: #050505;
  background: var(--gold-light);
  border-color: var(--gold-light);
  text-decoration: none;
}

.status-list {
  margin: 0;
  padding-left: 17px;
}

.status-list li {
  margin-bottom: 5px;
}

.hero-panel {
  padding: 16px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(139, 30, 22, 0.16), transparent),
    var(--panel-bg-2);
}

.hero-panel h2 {
  margin: 4px 0 8px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: normal;
}

.hero-panel p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: 18px;
}

.ornament {
  color: var(--trim-blue-light);
  font-family: var(--font-mono);
  font-size: 14px;
}

.gold-rule {
  height: 12px;
  margin: 14px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--trim-blue);
  background: repeating-linear-gradient(90deg, #05070a 0, #05070a 14px, rgba(217, 164, 49, 0.28) 15px, rgba(217, 164, 49, 0.28) 16px);
}

.catalog-section h2,
.catalog-section h3,
.updates-ledger h2 {
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.catalog-section > h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.catalog-section > h3 {
  margin: 18px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--trim-blue);
  font-size: 23px;
}

.book-card {
  margin: 10px 0;
  padding: 10px;
  background: #0d1015;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue);
  box-shadow: inset 0 0 0 1px rgba(217, 164, 49, 0.10);
}

.book-card h3,
.book-card h4 {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.book-card h3 {
  font-size: 24px;
}

.book-card h4 {
  font-size: 20px;
}

.book-card p {
  margin: 8px 0 0;
}

.main-column p,
.book-card p,
.series-card-copy p,
.book-marketing-copy p,
.product-detail p,
.book-detail p,
.errata-entry p {
  font-size: 18px;
  line-height: 1.5;
}

.book-detail {
  display: table;
  width: 100%;
  margin: 0 0 14px;
  border-spacing: 12px 0;
}

.product-detail {
  display: table;
  width: 100%;
  margin: 0 0 14px;
  border-spacing: 12px 0;
}

.book-cover-frame,
.product-cover-frame,
.book-marketing-copy {
  display: table-cell;
  vertical-align: top;
}

.book-cover-frame {
  width: 238px;
  padding: 10px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(31, 95, 156, 0.22), transparent),
    #080a0e;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
}

.product-cover-frame {
  width: 238px;
  padding: 10px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(31, 95, 156, 0.22), transparent),
    #080a0e;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
}

.book-cover-frame img {
  display: block;
  width: 210px;
  height: auto;
  margin: 0 auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #000;
}

.product-cover-frame img {
  display: block;
  width: 210px;
  height: auto;
  margin: 0 auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #000;
}

.book-cover-frame .caption {
  margin: 8px 0 0;
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 15px;
}

.product-cover-frame .caption {
  margin: 8px 0 0;
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 15px;
}

.book-marketing-copy {
  padding: 12px;
  background: #0d1015;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
}

.book-marketing-copy h3 {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: normal;
}

.hook-line {
  margin: 8px 0;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
}

.series-shelf {
  margin: 12px 0;
}

.series-card {
  display: table;
  width: 100%;
  margin: 12px 0;
  padding: 10px;
  background: #0d1412;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue);
}

.series-card-cover,
.series-card-copy {
  display: table-cell;
  vertical-align: top;
}

.series-card-cover {
  width: 132px;
  padding-right: 12px;
}

.series-card-cover img,
.cover-thumb {
  display: block;
  width: 112px;
  height: auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #000;
}

.series-card-copy h3,
.series-card-copy h4 {
  margin: 0 0 6px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.purchase-box {
  margin: 12px 0;
  padding: 10px;
  background: #07111b;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
}

.purchase-box h3,
.purchase-box h4 {
  margin-top: 0;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.promo-sheet-panel {
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--panel-bg);
  border: 1px solid var(--trim-blue);
  outline: 2px solid #000;
  box-shadow: inset 0 0 0 1px #0a0d12;
}

.promo-sheet-panel h3 {
  margin: 0 0 0.75rem;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
  text-align: center;
}

.ad-plate-frame {
  display: block;
  margin: 0 auto;
}

.promo-sheet-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #05070a;
  border: 2px solid var(--gold);
}

.promo-sheet-caption {
  margin: 0.5rem 0 0;
  color: var(--muted-text);
  font-style: italic;
  text-align: center;
}

.toolkit-image-panel {
  outline: 1px solid var(--gold);
}

.toolkit-campaign-image {
  border-color: var(--gold-light);
}

.image-expand-link {
  display: inline-block;
  max-width: 100%;
  cursor: zoom-in;
}

.promo-sheet-panel .image-expand-link {
  display: block;
}

.image-expand-hint {
  margin: 0.4rem 0 0;
  color: var(--muted-text);
  font-size: 16px;
  font-style: italic;
  text-align: center;
}

.image-lightbox {
  display: none;
}

.image-lightbox:target {
  display: block;
  position: fixed;
  z-index: 9999;
  inset: 0;
  padding: 2rem;
  overflow: auto;
  background: rgba(0, 0, 0, 0.88);
}

.image-lightbox-backdrop {
  position: fixed;
  inset: 0;
  cursor: zoom-out;
}

.image-lightbox-content {
  position: relative;
  z-index: 10000;
  max-width: 96vw;
  margin: 0 auto;
  padding: 1rem;
  border: 2px solid var(--gold);
  background: var(--panel-bg);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.image-lightbox-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.image-lightbox-close {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  color: var(--gold-light);
  background: var(--panel-bg-2);
  border: 1px solid var(--trim-blue-light);
  font-weight: bold;
  text-decoration: none;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus {
  color: var(--page-bg);
  background: var(--gold-light);
}

.excerpt-box {
  margin: 12px 0;
  padding: 10px;
  background: #101216;
  border: 2px dashed var(--parchment-dark);
}

.reader-list,
.theme-list {
  margin: 8px 0 0;
  padding-left: 24px;
}

.reader-list li,
.theme-list li {
  margin-bottom: 6px;
}

.product-feature-list {
  margin: 8px 0 0;
  padding-left: 24px;
}

.product-feature-list li {
  margin-bottom: 6px;
}

.roll20-support-box {
  margin: 12px 0;
  padding: 10px;
  background: #07111b;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
}

.roll20-support-box h3,
.roll20-support-box h4 {
  margin-top: 0;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.roll20-logo-link {
  display: table;
  max-width: 100%;
  margin: 10px auto 6px auto;
  text-decoration: none;
}

.roll20-logo-plate {
  display: inline-block;
  max-width: 100%;
  padding: 0.65rem 1rem;
  background: #e8e2d3;
  border: 1px solid var(--trim-blue-light);
  box-shadow: inset 0 0 0 1px #111;
}

.roll20-logo-link:hover .roll20-logo-plate,
.roll20-logo-link:focus .roll20-logo-plate {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 1px var(--gold-light), inset 0 0 0 1px #111;
}

.roll20-logo-image {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.dark-readable,
.sidebar-box,
.book-card,
.purchase-box,
.roll20-support-box,
.promo-sheet-panel,
.license-tier,
.license-commercial,
.license-download-box,
.license-faq,
.license-warning,
.mailto-box,
.errata-source-section,
.errata-entry,
.field-manual-note,
.substack-link-box,
.articles-box,
.author-portrait-frame {
  color: var(--text);
}

.dark-readable h1,
.dark-readable h2,
.dark-readable h3,
.dark-readable h4,
.dark-readable strong,
.dark-readable b,
.sidebar-box strong,
.sidebar-box b,
.book-card strong,
.book-card b,
.purchase-box strong,
.purchase-box b,
.roll20-support-box strong,
.roll20-support-box b,
.promo-sheet-panel strong,
.promo-sheet-panel b,
.license-tier strong,
.license-tier b,
.license-commercial strong,
.license-commercial b,
.license-download-box strong,
.license-download-box b,
.license-faq strong,
.license-faq b,
.license-warning strong,
.license-warning b,
.mailto-box strong,
.mailto-box b,
.errata-source-section strong,
.errata-source-section b,
.errata-entry strong,
.errata-entry b,
.field-manual-note strong,
.field-manual-note b,
.substack-link-box strong,
.substack-link-box b,
.articles-box strong,
.articles-box b,
.author-portrait-frame strong,
.author-portrait-frame b {
  color: var(--gold-light);
}

.dark-readable p,
.dark-readable li,
.dark-readable dd,
.dark-readable dt,
.sidebar-box p,
.sidebar-box li,
.book-card p,
.book-card li,
.purchase-box p,
.purchase-box li,
.roll20-support-box p,
.roll20-support-box li,
.promo-sheet-panel p,
.promo-sheet-panel li,
.license-tier p,
.license-tier li,
.license-commercial p,
.license-commercial li,
.license-download-box p,
.license-download-box li,
.license-faq p,
.license-faq li,
.license-warning p,
.license-warning li,
.mailto-box p,
.mailto-box li,
.errata-source-section p,
.errata-source-section li,
.errata-entry p,
.errata-entry li,
.field-manual-note p,
.field-manual-note li,
.substack-link-box p,
.substack-link-box li,
.articles-box p,
.articles-box li,
.author-portrait-frame p,
.author-portrait-frame li {
  color: var(--text);
}

.toolkit-status-box {
  color: var(--text);
}

.toolkit-status-box h3,
.toolkit-status-box h4,
.toolkit-status-box strong,
.toolkit-status-box b {
  color: var(--gold-light);
}

.toolkit-status-box p {
  color: var(--text);
}

.license-tier,
.license-commercial,
.license-download-box,
.license-faq,
.license-warning,
.mailto-box,
.attribution-example {
  margin: 12px 0;
  padding: 10px;
  border: 2px solid #000;
}

.license-tier h3,
.license-commercial h3,
.license-download-box h3,
.license-faq h3,
.license-warning h3,
.mailto-box h3,
.attribution-example h3,
.attribution-example h4 {
  margin-top: 0;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.license-tier-open {
  background: #0d1015;
  outline: 1px solid var(--trim-blue-light);
}

.license-tier-inner {
  background: #14120e;
  outline: 1px solid var(--gold);
}

.license-commercial {
  background: #140b0a;
  outline: 1px solid var(--danger-red);
}

.license-download-box,
.mailto-box {
  background: #07111b;
  outline: 1px solid var(--trim-blue-light);
}

.license-faq {
  background: #0b0d12;
  outline: 1px solid var(--trim-blue);
}

.license-warning {
  background: #181106;
  outline: 1px solid var(--gold);
}

.attribution-example {
  color: #17110a;
  background: var(--parchment);
  outline: 1px solid var(--gold);
  font-family: var(--font-serif);
}

.attribution-example h3,
.attribution-example h4 {
  color: #2a1b08;
}

.attribution-example p,
.attribution-example li,
.attribution-example strong,
.attribution-example b {
  color: #17110a;
}

.preview-panel {
  margin: 12px 0;
  padding: 14px;
  color: var(--muted-text);
  background: #0b0d12;
  border: 2px dashed var(--trim-blue);
  font-family: var(--font-mono);
  text-align: center;
}

.shelf-teaser {
  display: table;
  width: 100%;
}

.shelf-teaser .cover-thumb,
.shelf-teaser .product-image-link,
.shelf-teaser-copy {
  display: table-cell;
  vertical-align: top;
}

.shelf-teaser .cover-thumb {
  margin-right: 12px;
}

.product-image-hint {
  margin: -4px 0 14px;
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.45;
}

.product-image-link {
  width: 118px;
  border: 1px solid transparent;
  text-decoration: none;
}

.product-image-link:hover,
.product-image-link:focus {
  border-color: var(--gold-light);
  outline: none;
}

.product-image-link img {
  display: block;
}

.product-image-link:hover img,
.product-image-link:focus img {
  filter: brightness(1.08);
}

.shelf-teaser .product-image-link .cover-thumb {
  display: block;
  margin-right: 0;
}

.shelf-teaser-copy {
  padding-left: 12px;
}

.action-link-row,
.book-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.45;
}

.action-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0.25rem;
  padding-left: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.45;
}

.action-link-list li {
  margin: 0;
}

.action-link-row a,
.action-link-button,
.book-links a,
.action-link-list a {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  color: #050505;
  background: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 1px #111;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: bold;
  line-height: 1.25;
  text-decoration: none;
}

.action-link-row a:visited,
.action-link-button:visited,
.book-links a:visited,
.action-link-list a:visited {
  color: #050505;
}

.action-link-row a:hover,
.action-link-row a:focus,
.action-link-button:hover,
.action-link-button:focus,
.book-links a:hover,
.book-links a:focus,
.action-link-list a:hover,
.action-link-list a:focus {
  color: #050505;
  background: var(--gold-light);
  border-color: var(--gold-light);
  text-decoration: none;
}

.secondary-action-button {
  color: var(--gold-light);
  background: var(--panel-bg-2);
  border-color: var(--trim-blue-light);
}

.secondary-action-button:visited {
  color: var(--gold-light);
}

.secondary-action-button:hover,
.secondary-action-button:focus {
  color: #050505;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.action-link-list a.social-logo-button,
.social-logo-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-light);
  background: var(--panel-bg-2);
  border-color: var(--trim-blue-light);
}

.action-link-list a.social-logo-button:visited,
.social-logo-button:visited {
  color: var(--gold-light);
}

.action-link-list a.social-logo-button:hover,
.action-link-list a.social-logo-button:focus,
.social-logo-button:hover,
.social-logo-button:focus {
  color: #050505;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.social-logo-button img {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0.18rem;
  background: #050505;
  border: 1px solid #8a6a24;
  object-fit: contain;
}

.buy-link {
  display: inline-block;
  margin: 6px 8px 4px 0;
  padding: 6px 9px;
  color: #050505;
  background: var(--gold);
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
  box-shadow: inset 1px 1px 0 var(--gold-light), inset -1px -1px 0 rgba(0, 0, 0, 0.65);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.25;
  font-weight: bold;
  text-decoration: none;
}

.buy-link:visited {
  color: #050505;
}

.buy-link:hover,
.buy-link:focus {
  color: #050505;
  background: var(--gold-light);
  border-color: #000;
  outline-color: var(--gold-light);
  text-decoration: none;
}

.errata-list {
  margin: 12px 0;
}

.errata-entry {
  margin: 12px 0;
  padding: 10px;
  background: #0d1015;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue);
}

.errata-entry h3 {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: normal;
}

.errata-entry p {
  margin: 6px 0;
}

.errata-meta {
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 15px;
}

.errata-status {
  display: inline-block;
  padding: 2px 6px;
  border: 1px solid #000;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: bold;
}

.errata-status-active {
  color: #041017;
  background: var(--gold);
}

.errata-status-clarification {
  color: #061019;
  background: var(--trim-blue-light);
}

.errata-status-superseded {
  color: #f7e8c0;
  background: var(--danger-red);
}

.errata-section-nav {
  margin: 12px 0;
  padding: 8px;
  text-align: center;
  background: #07111b;
}

.errata-section-nav a {
  display: inline-block;
  margin: 3px;
  padding: 5px 7px;
  color: var(--text);
  background: #101216;
  border: 1px solid var(--trim-blue);
  font-family: var(--font-mono);
  font-size: 15px;
  text-decoration: none;
}

.errata-section-nav a:hover {
  color: #05070a;
  background: var(--gold);
}

.errata-source-section {
  margin: 14px 0;
  padding: 10px;
  background: #0b0d12;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
}

.errata-source-title {
  margin: 0 0 4px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: normal;
}

.errata-date,
.errata-meta {
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 15px;
}

.field-manual-note {
  margin: 8px 0;
  padding: 8px;
  color: var(--parchment);
  background: #07111b;
  border: 1px solid var(--trim-blue);
}

.gov-field-correction {
  outline-color: #4f7155;
}

.dad-rules-correction {
  outline-color: var(--gold);
}

.optional-rule-box {
  background: #101216;
  outline: 1px dashed var(--gold-light);
}

.clarification-box {
  background: #0d1015;
  outline: 1px solid var(--trim-blue-light);
}

.proficiency-table th {
  width: 42%;
}

.errata-entry h4 {
  margin: 12px 0 4px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: normal;
}

.errata-table {
  width: 100%;
  margin: 8px 0 4px;
  border-collapse: collapse;
  color: var(--text);
  background: #101216;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
}

.errata-table th,
.errata-table td {
  padding: 7px;
  border: 1px solid var(--trim-blue);
}

.errata-table th {
  color: #05070a;
  background: var(--gold);
  font-family: var(--font-mono);
  text-align: left;
}

.errata-table tr:nth-child(even) td {
  background: #151922;
}

.rulebook-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1rem auto 1.25rem auto;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.35;
  color: #111;
  background: #f4f0e6;
  border: 1px solid #111;
}

.rulebook-table caption {
  caption-side: top;
  font-size: 1.25rem;
  font-weight: normal;
  color: #e8d28a;
  padding: 0.35rem 0;
  text-align: center;
}

.rulebook-table th {
  background: #c9c9c9;
  color: #111;
  border: 1px solid #222;
  padding: 0.35rem 0.5rem;
  text-align: center;
  font-weight: normal;
}

.rulebook-table td {
  border: 1px solid #333;
  padding: 0.3rem 0.5rem;
  text-align: center;
}

.rulebook-table tbody tr:nth-child(even) {
  background: #d7d7d7;
}

.rulebook-table tbody tr:nth-child(odd) {
  background: #f5f5f5;
}

.rulebook-table td:first-child,
.rulebook-table th:first-child {
  text-align: left;
}

.proficiency-slots-table {
  max-width: 100%;
}

.status-tag {
  display: inline-block;
  margin: 2px 0 4px;
  padding: 3px 7px;
  border: 1px solid #000;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: bold;
}

.status-active {
  color: #041017;
  background: var(--gold);
}

.status-layout {
  color: #061019;
  background: var(--trim-blue-light);
}

.status-future {
  color: #f7e8c0;
  background: var(--danger-red);
}

.layout-shelf {
  outline-color: var(--gold);
}

.fiction-shelf,
.military-shelf .book-card,
.book-card.military-shelf {
  background: #0d1412;
  outline-color: #4f7155;
}

.nonfiction-shelf {
  background: #14120e;
  outline-color: var(--parchment-dark);
}

.future-shelf {
  background: #140b0a;
  outline-color: var(--danger-red);
}

.parchment-box {
  margin: 10px 0;
  padding: 10px;
  color: #17110a;
  background: var(--parchment);
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  font-family: var(--font-serif);
}

.parchment-box h2,
.parchment-box h3,
.parchment-box h4 {
  margin-top: 0;
  color: #2a1b08;
}

.sidebar-box.parchment-box h2 {
  color: var(--gold-light);
}

.parchment-box p,
.parchment-box li,
.parchment-box dd,
.parchment-box dt,
.parchment-box strong,
.parchment-box b {
  color: #17110a;
}

.parchment-box .toolkit-status-box h3,
.parchment-box .toolkit-status-box h4,
.parchment-box .toolkit-status-box strong,
.parchment-box .toolkit-status-box b {
  color: var(--gold-light);
}

.parchment-box .toolkit-status-box,
.parchment-box .toolkit-status-box p {
  color: var(--text);
}

.parchment-box a {
  color: #0f4f8c;
}

.parchment-box .book-links a,
.parchment-box .action-link-row a,
.parchment-box .action-link-button,
.parchment-box .action-link-list a {
  color: #050505;
}

.parchment-box .book-links a:hover,
.parchment-box .book-links a:focus,
.parchment-box .action-link-row a:hover,
.parchment-box .action-link-row a:focus,
.parchment-box .action-link-button:hover,
.parchment-box .action-link-button:focus,
.parchment-box .action-link-list a:hover,
.parchment-box .action-link-list a:focus {
  color: #050505;
}

.parchment-box .action-link-list a.social-logo-button {
  color: var(--gold-light);
  background: var(--panel-bg-2);
  border-color: var(--trim-blue-light);
}

.parchment-box .action-link-list a.social-logo-button:visited {
  color: var(--gold-light);
}

.parchment-box .action-link-list a.social-logo-button:hover,
.parchment-box .action-link-list a.social-logo-button:focus {
  color: #050505;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.inset-box {
  margin-top: 12px;
}

.feature-list {
  margin: 8px 0;
  padding-left: 24px;
}

.feature-list li {
  margin-bottom: 5px;
}

.about-page .book-card {
  margin-bottom: 14px;
}

.author-portrait-frame {
  margin: 12px 0 16px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(31, 95, 156, 0.20), transparent),
    #080a0e;
  text-align: center;
}

.author-portrait {
  display: block;
  max-width: 100%;
  width: 360px;
  height: auto;
  margin: 0 auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #000;
}

.author-caption {
  margin: 10px auto 0;
  padding: 7px;
  max-width: 360px;
  color: var(--parchment);
  background: #05070a;
  border: 1px solid var(--trim-blue);
  font-family: var(--font-serif);
}

.author-caption p {
  margin: 2px 0;
}

.substack-link-box,
.articles-box {
  margin: 12px 0;
  padding: 10px;
  background: #07111b;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue-light);
}

.substack-link-box h3,
.articles-box h3 {
  margin-top: 0;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-weight: normal;
}

.article-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}

.article-card {
  position: relative;
}

.article-card h3,
.article-listing h4 {
  color: var(--gold-light);
}

.article-meta {
  color: var(--parchment);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.45;
}

.article-listing {
  margin: 10px 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid #2a1b08;
}

.article-listing h4 {
  margin: 0 0 6px;
  color: #2a1b08;
  font-size: 20px;
}

.article-listing .article-meta {
  color: #4b3514;
}

.article-archive .book-card {
  margin-bottom: 12px;
}

.art-note-box {
  margin: 1rem 0;
  padding: 1rem;
  color: var(--text);
  background: var(--panel-bg);
  border: 1px solid var(--trim-blue);
  box-shadow: inset 0 0 0 1px #05070a;
}

.art-note-box h2,
.art-note-box h3,
.art-note-box strong,
.art-note-box b {
  margin-top: 0;
  color: var(--gold-light);
}

.art-note-box p,
.art-note-box li {
  color: var(--text);
}

.author-photo-frame {
  margin: 12px 0 16px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(217, 164, 49, 0.12), transparent),
    #0b0d12;
  text-align: center;
}

.author-photo-frame object {
  display: block;
  width: 230px;
  min-height: 280px;
  margin: 0 auto;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
  background: #05070a;
}

.author-photo-placeholder {
  display: table-cell;
  width: 230px;
  height: 280px;
  padding: 14px;
  color: var(--gold-light);
  background:
    linear-gradient(135deg, rgba(31, 95, 156, 0.22), transparent 48%),
    #101216;
  border: 1px dashed var(--trim-blue-light);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}

.closing-note p {
  font-size: 20px;
}

.file-note {
  color: var(--muted-text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.45;
}

.main-column .file-note {
  font-size: 15px;
  line-height: 1.45;
}

.tiny-type {
  font-family: var(--font-mono);
  font-size: 14px;
}

.updates-ledger {
  border-left: 2px solid var(--trim-blue);
  padding-left: 12px;
}

.ledger-entry {
  margin: 0 0 14px;
  padding: 10px;
  background: #0d1015;
  border: 2px solid #000;
  outline: 1px solid var(--gold);
}

.ledger-entry h3 {
  margin: 0 0 7px;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 15px;
}

.ledger-entry p {
  margin: 0;
}

.system-seal {
  text-align: center;
}

.site-footer {
  margin-top: 12px;
  padding: 10px;
  color: var(--muted-text);
  text-align: center;
  background: #05070a;
  border: 2px solid #000;
  outline: 1px solid var(--trim-blue);
}

.site-footer p {
  margin: 3px 0;
  font-size: 15px;
  line-height: 1.45;
}

.art-disclosure {
  max-width: 960px;
  margin: 0.75rem auto 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--muted-text);
  background: rgba(23, 26, 33, 0.62);
  border-top: 1px solid var(--trim-blue);
  border-bottom: 1px solid #000;
  font-size: 15px;
  line-height: 1.45;
}

.art-disclosure strong {
  color: var(--gold-light);
}

.site-note-link {
  color: #9cc7ff;
  font-size: 16px;
}

.site-note-link:visited {
  color: #9cc7ff;
}

.site-note-link:hover,
.site-note-link:focus {
  color: var(--gold-light);
}

.mechanical-counter {
  width: fit-content;
  margin: 1rem auto;
  padding: 0.55rem 0.75rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(241, 207, 107, 0.12), transparent 28%),
    linear-gradient(#2a2114, #0b0a08);
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 4px rgba(255, 220, 120, 0.16),
    inset 0 -8px 12px rgba(0, 0, 0, 0.86),
    0 0 6px rgba(0, 0, 0, 0.6);
}

.mechanical-counter .visitor-counter-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mechanical-counter .visitor-counter-digits {
  display: inline-flex;
  gap: 2px;
  padding: 0.42rem 0.52rem;
  background:
    radial-gradient(ellipse at center top, rgba(232, 210, 138, 0.12), transparent 42%),
    linear-gradient(to bottom, #251b10 0%, #070605 34%, #000 55%, #1d150d 100%);
  border: 2px solid #8a6a24;
  border-radius: 6px;
  box-shadow:
    inset 0 2px 5px rgba(255, 220, 120, 0.12),
    inset 0 0 0 2px rgba(0, 0, 0, 0.75),
    inset 0 -5px 10px rgba(0, 0, 0, 0.92),
    0 0 0 1px #111;
}

.mechanical-counter .visitor-counter-digits > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.38rem;
  height: 2.05rem;
  margin: 0 0.13rem;
  padding: 0 0.16rem;
  overflow: visible;
  color: #f2f0e8;
  text-align: center;
  text-shadow:
    0 1px 1px rgba(0, 0, 0, 0.9),
    0 -1px 0 rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(ellipse at center bottom, rgba(0, 0, 0, 0.92), transparent 48%),
    linear-gradient(to bottom,
      #303030 0%,
      #0a0a0a 21%,
      #161616 43%,
      #030303 50%,
      #151515 57%,
      #080808 79%,
      #252525 100%);
  border-right: 1px solid #030303;
  border-left: 1px solid #16100a;
  border-radius: 42% / 20%;
  box-shadow:
    inset 0 6px 8px rgba(255, 255, 255, 0.06),
    inset 0 -8px 10px rgba(0, 0, 0, 0.9),
    inset 5px 0 8px rgba(0, 0, 0, 0.68),
    inset -5px 0 8px rgba(0, 0, 0, 0.7),
    0 0 0 1px #000;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: bold;
  line-height: 1;
}

.mechanical-counter .visitor-counter-digits > span::before {
  position: absolute;
  z-index: 0;
  top: 0.18rem;
  right: -0.2rem;
  bottom: 0.18rem;
  left: -0.2rem;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      to bottom,
      #050505 0 3px,
      #2d2d2d 3px 5px,
      #090909 5px 8px
    ) left center / 0.24rem 100% no-repeat,
    repeating-linear-gradient(
      to bottom,
      #050505 0 3px,
      #2d2d2d 3px 5px,
      #090909 5px 8px
    ) right center / 0.24rem 100% no-repeat,
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0.1),
      transparent 24%,
      transparent 66%,
      rgba(0, 0, 0, 0.52));
  border-radius: 6px;
  box-shadow:
    inset 1px 0 1px rgba(255, 255, 255, 0.05),
    inset -1px 0 1px rgba(255, 255, 255, 0.04);
}

.mechanical-counter .visitor-counter-digits > span::after {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 0.08rem;
  left: 0.08rem;
  height: 0;
  pointer-events: none;
  content: "";
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 2px solid rgba(0, 0, 0, 0.82);
  box-shadow:
    0 -1px 0 rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-50%);
}

.mechanical-counter .visitor-counter-wheel-window {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.mechanical-counter .visitor-counter-wheel-strip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transform: translateY(0);
  will-change: transform;
}

.mechanical-counter .visitor-counter-wheel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  height: 2.05rem;
  color: inherit;
  font: inherit;
  line-height: 1;
  text-align: center;
  text-shadow: inherit;
}

.mechanical-counter .visitor-counter-wheel-rolling .visitor-counter-wheel-strip {
  animation: visitor-odometer-roll var(--roll-duration, 620ms) cubic-bezier(0.18, 0.86, 0.32, 1) var(--roll-delay, 0ms) both;
}

@keyframes visitor-odometer-roll {
  from {
    transform: translateY(0);
  }

  62% {
    transform: translateY(calc(var(--roll-offset, -100%) - 7%));
  }

  82% {
    transform: translateY(calc(var(--roll-offset, -100%) + 3%));
  }

  to {
    transform: translateY(var(--roll-offset, -100%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mechanical-counter .visitor-counter-wheel-rolling .visitor-counter-wheel-strip {
    animation: none;
    transform: translateY(var(--roll-offset, 0));
  }
}
