/* DK Classic · dk-classic.com · stylesheet (20 Nov 2026).
   Its own look (owner: no purple, "more Dark Eden"): charcoal black, blood red, antique brass, bone and steel; framed
   "plates" with corner studs; split menu round the logo; content left, column right. */

:root {
  --night: #0e0c0c;
  --night-2: #171313;
  --night-3: #221b1a;
  --plate: rgba(22, 18, 17, .90);
  --plate-2: rgba(33, 27, 25, .93);
  --rule: rgba(214, 196, 168, .14);
  --rule-2: rgba(214, 196, 168, .30);
  --ink: #eee6dc;
  --dim: #b6aa9c;
  --faint: #877b6e;
  --silver: #e4ded4;
  --gold: #cfa255;
  --gold-2: #a8792f;
  --crimson: #a3121f;
  --crimson-2: #d8414c;
  --sky: #a6bccf;
  --green: #86c99a;
  --head: "Marcellus SC", "Marcellus", Georgia, serif;
  --serif: "Marcellus", Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, Arial, sans-serif;
  --r: 3px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body.dkc {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--ink); font: 400 16px/1.62 var(--sans);
  background:
    radial-gradient(1400px 700px at 50% -10%, rgba(150, 20, 30, .16), transparent 65%),
    linear-gradient(180deg, rgba(14, 12, 12, .88), rgba(14, 12, 12, .96)),
    url("/static/classic/texture.jpg") repeat;
  background-size: auto, auto, 420px 420px;
}
img { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffe0a6; text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.2; color: var(--silver); margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: .03em; }
h2 { font-size: 22px; letter-spacing: .04em; }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rule-2), transparent); margin: 24px 0; }
::selection { background: rgba(194, 38, 54, .6); color: #fff; }
.skiplink { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 6px 10px; z-index: 99; }
.skiplink:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiet, .muted, .hint, .sub, .fine { color: var(--dim); }
.hint, .fine { font-size: 14px; }
.center { text-align: center; }
.inline, form.inline { display: inline; margin: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- masthead: art, split menu round the logo ---------- */
.mast { position: relative; isolation: isolate; border-bottom: 1px solid var(--rule-2); }
.mast-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, .82) 0%, rgba(8, 6, 6, .25) 26%, rgba(8, 6, 6, .15) 60%, rgba(14, 12, 12, 1) 100%),
    var(--mast-img, url("/static/classic/hero.jpg?v=2")) var(--mast-pos, center 32%) / cover no-repeat;
}
.mast-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 6, 10, .10), rgba(60, 8, 14, .28)); mix-blend-mode: multiply; }
.mast:not(.mast-home) .mast-bg { background-position: center 38%; }
.mast::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, transparent, var(--gold-2), var(--crimson), var(--gold-2), transparent); opacity: .75; }

.crown { max-width: 1240px; margin: 0 auto; padding: 14px 20px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.crown ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(10px, 2vw, 30px); }
.crown-l { justify-content: flex-end; }
.crown-r { justify-content: flex-start; }
.crown a { white-space: nowrap; font: 400 15px var(--head); letter-spacing: .14em; color: #e9e6f8; text-shadow: 0 2px 8px rgba(0, 0, 0, .9); padding: 8px 2px; position: relative; text-decoration: none; }
.crown a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1px; background: var(--gold); transition: left .18s, right .18s; }
.crown a:hover { color: var(--gold); }
.crown a:hover::after, .crown a[aria-current="page"]::after { left: 0; right: 0; }
.crown a[aria-current="page"] { color: var(--gold); }
.crown-mark { display: block; padding: 0 !important; }
.crown-mark::after { display: none; }
.crown-mark img { width: clamp(170px, 18vw, 250px); height: auto; display: block; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .75)); }
.mast-home .crown-mark img { width: clamp(220px, 26vw, 360px); }
.crown-menu { display: none; }

