/* The Lair on the web: flat, dark and dense, in the launch board's family.
   Hairline borders, system type, colour only where it means something. The
   game shows through its own things: item and spell icons, class colours,
   role marks, quality colours, dungeon scenes and the zone paintings. */
:root {
  --bg: #0d0d0f;
  --bg-2: #131316;
  --bg-3: #1a1a1f;
  --line: #27272d;
  --line-2: #35353d;
  --text: #e8e6e0;
  --muted: #8f8c84;
  --dim: #5b5954;
  --accent: #e5b53f;
  --gold: #ffd100;
  --green: #5fd36b;
  --red: #ef6b5e;
  --blue: #5aa0f0;
  --alliance: #4a8ae8;
  --horde: #e0493a;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --pad: 28px;
  --wrap: 1920px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-2) var(--bg); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 18px/1.45 var(--sans); font-variant-numeric: tabular-nums; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); font-size: .92em; }
.grow { flex: 1; min-width: 0; }
.clip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.right { text-align: right; }
.noscript { padding: 40px; text-align: center; }

/* Class colours, as the game shows names. */
.c-warrior { color: #c79c6e; } .c-paladin { color: #f58cba; } .c-hunter { color: #abd473; }
.c-rogue { color: #fff569; } .c-priest { color: #ffffff; } .c-shaman { color: #3c8dff; }
.c-mage { color: #69ccf0; } .c-warlock { color: #9482c9; } .c-druid { color: #ff7d0a; }
/* Item quality. */
.q0 { color: #9d9d9d; } .q1 { color: #ffffff; } .q2 { color: #1eff00; } .q3 { color: #3d9bff; } .q4 { color: #b05cf5; } .q5 { color: #ff8000; }
/* How a dungeon's levels suit yours, in the quest log's colours. */
.d-red { color: #ff4a3d; } .d-orange { color: #ff8a3d; } .d-yellow { color: #ffd100; } .d-green { color: #45c545; } .d-gray { color: #8a8a8a; }

/* A game icon: square, its dark border trimmed, a black hairline around it. */
.gi { display: inline-block; flex: none; background: #1b1b1f center / 116% 116% no-repeat; border-radius: 3px; box-shadow: 0 0 0 1px #000; vertical-align: middle; }
.portrait { flex: none; border-radius: 50%; vertical-align: middle; }
.portrait.blank { display: inline-block; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.role { flex: none; vertical-align: middle; }

/* ------------------------------------------------------------ the frame
   The page is one centred column, at most --wrap wide, so it stays readable
   on an ultrawide screen; past that width the banner fades out at its sides. */
#app { max-width: var(--wrap); margin: 0 auto; }
@media (min-width: 1921px) {
  .banner img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .banner { background: none; }
}
.banner { position: relative; height: clamp(120px, 11.5vw, 200px); overflow: hidden; background: var(--bg-2); transition: height .22s ease; }
.banner.tall { height: clamp(190px, 21vw, 340px); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 13, 15, 0) 30%, rgba(13, 13, 15, .62) 72%, var(--bg) 100%); }
.masthead { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: 20px; padding: 0 var(--pad) 14px; }
.masthead h1 { margin: 0; font-size: clamp(28px, 3vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .8), 0 0 40px rgba(0, 0, 0, .6); }
.banner.tall .masthead h1 { font-size: clamp(34px, 4.4vw, 72px); }
.masthead p { margin: 4px 0 0; font-size: clamp(15px, 1.2vw, 19px); color: #d9d5cb; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.banner.tall .masthead p { margin-top: 6px; font-size: clamp(16px, 1.3vw, 21px); }
.masthead .where { margin-left: auto; display: flex; align-items: center; gap: 10px; padding-bottom: 4px; color: #cfcbc2; font-size: 16px; text-shadow: 0 1px 6px rgba(0, 0, 0, .9); white-space: nowrap; }
.masthead .where img { width: 34px; height: 34px; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: stretch; gap: 2px; padding: 0 calc(var(--pad) - 12px); background: rgba(13, 13, 15, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { position: relative; display: flex; align-items: center; gap: 9px; height: 52px; padding: 0 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); }
.nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--accent); }
.nav a .gi, .nav a img { width: 24px; height: 24px; }
.nav a kbd { font: 12px var(--mono); color: var(--dim); border: 1px solid var(--line-2); border-radius: 3px; padding: 0 4px; margin-left: 2px; }
.nav .sync { margin-left: auto; font-weight: 500; font-size: 16px; color: var(--green); }
.nav .sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nav .sync.stale { color: #e8a13f; }

.page { padding: 20px var(--pad) 60px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 14px; }
.page-head h2 { margin: 0; font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.page-head .sub { color: var(--muted); }
.page-head .tools { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* One line of figures across the top of a page. */
.strip { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 9px 0; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.strip b { color: var(--text); font-weight: 600; font-family: var(--mono); font-size: .95em; }
.strip .gold b { color: var(--gold); }

/* ------------------------------------------------------------- controls */
.btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg-3); color: var(--text); font-size: 16px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: #8a6a1c; color: #141210; }
.btn.primary:hover { background: #f0c45a; }
.btn.small { height: 30px; padding: 0 10px; font-size: 15px; }
.link { color: var(--accent); cursor: pointer; background: none; border: 0; padding: 0; }
.link:hover { text-decoration: underline; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.seg a, .seg button { display: flex; align-items: center; height: 34px; padding: 0 13px; border: 0; background: none; color: var(--muted); font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.seg a + a, .seg button + button { border-left: 1px solid var(--line-2); }
.seg .on { background: var(--bg-3); color: var(--text); }
.seg a:hover, .seg button:hover { color: var(--text); }
.input { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg); min-width: 0; }
.input:focus-within { border-color: var(--accent); }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; }
.input input::placeholder { color: var(--dim); }
.input svg { width: 16px; height: 16px; fill: var(--muted); flex: none; }
.input kbd { font: 12px var(--mono); color: var(--dim); border: 1px solid var(--line-2); border-radius: 3px; padding: 0 5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 3px; color: var(--muted); font-size: 15px; font-weight: 600; cursor: pointer; background: none; white-space: nowrap; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.on { color: var(--text); background: var(--bg-3); border-color: var(--accent); }
.chip .gi { width: 18px; height: 18px; }
.chip .n { font-family: var(--mono); font-size: 13px; color: var(--dim); font-weight: 500; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; text-transform: uppercase; letter-spacing: .03em; }
.tag.red { color: var(--red); border-color: color-mix(in srgb, var(--red) 45%, transparent); }
.tag.green { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.tag.gold { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---------------------------------------------------------------- panels */
/* The guild hall: the roster down the left, the guild's business in the
   middle, news down the right. Each section is a box under its own header
   strip, so nothing runs into its neighbour. */
.hall { display: grid; grid-template-columns: clamp(216px, 17vw, 290px) minmax(0, 1fr) clamp(300px, 24vw, 410px); grid-template-areas: "rail main news"; gap: 20px; align-items: start; }
.hall-rail { grid-area: rail; }
.hall-main { grid-area: main; }
.hall-news { grid-area: news; }
.hall-main, .hall-news { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hall-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.box { min-width: 0; border: 1px solid var(--line-2); border-radius: 5px; background: var(--bg-2); container-type: inline-size; }
.box > header { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border-bottom: 1px solid var(--line-2); border-radius: 4px 4px 0 0; background: var(--bg-3); }
.box > header .gi { width: 20px; height: 20px; }
.box > header .ico { width: 22px; height: 22px; flex: none; }
.box > header h3 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.box > header .n { padding: 0 7px; border: 1px solid var(--line-2); border-radius: 10px; font: 600 13px/20px var(--mono); color: var(--muted); background: var(--bg-2); }
.box > header .aside { min-width: 0; color: var(--dim); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box > header a { margin-left: auto; font-size: 14px; color: var(--accent); white-space: nowrap; }
.box > header a:hover { text-decoration: underline; }
.box > .body { padding: 2px 6px 6px; }
.box > .body > .empty { padding: 14px 8px; }
.box > .body > :last-child, .box > .body > .offline > :last-child { border-bottom: 0; }
.box .calls { margin: 8px 2px 4px; }
.box .week { padding: 9px 8px; }
/* What is happening right now. */
.box.live { border-color: color-mix(in srgb, var(--accent) 60%, var(--line-2)); }
.box.live > header { background: color-mix(in srgb, var(--accent) 13%, var(--bg-3)); border-bottom-color: color-mix(in srgb, var(--accent) 40%, var(--line-2)); }
.box.live > header h3, .box.live > header .aside { color: var(--accent); }
.box.live .call { background: var(--bg); }
/* A heading inside a box: a group of rows. */
.box .group { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; padding: 9px 8px 5px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.box .group span { font: 600 12px var(--mono); color: var(--dim); }
.box .group .link { margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.box .news .tag { flex: none; }
/* The roster rail stays in sight while the rest scrolls, and scrolls within itself. */
.hall-rail { position: sticky; top: 66px; display: flex; flex-direction: column; max-height: calc(100vh - 82px); }
.hall-rail > .body { overflow-y: auto; scrollbar-width: thin; }
.hall-rail .asof { padding: 7px 8px 5px; color: var(--dim); font-size: 13px; }
.mate { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 4px 8px; border-bottom: 1px solid var(--line); min-width: 0; }
.mate:hover { background: var(--bg-3); }
.mate .sub { margin-left: 29px; color: var(--muted); font-size: 13px; line-height: 1.2; }
.mate .seen { flex: none; font: 13px var(--mono); color: var(--dim); }
.mate.off .who { opacity: .62; }
.hall-rail .more { display: block; padding: 8px; font-size: 14px; }
/* Test mode's bar: across the foot of the window, always in sight. */
.testbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px var(--pad); border-top: 2px solid var(--accent); background: #17140a; color: #d8cfb4; font-size: 15px; }
.testbar b { color: var(--accent); font: 700 13px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.testbar span { flex: 1; min-width: 200px; }
body.testing { padding-bottom: 64px; }
.list { container-type: inline-size; }
.empty { padding: 14px 0; color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: 28px; align-items: start; }
.two > .pane { position: sticky; top: 66px; max-height: calc(100vh - 80px); overflow: auto; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); padding: 16px 18px 18px; scrollbar-width: thin; }

/* Rows: a list where every row is a link. */
.rows { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 8px; border-bottom: 1px solid var(--line); min-width: 0; }
a.row:hover, .row.click:hover { background: var(--bg-2); }
.row.on { background: var(--bg-3); box-shadow: inset 2px 0 0 var(--accent); }
.row .sub { color: var(--muted); font-size: 15px; }

/* An event row: when, what, who hosts, levels, what it needs, who is going.
   One table-like line when there is room, two lines in a narrow column. */
.ev { display: grid; grid-template-columns: 104px 52px minmax(0, 1fr) minmax(0, 170px) 58px 168px 44px; align-items: center; gap: 4px 12px; min-height: 46px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ev:hover { background: var(--bg-2); }
.ev.on { background: var(--bg-3); box-shadow: inset 2px 0 0 var(--accent); }
.ev .day { color: var(--muted); white-space: nowrap; }
.ev .day b { color: var(--text); font-weight: 600; }
.ev .time { font-family: var(--mono); font-size: 16px; }
.ev .what { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ev .what .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .thumb { width: 54px; height: 30px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px #000; flex: none; }
.ev .meta { display: contents; }
.ev .host { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .lv { font-family: var(--mono); font-size: 15px; white-space: nowrap; }
.ev .count { font-family: var(--mono); font-size: 15px; color: var(--muted); text-align: right; }
.ev.past { opacity: .62; }
.ev.cancelled .name { text-decoration: line-through; color: var(--muted); }
.needs { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 15px; color: var(--muted); }
.needs span { display: inline-flex; align-items: center; gap: 3px; color: var(--text); font-family: var(--mono); }
.needs .full { color: var(--green); font-family: var(--sans); font-weight: 600; }
@container (max-width: 980px) {
  .ev { grid-template-columns: 92px 50px minmax(0, 1fr) auto; }
  .ev .what { grid-column: 3; }
  .ev .count { grid-column: 4; grid-row: 1; }
  .ev .meta { display: flex; align-items: center; gap: 14px; grid-column: 3 / -1; grid-row: 2; min-width: 0; }
}
@container (max-width: 420px) {
  .ev { grid-template-columns: 84px minmax(0, 1fr) auto; }
  .ev .time { display: none; }
  .ev .what { grid-column: 2; }
  .ev .count { grid-column: 3; }
  .ev .meta { grid-column: 2 / -1; }
  .ev .thumb { display: none; }
}

/* A person: class portrait and a name in their class colour. */
.who { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; }
.who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.who .lvl { font: 500 14px var(--mono); color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 18px; }
.people .row { min-height: 40px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.dot.on { background: var(--green); }

/* News. */
.news { display: flex; gap: 12px; align-items: center; padding: 8px; border-bottom: 1px solid var(--line); min-width: 0; }
a.news:hover { background: var(--bg-2); }
.news .gi, .news img { width: 34px; height: 34px; }
.news img.thumb { width: 60px; height: 34px; object-fit: cover; border-radius: 2px; flex: none; }
.news .text { flex: 1; min-width: 0; }
.news .text b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news .text span { display: block; font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news time { flex: none; font: 14px var(--mono); color: var(--dim); }

/* Bars. */
.bar { position: relative; height: 6px; border-radius: 1px; background: var(--line); overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.bar.green i { background: var(--green); }
.bar.thin { height: 3px; }

/* ----------------------------------------------------------- the event */
.pane h3 { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; }
.pane .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.facts { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 5px 12px; margin: 12px 0 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; }
.pane h4 { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; padding-bottom: 5px; border-bottom: 1px solid var(--line-2); font-size: 16px; font-weight: 700; }
.pane h4 .n { font: 500 14px var(--mono); color: var(--muted); }
.pane h4 .needs { margin-left: auto; font-weight: 400; }
.roster .row { min-height: 38px; padding: 4px 2px; }
.roster .state { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; }
.roster .via { font-size: 14px; color: var(--muted); font-weight: 400; }
.note { margin-top: 12px; padding: 9px 12px; border-left: 2px solid var(--line-2); color: #cfcbc2; background: var(--bg); }
.hint { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.hint code { font-family: var(--mono); color: var(--text); background: var(--bg-3); padding: 1px 6px; border-radius: 3px; }
.scene { position: relative; margin: -16px -18px 14px; height: 150px; overflow: hidden; border-bottom: 1px solid var(--line); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 19, 22, 0) 45%, var(--bg-2) 100%); }

/* The month. */
.month-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; }
.month-head h3 { margin: 0; font-size: 20px; font-weight: 700; min-width: 190px; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.month .dow { padding: 5px 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; }
.month .cell { min-height: 104px; padding: 4px 5px 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.month .cell.out { background: #0a0a0c; }
.month .cell .num { display: inline-block; min-width: 24px; padding: 0 5px; font: 14px var(--mono); color: var(--muted); border-radius: 3px; }
.month .cell.today .num { background: var(--accent); color: #141210; font-weight: 700; }
.month .cell a { display: flex; gap: 6px; margin-top: 3px; padding: 1px 5px; border-left: 2px solid #b4513c; font-size: 14px; background: var(--bg-2); white-space: nowrap; overflow: hidden; }
.month .cell a:hover, .month .cell a.on { background: var(--bg-3); }
.month .cell a.event { border-left-color: #4fa758; }
.month .cell a.cancelled { border-left-color: var(--dim); color: var(--muted); text-decoration: line-through; }
.month .cell a .t { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.month .cell a .n { overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------ Dungeon Codex */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.tile { position: relative; display: block; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-2); }
.tile:hover { border-color: var(--line-2); }
.tile.on { border-color: var(--accent); }
.tile .art { position: relative; height: 112px; overflow: hidden; }
.tile .art img { width: 100%; height: 100%; object-fit: cover; }
.tile .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 19, 22, 0) 35%, rgba(19, 19, 22, .92) 100%); }
.tile .art .name { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 7px; display: flex; align-items: baseline; gap: 8px; }
.tile .art .name b { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 4px #000; }
.tile .art .name span { margin-left: auto; font: 15px var(--mono); text-shadow: 0 1px 4px #000; }
.tile .art.blank { background: linear-gradient(135deg, #1d1d22, #131316); }
.tile .meta { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; font-size: 15px; color: var(--muted); }
.tile .meta b { color: var(--text); font-weight: 600; }
.tile .meta .cleared { color: var(--green); }
.tile.uncleared .art img { filter: saturate(.55) brightness(.8); }
.bosses { list-style: none; margin: 0; padding: 0; }
.bosses li { display: flex; align-items: center; gap: 10px; min-height: 34px; border-bottom: 1px solid var(--line); }
.bosses li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--dim); flex: none; }
.bosses li.done::before { background: var(--green); box-shadow: none; }
.bosses li .when { margin-left: auto; font: 14px var(--mono); color: var(--muted); }
.bosses li .tag { margin-left: 6px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.kv div { padding: 8px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); }
.kv b { display: block; font: 600 20px var(--mono); }
.kv span { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------------------------------------------------------------- Feats */
.feat { display: grid; grid-template-columns: 40px minmax(0, 1fr) 44px; align-items: center; gap: 12px; padding: 8px; border-bottom: 1px solid var(--line); }
.feat:hover { background: var(--bg-2); }
.feat.on { background: var(--bg-3); box-shadow: inset 2px 0 0 var(--accent); }
.feat .gi { width: 40px; height: 40px; }
.feat.locked .gi { filter: grayscale(1) brightness(.7); }
.feat .name { font-weight: 600; }
.feat .text { color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat .prog { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.feat .prog .bar { flex: 1; }
.feat .prog span { font: 13px var(--mono); color: var(--muted); white-space: nowrap; }
.feat.earned .name { color: var(--gold); }
.shield { position: relative; width: 44px; height: 44px; background: url("/img/shield.png") center / contain no-repeat; }
.shield.grey { background-image: url("/img/shield-grey.png"); }
.shield b { position: absolute; left: 0; right: 0; top: 11px; text-align: center; font: 700 14px var(--sans); color: #fff; text-shadow: 0 1px 2px #000; }
.shield.grey b { color: #b5b5b5; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 14px; }
.checks li { display: flex; align-items: center; gap: 9px; min-height: 30px; color: var(--muted); }
.checks li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--dim); flex: none; }
.checks li.done { color: var(--text); }
.checks li.done::before { background: var(--green); box-shadow: none; }
.timeline .news time { min-width: 62px; text-align: right; }
.week { padding: 9px 0; border-bottom: 1px solid var(--line); }
.week b { display: block; font-weight: 600; }
.week span { display: block; color: var(--muted); font-size: 15px; }

/* ----------------------------------------------------------- Professions */
.crafter { display: grid; grid-template-columns: minmax(190px, 260px) minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.crafter:hover { background: var(--bg-2); }
.crafter .meta { font: 14px var(--mono); color: var(--muted); white-space: nowrap; }
.skills { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.skill { display: flex; align-items: center; gap: 8px; min-width: 190px; }
.skill .gi { width: 24px; height: 24px; }
.skill .what { flex: 1; min-width: 0; font-size: 15px; }
.skill .what div:first-child { display: flex; justify-content: space-between; gap: 10px; }
.skill .what .mono { color: var(--muted); }
.skill .bar { margin-top: 3px; }
.recipe { display: grid; grid-template-columns: 36px minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); min-height: 48px; }
.recipe:hover { background: var(--bg-2); }
.recipe .gi { width: 36px; height: 36px; }
.recipe .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recipe .sub { font-size: 14px; color: var(--muted); }
.reagents { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; color: var(--muted); }
.reagents span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.reagents .gi { width: 20px; height: 20px; }
.reagents b { font: 500 14px var(--mono); color: var(--text); }
.by { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 15px; }

/* ---------------------------------------------------------------- Members */
.member { display: grid; grid-template-columns: minmax(180px, 1.5fr) 52px minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 12px; min-height: 44px; padding: 5px 8px; border-bottom: 1px solid var(--line); }
.member .online { color: var(--green); }
.member .star { color: var(--accent); font-size: 13px; }
.member .up { margin-left: 5px; color: var(--green); font-size: 11px; }
.member:hover { background: var(--bg-2); }
.member.head { min-height: 34px; color: var(--muted); font-size: 14px; font-weight: 600; border-bottom-color: var(--line-2); }
.member.head:hover { background: none; }
.member .profs { display: flex; gap: 5px; }
.member .meta { font: 14px var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }

/* -------------------------------------------------------------- Materials */
.request { display: grid; grid-template-columns: 40px minmax(0, 1.3fr) minmax(120px, 1fr) minmax(0, .9fr) 70px; align-items: center; gap: 14px; padding: 8px; border-bottom: 1px solid var(--line); }
.request:hover { background: var(--bg-2); }
.request .gi { width: 40px; height: 40px; }
.request .name { font-weight: 600; }
.request .sub { font-size: 15px; color: var(--muted); }
.request .prog span { display: block; margin-bottom: 4px; font: 14px var(--mono); color: var(--muted); }
.request .age { font: 14px var(--mono); color: var(--muted); text-align: right; }

/* ---------------------------------------------------------- Call to Arms */
/* Calls to arms that are open: each until its time is up */
.calls { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.calls > p { margin: 2px 0 0; font-size: 15px; }
.call { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 10px 14px 10px 12px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 3px; background: var(--bg-2); color: inherit; }
a.call:hover { border-color: var(--line-2); border-left-color: var(--accent); }
.call.urgent, a.call.urgent:hover { border-left-color: var(--red); }
.call .top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; }
.call .name { font-weight: 700; }
.call .lvl { font: 500 14px var(--mono); color: var(--muted); }
.call .about { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.call .about span { color: var(--muted); }
.call .sub { color: var(--muted); font-size: 15px; }
.call .left { display: flex; flex-direction: column; align-items: flex-end; font-size: 15px; color: var(--muted); white-space: nowrap; }
.call .left b { color: var(--text); font: 600 16px var(--mono); }
.nav a .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #111; font: 700 13px/20px var(--mono); text-align: center; }
.board .row { min-height: 54px; }
.board .rank { width: 44px; text-align: center; font: 600 18px var(--mono); color: var(--muted); flex: none; }
.board .rank img { width: 44px; height: 44px; }
.board .n { font: 600 20px var(--mono); }
.board .n small { font: 400 14px var(--sans); color: var(--muted); }

.prose { max-width: 820px; color: #d6d2c8; }
.prose h3 { margin: 22px 0 6px; font-size: 20px; color: var(--text); }
.prose p { margin: 0 0 10px; }
.prose ul { margin: 0 0 10px; padding-left: 22px; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg-3); padding: 1px 6px; border-radius: 3px; }

/* ------------------------------------------------------------- Game news */
.tag.blue { color: #00aeff; border-color: color-mix(in srgb, #00aeff 45%, transparent); }
.reader { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: 32px; align-items: start; }
.reader .index { position: sticky; top: 66px; max-height: calc(100vh - 80px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.reader .index .rows { display: block; overflow: auto; scrollbar-width: thin; border-top: 1px solid var(--line); }
.blue-row { align-items: flex-start; gap: 10px; padding: 9px 8px; }
.blue-row .title { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blue-row time { flex: none; padding-top: 3px; font: 14px var(--mono); color: var(--dim); }
.post { min-width: 0; max-width: 900px; }
.post .back { display: none; margin-bottom: 12px; }
.post .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.post h3 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.post .byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 8px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); color: var(--muted); }
.post .byline b { color: #00aeff; font-weight: 600; }
.post .byline time { font: 15px var(--mono); }
.post .byline .link { margin-left: auto; }
.post .body { max-width: none; line-height: 1.55; overflow-wrap: anywhere; }
.post .body h4 { margin: 20px 0 6px; font-size: 20px; color: var(--text); }
.post .body li { margin: 3px 0; }
.post .body li > ul, .post .body li > ol { margin: 3px 0 6px; }
.post .body a { color: var(--blue); }
.post .body a:hover { text-decoration: underline; }
.post .body img { max-width: 100%; height: auto; border-radius: 3px; margin: 6px 0; }
.post .body blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 3px solid var(--line-2); background: var(--bg-2); color: var(--muted); }
.post .body blockquote cite { display: block; margin-bottom: 4px; font-style: normal; font-size: 15px; font-weight: 600; color: var(--text); }
.post .body blockquote > :last-child { margin-bottom: 0; }
.post .body pre { overflow: auto; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; font: 15px var(--mono); }
.post .body table { border-collapse: collapse; margin: 0 0 12px; }
.post .body td, .post .body th { padding: 4px 10px; border: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.post .body details { margin: 0 0 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; }
.post .body summary { cursor: pointer; font-weight: 600; }
.post .body hr { border: 0; border-top: 1px solid var(--line-2); margin: 16px 0; }
.post .body blockquote.blue-quote { border-left-color: #00aeff; background: color-mix(in srgb, #00aeff 6%, var(--bg-2)); color: #d6d2c8; padding: 12px 16px; }
.post .body blockquote.blue-quote > cite { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 10px; color: #00aeff; }
.post .body blockquote.blue-quote > cite .link { margin-left: auto; font-weight: 500; }
.post .callout { display: block; margin: 0 0 14px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 3px; background: var(--bg-2); color: var(--muted); font-size: 16px; }
.post.wowhead { margin: 0 auto; }
.post.wowhead .back { display: inline-block; }
.post .lead { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.post.wowhead .byline b { color: var(--accent); }
.source .link { color: var(--muted); text-decoration: underline; }
.source { margin: 22px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 15px; color: var(--dim); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.card:hover { border-color: var(--muted); }
.card img, .card .noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-3); }
.card .text { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.card .meta { display: flex; align-items: center; gap: 10px; }
.card .meta time { font: 14px var(--mono); color: var(--dim); }
.card b { font-size: 19px; line-height: 1.3; font-weight: 700; }
.card span:not(.tag) { color: var(--muted); font-size: 16px; line-height: 1.45; }

/* The door. */
.door { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.door form { width: min(400px, 100%); padding: 26px 28px 28px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg-2); text-align: center; }
.door img { width: 76px; height: 76px; margin: 0 auto 10px; }
.door h1 { margin: 0 0 4px; font-size: 30px; font-weight: 800; letter-spacing: -.01em; }
.door p { margin: 0 0 16px; color: var(--muted); }
.door .input { height: 44px; }
.door .input input { text-align: center; font-size: 18px; }
.door .btn { width: 100%; height: 44px; margin-top: 10px; justify-content: center; font-size: 18px; }
.door .error { min-height: 24px; margin-top: 10px; color: var(--red); }

/* A tooltip in the game's manner: dark, a gold or quality-coloured name. */
.tip { position: fixed; z-index: 50; max-width: 340px; padding: 9px 12px; border: 1px solid #5a5a63; border-radius: 4px; background: rgba(10, 10, 14, .97); box-shadow: 0 6px 24px rgba(0, 0, 0, .55); font-size: 15px; pointer-events: none; }
.tip b { display: block; font-size: 16px; color: var(--gold); }
.tip span { display: block; color: #d6d2c8; }
.tip .muted { color: var(--muted); }

@media (min-width: 1800px) { body { font-size: 19px; } :root { --pad: 40px; } }
/* The row of pages is long (eleven, and how fresh the data is): it tightens
   on narrower screens before it has to scroll. */
@media (max-width: 1780px) {
  .nav a { padding: 0 9px; gap: 7px; font-size: 16px; }
  .nav a .gi, .nav a img { width: 20px; height: 20px; }
  .nav .sync { font-size: 15px; }
}
@media (max-width: 1540px) {
  .nav a { padding: 0 7px; gap: 6px; font-size: 15px; }
  .nav a .gi, .nav a img { width: 18px; height: 18px; }
  .nav .sync { font-size: 14px; }
}
@media (max-width: 1400px) {
  .nav a { padding: 0 5px; gap: 5px; font-size: 14px; }
  .nav a .gi, .nav a img { width: 16px; height: 16px; }
  .nav .sync { font-size: 13px; }
  .nav a .badge { min-width: 17px; height: 17px; padding: 0 4px; font-size: 12px; line-height: 17px; }
}
/* Narrower than three parts fit: the roster moves to the top of the right-hand column. */
@media (max-width: 1200px) {
  .hall { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: "main rail" "main news"; grid-template-rows: auto 1fr; }
  .hall-rail { position: static; max-height: 420px; }
}
/* Between a laptop and a phone the row of pages keeps its words and drops its icons, so it still fits. */
@media (max-width: 1270px) and (min-width: 861px) {
  .nav a .gi, .nav a img { display: none; }
}
@media (max-width: 1100px) {
  .reader { grid-template-columns: minmax(0, 1fr); }
  .reader .index { position: static; max-height: none; }
  .reader:not(.reading) .post, .reader.reading .index { display: none; }
  .reader:not(.reading) .blue-row.on { background: none; box-shadow: none; }
  .post .back { display: inline-block; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .two > .pane { position: static; max-height: none; }
  .recipe { grid-template-columns: 36px minmax(0, 1fr); }
  .recipe .reagents, .recipe .by { grid-column: 2; }
  .request { grid-template-columns: 40px minmax(0, 1fr) 70px; }
  .request .prog, .request .who-cell { grid-column: 2 / -1; }
  .crafter { grid-template-columns: minmax(0, 1fr) auto; }
  .crafter .skills { grid-column: 1 / -1; grid-row: 2; }
  .member { grid-template-columns: minmax(0, 1.4fr) 48px minmax(0, 1fr) minmax(0, .8fr); }
  .member > :nth-child(3), .member > :nth-child(5), .member > :nth-child(7), .member > :nth-child(8) { display: none; }
}
@media (max-width: 700px) {
  :root { --pad: 14px; }
  body { font-size: 17px; }
  .nav a { height: 46px; padding: 0 10px; }
  .nav a kbd { display: none; }
  .masthead .where span { display: none; }
  /* A long guild name takes a second line on a phone instead of being cut. */
  .masthead h1.clip { white-space: normal; overflow: visible; }
  .banner.tall .masthead h1 { font-size: 30px; }
  .page-head h2 { font-size: 24px; }
  .month .cell { min-height: 64px; }
  .month .cell a .t { display: none; }
  .kv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ------------------------------------------------------------ the war ranks
   The PvP page: flat rows and hairlines like the rest; the game shows through
   the rank insignia, the battleground marks, class colours and zone paintings. */
.insignia { flex: none; object-fit: contain; }
.rank-badge { display: inline-flex; flex: none; }
.rank-badge:hover { filter: brightness(1.2); }
a.plain:hover .who span, a.plain:hover { text-decoration: underline; }
.medal { width: 34px; height: 34px; flex: none; }
.war .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.war .count { color: var(--muted); font-size: 15px; padding: 0 8px 6px; }
.war .toolbar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.war .toolbar .count { padding: 0; }
.war .back { display: inline-block; margin-bottom: 10px; font-size: 15px; }
.war .place { width: 38px; flex: none; text-align: center; font: 600 17px var(--mono); color: var(--muted); }
.war .place img { width: 38px; height: 38px; }
.war-row { min-height: 58px; }
.war-row .value { font: 600 20px var(--mono); }
.war-row .pts { width: 92px; text-align: right; font-family: var(--mono); }
.war-row .rating { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.war .up, .war .down { font: 600 14px var(--mono); }
.war .up, .war b.green { color: var(--green); }
.war .down, .war b.red { color: var(--red); }
.war .row.slim { min-height: 36px; padding: 4px 8px; gap: 10px; font-size: 16px; }
.war .row.slim .bar { width: 64px; flex: none; }
.war .row.slim .place { width: 26px; font-size: 14px; }
.war .row.slim .place img { width: 26px; height: 26px; }
.bar.red i { background: var(--red); }
.war-section { margin-bottom: 22px; }
.war-section > h4 { margin: 0 0 2px; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.war-section .marked { display: inline-flex; align-items: center; gap: 8px; }
/* A guildmate's rank: insignia, rank and progress to the next. */
.rank-card { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); }
a.rank-card:hover { border-color: var(--line-2); }
.rank-card .who-line { font-size: 22px; font-weight: 700; }
.rank-card .who-line .who span { font-weight: 700; }
.rank-card .rank { margin-bottom: 8px; color: var(--accent); font-weight: 600; }
.rank-card .rank span { color: var(--muted); font-weight: 400; }
.rank-card .bar { height: 8px; }
.rank-card .sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
/* Counts in a grid: the figure, then what it counts. */
.statgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding: 16px 8px 4px; }
.statgrid.small { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 0 4px; gap: 10px 14px; }
.statgrid b { display: block; font: 600 22px var(--mono); }
.statgrid.small b { font-size: 18px; }
.statgrid span { display: block; color: var(--muted); font-size: 15px; }
/* What something is, then its value, a line each. */
.pairs > div { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pairs span { flex: 1; min-width: 0; color: var(--muted); font-size: 16px; }
.pairs b { font: 600 16px var(--mono); text-align: right; }
.pane .lead { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.pane .lead h3 .who span { font-weight: 700; }
.pane p { margin: 12px 0 0; }
.ladder > div { display: flex; align-items: center; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.ladder .sub { font: 14px var(--mono); color: var(--muted); }
.ladder .n { width: 22px; text-align: right; font: 600 15px var(--mono); color: var(--accent); }
.ladder .unheld .insignia { filter: grayscale(.85) brightness(.7); }
.ladder .unheld .grow { color: var(--muted); }
/* A battleground: its mark, how it went, who was there. */
.match { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.match .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.match .sub { color: var(--muted); font-size: 15px; }
.match .players { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 16px; }
.match .players span { color: var(--muted); }
.match.slim { padding: 7px 8px; }
.field { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.field .line { display: flex; align-items: center; gap: 12px; }
.field .line .bar { flex: 1; max-width: 140px; }
.field .sub { color: var(--muted); font-size: 15px; white-space: nowrap; }
/* Where the points came from, and hunting grounds: a name, a bar, a count. */
.part { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr) 84px; align-items: center; gap: 14px; min-height: 36px; padding: 4px 8px; border-bottom: 1px solid var(--line); }
a.part:hover { background: var(--bg-2); }
.part b { font: 600 16px var(--mono); text-align: right; }
/* The war map: each zone under its painting. */
.zones { display: flex; flex-direction: column; gap: 8px; }
.zone { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-2); overflow: hidden; isolation: isolate; }
.zone .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; z-index: -1; }
.zone:hover .art, .zone.on .art { opacity: .5; }
.zone.on { border-color: var(--accent); }
.zone .n { width: 26px; font: 600 18px var(--mono); color: var(--muted); }
.zone b { font-size: 19px; }
.zone .sub { color: #c9c5bb; font-size: 15px; }
.zone .kills { text-align: right; line-height: 1.15; }
.zone .kills b { display: block; font: 600 22px var(--mono); }
.zone .kills span { color: #c9c5bb; font-size: 14px; }
.zone-art { width: 100%; height: 110px; object-fit: cover; border-radius: 3px; margin-bottom: 12px; }

/* One column: what is live first, then what is coming up, who is on, the
   guild's news, the rest, and the game's news last. */
@media (max-width: 860px) {
  .hall { display: flex; flex-direction: column; align-items: stretch; }
  .hall-main, .hall-news { display: contents; }
  .hall .o-calls { order: 1; }
  .hall .o-events { order: 2; }
  .hall-rail { order: 3; max-height: none; }
  .hall-rail .offline { display: none; }
  .hall .o-guildnews { order: 4; }
  .hall .hall-pair { order: 5; }
  .hall .o-gamenews { order: 6; }
  .box > header .aside { display: none; }
  /* Test mode's bar keeps to its name and the way out. */
  .testbar span { display: none; }
  .testbar { justify-content: space-between; }
}
/* Phones: a call's time moves under its text, and the leaderboard keeps its names
   (when each last joined a call gives way first). */
@media (max-width: 700px) {
  .board .row > .sub { display: none; }
  /* The PvP page's five tabs scroll sideways rather than widen the page. */
  .war .page-head .tools { margin-left: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .war .page-head .tools::-webkit-scrollbar { display: none; }
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .war-row .pts { display: none; }
  .rank-card { gap: 12px; padding: 12px; }
  .rank-card > .insignia { width: 56px !important; height: 56px !important; }
  .part { grid-template-columns: minmax(96px, 130px) minmax(0, 1fr) 70px; gap: 10px; }
  .call { grid-template-columns: 40px minmax(0, 1fr); }
  .call .left { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
}
