/*
 * Furia MU - homepage content (everything below the hero).
 * Scope: .furia-home (the .main-home wrapper of home/view.home.php). Prefix: furia-home__*; the ranking podium that the
 * CMS ranking template renders into #top_players uses .furia-board / .furia-podium*.
 *
 * Design system: "Premium Cinematic Dark Fantasy" (DESIGN_SYSTEM.md). Flat Dark Steel surfaces and 1px hairlines; depth comes
 * from layered scenes, one focused light per object and spacing, never from glow halos, coloured top borders or corner
 * frames (the class stage is the single hero object of this page and keeps its corners).
 *
 * Tokens are declared locally (--fh-*) with the final palette, so this file does not depend on the values the shell
 * stylesheet defines. Cinzel is for large headings and big numerals only; everything else is the body face.
 *
 * Legacy CSS (style.css / mobile.css / dmncms.css / bootstrap) sets global rules on a, span, p, h2, button, table,
 * td, tr and [hidden]. Component rules here therefore start with ".furia-home " (specificity 0,2,0 or more); the
 * ranking tables, which the CMS renders from an EJS template and which legacy table rules (some !important) still
 * touch, are scoped with #furia-home; buttons use "all: unset" first so the legacy global button style cannot leak in.
 *
 * Motion: one language - exponential ease-out (--fh-ease), 0.3-1.1 s, staggered by 55-110 ms. Everything that moves is
 * switched off under prefers-reduced-motion (and the JS skips it); nothing needs motion to be readable.
 */

/* Cinzel (SIL Open Font License 1.1, assets/wealth/Fonts/Cinzel-OFL.txt) is declared once in furia-shell.css (large headings and big numerals only). */

@property --accent { syntax: "<color>"; inherits: true; initial-value: #37D9C5; }
@property --furia-a { syntax: "<angle>"; inherits: false; initial-value: 360deg; }

.furia-home {
    --fh-bg: #06090E;            /* Obsidian */
    --fh-steel: #101B25;         /* Dark Steel */
    --fh-steel-deep: #0B131B;
    --fh-gold: #C6A15B;          /* Antique Gold */
    --fh-cyan: #37D9C5;          /* Magic Crystal */
    --fh-text: #EDE7D9;          /* Ivory */
    --fh-text-2: #CBC6B9;        /* Ivory, one step down (>= 10:1 on Obsidian) */
    --fh-muted: #A9B3B6;
    --fh-ember: #FF713D;         /* urgent event timers only */
    --fh-silver: #BCC5C9;
    --fh-bronze: #C48A5A;
    --fh-line: rgba(237, 231, 217, .14);
    --fh-line-soft: rgba(237, 231, 217, .08);
    --fh-gold-line: rgba(198, 161, 91, .32);
    --fh-ease: cubic-bezier(.16, 1, .3, 1);
    --fh-display: var(--furia-font-display, "Cinzel", "Trajan Pro 3", "Palatino Linotype", Palatino, Georgia, serif);
    --fh-body: var(--furia-font-body, "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif);

    position: relative;
    isolation: isolate;
    overflow-x: clip;
    padding: 0;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    background: var(--fh-bg);
}
.furia-home *,
.furia-home *::before,
.furia-home *::after { box-sizing: border-box; }
.furia-home :where(h2, h3, h4, p, ul, ol, li, dl, dd, dt, figure) { margin: 0; padding: 0; }
.furia-home :where(ul, ol) { list-style: none; }
.furia-home ::selection { background: rgba(55, 217, 197, .28); color: #fff; }
.furia-home .furia-home__defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* [hidden] must really hide even where a rule sets display (Bootstrap reboot has [hidden]{display:none!important}).
   Without JS every tab panel stays readable, stacked. */
.furia-home.is-js [hidden] { display: none !important; }
.furia-home:not(.is-js) [role="tabpanel"][hidden] { display: block !important; }
.furia-home:not(.is-js) [role="tablist"],
.furia-home:not(.is-js) .furia-home__pause,
.furia-home:not(.is-js) .furia-home__loading { display: none; }
.furia-home:not(.is-js) .furia-home__class-panel { margin-bottom: 24px; }
.furia-home:not(.is-js) .furia-home__world-stage { aspect-ratio: auto; min-height: 0; }
.furia-home:not(.is-js) .furia-home__world-panel { position: static; margin-bottom: 28px; }
.furia-home:not(.is-js) .furia-home__world-art { position: relative; aspect-ratio: 16 / 10; }
.furia-home:not(.is-js) .furia-home__world-copy { position: static; width: auto; padding: 20px 0 4px; }

.furia-home .sr-only,
.furia-home .furia-home__class-tab-full {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.furia-home .furia-home__wrap { width: min(var(--furia-wrap, 1280px), calc(100% - var(--furia-gutter, 64px))); margin-inline: auto; }
@media (min-width: 1440px) { .furia-home .furia-home__wrap--wide { width: min(var(--furia-wrap-wide, 1600px), calc(100% - var(--furia-gutter-wide, 96px))); } }
@media (max-width: 640px) { .furia-home .furia-home__wrap { width: calc(100% - var(--furia-gutter-sm, 32px)); } }

/* ================= chapters ================= */
/* A section may carry a painted scene (art is darkened, desaturated and fades into Obsidian at both ends so text always
   sits on a calm ground). Sections whose object is itself art (game content, classes) carry none. */
.furia-home .furia-home__section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(72px, 9vw, 128px);
}
.furia-home .furia-home__scene {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.furia-home .furia-home__scene::before {
    content: "";
    position: absolute;
    inset: -6% 0;
    background: center / cover no-repeat;
    background-image: var(--scene-img, none);
    filter: saturate(.6) brightness(.38);
    transform: scale(1.04);
}
.furia-home.fx-lazy .furia-home__section:not([data-near]) .furia-home__scene::before { background-image: none; }
.furia-home .furia-home__scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--fh-bg) 0, rgba(6, 9, 14, 0) 26%, rgba(6, 9, 14, 0) 58%, var(--fh-bg) 100%),
        linear-gradient(90deg, rgba(6, 9, 14, .78), rgba(6, 9, 14, .2) 58%, rgba(6, 9, 14, .55));
}
.furia-home [data-scene="news"] .furia-home__scene::before { filter: saturate(.5) brightness(.26); background-position: 70% 20%; }
.furia-home [data-scene="fame"] .furia-home__scene::before {
    filter: saturate(.6) brightness(.4);
    background-position: center 38%;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 38%, transparent 82%);
    mask-image: linear-gradient(180deg, #000 0, #000 38%, transparent 82%);
}
.furia-home [data-scene="fame"] .furia-home__scene::after {
    background:
        linear-gradient(180deg, var(--fh-bg) 0, rgba(6, 9, 14, 0) 22%, rgba(6, 9, 14, 0) 55%, var(--fh-bg) 100%),
        radial-gradient(50% 46% at 50% 26%, rgba(237, 231, 217, .07), transparent 72%),
        linear-gradient(90deg, rgba(6, 9, 14, .6), rgba(6, 9, 14, .1) 50%, rgba(6, 9, 14, .6));
}
.furia-home [data-scene="join"] .furia-home__scene::before { filter: saturate(.6) brightness(.42); background-position: 82% 30%; }
.furia-home [data-scene="join"] .furia-home__scene::after {
    background:
        linear-gradient(180deg, var(--fh-bg) 0, rgba(6, 9, 14, 0) 26%, rgba(6, 9, 14, 0) 62%, var(--fh-bg) 100%),
        linear-gradient(90deg, rgba(6, 9, 14, .92), rgba(6, 9, 14, .55) 48%, rgba(6, 9, 14, .15));
}

/* ---------- headings ---------- */
.furia-home .furia-home__head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.furia-home .furia-home__head--small { margin-bottom: 18px; }
.furia-home .furia-home__head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
    max-width: none;
}
.furia-home .furia-home__h2 {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: .005em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
    text-transform: none;
    text-wrap: balance;
}
/* the event board title is display type too, one step down */
.furia-home .furia-home__h2--small {
    font-size: clamp(26px, 2.4vw, 32px);
    letter-spacing: .005em;
}
.furia-home .furia-home__h3 {
    margin: 0 0 10px;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.25;
}
.furia-home .furia-home__lead-in {
    margin: 14px 0 0;
    max-width: 52ch;
    color: var(--fh-muted);
    font-size: 17px;
    line-height: 1.6;
}

