/* ROGUE DIVISION [R-DIV] — "The Ops Board," Stealth Obsidian & Signal Crimson.
   Two visual registers, on purpose: human content (news, roster, apply) reads
   as index cards pinned to a squad ready-room board — taped corners, a hair
   of tilt, a lifted shadow. Everything else (weapon data, ballistics tools,
   the wiki) reads as instrument output — flat, hairline-ruled, tabular
   numerals — the kit the board coordinates. A tick-marked rule under the
   header borrows the edge-of-map-sheet grid reference strip real paper maps
   carry.

   Oswald = commands and labels (things a person reads as an instruction).
   JetBrains Mono = measured values (things read off an instrument).
   IBM Plex Sans = prose.

   --signal (Signal Crimson) is the brand accent: buttons, links, brand mark,
   active nav, stat/readout numbers. --amber stays reserved for the site's
   pre-existing "unverified/estimate" data-honesty badges (.badge.unverified,
   .est) — a second bright accent there would blur that meaning, so it never
   moved. --red (a duller brick, deliberately not the same hue as --signal)
   stays the danger/reject/leader-rank color so destructive buttons don't
   read identically to primary ones. */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --board:      #0b0c10;
  --card:       #101318;
  --card-raise: #171b21;
  --line:       #2b2e35;
  --line-soft:  #1d2026;
  --ink:        #f0f1f2;
  --ink-dim:    #c5c6c7;
  --ink-faint:  #8b8d92;
  --signal:     #e63946;
  --signal-dim: #a52833;
  --amber:      #e2a13a;
  --amber-dim:  #96702a;
  --olive:      #5fae72;
  --red:        #c1503a;
  --blue:       #4c86a8;
  --tape:       #cdc29d;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Oswald", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--board);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.014) 0 1px, transparent 1px 30px),
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(230,57,70,.07), transparent);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ------------------------------------------------------------------ chrome */

header.top {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #1b1c20, #131417);
  position: sticky; top: 0; z-index: 20;
}
.top-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 20px 0;
  display: flex; align-items: center; gap: 26px; min-height: 46px; flex-wrap: wrap;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); display: flex; align-items: center; gap: 10px;
  position: relative; padding-left: 94px;
}
.brand:hover { text-decoration: none; }
.brand-crest {
  position: absolute; left: 0; top: 0;
  width: 82px; height: 82px;
}
@media (max-width: 700px) {
  .brand { padding-left: 58px; }
  .brand-crest { width: 46px; height: 46px; }
}
.brand .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; font-weight: 700;
  color: var(--board); background: var(--signal); padding: 2px 7px; border-radius: 2px;
}
nav.main { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; align-items: center; }
nav.main a {
  font-family: var(--display); font-size: 12.5px; letter-spacing: .06em; font-weight: 500;
  text-transform: uppercase; color: var(--ink-dim); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--signal-dim); }
nav.main a.on { color: var(--signal); border-bottom-color: var(--signal); }
nav.main a .pill {
  background: var(--red); color: #fff; border-radius: 8px;
  padding: 0 5px; font-size: 10px; margin-left: 4px; font-family: var(--mono);
}
.nav-sep { width: 1px; align-self: stretch; background: var(--line-soft); margin: 6px 0; }
@media (max-width: 900px) { .nav-sep { display: none; } }

/* Wiki / Admin dropdowns — hover (+ :focus-within for keyboard) opens the
   panel on desktop; below 900px it just flattens into the flow so nothing
   is hidden behind a hover that doesn't exist on touch. */
.nav-dropdown { position: relative; display: flex; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown .caret { font-size: 9px; color: var(--ink-faint); }
.nav-dropdown > a.on .caret { color: var(--signal); }
/* No margin-top gap here on purpose — a gap between the trigger and the
   panel is a hover dead-zone (the cursor loses :hover the instant it leaves
   the trigger's own box, before it ever reaches a bridge past the edge, no
   matter how the bridge is sized). Panel sits flush against the trigger row
   and gets the breathing room via its own top padding instead. */
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0; padding-top: 14px;
  z-index: 30;
}
.nav-dropdown-menu > .nav-dropdown-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 2px;
  min-width: 190px; padding: 6px 0; box-shadow: 0 16px 30px -14px rgba(0,0,0,.65);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 16px; border-bottom: none; color: var(--ink-dim);
}
.nav-dropdown-menu a:hover { color: var(--ink); background: var(--card-raise); text-decoration: none; }
.nav-dropdown-menu a.on { color: var(--signal); }
@media (min-width: 901px) {
  .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
}
@media (max-width: 900px) {
  .nav-dropdown { display: contents; }
  .nav-dropdown-menu {
    position: static; display: flex; flex-wrap: wrap; gap: 18px;
    padding: 0; margin: 0;
  }
  .nav-dropdown-menu > .nav-dropdown-panel {
    display: contents;
  }
  .nav-dropdown-menu a { display: inline-flex; padding: 6px 0; }
  .nav-dropdown .caret { display: none; }
}

