/* ------------------------------------------------------------------
   Roguefort website. Same visual language as the patch notes site
   (timothyjgraham.github.io/roguefort-patch-notes): a strict PICO-8
   palette sampled from the Steam capsules, dot-lattice dither instead
   of gradients, hard outlines and offsets, no border radius anywhere.
   ------------------------------------------------------------------ */
:root {
  --sky:    #29ADFF;
  --deep:   #065AB5;
  --mid:    #1D2B53;
  --night:  #111D35;
  --cream:  #FFF1E8;
  --crust:  #49333B;
  --ember:  #FF6C24;
  --rind:   #FFA300;
  --cellar: #742F29;
  --ink:    #271F1B;
  --yellow: #FFEC27;
  --green:  #00E436;

  --disp: "Grenze Gotisch", "Palatino Linotype", Georgia, serif;
  --body: Bitter, Georgia, "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1080px;
  --pad: 56px;
  --barh: 54px;
}

* { box-sizing: border-box; }
* { border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--barh) + 16px); background: var(--sky); }
body {
  margin: 0; background: var(--sky); color: var(--night);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 90;
  background: var(--night); color: var(--cream); padding: 10px 14px;
  font-family: var(--mono); font-size: 13px; text-decoration: none; border: 2px solid var(--rind);
}
.skip:focus { top: 8px; }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ================= masthead ================= */
.mast { position: relative; overflow: hidden; background: var(--night); padding: 46px 0 0; }
.mast-in { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 52px; }
.marks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.wordmark { display: block; width: 100%; max-width: 370px; height: auto; image-rendering: pixelated; }
.plaque {
  display: inline-flex; flex-wrap: wrap; margin: 24px 0 0;
  font-family: var(--mono); font-size: 15px; line-height: 1;
  border: 2px solid var(--rind); box-shadow: 4px 4px 0 var(--deep);
}
.plaque span { padding: 11px 15px; display: block; }
.plaque-k { color: var(--cream); }
.plaque-v { background: var(--rind); color: var(--night); font-weight: 500; }
.plaque-t { color: var(--cream); border-left: 2px solid var(--rind); }

/* the extruded pixel title card, as on the patch notes */
.card {
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(40px, 8.6vw, 96px); line-height: 1.04;
  margin: 26px 0 0; padding: 0 0 .12em; max-width: 15ch;
  color: var(--yellow); letter-spacing: .005em; text-wrap: balance;
  text-shadow:
    .02em 0 0 var(--ink), -.02em 0 0 var(--ink), 0 .02em 0 var(--ink), 0 -.02em 0 var(--ink),
    .02em .02em 0 var(--ink), -.02em .02em 0 var(--ink), .02em -.02em 0 var(--ink), -.02em -.02em 0 var(--ink),
    .032em .032em 0 var(--cellar), .044em .044em 0 var(--cellar), .056em .056em 0 var(--ink);
}
.card.small { font-size: clamp(38px, 7vw, 76px); }
.mast-lede { color: var(--cream); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.55; max-width: 58ch; margin: 22px 0 0; }
.mast-meta {
  margin: 26px 0 0; font-family: var(--mono); font-size: 13.5px; color: var(--cream);
  display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline;
}
.mast-meta b { color: var(--rind); font-weight: 500; }

/* countdown plaque */
.clock {
  display: inline-flex; flex-wrap: wrap; align-items: stretch; margin: 28px 0 0;
  font-family: var(--mono); color: var(--cream); line-height: 1;
  border: 2px solid var(--cream); box-shadow: 4px 4px 0 var(--deep);
}
.clock-k { padding: 12px 14px; font-size: 13px; display: flex; align-items: center; border-right: 2px solid var(--cream); }
.clock-u { padding: 8px 14px; display: grid; gap: 4px; justify-items: center; min-width: 64px; }
.clock-u + .clock-u { border-left: 1px solid rgba(255,241,232,.25); }
.clock-u b { font-size: 24px; font-weight: 500; color: var(--yellow); font-variant-numeric: tabular-nums; }
.clock-u i { font-style: normal; font-size: 11px; color: var(--sky); letter-spacing: .08em; text-transform: uppercase; }
.clock.live { border-color: var(--green); }
.clock.live .clock-k { border-right: 0; font-size: 14px; }
.clock.live .clock-k::before { content: ""; width: 9px; height: 9px; background: var(--green); margin-right: 10px; }

