/* Church of RNG — black and red, with a little yellow pixel text sprinkled in. */
:root {
  --black: #060505;
  --ink: #0c0909;
  --panel: #120c0c;
  --panel-2: #170f0f;
  --line: rgba(196, 22, 28, .22);
  --line-soft: rgba(255, 255, 255, .07);
  --red: #c4161c;
  --red-hi: #ff2d35;
  --red-deep: #4a0709;
  --bone: #f1e9de;
  --text: #d9cfc4;
  --muted: #9a8f86;
  --gold: #f7d51d;
  --serif: "EB Garamond", Georgia, serif;
  --display: "Cinzel", "Times New Roman", serif;
  --pixel: "Silkscreen", ui-monospace, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font: 400 1.15rem/1.6 var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--bone); }
a:hover { color: var(--red-hi); }
h1, h2, h3 { font-family: var(--display); color: var(--bone); margin: 0; font-weight: 700; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.px { font-family: var(--pixel); color: var(--gold); font-size: .72rem; letter-spacing: .08em; text-transform: lowercase; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 820px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 5, 5, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: 1280px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--red), 0 0 18px rgba(196, 22, 28, .45); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { white-space: nowrap; font-family: var(--display); font-weight: 700; color: var(--bone); letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; }
.brand__sub { font-size: .62rem; color: var(--red-hi); }
.nav__links { display: flex; align-items: center; gap: 18px; }
.nav__links a { white-space: nowrap; font-family: var(--display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--red-hi); }
.nav__links .nav__cta { color: var(--bone); border: 1px solid var(--red); padding: 8px 16px; }
.nav__links .nav__cta:hover { background: var(--red); color: #fff; }
.nav__toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; height: 2px; background: var(--bone); transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 64px;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(160, 14, 20, .38), transparent 70%),
    radial-gradient(90% 60% at 50% 110%, rgba(90, 6, 10, .55), transparent 70%),
    var(--black);
  text-align: center;
}
.hero::before { /* gothic arch outline */
  content: ""; position: absolute; left: 50%; top: 28px; transform: translateX(-50%);
  width: min(760px, 92vw); height: calc(100% - 56px);
  border: 1px solid var(--line); border-bottom: 0;
  border-radius: 380px 380px 0 0;
  pointer-events: none;
}
.hero::after { /* scanlines, a nod to the pixel side */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
}
.hero__inner { position: relative; z-index: 2; padding: 0 20px; }

.seal { position: relative; width: 300px; height: 300px; margin: 0 auto 8px; }
.seal__ring { position: absolute; inset: 0; color: var(--red); animation: spin 60s linear infinite; }
.seal__ring text { font-family: var(--display); font-size: 11px; letter-spacing: 2px; fill: var(--red-hi); opacity: .8; }
.seal__logo {
  position: absolute; left: 50%; top: 50%; width: 190px; height: 190px;
  transform: translate(-50%, -50%); border-radius: 50%;
  box-shadow: 0 0 0 2px var(--red), 0 0 40px rgba(220, 20, 30, .55), 0 0 120px rgba(220, 20, 30, .25);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  50% { box-shadow: 0 0 0 2px var(--red-hi), 0 0 60px rgba(255, 40, 50, .7), 0 0 160px rgba(220, 20, 30, .35); }
}