/* the map-sheet tick rule: grid-reference ticks running the width of the header */
.tickbar {
  height: 14px; margin-top: 12px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px);
  background-position: bottom; background-repeat: repeat-x; background-size: auto 8px;
  position: relative;
}
.tickbar::before, .tickbar::after {
  content: 'GR 47N 118W'; position: absolute; bottom: 0; font-family: var(--mono);
  font-size: 9px; letter-spacing: .08em; color: var(--ink-faint); opacity: .55;
}
.tickbar::before { left: 20px; }
.tickbar::after { content: 'SHEET RD-01'; right: 20px; }

main { max-width: 1180px; margin: 0 auto; padding: 30px 20px 80px; }

footer.bottom {
  border-top: 1px solid var(--line-soft); margin-top: 40px;
  padding: 26px 20px; color: var(--ink-faint); font-size: 12px;
}
footer.bottom .inner { max-width: 1180px; margin: 0 auto; }
footer.bottom .footer-top { display: flex; flex-direction: column; gap: 10px; }
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 13.5px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-dim);
}
.footer-brand img { display: block; }
.footer-brand .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; font-weight: 700;
  color: var(--signal-dim);
}
.footer-disclaimer { max-width: 74ch; line-height: 1.55; margin: 0; }
.footer-disclaimer a { color: var(--ink-dim); }
.footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
footer.bottom .footer-links {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; gap: 16px; flex-wrap: wrap; font-size: 11.5px;
}

/* ------------------------------------------------------------- typography */

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
h1 { font-size: 30px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
h2 { font-size: 18px; margin: 34px 0 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-weight: 600; }
h3 { font-size: 15.5px; margin: 22px 0 8px; color: var(--ink-dim); font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }

.lede { color: var(--ink-dim); max-width: 68ch; margin: 0 0 22px; font-size: 15.5px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--signal-dim); margin-bottom: 6px;
}
.section-rule {
  display: flex; align-items: center; gap: 12px; margin: 36px 0 14px;
}
.section-rule::after {
  content: ''; flex: 1; height: 0;
  border-top: 1px dashed var(--line);
}
.section-rule h2 { margin: 0; }

/* ----------------------------------------------------------------- panels */

