/*
  OldSchool Conquer website.

  Dark from top to bottom, in midnight blue-black (owner, 2026-10-17). The logo is gold and
  the dragon gold and red; on the old maroon and brown, warm on warm, the logo sank into the
  page. A cool ground is what makes the warm colours stand out, so every surface is a shade
  of night blue and the only warm colours are the two taken from the logo: gold for rules,
  headings, links and buttons, and the dragon's red for the ribbons and hot items. There is
  no brown or maroon anywhere, by the owner's word.

  Depth, after TQ's own site (owner, 2026-10-18: the flat navy cards "too flat"). Side panels
  are smoked glass in a cool metal frame, the reading panels (.box) are ivory like TQ's news
  panel, and every button is the ember plate with gold diamond ends that glows on hover.
  Ornament is still taken from the reference, never invented.

  Before launch the public sees only the landing page (body.soon) and the About page; the
  rest of the site is kept for launch day (Services/PreLaunch.cs).
*/

/* The two typefaces are served from the site itself, never from Google's servers, so a
   visit tells no one else the visitor's address (owner, 2026-10-20). Latin and extended
   Latin, which cover Spanish and Portuguese; SIL Open Font License, wwwroot/fonts/OFL-*.txt. */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cinzel-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cinzel-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/spectral-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/spectral-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/spectral-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/spectral-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;

  /* The night: the page, the bar above the art and the header's own ramp. */
  --void: #0a0d14;
  --navbar: #080b11;
  --night-1: #0d1220;
  --night-2: #121a2c;
  --night-3: #1a2438;

  /* Surfaces, each one step lighter than the one it sits on. */
  --page: #0a0d14;
  --surface: #111826;
  --surface-hi: #1a2335;
  --surface-lo: #0e1420;
  --stripe: #0f1623;
  --hairline: #263249;
  --hairline-soft: #1c2639;

  /* Gold, from the logo's letters: rules, the active underline, headings, links. */
  --gold: #d5a656;
  --gold-hi: #f2ce70;
  --gold-line: #a8823f;
  --gold-sub: #c2a66e;

  /* The dragon's red: the ribbons and anything hot. Never a background for text. */
  --red-hi: #d8442a;
  --red: #b8321f;
  --red-deep: #641e1a;

  /* Text. Dates are grey-blue, as on the reference: a date is not an alarm. */
  --ink: #e9e4d8;
  --heading: #ecc978;
  --muted-ink: #8f9bb3;
  --link: #e5b860;
  --link-hover: #fff0c4;
  --date: #8f9bb3;
  --quick-link: #c3cad8;
  --footer: #6f7a91;

  --ok-bg: #12261a;
  --ok-ink: #a9d68e;
  --ok-line: #2c4a2a;
  --err-bg: #2a1214;
  --err-ink: #f2a499;
  --err-line: #5a2a26;
  --online: #5cc04a;
  --offline: #d0604f;
  --unknown: #7d8597;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --caps: "Cinzel", "Times New Roman", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: .18s;
  --hover-tint: rgba(213, 166, 86, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -10000px; top: 0; background: var(--gold); color: #000; padding: 6px 10px; z-index: 10; }
.skip:focus { left: 8px; }

.site { max-width: 1002px; margin: 0 auto; padding-inline: 16px; padding-block: 0 24px; }

/* ---------- The flat navigation bar above the art ---------- */
.topbar { background: var(--navbar); }
.topbar-in { max-width: 1002px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Header ----------
   Full-bleed and tall, the way the reference does it: the art owns the whole top of the
   page rather than sitting in a box inside the content column. It fades out at the bottom
   into the page colour instead of ending on an edge.

   The layout is TQ's (owner, 2026-10-17): the dragon at the top centre breathing down, and
   the logo dead centre in the dark valley beneath its fire. The logo must not sit on the
   fire itself: gold on flame is the one place it disappears. */
.header {
  /* --ay is where the picture is pinned when the header is shorter than it: 34% keeps the
     horns in and leaves the valley under the breath in view for the logo. */
  --hh: clamp(380px, 62vh, 640px); --ax: 50%; --ay: 34%;
  position: relative; height: var(--hh); overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--void) 0%, var(--night-1) 45%, var(--night-2) 78%, var(--night-3) 100%);
}
.header-in { position: relative; height: 100%; max-width: 1002px; margin: 0 auto; padding-inline: 16px; }

/* Banner artwork: one picture (img/hero/banner.webp, from comet/art/hero/dragon.png). The
   stage keeps the picture's shape and covers the header like object-fit: cover, anchored at
   (--ax, --ay), 28px oversize so the mouse's depth shift never shows an edge. */
.header-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.art-stage {
  position: absolute; left: var(--ax); top: var(--ay); aspect-ratio: 6336 / 2688;
  width: max(calc(100% + 28px), calc((var(--hh) + 28px) * 2.357));
  transform: translate(calc(-1 * var(--ax)), calc(-1 * var(--ay)));
  translate: var(--px, 0) var(--py, 0);
  transition: translate .8s var(--ease);
}
/* A slow push in towards the dragon's head, and back. It animates scale only: nothing here
   may animate a property that causes layout, or the header reflows sixty times a second. */
.art-zoom {
  position: absolute; inset: 0; transform-origin: 50% 25%;
  animation: hero-drift 32s ease-in-out infinite alternate;
}
.art-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
@keyframes hero-drift { from { scale: 1; } to { scale: 1.05; } }
.sparks {
  position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen;
  translate: var(--sx, 0) var(--sy, 0); transition: translate .8s var(--ease);
}
/* Darkened a little at the top under the menu bar, and faded out at the bottom into the
   page colour, so the header dissolves into the page instead of ending on a line. */
