:root {
  --ink: #120f0b;
  --ink-2: #1a1510;
  --ink-3: #231c15;
  --line: rgba(214, 178, 104, .16);
  --line-2: rgba(214, 178, 104, .32);
  --parch: #ecdfc3;
  --parch-2: #c9bb9c;
  --mute: #978a72;
  --gold: #d6b268;
  --gold-2: #f1d99a;
  --gold-3: #9c7432;
  --wax: #8e1f24;
  --wax-2: #b8302f;
  --ok: #6f9a55;
  --r: 14px;
  --wrap: 74rem;
  --display: "Cinzel", Georgia, serif;
  --body: "Alegreya", Georgia, serif;
  --small-caps: "Alegreya Sans SC", "Alegreya", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ink); color: var(--parch-2); font-family: var(--body); font-size: 19px; line-height: 1.6;
}
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--display); color: var(--parch); line-height: 1.15; letter-spacing: .02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { font-family: Consolas, monospace; font-size: .82em; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); padding: .05em .4em; border-radius: 4px; color: var(--gold-2); }
small { font-size: .7em; color: var(--mute); }
.muted { color: var(--mute); }
.center { text-align: center; }
.inline { display: inline; }
.lead { font-size: 1.15em; color: var(--parch-2); max-width: 46rem; }
.eyebrow { font-family: var(--small-caps); font-size: .85rem; letter-spacing: .14em; text-transform: lowercase; color: var(--gold); margin: 0 0 .4em; }
.eyebrow a { text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 18px; } }