.panel {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 2px; padding: 18px 20px;
}
.panel + .panel { margin-top: 14px; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.tools { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.stat { font-family: var(--mono); border-left: 2px solid var(--signal-dim); }
.stat .n { font-size: 32px; color: var(--signal); display: block; line-height: 1.1; font-weight: 700; }
.stat .k { font-family: var(--display); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.card-link { display: block; color: inherit; transition: transform .12s ease, border-color .12s ease; }
.card-link:hover { text-decoration: none; border-color: var(--signal-dim); transform: translateY(-2px); }
.card-link:hover h3 { color: var(--signal); }

/* --------------------------------------------------------- pinned cards --
   the ops-board signature: human content taped to the board, not floating */

.pin {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 1px;
  box-shadow: 0 14px 26px -14px rgba(0,0,0,.7), 0 2px 0 rgba(0,0,0,.3);
  transform: rotate(var(--tilt, -0.55deg));
}
.pin::before {
  content: '';
  position: absolute; top: -9px; left: 22px; width: 46px; height: 18px;
  background: var(--tape);
  opacity: .82;
  transform: rotate(-4deg);
  box-shadow: 0 2px 4px rgba(0,0,0,.35);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0% 100%);
}
.pin:nth-of-type(even) { --tilt: 0.6deg; }
.pin:nth-of-type(even)::before { left: auto; right: 26px; transform: rotate(5deg); }
.pin:hover { transform: rotate(0deg) translateY(-2px); }
.pin + .pin { margin-top: 22px; }

/* ------------------------------------------------------------------ forms */

label { display: block; font-family: var(--display); font-size: 11px;
        letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 5px; font-weight: 500; }
input[type=text], input[type=password], input[type=email], input[type=number],
input[type=date], input[type=datetime-local], input[type=url], select, textarea {
  width: 100%; background: #0e0f12; color: var(--ink);
  border: 1px solid var(--line); border-radius: 2px;
  padding: 9px 11px; font-family: var(--sans); font-size: 14px;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--signal-dim); background: #101114;
}
textarea { font-size: 13.5px; line-height: 1.6; resize: vertical; min-height: 340px; }

input[type=file] {
  width: 100%; color: var(--ink-dim); font-family: var(--sans); font-size: 13px;
}
input[type=file]::file-selector-button {
  background: #1a1c20; color: var(--ink); border: 1px solid var(--line);
  border-radius: 2px; padding: 8px 14px; margin-right: 12px;
  font-family: var(--display); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: background .15s, border-color .15s;
}
input[type=file]::file-selector-button:hover { background: #24272c; border-color: var(--signal-dim); }

.md-toolbar {
  display: flex; gap: 4px; margin-bottom: 6px; flex-wrap: wrap;
  background: #101318; border: 1px solid var(--line); border-bottom: none;
  border-radius: 2px 2px 0 0; padding: 6px;
}
.md-toolbar + textarea { border-radius: 0 0 2px 2px; }
.md-toolbar-btn {
  min-width: 30px; height: 28px; padding: 0 8px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 2px;
  color: var(--ink-dim); font-family: var(--mono); font-size: 13px; cursor: pointer;
}
.md-toolbar-btn:hover { background: var(--card-raise); color: var(--ink); border-color: var(--signal-dim); }
.field { margin-bottom: 14px; }
.field-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.hint { font-size: 12px; color: var(--ink-faint); margin-top: 5px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block; font-family: var(--display); font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  background: var(--signal); color: #f4f0ee; border: 1px solid var(--signal);
  padding: 10px 18px; border-radius: 2px; font-weight: 600;
}
.btn:hover { background: #f1555f; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink-dim); border-color: var(--line); }
.btn.ghost:hover { color: var(--ink); border-color: var(--ink-faint); background: var(--card-raise); }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.small { padding: 6px 12px; font-size: 11.5px; }
.btn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }

/* ----------------------------------------------------------------- tables */

table.data { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; }
table.data th {
  text-align: left; font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500; padding: 9px 10px;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
table.data tr:hover td { background: rgba(230,57,70,.05); }
table.data td.num, table.data th.num { text-align: right; }
table.data td.dim { color: var(--ink-faint); }

/* -------------------------------------------------------------- badges etc */

.badge {
  display: inline-block; font-family: var(--display); font-size: 10.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px;
  border-radius: 2px; border: 1px solid var(--line); color: var(--ink-dim); white-space: nowrap;
}
.badge.verified { border-color: var(--olive); color: var(--olive); }
.badge.unverified { border-color: var(--amber-dim); color: var(--amber); }
.badge.role-admin { border-color: var(--red); color: var(--red); }
.badge.role-editor { border-color: var(--blue); color: var(--blue); }
.badge.pending { border-color: var(--amber-dim); color: var(--amber); }
.badge.approved { border-color: var(--olive); color: var(--olive); }
.badge.rejected { border-color: var(--red); color: var(--red); }

/* ------------------------------------------------------ member status strip
   Signed-in homebase readout — flat instrument register (hairline border,
   mono meta), not the .pin paper-and-tape register, since this is a live
   status line, not human-authored content. */

.member-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line-soft); border-left: 2px solid var(--signal);
  border-radius: 2px; padding: 14px 18px; margin-bottom: 18px;
}
.member-strip-main { display: flex; align-items: center; gap: 14px; }
.member-strip-photo {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line); flex-shrink: 0;
}
.member-strip-ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--card-raise); color: var(--ink-faint);
  font-family: var(--display); font-weight: 700; font-size: 16px;
}
.member-strip-label {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 2px;
}
.member-strip-name {
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink);
  display: block;
}
.member-strip-name:hover { color: var(--signal); text-decoration: none; }
.member-strip-meta {
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .04em;
  margin-top: 2px;
}
.member-strip-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.member-strip-chip {
  font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-dim); border: 1px solid var(--line); border-radius: 2px; padding: 6px 12px;
  white-space: nowrap; transition: color .12s ease, border-color .12s ease, background .12s ease;
}
.member-strip-chip:hover { color: var(--ink); border-color: var(--ink-faint); text-decoration: none; background: var(--card-raise); }
.member-strip-alert { color: var(--amber); border-color: var(--amber-dim); }
.member-strip-alert:hover { color: var(--amber); border-color: var(--amber); }

