/* Szeiy Scripts – design system "Night run" (16.11.2026, plan D3 redesign).
   The world of the product: a night run on an Assetto Corsa server – asphalt under sodium lamps, tail lights ahead, the HUD as
   glass in front of the road. Tokens below are the base for the start page and later the dashboard (D4).
   Type: Bahnschrift = the HUD font of the scripts in game (Windows, where Assetto Corsa runs), Inter for running text. Only
   local files – no request leaves szeiyscripts.xyz. Motion: one sequence when the page opens, light trails behind the hero,
   everything else answers the visitor (tabs, questions, hover). prefers-reduced-motion stops all of it. */

@font-face {
    font-family: "Inter Night";
    src: url("/assets/vendor/inter/inter-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter Night";
    src: url("/assets/vendor/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* road at night */
    --n-night: #060912;
    --n-asphalt: #0c1220;
    --n-asphalt-2: #111a2c;
    --n-line: rgba(196, 214, 255, 0.10);
    --n-line-strong: rgba(196, 214, 255, 0.18);
    /* light on the road */
    --n-sodium: #ff9b2f;
    --n-sodium-soft: rgba(255, 155, 47, 0.16);
    --n-taillight: #ff3b4e;
    --n-taillight-soft: rgba(255, 59, 78, 0.16);
    --n-live: #3ddc84;
    --n-discord: #5865f2;
    --n-grad: linear-gradient(100deg, var(--n-sodium) 0%, #ff6a3d 48%, var(--n-taillight) 100%);
    /* glass = the HUD plate */
    --n-glass: rgba(150, 172, 214, 0.065);
    --n-glass-strong: rgba(150, 172, 214, 0.10);
    --n-glass-edge: rgba(214, 228, 255, 0.14);
    --n-blur: blur(18px) saturate(140%);
    /* text */
    --n-text: #edf1f8;
    --n-text-2: #b9c3d6;
    --n-muted: #8a96ad;
    /* type */
    --n-display: "Bahnschrift", "DIN Alternate", "Inter Night", system-ui, sans-serif;
    --n-body: "Inter Night", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* scale (perfect fourth) */
    --n-fs-xs: 0.8125rem;
    --n-fs-sm: 0.9375rem;
    --n-fs-md: 1.0625rem;
    --n-fs-lg: 1.375rem;
    --n-fs-xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
    --n-fs-2xl: clamp(2.1rem, 1.3rem + 2.4vw, 3.5rem);
    --n-fs-hero: clamp(2.9rem, 1.3rem + 5.6vw, 6.2rem);
    /* space and shape */
    --n-gutter: clamp(16px, 4vw, 40px);
    --n-max: 1240px;
    --n-r-sm: 10px;
    --n-r-md: 16px;
    --n-r-lg: 24px;
    --n-ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

/* ---------- base ---------- */
.n-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1200px 520px at 78% -10%, rgba(255, 120, 40, 0.10), transparent 60%),
        radial-gradient(900px 600px at -10% 30%, rgba(88, 101, 242, 0.07), transparent 60%),
        var(--n-night);
    color: var(--n-text);
    font-family: var(--n-body);
    font-size: var(--n-fs-md);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
.n-page *, .n-page *::before, .n-page *::after { box-sizing: border-box; }
.n-page a { color: inherit; }
.n-page img, .n-page video { max-width: 100%; display: block; }
.n-page :focus-visible { outline: 2px solid var(--n-sodium); outline-offset: 3px; border-radius: 6px; }
.n-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--n-sodium); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.n-skip:focus { left: 12px; }
.n-wrap { width: min(var(--n-max), 100% - 2 * var(--n-gutter)); margin-inline: auto; }
.n-section { padding-block: clamp(52px, 7vw, 96px); position: relative; }
.n-section, .n-hero { scroll-margin-top: 84px; }
/* (17.11.2026) the anchors of the old start page (#memberships, #preview-servers) still land on their sections */
.n-anchor { display: block; height: 0; scroll-margin-top: 84px; }
.n-h2 {
    font-family: var(--n-display);
    font-weight: 700;
    font-stretch: 87.5%;
    font-size: var(--n-fs-2xl);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
    max-width: 24ch;
    text-wrap: balance;
}
.n-lead { color: var(--n-text-2); font-size: var(--n-fs-md); max-width: 62ch; margin: 0; }
.n-head { display: grid; gap: 4px; margin-bottom: clamp(28px, 4vw, 48px); }
.n-grad-text { background: var(--n-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* glass */
.n-glass {
    background: var(--n-glass);
    border: 1px solid var(--n-glass-edge);
    border-radius: var(--n-r-lg);
    -webkit-backdrop-filter: var(--n-blur);
    backdrop-filter: var(--n-blur);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

/* buttons */
.n-btn {
    --n-btn-bg: var(--n-glass-strong);
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--n-glass-edge);
    background: var(--n-btn-bg);
    color: var(--n-text);
    font-family: var(--n-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform .25s var(--n-ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.n-btn:hover { transform: translateY(-1px); border-color: var(--n-line-strong); background: rgba(150, 172, 214, 0.16); }
.n-btn-hot { background: var(--n-grad); border-color: transparent; color: #1a0c05; box-shadow: 0 10px 34px -12px rgba(255, 100, 50, 0.65); }
.n-btn-hot:hover { background: var(--n-grad); box-shadow: 0 14px 40px -12px rgba(255, 100, 50, 0.85); }
.n-btn-discord { background: rgba(88, 101, 242, 0.16); border-color: rgba(88, 101, 242, 0.45); }
.n-btn-discord:hover { background: rgba(88, 101, 242, 0.28); border-color: rgba(88, 101, 242, 0.7); }
.n-btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.95rem; }

/* ---------- navigation ---------- */
.n-nav {
    position: fixed; inset: 14px var(--n-gutter) auto; z-index: 50;
    display: flex; align-items: center; gap: 14px;
    width: min(var(--n-max), 100% - 2 * var(--n-gutter)); margin-inline: auto;
    padding: 10px 10px 10px 18px;
    border-radius: 999px;
    transition: background-color .3s, border-color .3s;
}
.n-nav.is-solid { background: rgba(8, 12, 22, 0.78); }
.n-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--n-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.01em; }
.n-brand img, .n-brand svg { width: 30px; height: 30px; }
.n-brand .brand-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.n-links { display: flex; gap: 2px; margin-left: auto; }
.n-links a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 13px; border-radius: 999px; text-decoration: none;
    color: var(--n-text-2); font-size: var(--n-fs-sm); font-weight: 500;
    transition: color .2s, background-color .2s;
}
.n-links a i { font-size: 0.85em; color: var(--n-muted); transition: color .2s; }
.n-links a:hover { color: var(--n-text); background: rgba(255, 255, 255, 0.05); }
.n-links a:hover i { color: var(--n-sodium); }
.n-links a.is-current { color: var(--n-text); background: rgba(255, 155, 47, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 155, 47, 0.3); }
.n-links a.is-current i { color: var(--n-sodium); }
.n-nav-progress {
    position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; border-radius: 2px; pointer-events: none;
    background: var(--n-grad); transform: scaleX(var(--n-progress, 0)); transform-origin: left center; opacity: 0; transition: opacity .35s;
}
.n-nav.is-solid .n-nav-progress { opacity: 0.85; }
[tabindex="-1"]:focus { outline: none; }
.n-nav-actions { display: flex; gap: 8px; }
.n-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--n-glass-edge); background: var(--n-glass-strong); color: var(--n-text); font-size: 1.1rem; cursor: pointer; }

/* ---------- hero ---------- */
.n-hero { position: relative; min-height: min(100vh, 980px); padding: clamp(120px, 16vh, 168px) 0 clamp(56px, 8vh, 96px); overflow: hidden; isolation: isolate; }
.n-road { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.n-road::before { /* horizon glow of the city */
    content: ""; position: absolute; inset: auto -10% 18% -10%; height: 46%;
    background: radial-gradient(60% 70% at 62% 100%, rgba(255, 140, 50, 0.20), transparent 70%),
                radial-gradient(40% 60% at 20% 100%, rgba(255, 59, 78, 0.10), transparent 70%);
    filter: blur(10px);
}
.n-road::after { /* asphalt with lane lines in perspective */
    content: ""; position: absolute; left: -20%; right: -20%; bottom: -2%; height: 34%;
    background:
        repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 210, 150, 0.10) 46px 49px, transparent 49px 140px),
        linear-gradient(180deg, transparent, rgba(6, 9, 18, 0.9) 70%);
    transform: perspective(500px) rotateX(62deg);
    transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
    mask-image: linear-gradient(180deg, transparent, #000 40%);
    opacity: 0.55;
}
.n-road .n-trails { /* the light trails run on the road only, under the text */
    position: absolute; inset: 72% 0 0 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%);
}
.n-trail {
    position: absolute; left: -40%; height: 2px; width: 38%;
    border-radius: 2px; filter: blur(0.6px);
    background: linear-gradient(90deg, transparent, var(--n-c, var(--n-sodium)) 70%, #fff8);
    box-shadow: 0 0 14px 1px var(--n-c, var(--n-sodium));
    opacity: 0;
    animation: n-trail var(--n-d, 7s) linear var(--n-delay, 0s) infinite;
}
@keyframes n-trail {
    0% { transform: translateX(0) scaleX(0.6); opacity: 0; }
    12% { opacity: var(--n-o, 0.75); }
    85% { opacity: var(--n-o, 0.75); }
    100% { transform: translateX(380%) scaleX(1); opacity: 0; }
}
.n-bokeh { position: absolute; border-radius: 50%; background: radial-gradient(circle, var(--n-c, rgba(255, 170, 90, 0.5)), transparent 68%); filter: blur(2px); opacity: 0.5; animation: n-float 14s ease-in-out infinite alternate; }
@keyframes n-float { to { transform: translate3d(14px, -10px, 0); opacity: 0.8; } }

.n-hero-copy, .n-show, .n-script > *, .n-ram-stage > *, .n-league > * { min-width: 0; }
.n-hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 3.6vw, 56px); align-items: center; }
.n-hero h1 {
    font-family: var(--n-display);
    font-weight: 700;
    font-stretch: 75%;
    font-size: clamp(2.7rem, 1.1rem + 3.5vw, 4.6rem);
    line-height: 0.95;
    letter-spacing: -0.015em;
    margin: 0 0 20px;
}
.n-hero h1 em { font-style: normal; }
.n-hero h1 .n-grad-text { display: block; width: fit-content; }
.n-hero h1 span { display: block; margin-top: 0.32em; font-size: 0.46em; line-height: 1.15; font-stretch: 87.5%; color: var(--n-text-2); font-weight: 300; letter-spacing: 0; }
.n-hero-sub { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); color: var(--n-text-2); max-width: 48ch; margin: 0 0 28px; }
.n-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.n-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--n-muted); font-size: var(--n-fs-sm); margin: 0; padding: 0; list-style: none; }
.n-hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.n-hero-meta i { color: var(--n-sodium); }
.n-hero-meta strong { color: var(--n-text); font-family: var(--n-display); font-weight: 600; font-size: 1.05em; }
.n-hero-live { display: inline-flex; align-items: center; gap: 8px; color: var(--n-text-2); text-decoration: none; }
.n-hero-live:hover { color: var(--n-text); }

