:root {
  --bg: #0b1017;
  --surface: #141c26;
  --surface-2: #1c2734;
  --border: #324356;
  --text: #f1ead9;
  --muted: #a9b2bc;
  --gold: #e6b75a;
  --gold-dim: #a8803a;
  --danger: #d9534f;
  --sky: #2d3f51;
  --frame: #000;
  --overlay: rgba(5, 8, 12, .94);
  --radius: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top, var(--sky) 0%, var(--bg) 60%) fixed;
  color: var(--text);
  font: 16px/1.6 var(--font);
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 2rem; color: var(--gold); }

.wrap { width: min(1100px, 100% - 2rem); margin-inline: auto; }
main { flex: 1; padding-block: 2rem; }
main > section { margin-bottom: 2.5rem; }

/* Header & footer */
.site-header {
  background: rgba(11, 16, 23, .88);
  border-bottom: 1px solid var(--frame);
  box-shadow: 0 1px 0 var(--gold-dim);
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
nav a { color: var(--text); padding-block: .25rem; border-bottom: 2px solid transparent; }
nav a:hover { text-decoration: none; color: var(--gold); }
nav a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
/* The Discord invite sits last in the bar as a small gold-outlined button. */
nav a.nav-discord { color: var(--gold); padding: .25rem .75rem; border: 1px solid var(--gold-dim); border-radius: 6px; }
nav a.nav-discord:hover { border-color: var(--gold); background: var(--surface-2); }
/* The Guild menu: a <details> whose links drop down below "Guild", so it
   works without JavaScript. It closes when a link loads the next page. */
.nav-menu { position: relative; }
.nav-menu summary { cursor: pointer; list-style: none; padding-block: .25rem; border-bottom: 2px solid transparent; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: " ▾"; font-size: .8em; color: var(--muted); }
.nav-menu summary:hover, .nav-menu[open] summary { color: var(--gold); }
.nav-menu summary.current { color: var(--gold); border-color: var(--gold); }
.nav-submenu {
  position: absolute;
  top: calc(100% + .5rem);
  left: -1rem;
  min-width: 10rem;
  display: grid;
  padding: .4rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--frame), 0 6px 18px rgba(0, 0, 0, .35);
  z-index: 20;
}
.nav-submenu a { padding: .45rem 1rem; border-bottom: 0; }
.nav-submenu a:hover { background: var(--surface-2); }

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; }
.footer-inner form { display: flex; gap: .75rem; align-items: center; margin: 0; }

/* Content blocks */
/* Kept compact so the scrapbook and news show without scrolling. */
.hero { text-align: center; padding: 0 0 1.25rem; }
.hero h1 { margin: 0; line-height: 0; }
.hero p { margin: .25rem 0 0; }
/* The logo's black frame vanishes on a dark page, so a slate glow lifts it off. */
.hero-logo { width: min(100%, 320px); height: auto; filter: drop-shadow(0 0 28px var(--sky)); }
.hero p, .lede { color: var(--muted); }
.lede { margin-top: -.25rem; margin-bottom: 1.5rem; }
/* The lede with a button beside it. The margin goes on the row, or the
   button, centred against the lede's margin, hangs into what follows. */
.page-intro { margin: -.25rem 0 1.5rem; }
.page-intro .lede { margin: 0; }

.section-title { border-bottom: 1px solid var(--border); padding-bottom: .4rem; margin-bottom: 1rem; }
.section-title a { color: var(--text); }

.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  /* A black outer edge, like the frame around the logo. */
  box-shadow: 0 0 0 1px var(--frame), 0 6px 18px rgba(0, 0, 0, .35);
}
.card h3 a { color: var(--text); }
.meta { color: var(--muted); font-size: .875rem; margin: 0; }
.empty { color: var(--muted); font-style: italic; }