@media (max-width: 640px) {
  .member-strip { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------- lfg */

.lfg-post { border-left: 2px solid var(--signal); }
.lfg-post-top { font-size: 14.5px; color: var(--ink-dim); }
.lfg-post-who { font-family: var(--display); font-weight: 600; color: var(--ink); }
.lfg-post-note { color: var(--ink-dim); }
.lfg-post-time {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  margin-left: 8px; white-space: nowrap;
}
.lfg-joins { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.lfg-form { border-left: 2px solid var(--olive); margin-top: 14px; }
.lfg-form .field { margin-bottom: 12px; }

/* -------------------------------------------------------------- events */

.badge.kind-other { border-color: var(--line); color: var(--ink-dim); }

.event-featured { padding: 22px 24px; }
.event-featured h2 { margin: 0 0 4px; }

.event-featured-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.event-countdown, .event-going {
  font-family: var(--mono); font-size: 12px; color: var(--ink-dim);
  display: inline-flex; align-items: baseline; gap: 5px;
}
.event-countdown .n, .event-going .n {
  font-size: 20px; font-weight: 700; color: var(--signal); font-family: var(--mono);
}

.event-meta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 24px; margin: 14px 0 0;
}
.event-meta-grid dt {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin: 0 0 2px;
}
.event-meta-grid dd {
  font-family: var(--mono); font-size: 14px; color: var(--ink); margin: 0;
}

.event-detail-hero {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 2px;
  padding: 22px 24px; margin-bottom: 24px;
}
.event-detail-hero h1 { margin: 6px 0 0; }
.event-detail-admin { display: flex; gap: 12px; font-family: var(--mono); font-size: 12px; }
.event-detail-admin a { color: var(--ink-faint); }
.event-detail-admin a:hover { color: var(--ink); }

.event-rsvp-panel { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.event-rsvp-label {
  font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 10px;
}
.rsvp-form { display: flex; gap: 8px; flex-wrap: wrap; }
.event-discord-nudge { margin: 12px 0 0; font-size: 13px; color: var(--ink-faint); }

.event-rsvp-lists { display: flex; flex-direction: column; gap: 10px; }
.event-rsvp-group { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.event-rsvp-names { font-size: 14px; color: var(--ink-dim); }
.badge.rsvp-going { border-color: var(--olive); color: var(--olive); }
.badge.rsvp-maybe { border-color: var(--amber-dim); color: var(--amber); }
.badge.rsvp-no { border-color: var(--line); color: var(--ink-faint); }

.event-list { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.event-row-card {
  display: flex; align-items: center; gap: 14px; padding: 10px 4px;
  border-bottom: 1px solid var(--line-soft); color: inherit;
}
.event-row-card:hover { background: rgba(230,57,70,.04); text-decoration: none; }
.event-row-when { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.event-row-title { flex: 1; font-family: var(--display); font-size: 14.5px; color: var(--ink); }
.event-row-going { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); white-space: nowrap; }
.event-list-past .event-row-title { color: var(--ink-dim); }

/* --------------------------------------------------------------- live now */

.live-now { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.live-now-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line-soft); border-left: 2px solid #ff4d4d;
  border-radius: 2px; padding: 10px 16px; color: inherit;
}
.live-now-item:hover { text-decoration: none; border-color: var(--ink-faint); border-left-color: #ff4d4d; }
.live-now-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d;
  box-shadow: 0 0 6px #ff4d4d; flex-shrink: 0;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.live-now-who { font-family: var(--display); font-weight: 600; color: var(--ink); }
.live-now-on { font-size: 13.5px; color: var(--ink-faint); }

/* ----------------------------------------------------------------- help */

.help-layout { display: grid; grid-template-columns: 210px 1fr; gap: 36px; align-items: start; margin-top: 24px; }
.help-sidebar {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.help-sidebar a {
  font-family: var(--display); font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-dim); padding: 6px 0; line-height: 1.3;
}
.help-sidebar a:hover { color: var(--signal); text-decoration: none; }
.help-content section { scroll-margin-top: 90px; margin-bottom: 30px; }
.help-content section:last-child { margin-bottom: 0; }
.help-content .panel { margin-bottom: 12px; }
.help-content .panel:last-child { margin-bottom: 0; }

@media (max-width: 780px) {
  .help-layout { grid-template-columns: 1fr; gap: 20px; }
  .help-sidebar {
    position: static;
    flex-direction: row; flex-wrap: wrap; gap: 8px 18px;
    border-left: none; border-bottom: 1px dashed var(--line);
    padding: 0 0 16px;
  }
}

.notice {
  border-left: 3px solid var(--amber); background: rgba(226,161,58,.07);
  padding: 12px 16px; margin: 0 0 20px; font-size: 14px; border-radius: 0 2px 2px 0;
}
.notice.ok { border-color: var(--olive); background: rgba(95,174,114,.10); }
.notice.err { border-color: var(--red); background: rgba(193,80,58,.09); }
.notice strong { color: var(--amber); }

/* ------------------------------------------------------------ wiki content */

.prose { max-width: 76ch; font-size: 15.5px; line-height: 1.75; color: var(--ink-dim); }
.prose h1, .prose h2, .prose h3 { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 600; }
.prose h2 { font-size: 21px; border-bottom: 1px solid var(--line-soft); padding-bottom: 6px; margin-top: 34px; color: var(--ink); }
.prose h3 { font-size: 17px; color: var(--ink); text-transform: none; font-family: var(--sans); }
.prose p { margin: 0 0 16px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 24px; }
.prose li { margin-bottom: 7px; }
.prose li > ul, .prose li > ol { margin-top: 7px; }
.prose ul li::marker { color: var(--signal); }
.prose ol li::marker { color: var(--signal); font-family: var(--mono); }
.prose code {
  font-family: var(--mono); font-size: 13px; background: #0e0f12;
  border: 1px solid var(--line-soft); padding: 1px 5px; border-radius: 2px; color: var(--signal);
}
.prose pre {
  background: #0e0f12; border: 1px solid var(--line-soft); border-left: 3px solid var(--signal-dim);
  padding: 14px 16px; overflow-x: auto; border-radius: 2px;
}
.prose pre code { background: none; border: none; padding: 0; color: var(--ink); }
.prose blockquote {
  margin: 18px 0; padding: 2px 0 2px 16px;
  border-left: 3px solid var(--line); color: var(--ink-dim);
}
.prose table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 13px; margin: 18px 0; }
.prose th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
            font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-family: var(--display); }
.prose td { padding: 7px 10px; border-bottom: 1px solid var(--line-soft); }
.prose img { max-width: 100%; height: auto; border: 1px solid var(--line-soft); }
.prose hr { border: none; border-top: 1px solid var(--line-soft); margin: 28px 0; }

.meta-bar {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint);
  border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; margin-bottom: 24px;
}
.meta-bar .spacer { flex: 1; }

/* -------------------------------------------------------------- calculators */

.calc { display: grid; gap: 20px; grid-template-columns: minmax(280px, 360px) 1fr; align-items: start; }
.calc.wide-first { grid-template-columns: 1fr minmax(300px, 380px); }
@media (max-width: 800px) { .calc, .calc.wide-first { grid-template-columns: 1fr; } }

.readout { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line); position: relative; }
.readout::before, .readout::after {
  content: ''; position: absolute; width: 10px; height: 10px; border: 2px solid var(--signal-dim); opacity: .7;
}
.readout::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.readout::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.readout .cell { background: #0e0f12; padding: 16px 18px; }
.readout .cell .k {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 4px;
}
.readout .cell .v {
  font-family: var(--mono); font-size: 27px; color: var(--signal); font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.readout .cell .v small { font-size: 13px; color: var(--ink-dim); margin-left: 3px; font-weight: 400; }
.readout .cell.wide { grid-column: 1 / -1; }
.readout.two { grid-template-columns: 1fr 1fr; }
.readout.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .readout.two, .readout.three { grid-template-columns: 1fr; } }
.readout .cell.out-of-range .v { color: var(--red); font-size: 19px; }

.method-note {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint);
  margin-top: 10px; letter-spacing: .04em;
}
.method-note .est { color: var(--amber); }

.empty {
  border: 1px dashed var(--line); border-radius: 3px; padding: 30px;
  text-align: center; color: var(--ink-faint); font-family: var(--mono); font-size: 13px;
}
.diff { font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; word-break: break-word; }
.diff ins { background: rgba(95,174,114,.18); color: #b6e0c1; text-decoration: none; }
.diff del { background: rgba(193,80,58,.16); color: #e5a08f; }

/* ------------------------------------------------------------------- clan */

/* low to high: neutral -> green -> blue -> muted gold -> gold -> muted
   crimson -> brick -> full signal crimson (the brand accent, reserved for
   the top rank) */
.badge.rank-leader { border-color: var(--signal); color: var(--signal); }
.badge.rank-major { border-color: var(--red); color: var(--red); }
.badge.rank-captain { border-color: var(--signal-dim); color: var(--signal-dim); }
.badge.rank-lieutenant { border-color: var(--amber); color: var(--amber); }
.badge.rank-sergeant { border-color: var(--amber-dim); color: var(--amber-dim); }
.badge.rank-corporal { border-color: var(--blue); color: var(--blue); }
.badge.rank-private { border-color: var(--olive); color: var(--olive); }
.badge.rank-recruit { border-color: var(--line); color: var(--ink-dim); }
.badge.kind-scrim { border-color: var(--red); color: var(--red); }
.badge.kind-training { border-color: var(--blue); color: var(--blue); }
.badge.kind-operation { border-color: var(--amber); color: var(--amber); }
.badge.kind-social { border-color: var(--olive); color: var(--olive); }
.badge.rsvp-going { border-color: var(--olive); color: var(--olive); }
.badge.rsvp-maybe { border-color: var(--amber-dim); color: var(--amber); }
.badge.rsvp-no { border-color: var(--line); color: var(--ink-faint); }

.pinned-flag {
  font-family: var(--display); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--board); background: var(--signal); padding: 3px 8px; border-radius: 2px; font-weight: 700;
}

.news-head { margin-bottom: 28px; }

.news-post { padding: 22px 24px; }
.news-post .meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); margin: 6px 0 12px; }
.news-post h3 {
  margin: 0 0 10px; font-size: 18px; color: var(--ink); text-transform: none; letter-spacing: 0;
  font-family: var(--display); font-weight: 600; line-height: 1.25;
}
.news-post h3 a, .news-post h2 a { color: var(--ink); }
.news-post h3 a:hover, .news-post h2 a:hover { color: var(--signal); }