/* ---------------------------------------------------------------- the bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(18, 15, 11, .9); border-bottom: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.topbar-inner { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--parch); font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.brand .crest { width: 28px; height: 35px; }
.topbar nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar nav a { font-family: var(--small-caps); font-size: .95rem; letter-spacing: .06em; color: var(--parch-2); text-decoration: none; }
.topbar nav a:hover, .topbar nav .nav-account { color: var(--gold-2); }
.navtoggle, .navburger { display: none; }
@media (max-width: 900px) {
  .topbar-inner { flex-wrap: wrap; }
  .navburger { display: block; cursor: pointer; font-size: 1.5rem; color: var(--parch); }
  .topbar nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; padding: 8px 0 6px; }
  .navtoggle:checked ~ nav { display: flex; }
}

/* ---------------------------------------------------------------- the hero */
.hero { position: relative; min-height: min(92vh, 760px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.skyline { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-cloth path { transform-origin: left center; animation: flutter 3.5s ease-in-out infinite; }
@keyframes flutter { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-3deg) scaleX(.94); } }
@media (prefers-reduced-motion: reduce) { .banner-cloth path { animation: none; } }
.hero-inner { position: relative; text-align: center; padding-top: 70px; padding-bottom: 140px; }
.hero-inner .crest { width: 74px; height: 92px; filter: drop-shadow(0 8px 24px rgba(142, 31, 36, .7)); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); font-weight: 900; margin: .15em 0; text-shadow: 0 4px 0 #000, 0 0 40px rgba(0, 0, 0, .6); }
.tagline { font-style: italic; font-size: clamp(1.1rem, 2.6vw, 1.45rem); color: var(--parch); margin: 0 auto 1.6em; max-width: 40rem; text-shadow: 0 2px 6px #000; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(0, 0, 0, .55); font-family: var(--small-caps); letter-spacing: .05em; font-size: .95rem; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mute); }
.status.up .dot { background: #7fcf5f; box-shadow: 0 0 10px #7fcf5f; }
.status.down .dot { background: var(--wax-2); }

/* ---------------------------------------------------------------- sections */
.page { padding-top: 34px; padding-bottom: 70px; flex: 1; }
.page.wide { max-width: 86rem; }
.section { padding-top: 70px; padding-bottom: 10px; }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: .7em; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-admin { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col, .grid-2, .grid-admin { grid-template-columns: 1fr; gap: 24px; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } .section { padding-top: 50px; } }
.narrow { max-width: 560px; margin: 0 auto; }

.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(241, 217, 154, .05);
}
.card h2 { font-size: 1.15rem; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.card:hover { border-color: var(--line-2); transform: translateY(-2px); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pillars { grid-template-columns: 1fr; } }
.pillar { position: relative; padding-top: 30px; }
.pillar .numeral { position: absolute; top: 14px; right: 20px; font-family: var(--display); font-weight: 800; color: var(--gold-3); opacity: .6; }
.pillar h3 { font-size: 1.25rem; color: var(--gold-2); }
.lore { border-left: 3px solid var(--wax); font-style: italic; }

.ladder { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; counter-reset: rung; }
.ladder li { counter-increment: rung; background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px 10px; text-align: center; position: relative; }
.ladder li::before { content: counter(rung, upper-roman); display: block; font-family: var(--display); color: var(--gold-3); font-size: .85rem; }
.ladder strong { display: block; font-family: var(--display); color: var(--parch); font-size: .95rem; }
.ladder span { font-size: .8rem; color: var(--mute); }
.ladder li:last-child { border-color: var(--gold-3); }
@media (max-width: 900px) { .ladder { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .ladder { grid-template-columns: 1fr 1fr; } }

.faction-card { position: relative; padding-left: 30px; }
.swatch { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c); border-radius: var(--r) 0 0 var(--r); }
.swatch.big { position: static; display: inline-block; width: 14px; height: 1em; border-radius: 3px; margin-right: 12px; vertical-align: -0.1em; }
.faction-card small, h1 small { color: var(--gold); font-size: .65em; }
.trade h3 { color: var(--gold-2); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide-stats { grid-template-columns: repeat(5, 1fr); margin-bottom: 20px; }
@media (max-width: 900px) { .wide-stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; margin: 0; }
.stat strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--gold-2); line-height: 1.2; }
.stat span { font-family: var(--small-caps); font-size: .85rem; letter-spacing: .05em; color: var(--mute); }
.sheet .stat-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
.sheet .stat strong { font-size: 1.15rem; }
@media (max-width: 600px) { .sheet .stat-grid { grid-template-columns: 1fr 1fr; } }

.ledger-list, .member-list, .rank-list { list-style: none; padding: 0; margin: 0 0 1em; }
.ledger-list li, .member-list li, .rank-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ledger-list li:last-child, .member-list li:last-child { border-bottom: 0; }
.wanted-list li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.bounty { margin-left: auto; font-family: var(--display); color: var(--wax-2); font-weight: 700; }
.crime { color: #e0857a; }

.wanted-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 900px) { .wanted-grid { grid-template-columns: 1fr 1fr; } }
.notice { background: #e6d6b3; color: #2b2015; border-color: #b49a6a; text-align: center; transform: rotate(-.6deg); }
.notice:nth-child(even) { transform: rotate(.7deg); }
.notice h3 { color: #2b2015; font-size: 1.3rem; }
.notice .eyebrow { color: var(--wax); font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .2em; text-transform: uppercase; }
.notice .muted { color: #6e5c40; }
.bounty-big { font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--wax); margin: .2em 0; }

.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }
.news .meta { color: var(--mute); font-family: var(--small-caps); font-size: .9rem; margin-bottom: .3em; }
.faq details summary { cursor: pointer; font-family: var(--display); color: var(--parch); }
.faq details p { margin: .8em 0 0; }
.final-cta { margin-top: 80px; padding: 80px 0; background: radial-gradient(ellipse at center, rgba(142, 31, 36, .35), transparent 70%); border-top: 1px solid var(--line); }
.final-cta .crest { width: 60px; height: 75px; }

/* ---------------------------------------------------------------- buttons and forms */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--parch); background: linear-gradient(180deg, var(--wax-2), var(--wax)); border: 1px solid #5d1418;
  border-radius: 10px; padding: 13px 24px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 3px 0 #000;
}
.btn:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { background: rgba(0, 0, 0, .35); border-color: var(--gold-3); color: var(--gold-2); box-shadow: none; }
.btn-small { padding: 8px 15px; font-size: .74rem; }
.btn-danger { background: #3a0d0f; border-color: var(--wax-2); }
.linklike { background: none; border: 0; padding: 0; color: var(--mute); font: inherit; font-family: var(--small-caps); cursor: pointer; text-decoration: underline; }
.linklike:hover { color: var(--gold-2); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-family: var(--small-caps); font-size: 1rem; letter-spacing: .04em; color: var(--parch); }
.form label small { font-family: var(--body); letter-spacing: 0; font-size: .92rem; }
.form label.check { flex-direction: row; align-items: center; gap: 10px; font-family: var(--body); }
input, textarea, select {
  width: 100%; font: inherit; font-family: var(--body); font-size: 1.05rem; color: var(--parch);
  background: #0c0a07; border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px;
}
input[type="checkbox"] { width: auto; accent-color: var(--wax-2); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; border: 1px solid; }
.flash-error { background: #2c0e0e; border-color: var(--wax-2); color: #f1c9c3; }
.flash-ok, .flash-info { background: #172413; border-color: var(--ok); color: #d3e6c8; }

/* ---------------------------------------------------------------- content */
.rules { counter-reset: rule; list-style: none; padding: 0; }
.rules li { counter-increment: rule; position: relative; padding: 14px 18px 14px 64px; margin-bottom: 10px; background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--wax); border-radius: 10px; }
.rules li::before { content: counter(rule, upper-roman); position: absolute; left: 18px; top: 14px; font-family: var(--display); font-weight: 700; color: var(--gold); }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 60px; margin-bottom: 24px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; background: var(--wax); color: var(--parch); border: 2px solid var(--gold); border-radius: 50%; }
.table { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.table th { text-align: left; font-family: var(--small-caps); color: var(--gold); font-weight: 500; letter-spacing: .05em; border-bottom: 1px solid var(--line-2); padding: 8px; }
.table td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.table.small { font-size: .9rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: #a9d38f; } .neg { color: #e0857a; }

.badge { display: inline-block; font-family: var(--small-caps); font-size: .85rem; letter-spacing: .06em; padding: 2px 10px; border-radius: 6px; vertical-align: middle; border: 1px solid; }
.badge-approved { color: #a9d38f; border-color: var(--ok); background: #172413; }
.badge-pending { color: var(--gold-2); border-color: var(--gold-3); background: #2a2210; }
.badge-denied { color: var(--mute); border-color: var(--mute); }
.badge-banned { color: #f1c9c3; border-color: var(--wax-2); background: #2c0e0e; }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7fcf5f; margin-right: 6px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tab { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--parch-2); font-family: var(--small-caps); }
.tab span { color: var(--mute); margin-left: 4px; }
.tab.active { border-color: var(--wax-2); background: #2c0e0e; color: var(--parch); }
.search { display: flex; gap: 8px; margin-bottom: 16px; }
.user-row { padding: 14px 18px; }
.user-row summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; list-style: none; cursor: pointer; }
.user-row summary::-webkit-details-marker { display: none; }
.user-detail { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.user-detail dl { display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; margin: 0 0 12px; }
.user-detail dt { color: var(--mute); }
.user-detail dd { margin: 0; word-break: break-word; }
.story { background: #0c0a07; border-left: 3px solid var(--gold-3); padding: 8px 14px; margin-bottom: 14px; font-style: italic; }
.admin-actions { display: flex; flex-direction: column; gap: 10px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.button-row select { width: auto; }
.news-line { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; }
.log { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.log li { padding: 4px 0; border-bottom: 1px solid var(--line); }

footer { border-top: 1px solid var(--line-2); padding: 30px 0; color: var(--mute); font-size: .92rem; }
.footer-inner { display: grid; gap: 6px; }
.footer-inner div { display: flex; align-items: center; gap: 10px; color: var(--parch); font-family: var(--display); }
.footer-inner .crest { width: 22px; height: 28px; }

/* ================================================================ the illustrated pass */

/* a fine grain over everything, as on old paper */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* the hero */
.hero { min-height: min(100vh, 860px); border-bottom: 0; }
.hero-inner { padding-bottom: 190px; }
.hero .eyebrow { color: var(--gold-2); text-shadow: 0 1px 4px #000; }
.gilded {
  background: linear-gradient(180deg, #fff3cf 0%, #f1d99a 38%, #c99a45 62%, #8a6224 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .85)) drop-shadow(0 0 30px rgba(0, 0, 0, .5));
}
.hero h1.gilded { text-shadow: none; }
.lit rect { animation: flicker 4s ease-in-out infinite; }
.lit rect:nth-child(3n) { animation-delay: 1.3s; } .lit rect:nth-child(3n+1) { animation-delay: 2.6s; }
@keyframes flicker { 0%, 100% { opacity: .95; } 45% { opacity: .65; } 55% { opacity: 1; } }
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.embers span {
  position: absolute; bottom: -10px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: #ffb35c; box-shadow: 0 0 8px 2px rgba(255, 140, 50, .7);
  animation: rise var(--d) linear var(--delay) infinite; opacity: 0;
}
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(40px, -620px); opacity: 0; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--gold-3); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .embers, .lit rect, .scroll-cue span { animation: none; } .embers { display: none; } }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .35), transparent); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* the strip of numbers under the hero */
.stat-strip { background: linear-gradient(180deg, #1d1611, #15100c); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat-strip-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.stat-strip-inner div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.stat-strip-inner .icon { grid-row: span 2; color: var(--gold-3); }
.stat-strip-inner strong { font-family: var(--display); font-size: 1.5rem; color: var(--gold-2); line-height: 1; }
.stat-strip-inner span { font-family: var(--small-caps); font-size: .85rem; color: var(--mute); letter-spacing: .04em; }
@media (max-width: 900px) { .stat-strip-inner { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } }

/* sections */
.section-intro { max-width: 48rem; margin-bottom: 26px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro .lead { margin: 0; }
.divider-orn { color: var(--gold-3); display: flex; justify-content: center; padding: 50px 0 0; }
.divider-orn svg { width: 240px; height: 24px; }

/* the six pillars */
.pillar { padding-top: 26px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.pillar:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 14px 40px -18px rgba(214, 178, 104, .35); }
.emblem {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%;
  color: var(--gold-2); background: radial-gradient(circle at 35% 30%, #3a2a1a, #18110c); border: 1px solid var(--gold-3);
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .35), 0 0 0 1px rgba(214, 178, 104, .1);
}
.emblem.small { width: 44px; height: 44px; margin: 0; flex: none; }
.pillar .numeral { top: 22px; right: 22px; font-size: 1.4rem; }

/* the parchment band */
.parchment-band {
  margin-top: 60px; padding: 70px 0; color: #3a2c1c;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(ellipse at 90% 90%, rgba(120, 80, 30, .25), transparent 55%),
    linear-gradient(180deg, #eadbb9, #dcc79d);
  border-top: 6px double #8a6a3a; border-bottom: 6px double #8a6a3a;
}
.parchment-band h2 { color: #2b1f12; }
.parchment-band .eyebrow { color: var(--wax); }
.parchment-band a { color: var(--wax); }
.dropcap::first-letter { float: left; font-family: var(--display); font-weight: 900; font-size: 3.6em; line-height: .85; margin: 6px 10px 0 0; color: var(--wax); }
.lore { margin: 0; padding: 28px 30px; border-left: 4px solid var(--wax); background: rgba(255, 250, 235, .55); border-radius: 0 var(--r) var(--r) 0; font-style: italic; font-size: 1.08em; box-shadow: 0 10px 30px -20px rgba(60, 30, 10, .6); }
.lore footer { border: 0; padding: 0; font-family: var(--display); font-style: normal; color: var(--wax); font-size: .95rem; }

/* citizenship: a staircase */
.stairs { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.stairs li {
  position: relative; height: calc(120px + var(--step) * 26px); padding: 14px 10px; text-align: center;
  display: flex; flex-direction: column; justify-content: flex-start;
  background: linear-gradient(180deg, #2c2118, #18110c); border: 1px solid var(--line); border-top: 3px solid var(--gold-3); border-radius: 10px 10px 4px 4px;
}
.stairs li:last-child { border-top-color: var(--gold-2); background: linear-gradient(180deg, #3d2b16, #1c140c); box-shadow: 0 0 30px -8px rgba(241, 217, 154, .35); }
.rung-no { font-family: var(--display); color: var(--gold-3); font-size: .9rem; }
.stairs strong { font-family: var(--display); color: var(--parch); font-size: .98rem; margin: 2px 0 6px; }
.rung-need { font-size: .8rem; color: var(--mute); line-height: 1.3; }
@media (max-width: 900px) {
  .stairs { grid-template-columns: 1fr; }
  .stairs li { height: auto; margin-left: calc(var(--step) * 4%); text-align: left; flex-direction: row; gap: 12px; align-items: baseline; }
}

/* an empty banner, waiting */
.empty-banner { display: flex; gap: 26px; align-items: center; padding: 26px 30px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--gold-3); }
.empty-banner svg { width: 70px; flex: none; }
.empty-banner h3 { color: var(--parch); }
.empty-banner p { color: var(--parch-2); margin: 0; }

/* the steward's deed */
.deed {
  position: relative; padding: 30px 34px 26px; color: #3a2c1c; border-radius: 6px;
  background: linear-gradient(180deg, #ecdfc3, #d9c497); box-shadow: 0 20px 50px -25px #000, inset 0 0 40px rgba(120, 80, 30, .25);
  transform: rotate(.6deg);
}
.deed .eyebrow { color: var(--wax); }
.deed dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0; }
.deed dt { border-bottom: 1px dotted #a88a5a; }
.deed dd { margin: 0; font-family: var(--display); font-weight: 700; color: #2b1f12; text-align: right; border-bottom: 1px dotted #a88a5a; }
.deed-seal { position: absolute; right: -14px; bottom: -14px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #f3d9b0; background: radial-gradient(circle at 35% 30%, #c0393a, #6e1418); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }

/* trades */
.trade { display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s; }
.trade:hover { border-color: var(--line-2); }
.trade h3 { margin-bottom: .25em; }
.trade p { margin: 0; font-size: .95rem; }

/* the dark band: war and the law */
.dark-band { margin-top: 70px; padding: 70px 0; background: radial-gradient(ellipse at 70% 0%, rgba(142, 31, 36, .28), transparent 60%), #0d0a07; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list .icon { color: var(--wax-2); flex: none; margin-top: 3px; }
.icon-list li.quiet .icon { color: var(--gold-3); }
.notice-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; padding: 20px; border-radius: 10px; background: repeating-linear-gradient(90deg, #3b2a1b 0 38px, #33241a 38px 40px); box-shadow: inset 0 0 30px rgba(0, 0, 0, .6); }
.notice.small { padding: 14px 12px 12px; margin: 0; position: relative; }
.notice.small::before { content: ""; position: absolute; top: 6px; left: 50%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: #6b6b6b; box-shadow: 0 1px 2px #000; }
.notice-head { font-family: var(--display); font-weight: 900; color: var(--wax); letter-spacing: .25em; text-transform: uppercase; margin: 6px 0 2px; font-size: .95rem; }
.notice.small h3 { font-size: 1.05rem; margin-bottom: .2em; }
.notice.small p { margin: 0 0 .3em; font-size: .9rem; }
.notice.small .bounty-big { font-size: 1.25rem; }
@media (max-width: 600px) { .notice-board { grid-template-columns: 1fr; } }

/* proclamations and the inn's questions */
.news { border-top: 3px solid var(--wax); }
.faq { max-width: 52rem; margin: 0 auto; }
.faq details { transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-family: var(--display); color: var(--gold); font-size: 1.3rem; }
.faq details[open] summary::after { content: "–"; }

/* the closing call */
.final-cta { margin-top: 90px; padding: 100px 0; background: radial-gradient(ellipse at center, rgba(142, 31, 36, .4), transparent 65%), linear-gradient(180deg, transparent, #0d0a07); }
.final-cta h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-top: .4em; }

/* the notice board's contracts */
.contract-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 900px) { .contract-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .contract-grid { grid-template-columns: 1fr; } }
.contract { background: linear-gradient(180deg, #ecdfc3, #dcc79d); color: #3a2c1c; border-color: #b49a6a; transform: rotate(-.4deg); }
.contract:nth-child(even) { transform: rotate(.5deg); }
.contract .muted { color: #6e5c40; }
.contract strong { color: #2b1f12; }
.contract-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed #a88a5a; margin-bottom: 10px; padding-bottom: 6px; }
.contract .reward { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--wax); }
.contract.taken { opacity: .85; }
.contract.done { opacity: .6; filter: grayscale(.4); }
.ledger-list .icon { vertical-align: -3px; color: var(--gold); }

/* politics */
.lordship { border-top: 4px solid var(--lord); }
.lordship h3 { color: var(--gold-2); }
.lordship small { color: var(--mute); }

/* the realm's map: ink on parchment */
.map-frame { border: 10px solid #3b2a1b; border-radius: 6px; box-shadow: 0 0 0 2px var(--gold-3), 0 30px 60px -30px #000; overflow: hidden; margin-bottom: 14px; }
.realm-map { display: block; width: 100%; height: auto; font-family: var(--display); }
.map-paper { fill: #e8d6ae; }
.map-grid line { stroke: #b49a6a; stroke-width: .6; stroke-dasharray: 2 6; }
.town-name { font-size: 17px; font-weight: 700; fill: #2b1f12; text-anchor: middle; paint-order: stroke; stroke: #e8d6ae; stroke-width: 4px; }
.town-holder { font-size: 11px; fill: #6e5c40; text-anchor: middle; font-family: var(--body); font-style: italic; paint-order: stroke; stroke: #e8d6ae; stroke-width: 3px; }
.pop circle { fill: var(--wax); stroke: #e8d6ae; stroke-width: 2; }
.pop text { fill: #fff3cf; font-size: 11px; font-weight: 700; text-anchor: middle; font-family: var(--body); }
.keep path { fill: #3b2a1b; }
.keep text { font-size: 11px; fill: #3b2a1b; text-anchor: middle; font-family: var(--body); paint-order: stroke; stroke: #e8d6ae; stroke-width: 3px; }
.poi circle { fill: #7a5a2c; }
.poi text { font-size: 10px; fill: #5a4428; font-family: var(--body); }
.compass circle { fill: none; stroke: #7a5a2c; stroke-width: 1.5; }
.compass path { fill: #8e1f24; }
.compass text { fill: #5a4428; font-size: 13px; text-anchor: middle; }

/* citizens and profiles */
.citizen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .citizen-grid { grid-template-columns: 1fr 1fr; } }
.citizen { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; }
.citizen strong { font-family: var(--display); color: var(--parch); }

/* the guide */
.guide-card { display: flex; gap: 14px; align-items: flex-start; }
.guide-card h3 { margin-bottom: .2em; }
.guide-card p { font-size: .9rem; margin: 0; }
.guide-body { display: flex; gap: 22px; align-items: flex-start; font-size: 1.08em; }
.guide-body .emblem { flex: none; }
.guide-nav { display: flex; justify-content: space-between; font-family: var(--display); }

/* ---------------------------------------------------------------- staff tools, tickets, outlaws, proclamations */
.staff-nav { margin: .4rem 0 1.4rem; }
.log-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.log-filter select, .log-filter input { flex: 1 1 10rem; }
.log-table td { vertical-align: top; overflow-wrap: anywhere; }
.log-table .nowrap { white-space: nowrap; }
.badge-log { color: var(--parch-2); border-color: var(--line-2); background: var(--ink-3); }
.log-kill td, .log-crime td { color: #e3a39a; }
.log-wound td, .log-punish td, .log-warn td { color: var(--gold-2); }
.badge-ticket-open { color: var(--gold-2); border-color: var(--gold-3); background: #2a2210; }
.badge-ticket-answered { color: #a9d38f; border-color: var(--ok); background: #172413; }
.badge-ticket-closed { color: var(--mute); border-color: var(--line-2); background: var(--ink-2); }
.ticket-msg { margin-bottom: 1rem; }
.ticket-msg.from-staff { border-left: 3px solid var(--gold); }
.card.outlaw { border-color: var(--wax); background: linear-gradient(180deg, rgba(142, 31, 36, .18), transparent 60%), var(--ink-2); }
.card.proclamation p:first-child { font-style: italic; font-size: 1.05rem; }
@media (max-width: 640px) { .log-table th:nth-child(6), .log-table td:nth-child(6) { display: none; } }

/* ---------------------------------------------------------------- the forum */
.forum-boards { display: grid; gap: .75rem; }
.forum-board { display: grid; grid-template-columns: 1fr 7rem 16rem; gap: 1rem; align-items: center; text-decoration: none; color: inherit; }
.forum-board:hover { border-color: var(--line-2); }
.forum-board h3 { margin: 0 0 .2rem; }
.forum-board p { margin: 0; }
.forum-counts { text-align: center; font-size: .9rem; color: var(--mute); }
.forum-counts strong { color: var(--parch); }
.forum-last { font-size: .9rem; overflow: hidden; text-overflow: ellipsis; }
.forum-threads tr.pinned td { background: rgba(214, 178, 104, .05); }
.forum-post { display: grid; grid-template-columns: 11rem 1fr; gap: 1.2rem; margin-bottom: .9rem; }
.forum-author { border-right: 1px solid var(--line); padding-right: 1rem; display: flex; flex-direction: column; gap: .35rem; overflow-wrap: anywhere; }
.forum-body { min-width: 0; overflow-wrap: anywhere; }
.forum-body .meta { font-size: .85rem; margin: 0 0 .5rem; }
.forum-body blockquote { margin: .5rem 0; padding: .4rem .9rem; border-left: 3px solid var(--gold-3); background: var(--ink-3); color: var(--parch-2); border-radius: 0 8px 8px 0; }
.forum-actions { display: flex; gap: 1rem; margin-top: .6rem; font-size: .9rem; }
.forum-mod { margin-bottom: 1rem; }
.forum-mod .button-row { margin-top: .6rem; flex-wrap: wrap; }
.forum-editor textarea { font-family: var(--body); font-size: 1rem; }
.badge-role { color: var(--gold-2); border-color: var(--gold-3); background: #2a2210; font-size: .75rem; }
.pager { display: flex; gap: .6rem; align-items: center; margin: 1rem 0; flex-wrap: wrap; }
.pager strong { color: var(--gold); }
@media (max-width: 760px) {
  .forum-board { grid-template-columns: 1fr; gap: .4rem; }
  .forum-counts { text-align: left; }
  .forum-post { grid-template-columns: 1fr; gap: .6rem; }
  .forum-author { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 .6rem; flex-direction: row; flex-wrap: wrap; align-items: baseline; }
  .forum-threads th:nth-child(3), .forum-threads td:nth-child(3) { display: none; }
}

/* ---------------------------------------------------------------- the character's chronicle */
.title-line { display: block; font-size: .5em; font-family: var(--small-caps); letter-spacing: .12em; color: var(--gold); margin-top: 4px; }
.honours { margin: .2rem 0 .8rem; }
.badge-honour { color: var(--gold-2); border-color: var(--gold-3); background: #2a2210; }
ul.deeds li { line-height: 1.5; }

/* ---------------------------------------------------------------- heraldry: the arms, and the designer */
svg.arms { display: block; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
svg.arms-blank { opacity: .5; }
.faction-card.with-arms { padding-right: 86px; min-height: 108px; }
.faction-card .arms-card { position: absolute; top: 16px; right: 16px; width: 58px; }
.faction-head { display: flex; gap: 28px; align-items: center; margin-bottom: 22px; }
.faction-head .lead { margin-bottom: .4em; }
.faction-arms { flex: none; display: block; transition: transform .2s; }
.faction-arms:hover { transform: translateY(-2px) rotate(-1deg); }
.faction-arms svg { width: 132px; }
@media (max-width: 600px) { .faction-head { flex-direction: column; align-items: flex-start; gap: 12px; } .faction-arms svg { width: 96px; } }
.faction-link svg.arms-inline { display: inline-block; width: 15px; vertical-align: -3px; margin-right: 5px; filter: none; }
.arms-designer { display: grid; grid-template-columns: 330px 1fr; gap: 26px; align-items: start; }
.arms-stage { position: sticky; top: 80px; text-align: center; }
.arms-preview svg { width: 100%; max-width: 260px; margin: 0 auto; }
.arms-banner-preview { position: absolute; top: 18px; right: 14px; }
.arms-banner-preview svg { width: 64px; }
.arms-blazon { font-family: var(--display); color: var(--gold-2); font-size: 1.02rem; margin: 14px 0 6px; }
.arms-stage .button-row { justify-content: center; margin-top: 10px; }
.arms-group { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px 14px; margin: 0 0 14px; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.arms-group legend { font-family: var(--small-caps); color: var(--gold); letter-spacing: .08em; padding: 0 6px; }
.arms-options { display: flex; flex-wrap: wrap; gap: 8px; }
.arms-opt, .swatch-opt { position: relative; cursor: pointer; }
.arms-opt input, .swatch-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.arms-tile { display: flex; flex-direction: column; align-items: center; width: 80px; padding: 7px 4px 6px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .25); transition: border-color .15s, background .15s; }
.arms-tile svg.arms { width: 40px; filter: none; }
.arms-tile-name { font-size: .7rem; line-height: 1.15; text-align: center; color: var(--parch-2); margin-top: 5px; }
.arms-opt:hover .arms-tile { border-color: var(--line-2); }
.arms-opt input:checked + .arms-tile { border-color: var(--gold); background: #2a2210; box-shadow: 0 0 0 2px rgba(214, 178, 104, .3); }
.arms-opt input:focus-visible + .arms-tile, .swatch-opt input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.arms-opt input:disabled + .arms-tile, .swatch-opt input:disabled + span { cursor: default; }
.swatch-opt { display: flex; flex-direction: column; align-items: center; width: 60px; }
.swatch-opt span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid #0c0a07; box-shadow: inset 0 -5px 8px rgba(0, 0, 0, .35), inset 0 3px 6px rgba(255, 255, 255, .25); }
.swatch-opt input:checked + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.swatch-opt em { font-style: normal; font-size: .7rem; color: var(--parch-2); margin-top: 4px; }
@media (max-width: 900px) { .arms-designer { grid-template-columns: 1fr; } .arms-stage { position: relative; top: 0; } }
@media (max-width: 600px) { .arms-tile { width: 70px; } .swatch-opt { width: 52px; } }

/* ---------------------------------------------------------------- the Kuttenberg Broadsheet: a printed sheet */
.broadsheet {
  color: #2b1f12; padding: 30px 40px 40px; border: 1px solid #b49a6a; border-radius: 4px;
  background:
    radial-gradient(ellipse at 15% 5%, rgba(255, 255, 255, .35), transparent 55%),
    radial-gradient(ellipse at 95% 95%, rgba(120, 80, 30, .28), transparent 55%),
    linear-gradient(180deg, #ecdfc3, #dcc79d);
  box-shadow: 0 30px 60px -30px #000, inset 0 0 60px rgba(120, 80, 30, .25);
}
@media (max-width: 600px) { .broadsheet { padding: 20px 16px 24px; } }
.broadsheet a { color: var(--wax); }
.broadsheet strong { color: #1e140c; }
.broadsheet .muted { color: #6e5c40; }
.broadsheet .eyebrow { color: var(--wax); }
.masthead { text-align: center; border-bottom: 4px double #3a2c1c; padding-bottom: 6px; margin-bottom: 8px; }
.mast-rule { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-family: var(--small-caps); font-size: .85rem; letter-spacing: .06em; color: #5a4428; border-top: 1px solid #3a2c1c; border-bottom: 1px solid #3a2c1c; padding: 2px 6px; }
.mast-rule.thin { justify-content: center; border: 0; font-style: italic; font-family: var(--body); }
.mast-title { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 6.4vw, 4rem); color: #1e140c; letter-spacing: .04em; margin: .18em 0 .05em; }
.mast-date { font-style: italic; color: #4a3a26; margin: 0 0 4px; }
.sheet-nav { display: flex; justify-content: space-between; gap: 10px; font-family: var(--small-caps); margin: 4px 0 20px; }
.lead-story { border-bottom: 2px solid #3a2c1c; padding-bottom: 12px; margin-bottom: 20px; }
.lead-story .eyebrow { text-align: center; }
.lead-story h2 { text-align: center; font-weight: 900; font-size: clamp(1.5rem, 4.2vw, 2.6rem); color: #1e140c; margin-bottom: .45em; }
.lead-story p { font-size: 1.12em; column-count: 2; column-gap: 32px; column-rule: 1px solid #a88a5a; text-align: justify; hyphens: auto; }
.sheet-columns { column-count: 3; column-gap: 28px; column-rule: 1px solid #a88a5a; }
@media (max-width: 900px) { .sheet-columns { column-count: 2; } }
@media (max-width: 600px) { .sheet-columns, .lead-story p { column-count: 1; } }
.sheet-section { margin-bottom: 16px; }
.sheet-head { font-family: var(--display); font-size: .95rem; text-transform: uppercase; letter-spacing: .14em; text-align: center; color: #1e140c; border-top: 2px solid #3a2c1c; border-bottom: 1px solid #3a2c1c; padding: 4px 0; margin: 0 0 10px; break-after: avoid; }
.sheet-story { break-inside: avoid; margin-bottom: 14px; }
.sheet-story h4 { font-family: var(--display); font-size: 1.04rem; line-height: 1.2; color: #1e140c; margin: 0 0 .3em; }
.sheet-story p { margin: 0; font-size: .98rem; text-align: justify; hyphens: auto; }
.sheet-briefs { list-style: none; padding: 0; margin: 0 0 10px; font-size: .92rem; }
.sheet-briefs li { padding: 4px 0; border-bottom: 1px dotted #a88a5a; break-inside: avoid; }
.sheet-quiet { text-align: center; padding: 26px 8px 6px; }
.sheet-quiet h2 { color: #1e140c; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.sheet-quiet p { max-width: 40rem; margin-left: auto; margin-right: auto; text-align: left; }
.sheet-archive li a { text-decoration: none; }

/* ---------------------------------------------------------------- badges */
.tier-bronze { --tier: #c0824a; } .tier-silver { --tier: #cfd3d8; } .tier-gold { --tier: #e8c35a; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.badge-tile { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .22); }
.badge-tile strong { display: block; font-family: var(--display); font-size: .9rem; line-height: 1.2; color: var(--parch); }
.badge-tile .muted { display: block; font-size: .78rem; line-height: 1.3; }
.badge-tier { display: block; font-family: var(--small-caps); font-size: .8rem; letter-spacing: .06em; color: var(--tier); }
.badge-tile.earned { border-color: var(--tier); box-shadow: 0 0 16px -8px var(--tier); }
.badge-tile.earned .emblem, .badge-card.earned .emblem { color: var(--tier); border-color: var(--tier); }
.badge-tile.unearned { opacity: .55; filter: grayscale(.85); }
.badge-tile.unearned .emblem { color: var(--mute); border-color: var(--line-2); }
.badge-bar { display: block; height: 4px; margin-top: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.badge-bar span { display: block; height: 100%; background: var(--gold-3); }
.badge-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .badge-cards { grid-template-columns: 1fr; } }
.badge-card { display: flex; gap: 18px; align-items: flex-start; }
.badge-card .emblem { flex: none; }
.badge-card.earned { border-color: var(--tier); }
.badge-card h3 { color: var(--gold-2); margin-bottom: .25em; }
.badge-card p { margin-bottom: .5em; }
.badge-tiers { list-style: none; padding: 0; margin: 0 0 .6em; font-size: .92rem; }
.badge-tiers li { padding: 3px 0; }
.badge-tiers .badge-tier { display: inline-block; min-width: 3.6em; }
/* the bar holds one more item: tighter between the burger and the widest screens */
@media (min-width: 901px) and (max-width: 1400px) { .topbar nav { gap: 13px; } .topbar nav a { font-size: .9rem; letter-spacing: .04em; } }
.sheet-nav > * { flex: 1; }
.sheet-nav > :nth-child(2) { text-align: center; }
.sheet-nav > :nth-child(3) { text-align: right; }
.badge-tile > div:last-child { flex: 1; min-width: 0; }
.arms-designer > *, .arms-group { min-width: 0; }
@media (max-width: 600px) { .lead-story p, .sheet-story p { text-align: left; } }

/* ---------------------------------------------------------------- the quest journal on a profile */
.journal-list li strong { color: var(--parch); }
.journal-line { font-style: italic; }
.journal-failed .journal-line { color: var(--mute); }
.badge-failed { color: #f1c9c3; border-color: var(--wax-2); background: #2c0e0e; font-size: .75rem; padding: 0 7px; }
.badge-remembered { color: var(--parch-2); border-color: var(--line-2); background: rgba(0, 0, 0, .3); font-style: italic; font-family: var(--body); letter-spacing: 0; }

/* ---------------------------------------------------------------- the map's layers */
.map-frame { position: relative; }
.mark { cursor: pointer; outline: none; }
.mark:focus .mk, .mark:hover .mk { stroke: #2b1f12; stroke-width: 2.5; }
.mk { stroke: #e8d6ae; stroke-width: 1.5; }
.mk-giver { fill: #b8302f; }
.mk-glyph { fill: #fff3cf; font-size: 11px; font-weight: 800; text-anchor: middle; pointer-events: none; font-family: var(--display); }
.mk-board { fill: #7a5a2c; }
.mk-lines { stroke: #e8d6ae; stroke-width: 1.2; pointer-events: none; }
.mk-beast { fill: #3b1d18; }
.mk-fish { fill: #2f5b73; }
.mk-fish.mk-caught { fill: #9a8d76; }
.mk-market { fill: #c4892f; }
.mk-trade { fill: #5a4428; }
.mk-trade.mk-k-craft { fill: #8a5a2c; }
.mk-trade.mk-k-trade { fill: #4c6a3c; }
.mk-property { fill: #6e5c40; }
.mk-town { fill-opacity: .9; stroke-width: 2.5; }
.map-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 10px)); max-width: min(280px, 80vw); padding: 8px 12px;
  background: rgba(18, 15, 11, .94); border: 1px solid var(--gold-3); border-radius: 8px; color: var(--parch-2); font-size: .88rem; line-height: 1.35;
  pointer-events: none; box-shadow: 0 8px 20px -8px #000; }
.map-tip.below { transform: translate(-50%, 10px); }
.map-tip strong { color: var(--gold-2); font-family: var(--display); font-weight: 600; }
.map-tip small { color: var(--mute); font-size: .8em; }
.map-tip-arms { float: left; margin: 0 10px 2px 0; }
.map-tip-arms svg { display: block; }
.map-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 18px; }
.map-legend legend { font-family: var(--display); color: var(--parch); padding: 0 6px; }
.map-layer-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--small-caps); color: var(--parch-2); }
.map-count { color: var(--mute); }
.map-swatch { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; }
.layer-towns .map-swatch { background: #8e1f24; }
.layer-givers .map-swatch { background: #b8302f; }
.layer-boards .map-swatch { background: #7a5a2c; border-radius: 2px; }
.layer-beasts .map-swatch { background: #3b1d18; border-color: var(--gold-3); }
.layer-fish .map-swatch { background: #2f5b73; }
.layer-market .map-swatch { background: #c4892f; }
.layer-trade .map-swatch { background: #5a4428; }
.layer-properties .map-swatch { background: #6e5c40; border-radius: 2px; }
.map-note { grid-column: 1 / -1; margin: 6px 0 0; font-size: .9rem; }

/* ---------------------------------------------------------------- the staff's dashboard */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 26px; }
.dash-grid .card { margin-bottom: 0; }
.dash-tile h3 { font-size: 1rem; color: var(--gold-2); margin-bottom: .3em; }
.dash-figure { margin: 0 0 .5em; font-size: .9rem; }
.dash-figure strong { font-family: var(--display); font-size: 1.35rem; color: var(--parch); }
.dash-in { color: #a9d38f; font-family: var(--display); }
.dash-out { color: #e59a8f; font-family: var(--display); }
.spark { display: block; width: 100%; height: 44px; }
.spark-money { height: 60px; }
.spark-base { stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.spark-hit { fill: transparent; }
.spark-up .spark-bar { fill: var(--gold); }
.spark-down .spark-bar { fill: var(--wax-2); }
.spark g:hover .spark-bar { opacity: .75; }
.small-print { font-size: .82rem; margin: .5em 0 0; }
.dash-key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: baseline; }
.dash-key-in { background: var(--gold); }
.dash-key-out { background: var(--wax-2); }
.table-scroll { overflow-x: auto; }
.table .nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- the forum, the second pass: cards, markup, reactions, letters */
.nav-bell { position: relative; display: inline-flex; align-items: center; color: var(--parch-2); }
.nav-bell:hover, .nav-bell.has-unread { color: var(--gold-2); }
.nav-bell .icon { display: block; }
.bell-count { position: absolute; top: -7px; right: -10px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wax-2); color: #fff; font-family: var(--small-caps); font-size: .72rem; line-height: 18px; text-align: center; border: 1px solid #5d1418; }
@media (max-width: 900px) { .bell-count { position: static; margin-left: 6px; } }
.forum-nav { margin: -.2rem 0 1.2rem; }
.forum-nav .tab span, .staff-nav .tab span { color: var(--gold-2); }

.forum-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 18px; }
.forum-stats .stat strong { font-size: 1.3rem; overflow-wrap: anywhere; }
.forum-stats .stat strong a { text-decoration: none; }
@media (max-width: 600px) { .forum-stats { grid-template-columns: 1fr 1fr; } }
.forum-front { margin-top: 30px; }
.forum-front > section { min-width: 0; }
.forum-recent small { display: block; color: var(--parch-2); overflow-wrap: anywhere; }
.forum-online { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.forum-online a { text-decoration: none; white-space: nowrap; }
.new-pip { display: inline-block; font-family: var(--small-caps); font-size: .72rem; letter-spacing: .06em; line-height: 1.5; padding: 0 7px; border-radius: 999px; background: var(--wax-2); color: #fff; text-decoration: none; vertical-align: 2px; }
a.new-pip:hover { color: #fff; filter: brightness(1.15); }
.forum-board.unread { border-color: var(--line-2); }
.forum-threads tr.unread strong { color: var(--parch); }

/* thread prefixes */
.tag-chip { display: inline-block; font-family: var(--small-caps); font-size: .76rem; letter-spacing: .06em; padding: 0 8px; border-radius: 6px; border: 1px solid; vertical-align: 2px; line-height: 1.6; color: var(--c, var(--gold-2)); border-color: var(--c, var(--gold-3)); background: rgba(0, 0, 0, .3); }
h1 .tag-chip { font-size: .4em; vertical-align: .35em; }
.tag-ic { --c: #e2b866; } .tag-ooc { --c: #a9b7c6; } .tag-recruiting { --c: #9fd08a; } .tag-event { --c: #e59a6a; }
.tag-help { --c: #8fc3e6; } .tag-resolved { --c: #8fbf86; } .tag-announcement { --c: #f1a9a0; background: #2c0e0e; } .tag-note { --c: var(--parch-2); }
.tag-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.tag-filter .tab { padding: 4px 10px; }
.tag-filter .tab .tag-chip { border: 0; background: none; padding: 0; vertical-align: 0; }

/* the post and its author's card */
.thread-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.thread-head h1 { min-width: 0; overflow-wrap: anywhere; }
.thread-tools { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 10px; }
.forum-post { grid-template-columns: 12rem 1fr; }
.forum-author { align-items: flex-start; gap: .4rem; font-size: .95rem; }
.author-arms svg { width: 56px; height: auto; }
.author-arms svg.arms-blank { opacity: 1; }
.author-id { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.author-name { text-decoration: none; }
.author-name strong { font-family: var(--display); font-size: 1rem; color: var(--parch); }
.author-name:hover strong { color: var(--gold-2); }
.author-title { font-family: var(--small-caps); font-size: .82rem; letter-spacing: .08em; color: var(--gold); }
.author-faction { font-size: .88rem; line-height: 1.3; }
.author-faction a { text-decoration: none; }
.faction-tag { font-family: var(--small-caps); color: var(--gold-2); }
.author-badges { display: flex; gap: 5px; }
.author-badge { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--tier, var(--gold-3)); color: var(--tier, var(--gold-2)); background: radial-gradient(circle at 35% 30%, #3a2a1a, #18110c); }
.author-stats { font-size: .78rem; line-height: 1.4; }
.forum-post.removed .forum-body { opacity: .85; }
.removed-staff details { margin-top: .4rem; border-left: 3px solid var(--wax); padding-left: .8rem; }
.edit-reason { font-style: italic; }
.forum-sig { margin-top: 1rem; padding-top: .5rem; border-top: 1px dashed var(--line-2); font-size: .85rem; color: var(--mute); max-height: 9em; overflow: hidden; }
.forum-sig p { margin: 0 0 .3em; }
.forum-actions { flex-wrap: wrap; align-items: baseline; }
.inline-details { display: inline-block; }
.inline-details[open] { display: block; flex-basis: 100%; }
.inline-details summary { list-style: none; display: inline; }
.inline-details summary::-webkit-details-marker { display: none; }
.mini-form { flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: .5rem; align-items: center; }
.mini-form input { flex: 1 1 14rem; width: auto; font-size: .95rem; padding: 6px 10px; }

/* the markup */
.forum-body .forum-h { margin: 1rem 0 .4rem; color: var(--gold-2); }
.forum-body h3.forum-h { font-size: 1.2rem; } .forum-body h4.forum-h { font-size: 1.05rem; } .forum-body h5.forum-h { font-size: .95rem; letter-spacing: .06em; }
.forum-body ul, .forum-body ol { margin: 0 0 1em; padding-left: 1.4em; }
.forum-body hr { border: 0; height: 1px; margin: 1.2rem 0; background: linear-gradient(90deg, transparent, var(--gold-3), transparent); }
.forum-body .forum-img { display: block; max-width: 100%; max-height: 32rem; height: auto; margin: .5rem 0 1rem; border: 1px solid var(--line-2); border-radius: 8px; }
.forum-body .forum-code { margin: 0 0 1em; padding: .7rem .9rem; background: rgba(0, 0, 0, .5); border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; max-width: 100%; }
.forum-body .forum-code code { background: none; border: 0; padding: 0; font-size: .85rem; color: var(--parch-2); white-space: pre; }
.forum-body .quote-by { font-size: .85rem; margin: 0 0 .2rem; color: var(--mute); font-family: var(--small-caps); letter-spacing: .04em; }
.forum-body .quote-by strong { color: var(--gold); }
.forum-body blockquote p:last-child { margin-bottom: .2rem; }
.forum-spoiler { margin: .5rem 0 1rem; border: 1px dashed var(--line-2); border-radius: 8px; padding: .4rem .8rem; background: rgba(0, 0, 0, .25); }
.forum-spoiler summary { cursor: pointer; font-family: var(--small-caps); color: var(--gold); letter-spacing: .04em; }
.forum-spoiler[open] summary { margin-bottom: .4rem; }
.spoiler-body > :last-child { margin-bottom: .2rem; }
.forum-ic {
  margin: .6rem 0 1.1rem; padding: 18px 22px 14px; color: #2b1f12; border: 1px solid #b49a6a; border-radius: 3px; font-style: italic;
  background: radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, .35), transparent 55%), radial-gradient(ellipse at 95% 95%, rgba(120, 80, 30, .28), transparent 55%), linear-gradient(180deg, #ecdfc3, #dcc79d);
  box-shadow: 0 14px 30px -18px #000, inset 0 0 40px rgba(120, 80, 30, .22); transform: rotate(-.25deg);
}
.forum-ic a { color: var(--wax); }
.forum-ic strong { color: #1e140c; }
.forum-ic blockquote { background: rgba(120, 80, 30, .12); color: #3a2c1c; border-left-color: #8a6224; }
.forum-ic .ic-body > :last-child { margin-bottom: .3em; }
.forum-ic .ic-sign { text-align: right; margin: 0; font-family: var(--display); font-style: normal; font-weight: 600; color: var(--wax); }
.mention { font-family: var(--small-caps); text-decoration: none; letter-spacing: .02em; }
.forum-body mark, .ledger-list mark { background: rgba(214, 178, 104, .3); color: var(--parch); border-radius: 3px; padding: 0 2px; }

/* reactions */
.react-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .8rem; }
.react { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(0, 0, 0, .3); color: var(--parch-2); font: inherit; font-size: .9rem; line-height: 1.5; cursor: pointer; }
span.react { cursor: default; }
button.react:hover { border-color: var(--gold-3); }
.react.mine { border-color: var(--gold); background: #2a2210; color: var(--gold-2); }
.react.zero { opacity: .5; }
.react.zero:hover, .react.zero:focus-visible { opacity: 1; }
.react-n { font-family: var(--small-caps); min-width: .6em; }
.react:disabled { cursor: wait; }

/* the editor */
.editor-head { display: grid; grid-template-columns: 12rem 1fr; gap: 12px; }
.editor-head:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 600px) { .editor-head { grid-template-columns: 1fr; } }
.md-editor { display: flex; flex-direction: column; gap: 8px; }
.md-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.md-bar[hidden] { display: none; }
.md-tabs, .md-tools { display: flex; gap: 4px; flex-wrap: wrap; }
.md-tab, .md-tool { font: inherit; font-family: var(--small-caps); font-size: .85rem; color: var(--parch-2); background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 10px; cursor: pointer; }
.md-tool { min-width: 2.1rem; }
.md-tool[data-md="bold"] { font-weight: 700; } .md-tool[data-md="italic"] { font-style: italic; }
.md-tab.active { border-color: var(--wax-2); background: #2c0e0e; color: var(--parch); }
.md-tab:hover, .md-tool:hover { border-color: var(--gold-3); color: var(--gold-2); }
.md-preview { min-height: 8rem; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 8px; background: rgba(0, 0, 0, .25); font-family: var(--body); font-size: 1rem; color: var(--parch-2); letter-spacing: 0; }
.md-draft { font-size: .85rem; margin: 0; }
.md-help { font-size: .88rem; color: var(--mute); }
.md-help summary { cursor: pointer; font-family: var(--small-caps); }
.md-help ul { margin: .4rem 0 0; padding-left: 1.2em; }
.poll-fields { border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.poll-fields summary { cursor: pointer; font-family: var(--small-caps); color: var(--gold); }
.poll-fields[open] { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; }

/* polls */
.forum-poll h2 { margin-bottom: .2em; }
.poll-form { gap: 8px; }
.poll-results { list-style: none; padding: 0; margin: 0 0 .6rem; }
.poll-results li { padding: 6px 0; }
.poll-line { display: flex; justify-content: space-between; gap: 10px; }
.poll-results li.mine .poll-line span:first-child { color: var(--gold-2); }
.poll-bar { display: block; height: 8px; margin-top: 4px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.poll-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--wax), var(--wax-2)); }
.poll-results li.mine .poll-bar span { background: linear-gradient(90deg, var(--gold-3), var(--gold)); }

/* notices, letters, search, reports */
.notice-list li.unread a { color: var(--gold-2); }
.notice-list li.read { opacity: .75; }
.letters .letter { padding: 14px 18px; }
.letters .letter.mine { border-left: 3px solid var(--gold-3); }
.letter .meta { margin: 0 0 .4rem; font-size: .88rem; }
.search-form { gap: 10px; }
.search-form .search { margin: 0; }
.search-filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.search-filters label { font-size: .9rem; }
.search-filters select, .search-filters input { font-size: .95rem; padding: 7px 10px; }
@media (max-width: 760px) { .search-filters { grid-template-columns: 1fr 1fr; } }
.report .report-post { border-left: 3px solid var(--wax); padding: 4px 0 4px 14px; margin: 0 0 12px; }
.report-actions { gap: 10px; }
.report-actions .button-row select { width: auto; font-size: .9rem; padding: 6px 8px; }
.revision { opacity: .9; }

/* narrow screens: the author's card becomes a header row */
@media (max-width: 760px) {
  .forum-post { grid-template-columns: 1fr; }
  .forum-author { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .3rem .7rem; }
  .author-arms svg { width: 34px; }
  .author-id { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; flex: 1 1 10rem; }
  .author-faction br, .author-faction small { display: none; }
  .author-stats br { display: none; }
  .author-stats { flex-basis: 100%; }
  .thread-tools { padding-top: 0; }
  .forum-ic { padding: 14px 14px 10px; transform: none; }
}

/* ---------------------------------------------------------------- patrons, the month's keep, charters (supporters.js, views5.js) */
.badge-patron { text-decoration: none; font-size: .75rem; color: var(--gold-2); border-color: var(--gold-3); background: linear-gradient(180deg, #3a2a12, #22180b); }
.badge-patron.patron-t2 { color: #f6e2ad; border-color: var(--gold); box-shadow: 0 0 10px -4px var(--gold); }
.badge-patron.patron-t3 { color: #fff1c9; border-color: var(--gold-2); background: linear-gradient(180deg, #6e1418, #3a0d0f); box-shadow: 0 0 14px -4px var(--gold-2); }
a.badge-patron:hover { color: #fff; filter: brightness(1.1); }
.patron-name.pc-gold, .author-name .patron-name.pc-gold { color: #e3c06f; }
.patron-name.pc-crimson, .author-name .patron-name.pc-crimson { color: #e0726a; }
.patron-name.pc-azure, .author-name .patron-name.pc-azure { color: #86aee6; }
.patron-name.pc-vert, .author-name .patron-name.pc-vert { color: #8cc977; }
.patron-name.pc-purpure, .author-name .patron-name.pc-purpure { color: #c39be0; }
.patron-name.pc-argent, .author-name .patron-name.pc-argent { color: #dcdcdc; }
.patron-title { font-style: italic; }

.goal-strip { background: #15100c; border-bottom: 1px solid var(--line); padding: 10px 0; }
.goal-slim { display: block; text-decoration: none; color: var(--parch-2); }
.goal-slim:hover { color: var(--parch); }
.goal-slim-text { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .92rem; }
.goal-slim-text .icon { color: var(--gold); }
.goal-slim-text strong { color: var(--gold-2); font-family: var(--display); }
.goal-track { display: block; height: 6px; margin-top: 6px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.goal-track.big { height: 14px; border-radius: 7px; margin: 10px 0; }
.goal-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--wax), var(--wax-2) 60%, var(--gold)); }
.goal-figure strong { font-family: var(--display); font-size: 1.6rem; color: var(--gold-2); }

.policy-card { border-color: var(--wax-2); background: linear-gradient(180deg, rgba(142, 31, 36, .16), transparent 70%), var(--ink-2); }
.policy-card h2 .icon { vertical-align: -3px; color: var(--gold); }
.tier-grid { margin-bottom: 18px; }
.tier-card { border-top: 3px solid var(--gold-3); }
.tier-card.patron-t2 { border-top-color: var(--gold); }
.tier-card.patron-t3 { border-top-color: var(--wax-2); box-shadow: 0 0 30px -16px var(--gold); }
.tier-price strong { font-family: var(--display); font-size: 1.5rem; color: var(--gold-2); }
.perk-list li { font-size: .95rem; }
.early-note h3 .icon { vertical-align: -3px; color: var(--gold); }
.charter-offer { margin-bottom: 24px; }

.patron-roll h2 .badge { vertical-align: 2px; }
.patron-names { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: 10px 18px; }
.patron-names li { line-height: 1.3; }
.patron-names a { text-decoration: none; }
.thanks-list span { white-space: nowrap; color: var(--parch); }
.patronage-card { border-color: var(--gold-3); }
.patronage-card.patron-t3 { border-color: var(--gold); }
.alt-form summary { cursor: pointer; margin: .6em 0; }

.charter-seal { display: inline-flex; align-items: center; gap: 4px; font-family: var(--small-caps); font-size: .78rem; letter-spacing: .06em; color: #f3d9b0; text-decoration: none;
  background: radial-gradient(circle at 35% 30%, #c0393a, #6e1418); border: 1px solid var(--gold-3); border-radius: 999px; padding: 1px 10px 1px 7px; }
.faction-card .charter-seal { margin: -4px 0 6px; }
.faction-head.chartered { --theme: var(--wax); padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: linear-gradient(120deg, color-mix(in srgb, var(--theme) 55%, transparent), transparent 75%), var(--ink-2); }
.faction-head.theme-gules { --theme: #8e1f24; } .faction-head.theme-azure { --theme: #24467a; } .faction-head.theme-vert { --theme: #2f5d34; }
.faction-head.theme-sable { --theme: #2b231b; } .faction-head.theme-purpure { --theme: #56305f; } .faction-head.theme-or { --theme: #9c7432; }
.charter-card { margin-bottom: 22px; }
.charter-head { display: flex; gap: 28px; align-items: center; margin-bottom: 14px; }
.charter-arms { flex: none; }
.charter-arms svg { width: 220px; height: auto; }
.charter-motto { font-style: italic; font-size: 1.25rem; color: var(--gold-2); }
.charter-history { border-top: 1px solid var(--line); padding-top: 14px; }
.charter-history img { max-width: 100%; }
.charter-offer-card { border-style: dashed; margin-bottom: 22px; }

.payment-row .button-row { gap: 10px; }
.inline-form { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.inline-form input, .inline-form select { width: auto; font-size: .9rem; padding: 5px 8px; }
.inline-form input[type="number"] { width: 4.5rem; }
.mini-input { width: 7rem; font-size: .8rem; padding: 3px 6px; }

/* the staff: joining, the handbook, the roster, the review queue */
.badge-review { color: #c9d8ef; border-color: #4f6f9c; background: #151d2a; }
.badge-accepted { color: #a9d38f; border-color: var(--ok); background: #172413; }
.badge-declined { color: var(--mute); border-color: var(--mute); }
.badge-withdrawn { color: var(--mute); border-color: var(--line-2); background: var(--ink-2); font-style: italic; }
.badge-trial { color: var(--gold-2); border-color: var(--gold-3); background: #2a2210; font-size: .75rem; }
.vote-up { color: #a9d38f; }
.vote-down { color: #f1c9c3; }
.vote-tally { font-family: var(--small-caps); font-size: 1rem; margin-left: 6px; }
.staff-intro { gap: 26px; margin-bottom: 10px; }
.staff-intro .card h2 .icon, .handbook h2 .icon { vertical-align: -3px; color: var(--gold); }
.handbook .card { margin-bottom: 16px; }
.numeral-small { font-family: var(--display); color: var(--gold); margin-right: 4px; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scenario-set { border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 16px; }
.scenario-set legend { font-family: var(--small-caps); color: var(--gold); padding: 0 6px; }
.scenario-set legend small { font-family: var(--body); color: var(--mute); letter-spacing: 0; }
.form label.scenario { font-family: var(--body); font-style: italic; border-left: 3px solid var(--gold-3); padding-left: 12px; }
.decline-form { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.staff-call { text-align: center; border-color: var(--gold-3); }
.staff-call .hero-actions { justify-content: center; }

@media (max-width: 760px) {
  .charter-head { flex-direction: column; align-items: flex-start; }
  .charter-arms svg { width: 150px; }
  .form-pair { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- the hero's plain words, and the KCD2 roleplay page */
.hero-intro { max-width: 40rem; margin: -0.6em auto 1.6em; color: var(--parch-2); font-size: 1.02rem; line-height: 1.55; text-shadow: 0 2px 6px #000; }
.hero-intro strong { color: var(--parch); font-weight: 500; }
.rp-page { max-width: 50rem; }
.rp-page h2 { margin-top: 1.6em; }
.rp-page .steps { margin-top: .6em; }
.rp-page .faq details { margin-bottom: 10px; }
.rp-page .feature-list li { margin-bottom: .45em; }
.launcher-note { font-size: .85rem; line-height: 1.5; max-width: 40rem; margin: .5em auto 1.2em; }
.hero .launcher-note, .final-cta .launcher-note { color: var(--parch-2); text-shadow: 0 2px 6px #000; margin: 16px auto 22px; }
.rp-page .launcher-note, .steps .launcher-note { margin-left: 0; }
.center .launcher-note { margin-left: auto; }