/* announcement pill */
.n-announce {
    display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
    padding: 5px 14px 5px 5px; margin-bottom: 22px;
    border-radius: 999px; border: 1px solid rgba(160, 200, 255, 0.26); background: rgba(120, 170, 255, 0.08);
    color: var(--n-text); text-decoration: none; font-size: var(--n-fs-sm); font-weight: 500;
    transition: border-color .25s, background-color .25s;
}
.n-announce > span:nth-child(2) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-announce i { color: var(--n-sodium); transition: transform .25s var(--n-ease); }
.n-announce:hover { border-color: rgba(255, 155, 47, 0.5); background: rgba(255, 155, 47, 0.08); }
.n-announce:hover i { transform: translateX(3px); }
.n-announce-chip { flex: none; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--n-grad); color: #1a0c05; font-weight: 700; font-size: var(--n-fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }

.n-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--n-live); box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: n-pulse 2.2s infinite; flex: none; }
.n-dot.is-off { background: var(--n-muted); animation: none; }
@keyframes n-pulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.55); } 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* ambient fill behind a clip that does not fill its frame: the same picture, blurred */
.n-script-frame::before, .n-design-pic::before {
    content: ""; position: absolute; inset: -24px;
    background: var(--n-poster) center / cover no-repeat;
    filter: blur(18px) brightness(0.5) saturate(1.15);
    transform: scale(1.08);
}

