/* Embercrest: near-black, gold, one sans. Glass panels, pills, image cards. */

@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin-wght-normal-lKnXvl8.woff2") format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal-l4pIovd.woff2") format('woff2'); }
/* Russian (Cyrillic) letters, from the same fonts. */
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-cyrillic-wght-normal-DBkmdCd.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-cyrillic-500-normal-4Nq3b98.woff2") format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
    --ink: #0B0908;
    --text: #F4EEE3;
    --text-80: rgba(244, 238, 227, 0.8);
    --text-70: rgba(244, 238, 227, 0.7);
    --text-55: rgba(244, 238, 227, 0.55);
    --text-40: rgba(244, 238, 227, 0.4);
    --gold: #E2B54E;
    --gold-button: #C79A45;
    --gold-hover: #D3A852;
    --gold-pale: #F6D98A;
    --on-gold: #15100A;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.14);
    --jade: #2FB58A;
    --jade-light: #6FE0B8;
    --red: #E0584B;
    --red-light: #FF9A8F;
    --blue: #5AA6E6;
    --blue-light: #9DCBF5;
    --silver: #DCE3EA;
    --bronze: #E0A574;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --mode: var(--gold);
    --mode-light: var(--gold-pale);
    --mode-tint: rgba(226, 181, 78, 0.2);
    color-scheme: dark;
}

.mode-mythic { --mode: var(--jade); --mode-light: var(--jade-light); --mode-tint: rgba(47, 181, 138, 0.2); }
.mode-arena { --mode: var(--red); --mode-light: var(--red-light); --mode-tint: rgba(224, 88, 75, 0.22); }
.mode-blitz { --mode: var(--blue); --mode-light: var(--blue-light); --mode-tint: rgba(90, 166, 230, 0.22); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; overflow-x: hidden; background: transparent; color: var(--text); font: 18px/1.55 'Inter Tight', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p a, .link { color: var(--gold); font-weight: 700; }
p a:hover, .link:hover { color: var(--gold-pale); }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
code { font-family: var(--mono); font-size: 0.9em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 980px; }
.section { padding: 100px 0; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.gap-8 { --gap: 8px; } .gap-12 { --gap: 12px; } .gap-16 { --gap: 16px; } .gap-20 { --gap: 20px; } .gap-24 { --gap: 24px; } .gap-32 { --gap: 32px; } .gap-40 { --gap: 40px; }
.center { align-items: center; text-align: center; }
.muted { color: var(--text-55); }
.small { font-size: 15px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.eyebrow { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--gold); }
.h2 { font-weight: 900; font-size: clamp(36px, 4.6vw, 64px); line-height: 0.98; letter-spacing: -0.04em; }
.lead { font-size: 20px; color: var(--text-80); }
.hero .lead, .signup .lead { max-width: 620px; }
.text { color: var(--text-70); }
.shimmer { background: linear-gradient(100deg, #B9852A 0%, #E2B54E 25%, #FFF1BE 45%, #E2B54E 60%, #B9852A 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3.4s ease-in-out 0.6s 1 both; }

/* Header: over the hero of every page. */
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; animation: down 0.8s var(--ease) both; }
.site-header__inner { max-width: 1320px; margin: 0 auto; padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; gap: 36px; font-weight: 600; font-size: 16px; }
.site-nav a { position: relative; padding: 6px 0; opacity: 0.72; transition: opacity 0.2s; }
.site-nav a:hover, .site-nav a[aria-current='page'] { opacity: 1; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: rgba(244, 238, 227, 0.6); transform: scaleX(0); transition: transform 0.25s; }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current='page']::after { background: var(--gold); transform: none; }
.site-actions { display: flex; align-items: center; gap: 22px; }
.locale-select { position: relative; }
.locale-select > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; background: rgba(11, 9, 8, 0.42); border: 1px solid var(--line-2); font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.locale-select > summary::-webkit-details-marker { display: none; }
.locale-select > summary:hover, .locale-select[open] > summary { background: rgba(11, 9, 8, 0.66); border-color: rgba(246, 217, 138, 0.45); }
.locale-select__chevron { opacity: 0.7; transition: rotate 0.3s var(--ease); }
.locale-select[open] .locale-select__chevron { rotate: 180deg; }
.locale-select__panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 8px; border-radius: 20px; display: flex; flex-direction: column; gap: 2px; background: rgba(22, 17, 13, 0.96); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform-origin: 90% 0; animation: unfold 0.28s var(--ease) both; }
.locale-select__panel a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; font-weight: 700; font-size: 16px; color: var(--text-80); transition: background 0.2s, color 0.2s; }
.locale-select__panel a:hover { background: var(--surface-2); color: var(--text); }
.locale-select__panel a[aria-current] { color: var(--gold-pale); }
.locale-select__check { margin-left: auto; opacity: 0; }
.locale-select__panel a[aria-current] .locale-select__check { opacity: 1; }
@keyframes unfold { from { opacity: 0; transform: translateY(-8px) scale(0.95); } to { opacity: 1; transform: none; } }
.menu { display: none; }
.menu > summary { list-style: none; width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; top: 78px; left: 16px; right: 16px; padding: 12px; border-radius: 24px; display: flex; flex-direction: column; background: rgba(20, 16, 13, 0.94); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.menu__panel a { padding: 14px 16px; border-radius: 14px; font-weight: 700; }
.menu__panel a:hover, .menu__panel a[aria-current='page'] { background: var(--surface-2); color: var(--gold); }
.menu__logout { width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; background: none; color: var(--text); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.menu__logout:hover { background: var(--surface-2); color: var(--gold); }

/* Buttons, pills, tags */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 0; font-family: inherit; font-weight: 700; font-size: 17px; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 46px; padding: 0 22px; font-size: 16px; }
.btn--gold { background: var(--gold-button); color: var(--on-gold); box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.25); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--glass { background: rgba(26, 20, 16, 0.6); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); }
.btn--glass:hover { background: rgba(52, 42, 34, 0.8); }
.btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }
.arrow { display: inline-block; flex: none; vertical-align: -0.2em; transition: transform 0.25s var(--ease); }
.link .arrow, .go .arrow { width: 18px; height: 18px; }
.btn:hover .arrow, .link:hover .arrow, .go:hover .arrow, .card:hover .arrow, .mount:hover .arrow { transform: translateX(4px); }
.btn__note { font-weight: 500; opacity: 0.7; }
.buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: rgba(244, 238, 227, 0.75); transition: background 0.2s; }
.pill:hover { background: rgba(255, 255, 255, 0.12); }
.pill[aria-current='true'] { background: var(--text); color: var(--ink); border-color: var(--text); }
.pill img { width: 22px; height: 22px; border-radius: 6px; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--mode-tint); color: var(--mode-light); }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jade); flex: none; position: relative; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.8s infinite; }
.dot.is-down { background: var(--red); }
.dot.is-down::after { animation: none; }

/* Hero */
.hero { position: relative; min-height: 900px; display: flex; flex-direction: column; overflow: hidden; }
.hero--page { min-height: 680px; }
.hero--compact { min-height: 520px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 9, 8, 0.88) 0%, rgba(11, 9, 8, 0.35) 55%, rgba(11, 9, 8, 0.1) 100%), linear-gradient(180deg, rgba(11, 9, 8, 0.55) 0%, rgba(11, 9, 8, 0) 22%, rgba(11, 9, 8, 0) 60%, var(--ink) 100%); }
.hero__content { position: relative; flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 160px 32px 88px; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; }
.hero__content > * { animation: up 0.9s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: 0.1s; }
.hero__content > :nth-child(3) { animation-delay: 0.2s; }
.hero__content > :nth-child(4) { animation-delay: 0.3s; }
.hero__content > :nth-child(5) { animation-delay: 0.4s; }
.hero h1 { font-weight: 900; font-size: clamp(48px, 6.2vw, 96px); line-height: 0.92; letter-spacing: -0.04em; max-width: 760px; }
.hero--page h1, .hero--compact h1 { font-size: clamp(44px, 5.4vw, 80px); }
/* Text on the left, a panel of facts on the right: the hero is never half empty. */
.hero__content--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); align-items: end; gap: 48px; }
.hero__main { display: flex; flex-direction: column; gap: 24px; }
.hero__main > * { animation: up 0.9s var(--ease) both; }
.hero__main > :nth-child(2) { animation-delay: 0.1s; }
.hero__main > :nth-child(3) { animation-delay: 0.2s; }
.hero__main > :nth-child(4) { animation-delay: 0.3s; }
.hero__main > :nth-child(5) { animation-delay: 0.4s; }
.hero__aside { animation: up 0.9s var(--ease) 0.35s both; }
.facts { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 24px; }
.facts__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 8px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; transition: background 0.2s; }
a.fact:hover { background: rgba(255, 255, 255, 0.07); }
.fact img { width: 44px; height: 44px; border-radius: 12px; flex: none; object-fit: cover; }
.fact__text { display: flex; flex-direction: column; min-width: 0; }
.fact__label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-55); }
.fact__value { font-weight: 800; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fact__big { margin-left: auto; font-weight: 900; font-size: 28px; letter-spacing: -0.03em; color: var(--gold-pale); white-space: nowrap; }
.breadcrumb { font-size: 15px; font-weight: 600; color: var(--text-55); }
.breadcrumb a:hover { color: var(--text); }
.scroll-hint { position: absolute; left: calc(50% - 30px); width: 60px; bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 238, 227, 0.5); animation: bounce 1.8s ease-in-out infinite; }
.embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.embers span { position: absolute; bottom: -10px; border-radius: 50%; background: var(--gold-pale); box-shadow: 0 0 8px 2px rgba(226, 181, 78, 0.7); animation: rise linear infinite; }