/* ---------- links and buttons ---------- */
.furia-home .furia-home__link {
    display: inline-block;
    padding: 11px 0;
    color: var(--fh-cyan);
    font-weight: 600;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: rgba(55, 217, 197, .4);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    transition: color .2s, text-decoration-color .2s;
}
.furia-home .furia-home__link:hover { color: var(--fh-text); text-decoration-color: var(--fh-text); }
.furia-home .furia-home__link:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }

/* primary: antique-gold face, one sheen on hover, no glow */
.furia-home .furia-home__btn {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid rgba(255, 236, 190, .4);
    border-radius: 2px;
    background: linear-gradient(180deg, #D4B06A, #B78F48);
    color: #1A1408;
    font-family: var(--fh-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: transform .2s var(--fh-ease), border-color .2s, background-color .2s, color .2s;
}
.furia-home .furia-home__btn::after {
    content: "";
    position: absolute;
    inset: -20% auto -20% -60%;
    width: 38%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
    pointer-events: none;
}
.furia-home .furia-home__btn:hover::after,
.furia-home .furia-home__btn:focus-visible::after { animation: furiaSheen .8s var(--fh-ease); }
.furia-home .furia-home__btn:hover { transform: translateY(-2px); }
.furia-home .furia-home__btn:active { transform: translateY(1px); }
.furia-home .furia-home__btn:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 3px; }
/* secondary: transparent, ivory hairline, cyan on hover */
.furia-home .furia-home__btn--ghost {
    border-color: rgba(237, 231, 217, .28);
    background: transparent;
    color: var(--fh-text);
}
.furia-home .furia-home__btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(55, 217, 197, .28), transparent); }
.furia-home .furia-home__btn--ghost:hover { color: var(--fh-cyan); border-color: var(--fh-cyan); }
.furia-home .furia-home__btn--small { min-height: 44px; padding: 0 20px; }
.furia-home .furia-home__btn--large { min-height: 56px; padding: 0 38px; font-size: 16px; }

.furia-home .furia-home__empty,
.furia-home .furia-home__loading {
    margin: 0;
    padding: 18px 0;
    color: var(--fh-muted);
    font-size: 16px;
    line-height: 1.6;
}
.furia-home .furia-home__actions { margin-top: 28px; }
.furia-home .furia-home__arrow { display: inline-block; width: 16px; height: 10px; margin-left: 8px; vertical-align: middle; transition: transform .25s var(--fh-ease); }

/* pause / resume for the auto-rotating showcases (WCAG 2.2.2) */
.furia-home .furia-home__pause {
    all: unset;
    box-sizing: border-box;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    color: var(--fh-muted);
    cursor: pointer;
    transition: color .2s, border-color .2s;
}
.furia-home .furia-home__pause:hover { color: var(--fh-text); border-color: var(--fh-cyan); }
.furia-home .furia-home__pause:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }
.furia-home .furia-home__pause svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.furia-home .furia-home__pause .i-play { display: none; fill: currentColor; stroke-width: 1.4; }
.furia-home .furia-home__pause[aria-pressed="true"] .i-pause { display: none; }
.furia-home .furia-home__pause[aria-pressed="true"] .i-play { display: block; }

/* ================= news + events ================= */
.furia-home .furia-home__dispatch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
/* both headings sit on one baseline: equal-height heads, bottom aligned */
.furia-home .furia-home__dispatch-grid .furia-home__head {
    display: flex;
    align-items: flex-end;
    max-width: none;
    min-height: 64px;
    margin-bottom: clamp(24px, 3vw, 36px);
}
.furia-home .furia-home__dispatch-grid .furia-home__h2 { line-height: 1; }
.furia-home .furia-home__dispatch-grid .furia-home__h2--small { padding-bottom: 2px; }

/* lead: a wide cinematic card - the image is the card, the story sits on its dark lower third */
.furia-home .furia-home__lead {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(440px, 42vw, 600px);
    overflow: hidden;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: var(--fh-steel-deep);
}
.furia-home .furia-home__lead-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.furia-home .furia-home__lead-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 18%;
    transform: scale(1.02);
    transition: transform 1.6s var(--fh-ease);
}
.furia-home .furia-home__lead:hover .furia-home__lead-media img { transform: scale(1.08); }
.furia-home .furia-home__lead::after {            /* bottom-up wash so the text always sits on a calm ground */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 9, 14, 0) 0%, rgba(6, 9, 14, .1) 26%, rgba(6, 9, 14, .66) 40%, rgba(6, 9, 14, .9) 54%, rgba(6, 9, 14, .97) 74%);
    pointer-events: none;
}
.furia-home .furia-home__lead-body { width: 100%; max-width: 680px; padding: clamp(24px, 3vw, 44px); }
.furia-home .furia-home__date {
    display: block;
    margin: 0 0 6px;
    color: var(--fh-text-2);
    font-size: 14px;
    font-weight: 500;
    font-variant-numeric: lining-nums tabular-nums;
}
.furia-home .furia-home__lead-title {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: break-word;
    hyphens: auto;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
}
.furia-home .furia-home__stretch { display: inline; color: inherit; text-decoration: none; }
.furia-home .furia-home__stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.furia-home .furia-home__stretch:focus-visible { outline: none; }
.furia-home .furia-home__stretch:focus-visible::after { outline: 2px solid var(--fh-cyan); outline-offset: -4px; }
.furia-home .furia-home__excerpt {
    margin: 12px 0 0;
    max-width: 56ch;
    color: var(--fh-text-2);
    font-size: 16px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.furia-home .furia-home__more { display: inline-flex; align-items: center; margin-top: 18px; color: var(--fh-text); font-size: 15px; font-weight: 600; }
.furia-home .furia-home__more .furia-home__arrow { width: 22px; margin-left: 10px; color: var(--fh-gold); }
.furia-home .furia-home__lead:hover .furia-home__arrow { transform: translateX(8px); }

.furia-home .furia-home__news-empty { padding: 8px 0 0; }
.furia-home .furia-home__news-empty p { margin: 0 0 20px; color: var(--fh-muted); font-size: 18px; }

/* the other stories: a quiet list, small cropped thumbnails, one hairline between rows */
.furia-home .furia-home__news-list { margin-top: clamp(20px, 2.6vw, 32px); }
.furia-home .furia-home__brief {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    padding: 18px 0;
}
.furia-home .furia-home__brief.has-thumb { min-height: 96px; padding: 16px 0; }
.furia-home .furia-home__brief + .furia-home__brief { border-top: 1px solid var(--fh-line); }
.furia-home .furia-home__brief-media {
    flex: none;
    width: clamp(96px, 10vw, 132px);
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 2px;
    background: var(--fh-steel-deep);
}
.furia-home .furia-home__brief-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    filter: saturate(.85) brightness(.9);
    transition: transform .8s var(--fh-ease), filter .4s;
}
.furia-home .furia-home__brief:hover .furia-home__brief-media img { transform: scale(1.08); filter: none; }
.furia-home .furia-home__brief-body { min-width: 0; }
.furia-home .furia-home__brief-text {
    margin: 4px 0 0;
    color: var(--fh-muted);
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.furia-home .furia-home__brief .furia-home__date { margin: 0 0 3px; color: var(--fh-muted); font-size: 13px; }
.furia-home .furia-home__brief-title {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
/* hover / focus: a gold underline slides under the headline */
.furia-home .furia-home__brief-title .furia-home__stretch {
    padding-bottom: 2px;
    background: linear-gradient(var(--fh-gold), var(--fh-gold)) 0 100% / 0 1px no-repeat;
    transition: background-size .5s var(--fh-ease);
}
.furia-home .furia-home__brief:hover .furia-home__stretch,
.furia-home .furia-home__brief:focus-within .furia-home__stretch { background-size: 100% 1px; }

/* ----- event board ----- */
.furia-home .furia-home__events { position: sticky; top: 104px; scroll-margin-top: 96px; }
@media (max-height: 819px) { .furia-home .furia-home__events { position: relative; top: auto; } }

/* next up: a card with real art behind it, the left kept dark for the digits */
.furia-home .furia-home__next {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 252px;
    overflow: hidden;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: var(--fh-steel-deep);
}
.furia-home .furia-home__next-art {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 82% 50%;
    filter: saturate(.8) brightness(.78);
}
.furia-home .furia-home__next::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(6, 9, 14, .95) 0%, rgba(6, 9, 14, .84) 46%, rgba(6, 9, 14, .28) 100%), linear-gradient(0deg, rgba(6, 9, 14, .5), transparent 40%);
    pointer-events: none;
}
.furia-home .furia-home__next-body { width: 100%; padding: 24px 26px 22px; }
.furia-home .furia-home__next-label { margin: 0; color: var(--fh-text-2); font-size: 14px; font-weight: 500; }
.furia-home .furia-home__next-name {
    margin: 2px 0 14px;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.furia-home .furia-home__clock { display: flex; align-items: flex-start; gap: 4px; min-height: 66px; color: var(--fh-text); transition: color .4s; }
.furia-home .furia-home__unit { display: flex; flex-direction: column; align-items: flex-start; }
.furia-home .furia-home__digits,
.furia-home .furia-home__colon,
.furia-home .furia-home__now {
    font-family: var(--fh-display);
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    line-height: 1;
}
.furia-home .furia-home__digits { font-size: clamp(46px, 4.6vw, 62px); }
.furia-home .furia-home__colon { margin: 0 6px; color: var(--fh-muted); font-size: clamp(40px, 4vw, 54px); line-height: 1.12; }
.furia-home .furia-home__now { font-size: clamp(32px, 3.2vw, 42px); line-height: 1.3; }
.furia-home .furia-home__unit-label { margin-top: 6px; color: var(--fh-muted); font-size: 12px; font-weight: 500; line-height: 1.2; }
.furia-home .furia-home__digit { display: inline-block; font: inherit; white-space: pre; }
.furia-home .furia-home__next[data-soon="1"] .furia-home__clock { color: var(--fh-ember); }
/* the line drains toward the start (over the last hour); gold, ember when imminent */
.furia-home .furia-home__next-line { display: block; height: 2px; margin-top: 16px; overflow: hidden; background: rgba(237, 231, 217, .16); }
.furia-home .furia-home__next-line i {
    display: block;
    height: 100%;
    background: var(--fh-gold);
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 1s linear;
}
.furia-home .furia-home__next[data-soon="1"] .furia-home__next-line i { background: var(--fh-ember); }

/* the schedule: App renders <div><span>name</span><span id="eventN">time</span></div>; styled as a vertical timeline */
.furia-home #events { position: relative; margin: 20px 0 0; padding: 0; }
.furia-home #events::before { content: ""; position: absolute; left: 4px; top: 26px; bottom: 26px; width: 1px; background: var(--fh-line); }
.furia-home #events > div {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    margin: 0;
    padding: 14px 0 14px 28px;
    border: 0;
    background: none;
    height: auto;
}
.furia-home #events > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    border: 1px solid rgba(237, 231, 217, .5);
    border-radius: 50%;
    background: var(--fh-bg);
    transition: border-color .3s, background-color .3s;
}
.furia-home #events > div:hover::before { border-color: var(--fh-cyan); }
.furia-home #events > div.is-next { display: none; }
.furia-home .furia-home__events:not([data-open="1"]) #events > div.is-extra { display: none; }
.furia-home #events > div > span { display: block; margin: 0; padding: 0; font-size: 16px; line-height: 1.4; }
.furia-home #events > div > span:first-child { color: var(--fh-text); font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.furia-home #events > div > span:last-child {
    flex: none;
    color: var(--fh-muted);
    font-size: 15px;
    font-variant-numeric: lining-nums tabular-nums;
    text-align: right;
}
.furia-home #events > div[data-soon="1"]::before { border-color: var(--fh-ember); background: var(--fh-ember); }
.furia-home #events > div[data-soon="1"] > span:last-child { color: var(--fh-ember); font-weight: 600; }
.furia-home #events > div[data-due="1"] > span:last-child { color: var(--fh-text); }
.furia-home .furia-home__schedule-btn {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 6px;
    padding-left: 28px;
    color: var(--fh-cyan);
    font-family: var(--fh-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: color .2s;
}
.furia-home .furia-home__schedule-btn svg { width: 14px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--fh-ease); }
.furia-home .furia-home__schedule-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.furia-home .furia-home__schedule-btn:hover { color: var(--fh-text); }
.furia-home .furia-home__schedule-btn:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }
.furia-home .furia-home__events .furia-home__empty {
    margin: 0;
    padding: 20px 22px;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: var(--fh-steel);
}