.news-excerpt {
  color: var(--ink-dim); margin: 0; font-size: 14px; line-height: 1.55;
}
.news-by {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .04em;
}
.news-edit {
  font-family: var(--mono); font-size: 11px; color: var(--ink-faint); margin-left: 10px;
}
.news-edit:hover { color: var(--signal); }

.news-stamp {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.news-stamp-label {
  font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--board); background: var(--signal); padding: 3px 8px; border-radius: 2px; font-weight: 700;
}
.news-stamp-date {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: 2px; padding: 3px 8px;
}

.news-read {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--signal);
}
.news-read:hover { text-decoration: none; color: var(--ink); }
.news-read span { transition: transform .15s ease; }
.news-read:hover span { transform: translateX(3px); }

.news-read-mini {
  font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--signal-dim); margin-left: auto;
}
.news-read-mini:hover { color: var(--signal); text-decoration: none; }
.news-read-mini span { display: inline-block; transition: transform .15s ease; }
.news-card:hover .news-read-mini span { transform: translateX(3px); }

/* Featured dispatch — the one big note on the board */
.news-featured {
  padding: 28px 32px 30px; margin-bottom: 8px;
  border-color: rgba(230,57,70,.28);
  background:
    linear-gradient(135deg, rgba(230,57,70,.06), transparent 42%),
    var(--card);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.news-featured:hover {
  transform: rotate(0deg) translateY(-3px);
  border-color: rgba(230,57,70,.5);
  box-shadow: 0 18px 32px -14px rgba(0,0,0,.75), 0 2px 0 rgba(0,0,0,.3);
}
.news-featured-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; flex-wrap: wrap; margin-bottom: 16px;
}
.news-featured-meta { display: flex; align-items: center; gap: 4px; }
.news-featured h2 {
  margin: 0 0 12px; font-size: 28px; color: var(--ink); text-transform: none; letter-spacing: 0;
  font-family: var(--display); font-weight: 700; line-height: 1.2; max-width: 28ch;
}
.news-featured .news-excerpt { font-size: 15.5px; max-width: 68ch; }