/* Cards, panels, bento */
.bento { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 360px 360px; gap: 20px; }
.bento > :first-child { grid-row: span 2; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
/* Five cards: the first one spans two columns, no hole in the grid. */
.cards--lead { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--lead > :first-child { grid-column: span 2; }
.card { position: relative; overflow: hidden; border-radius: 28px; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 320px; padding: 36px; transition: transform 0.4s var(--ease); }
.card--short { min-height: 260px; padding: 28px; }
.card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 9, 8, 0) 30%, rgba(11, 9, 8, 0.92) 100%); }
.card::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: 1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent); transform: translateX(-120%) skewX(-20deg); pointer-events: none; }
.card:hover { transform: translateY(-6px); }
.card:hover .card__bg { transform: scale(1.07); }
.card:hover::before { animation: sweep 0.9s ease; }
.card h3 { font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.04em; }
.bento > :first-child h3 { font-size: 64px; }
.card--short h3 { font-size: 30px; }
.card p { max-width: 460px; color: var(--text-80); }
.card__meta { font-size: 15px; font-weight: 600; color: var(--text-70); }
.go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 16px; opacity: 0.8; transition: gap 0.2s, opacity 0.2s; }
.card:hover .go { gap: 14px; opacity: 1; }
.panel { border-radius: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--line); }
.panel--glass { background: rgba(20, 16, 13, 0.84); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9); }
.panel--mode { background: linear-gradient(160deg, var(--mode-tint), rgba(255, 255, 255, 0.02) 60%); border-color: rgba(255, 255, 255, 0.12); }
.panel__icon { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.panel h3 { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; }
.section--glow { position: relative; overflow-x: clip; }
.glow { position: absolute; right: -10%; top: 10%; width: 900px; height: 600px; background: radial-gradient(closest-side, rgba(226, 181, 78, 0.22), rgba(226, 181, 78, 0)); pointer-events: none; }
.tilt { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.03); transform: perspective(1600px) rotateY(-14deg) rotateX(4deg); transition: transform 0.6s var(--ease); }
.tilt:hover { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.tilt img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tilt--up { transform: none; animation: tilt-up 1.2s var(--ease) 0.25s both; }
.tilt--up:hover { transform: none; }
.cta { position: relative; overflow: clip; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, rgba(11, 9, 8, 0.5), rgba(11, 9, 8, 0.9)); }
.cta__content { position: relative; padding: 140px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta h2 { font-weight: 900; font-size: clamp(44px, 6vw, 88px); line-height: 0.92; letter-spacing: -0.045em; }
.cta p { max-width: 520px; color: rgba(244, 238, 227, 0.75); }
.emblem-float { animation: float 4.5s ease-in-out infinite; }
.bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; color: var(--text-80); }
.bullets li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--mode); transform: rotate(45deg); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--mode-light); white-space: nowrap; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 44px; }
.stats .stat { max-width: 220px; }
.stat span { color: var(--text-70); font-size: 16px; }

/* Leaderboards: one rounded row per entry. */
.rows { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.row { display: grid; grid-template-columns: 64px 96px minmax(0, 1fr) auto 90px; align-items: center; gap: 24px; padding: 22px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: background 0.2s, border-color 0.2s; }
.row:hover { background: var(--surface-2); border-color: rgba(226, 181, 78, 0.35); }
.row--pvp { grid-template-columns: 64px minmax(0, 1fr) auto 120px; }
.row__rank { display: flex; justify-content: center; font-weight: 900; font-size: 26px; color: var(--text-55); }
.row__rank img { width: 52px; height: 52px; transition: transform 0.3s; }
.row:hover .row__rank img { transform: rotate(-8deg) scale(1.08); }
.row__big { font-weight: 900; font-size: 52px; line-height: 1; letter-spacing: -0.04em; color: var(--gold-pale); }
.row.is-2 .row__big { color: var(--silver); }
.row.is-3 .row__big { color: var(--bronze); }
.row__title { font-weight: 800; font-size: 22px; }
.row__sub { font-size: 15px; color: var(--text-55); }
.row__who { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: 16px; color: rgba(244, 238, 227, 0.75); }
.row__who span { display: inline-flex; align-items: center; gap: 8px; }
.row__who img { width: 30px; height: 30px; border-radius: 50%; }
.row__player { display: flex; align-items: center; gap: 14px; font-weight: 800; font-size: 20px; }
.row__player img { width: 40px; height: 40px; border-radius: 50%; }
.row__num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.row__record { font-size: 16px; font-variant-numeric: tabular-nums; color: var(--text-55); }
.row__rating { font-weight: 900; font-size: 34px; letter-spacing: -0.03em; text-align: right; color: var(--gold-pale); }
.empty { border-radius: 24px; padding: 48px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); color: var(--text-70); }
.empty img { width: 64px; height: 64px; opacity: 0.8; }

/* Tables (item levels) */
.table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.table th, .table td { padding: 16px 22px; text-align: left; }
.table th { font-size: 15px; font-weight: 600; color: var(--text-55); border-bottom: 1px solid var(--line); }
.table td + td, .table th + th { text-align: right; }
.table tr + tr td { border-top: 1px solid var(--line); }
.table strong { color: var(--gold-pale); }

/* FAQ */
.faq { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: background 0.2s, border-color 0.2s; }
.faq[open] { background: rgba(255, 255, 255, 0.06); border-color: rgba(226, 181, 78, 0.35); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 0 24px; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq__pm { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; color: var(--gold); transition: transform 0.3s; flex: none; }
.faq[open] .faq__pm { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 22px; color: var(--text-70); }
.faq__answer a { color: var(--gold); font-weight: 700; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form > div { display: flex; flex-direction: column; gap: 8px; }
.form label { font-weight: 600; font-size: 15px; color: var(--text-80); }
.form input:not([type='checkbox']) { height: 52px; width: 100%; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--text); font-family: inherit; font-size: 17px; outline: none; transition: border-color 0.2s, background 0.2s; }
.form input:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.08); }
.form input[aria-invalid='true'] { border-color: var(--red); }
.form .help-text { font-size: 14px; line-height: 1.45; color: rgba(244, 238, 227, 0.5); }
.form ul { list-style: none; padding: 0; margin: 0; color: var(--red-light); font-size: 15px; }
.form button { width: 100%; }
.notice { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 20px; background: rgba(47, 181, 138, 0.12); border: 1px solid rgba(47, 181, 138, 0.4); }
.notice.is-bad { background: rgba(224, 88, 75, 0.12); border-color: rgba(224, 88, 75, 0.45); }
.notice.is-info { background: rgba(226, 181, 78, 0.1); border-color: rgba(226, 181, 78, 0.4); }
.notice img { width: 44px; height: 44px; border-radius: 12px; }
.notice strong { display: block; font-weight: 800; font-size: 20px; }

/* Status: one bar per day. */
.service { display: flex; flex-direction: column; gap: 14px; padding: 24px 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.service__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--jade-light); }
.state.is-down { color: var(--red-light); }
.uptime { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; height: 34px; }
.uptime span { border-radius: 3px; background: var(--jade); transform-origin: bottom; animation: bar 0.5s var(--ease) both; }
.uptime span.is-partial { background: var(--gold); }
.uptime span.is-down { background: var(--red); }
.uptime span.is-none { background: rgba(255, 255, 255, 0.1); }
.uptime__axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-40); }