@media (max-width: 1024px) {
    .furia-home .furia-home__dispatch-grid { grid-template-columns: minmax(0, 1fr); }
    .furia-home .furia-home__events { position: relative; top: auto; }
    .furia-home .furia-home__dispatch-grid .furia-home__head { min-height: 0; }
}
@media (max-width: 640px) {
    .furia-home .furia-home__lead { min-height: 440px; }
    .furia-home .furia-home__lead-body { padding: 22px 20px; }
    .furia-home .furia-home__next-body { padding: 20px 18px 18px; }
    .furia-home .furia-home__brief { gap: 14px; }
    .furia-home .furia-home__brief.has-thumb { min-height: 88px; }
    .furia-home .furia-home__brief-media { width: 92px; }
}

/* ================= game content ================= */
.furia-home .furia-home__world-grid { position: relative; }
.furia-home .furia-home__world-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    min-height: 420px;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: var(--fh-steel-deep);
}
.furia-home .furia-home__world-panel { position: absolute; inset: 0; }
.furia-home .furia-home__world-art { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.furia-home .furia-home__world-art img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    scale: 1.04;
    translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -8px);
}
.furia-home .furia-home__world-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 9, 14, .96) 0%, rgba(6, 9, 14, .8) 30%, rgba(6, 9, 14, .25) 52%, transparent 66%),
        linear-gradient(0deg, rgba(6, 9, 14, .55), transparent 28%);
    pointer-events: none;
}
.furia-home .furia-home__world-copy {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: min(46%, 560px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3.4vw, 52px);
}
.furia-home .furia-home__world-copy .furia-home__h3 {
    font-family: var(--fh-display);
    font-size: clamp(30px, 3.1vw, 42px);
    font-weight: 600;
    line-height: 1.12;
}
.furia-home .furia-home__world-copy p { margin: 0 0 16px; color: var(--fh-text-2); font-size: 17px; line-height: 1.65; }
.furia-home .furia-home__world-copy .furia-home__btn { align-self: flex-start; }
.furia-home .furia-home__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.furia-home .furia-home__chips li {
    padding: 2px 11px;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: rgba(6, 9, 14, .6);
    color: var(--fh-muted);
    font-size: 13px;
    line-height: 1.7;
}
.furia-home .furia-home__world-side { display: flex; align-items: stretch; gap: 12px; margin-top: 14px; }
.furia-home .furia-home__world-side .furia-home__pause { align-self: center; }
.furia-home .furia-home__world-tabs { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.furia-home .furia-home__world-tab {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 12px 14px 14px;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: var(--fh-steel);
    color: var(--fh-muted);
    cursor: pointer;
    overflow: hidden;
    transition: color .2s, border-color .2s;
}
.furia-home .furia-home__thumb {
    flex: none;
    width: 96px;
    height: 56px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--fh-steel-deep);
    opacity: .6;
    transition: opacity .3s;
}
.furia-home .furia-home__thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.furia-home .furia-home__world-tab:hover { color: var(--fh-text); border-color: rgba(237, 231, 217, .3); }
.furia-home .furia-home__world-tab:hover .furia-home__thumb { opacity: .9; }
.furia-home .furia-home__world-tab[aria-selected="true"] { color: var(--fh-text); border-color: var(--fh-gold-line); }
.furia-home .furia-home__world-tab[aria-selected="true"] .furia-home__thumb { opacity: 1; }
.furia-home .furia-home__world-tab:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }
.furia-home .furia-home__world-tab-text { display: block; min-width: 0; }
.furia-home .furia-home__world-tab-title { display: block; font-family: var(--fh-body); font-size: 17px; font-weight: 700; line-height: 1.25; }
.furia-home .furia-home__world-tab-teaser { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; }
/* progress line of the rotation (also the selection mark when rotation is off) */
.furia-home .furia-home__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--fh-gold);
    transform-origin: left;
    transform: scaleX(0);
}
.furia-home .furia-home__world-tab[aria-selected="true"] .furia-home__bar { transform: scaleX(1); }