.btns { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 30px 0 0; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--mono); font-size: 15px; line-height: 1; text-decoration: none;
  padding: 14px 18px; border: 2px solid var(--cream);
  background: var(--cream); color: var(--night); box-shadow: 5px 5px 0 var(--rind);
}
.btn:hover { box-shadow: 5px 5px 0 var(--ember); }
.btn:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ember); }
.btn.go { background: var(--rind); border-color: var(--ink); box-shadow: 5px 5px 0 var(--deep); font-weight: 500; }
.btn.go:hover { background: var(--yellow); }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: 5px 5px 0 var(--deep); }
.btn.ghost:hover { border-color: var(--rind); color: var(--yellow); }
.btn.sm { font-size: 13px; padding: 9px 12px; box-shadow: 3px 3px 0 var(--rind); }
.btn.sm:hover { box-shadow: 3px 3px 0 var(--ember); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* dither ramp, night -> sky, and the battlement ridge */
.ramp { position: relative; z-index: 3; }
.ramp b { display: block; height: 11px; background-image: conic-gradient(currentColor 25%, #0000 0); background-size: 2px 2px; }
.ramp b.k {
  background-image: conic-gradient(currentColor 25%, #0000 0), conic-gradient(currentColor 25%, #0000 0);
  background-size: 2px 2px, 2px 2px; background-position: 0 0, 1px 1px;
}
.r1, .r2 { background-color: var(--night); color: var(--mid); }
.r3, .r4 { background-color: var(--mid); color: var(--deep); }
.r5, .r6 { background-color: var(--deep); color: var(--sky); }
.r7, .r8 { background-color: var(--sky); color: var(--deep); }
.ridge { display: block; width: 100%; height: 54px; background: var(--sky); }

/* ================= sticky bar ================= */
.bar { position: sticky; top: 0; z-index: 40; background: var(--night); border-bottom: 2px solid var(--ink); }
.bar-in {
  max-width: var(--wrap); margin: 0 auto; padding: 9px var(--pad); min-height: var(--barh);
  display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap;
}
.bar-mark { font-family: var(--disp); font-weight: 700; font-size: 22px; color: var(--yellow); text-decoration: none; line-height: 1; flex: none; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; flex: 1 1 auto; align-items: center; }
.nav a { font-family: var(--mono); font-size: 13px; color: var(--cream); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--yellow); }
.nav a.on, .nav a[aria-current="page"] { border-bottom-color: var(--rind); }
.nav-steam {
  margin-left: auto; font-family: var(--mono); font-size: 13px; line-height: 1; text-decoration: none;
  color: var(--night); background: var(--rind); padding: 8px 11px; border: 1px solid var(--ink); flex: none;
}
.nav-steam:hover { background: var(--yellow); }

/* ================= the cream plate ================= */
main { max-width: var(--wrap); margin: 0 auto; padding: 0 0 64px; }
.plate {
  background: var(--cream); border: 2px solid var(--ink); border-top: 0;
  box-shadow: 6px 6px 0 var(--deep); padding: 8px var(--pad) 60px;
}
.sec { padding: 44px 0 0; scroll-margin-top: calc(var(--barh) + 16px); }
.sec h2 {
  position: relative; font-family: var(--disp); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 36px); line-height: 1.12;
  margin: 0 0 28px; padding-bottom: 12px; border-bottom: 2px solid var(--night);
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px; text-wrap: balance;
}
.sec h2::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 5px; color: var(--ember);
  background-image: conic-gradient(currentColor 25%, #0000 0); background-size: 2px 2px;
}
.sec-n { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--cellar); flex: none; }
.sec-n a { color: var(--cellar); }
.lead { max-width: 66ch; margin: 0 0 18px; font-size: clamp(16.5px, 1.6vw, 18.5px); line-height: 1.65; }
.lead:last-child { margin-bottom: 0; }
.note { font-family: var(--mono); font-size: 13px; color: var(--cellar); max-width: 76ch; margin: 0; line-height: 1.6; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* framed art: hard outline, blue offset, nearest-neighbour */
.frame { margin: 0; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--deep); background: var(--night); line-height: 0; }
.frame img { display: block; width: 100%; image-rendering: pixelated; }
.frame-cap { font-family: var(--mono); font-size: 12px; color: var(--cellar); margin: 14px 0 0; }

/* modes: four ruled cells */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--night); }
.mode { padding: 22px 26px 24px 0; border-bottom: 1px solid rgba(73,51,59,.25); }
.mode:nth-child(2n) { padding: 22px 0 24px 26px; border-left: 1px solid rgba(73,51,59,.25); }
.mode h3 { font-family: var(--disp); font-weight: 700; font-size: 27px; line-height: 1.1; margin: 0 0 8px; display: flex; gap: 12px; align-items: baseline; }
.mode h3 small { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--night); background: var(--rind); padding: 3px 7px; letter-spacing: .03em; }
.mode p { margin: 0; font-size: 16px; max-width: 46ch; }