.news-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px;
  align-items: stretch;
}
.news-grid .pin + .pin { margin-top: 0; }
.news-card {
  display: flex; flex-direction: column; height: 100%;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.news-card:hover {
  border-color: var(--signal-dim);
  box-shadow: 0 16px 28px -14px rgba(0,0,0,.7), 0 2px 0 rgba(0,0,0,.3);
}
.news-card-top {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.news-card .news-excerpt { flex: 1; font-size: 13.5px; }
.news-card-foot {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  padding-top: 12px; border-top: 1px dashed var(--line-soft);
}
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-featured h2 { font-size: 22px; max-width: none; }
  .news-featured { padding: 22px 20px 24px; }
}

/* Homepage preview: one featured card is enough weight before Events —
   the rest read as a plain scannable list, not more taped cards. */
.news-compact-list { list-style: none; margin: 16px 0 0; padding: 0; }
.news-compact-list li {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
}
.news-compact-list li:first-child { border-top: 1px solid var(--line-soft); }
.news-compact-list a { color: var(--ink); font-family: var(--display); font-size: 14.5px; font-weight: 500; }
.news-compact-list a:hover { color: var(--signal); }
.news-compact-list .dim { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); white-space: nowrap; }

.hero {
  padding: 46px 0 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 34px;
  position: relative;
}
/* Full-bleed break-out of main's centered max-width, real recon terrain
   behind the pitch instead of flat obsidian — the one asset on the site
   honestly available to make a strong first impression with pre-launch
   (no real gameplay footage exists yet, so this is what we actually have
   the rights to use, not a stand-in for footage we don't). */