.furia-home .furia-home__shots { margin-top: clamp(40px, 5vw, 64px); }
.furia-home .furia-home__shots-label { margin: 0 0 14px; color: var(--fh-muted); font-size: 14px; font-weight: 500; }
.furia-home .furia-home__shots ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.furia-home .furia-home__shots li { overflow: hidden; aspect-ratio: 16 / 9.4; border: 1px solid var(--fh-line); border-radius: 2px; background: var(--fh-steel-deep); }
.furia-home .furia-home__shots a { display: block; height: 100%; }
.furia-home .furia-home__shots img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s var(--fh-ease), filter .3s; filter: saturate(.9) brightness(.92); }
.furia-home .furia-home__shots a:hover img { transform: scale(1.05); filter: none; }
.furia-home .furia-home__shots a:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: -2px; }

/* panel transition: an iris opens from the tab that was chosen */
.furia-home .furia-home__world-panel.is-leaving { z-index: 1; pointer-events: none; }
.furia-home .furia-home__world-panel.is-leaving .furia-home__world-art img { animation: furiaDim 1s ease both; }
.furia-home .furia-home__world-panel.is-entering { z-index: 2; animation: furiaIris 1s var(--fh-ease) both; }
.furia-home .furia-home__world-panel.is-entering .furia-home__world-art img { animation: furiaIrisImg 1.1s var(--fh-ease) both; }
.furia-home .furia-home__world-panel.is-leaving .furia-home__world-copy > * { animation: furiaOut .22s ease-in both; }
.furia-home .furia-home__world-panel.is-entering .furia-home__world-copy > * { animation: furiaUp .7s var(--fh-ease) both; animation-delay: calc(.5s + var(--c, 0) * 70ms); }
.furia-home .furia-home__world-copy > :nth-child(1) { --c: 0; }
.furia-home .furia-home__world-copy > :nth-child(2) { --c: 1; }
.furia-home .furia-home__world-copy > :nth-child(3) { --c: 2; }
.furia-home .furia-home__world-copy > :nth-child(4) { --c: 3; }

@media (max-width: 900px) {
    .furia-home .furia-home__world-stage { aspect-ratio: auto; min-height: 0; overflow: visible; border: 0; background: none; }
    .furia-home .furia-home__world-panel { position: relative; inset: auto; }
    .furia-home .furia-home__world-panel.is-leaving { position: absolute; inset: 0; }
    .furia-home .furia-home__world-art { position: relative; inset: auto; aspect-ratio: 16 / 10; border: 1px solid var(--fh-line); border-radius: 2px; }
    .furia-home .furia-home__world-art::after { background: linear-gradient(0deg, rgba(6, 9, 14, .5), transparent 45%); }
    .furia-home .furia-home__world-copy { position: static; width: auto; padding: 20px 0 4px; }
    .furia-home .furia-home__world-tabs { grid-template-columns: minmax(0, 1fr); }
    .furia-home .furia-home__shots ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 520px) {
    .furia-home .furia-home__shots ul { grid-template-columns: minmax(0, 1fr); }
    .furia-home .furia-home__thumb { width: 72px; height: 48px; }
}

/* ================= classes (the one hero object of the page: it keeps its corner ornaments) ================= */
.furia-home .furia-home__class-stage {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--fh-gold-line);
    border-radius: 2px;
    background: var(--fh-bg);
    transition: --accent .9s ease;
}
.furia-home .furia-home__stage-bg {
    position: absolute;
    inset: -5%;
    z-index: -4;
    background: center / cover no-repeat;
    background-image: var(--furia-stage, none);
    filter: saturate(.8) brightness(.8);
    transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -9px), 0) scale(1.03);
}
.furia-home.fx-lazy .furia-home__class-stage:not([data-near]) .furia-home__stage-bg { background-image: none; }
.furia-home .furia-home__class-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: linear-gradient(90deg, rgba(6, 9, 14, .95) 0%, rgba(6, 9, 14, .7) 42%, rgba(6, 9, 14, .12) 100%);
    pointer-events: none;
}
/* the one light of the stage, in the class colour */
.furia-home .furia-home__stage-glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: radial-gradient(44% 62% at 75% 46%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 72%);
    pointer-events: none;
}
.furia-home .furia-home__motes {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.furia-home .furia-home__corner {
    position: absolute;
    z-index: 4;
    width: clamp(56px, 6.5vw, 96px);
    aspect-ratio: 1;
    background: var(--furia-corner) no-repeat center / contain;
    pointer-events: none;
}
.furia-home .furia-home__corner--tl { top: -2px; left: -2px; }
.furia-home .furia-home__corner--tr { top: -2px; right: -2px; transform: scaleX(-1); }
.furia-home .furia-home__corner--bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.furia-home .furia-home__corner--br { bottom: -2px; right: -2px; transform: scale(-1, -1); }

.furia-home .furia-home__class-panels { position: relative; flex: 1; order: 1; }
.furia-home .furia-home__class-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: end;
    gap: clamp(8px, 3vw, 40px);
    min-height: clamp(480px, 46vw, 640px);
    padding: clamp(32px, 4.6vw, 64px) clamp(26px, 4.6vw, 68px) 0;
}
.furia-home .furia-home__class-copy { align-self: center; padding-bottom: clamp(28px, 4vw, 56px); }
.furia-home .furia-home__class-name {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 600;
    line-height: 1.05;
}
.furia-home .furia-home__class-sub { margin: 8px 0 0; color: var(--fh-gold); font-size: 16px; font-weight: 600; line-height: 1.4; }
.furia-home .furia-home__class-desc { margin: 16px 0 0; max-width: 46ch; color: var(--fh-text-2); font-size: 17px; line-height: 1.65; }
.furia-home .furia-home__leader { margin: 26px 0 28px; padding-top: 16px; border-top: 1px solid var(--fh-line); max-width: 46ch; }
.furia-home .furia-home__leader-label { margin: 0; color: var(--fh-muted); font-size: 14px; font-weight: 500; }
.furia-home .furia-home__leader-name {
    margin: 2px 0 0;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.furia-home .furia-home__leader-name.is-empty { color: var(--fh-muted); font-size: 18px; font-weight: 400; }
.furia-home .furia-home__leader-name a {
    display: inline;
    padding-block: 10px;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(237, 231, 217, .45);
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: color .2s, text-decoration-color .2s;
}
.furia-home .furia-home__leader-name a:hover { color: var(--fh-cyan); text-decoration-color: var(--fh-cyan); }
.furia-home .furia-home__leader-name a:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 3px; }
.furia-home .furia-home__stats { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 12px 0 0; }
.furia-home .furia-home__stats dt { margin: 0; color: var(--fh-muted); font-size: 14px; line-height: 1.4; }
.furia-home .furia-home__stats dd {
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-display);
    font-size: 26px;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    line-height: 1.2;
}

.furia-home .furia-home__class-art {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 6px);
}
/* contact light on the floor under the figure */
.furia-home .furia-home__class-art::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -18px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), transparent 100%);
}
.furia-home .furia-home__class-art img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: none;
    height: clamp(340px, 42vw, 580px);
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .55));
}
/* magic circle standing behind the figure, in the class colour */
.furia-home .furia-home__sigil {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(100%, 560px);
    aspect-ratio: 1;
    margin: 0;
    color: var(--accent);
    opacity: .42;
    translate: -50% -50%;
    pointer-events: none;
}
.furia-home .furia-home__sigil--a { animation: furiaSpin 110s linear infinite; }
.furia-home .furia-home__sigil--b { width: min(70%, 400px); opacity: .34; animation: furiaSpin 70s linear infinite reverse; }
.furia-home:not(.is-js) .furia-home__sigil,
.furia-home .has-autoplay.is-offscreen .furia-home__sigil,
.furia-home .has-autoplay.is-hidden .furia-home__sigil { animation-play-state: paused; }