.header-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,20,.35) 0%, rgba(10,13,20,0) 20%, rgba(10,13,20,0) 74%,
    rgba(10,13,20,.6) 88%, var(--page) 100%);
}
/* Centred in the valley under the fire, above the fade. */
.brand {
  position: absolute; left: 50%; bottom: clamp(30px, 7vh, 80px); transform: translateX(-50%);
  display: grid; justify-items: center; text-decoration: none;
}
.brand:hover { text-decoration: none; }
/* The season, small in the top right corner of the screen, out in the sky beside the dragon. */
.season {
  position: absolute; top: clamp(14px, 3vh, 30px); right: clamp(16px, 4vw, 72px); margin: 0;
  display: grid; justify-items: end; gap: 3px;
}
.season small {
  font: 700 11px/1 var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-sub);
  text-shadow: 0 1px 4px rgba(5,7,12,.9);
}
.season img {
  display: block; width: clamp(110px, 13vw, 170px); height: auto;
  filter: drop-shadow(0 2px 8px rgba(5,7,12,.9));
}
.logo {
  display: block; width: clamp(240px, 34vw, 460px); height: auto; overflow: visible;
  filter: drop-shadow(0 3px 6px rgba(5,7,12,.75));
}
/* Plain text in a flat bar. No plate, no pill, no gradient, no diamonds. */
.nav { display: flex; flex-wrap: wrap; align-items: center; }
.nav a {
  position: relative; font-family: var(--sans); font-weight: 500; font-size: 13px; color: #ffffff;
  padding: 13px 11px; letter-spacing: .03em;
  transition: color var(--fast) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 8px; height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .2s var(--ease);
}
.nav a:hover { color: var(--gold-hi); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.subnav { display: flex; flex-wrap: wrap; align-items: center; font-size: 12px; }
.subnav a { color: var(--muted-ink); padding: 13px 9px; }
.subnav a:hover { color: #ffffff; text-decoration: none; }

/* ---------- Body ---------- */
.body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px; margin-top: 4px; align-items: start; }

.sidebar { display: grid; gap: 14px; align-content: start; }
/* ---------- The dock: TQ's three boxes under the banner ----------
   Server time on smoked glass, the season on a gold plate, then the big Download with the
   quick links. It rides up over the foot of the banner, the way the reference's does. */
.dock {
  position: relative; z-index: 2; max-width: 1002px; margin: -46px auto 18px; padding-inline: 16px;
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 12px;
}
.dock > * { min-height: 92px; }
.dock-time { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.dock-time svg { flex: none; width: 46px; height: 46px; color: #d9dfee; }
.dock-time .t { display: grid; gap: 2px; font-size: 12px; color: var(--quick-link); }
.dock-time .t b { font: 700 22px/1 var(--caps); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .04em; text-shadow: 0 0 10px rgba(160,190,255,.35); }
/* The gold plate. Parchment gold with a lit bevel, the one warm box of the three. */
.dock-season {
  position: relative; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 10px 14px;
  border-radius: 3px; text-align: center; color: #3a2508;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255,250,230,.75), transparent 60%),
    linear-gradient(135deg, #f3dca2 0%, #e2bd72 45%, #f0d595 70%, #c99a4c 100%);
  border: 1px solid #f6e2a8;
  box-shadow: inset 0 0 0 1px rgba(120,80,20,.55), inset 0 0 0 4px rgba(255,240,200,.35), 0 10px 26px rgba(0,0,0,.55);
}
.dock-season small { font: 700 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dock-season small b { display: inline-block; margin-right: 6px; padding: 1px 5px; background: #c0141a; color: #fff; border-radius: 2px; }
.dock-season strong { font: 700 20px/1.1 var(--caps); letter-spacing: .06em; }
.dock-season a { font: 700 11px var(--sans); color: #fff6e0; background: #9b6a2a; padding: 3px 14px; border-radius: 2px; }
.dock-season a:hover { background: #7f5520; color: #fff; text-decoration: none; }
.dock-go { display: flex; align-items: center; gap: 6px; padding: 10px 12px 10px 18px; }
.dock-go .btn-big { flex: none; padding-inline: 26px; }
.dock-go nav { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.dock-go nav a {
  display: grid; justify-items: center; gap: 5px; padding: 4px 2px; border-left: 1px solid rgba(160,172,200,.18);
  font: 700 11px/1.2 var(--sans); color: #eef1f8; text-align: center;
  transition: color var(--fast) var(--ease), text-shadow var(--fast) var(--ease);
}
.dock-go nav a:first-child { border-left: 0; }
.dock-go nav svg { width: 30px; height: 30px; }
.dock-go nav a:hover { color: var(--gold-hi); text-decoration: none; text-shadow: 0 0 10px rgba(242,206,112,.6); }

/* Smoked glass in a cool metal frame, TQ's server-time box: a light outer edge, a dark inner
   ply, a lit top line and a deep shadow, so the panel stands off the page. */
.panel, .quick, .glass {
  background: linear-gradient(180deg, rgba(38,45,64,.94) 0%, rgba(20,25,38,.96) 46%, rgba(11,14,22,.97) 100%);
  border: 1px solid #6b7590; border-radius: 3px; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(4,6,10,.85), inset 0 2px 0 rgba(255,255,255,.07),
    0 10px 26px rgba(0,0,0,.55);
}
.panel { overflow: hidden; }
.panel-title {
  margin: 0; padding: 10px 12px 8px; font-family: var(--caps); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--heading); border-bottom: 1px solid #3a4560;
  background: linear-gradient(180deg, #46506a 0%, #2b3247 48%, #1c2233 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,.8);
}
.panel .in { padding: 10px 12px; }
.panel a { color: var(--link); font-weight: bold; }
.panel a:hover { text-decoration: underline; }
.panel p { margin: 0 0 6px; }
.quiet { color: var(--muted-ink); font-size: 11px; }
.hot-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

.login { display: grid; gap: 5px; }
.login label { font-size: 11px; }
.login input {
  width: 100%; padding: 5px 7px; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 2px;
}
.login .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 3px; }
.login .links { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; }
.pow-status { font-size: 11px; opacity: .85; }
.welcome-back form { margin: 6px 0 0; }

/* One button, in two sizes: the ember plate of TQ's own Claim button (owner, 2026-10-18).
   A copper-red plate with a dark inner ply and a thin gold edge, a gold diamond sitting on
   each end, cream capitals; on hover it glows like a coal. .btn is the everyday size and
   .btn-big the large one for a page's main action.

   The diamonds are the two pseudo-elements, so a button must not set ::before or ::after
   for anything else, and it keeps overflow visible. */
.btn {
  position: relative; display: inline-block; cursor: pointer;
  font-family: var(--caps); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; text-align: center; color: #fbe9cc; padding: 8px 22px;
  background: linear-gradient(180deg, #d17a3a 0%, #b4562a 42%, #8e3b18 78%, #a2481e 100%);
  border: 1px solid #e3b067; border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(58,18,4,.55), inset 0 1px 0 3px rgba(255,214,160,.14),
    0 2px 5px rgba(0,0,0,.45);
  text-shadow: 0 1px 1px rgba(60,18,4,.8);
  transition: box-shadow .25s var(--ease), filter .25s var(--ease), color .25s var(--ease);
}
.btn::before, .btn::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px; rotate: 45deg;
  background: linear-gradient(135deg, #fff1c8 0%, #e7b866 55%, #a8742e 100%);
  border: 1px solid #6e4416; pointer-events: none;
}
.btn::before { left: -5px; translate: 0 -50%; }
.btn::after { right: -5px; translate: 0 -50%; }
.btn:hover, .btn:focus-visible {
  color: #fff8e8; text-decoration: none; filter: brightness(1.1) saturate(1.08);
  box-shadow: inset 0 0 0 2px rgba(58,18,4,.45), inset 0 1px 0 3px rgba(255,214,160,.22),
    0 0 10px rgba(255,150,60,.75), 0 0 26px rgba(255,112,32,.45), 0 0 52px rgba(255,90,20,.22);
  text-shadow: 0 0 8px rgba(255,214,150,.75), 0 1px 1px rgba(60,18,4,.8);
}
.btn:active { filter: brightness(.94); box-shadow: inset 0 0 0 2px rgba(58,18,4,.6), inset 0 2px 6px rgba(40,10,0,.5); }
/* The large size, for the one main action on a page. */
.btn-big { font-size: 14px; letter-spacing: .16em; padding: 13px 40px; }
.btn-big::before, .btn-big::after { width: 11px; height: 11px; }
.btn-big::before { left: -7px; }
.btn-big::after { right: -7px; }

.quick { padding: 12px; }
/* Sidebar module headings carry the same dotted rule, trailing only, so the rail reads
   as a stack of sections rather than one undivided column. */
.quick h2 {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0 5px; font-family: var(--caps); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--heading);
}
.quick h2::after {
  content: ""; flex: 1; height: 5px;
  background: radial-gradient(circle at 2.5px 50%, var(--gold-line) 1.1px, transparent 1.5px) repeat-x 0 50% / 6px 5px;
  opacity: .8;
}
.quick h2:first-child { margin-top: 0; }
.quick ul { list-style: none; margin: 0; padding: 0; }
.quick li a { font-family: var(--sans); font-size: 13px; line-height: 22px; color: var(--quick-link); }
.quick li a:hover { color: var(--gold-hi); }
.quick .stat { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 22px; color: var(--quick-link); font-variant-numeric: tabular-nums; }
.quick .stat b { color: var(--ink); font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; }
.dot-on { background: var(--online); box-shadow: 0 0 6px var(--online); }
.dot-off { background: var(--offline); }
.dot-unknown { background: var(--unknown); }

.main { display: grid; gap: 14px; align-content: start; }
.welcome { margin: 0; font-family: var(--serif); color: var(--ink); }
.welcome h1 { margin: 0; font-family: var(--caps); font-size: 22px; color: var(--heading); text-wrap: balance; }
.welcome p { margin: 2px 0 0; font-size: 14px; max-width: 70ch; }

/* Kept: other pages may still want a two-column block. The home page no longer does. */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.col { display: grid; gap: 10px; align-content: start; min-width: 0; }

/* ---------- Headlines ---------- */
/* The featured story sits a step lighter than the cards around it, so it still carries weight. */
.headlines {
  position: relative; border-radius: 3px; overflow: hidden; border: 1px solid #6b7590;
  box-shadow: inset 0 0 0 1px rgba(4,6,10,.85), 0 10px 26px rgba(0,0,0,.55);
}
/* The headline sits on a dim slice of the banner's sky, so it reads as part of the art. */
.slide {
  min-height: 170px; padding: 20px 18px 34px; color: var(--ink);
  background: linear-gradient(90deg, rgba(10,13,22,.94) 0%, rgba(10,13,22,.72) 55%, rgba(10,13,22,.35) 100%),
    url("../img/hero/banner-1600.webp") 70% 18% / 180% auto;
}
.slide.kind-event { background-color: #15292d; }
.slide.kind-maintenance { background-color: #1d2130; }
.slide-meta { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-sub); }
.slide h2 { margin: 6px 0 8px; font-family: var(--caps); font-size: 19px; line-height: 1.25; text-wrap: balance; }
.slide h2 a { color: var(--gold-hi); }
.slide p { margin: 0; max-width: 60ch; }
.dots { position: absolute; left: 18px; bottom: 12px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 1px solid var(--gold-sub); background: transparent; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }

/* ---------- Boxes and tabs ---------- */
/* A reading panel is ivory, like TQ's news panel, on the dark page. It redefines the colour
   tokens for everything inside it, so tabs, lists, tables, forms and prose turn dark on
   light without a rule of their own. */
.box {
  --ink: #2c2721; --heading: #6a4512; --muted-ink: #7b7266; --link: #2f2a24; --link-hover: #a5601a;
  --date: #77706a; --quick-link: #3d372f; --gold: #a9792e; --gold-hi: #9a5f12; --gold-line: #c09a55;
  --gold-sub: #8a6a34; --surface: #fbf8f1; --surface-hi: #f2e9d4; --surface-lo: #ffffff; --stripe: #f6f0e2;
  --hairline: #e1d4b6; --hairline-soft: #ece3cf; --hover-tint: rgba(176,138,72,.12);
  color: var(--ink); min-width: 0; overflow: hidden; border-radius: 4px;
  background: linear-gradient(180deg, #fdfbf6 0%, #f7f1e4 100%);
  border: 1px solid #f3e7c8;
  box-shadow: inset 0 0 0 1px rgba(160,124,60,.35), 0 12px 30px rgba(0,0,0,.5);
}
.box input { color-scheme: light; }
/* Tabs on the ivory panel are TQ's: large capitals, spread out, the chosen one on a gold
   brush stroke. */
.box > .tabs { justify-content: space-around; padding-top: 14px; }
.box > .tabs button { font: 500 15px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #3a342c; padding-bottom: 11px; }
.box > .tabs button[aria-selected="true"]::after {
  height: 7px; bottom: -3px; left: -6px; right: -6px; border-radius: 4px 1px 4px 1px;
  background: linear-gradient(90deg, rgba(176,138,72,.15), #b8914f 18%, #c9a35f 70%, rgba(176,138,72,.2));
}
/* Tabs are text with a rule beneath them; the active one carries a gold underline.
   No strip, no plate, no ornament. */
.box-title, .tabs {
  margin: 0; display: flex; align-items: flex-end; flex-wrap: wrap; gap: 2px;
  padding: 12px 14px 0; border-bottom: 1px solid var(--hairline);
}
/* A panel heading is centred between two dotted gold rules, which is how the reference
   divides a card. The rules are a repeating radial gradient, so they stay crisp at any
   zoom and recolour with the token. */
.box-title {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 13px 14px 11px; font-family: var(--caps); font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--heading); text-wrap: balance;
  background: linear-gradient(180deg, var(--surface-hi) 0%, var(--surface) 100%);
}
.box-title::before, .box-title::after {
  content: ""; flex: 1; min-width: 18px; height: 5px;
  background: radial-gradient(circle at 2.5px 50%, var(--gold-line) 1.1px, transparent 1.5px) repeat-x 0 50% / 6px 5px;
  opacity: .8;
}
.box-sub { margin: 12px 14px 0; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.tabs button, .tab-label, .tabs-links a {
  position: relative; font: 500 13px var(--sans); color: var(--muted-ink); padding: 0 10px 9px;
  background: none; border: 0;
}
.tabs button { cursor: pointer; }
.tabs button[aria-selected="true"], .tab-label, .tabs-links a[aria-current="page"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after,
.tab-label::after,
.tabs-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--gold-line);
}
.tabs button:hover, .tabs-links a:hover { color: var(--ink); text-decoration: none; }
.tabs .more { margin-left: auto; padding: 0 2px 9px; font-size: 12px; font-weight: 500; color: var(--link); }
.empty { margin: 0; padding: 12px 14px; color: var(--muted-ink); font-style: italic; }

.list { list-style: none; margin: 0; padding: 4px 14px 10px; }
/* The date is first in the markup; order moves it to the right without touching the Razor. */
.list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--hairline-soft); }
.list li:last-child { border-bottom: 0; }
.list li a { font-family: var(--serif); font-size: 14px; }
.list .d { order: 2; flex: none; color: var(--date); font-size: 12px; font-variant-numeric: tabular-nums; }
.list a { color: var(--link); font-weight: bold; }
.list a:hover { color: var(--link-hover); }

.table-wrap { overflow-x: auto; }
.rank { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.rank th { text-align: left; font-size: 11px; color: var(--ink); padding: 6px 10px 3px; border-bottom: 1px solid var(--hairline); }
.rank td { padding: 4px 10px; border-bottom: 1px dashed var(--hairline-soft); color: var(--ink); }
.rank tr:nth-child(even) td { background: var(--stripe); }
.rank td { transition: background-color var(--fast) var(--ease); }
.rank tbody tr:hover td { background: var(--hover-tint); }
.rank td.n { color: var(--gold-hi); font-weight: bold; }
.rank .r { text-align: right; white-space: nowrap; }
.rank .rb { display: block; font-size: 10px; color: var(--date); }
.medal { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: bold; color: #2e2620; }
.m1 { background: radial-gradient(circle at 35% 30%, #fff5c0, #e2a91c 60%, #8a5a00); }
.m2 { background: radial-gradient(circle at 35% 30%, #ffffff, #b8b8c0 60%, #6a6a70); }
.m3 { background: radial-gradient(circle at 35% 30%, #ffd8b0, #b86a2a 60%, #6a3a10); }

/* ---------- The four classes: figures standing in a row, no cards ----------
   Each stands dimmed in the dark; the one under the pointer (or keyboard focus, or a tap)
   steps forward, lights up and glows in its own colour while the others sink back. The
   feet fade into the ground. The pictures carry the brand mark faintly across the knees
   (comet/tools/art-copies.sh). --fh is a figure's height. */
.roster {
  --fh: clamp(220px, 38vh, 440px);
  display: flex; justify-content: center; align-items: flex-end; margin: 0; padding: 0; list-style: none;
}
.fig {
  position: relative; flex: none; height: var(--fh); margin: 0 calc(var(--fh) * -.05);
  isolation: isolate; outline: none; -webkit-tap-highlight-color: transparent;
  transition: filter .5s var(--ease);
}
.fig::before {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 70%; z-index: -1;
  background: radial-gradient(50% 55% at 50% 70%, var(--aura), transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.fig img {
  display: block; height: 100%; width: auto; max-width: none;
  transform-origin: 50% 100%; user-select: none; -webkit-user-drag: none;
  -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 10%);
  mask-image: linear-gradient(0deg, transparent 0, #000 10%);
  filter: brightness(.66) saturate(.75);
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.fig .cap {
  position: absolute; left: 50%; bottom: 4%; translate: -50% 0; width: max-content; max-width: 16em;
  display: grid; justify-items: center; gap: 2px; text-align: center; pointer-events: none;
  opacity: .78; transition: opacity .4s var(--ease), translate .4s var(--ease);
}
.fig .cap b {
  font: 700 clamp(14px, 1.5vw, 19px)/1 var(--caps); letter-spacing: .2em; text-transform: uppercase;
  color: #f6e3b4; text-shadow: 0 0 10px rgba(0,0,0,.9), 0 2px 3px rgba(0,0,0,.9);
}
.fig .cap span {
  display: block; overflow: hidden; font: 400 12px/1.35 var(--serif); color: #e6dccb; text-shadow: 0 1px 3px rgba(0,0,0,.95);
  opacity: 0; max-height: 0; transition: opacity .4s var(--ease);
}
.fig:hover, .fig:focus-visible, .fig:focus { z-index: 2; text-decoration: none; }
.fig:hover::before, .fig:focus-visible::before, .fig:focus::before { opacity: .55; }
/* The glow is on the figure's box, not the picture: a filter on the picture would be cut off
   square by the picture's own mask. */
.fig:hover, .fig:focus-visible, .fig:focus { filter: drop-shadow(0 0 14px var(--aura)) drop-shadow(0 0 2px var(--aura)); }
.fig:hover img, .fig:focus-visible img, .fig:focus img { transform: scale(1.08); filter: brightness(1.1) saturate(1.08); }
.fig:hover .cap, .fig:focus .cap { opacity: 1; translate: -50% -6px; }
.fig:hover .cap span, .fig:focus .cap span { opacity: 1; max-height: 4em; }
.roster:hover .fig:not(:hover) img { filter: brightness(.42) saturate(.55); }
.fig-trojan { --aura: rgba(176, 92, 255, .75); }
.fig-warrior { --aura: rgba(232, 186, 92, .75); }
.fig-archer { --aura: rgba(255, 128, 40, .8); }
.fig-taoist { --aura: rgba(206, 188, 255, .75); }
/* Touch screens: a tap lights a figure with the glow behind it and its picture's opacity, no
   filters. Redrawn at a zoomed-in phone's scale, the filters on the figure and its masked
   picture flashed the screen (owner's report, 2026-10-20). */
@media (hover: none) {
  .fig, .fig:hover, .fig:focus-visible, .fig:focus { filter: none; transition: none; }
  .fig img { filter: none; opacity: .7; transition: transform .5s var(--ease), opacity .5s var(--ease); }
  .fig:hover img, .fig:focus-visible img, .fig:focus img { filter: none; opacity: 1; }
  .roster:hover .fig:not(:hover) img { filter: none; opacity: .5; }
}
/* On the home page the row sits in the content column, smaller. */
.roster-inline { --fh: clamp(150px, 21vw, 230px); padding-top: 24px; }

/* ---------- Text pages ---------- */
.prose { padding: 8px 14px 12px; font-size: 14px; }
.prose h1 { margin: 4px 0 0; font-family: var(--caps); font-size: 20px; color: var(--heading); text-wrap: balance; }
.prose h2 { margin: 14px 0 4px; font-family: var(--serif); font-size: 16px; color: var(--ink); }
.prose h3 { margin: 10px 0 2px; font-family: var(--serif); font-size: 15px; color: var(--gold); }
.prose p, .prose ol, .prose ul { margin: 0 0 8px; max-width: 70ch; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin-bottom: 3px; }
.prose a { font-weight: bold; }
.prose .meta { color: var(--date); font-size: 12px; }
.notice { padding: 10px 12px; background: var(--surface-lo); border-left: 3px solid var(--gold-line); }
.narrow { max-width: 460px; }
.pad { padding: 0 12px 10px; margin: 6px 0 0; }

.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 12px 12px; }
.shot { aspect-ratio: 4 / 3; border: 1px dashed var(--hairline); background: var(--surface-lo); border-radius: 2px; transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.shot:hover { border-color: var(--gold-line); background: var(--hover-tint); }

/* ---------- Events: a narrow rail of the weekly clock, a wide panel of announcements ----------
   The reference splits this page in two and it is the best thing on their site: the things
   that happen on a timetable stand apart from the things that are announced, because a player
   reads them for different reasons. One checks the clock, the other checks what is new.

   The rail is deliberately not a stack of coloured plates; a rail of gradients is the
   tavern-menu problem. A recurring event is a plain card with one hairline, its name in caps
   and its times beneath, and the only colour is the gold rule. */
.events { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: start; }
.ev-rail { display: grid; gap: 8px; padding: 10px 12px 12px; }
.ev-when {
  padding: 9px 11px; border: 1px solid var(--hairline); border-radius: 2px;
  background: var(--surface); border-top: 2px solid var(--gold-line);
}
.ev-when h3 {
  margin: 0 0 3px; font-family: var(--caps); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--heading);
}
/* The times are the thing a player came for, so they are set in the figure style with tabular
   numerals and they are the only line here that is not grey. */
.ev-when .t { margin: 0; font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-when .n { margin: 2px 0 0; font-size: 12px; color: var(--ink); }

/* A row in the wide panel: title, a duration line beneath, and the link right-aligned. The
   thumbnail the reference carries waits for real event art; until then the row is text, because
   a column of identical placeholder squares is worse than none. */
.ev-list { list-style: none; margin: 0; padding: 4px 14px 10px; }
.ev-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--hairline-soft);
}
.ev-list li:last-child { border-bottom: 0; }
.ev-list .ti { font-family: var(--serif); font-size: 14px; font-weight: bold; color: var(--link); }
.ev-list .ti:hover { color: var(--link-hover); }
.ev-list .du { grid-column: 1; margin: 2px 0 0; font-size: 12px; color: var(--ink); }
.ev-list .go { grid-row: 1; font-size: 12px; color: var(--link); white-space: nowrap; }
.ev-list .d { grid-row: 1; grid-column: 2; color: var(--date); font-size: 12px; font-variant-numeric: tabular-nums; }

/* Support: three columns of categories over the answers themselves. The reference's
   support page has this shape and it is the right one — somebody arriving here has a
   specific problem and wants to find its heading, not read a page. The columns are links
   down to the answers below, so nothing is hidden behind a click. */
.help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.help ul { list-style: none; margin: 0; padding: 10px 14px 12px; }
.help li { padding: 6px 0; border-bottom: 1px solid var(--hairline-soft); }
.help li:last-child { border-bottom: 0; }
.help a { font-family: var(--serif); font-size: 14px; color: var(--link); font-weight: bold; }
.help a:hover { color: var(--link-hover); }

/* ---------- Headings that settle in as they scroll into view (set by site.js) ---------- */
.reveal { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.box-title.reveal, .tabs.reveal, .panel-title.reveal { transform: translateY(-4px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Forms ---------- */
.form { padding: 10px 14px 14px; display: grid; gap: 12px; max-width: 520px; }
.field { display: grid; gap: 3px; }
.field label { font-weight: bold; color: var(--ink); }
.field input, .form-row > input {
  width: 100%; max-width: 320px; padding: 6px 8px; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--surface-lo); border: 1px solid var(--hairline); border-radius: 2px;
}
.hint { margin: 0; font-size: 12px; color: var(--muted-ink); max-width: 60ch; }
/* The sign-up's age and agreement box. */
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); line-height: 1.5; cursor: pointer; }
.agree a { text-decoration: underline; }
.agree input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--gold); }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions .pow-status { color: var(--ink); font-size: 12px; }
.form-error { margin: 0; padding: 9px 11px; background: var(--err-bg); color: var(--err-ink); border: 1px solid var(--err-line); border-radius: 2px; }
.form-ok { margin: 0; padding: 9px 11px; background: var(--ok-bg); color: var(--ok-ink); border: 1px solid var(--ok-line); border-radius: 2px; }
/* A form that reads as parts, with its labels in a left column. The registration page is
   where a new player decides whether this is a real server, and a single stack of fields
   is the thing that makes a sign-up page look abandoned. Each part is framed and titled,
   so the page says how much there is to do before the player starts doing it. */
.form-wide { max-width: none; }
.form-part { border: 1px solid var(--hairline); border-radius: 2px; }
.form-part > h2 {
  margin: 0; padding: 9px 14px 8px; font-family: var(--caps); font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--heading);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, var(--surface-hi) 0%, var(--surface) 100%);
}
/* An optional part is visibly lighter: a soft frame, no tinted head, and the word in the
   heading. A player should be able to tell it is skippable without reading a sentence. */
.form-part.opt { border-color: var(--hairline-soft); }
.form-part.opt > h2 { background: none; border-bottom-color: var(--hairline-soft); }
.form-part > h2 .o { margin-left: 8px; font-family: var(--sans); font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--muted-ink); }
.form-part .in { display: grid; gap: 13px; padding: 13px 14px 15px; }

.form-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 3px 14px; align-items: start; }
.form-row > label { grid-column: 1; grid-row: 1; padding-top: 7px; font-weight: bold; color: var(--ink); }
.form-row > input { grid-column: 2; grid-row: 1; }
.form-row > .hint { grid-column: 2; margin-top: 1px; }

@media (max-width: 520px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-row > label { grid-column: 1; padding-top: 0; }
  .form-row > input, .form-row > .hint { grid-column: 1; }
}

/* A short single-purpose page (forgotten password, confirm an address) sits in a narrow
   card rather than running the full width of the column: a form of two boxes stretched
   across 700px reads as an unfinished page. */
.narrow-box { max-width: 520px; }

/* Decoy field: invisible to people, filled in by form-spamming bots */
/* ---------- The language switcher (Services/Lang.cs, Shared/_Languages.cshtml) ----------
   Three small codes, the current one in gold: in the navigation bar on the full site, in the top
   bar beside the season on the landing page, and in the top right corner of the pages with no menu. */
.langs { display: flex; align-items: center; gap: 2px; font: 700 11px var(--sans); letter-spacing: .08em; }
.langs a { padding: 6px 6px; color: var(--muted-ink); border-radius: 3px; }
.langs a:hover { color: #ffffff; text-decoration: none; }
.langs a[aria-current="true"] { color: var(--gold); }
/* On a wide screen it sits in the bar's empty right end, so the longer Spanish and Portuguese
   menus keep to one line; narrower, it wraps under the menu like the rest of the bar. */
@media (min-width: 1180px) {
  .topbar { position: relative; }
  .topbar .langs { position: absolute; right: 16px; top: 0; bottom: 0; }
}
.soon-top .langs { align-self: center; padding: 2px 6px; border-radius: 999px; background: rgba(8,10,16,.55); }
.about .langs, .landing .langs {
  position: absolute; top: 12px; right: 16px; z-index: 5;
  padding: 2px 6px; border-radius: 999px; background: rgba(8,10,16,.55);
}

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--hairline); text-align: center; color: var(--footer); font-size: 11px; }
.footer p { margin: 2px 0; }
.footer a { color: var(--footer); }

/* ---------- Narrow screens ---------- */
@media (max-width: 820px) {
  .subnav { display: none; }
  .body { grid-template-columns: minmax(0, 1fr); }
  .sidebar { order: 2; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .events { grid-template-columns: minmax(0, 1fr); }
  .help { grid-template-columns: minmax(0, 1fr); }
  .header { --hh: clamp(320px, 50vh, 480px); }
  .dock { grid-template-columns: 1fr 1fr; margin-top: -30px; }
  .dock-go { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .nav a { font-size: 12px; padding: 11px 7px; }
  .header { --hh: clamp(300px, 52vh, 440px); --ay: 20%; }
  .season img { width: 92px; }
  .season small { font-size: 9px; letter-spacing: .25em; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dock { grid-template-columns: minmax(0, 1fr); margin-top: -20px; }
  .dock > * { min-height: 0; }
  .dock-go { flex-wrap: wrap; justify-content: center; padding: 12px; }
  .dock-go nav { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html, * { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  /* The drift and the sparks stop; the banner becomes a still picture. This is not optional.
     Players with vestibular sensitivity are a real part of any playerbase, and a page that
     pulses is one they cannot use. */
  .art-zoom { animation: none !important; }
  .sparks { display: none; }
}

/* ---------- The entrance page (/Welcome) ----------
   Its own world: full-bleed art, no navigation, three cards. This is the one page
   allowed more presence than the rest of the site, because it has no chrome around it
   to carry the weight. The cards are still plain rectangles; what makes them read is
   the night-blue card ground against the lit art, not ornament on them. */
body.landing { min-height: 100vh; display: grid; background: var(--void); }
.landing-art {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 55%; z-index: 0;
}
/* Darkened enough that light text holds over any part of the picture. */
body.landing::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,9,14,.6) 0%, rgba(7,9,14,.2) 24%, rgba(7,9,14,.3) 60%, rgba(7,9,14,.82) 100%);
}
.landing-in {
  position: relative; z-index: 2; width: 100%; max-width: 1002px;
  margin: 0 auto; padding: clamp(28px, 7vh, 72px) 16px clamp(24px, 5vh, 48px);
  display: grid; align-content: center; justify-items: center; gap: clamp(22px, 4vh, 44px);
}
.landing-brand { display: grid; justify-items: center; gap: 6px; text-decoration: none; }
.landing-brand:hover { text-decoration: none; }
.landing-brand .logo { width: clamp(280px, 44vw, 560px); filter: drop-shadow(0 4px 10px rgba(5,7,12,.85)); }
.landing-tag {
  font-family: var(--caps); font-size: clamp(11px, 1.3vw, 14px); letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold-sub);
}

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; align-items: start; }

/* Night-blue panels in a gold frame, the way the reference builds its entrance cards: a
   two ply border, a diamond sitting on the frame at top and bottom centre, and a red ribbon
   across the head carrying the step number. */
.card {
  position: relative; padding: 0 0 18px; border-radius: 2px;
  background: linear-gradient(180deg, #182238 0%, #121a2b 55%, #0e1522 100%);
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 0 0 1px rgba(242,206,112,.08), 0 6px 22px rgba(5,7,12,.55);
}
/* The diamonds on the frame. One pseudo-element each, rotated 45 degrees. */
.card::before, .card::after {
  content: ""; position: absolute; left: 50%; width: 9px; height: 9px;
  translate: -50% 0; rotate: 45deg;
  background: linear-gradient(135deg, #f6e9c2, #c6a059);
  border: 1px solid #7a5a2e;
}
.card::before { top: -5px; }
.card::after { bottom: -5px; }

/* The ribbon: a plate in the dragon's red across the head of the card, inset from the
   card's edges, carrying the step number and label. It is opaque (smoked glass was tried
   and read as a pastel brown ribbon, owner 2026-10-13), and the period reading is carried by
   the chrome treatment: a three-stop gradient with one lit inner edge along the top, which
   is what makes it read as stamped metal rather than a flat box.

   The plate is inset 14px, so the card shows down both sides of it and it reads
   as a plate laid on the card rather than a band sliced through it. Its own gold hairline
   runs all the way round, and the gold chevron pointing into it from each end is the
   system's signature ornament. */
.ribbon {
  position: relative; margin: -1px 14px 16px; padding: 11px 28px 10px; text-align: center;
  font-family: var(--caps); font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  color: #fbeedb;
  background: linear-gradient(180deg, var(--red-hi) 0%, var(--red) 52%, var(--red-deep) 100%);
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 3px rgba(5,7,12,.4);
}
/* The chevron ends: a gold triangle pointing into the plate from each side, built from
   CSS borders. */
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 50%; translate: 0 -50%;
  width: 0; height: 0; pointer-events: none;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.ribbon::before { left: 0; border-left: 8px solid var(--gold-line); }
.ribbon::after { right: 0; border-right: 8px solid var(--gold-line); }
.ribbon b { font-size: 21px; color: var(--gold-hi); margin-right: 7px; font-weight: 700; }

.card-in, .card-form { display: grid; gap: 10px; padding: 0 18px; }
.card-lead { margin: 0; font-family: var(--serif); font-size: 14px; line-height: 21px; color: var(--ink); }
.card-go { margin: 4px 0 0 !important; text-align: center; }
.card-go .btn { width: 100%; text-align: center; }
.card-stat { margin: 0; text-align: center; font-size: 13px; color: var(--ink); }
.card-stat b { color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.card-foot { margin: 0 !important; font-size: 12px; color: var(--muted-ink); text-align: center; }
.card-foot a { color: var(--link); font-weight: 600; }

/* The dotted divider with a diamond in the middle, as on the reference's download card. */
.orn-rule {
  margin: 2px 0; height: 9px; position: relative;
  background: radial-gradient(circle at 2.5px 50%, var(--gold-line) 1.1px, transparent 1.5px) repeat-x 0 50% / 6px 9px;
  opacity: .85;
}
.orn-rule::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  translate: -50% -50%; rotate: 45deg;
  background: var(--gold-line); box-shadow: 0 0 0 3px #131b2c;
}

/* The card form reuses the site's field styling but tightens it for the narrow column. */
.card-form .field { display: grid; gap: 3px; }
.card-form label { font: 500 12px var(--sans); color: var(--ink); }
.card-form input {
  width: 100%; max-width: none; padding: 7px 9px; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--surface-lo); border: 1px solid var(--hairline); border-radius: 2px;
}
.card-form input:focus-visible { border-color: var(--gold-line); }

.social { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.social a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 2px;
  font: 600 13px var(--sans); color: var(--ink);
  background: linear-gradient(180deg, var(--surface-hi), var(--surface));
  border: 1px solid var(--gold-line);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.social a:hover { background: linear-gradient(180deg, #222d44, var(--surface-hi)); text-decoration: none; color: var(--gold-hi); }
.social svg { width: 19px; height: 19px; flex: none; color: var(--red-hi); }

.landing-enter { margin: 0; }
/* ---------- Launch countdown ----------
   The numbers are the point of the landing page, so they are big and lit: molten gold
   capitals with an ember glow, each on a dark glass plate split across the middle like a
   flip clock, a gold diamond on the plate's top edge. A figure that changes drops in and
   flares (site.js adds .tick); the colons between the plates breathe. */
.countdown { display: grid; justify-items: center; gap: 14px; }
.countdown-label {
  margin: 0; font-family: var(--caps); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase; color: #e8d3a2; text-shadow: 0 1px 6px rgba(0,0,0,.9);
}
.countdown-label b { color: var(--gold-hi); font-weight: 700; }
.clock { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: center; align-items: flex-start; }
.cell {
  --cw: clamp(64px, 8vw, 116px);
  position: relative; display: grid; justify-items: center; gap: 6px;
  width: var(--cw); padding: calc(var(--cw) * .1) 0 calc(var(--cw) * .08);
  border-radius: 6px; overflow: visible;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 49.6%, rgba(0,0,0,.5) 50%, rgba(0,0,0,0) 54%),
    linear-gradient(180deg, #232a3d 0%, #121725 50%, #0b0f19 100%);
  border: 1px solid #8a7444;
  box-shadow: inset 0 0 0 1px rgba(3,4,8,.9), inset 0 0 22px rgba(255,140,40,.08),
    0 0 0 1px rgba(242,206,112,.12), 0 10px 24px rgba(0,0,0,.6), 0 0 30px rgba(255,110,30,.12);
}
.cell::before {
  content: ""; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; translate: -50% 0; rotate: 45deg;
  background: linear-gradient(135deg, #fff1c8, #c69a4c); border: 1px solid #6e4416;
}
.clock .sep {
  align-self: center; margin-top: calc(clamp(64px, 8vw, 116px) * -.18);
  font: 700 clamp(26px, 4vw, 52px)/1 var(--caps); color: #f2c66a;
  text-shadow: 0 0 12px rgba(255,140,40,.8); animation: cd-breathe 2s ease-in-out infinite;
}
.cell b {
  display: block; font-family: var(--caps); font-weight: 700; line-height: 1;
  font-size: calc(var(--cw) * .5); letter-spacing: .02em; font-variant-numeric: tabular-nums;
  color: #f7d27a;
  filter: drop-shadow(0 0 6px rgba(255,150,50,.65)) drop-shadow(0 0 18px rgba(255,100,20,.35)) drop-shadow(0 2px 0 #3a1c04);
}
/* The gold is on the inner figure and the glow and the drop-in on the plate's b: a filter or
   an animation on the same element as gradient-clipped text washes it out on phones. */
.cell b i {
  display: block; font-style: normal;
  background: linear-gradient(180deg, #fffbe8 0%, #ffe39a 30%, #f0b44a 55%, #c97a22 72%, #ffd98a 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Samsung Internet's dark mode darkens the gradient, and no page can opt out of it (Samsung,
   2022; owner's report, 2026-10-20), so there the figures are solid gold: it keeps light text
   light. The page marks the browser server-side (html.samsung). */
.samsung .cell b i { background: none; -webkit-text-fill-color: currentColor; color: #ffd98a; }
.cell span {
  font-family: var(--caps); font-size: clamp(9px, 1vw, 12px); letter-spacing: .26em; text-transform: uppercase;
  color: #cdb27a;
}
.cell b.tick { animation: cd-tick .6s var(--ease); }
@keyframes cd-tick {
  0% { translate: 0 -28%; opacity: 0; scale: 1.25; filter: brightness(2.2) drop-shadow(0 0 22px rgba(255,190,90,1)) drop-shadow(0 2px 0 #3a1c04); }
  45% { translate: 0 0; opacity: 1; scale: 1.06; }
  100% { scale: 1; filter: drop-shadow(0 0 6px rgba(255,150,50,.65)) drop-shadow(0 0 18px rgba(255,100,20,.35)) drop-shadow(0 2px 0 #3a1c04); }
}
@keyframes cd-breathe { 50% { opacity: .35; } }

.landing-footer { margin: 0; max-width: 72ch; text-align: center; }
.landing-footer p { margin: 0; font-size: 11px; line-height: 17px; color: var(--muted-ink); }
.landing-enter a {
  font-family: var(--caps); font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-sub);
}
.landing-enter a:hover { color: var(--gold-hi); text-decoration: none; }

@media (max-width: 760px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .landing-in { align-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cell::after { animation: none; display: none; }
  .cell b.tick { animation: none; }
}

/* ---------- The landing page before launch (/, Soon.cshtml) ----------
   The only public page until launch day, with About beside it (owner, 2026-10-18). Nothing
   to read before deciding anything: the dragon, the logo under its fire, the countdown, two
   buttons, the community and the four classes standing at the foot of the page.

   On a computer the art is fixed to the window (on a phone it scrolls away, below), so the page scrolls over it: the dragon stays put while
   the classes come up out of the mist. The embers and smoke (comet/art/brand/embers_smoke.png)
   lie over it twice with a screen blend, where its black does nothing, drifting slowly at
   two speeds; the sparks canvas (site.js) adds single sparks in front. */
body.soon, body.about {
  min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: #06080d; color: var(--ink);
  overflow-x: hidden;
}
.soon-art { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.soon-banner {
  position: absolute; left: -14px; top: -14px; width: calc(100% + 28px); height: calc(100% + 12vh); max-width: none;
  object-fit: cover; object-position: 50% 0;
  translate: var(--px, 0) var(--py, 0); transition: translate .8s var(--ease);
  animation: hero-drift 32s ease-in-out infinite alternate; transform-origin: 50% 22%;
}
/* Darker towards the foot of the window, where the classes stand, and warmed there by the
   fire under the embers. */
.soon-art::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 34% at 50% 100%, rgba(255,96,24,.16), transparent 70%),
    linear-gradient(180deg, rgba(6,8,13,.35) 0%, rgba(6,8,13,0) 18%, rgba(6,8,13,0) 46%, rgba(6,8,13,.55) 74%, rgba(6,8,13,.86) 100%);
}
.embers {
  position: absolute; left: -6%; bottom: -8%; width: 112%; height: 78%; max-width: none;
  object-fit: cover; object-position: 50% 100%; mix-blend-mode: screen; opacity: .55;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 38%);
  animation: embers-rise 22s ease-in-out infinite alternate;
}
.embers.e2 { opacity: .32; scale: -1 1; height: 64%; animation-duration: 31s; animation-delay: -9s; }
@keyframes embers-rise {
  from { translate: 0 3%; }
  to { translate: 0 -5%; }
}
.soon-art .sparks, .about .sparks { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
/* Phones: the art is not fixed but fills the first screen and scrolls away with the page,
   its shading ending fully dark so it fades into the page. Fixed art under the scrolling
   page stuttered there whatever else was turned off (the owner's phone, 2026-10-21, roadmap
   section 5 item 25). The banner's drift and the embers also stand still and the sparks are
   drawn unblended. */
@media (hover: none) {
  .soon-art { position: absolute; height: 100vh; }
  .soon-art::after {
    background:
      radial-gradient(60% 34% at 50% 100%, rgba(255,96,24,.16), transparent 70%),
      linear-gradient(180deg, rgba(6,8,13,.35) 0%, rgba(6,8,13,0) 18%, rgba(6,8,13,0) 46%, rgba(6,8,13,.55) 70%, #06080d 100%);
  }
  .soon-banner, .embers { animation: none; }
  .soon-art .sparks, .about .sparks { mix-blend-mode: normal; }
}

.soon-top {
  position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start;
  padding: clamp(14px, 3vh, 28px) clamp(16px, 4vw, 64px) 0;
}
.soon-top .season { position: static; }
/* The community: round medallions in a gold ring, top left as on TQ's site. */
.soon-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.soon-social a, .soon-social span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: #f6e7c6;
  background: radial-gradient(circle at 50% 35%, #2a3248 0%, #0d111b 70%) padding-box,
    conic-gradient(from 210deg, #f6e2a8, #a8742e, #fff1c8, #8a5a22, #f6e2a8) border-box;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,.6);
  transition: box-shadow .25s var(--ease), color .25s var(--ease), translate .25s var(--ease);
}
.soon-social svg { width: 22px; height: 22px; }
.soon-social a:hover, .soon-social a:focus-visible {
  color: #fff; translate: 0 -2px; text-decoration: none;
  box-shadow: 0 0 12px rgba(255,170,70,.75), 0 0 28px rgba(255,120,30,.4), 0 4px 12px rgba(0,0,0,.6);
}
.soon-social span { opacity: .45; cursor: default; }
.soon-social .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.soon-in {
  position: relative; z-index: 2; flex: 1; width: 100%; max-width: 1400px; margin: 0 auto;
  padding: clamp(140px, 27vh, 380px) 16px 0;
  display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3.2vh, 34px);
}
.soon-brand { margin: 0; line-height: 0; }
.soon-brand .logo { width: clamp(240px, 30vw, 500px); filter: drop-shadow(0 4px 14px rgba(0,0,0,.9)); }
.soon-lead {
  margin: 0; max-width: 46ch; text-align: center; font: 400 clamp(14px, 1.25vw, 17px)/1.55 var(--serif);
  color: #eadfca; text-shadow: 0 1px 6px rgba(0,0,0,.95);
}
.soon-go { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 26px; }
.soon-go .btn { min-width: 210px; }
.soon .roster { margin-top: clamp(12px, 4vh, 48px); }
/* The season's teaser below the classes (decision 170.4): the About page's smoked glass, the
   four parts of the season in a grid of two, the fair play line on a gold rule under them. */
.season-teaser {
  width: 100%; max-width: 860px; margin: clamp(8px, 3vh, 28px) 0 clamp(24px, 5vh, 56px);
  padding: clamp(18px, 3vw, 34px); text-align: center;
}
.season-teaser .sub { margin: 0 0 4px; font: 400 12px var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-sub); }
.season-teaser h2 { margin: 0 0 10px; font: 700 clamp(22px, 2.6vw, 32px) var(--caps); letter-spacing: .08em; color: var(--heading); }
.season-teaser p { font: 400 15px/1.65 var(--serif); color: #e6dfd0; }
.season-when { margin: 0 auto 20px; max-width: 52ch; }
.season-points {
  list-style: none; margin: 0 0 18px; padding: 0; text-align: left;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.season-points li { padding: 12px 14px; border: 1px solid #3a4560; background: rgba(8,11,18,.45); }
.season-points b {
  display: block; margin-bottom: 4px; font: 700 13px var(--caps); letter-spacing: .14em;
  text-transform: uppercase; color: var(--heading);
}
.season-points span { display: block; font: 400 14px/1.55 var(--serif); color: #ddd5c4; }
.season-fair {
  margin: 0 0 18px; padding: 10px 14px; text-align: left;
  border-left: 3px solid var(--gold-line); background: rgba(213,166,86,.08);
}
.season-fair b { font: 700 13px var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--heading); margin-right: 6px; }
.season-teaser .season-call { margin: 0 0 6px; font-size: 17px; font-style: italic; color: #f1e6cf; }
.season-teaser .season-later { margin: 0; font-size: 13px; color: #a9a294; }
.soon-foot { position: relative; z-index: 2; padding: 10px 16px 16px; text-align: center; }
.soon-foot p { margin: 0 auto; max-width: 90ch; font-size: 11px; line-height: 17px; color: #8b8f9c; }
.soon-foot a { color: #b9a678; }

/* ---------- About (About.cshtml) ----------
   The owner's own words about themselves and the project, on smoked glass over the same art. */
.about-in {
  position: relative; z-index: 2; flex: 1; width: 100%; max-width: 820px; margin: 0 auto;
  padding: clamp(18px, 4vh, 40px) 16px 28px; display: grid; gap: 22px; justify-items: center;
}
.about-in .logo { width: clamp(220px, 28vw, 380px); filter: drop-shadow(0 4px 12px rgba(0,0,0,.9)); }
.about-card { width: 100%; padding: clamp(18px, 3vw, 34px); }
.about-card h1 {
  margin: 0 0 4px; text-align: center; font: 700 clamp(20px, 2.4vw, 28px) var(--caps); letter-spacing: .08em; color: var(--heading);
}
.about-card .sub { margin: 0 0 18px; text-align: center; font: 400 13px var(--caps); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-sub); }
.about-card h2 {
  display: flex; align-items: center; gap: 12px; margin: 22px 0 8px;
  font: 700 14px var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--heading);
}
.about-card h2::after {
  content: ""; flex: 1; height: 5px; opacity: .8;
  background: radial-gradient(circle at 2.5px 50%, var(--gold-line) 1.1px, transparent 1.5px) repeat-x 0 50% / 6px 5px;
}
.about-card p { margin: 0 0 12px; font: 400 15px/1.7 var(--serif); color: #e6dfd0; }
.about-card .owner-note { padding: 10px 14px; border-left: 3px solid var(--gold-line); background: rgba(213,166,86,.08); color: #d9c7a0; font-style: italic; }
.about-card .owner-note p { color: inherit; }
.about-card .owner-note p:last-child { margin-bottom: 0; }
.about-back { margin: 0; }
/* The Privacy Policy and End User Agreement: numbered lists in the card's reading type. */
.about-card ol { margin: 0 0 12px; padding-left: 1.4em; font: 400 15px/1.7 var(--serif); color: #e6dfd0; }
.about-card li { margin: 0 0 6px; }
.about-card li::marker { color: var(--gold-sub); }
.about-card b { color: #f1e6cf; }
.soon-foot .legal-links { margin-top: 4px; }

@media (max-width: 760px) {
  .soon-in { padding-top: clamp(170px, 34vh, 320px); }
  .soon-top { align-items: center; }
  .soon-social a, .soon-social span { width: 38px; height: 38px; }
  .soon-social svg { width: 19px; height: 19px; }
  .soon .roster { --fh: clamp(190px, 46vw, 300px); flex-wrap: wrap; row-gap: 8px; }
  .soon .roster .fig { margin: 0 -2%; }
  .clock { gap: 4px; }
  .clock .sep { display: none; }
  .countdown-label { font-size: 11px; letter-spacing: .14em; text-align: center; }
  .season-points { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .soon-go .btn { min-width: 0; width: 100%; }
  .soon-go { flex-direction: column; align-items: stretch; width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) {
  .soon-banner, .embers { animation: none !important; }
  .clock .sep { animation: none; }
  .soon-art .sparks, .about .sparks { display: none; }
  .fig img { transition: none; }
}

/* ---------- The Live Market (Pages/Market.cshtml, js/market.js) ----------
   On the ivory panel: three figures across the top, the map of the Market beside the chosen
   item, the filters in a grid, then the two tabs. Quality is coloured as the game colours
   its names: Super gold, Elite violet, Unique green, Refined blue. The map is drawn, not the
   client's art: a pale floor, a grey dot on every stall carpet, the dragon's red where
   something is on sale and gold on the chosen item's stall. */
.market-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 14px 0; }
.market-stats > div { border: 1px solid var(--hairline); border-radius: 3px; padding: 8px 12px; background: var(--surface-lo); }
.market-stats b { display: block; font: 700 20px var(--caps); color: var(--heading); font-variant-numeric: tabular-nums; }
.market-stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-ink); }
.market-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; padding: 12px 14px 0; align-items: start; }
.market-map { margin: 0; border: 1px solid var(--hairline); border-radius: 3px; background: var(--surface-lo); padding: 8px; }
.market-map figcaption { font: 700 12px var(--caps); letter-spacing: .14em; text-transform: uppercase; color: var(--heading); margin-bottom: 6px; }
.market-map svg { display: block; width: 100%; height: auto; max-height: 360px; }
.mm-floor polygon { fill: #e6dcc4; stroke: #e6dcc4; stroke-width: .6; }
.mm-stalls circle { fill: #b9ad97; transition: fill var(--fast) var(--ease); }
.mm-stalls circle.sell { fill: var(--red); }
.mm-stalls circle.sel { fill: #e0a526; stroke: #5a3a08; stroke-width: 1.5; r: 6px; }
/* On the painted Market the carpets are in the picture: only a stall that sells is marked,
   larger, with a light ring so it reads on the paving. */
.mm-picture .mm-stalls circle { opacity: 0; stroke: #fff6e0; stroke-width: 3; }
.mm-picture .mm-stalls circle.sell { opacity: 1; }
.mm-picture .mm-stalls circle.sel { opacity: 1; r: 16px; stroke: #5a3a08; stroke-width: 4; }
.market-map svg.mm-picture { max-height: none; border-radius: 2px; }
.mm-key { margin: 6px 0 0; font-size: 11px; color: var(--muted-ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mm-key span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.mm-key .k-sell { background: var(--red); }
.mm-key .k-sel { background: #e0a526; margin-left: 10px; }
.market-detail { border: 1px solid var(--hairline); border-radius: 3px; background: var(--surface-lo); min-height: 120px; }
.market-detail h2 { margin: 0; padding: 10px 12px 4px; font: 700 16px var(--serif); }
.mi-facts { list-style: none; margin: 0; padding: 0 12px; }
.mi-facts li { padding: 3px 0; border-bottom: 1px dashed var(--hairline-soft); }
.market-detail .mi-price { margin: 8px 12px 0; font: 700 16px var(--sans); color: var(--ink); }
.mi-where { margin: 4px 12px 12px; color: var(--muted-ink); }
.market-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; padding: 14px; }
.market-filters label { display: grid; gap: 3px; font-weight: bold; color: var(--ink); font-size: 12px; }
.market-filters select, .market-filters input {
  width: 100%; padding: 5px 7px; font: inherit; font-weight: normal; font-size: 13px; color: var(--ink);
  background: var(--surface-lo); border: 1px solid var(--hairline); border-radius: 2px; color-scheme: light;
}
.mf-actions { grid-column: 1 / -1; display: flex; gap: 16px; justify-content: flex-end; padding-right: 6px; }
.market .tabs .more { color: var(--muted-ink); font-weight: normal; }
.market-table tbody tr { cursor: pointer; }
.market-table tbody tr.chosen td { background: var(--hover-tint); box-shadow: inset 0 1px 0 var(--gold-line), inset 0 -1px 0 var(--gold-line); }
.market-table .mi-name { font-weight: bold; }
.market-table .mi-price { font-weight: bold; }
.mi-gems .gem { display: inline-block; width: 11px; height: 11px; margin-right: 4px; border-radius: 50%; background: #3fa9d6; border: 1px solid #1f6f93; vertical-align: middle; }
.mi-gems .gem.open { background: none; }
.q-super { color: #a8740c; }
.q-elite { color: #7a3fb0; }
.q-unique { color: #2f7d32; }
.q-refined { color: #1f5fa8; }
@media (max-width: 820px) {
  .market-top { grid-template-columns: minmax(0, 1fr); }
  .market-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .market-stats { grid-template-columns: minmax(0, 1fr); }
}
