/* The game's web fonts, self-hosted (2026-11-02: no request to Google any more). Cinzel (carved
   display titles), Marcellus (labels), Alegreya (body / tooltips): the same faces, weights and
   unicode ranges Google Fonts served, latin + latin-ext only. Files in public/fonts/ carry the
   Google Fonts version in their name: give a changed file a new name (/fonts/* is cached
   immutable, vercel.json). All three fonts are SIL Open Font License 1.1 (public/fonts/OFL-*.txt). */

/* Alegreya italic · latin-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-italic-v41-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;
}
/* Alegreya italic · latin */
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-italic-v41-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;
}
/* Alegreya normal · latin-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-v41-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;
}
/* Alegreya normal · latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/alegreya-v41-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;
}
/* Alegreya normal · latin-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/alegreya-v41-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;
}
/* Alegreya normal · latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/alegreya-v41-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;
}
/* Alegreya normal · latin-ext */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/alegreya-v41-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;
}
/* Alegreya normal · latin */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/alegreya-v41-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;
}
/* Cinzel normal · latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Cinzel normal · latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/cinzel-v26-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;
}
/* Marcellus normal · latin-ext */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/marcellus-v14-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;
}
/* Marcellus normal · latin */
@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/marcellus-v14-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;
}

/* The static site's stylesheet (races / news / guides). Built into /site/site-<hash>.css together
   with src/fonts.css (the self-hosted faces), so pages load one file. Dark only, like the game. */
:root {
  color-scheme: dark;
  --bg: #12100c;
  --bg2: #1b1711;
  --panel: #211b13;
  --line: #3a3022;
  --text: #ece0c6;
  --muted: #b3a284;
  --gold: #e2b85c;
  --gold2: #f4d488;
  --ember: #e06a2c;
  --free: #79c37a;
  --display: "Cinzel", Georgia, serif;
  --label: "Marcellus", Georgia, serif;
  --body: "Alegreya", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg) radial-gradient(ellipse at 50% -10%, #2a2015 0%, var(--bg) 60%) no-repeat;
  color: var(--text);
  font: 18px/1.6 var(--body);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold2); text-underline-offset: 3px; }