/* Footer */
.site-footer { background: rgba(11, 9, 8, 0.5); }
.site-footer__inner { max-width: 1320px; margin: 0 auto; padding: 64px 32px 40px; display: flex; flex-direction: column; gap: 48px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__brand { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--text-55); }
.site-footer__brand .brand { font-size: 20px; color: var(--text); }
.site-footer__brand .brand img { width: 36px; height: 36px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.site-footer nav h2 { font-size: 16px; font-weight: 700; }
.site-footer nav a { color: var(--text-55); }
.site-footer nav a:hover { color: var(--text); }
.site-footer__credit { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; color: var(--text-40); }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.legal-toc a { color: var(--text-55); }
.legal-toc a:hover { color: var(--text); }
.legal-section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.legal-section h2 { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.legal-section p { color: var(--text-80); line-height: 1.7; }

/* Scroll reveal, where the browser drives animations from the scroll. */
@supports (animation-timeline: view()) {
    .reveal, .panel, .card, .row, .faq, .h2, .service { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}

@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes down { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }
@keyframes shimmer { to { background-position: 200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: 0.9; } 100% { transform: translate(40px, -560px); opacity: 0; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes sweep { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(300%) skewX(-20deg); } }
@keyframes reveal { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
@keyframes bar { from { transform: scaleY(0.2); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes tilt-up { from { transform: perspective(1600px) rotateX(18deg) translateY(60px); opacity: 0.4; } to { transform: perspective(1600px) rotateX(0) translateY(0); opacity: 1; } }
@keyframes cursor { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 88% { transform: translateX(100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
    body { font-size: 17px; }
    .container, .site-header__inner, .hero__content, .site-footer__inner { padding-left: 16px; padding-right: 16px; }
    .site-header__inner { padding-top: 16px; padding-bottom: 16px; }
    .site-nav, .site-actions .btn { display: none; }
    .menu { display: block; }
    .hero { min-height: 720px; }
    .hero--page, .hero--compact { min-height: 520px; }
    .hero__content { padding-top: 120px; padding-bottom: 64px; }
    .scroll-hint { display: none; }
    .section { padding: 72px 0; }
    .bento, .split, .grid-2, .grid-3, .grid-4, .legal-layout, .hero__content--split { grid-template-columns: 1fr; grid-template-rows: none; }
    .bento > * { grid-row: auto !important; min-height: 420px; }
    .cards--lead { grid-template-columns: 1fr; }
    .cards--lead > :first-child { grid-column: auto; }
    .card { padding: 28px; }
    .row { grid-template-columns: 48px 72px minmax(0, 1fr) 70px; gap: 14px; padding: 18px; }
    .row--pvp { grid-template-columns: 48px minmax(0, 1fr) 80px; }
    .row__who, .row--pvp .row__record { display: none; }
    .row__big { font-size: 38px; }
    .row__rating { font-size: 26px; }
    .cta__content { padding: 96px 20px; }
    .legal-toc { position: static; }
    .tilt { transform: none; }
}

/* Mythic+: what the clock gives the key. */
.chrono { position: relative; display: grid; grid-template-columns: 6fr 2fr 2fr 1.6fr; gap: 6px; }
.chrono__seg { display: flex; flex-direction: column; gap: 8px; }
.chrono__bar { height: 56px; border-radius: 12px; display: flex; align-items: center; padding: 0 14px; font-weight: 900; font-size: 24px; letter-spacing: -0.02em; transform-origin: left; }
.chrono__bar--1 { background: var(--jade); color: #06231A; }
.chrono__bar--2 { background: rgba(47, 181, 138, 0.55); }
.chrono__bar--3 { background: rgba(226, 181, 78, 0.6); color: var(--on-gold); }
.chrono__bar--4 { background: rgba(224, 88, 75, 0.5); }
.chrono__cursor { position: absolute; top: -6px; left: 0; height: 68px; width: 100%; animation: cursor 7s ease-in-out infinite; z-index: 1; pointer-events: none; }
.chrono__cursor::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--text); box-shadow: 0 0 12px rgba(244, 238, 227, 0.9); }
.chrono__cursor::before { content: ''; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--text); }

/* Arena: Season Elite over Naxxramas. */
.elite { position: relative; overflow: clip; }
.elite__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.elite__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 9, 8, 0.94) 0%, rgba(11, 9, 8, 0.72) 55%, rgba(11, 9, 8, 0.55) 100%); }
.elite__content { position: relative; padding-top: 110px; padding-bottom: 110px; }
@media (max-width: 900px) { .elite__content { padding-top: 72px; padding-bottom: 72px; } }
.panel .stat strong { font-size: 34px; }

/* Registration: one card, the art on one side, the form on the other. */
.signup { max-width: 1240px; margin: 0 auto; padding: 150px 32px 110px; }
.signup__card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(20, 16, 13, 0.85); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9); animation: up 0.9s var(--ease) both; }
.signup__art { position: relative; min-height: 680px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 44px; }
.signup__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signup__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 9, 8, 0.35) 0%, rgba(11, 9, 8, 0.1) 40%, rgba(11, 9, 8, 0.9) 100%); }
.signup__pitch { position: relative; display: flex; flex-direction: column; gap: 22px; }
.signup__title { font-weight: 900; font-size: 72px; line-height: 0.9; letter-spacing: -0.045em; }
.mode-chip { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }
.mode-chip img { width: 32px; height: 32px; border-radius: 50%; }
.signup__form { padding: 52px 52px 44px; justify-content: center; gap: 20px; }
.signup__form h1 { font-weight: 900; font-size: 40px; letter-spacing: -0.035em; }
.signup__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.signup__pair > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
@media (max-width: 900px) { .signup { padding: 110px 16px 72px; } .signup__card { grid-template-columns: 1fr; } .signup__art { min-height: 420px; padding: 28px; } .signup__title { font-size: 52px; } .signup__form { padding: 32px 22px; } .signup__pair { grid-template-columns: 1fr; } }


/* Status: centred head, the two services side by side, the FAQ beside its title. */
.status-head { position: relative; padding: 160px 0 90px; background: radial-gradient(900px 420px at 50% 120px, rgba(47, 181, 138, 0.14), transparent 70%); }
.status-head h1 { font-weight: 900; font-size: clamp(44px, 5.4vw, 80px); line-height: 0.92; letter-spacing: -0.04em; animation: up 0.9s var(--ease) both; }
.status-pill { display: inline-flex; align-items: center; gap: 14px; padding: 10px 22px 10px 10px; border-radius: 999px; background: rgba(47, 181, 138, 0.12); border: 1px solid rgba(47, 181, 138, 0.4); animation: up 0.9s var(--ease) 0.1s both; }
.status-pill.is-down { background: rgba(224, 88, 75, 0.12); border-color: rgba(224, 88, 75, 0.45); }
.status-pill img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--jade); }
.status-pill.is-down img { box-shadow: 0 0 0 2px var(--red); }
.status-pill strong { font-weight: 800; font-size: 20px; color: var(--jade-light); }
.status-pill.is-down strong { color: var(--red-light); }
.service.panel--glass { border-radius: 24px; padding: 28px; }
.state-pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(47, 181, 138, 0.18); color: var(--jade-light); font-weight: 700; font-size: 15px; }
.state-pill.is-down { background: rgba(224, 88, 75, 0.18); color: var(--red-light); }
.faq-layout { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 64px; align-items: start; }
.faq-layout__intro { position: sticky; top: 40px; }
@media (max-width: 900px) { .status-head { padding: 120px 0 64px; } .faq-layout { grid-template-columns: 1fr; gap: 24px; } .faq-layout__intro { position: static; } }

/* Warm stone under every page, and the game's own textures in turn under the sections: dark
   the dark one (tinted with the trial's colour on its pages) and a deeper stone. */
body { background: linear-gradient(rgba(26, 19, 14, 0.86), rgba(20, 15, 11, 0.9)), url("../art/textures/stone-Oo3Xg0q.webp") 0 0 / 320px; }
.section:nth-of-type(3n + 2), .section--dark { background: linear-gradient(rgba(12, 10, 9, 0.35), rgba(12, 10, 9, 0.45)), url("../art/textures/dark-Qthyxvz.webp") center top / 1920px auto; }
.section:nth-of-type(3n), .section--deep { background: linear-gradient(rgba(16, 11, 8, 0.8), rgba(12, 9, 7, 0.86)), url("../art/textures/stone-Oo3Xg0q.webp") 0 0 / 256px; }
.mode-mythic .section:nth-of-type(3n + 2) { background: linear-gradient(rgba(10, 40, 32, 0.45), rgba(8, 24, 20, 0.55)), url("../art/textures/dark-Qthyxvz.webp") center top / 1920px auto; }
.mode-arena .section:nth-of-type(3n + 2) { background: linear-gradient(rgba(52, 12, 10, 0.45), rgba(30, 9, 8, 0.55)), url("../art/textures/dark-Qthyxvz.webp") center top / 1920px auto; }
.mode-blitz .section:nth-of-type(3n + 2) { background: linear-gradient(rgba(12, 26, 44, 0.45), rgba(9, 16, 28, 0.55)), url("../art/textures/dark-Qthyxvz.webp") center top / 1920px auto; }
/* The same metal border between every two blocks of a page, and over the footer. */
main section, .site-footer { position: relative; }
main section + section::before, main > * + section::before, .site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 12px; z-index: 3; background: url("../art/textures/border-70jqy7w.webp") center / auto 100% repeat-x; pointer-events: none; }
main section + section::after, main > * + section::after, .site-footer::after { content: ''; position: absolute; left: 50%; top: 6px; width: 120px; height: 36px; transform: translate(-50%, -50%); z-index: 4; background: url("../art/textures/border-ornament-HcizyK6.webp") center / contain no-repeat; pointer-events: none; }
.site-footer { background: rgba(11, 9, 8, 0.72); }
.hero__shade { background: linear-gradient(90deg, rgba(11, 9, 8, 0.85) 0%, rgba(11, 9, 8, 0.3) 55%, rgba(11, 9, 8, 0.05) 100%), linear-gradient(180deg, rgba(11, 9, 8, 0.5) 0%, rgba(11, 9, 8, 0) 22%, rgba(11, 9, 8, 0) 65%, rgba(11, 9, 8, 0.35) 100%); }