/* change-style bullets with ember squares */
.changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.change { position: relative; padding: 0 0 16px 26px; margin: 0 0 16px; border-bottom: 1px solid rgba(73,51,59,.22); }
.change::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--ember); }
.change b { display: block; font-weight: 700; margin-bottom: 2px; }
.change span { font-size: 16px; }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px 22px; }
.shot { margin: 0; display: grid; gap: 10px; align-content: start; }
.shot-btn { display: block; padding: 0; border: 2px solid var(--ink); background: var(--night); box-shadow: 4px 4px 0 var(--deep); cursor: zoom-in; line-height: 0; width: 100%; }
.shot-btn:hover { box-shadow: 4px 4px 0 var(--rind); }
.shot-btn img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.shot figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.shot figcaption span { min-width: 0; }
.shot figcaption a { font-family: var(--mono); font-size: 12px; color: var(--cellar); flex: none; }

/* lightbox */
.lb { border: 2px solid var(--rind); padding: 0; background: var(--night); color: var(--cream); max-width: min(1280px, 96vw); width: 96vw; box-shadow: 6px 6px 0 var(--deep); }
.lb::backdrop { background: rgba(17, 29, 53, .9); }
.lb img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; background: #000; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; padding: 10px 14px; font-family: var(--mono); font-size: 13px; }
.lb-bar .lb-cap { flex: 1 1 auto; min-width: 0; }
.lb-bar button, .lb-bar a { font-family: var(--mono); font-size: 13px; background: transparent; color: var(--cream); border: 1px solid var(--deep); padding: 6px 10px; cursor: pointer; text-decoration: none; }
.lb-bar button:hover, .lb-bar a:hover { border-color: var(--rind); color: var(--yellow); }

