/* RSCAngel – dark single theme: burnished gold on smoked oak.
   Layout: sticky header · full-bleed hero with glow + ridge silhouette · centred 1120 px column of sections. */

@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/cinzel.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-sans-3.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-sans-3-italic.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #110d09;
  --bg-2: #17120d;
  --panel: #1e1711;
  --panel-2: #261d15;
  --inset: #120e0a;
  --line: rgba(224, 180, 76, .13);
  --line-strong: #4a3a28;
  --text: #ece3d1;
  --muted: #a99c86;
  --faint: #7a6e5c;
  --gold: #e0b44c;
  --gold-hi: #f6d98a;
  --gold-lo: #a8761c;
  --green: #7cc35a;
  --red: #d8594b;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 40px -24px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--body); font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .02em; line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 480px; }

/* ── header ─────────────────────────────────────────── */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(14, 11, 8, .96);   /* no backdrop-filter: Chrome left flickering stale squares in the blurred header */
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand img { display: block; height: 38px; width: auto; }
nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav a:not(.btn), button.link {
  color: var(--text); text-decoration: none; font: 600 15px var(--body); letter-spacing: .02em;
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
nav a:not(.btn):hover, button.link:hover { color: var(--gold-hi); background: rgba(224, 180, 76, .07); }
nav a.active { color: var(--gold); }
nav .who { display: inline-flex; align-items: center; gap: 8px; }
nav .who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(224, 180, 76, .18); }
form.inline { display: inline; margin: 0; }

/* ── buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--panel-2); color: var(--text) !important; text-decoration: none;
  font: 600 15px/1.2 var(--body); letter-spacing: .02em; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { border-color: var(--gold-lo); background: #2f241a; }
.btn.gold {
  color: #1d1306 !important; border-color: #f2cf73;
  background: linear-gradient(180deg, #f7d978 0%, #e3b247 48%, #c58d24 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .45) inset, 0 8px 22px -10px rgba(224, 160, 40, .8);
}
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 12px 26px -10px rgba(240, 175, 50, .9); }
.btn.big { padding: 14px 26px; font-size: 17px; }
.btn.ghost { background: transparent; }

/* ── hero ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; text-align: center; padding-block: 28px 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(234, 178, 62, .22), transparent 70%),
    radial-gradient(120% 80% at 50% 0%, #2a1e12 0%, var(--bg) 70%);
}
.hero::after {   /* drifting light rays behind the wings */
  content: ""; position: absolute; left: 50%; top: -10%; width: 1100px; height: 700px; margin-left: -550px; z-index: -1;
  background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(246, 217, 138, .06) 12deg, transparent 24deg, rgba(246, 217, 138, .05) 40deg, transparent 52deg, rgba(246, 217, 138, .06) 68deg, transparent 80deg);
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.hero h1 { line-height: 0; }
.hero .logo { display: block; width: min(600px, 100%); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)); }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: #d8ccb5; max-width: 46ch; margin: 10px auto 0; }
.cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
  padding: 5px 12px 5px 10px; border-radius: 999px; font-size: 13.5px; color: var(--muted); white-space: nowrap;
  background: rgba(18, 14, 10, .7); border: 1px solid var(--line);
}
.status-pill b { color: var(--text); font-weight: 600; }
.dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--green); }
/* pulse ring: transform + opacity only, so it runs on the compositor – an animated box-shadow under the header's
   backdrop-filter made Chrome repaint a small square there that flickered */
.dot.on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: rgba(124, 195, 90, .22); animation: pulse 2.4s ease-in-out infinite; will-change: transform, opacity; }
.dot.off { background: var(--red); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .3; } }
.ridge { display: block; width: 100%; height: 64px; margin-top: 18px; }
.ridge .far { fill: #1a140e; }
.ridge .near { fill: var(--bg); }

/* ── sections ───────────────────────────────────────── */
.section { padding-block: 40px; }
.section + .section { padding-top: 8px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); color: var(--gold); }
.section-head p { color: var(--muted); margin: 10px auto 0; max-width: 56ch; }
.rule { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold-lo); margin: 12px auto 0; }
.rule::before, .rule::after { content: ""; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold-lo)); }
.rule::after { transform: scaleX(-1); }