/* Download: the title on one line, the launcher large beside it. */
.hero--download .hero__content--split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
/* Sized from the column's width: one line in French and English, never under the picture. */
.hero--download h1 { font-size: clamp(28px, calc(3.4vw - 6px), 52px); white-space: nowrap; }
.hero--download .hero__main { min-width: 0; }
.section--tight { padding: 56px 0; }
.gap-4 { --gap: 4px; }
.steps { margin: 0; padding: 22px 8px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { display: flex; align-items: center; gap: 16px; padding: 4px 22px; }
.steps li + li { border-left: 1px solid var(--line-2); }
.steps strong { font-weight: 800; font-size: 18px; }
.steps a { color: var(--gold); font-weight: 700; }
@media (max-width: 900px) { .hero--download h1 { white-space: normal; } .steps { grid-template-columns: 1fr 1fr; gap: 16px 0; } .steps li:nth-child(3) { border-left: 0; } }

/* What the launcher does: an icon and one line per feature. */
.features { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.features li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.features img { width: 48px; height: 48px; border-radius: 12px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.features strong { font-weight: 800; font-size: 17px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* News: cards, the article's reading column, and its text. */
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { min-height: 300px; }
.news-card h3 { font-size: 26px; line-height: 1.1; }
.news-card p { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-body { max-width: 820px; }
.article-hero h1 { font-size: clamp(40px, 4.6vw, 68px); max-width: 900px; }
.prose { color: var(--text-80); font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-weight: 900; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); }
.prose h3 { margin-top: 1.5em; font-weight: 800; font-size: 24px; color: var(--text); }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--text-70); }
.prose code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.prose hr { border: 0; height: 12px; background: url("../art/textures/border-70jqy7w.webp") center / auto 100% repeat-x; }

/* /admin news editor: covers to pick, the text beside its preview. */
.admin-title { font-weight: 800; font-size: 22px; }
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 360px; overflow-y: auto; padding: 2px; }
.cover-choice { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; color: var(--text-70); }
.cover-choice input { position: absolute; opacity: 0; }
.cover-choice img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.cover-choice span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover-choice--none { justify-content: center; min-height: 100px; text-align: center; }
.cover-choice:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); color: var(--text); }
.editor__tools { display: flex; flex-wrap: wrap; gap: 6px; }
.editor__tools .pill { min-height: 36px; padding: 0 14px; cursor: pointer; font-family: inherit; }
.editor__panes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.form .editor__input { width: 100%; min-height: 420px; padding: 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-2); color: var(--text); font: 15px/1.6 var(--mono); resize: vertical; }
.form textarea { width: 100%; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--text); font: 16px/1.5 inherit; font-family: inherit; }
.form select { height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--text); font-family: inherit; font-size: 16px; }
.editor__preview { min-height: 420px; max-height: 720px; overflow-y: auto; padding: 18px 22px; border-radius: 14px; border: 1px dashed var(--line-2); font-size: 16px; }
@media (max-width: 900px) { .news-grid, .editor__panes { grid-template-columns: 1fr; } }
.form .editor__tools button { width: auto; }
.admin-news .grid-2 > div { display: flex; flex-direction: column; gap: 8px; }
.admin-news select { width: 100%; }
.form .prose ul, .form .prose ol { color: inherit; font-size: inherit; padding-left: 1.3em; list-style: disc; }
.form .prose ol { list-style: decimal; }
.editor__preview h2 { font-size: 26px; }

/* Player profile */
.player-hero { min-height: 460px; }
.player-id { display: flex; align-items: center; gap: 22px; }
.player-id__class { width: 84px; height: 84px; border-radius: 22px; flex: none; box-shadow: 0 0 0 2px rgba(226, 181, 78, 0.6), 0 14px 34px -10px rgba(0, 0, 0, 0.9); }
.player-hero h1 { font-size: clamp(40px, 5vw, 72px); }
.player-id__line { font-size: 18px; color: var(--text-80); }
.faction { --mode-tint: rgba(255, 255, 255, 0.12); --mode-light: var(--text-80); }
.faction--alliance { --mode-tint: rgba(90, 166, 230, 0.22); --mode-light: var(--blue-light); }
.faction--horde { --mode-tint: rgba(224, 88, 75, 0.22); --mode-light: var(--red-light); }
.brackets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.bracket { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.bracket.is-empty { opacity: 0.55; }
.bracket__head { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.bracket__head img { width: 40px; height: 40px; border-radius: 10px; }
.bracket__rating { font-weight: 900; font-size: 44px; line-height: 1; letter-spacing: -0.04em; color: var(--gold-pale); }
.bracket__rank { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.bracket__rank img { width: 28px; height: 28px; }
.elite-progress { display: flex; align-items: center; gap: 22px; }
.elite-progress > img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.meter { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #B9852A, #E2B54E, #F6D98A); }
.key-card.is-empty { opacity: 0.5; }
.key-card__level { position: absolute; top: 22px; right: 24px; font-weight: 900; font-size: 40px; letter-spacing: -0.04em; color: var(--jade-light); text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8); }
.match { grid-template-columns: 40px minmax(0, 1fr) auto 80px 70px; padding: 16px 24px; }
.match img { width: 40px; height: 40px; border-radius: 10px; }
.match__result { font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.match.is-win .match__result, .match.is-win .match__change { color: var(--jade-light); }
.match.is-loss .match__result, .match.is-loss .match__change { color: var(--red-light); }
.match__change { font-weight: 900; font-size: 22px; text-align: right; }
a.player-link { color: inherit; }
a.player-link:hover { color: var(--gold-pale); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .brackets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
    .brackets { grid-template-columns: 1fr 1fr; }
    .player-id { gap: 16px; }
    .player-id__class { width: 64px; height: 64px; }
    .match { grid-template-columns: 36px minmax(0, 1fr) auto 60px; gap: 12px; padding: 14px 16px; }
    .match .row__num { display: none; }
}

/* Login and "my account" */
.site-login { font-weight: 600; font-size: 15px; opacity: 0.8; }
.site-login:hover { opacity: 1; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-80); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); }
.account-menu { position: relative; }
.account-menu > summary { list-style: none; cursor: pointer; gap: 10px; padding-left: 6px; }
.account-menu > summary::-webkit-details-marker { display: none; }
.account-menu__avatar { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--gold), #8A6420); color: var(--on-gold); font-weight: 900; }
.account-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; padding: 8px; border-radius: 18px; display: flex; flex-direction: column; background: rgba(20, 16, 13, 0.96); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9); }
.account-menu__panel a, .account-menu__panel button { display: block; width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; font-weight: 700; font-size: 15px; text-align: left; cursor: pointer; }
.account-menu__panel a:hover, .account-menu__panel button:hover { background: var(--surface-2); color: var(--gold); }
.account-head { padding: 150px 0 60px; }
.account-head h1 { font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.92; letter-spacing: -0.04em; }
.account-season { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.account-rating { display: flex; align-items: center; gap: 16px; padding: 20px; }
.account-rating > img { width: 52px; height: 52px; flex: none; border-radius: 12px; }
.account-rating__value { font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--mode-light, var(--gold-pale)); }
.account-characters { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.account-characters .panel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; transition: background 0.2s, border-color 0.2s; }
.account-characters a.panel:hover { background: var(--surface-2); border-color: rgba(226, 181, 78, 0.35); }
.account-characters img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.account-characters__rating { margin-left: auto; font-weight: 900; font-size: 24px; color: var(--gold-pale); }
@media (max-width: 900px) { .site-login { display: none; } .account-menu { display: none; } .account-head { padding: 110px 0 40px; } }

/* The game's windows, cut out and in relief (_window, _showcase, _feature). Their movement is the
   controllers' (springs): nothing here transitions a transform, nor filters anything that moves. */
.window { position: relative; aspect-ratio: var(--ratio); transform-style: preserve-3d; }
.window img { display: block; max-width: none; width: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.window__base, .window__soft { position: absolute; inset: 0; height: 100%; }
.window__shadow { position: absolute; inset: 9% 4% 5%; border-radius: 12px; box-shadow: 0 34px 80px 6px rgba(0, 0, 0, 0.8); }
.window__part { position: absolute; transform: translateZ(calc(var(--z) * var(--lift, 0))); will-change: transform; }
.window__part::before { content: ''; position: absolute; inset: 5% 2%; border-radius: 8px; box-shadow: 0 22px 34px 4px rgba(0, 0, 0, 0.75), 0 0 30px 2px color-mix(in srgb, var(--mode) 55%, transparent); opacity: var(--lift, 0); will-change: opacity; }
.window__part--bare::before { display: none; }
.window__part img { position: relative; }
.window__soft { transform: translateZ(1px); opacity: var(--soft, 0); will-change: opacity; }
.window .window__floor { position: absolute; left: 0; }

.showcase { position: relative; overflow: clip; isolation: isolate; display: flex; flex-direction: column; height: clamp(600px, 100svh, 1080px); padding: clamp(28px, 5.2vh, 64px) 0 clamp(24px, 4vh, 48px); }
.showcase__backs { position: absolute; inset: 0; z-index: -1; }
.showcase__backs::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#15110E, rgba(21, 17, 14, 0) 25%, rgba(21, 17, 14, 0) 70%, #15110E); }
.showcase__back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease-in-out; will-change: opacity; }
.showcase__back.is-active { opacity: 0.42; }
.showcase__head { display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 26px); }
.showcase__head .h2 { font-size: clamp(34px, min(4.4vw, 6.4vh), 62px); }
.showcase__tabs .pill { position: relative; overflow: hidden; cursor: pointer; font-family: inherit; transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease; }
.showcase__tabs .pill[aria-selected='true'] { background: var(--text); color: var(--ink); border-color: var(--text); }
.showcase__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold-button); transform: scaleX(0); transform-origin: left; }