.hero-full {
  width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 64px max(20px, calc(50vw - 570px)) 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, rgba(11,12,16,.94) 0%, rgba(11,12,16,.82) 42%, rgba(11,12,16,.55) 100%),
    url('/static/img/maps/bakurani.webp');
  background-size: cover; background-position: center 35%;
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-crest { width: 180px; height: auto; flex-shrink: 0; filter: drop-shadow(0 12px 26px rgba(0,0,0,.55)); }
@media (max-width: 720px) { .hero-inner { flex-direction: column; align-items: flex-start; gap: 20px; } .hero-crest { width: 120px; } }
.hero .eyebrow { font-size: 12px; }
.hero h1 { font-size: 52px; margin-bottom: 14px; letter-spacing: .02em; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.hero .lede { font-size: 16.5px; max-width: 60ch; }
.hero-countdown {
  display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--signal); background: rgba(230,57,70,.12);
  border: 1px solid var(--signal-dim); border-radius: 2px; padding: 5px 10px; margin-bottom: 14px;
}
.hero-countdown .n { font-weight: 700; font-size: 13px; }

.brand-crest { display: block; }

.event-row { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.event-row .when {
  font-family: var(--mono); font-size: 12px; color: var(--ink-faint); min-width: 132px;
}
.rsvp-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

/* -------------------------------------------------------- roster board --
   page chrome + compact gunmetal ID chips (same material as .tag-card,
   sized for a scannable grid). Photos were already on the detail card;
   the list finally shows them too. */

.roster-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 28px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.roster-head h1 { margin-bottom: 6px; }
.roster-head .lede { margin-bottom: 0; max-width: 52ch; }
.roster-head-meta {
  display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap;
}
.roster-count {
  font-family: var(--mono); text-align: right; min-width: 64px;
  border-left: 2px solid var(--signal-dim); padding-left: 14px;
}
.roster-count .n {
  display: block; font-size: 36px; font-weight: 700; line-height: 1;
  color: var(--signal); font-variant-numeric: tabular-nums;
}
.roster-count .k {
  font-family: var(--display); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint);
}
.roster-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.roster-rank { margin-bottom: 8px; }
.roster-rank .section-rule { margin-top: 28px; }
.roster-rank-count {
  display: inline-block; margin-left: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--ink-faint); letter-spacing: .06em; vertical-align: middle;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
@media (max-width: 560px) { .roster-grid { grid-template-columns: 1fr; } }