/* roster bar: tabs + pause */
.furia-home .furia-home__class-bar {
    position: relative;
    z-index: 3;
    order: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px clamp(12px, 3vw, 28px) 18px;
    border-top: 1px solid var(--fh-line);
    background: linear-gradient(180deg, #0A1119, var(--fh-bg));
}
.furia-home .furia-home__class-tabs { flex: 1; display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.furia-home .furia-home__class-tabs::-webkit-scrollbar { display: none; }
.furia-home .furia-home__class-tab:first-child { margin-left: auto; }
.furia-home .furia-home__class-tab:last-child { margin-right: auto; }
.furia-home .furia-home__class-tab {
    all: unset;
    box-sizing: border-box;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 92px;
    padding: 10px 10px 8px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: var(--fh-muted);
    font-family: var(--fh-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: color .2s, background-color .2s;
}
.furia-home .furia-home__icon { position: relative; display: block; width: 56px; height: 56px; }
.furia-home .furia-home__icon img {
    display: block;
    width: 56px;
    height: 56px;
    max-width: none;
    border: 2px solid rgba(237, 231, 217, .22);
    border-radius: 50%;
    background: var(--fh-steel-deep);
    object-fit: cover;
    opacity: .72;
    transition: opacity .2s, border-color .2s, transform .25s var(--fh-ease);
}
/* the ring doubles as rotation progress; without rotation it is a plain selection ring */
.furia-home .furia-home__ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    opacity: 0;
    background: conic-gradient(var(--tab-accent, var(--fh-cyan)) var(--furia-a), rgba(237, 231, 217, .12) 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    transition: opacity .25s;
}
.furia-home .furia-home__class-tab:hover { color: var(--fh-text); }
.furia-home .furia-home__class-tab:hover .furia-home__icon img { opacity: 1; transform: translateY(-2px); }
.furia-home .furia-home__class-tab[aria-selected="true"] { color: var(--fh-text); background: rgba(237, 231, 217, .05); }
.furia-home .furia-home__class-tab[aria-selected="true"] .furia-home__icon img { opacity: 1; border-color: transparent; }
.furia-home .furia-home__class-tab[aria-selected="true"] .furia-home__ring { opacity: 1; }
.furia-home .furia-home__class-tab:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }
.furia-home .furia-home__class-tab-short { display: none; }

/* rotation: progress ring on the selected tab; its animationend selects the next class */
.furia-home .has-autoplay:not(.is-paused) .furia-home__class-tab[aria-selected="true"] .furia-home__ring { animation: furiaRing var(--ap, 9s) linear forwards; }
.furia-home .has-autoplay:not(.is-paused) .furia-home__world-tab[aria-selected="true"] .furia-home__bar { animation: furiaBar var(--ap, 9s) linear forwards; }
.furia-home .has-autoplay.is-offscreen .furia-home__ring,
.furia-home .has-autoplay.is-offscreen .furia-home__bar,
.furia-home .has-autoplay.is-hidden .furia-home__ring,
.furia-home .has-autoplay.is-hidden .furia-home__bar,
.furia-home .has-autoplay:hover .furia-home__ring,
.furia-home .has-autoplay:hover .furia-home__bar,
.furia-home .has-autoplay:focus-within .furia-home__ring,
.furia-home .has-autoplay:focus-within .furia-home__bar { animation-play-state: paused; }

/* class change: the old figure fades off, the new one rises into the light in the class colour (opacity + transform only) */
.furia-home .furia-home__class-panel.is-leaving { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.furia-home .furia-home__class-panel.is-leaving .furia-home__class-copy > * { animation: furiaOut .22s ease-in both; }
.furia-home .furia-home__class-panel.is-leaving .furia-home__class-art { animation: furiaArtOut .45s ease-in both; }
.furia-home .furia-home__class-panel.is-entering { z-index: 2; }
.furia-home .furia-home__class-panel.is-entering .furia-home__class-copy > * { animation: furiaUp .75s var(--fh-ease) both; animation-delay: calc(.24s + var(--c, 0) * 55ms); }
.furia-home .furia-home__class-panel.is-entering .furia-home__class-art img { animation: furiaArtIn 1s var(--fh-ease) both .08s; }
.furia-home .furia-home__class-panel.is-entering .furia-home__sigil { animation: furiaSigilIn 1.2s var(--fh-ease) both; }
.furia-home .furia-home__class-copy > :nth-child(1) { --c: 0; }
.furia-home .furia-home__class-copy > :nth-child(2) { --c: 1; }
.furia-home .furia-home__class-copy > :nth-child(3) { --c: 2; }
.furia-home .furia-home__class-copy > :nth-child(4) { --c: 3; }
.furia-home .furia-home__class-copy > :nth-child(5) { --c: 4; }

@media (max-width: 900px) {
    .furia-home .furia-home__class-stage::before { background: linear-gradient(180deg, rgba(6, 9, 14, .9) 0%, rgba(6, 9, 14, .84) 58%, rgba(6, 9, 14, .5) 100%); }
    .furia-home .furia-home__stage-glow { background: radial-gradient(70% 38% at 50% 76%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 72%); }
    .furia-home .furia-home__class-bar { order: -1; border-top: 0; border-bottom: 1px solid var(--fh-line); }
    .furia-home .furia-home__class-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 28px 22px 0; }
    .furia-home .furia-home__class-copy { padding-bottom: 8px; }
    .furia-home .furia-home__class-art img { height: clamp(260px, 62vw, 420px); }
    .furia-home .furia-home__class-tab { flex: 1 1 0; min-width: 52px; padding: 8px 4px 6px; }
    .furia-home .furia-home__corner { width: 52px; }
}
@media (max-width: 640px) {
    .furia-home .furia-home__class-bar { gap: 6px; padding: 12px 6px; }
    .furia-home .furia-home__class-tabs { gap: 0; }
    .furia-home .furia-home__class-tab { gap: 6px; min-width: 0; padding-left: 0; padding-right: 0; }
    .furia-home .furia-home__icon,
    .furia-home .furia-home__icon img { width: 38px; height: 38px; }
    .furia-home .furia-home__ring { inset: -4px; }
    .furia-home .furia-home__class-tab-short { display: block; font-size: 11px; font-weight: 600; }
}

/* ================= hall of legends ================= */
.furia-home .furia-home__fame-board { position: relative; }
.furia-home .furia-home__fame-tabs { display: flex; gap: 4px; margin-bottom: 8px; border-bottom: 1px solid var(--fh-line); }
.furia-home .furia-home__fame-tab {
    all: unset;
    box-sizing: border-box;
    position: relative;
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    color: var(--fh-muted);
    font-family: var(--fh-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s;
}
.furia-home .furia-home__fame-tab::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2px;
    background: var(--fh-gold);
    transform: scaleX(0);
    transition: transform .35s var(--fh-ease);
}
.furia-home .furia-home__fame-tab:hover { color: var(--fh-text); }
.furia-home .furia-home__fame-tab[aria-selected="true"] { color: var(--fh-text); }
.furia-home .furia-home__fame-tab[aria-selected="true"]::after { transform: scaleX(1); }
.furia-home .furia-home__fame-tab:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: -2px; }
/* server switch: the one place for segmented pills */
.furia-home .furia-home__servers { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.furia-home .furia-home__server {
    all: unset;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    color: var(--fh-muted);
    font-family: var(--fh-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}
.furia-home .furia-home__server:hover { color: var(--fh-text); border-color: rgba(237, 231, 217, .3); }
.furia-home .furia-home__server[aria-pressed="true"] { color: var(--fh-text); border-color: var(--fh-cyan); background: rgba(55, 217, 197, .08); }
.furia-home .furia-home__server:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }

/* The CMS renders the ranking from an EJS template into #top_players / #top_guilds. Players: .furia-board = podium + a
   table for place 4 onwards. Guilds (and any older cached player template): a plain .scroll-table. The space is reserved
   so the swap from "Loading" does not shift the page; an empty or failed state gives it back. */
#furia-home .furia-home__rank-body { min-height: 120px; }
@media (min-width: 900px) {
    #furia-home #top_players.furia-home__rank-body { min-height: 760px; }
    #furia-home #top_guilds.furia-home__rank-body { min-height: 560px; }
}
#furia-home .furia-home__rank-body:has(.alert, .furia-home__empty) { min-height: 0; }

/* ---------- podium ---------- */
#furia-home .furia-podium {
    position: relative;
    isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(10px, 1.8vw, 26px);
    margin: 0;
    padding: clamp(28px, 4vw, 56px) 0 0;
    list-style: none;
}
#furia-home .furia-podium__place {
    --medal: var(--fh-silver);
    --fig-h: clamp(250px, 30vw, 430px);
    --plinth-h: 226px;
    --num: clamp(44px, 4.2vw, 60px);
    --d: 0;
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
}
#furia-home .furia-podium__place[data-rank="1"] {
    --medal: var(--fh-gold);
    --fig-h: clamp(300px, 37vw, 530px);
    --plinth-h: 276px;
    --num: clamp(54px, 5.2vw, 76px);
    --d: 2;
    flex-grow: 1.2;
    max-width: 450px;
    order: 2;
}
#furia-home .furia-podium__place[data-rank="2"] { order: 1; --d: 0; }
#furia-home .furia-podium__place[data-rank="3"] { --medal: var(--fh-bronze); --fig-h: clamp(232px, 27vw, 390px); --plinth-h: 196px; order: 3; --d: 1; }
#furia-home .furia-podium__figure {
    position: relative;
    z-index: 2;
    height: var(--fig-h);
    margin-bottom: -16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#furia-home .furia-podium__place[data-rank="1"] .furia-podium__figure::before {   /* winged crest, the hall's emblem, behind the number one */
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 46%;
    width: min(86%, 400px);
    aspect-ratio: 513 / 560;
    translate: -50% -50%;
    background: var(--furia-crest, none) center / contain no-repeat;
    opacity: .3;
    pointer-events: none;
}
#furia-home .furia-podium__place[data-class="dk"] .furia-podium__figure::before { left: 60%; }
#furia-home [data-fx-state="pending"] .furia-podium__figure::before { background-image: none; }   /* the crest is fetched only once the board is near */
#furia-home .furia-podium__figure::after {            /* contact shadow on the plinth */
    content: "";
    position: absolute;
    z-index: 0;
    left: 14%;
    right: 14%;
    bottom: 2px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .62), transparent);
}
#furia-home .furia-podium__figure img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55));
}
#furia-home .furia-podium__place[data-class="dk"] .furia-podium__figure img { max-width: 124%; }   /* the Dark Knight art is landscape */
#furia-home .furia-podium__figure img.furia-podium__badge {
    width: 112px;
    height: 112px;
    margin-bottom: 20px;
    border: 2px solid var(--medal);
    border-radius: 50%;
    object-fit: cover;
    filter: none;
}
#furia-home .furia-podium__plinth {
    position: relative;
    z-index: 1;
    min-height: var(--plinth-h);
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--fh-line);
    border-top-color: var(--medal);
    border-radius: 2px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--medal) 12%, transparent), transparent 46%),
        linear-gradient(180deg, #14212D, #0C1620);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .8);
}
#furia-home .furia-podium__plinth::before {           /* the lit top face of the plinth */
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 14px;
    background: linear-gradient(180deg, rgba(237, 231, 217, .1), transparent);
    pointer-events: none;
}
#furia-home .furia-podium__rank {
    display: block;
    margin: 0 0 6px;
    color: var(--medal);
    font-family: var(--fh-display);
    font-size: var(--num);
    font-weight: 600;
    line-height: 1;
}
#furia-home .furia-podium__name {
    max-width: 100%;
    margin: 0;
    color: var(--fh-text);
    font-family: var(--fh-body);
    font-size: clamp(18px, 1.7vw, 24px);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
