/* Layout: the page opens on the real login cinematic, then settles into the game's own two window materials:
   Pearl (the in-game light appearance) and Ocean depth (the dark appearance), switched like the moon button on in-game windows. */
:root {
    color-scheme: light;
    --bg: #eaf2fb;
    --bg-band: #dfeaf7;
    --panel: #ffffff;
    --panel-soft: #f4f8fd;
    --ink: #13234a;
    --ink-soft: #4a5c80;
    --line: #c8d7ea;
    --tide: #2856d2;
    --violet: #5f57cf;
    --crystal: #18a9bb;
    --frame-hi: #ffffff;
    --frame-lo: #aac4e3;
    --shadow: 0 22px 44px -26px rgba(19, 35, 74, 0.45);

    /* Constant in both appearances: video scrim, header, footer, the champagne action. */
    --night: #0d1640;
    --night-deep: #080e2c;
    --night-ink: #f4f1ff;
    --night-soft: #b9c2ea;
    --moon: #fff1cc;
    --gold-hi: #f8e6b4;
    --gold-lo: #d4a752;
    --gold-lip: #9a6f2c;
    --gold-ink: #43280a;
    --ok: #4fd39a;

    --display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --body: "Nunito", "Segoe UI", system-ui, sans-serif;
    --shell: 72rem;
    --radius: 18px;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0a1433;
        --bg-band: #0e1a40;
        --panel: #13224d;
        --panel-soft: #172a5c;
        --ink: #edf1ff;
        --ink-soft: #a8b5da;
        --line: #2a3c72;
        --tide: #91acff;
        --violet: #b6adff;
        --crystal: #5fe0db;
        --frame-hi: #7f98d8;
        --frame-lo: #1f3472;
        --shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.7);
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0a1433;
    --bg-band: #0e1a40;
    --panel: #13224d;
    --panel-soft: #172a5c;
    --ink: #edf1ff;
    --ink-soft: #a8b5da;
    --line: #2a3c72;
    --tide: #91acff;
    --violet: #b6adff;
    --crystal: #5fe0db;
    --frame-hi: #7f98d8;
    --frame-lo: #1f3472;
    --shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body::before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    z-index: 60;
    background: var(--night);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--crystal); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 70; padding: 0.6rem 1rem; border-radius: 10px; background: var(--panel); color: var(--ink); font-weight: 800; }
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

.shell {
    width: 100%;
    max-width: calc(var(--shell) + 2 * 1.5rem);
    margin-inline: auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
    .shell { padding-left: max(1.5rem, env(safe-area-inset-left, 0px)); padding-right: max(1.5rem, env(safe-area-inset-right, 0px)); }
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--violet);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-head { display: grid; gap: 0.9rem; max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; }
.section-head p { color: var(--ink-soft); max-width: 36rem; }

/* Buttons: raised faces with a darker lower lip, as on the in-game ocean-depth buttons. */
.btn {
    --lip: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0 1.4rem;
    border-radius: 12px;
    font: 800 0.95rem/1 var(--body);
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
}
.btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: translateY(2px); --lip: 1px; }
.btn-gold {
    color: var(--gold-ink);
    background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
    border-color: #b48a3e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 var(--lip) 0 var(--gold-lip), 0 10px 24px -10px rgba(212, 167, 82, 0.8);
}
.btn-gold:hover { filter: brightness(1.06) saturate(1.05); }
.btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 var(--lip) 0 rgba(4, 10, 40, 0.45);
    backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn-pearl {
    color: #13234a;
    background: linear-gradient(180deg, #ffffff, #d9e6f6);
    border-color: #a7bfdc;
    box-shadow: inset 0 1px 0 #fff, 0 var(--lip) 0 #8aa5c8;
}
.btn-pearl:hover { filter: brightness(1.04); }
.btn-lg { min-height: 3.5rem; padding: 0 1.8rem; font-size: 1.02rem; }
.btn-sm { min-height: 2.4rem; padding: 0 1rem; font-size: 0.85rem; border-radius: 10px; }
.text-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font: 800 0.88rem/1 var(--body); color: var(--tide);
    background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Pearl window: the in-game window material. */
.window {
    position: relative;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background:
        linear-gradient(var(--panel), var(--panel)) padding-box,
        linear-gradient(180deg, var(--frame-hi), var(--frame-lo)) border-box;
    box-shadow: var(--shadow);
}

/* Header */
.site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50;
    color: var(--night-ink);
    background: color-mix(in srgb, var(--night) 62%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    border-bottom: 1px solid rgba(185, 194, 234, 0.18);
    transition: background 0.25s ease;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--night) 94%, transparent); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-name { display: grid; line-height: 1; }
.brand-name span { font-family: var(--display); font-size: 1.15rem; }
.brand-name small { font-size: 0.62rem; font-weight: 900; letter-spacing: 0.42em; color: var(--night-soft); margin-top: 0.3rem; }
.site-nav { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
.site-nav a.nav-link {
    white-space: nowrap;
    padding: 0.5rem 0.6rem;
    border-radius: 9px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--night-soft);
}
.site-nav a.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-new { font-size: 0.62rem; font-weight: 900; color: var(--gold-ink); background: var(--gold-hi); border-radius: 99px; padding: 0.1rem 0.4rem; margin-left: 0.3rem; vertical-align: 2px; }
.nav-rule { width: 1px; height: 1.6rem; background: rgba(185, 194, 234, 0.25); margin-inline: 0.4rem; }
.icon-btn {
    width: 2.4rem; height: 2.4rem; display: inline-grid; place-items: center;
    border-radius: 10px; border: 1px solid rgba(185, 194, 234, 0.35);
    background: rgba(255, 255, 255, 0.06); color: var(--night-ink); cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.icon-btn svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-btn .sun { display: block; }
    :root:not([data-theme="light"]) .theme-btn .moon { display: none; }
}
.nav-toggle { display: none; margin-left: auto; }
.site-nav .btn { white-space: nowrap; }
@media (max-width: 1180px) {
    .nav-toggle { display: inline-grid; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.8rem max(16px, env(safe-area-inset-right, 0px)) 1.2rem max(16px, env(safe-area-inset-left, 0px));
        background: var(--night);
        border-bottom: 1px solid rgba(185, 194, 234, 0.2);
    }
    .site-nav:not(.is-open) { display: none; }
    .site-nav a.nav-link { padding: 0.75rem 0.6rem; font-size: 1rem; }
    .nav-rule { width: 100%; height: 1px; margin: 0.4rem 0; }
    .nav-actions { display: flex; gap: 0.6rem; align-items: center; }
}
.nav-actions { display: flex; gap: 0.5rem; align-items: center; }