.prose { margin-top: 1rem; }
.prose img { max-width: 100%; border-radius: 6px; }
.prose blockquote { border-left: 3px solid var(--gold-dim); margin-left: 0; padding-left: 1rem; color: var(--muted); }
.prose code { background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }
/* A column, so Edit and Delete sit at the foot of every card in a row. */
.video { padding: 0; overflow: hidden; margin: 0; display: flex; flex-direction: column; }
.video-body { padding: .9rem 1.25rem 1rem; flex: 1; display: flex; flex-direction: column; }
.video-body h3 a { color: var(--text); }
.video-body h3 a:hover { color: var(--gold); text-decoration: none; }
.video-body .tag-list { margin-top: .6rem; }
.video-body .item-actions { margin-top: auto; padding-top: .75rem; }
.untitled, .video-body .untitled a { color: var(--muted); font-style: italic; font-weight: 400; }
.prose.small { font-size: .9rem; color: var(--muted); margin-top: .5rem; overflow-wrap: anywhere; }
.prose.small p { margin: .4rem 0; }
/* Long log links take one line each, cut short; hovering shows the whole URL. */
.prose.small a { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
/* A card shows the start of a description; the viewer shows the rest. */
.excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.excerpt p { margin: 0; }
.frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
/* Players and previews are pinned to the 16:9 box rather than sized by the
   clip, so a tall or very large upload can't stretch the card. */
.frame iframe, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
/* A card's preview: the clip's first frame or the site's thumbnail, with a
   play button. The whole frame is the link. */
.video-thumb { display: block; }
.video-thumb video { pointer-events: none; transition: transform .2s; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.video-thumb:hover img, .video-thumb:hover video { transform: scale(1.02); }
.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 3.75rem;
  height: 3.75rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--overlay);
  border: 2px solid var(--gold-dim);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
  transition: border-color .2s, scale .2s;
}
/* The triangle, nudged right so it looks centred. */
.play-badge::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: .7rem 0 .7rem 1.15rem;
  border-color: transparent transparent transparent var(--gold);
}
.video-thumb:hover .play-badge, .video-thumb:focus-visible .play-badge { border-color: var(--gold); scale: 1.08; }
.thumb-source { position: absolute; left: .75rem; bottom: .6rem; font-size: .8rem; color: var(--muted); }

/* Video viewer (/scrapbook/videos/{id}): the player as large as fits one
   screen, then the details. */
/* Two classes, to beat .viewer-stage's fixed height further down. */
.viewer-stage.video-stage {
  height: auto;
  aspect-ratio: 16 / 9;
  /* Short enough that the title and Download show below it on one screen. */
  width: min(100%, calc((100vh - 20rem) * 16 / 9));
  min-width: min(100%, 320px);
  justify-self: center;
  background: #000;
}
.video-stage video, .video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: contain; }
.video-details { margin: .25rem 0 0; }
.video-details h2 { margin: 0; }
.video-details .meta { margin-top: .35rem; }
.video-details .tag-list { margin-top: .6rem; }
.video-details .prose { overflow-wrap: anywhere; }
.video-links { display: flex; gap: .5rem; flex-wrap: wrap; }
/* Home: the newest video and picture side by side, the picture cropped to
   the video's 16:9 frame. The viewer shows it whole. */