/* register of updates, as on the patch notes index */
.reg { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--night); border-bottom: 2px solid var(--night); }
.reg li { border-bottom: 1px solid rgba(73,51,59,.22); }
.reg li:last-child { border-bottom: 0; }
.reg a { display: flex; align-items: baseline; gap: 14px; padding: 15px 6px; text-decoration: none; color: var(--night); }
.reg a:hover { background: var(--night); color: var(--cream); }
.reg-name { font-family: var(--disp); font-weight: 500; font-size: 23px; line-height: 1.15; flex: 0 1 auto; }
.reg-dots { flex: 1 1 auto; min-width: 12px; height: 1px; align-self: center; color: var(--cellar); opacity: .5; background-image: conic-gradient(currentColor 25%, #0000 0); background-size: 2px 2px; }
.reg-meta { font-family: var(--mono); font-size: 12.5px; color: var(--cellar); flex: none; }
.reg-meta b { color: var(--night); font-weight: 500; }
.reg-new { font-family: var(--mono); font-size: 11px; color: var(--night); background: var(--rind); padding: 2px 7px; margin-left: 10px; }
.reg a:hover .reg-meta { color: var(--sky); }
.reg a:hover .reg-meta b { color: var(--cream); }
.reg-more { margin: 18px 0 0; font-family: var(--mono); font-size: 14px; }

/* Steam widget */
.steam-embed { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--deep); background: #1b2838; line-height: 0; max-width: 646px; }
.steam-embed iframe { display: block; width: 100%; height: 190px; border: 0; }

/* dark substrate section */
.sec.dark {
  background-color: var(--night);
  background-image: conic-gradient(rgba(6,90,181,.45) 25%, #0000 0); background-size: 2px 2px;
  color: var(--cream); margin: 60px calc(var(--pad) * -1) -60px; padding: 40px var(--pad) 56px; border-top: 2px solid var(--ink);
}
.sec.dark h2 { color: var(--cream); border-bottom-color: var(--rind); }
.sec.dark h2::after { color: var(--rind); }
.sec.dark .note { color: var(--sky); }
.sec.dark a:not(.btn) { color: var(--yellow); }

/* press: fact sheet */
.facts { margin: 0; border-top: 2px solid var(--night); }
.facts div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding: 11px 0; border-bottom: 1px solid rgba(73,51,59,.22); }
.facts dt { font-family: var(--mono); font-size: 12.5px; color: var(--cellar); padding-top: 3px; }
.facts dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.facts dd a { color: var(--night); }

.blurb { border: 2px solid var(--night); box-shadow: 5px 5px 0 var(--ember); padding: 18px 20px 20px; margin: 28px 0 0; background: var(--cream); }
.blurb-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.blurb-h span { font-family: var(--mono); font-size: 12.5px; color: var(--cellar); }
.blurb p { margin: 0; font-size: 16px; }

.art { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px 22px; }
.art .well { aspect-ratio: 16 / 9; display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--deep); background: var(--night); overflow: hidden; }
.art .well.checker { background: repeating-conic-gradient(#1D2B53 0 25%, #111D35 0 50%) 0 0 / 16px 16px; }
.art .well img { width: 100%; image-rendering: pixelated; display: block; }
.art .well.checker img { width: 84%; }
.art figcaption { font-size: 14.5px; }
.files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }

.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 6px 0 22px; }
.mail code { font-family: var(--mono); font-size: clamp(16px, 2.6vw, 22px); color: var(--yellow); user-select: all; overflow-wrap: anywhere; }

/* ================= footer ================= */
.foot {
  max-width: var(--wrap); margin: 0 auto; padding: 26px var(--pad) 70px;
  font-family: var(--mono); font-size: 12.5px; color: var(--night);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: var(--night); }

/* ================= responsive ================= */
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .changes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --pad: 26px; }
  .mast { padding-top: 30px; }
  .plate { border-left: 0; border-right: 0; box-shadow: none; }
  .modes { grid-template-columns: minmax(0, 1fr); }
  .mode, .mode:nth-child(2n) { padding: 20px 0 22px; border-left: 0; }
  .bar-in { flex-wrap: nowrap; gap: 12px; }
  .bar-mark { display: none; }
  .nav { flex-wrap: nowrap; overflow-x: auto; min-width: 0; gap: 16px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; flex: none; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 460px) {
  :root { --pad: 16px; }
  body { font-size: 16px; }
  .wordmark { max-width: 250px; }
  .plaque { font-size: 12.5px; }
  .plaque span { padding: 9px 10px; }
  .ramp b { height: 8px; }
  .ridge { height: 34px; }
  .reg a { flex-wrap: wrap; gap: 4px 10px; }
  .reg-dots { display: none; }
  .reg-name { flex: 1 1 100%; font-size: 21px; }
  .clock-u { min-width: 54px; padding: 8px 10px; }
  .clock-k { flex: 1 1 100%; border-right: 0; border-bottom: 2px solid var(--cream); }
  .clock.live .clock-k { border-bottom: 0; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.bar :focus-visible, .mast :focus-visible, .dark :focus-visible { outline-color: var(--rind); }

/* home: the wordmark is the h1, and the lede leads */
.mast-h1 { margin: 0; line-height: 0; }
.mast-lede.big { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.5; margin-top: 26px; max-width: 52ch; }

/* ================= FAQ ================= */
.toc { padding: 40px 0 6px; }
.toc-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--night); padding-bottom: 10px; }
.toc-h h2 { font-family: var(--disp); font-weight: 700; font-size: 26px; margin: 0; line-height: 1; }
.toc-h span { font-family: var(--mono); font-size: 12.5px; color: var(--cellar); }
.toc ul { list-style: none; margin: 14px 0 0; padding: 0; columns: 2; column-gap: 40px; }
.toc li { break-inside: avoid; margin: 0 0 1px; }
.idx { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--night); font-size: 15px; line-height: 1.45; padding: 3px 4px 3px 0; }
.idx-dots { flex: 1 1 auto; min-width: 8px; height: 1px; align-self: center; color: var(--cellar); opacity: .55; background-image: conic-gradient(currentColor 25%, #0000 0); background-size: 2px 2px; }
.idx-n { font-family: var(--mono); font-size: 12px; color: var(--cellar); flex: none; }
.idx:hover .idx-name { text-decoration: underline; }
.toc-end { border-top: 2px solid var(--night); margin-top: 14px; }

.qa { max-width: 68ch; margin: 0 0 30px; }
.qa:last-child { margin-bottom: 0; }
.qa h3 { font-family: var(--body); font-weight: 700; font-size: 19px; line-height: 1.35; margin: 0 0 8px; padding-left: 22px; position: relative; scroll-margin-top: calc(var(--barh) + 16px); }
.qa h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--ember); }
.qa p { margin: 0 0 12px; padding-left: 22px; }
.qa p:last-child { margin-bottom: 0; }
.qa ul { margin: 6px 0 0; padding: 0 0 0 22px; list-style: none; }
.qa li { position: relative; padding: 0 0 12px 22px; margin: 0 0 12px; border-bottom: 1px solid rgba(73,51,59,.22); }
.qa li:last-child { border-bottom: 0; margin-bottom: 0; }
.qa li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border: 2px solid var(--ember); }
.qa a { color: var(--night); }