/* ---------- showroom: every script in every HUD design ---------- */
.n-show {
    position: relative; padding: 12px; border-radius: 26px;
    background: rgba(10, 14, 26, 0.62); border: 1px solid rgba(255, 220, 180, 0.16);
    -webkit-backdrop-filter: var(--n-blur); backdrop-filter: var(--n-blur);
    box-shadow: 0 50px 120px -48px rgba(255, 110, 40, 0.5), 0 30px 80px -34px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.n-show-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.n-show-tab {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    min-height: 56px; padding: 9px 4px 11px; border-radius: 14px;
    border: 1px solid var(--n-line); background: rgba(255, 255, 255, 0.025); color: var(--n-text-2);
    font-family: var(--n-display); font-weight: 600; font-size: 0.92rem; line-height: 1.1; cursor: pointer;
    transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s;
}
.n-show-tab i { color: var(--n-c); font-size: 1rem; }
/* two rows with the same weight: the five scripts and the three plugins */
.n-show-label { display: block; margin: 0 4px 6px; color: var(--n-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.n-show-tabs.is-plugins { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.n-show-tab span { text-align: center; }
.n-show-tab em { position: absolute; top: 5px; right: 6px; font-style: normal; font-family: var(--n-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 6px; border-radius: 999px; background: var(--n-grad); color: #1a0c05; line-height: 1.5; }
.n-show-tab:hover { color: var(--n-text); border-color: var(--n-line-strong); }
.n-show-tab.is-active { color: var(--n-text); border-color: color-mix(in srgb, var(--n-c) 60%, transparent); background: color-mix(in srgb, var(--n-c) 13%, transparent); box-shadow: 0 0 26px -10px var(--n-c); }
.n-show-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--n-c); transform: scaleX(0); transform-origin: left center; opacity: 0.9; }
.n-show.is-auto .n-show-tab.is-active .n-show-bar { animation: n-show-progress var(--n-show-ms, 7000ms) linear forwards; }
.n-show:not(.is-auto) .n-show-tab.is-active .n-show-bar { transform: scaleX(1); opacity: 0.55; }
@keyframes n-show-progress { to { transform: scaleX(1); } }
/* the stage: one picture per tab - the next one fades in over the last once it has loaded */
.n-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #05070d; border: 1px solid var(--n-line); isolation: isolate; }
.n-stage-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(24px) brightness(0.42) saturate(1.2); transition: opacity .6s var(--n-ease); }
.n-stage-bg.is-off { opacity: 0; }
.n-stage-media { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; opacity: 0; transition: opacity .65s var(--n-ease); }
.n-stage-media[data-fit="cover"] { object-fit: cover; }
.n-stage-media.is-on { opacity: 1; z-index: 1; }
.n-show.is-paused .n-show-tab.is-active .n-show-bar { animation-play-state: paused; }
/* Discord Whitelist: the answer a driver without the role gets, and our league servers */
.n-show-dwl {
    display: none; flex-direction: column; justify-content: center; gap: 12px; aspect-ratio: 16 / 10;
    padding: clamp(14px, 2vw, 22px); border-radius: 15px; border: 1px solid rgba(61, 220, 132, 0.28);
    background: radial-gradient(80% 60% at 15% 0%, rgba(61, 220, 132, 0.10), transparent 70%), #070b14;
}
.n-show-dwl.is-card { display: flex; aspect-ratio: auto; }
.n-dwl-msg { padding: 12px 14px; border-radius: 12px; background: rgba(255, 59, 78, 0.08); border: 1px solid rgba(255, 59, 78, 0.34); }
.n-dwl-msg small { display: flex; align-items: center; gap: 7px; color: #ffb3bb; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.n-dwl-msg p { margin: 6px 0 0; color: var(--n-text); font-size: var(--n-fs-sm); line-height: 1.45; overflow-wrap: anywhere; }
.n-dwl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.n-dwl-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 12px; border-radius: 11px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--n-line); }
.n-dwl-list li > i { color: #3ddc84; font-size: 0.78rem; }
.n-dwl-list strong { display: block; font-weight: 600; font-size: 0.9rem; line-height: 1.25; }
.n-dwl-list small { display: block; color: var(--n-muted); font-size: 0.74rem; line-height: 1.3; }
.n-dwl-count { font-family: var(--n-display); font-weight: 700; color: var(--n-text); white-space: nowrap; }
.n-dwl-count em { font-style: normal; color: var(--n-muted); font-weight: 500; }
/* on the stage: one line per server, the mark beside the name */
.n-stage .n-show-dwl { display: flex; aspect-ratio: auto; gap: 10px; padding: 16px 18px; border: 0; border-radius: 0; background: radial-gradient(80% 60% at 15% 0%, rgba(61, 220, 132, 0.12), transparent 70%), #070b14; }
.n-stage .n-dwl-list li { padding: 5px 12px; }
.n-stage .n-dwl-list li > span:first-of-type { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.n-stage .n-dwl-list strong { flex: none; font-size: 0.86rem; }
.n-stage .n-dwl-list small { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-dwl-more { display: none; align-items: center; gap: 8px; margin: 0; color: var(--n-text-2); font-size: 0.8rem; }
.n-dwl-more i { color: #3ddc84; }
@keyframes n-fade-in { from { opacity: 0; } }
@keyframes n-fade-up { from { opacity: 0; transform: translateY(8px); } }
.n-show-caption.is-new { animation: n-fade-up .5s var(--n-ease) both; }
.n-show-caption { margin: 10px 6px 2px; font-size: var(--n-fs-sm); color: var(--n-text-2); min-height: 1.6em; }
.n-show-caption strong { color: var(--n-text); font-family: var(--n-display); font-weight: 600; margin-right: 4px; }

/* the strip of all twenty combinations */
.n-strip {
    position: relative; margin-top: clamp(40px, 6vh, 72px);
    padding-block: 10px; overflow: hidden;
    transform: rotate(-1.6deg);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.n-strip-track { display: flex; gap: 12px; width: max-content; animation: n-strip 90s linear infinite; }
.n-strip:hover .n-strip-track { animation-play-state: paused; }
@keyframes n-strip { to { transform: translateX(calc(-50% - 6px)); } }
.n-strip-item { position: relative; flex: none; height: 120px; border-radius: 12px; overflow: hidden; background: #05070d; border: 1px solid color-mix(in srgb, var(--n-c) 32%, transparent); box-shadow: 0 16px 40px -24px rgba(0, 0, 0, 0.9); }
.n-strip-item img { height: 100%; width: auto; max-width: none; }
.n-strip-item.is-ram { border-color: rgba(143, 182, 255, 0.5); box-shadow: 0 16px 40px -20px rgba(80, 140, 255, 0.55); }
.n-strip-item.is-cb { border-color: rgba(139, 149, 255, 0.5); box-shadow: 0 16px 40px -20px rgba(110, 120, 255, 0.5); }
.n-strip-item.is-cb small i { color: #b8beff; }
.n-strip-item small i { color: #a9c8ff; margin-right: 3px; }
.n-strip-item small { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(6, 9, 18, 0.78); color: var(--n-text-2); font-size: 11px; font-weight: 600; white-space: nowrap; }

/* page-open sequence (one moment) */
@media (prefers-reduced-motion: no-preference) {
    /* start positions only until .n-ready - then everything moves to its normal place */
    .n-intro:not(.n-ready) .n-announce, .n-intro:not(.n-ready) .n-hero h1, .n-intro:not(.n-ready) .n-hero-sub, .n-intro:not(.n-ready) .n-hero-cta, .n-intro:not(.n-ready) .n-hero-meta { opacity: 0; transform: translateY(18px); }
    .n-intro:not(.n-ready) .n-show { opacity: 0; transform: translateY(28px) scale(0.98); }
    .n-intro:not(.n-ready) .n-strip { opacity: 0; }
    .n-ready .n-announce, .n-ready .n-hero h1, .n-ready .n-hero-sub, .n-ready .n-hero-cta, .n-ready .n-hero-meta, .n-ready .n-show, .n-ready .n-strip {
        transition: opacity .9s var(--n-ease), transform 1.1s var(--n-ease);
    }
    .n-ready .n-hero h1 { transition-delay: .06s; }
    .n-ready .n-hero-sub { transition-delay: .12s; }
    .n-ready .n-hero-cta { transition-delay: .2s; }
    .n-ready .n-hero-meta { transition-delay: .28s; }
    .n-ready .n-show { transition-delay: .16s; transition-duration: 1.1s, 1.4s; }
    .n-ready .n-strip { transition-delay: .6s; transition-duration: 1.4s; }
    /* after the sequence: hover answers at once again */
    .n-done .n-announce, .n-done .n-hero h1, .n-done .n-hero-sub, .n-done .n-hero-cta, .n-done .n-hero-meta, .n-done .n-show, .n-done .n-strip { transition: none; }
    .n-done .n-announce { transition: border-color .25s, background-color .25s; }
}

/* ---------- section heads ---------- */
.n-kicker { color: var(--n-sodium); font-weight: 700; font-size: var(--n-fs-xs); letter-spacing: 0.16em; text-transform: uppercase; }
.n-tile { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem; color: var(--n-c); background: color-mix(in srgb, var(--n-c) 15%, transparent); border: 1px solid color-mix(in srgb, var(--n-c) 35%, transparent); box-shadow: 0 0 30px -6px color-mix(in srgb, var(--n-c) 55%, transparent); flex: none; }
.n-checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.n-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: var(--n-fs-sm); color: var(--n-text-2); line-height: 1.5; }
.n-checks i { color: var(--n-c, var(--n-sodium)); margin-top: 5px; font-size: 0.8rem; }
.n-kind-link { display: inline-flex; align-items: center; gap: 8px; color: var(--n-c); font-weight: 600; font-size: var(--n-fs-sm); }
.n-chip {
    display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 13px;
    border-radius: 999px; border: 1px solid var(--n-line-strong); background: rgba(255, 255, 255, 0.03);
    color: var(--n-text); font-size: var(--n-fs-xs); font-weight: 600; text-decoration: none; white-space: nowrap;
    transition: border-color .2s, background-color .2s, transform .2s var(--n-ease);
}
.n-chip i { color: var(--n-c, var(--n-sodium)); font-size: 0.78rem; }
.n-chip:hover { border-color: color-mix(in srgb, var(--n-c, var(--n-sodium)) 70%, transparent); background: color-mix(in srgb, var(--n-c, var(--n-sodium)) 12%, transparent); transform: translateY(-1px); }
.n-common-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--n-sodium); background: var(--n-sodium-soft); border: 1px solid rgba(255, 155, 47, 0.3); font-size: 0.95rem; flex: none; }

/* ---------- the five scripts ---------- */
.n-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -14px 0 28px; }
.n-jump a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--n-line); background: rgba(255, 255, 255, 0.02);
    color: var(--n-text-2); text-decoration: none; font-family: var(--n-display); font-weight: 600; font-size: 0.98rem;
    transition: color .2s, border-color .2s, background-color .2s;
}
.n-jump a i { color: var(--n-c); }
.n-jump a:hover { color: var(--n-text); border-color: color-mix(in srgb, var(--n-c) 60%, transparent); background: color-mix(in srgb, var(--n-c) 10%, transparent); }
.n-scripts { display: grid; gap: 22px; }
.n-script {
    display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px);
    padding: clamp(16px, 2vw, 24px); align-items: start; scroll-margin-top: 96px;
    border-color: color-mix(in srgb, var(--n-c) 24%, var(--n-glass-edge));
    background: linear-gradient(135deg, color-mix(in srgb, var(--n-c) 7%, transparent), transparent 55%), var(--n-glass);
}
.n-script:nth-child(even) .n-script-media { order: 2; }
.n-script-media { position: sticky; top: 96px; }
.n-script-frame { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11; background: #05070d; border: 1px solid var(--n-line); isolation: isolate; }
.n-script-frame video { position: relative; width: 100%; height: 100%; object-fit: contain; }
.n-script-design { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(6, 9, 18, 0.74); border: 1px solid var(--n-glass-edge); font-size: 0.72rem; font-weight: 600; color: var(--n-text-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.n-script-where { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.n-script-where-label { width: 100%; display: flex; align-items: center; gap: 8px; color: var(--n-muted); font-size: var(--n-fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.n-chip-board { border-color: color-mix(in srgb, var(--n-c) 45%, transparent); }
.n-script-copy { padding: 4px 4px 4px 0; }
.n-script-for { display: inline-flex; align-items: center; gap: 8px; color: var(--n-c); font-weight: 700; font-size: var(--n-fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.n-script h3 { font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); margin: 6px 0 8px; line-height: 1.04; }
.n-script-lead { color: var(--n-text-2); margin: 0 0 20px; max-width: 62ch; }
.n-script-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px 24px; }
.n-script-group h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n-text); }
.n-script-group h4 i { color: var(--n-c); }
.n-script .n-checks { margin: 0; }

.n-common { margin-top: clamp(30px, 4vw, 44px); }
.n-common-title { margin: 0 0 14px; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.45rem; }
.n-common-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.n-common-grid li { padding: 18px; border-radius: 18px; display: grid; gap: 6px; align-content: start; }
.n-common-grid strong { font-weight: 600; margin-top: 6px; }
.n-common-grid li > span:last-child { color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.5; }

/* ---------- the plugins: a chapter of cards like the scripts ---------- */
.n-plugins-chapter {
    overflow: clip;
    background:
        radial-gradient(70% 45% at 50% 0%, rgba(110, 160, 255, 0.13), transparent 70%),
        radial-gradient(50% 40% at 85% 85%, rgba(139, 149, 255, 0.08), transparent 70%),
        linear-gradient(180deg, #070b16, #0a1020 50%, #070b16);
    border-block: 1px solid rgba(160, 200, 255, 0.10);
}
.n-plugins-chapter .n-wrap { position: relative; }
.n-script.is-ghost { border-color: rgba(143, 182, 255, 0.42); background: radial-gradient(70% 60% at 0% 0%, rgba(120, 170, 255, 0.14), transparent 70%), linear-gradient(135deg, rgba(255, 155, 47, 0.06), transparent 55%), var(--n-glass); }
.n-ram-legend-mini { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--n-text-2); font-size: var(--n-fs-xs); }
.n-ram-legend-mini li { display: inline-flex; align-items: center; gap: 7px; }
.n-ram-legend-mini .n-ram-num { width: 22px; height: 22px; font-size: 0.75rem; }
.n-cb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.n-cb-grid figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--n-c) 32%, transparent); background: #05070d; }
.n-cb-grid img { display: block; width: 100%; height: auto; }
.n-cb-grid figcaption { position: absolute; left: 8px; bottom: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(6, 9, 18, 0.78); color: var(--n-text-2); font-size: 0.72rem; font-weight: 600; }
.n-cb-note { margin: 10px 2px 0; color: var(--n-muted); font-size: var(--n-fs-xs); }
.n-script-copy .n-ram-req { margin: 18px 0 0; }

/* ---------- RaceAgainstMyself ---------- */
.n-ram {
    overflow: hidden;
    background:
        radial-gradient(70% 50% at 50% 0%, rgba(110, 160, 255, 0.14), transparent 70%),
        radial-gradient(50% 40% at 85% 80%, rgba(255, 120, 40, 0.10), transparent 70%),
        linear-gradient(180deg, #070b16, #0a1020 50%, #070b16);
    border-block: 1px solid rgba(160, 200, 255, 0.10);
}
.n-ram-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(30% 22% at 50% 30%, rgba(150, 200, 255, 0.10), transparent 70%); }
.n-ram .n-wrap { position: relative; }
.n-ram-head { display: grid; justify-items: center; text-align: center; gap: 10px; margin-bottom: clamp(26px, 4vw, 40px); }
.n-ram-head .n-lead { max-width: 66ch; }
.n-ram-title { max-width: none; margin: 4px 0 6px; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.4rem); }
.n-ghost-text { display: block; background: linear-gradient(100deg, #f4f8ff 0%, #a9c8ff 45%, #6f9dff 70%, #ffb26b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(120, 170, 255, 0.35)); }
.n-ram-sub { display: block; font-size: 0.42em; font-weight: 300; font-stretch: 87.5%; color: var(--n-text-2); margin-top: 0.3em; letter-spacing: 0; }
.n-ram-facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--n-text-2); font-size: var(--n-fs-sm); }
.n-ram-facts li { display: inline-flex; align-items: center; gap: 8px; }
.n-ram-facts i { color: #a9c8ff; }
.n-ram-facts strong { color: var(--n-text); }
.n-ram-stage { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.n-ram-shot { margin: 0; display: grid; }
.n-ram-slide { grid-area: 1 / 1; position: relative; border-radius: 18px; overflow: hidden; opacity: 0; transition: opacity .8s var(--n-ease); border: 1px solid rgba(160, 200, 255, 0.24); box-shadow: 0 46px 110px -46px rgba(80, 140, 255, 0.55), 0 30px 70px -40px rgba(0, 0, 0, 0.9); background: #05070d; }
.n-ram-slide.is-active { opacity: 1; z-index: 1; }
.n-ram-slide img { width: 100%; height: auto; }
.n-ram-pin {
    position: absolute; z-index: 2; transform: translate(-50%, -50%);
    width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
    background: var(--n-sodium); color: #1a0c05; font-family: var(--n-display); font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 0 0 4px rgba(255, 155, 47, 0.28), 0 6px 18px rgba(0, 0, 0, 0.55);
}
.n-ram-shot figcaption { grid-area: 2 / 1; margin-top: 10px; color: var(--n-muted); font-size: var(--n-fs-xs); }
.n-ram-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.n-ram-legend li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(150, 180, 230, 0.06); border: 1px solid rgba(160, 200, 255, 0.16); }
.n-ram-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--n-sodium); color: #1a0c05; font-family: var(--n-display); font-weight: 700; }
.n-ram-legend strong { display: block; font-weight: 600; margin-bottom: 2px; }
.n-ram-legend li span:not(.n-ram-num) { display: block; color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.5; }
.n-ram-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.n-ram-thumbs button { padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #05070d; cursor: pointer; opacity: 0.55; transition: opacity .25s, border-color .25s; }
.n-ram-thumbs button:hover { opacity: 0.85; }
.n-ram-thumbs button.is-active { border-color: var(--n-sodium); opacity: 1; }
.n-ram-thumbs img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.n-ram-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(26px, 3.6vw, 40px); }
.n-ram-card { padding: 22px; display: grid; gap: 8px; align-content: start; }
.n-ram-card .n-common-icon { color: #a9c8ff; background: rgba(120, 170, 255, 0.12); border-color: rgba(160, 200, 255, 0.3); }
.n-ram-card h3 { margin: 6px 0 0; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.25rem; line-height: 1.15; }
.n-ram-card p { margin: 0; color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.55; }
.n-ram-modes { margin-top: 14px; padding: clamp(20px, 3vw, 30px); }
.n-ram-modes h3 { margin: 0 0 14px; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.35rem; }
.n-ram-modes dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.n-ram-modes dl > div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--n-line); }
.n-ram-modes dt { font-family: var(--n-display); font-weight: 700; color: var(--n-sodium); }
.n-ram-modes dd { margin: 4px 0 0; color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.5; }
.n-ram-req { display: flex; gap: 10px; align-items: baseline; color: var(--n-muted); font-size: var(--n-fs-xs); margin: 0 0 20px; }
.n-ram-modes .n-hero-cta { margin: 0; }

/* ---------- HUD designs ---------- */
.n-designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.n-design { overflow: hidden; display: flex; flex-direction: column; border-color: color-mix(in srgb, var(--n-c) 26%, var(--n-glass-edge)); }
.n-design-pic { position: relative; aspect-ratio: 16 / 11; background: #05070d; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--n-line); }
.n-design-pic img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.n-design-copy { padding: 18px 18px 22px; }
/* Classic: the header slot of the script is marked - every customer puts their own picture there */
.n-design-frame { position: relative; display: block; height: 100%; aspect-ratio: 720 / 773; margin-inline: auto; }
.n-design-frame img { width: 100%; height: 100%; object-fit: contain; }
/* the card shows the upper part of the Classic HUD larger: the header slot is what it is about */
.n-design-pic.is-header .n-design-frame { width: 100%; height: auto; margin: -3% 0 0; }
.n-header-mark {
    position: absolute; left: 19.8%; top: 21.2%; width: 33.6%; height: 15.6%; border-radius: 8px;
    border: 1.5px dashed rgba(236, 224, 255, 0.85);
    box-shadow: 0 0 0 3px rgba(180, 140, 255, 0.16), 0 0 22px rgba(180, 140, 255, 0.42);
    animation: n-mark 2.8s ease-in-out infinite;
}
.n-header-mark > span {
    position: absolute; left: 50%; top: calc(100% + 7px); transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 3px 10px; border-radius: 999px;
    background: #b48cff; color: #14091f; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
@keyframes n-mark { 50% { box-shadow: 0 0 0 6px rgba(180, 140, 255, 0.08), 0 0 32px rgba(180, 140, 255, 0.62); } }
.n-design h3 { margin: 0 0 6px; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.4rem; }
.n-design h3 small { margin-left: 6px; color: color-mix(in srgb, var(--n-c) 80%, #fff); font-family: var(--n-body); font-stretch: 100%; font-size: var(--n-fs-xs); font-weight: 600; }
.n-design p { margin: 0 0 10px; color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.55; }
.n-design .n-checks { margin: 0; }

/* ---------- servers and leagues ---------- */
.n-live-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: -12px 0 18px; }
.n-badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(61, 220, 132, 0.10); border: 1px solid rgba(61, 220, 132, 0.35); color: #9ff0c4; font-size: var(--n-fs-xs); font-weight: 700; letter-spacing: 0.04em; }
.n-live-sum { color: var(--n-muted); font-size: var(--n-fs-sm); }
.n-live-sum strong { color: var(--n-text); font-family: var(--n-display); font-size: 1.1em; }
.n-families { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.n-family { padding: clamp(18px, 2.2vw, 26px); display: grid; gap: 16px; align-content: start; border-color: color-mix(in srgb, var(--n-c) 26%, var(--n-glass-edge)); background: linear-gradient(160deg, color-mix(in srgb, var(--n-c) 8%, transparent), transparent 50%), var(--n-glass); }
.n-family-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.n-family-head .n-tile { width: 50px; height: 50px; border-radius: 15px; font-size: 1.15rem; }
.n-family-head h3 { margin: 0; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.45rem; line-height: 1.1; }
.n-family-head p { margin: 4px 0 0; color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.5; }
.n-family-script { display: inline-block; margin-right: 6px; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--n-c) 16%, transparent); color: color-mix(in srgb, var(--n-c) 85%, #fff); font-weight: 700; font-size: var(--n-fs-xs); }
.n-family-board { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--n-line); }
.n-family-board > div { min-width: 0; }
.n-family-board small { display: block; color: var(--n-muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.n-family-board strong { display: block; font-family: var(--n-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.n-family-board span { display: block; color: var(--n-text-2); font-size: var(--n-fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.n-rung { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center; padding: 10px 10px 10px 12px; border-radius: 14px; border: 1px solid var(--n-line); background: rgba(255, 255, 255, 0.02); transition: border-color .2s, background-color .2s; }
.n-rung:hover { border-color: var(--n-line-strong); background: rgba(255, 255, 255, 0.04); }
.n-tier { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: var(--n-fs-xs); font-weight: 700; border: 1px solid; white-space: nowrap; }
.n-rung[data-tier="public"] .n-tier { color: #9ff0c4; border-color: rgba(61, 220, 132, 0.35); background: rgba(61, 220, 132, 0.08); }
.n-rung[data-tier="proleague"] .n-tier { color: #cdd1ff; border-color: rgba(139, 149, 255, 0.5); background: rgba(139, 149, 255, 0.12); }
.n-rung[data-tier="masterleague"] .n-tier { color: #ffdc8f; border-color: rgba(255, 193, 69, 0.55); background: rgba(255, 193, 69, 0.12); }
.n-rung-name { min-width: 0; font-weight: 600; font-size: var(--n-fs-sm); }
.n-rung-need { grid-column: 2 / -1; color: var(--n-muted); font-size: var(--n-fs-xs); line-height: 1.45; }
.n-rung-need i { margin-right: 4px; font-size: 0.72rem; color: var(--n-text-2); }
.n-rung-need strong { color: var(--n-text-2); font-weight: 600; }
.n-rung-count { font-family: var(--n-display); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 1.05rem; white-space: nowrap; }
.n-rung-count em { font-style: normal; color: var(--n-muted); font-weight: 400; }
.n-league { margin-top: 16px; padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(18px, 3vw, 44px); align-items: center; border-color: rgba(139, 149, 255, 0.3); background: linear-gradient(135deg, rgba(139, 149, 255, 0.10), transparent 60%), var(--n-glass); }
.n-league-copy h3 { margin: 8px 0 10px; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.06; }
.n-league-copy p { margin: 0 0 12px; color: var(--n-text-2); }
.n-league-live { display: flex; align-items: center; gap: 10px; color: #9ff0c4 !important; font-size: var(--n-fs-sm); }
.n-league-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.n-league-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--n-line); }
.n-league-steps .n-common-icon { color: #cdd1ff; background: rgba(139, 149, 255, 0.14); border-color: rgba(139, 149, 255, 0.35); }
.n-league-steps strong { display: block; font-weight: 600; margin-bottom: 2px; }
.n-league-steps li span:not(.n-common-icon) { display: block; color: var(--n-text-2); font-size: var(--n-fs-sm); line-height: 1.5; }

/* ---------- plugins ---------- */
.n-plugins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.n-plugin { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.n-plugin .n-tile { width: 46px; height: 46px; border-radius: 14px; font-size: 1.1rem; margin-bottom: 6px; }
.n-plugin h3 { margin: 0; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.45rem; }
.n-plugin p { margin: 0; color: var(--n-text-2); font-size: var(--n-fs-sm); }
.n-plugin .n-checks { margin-top: 6px; }
.n-plugin-ram { text-decoration: none; border-color: rgba(255, 155, 47, 0.38); background: radial-gradient(80% 70% at 30% 0%, rgba(120, 170, 255, 0.14), transparent 70%), linear-gradient(160deg, rgba(255, 155, 47, 0.10), transparent 60%), var(--n-glass); transition: border-color .25s, transform .25s var(--n-ease); }
.n-plugin-ram:hover { border-color: var(--n-sodium); transform: translateY(-2px); }
.n-plugin-ram .n-kind-link { margin-top: auto; padding-top: 12px; }
.n-plugin-pic { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 62%; border-radius: 14px; border: 1px solid rgba(160, 200, 255, 0.22); margin-top: 8px; }

/* ---------- plans ---------- */
.n-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.n-plan { position: relative; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.n-plan.is-featured { border-color: transparent; background: linear-gradient(var(--n-asphalt-2), var(--n-asphalt-2)) padding-box, var(--n-grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 70px -36px rgba(255, 110, 40, 0.6); }
.n-plan-chip { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--n-grad); color: #1a0c05; font-size: var(--n-fs-xs); font-weight: 700; }
.n-plan h3 { margin: 0; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.5rem; }
.n-plan-price { font-family: var(--n-display); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.n-plan-price small { font-size: 0.5em; color: var(--n-muted); font-weight: 400; margin-left: 4px; }
.n-plan > p { margin: 0; color: var(--n-text-2); font-size: var(--n-fs-sm); }
.n-plan-slots { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--n-sodium-soft); color: #ffd2a1; font-size: var(--n-fs-xs); font-weight: 600; }
.n-plan .n-checks { margin: 4px 0 8px; }
.n-plan .n-btn { margin-top: auto; justify-content: center; }
.n-plans-note { margin-top: 16px; color: var(--n-muted); font-size: var(--n-fs-sm); }

/* ---------- steps ---------- */
.n-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: n-step; }
.n-step { padding: 22px; counter-increment: n-step; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.n-step::before { content: counter(n-step); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--n-display); font-weight: 700; color: var(--n-sodium); border: 1px solid rgba(255, 155, 47, 0.45); }
.n-step h3 { margin: 4px 0 0; font-size: 1.05rem; font-weight: 600; }
.n-step p { margin: 0; color: var(--n-text-2); font-size: var(--n-fs-sm); }

/* ---------- embers: sparks rising behind the road, the plugins, the questions and the last call (drawn by site-night.js) ---------- */
.n-road .n-embers { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; }
/* in a section the canvas stays on screen while the section scrolls by (sticky), so it never grows with a long section */
.n-embers-wrap { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.n-embers-wrap .n-embers { position: sticky; top: 0; display: block; width: 100%; height: 100vh; }
.n-embers-wrap ~ .n-wrap { position: relative; z-index: 1; }

/* ---------- reveal: sections and cards rise in as they come on screen (site-night.js sets .n-reveal and takes it away after) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .n-reveal { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--n-ease), transform .85s var(--n-ease); transition-delay: calc(var(--n-i, 0) * 90ms); }
    .n-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- one-time scripts ---------- */
.n-shop { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: clamp(22px, 3vw, 34px); }
.n-shop h3 { margin: 0 0 6px; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: 1.6rem; }
.n-shop p { margin: 0; color: var(--n-text-2); font-size: var(--n-fs-sm); max-width: 64ch; }
.n-shop-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- questions (warm glass) ---------- */
.n-faq-wrap { background: radial-gradient(80% 60% at 50% 0%, rgba(255, 120, 40, 0.10), transparent 70%), linear-gradient(180deg, #0b0a0f, #120b09 60%, #0b0a0f); overflow: clip; }
.n-faq-head { text-align: center; margin-inline: auto; justify-items: center; }
.n-faq-head .n-h2 { max-width: none; }
.n-faq { width: min(860px, 100%); margin: 0 auto; display: grid; gap: 12px; position: relative; }
.n-q { border-radius: var(--n-r-md); background: rgba(255, 236, 220, 0.045); border: 1px solid rgba(255, 220, 190, 0.12); -webkit-backdrop-filter: var(--n-blur); backdrop-filter: var(--n-blur); transition: border-color .25s, background-color .25s; }
.n-q[open] { background: rgba(255, 236, 220, 0.07); border-color: rgba(255, 170, 100, 0.35); }
.n-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 600; font-size: 1.06rem; }
.n-q summary::-webkit-details-marker { display: none; }
.n-q summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--n-text-2); border-bottom: 2px solid var(--n-text-2); transform: rotate(45deg); transition: transform .3s var(--n-ease); flex: none; margin-top: -4px; }
.n-q[open] summary::after { transform: rotate(-135deg); margin-top: 4px; border-color: var(--n-sodium); }
@supports (interpolate-size: allow-keywords) {
    .n-faq { interpolate-size: allow-keywords; }
    .n-q::details-content { block-size: 0; overflow-y: clip; transition: block-size .42s var(--n-ease), content-visibility .42s allow-discrete; }
    .n-q[open]::details-content { block-size: auto; }
}
.n-q > div { padding: 0 22px 20px; color: var(--n-text-2); font-size: var(--n-fs-sm); }
.n-q > div p { margin: 0 0 10px; }
.n-q > div p:last-child { margin: 0; }

/* ---------- final call ---------- */
.n-cta { position: relative; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: 28px; overflow: hidden; background: linear-gradient(rgba(12, 16, 28, 0.92), rgba(12, 16, 28, 0.92)) padding-box, var(--n-grad) border-box; border: 1px solid transparent; }
.n-cta::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 110, 40, 0.22), transparent 70%); pointer-events: none; }
.n-cta h2 { position: relative; font-family: var(--n-display); font-weight: 700; font-stretch: 87.5%; font-size: var(--n-fs-2xl); line-height: 1.02; margin: 0 auto 16px; max-width: 20ch; text-wrap: balance; }
.n-cta p { position: relative; color: var(--n-text-2); margin: 0 auto 28px; max-width: 56ch; }
.n-cta .n-hero-cta { position: relative; justify-content: center; margin: 0; }

/* ---------- footer ---------- */
.n-foot { border-top: 1px solid var(--n-line); padding: 34px 0 44px; color: var(--n-muted); font-size: var(--n-fs-sm); }
.n-foot .n-wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.n-foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.n-foot a { text-decoration: none; }
.n-foot a:hover { color: var(--n-text); }

.n-flash { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--n-line-strong); background: var(--n-glass-strong); font-size: var(--n-fs-sm); }
.n-flash.is-error { border-color: rgba(255, 59, 78, 0.5); background: var(--n-taillight-soft); }
.n-flash.is-success { border-color: rgba(61, 220, 132, 0.45); background: rgba(61, 220, 132, 0.08); }
/* (17.11.2026) membership notice after a Patreon login without an active membership, and the strip for visitors from our
   servers (?src=ingame-…): one glass row - sign, text, actions; on small screens the actions go below the text */
.n-member, .n-source { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; }
.n-member { border-color: rgba(255, 155, 47, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 155, 47, 0.08), 0 10px 40px -18px rgba(255, 155, 47, 0.45); }
.n-member[data-reason="grace_ended"] { border-color: rgba(255, 59, 78, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 59, 78, 0.1), 0 10px 40px -18px rgba(255, 59, 78, 0.5); }
.n-source[hidden] { display: none; }
.n-member-icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--n-sodium-soft); color: var(--n-sodium); font-size: 1.05rem; }
.n-member[data-reason="grace_ended"] .n-member-icon { background: var(--n-taillight-soft); color: var(--n-taillight); }
.n-member-copy { flex: 1 1 auto; min-width: 0; margin: 0; font-size: var(--n-fs-sm); color: var(--n-text-2); }
.n-member-copy strong { display: block; color: var(--n-text); font-size: var(--n-fs-md); margin-bottom: 2px; }
.n-source .n-member-copy strong { display: inline; }
.n-member-copy p { margin: 0; }
.n-member-time { margin-top: 6px !important; color: var(--n-sodium); font-weight: 600; }
.n-member-actions { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) {
    .n-member, .n-source { flex-wrap: wrap; align-items: flex-start; }
    .n-member-copy { flex-basis: calc(100% - 58px); }
    .n-member-actions { flex: 1 1 calc(100% - 58px); min-width: 0; margin-left: 58px; }
    .n-source > .n-btn { margin-left: 58px; }
}

/* ---------- small screens ---------- */
@media (max-width: 1180px) {
    .n-links a span { display: none; }
    .n-links a { padding: 9px 11px; }
}
@media (max-width: 1080px) {
    .n-plans, .n-common-grid, .n-designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .n-ram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .n-families { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
    .n-hero-grid, .n-script, .n-ram-stage, .n-league { grid-template-columns: minmax(0, 1fr); }
    .n-script:nth-child(even) .n-script-media { order: 0; }
    .n-script-media { position: static; }
    .n-plugins, .n-steps { grid-template-columns: 1fr; }
    .n-ram-modes dl { grid-template-columns: 1fr; }
    .n-shop { grid-template-columns: 1fr; }
    .n-links, .n-nav-actions .n-hide-sm { display: none; }
    .n-menu-btn { display: inline-grid; place-items: center; margin-left: 0; }
    .n-nav-actions { margin-left: auto; }
    .n-nav { border-radius: 26px; flex-wrap: wrap; }
    .n-nav.is-open { background: rgba(8, 12, 22, 0.94); }
    .n-nav.is-open .n-links { display: grid; order: 3; width: 100%; margin: 6px 0 4px; gap: 2px; }
    .n-nav.is-open .n-links a { padding: 12px 14px; font-size: 1rem; }
    .n-nav.is-open .n-links a span { display: inline; }
}
@media (max-width: 720px) {
    /* the showroom on a phone */
    .n-show { padding: 10px; border-radius: 22px; }
    .n-stage { border-radius: 14px; }
    .n-show-dwl, .n-stage .n-show-dwl { gap: 8px; padding: 10px 12px; }
    .n-dwl-msg { padding: 9px 11px; }
    .n-dwl-msg p { margin-top: 4px; font-size: 0.78rem; line-height: 1.4; }
    .n-show-dwl:not(.is-card) .n-dwl-list small { display: none; }
    .n-dwl-list li { padding: 5px 10px; }
    .n-show-tab em { top: 3px; right: 3px; font-size: 0.52rem; padding: 0 4px; }
    .n-show-tab { min-height: 52px; padding: 8px 2px 10px; font-size: 0.78rem; }
    .n-show-tab i { font-size: 0.92rem; }
    .n-strip-item { height: 90px; }
    .n-family-board { grid-template-columns: 1fr 1fr; }
    .n-family-board .n-btn { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 560px) {
    .n-stage .n-dwl-list { display: none; }
    .n-dwl-more { display: flex; }
    .n-plans, .n-common-grid, .n-designs, .n-ram-grid { grid-template-columns: 1fr; }
    .n-hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
    .n-hero-cta .n-btn { flex: 1 1 100%; justify-content: center; }
    .n-nav-actions .n-btn-discord { display: none; }
    .n-nav { padding: 8px 8px 8px 14px; gap: 10px; }
    .n-rung { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 10px; }
    .n-rung .n-tier { grid-column: 1 / -1; }
    .n-rung-need { grid-column: 1 / -1; }
    .n-ram-pin { width: 22px; height: 22px; font-size: 0.75rem; box-shadow: 0 0 0 3px rgba(255, 155, 47, 0.28), 0 4px 12px rgba(0, 0, 0, 0.55); }
}
@media (max-width: 420px) {
    .n-brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .n-trail, .n-bokeh, .n-dot, .n-strip-track, .n-header-mark { animation: none !important; }
    .n-show-caption { animation: none !important; }
    .n-q::details-content { transition: none; }
    .n-trail { display: none; }
    .n-strip { overflow-x: auto; }
    .n-page * { transition-duration: 0.01ms !important; }
}