a:hover { color: #fff3cf; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--panel); padding: 6px 12px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 8, 6, 0.94); border-bottom: 1px solid rgba(226, 184, 92, 0.32); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); }
/* logo left · menu in the TRUE centre of the bar · Play on the right */
.top__row { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 10px 16px; min-height: 64px; }
.brand { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold2); font: 700 20px/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.5)); }
.nav { justify-self: center; display: flex; gap: 4px 30px; font: 17px/1 var(--label); letter-spacing: 0.08em; }
.nav a { color: #efe2c4; text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; text-shadow: 0 1px 0 #000; transition: color 0.2s ease, border-color 0.2s ease; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--gold2); border-bottom-color: var(--gold); }
.top__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
/* the forged Play button: always there, the hero's "Play free now" in small */
.btn-play {
  position: relative; display: inline-flex; align-items: center; gap: 8px; overflow: hidden; isolation: isolate;
  padding: 10px 18px 9px; border-radius: 4px; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: #1c0f04 !important;
  background: linear-gradient(180deg, #fff1bf 0%, #f2c766 38%, #c98a2c 72%, #9a5f17 100%);
  border: 1px solid #ffe7a6;
  box-shadow: 0 0 0 1px #4a2e0b, 0 4px 16px rgba(255, 110, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-play::before { content: ""; position: absolute; inset: -40% -10% auto; height: 180%; z-index: -1; background: radial-gradient(60% 50% at 50% 100%, rgba(255, 90, 0, 0.85), rgba(255, 160, 40, 0.3) 45%, transparent 70%); transform: translateY(70%); opacity: 0; transition: transform 0.4s ease, opacity 0.4s ease; }
.btn-play:hover, .btn-play:focus-visible { transform: translateY(-1px); filter: saturate(1.15); box-shadow: 0 0 0 1px #4a2e0b, 0 0 0 4px rgba(255, 160, 50, 0.22), 0 8px 26px rgba(255, 100, 10, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.btn-play:hover::before, .btn-play:focus-visible::before { transform: translateY(0); opacity: 1; }
.btn-play:focus-visible { outline: 2px solid #fff3cf; outline-offset: 3px; }
.btn-play svg { flex: none; }
.top__menu { display: none; width: 44px; height: 40px; padding: 0; border-radius: 4px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: rgba(10, 8, 6, 0.5); border: 1px solid rgba(226, 184, 92, 0.5); }
.top__menu i { display: block; width: 20px; height: 2px; background: var(--gold2); border-radius: 1px; transition: transform 0.25s ease, opacity 0.2s ease; }
.top.is-open .top__menu i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.is-open .top__menu i:nth-child(2) { opacity: 0; }
.top.is-open .top__menu i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.top__menu:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }

/* call to action */
.cta {
  display: inline-block; text-decoration: none; text-align: center;
  font: 700 18px/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase;
  color: #241507; background: linear-gradient(#f6d98e, #d6a24a 55%, #b57d2c);
  border: 1px solid #f9e3a6; border-radius: 4px; padding: 14px 26px;
  box-shadow: 0 0 0 1px #5a3c12, 0 6px 20px rgba(224, 120, 40, 0.25);
}
.cta:hover { color: #000; background: linear-gradient(#fbe6ab, #e3b158 55%, #c58b34); }
.cta--small { font-size: 13px; padding: 9px 14px; }

/* phones / narrow: logo left, Play + menu button right; the menu drops down under the bar */
@media (max-width: 860px) {
  .top__row { grid-template-columns: 1fr auto; min-height: 58px; padding: 8px 16px; }
  .top__menu { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; justify-self: stretch; display: none; flex-direction: column; gap: 0; padding: 6px 16px 14px; background: rgba(10, 8, 6, 0.97); border-bottom: 1px solid rgba(226, 184, 92, 0.32); box-shadow: 0 18px 30px rgba(0, 0, 0, 0.6); }
  .nav a { padding: 13px 4px; border-bottom: 1px solid rgba(226, 184, 92, 0.12); font-size: 18px; }
  .nav a[aria-current="page"] { border-bottom-color: rgba(226, 184, 92, 0.12); }
  .top.is-open .nav { display: flex; }
  .btn-play { padding: 10px 14px 9px; font-size: 13px; }
}
@media (max-width: 480px) { .brand span { display: none; } .brand img { width: 36px; height: 36px; } }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 18px 0 0; font: 14px/1.4 var(--label); color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* headings + text */
h1, h2, h3, h4 { font-family: var(--display); color: var(--gold2); line-height: 1.2; letter-spacing: 0.03em; }
h1 { font-size: clamp(32px, 6vw, 50px); margin: 10px 0 12px; }
h2 { font-size: clamp(24px, 4vw, 30px); margin: 38px 0 12px; }
h3 { font-size: 24px; margin: 0 0 4px; }
h4 { font-size: 20px; margin: 0 0 4px; }
.lead { font-size: 21px; color: var(--text); max-width: 46em; }
.kicker { font: 14px/1.3 var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ember); margin: 0; }
.flavor { font-style: italic; color: var(--muted); margin: 2px 0 6px; }
.prose { max-width: 46em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.tips li { margin: 10px 0; }

.hero { padding: 18px 0 8px; }
.hero--race { display: flex; gap: 24px; align-items: flex-start; }
.hero--race > img { flex: none; width: 128px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7)); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 24px; margin: 14px 0 0; }
.facts dt { font: 13px/1.3 var(--label); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facts dd { margin: 2px 0 0; }

/* race cards */
.cards { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.card a { display: flex; gap: 14px; height: 100%; padding: 14px; text-decoration: none; color: var(--text); background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 6px; }
.card a:hover { border-color: var(--gold); }
.card img { flex: none; width: 96px; height: 96px; }
.card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card__title { font: 700 24px/1.1 var(--display); color: var(--gold2); }
.card__tag { font-style: italic; color: var(--muted); }
.card__meta { font-size: 16px; }
.card__meta b { font: 13px var(--label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 400; margin-right: 4px; }
.badge { align-self: flex-start; font: 12px/1 var(--label); letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 7px; border-radius: 3px; border: 1px solid var(--gold); color: var(--gold2); }
.badge--free { border-color: var(--free); color: var(--free); }

/* tower lines */
.toc { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; padding: 0; font-family: var(--label); }
.line { border-top: 1px solid var(--line); padding: 26px 0 8px; }
.line__head, .branch__head { display: flex; gap: 16px; align-items: flex-start; }
.line__head > img { flex: none; width: 72px; }
.line__head p { margin: 2px 0; }
.branch { margin: 18px 0 0 0; padding: 14px; background: rgba(33, 27, 19, 0.6); border: 1px solid var(--line); border-radius: 6px; }
.branch__icons { display: flex; flex: none; gap: 2px; }
.branch__icons img { width: 48px; }
.branch__head p { margin: 2px 0; }
.ticon { image-rendering: auto; }
.tablewrap { overflow-x: auto; margin: 12px 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 4px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 640px; }
caption { text-align: left; padding: 8px 10px; font: 13px var(--label); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
th, td { padding: 6px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { font: 13px var(--label); color: var(--muted); letter-spacing: 0.04em; background: var(--bg2); }
tbody th { font-weight: 700; color: var(--text); white-space: nowrap; }

/* news + guides lists */
.posts { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.post a { display: grid; gap: 2px; padding: 14px 16px; text-decoration: none; color: var(--text); background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 6px; }
.post a:hover { border-color: var(--gold); }
.post__meta { font: 14px var(--label); color: var(--muted); letter-spacing: 0.04em; }
.post__title { font: 700 22px/1.25 var(--display); color: var(--gold2); }
.post__sum { color: var(--text); font-size: 17px; }
.changes li { margin: 8px 0; }
.more { margin-top: 30px; }

.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 30px 0 10px; font-family: var(--label); }

/* the band at the end of every page */
.band { margin: 46px 0 30px; padding: 28px 16px; text-align: center; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(rgba(40, 28, 14, 0.9), rgba(18, 14, 10, 0.9)); }
.band__title { font: 700 26px/1.2 var(--display); color: var(--gold2); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 4px; }
.band p { margin: 0 0 16px; }

/* footer */
.foot { border-top: 1px solid var(--line); background: #0b0907; padding: 18px 0 26px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.foot__nav { display: flex; gap: 10px 48px; flex-wrap: wrap; font: 15px var(--label); }
.foot__col { display: flex; flex-direction: column; gap: 3px; min-width: 120px; }
.foot__col b { font: 12px var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 2px; }
.foot__nav a { color: var(--muted); }
.foot__legal { margin: 0; font: 13px var(--label); color: var(--muted); letter-spacing: 0.04em; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.foot__legal a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .hero--race { flex-direction: column; gap: 8px; }
  .hero--race > img { width: 96px; }
  .line__head > img { width: 56px; }
  .branch__head { flex-direction: column; gap: 6px; }
  .lead { font-size: 19px; }
  .cta { padding: 13px 18px; font-size: 16px; }
  .cta--small { font-size: 13px; padding: 10px 14px; }
}

/* /daily/ */
.daily__today { margin: 10px 0 6px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(var(--panel), var(--bg2)); }
.daily__race { margin: 6px 0 10px; font-size: 34px; }
.daily__race a { text-decoration: none; }
.daily__cta { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
table.daily__week { min-width: 520px; }

/* ── reference pages (2026-11-04): towers, bosses, maps, trailer ── */
.nav a.is-parent { color: var(--gold2); }
h3 a.hlink, h4 a.hlink { color: inherit; text-decoration: none; }
h3 a.hlink:hover, h4 a.hlink:hover { text-decoration: underline; }
.tiers { display: flex; gap: 8px; margin: 4px 0 0; }
.tiers img { width: 64px; height: 64px; border-radius: 4px; border: 1px solid var(--line); }
nav.toc { margin: 10px 0 4px; }
.tgroup { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 4px; scroll-margin-top: 80px; }
.tgroup h2 { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.tgroup h2 a { color: inherit; text-decoration: none; }
.tgroup h2 a:hover { text-decoration: underline; }
.tgroup > p { margin: 0 0 10px; }
.tgrid { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 8px; }
.tgrid--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tcard a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px 10px; color: var(--text); text-decoration: none; background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 6px; }
.tcard a:hover { border-color: var(--gold); }
.tcard img { flex: none; width: 56px; height: 56px; border-radius: 4px; }
.tcard span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.tcard b { font: 700 17px/1.2 var(--display); color: var(--gold2); }
.tcard small { font-size: 14px; color: var(--muted); }
table.tsmall { min-width: 480px; }

.media { margin: 18px 0 8px; }
.media video, .media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #000; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.media figcaption { font: 14px var(--label); color: var(--muted); margin-top: 6px; letter-spacing: 0.04em; }
.media--sprite { max-width: 360px; }
.media--sprite img { aspect-ratio: 1; object-fit: contain; background: radial-gradient(circle at 50% 55%, rgba(224, 106, 44, 0.25), transparent 65%); border: 0; box-shadow: none; }

.bcards { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.bcards--big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bcard a { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bcard a:hover { border-color: var(--gold); }
.bcard__art { display: block; aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--bc, #e06a2c) 40%, transparent), #0d0b08 70%); overflow: hidden; }
.bcard__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard__art img.bcard__sprite { object-fit: contain; padding: 6px; }
.bcard__ph { display: grid; place-items: center; width: 100%; height: 100%; font: 700 56px var(--display); color: color-mix(in srgb, var(--bc, #e2b85c) 60%, #efe2c4); }
.bcard__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 14px; }
.bcard__body b { font: 700 21px/1.2 var(--display); color: var(--gold2); }
.bcard__body small { color: var(--muted); font-size: 15px; }
.act { border-top: 1px solid var(--line); padding: 20px 0 6px; scroll-margin-top: 80px; }
.act__head { display: flex; gap: 18px; align-items: flex-start; }
.act__img { flex: none; width: 260px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.act__head p { margin: 4px 0; }
.act__brief h4 { font-size: 17px; margin: 12px 0 2px; }
.act__bosses { font-size: 16px; }

.mcards { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.mcard a { display: flex; flex-direction: column; height: 100%; color: var(--text); text-decoration: none; background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mcard a:hover { border-color: var(--gold); }
.mcard__art { display: grid; place-items: center; height: 220px; padding: 10px; background: #12100c; }
.mcard__art svg { max-width: 100%; max-height: 100%; width: auto; height: 100%; }
.mcard__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 14px; }
.mcard__body b { font: 700 22px/1.2 var(--display); color: var(--gold2); }
.mcard__body small { color: var(--muted); font-size: 15px; }
.mapfig { margin: 18px 0; }
.mapfig svg { display: block; width: 100%; height: auto; max-height: 78vh; border-radius: 8px; border: 1px solid var(--line); }
.mapfig figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font: 14px var(--label); color: var(--muted); }
.mapfig figcaption i { display: inline-block; width: 18px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: 6px; }
.mapfig figcaption i.sq { height: 12px; border: 2px solid; background: transparent; }
.mapfig figcaption i.dash { border-top-style: dashed; }
.mapfig figcaption i.sq.dash { border-style: dashed; }
.mapfig figcaption i.keep { width: 12px; height: 12px; border: 2px solid var(--gold2); border-radius: 50%; }
.themes { list-style: none; padding: 0; display: grid; gap: 6px; }
.themes li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px; border-left: 4px solid color-mix(in srgb, var(--tc) 80%, #efe2c4); background: rgba(33, 27, 19, 0.6); border-radius: 0 6px 6px 0; }
.themes b { font-family: var(--label); color: var(--gold2); min-width: 150px; }

.player { margin: 18px 0; }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55); }
.player figcaption { font: 14px var(--label); color: var(--muted); margin-top: 6px; }
.transcript { list-style: none; padding: 0; }
.transcript li { display: flex; gap: 14px; margin: 6px 0; }
.transcript time { flex: none; width: 3.2em; font: 14px/1.9 var(--label); color: var(--muted); }

@media (max-width: 640px) {
  .act__head { flex-direction: column; }
  .act__img { width: 100%; }
  .foot__nav { gap: 10px 28px; }
  .foot__col { min-width: 0; }
  .tcard b { font-size: 16px; }
  .mcard__art { height: 180px; }
}

/* The website's home page (site/home.ts + site/home/main.ts), part of the one site stylesheet.
   Dark stone, forged gold, ember orange; Cinzel / Marcellus / Alegreya. Everything readable without
   the script; html.anim (set by the script) turns on the reveals, html.rich the depth and pinning. */

body.is-home { background: #07060a; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.is-home .kick { font: 13px/1.3 var(--label); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember); margin: 0 0 10px; }
.is-home h2 { font-size: clamp(30px, 4.6vw, 58px); letter-spacing: 0.04em; margin: 0 0 16px; text-shadow: 0 2px 0 #000, 0 0 30px rgba(226, 184, 92, 0.18); }

/* header over the hero: transparent until the hero has scrolled away */
.top--over { position: fixed; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(4, 3, 3, 0.82) 0%, rgba(4, 3, 3, 0.5) 55%, rgba(4, 3, 3, 0) 100%); border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; }
.top--over .top__row { padding-bottom: 22px; transition: padding 0.3s ease; }
.top--over.is-solid { background: rgba(10, 8, 6, 0.94); border-bottom-color: rgba(226, 184, 92, 0.32); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); }
.top--over.is-solid .top__row { padding-bottom: 10px; }

/* ── buttons ── */
.btn-forge {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  padding: 18px 40px; border-radius: 4px; text-decoration: none; color: #1c0f04 !important;
  font: 700 clamp(17px, 1.6vw, 21px)/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff1bf 0%, #f2c766 36%, #c98a2c 70%, #9a5f17 100%);
  border: 1px solid #ffe7a6;
  box-shadow: 0 0 0 1px #4a2e0b, 0 0 0 4px rgba(255, 170, 60, 0.12), 0 10px 34px rgba(255, 110, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s ease, filter 0.3s ease;
}
.btn-forge::before { /* the forge heat: a molten glow that rises on hover */
  content: ""; position: absolute; inset: -40% -10% auto; height: 180%; z-index: -1;
  background: radial-gradient(60% 50% at 50% 100%, rgba(255, 90, 0, 0.85), rgba(255, 160, 40, 0.35) 45%, transparent 70%);
  transform: translateY(70%); opacity: 0; transition: transform 0.45s ease, opacity 0.45s ease;
}
.btn-forge::after { /* a glint sweeping across the gold */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-18deg); animation: glint 4.8s ease-in-out infinite 1.6s;
}
@keyframes glint { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-forge:hover, .btn-forge:focus-visible { transform: translateY(-2px) scale(1.02); filter: saturate(1.15); box-shadow: 0 0 0 1px #4a2e0b, 0 0 0 6px rgba(255, 150, 40, 0.2), 0 16px 50px rgba(255, 100, 10, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.btn-forge:hover::before, .btn-forge:focus-visible::before { transform: translateY(0); opacity: 1; }
.btn-forge:active { transform: translateY(1px) scale(0.99); }
.btn-forge--sm { padding: 13px 26px; font-size: 15px; }
.btn-forge--xl { padding: 22px 58px; font-size: clamp(19px, 2vw, 26px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 4px; cursor: pointer;
  font: 16px/1 var(--label); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--text) !important; background: rgba(10, 8, 6, 0.45); border: 1px solid rgba(244, 212, 136, 0.45);
  backdrop-filter: blur(4px); transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--gold2); background: rgba(40, 26, 10, 0.6); color: #fff3cf !important; }
.btn-ghost svg { color: var(--gold2); }
.btn-link { font-family: var(--label); letter-spacing: 0.06em; }

/* ── the hero ── */
.hx { position: relative; min-height: 84vh; min-height: 84svh; overflow: hidden; display: grid; place-items: center; --hp: 0; background: #07060a; }
.hx__film, .hx__fog, .hx__embers, .hx__shade { position: absolute; inset: 0; }
.hx__film { transform: scale(calc(1.04 + var(--hp) * 0.16)); transform-origin: 50% 40%; filter: brightness(calc(0.86 - var(--hp) * 0.5)) saturate(0.98); }
.hx__poster, .hx__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx__video { opacity: 0; transition: opacity 1.6s ease; }
.film-on .hx__video { opacity: 1; }
.hx__fog { pointer-events: none; opacity: 0.55; mix-blend-mode: screen; }
.hx__fog i { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 75%, transparent 100%); position: absolute; inset: -10% -50%; background: url("/fog1.png") 0 70% / 50% auto repeat-x; animation: fog 70s linear infinite; opacity: 0.35; }
.hx__fog i + i { background-image: url("/fog2.png"); background-position: 0 85%; animation-duration: 110s; animation-direction: reverse; opacity: 0.3; }
@keyframes fog { to { transform: translateX(50%); } }
.hx__embers { width: 100%; height: 100%; pointer-events: none; }
.hx__shade {
  background:
    radial-gradient(42% 46% at 50% 50%, rgba(4, 3, 6, 0.62) 0%, rgba(4, 3, 6, 0.42) 55%, rgba(4, 3, 6, 0) 100%),
    radial-gradient(70% 60% at 50% 42%, rgba(0, 0, 0, 0) 0%, rgba(4, 3, 6, 0.35) 60%, rgba(4, 3, 6, 0.85) 100%),
    linear-gradient(180deg, rgba(5, 4, 6, 0.55) 0%, rgba(5, 4, 6, 0.05) 22%, rgba(5, 4, 6, 0.1) 55%, rgba(7, 6, 10, 1) 100%);
}
.hx__content {
  position: relative; z-index: 2; width: 100%; max-width: 1080px; padding: 84px 16px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transform: translateY(calc(var(--hp) * -90px)); opacity: calc(1 - var(--hp) * 1.4);
}
.hx__logo { position: relative; width: min(620px, 82vw, 44vh * 1.36); aspect-ratio: 900 / 664; margin-bottom: 6px; transform: translateY(calc(var(--hp) * -60px)) scale(calc(1 - var(--hp) * 0.08)); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.75)); }
.hx__still, .hx__logocv { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx__still { animation: logo-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hx__logocv { opacity: 0; transition: opacity 0.9s ease; }
.hx__logo.is-live .hx__logocv { opacity: 1; }
.hx__logo.is-live .hx__still { opacity: 0; transition: opacity 0.9s ease 0.15s; }
.hx__logo::after { /* the forge-crack glow pulse under the still (the WebGL logo has its own) */
  content: ""; position: absolute; left: 22%; right: 22%; top: 46%; height: 26%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 110, 20, 0.35), transparent 70%);
  mix-blend-mode: screen; animation: crack 3.4s ease-in-out infinite; pointer-events: none;
}
.hx__logo.is-live::after { display: none; }
@keyframes crack { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }
@keyframes logo-in { from { opacity: 0; transform: translateY(14px) scale(0.97); filter: brightness(0.4); } to { opacity: 1; transform: none; filter: none; } }
.hx__title { font: 600 clamp(18px, 2.2vw, 26px)/1.25 var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: #f6e7c4; margin: 6px 0 10px; text-shadow: 0 2px 0 #000, 0 0 18px rgba(0, 0, 0, 0.9); animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.25s both; }
.hx__lead { font-size: clamp(17px, 1.6vw, 21px); color: #efe3c6; margin: 0 0 30px; text-shadow: 0 1px 0 #000, 0 0 14px rgba(0, 0, 0, 0.95); animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.4s both; }
.hx__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; animation: rise 1s cubic-bezier(.2,.7,.2,1) 0.55s both; }
.hx__note { margin: 20px 0 0; font: 13px var(--label); letter-spacing: 0.08em; color: rgba(236, 224, 198, 0.75); text-shadow: 0 1px 0 #000; animation: rise 1s ease 0.75s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hx__down { display: inline-block; margin-top: 10px; color: rgba(244, 212, 136, 0.8); padding: 8px 12px; opacity: calc(1 - var(--hp) * 4); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }

@media (max-height: 760px) and (min-width: 761px) {
  .hx__logo { width: min(560px, 82vw, 38vh * 1.36); }
  .hx__lead { margin-bottom: 20px; }
  .hx__note { margin-top: 14px; }
}
/* ── stats ── */
.stats { position: relative; padding: 26px 16px 24px; text-align: center; background: radial-gradient(55% 80% at 50% 55%, rgba(120, 60, 14, 0.14), transparent 70%); }
.stats ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.stats li + li::before { content: ""; position: absolute; left: -5px; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(transparent, rgba(226, 184, 92, 0.45), transparent); }
.stats b { font: 700 clamp(46px, 7vw, 92px)/1 var(--display); color: transparent; background: linear-gradient(180deg, #fff3cf 10%, #e2b85c 55%, #a8721a 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 22px rgba(255, 150, 40, 0.25)); font-variant-numeric: tabular-nums; }
.stats b small { font: 600 clamp(13px, 1.3vw, 16px) var(--label); letter-spacing: 0.1em; text-transform: uppercase; -webkit-text-fill-color: var(--muted); margin-right: 6px; vertical-align: middle; }
.stats em { font: normal 15px var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.stats__lead { max-width: 760px; margin: 22px auto 0; font-size: clamp(18px, 1.7vw, 21px); color: #ddd0b4; }

/* ── the feature reel (no pinning: one viewport of four looping cards) ── */
.reel { padding: 34px 16px 70px; }
.reel__head { max-width: 1240px; margin: 0 auto 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; }
.reel__head .kick { margin: 0; order: 2; }
.reel__head h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); }
.reel__grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; height: min(62vh, 600px); min-height: 420px; }
.rl { position: relative; overflow: hidden; border-radius: 8px; background: #000; isolation: isolate; border: 1px solid rgba(226, 184, 92, 0.22); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); transition: box-shadow 0.35s ease, border-color 0.35s ease; }
.rl--big { grid-row: 1 / span 3; }
.rl img, .rl video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); filter: brightness(0.78) saturate(1.05); transition: transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.5s ease, opacity 0.8s ease; }
.rl video { opacity: 0; }
.rl.is-playing video { opacity: 1; }
.rl::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(5, 4, 6, 0) 35%, rgba(5, 4, 6, 0.55) 62%, rgba(5, 4, 6, 0.94) 100%); }
.rl__txt { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 20px 16px; }
.rl__n { font: 700 14px/1 var(--display); letter-spacing: 0.2em; color: var(--ember); }
.rl h3 { margin: 4px 0 4px; font: 700 clamp(19px, 1.7vw, 24px)/1.1 var(--display); color: #fff1cf; text-shadow: 0 2px 0 #000; }
.rl p { margin: 0; font-size: 16px; line-height: 1.35; color: #e2d5b8; text-shadow: 0 1px 0 #000; }
.rl--big h3 { font-size: clamp(26px, 2.6vw, 38px); }
.rl--big p { font-size: 18px; max-width: 30em; }
.rl--big .rl__txt { padding: 24px 28px; }
.rl:hover, .rl:focus-within { border-color: rgba(255, 210, 122, 0.85); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 200, 110, 0.5), 0 0 34px rgba(255, 150, 40, 0.28); }
.rl:hover img, .rl:hover video { transform: scale(1.07); filter: brightness(1) saturate(1.12); }
@media (max-width: 1080px) { .reel__grid { height: 520px; } }
/* phones: a horizontal swipe row, the next card peeking in */
@media (max-width: 760px) {
  .reel { padding: 26px 0 50px; }
  .reel__head { padding: 0 16px; }
  .reel__grid { display: flex; gap: 12px; height: auto; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 10px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .reel__grid::-webkit-scrollbar { display: none; }
  .rl, .rl--big { flex: 0 0 82%; aspect-ratio: 4 / 5; max-height: 62vh; scroll-snap-align: start; }
  .rl--big h3, .rl h3 { font-size: 22px; }
  .rl--big p, .rl p { font-size: 16px; }
  .rl--big .rl__txt, .rl__txt { padding: 16px 18px; }
}

/* ── section heads ── */
.sec-head { max-width: 820px; margin: 0 auto 40px; text-align: center; padding: 0 16px; }
.sec-head p:last-child { font-size: clamp(17px, 1.5vw, 20px); color: #d9ccb0; }
.sec-more { text-align: center; margin: 26px 0 0; font-family: var(--label); letter-spacing: 0.06em; }

/* ── giants ── */
.giants { padding: 80px 0 30px; background: linear-gradient(180deg, #07060a, #0c0807 50%, #07060a); }
.gi { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 0; max-width: 1240px; margin: 0 auto 60px; padding: 0 16px; }
.gi--r { grid-template-columns: 1fr 1.35fr; }
/* the text slides in from ±40 px: never a sideways scroll while it waits (a 390 px window overflowed by 24 px) */
.giants { overflow-x: clip; }
.gi--r .gi__media { order: 2; }
.gi__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(226, 184, 92, 0.18); }
.gi__media img, .gi__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gi__media img { transform: scale(1.12); transition: transform 9s cubic-bezier(.15,.6,.2,1); }
.gi.in .gi__media img { transform: scale(1); }
.gi__media video { opacity: 0; transition: opacity 0.8s ease; }
.gi__media.is-playing video { opacity: 1; }
.gi__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 4, 6, 0.55)); pointer-events: none; }
.gi__text { position: relative; z-index: 2; padding: 30px 0 30px 54px; }
.gi--r .gi__text { padding: 30px 54px 30px 0; text-align: right; }
.gi__name { font: 700 clamp(38px, 5.6vw, 78px)/0.98 var(--display); color: #fff1cf; margin: 0 0 18px; text-shadow: 0 3px 0 #000, 0 0 40px rgba(255, 120, 30, 0.35); letter-spacing: 0.02em; }
.gi__text p { font-size: clamp(17px, 1.4vw, 20px); color: #e2d5b8; }
.gi__rule { font-size: 15px !important; color: var(--muted) !important; border-top: 1px solid rgba(226, 184, 92, 0.25); padding-top: 12px; }
.anim .gi .gi__text { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s ease 0.15s, transform 1s cubic-bezier(.2,.7,.2,1) 0.15s; }
.anim .gi--r .gi__text { transform: translateX(40px); }
.anim .gi .gi__media { clip-path: inset(0 100% 0 0 round 6px); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); }
.anim .gi--r .gi__media { clip-path: inset(0 0 0 100% round 6px); }
.anim .gi.in .gi__text { opacity: 1; transform: none; }
.anim .gi.in .gi__media { clip-path: inset(0 0 0 0 round 6px); }

/* ── acts ── */
.acts { padding: 100px 16px 90px; }
.acts__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: act; }
.ap { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 4.2; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 1px solid rgba(226, 184, 92, 0.25); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); background: #000; }
.ap__img { position: absolute; inset: -12% 0; }
.ap__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.ap:hover .ap__img img { transform: scale(1.06); }
.ap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(6, 4, 3, 0.92) 85%); }
.ap > span, .ap > b { position: relative; z-index: 2; }
.ap__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.ap__link:focus-visible { outline: 2px solid var(--gold2); outline-offset: -3px; }
.ap:hover { border-color: rgba(226, 184, 92, 0.6); }
.gi__more { margin: 10px 0 0; font: 16px var(--label); letter-spacing: 0.04em; }
.ap__num { font: 700 64px/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 210, 122, 0.8); }
.ap__name { font: 700 clamp(19px, 1.7vw, 24px)/1.15 var(--display); color: #fff1cf; margin: 6px 0 4px; }
.ap__waves { font: 14px var(--label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.ap__note { font: 12px var(--label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--free); margin-top: 6px; }
.ap__note.is-last { color: #ff8a5a; }

/* ── races ── */
.races { padding: 100px 16px 90px; background: radial-gradient(80% 60% at 50% 0%, rgba(80, 40, 120, 0.12), transparent 70%), #08070a; }
.races__grid { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1200px; }
.rc a {
  --rx: 0deg; --ry: 0deg; --mx: 50%;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 18px 18px 16px; overflow: hidden;
  border-radius: 8px; text-decoration: none; color: var(--text);
  background: linear-gradient(160deg, color-mix(in srgb, var(--rc) 22%, #15110c) 0%, #120e0a 55%, #0b0907 100%);
  border: 1px solid color-mix(in srgb, var(--rc) 45%, #3a3022);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rc a:hover, .rc a:focus-visible { border-color: var(--rc); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.7), 0 0 34px color-mix(in srgb, var(--rc) 45%, transparent); color: var(--text); }
.rc__glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--mx) 0%, color-mix(in srgb, var(--rc) 40%, transparent), transparent 70%); opacity: 0.5; transition: opacity 0.3s ease; pointer-events: none; }
.rc a:hover .rc__glow { opacity: 1; }
.rc__ult { position: relative; width: 96px; height: 96px; margin: -4px 0 2px -6px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7)); transform: translateZ(40px); transition: transform 0.4s cubic-bezier(.2,.7,.2,1); }
.rc a:hover .rc__ult { transform: translateZ(60px) scale(1.08) rotate(-2deg); }
.rc__badge { position: absolute; top: 14px; right: 14px; font: 11px/1 var(--label); letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; border: 1px solid var(--gold); color: var(--gold2); background: rgba(0, 0, 0, 0.4); }
.rc__badge.is-free { border-color: var(--free); color: var(--free); }
.rc__name { position: relative; font: 700 26px/1 var(--display); color: color-mix(in srgb, var(--rc) 55%, #fff3cf); text-shadow: 0 2px 0 #000; }
.rc__tag { position: relative; font-style: italic; color: var(--muted); font-size: 16px; line-height: 1.3; }
.rc__vs { position: relative; font-size: 15px; line-height: 1.35; }
.rc__vs em { font: normal 11px var(--label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.rc__icons { position: relative; display: flex; gap: 4px; margin-top: auto; padding-top: 8px; }
.rc__icons img { width: 40px; height: 40px; border-radius: 4px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.08); }
.rc__more { position: relative; font: 13px var(--label); letter-spacing: 0.08em; color: var(--gold2); opacity: 0.75; transition: opacity 0.25s ease, transform 0.25s ease; }
.rc a:hover .rc__more { opacity: 1; transform: translateX(4px); }

/* ── daily ── */
.daily { padding: 100px 16px; background: radial-gradient(50% 70% at 30% 50%, rgba(255, 120, 30, 0.12), transparent 70%), #0a0807; }
.daily__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.medal { justify-self: center; width: 280px; aspect-ratio: 1; position: relative; }
.medal__ring { position: absolute; inset: 0; border-radius: 50%; padding: 16px; background: conic-gradient(from 210deg, #6b4210, #f6d68a, #a8721a, #ffe9b0, #7a4c14, #e2b85c, #6b4210); box-shadow: 0 0 0 2px #2a1a06, 0 0 60px rgba(255, 130, 30, 0.35), inset 0 0 20px rgba(0, 0, 0, 0.6); animation: spin 40s linear infinite; }
.medal__core { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 70%, #3a1606, #120806 70%); box-shadow: inset 0 0 0 2px #2a1a06, inset 0 -20px 50px rgba(255, 90, 10, 0.35); animation: spin 40s linear infinite reverse; position: relative; overflow: hidden; }
.medal__core { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.medal__glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle at 50% 62%, rgba(255, 196, 90, 0.55), rgba(255, 110, 20, 0.28) 45%, transparent 72%); animation: flame 2.6s ease-in-out infinite; mix-blend-mode: screen; }
.medal__label { position: relative; font: 13px/1 var(--label); letter-spacing: 0.32em; text-transform: uppercase; color: #ffd89a; text-shadow: 0 1px 0 #000; }
.medal__core b { position: relative; font: 700 62px/1 var(--display); color: transparent; background: linear-gradient(180deg, #fff6d8, #f2c766 55%, #b5782a); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 16px rgba(255, 140, 40, 0.45)); }
.medal__sub { position: relative; font: 12px/1 var(--label); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(236, 224, 198, 0.7); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flame { 0%, 100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.08); opacity: 1; } }
.daily__today { font-size: clamp(19px, 1.7vw, 23px); }
.daily__today a { font-family: var(--display); font-weight: 700; }
.daily__ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 22px; }

/* ── free / premium plaques ── */
.plans { padding: 100px 16px; }
.plans__row { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plaque { position: relative; padding: 34px 34px 30px; border-radius: 6px; background: linear-gradient(180deg, #221a12, #120e0a); border: 1px solid #4a3a26; box-shadow: 0 0 0 4px #0e0b08, 0 0 0 5px #3a2e1e, 0 26px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.plaque::before, .plaque::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe7a6, #8a5a18 70%); top: 12px; left: 12px; box-shadow: calc(100% + 0px) 0 0 0 transparent; }
.plaque::after { left: auto; right: 12px; }
.plaque h3 { font: 700 34px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 18px; text-align: center; }
.plaque ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plaque li { padding: 9px 0 9px 30px; border-bottom: 1px solid rgba(226, 184, 92, 0.12); position: relative; }
.plaque li::before { content: "◆"; position: absolute; left: 6px; color: var(--gold); font-size: 13px; top: 12px; }
.plaque .btn-ghost, .plaque .btn-forge { display: flex; width: 100%; justify-content: center; }
.plaque--gold { background: linear-gradient(180deg, #3a2a12, #1a120a); border-color: #b5822e; box-shadow: 0 0 0 4px #120c06, 0 0 0 5px #8a6220, 0 26px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 170, 60, 0.15), inset 0 1px 0 rgba(255, 230, 170, 0.12); }
.plaque--gold h3 { color: transparent; background: linear-gradient(180deg, #fff3cf, #e2b85c 60%, #a8721a); -webkit-background-clip: text; background-clip: text; }

/* ── news + guides ── */
.reads { max-width: 1160px; margin: 0 auto; padding: 60px 16px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.reads h2 { font-size: clamp(26px, 2.6vw, 34px) !important; text-align: left; }
.cardlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cardlist a { display: grid; gap: 3px; padding: 14px 18px; border-radius: 6px; text-decoration: none; color: var(--text); background: linear-gradient(180deg, rgba(34, 27, 19, 0.85), rgba(18, 14, 10, 0.85)); border: 1px solid var(--line); transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.cardlist a:hover, .cardlist a:focus-visible { border-color: var(--gold); transform: translateX(4px); box-shadow: -4px 0 0 var(--ember); color: var(--text); }
.cardlist time { font: 13px var(--label); letter-spacing: 0.06em; color: var(--muted); }
.cardlist b { font: 700 19px/1.25 var(--display); color: var(--gold2); }
.cardlist small { font-size: 16px; color: #d8cbae; }
.reads .sec-more { text-align: left; }

/* ── FAQ ── */
.faq { max-width: 880px; margin: 0 auto; padding: 70px 16px 40px; }
.faq h2 { text-align: center; }
.fq { border-bottom: 1px solid rgba(226, 184, 92, 0.2); }
.fq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font: 20px/1.35 var(--label); color: #f2e3bf; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: "+"; font: 28px/1 var(--display); color: var(--gold); transition: transform 0.3s ease; flex: none; }
.fq[open] summary::after { transform: rotate(45deg); }
.fq summary:hover { color: #fff3cf; }
.fq__a { overflow: hidden; }
.fq__a p { margin: 0 0 18px; color: #d9ccb0; }
.faq__more { text-align: center; color: var(--muted); margin-top: 28px; }

/* ── final CTA ── */
.final { position: relative; overflow: hidden; padding: 150px 16px 160px; text-align: center; background: radial-gradient(50% 70% at 50% 75%, rgba(255, 100, 20, 0.3), transparent 70%), linear-gradient(180deg, #07060a, #140905 70%, #07060a); }
.final__burst { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.final__inner { position: relative; z-index: 2; }
.final h2 { font-size: clamp(48px, 8vw, 112px); line-height: 0.95; }
.final p { font-size: clamp(18px, 1.6vw, 22px); color: #e2d4b6; margin-bottom: 34px; }

/* ── trailer lightbox ── */
dialog.tl { padding: 0; border: 0; background: transparent; width: min(1280px, 94vw); max-width: none; max-height: none; overflow: visible; }
/* a phone held sideways: the 16:9 box fits the height too (room for the close button above) */
@supports (height: 100dvh) { dialog.tl { width: min(1280px, 94vw, calc((100dvh - 110px) * 16 / 9)); } }
dialog.tl::backdrop { background: rgba(3, 2, 2, 0.88); backdrop-filter: blur(6px); }
.tl__box { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(226, 184, 92, 0.45); box-shadow: 0 30px 120px rgba(0, 0, 0, 0.9), 0 0 60px rgba(255, 140, 40, 0.2); }
.tl__video { width: 100%; height: 100%; display: block; }
.tl__close { position: absolute; top: -46px; right: -4px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(226, 184, 92, 0.6); background: rgba(10, 8, 6, 0.8); color: var(--gold2); font: 26px/1 var(--display); cursor: pointer; }
.tl__close:hover, .tl__close:focus-visible { background: #2a1c0c; color: #fff; }

/* ── reveals (only with the script running; content is always in the HTML) ── */
.anim .rv, .anim .sec-head { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease var(--d, 0ms), transform 1s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.anim .rv.in, .anim .sec-head.in { opacity: 1; transform: none; }
.anim .rc.rv { transform: translateY(46px) scale(0.96); }
.anim .rc.rv.in { transform: none; }

/* ── reduced motion: no depth, no pinning, no particles, simple fades ── */
.rm .hx__film, .rm .hx__content, .rm .hx__logo { transform: none !important; filter: none; opacity: 1; }
.rm .hx__fog i, .rm .hx__down, .rm .medal__ring, .rm .medal__core, .rm .medal__glow, .rm .btn-forge::after, .rm .hx__logo::after { animation: none !important; }
.rm .rl img, .rm .rl video { transform: none !important; }
.rm .rv, .rm .sec-head, .rm .gi .gi__text, .rm .gi .gi__media { transform: none !important; clip-path: none !important; transition: opacity 0.6s ease !important; }
.rm .gi__media img { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hx__still, .hx__title, .hx__lead, .hx__ctas, .hx__note { animation: none !important; }
}

/* ── tablets / phones ── */
@media (max-width: 1080px) {
  .races__grid, .acts__list { grid-template-columns: repeat(2, 1fr); }
  .gi, .gi--r { grid-template-columns: 1fr; margin-bottom: 70px; }
  .gi--r .gi__media { order: 0; }
  .gi__text, .gi--r .gi__text { padding: 26px 0 0; text-align: left; }
  .daily__inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .daily__ctas { justify-content: center; }
}
@media (max-width: 760px) {
  .top--over .top__row { padding-bottom: 16px; }
  .hx__content { padding: 78px 16px 18px; }
  .hx__ctas { flex-direction: column; width: 100%; max-width: 360px; }
  .hx__ctas > * { justify-content: center; }
  .stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stats li:nth-child(3)::before { display: none; }
  .races__grid { grid-template-columns: 1fr; }
  .acts__list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ap { padding: 14px; }
  .ap__num { font-size: 44px; }
  .plans__row, .reads { grid-template-columns: 1fr; }
  .plaque { padding: 30px 20px 24px; }
  .medal { width: 210px; }
  .giants, .acts, .races, .daily, .plans { padding-top: 70px; padding-bottom: 60px; }
  .final { padding: 100px 16px 110px; }
  .tl__close { top: -44px; }
}