.glance { margin: 0 0 18px; }
.yours { display: inline-block; margin: 4px 0 18px 22px; font-family: var(--mono); font-size: 14px; background: var(--night); color: var(--cream); padding: 10px 14px; box-shadow: 4px 4px 0 var(--rind); }
.yours b { color: var(--yellow); font-weight: 500; }

.tbl-wrap { overflow-x: auto; margin: 4px 0 16px 22px; max-width: 640px; }
table.times { border-collapse: collapse; width: 100%; font-size: 15px; }
.times th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--cellar); padding: 0 12px 8px 0; border-bottom: 2px solid var(--night); }
.times td { padding: 8px 12px 8px 0; border-bottom: 1px solid rgba(73,51,59,.22); vertical-align: top; }
.times td:nth-child(2), .times td:nth-child(3) { font-family: var(--mono); font-size: 13.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.times tr.home td { background: var(--night); color: var(--cream); }
.times tr.home td:first-child { padding-left: 8px; }
.times tr.next td:nth-child(3) { color: var(--ember); }

.mode-list { list-style: none; margin: 6px 0 14px 22px; padding: 0; border-top: 2px solid var(--night); }
.mode-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid rgba(73,51,59,.22); }
.mode-list b { font-family: var(--disp); font-weight: 700; font-size: 22px; line-height: 1.15; }
@media (max-width: 760px) {
  .toc ul { columns: 1; }
  .mode-list li { grid-template-columns: minmax(0, 1fr); }
}
.qa .mode-list li { padding: 12px 0; margin: 0; }
.qa .mode-list li::before { display: none; }

/* contact rows (dark sections) */
.contact-list { display: grid; gap: 0; margin: 4px 0 26px; max-width: 620px; border-top: 2px solid var(--rind); }
.contact-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,241,232,.18); }
.contact-k { font-family: var(--mono); font-size: 12.5px; color: var(--sky); text-transform: uppercase; letter-spacing: .08em; }
.contact-v { font-family: var(--mono); font-size: clamp(15px, 2.2vw, 19px); color: var(--yellow) !important; overflow-wrap: anywhere; text-decoration: none; }
a.contact-v:hover { text-decoration: underline; }
@media (max-width: 460px) { .contact-row { grid-template-columns: minmax(0, 1fr) auto; } .contact-k { grid-column: 1 / -1; } }

/* cream buttons sitting on the cream plate need an ink outline to read as buttons */
.plate .btn:not(.go):not(.ghost) { border-color: var(--ink); }

/* ================= Bladimir's icons & emblems ================= */
.mode { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; align-items: start; }
.mode-ic { width: 64px; height: 64px; image-rendering: pixelated; background: var(--night); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--deep); box-sizing: content-box; margin-top: 2px; }

.guilds { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); gap: 28px; margin-top: 8px; }
.bloc { min-width: 0; }
.bloc-h { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cellar); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--night); }
.bloc.indep .bloc-h { border-bottom-style: dashed; }
.bloc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.bloc.indep .bloc-row { grid-template-columns: minmax(0, 1fr); }
.guild { display: grid; gap: 10px; align-content: start; }
.guild img { width: 128px; height: 128px; image-rendering: pixelated; display: block; }
.guild h3 { font-family: var(--disp); font-weight: 700; font-size: 25px; line-height: 1.05; margin: 0; }
.guild-k { font-family: var(--mono); font-size: 12px; color: var(--cellar); margin: 4px 0 8px; display: flex; align-items: center; gap: 7px; }
.guild-k i { width: 9px; height: 9px; display: inline-block; flex: none; }
.guild p:last-child { margin: 0; font-size: 15px; line-height: 1.5; }

@media (max-width: 960px) {
  .guilds { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .bloc-row, .bloc.indep .bloc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .bloc-row, .bloc.indep .bloc-row { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .guild { grid-template-columns: 128px minmax(0, 1fr); gap: 16px; align-items: start; }
}
.lost-ic { width: 64px; height: 64px; image-rendering: pixelated; display: block; margin: 26px 0 0; }