.media-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; align-items: start; }
/* Descriptions stay on the scrapbook, so both cards are the same height. */
.media-pair .prose.small { display: none; }
/* Tags would make the cards different heights too. */
.media-pair .tag-list { display: none; }
.photo-frame { display: block; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Tabs */
.tabs { display: flex; gap: .5rem; border-bottom: 1px solid var(--border); margin: 1rem 0 1.5rem; }
.tabs a { padding: .5rem 1rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }

/* Photos */
/* A grid, not columns, so pictures read left to right in their set order. */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; align-items: start; }
.photo-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
/* Every thumbnail is the same 4:3 box, cropped to fill; the viewer shows the whole picture. */
.photo-grid figure > a { display: block; overflow: hidden; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.photo-grid figure > a:hover img { transform: scale(1.02); }
.photo-grid figcaption { display: grid; gap: .35rem; padding: .5rem .75rem; font-size: .9rem; color: var(--muted); }
.photo-caption { color: var(--text); }

/* Tags: small pills. The bar above the grid shows one tag's pictures. */
.tag-list { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.tag {
  display: inline-block;
  padding: .1rem .55rem;
  font-size: .8rem;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.tag:hover { color: var(--text); border-color: var(--gold-dim); text-decoration: none; }
.tag[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.tag .count { color: var(--muted); font-size: .75rem; }
.tag-filter { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: start; margin: -.5rem 0 1.25rem; }
.tag-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-bar .tag { font-size: .875rem; padding: .2rem .7rem; }
.tag-search { display: flex; gap: .5rem; }
.tag-search input { width: 14rem; min-width: 0; }
/* Matches appear under the bar, across the full width. */
#tag-results { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
#tag-results:empty { display: none; }
#tag-results .empty { margin: 0; }
@media (max-width: 640px) {
  .tag-filter { grid-template-columns: 1fr; }
  .tag-search input { flex: 1; width: auto; }
}

/* Picture viewer (/scrapbook/pictures/{id}): one picture at a time. */
.viewer { display: grid; gap: .75rem; }
/* Every picture gets the same large frame, scaled to fit inside it. */
.viewer-stage {
  position: relative;
  margin: 0;
  /* Leaves room for the header, back link and buttons on one screen. */
  height: clamp(320px, calc(100vh - 15rem), 760px);
  background: var(--overlay);
  border: 1px solid var(--frame);
  border-radius: var(--radius);
  overflow: hidden;
}
.viewer-image { display: block; width: 100%; height: 100%; object-fit: contain; }
/* The caption sits along the bottom of the frame, over a dark fade. */
.viewer-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem .9rem;
  background: linear-gradient(transparent, var(--overlay));
  text-align: center;
  font-size: 1.1rem;
}
.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: .1rem .8rem .4rem;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--overlay);
}
.viewer-nav:hover { text-decoration: none; color: var(--gold); border-color: var(--gold-dim); }
.viewer-nav.prev { left: .75rem; }
.viewer-nav.next { right: .75rem; }
.viewer-controls { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: center; }

/* Forms */
.form { display: grid; gap: 1rem; }
.form.narrow { max-width: 420px; margin-inline: auto; }
label { display: grid; gap: .35rem; font-weight: 600; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .55rem .7rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-dim); border-color: transparent; }
textarea { resize: vertical; font-family: ui-monospace, monospace; font-size: .95rem; }

button, .button {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--gold-dim);
  background: linear-gradient(var(--gold), var(--gold-dim));
  color: #10161e;
  justify-self: start;
}
.button:hover { text-decoration: none; filter: brightness(1.08); }
button:hover { filter: brightness(1.08); }
button.link { background: none; border: 0; padding: 0; color: var(--gold); font-weight: 400; }
button.danger { background: none; color: var(--danger); border-color: var(--danger); padding: .2rem .6rem; font-size: .85rem; }
.actions { display: flex; gap: 1rem; align-items: center; }

.alert {
  background: rgba(217, 83, 79, .12);
  border: 1px solid var(--danger);
  border-radius: var(--radius);
  padding: .75rem 1rem;
}