#furia-home .furia-podium__place[data-rank="1"] .furia-podium__name { font-size: clamp(20px, 2vw, 28px); }
#furia-home .furia-podium__name a {
    display: inline;
    padding-block: 14px;
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
#furia-home .furia-podium__name a:hover { color: var(--fh-cyan); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
#furia-home .furia-podium__name a:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 3px; }
#furia-home .furia-podium__class { margin: 2px 0 0; color: var(--fh-muted); font-size: 14px; line-height: 1.4; }
#furia-home .furia-podium__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin: 14px 0 0;
}
#furia-home .furia-podium__stats > div { display: flex; flex-direction: column-reverse; align-items: center; }
#furia-home .furia-podium__stats dt { margin: 0; color: var(--fh-muted); font-size: 13px; line-height: 1.4; }
#furia-home .furia-podium__stats dd {
    margin: 0;
    color: var(--fh-text);
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    line-height: 1.3;
}
#furia-home .furia-podium__stats sup { margin-left: 2px; color: var(--fh-muted); font-size: 11px; }

/* guild ranking: a quiet table beside the winged chalice */
@media (min-width: 1000px) {
    #furia-home .furia-home__fame-panel[id$="guilds"] { position: relative; padding-left: clamp(240px, 24vw, 330px); }
    #furia-home .furia-home__fame-panel[id$="guilds"]::before {
        content: "";
        position: absolute;
        left: 0;
        top: 24px;
        width: clamp(200px, 20vw, 280px);
        aspect-ratio: 503 / 560;
        background: var(--furia-chalice, none) center / contain no-repeat;
        filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .55));
        pointer-events: none;
    }
}

/* ---------- table: places 4+, guilds, and an older cached player table ---------- */
#furia-home .furia-home__rank-body .scroll-table { overflow-x: auto; border: 0; }
#furia-home .furia-board > .scroll-table { margin-top: clamp(28px, 3.4vw, 44px); }
#furia-home .furia-home__rank-body .scroll-table:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }
#furia-home .furia-home__rank-body table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    background: none;
    font-size: 16px;
}
#furia-home .furia-home__rank-body table thead tr { height: auto; background: transparent !important; }
#furia-home .furia-home__rank-body table thead tr th {
    padding: 12px 10px;
    border: 0;
    border-bottom: 1px solid var(--fh-line);
    color: var(--fh-muted) !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: left;
    text-transform: none !important;
    white-space: nowrap;
}
#furia-home .furia-home__rank-body table tbody tr {
    height: auto;
    background: none;
    border-top: 1px solid var(--fh-line-soft);
    filter: none;
    transition: background-color .2s;
}
#furia-home .furia-home__rank-body table tbody tr:nth-child(n) { background: none; }
#furia-home .furia-home__rank-body table tbody tr:hover { background: rgba(237, 231, 217, .04); }
#furia-home .furia-home__rank-body table td {
    position: static;
    min-height: 48px;
    padding: 9px 10px;
    border: 0;
    color: var(--fh-text);
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
    vertical-align: middle;
    font-variant-numeric: lining-nums tabular-nums;
}
#furia-home .furia-home__rank-body table td.first-cell,
#furia-home .furia-home__rank-body table th.first-cell { width: 56px; text-align: center; padding-left: 6px; padding-right: 6px; }
#furia-home .furia-home__rank-body table td.first-cell { color: var(--fh-muted); font-weight: 600; }
#furia-home .furia-home__rank-body table td.second-cell { width: auto; }
#furia-home .furia-home__rank-body table td.third-cell { white-space: nowrap; }
#furia-home .furia-home__rank-body table th.forth-cell,
#furia-home .furia-home__rank-body table td.forth-cell { width: 112px; text-align: right; padding-right: 18px; }
#furia-home .furia-home__rank-body table td.third-cell img { display: inline-block; vertical-align: middle; }
#furia-home .furia-home__rank-body table td a {
    display: inline;
    padding: 14px 8px;
    margin-inline: -8px;
    color: var(--fh-text);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