.mast-copy { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 10vh, 120px) 20px 34px; text-align: center; }
.mast-title { font-size: clamp(30px, 4.2vw, 56px); color: #fff; text-shadow: 0 4px 22px rgba(0, 0, 0, .85); margin-bottom: 10px; }
.mast-lede { max-width: 640px; margin: 0 auto 26px; font: 400 clamp(16px, 1.5vw, 19px)/1.5 var(--serif); color: #e7e3f6; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.mast-cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.mast-chips { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mast-chips li { padding: 7px 14px; border: 1px solid rgba(242, 192, 105, .38); border-radius: 999px; background: rgba(10, 8, 8, .72); backdrop-filter: blur(4px); font-size: 14px; color: var(--dim); }
.mast-chips b { color: var(--gold); font: 400 15px var(--head); letter-spacing: .06em; margin-right: 4px; }
.mast-chips .srv.on b { color: var(--green); }
.mast-chips .srv.off b { color: var(--crimson-2); }
.mast-crumb { max-width: 1240px; margin: 0 auto; padding: 46px 20px 16px; font-size: 13.5px; color: #d6d2ec; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); letter-spacing: .03em; }
.srv-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--crimson-2); }
.srv-dot.on { background: var(--green); box-shadow: 0 0 8px var(--green); }

/* the owner's framed button: silver frame, red panel */
.framebtn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 240px; height: 66px; padding: 0 50px;
  color: #fff !important; text-decoration: none !important; font: 400 18px var(--head); letter-spacing: .2em;
  border-style: solid; border-width: 0 54px; border-image: url("/static/classic/button.png") 0 98 fill / 0 54px stretch;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)); transition: transform .14s, filter .14s; text-shadow: 0 1px 3px #000;
}
.framebtn span { margin: 0 -22px; }
.framebtn:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 24px rgba(232, 80, 93, .5)) brightness(1.12); }
.framebtn.alt { filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .6)) grayscale(1) brightness(.85); }
.framebtn.alt:hover { filter: drop-shadow(0 10px 24px rgba(200, 200, 200, .3)) grayscale(1) brightness(1.05); }

.banner-note { text-align: center; padding: 10px 16px; background: rgba(194, 38, 54, .22); border-bottom: 1px solid rgba(232, 80, 93, .4); }

/* ---------- page frame: content left, column right ---------- */
.frame { width: 100%; max-width: 1240px; margin: 34px auto 0; padding: 0 20px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; flex: 1; }
.frame.solo { grid-template-columns: minmax(0, 1fr); }
.col-main { min-width: 0; }