/* Admin */
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-list { list-style: none; padding: 0; margin: .5rem 0 1.5rem; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.admin-list li > span:last-child { display: flex; gap: .75rem; align-items: center; }
.admin-thumbs { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.admin-thumbs li { display: grid; gap: .4rem; }
.admin-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.admin-thumbs button { justify-self: stretch; }
.admin-thumbs a, .admin-thumbs .meta { font-size: .9rem; text-align: center; margin: 0; }
/* Officer controls on scrapbook videos and pictures. */
.item-actions { display: flex; gap: .75rem; align-items: center; margin-top: .75rem; font-size: .9rem; }
.photo-grid .item-actions { margin: 0; padding: .5rem .75rem .6rem; }
.photo-grid figcaption + .item-actions { padding-top: 0; }
.form-preview { max-width: 100%; max-height: 360px; justify-self: start; border-radius: 6px; border: 1px solid var(--border); }

/* Raiding and Mythic+ */
.current-raid a { display: inline-block; margin-top: .5rem; padding: .35rem .9rem; border: 1px solid var(--gold-dim); border-radius: 999px; color: var(--text); }
.current-raid a:hover { text-decoration: none; border-color: var(--gold); }
.current-raid strong { color: var(--gold); margin-left: .35rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
/* Retail: large links to the Raiding and Mythic+ pages. */
.jump-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.jump-link { margin: 0; display: grid; gap: .3rem; color: var(--text); border-color: var(--gold-dim); }
.jump-link:hover { text-decoration: none; border-color: var(--gold); background: var(--surface-2); }
.jump-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--gold); }
.jump-title::after { content: " →"; }
.button.ghost { background: none; color: var(--gold); }
/* Forever: profile buttons and link cards with nowhere to go yet. */
.button.disabled, .jump-link.disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.6); }
.button.disabled:hover { filter: grayscale(.6); }
.jump-link.disabled:hover { border-color: var(--gold-dim); background: var(--surface); }
.jump-link.disabled .jump-title::after { content: ""; }
.source { font-family: var(--font); font-size: .8rem; font-weight: 400; color: var(--muted); margin-left: .5rem; }
.source:hover { color: var(--gold); }
.attribution { margin-top: 2rem; }

/* Timeline: a vertical line with a marker per season, newest at the top. */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; border-left: 2px solid var(--border); }
.season { position: relative; padding-bottom: 3.5rem; }
.season:last-child { padding-bottom: .5rem; }
.season::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 8px);
  top: .55rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
}
.season.current::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(230, 183, 90, .18); }
.season-head { margin-bottom: 1.25rem; }
.season-head h2 { font-size: 1.6rem; margin: 0; }
.season.current .season-head h2 { color: var(--gold); }
.eyebrow { margin: 0; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: .5rem;
  padding: .1rem .55rem;
  border-radius: 999px;
  font: 600 .7rem var(--font);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #10161e;
  background: var(--gold);
}

.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .75rem; margin: 0 0 1.25rem; }
.stat-tiles div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem .9rem; }
.stat-tiles dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.stat-tiles dd { margin: .15rem 0 0; font: 600 1.35rem var(--serif); color: var(--text); font-variant-numeric: tabular-nums; }
.stat-tiles dd.detail { font: .75rem var(--font); color: var(--muted); margin: 0; }