.hero__kicker { font-size: .8rem; margin-bottom: 14px; }
.caret { color: var(--red-hi); margin-right: 4px; }
.dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.hero__title {
  font-size: clamp(2.6rem, 9vw, 6.2rem); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  text-shadow: 0 0 30px rgba(220, 20, 30, .45), 0 2px 0 #000;
}
.hero__title span { color: var(--red-hi); font-weight: 500; font-size: .55em; vertical-align: middle; letter-spacing: .2em; }
.hero__lede { max-width: 580px; margin: 22px auto 0; color: var(--muted); font-size: 1.2rem; font-style: italic; }
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 30px; border: 1px solid transparent; transition: background .2s, box-shadow .2s, color .2s, transform .2s;
  background: transparent; cursor: pointer; border-radius: 0; /* <button> otherwise gets the browser's light grey (Vinny, Nov 17, 2026: "show more pictures button is just white") */
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 0 0 0 rgba(255, 45, 53, 0); }
.btn--red:hover { background: var(--red-hi); color: #fff; box-shadow: 0 0 28px rgba(255, 45, 53, .5); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(241, 233, 222, .35); color: var(--bone); }
.btn--ghost:hover { border-color: var(--red-hi); color: var(--red-hi); }

.tally {
  display: grid; grid-template-columns: repeat(5, 1fr); max-width: 900px; margin: 52px auto 0;
  border: 1px solid var(--line); background: rgba(12, 6, 6, .7);
}
.tally > div { padding: 18px 10px; }
.tally > div + div { border-left: 1px solid var(--line); }
.tally dt { font-size: .62rem; margin-bottom: 6px; }
.tally dd { margin: 0; font-family: var(--display); font-size: 1.9rem; color: var(--bone); font-weight: 700; }

/* embers */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.embers i {
  position: absolute; bottom: -10px; width: 3px; height: 3px; background: var(--red-hi);
  box-shadow: 0 0 6px var(--red-hi); opacity: 0; animation: rise linear infinite;
}
.embers i.g { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
@keyframes rise {
  0% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate(var(--dx, 20px), -110vh); opacity: 0; }
}

/* ---------- SECTIONS ---------- */
.section { padding: 104px 0; position: relative; }
.section + .section::before { /* divider */
  content: "✦"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  color: var(--red); font-size: 14px; background: var(--black); padding: 0 16px;
}
.section--dark { background: linear-gradient(180deg, var(--ink), #0a0606); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section--dark::before { background: var(--ink) !important; }
.eyebrow { text-align: center; margin-bottom: 14px; }
.title { text-align: center; font-size: clamp(1.9rem, 4.5vw, 2.9rem); letter-spacing: .06em; font-variant: small-caps; }
.intro { text-align: center; max-width: 640px; margin: 18px auto 0; color: var(--muted); font-style: italic; }
.note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 22px; }
.note a { color: var(--text); }

/* creed */
.creed { list-style: none; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.creed li { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line-soft); transition: background .25s; }
.creed li:hover { background: linear-gradient(90deg, rgba(196, 22, 28, .12), transparent); }
.creed__n { font-family: var(--display); color: var(--red-hi); font-size: 1.05rem; letter-spacing: .1em; }
.creed p { font-size: 1.32rem; font-style: italic; font-weight: 500; color: var(--bone); }

/* altar */
.section--altar { background: radial-gradient(50% 70% at 50% 60%, rgba(120, 10, 14, .3), transparent 70%); }
.altar { text-align: center; }
.candle {
  margin: 40px auto 0; display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  background: none; border: 1px solid var(--line); padding: 26px 40px 22px; color: var(--bone);
  transition: border-color .2s, box-shadow .2s;
}
.candle:hover { border-color: var(--red); box-shadow: 0 0 30px rgba(196, 22, 28, .3); }
.candle__flame {
  width: 18px; height: 30px; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 70%, #fff6c0 0 20%, var(--gold) 35%, var(--red-hi) 70%, transparent 72%);
  filter: drop-shadow(0 0 10px rgba(255, 120, 40, .8)); animation: flicker 1.6s ease-in-out infinite;
  position: relative;
}
.candle__flame::after { content: ""; position: absolute; left: 50%; top: 100%; width: 22px; height: 30px; transform: translateX(-50%); background: linear-gradient(#e8dccb, #a99c8b); border-radius: 2px; }
.candle__label { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; margin-top: 30px; }
.candle.is-rolling .candle__flame { animation: flicker .18s linear infinite; }
@keyframes flicker { 50% { transform: scale(1.08, .94) rotate(-2deg); } }
.altar__result { margin-top: 26px; font-size: .95rem; min-height: 1.6em; }
.altar__result.is-pet { color: var(--gold); text-shadow: 0 0 14px rgba(247, 213, 29, .8); font-size: 1.2rem; }
.altar__result.is-purple { color: #c58cff; text-shadow: 0 0 12px rgba(160, 90, 255, .7); }
.altar__result.is-meh { color: var(--muted); }
.altar__count { color: var(--muted); font-size: .9rem; margin-top: 6px; min-height: 1.4em; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 26px; }
.tabs button, .seg button {
  background: transparent; color: var(--muted); border: 1px solid var(--line-soft);
  font-family: var(--display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px;
  transition: color .2s, border-color .2s, background .2s;
}
.tabs button:hover, .seg button:hover { color: var(--bone); border-color: var(--red); }
.tabs button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

/* hiscore table */
.board { border: 1px solid var(--line); background: var(--panel); min-height: 220px; }
.board table { width: 100%; border-collapse: collapse; }
.board th { font-family: var(--pixel); font-weight: 400; color: var(--gold); font-size: .62rem; letter-spacing: .1em; text-transform: lowercase; text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.board td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); }
.board tr:last-child td { border-bottom: 0; }
.board tbody tr { transition: background .2s; }
.board tbody tr:hover { background: rgba(196, 22, 28, .08); }
.board .num { text-align: right; font-variant-numeric: tabular-nums; }
.board .rank { width: 56px; font-family: var(--display); color: var(--muted); }
.board tr:nth-child(1) .rank { color: var(--gold); }
.board tr:nth-child(2) .rank, .board tr:nth-child(3) .rank { color: var(--red-hi); }
.board .who a { text-decoration: none; color: var(--bone); font-weight: 500; }
.board .who a:hover { color: var(--red-hi); }
.board .val { font-family: var(--display); color: var(--bone); }
.board .sub { display: block; color: var(--muted); font-size: .85rem; }
.loading, .empty { padding: 40px 20px; text-align: center; }
.empty { color: var(--muted); font-style: italic; }

.acct { display: inline-block; margin-left: 8px; font-family: var(--pixel); font-size: .64rem; padding: 2px 5px; border: 1px solid currentColor; vertical-align: 2px; color: var(--muted); }
.acct--hardcore { color: var(--red-hi); }
.acct--ultimate { color: #e9e9e9; }
.acct--ironman { color: #a7a7a7; }

/* rankings split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.panel { border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.panel .board { border: 0; background: transparent; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 18px 16px; border-bottom: 1px solid var(--line); }
.panel__head h3 { font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.seg { display: flex; gap: 4px; }
.seg button { padding: 12px 12px; font-size: .66rem; min-height: 44px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.feed li:last-child { border-bottom: 0; }
.feed .feed__who { color: var(--bone); font-weight: 500; }
.feed .feed__what { grid-column: 1 / -1; color: var(--text); font-style: italic; }
.feed .feed__when { font-family: var(--pixel); font-size: .64rem; color: var(--gold); }

/* events */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.event {
  position: relative; display: block; text-decoration: none; border: 1px solid var(--line-soft); background: var(--panel);
  padding: 24px 22px 22px; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.event:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(196, 22, 28, .18); color: inherit; }
.event__status { font-family: var(--pixel); font-size: .6rem; letter-spacing: .1em; padding: 3px 7px; border: 1px solid currentColor; color: var(--muted); }
.event__status--live { color: var(--gold); box-shadow: 0 0 12px rgba(247, 213, 29, .35); }
.event__status--soon { color: var(--red-hi); }
.event h3 { font-size: 1.15rem; margin: 16px 0 8px; letter-spacing: .03em; line-height: 1.3; }
.event p { color: var(--muted); font-size: 1rem; }
.event .event__metric { color: var(--text); }
.events .empty, .events .loading { grid-column: 1 / -1; }
.event--next { border-style: dashed; border-color: rgba(247, 213, 29, .4); }
.event--next:hover { border-color: var(--gold); }

.event__img { width: calc(100% + 44px); max-width: none; margin: -24px -22px 18px; aspect-ratio: 16 / 7; object-fit: cover; border-bottom: 1px solid var(--line-soft); }
.event__desc { margin-top: 8px; font-style: italic; }
.bulletin { grid-column: 1 / -1; border: 1px dashed var(--line); padding: 18px 22px; background: rgba(18, 12, 12, .6); }
.bulletin__head { margin-bottom: 10px; }
.bulletin ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bulletin li { color: var(--text); }
.bulletin li .px { margin-right: 10px; }

/* latest news strip (from Discord #announcements) */
.news { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(74, 7, 9, .45), rgba(12, 9, 9, .9) 40%, rgba(74, 7, 9, .45)); padding: 26px 0; }
.news__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.news__more { font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.news__more:hover { color: var(--red-hi); }
.news__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news__item { border-left: 2px solid var(--red); padding: 2px 0 2px 14px; min-width: 0; }
.news__meta { font-size: .62rem; margin-bottom: 6px; }
.news__text { color: var(--bone); font-size: 1.02rem; line-height: 1.45; overflow-wrap: anywhere; }
.news__text a, .relic__text a { color: var(--gold); }

/* hall of blessings (from Discord #hall-of-fame) */
.hall { margin-top: 44px; columns: 3 300px; column-gap: 20px; }
.relic { break-inside: avoid; margin: 0 0 20px; border: 1px solid var(--line-soft); background: var(--panel); transition: border-color .2s, box-shadow .2s; }
.relic:hover { border-color: var(--red); box-shadow: 0 0 24px rgba(196, 22, 28, .18); }
.relic__pic { position: relative; display: block; background: #000; border-bottom: 1px solid var(--line-soft); }
.relic__pic img { width: 100%; height: auto; }
.relic__pic--wait { padding: 40px 12px; text-align: center; }
.relic__count { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .8); padding: 3px 6px; border: 1px solid var(--gold); }
.relic figcaption { padding: 14px 16px 14px; }
.relic__text { color: var(--text); font-size: 1rem; line-height: 1.45; margin-bottom: 10px; overflow-wrap: anywhere; }
.relic--text { border-left: 2px solid var(--gold); }
.relic__title { font-family: var(--display); color: var(--gold); font-size: 1.12rem; letter-spacing: .03em; line-height: 1.3; margin-bottom: 10px; overflow-wrap: anywhere; }
.relic__list { list-style: none; margin: 0 0 12px; padding: 0; color: var(--text); font-size: .98rem; line-height: 1.5; }
.relic__list li { overflow-wrap: anywhere; }
.relic__list li + li { border-top: 1px dotted var(--line-soft); }
.relic__list a { color: var(--gold); }
.relic__more { color: var(--muted); font-style: italic; }
.relic__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.relic__who { font-family: var(--display); color: var(--bone); font-size: .9rem; letter-spacing: .04em; }
.relic__meta .px { font-size: .6rem; white-space: nowrap; }
.hall__more { text-align: center; margin-top: 16px; }

/* clergy */
.clergy { margin-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.clergy__tier { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.clergy__tier .priest { flex: 0 1 250px; }
.clergy__tier + .clergy__tier { position: relative; }
.priest {
  text-align: center; padding: 34px 18px 28px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border-radius: 120px 120px 0 0; /* arched like a chapel window */
  transition: border-color .2s, box-shadow .2s;
}
.priest:hover { border-color: var(--red); box-shadow: 0 0 26px rgba(196, 22, 28, .2); }
.priest--head { border-color: var(--red); box-shadow: inset 0 0 40px rgba(196, 22, 28, .15); }
.priest__rank { font-size: .64rem; }
.priest__name { font-size: 1.3rem; margin: 12px 0 6px; letter-spacing: .04em; word-break: break-word; }
.priest__role { color: var(--muted); font-style: italic; font-size: 1rem; }

/* ranks: rebuilt from the #ranks-guide sheets (Vinny, Nov 17, 2026: "remake the entire sheet so it fits into the box") */
.motto { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0 8px; font-family: var(--display); font-style: italic; color: var(--bone); font-size: 1.35rem; letter-spacing: .08em; }
.motto img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red), 0 0 22px rgba(196, 22, 28, .35); }
.order-card { margin-top: 28px; border: 1px solid var(--line-soft); border-left: 2px solid var(--gold); background: var(--panel); padding: 26px 26px 22px; }
.order-card__title { text-align: center; font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: .05em; color: var(--bone); }
.order-card__title::after { content: ""; display: block; width: 120px; height: 1px; margin: 12px auto 0; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.order-card__sub { text-align: center; margin-top: 8px; font-size: .6rem; color: var(--muted); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; }
.rules__head { font-family: var(--display); color: var(--bone); letter-spacing: .1em; font-size: 1rem; margin-bottom: 12px; text-align: center; }
.rules__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rules__list li { position: relative; padding-left: 22px; color: var(--text); line-height: 1.5; }
.rules__list li::before { content: "\2756"; position: absolute; left: 0; top: 1px; color: var(--muted); font-size: .8rem; }
.rules__list--red b { color: var(--red-hi); font-weight: 600; }
.rules__list--gold b { color: #f0a13a; font-weight: 600; }
.ladder { margin-top: 20px; border-top: 1px solid var(--line-soft); }
.ladder__row { display: grid; grid-template-columns: minmax(180px, 1.05fr) 1fr 1.7fr; gap: 18px; padding: 14px 12px; border-bottom: 1px solid var(--line-soft); border-left: 3px solid var(--tier, var(--line-soft)); }
.ladder__row:not(.ladder__row--head):hover { background: rgba(255, 255, 255, .02); }
.ladder__row--head { border-left-color: transparent; padding-top: 10px; padding-bottom: 10px; font-family: var(--pixel); font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ladder__row p { margin: 0; line-height: 1.5; }
.ladder__row .ladder__type { font-family: var(--pixel); font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--tier); margin-bottom: 6px; }
.rk { display: flex; align-items: center; gap: 10px; color: var(--tier); font-family: var(--display); font-size: 1rem; letter-spacing: .02em; padding: 2px 0; }
.rk img, .rk__q { flex: none; width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; }
.rk__q { display: inline-flex; align-items: center; justify-content: center; color: var(--gold); font-size: .7rem; letter-spacing: -.05em; }
.ladder__req { color: var(--bone); }
.ladder__note { color: var(--text); font-size: .97rem; }
@media (max-width: 860px) {
  .rules { grid-template-columns: 1fr; }
  .ladder__row--head { display: none; }
  .ladder__row { grid-template-columns: 1fr; gap: 8px; }
  .ladder__req::before { content: "How to get it: "; color: var(--muted); font-style: italic; }
}
@media (max-width: 600px) {
  .order-card { padding: 20px 14px 16px; }
  .motto { font-size: 1.1rem; gap: 12px; }
}

/* scrapbook gallery (from #scrapbook) */
.scrapbook { margin: 40px auto 0; max-width: 960px; }
.scrapbook__head { text-align: center; margin-bottom: 16px; }
.scrapbook__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.scrap { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-soft); background: #000; }
.scrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.scrap:hover { border-color: var(--red); }
.scrap:hover img { transform: scale(1.04); }
.scrap__who { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 6px; font-size: .58rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); opacity: 0; transition: opacity .2s; }
.scrap:hover .scrap__who, .scrap:focus-visible .scrap__who { opacity: 1; }

/* gallery */
.art { margin: 44px auto 0; max-width: 960px; }
.art__frame { padding: 10px; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 0 0 6px var(--black), 0 0 0 7px var(--line), 0 20px 60px rgba(0, 0, 0, .6); }
.art img { width: 100%; height: auto; }
.art figcaption { text-align: center; margin-top: 18px; color: var(--muted); font-style: italic; }
.art figcaption strong { color: var(--bone); font-style: normal; font-family: var(--display); letter-spacing: .06em; }

/* join */
.section--join { background: radial-gradient(70% 80% at 50% 100%, rgba(130, 10, 16, .35), transparent 70%); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; border: 1px solid var(--line-soft); background: var(--panel); padding: 22px; }
.steps__n { font-size: 1.1rem; padding-top: 3px; }
.steps h3 { font-size: 1.1rem; letter-spacing: .06em; margin-bottom: 4px; }
.steps p { color: var(--muted); }
.hl { color: var(--gold); font-family: var(--pixel); font-weight: 400; font-size: .85em; }
.join__ctas { text-align: center; margin-top: 36px; }

/* survey call-out */
.survey-cta {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none;
  margin: 56px auto 0; max-width: 520px; padding: 26px 24px; border: 1px dashed rgba(247, 213, 29, .45);
  background: rgba(247, 213, 29, .03); transition: border-color .2s, background .2s;
}
.survey-cta:hover { border-color: var(--gold); background: rgba(247, 213, 29, .07); color: inherit; }
.survey-cta strong { font-family: var(--display); color: var(--bone); font-size: 1.2rem; letter-spacing: .06em; }
.survey-cta span:last-child { color: var(--muted); font-style: italic; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 44px; text-align: center; background: #040303; }
.foot__inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.foot img { border-radius: 50%; box-shadow: 0 0 0 1px var(--red); margin-bottom: 6px; }
.foot__name { font-family: var(--display); color: var(--bone); letter-spacing: .2em; text-transform: uppercase; }
.foot__px { margin-bottom: 14px; }
.foot__small { color: var(--muted); font-size: .9rem; max-width: 640px; }
.foot__small a { color: var(--text); }

/* survey page */
.survey-back { font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap; }
.survey-back:hover { color: var(--red-hi); }
.page-survey .survey { padding-top: 72px; }
.page-survey .section::before { display: none; }
.form { margin-top: 44px; display: grid; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.q { margin: 0; border: 1px solid var(--line-soft); background: var(--panel); padding: 22px 22px 24px; min-width: 0; }
.q:focus-within { border-color: var(--line); box-shadow: 0 0 24px rgba(196, 22, 28, .12); }
.q legend { float: left; width: 100%; display: flex; align-items: baseline; gap: 12px; font-family: var(--display); color: var(--bone); font-size: 1.15rem; letter-spacing: .04em; margin-bottom: 12px; padding: 0; }
.q legend + * { clear: both; }
.q__n { font-size: .8rem; }
.q__hint { color: var(--muted); font-size: .98rem; font-style: italic; margin: -4px 0 12px; clear: both; }
.form input[type=text], .form input[type=url], .form textarea {
  width: 100%; background: #0a0707; border: 1px solid rgba(255, 255, 255, .12); color: var(--bone);
  font: 400 1.08rem/1.5 var(--serif); padding: 12px 14px; border-radius: 0; clear: both; display: block;
}
.form textarea { resize: vertical; margin-top: 14px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.form ::placeholder { color: #958a82; font-style: italic; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; clear: both; }
.checks label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--text); line-height: 1.35; padding: 6px 0; }
.checks input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border: 1px solid rgba(255, 255, 255, .3); background: #0a0707; display: grid; place-content: center; cursor: pointer; }
.checks input::after { content: ""; width: 10px; height: 10px; background: var(--red-hi); transform: scale(0); transition: transform .12s; box-shadow: 0 0 8px var(--red-hi); }
.checks input:checked { border-color: var(--red); }
.checks input:checked::after { transform: scale(1); }
.checks input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.rating { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; clear: both; }
.rating label { cursor: pointer; text-align: center; border: 1px solid rgba(255, 255, 255, .12); padding: 12px 4px 10px; transition: border-color .15s, background .15s; display: flex; flex-direction: column; gap: 2px; }
.rating input { position: absolute; opacity: 0; pointer-events: none; }
.rating span { font-family: var(--display); font-size: 1.4rem; color: var(--bone); }
.rating em { font-family: var(--pixel); font-style: normal; font-size: .62rem; color: var(--muted); text-transform: lowercase; }
.rating label:hover { border-color: var(--red); }
.rating label:has(input:checked) { background: var(--red); border-color: var(--red); }
.rating label:has(input:checked) em { color: var(--gold); }
.rating label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__foot { text-align: center; margin-top: 12px; }
.form__msg { margin-top: 16px; min-height: 1.4em; }
.btn:disabled { opacity: .6; cursor: wait; }
.thanks { text-align: center; margin-top: 48px; }
.thanks img { margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 0 0 2px var(--red), 0 0 50px rgba(220, 20, 30, .5); }
.thanks__links { margin-top: 30px; }
@media (max-width: 600px) {
  .checks { grid-template-columns: 1fr; }
  .rating em { font-size: .58rem; line-height: 1.2; }
  .rating label { padding: 10px 2px 8px; }
  .page-survey .brand__text { display: none; }
  .q { padding: 18px 16px 20px; }
  .survey-back { font-size: .68rem; letter-spacing: .08em; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .events { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .news__list { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 1120px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6, 5, 5, .97); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden; transition: max-height .3s ease, visibility 0s linear .3s;
  }
  .nav__links.is-open { max-height: 680px; visibility: visible; transition: max-height .3s ease; }
  .nav__links a { padding: 16px 24px; border-top: 1px solid var(--line-soft); }
  .nav__links .nav__cta { border: 0; border-top: 1px solid var(--line-soft); color: var(--red-hi); padding: 16px 24px; }
}
@media (max-width: 600px) {
  body { font-size: 1.08rem; }
  .wrap, .nav__inner { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 44px 0 48px; }
  .seal { width: 240px; height: 240px; }
  .seal__logo { width: 150px; height: 150px; }
  .tally { grid-template-columns: 1fr 1fr; }
  .tally > div:nth-child(odd) { border-left: 0; }
  .tally > div:nth-child(5) { grid-column: 1 / -1; }
  .tally > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tally dd { font-size: 1.5rem; }
  .section { padding: 76px 0; }
  .creed li { grid-template-columns: 44px 1fr; }
  .creed p { font-size: 1.15rem; }
  .events { grid-template-columns: 1fr; }
  .clergy__tier .priest { flex: 1 1 100%; }
  .board th, .board td { padding: 11px 10px; }
  .board .rank { width: 34px; }
  .steps li { grid-template-columns: 40px 1fr; gap: 12px; padding: 18px; }
  .btn { padding: 15px 22px; }
  .brand__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Multi-page redesign (Nov 17, 2026): page headers, drops ticker, home cards,
   drops feed, GE "Exchange" with Deacon Croak, picture viewer.
   ===================================================================== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__links a[aria-current="page"] { color: var(--red-hi); }
.is-up { color: #5fd36a; }
.is-down { color: var(--red-hi); }
.age { display: block; margin-top: 6px; font-size: .85rem; }
.note--age:has(> .age:empty) { display: none; } /* no gap under a board whose copy is fresh */

/* page header on inner pages */
.page-head {
  position: relative; text-align: center; padding: 64px 0 40px; overflow: hidden;
  background: radial-gradient(60% 90% at 50% 0%, rgba(160, 14, 20, .32), transparent 70%), var(--black);
  border-bottom: 1px solid var(--line);
}
.page-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .title { font-size: clamp(2.2rem, 6vw, 3.6rem); text-shadow: 0 0 30px rgba(220, 20, 30, .4); }
.section--first { padding-top: 56px; }
.section--first::before { display: none; }
.section--page { padding-top: 64px; }
.subtitle { font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; }

/* big drops ticker (every page) */
.ticker, .gticker {
  display: flex; align-items: stretch; height: 36px; overflow: hidden;
  border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #120607, #0a0606 30%, #0a0606 70%, #120607);
}
.gticker { margin: 36px 0 8px; border: 1px solid var(--line); }
.ticker[hidden], .gticker[hidden] { display: none; }
.ticker__label {
  flex: none; display: flex; align-items: center; padding: 0 14px; text-decoration: none; font-size: .62rem;
  background: var(--red); color: #fff; letter-spacing: .1em; position: relative; z-index: 2;
}
.ticker__label:hover { background: var(--red-hi); color: #fff; }
.ticker__viewport { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; width: max-content; height: 100%; }
.ticker__set { display: flex; align-items: center; height: 100%; }
.ticker__track.is-moving { animation: tick var(--ticker-dur, 60s) linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .is-paused .ticker__track,
.gticker:hover .ticker__track, .gticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.is-static .ticker__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.is-static .ticker__set[aria-hidden] { display: none; }
.ticker__pause { flex: none; width: 44px; background: transparent; border: 0; border-left: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.ticker__pause:hover { color: var(--bone); }
.tk { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; white-space: nowrap; text-decoration: none; color: var(--text); font-size: .98rem; border-right: 1px solid var(--line-soft); }
.tk img { width: 24px; height: 24px; object-fit: contain; image-rendering: pixelated; }
.tk__who { color: var(--bone); font-family: var(--display); font-size: .85rem; letter-spacing: .04em; }
.tk__what { color: var(--muted); font-style: italic; }
.tk__val { font-family: var(--pixel); font-weight: 400; color: var(--gold); font-size: .72rem; }
.tk__val--pet { color: #7fe0ff; }
.tk__val--raid { color: #c58cff; }
.tk__chg { font-family: var(--pixel); font-size: .66rem; }
a.tk:hover .tk__who { color: var(--red-hi); }

/* home: this week cards */
.section--week { padding-top: 88px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.card {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text);
  border: 1px solid var(--line-soft); background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 22px 20px 18px;
  transition: border-color .2s, transform .2s, box-shadow .2s; min-width: 0;
}
.card:hover { color: var(--text); border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(196, 22, 28, .18); }
.card__kicker { font-size: .6rem; }
.card__title { font-size: 1.15rem; line-height: 1.3; letter-spacing: .03em; overflow-wrap: anywhere; }
.card__body, .card p { color: var(--text); font-size: 1rem; overflow-wrap: anywhere; }
.card p.card__kicker { color: var(--gold); font-size: .6rem; }
.card .card__muted { color: var(--muted); font-style: italic; }
.card .card__big { font-family: var(--display); font-size: 1.8rem; color: var(--bone); line-height: 1.1; }
.card .card__big.is-up { color: #5fd36a; }
.card .card__big.is-down { color: var(--red-hi); }
.card__live { color: var(--gold); margin-right: 6px; }
.card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: c; }
.card__list li { display: flex; justify-content: space-between; gap: 10px; counter-increment: c; }
.card__list li:not(.card__muted)::before { content: counter(c); font-family: var(--display); color: var(--gold); width: 1em; }
.card__list li span { flex: 1; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__list li b { font-family: var(--pixel); font-weight: 400; font-size: .7rem; color: var(--gold); align-self: center; }
.card__go { margin-top: auto; padding-top: 6px; font-family: var(--display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card:hover .card__go { color: var(--red-hi); }
.card__mood { display: flex; align-items: center; gap: 14px; }

/* home: explore tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.tile { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; text-decoration: none; border: 1px solid var(--line-soft); background: var(--panel); padding: 18px; transition: border-color .2s, background .2s; }
.tile:hover { border-color: var(--red); background: var(--panel-2); color: inherit; }
.tile__ic { grid-row: 1 / 3; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); font-size: .7rem; color: var(--gold); background: #0a0606; }
.tile strong { font-family: var(--display); color: var(--bone); letter-spacing: .06em; font-size: 1.05rem; }
.tile span:last-child { color: var(--muted); font-size: .95rem; font-style: italic; line-height: 1.35; }
.tile:hover strong { color: var(--red-hi); }

/* home: gallery strip */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 36px; }

/* hiscores: finder */
.finder { display: flex; gap: 10px; max-width: 520px; margin: 30px auto 0; }
.finder input { flex: 1; min-width: 0; background: #0a0707; border: 1px solid rgba(255, 255, 255, .14); color: var(--bone); font: 400 1.1rem/1.4 var(--serif); padding: 12px 14px; border-radius: 0; }
.finder input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.finder ::placeholder { color: #958a82; font-style: italic; }

/* drops page */
.loot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.panel--glow { border-color: rgba(247, 213, 29, .35); box-shadow: inset 0 0 50px rgba(247, 213, 29, .04); }
.biggest { flex: 1; display: grid; place-items: center; padding: 18px; min-height: 220px; }
.biggest__card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.biggest__card img { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 0 14px rgba(247, 213, 29, .45)); }
.biggest__val { font-family: var(--display); font-size: 2.6rem; color: var(--gold); text-shadow: 0 0 22px rgba(247, 213, 29, .35); line-height: 1; }
.biggest__item { font-family: var(--display); color: var(--bone); font-size: 1.2rem; }
.biggest__who { color: var(--muted); }
.biggest__who a { color: var(--bone); }
.biggest__sum { text-align: center; padding: 12px; border-top: 1px solid var(--line-soft); font-size: .62rem; }
.biggest__sum:empty { display: none; }
.drops-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 56px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { background: transparent; color: var(--muted); border: 1px solid var(--line-soft); font-family: var(--pixel); font-size: .68rem; padding: 10px 14px; min-height: 44px; transition: color .2s, border-color .2s, background .2s; }
.chips button:hover { color: var(--bone); border-color: var(--red); }
.chips button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.droplist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); background: var(--panel); }
.dl { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); transition: background .2s; }
.dl:last-child { border-bottom: 0; }
.dl:hover { background: rgba(196, 22, 28, .07); }
.dl__icon { display: grid; place-items: center; width: 40px; height: 40px; background: #0a0606; border: 1px solid var(--line-soft); }
.dl__icon img { width: 32px; height: 32px; object-fit: contain; image-rendering: pixelated; }
.dl__main { min-width: 0; display: flex; flex-direction: column; }
.dl__who { color: var(--bone); font-family: var(--display); letter-spacing: .03em; text-decoration: none; }
.dl__who:hover { color: var(--red-hi); }
.dl__item { color: var(--text); font-style: italic; overflow-wrap: anywhere; }
.dl__src { color: var(--muted); }
.dl__side { display: flex; align-items: center; gap: 12px; text-align: right; }
.dl__val { font-family: var(--display); color: var(--bone); font-size: 1.15rem; min-width: 4.2em; }
.dl__when { font-size: .6rem; min-width: 4.5em; }
.dl--big .dl__val { color: var(--gold); }
.dl--huge { background: linear-gradient(90deg, rgba(247, 213, 29, .08), transparent 60%); }
.dl--huge .dl__val { color: var(--gold); text-shadow: 0 0 14px rgba(247, 213, 29, .5); }
.dl--huge .dl__icon { border-color: rgba(247, 213, 29, .5); }
.dl__tag { font-size: .58rem; padding: 2px 6px; border: 1px solid currentColor; }
.dl__tag--pet { color: #7fe0ff; }
.dl__tag--raid { color: #c58cff; }
.dl__tag--clue { color: var(--muted); }
.drycalc { margin-top: 32px; border: 1px solid var(--line); background: var(--panel); padding: 24px; text-align: center; }
.drycalc__fields { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.drycalc label { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.drycalc input { width: 120px; background: #0a0707; border: 1px solid rgba(255, 255, 255, .14); color: var(--bone); font: 400 1.1rem var(--serif); padding: 10px 12px; border-radius: 0; }
.drycalc input:focus { outline: none; border-color: var(--red); }
.drycalc__one { color: var(--gold); font-family: var(--pixel); font-size: .7rem; }
.drycalc__out { margin-top: 18px; color: var(--text); min-height: 3em; }
.drycalc__out strong { color: var(--bone); font-family: var(--display); }
.drycalc__out em { display: block; color: var(--gold); margin-top: 4px; }

/* GE: the Exchange */
.market { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; }
.market__frog { text-align: center; }
.market__say { margin-top: 14px; font-style: italic; color: var(--bone); font-size: 1.1rem; }
.mascot { display: inline-block; }
.mascot svg { width: 100%; height: 100%; display: block; }
.mascot--lg { width: 220px; height: 200px; filter: drop-shadow(0 0 30px rgba(196, 22, 28, .35)); }
.mascot--sm { flex: none; width: 66px; height: 60px; }
.mascot[data-mood="up"] { animation: hop 1.6s steps(2) infinite; }
.mascot[data-mood="down"] .frog__rain { animation: drip 1.2s steps(3) infinite; }
@keyframes hop { 50% { transform: translateY(-4px); } }
@keyframes drip { 50% { transform: translateY(1px); } }
.tally--3 { grid-template-columns: repeat(3, 1fr); margin: 0; max-width: none; text-align: center; }
.tally--3 dd { font-size: 1.6rem; }
.tally--3 dd.is-up, .tally--3 dd .is-up { color: #5fd36a; }
.tally--3 dd.is-down, .tally--3 dd .is-down { color: var(--red-hi); }
.chart { margin: 18px 0 0; border: 1px solid var(--line-soft); background: var(--panel); padding: 12px 14px; }
.chart figcaption { font-size: .58rem; margin-bottom: 6px; }
.chart svg { width: 100%; height: 120px; }
.spark { width: 120px; height: 32px; display: block; overflow: visible; }
.spark path { stroke: var(--muted); stroke-width: 1.6; }
.spark.is-up path { stroke: #5fd36a; }
.spark.is-down path { stroke: var(--red-hi); }
.spark--big path { stroke-width: 2.2; }
.board--ge td { padding-top: 10px; padding-bottom: 10px; }
.ge__item { display: flex; align-items: center; gap: 10px; }
.ge__item img { width: 28px; height: 28px; object-fit: contain; image-rendering: pixelated; flex: none; }
.ge__item a { color: var(--bone); text-decoration: none; }
.ge__item a:hover { color: var(--red-hi); }
.board--ge td.is-up, .board--ge td.is-down { font-family: var(--pixel); font-size: .7rem; }

/* gallery: picture viewer */
.lightbox { border: 1px solid var(--line); background: rgba(6, 5, 5, .97); color: var(--text); padding: 0; width: min(1100px, 96vw); max-width: 96vw; max-height: 94vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; padding: 48px 56px 16px; }
.lightbox__fig img { max-height: calc(94vh - 130px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox__cap { margin-top: 12px; text-align: center; color: var(--muted); font-style: italic; }
.lightbox__cap strong { color: var(--bone); font-style: normal; font-family: var(--display); }
.lightbox__cap .px { margin-left: 8px; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(0, 0, 0, .6); border: 1px solid var(--line); color: var(--bone); width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--red-hi); color: var(--red-hi); }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }

/* about */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 640px; margin: 36px auto 0; background: var(--line); border: 1px solid var(--line); }
.facts > div { background: rgba(12, 6, 6, .92); padding: 14px 10px; }
.facts dt { font-size: .6rem; margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); color: var(--bone); font-size: 1.15rem; }

/* footer menu */
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 4px 0 14px; }
.foot__nav a { font-family: var(--display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 6px 0; }
.foot__nav a:hover { color: var(--red-hi); }

@media (max-width: 1120px) {
  .nav__links a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--red-hi); }
}
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .loot-top, .market { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(3, 1fr); }
  .col-spark { display: none; }
}
@media (max-width: 600px) {
  .ticker { height: 34px; }
  .tk { padding: 0 14px; font-size: .9rem; }
  .ticker__label { padding: 0 10px; }
  .page-head { padding: 44px 0 30px; }
  .section--first { padding-top: 40px; }
  .cards, .tiles { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: 36px 1fr; gap: 10px; padding: 12px; }
  .dl__icon { width: 34px; height: 34px; }
  .dl__icon img { width: 28px; height: 28px; }
  .dl__side { grid-column: 2; justify-content: flex-start; text-align: left; }
  .col-7d { display: none; }
  .board--ge th, .board--ge td { padding-left: 8px; padding-right: 8px; }
  .ge__item img { width: 22px; height: 22px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .finder { flex-direction: column; }
  .mascot--lg { width: 180px; height: 164px; }
  .tally--3 dd { font-size: 1.25rem; }
  .lightbox__fig { padding: 52px 8px 12px; }
  .lightbox__nav { top: auto; bottom: 8px; transform: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .tabs button { flex: none; }
}

/* clergy: a member's own link (Oblagator, Nov 17, 2026) */
.priest__link { display: inline-block; margin-top: 4px; padding: 10px 4px; color: var(--gold); font-style: italic; text-decoration: underline; text-underline-offset: 3px; }
.priest__link:hover { color: var(--red-hi); }
.priest__link + .priest__role.px { font-style: normal; font-size: .58rem; color: var(--muted); }

/* drops: label when an item has no picture (Nov 17, 2026) */
.dl__icon:empty::after { content: attr(data-k); font-size: .55rem; color: var(--muted); }