.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--bg-2); padding: 22px 20px; text-align: center; }
.facts b { display: block; font: 700 clamp(26px, 3.4vw, 34px)/1.1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.feature .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 16px;
  background: radial-gradient(circle at 30% 25%, rgba(246, 217, 138, .3), rgba(168, 118, 28, .12)); border: 1px solid rgba(224, 180, 76, .35); color: var(--gold-hi); }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; color: var(--text); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 24px 22px 22px 74px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font: 700 18px var(--display); color: #1d1306;
  background: linear-gradient(180deg, #f7d978, #c58d24); box-shadow: 0 0 0 4px rgba(224, 180, 76, .12);
}
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15.5px; }

.band {
  position: relative; overflow: hidden; text-align: center; border-radius: 14px; padding: 44px 24px;
  background: radial-gradient(80% 140% at 50% 0%, rgba(234, 178, 62, .2), transparent 60%), var(--panel);
  border: 1px solid rgba(224, 180, 76, .25);
}
.band h2 { font-size: clamp(22px, 3vw, 30px); color: var(--gold-hi); }
.band p { color: var(--muted); margin: 8px 0 22px; }

/* ── panels, forms, messages ────────────────────────── */
.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); position: relative;
}
.panel::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(246, 217, 138, .55), transparent); }
.panel h1 { font-size: 28px; color: var(--gold); margin-bottom: 6px; }
.panel h2 { font-size: 19px; color: var(--gold); margin-bottom: 14px; }
.panel > p + p { margin-top: 10px; }
.auth { padding-block: 56px 72px; }
.auth .emblem { display: block; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 14px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .9); }
.auth .panel h1 { text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin-bottom: 22px; }