.stage { position: relative; flex: 1 1 0; min-height: 260px; container-type: size; perspective: 1900px; perspective-origin: 50% 44%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.stage:active { cursor: grabbing; }
.stage__world { position: absolute; inset: 0; transform-style: preserve-3d; }
.scene { position: absolute; inset: 0 0 9%; display: grid; place-items: center; transform-style: preserve-3d; visibility: hidden; pointer-events: none; will-change: transform, opacity; }
.scene.is-active { visibility: visible; }
.scene .window { width: min(78cqw, 1080px, calc(84cqh * var(--wide))); pointer-events: auto; }
.scene:not(.is-active) .window { cursor: pointer; }
.scene__glow { position: absolute; pointer-events: none; width: min(1300px, 110cqw); height: min(820px, 135cqh); background: radial-gradient(closest-side, color-mix(in srgb, var(--mode) 32%, transparent), transparent); transform: translateZ(-120px); opacity: var(--glow, 0); will-change: opacity; }
.stage__arrow { position: absolute; top: 44%; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 16, 13, 0.82); color: var(--text); cursor: pointer; transition: background 0.3s, transform 0.3s var(--ease); }
.stage__arrow:hover { background: rgba(58, 48, 38, 0.95); transform: scale(1.06); }
.stage__arrow--prev { left: max(24px, calc(50% - 660px)); }
.stage__arrow--next { right: max(24px, calc(50% - 660px)); }

.captions { display: grid; }
.caption { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; opacity: 0; visibility: hidden; translate: 0 10px; transition: opacity 0.35s ease, translate 0.35s ease, visibility 0s 0.35s; }
.caption.is-active { opacity: 1; visibility: visible; translate: 0 0; transition: opacity 0.7s ease 0.25s, translate 0.9s var(--ease) 0.25s, visibility 0s 0.25s; }
.caption h3 { font-weight: 900; font-size: clamp(24px, 3.6vh, 34px); line-height: 1.05; letter-spacing: -0.03em; }
.caption .text { max-width: 620px; }
.caption__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.caption__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--text-80); }
.caption__points li::before { content: ''; flex: none; width: 8px; height: 8px; rotate: 45deg; background: var(--mode-light); box-shadow: 0 0 12px var(--mode); }

/* Short screens: the title and the tabs share a line, the stage keeps the room. */
@media (min-width: 1200px) and (max-height: 820px) {
    .showcase__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .showcase__head .section-head { flex: none; }
    .showcase__head .h2 { font-size: 34px; white-space: nowrap; }
    .showcase__tabs { gap: 6px; flex-wrap: nowrap; justify-content: flex-end; }
    .showcase__tabs .pill { min-height: 38px; padding: 0 12px; gap: 7px; font-size: 14px; white-space: nowrap; }
    .showcase__tabs .pill img { width: 18px; height: 18px; }
    .caption__points { gap: 4px; }
    .caption__points li, .caption .text { font-size: 15px; }
}

.feature { padding: clamp(64px, 11vh, 120px) 0; }
.feature .split { grid-template-columns: 0.75fr 1.25fr; }
.feature__view { perspective: 1700px; }
.feature__body { transform-style: preserve-3d; will-change: transform; margin-right: -5%; }
.feature .window { width: min(100%, calc(74svh * var(--wide))); margin-left: auto; }
.feature--flip .feature__view { order: -1; }
.feature--flip .feature__body { margin: 0 0 0 -5%; }
.feature--flip .window { margin: 0 auto 0 0; }
.feature--flip .split { grid-template-columns: 1.25fr 0.75fr; }
.feature--flip .glow { right: auto; left: -10%; }
.feature .glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--mode) 24%, transparent), transparent); }

@media (max-width: 900px) {
    .showcase { height: auto; padding: 64px 0; }
    .showcase__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
    .showcase__tabs .pill { flex: none; }
    .stage { flex: none; height: 86vw; margin: 18px 0 8px; perspective: none; }
    .scene { inset: 0; }
    .scene .window { width: min(122cqw, calc(96cqh * var(--wide))); }
    .window__floor, .scene__glow, .stage__arrow { display: none !important; }
    .caption { grid-template-columns: 1fr; align-items: start; }
    .feature .split, .feature--flip .split { grid-template-columns: 1fr; }
    .feature--flip .feature__view { order: 0; }
    .feature__body, .feature--flip .feature__body { margin: 0; }
    .feature .window { width: 100%; }
    .window__part { transform: none; }
}

/* The season's rewards: the recoloured sets in a line, then a mount for each side. */
.mode-ember { --mode: #F0742A; --mode-light: #FFC27A; --mode-tint: rgba(240, 116, 42, 0.22); }
.section.prestige { position: relative; overflow: clip visible; isolation: isolate; display: flex; flex-direction: column; height: clamp(660px, 100svh, 1080px); padding: clamp(36px, 6vh, 72px) 0 clamp(24px, 4vh, 48px); background: #0C0705; }
.prestige__back { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0.55; }
.prestige__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 62% at 50% 62%, rgba(240, 100, 30, 0.24), rgba(12, 7, 5, 0) 70%), linear-gradient(180deg, rgba(12, 7, 5, 0.82) 0%, rgba(12, 7, 5, 0.35) 34%, rgba(12, 7, 5, 0.4) 66%, #0C0705 94%); }
.prestige .h2 { font-size: clamp(34px, min(3.3vw, 5.6vh), 52px); }
.prestige__head { position: relative; z-index: 3; pointer-events: none; }
/* The two ways (PvP, PvE): the head's buttons, then one line of champions each, the other hidden. */
.prestige__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.prestige__ways { --quality: var(--mode-light); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(12, 7, 5, 0.6); box-shadow: inset 0 0 0 1px var(--line-2); pointer-events: auto; }
.prestige__way { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.prestige__way[hidden] { display: none; }
.prestige__anchor { position: absolute; top: 0; }
.prestige .embers { z-index: 2; }
.prestige .embers span { background: #FFB465; box-shadow: 0 0 8px 2px rgba(255, 120, 40, 0.75); }

.lineup { position: relative; flex: 1 1 0; min-height: 300px; margin-top: -2vh; container-type: size; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.lineup:active { cursor: grabbing; }
.lineup__world { position: absolute; inset: 0; transform-style: preserve-3d; }
.lineup__light { position: absolute; left: 50%; bottom: -4%; width: min(1100px, 92%); height: 34%; translate: -50% 0; background: radial-gradient(closest-side, rgba(255, 130, 45, 0.3), rgba(255, 90, 20, 0.08) 60%, transparent); pointer-events: none; }
.champion { position: absolute; left: 50%; bottom: -5%; height: 122%; aspect-ratio: 1100 / 1160; margin-left: calc(122cqh * -1100 / 1160 / 2); transform-origin: 50% 93%; visibility: hidden; cursor: pointer; will-change: transform, opacity; }
.champion.is-active { visibility: visible; }
.champion__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.champion__gesture { inset: auto; left: -18.421%; top: -4.988%; width: 136.842%; height: 109.975%; pointer-events: none; }
.champion.is-acting .champion__img:not(.champion__gesture) { visibility: hidden; }
.champion__floor { position: absolute; left: 26%; right: 26%; bottom: 3%; height: 7.5%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.45) 55%, transparent); }
.champion__floor::before { content: ''; position: absolute; inset: -560% -22% -30%; background: radial-gradient(closest-side, rgba(255, 122, 40, 0.34), rgba(255, 90, 20, 0.1) 60%, transparent); opacity: var(--glow, 0); will-change: opacity; }

.prestige__foot { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px 48px; align-items: center; padding-top: clamp(12px, 2vh, 24px); }
.prestige__caption { grid-template-columns: 1fr; }
.prestige__foot .caption__points { justify-self: end; gap: 6px; }
.rail { display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(20, 12, 8, 0.72); border: 1px solid var(--line-2); }
.rail__class { position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: none; cursor: pointer; opacity: 0.55; transition: opacity 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.rail__class img { width: 100%; height: 100%; object-fit: cover; }
.rail__class:hover { opacity: 0.9; transform: translateY(-3px); }
.rail__class[aria-selected='true'] { opacity: 1; box-shadow: 0 0 0 2px #0C0705, 0 0 0 4px var(--mode-light), 0 0 22px var(--mode); }

.section.mounts { background: linear-gradient(180deg, #0C0705, rgba(16, 9, 6, 0.9)), url("../art/textures/stone-Oo3Xg0q.webp") 0 0 / 256px; overflow-x: clip; }
.mounts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 72px; }
.mount { display: block; perspective: 1500px; }
.mount__card { position: relative; display: flex; align-items: flex-end; height: 500px; border-radius: 28px; transform-style: preserve-3d; will-change: transform; }
.mount__back { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--line-2); background: var(--ink); }
.mount__back img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: transform 0.8s var(--ease); }
.mount__back::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-2); background: linear-gradient(180deg, color-mix(in srgb, var(--mode) 12%, transparent) 0%, rgba(11, 9, 8, 0.35) 38%, rgba(11, 9, 8, 0.96) 84%); }
.mount:hover .mount__back img { transform: scale(1.06); }
.mount__glow { position: absolute; left: 4%; right: 4%; top: -4%; height: 84%; background: radial-gradient(closest-side, rgba(255, 125, 40, 0.4), color-mix(in srgb, var(--mode) 18%, transparent) 55%, transparent); transform: translateZ(10px); pointer-events: none; }
.mount__beast { position: absolute; left: 0; right: 0; top: -92px; height: 462px; transform: translateZ(calc(24px + 46px * var(--lift, 0))); pointer-events: none; }
.mount__beast img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: transform 0.5s var(--ease); }
.mount:hover .mount__beast img { transform: translateY(-10px) scale(1.03); }
.mount--tiger .mount__beast { top: -64px; height: 430px; }
.mount__text { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px; transform: translateZ(30px); }
.mount__name { font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.04em; }
.mount:hover .go { gap: 14px; opacity: 1; }

@media (min-width: 901px) and (max-width: 1250px) {
    .prestige__foot { grid-template-columns: minmax(0, 1fr) auto; }
    .prestige__foot .captions { grid-column: 1; }
    .prestige__foot .caption__points { grid-column: 1 / -1; grid-row: 2; flex-direction: row; flex-wrap: wrap; justify-self: start; gap: 8px 28px; }
}
@media (max-width: 900px) {
    .section.prestige { height: auto; padding: 64px 0; }
    .lineup { flex: none; height: 116vw; margin: 56px 0 0; }
    .lineup .stage__arrow { display: none; }
    .prestige__foot { grid-template-columns: minmax(0, 1fr); }
    /* Every class in one row: as many equal columns as there are sets, the buttons round in them. */
    .rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 6px; border-radius: 20px; }
    .rail__class { width: auto; height: auto; aspect-ratio: 1; }
    .prestige__foot .caption__points { justify-self: start; }
    .mounts__grid { grid-template-columns: 1fr; gap: 96px; padding-top: 56px; }
    .mount__card { height: 480px; }
    .mount__beast { top: -60px; height: 340px; }
    .mount--tiger .mount__beast { top: -40px; height: 320px; }
    .mount__text { padding: 24px; }
}

