/* ============================================================
   DEUSOVIS IV - the 2004 skin for the home page (index.html)
   The uo.jolt.co.uk layout of 2004, rebuilt from its archived HTML
   (web.archive.org, 21 May 2004) and its own "gray_orange" template
   art in Images/retro/. Colours are sampled from that capture.
   Loaded after style.css.
   ============================================================ */

/* Layout: the 2004 uo.jolt.co.uk page widened 35% for modern monitors: a 1012px shell
   (750 x 1.35) with columns 175 | 640 | 175 inside 4px padding and 6px gutters. Every colour below was
   sampled from the archived page; the fixed-width template strips are sliced with
   border-image so their end caps stay pixel-exact while the middle stretches. */
:root {
  --page: #000000;
  --shell: #333333;      /* main table, sidebars, poll and stats areas (sampled) */
  --shell-edge: #666666; /* main table border, header rule (sampled) */
  --black: #000000;      /* top nav, menu rows, menu heads, news head and foot (sampled) */
  --news: #5E4230;       /* news body (sampled, = the table's bgcolor) */
  --text: #CCCCCC;
  --link: #CF8806;
  --link-hot: #FFFF99;
  --white: #FFFFFF;
  --foot: #999999;       /* footer copyright (sampled) */
  --font: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --ground: #0a0805;     /* deusovis4.com's --bg-darker, under its crumpled-parchment tile */
  color-scheme: dark;
}
/* The base site's own page background (css/style.css body): two faint gold glows over
   Images/background2.jpg tiled at 220px. */