/* ---------- plates (every boxed block) ---------- */
.board, .panel, .tome, .wide-board, .admin-board, .download-card, .steps > div {
  position: relative; background: linear-gradient(180deg, var(--plate-2), var(--plate)); border: 1px solid var(--rule-2);
  border-radius: var(--r); padding: 22px 24px; margin-bottom: 24px;
  box-shadow: inset 0 0 0 4px rgba(10, 8, 8, .6), inset 0 0 0 5px rgba(205, 208, 230, .10), 0 16px 40px rgba(0, 0, 0, .55);
}
/* corner studs: only on the site's own boxes */
.board::before, .panel::before, .tome::before,
.board::after, .panel::after, .tome::after {
  content: ""; position: absolute; top: 7px; width: 7px; height: 7px; transform: rotate(45deg);
  background: linear-gradient(135deg, #f7f7fb, #8d8fa6); box-shadow: 0 0 6px rgba(242, 192, 105, .35);
}
.board::before, .panel::before, .tome::before { left: 7px; }
.board::after, .panel::after, .tome::after { right: 7px; }
.board > header, .wide-board > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.board > header h2, .wide-board > header h2 { margin: 0; }
.board .sub, .wide-board .sub { margin: 2px 0 0; font-size: 14px; }
.board.vampire, .vampire-board { border-top: 2px solid var(--crimson-2); }
.board.slayer, .slayer-board { border-top: 2px solid var(--sky); }
.boards { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 0 24px; align-items: start; }
.foot.more, .more { margin: 12px 0 0; font-size: 14px; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; padding: 9px 10px; font: 400 12.5px var(--head); letter-spacing: .12em; color: var(--faint); border-bottom: 1px solid var(--rule-2); }
td { padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
tbody tr:hover td { background: rgba(242, 192, 105, .07); }
td.name, td.name a { font-weight: 600; color: var(--ink); }
td.name a:hover { color: var(--gold); }
td.place { color: var(--gold); font-family: var(--head); text-align: center; width: 44px; }
td.level { font: 400 18px var(--head); color: var(--silver); }
td.cls img { width: 22px; height: 22px; vertical-align: middle; margin-right: 6px; image-rendering: pixelated; }
td.rank img { width: 20px; height: 20px; }
tr.podium td.place { font-size: 20px; }
.vampire-row td.name a, .side-v { color: #ff8b93; }
.slayer-row td.name a { color: #cfe2fb; }
.guide-table td, .guide-table th { padding: 7px 9px; }
.guide-table img { image-rendering: pixelated; vertical-align: middle; }

/* ---------- buttons ---------- */
.btn, .button, button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  padding: 10px 20px; border: 1px solid #e3a9ae; color: #fff; text-decoration: none !important;
  font: 400 14px var(--head); letter-spacing: .14em; border-radius: 0;
  background: linear-gradient(180deg, #d0384a 0%, #9c1a2a 55%, #7b1220 100%);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  transition: filter .12s, transform .12s;
}
.btn:hover, .button:hover { filter: brightness(1.15); color: #fff; transform: translateY(-1px); }
.btn.line, .button.ghost, .btn.ghost { background: linear-gradient(180deg, rgba(70, 64, 60, .6), rgba(38, 34, 32, .8)); border-color: var(--rule-2); }
.button.red, .btn.red { background: linear-gradient(180deg, #8c1220, #5a0a14); }
.button.small, .btn.small { padding: 8px 16px; font-size: 13px; }
.button.wide, .btn.wide, .btn.full, .button.full { width: 100%; }
.button[disabled], .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
button.link { background: none; border: 0; padding: 0; color: var(--gold); cursor: pointer; font: inherit; }
a.plainlink, .plain a { color: var(--ink); }

/* ---------- forms ---------- */
label { display: block; margin: 12px 0 5px; font: 400 13px var(--head); letter-spacing: .12em; color: var(--dim); }
input, select, textarea {
  width: 100%; padding: 10px 12px; font: 400 15px var(--sans); color: var(--ink);
  background: rgba(8, 6, 6, .75); border: 1px solid var(--rule-2); border-radius: var(--r);
}
input[type="checkbox"], input[type="radio"] { width: auto; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242, 192, 105, .2); }
form .actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- notices, tags ---------- */
.notice { padding: 12px 16px; margin-bottom: 18px; border-left: 3px solid var(--gold); background: rgba(242, 192, 105, .10); border-radius: var(--r); }
.notice.error, .notice.danger, .warn { border-left-color: var(--crimson-2); background: rgba(194, 38, 54, .14); }
.notice.ok, .notice.success { border-left-color: var(--green); background: rgba(121, 214, 160, .10); }
.tag { display: inline-block; padding: 2px 9px; font: 400 11.5px var(--head); letter-spacing: .12em; border: 1px solid var(--rule-2); border-radius: 999px; color: var(--gold); background: rgba(242, 192, 105, .08); }
.eyebrow { font: 400 12px var(--head); letter-spacing: .22em; color: var(--gold); margin: 0 0 6px; }

/* ---------- prose (rules, start, news posts) ---------- */
.prose { font-size: 16.5px; }
.prose h2 { margin-top: 1.4em; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border: 1px solid var(--rule-2); border-radius: var(--r); }

/* ---------- news ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { margin: 4px 0 4px; font-size: 20px; }
.news-item h3 a { color: var(--silver); }
.news-item h3 a:hover { color: var(--gold); }
.news-item p { margin: 0; color: var(--dim); }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--faint); }
.news-item.pinned { padding-left: 12px; border-left: 2px solid var(--gold); }

/* ---------- front page ---------- */
.factions-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; margin-bottom: 24px; border: 1px solid var(--rule-2); border-radius: var(--r); overflow: hidden; background: url("/static/classic/factions.jpg?v=2") center 30% / cover no-repeat; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.factions-art .side-card { display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 28px; }
.factions-art .slayer { background: linear-gradient(90deg, rgba(16, 20, 26, .85), rgba(16, 20, 26, .05)); }
.factions-art .vampire { background: linear-gradient(270deg, rgba(50, 8, 14, .85), rgba(50, 8, 14, .05)); text-align: right; align-items: flex-end; }
.factions-art h2 { font-size: 34px; margin: 0; letter-spacing: .12em; }
.factions-art .slayer h2 { color: var(--sky); }
.factions-art .vampire h2 { color: #ff8b93; }
.factions-art .motto { margin: 2px 0 8px; font: 400 12.5px var(--head); letter-spacing: .2em; color: var(--gold); }
.factions-art p { max-width: 360px; margin: 0; color: #ecebf6; text-shadow: 0 1px 6px #000; }

.warbanner { position: relative; min-height: 210px; margin-bottom: 24px; display: flex; align-items: flex-end; border: 1px solid var(--rule-2); border-radius: var(--r); overflow: hidden; background: url("/static/classic/race-war.jpg?v=2") center 40% / cover no-repeat; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.warbanner .wb-in { width: 100%; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; padding: 22px 24px; background: linear-gradient(180deg, transparent, rgba(10, 8, 8, .94) 60%); }
.warbanner h2 { margin: 0; font-size: 28px; color: #fff; }
.warbanner .wb-when { margin: 2px 0 0; color: var(--dim); }
.warbanner .wb-count { margin-left: auto; }
.countdown { display: inline-flex; gap: 8px; }
.countdown span { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 6px 6px 4px; background: rgba(8, 6, 6, .78); border: 1px solid rgba(242, 192, 105, .35); font: 400 24px var(--head); color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown small { font: 600 10px var(--sans); letter-spacing: .16em; color: var(--faint); text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px; }
.steps > div { margin: 0; padding: 20px; }
.steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; transform: rotate(45deg); border: 1px solid var(--gold); color: var(--gold); font-family: var(--head); }
.steps span { line-height: 1; }
.steps h3 { margin: 6px 0 6px; }
.steps p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---------- right column ---------- */
.col-side .tome { padding: 18px 18px 16px; }
.tome-h { font-size: 17px; letter-spacing: .14em; color: var(--gold); text-align: center; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.tome-who { text-align: center; font: 400 20px var(--head); margin: 0 0 12px; }
.tome-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.tome-form input { margin-bottom: 10px; }
.tome-small { margin: 10px 0 0; font-size: 13.5px; color: var(--dim); text-align: center; }
.tome-events { list-style: none; margin: 0; padding: 0; }
.tome-events li { padding: 9px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.tome-events li:last-child { border-bottom: 0; }
.te-name { font: 400 15px var(--head); color: var(--silver); letter-spacing: .05em; }
.te-state { font-size: 13.5px; color: var(--dim); }
.te-state b { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.tome-more { display: block; margin-top: 10px; text-align: right; font-size: 13.5px; }
.tome-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.tome-counts div { text-align: center; padding: 8px 4px; background: rgba(8, 6, 6, .5); border: 1px solid var(--rule); }
.tome-counts dt { font-size: 12px; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
.tome-counts dd { margin: 0; font: 400 22px var(--head); color: var(--silver); }
.tome-online { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.tome-online li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--rule); }
.tome-online li.vampire a { color: #ff8b93; }
.tome-online li.slayer a { color: #cfe2fb; }
.tome-online span { color: var(--faint); font-size: 13px; }

/* ---------- footer ---------- */
.base { margin-top: 56px; padding: 34px 20px 30px; text-align: center; background: linear-gradient(180deg, rgba(8, 6, 6, .4), rgba(8, 6, 6, .94)); border-top: 1px solid var(--rule-2); }
.base-mark { width: 72px; height: auto; opacity: .95; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .7)); }
.base-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin: 14px 0 16px; }
.base-links a { font: 400 14px var(--head); letter-spacing: .12em; color: var(--dim); }
.base-links a:hover { color: var(--gold); }
.base-fine { max-width: 780px; margin: 0 auto; font-size: 12.5px; color: var(--faint); }

/* ---------- pager, tabs, filters ---------- */
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pager a, .pager span { padding: 5px 11px; border: 1px solid var(--rule-2); border-radius: var(--r); font-size: 14px; }
.pager [aria-current] { background: rgba(242, 192, 105, .15); color: var(--gold); }
.guide-tabs, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.guide-tabs a, .filters a { padding: 7px 14px; border: 1px solid var(--rule-2); font: 400 13.5px var(--head); letter-spacing: .1em; color: var(--dim); background: rgba(8, 6, 6, .45); }
.guide-tabs a[aria-current], .filters a[aria-current], .guide-tabs a.here, .filters a.here { color: var(--night); background: var(--gold); border-color: var(--gold); }

/* ---------- small screens ---------- */
@media (max-width: 1020px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .col-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 20px; }
}
@media (max-width: 820px) {
  .crown { grid-template-columns: auto 1fr; }
  .crown-l, .crown-r { display: none; }
  .crown-mark img, .mast-home .crown-mark img { width: 180px; }
  .crown-menu { display: block; justify-self: end; position: relative; }
  .crown-menu summary { list-style: none; cursor: pointer; padding: 10px; display: grid; gap: 5px; }
  .crown-menu summary::-webkit-details-marker { display: none; }
  .crown-menu summary span { display: block; width: 26px; height: 2px; background: var(--silver); }
  .crown-drop { position: absolute; right: 0; top: 100%; z-index: 30; min-width: 200px; display: flex; flex-direction: column; background: var(--night-2); border: 1px solid var(--rule-2); padding: 8px; }
  .crown-drop a { padding: 9px 12px; font-family: var(--head); letter-spacing: .1em; }
  .steps { grid-template-columns: 1fr; }
  .factions-art { grid-template-columns: 1fr; }
  .factions-art .vampire { text-align: left; align-items: flex-start; }
  .framebtn { min-width: 0; height: 58px; padding: 0 34px; border-width: 0 42px; border-image-width: 0 42px; font-size: 16px; }
  .warbanner .wb-count { margin-left: 0; }
  .board, .panel, .wide-board { padding: 18px 16px; }
  table { font-size: 14px; }
}

/* ---------- character page: the game's gear window ---------- */
.charhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; padding: 18px 22px; border: 1px solid var(--rule-2); border-radius: var(--r); background: linear-gradient(90deg, rgba(40, 32, 30, .92), rgba(22, 18, 17, .6)); }
.charhead.vampire { background: linear-gradient(90deg, rgba(70, 14, 20, .9), rgba(22, 18, 17, .6)); }
.charhead h1 { margin: 0; }
.charhead .eyebrow { margin: 0; }
.ch-rank { width: 48px; height: 48px; image-rendering: pixelated; }
.ch-line { margin: 2px 0 0; color: var(--dim); }
.ch-line img { width: 22px; height: 22px; vertical-align: -5px; margin-right: 4px; image-rendering: pixelated; }
.ch-facts { margin: 0 0 0 auto; display: flex; gap: 10px; }
.ch-facts div { min-width: 74px; text-align: center; padding: 6px 10px; background: rgba(8, 6, 6, .55); border: 1px solid var(--rule); }
.ch-facts dt { font-size: 11.5px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.ch-facts dd { margin: 0; font: 400 24px var(--head); color: var(--gold); }

.charbody { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.gearwin, .statwin { position: relative; padding: 0 0 14px; border: 1px solid #6f6862; border-radius: 2px; background: linear-gradient(180deg, #2a2624, #171413); box-shadow: inset 0 0 0 1px #0a0808, inset 0 0 0 3px #4a4440, 0 16px 40px rgba(0, 0, 0, .6); }
.gearwin.vampire { border-color: #86505c; box-shadow: inset 0 0 0 1px #12070b, inset 0 0 0 3px #5a2e38, 0 16px 40px rgba(0, 0, 0, .6); }
.gw-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; padding: 9px 14px; background: linear-gradient(180deg, #45403c, #2b2725); border-bottom: 1px solid #0a0808; font: 400 15px var(--head); letter-spacing: .14em; color: var(--silver); }
.gearwin.vampire .gw-title { background: linear-gradient(180deg, #5d2a36, #3a1a24); }
.statwin .gw-title { margin-top: 12px; }
.statwin .gw-title:first-child { margin-top: 0; }
.gw-title small { font: 400 12px var(--sans); letter-spacing: .02em; color: var(--faint); }
.gw-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 16px 14px 6px; }
.gw-col { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.gw-quad { display: grid; grid-template-columns: repeat(2, 54px); gap: 6px; }
.gw-mid { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 100%; }
.gw-figure { flex: 1; width: 100%; min-height: 220px; opacity: .55; background: url("/static/classic/emblem.png") center 30% / 70% no-repeat; filter: grayscale(.3) drop-shadow(0 0 30px rgba(216, 65, 76, .2)); }
.gw-figure.vampire { filter: hue-rotate(-20deg) saturate(1.3) drop-shadow(0 0 30px rgba(232, 80, 93, .3)); }
.gw-hands { display: flex; gap: 12px; }

.gs { position: relative; width: 54px; height: 54px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2c2826, #110f0e); border: 1px solid #5e5752; box-shadow: inset 0 0 0 1px #070505, inset 0 2px 8px rgba(0, 0, 0, .7); outline: none; }
.gs.big { width: 70px; height: 96px; }
.gs img { max-width: 92%; max-height: 92%; image-rendering: pixelated; }
.gs.on { cursor: help; }
.gs.on.option { border-color: #4f7fe0; box-shadow: inset 0 0 0 1px #070505, inset 0 0 14px rgba(79, 127, 224, .35); }
.gs.on.rare { border-color: #e2b24c; box-shadow: inset 0 0 0 1px #070505, inset 0 0 14px rgba(226, 178, 76, .35); }
.gs.on:hover, .gs.on:focus { border-color: var(--gold); }
.gs-empty { font-size: 9.5px; line-height: 1.1; text-align: center; color: #635a54; padding: 2px; text-transform: uppercase; letter-spacing: .04em; }
.gs-plus { position: absolute; right: 2px; bottom: 0; font: 700 11px var(--sans); color: #ffe08a; font-style: normal; text-shadow: 0 0 3px #000, 0 0 3px #000; }

/* the item box, as in the game: black glass, white name (blue with a bonus, gold with two) */
.ibox { position: absolute; z-index: 40; left: calc(100% + 10px); top: -4px; width: 230px; display: none; flex-direction: column; gap: 1px; padding: 9px 11px; background: rgba(4, 3, 3, .95); border: 1px solid #8c837b; box-shadow: 0 10px 30px rgba(0, 0, 0, .7); font-size: 13.5px; line-height: 1.45; color: #ddd6cc; text-align: left; pointer-events: none; }
.gw-col:last-child .ibox { left: auto; right: calc(100% + 10px); }
.gs:hover .ibox, .gs:focus .ibox { display: flex; }
.ib-name { font: 700 14.5px var(--sans); color: #fff; }
.ib-name.option { color: #7aa8ff; }
.ib-name.rare { color: #ffd36b; }
.ib-kind { color: #9a9088; font-size: 12.5px; margin-bottom: 4px; }
.ibox i { font-style: normal; color: #fff; }
.ib-opt { color: #7aa8ff; font-weight: 600; }
.ib-req { color: #e98a8f; font-size: 12.5px; }
.gw-legend { display: flex; gap: 16px; justify-content: center; margin: 6px 0 0; font-size: 12.5px; color: var(--faint); }
.gw-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border: 1px solid #5e5752; vertical-align: -1px; }
.gw-legend .option::before { border-color: #4f7fe0; background: rgba(79, 127, 224, .35); }
.gw-legend .rare::before { border-color: #e2b24c; background: rgba(226, 178, 76, .35); }

.sw-abil { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 12px 14px 0; }
.sw-abil div { padding: 7px 8px; background: #110f0e; border: 1px solid #3d3835; text-align: center; }
.sw-abil dt { font-size: 11.5px; letter-spacing: .12em; color: #9a9088; text-transform: uppercase; }
.sw-abil dd { margin: 0; font: 400 20px var(--head); color: #fff; }
.sw-dom { list-style: none; margin: 0; padding: 10px 14px 0; }
.sw-dom li { display: grid; grid-template-columns: 78px 1fr 40px; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; color: var(--dim); }
.sw-dom i { height: 9px; background: #0c0a0a; border: 1px solid #3d3835; position: relative; }
.sw-dom i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: linear-gradient(90deg, #3f5f9e, #7fa3e6); }
.vampire .sw-dom i::after, .statwin .sw-dom li.top i::after { background: linear-gradient(90deg, #b9283a, #ff7a84); }
.sw-dom b { font: 400 16px var(--head); color: #fff; text-align: right; }
.sw-dom li.top span { color: var(--gold); }
.sw-rows { list-style: none; margin: 0; padding: 8px 14px 0; font-size: 14.5px; }
.sw-rows li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #2b2725; }
.sw-rows span { color: var(--dim); }
.sw-rows b { color: #fff; font-weight: 600; }
.statwin .hint { padding: 6px 14px 0; margin: 0; }

@media (max-width: 1100px) { .charbody { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .gw-grid { grid-template-columns: 1fr; justify-items: center; }
  .gw-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .gw-figure { min-height: 90px; }
  .ibox { left: 50% !important; right: auto !important; top: calc(100% + 6px); transform: translateX(-50%); }
  .ch-facts { margin-left: 0; }
}

/* ---------- info pages ---------- */
.lede { font: 400 18px/1.55 var(--serif); color: #dcd8ef; max-width: 760px; margin-bottom: 22px; }
.steps-list { margin: 0; padding-left: 1.3em; }
.steps-list li { margin-bottom: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 4px 0 4px 22px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.dl-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0 12px; }
details.sums summary { cursor: pointer; color: var(--gold); margin-top: 10px; }
code { font: 13.5px Consolas, "Courier New", monospace; background: rgba(8, 6, 6, .65); padding: 1px 6px; border: 1px solid var(--rule); border-radius: 2px; overflow-wrap: anywhere; }


/* ---------- refinements (owner: "go through everything again") ---------- */
nav ul, ul.tabs, ul.plain-list { list-style: none; margin: 0; padding: 0; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #0d0b0b inset; box-shadow: 0 0 0 1000px #0d0b0b inset; transition: background-color 9999s;
}
a.board, a.card, a.panel { color: inherit; text-decoration: none; display: block; }
a.board:hover, a.card:hover { border-color: var(--gold); text-decoration: none; }
::placeholder { color: #6f655c; }
.col-main > h1:first-child, .col-main > .eyebrow + h1 { margin-top: 0; }
.col-main > section:last-child, .col-main > div:last-child { margin-bottom: 0; }

/* ---------- page heads, rankings ---------- */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.pagehead h1 { margin: 0; }
.pagehead .eyebrow { margin-bottom: 4px; }
.pagenote { color: var(--dim); font-size: 15px; max-width: 760px; margin: 6px 0 22px; }
.findbar { display: flex; gap: 8px; align-items: center; }
.findbar input { width: 240px; }
.findbar .clear { font-size: 14px; }
.rankboard > header { align-items: center; }
.rb-crest { width: 34px; height: 34px; image-rendering: pixelated; opacity: .9; }
.rankboard.vampire > header h2 { color: #ff8b93; }
.rankboard.slayer > header h2 { color: var(--sky); }
.rank-table tbody tr { cursor: pointer; }
.rank-table td.place span { display: inline-grid; place-items: center; width: 26px; height: 26px; font: 400 15px var(--head); color: var(--dim); }
.rank-table tr.top1 td.place span { color: #1a1206; background: radial-gradient(circle at 35% 30%, #ffe7a6, #c9932f); border-radius: 50%; }
.rank-table tr.top2 td.place span { color: #111; background: radial-gradient(circle at 35% 30%, #ffffff, #9ea3ad); border-radius: 50%; }
.rank-table tr.top3 td.place span { color: #1a0d05; background: radial-gradient(circle at 35% 30%, #f3c19a, #a8673a); border-radius: 50%; }
.rank-table td.c, .rank-table th.c { text-align: center; }
.rank-table .rk { image-rendering: pixelated; vertical-align: middle; }
.rank-table td.cls { white-space: nowrap; color: var(--dim); }
.side-s { color: var(--sky); }
.section-h { margin: 8px 0 14px; font-size: 22px; }
.domain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.domain-grid .board { margin: 0; padding: 16px 16px 12px; }
.dm-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.dm-h img { width: 30px; height: 30px; image-rendering: pixelated; }
.dm-h h3 { margin: 0; font-size: 17px; color: var(--gold); }
.dm-list { margin: 0; padding: 0 0 0 1.3em; font-size: 14.5px; }
.dm-list li { padding: 3px 0; }
.dm-list li::marker { color: var(--faint); font-family: var(--head); }
.dm-list li a { color: var(--ink); }
.dm-list li b { float: right; font: 400 15px var(--head); color: var(--silver); }
.pager .gap { border: 0; }
.domain-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.domain-grid .board > header.dm-h { justify-content: flex-start; align-items: center; }
.dl-hero { display: grid; grid-template-columns: 240px 1fr; gap: 22px; align-items: center; padding: 0; overflow: hidden; }
.dl-art { align-self: stretch; min-height: 210px; background: url("/static/classic/poster.jpg?v=2") center 18% / cover no-repeat; border-right: 1px solid var(--rule-2); }
.dl-body { padding: 22px 24px 18px 0; }
.dl-body h2 { margin-bottom: 2px; }
@media (max-width: 680px) { .dl-hero { grid-template-columns: 1fr; } .dl-art { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--rule-2); } .dl-body { padding: 18px; } }

/* ---------- account page, guild pages: the head with fact tiles; fold-outs ---------- */
.account-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.account-head h1 { margin: 0; }
.account-head .eyebrow { margin-bottom: 4px; }
dl.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
dl.facts > div { min-width: 104px; padding: 8px 12px; text-align: center; background: rgba(8, 6, 6, .55); border: 1px solid var(--rule); border-radius: var(--r); }
dl.facts dt { font-size: 11.5px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
dl.facts dd { margin: 2px 0 0; font: 400 17px var(--head); color: var(--silver); }
dl.facts dd .tag { font-size: 11px; }
.tag.live { color: var(--green); border-color: rgba(134, 201, 154, .45); background: rgba(134, 201, 154, .08); }
.tag.pin { color: var(--crimson-2); border-color: rgba(216, 65, 76, .5); background: rgba(216, 65, 76, .1); }
details > summary { cursor: pointer; list-style: none; padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--silver); font-weight: 600; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: "+"; display: inline-block; width: 18px; color: var(--gold); font-family: var(--head); }
details[open] > summary::before { content: "−"; }
details > summary .set, details > summary .unset { margin-left: 8px; font: 400 12px var(--sans); color: var(--faint); }
details .tool-body { padding: 12px 0 6px; }
.big-number { font: 400 32px var(--head); color: var(--gold); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
@media (max-width: 820px) {
  .crown { grid-template-columns: 1fr auto; padding-top: 10px; }
  .crown .crown-l, .crown .crown-r { display: none; }
  .crown-mark { justify-self: start; }
  .mast-crumb { padding-top: 22px; }
  .mast-copy { padding-top: 26px; }
  .mast-chips li { font-size: 13px; padding: 6px 11px; }
  .pagehead { align-items: flex-start; }
  .findbar { width: 100%; }
  .findbar input { flex: 1; width: auto; }
}
.crown-menu > summary { border-bottom: 0; padding: 10px; }
.crown-menu > summary::before { content: none; }

/* ---------- front page: creatures of the night (the game's loading-screen art) ---------- */
.creatures { margin: 0 0 24px; }
.cr-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.cr-h h2 { margin: 0; }
.cr-h a { font-size: 14px; }
.cr-row { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 12px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent; }
.cr-card { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 200px; padding: 8px 6px 10px;
  border: 1px solid var(--rule-2); border-radius: var(--r); text-decoration: none !important;
  background: radial-gradient(120px 140px at 50% 40%, rgba(150, 20, 30, .28), transparent 70%), linear-gradient(180deg, #1c1715, #0d0b0a);
  transition: transform .15s, border-color .15s, box-shadow .15s; overflow: hidden; }
.cr-card img { position: absolute; left: 50%; bottom: 46px; transform: translateX(-50%); max-height: 140px; max-width: 120px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .8)); transition: transform .2s; }
.cr-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 10px 26px rgba(0, 0, 0, .6), 0 0 18px rgba(216, 65, 76, .25); }
.cr-card:hover img { transform: translateX(-50%) scale(1.06); }
.cr-name { position: relative; font: 400 14px var(--head); color: var(--silver); text-align: center; line-height: 1.15; }
.cr-lv { position: relative; font-size: 12px; color: var(--faint); }

/* ---------- HD comparison slider ---------- */
.hdcmp { margin: 0 0 24px; }
.hdcmp-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.hdcmp-h h2 { margin: 0; }
.hdcmp-h p { margin: 2px 0 0; color: var(--dim); font-size: 14.5px; }
.hdcmp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hdcmp-tabs button { cursor: pointer; padding: 6px 12px; font: 400 13px var(--head); letter-spacing: .08em; color: var(--dim); background: rgba(8, 6, 6, .5); border: 1px solid var(--rule-2); border-radius: 2px; }
.hdcmp-tabs button[aria-pressed="true"] { color: #140e06; background: var(--gold); border-color: var(--gold); }
.cmpbox { --cut: 50%; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--rule-2); border-radius: var(--r); cursor: ew-resize; user-select: none; touch-action: pan-y; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); background: #000; }
.cmpbox img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; image-rendering: auto; }
.cmpbox .cmp-hd { clip-path: inset(0 0 0 var(--cut)); }
.cmpbox::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: var(--gold); box-shadow: 0 0 10px rgba(207, 162, 85, .8); pointer-events: none; }
.cmp-knob { position: absolute; top: 50%; left: var(--cut); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f1d79b, #a8792f); border: 2px solid #1a1206; box-shadow: 0 4px 14px rgba(0, 0, 0, .7); pointer-events: none; z-index: 2; }
.cmp-knob::before, .cmp-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.cmp-knob::before { left: 6px; border-right-color: #1a1206; }
.cmp-knob::after { right: 6px; border-left-color: #1a1206; }
.cmp-tag { position: absolute; top: 12px; padding: 4px 10px; font: 400 12.5px var(--head); letter-spacing: .14em; color: #fff; background: rgba(8, 6, 6, .7); border: 1px solid var(--rule-2); pointer-events: none; z-index: 2; }
.cmp-tag.l { left: 12px; }
.cmp-tag.r { right: 12px; color: var(--gold); border-color: rgba(207, 162, 85, .6); }
.cmpbox:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hdcmp figcaption { margin-top: 8px; font-size: 14px; color: var(--dim); }

/* ---------- KOREAN (21 Nov 2026): the language switch, and Hangul fonts ---------- */
.crown { position: relative; }
.langsw { position: absolute; top: 8px; right: 20px; z-index: 31; margin: 0; display: flex; align-items: center; gap: 7px;
  font: 400 12.5px var(--sans); color: rgba(228, 222, 212, .45); text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.crown .langsw a { font: 400 12.5px var(--sans); letter-spacing: .08em; color: var(--dim); padding: 2px 0; }
.crown .langsw a::after { bottom: -1px; }
.crown .langsw a[aria-current] { color: var(--gold); }
.crown .langsw a[aria-current]::after { left: 0; right: 0; }
.langsw a[lang="ko"] { font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif !important; letter-spacing: 0 !important; }
@media (max-width: 820px) {
  .langsw { top: 6px; right: 16px; }
}
/* Marcellus SC and Source Sans 3 have no Hangul: Noto Serif KR for headings, Noto Sans KR for text
   (base.html loads them on Korean pages only), Malgun Gothic where they have not loaded. The wide
   letter-spacing and the small capitals are for Latin letters; Korean words keep together. */
.lang-ko {
  --head: "Noto Serif KR", "Malgun Gothic", "Apple SD Gothic Neo", serif;
  --serif: "Noto Serif KR", "Malgun Gothic", "Apple SD Gothic Neo", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
}
.lang-ko, .lang-ko *, .lang-ko *::before, .lang-ko *::after { letter-spacing: 0 !important; font-variant-caps: normal; }
.lang-ko h1, .lang-ko h2, .lang-ko h3, .lang-ko h4, .lang-ko .mast-title { font-weight: 500; }
.lang-ko .crown a { font-size: 15px; }
.lang-ko .countdown small, .lang-ko .tome-counts dt, .lang-ko .ch-facts dt, .lang-ko .sw-abil dt, .lang-ko dl.facts dt { text-transform: none; }
/* a wide table (guilds, guild members, reports) scrolls inside its board on a phone instead of widening the page */
.tscroll { overflow-x: auto; }