#furia-home .furia-home__rank-body table td a:hover { color: var(--fh-cyan); }
#furia-home .furia-home__rank-body table td a:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 3px; }
#furia-home .furia-home__rank-body table td a.furia-player-online { color: var(--fh-text); text-shadow: none; animation: none; }
#furia-home .furia-home__rank-body table td a.furia-player-online::after { content: none; }
#furia-home .furia-home__rank-body table td img { display: block; width: 36px; height: 36px; max-height: none; border-radius: 50%; object-fit: cover; }
#furia-home .furia-home__rank-body table td sup { font-size: 11px; color: var(--fh-muted); }
#furia-home .furia-rank__class { display: inline-block; margin-left: 12px; color: var(--fh-muted); font-size: 15px; vertical-align: middle; }
#furia-home .furia-home__rank-body .alert {
    margin: 12px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--fh-line);
    border-radius: 2px;
    background: var(--fh-steel);
    color: var(--fh-text);
    font-size: 16px;
    text-shadow: none;
}
/* Online: the word is always there (never colour alone); crystal-cyan = active */
.furia-home .furia-home__status {
    display: inline-block;
    margin-left: 10px;
    padding: 1px 9px;
    border: 1px solid rgba(55, 217, 197, .5);
    border-radius: 2px;
    color: var(--fh-cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.6;
    text-transform: none;
    vertical-align: middle;
}

@media (max-width: 900px) {
    #furia-home .furia-podium__place { max-width: 300px; }
}
@media (max-width: 699px) {
    /* phones: the champion takes the full width, places 2 and 3 share the row below */
    #furia-home .furia-podium { flex-wrap: wrap; align-items: stretch; gap: 28px 12px; padding-top: 12px; }
    #furia-home .furia-podium__place { flex: 1 1 calc(50% - 6px); max-width: none; --fig-h: 250px; --plinth-h: 0px; --num: 40px; }
    #furia-home .furia-podium__place[data-rank="1"] { flex: 1 1 100%; --fig-h: 340px; --plinth-h: 0px; --num: 52px; order: 1; }
    #furia-home .furia-podium__place[data-class="dk"] .furia-podium__figure img { max-width: 100%; }
    #furia-home .furia-podium__place[data-rank="2"] { order: 2; }
    #furia-home .furia-podium__place[data-rank="3"] { order: 3; --fig-h: 250px; --plinth-h: 0px; }
    #furia-home .furia-podium__plinth { padding: 20px 10px 18px; }
    #furia-home .furia-podium__stats { gap: 6px 14px; }
    #furia-home .furia-podium__stats dd { font-size: 16px; }
    .furia-home .furia-home__status { margin: 4px 0 0; display: table; margin-inline: auto; }
}
@media (max-width: 900px) {
    .furia-home .furia-home__fame-board { margin-top: 0; }
}
@media (max-width: 640px) {
    .furia-home .furia-home__fame-tab { flex: 1 1 0; justify-content: center; padding: 0 8px; }
    #furia-home .furia-home__rank-body table,
    #furia-home .furia-home__rank-body table td { font-size: 14px; }
    #furia-home .furia-home__rank-body table thead tr th,
    #furia-home .furia-home__rank-body table td { padding-left: 5px; padding-right: 5px; }
    #furia-home .furia-home__rank-body table td.first-cell,
    #furia-home .furia-home__rank-body table thead tr th.first-cell { width: 34px; padding-left: 2px; padding-right: 2px; }
    #furia-home .furia-home__rank-body table td img { width: 32px; height: 32px; }
    #furia-home .furia-rank__class { display: none; }
    .furia-home .furia-home__status { margin: 2px 0 0; display: table; }
}
@media (max-width: 420px) {
    #furia-home .furia-home__rank-body table,
    #furia-home .furia-home__rank-body table td { font-size: 14px; }
    #furia-home .furia-home__rank-body table thead tr th { font-size: 12px; padding-left: 3px; padding-right: 3px; }
    #furia-home .furia-home__rank-body table td { padding-left: 3px; padding-right: 3px; }
    #furia-home .furia-home__rank-body table td.first-cell,
    #furia-home .furia-home__rank-body table thead tr th.first-cell { width: 24px; padding-left: 0; padding-right: 0; }
    #furia-home .furia-home__rank-body table td img { width: 28px; height: 28px; }
}

/* ================= join ================= */
.furia-home .furia-home__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
    max-width: 820px;
}
.furia-home .furia-home__step { position: relative; padding-top: 18px; border-top: 1px solid var(--fh-line); }
.furia-home .furia-home__step-no {
    display: block;
    margin-bottom: 8px;
    color: var(--fh-gold);
    font-family: var(--fh-display);
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
}
.furia-home .furia-home__step p { margin: 0; color: var(--fh-text-2); font-size: 16px; line-height: 1.65; max-width: 34ch; }
.furia-home .furia-home__join-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.furia-home .furia-home__lineup {
    position: relative;
    width: min(1100px, 100%);
    margin: clamp(44px, 6.5vw, 96px) auto 0;
    pointer-events: none;
}
.furia-home .furia-home__lineup img { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
.furia-home .furia-home__lineup::after {      /* contact shadow on the floor line */
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: -6px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent);
    z-index: -1;
}
/* link grid: six equal cells, title over note, 72 px targets, clearly apart from the line-up above */
.furia-home .furia-home__community {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0 clamp(16px, 2.4vw, 32px);
    margin-top: clamp(36px, 5vw, 64px);
}
.furia-home .furia-home__community.has-lineup { margin-top: clamp(44px, 5.5vw, 72px); }
.furia-home .furia-home__community a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 72px;
    padding: 14px 0;
    border-top: 1px solid var(--fh-line);
    color: var(--fh-text);
    text-decoration: none;
    transition: color .2s, border-color .2s;
}
.furia-home .furia-home__community a:hover { color: var(--fh-cyan); border-color: var(--fh-cyan); }
.furia-home .furia-home__community a:focus-visible { outline: 2px solid var(--fh-cyan); outline-offset: 2px; }
.furia-home .furia-home__community-title { display: block; font-family: var(--fh-body); font-size: 18px; font-weight: 700; line-height: 1.3; }
.furia-home .furia-home__community-note { display: block; color: var(--fh-text-2); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }

@media (max-width: 1100px) {
    .furia-home .furia-home__community { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .furia-home .furia-home__community { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    .furia-home .furia-home__community a { min-height: 64px; }
}

@media (max-width: 900px) {
    .furia-home .furia-home__steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .furia-home .furia-home__step p { max-width: none; }
}
@media (max-width: 640px) {
    .furia-home .furia-home__join-cta .furia-home__btn { flex: 1 1 100%; }
    /* phones: a centred crop of the line-up (the middle figures), not seven slivers */
    .furia-home .furia-home__lineup { height: 250px; display: flex; justify-content: center; overflow: hidden; }
    .furia-home .furia-home__lineup img { width: auto; height: 100%; flex: none; }
}

/* ================= motion ================= */
/* Scroll entrances. [data-fx] is set by furia-home.js; "pending" hides only while .fx-on exists (JS on, motion allowed).
   The podium rises once when the board scrolls into view (the one authored moment of this part of the page). */
.furia-home.fx-on [data-fx][data-fx-state="pending"] { opacity: 0; }
.furia-home.fx-on [data-fx="up"][data-fx-state="pending"] { transform: translateY(24px); }
.furia-home.fx-on [data-fx="up"][data-fx-state="in"] { animation: furiaUp .9s var(--fh-ease) both; }
.furia-home.fx-on [data-fx="media"][data-fx-state="pending"] { opacity: 0; }
.furia-home.fx-on [data-fx="media"][data-fx-state="in"] { animation: furiaMedia 1.2s var(--fh-ease) both; }
.furia-home.fx-on [data-fx="media"][data-fx-state="in"] img { animation: furiaMediaImg 1.6s var(--fh-ease) both; }
.furia-home.fx-on [data-fx="stagger"][data-fx-state="pending"],
.furia-home.fx-on [data-fx="steps"][data-fx-state="pending"],
.furia-home.fx-on [data-fx="rows"][data-fx-state="pending"],
.furia-home.fx-on [data-fx="board"][data-fx-state="pending"] { opacity: 1; }
.furia-home.fx-on [data-fx="stagger"][data-fx-state="pending"] > *,
.furia-home.fx-on [data-fx="steps"][data-fx-state="pending"] > *,
.furia-home.fx-on [data-fx="rows"][data-fx-state="pending"] > * { opacity: 0; }
.furia-home.fx-on [data-fx="stagger"][data-fx-state="in"] > *,
.furia-home.fx-on [data-fx="steps"][data-fx-state="in"] > *,
.furia-home.fx-on [data-fx="rows"][data-fx-state="in"] > * { animation: furiaUp .8s var(--fh-ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.furia-home.fx-on [data-fx="board"][data-fx-state="pending"] .furia-podium__place,
.furia-home.fx-on [data-fx="board"][data-fx-state="pending"] tbody tr { opacity: 0; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] .furia-podium__place { animation: furiaRise 1.1s var(--fh-ease) both; animation-delay: calc(var(--d, 0) * 110ms); }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr { animation: furiaRow .7s var(--fh-ease) both; animation-delay: .5s; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr:nth-child(2) { animation-delay: .55s; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr:nth-child(3) { animation-delay: .6s; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr:nth-child(4) { animation-delay: .65s; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr:nth-child(5) { animation-delay: .7s; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr:nth-child(6) { animation-delay: .75s; }
.furia-home.fx-on [data-fx="board"][data-fx-state="in"] tbody tr:nth-child(n+7) { animation-delay: .8s; }
/* a guild table has no podium: its rows start at once */
.furia-home.fx-on #top_guilds[data-fx="board"][data-fx-state="in"] tbody tr { animation-delay: .1s; }
.furia-home.fx-on #top_guilds[data-fx="board"][data-fx-state="in"] tbody tr:nth-child(n+2) { animation-delay: .16s; }
.furia-home.fx-on #top_guilds[data-fx="board"][data-fx-state="in"] tbody tr:nth-child(n+4) { animation-delay: .22s; }
.furia-home.fx-on #top_guilds[data-fx="board"][data-fx-state="in"] tbody tr:nth-child(n+7) { animation-delay: .28s; }

/* scroll-linked drift of every scene (browsers with scroll-driven animations only) */
@supports (animation-timeline: view()) {
    .furia-home.fx-on .furia-home__scene::before { animation: furiaScene linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}

@keyframes furiaSheen { 0% { opacity: 1; transform: skewX(-18deg) translateX(0); } 100% { opacity: 0; transform: skewX(-18deg) translateX(520%); } }
@keyframes furiaUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes furiaOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-10px); } }
@keyframes furiaRise { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes furiaMedia { from { clip-path: inset(12% 7% 12% 7%); opacity: .2; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes furiaMediaImg { from { scale: 1.18; filter: brightness(1.5); } to { scale: 1; filter: none; } }
@keyframes furiaRow { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes furiaScene { from { transform: translateY(-5%) scale(1.07); } to { transform: translateY(5%) scale(1.07); } }
@keyframes furiaIris {
    from { clip-path: circle(0% at var(--ox, 50%) var(--oy, 100%)); }
    to { clip-path: circle(150% at var(--ox, 50%) var(--oy, 100%)); }
}
@keyframes furiaIrisImg { from { scale: 1.16; filter: brightness(1.5); } to { scale: 1.04; filter: none; } }
@keyframes furiaDim { from { filter: none; } to { filter: brightness(.45); } }
@keyframes furiaArtIn { from { opacity: 0; transform: translateY(5%) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes furiaArtOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-5%); } }
@keyframes furiaSigilIn { from { opacity: 0; scale: .78; rotate: -40deg; } to { opacity: .42; scale: 1; rotate: 0deg; } }
@keyframes furiaSpin { to { rotate: 360deg; } }
@keyframes furiaRing { from { --furia-a: 0deg; } to { --furia-a: 360deg; } }
@keyframes furiaBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Reduced motion: no animation, no transitions, nothing hidden waiting to appear. */
@media (prefers-reduced-motion: reduce) {
    .furia-home *,
    .furia-home *::before,
    .furia-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .furia-home [data-fx] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
    .furia-home [data-fx] > *,
    .furia-home [data-fx] .furia-podium__place,
    .furia-home [data-fx] tbody tr { opacity: 1 !important; transform: none !important; }
    .furia-home .furia-home__motes { display: none; }
    .furia-home .furia-home__world-art img { translate: none; }
}

/* ================= W4: phones (<= 639 px) - the page was 9,800 px (11.6 screens), target <= 7,000 =================
   Swipe rails (scroll-snap, no JS) for the in-game screenshots and the news briefs, tighter sections, a shorter Hall of Legends and join.
   Everything real stays reachable: hidden table rows are ranks 9-10 only (the full ranking is one link away), the decorative line-up is dropped. */
@media (max-width: 639px) {
    .furia-home .furia-home__section { padding-block: 48px; }

    /* screenshots: one horizontal rail instead of three stacked images */
    .furia-home .furia-home__shots ul {
        display: flex;
        gap: 12px;
        margin-inline: calc(var(--furia-gutter-sm, 32px) / -2);
        padding-inline: calc(var(--furia-gutter-sm, 32px) / 2);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: calc(var(--furia-gutter-sm, 32px) / 2);
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .furia-home .furia-home__shots ul::-webkit-scrollbar { display: none; }
    .furia-home .furia-home__shots li { flex: 0 0 78%; scroll-snap-align: start; }
    .furia-home .furia-home__shots li img { width: 100%; height: auto; aspect-ratio: 660 / 390; object-fit: cover; }

    /* news: the lead stays a card, the four briefs become a rail of small cards */
    .furia-home .furia-home__lead { min-height: 380px; }
    .furia-home .furia-home__news-list {
        display: flex;
        gap: 12px;
        margin-top: 16px;
        margin-inline: calc(var(--furia-gutter-sm, 32px) / -2);
        padding-inline: calc(var(--furia-gutter-sm, 32px) / 2);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: calc(var(--furia-gutter-sm, 32px) / 2);
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }
    .furia-home .furia-home__news-list::-webkit-scrollbar { display: none; }
    .furia-home .furia-home__news-list > .furia-home__brief {
        flex: 0 0 76%;
        position: relative;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 16px;
        gap: 10px;
        scroll-snap-align: start;
        background: var(--fh-panel, rgba(16, 27, 37, .6));
        border: 1px solid var(--fh-line);
    }
    .furia-home .furia-home__news-list > .furia-home__brief.has-thumb { min-height: 0; }
    .furia-home .furia-home__news-list .furia-home__brief-media { width: 100%; aspect-ratio: 16 / 7; }
    .furia-home .furia-home__news-list .furia-home__brief-media img { width: 100%; height: 100%; object-fit: cover; }
    .furia-home .furia-home__news-list .furia-home__brief-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    /* Hall of Legends: shorter figures, ranks 4-8 in the table (9-10 and the full list are on the rankings page) */
    #furia-home .furia-podium__place[data-rank="1"] { --fig-h: 280px; }
    #furia-home .furia-podium__place[data-rank="2"], #furia-home .furia-podium__place[data-rank="3"] { --fig-h: 200px; }
    #furia-home .furia-home__rank-body table tbody tr:nth-child(n+6) { display: none; }

    /* join: compact steps, the decorative line-up goes (the class stage above already shows the seven classes) */
    .furia-home .furia-home__steps { gap: 18px; }
    .furia-home .furia-home__step { padding-top: 12px; }
    .furia-home .furia-home__step-no { display: inline-block; margin: 0 12px 0 0; font-size: 32px; vertical-align: middle; }
    .furia-home .furia-home__step h3 { display: inline; vertical-align: middle; }
    .furia-home .furia-home__step p { margin-top: 6px; }
    .furia-home .furia-home__lineup { display: none; }
}

/* W4 phones, second pass: the world chips repeat the paragraph above them, the class text is clamped, thumbnails leave the news rail */
@media (max-width: 639px) {
    .furia-home .furia-home__chips { display: none; }
    .furia-home .furia-home__lead { min-height: 330px; }
    .furia-home .furia-home__news-list .furia-home__brief-media { display: none; }
    .furia-home .furia-home__class-desc { font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
    .furia-home .furia-home__class-art img { height: 230px; }
    #furia-home .furia-podium__place[data-rank="1"] { --fig-h: 240px; }
    #furia-home .furia-podium__place[data-rank="2"], #furia-home .furia-podium__place[data-rank="3"] { --fig-h: 170px; }
}

/* W4 phones, third pass */
@media (max-width: 639px) {
    .furia-home .furia-home__section { padding-block: 40px; }
    .furia-home .furia-home__world-tab-teaser { display: none; }
    .furia-home .furia-home__class-desc { -webkit-line-clamp: 3; }
    #furia-home .furia-home__rank-body table tbody tr:nth-child(n+5) { display: none; }   /* ranks 4-7 under the podium; the rest is on the rankings page */
    .furia-home .furia-home__next-body { padding: 16px 16px 14px; }
}

/* W4 phones, fourth pass: the Hall of Legends sentence repeats the heading, the lead card can be a little shorter */
@media (max-width: 639px) {
    .furia-home .furia-home__fame .furia-home__lead-in { display: none; }
    .furia-home .furia-home__lead { min-height: 300px; }
}

/* ================= W4: phone dock (markup in view.home.php, switched by furia-home.js) ================= */
.furia-home .furia-home__dock { display: none; }
@media (max-width: 639px) {
    .furia-home .furia-home__dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;                  /* above the page, below the header, the menu and the login modal */
        display: flex;
        gap: 10px;
        padding: 18px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, rgba(6, 9, 14, 0), rgba(6, 9, 14, .94) 42%);
        visibility: hidden;
        transform: translateY(100%);
        pointer-events: none;
        transition: transform .45s var(--fh-ease), visibility 0s linear .45s;
    }
    .furia-home .furia-home__dock.is-on { visibility: visible; transform: none; pointer-events: auto; transition: transform .45s var(--fh-ease), visibility 0s; }
    .furia-home .furia-home__dock .furia-home__btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 10px; font-size: 15px; }
    /* the back-to-top square rides above the dock while it is shown */
    .furia-shell.has-dock .toTop { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
    .furia-home .furia-home__dock, .furia-home .furia-home__dock.is-on { transition: none; }
}