/* Arena: what an Elite earns. */
.trophies { display: flex; justify-content: center; height: 300px; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.trophies img { width: auto; height: 470px; max-width: none; margin: -18px -90px 0; }
.trophies img:nth-child(2) { position: relative; z-index: 1; }
.trophies img:not(:nth-child(2)) { opacity: 0.75; scale: 0.92; transform-origin: 50% 0; }
.trophy { display: flex; gap: 22px; align-items: flex-start; }
.trophy__thumb { position: relative; flex: none; width: 112px; height: 112px; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 60%, rgba(240, 116, 42, 0.38), rgba(11, 9, 8, 0.75) 75%); box-shadow: inset 0 0 0 1px var(--line-2); }
.trophy__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; scale: 1.12; }
.trophy__thumb--look img { inset: auto; left: 50%; top: -14px; width: 190px; max-width: none; height: auto; translate: -50% 0; scale: 1; }
@media (max-width: 900px) { .trophies { height: 240px; } .trophies img { height: 420px; } .trophy { flex-direction: column; } }

/* Home: the champions of the season on the training ground, the text in the sky beside them. */
.hero--home { min-height: max(680px, min(100svh, 1080px)); background: #2A1A12; }
.hero--home .hero__img { object-position: 38% 50%; }
.hero--home .hero__shade { background: radial-gradient(62% 74% at 14% 56%, rgba(24, 11, 8, 0.6), rgba(24, 11, 8, 0.28) 58%, rgba(24, 11, 8, 0) 100%), linear-gradient(180deg, rgba(16, 9, 8, 0.5) 0%, rgba(16, 9, 8, 0) 16%, rgba(16, 9, 8, 0) 74%, rgba(16, 9, 8, 0.7) 100%); }
.hero--home .hero__content { justify-content: center; gap: 30px; padding: 120px 32px 72px; }
.hero--home h1 { max-width: none; font-size: clamp(64px, min(9.4vw, 17vh), 148px); line-height: 0.86; letter-spacing: -0.055em; text-shadow: 0 6px 40px rgba(16, 9, 8, 0.45); }
.hero--home h1 .shimmer { text-shadow: none; padding: 0 0.08em 0.14em 0; }
.hero--home .lead { max-width: 520px; color: var(--text); text-shadow: 0 1px 18px rgba(16, 9, 8, 0.75); }
.hero__party { position: absolute; right: max(0px, calc(50% - 935px)); bottom: 0.5%; width: min(54vw, 104svh, 980px); pointer-events: none; animation: party 0.5s var(--ease) both; }
.hero__party::before { content: ''; position: absolute; left: 10%; right: 0; bottom: 1%; height: 15%; background: radial-gradient(closest-side, rgba(16, 9, 8, 0.6), transparent); }
.hero__party img { position: relative; display: block; width: 100%; height: auto; }
@keyframes party { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) { .site-nav, .site-actions .btn { display: none; } .menu { display: block; } }

/* Home: the launcher, what it does on one line under it. */
.launcher .split { grid-template-columns: auto minmax(0, 1fr); }
.launcher .h2 { font-size: clamp(34px, 4vw, 58px); white-space: nowrap; }
.launcher .lead { max-width: 400px; }
.strip { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.strip li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px 16px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.strip li + li { border-left: 1px solid var(--line); }
.strip img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }

@media (max-width: 1150px) { .strip { grid-template-columns: 1fr 1fr; } .strip li { justify-content: flex-start; padding: 16px 20px; } .strip li:nth-child(3) { border-left: 0; } .strip li:nth-child(n + 3) { border-top: 1px solid var(--line); } }
@media (max-width: 900px) {
    .launcher .split { grid-template-columns: 1fr; }
    .hero--home { min-height: max(760px, 100svh); }
    .hero--home .hero__shade { background: linear-gradient(180deg, rgba(16, 9, 8, 0.6) 0%, rgba(16, 9, 8, 0) 18%, rgba(16, 9, 8, 0) 30%, rgba(16, 9, 8, 0.8) 58%, rgba(16, 9, 8, 0.94) 100%); }
    .hero--home .hero__content { justify-content: flex-end; gap: 20px; padding: 100px 16px 40px; }
    .hero--home h1 { font-size: clamp(56px, 17vw, 96px); }
    .hero--home .buttons .btn { flex: 1 1 100%; }
    .hero__party { left: 50%; right: auto; top: 84px; bottom: auto; width: min(560px, 106vw); margin-left: calc(min(560px, 106vw) / -2); -webkit-mask: linear-gradient(#000 62%, transparent 96%); mask: linear-gradient(#000 62%, transparent 96%); }
    .hero__party::before { display: none; }
}
@media (max-width: 520px) { .strip { grid-template-columns: 1fr; } .strip li { border-left: 0 !important; } .strip li + li { border-top: 1px solid var(--line); } }

/* The trials' pages: the pictures are sharp and bright, the shade only where the text is. */
.mode-mythic .hero__shade, .mode-arena .hero__shade, .mode-blitz .hero__shade { background: linear-gradient(90deg, rgba(11, 9, 8, 0.72) 0%, rgba(11, 9, 8, 0.4) 34%, rgba(11, 9, 8, 0) 66%), linear-gradient(180deg, rgba(11, 9, 8, 0.5) 0%, rgba(11, 9, 8, 0) 20%, rgba(11, 9, 8, 0) 74%, rgba(11, 9, 8, 0.4) 100%); }
.hero--page .tag { background: color-mix(in srgb, var(--mode) 22%, rgba(11, 9, 8, 0.72)); }
.hero--page .lead { color: var(--text); text-shadow: 0 1px 16px rgba(11, 9, 8, 0.8); }
.hero--page .breadcrumb { color: var(--text-80); text-shadow: 0 1px 12px rgba(11, 9, 8, 0.8); }
@media (max-width: 900px) {
    .mode-mythic .hero__shade, .mode-arena .hero__shade, .mode-blitz .hero__shade { background: linear-gradient(180deg, rgba(11, 9, 8, 0.5) 0%, rgba(11, 9, 8, 0.5) 50%, rgba(11, 9, 8, 0.7) 100%); }
}

/* The trials' pages: titles and short texts centred over their grids. */
.center-text { text-align: center; }
.pills--center { justify-content: center; }
.prose-center { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; max-width: 1040px; margin: 0 auto; text-align: center; color: var(--text-70); text-wrap: balance; }
.chrono-center { width: 100%; max-width: 980px; margin: 0 auto; }
.center .text, .center h3, .center .h2 { text-wrap: balance; }
@media (max-width: 900px) { .prose-center { grid-template-columns: 1fr; } }

/* Mythic+: the week's affixes. A key climbs over the cards; those it reached are lit. */
.climb { position: relative; height: 6px; margin: 34px 0 46px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); }
.climb__fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(47, 181, 138, 0.25), var(--jade) 70%, var(--jade-light)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 18px rgba(47, 181, 138, 0.5); }
.climb__stop { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; rotate: 45deg; border-radius: 4px; background: #14211C; border: 2px solid rgba(255, 255, 255, 0.22); transition: background 0.15s, border-color 0.15s, box-shadow 0.15s; }
.climb__stop.is-lit { background: var(--jade); border-color: var(--jade-light); box-shadow: 0 0 22px var(--jade); }
.climb__key { position: absolute; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #0C1512; box-shadow: 0 0 0 2px var(--jade-light), 0 0 34px rgba(47, 181, 138, 0.75), 0 10px 26px rgba(0, 0, 0, 0.6); }
.climb__key img { position: absolute; inset: 5px; width: 44px; height: 44px; border-radius: 50%; }
.climb__key b { position: absolute; left: 50%; top: -34px; translate: -50% 0; padding: 2px 10px; border-radius: 999px; background: var(--jade); color: #06231A; font-weight: 900; font-size: 16px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.affixes__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.affix { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 22px 28px; border-radius: 24px; overflow: hidden; text-align: center; background: var(--surface); border: 1px solid var(--line); opacity: 0.4; transition: opacity 0.15s ease, border-color 0.15s ease, translate 0.18s var(--ease), box-shadow 0.18s ease; }
.affix.is-lit { opacity: 1; border-color: rgba(111, 224, 184, 0.28); translate: 0 -6px; box-shadow: 0 26px 60px -24px rgba(47, 181, 138, 0.45); }
.affix.is-pointed { translate: 0 -12px; border-color: var(--jade-light); box-shadow: 0 34px 70px -22px rgba(47, 181, 138, 0.75); }
.affix__scene { position: relative; align-self: stretch; margin: 0 -22px; aspect-ratio: 320 / 200; background: #100C0A; }
.affix__scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 62%, rgba(16, 20, 18, 0.92)); pointer-events: none; }
.affix__scene canvas { display: block; width: 100%; height: 100%; }
.affix__level { position: absolute; left: 50%; bottom: -11px; translate: -50% 0; padding: 0 10px; border-radius: 999px; background: #2A2521; box-shadow: 0 0 0 3px #14110F; font-weight: 900; font-size: 15px; line-height: 24px; transition: background 0.15s, color 0.15s; }
.affix.is-lit .affix__level { background: var(--jade); color: #06231A; }
.affix__badge { position: relative; z-index: 1; margin: -40px 0 8px; }
.affix__badge img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 3px #14110F, 0 0 0 5px rgba(246, 217, 138, 0.75), 0 8px 22px rgba(0, 0, 0, 0.7); }
.affix h3 { font-weight: 900; font-size: 26px; letter-spacing: -0.03em; }
.affix .text { font-size: 16px; text-wrap: balance; }
.affixes .pill { cursor: pointer; font-family: inherit; }
.affixes .pill[aria-selected='true'] { background: var(--text); color: var(--ink); border-color: var(--text); }
@media (max-width: 1100px) { .affixes__list { grid-template-columns: 1fr 1fr; } .climb { display: none; } }
@media (max-width: 620px) { .affixes__list { grid-template-columns: 1fr; } }

/* A board's pages. */
.row[hidden] { display: none; }
.row--in { animation: up 0.45s var(--ease) both; animation-delay: calc(var(--order, 0) * 45ms); }
.pager { display: flex; justify-content: center; gap: 8px; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.06); color: var(--text-80); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.2s; }
.pager button:hover:not(:disabled, [aria-current]) { background: rgba(255, 255, 255, 0.14); }
.pager button[aria-current='true'] { background: var(--text); border-color: var(--text); color: var(--ink); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.gap-24 { --gap: 24px; }
@media (max-width: 620px) { .locale-select > summary { padding: 0 12px; } .locale-select > summary > svg:first-child { display: none; } .brand { white-space: nowrap; } .site-actions { gap: 12px; } }

/* Rows that always fill their width, whatever the number of cards (--per: in a full row). */
.cards--fill { display: flex; flex-wrap: wrap; }
.cards--fill > * { flex: 1 0 calc(100% / var(--per) - 20px); min-width: 0; min-height: 300px; }
.cards--fill h3 { font-size: 28px; text-wrap: balance; }
@media (max-width: 1100px) { .cards--fill > * { flex-basis: calc(50% - 10px); } }
@media (max-width: 620px) { .cards--fill > * { flex-basis: 100%; min-height: 240px; } }
@media (min-width: 901px) and (max-width: 1250px) { .hero--home .lead { max-width: 420px; } .hero--home .buttons { max-width: 420px; } }

/* Gear quality, as the game draws it: green, blue, purple. */
:root { --q-green: #3DDC5A; --q-blue: #3B8FF0; --q-purple: #B55CF6; }
.q-text--green { color: var(--q-green) !important; }
.q-text--blue { color: var(--q-blue) !important; }
.q-text--purple { color: var(--q-purple) !important; }
.currency { display: inline-flex; align-items: center; gap: 10px; }
.currency img { width: 24px; height: 24px; border-radius: 6px; }

/* Home: the gear loop. A piece to try (ranks controller) and what goes with it. */
.section.loop { position: relative; overflow: clip; background: radial-gradient(70% 60% at 30% 60%, rgba(240, 116, 42, 0.12), transparent 70%), linear-gradient(rgba(14, 9, 7, 0.86), rgba(12, 8, 6, 0.92)), url("../art/textures/stone-Oo3Xg0q.webp") 0 0 / 256px; }
.loop__glow { position: absolute; left: 8%; top: 32%; width: 760px; height: 560px; max-width: 90vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--quality) 22%, transparent), transparent); pointer-events: none; transition: background 0.5s; }
.loop__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: 'head head' 'forge facts'; gap: 48px 56px; align-items: start; }
.loop__head { grid-area: head; max-width: 760px; }
.forge { grid-area: forge; display: flex; flex-direction: column; gap: 28px; padding: 28px; border-radius: 28px; }
.loop__facts { grid-area: facts; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.loop__facts .panel { display: flex; align-items: flex-start; gap: 18px; padding: 24px; }
.loop__facts .panel__icon { flex: none; }


/* The person in the armour of the rank: three looks stacked, only their opacity changes; an aura of the quality's
   colour behind. Opacity only. */
.forge__top { display: grid; grid-template-columns: minmax(170px, 0.95fr) minmax(0, 1.05fr); gap: 28px; align-items: center; }
.forge__stage { position: relative; aspect-ratio: 438 / 720; max-height: 470px; width: 100%; margin: 0 auto; isolation: isolate; }
.forge__aura { position: absolute; inset: 8% -18% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--quality) 42%, transparent), color-mix(in srgb, var(--quality) 12%, transparent) 55%, transparent); transition: background 0.5s; }
.forge__stage::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -2%; height: 9%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.75), transparent); }
.forge__look { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.45s var(--ease); user-select: none; -webkit-user-drag: none; }
.forge__stage[data-look='iron'] .forge__look--iron, .forge__stage[data-look='steel'] .forge__look--steel, .forge__stage[data-look='shadow'] .forge__look--shadow { opacity: 1; }