/* Hero: the real login cinematic. */
.hero {
    position: relative;
    isolation: isolate;
    margin-top: -4.25rem;
    padding-top: 4.25rem;
    color: var(--night-ink);
    background: var(--night);
    min-height: min(52rem, 92vh);
    display: grid;
    align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-media video { position: absolute; inset: 0; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 62% at 50% 48%, rgba(8, 14, 44, 0.55) 0%, rgba(8, 14, 44, 0.2) 60%, rgba(8, 14, 44, 0) 100%),
        linear-gradient(0deg, rgba(8, 14, 44, 0.9) 0%, rgba(8, 14, 44, 0) 32%),
        linear-gradient(180deg, rgba(8, 14, 44, 0.55) 0%, rgba(8, 14, 44, 0) 22%);
}
/* The logo spans the stage, capped by the screen height so the motto and the realm strip stay in view. */
.hero-content { padding-block: clamp(2rem, 5vh, 3.5rem) clamp(7rem, 13vh, 8.5rem); display: grid; gap: clamp(0.6rem, 1.6vh, 1.2rem); justify-items: center; text-align: center; }
.hero h1 { width: min(100%, var(--shell), calc((100svh - 21rem) * 1.78)); min-width: min(100%, 18rem); }
/* logo.webp has 23px of empty space on its left and none on its right; shift by half of it so the art itself is centred */
.hero h1 img { width: 100%; height: auto; translate: -1.3% 0; filter: drop-shadow(0 8px 22px rgba(4, 8, 30, 0.75)); }
.hero .twinkle { width: calc(clamp(26px, 3.4vw, 46px) * var(--s, 1)); }
.tagline { font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.6rem); color: var(--moon); line-height: 1.2; text-shadow: 0 2px 16px rgba(4, 8, 30, 0.8); }
.hero-summary { max-width: 30rem; color: #dfe4ff; text-shadow: 0 1px 10px rgba(4, 8, 30, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
@media (max-width: 720px) {
    .hero { min-height: 0; }
    .hero-media img, .hero-media video { object-position: 38% 50%; }
    .hero::before { background: linear-gradient(0deg, rgba(8, 14, 44, 0.95) 8%, rgba(8, 14, 44, 0.35) 60%, rgba(8, 14, 44, 0.6) 100%); }
    .hero-content { padding-top: 3.5rem; }
    .hero h1 { width: 100%; }
}

/* Realm facts: a pearl window that overlaps the hero edge. */
.facts-wrap { position: relative; z-index: 2; margin-top: -4.5rem; }
.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0.4rem;
}
.facts div { padding: 1.1rem 1.3rem; display: grid; gap: 0.25rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.25; }
.facts dd small { display: block; font-family: var(--body); font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; margin-top: 0.15rem; }
@media (max-width: 860px) {
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facts div:nth-child(3) { border-left: 0; }
    .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.feature {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.55rem;
    padding: 1.5rem 1.5rem 1.6rem;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tide) 45%, var(--line)); }
.feature .stat { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; color: var(--tide); }
.feature h3 { font-size: 1.12rem; font-weight: 900; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }

/* Classes */
.class-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.class-tab {
    font: 800 0.92rem/1 var(--body);
    padding: 0.75rem 1.05rem;
    border-radius: 12px;
    cursor: pointer;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 2px 0 var(--line);
}
.class-tab:hover { border-color: var(--tide); }
.class-tab[aria-selected="true"] {
    color: #fff;
    background: linear-gradient(180deg, #3c6fe6, #1f45b3);
    border-color: #1a3c9c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 0 #13307f;
}
.class-tab .badge { font-size: 0.6rem; font-weight: 900; padding: 0.12rem 0.4rem; border-radius: 99px; margin-left: 0.35rem; color: var(--gold-ink); background: var(--gold-hi); vertical-align: 2px; }
.class-stage { padding: clamp(1.2rem, 3vw, 2rem); }
.class-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 820px) { .class-panel { grid-template-columns: minmax(0, 1fr); } }
.class-details { display: grid; gap: 1rem; align-content: center; }
.class-kicker { font-size: 0.76rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: var(--violet); }
.class-details h3 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; }
.class-lead { font-size: 1.1rem; max-width: 32rem; }
.class-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0.4rem 0 0; }
@media (max-width: 520px) { .class-facts { grid-template-columns: minmax(0, 1fr); } }
.class-facts div { background: var(--panel-soft); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.85rem; }
.class-facts dt { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.class-facts dd { margin: 0.2rem 0 0; font-weight: 800; font-size: 0.95rem; }
.class-facts .wide { grid-column: 1 / -1; }
.class-note { color: var(--ink-soft); font-style: italic; font-weight: 600; }

/* Rankings preview */
.rank-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .rank-layout { grid-template-columns: minmax(0, 1fr); } }
.mazes { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.2rem; }
.mazes span { font-size: 0.82rem; font-weight: 800; padding: 0.35rem 0.7rem; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); }
.board { padding: 1.2rem 1.2rem 1rem; }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; align-items: center; padding: 0.3rem 0.4rem 1rem; }
.board-head strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--panel-soft); border: 1px solid var(--line); }
.seg button { font: 800 0.8rem/1 var(--body); border: 0; background: none; color: var(--ink-soft); padding: 0.5rem 0.75rem; border-radius: 8px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 2px 8px -4px rgba(19, 35, 74, 0.4); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--line); }
td { padding: 0.75rem 0.7rem; border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
.rank { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font-family: var(--display); font-weight: 400; background: var(--panel-soft); border: 1px solid var(--line); }
tr:nth-child(1) .rank { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: var(--gold-ink); border-color: #b48a3e; }
tr:nth-child(2) .rank { background: linear-gradient(180deg, #f4f7fb, #b9c6d8); color: #24324f; border-color: #98a8c0; }
tr:nth-child(3) .rank { background: linear-gradient(180deg, #f3d2b4, #c08657); color: #3d1f08; border-color: #a06c42; }
td .guild { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 0.9rem 0.4rem 0.2rem; font-size: 0.82rem; color: var(--ink-soft); }

/* First voyage */
.begin { background: var(--bg-band); }
.begin-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .begin-layout { grid-template-columns: minmax(0, 1fr); } }
.begin-copy { display: grid; gap: 1.1rem; justify-items: start; }
.begin-copy h2 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; }
.begin-copy > p { color: var(--ink-soft); max-width: 30rem; }
.launcher-peek { margin-top: 0.8rem; display: grid; gap: 0.6rem; text-decoration: none; color: inherit; width: 100%; max-width: 26rem; }
.launcher-peek .frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 1240 / 720; background: var(--night); }
.launcher-peek img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.launcher-peek .frame span { position: absolute; left: 0.8rem; bottom: 0.7rem; font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); }
.launcher-peek:hover .frame { border-color: var(--tide); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1.1rem; padding: 1.4rem; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.step-index {
    width: 3.4rem; height: 3.4rem; display: grid; place-items: center;
    font-family: var(--display); font-size: 1.3rem; color: #fff;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6d93ff, #1f45b3 70%);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), 0 0 0 4px color-mix(in srgb, var(--tide) 18%, transparent);
}
.steps h3 { font-family: var(--display); font-size: 1.35rem; margin-bottom: 0.3rem; }
.steps p { color: var(--ink-soft); margin-bottom: 0.7rem; }
.site-notice { margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: 12px; border: 1px dashed var(--tide); background: var(--panel); color: var(--ink); }
.site-notice a { color: var(--tide); font-weight: 800; }

/* Community */
.community { padding-block: clamp(3rem, 7vw, 5rem); }
.crew {
    position: relative;
    overflow: hidden;
    color: var(--night-ink);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(120deg, #1a2a78, var(--night) 55%, #241c62);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}
.crew::after { content: ""; position: absolute; right: -3rem; bottom: -5rem; width: 22rem; height: 22rem; background: url("../images/brand/mark.webp") center / contain no-repeat; opacity: 0.18; pointer-events: none; }
.crew > * { position: relative; z-index: 1; }
.crew .eyebrow { color: var(--gold-hi); }
.crew h2 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; margin: 0.8rem 0; }
.crew p { color: #d3d9fb; max-width: 34rem; }
@media (max-width: 720px) { .crew { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--night-deep); color: var(--night-soft); padding-block: 3rem 2rem; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: center; }
.footer-main .brand { color: var(--night-ink); }

/* Registration window */
dialog.reg {
    width: min(30rem, calc(100% - 32px));
    max-height: calc(100% - 32px);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    overflow: visible;
}
dialog.reg::backdrop { background: rgba(8, 14, 44, 0.66); backdrop-filter: blur(4px); }
.reg-window { padding: 2rem clamp(1.2rem, 4vw, 2rem) 1.6rem; max-height: calc(100vh - 48px); overflow-y: auto; }
.reg-close { position: absolute; top: 0.8rem; right: 0.8rem; width: 2.2rem; height: 2.2rem; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-soft); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.reg h2 { font-family: var(--display); font-size: 2rem; margin: 0.7rem 0 0.3rem; }
.reg .lede { color: var(--ink-soft); margin-bottom: 1.3rem; }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 800; font-size: 0.9rem; }
.field input {
    font: 600 1rem var(--body);
    color: var(--ink);
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    box-shadow: inset 0 2px 4px rgba(19, 35, 74, 0.08);
}
.field input:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tide) 25%, transparent); }
.field p { font-size: 0.8rem; color: var(--ink-soft); }
.reg-status { font-size: 0.9rem; font-weight: 700; padding: 0.7rem 0.85rem; border-radius: 10px; margin-bottom: 1rem; background: var(--panel-soft); border: 1px solid var(--line); }
.reg .btn { width: 100%; }
.assurance { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.9rem; text-align: center; }


@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Guides & news: cards, filters and the article page. */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 0.6rem;
    padding: 1.4rem 1.5rem 1.3rem;
    border-radius: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tide) 45%, var(--line)); }