/* dog-tag roster chips — mini ID cards */
.dogtag {
  --rank-accent: var(--line);
  position: relative;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(155deg, #3a3d44 0%, #2a2c31 48%, #1e2024 100%);
  border: 1px solid #4a4d54;
  border-left: 3px solid var(--rank-accent);
  border-radius: 12px;
  padding: 16px 16px 14px;
  color: #eef0f2;
  box-shadow: 0 12px 24px -14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.dogtag::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.02) 0 2px, transparent 2px 14px);
}
.dogtag > * { position: relative; z-index: 1; }
.dogtag:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: #5c6068;
  box-shadow: 0 18px 32px -14px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.1);
}
.dogtag:hover .dogtag-photo { transform: scale(1.04); }
.dogtag:hover .dogtag-ign { color: #fff; }

.dogtag-leader { --rank-accent: var(--signal); }
.dogtag-major { --rank-accent: var(--red); }
.dogtag-captain { --rank-accent: var(--signal-dim); }
.dogtag-lieutenant { --rank-accent: var(--amber); }
.dogtag-sergeant { --rank-accent: var(--amber-dim); }
.dogtag-corporal { --rank-accent: var(--blue); }
.dogtag-private { --rank-accent: var(--olive); }
.dogtag-recruit { --rank-accent: var(--ink-faint); }

.dogtag-id {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  text-transform: uppercase; color: #6c7078;
}
.dogtag-photo {
  flex: none; width: 64px; height: 64px; border-radius: 8px;
  border: 1px solid #5a5e66; object-fit: cover; background: #1c1d20;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.05);
  transition: transform .22s ease;
}
.dogtag-photo-ph {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, #45484e, #2a2c30);
  font-family: var(--display); font-weight: 700; font-size: 24px; color: #7c8087;
}
.dogtag-body {
  display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-right: 4px;
}
.dogtag-rank {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rank-accent); margin-bottom: 2px;
}
.dogtag-ign {
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em;
  line-height: 1.15; color: #f4f5f6;
  overflow-wrap: break-word;
  transition: color .15s ease;
  display: flex; align-items: baseline; gap: 0 6px; flex-wrap: wrap;
}
.dogtag-call { text-transform: uppercase; letter-spacing: .04em; }
.dogtag-name { font-weight: 500; font-size: 15px; color: #c9ccd1; letter-spacing: 0; }
.dogtag-you {
  font-size: 9px; letter-spacing: .08em; padding: 2px 6px;
  border-color: var(--signal-dim); color: var(--signal); text-transform: uppercase;
}
.dogtag-aka {
  font-family: var(--mono); font-size: 11px; color: #9aa0a8; letter-spacing: .03em;
}
.dogtag-meta {
  font-family: var(--mono); font-size: 11px; color: #8b8f96; margin-top: 3px;
}

/* ------------------------------------------------------- dog-tag profile --
   a third material, deliberately not paper (news/roster chips) or a flat
   digital readout (weapons/tools): stamped gunmetal, a punched hole, an
   engraved look. A person, not a document or a measurement. */

.tag-card {
  position: relative;
  max-width: 480px;
  background: linear-gradient(155deg, #52555c 0%, #34363c 45%, #26282d 100%);
  border: 1px solid #5c5f66;
  border-radius: 16px;
  padding: 30px 30px 26px;
  color: #eef0f2;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.09);
  overflow: hidden;
}
.tag-card::before {
  content: '';
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--board);
  border: 3px solid #5c5f66;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.7);
  z-index: 2;
}
/* faint diagonal security-strip texture, like a real ID card laminate */
.tag-card::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
}
/* generated content paints last in DOM order regardless of z-index:auto, so
   real children need an explicit stacking context to sit above the texture */
.tag-card > * { position: relative; z-index: 1; }
.tag-card .card-id {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: #6c7078;
}
.tag-card .card-head {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 6px;
}
.tag-card .photo {
  flex: none; width: 84px; height: 84px; border-radius: 8px;
  border: 1px solid #6a6e76; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
  object-fit: cover; background: #1c1d20;
}
.tag-card .photo-placeholder {
  flex: none; width: 84px; height: 84px; border-radius: 8px;
  border: 1px solid #6a6e76; background: linear-gradient(155deg, #45484e, #2a2c30);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 32px; color: #7c8087;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06);
}
.tag-card .card-head-text { min-width: 0; }
.tag-card .rank-stamp {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #9aa0a8; margin-bottom: 8px;
  display: inline-block; padding: 2px 8px; border: 1px solid #6a6e76; border-radius: 3px;
}
.tag-card .callsign {
  font-family: var(--display); font-weight: 700; font-size: 27px; letter-spacing: .03em;
  line-height: 1.15; color: #f4f5f6;
  text-shadow: 0 1px 0 rgba(255,255,255,.14), 0 2px 2px rgba(0,0,0,.5);
  overflow-wrap: break-word;
}
/* Only the callsign/IGN token itself goes uppercase — a real first/last
   name (when set) stays natural case so it doesn't get lost against it. */
.tag-card .callsign-tag { text-transform: uppercase; }
.tag-card .ign-line {
  font-family: var(--mono); font-size: 13px; color: #b7bbc2; letter-spacing: .04em; margin-top: 3px;
}
.tag-card hr {
  border: none; border-top: 1px dashed rgba(255,255,255,.16); margin: 18px 0;
}
.tag-card dl.stamp {
  display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; margin: 0;
  font-family: var(--mono); font-size: 13px;
}
.tag-card dl.stamp dt {
  color: #9aa0a8; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; align-self: center;
}
.tag-card dl.stamp dd { margin: 0; color: #eef0f2; }
.tag-card .bio {
  margin-top: 16px; font-family: var(--sans); font-style: italic; color: #cdd0d4; font-size: 13.5px;
  border-left: 2px solid rgba(255,255,255,.18); padding-left: 12px;
}
.tag-card .self-reported {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.16);
}
.tag-card .self-reported .cap {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #8a8f96; margin-bottom: 8px;
}
.tag-card .stat-row { display: flex; gap: 22px; flex-wrap: wrap; }
.tag-card .stat-row .n { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--amber); display: block; }
.tag-card .stat-row .k { font-family: var(--display); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #9aa0a8; }