.forge__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.forge__id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.forge__rank { font-weight: 900; font-size: 72px; line-height: 0.9; letter-spacing: -0.05em; }
.forge__rank b { font-weight: 900; color: var(--quality); transition: color 0.3s; }
.forge__of { font-size: 30px; letter-spacing: -0.02em; color: var(--text-40); }
.forge__look-name { font-weight: 900; font-size: 34px; line-height: 1.05; letter-spacing: -0.03em; color: var(--text); }
.forge__quality { font-weight: 700; font-size: 15px; color: var(--text-70); }
.forge__quality > span:first-child { color: var(--quality); transition: color 0.3s; }
.forge__id.is-forged .forge__rank b { display: inline-block; animation: up 0.5s var(--ease); }

.forge__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(0, 0, 0, 0.35); box-shadow: inset 0 0 0 1px var(--line); }
.forge__mode { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 9px 12px; border: 0; border-radius: 12px; background: none; color: var(--text-40); font: inherit; text-align: left; cursor: pointer; transition: background 0.25s, color 0.25s; }
.forge__mode b { font-weight: 800; font-size: 15px; }
.forge__mode span { font-size: 12px; line-height: 1.2; }
.forge__mode[aria-pressed='true'] { background: rgba(255, 255, 255, 0.08); color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--quality) 45%, transparent); }
.forge__mode:focus-visible, .forge__class:focus-visible, .forge__elite:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.forge__classes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.forge__class { position: relative; aspect-ratio: 1; padding: 3px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, 0.4); cursor: pointer; opacity: 0.55; transition: opacity 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; }
.forge__class img { display: block; width: 100%; height: 100%; border-radius: 7px; }
.forge__class:hover { opacity: 0.9; transform: translateY(-2px); }
.forge__class[aria-pressed='true'] { opacity: 1; box-shadow: 0 0 0 2px var(--quality), 0 8px 22px -8px var(--quality); }