label { display: block; margin: 0 0 18px; font-weight: 600; font-size: 15px; }
label small { display: block; font-weight: 400; color: var(--faint); font-size: 13.5px; margin-top: 6px; }
.opt { font-weight: 400; color: var(--faint); }
input {
  display: block; width: 100%; margin-top: 7px; padding: 11px 13px; font: 16px/1.3 var(--body);
  background: var(--inset); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
input:hover { border-color: #5c4831; }
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 180, 76, .2); }
form .btn.big { width: 100%; margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.msg { padding: 12px 16px; border-radius: 8px; margin: 0 0 18px; font-size: 15.5px; }
.msg.err { background: rgba(216, 89, 75, .12); border: 1px solid rgba(216, 89, 75, .55); }
.msg.ok { background: rgba(124, 195, 90, .1); border: 1px solid rgba(124, 195, 90, .5); }
.alt { color: var(--muted); margin-top: 18px; text-align: center; font-size: 15px; }

/* ── play page ──────────────────────────────────────── */
.game-wrap { padding-block: 18px 32px; }
.hint { color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.game { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.game iframe { display: block; width: 100%; aspect-ratio: 512 / 346; max-height: calc(100vh - 190px); border: 1px solid var(--line-strong); border-radius: 10px; background: #000; box-shadow: 0 30px 60px -30px #000; }

/* ── footer ─────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); background: #0d0a07; color: var(--muted); font-size: 14.5px; padding-block: 40px 28px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.foot img { height: 34px; width: auto; display: block; margin-bottom: 12px; }
.foot h4 { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--gold-hi); }
.legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: 13px; color: var(--faint); }

/* ── profile ────────────────────────────────────────── */
.profile { padding-block: 36px 56px; display: grid; gap: 18px; }
.char-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.char-head h1 { margin-bottom: 4px; }
.status { margin: 0; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status.on { color: var(--green); }
.status.on::before { background: var(--green); }
.stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 6px; }
.stats li { background: var(--inset); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.stats b { display: block; font: 700 22px/1.2 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.meta { color: var(--faint); font-size: 13.5px; margin-top: 10px; }
.panel h2 + .skills { margin-top: 0; }
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.skill { display: grid; grid-template-columns: 1fr auto; background: var(--inset); border: 1px solid var(--line); border-radius: 6px; padding: 7px 11px; }
.sname { font-weight: 600; }
.slevel { color: var(--gold); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.sxp { grid-column: 1 / -1; color: var(--faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.panel h2 .sub { font: 400 13.5px var(--body); color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.inv { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.slot { min-height: 56px; background: var(--inset); border: 1px solid var(--line); border-radius: 6px; padding: 5px 6px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.slot.empty { background: transparent; border-style: dashed; opacity: .5; }
.slot.worn, .legend.worn { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-lo); }
.slot .iname { font-size: 12.5px; line-height: 1.2; overflow-wrap: anywhere; }
.slot .iamt { font-weight: 700; font-size: 12.5px; color: var(--gold); font-variant-numeric: tabular-nums; }
.legend { display: inline-block; width: 12px; height: 12px; border: 1px solid; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.bank { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px; max-height: 420px; overflow-y: auto; }
.brow { display: flex; justify-content: space-between; gap: 8px; background: var(--inset); border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; font-size: 14px; }
.brow .iamt { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.panel form .btn { margin-top: 4px; }

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .features, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .brand img { height: 30px; }
  .st-text { display: none; }
  nav a:not(.btn), button.link { padding: 6px 8px; font-size: 14px; }
  .panel { padding: 22px 18px; }
  .ridge { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ── highscores ─────────────────────────────────────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hs { padding-block: 40px 64px; display: grid; gap: 22px; }
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.hs-head h1 { font-size: clamp(28px, 4vw, 38px); color: var(--gold); }
.hs-head .sub { color: var(--muted); margin-top: 6px; }
.hs-search { display: flex; gap: 8px; }
.hs-search label { margin: 0; }
.hs-search input { margin: 0; width: 220px; }
.hs-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; align-items: start; }
.hs-skills { display: grid; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; position: sticky; top: calc(80px + env(safe-area-inset-top, 0px)); }
.hs-skills a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 6px; font-size: 15px; }
.hs-skills a:hover { color: var(--text); background: rgba(224, 180, 76, .07); }
.hs-skills a.on { color: #1d1306; background: linear-gradient(180deg, #f7d978, #d49f33); font-weight: 600; }
.hs-table h2 { font-size: 22px; }
.tbl { overflow-x: auto; }
.hs table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hs th { text-align: left; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line-strong); }
.hs td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.hs tbody tr:hover td { background: rgba(224, 180, 76, .04); }
.hs .r { text-align: right; }
.hs .rank { width: 70px; color: var(--muted); }
.hs .name { font-weight: 600; }
.hs .lvl { color: var(--gold); font-weight: 700; }
.hs .xp { color: var(--muted); }
.medal { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 700 14px var(--display); color: #1d1306; }
.medal.m1 { background: linear-gradient(180deg, #fbe38f, #d49f33); box-shadow: 0 0 0 3px rgba(246, 217, 138, .18); }
.medal.m2 { background: linear-gradient(180deg, #eef2f6, #9aa6b4); }
.medal.m3 { background: linear-gradient(180deg, #f0b98a, #a8642c); }
.hs tr.me td { background: rgba(224, 180, 76, .08); }
.hs tr.me .name::after { content: "you"; margin-left: 8px; font: 700 10.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-lo); border-radius: 4px; padding: 1px 5px; vertical-align: 2px; }
.hs tr.hit td { background: rgba(124, 195, 90, .1); }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.empty { color: var(--muted); padding: 18px 0 4px; }
@media (max-width: 760px) {
  .hs-body { grid-template-columns: 1fr; }
  .hs-skills { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 4px; }
  .hs-skills a { white-space: nowrap; }
  .hs-search { width: 100%; }
  .hs-search input { flex: 1; width: auto; }
}

/* ── recent achievements ────────────────────────────── */
.feed-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.feed-head h2 { margin: 0; }
.feed-head a { font-size: 15px; text-decoration: none; }
.feed-list { list-style: none; padding: 0; margin: 0; }
.feed-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid var(--line); }
.feed-list li:first-child { border-top: 0; }
.fi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 14px; background: var(--inset); border: 1px solid var(--line); color: var(--muted); }
.k-max .fi { color: #1d1306; background: linear-gradient(180deg, #f7d978, #c58d24); border-color: #f2cf73; }
.k-level .fi { color: var(--gold); }
.k-quest .fi { color: #8fc1f0; }
.k-drop .fi { color: #c49cf2; }
.k-pvp .fi { color: var(--red); }
.ft { color: var(--muted); min-width: 0; }
.ft a { color: var(--text); font-weight: 600; text-decoration: none; }
.ft a:hover { color: var(--gold-hi); }
.feed-list time { color: var(--faint); font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.feed-empty { color: var(--muted); padding: 6px 0 2px; }

/* in-page fullscreen for the game frame */
.hint { align-items: center; }
.fs-btn { padding: 7px 14px; font-size: 14px; }
.game:fullscreen, .game:-webkit-full-screen { max-width: none; padding: 0; margin: 0; background: #000; display: flex; }
.game:fullscreen iframe, .game:-webkit-full-screen iframe { width: 100vw; height: 100vh; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }

/* ── guides ─────────────────────────────────────────── */
.guides { padding-block: 40px 64px; display: grid; gap: 22px; }
.guides-head h1 { font-size: clamp(28px, 4vw, 38px); color: var(--gold); }
.guides-head .sub { color: var(--muted); margin-top: 6px; max-width: 70ch; }
.crumbs { color: var(--faint); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { display: block; text-decoration: none; color: var(--text); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
a.guide-card:hover { border-color: var(--gold-lo); transform: translateY(-2px); color: var(--text); }
.guide-card .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px; background: radial-gradient(circle at 30% 25%, rgba(246, 217, 138, .3), rgba(168, 118, 28, .12)); border: 1px solid rgba(224, 180, 76, .35); color: var(--gold-hi); }
.guide-card .ico svg { width: 24px; height: 24px; }
.guide-card h2 { font-size: 20px; margin-bottom: 6px; }
.guide-card p { color: var(--muted); font-size: 15.5px; }
.guide-card .more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; font-size: 15px; }
.guide-card.soon { opacity: .6; }
.guide-card.soon .more { color: var(--faint); }
.q-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.q-filters input { margin: 0; flex: 1 1 200px; min-width: 0; }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.seg a { padding: 6px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.seg a:hover { color: var(--text); }
.seg a.on { color: #1d1306; background: linear-gradient(180deg, #f7d978, #d49f33); }
.q-list { display: grid; gap: 8px; }
.quest { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); }
.quest[open] { border-color: rgba(224, 180, 76, .35); }
.quest summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; }
.quest summary::-webkit-details-marker { display: none; }
.quest summary::before { content: "▸"; color: var(--gold); margin-right: 4px; transition: transform .15s; }
.quest[open] summary::before { transform: rotate(90deg); }
.q-name { font: 700 17px var(--display); letter-spacing: .02em; flex: 1; }
.quest.done .q-name { color: var(--muted); }
.q-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag { font: 700 11.5px var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag.free { color: #9fd47f; border-color: rgba(124, 195, 90, .4); }
.tag.mem { color: var(--gold); border-color: rgba(224, 180, 76, .45); }
.tag.qp { color: var(--text); }
.tag.ok { color: #1d1306; background: var(--green); border-color: var(--green); }
.q-body { padding: 2px 18px 18px 40px; }
.q-body dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 18px; margin: 0; }
.q-body dt { color: var(--faint); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding-top: 2px; }
.q-body dd { margin: 0; color: var(--text); }
.q-body ul { margin: 0; padding-left: 18px; }
.q-body li { margin: 2px 0; }
.req { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 6px; background: var(--inset); border: 1px solid var(--line); font-size: 14.5px; }
.req.quest-req { border-color: rgba(143, 193, 240, .4); color: #b9d8f5; }
@media (max-width: 760px) {
  .guide-cards { grid-template-columns: 1fr; }
  .q-body { padding-left: 18px; }
  .q-body dl { grid-template-columns: 1fr; gap: 4px; }
  .q-body dd { margin-bottom: 8px; }
}

/* ── skills guide ───────────────────────────────────── */
.sk-group { display: grid; gap: 12px; }
.sk-group h2 { font-size: 20px; color: var(--gold); }
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.sk-card { display: grid; gap: 6px; text-decoration: none; color: var(--text); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .15s, transform .15s; }
.sk-card:hover { border-color: var(--gold-lo); transform: translateY(-2px); color: var(--text); }
.sk-name { font: 700 18px var(--display); letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.sk-sum { color: var(--muted); font-size: 14.5px; }
.sk-lvl { color: var(--faint); font-size: 13.5px; }
.sk-lvl b { color: var(--gold); }
.sk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sk-head h1 { display: flex; align-items: center; gap: 10px; }
.sk-mine { text-align: center; background: var(--inset); border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; }
.sk-mine b { display: block; font: 700 28px var(--display); color: var(--gold); }
.sk-mine span { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.sk-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sk-table th { text-align: left; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 8px 12px; border-bottom: 1px solid var(--line-strong); }
.sk-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.sk-table .r { text-align: right; }
.sk-table .lvl { color: var(--gold); font-weight: 700; width: 70px; }
.sk-table .xp { color: var(--muted); width: 100px; }
.sk-table .note { color: var(--muted); font-size: 14.5px; }
.sk-table tr.got td { background: rgba(124, 195, 90, .07); }
.sk-table tr.got .lvl { color: var(--green); }
.sk-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-nav a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.sk-nav a:hover { color: var(--text); border-color: var(--gold-lo); }
.sk-nav a.on { color: #1d1306; background: linear-gradient(180deg, #f7d978, #d49f33); border-color: transparent; font-weight: 600; }

/* back button under the guide page title */
.btn.back { padding: 7px 14px; font-size: 14px; }
.btn.back.under-title { margin: 12px 0 4px; }
.btn.back span { font-size: 16px; line-height: 1; }

/* ---------- Map & places ---------- */
.wrap.map-page { max-width: 1480px; }
.map-shell { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; }
.map-side { display: grid; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.map-layers { display: flex; }
.map-layers button { flex: 1; padding: 6px 8px; border: 0; border-radius: 6px; background: none; color: var(--muted); font: 600 14px var(--body); cursor: pointer; }
.map-layers button:hover { color: var(--text); }
.map-layers button.on { color: #1d1306; background: linear-gradient(180deg, #f7d978, #d49f33); }
.map-search { margin: 0; }
.map-search input { width: 100%; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--inset); color: var(--text); font: 15px var(--body); }
.map-search input:focus { outline: 2px solid var(--gold-lo); outline-offset: 1px; }
.map-filters { display: grid; gap: 4px; }
.mf { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--muted); cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.mf:hover { color: var(--text); background: var(--panel-2); }
.mf input { width: 16px; height: 16px; padding: 0; margin: 0; flex: none; accent-color: var(--gold); box-shadow: none; }
.mf i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #120e0a; box-shadow: 0 0 0 1px rgba(255,255,255,.25); flex: none; }
.map-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 320px; overflow: auto; }
.map-results:empty { display: none; }
.map-results button { width: 100%; display: grid; grid-template-columns: 12px 1fr; column-gap: 9px; align-items: center; text-align: left; background: none; border: 0; color: var(--text); padding: 6px; border-radius: 6px; cursor: pointer; font: 14.5px var(--body); }
.map-results button:hover { background: var(--panel-2); }
.map-results small { grid-column: 2; color: var(--faint); font-size: 12.5px; }
.map-results .dot { width: 10px; height: 10px; border-radius: 50%; }
.map-results .none { color: var(--faint); font-size: 14px; padding: 6px; }

.map-view { position: relative; height: min(80vh, 900px); min-height: 420px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-strong); background: rgb(79, 130, 216); cursor: grab; touch-action: none; user-select: none; box-shadow: var(--shadow); }
.map-view:active { cursor: grabbing; }
.map-view:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#map-img { position: absolute; left: 0; top: 0; transform-origin: 0 0; image-rendering: pixelated; max-width: none; pointer-events: none; }
.map-marks { position: absolute; inset: 0; pointer-events: none; }
.mk { position: absolute; left: 0; top: 0; pointer-events: auto; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; padding: 0; border-radius: 50%; border: 2px solid #120e0a; box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 1px 4px rgba(0,0,0,.6); cursor: pointer; }
.mk[hidden] { display: none; }
.mk:hover, .mk:focus-visible { z-index: 3; box-shadow: 0 0 0 2px var(--gold-hi), 0 1px 6px rgba(0,0,0,.7); outline: none; }
.mk-label { width: auto; height: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: none; translate: -50% -50%; white-space: nowrap; font: 700 14px/1.1 var(--display); letter-spacing: .02em; color: #fff3cf; text-shadow: 0 0 3px #000, 0 0 6px #000, 1px 1px 0 #000; z-index: 2; }
.mk-label.mk-region { font-size: 17px; color: rgba(255, 240, 200, .75); letter-spacing: .12em; text-transform: uppercase; }
.mk-label:hover { box-shadow: none; color: var(--gold-hi); }
.mk-me { width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; background: #fff; border-color: var(--red); z-index: 4; animation: mk-pulse 1.6s ease-out infinite; }
@keyframes mk-pulse { 0% { box-shadow: 0 0 0 0 rgba(216,89,75,.8); } 100% { box-shadow: 0 0 0 14px rgba(216,89,75,0); } }
.mf-bank i, .mk-bank { background: #f2c230; }
.mf-shop i, .mk-shop { background: #4da3ff; }
.mf-quest i, .mk-quest { background: #c77dff; }
.mf-mine i, .mk-mine { background: #b9a89a; }
.mf-fish i, .mk-fish { background: #38d6d0; }
.mf-tree i, .mk-tree { background: #4fcf5a; }
.mf-altar i, .mk-altar { background: #ffffff; }
.mf-smith i, .mk-furnace, .mk-anvil { background: #ff8a3d; }
.mf-range i, .mk-range { background: #e5533f; }
.mf-craft i, .mk-craft { background: #e48ad6; }
.mf-town i, .mk-town { background: var(--gold-hi); }
.mf-landmark i, .map-results .mk-landmark { background: #e8dcc0; }
.mk-label.mk-landmark { font: italic 600 13px/1.1 var(--body); letter-spacing: .01em; color: #efe4c8; z-index: 1; }
.mk-quest.mk-done { background: #3ecf6a; }
.mk-quest.mk-done:not(.dot)::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 9px/1 var(--body); color: #0c1a0f; }
.map-done { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.map-done[hidden] { display: none; }
.map-done p { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); }
.map-done p .dot:not(:first-child) { margin-left: 8px; }
.map-done .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.map-done small { flex-basis: 100%; color: var(--faint); }
.map-done label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.map-pop .qs { display: block; margin-top: 4px; font-size: 13px; color: #c9a6ef; }
.map-pop .qs.done { color: #5fe089; }
.mf-entrance i, .mk-entrance { background: #1b1b1b; border-color: #e8e0cc !important; }
.map-view[data-layer="dungeons"], .map-view[data-layer="upstairs"] { background: #000; }

.map-pop { position: absolute; left: 0; top: 0; z-index: 5; width: max-content; max-width: 290px; translate: -50% calc(-100% - 14px); background: rgba(24, 18, 12, .96); border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 30px -8px rgba(0,0,0,.9); pointer-events: auto; cursor: auto; }
.map-pop[hidden] { display: none; }
.map-pop b { display: block; color: var(--gold-hi); font: 700 15px var(--body); }
.map-pop .k { color: var(--faint); font-size: 12.5px; }
.map-pop p { margin: 6px 0 0; color: var(--text); }
.map-pop .xy { display: block; margin-top: 6px; color: var(--faint); font: 12px ui-monospace, Consolas, monospace; }
.map-zoom { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 6; }
.map-zoom button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(24, 18, 12, .92); color: var(--gold-hi); font: 700 19px/1 var(--body); cursor: pointer; }
.map-zoom button:hover { background: var(--panel-2); }
.map-zoom button[hidden] { display: none; }
.map-coords { position: absolute; left: 10px; bottom: 8px; z-index: 6; font: 12px ui-monospace, Consolas, monospace; color: #fff; text-shadow: 0 0 3px #000, 0 0 3px #000; pointer-events: none; }
@media (max-width: 900px) {
  .map-shell { grid-template-columns: 1fr; }
  .map-side { order: 2; }
  .map-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-view { height: 68vh; min-height: 360px; }
}
.map-view.far .mk-town { font-size: 11.5px; }
.map-view.far .mk-region { font-size: 13px; }
.map-view.nolm .mk-landmark { display: none; }
.map-view.far .mk-done::after { content: none; }
.map-view.far .mk:not(.mk-label):not(.mk-me) { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-width: 1.5px; }

/* ── admin panel ────────────────────────────────────── */
.adm { padding-block: 32px 64px; display: grid; gap: 18px; }
.adm > p { margin: 0; }
.adm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 20px; flex-wrap: wrap; }
.adm-head h1 { font-size: clamp(26px, 3.6vw, 34px); color: var(--gold); overflow-wrap: anywhere; }
.adm-kicker { color: var(--faint); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.adm-nav, .adm-tabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.adm-nav a, .adm-tabs a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-radius: 6px; font-size: 15px; }
.adm-nav a:hover, .adm-tabs a:hover { color: var(--text); background: rgba(224, 180, 76, .07); }
.adm-nav a.on, .adm-tabs a.on { color: #1d1306; background: linear-gradient(180deg, #f7d978, #d49f33); font-weight: 600; }
.adm-tabs { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
.adm-stats { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin: 0; }
.adm-stats b small { font-size: 15px; color: var(--muted); }
.adm-stats b.ok { color: var(--green); }
.adm-stats b.bad { color: var(--red); }
.adm-stats a { color: inherit; }
.adm-tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.adm-tbl th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.adm-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-tbl tbody tr:hover td { background: rgba(224, 180, 76, .04); }
.adm-tbl .r { text-align: right; }
.adm-tbl .dot { display: inline-block; vertical-align: 1px; }
.adm-tbl .dot:not(.on) { background: transparent; border: 1px solid var(--faint); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13.5px; }
.nowrap { white-space: nowrap; }
.wrap-text { overflow-wrap: anywhere; min-width: 220px; }
.tag { display: inline-block; font: 700 11px/1.5 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-lo); border-radius: 4px; padding: 0 6px; vertical-align: 1px; }
.tag.bad { color: #f08a7e; border-color: rgba(216, 89, 75, .7); }
.tag.warn { color: #f0c06a; border-color: rgba(224, 160, 60, .7); }
.adm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.adm-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 420px; overflow-y: auto; }
.adm-list li { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: baseline; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 15px; overflow-wrap: anywhere; }
.adm-list time { margin-left: auto; color: var(--faint); font-size: 13px; white-space: nowrap; padding-left: 10px; }
.adm-note { margin: -6px 0 14px; }
.adm-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-filters input { flex: 1 1 220px; width: auto; margin: 0; }
.adm-filters select { width: auto; margin: 0; }
select {
  display: block; width: 100%; margin-top: 7px; padding: 10px 12px; font: 16px/1.3 var(--body);
  background: var(--inset); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px;
}
select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 180, 76, .2); }
.adm-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: start; }
.adm-actions .panel { padding: 22px 22px; }
.adm-actions form + form, .adm-actions p + form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.adm-actions .adm-row + form { margin-top: 16px; }
label.check { display: flex; gap: 10px; align-items: center; font-weight: 400; color: var(--muted); }
label.check input { width: 18px; height: 18px; margin: 0; padding: 0; flex: none; accent-color: var(--gold); }
.btn.danger { border-color: rgba(216, 89, 75, .7); background: rgba(216, 89, 75, .16); }
.btn.danger:hover { background: rgba(216, 89, 75, .28); border-color: var(--red); }
.btn[disabled], input[disabled] { opacity: .45; cursor: not-allowed; }
.adm-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 16px 0 0; font-size: 15px; }
.adm-facts dt { color: var(--faint); }
.adm-facts dd { margin: 0; overflow-wrap: anywhere; }
code.pw { font: 700 17px ui-monospace, Consolas, monospace; color: var(--gold-hi); background: var(--inset); border: 1px solid var(--gold-lo); border-radius: 6px; padding: 2px 8px; user-select: all; }
@media (max-width: 520px) {
  .adm-facts { grid-template-columns: 1fr; gap: 0; }
  .adm-facts dd { margin-bottom: 8px; }
}
.msg:not(.ok):not(.err) { background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); }

/* ── Discord links ──────────────────────────────────── */
.btn.discord svg { width: 20px; height: 20px; flex: none; }
.btn.discord:hover { border-color: #5865f2; }
.band .cta { margin-top: 0; }
.foot-h-gap { margin-top: 18px !important; }

/* ── public profile + who's online ──────────────────── */
a.status-pill { text-decoration: none; transition: border-color .15s; }
a.status-pill:hover { border-color: var(--gold-lo); color: var(--text); }
.prof-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.char-head h1 .tag { font-size: 12px; vertical-align: 6px; }
a.prof-skill { color: inherit; text-decoration: none; transition: border-color .15s; }
a.prof-skill:hover { border-color: var(--gold-lo); }
.prof-quests { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; font-size: 15px; }
.prof-quests a { color: var(--text); text-decoration: none; }
.prof-quests a:hover { color: var(--gold-hi); }
.prof-quests li::before { content: "✦ "; color: var(--gold); font-size: 12px; }
.hs td.name a { color: inherit; text-decoration: none; }
.hs td.name a:hover { color: var(--gold-hi); text-decoration: underline; }

/* news, monsters & items guides, profile privacy */
textarea {
  display: block; width: 100%; margin-top: 7px; padding: 11px 13px; font: 16px/1.5 var(--body); resize: vertical;
  background: var(--inset); color: var(--text); border: 1px solid var(--line-strong); border-radius: 8px;
}
textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 180, 76, .2); }
.faint { color: var(--faint); }
.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.news-teaser { padding: 12px 0; border-bottom: 1px solid var(--line); }
.news-teaser:last-child { border-bottom: 0; padding-bottom: 0; }
.news-teaser h3 { font-size: 18px; margin: 2px 0 4px; }
.news-teaser h3 a { color: var(--text); text-decoration: none; }
.news-teaser h3 a:hover { color: var(--gold-hi); }
.news-teaser p { color: var(--muted); font-size: 15px; margin: 0; }
.news-date { color: var(--faint); font-size: 13.5px; margin: 0; }
.news .news-post { margin-top: 18px; }
.news-post h1, .news-post h2 { margin: 4px 0 12px; }
.news-post h2 a { color: var(--gold); text-decoration: none; }
.news-post h2 a:hover { color: var(--gold-hi); }
.news-body p, .news-body ul { margin: 0 0 12px; }
.news-body > :last-child { margin-bottom: 0; }
.news .crumbs { margin-bottom: 4px; }
.adm-del { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.lvl-badge { font: 600 15px/1 var(--body); color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 10px; vertical-align: middle; }
.stats.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
table.bst td.tags { white-space: nowrap; }
table.bst td.tags .tag + .tag { margin-left: 4px; }
table.drops tr.always td { background: rgba(224, 180, 76, .06); }
@media (max-width: 900px) {
  .home-cols { grid-template-columns: 1fr; }
  .stats.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.news-teaser .news-body { color: var(--text); font-size: 15.5px; }
.news-teaser .news-body p, .news-teaser .news-body ul { margin: 0 0 10px; color: var(--text); }
.news-teaser .news-body ul { padding-left: 20px; }
.news-teaser .news-body a { overflow-wrap: anywhere; }
.tag.sup { color: #f3a6c0; border-color: rgba(236, 120, 160, .5); }