html { background: var(--ground); }
body {
  background-color: var(--ground);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139,105,20,0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(139,105,20,0.06), transparent 70%),
    url(../Images/background2.jpg);
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 220px;
  background-attachment: fixed, fixed, fixed;
  min-height: 100vh;
}
#site { box-shadow: 0 0 0 1px #000, 0 6px 30px rgba(0,0,0,.7); }
body { margin: 0; color: var(--text); font: 12px/1.45 var(--font); padding-block: 16px 28px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--link); font-size: 11px; font-weight: bold; text-decoration: none; }
a:hover, a:active { color: var(--link-hot); }
a:focus-visible, button:focus-visible { outline: 1px dotted var(--link-hot); outline-offset: 2px; }
a.off { color: #7d6a4f; cursor: not-allowed; }
b { color: var(--white); }

#site { width: 1012px; margin: 0 auto; background: var(--shell); border: 1px solid var(--shell-edge); box-sizing: border-box; }

/* sliced template strips */
.slice { border-style: solid; border-color: transparent; box-sizing: border-box; }
.ctop, .cbot { height: 8px; border-width: 0 14px 0 64px; }
.ctop { border-image: url(../Images/retro/ctop.gif) 0 14 0 64 fill / 0 14px 0 64px stretch; }
.cbot { border-image: url(../Images/retro/cbot.gif) 0 14 0 64 fill / 0 14px 0 64px stretch; }
.rtop { height: 14px; border-width: 0 10px; border-image: url(../Images/retro/rnav_top.gif) 0 10 fill / 0 10px stretch; }
.rbot { height: 8px; border-width: 0 10px; border-image: url(../Images/retro/rnav_bot.gif) 0 10 fill / 0 10px stretch; }
.rdiv { height: 9px; border-width: 0 10px; border-image: url(../Images/retro/snav_div.gif) 0 10 fill / 0 10px stretch; }
.hline { height: 3px; margin: 7px 8px 5px; background: url(../Images/retro/hline.gif) repeat-x; }

/* ── header ── */
.head { background: var(--black); padding: 1px; display: grid; gap: 1px; }
.jnet { height: 22px; display: grid; grid-template-columns: 1fr 220px; align-items: center; background: var(--shell); border-top: 1px solid var(--shell-edge); }
.jnet .stats { font-size: 10px; white-space: nowrap; padding-left: 10px; }
.jnet .stats a { font-size: 10px; }
.netlogo { height: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(#717171, #5c5c5c 20%, #555 35%, #464646 45%, #3f3f3f 60%, #353535 90%, #242424); font: italic 900 13px/1 'Arial Black', Arial, sans-serif; color: #8a9cc0; text-shadow: 1px 1px 0 #101318; }
.netlogo i { width: 36px; height: 5px; background: linear-gradient(90deg, transparent, #c86a10 30%, #ffd060 55%, #c86a10 75%, transparent); transform: skewX(-35deg); }
.banner { width: 1008px; height: 101px; display: block; background: #2a2a2a; }
.tnav { height: 32px; display: grid; grid-template-columns: 6px 1fr 6px; align-items: center; background: var(--black); }
.tnav img { width: 6px; height: 28px; display: block; }
.tnav ul { list-style: none; margin: 0; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; }
.tnav li { display: flex; align-items: center; }
.tnav li a { font-size: 11px; letter-spacing: .3px; }
.tnav .div { width: 4px; height: 13px; background: url(../Images/retro/tnav_div.gif); }

/* ── columns ── */
.cols { display: grid; grid-template-columns: 175px 640px 175px; gap: 6px; padding: 6px 4px 4px; align-items: start; }

/* left nav: black rows, 1px gaps of the shell between them */
.lnav { background: var(--black); padding-bottom: 4px; }
.lnav h4 { margin: 0; height: 22px; display: flex; align-items: center; gap: 4px; padding-left: 3px; font-size: 12px; color: var(--white); background: var(--black); border-top: 1px solid var(--shell); }
.lnav h4:first-child { border-top: 0; }
.lnav h4::before { content: ""; width: 9px; height: 13px; background: url(../Images/retro/lnav_h1bul.gif); }
.lnav ul { list-style: none; margin: 0; padding: 0; }
.lnav li { height: 21px; border-top: 1px solid #111; display: flex; align-items: center; }
.lnav li::before { content: ""; width: 6px; height: 9px; margin: 0 8px 0 7px; background: url(../Images/retro/lnav_arrow.gif); }
.lnav li a { font-size: 11px; }

/* the grey side box */
.rbox { background: var(--shell); margin-top: 16px; }
.rbox h5 { margin: 0; height: 24px; display: flex; align-items: center; padding-left: 22px; font-size: 12px; color: var(--white); }
.rbox .body { padding: 6px 8px; }
.rbox p { margin: 0 0 12px; }
.rbox ul { list-style: none; margin: 0; padding: 2px 6px 8px 6px; display: grid; gap: 3px; }
.rbox li { display: grid; grid-template-columns: 14px 1fr; align-items: start; line-height: 1.3; }
.rbox li::before { content: ""; width: 9px; height: 9px; margin-top: 2px; background: url(../Images/retro/arrow_gray1.gif); }
.rbox .gap { height: 14px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; padding: 4px 10px 8px 22px; font-size: 11px; }
.kv span:nth-child(even) { color: var(--link); font-weight: bold; text-align: right; font-variant-numeric: tabular-nums; }

.button { background: #424242; border: 3px ridge #333333; color: var(--link); font: bold 11px var(--font); padding: 2px 9px; cursor: pointer; display: inline-block; }
.button:hover { color: var(--link-hot); }

/* progress bars in the template's own copper */
.prog { padding: 2px 10px 7px; font-size: 11px; }
.prog .row { display: flex; justify-content: space-between; }
.prog .row span:last-child { color: var(--link); font-weight: bold; }
.bar { display: block; height: 8px; margin-top: 3px; background: #1b1b1b; border: 1px solid #000; box-shadow: 0 1px 0 #4a4a4a; }
.bar i { display: block; height: 100%; background: linear-gradient(#e3995e, #b8622d 45%, #7a3414); }

/* centre */
.centre { display: grid; gap: 8px; }
.bigprog { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 6px 10px 7px; background: var(--black); border-left: 1px solid #555; border-right: 1px solid #555; text-decoration: none; }
.bigprog .lbl { font: bold 9px var(--font); color: var(--white); letter-spacing: 1px; }
.bigprog .pct { grid-row: span 3; font: italic 900 29px/1 'Arial Black', Arial, sans-serif; color: var(--link); text-shadow: 1px 1px 0 #3a1c00; }
.bigprog .bar { height: 9px; }
.bigprog .sub { font-size: 8px; color: var(--foot); font-weight: normal; }
.bigprog:hover .pct { color: var(--link-hot); }

.frame { background: var(--black); padding: 1px; display: grid; gap: 1px; }
.chead { height: 22px; display: flex; align-items: center; gap: 7px; padding-left: 12px; font-size: 11px; font-weight: bold; color: var(--link); background: var(--black); }
.chead::before { content: ""; width: 9px; height: 9px; background: url(../Images/retro/bul_orange2.gif); }
.chead.empty::before { display: none; }
.cbody { background: var(--news); padding: 8px 10px; }

.item { padding: 3px 6px; }
.item .meta { display: flex; flex-wrap: wrap; align-items: center; font-size: 11px; }
.item .meta::before { content: ""; width: 9px; height: 9px; margin-right: 8px; background: url(../Images/retro/bul_orange1.gif); }
.item .meta .sep { padding: 0 9px; }
.item .meta sup { font-size: 8px; }
.item .text { padding: 7px 4px 0 17px; line-height: 1.38; text-align: justify; max-width: 72ch; }
.item .text p { margin: 0 0 8px; }
.item .text .lead { font-weight: bold; color: var(--white); }
.item .more { display: flex; justify-content: flex-end; align-items: center; gap: 4px; padding: 0 4px; }
.item .more::after { content: ""; width: 9px; height: 9px; background: url(../Images/retro/arrow_gray1.gif); }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 7px 6px 2px; font-size: 10px; }
.pager a { font-size: 10px; }
.pager .nav { display: flex; gap: 4px; align-items: center; }
.pager .arr { width: 9px; height: 9px; background: url(../Images/retro/arrow_gray1.gif); }
.pager .arr.back { transform: scaleX(-1); }

.tracks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 12px; padding: 6px 4px 10px 12px; }
.tracks .prog { padding: 0; }
.phase { padding: 6px 8px; }
.phase h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--white); }
.phase h3::before { content: ""; width: 9px; height: 9px; background: url(../Images/retro/bul_orange1.gif); }
.phase h3 small { font-size: 10px; color: var(--text); font-weight: normal; opacity: .75; }
.phase ul { list-style: none; margin: 0 0 0 17px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 18px; }
.phase li { line-height: 1.4; }
.phase li b, .phase li a { font-size: 11px; }
.phase li .d { display: block; font-size: 11px; color: var(--text); }
.tag { display: inline-block; font-size: 8px; font-weight: bold; letter-spacing: .5px; padding: 0 3px; margin-right: 5px; border: 1px solid; vertical-align: 1px; }
.tag.done { color: #9fd38a; border-color: #4f7a3f; background: #22301c; }
.tag.now { color: #ffd27a; border-color: #8a6420; background: #3a2a0e; }
.tag.next { color: #b9c6dc; border-color: #4e5b72; background: #232a36; }
.tag.later { color: #b0a493; border-color: #5e5446; background: #2b2620; }

/* right column */
.potw { width: 132px; height: 114px; margin: 0 auto; background: url(../Images/retro/potw-frame.gif); display: grid; justify-items: center; align-content: start; padding-top: 16px; box-sizing: border-box; }
.potw img { width: 110px; height: 81px; object-fit: cover; display: block; }
.potw-cap { text-align: center; font-weight: bold; color: var(--white); margin: 5px 0 0; }
.potw-sub { text-align: center; font-size: 10px; }
.mapbtn { display: block; width: 160px; height: 60px; margin: 16px auto 4px; border: 1px solid #000; }
.mapbtn canvas { display: block; }

/* footer */
.bnav { background: var(--black); padding: 1px; margin-top: 4px; }
.bnav .bar19 { height: 22px; display: grid; grid-template-columns: 220px 1fr; align-items: center; background: var(--black); }
.bnav small { font: 10px Arial, Helvetica, sans-serif; color: var(--foot); padding-left: 12px; }
.snap { width: 1012px; margin: 8px auto 0; color: #666; font-size: 10px; text-align: center; }


/* ════════════════════════════════════════════════════════════════════════
   Live-site layer. Everything above is the frame as designed; below are the
   pieces the real site needs on top of it.
   ════════════════════════════════════════════════════════════════════════ */

/* 1. The design tokens style.css uses everywhere, remapped to the 2004 palette,
   so every page pages.js renders (Rules, FAQ, Staff, Support, Downloads...)
   picks up Verdana, square corners and the template's greys without a rule of
   its own. Mirrors css/retro-wiki.css. */
body.retro, :root[data-font='ultima'] body.retro, :root[data-font='ingame'] body.retro {
  --bg-dark: #2a2a2a;
  --bg-darker: #0a0805;
  --bg-panel: #5E4230;
  --bg-panel-alt: #4f3727;
  --bg-panel-soft: #563c2b;
  --bg-header: #000000;
  --border-dark: #2b1f15;
  --border-highlight: #666666;
  --border-glow: #7a5c42;
  --accent-gold: #E2D3B0;
  --accent-light: #F3E7C8;
  --text-main: #D6CEC0;
  --text-light: #FFFFFF;
  --text-muted: #B3A893;
  --text-dim: #9a9a9a;
  --text-link: #CF8806;
  --text-link-hover: #FFFF99;
  --font-display: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --font-heading: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --font-accent: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --font-main: Verdana, Geneva, Arial, Helvetica, sans-serif;
  --shadow-panel: none;
  --shadow-soft: none;
  --shadow-glow: none;
  --link-glow: none;
  --radius: 0;
  --radius-lg: 0;
  --noise: none;
}

/* 2. The reused shell classes main.js looks for, stripped of their modern look
   (and of their phone-width rules: the frame zooms instead). */
body.retro #site .top-bar { display: grid; grid-template-columns: 1fr 220px; flex-direction: row; gap: 0; padding: 0; height: 22px; font-size: 10px; background: var(--shell); border-bottom: 0; border-top: 1px solid var(--shell-edge); position: static; }
body.retro #site .top-bar::after { content: none; }
body.retro #site .top-bar-status { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; padding-left: 10px; white-space: nowrap; }
body.retro #site .top-bar .status-item { gap: 4px; }
body.retro #site .top-bar .stat-label { color: var(--white); font-weight: bold; text-transform: none; letter-spacing: 0; font-size: 10px; }
body.retro #site .top-bar .stat-highlight { color: var(--link); font-weight: bold; font-size: 10px; letter-spacing: 0; text-decoration: none; }
body.retro #site .top-bar a.stat-highlight:hover { color: var(--link-hot); }
body.retro #site .server-status-dot { width: 7px; height: 7px; box-shadow: none; margin-right: 2px; }
body.retro #site .status-item-siege, body.retro #site .status-item-siege .stat-label { font: bold 10px var(--font); letter-spacing: 0; }
body.retro #site .top-bar-actions { display: flex; gap: 6px; justify-content: center; flex-wrap: nowrap; }

body.retro .retro-head { background: var(--black); padding: 0 1px 1px; display: grid; gap: 1px; }
body.retro #site .main-nav { position: static; top: auto; z-index: auto; box-shadow: none; border-bottom: 0; background: var(--black); }
body.retro #site .main-nav::before { content: none; }
body.retro #site .main-nav ul { flex-direction: row; flex-wrap: nowrap; justify-content: space-between; gap: 0; padding: 0 90px; }  /* links pulled toward the middle (owner 2026-11-08) */
body.retro #site .main-nav a { display: inline; padding: 0; border: 0; font: bold 11px var(--font); letter-spacing: .3px; text-transform: none; color: var(--link); transform: none; text-align: left; }
body.retro #site .main-nav a::after { content: none; }
body.retro #site .main-nav a:hover { color: var(--link-hot); transform: none; }
body.retro #site .main-nav a.active { color: var(--link-hot); }
body.retro #site .main-nav a.off { color: #7d6a4f; }

body.retro #site .lnav a.active { color: var(--link-hot); }
body.retro #site .lnav a.off { color: #7d6a4f; cursor: not-allowed; }

body.retro #site .content-wrapper { padding: 0; flex: none; background: none; }
body.retro #site .main-content { background: none; border: 0; border-radius: 0; min-height: 0; box-shadow: none; overflow: visible; padding: 0; transition: opacity .18s; }
body.retro #site .main-content::before { content: none; }
body.retro #site .main-content > * { position: static; }
body.retro #site .main-content > * + * { margin-top: 8px; }

body.retro #site .site-footer { padding: 0; margin-top: 4px; text-align: left; font-size: 10px; background: var(--black); border-top: 0; }
body.retro #site .site-footer::before { content: none; }
body.retro #site .site-footer small a { font: bold 10px var(--font); letter-spacing: 0; text-transform: none; color: var(--link); margin-left: 6px; }
body.retro #site .footer-prefs { display: none; }   /* the 2004 skin pins Verdana */
body.retro .back-to-top { border-radius: 0; background: #424242; border: 3px ridge #333; color: var(--link); }

body.retro .rbox .center { text-align: center; }
body.retro .side-tracks { padding: 4px 0; }

/* 3. The overall-progress box (main.js initHeroProgress fills it) */
body.retro #site .hero-progress { background: none; border: 0; padding: 0; margin-bottom: 8px; }
body.retro #site .hero-progress[hidden] { display: none; }
body.retro #site .hero-progress-bar { display: block; flex: none; order: 0; height: 9px; margin-top: 3px; background: #1b1b1b; border: 1px solid #000; border-radius: 0; box-shadow: 0 1px 0 #4a4a4a; position: static; }
body.retro #site .hero-progress-bar::after { content: none; }
body.retro #site .hero-progress-fill { display: block; height: 100%; background: linear-gradient(#e3995e, #b8622d 45%, #7a3414); box-shadow: none; transition: width 1.2s ease; }
body.retro #site .hero-progress-pct { min-width: 0; font: italic 900 29px/1 'Arial Black', Arial, sans-serif; color: var(--link); text-shadow: 1px 1px 0 #3a1c00; }

/* 4. The news panel's posts (retro-home.js) */
body.retro .news-empty { margin: 4px 8px; color: var(--muted, #9a9a9a); }
body.retro .item .meta .who { color: var(--link); font-weight: bold; }

/* 5. The roadmap, inside the brown panel, kept compact (owner 2026-11-05:
   "smaller, tidier, more minimalistic"). The four tracks are one line of
   name + percentage (their bars already sit in the sidebar and the progress
   box above), and the board is four short columns of leads only; each item's
   detail sentence is its tooltip (main.js sets title=). Markup from main.js. */
body.retro #site .roadmap { border: 0; margin-top: 8px; }
body.retro #site .roadmap[hidden] { display: none; }
body.retro #site .roadmap-body { padding: 6px 12px 10px; }
body.retro #site .roadmap-tracks { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin: 0 0 8px; padding: 0 0 6px; border: 0; background: url(../Images/retro/hline.gif) left bottom repeat-x; font-size: 10px; }
body.retro #site .roadmap-tracks-head { display: contents; }
body.retro #site .roadmap-tracks-head .dev-track-cat { display: none; }
body.retro #site .roadmap-tracks-overall { order: 2; margin-left: auto; color: var(--text-main); }
body.retro #site .roadmap-tracks-overall b { color: var(--link); }
body.retro #site .dev-tracks { display: flex; flex-wrap: wrap; gap: 2px 12px; order: 1; }
body.retro #site .dev-track { display: block; }
body.retro #site .dev-track-head { display: flex; gap: 4px; font-size: 10px; }
body.retro #site .dev-track-name { color: var(--text-main); text-transform: none; letter-spacing: 0; font-size: 10px; font-weight: normal; }
body.retro #site .dev-track-pct { color: var(--link); font-weight: bold; font-size: 10px; }
body.retro #site .roadmap-tracks .dev-track-note,
body.retro #site .roadmap-tracks .dev-progress-bar { display: none; }
body.retro #site .roadmap-board { display: grid; grid-template-columns: repeat(var(--roadmap-cols, 4), minmax(0, 1fr)); gap: 8px 12px; }
body.retro #site .roadmap-col { background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
body.retro #site .roadmap-col-head { display: block; margin: 0 0 4px; padding: 0 0 3px; border-bottom: 1px solid #7a5c42; background: none; }
body.retro #site .roadmap-col-icon { display: none; }
body.retro #site .roadmap-col-head h3 { display: inline; margin: 0; font: bold 11px var(--font); color: var(--white); letter-spacing: 0; text-transform: none; }
body.retro #site .roadmap-col-label { margin-left: 4px; font-size: 9px; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
body.retro #site .roadmap-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
body.retro #site .roadmap-items li { margin: 0; padding: 0 0 0 11px; position: relative; font-size: 10px; line-height: 1.35; border: 0; background: none; }
body.retro #site .roadmap-items li::before { content: ""; position: absolute; left: 0; top: 3px; width: 9px; height: 9px; border: 0; border-radius: 0; background: url(../Images/retro/arrow_gray1.gif); }
/* Shipped items carry a tick, not an arrow: the tone reads by shape, never by colour alone. */
body.retro #site .roadmap-col-done .roadmap-items li::before { content: "\2713"; top: 0; width: auto; height: auto; background: none; color: var(--link); font: bold 10px/1.35 var(--font); }
body.retro #site .roadmap-items li > a, body.retro #site .roadmap-items li > b { display: inline; font: bold 10px var(--font); color: var(--link); }
body.retro #site .roadmap-items li > b { font-weight: normal; color: var(--text-main); }
body.retro #site .roadmap-items li > span { display: none; }

/* 6. The other pages pages.js renders (Rules, FAQ, Staff, Support...): drawn in
   the same brown panel, with the black bar and the dotted rule. */
body.retro #site .main-content > .page-content,
body.retro #site .main-content > .breadcrumb { background: var(--news); border: 1px solid #000; padding: 12px 16px; }
body.retro #site .main-content > .breadcrumb { background: #000; padding: 4px 12px; font-size: 11px; color: #999; }
body.retro #site .main-content > .breadcrumb + .page-content { margin-top: 0; border-top: 0; }
body.retro #site .page-content h1 { font: bold 18px var(--font); color: var(--white); padding-bottom: 8px; margin: 0 0 10px; border: 0; background: url(../Images/retro/hline.gif) left bottom repeat-x; letter-spacing: 0; text-transform: none; }
body.retro #site .page-content h2, body.retro #site .page-content h3 { font-family: var(--font); color: var(--white); letter-spacing: 0; text-transform: none; }
body.retro #site .page-content p, body.retro #site .page-content li { font-size: 12px; color: var(--text-main); }
body.retro #site .page-content a { color: var(--link); font-weight: bold; }
body.retro #site .page-content a:hover { color: var(--link-hot); text-shadow: none; }
body.retro #site .btn { border-radius: 0; font: bold 11px var(--font); letter-spacing: 0; text-transform: none; background: #424242; border: 3px ridge #333; color: var(--link); box-shadow: none; }
body.retro #site .btn:hover { color: var(--link-hot); }

/* 7. The footer link row (Wiki, map, combat, status, Discord, Admin), on the
   black bar under the copyright line, in the template's link colour. */
body.retro #site .site-footer .footer-links { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 0; padding: 5px 10px 6px; border: 0; border-top: 1px solid #222; }
body.retro #site .site-footer .footer-links a { display: inline-flex; align-items: center; gap: 4px; font: bold 10px var(--font); letter-spacing: 0; text-transform: none; color: var(--link); }
body.retro #site .site-footer .footer-links a:hover { color: var(--link-hot); }
body.retro #site .site-footer .footer-links .icon-inline { width: 11px; height: 11px; }
body.retro #site .main-nav a.top-link-discord { text-transform: uppercase; }

/* ════════════════════════════════════════════════════════════════════════
   Phones (2026-11-02). Below 760px the fixed 1012px frame is no longer zoomed
   out (js/retro-home.js fit() stops at 760) — at that scale the text was
   ~4px tall. Instead the three columns stack, the page's own content first,
   the menu wraps, and text and tap targets go back to readable sizes. The
   look (greys, black bars, copper links, brown news) is unchanged.
   ════════════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  body { padding: 8px 8px 20px; font-size: 13px; }
  a { font-size: 13px; }
  #site { width: auto; }
  .banner { width: 100%; height: auto; }

  body.retro #site .top-bar { grid-template-columns: 1fr; height: auto; padding: 4px 0; }
  body.retro #site .top-bar-status { flex-wrap: wrap; white-space: normal; row-gap: 3px; padding: 0 8px; }
  body.retro #site .top-bar-actions { display: none; }

  .tnav, body.retro #site .main-nav { height: auto; grid-template-columns: 1fr; }
  .tnav img, .tnav .div, body.retro #site .main-nav li.div { display: none; }
  body.retro #site .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 2px 4px; padding: 6px 4px; }
  body.retro #site .main-nav a { display: inline-block; padding: 7px 8px; font-size: 12px; }

  .cols { grid-template-columns: minmax(0, 1fr); padding: 6px 4px 4px; }
  .cols > .centre { order: -1; }                 /* what you came for, first */
  .lnav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .lnav li { height: 34px; }
  .lnav li a { font-size: 12px; }
  .rbox { margin-top: 8px; }

  .bigprog .pct { font-size: 24px; }
  .item .text { padding-left: 0; text-align: left; max-width: none; }
  .item .text p, .item .meta { font-size: 13px; }
  .tracks { grid-template-columns: 1fr 1fr; }
  .phase ul { grid-template-columns: 1fr; margin-left: 0; }
  body.retro #site .roadmap-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
  body.retro #site .roadmap-items li, body.retro #site .roadmap-items li > a, body.retro #site .roadmap-items li > b { font-size: 12px; }
  body.retro #site .roadmap-tracks { font-size: 12px; }
  body.retro #site .dev-track-name, body.retro #site .dev-track-pct { font-size: 12px; }
  .potw, .mapbtn { margin-left: auto; margin-right: auto; }

  .bnav .bar19 { grid-template-columns: 1fr; height: auto; padding: 4px 0; }
  .snap { width: auto; }

  /* pages.js content (Rules, FAQ, Downloads…) and any wide table scroll sideways inside the panel */
  .main-content { overflow-x: auto; }
  .main-content table { font-size: 12px; }
}