.forge__elite { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px; background: linear-gradient(90deg, rgba(240, 116, 42, 0.16), transparent); color: #FFB874; font-weight: 700; font-size: 14px; line-height: 1.25; text-decoration: none; transition: background 0.25s; }
.forge__elite img { flex: none; border-radius: 8px; box-shadow: 0 0 14px rgba(255, 120, 40, 0.45); }
.forge__elite:hover { background: linear-gradient(90deg, rgba(240, 116, 42, 0.28), transparent); }

.forge__slider { -webkit-appearance: none; appearance: none; width: 100%; height: 36px; margin: 0; background: none; cursor: pointer; touch-action: pan-y; }
.forge__bands { display: grid; grid-template-columns: repeat(10, 1fr); margin: -4px -2px 0; padding: 0; list-style: none; font-weight: 800; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; }
.forge__band { grid-column: span var(--span); padding-top: 6px; border-top: 2px solid; }
.forge__band--iron { color: color-mix(in srgb, var(--q-green) 80%, #fff); border-color: color-mix(in srgb, var(--q-green) 40%, transparent); }
.forge__band--steel { color: color-mix(in srgb, var(--q-blue) 80%, #fff); border-color: color-mix(in srgb, var(--q-blue) 40%, transparent); }
.forge__band--shadow { color: color-mix(in srgb, var(--q-purple) 80%, #fff); border-color: color-mix(in srgb, var(--q-purple) 40%, transparent); }

/* The slider: one thumb over ten steps coloured by quality. */
.forge__track { display: flex; flex-direction: column; gap: 10px; }
.forge__slider::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--q-green) 0 25%, var(--q-blue) 25% 70%, var(--q-purple) 70%) 0 0 / 100% 100%; opacity: 0.9; }
.forge__slider::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--q-green) 0 25%, var(--q-blue) 25% 70%, var(--q-purple) 70%); }
.forge__slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: var(--text); border: 4px solid var(--quality); box-shadow: 0 0 0 4px rgba(11, 9, 8, 0.6), 0 0 22px var(--quality); }
.forge__slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--text); border: 4px solid var(--quality); box-shadow: 0 0 0 4px rgba(11, 9, 8, 0.6), 0 0 22px var(--quality); }
.forge__slider:focus-visible { outline: none; }
.forge__slider:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold); outline-offset: 3px; }
.forge__ticks { display: grid; grid-template-columns: repeat(10, 1fr); margin: 0 -2px; padding: 0; list-style: none; font-weight: 800; font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.forge__ticks li { padding: 4px 0; color: var(--text-40); cursor: pointer; transition: color 0.2s; }
.forge__ticks li.is-reached.q-green { color: var(--q-green); }
.forge__ticks li.is-reached.q-blue { color: var(--q-blue); }
.forge__ticks li.is-reached.q-purple { color: var(--q-purple); }


/* Home: the guild's fief over its picture, the week's colossus beside it. */
.guild { position: relative; overflow: clip; isolation: isolate; }
.guild__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.guild__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 7, 5, 0.92) 0%, rgba(12, 7, 5, 0.66) 42%, rgba(12, 7, 5, 0.2) 75%, rgba(12, 7, 5, 0.35) 100%), linear-gradient(180deg, rgba(12, 7, 5, 0.6), transparent 25%, transparent 70%, rgba(12, 7, 5, 0.85)); }
.guild .embers span { background: #FFB465; box-shadow: 0 0 8px 2px rgba(255, 120, 40, 0.75); }
.guild__content { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-top: 120px; padding-bottom: 120px; }
.guild__text .text { max-width: 520px; color: var(--text-80); }
.caption__points--stack { gap: 12px; }
.colossus { perspective: 1500px; }
.colossus__card { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px var(--line-2); transform-style: preserve-3d; will-change: transform; }
.colossus__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 55% 40%; }
.colossus__text { position: relative; display: flex; flex-direction: column; gap: 10px; margin-top: -90px; padding: 0 32px 30px; background: linear-gradient(180deg, transparent, rgba(12, 7, 5, 0.92) 90px); }
.colossus__text h3 { font-weight: 900; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -0.04em; }
.colossus .tag { gap: 8px; padding-left: 6px; }
.colossus .tag img { width: 20px; height: 20px; border-radius: 50%; }

/* Mythic+: alone or as five, over the lone adventurer. */
.solo { position: relative; overflow: clip; isolation: isolate; }
.solo__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 68% 45%; }
.solo__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 7, 5, 0.94) 0%, rgba(12, 7, 5, 0.7) 45%, rgba(12, 7, 5, 0.25) 80%), linear-gradient(180deg, rgba(12, 7, 5, 0.5), transparent 30%, transparent 70%, rgba(12, 7, 5, 0.8)); }
.solo__content { display: grid; grid-template-columns: minmax(0, 640px); gap: 40px; align-items: end; padding-top: 120px; padding-bottom: 120px; }
.solo__content .text { max-width: 540px; color: var(--text-80); }
.solo__learning .trophy__thumb { background: radial-gradient(circle at 50% 50%, rgba(240, 116, 42, 0.3), rgba(11, 9, 8, 0.75) 75%); }
.solo__learning .trophy__thumb img { inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); border-radius: 14px; scale: 1; object-fit: cover; }

/* Phones and narrow tablets: every grid one column, nothing wider than the screen. */
.split > *, .loop__grid > *, .guild__content > *, .solo__content > *, .hero__content--split > * { min-width: 0; }
@media (max-width: 1100px) {
    .loop__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'forge' 'facts'; gap: 32px; }
    .loop__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .loop__facts .panel { flex-direction: column; }
}
@media (max-width: 900px) {
    .guild__content, .solo__content { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 72px; padding-bottom: 72px; }
    .guild__shade, .solo__shade { background: linear-gradient(180deg, rgba(12, 7, 5, 0.55) 0%, rgba(12, 7, 5, 0.75) 40%, rgba(12, 7, 5, 0.92) 100%); }
    .guild__img { object-position: 50% 50%; }
    .loop__facts { grid-template-columns: minmax(0, 1fr); }
    .loop__facts .panel { flex-direction: row; padding: 20px; }
    .stats { gap: 20px 32px; }
    .stat strong { font-size: 36px; white-space: normal; }
    .elite .trophy { flex-direction: row; }
    .trophies { margin: 0 -16px; }
    /* The showcase's windows fit the screen instead of overflowing it. */
    .scene .window { width: min(100cqw, calc(96cqh * var(--wide))); }
    .stage { height: 66vw; }
}
@media (max-width: 620px) {
    .section { padding: 60px 0; }
    .h2 { font-size: clamp(32px, 9.4vw, 40px); }
    .lead { font-size: 18px; }
    .eyebrow { font-size: 17px; }
    .bento > * { min-height: 340px; }
    .card { padding: 24px; border-radius: 24px; }
    .card h3 { font-size: 36px; }
    .bento > :first-child h3 { font-size: 46px; }
    .panel { padding: 24px; }
    .forge { padding: 18px; gap: 22px; border-radius: 24px; }
        .forge__rank { font-size: 56px; }
    .forge__top { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    /* The pictures are laid over each other (absolute): the stage gets its width from here, not from them. */
    .forge__stage { max-height: 380px; width: min(100%, 232px); }
    .forge__id { align-items: center; text-align: center; }
    .forge__of { font-size: 24px; }
    .colossus__text { padding: 0 22px 22px; margin-top: -60px; }
    .elite .trophy, .solo__learning.trophy { flex-direction: column; }
    .trophy__thumb { width: 84px; height: 84px; }
    /* Boards: the rank, the key, the dungeon, the time; the dungeon's name on two lines at most. */
    .row { grid-template-columns: 34px 58px minmax(0, 1fr) auto; gap: 10px; padding: 14px 16px; border-radius: 18px; }
    .row--pvp { grid-template-columns: 34px minmax(0, 1fr) auto; }
    .row__rank { font-size: 20px; }
    .row__rank img { width: 34px; height: 34px; }
    .row__big { font-size: 30px; }
    .row__title { font-size: 17px; line-height: 1.2; text-wrap: balance; }
    .row__title + br { display: none; }
    .row__sub { display: block; font-size: 13px; }
    .row__num { font-size: 16px; }
    .row__player { gap: 10px; font-size: 17px; min-width: 0; }
    .row__player img { width: 32px; height: 32px; }
    .row__player a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .row__rating { font-size: 22px; }
    .table th, .table td { padding: 12px 14px; font-size: 15px; }
    .chrono__bar { height: 46px; font-size: 19px; padding: 0 10px; }
    .chrono .small { font-size: 13px; }
    .pills { gap: 8px; }
    .pill { min-height: 40px; padding: 0 14px; font-size: 14px; }
    .cta__content { padding: 80px 16px; }
    .cta h2 { font-size: clamp(38px, 11vw, 56px); }
    .site-footer__inner { padding-top: 48px; gap: 36px; }
    .steps { grid-template-columns: minmax(0, 1fr); }
    .steps li { border-left: 0 !important; padding: 8px 12px; }
    .facts { padding: 6px; }
    .fact { padding: 10px; gap: 12px; }
    .fact__big { font-size: 24px; }
    .launcher .h2 { white-space: normal; }
    .mount__card { height: 440px; }
    .mount__beast { top: -40px; height: 290px; }
    .mount--tiger .mount__beast { top: -24px; height: 280px; }
    .mounts__grid { gap: 80px; }
}
@media (max-width: 380px) {
    .container, .site-header__inner, .hero__content, .site-footer__inner { padding-left: 14px; padding-right: 14px; }
    .brand { font-size: 17px; gap: 8px; }
    .brand img { width: 34px; height: 34px; }
    .forge__rank { font-size: 48px; }
}
@media (max-width: 620px) {
    /* Short tiles: the icon beside its text. */
    .tile { flex-direction: row; align-items: flex-start; gap: 18px; padding: 20px; }
    .tile .panel__icon { flex: none; width: 48px; height: 48px; border-radius: 13px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .grid-4 .panel { padding: 18px 14px; }
    .grid-4 .panel h3 { font-size: 18px; }
    .grid-4 .panel .text { font-size: 14px; }
    .grid-3 { gap: 12px; }
    .card--short, .cards--fill > * { min-height: 180px; padding: 22px; }
    .card--short h3, .cards--fill h3 { font-size: 26px; }
    .cards { gap: 12px; }
}
@media (min-width: 621px) and (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Footer: the logotype, emblem over the name. */
.site-footer__brand .brand--logotype img { width: 132px; height: auto; }
@media (max-width: 620px) { .site-footer__brand .brand--logotype img { width: 120px; } }