.post-card.is-featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); padding: clamp(1.5rem, 4vw, 2.4rem); background: linear-gradient(135deg, color-mix(in srgb, var(--tide) 10%, var(--panel)), var(--panel) 60%); }
.post-card.is-featured .post-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.post-card.is-featured .post-summary { font-size: 1.08rem; max-width: 46rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.8rem; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.post-title { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; text-wrap: balance; }
.post-summary { color: var(--ink-soft); font-size: 0.98rem; }
.post-more { font-weight: 800; font-size: 0.88rem; color: var(--tide); }
.cat { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.55rem; border-radius: 99px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.cat-news { --c: var(--tide); }
.cat-guides { --c: var(--crystal); }
.cat-mazes { --c: var(--violet); }
.cat-dungeons { --c: #c98a2e; }
.cat-events { --c: #2fa877; }
.section-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.section-foot p { color: var(--ink-soft); font-size: 0.92rem; }
.posts-error { padding: 1.2rem 1.4rem; border-radius: 14px; border: 1px dashed var(--line); color: var(--ink-soft); }

/* Inner pages share a short night masthead instead of the video hero. */
.masthead {
    margin-top: -4.25rem;
    padding-top: 4.25rem;
    color: var(--night-ink);
    background:
        radial-gradient(50rem 20rem at 85% 0%, rgba(116, 132, 255, 0.35), transparent 60%),
        linear-gradient(180deg, var(--night), #142060);
}
.masthead .shell { padding-block: clamp(2.6rem, 6vw, 4rem) clamp(2.2rem, 5vw, 3.2rem); display: grid; gap: 0.9rem; }
.masthead h1 { font-family: var(--display); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; }
.masthead p.lede { color: #d3d9fb; max-width: 40rem; font-size: 1.08rem; }
.masthead .eyebrow { color: var(--gold-hi); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--night-soft); }
.crumbs a { color: var(--night-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.filters button {
    font: 800 0.88rem/1 var(--body);
    padding: 0.65rem 0.95rem;
    border-radius: 99px;
    cursor: pointer;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
}
.filters button[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, #3c6fe6, #1f45b3); border-color: #1a3c9c; }
.filters button span { font-weight: 700; opacity: 0.7; margin-left: 0.3rem; }
.search { position: relative; flex: 1 1 15rem; max-width: 22rem; }
.search input {
    width: 100%;
    font: 600 0.95rem var(--body);
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
}
.search input:focus { outline: none; border-color: var(--tide); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tide) 25%, transparent); }
.search svg { position: absolute; left: 0.9rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); fill: none; stroke: var(--ink-soft); stroke-width: 2.2; stroke-linecap: round; }
.empty { padding: 2.4rem; text-align: center; color: var(--ink-soft); border-radius: 16px; border: 1px dashed var(--line); }

.article-layout { display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 960px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; font-size: 0.88rem; font-weight: 700; color: var(--night-soft); }
.prose { font-size: 1.07rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-family: var(--display); font-size: 1.75rem; line-height: 1.2; margin-top: 2.4rem; }
.prose h3 { font-weight: 900; font-size: 1.15rem; margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--tide); font-weight: 800; }
.prose strong { font-weight: 800; }
.prose a { color: var(--tide); font-weight: 700; }
.prose code { font-size: 0.92em; padding: 0.1rem 0.35rem; border-radius: 6px; background: var(--panel-soft); border: 1px solid var(--line); }
.prose blockquote { margin-inline: 0; padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--panel-soft); border: 1px solid var(--line); color: var(--ink-soft); }
.prose .table-scroll { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.prose table td { white-space: normal; font-weight: 600; vertical-align: top; }
.prose table td:first-child { font-weight: 800; }
.aside { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.aside h2 { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.aside .post-card { padding: 1.1rem 1.2rem; }
.aside .post-title { font-size: 1.1rem; }
.aside .post-summary { display: none; }
@media (max-width: 960px) { .aside { position: static; } }
.site-nav a.nav-link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Class window v2: in-game model on a pedestal, skill bar with in-game style tooltips. */
.class-panel.v2 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; }
@media (max-width: 820px) { .class-panel.v2 { grid-template-columns: minmax(0, 1fr); } }
.model-stage {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 30rem;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(18rem 4.5rem at 50% 86%, rgba(95, 224, 240, 0.45), transparent 70%),
        radial-gradient(30rem 26rem at 50% 30%, #2a3c96, transparent 70%),
        linear-gradient(180deg, #121c55, var(--night-deep));
    border: 1px solid color-mix(in srgb, var(--frame-lo) 70%, transparent);
}
@media (max-width: 820px) { .model-stage { min-height: 24rem; } }
.model-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4.6rem;
    width: 15rem;
    height: 2.6rem;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(143, 230, 255, 0.55);
    box-shadow: 0 0 22px rgba(95, 224, 240, 0.5), inset 0 0 18px rgba(95, 224, 240, 0.35);
    pointer-events: none;
}
.model-stage img.model {
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: center;
    width: auto;
    max-width: 92%;
    max-height: 27rem;
    margin-bottom: 1.3rem;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55));
}
.model-stage .placeholder-note { align-self: center; justify-self: center; color: var(--night-soft); text-align: center; padding: 2rem; }
.model-switch { position: relative; z-index: 2; display: flex; justify-content: center; gap: 0.4rem; padding: 0 1rem 1.1rem; }
.model-switch button {
    font: 800 0.82rem/1 var(--body);
    color: var(--night-soft);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(185, 194, 234, 0.3);
    border-radius: 99px;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
}
.model-switch button[aria-pressed="true"] { color: #13234a; background: linear-gradient(180deg, #ffffff, #d9e6f6); border-color: #a7bfdc; }

.skills-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }
.skills-head h4 { margin: 0; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); }
.skills-head span { font-size: 0.8rem; color: var(--ink-soft); font-weight: 700; }
.skill-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill {
    position: relative;
    width: 3.25rem;
    height: 3.25rem;
    padding: 3px;
    border-radius: 11px;
    cursor: help;
    background: linear-gradient(180deg, var(--frame-hi), var(--frame-lo));
    border: 0;
    box-shadow: 0 2px 0 color-mix(in srgb, var(--frame-lo) 80%, #000), 0 6px 14px -8px rgba(0, 0, 0, 0.6);
    transition: transform 0.12s ease;
}
.skill img { width: 100%; height: 100%; border-radius: 8px; image-rendering: auto; background: #0b1238; }
.skill:hover, .skill:focus-visible, .skill[aria-expanded="true"] { transform: translateY(-2px); background: linear-gradient(180deg, #fff6d6, var(--gold-lo)); }
.skill.passive img { border: 2px dashed rgba(255, 255, 255, 0.35); }

/* Tooltip styled after the in-game skill tooltip: dark glass, gold name, grey meta. */
.skill-tip {
    position: fixed;
    z-index: 80;
    width: min(20rem, calc(100vw - 24px));
    padding: 0.85rem 0.95rem 0.9rem;
    border-radius: 12px;
    color: #e9edff;
    background: rgba(9, 14, 42, 0.96);
    border: 1px solid rgba(143, 166, 224, 0.55);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.12s ease, transform 0.12s ease;
}
.skill-tip.is-visible { opacity: 1; transform: none; }
.skill-tip .tip-head { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.7rem; align-items: center; margin-bottom: 0.55rem; }
.skill-tip .tip-head img { width: 2.4rem; height: 2.4rem; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.25); }
.skill-tip strong { display: block; font-size: 1rem; font-weight: 900; color: var(--gold-hi); line-height: 1.2; }
.skill-tip .tip-meta { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; color: #9fb0e6; }
.skill-tip p { font-size: 0.88rem; line-height: 1.5; color: #d7ddfb; white-space: pre-line; }
.skills { display: grid; gap: 0.75rem; }
.skill-group { display: grid; gap: 0.45rem; }
.skill-group-label { font-size: 0.85rem; font-weight: 900; color: var(--ink); }
.skill-group-label span { font-weight: 700; color: var(--ink-soft); margin-left: 0.35rem; }
.skill-tip .tip-lines { margin: 0; display: grid; gap: 0.15rem; }
.skill-tip .tip-lines dt { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: #8fa6e0; margin-top: 0.4rem; }
.skill-tip .tip-lines dt:first-child { margin-top: 0; }
.skill-tip .tip-lines dd { margin: 0; font-size: 0.86rem; line-height: 1.5; color: #dfe4ff; }
.class-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Real in-game captures: four angles in one image, shown one at a time. */
.model-stage.has-render { display: block; min-height: 0; aspect-ratio: 4 / 5; max-height: 40rem; width: 100%; max-width: 100%; align-self: start; background: var(--night-deep); }
.model-stage.has-render::after { display: none; }
.model-frame { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: pan-y; }
.model-frame:active { cursor: grabbing; }
.model-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(8, 14, 44, 0.88), rgba(8, 14, 44, 0)); pointer-events: none; }
.model-frame::before { content: ""; position: absolute; inset: 0 0 auto; height: 22%; z-index: 1; background: linear-gradient(180deg, rgba(8, 14, 44, 0.6), rgba(8, 14, 44, 0)); pointer-events: none; }
.model-sprite { position: absolute; top: 0; left: 0; width: 400%; height: 100%; max-width: none; object-fit: fill; transform: translateX(calc(var(--view, 0) * -25%)); user-select: none; -webkit-user-drag: none; }
/* Screenshot sets cross-fade; the frame keeps the same night shading as the turnaround renders. */
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease; user-select: none; -webkit-user-drag: none; }
.shot.is-current { opacity: 1; }
.model-frame.is-still { cursor: default; }
.model-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0.9rem; display: grid; justify-items: center; gap: 0.55rem; padding: 0 0.8rem; }
.model-controls .model-switch { padding: 0; }
.model-rotate { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem; border-radius: 99px; background: rgba(8, 14, 44, 0.65); border: 1px solid rgba(185, 194, 234, 0.35); backdrop-filter: blur(6px); color: #e9edff; }
.model-rotate span { min-width: 4.6rem; text-align: center; font-size: 0.8rem; font-weight: 800; }
.model-rotate button { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; color: #13234a; background: linear-gradient(180deg, #ffffff, #d9e6f6); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #8aa5c8; }
.model-rotate svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Polish pass: logo-coloured headings, waves, night stage, tab portraits, hero motion. ---- */
:root { --t-head-hi: #13234a; --t-head-lo: #2c4fc4; --head-hi: var(--t-head-hi); --head-lo: var(--t-head-lo); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --t-head-hi: #fff6df; --t-head-lo: #b9b4ff; } }
:root[data-theme="dark"] { --t-head-hi: #fff6df; --t-head-lo: #b9b4ff; }
.window, .feature, .post-card { --head-hi: var(--t-head-hi); --head-lo: var(--t-head-lo); }
.band-night, .crew, .masthead, .hero { --head-hi: #fff6df; --head-lo: #b9b4ff; }
.section-head h2, .class-details h3, .masthead h1, .crew h2, .begin-copy h2, .post-card.is-featured .post-title {
    background: linear-gradient(180deg, var(--head-hi) 25%, var(--head-lo));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 0.08em;
}
.tagline {
    background: linear-gradient(180deg, #fff6df 30%, #cfc8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(4, 8, 30, 0.85));
}

/* Curling wave edges, in the page colour, like the waves in the logo. */
.wave-edge { position: absolute; left: 0; width: 100%; height: clamp(34px, 5.5vw, 78px); fill: var(--bg); pointer-events: none; z-index: 1; display: block; }
.wave-edge.top { top: -1px; }
.wave-edge.bottom { bottom: -1px; transform: scaleY(-1); }

/* Night stage for the class showcase, the same in both appearances. */
.band-night {
    position: relative;
    isolation: isolate;
    color: var(--night-ink);
    padding-block: clamp(6.5rem, 12vw, 9.5rem);
    background:
        radial-gradient(60rem 30rem at 82% 8%, rgba(116, 132, 255, 0.3), transparent 62%),
        radial-gradient(46rem 26rem at 8% 96%, rgba(95, 224, 219, 0.16), transparent 62%),
        linear-gradient(180deg, #101a52, var(--night-deep));
}
.band-night::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.55;
    background-image:
        radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 28% 62%, #dfe6ff 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 44% 28%, #fff6df 50%, transparent 51%),
        radial-gradient(1px 1px at 63% 74%, #fff 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 78% 36%, #dfe6ff 50%, transparent 51%),
        radial-gradient(1px 1px at 91% 82%, #fff 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 6% 88%, #fff6df 50%, transparent 51%),
        radial-gradient(1px 1px at 55% 8%, #fff 50%, transparent 51%);
    background-size: 520px 420px;
}
.band-night .eyebrow { color: var(--gold-hi); }
.band-night .section-head p { color: var(--night-soft); }

/* Class tabs carry the class emblem (assets/images/classes/emblems: game effect glyphs on a medallion, see art/class-emblems-20261026). */
.class-tabs { gap: 0.6rem; }
.class-tab { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.3rem 1.1rem 0.3rem 0.3rem; border-radius: 99px; font-size: 0.95rem; }
.tab-emblem { width: 2.6rem; height: 2.6rem; margin-block: -0.1rem; flex: none; filter: drop-shadow(0 2px 4px rgba(4, 8, 30, 0.45)); transition: transform 0.2s ease, filter 0.2s ease; }
.class-tab:hover .tab-emblem { transform: scale(1.06); }
.class-tab[aria-selected="true"] .tab-emblem { transform: scale(1.06); filter: drop-shadow(0 0 7px rgba(248, 230, 180, 0.8)); }
.band-night .class-stage { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04); }

/* Sparkles around the logo, like the stars in it. */
.hero-logo { position: relative; }
.twinkle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: calc(30px * var(--s, 1));
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 246, 223, 0.95) 0 7%, rgba(255, 241, 204, 0.3) 20%, transparent 52%);
    animation: twinkle 3.4s ease-in-out var(--d) infinite;
    opacity: 0.2;
    pointer-events: none;
}
.twinkle::before, .twinkle::after { content: ""; position: absolute; border-radius: 2px; }
.twinkle::before { inset: 47% 0; background: linear-gradient(90deg, transparent, #fff6df, transparent); }
.twinkle::after { inset: 0 47%; background: linear-gradient(180deg, transparent, #fff6df, transparent); }
@keyframes twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.55) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* One entrance moment: the hero settles in, then everything stays still. */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: 0.15s; }
.hero-content > :nth-child(3) { animation-delay: 0.28s; }
.hero-content > :nth-child(4) { animation-delay: 0.4s; }
.facts-wrap { z-index: 3; }
:root { --foam: rgba(40, 86, 210, 0.35); --foam-night: rgba(143, 230, 255, 0.55); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --foam: rgba(143, 230, 255, 0.5); } }
:root[data-theme="dark"] { --foam: rgba(143, 230, 255, 0.5); }
.wave-edge { color: var(--foam); }
.hero .wave-edge, .band-night .wave-edge { color: var(--foam-night); }
.band-night .window { color: var(--ink); }

/* Real screenshots on the feature cards and the crew band. */
.feature.has-shot { padding: 0; overflow: hidden; grid-template-rows: auto 1fr; gap: 0; }
.feature-shot { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); border-bottom: 1px solid var(--line); }
.feature-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.feature.has-shot:hover .feature-shot img { transform: scale(1.045); }
.feature-shot figcaption {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    padding: 0.28rem 0.55rem;
    border-radius: 99px;
    background: rgba(8, 14, 44, 0.72);
    border: 1px solid rgba(185, 194, 234, 0.35);
    backdrop-filter: blur(4px);
}
.feature-body { display: grid; gap: 0.5rem; align-content: start; padding: 1.3rem 1.5rem 1.5rem; }
.feature.compact { padding: 1.3rem 1.45rem 1.4rem; background: var(--panel-soft); }
.feature.compact .stat { font-size: 1.35rem; }

.crew { isolation: isolate; }
.crew::after { display: none; }
.crew > .crew-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, #000 80%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 40%, #000 80%);
}

/* Post covers */
.post-card.has-cover { padding: 0; overflow: hidden; grid-template-rows: auto auto auto 1fr auto; }
.post-card.has-cover > :not(.post-cover) { margin-inline: 1.5rem; }
.post-card.has-cover > .post-more { margin-bottom: 1.3rem; }
.post-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #18225e, var(--night-deep)); border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; position: relative; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.post-card:hover .post-cover img { transform: scale(1.045); }
.post-cover.blank::after { content: ""; position: absolute; inset: 22% 38%; background: url("../images/brand/mark.webp") center / contain no-repeat; opacity: 0.55; }
.post-card.is-featured.has-cover { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 0; }
.post-card.is-featured.has-cover .post-cover { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: auto; min-height: 100%; margin: 0; border-bottom: 0; border-right: 1px solid var(--line); }
.post-card.is-featured.has-cover > :not(.post-cover) { grid-column: 2; margin-inline: clamp(1.4rem, 3vw, 2.2rem); }
.post-card.is-featured.has-cover > .post-meta { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.post-card.is-featured.has-cover > .post-more { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 760px) {
    .post-card.is-featured.has-cover { grid-template-columns: minmax(0, 1fr); }
    .post-card.is-featured.has-cover .post-cover { grid-row: auto; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); margin-bottom: 0.4rem; }
    .post-card.is-featured.has-cover > :not(.post-cover) { grid-column: 1; margin-inline: 1.5rem; }
    .post-card.is-featured.has-cover > .post-meta { margin-top: 0; }
}
.masthead.has-cover { position: relative; isolation: isolate; }
.masthead.has-cover .cover-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 75%); mask-image: linear-gradient(90deg, transparent 10%, #000 75%); }
.rank-layout > *, .begin-layout > *, .article-layout > *, .crew > * { min-width: 0; }

/* Live data states */
.reg-status[data-kind="success"] { color: #136b45; background: #e3f7ee; border-color: #8fd6b4; }
.reg-status[data-kind="error"] { color: #8a1f1f; background: #fdeaea; border-color: #f0a8a8; }
:root[data-theme="dark"] .reg-status[data-kind="success"] { color: #aef0cf; background: rgba(47, 168, 119, 0.14); border-color: rgba(47, 168, 119, 0.5); }
:root[data-theme="dark"] .reg-status[data-kind="error"] { color: #ffc4bd; background: rgba(240, 90, 80, 0.14); border-color: rgba(240, 90, 80, 0.5); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .reg-status[data-kind="success"] { color: #aef0cf; background: rgba(47, 168, 119, 0.14); border-color: rgba(47, 168, 119, 0.5); }
    :root:not([data-theme="light"]) .reg-status[data-kind="error"] { color: #ffc4bd; background: rgba(240, 90, 80, 0.14); border-color: rgba(240, 90, 80, 0.5); }
}
.field input[aria-invalid="true"] { border-color: #d65a5a; }
td.board-empty { white-space: normal; text-align: center; color: var(--ink-soft); font-weight: 600; padding: 1.6rem 1rem; }
.launcher-peek { margin: 0.8rem 0 0; }

/* Starry night behind the page in Ocean depth: it fills the sides on wide monitors and shows between sections.
   Three seamless star tiles of different sizes; the two brighter ones glint out of step. */
:root { --sky: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --sky: block; } }
:root[data-theme="dark"] { --sky: block; }
.sky {
    display: var(--sky);
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512'%3E%3Ccircle cx='232.0' cy='286.1' r='0.77' fill='%23cfe9ff' opacity='0.51'/%3E%3Ccircle cx='434.9' cy='99.7' r='0.71' fill='%23cfe9ff' opacity='0.51'/%3E%3Ccircle cx='403.7' cy='51.4' r='0.49' fill='%23ffffff' opacity='0.34'/%3E%3Ccircle cx='304.1' cy='203.7' r='0.55' fill='%23ffffff' opacity='0.63'/%3E%3Ccircle cx='318.1' cy='423.2' r='0.38' fill='%23ffffff' opacity='0.32'/%3E%3Ccircle cx='306.2' cy='396.2' r='0.50' fill='%23ffffff' opacity='0.57'/%3E%3Ccircle cx='265.6' cy='326.7' r='0.57' fill='%23fff6df' opacity='0.60'/%3E%3Ccircle cx='334.0' cy='209.0' r='0.60' fill='%23ffffff' opacity='0.72'/%3E%3Ccircle cx='360.7' cy='162.9' r='0.45' fill='%23ffffff' opacity='0.43'/%3E%3Ccircle cx='287.8' cy='58.4' r='0.40' fill='%23ffffff' opacity='0.43'/%3E%3Ccircle cx='486.9' cy='431.0' r='0.35' fill='%23ffffff' opacity='0.39'/%3E%3Ccircle cx='240.9' cy='498.1' r='0.53' fill='%23ffffff' opacity='0.33'/%3E%3Ccircle cx='396.4' cy='140.0' r='0.39' fill='%23fff6df' opacity='0.45'/%3E%3Ccircle cx='386.1' cy='63.5' r='0.46' fill='%23ffffff' opacity='0.35'/%3E%3Ccircle cx='238.3' cy='249.4' r='0.66' fill='%23cfe9ff' opacity='0.38'/%3E%3Ccircle cx='100.1' cy='372.9' r='0.41' fill='%23ffffff' opacity='0.59'/%3E%3Ccircle cx='203.0' cy='503.0' r='0.35' fill='%23cfe9ff' opacity='0.69'/%3E%3Ccircle cx='157.3' cy='450.0' r='0.44' fill='%23cfe9ff' opacity='0.48'/%3E%3Ccircle cx='327.5' cy='54.6' r='0.80' fill='%23dfe6ff' opacity='0.40'/%3E%3Ccircle cx='8.8' cy='311.6' r='0.72' fill='%23ffffff' opacity='0.47'/%3E%3Ccircle cx='49.4' cy='297.7' r='0.46' fill='%23dfe6ff' opacity='0.57'/%3E%3Ccircle cx='317.6' cy='68.1' r='0.61' fill='%23ffffff' opacity='0.67'/%3E%3Ccircle cx='440.7' cy='96.1' r='0.42' fill='%23cfe9ff' opacity='0.71'/%3E%3Ccircle cx='129.7' cy='99.7' r='0.68' fill='%23ffffff' opacity='0.72'/%3E%3Ccircle cx='350.2' cy='199.7' r='0.57' fill='%23ffffff' opacity='0.34'/%3E%3Ccircle cx='56.3' cy='23.5' r='0.78' fill='%23fff6df' opacity='0.41'/%3E%3Ccircle cx='133.5' cy='419.2' r='0.62' fill='%23ffffff' opacity='0.43'/%3E%3Ccircle cx='472.3' cy='496.5' r='0.41' fill='%23cfe9ff' opacity='0.52'/%3E%3Ccircle cx='313.6' cy='145.2' r='0.76' fill='%23ffffff' opacity='0.39'/%3E%3Ccircle cx='38.9' cy='211.4' r='0.46' fill='%23dfe6ff' opacity='0.32'/%3E%3Ccircle cx='189.9' cy='292.4' r='0.41' fill='%23fff6df' opacity='0.46'/%3E%3Ccircle cx='498.2' cy='335.1' r='0.66' fill='%23ffffff' opacity='0.56'/%3E%3Ccircle cx='301.3' cy='469.5' r='0.56' fill='%23dfe6ff' opacity='0.46'/%3E%3Ccircle cx='489.2' cy='14.7' r='0.64' fill='%23dfe6ff' opacity='0.52'/%3E%3Ccircle cx='164.7' cy='507.7' r='0.38' fill='%23ffffff' opacity='0.55'/%3E%3Ccircle cx='457.7' cy='375.5' r='0.67' fill='%23dfe6ff' opacity='0.66'/%3E%3Ccircle cx='181.3' cy='349.3' r='0.76' fill='%23fff6df' opacity='0.69'/%3E%3Ccircle cx='479.9' cy='19.3' r='0.57' fill='%23fff6df' opacity='0.31'/%3E%3Ccircle cx='195.1' cy='10.3' r='0.38' fill='%23ffffff' opacity='0.34'/%3E%3Ccircle cx='504.6' cy='447.4' r='0.68' fill='%23cfe9ff' opacity='0.47'/%3E%3Ccircle cx='234.7' cy='237.2' r='0.59' fill='%23cfe9ff' opacity='0.53'/%3E%3Ccircle cx='19.0' cy='307.0' r='0.57' fill='%23ffffff' opacity='0.40'/%3E%3Ccircle cx='254.6' cy='313.7' r='0.76' fill='%23ffffff' opacity='0.42'/%3E%3Ccircle cx='189.4' cy='76.2' r='0.63' fill='%23dfe6ff' opacity='0.53'/%3E%3Ccircle cx='336.6' cy='226.7' r='0.75' fill='%23dfe6ff' opacity='0.45'/%3E%3Ccircle cx='104.0' cy='221.2' r='0.71' fill='%23ffffff' opacity='0.71'/%3E%3Ccircle cx='197.7' cy='297.9' r='0.49' fill='%23fff6df' opacity='0.36'/%3E%3Ccircle cx='180.8' cy='455.4' r='0.37' fill='%23dfe6ff' opacity='0.33'/%3E%3Ccircle cx='418.2' cy='60.9' r='0.56' fill='%23fff6df' opacity='0.72'/%3E%3Ccircle cx='196.8' cy='266.1' r='0.65' fill='%23cfe9ff' opacity='0.62'/%3E%3Ccircle cx='232.0' cy='41.6' r='0.36' fill='%23ffffff' opacity='0.69'/%3E%3Ccircle cx='345.8' cy='145.7' r='0.51' fill='%23cfe9ff' opacity='0.59'/%3E%3Ccircle cx='13.6' cy='72.5' r='0.55' fill='%23dfe6ff' opacity='0.31'/%3E%3Ccircle cx='123.7' cy='75.0' r='0.37' fill='%23fff6df' opacity='0.58'/%3E%3Ccircle cx='58.9' cy='273.8' r='0.64' fill='%23ffffff' opacity='0.47'/%3E%3Ccircle cx='349.0' cy='104.5' r='0.56' fill='%23ffffff' opacity='0.38'/%3E%3Ccircle cx='384.5' cy='273.6' r='0.37' fill='%23dfe6ff' opacity='0.40'/%3E%3Ccircle cx='276.0' cy='481.2' r='0.58' fill='%23ffffff' opacity='0.75'/%3E%3Ccircle cx='202.3' cy='403.1' r='0.76' fill='%23fff6df' opacity='0.34'/%3E%3Ccircle cx='69.5' cy='232.6' r='0.63' fill='%23fff6df' opacity='0.71'/%3E%3Ccircle cx='281.2' cy='332.9' r='0.58' fill='%23dfe6ff' opacity='0.67'/%3E%3Ccircle cx='237.7' cy='332.3' r='0.44' fill='%23ffffff' opacity='0.62'/%3E%3Ccircle cx='111.5' cy='457.6' r='0.79' fill='%23cfe9ff' opacity='0.74'/%3E%3Ccircle cx='496.3' cy='473.9' r='0.47' fill='%23ffffff' opacity='0.62'/%3E%3Ccircle cx='179.6' cy='45.7' r='0.55' fill='%23dfe6ff' opacity='0.55'/%3E%3Ccircle cx='249.7' cy='18.3' r='0.71' fill='%23ffffff' opacity='0.33'/%3E%3Ccircle cx='91.1' cy='172.8' r='0.70' fill='%23ffffff' opacity='0.36'/%3E%3Ccircle cx='507.9' cy='457.9' r='0.58' fill='%23fff6df' opacity='0.61'/%3E%3Ccircle cx='480.7' cy='252.3' r='0.78' fill='%23ffffff' opacity='0.34'/%3E%3Ccircle cx='225.5' cy='285.6' r='0.72' fill='%23ffffff' opacity='0.55'/%3E%3C/svg%3E") 0 0 / 512px 512px repeat;
}
.sky::before, .sky::after { content: ""; position: absolute; inset: 0; will-change: opacity; animation: sky-glint 7s ease-in-out infinite alternate; }
.sky::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='797' height='797'%3E%3Ccircle cx='733.7' cy='752.4' r='3.83' fill='%23cfe9ff' opacity='0.07'/%3E%3Ccircle cx='733.7' cy='752.4' r='1.20' fill='%23cfe9ff' opacity='0.58'/%3E%3Ccircle cx='246.0' cy='303.2' r='2.97' fill='%23dfe6ff' opacity='0.10'/%3E%3Ccircle cx='246.0' cy='303.2' r='0.93' fill='%23dfe6ff' opacity='0.84'/%3E%3Ccircle cx='354.8' cy='178.4' r='3.13' fill='%23ffffff' opacity='0.07'/%3E%3Ccircle cx='354.8' cy='178.4' r='0.98' fill='%23ffffff' opacity='0.56'/%3E%3Ccircle cx='778.2' cy='397.1' r='2.43' fill='%23fff6df' opacity='0.10'/%3E%3Ccircle cx='778.2' cy='397.1' r='0.76' fill='%23fff6df' opacity='0.80'/%3E%3Ccircle cx='287.2' cy='49.4' r='3.65' fill='%23ffffff' opacity='0.09'/%3E%3Ccircle cx='287.2' cy='49.4' r='1.14' fill='%23ffffff' opacity='0.79'/%3E%3Ccircle cx='494.0' cy='769.9' r='2.98' fill='%23dfe6ff' opacity='0.10'/%3E%3Ccircle cx='494.0' cy='769.9' r='0.93' fill='%23dfe6ff' opacity='0.85'/%3E%3Ccircle cx='768.2' cy='225.9' r='3.96' fill='%23fff6df' opacity='0.09'/%3E%3Ccircle cx='768.2' cy='225.9' r='1.24' fill='%23fff6df' opacity='0.78'/%3E%3Ccircle cx='144.2' cy='385.2' r='3.67' fill='%23ffffff' opacity='0.10'/%3E%3Ccircle cx='144.2' cy='385.2' r='1.15' fill='%23ffffff' opacity='0.82'/%3E%3Ccircle cx='147.6' cy='144.9' r='2.92' fill='%23ffffff' opacity='0.11'/%3E%3Ccircle cx='147.6' cy='144.9' r='0.91' fill='%23ffffff' opacity='0.88'/%3E%3Ccircle cx='463.4' cy='69.0' r='3.08' fill='%23cfe9ff' opacity='0.09'/%3E%3Ccircle cx='463.4' cy='69.0' r='0.96' fill='%23cfe9ff' opacity='0.78'/%3E%3Ccircle cx='225.4' cy='469.5' r='2.57' fill='%23cfe9ff' opacity='0.11'/%3E%3Ccircle cx='225.4' cy='469.5' r='0.80' fill='%23cfe9ff' opacity='0.91'/%3E%3Ccircle cx='244.5' cy='617.5' r='3.28' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='244.5' cy='617.5' r='1.02' fill='%23ffffff' opacity='0.65'/%3E%3Ccircle cx='492.9' cy='98.2' r='3.67' fill='%23dfe6ff' opacity='0.09'/%3E%3Ccircle cx='492.9' cy='98.2' r='1.15' fill='%23dfe6ff' opacity='0.75'/%3E%3Ccircle cx='434.4' cy='728.9' r='3.35' fill='%23ffffff' opacity='0.11'/%3E%3Ccircle cx='434.4' cy='728.9' r='1.05' fill='%23ffffff' opacity='0.93'/%3E%3Ccircle cx='358.5' cy='30.7' r='3.41' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='358.5' cy='30.7' r='1.07' fill='%23ffffff' opacity='0.71'/%3E%3Ccircle cx='642.7' cy='546.2' r='3.96' fill='%23ffffff' opacity='0.10'/%3E%3Ccircle cx='642.7' cy='546.2' r='1.24' fill='%23ffffff' opacity='0.87'/%3E%3Ccircle cx='429.0' cy='783.7' r='3.60' fill='%23fff6df' opacity='0.08'/%3E%3Ccircle cx='429.0' cy='783.7' r='1.12' fill='%23fff6df' opacity='0.69'/%3E%3Ccircle cx='391.1' cy='33.2' r='2.82' fill='%23fff6df' opacity='0.09'/%3E%3Ccircle cx='391.1' cy='33.2' r='0.88' fill='%23fff6df' opacity='0.77'/%3E%3Ccircle cx='753.9' cy='174.4' r='2.57' fill='%23ffffff' opacity='0.09'/%3E%3Ccircle cx='753.9' cy='174.4' r='0.80' fill='%23ffffff' opacity='0.76'/%3E%3Ccircle cx='548.9' cy='444.3' r='2.78' fill='%23ffffff' opacity='0.07'/%3E%3Ccircle cx='548.9' cy='444.3' r='0.87' fill='%23ffffff' opacity='0.59'/%3E%3Ccircle cx='714.8' cy='354.9' r='2.95' fill='%23ffffff' opacity='0.11'/%3E%3Ccircle cx='714.8' cy='354.9' r='0.92' fill='%23ffffff' opacity='0.91'/%3E%3Ccircle cx='710.3' cy='546.6' r='3.06' fill='%23ffffff' opacity='0.10'/%3E%3Ccircle cx='710.3' cy='546.6' r='0.96' fill='%23ffffff' opacity='0.83'/%3E%3Ccircle cx='434.6' cy='339.4' r='2.88' fill='%23cfe9ff' opacity='0.11'/%3E%3Ccircle cx='434.6' cy='339.4' r='0.90' fill='%23cfe9ff' opacity='0.89'/%3E%3Ccircle cx='437.9' cy='656.1' r='2.57' fill='%23dfe6ff' opacity='0.10'/%3E%3Ccircle cx='437.9' cy='656.1' r='0.80' fill='%23dfe6ff' opacity='0.80'/%3E%3Ccircle cx='765.3' cy='579.0' r='3.09' fill='%23ffffff' opacity='0.07'/%3E%3Ccircle cx='765.3' cy='579.0' r='0.97' fill='%23ffffff' opacity='0.62'/%3E%3Ccircle cx='270.6' cy='547.3' r='2.58' fill='%23fff6df' opacity='0.11'/%3E%3Ccircle cx='270.6' cy='547.3' r='0.81' fill='%23fff6df' opacity='0.90'/%3E%3C/svg%3E") 0 0 / 797px 797px repeat; }
.sky::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1103' height='1103'%3E%3Ccircle cx='750.8' cy='104.3' r='4.39' fill='%23cfe9ff' opacity='0.11'/%3E%3Ccircle cx='750.8' cy='104.3' r='1.37' fill='%23cfe9ff' opacity='0.95'/%3E%3Ccircle cx='42.8' cy='1081.2' r='4.04' fill='%23fff6df' opacity='0.11'/%3E%3Ccircle cx='42.8' cy='1081.2' r='1.26' fill='%23fff6df' opacity='0.94'/%3E%3Ccircle cx='661.7' cy='312.7' r='3.93' fill='%23fff6df' opacity='0.11'/%3E%3Ccircle cx='661.7' cy='312.7' r='1.23' fill='%23fff6df' opacity='0.92'/%3E%3Ccircle cx='162.1' cy='880.2' r='4.93' fill='%23fff6df' opacity='0.09'/%3E%3Ccircle cx='162.1' cy='880.2' r='1.54' fill='%23fff6df' opacity='0.71'/%3E%3Ccircle cx='86.3' cy='320.0' r='3.89' fill='%23cfe9ff' opacity='0.11'/%3E%3Ccircle cx='86.3' cy='320.0' r='1.22' fill='%23cfe9ff' opacity='0.91'/%3E%3Ccircle cx='620.1' cy='703.9' r='4.30' fill='%23cfe9ff' opacity='0.09'/%3E%3Ccircle cx='620.1' cy='703.9' r='1.34' fill='%23cfe9ff' opacity='0.71'/%3E%3Ccircle cx='682.2' cy='557.2' r='3.32' fill='%23cfe9ff' opacity='0.08'/%3E%3Ccircle cx='682.2' cy='557.2' r='1.04' fill='%23cfe9ff' opacity='0.70'/%3E%3Ccircle cx='1000.7' cy='79.1' r='4.31' fill='%23dfe6ff' opacity='0.08'/%3E%3Ccircle cx='1000.7' cy='79.1' r='1.35' fill='%23dfe6ff' opacity='0.71'/%3E%3Ccircle cx='581.6' cy='902.9' r='3.24' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='581.6' cy='902.9' r='1.01' fill='%23ffffff' opacity='0.70'/%3E%3Ccircle cx='809.8' cy='345.2' r='3.64' fill='%23dfe6ff' opacity='0.11'/%3E%3Ccircle cx='809.8' cy='345.2' r='1.14' fill='%23dfe6ff' opacity='0.89'/%3E%3Ccircle cx='688.3' cy='313.7' r='4.58' fill='%23ffffff' opacity='0.10'/%3E%3Ccircle cx='688.3' cy='313.7' r='1.43' fill='%23ffffff' opacity='0.84'/%3E%3Ccircle cx='295.7' cy='699.0' r='4.04' fill='%23ffffff' opacity='0.09'/%3E%3Ccircle cx='295.7' cy='699.0' r='1.26' fill='%23ffffff' opacity='0.73'/%3E%3Ccircle cx='296.1' cy='265.9' r='4.05' fill='%23dfe6ff' opacity='0.09'/%3E%3Ccircle cx='296.1' cy='265.9' r='1.27' fill='%23dfe6ff' opacity='0.74'/%3E%3Ccircle cx='36.3' cy='1098.3' r='3.32' fill='%23cfe9ff' opacity='0.09'/%3E%3Ccircle cx='36.3' cy='1098.3' r='1.04' fill='%23cfe9ff' opacity='0.75'/%3E%3C/svg%3E") 140px 90px / 1103px 1103px repeat; animation-duration: 9.5s; animation-delay: -4s; }
@keyframes sky-glint { from { opacity: 0.45; } to { opacity: 1; } }
.sky .twinkle { display: none; }
@media (min-width: 1500px) { .sky .twinkle { display: block; } }
@media (prefers-reduced-motion: reduce) { .sky::before, .sky::after { animation: none; } }