.raid-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.raid-head h3 { margin: 0; }
.raid-head .summary { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--gold); margin: 0; white-space: nowrap; }
.difficulties { display: grid; gap: .5rem; }
.difficulty-row { display: grid; grid-template-columns: 4.5rem minmax(80px, 200px) 3rem 1fr; align-items: center; gap: .75rem; font-size: .9rem; }
.difficulty { font-weight: 600; }
.kills-count { font-variant-numeric: tabular-nums; }
.difficulty-detail { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
meter { width: 100%; height: .6rem; }
meter::-webkit-meter-bar { background: var(--surface-2); border: 0; border-radius: 999px; }
meter::-webkit-meter-optimum-value { background: var(--gold); border-radius: 999px; }
meter::-moz-meter-bar { background: var(--gold); border-radius: 999px; }
@media (max-width: 640px) {
  .difficulty-row { grid-template-columns: 4rem 1fr 3rem; }
  .difficulty-detail { grid-column: 1 / -1; }
}

.bosses { margin-top: 1rem; }
.bosses summary { cursor: pointer; color: var(--gold); font-size: .9rem; }
.bosses table { margin-top: .75rem; }
.killed { color: var(--text); }
.not-killed { color: var(--border); }
.season-videos, .season-logs { margin-top: 1.25rem; }
.season-videos h3, .season-logs h3 { font-size: 1.1rem; }
.season-videos ul { margin: 0; padding-left: 1.2rem; }

table.data { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.data th, .data td { text-align: left; padding: .55rem .9rem; border-bottom: 1px solid var(--border); }
.data th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.data tr:last-child td { border-bottom: 0; }
.data .num { text-align: right; font-variant-numeric: tabular-nums; }
.data td[title] { cursor: help; }
.runners .rank { color: var(--muted); width: 2.5rem; }
.runners td:nth-child(2) a { font-weight: 600; }
/* Name search above each season's table, and page links below it. */
.runner-search { display: flex; gap: .5rem; margin-bottom: .75rem; }
.runner-search input { flex: 0 1 260px; min-width: 0; }
.table-foot { margin-top: .6rem; }
.pagination { display: flex; flex-wrap: wrap; gap: .3rem; }
.pagination a, .pagination span {
  min-width: 2.1rem;
  padding: .2rem .5rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}
.pagination a:hover { text-decoration: none; border-color: var(--gold-dim); }
.pagination [aria-current] { background: var(--gold); border-color: var(--gold); color: #10161e; font-weight: 600; }
.pagination .gap { border-color: transparent; background: none; color: var(--muted); }
@media (max-width: 720px) {
  .runners th:nth-child(3), .runners td:nth-child(3),
  .runners th:nth-child(6), .runners td:nth-child(6) { display: none; }
}
/* Phones: tighter cells and a narrower timeline so tables fit without the
   whole page scrolling sideways. */
@media (max-width: 640px) {
  .timeline { padding-left: 1.25rem; }
  .season::before { left: calc(-1.25rem - 8px); }
  .card.raid { padding: 1rem; }
  .data th, .data td { padding: .45rem .5rem; }
  .data th { letter-spacing: .02em; }
}

/* WoW class colours */
.class-death-knight { color: #c41e3a; }
.class-demon-hunter { color: #a330c9; }
.class-druid { color: #ff7c0a; }
.class-evoker { color: #33937f; }
.class-hunter { color: #aad372; }
.class-mage { color: #3fc7eb; }
.class-monk { color: #00ff98; }
.class-paladin { color: #f48cba; }
.class-priest { color: #ffffff; }
.class-rogue { color: #fff468; }
.class-shaman { color: #2b8fff; }
.class-warlock { color: #8788ee; }
.class-warrior { color: #c69b6d; }

/* Retail (guild status) */
.status { align-items: start; }
.status-card { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.status-card .section-title { margin-bottom: 0; }
.status-card .more { margin-top: auto; }
.status-card .raid-head { margin-bottom: 0; }
.raid-head .summary .unit { font-family: var(--font); font-size: .85rem; color: var(--muted); margin-left: .15rem; }
.facts { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.difficulty-row.compact { grid-template-columns: 4.5rem 1fr 3rem; }
.boss-list { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.boss-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--border); }
.boss-list li:last-child { border-bottom: 0; }
.pips { display: flex; gap: .3rem; flex-shrink: 0; }
.pip {
  display: inline-grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: .7rem;
  font-weight: 700;
  color: var(--border);
  cursor: help;
}
.pip.killed { background: var(--gold); border-color: var(--gold); color: #10161e; }
.top-score { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; color: var(--muted); }
.top-score .score { font: 600 2.5rem/1 var(--serif); color: var(--gold); font-variant-numeric: tabular-nums; }
.top-score a { font-weight: 600; }
.status-runners .rank { color: var(--muted); width: 2rem; }
.status-runners td:nth-child(2) a { font-weight: 600; }
.row-between.section-title h2 { margin: 0; }

/* Rules */
/* The card's gap spaces its paragraphs, so their own margins would double it. */
.rules p { margin: 0; }
