/* ============================================================
   NicoraX 3 — Design System
   Dark · Red accent · Image & Video prompt gallery
   Loaded after main.css: re-themes legacy pages and styles the
   new header, footer, home, explore and detail views.
   ============================================================ */

:root {
    --nx-bg:          #09090b;
    --nx-surface:     #111114;
    --nx-surface-2:   #18181c;
    --nx-surface-3:   #212127;
    --nx-border:      rgba(255,255,255,0.08);
    --nx-border-2:    rgba(255,255,255,0.14);
    --nx-text:        #f5f5f6;
    --nx-muted:       rgba(245,245,246,0.62);
    --nx-dim:         rgba(245,245,246,0.40);
    --nx-red:         #ff2438;
    --nx-red-h:       #ff4757;
    --nx-red-soft:    rgba(255,36,56,0.14);
    --nx-red-glow:    rgba(255,36,56,0.35);
    --nx-green:       #22c55e;
    --nx-r-sm:        8px;
    --nx-r:           12px;
    --nx-r-lg:        18px;
    --nx-r-xl:        24px;
    --nx-wrap:        1360px;
    --nx-gutter:      24px;
    --nx-header-h:    68px;
    --nx-font:        "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
    --nx-mono:        ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --nx-ease:        cubic-bezier(0.2, 0.7, 0.2, 1);

    /* Legacy tokens (main.css) mapped onto the new palette */
    --color-bg:              var(--nx-bg);
    --color-surface:         var(--nx-surface);
    --color-surface2:        var(--nx-surface-2);
    --color-border:          var(--nx-border);
    --color-text:            var(--nx-text);
    --color-muted:           var(--nx-muted);
    --color-accent:          var(--nx-red);
    --color-accent-h:        var(--nx-red-h);
    --color-accent-gradient: var(--nx-red);
    --color-accent-glow:     var(--nx-red-glow);
    --font-sans:             var(--nx-font);
    --font-display:          var(--nx-font);
}

@media (max-width: 640px) {
    :root { --nx-gutter: 16px; --nx-header-h: 60px; }
}

html { color-scheme: dark; }
body {
    background: var(--nx-bg);
    color: var(--nx-text);
    font-family: var(--nx-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--nx-red); color: #fff; }
:focus-visible { outline: 2px solid var(--nx-red); outline-offset: 2px; border-radius: 4px; }

/* The legacy <main> spacer is no longer needed — header is sticky */
.main { padding-top: 0; min-height: 0; }
.main:empty { display: none; }

.nx-wrap {
    width: 100%;
    max-width: var(--nx-wrap);
    margin: 0 auto;
    padding: 0 var(--nx-gutter);
}
.nx-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.nx-accent { color: var(--nx-red); }

/* ── Buttons ──────────────────────────────────────────────── */
.nx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 40px; padding: 0 18px;
    border-radius: var(--nx-r-sm);
    border: 1px solid transparent;
    font: 600 14px/1 var(--nx-font);
    color: var(--nx-text);
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .2s var(--nx-ease), box-shadow .2s;
}
.nx-btn svg { flex-shrink: 0; }
.nx-btn--primary { background: var(--nx-red); color: #fff; box-shadow: 0 6px 24px -8px var(--nx-red-glow); }
.nx-btn--primary:hover { background: var(--nx-red-h); transform: translateY(-1px); box-shadow: 0 10px 30px -8px var(--nx-red-glow); }
.nx-btn--ghost { background: var(--nx-surface-2); border-color: var(--nx-border); }
.nx-btn--ghost:hover { background: var(--nx-surface-3); border-color: var(--nx-border-2); }
.nx-btn--outline { background: transparent; border-color: var(--nx-border-2); }
.nx-btn--outline:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.nx-btn--text { background: none; height: auto; padding: 6px 8px; color: var(--nx-muted); }
.nx-btn--text:hover { color: var(--nx-text); }
.nx-btn--lg { height: 50px; padding: 0 26px; font-size: 15px; border-radius: 999px; }
.nx-btn--sm { height: 34px; padding: 0 12px; font-size: 13px; }
.nx-btn--block { width: 100%; }
.nx-btn--icon { width: 40px; padding: 0; }
.nx-btn[disabled], .nx-btn.is-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.nx-btn.is-done { background: var(--nx-green); border-color: var(--nx-green); color: #fff; }

/* Legacy buttons adopt the solid red style */
.btn--primary { background: var(--nx-red); box-shadow: none; }
.btn--primary:hover { background: var(--nx-red-h); box-shadow: 0 8px 24px -8px var(--nx-red-glow); }

/* ── Chips ────────────────────────────────────────────────── */
.nx-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nx-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nx-chips--scroll::-webkit-scrollbar { display: none; }
.nx-chip {
    display: inline-flex; align-items: center; gap: 6px;
    height: 32px; padding: 0 14px;
    border-radius: 999px;
    background: var(--nx-surface-2);
    border: 1px solid var(--nx-border);
    color: var(--nx-muted);
    font: 500 13px/1 var(--nx-font);
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.nx-chip:hover { color: var(--nx-text); border-color: var(--nx-border-2); }
.nx-chip.is-active { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }
.nx-chip__n { font-size: 11px; opacity: .7; }

/* ============================================================
   HEADER
   ============================================================ */
.nx-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(9,9,11,0.82);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid var(--nx-border);
}
.nx-header__inner {
    display: flex; align-items: center; gap: 28px;
    height: var(--nx-header-h);
}
.nx-logo { display: flex; align-items: center; flex-shrink: 0; }
.nx-logo__img { height: 30px; width: auto; display: block; }

.nx-nav { display: flex; align-items: center; gap: 4px; }
.nx-nav__link {
    position: relative;
    display: inline-flex; align-items: center;
    height: var(--nx-header-h);
    padding: 0 12px;
    font: 500 14px/1 var(--nx-font);
    color: var(--nx-muted);
    transition: color .2s;
}
.nx-nav__link:hover { color: var(--nx-text); }
.nx-nav__link.is-active { color: var(--nx-text); }
.nx-nav__link.is-active::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 0;
    height: 2px; border-radius: 2px 2px 0 0; background: var(--nx-red);
}

.nx-search { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.nx-search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--nx-dim); pointer-events: none; }
.nx-search__input {
    width: 100%; height: 40px;
    padding: 0 16px 0 40px;
    border-radius: 999px;
    border: 1px solid var(--nx-border);
    background: var(--nx-surface-2);
    color: var(--nx-text);
    font: 400 14px/1 var(--nx-font);
    transition: border-color .2s, background .2s;
}
.nx-search__input::placeholder { color: var(--nx-dim); }
.nx-search__input:focus { outline: none; border-color: rgba(255,36,56,.5); background: var(--nx-surface); }
.nx-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.nx-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nx-header__sep { width: 1px; height: 22px; background: var(--nx-border-2); margin: 0 4px; }
.nx-iconbtn {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 999px;
    color: var(--nx-muted);
    transition: background .2s, color .2s;
}
.nx-iconbtn:hover { background: var(--nx-surface-2); color: var(--nx-text); }

.nx-lang { display: inline-flex; border: 1px solid var(--nx-border); border-radius: 999px; padding: 2px; }
.nx-lang a { padding: 5px 8px; border-radius: 999px; font: 600 11px/1 var(--nx-font); color: var(--nx-dim); letter-spacing: .04em; }
.nx-lang a:hover { color: var(--nx-text); }
.nx-lang a.is-active { background: var(--nx-surface-3); color: var(--nx-text); }

.nx-user { display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid var(--nx-border); font: 500 13px/1 var(--nx-font); color: var(--nx-text); }
.nx-user:hover { border-color: var(--nx-border-2); }

.nx-avatar {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--nx-red), #8b1020);
    color: #fff; font: 700 12px/1 var(--nx-font);
}
.nx-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nx-avatar--sm { width: 22px; height: 22px; font-size: 10px; }
.nx-avatar--lg { width: 40px; height: 40px; font-size: 15px; }
.nx-verified { display: inline-block; vertical-align: -2px; margin-left: 3px; }

.nx-burger { display: none; width: 40px; height: 40px; border-radius: var(--nx-r-sm); place-items: center; color: var(--nx-text); margin-left: auto; }
.nx-burger:hover { background: var(--nx-surface-2); }

/* Mobile drawer */
.nx-drawer { display: none; }
@media (max-width: 1080px) {
    .nx-nav, .nx-header .nx-search, .nx-header__actions .nx-hide-mobile { display: none; }
    .nx-burger { display: inline-grid; margin-left: 0; }
    .nx-header__actions { margin-left: auto; }
    .nx-drawer {
        display: block;
        position: fixed; inset: var(--nx-header-h) 0 0 0; z-index: 999;
        background: rgba(9,9,11,.97);
        backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        padding: 20px var(--nx-gutter) 40px;
        overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s, transform .25s var(--nx-ease), visibility 0s .25s;
    }
    .nx-drawer.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--nx-ease); }
    .nx-drawer .nx-search { display: block; max-width: none; margin: 0 0 20px; }
    .nx-drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--nx-border); }
    .nx-drawer__nav a { padding: 16px 4px; border-bottom: 1px solid var(--nx-border); font: 600 17px/1 var(--nx-font); color: var(--nx-muted); display: flex; justify-content: space-between; }
    .nx-drawer__nav a.is-active { color: var(--nx-text); }
    .nx-drawer__nav a.is-active::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-red); align-self: center; }
    .nx-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
    .nx-drawer__foot { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; color: var(--nx-dim); font-size: 13px; }
    body.nx-drawer-open { overflow: hidden; }
}
@media (max-width: 480px) {
    .nx-header__inner { gap: 12px; }
    .nx-logo__img { height: 24px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.nx-section { padding: 56px 0 0; }
.nx-section:last-of-type { padding-bottom: 72px; }
.nx-section__head {
    display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap;
    margin-bottom: 20px;
}
.nx-section__title {
    display: flex; align-items: center; gap: 12px;
    font: 800 24px/1.15 var(--nx-font);
    letter-spacing: -0.02em;
}
.nx-section__icon {
    display: inline-grid; place-items: center;
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--nx-red-soft); color: var(--nx-red);
}
.nx-section__head .nx-chips { margin-left: auto; }
.nx-more {
    display: inline-flex; align-items: center; gap: 6px;
    font: 600 13px/1 var(--nx-font); color: var(--nx-red);
    white-space: nowrap;
}
.nx-more:hover { color: var(--nx-red-h); gap: 9px; }
.nx-section__head > .nx-more:only-of-type { margin-left: auto; }
@media (max-width: 640px) {
    .nx-section { padding-top: 40px; }
    .nx-section__title { font-size: 20px; }
    .nx-section__head .nx-chips { margin-left: 0; width: 100%; order: 3; }
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.nx-hero {
    position: relative;
    margin-top: 20px;
    border-radius: var(--nx-r-xl);
    overflow: hidden;
    background: #0d0d10;
    border: 1px solid var(--nx-border);
    min-height: clamp(460px, 62vh, 620px);
    display: flex; align-items: center;
    isolation: isolate;
}
.nx-hero__media { position: absolute; inset: 0; z-index: -2; }
.nx-hero__media img {
    position: absolute; right: 0; top: 0;
    width: 68%; height: 100%;
    object-fit: cover; object-position: center 25%;
}
.nx-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, #0d0d10 30%, rgba(13,13,16,.85) 45%, rgba(13,13,16,.15) 75%, rgba(13,13,16,.35) 100%),
        linear-gradient(0deg, rgba(13,13,16,.9) 0%, transparent 35%);
}
.nx-hero__body { padding: 56px clamp(24px, 5vw, 64px); max-width: 680px; }
.nx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 13px/1 var(--nx-font); color: var(--nx-red);
    margin-bottom: 18px;
}
.nx-hero__title {
    font: 800 clamp(40px, 6vw, 72px)/1.0 var(--nx-font);
    letter-spacing: -0.035em;
    margin-bottom: 20px;
    text-wrap: balance;
}
.nx-hero__title span { display: block; }
.nx-hero__title .nx-hero__kw { font: 600 clamp(15px, 1.6vw, 19px)/1.4 var(--nx-font); letter-spacing: .01em; color: var(--nx-muted); margin-top: 14px; text-transform: none; }
.nx-intro { max-width: 820px; }
.nx-intro p { color: var(--nx-muted); line-height: 1.7; margin: 0 0 12px; font-size: 15.5px; }
.nx-intro .nx-intro__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.nx-hero__desc { font-size: 17px; line-height: 1.6; color: var(--nx-muted); max-width: 520px; margin-bottom: 30px; }
.nx-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.nx-stats { display: flex; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; }
.nx-stat__n { display: block; font: 800 26px/1 var(--nx-font); letter-spacing: -0.02em; }
.nx-stat__l { display: block; margin-top: 6px; font-size: 13px; color: var(--nx-dim); }
.nx-hero__credit {
    position: absolute; right: 20px; bottom: 20px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px 6px 6px; border-radius: 999px;
    background: rgba(0,0,0,.55); border: 1px solid var(--nx-border);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font: 500 12px/1 var(--nx-font); color: var(--nx-muted);
}
.nx-hero__credit:hover { color: var(--nx-text); }
@media (max-width: 860px) {
    /* Stack: image on top, text below — the picture stays fully visible on phones */
    .nx-hero { flex-direction: column; align-items: stretch; min-height: 0; }
    .nx-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; overflow: hidden; }
    .nx-hero__media img { width: 100%; height: 100%; }
    .nx-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0d0d10 0%, rgba(13,13,16,0) 45%); }
    .nx-hero::before { display: none; }
    .nx-hero__body { margin-top: -48px; position: relative; }
    .nx-hero__body { padding: 28px 22px; }
    .nx-hero__desc { font-size: 15px; }
    .nx-hero__actions { margin-bottom: 28px; }
    .nx-hero__actions .nx-btn { flex: 1; }
    .nx-hero__credit { top: 16px; bottom: auto; right: 16px; }
}

/* ── Category feature cards ───────────────────────────────── */
.nx-catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-catcard {
    position: relative; display: block;
    aspect-ratio: 16 / 10;
    border-radius: var(--nx-r-lg);
    overflow: hidden;
    background: var(--nx-surface-2);
    border: 1px solid var(--nx-border);
    isolation: isolate;
}
.nx-catcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--nx-ease); }
.nx-catcard::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.2) 55%, transparent 100%); }
.nx-catcard:hover img { transform: scale(1.05); }
.nx-catcard__body { position: absolute; left: 20px; right: 20px; bottom: 18px; }
.nx-catcard__title { font: 800 22px/1.1 var(--nx-font); letter-spacing: -0.02em; margin-bottom: 6px; }
.nx-catcard__desc { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-catcard__count {
    position: absolute; top: 14px; right: 14px;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(0,0,0,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font: 600 12px/1 var(--nx-font);
}
@media (max-width: 900px) { .nx-catgrid { grid-template-columns: 1fr 1fr; } .nx-catgrid > :nth-child(3) { display: none; } }
@media (max-width: 560px) { .nx-catgrid { grid-template-columns: 1fr; } .nx-catgrid > :nth-child(3) { display: block; } }

.nx-albums { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.nx-albums::-webkit-scrollbar { display: none; }
.nx-album { scroll-snap-align: start; }
.nx-catcard__count svg { vertical-align: -2px; }
@media (max-width: 560px) { .nx-albums { grid-auto-columns: 82%; } }

/* ── Category tiles ───────────────────────────────────────── */
.nx-tiles {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(130px, 1fr);
    gap: 12px;
    overflow-x: auto; scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding-bottom: 2px;
}
.nx-tiles::-webkit-scrollbar { display: none; }
.nx-tile {
    position: relative; display: block;
    aspect-ratio: 3 / 4; border-radius: var(--nx-r);
    overflow: hidden; background: var(--nx-surface-2);
    border: 1px solid var(--nx-border);
    scroll-snap-align: start;
    isolation: isolate;
}
.nx-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--nx-ease); }
.nx-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.85), transparent 55%); }
.nx-tile:hover img { transform: scale(1.06); }
.nx-tile__label { position: absolute; left: 12px; right: 12px; bottom: 10px; font: 700 14px/1.2 var(--nx-font); }
.nx-tile__label small { display: block; font-weight: 500; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ── Featured cards ───────────────────────────────────────── */
.nx-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-feature {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    aspect-ratio: 4 / 5;
    border-radius: var(--nx-r-lg); overflow: hidden;
    background: var(--nx-surface-2);
    border: 1px solid var(--nx-border);
    padding: 18px;
    isolation: isolate;
}
.nx-feature > img, .nx-feature > .nx-feature__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--nx-ease); }
.nx-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 45%, transparent 70%); }
.nx-feature:hover > img { transform: scale(1.04); }
.nx-feature__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.nx-feature__author { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--nx-font); margin-bottom: 10px; }
.nx-feature__title { font: 800 18px/1.2 var(--nx-font); letter-spacing: -0.01em; margin-bottom: 6px; }
.nx-feature__desc { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1080px) { .nx-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .nx-features { grid-template-columns: 1fr; } .nx-feature { aspect-ratio: 4 / 4.4; } }

.nx-badge {
    display: inline-flex; align-items: center; gap: 5px;
    height: 24px; padding: 0 9px;
    border-radius: 6px;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.1);
    font: 700 10.5px/1 var(--nx-font);
    letter-spacing: .06em; text-transform: uppercase;
    color: #fff;
}
.nx-badge--red { background: var(--nx-red); border-color: var(--nx-red); }

/* ── CTA band ─────────────────────────────────────────────── */
.nx-cta {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 36px clamp(24px, 4vw, 48px);
    border-radius: var(--nx-r-xl);
    background: radial-gradient(120% 140% at 100% 0%, rgba(255,36,56,.28), transparent 55%), var(--nx-surface);
    border: 1px solid var(--nx-border);
}
.nx-cta__title { font: 800 clamp(22px, 3vw, 30px)/1.15 var(--nx-font); letter-spacing: -0.02em; margin-bottom: 6px; }
.nx-cta__desc { color: var(--nx-muted); font-size: 15px; }

/* ============================================================
   MEDIA CARD (explore grid, home rows, related, profile)
   ============================================================ */
.nx-grid { display: grid; grid-template-columns: repeat(var(--nx-cols, 4), minmax(0, 1fr)); gap: 20px 16px; }
.nx-grid--6 { --nx-cols: 6; column-gap: 14px; }
.nx-grid--5 { --nx-cols: 5; }
/* Single-row strips: extra cards fall into zero-height rows and are clipped */
.nx-grid--row { grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; overflow: hidden; }
@media (max-width: 1280px) { .nx-grid--6, .nx-grid--5 { --nx-cols: 4; } }
@media (max-width: 1100px) { .nx-grid, .nx-grid--6, .nx-grid--5 { --nx-cols: 3; } }
@media (max-width: 720px)  {
    .nx-grid, .nx-grid--6, .nx-grid--5 { --nx-cols: 2; gap: 16px 12px; }
    .nx-grid--row { grid-template-rows: auto auto; row-gap: 16px; }
}

.nx-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nx-card[hidden] { display: none !important; }
.nx-card__media {
    position: relative; display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--nx-r);
    overflow: hidden;
    background: var(--nx-surface-2);
    border: 1px solid var(--nx-border);
    isolation: isolate;
}
.nx-card__img, .nx-card__preview {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--nx-ease), opacity .3s;
}
.nx-card__preview { opacity: 0; z-index: 1; }
.nx-card__preview.is-playing { opacity: 1; }
.nx-card__media:hover .nx-card__img { transform: scale(1.045); }
.nx-card__media::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, transparent 32%);
}
.nx-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--nx-dim); }
.nx-card__tl { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; }
.nx-card__tr { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; gap: 6px; }
.nx-card__stats {
    position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 3;
    display: flex; align-items: center; gap: 10px;
    font: 600 11.5px/1 var(--nx-font); color: rgba(255,255,255,.9);
}
.nx-card__stats span { display: inline-flex; align-items: center; gap: 4px; }
.nx-card__model { margin-left: auto; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: rgba(255,255,255,.7); }
.nx-card__play {
    position: absolute; left: 50%; top: 50%; z-index: 3;
    width: 52px; height: 52px; margin: -26px 0 0 -26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: 1.5px solid rgba(255,255,255,.85);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    color: #fff;
    transition: opacity .25s, transform .25s var(--nx-ease);
}
.nx-card__media:hover .nx-card__play { transform: scale(1.08); }
.nx-card__media.is-previewing .nx-card__play { opacity: 0; }
.nx-card__wm { position: absolute; z-index: 3; pointer-events: none; font: 700 10px/1 var(--nx-font); letter-spacing: .04em; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); white-space: nowrap; }

.nx-card__title {
    font: 700 14.5px/1.3 var(--nx-font);
    color: var(--nx-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nx-card__title a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--nx-red); text-underline-offset: 3px; }
.nx-card__meta { display: flex; align-items: center; gap: 6px; margin-top: -4px; font-size: 12.5px; color: var(--nx-dim); min-width: 0; }
.nx-card__meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-card__action { height: 36px; font-size: 13px; }
.nx-card--compact .nx-card__media { aspect-ratio: 3 / 4; }
.nx-card--compact .nx-card__title { font-size: 13.5px; }

/* ── Save (bookmark) ──────────────────────────────────────── */
.nx-save {
    position: absolute; top: 8px; right: 8px; z-index: 4;
    display: grid; place-items: center; width: 34px; height: 34px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.5); color: #fff;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    cursor: pointer; transition: background .2s, transform .2s var(--nx-ease), color .2s;
}
.nx-save:hover { background: rgba(0,0,0,.75); transform: scale(1.06); }
.nx-save.is-saved { color: var(--nx-red); background: #fff; border-color: #fff; }
.nx-save.is-busy { opacity: .6; pointer-events: none; }
.nx-save__on, .is-saved .nx-save__off { display: none; }
.is-saved .nx-save__on { display: inline-flex; align-items: center; gap: 8px; }
.nx-save__off { display: inline-flex; align-items: center; gap: 8px; }
.nx-save-btn.is-saved { color: var(--nx-red); border-color: rgba(255,36,56,.4); }

.nx-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 2000;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
    display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px);
    padding: 12px 18px; border-radius: 999px;
    background: #fff; color: #111; font: 600 14px/1.3 var(--nx-font);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
    transition: opacity .2s, transform .25s var(--nx-ease);
}
.nx-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.nx-toast a { color: var(--nx-red); text-decoration: underline; white-space: nowrap; }

/* ============================================================
   EXPLORE
   ============================================================ */
.nx-banner {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: 20px;
    border-radius: var(--nx-r-xl);
    border: 1px solid var(--nx-border);
    background: #0d0d10;
    padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px);
    min-height: 260px;
    display: flex; flex-direction: column; justify-content: center;
}
.nx-banner__media { position: absolute; top: 0; right: 0; bottom: 0; width: 55%; z-index: -2; }
.nx-banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.nx-banner::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #0d0d10 45%, rgba(13,13,16,.7) 62%, rgba(13,13,16,.1) 100%);
}
.nx-banner__title { font: 800 clamp(30px, 4.2vw, 48px)/1.05 var(--nx-font); letter-spacing: -0.03em; max-width: 640px; margin-bottom: 12px; text-wrap: balance; }
.nx-banner__desc { color: var(--nx-muted); font-size: 15px; margin-bottom: 26px; max-width: 520px; }
.nx-banner .nx-eyebrow { margin-bottom: 12px; }
.nx-banner .nx-stat__n { font-size: 22px; }
@media (max-width: 760px) {
    .nx-banner__media { width: 100%; opacity: .35; }
    .nx-banner::before { background: linear-gradient(90deg, #0d0d10 20%, rgba(13,13,16,.6)); }
}

.nx-explore { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; margin-top: 28px; padding-bottom: 72px; align-items: start; }
.nx-explore > *, .nx-detail > * { min-width: 0; }
.nx-sidebar { position: sticky; top: calc(var(--nx-header-h) + 20px); max-height: calc(100vh - var(--nx-header-h) - 40px); overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.nx-sidebar::-webkit-scrollbar { display: none; }
.nx-sidebar__toggle { display: none; }
.nx-fgroup { padding: 18px 0; border-bottom: 1px solid var(--nx-border); }
.nx-fgroup:first-child { padding-top: 0; }
.nx-fgroup:last-child { border-bottom: 0; }
.nx-fgroup__title { display: block; font: 700 12px/1 var(--nx-font); letter-spacing: .08em; text-transform: uppercase; color: var(--nx-dim); margin-bottom: 10px; }
.nx-fitem {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; margin: 0 -10px;
    border-radius: var(--nx-r-sm);
    font-size: 14px; color: var(--nx-muted);
    transition: background .15s, color .15s;
}
.nx-fitem:hover { background: var(--nx-surface-2); color: var(--nx-text); }
.nx-fitem__dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--nx-border-2); flex-shrink: 0; transition: border-color .15s, background .15s; }
.nx-fitem__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-fitem__n { font-size: 12px; color: var(--nx-dim); font-variant-numeric: tabular-nums; }
.nx-fitem.is-active { background: var(--nx-red-soft); color: var(--nx-text); }
.nx-fitem.is-active .nx-fitem__dot { border-color: var(--nx-red); background: radial-gradient(circle, var(--nx-red) 45%, transparent 50%); }
.nx-fitem.is-active .nx-fitem__n { color: var(--nx-red); }
.nx-flist--collapsed .nx-fitem:nth-child(n+7):not(.is-active) { display: none; }
.nx-fempty { font-size: 13px; color: var(--nx-dim); padding: 4px 0; }
.nx-sort-mobile { display: none; }
@media (max-width: 960px) { .nx-sort-mobile { display: block; } }
.nx-fmore { margin-top: 4px; font: 600 13px/1 var(--nx-font); color: var(--nx-red); padding: 6px 0; }

.nx-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nx-toolbar .nx-chips { flex: 1; min-width: 0; }
.nx-toolbar__search { position: relative; width: 240px; flex-shrink: 0; }
.nx-toolbar__search .nx-search__input { height: 36px; font-size: 13px; }
.nx-resultbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.nx-resultbar__info { font-size: 14px; color: var(--nx-muted); }
.nx-resultbar__info strong { color: var(--nx-text); }
.nx-active-filters { display: inline-flex; gap: 6px; flex-wrap: wrap; margin-left: 8px; vertical-align: middle; }
.nx-active-filters a { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--nx-surface-2); border: 1px solid var(--nx-border); font-size: 12px; color: var(--nx-text); }
.nx-active-filters a:hover { border-color: var(--nx-red); }
.nx-select {
    height: 36px; padding: 0 34px 0 12px;
    border-radius: var(--nx-r-sm);
    border: 1px solid var(--nx-border);
    background: var(--nx-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: var(--nx-text);
    font: 500 13px/1 var(--nx-font);
    -webkit-appearance: none; appearance: none;
    cursor: pointer;
}
.nx-select:focus { outline: none; border-color: rgba(255,36,56,.5); }

.nx-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.nx-pager a, .nx-pager span {
    display: inline-grid; place-items: center;
    min-width: 38px; height: 38px; padding: 0 10px;
    border-radius: var(--nx-r-sm);
    border: 1px solid var(--nx-border);
    background: var(--nx-surface);
    font: 600 13px/1 var(--nx-font); color: var(--nx-muted);
    transition: all .15s;
}
.nx-pager a:hover { color: var(--nx-text); border-color: var(--nx-border-2); }
.nx-pager .is-active { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }
.nx-pager .is-gap { border: 0; background: none; min-width: 20px; }

.nx-empty { text-align: center; padding: 72px 20px; border: 1px dashed var(--nx-border-2); border-radius: var(--nx-r-lg); }
.nx-empty__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--nx-surface-2); color: var(--nx-dim); margin-bottom: 16px; }
.nx-empty h3 { font: 700 18px/1.3 var(--nx-font); margin-bottom: 6px; }
.nx-empty p { color: var(--nx-muted); margin-bottom: 20px; font-size: 14px; }

@media (max-width: 960px) {
    .nx-explore { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
    .nx-sidebar { position: static; max-height: none; overflow: visible; margin-bottom: 16px; }
    .nx-sidebar__toggle {
        display: flex; width: 100%; align-items: center; justify-content: space-between;
        height: 44px; padding: 0 16px;
        border-radius: var(--nx-r);
        border: 1px solid var(--nx-border); background: var(--nx-surface);
        font: 600 14px/1 var(--nx-font); color: var(--nx-text);
    }
    .nx-sidebar__toggle-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--nx-red); font-size: 12px; }
    .nx-sidebar__panel { display: none; margin-top: 10px; padding: 18px; border-radius: var(--nx-r); border: 1px solid var(--nx-border); background: var(--nx-surface); }
    .nx-sidebar.is-open .nx-sidebar__panel { display: block; }
    .nx-toolbar { flex-direction: column; align-items: stretch; }
    .nx-toolbar__search { width: 100%; }
}

/* ============================================================
   DETAIL
   ============================================================ */
.nx-back { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 18px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--nx-surface-2); border: 1px solid var(--nx-border); font: 500 13px/1 var(--nx-font); color: var(--nx-muted); }
.nx-back:hover { color: var(--nx-text); border-color: var(--nx-border-2); }

.nx-detail { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.nx-stage {
    position: relative;
    border-radius: var(--nx-r-lg);
    overflow: hidden;
    background: #050506;
    border: 1px solid var(--nx-border);
    display: grid; place-items: center;
    min-height: 420px;
    max-height: calc(100vh - var(--nx-header-h) - 150px);
}
.nx-stage__img, .nx-stage__video { display: block; max-width: 100%; max-height: calc(100vh - var(--nx-header-h) - 150px); width: auto; height: auto; object-fit: contain; }
.nx-stage__video { width: 100%; background: #000; }
.nx-stage__embed { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.nx-stage__bg { position: absolute; inset: -40px; z-index: 0; background-size: cover; background-position: center; filter: blur(40px) brightness(.35); transform: scale(1.1); }
.nx-stage > :not(.nx-stage__bg) { position: relative; z-index: 1; }
.nx-stage__tools { position: absolute !important; top: 14px; right: 14px; z-index: 3 !important; display: flex; gap: 6px; }
.nx-stage__tool {
    display: grid; place-items: center; width: 36px; height: 36px;
    border-radius: var(--nx-r-sm);
    background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff;
}
.nx-stage__tool:hover { background: rgba(0,0,0,.8); }
.nx-stage__arrow {
    position: absolute !important; top: 50%; z-index: 3 !important;
    width: 44px; height: 44px; margin-top: -22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    color: #fff;
    transition: background .2s, transform .2s;
}
.nx-stage__arrow:hover { background: var(--nx-red); border-color: var(--nx-red); }
.nx-stage__arrow--prev { left: 14px; }
.nx-stage__arrow--next { right: 14px; }
.nx-stage__count { position: absolute !important; left: 14px; bottom: 14px; z-index: 3 !important; }
.nx-stage__wm { position: absolute !important; z-index: 4 !important; pointer-events: none; font: 700 13px/1 var(--nx-font); letter-spacing: .05em; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.7); white-space: nowrap; }

.nx-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.nx-thumbs::-webkit-scrollbar { display: none; }
.nx-thumb { flex: 0 0 auto; width: 84px; aspect-ratio: 1; border-radius: var(--nx-r-sm); overflow: hidden; border: 2px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; background: var(--nx-surface-2); }
.nx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nx-thumb:hover { opacity: .9; }
.nx-thumb.is-active { border-color: var(--nx-red); opacity: 1; }

.nx-panel {
    position: sticky; top: calc(var(--nx-header-h) + 20px);
    border-radius: var(--nx-r-lg);
    border: 1px solid var(--nx-border);
    background: var(--nx-surface);
    padding: 22px;
}
.nx-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font: 600 12px/1 var(--nx-font); color: var(--nx-dim); text-transform: uppercase; letter-spacing: .08em; }
.nx-panel__type { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-red); }
.nx-panel__title { font: 800 26px/1.15 var(--nx-font); letter-spacing: -0.02em; margin-bottom: 14px; text-wrap: balance; }
.nx-panel__author { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; color: var(--nx-muted); }
.nx-panel__author a { color: var(--nx-text); font-weight: 600; }
.nx-panel__author a:hover { color: var(--nx-red); }
.nx-panel__desc { font-size: 14px; line-height: 1.6; color: var(--nx-muted); margin: -4px 0 18px; }

.nx-prompt { border-radius: var(--nx-r); border: 1px solid var(--nx-border); background: var(--nx-bg); padding: 14px; margin-bottom: 18px; }
.nx-prompt__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; font: 700 11px/1 var(--nx-font); letter-spacing: .08em; text-transform: uppercase; color: var(--nx-dim); }
.nx-prompt__model { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--nx-muted); }
.nx-prompt__text { font: 400 13px/1.65 var(--nx-mono); color: rgba(245,245,246,.88); white-space: pre-wrap; word-break: break-word; max-height: 240px; overflow-y: auto; margin-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--nx-surface-3) transparent; }
.nx-prompt__text em { color: var(--nx-dim); font-family: var(--nx-font); }
.nx-prompt--locked { text-align: center; padding: 22px 16px; }
.nx-prompt--locked p { font-size: 13px; color: var(--nx-muted); margin: 8px 0 14px; }

.nx-meta { display: grid; gap: 0; margin-bottom: 18px; }
.nx-meta__row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--nx-border); font-size: 13.5px; }
.nx-meta__row:last-child { border-bottom: 0; }
.nx-meta__row dt { color: var(--nx-dim); }
.nx-meta__row dd { font-weight: 600; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-meta__row dd a:hover { color: var(--nx-red); }

.nx-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.nx-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 6px; background: var(--nx-surface-2); border: 1px solid var(--nx-border); font: 500 12.5px/1 var(--nx-font); color: var(--nx-muted); }
.nx-tag:hover { color: var(--nx-text); border-color: var(--nx-border-2); }
.nx-panel__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.nx-panel__actions .nx-btn--block { grid-column: 1 / -1; }

@media (max-width: 1080px) {
    .nx-detail { grid-template-columns: 1fr; }
    .nx-panel { position: static; }
    .nx-stage { max-height: none; }
    .nx-stage__img { max-height: 78vh; }
}
@media (max-width: 560px) {
    .nx-stage { min-height: 280px; border-radius: var(--nx-r); }
    .nx-stage__arrow { width: 38px; height: 38px; margin-top: -19px; }
    .nx-thumb { width: 64px; }
    .nx-panel { padding: 18px; }
    .nx-panel__title { font-size: 22px; }
}

/* ============================================================
   PROFILE
   ============================================================ */
.nx-profile { padding-bottom: 72px; }
.nx-profile__head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0 22px; padding: 24px; border-radius: var(--nx-r-xl); border: 1px solid var(--nx-border); background: radial-gradient(120% 160% at 0% 0%, rgba(255,36,56,.16), transparent 55%), var(--nx-surface); }
.nx-avatar--xl { width: 96px; height: 96px; font-size: 36px; }
.nx-profile__avatar { position: relative; flex-shrink: 0; }
.nx-profile__avatar-edit { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nx-red); color: #fff; border: 3px solid var(--nx-surface); cursor: pointer; overflow: hidden; }
.nx-profile__avatar-edit input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.nx-profile__info { flex: 1; min-width: 220px; }
.nx-profile__name { font: 800 clamp(24px, 3.4vw, 32px)/1.1 var(--nx-font); letter-spacing: -.02em; overflow-wrap: anywhere; }
.nx-profile__name .nx-verified { margin-left: 6px; vertical-align: 1px; }
.nx-profile__meta { color: var(--nx-muted); font-size: 14px; margin: 6px 0 14px; overflow-wrap: anywhere; }
.nx-profile__stats { display: flex; gap: 28px; }
.nx-profile__stats dt { font-size: 12.5px; color: var(--nx-dim); order: 2; }
.nx-profile__stats div { display: flex; flex-direction: column-reverse; }
.nx-profile__stats dd { font: 800 22px/1.1 var(--nx-font); }
.nx-profile__stats small { font-size: 13px; font-weight: 500; color: var(--nx-dim); }
.nx-profile__logout { align-self: flex-start; }
.nx-profile__tabs { margin-bottom: 20px; }
.nx-profile__tabtitle { margin-bottom: 18px; }
.nx-notice { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 22px; border-radius: var(--nx-r-lg); border: 1px solid rgba(255,36,56,.35); background: rgba(255,36,56,.08); }
.nx-notice__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nx-red-soft); color: var(--nx-red); flex-shrink: 0; }
.nx-notice__text { flex: 1; min-width: 200px; }
.nx-notice__text p { color: var(--nx-muted); font-size: 14px; }
@media (max-width: 560px) {
    .nx-profile__head { padding: 18px; gap: 16px; }
    .nx-avatar--xl { width: 72px; height: 72px; font-size: 28px; }
    .nx-profile__logout { width: 100%; }
}

.nx-share { margin-bottom: 22px; border-radius: var(--nx-r-lg); border: 1px solid var(--nx-border); background: var(--nx-surface); }
.nx-share summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.nx-share summary::-webkit-details-marker { display: none; }
.nx-share summary > svg:last-child { margin-left: 8px; transition: transform .2s; }
.nx-share[open] summary > svg:last-child { transform: rotate(180deg); }
.nx-share__state { margin-left: auto; font: 600 12px/1 var(--nx-font); padding: 5px 10px; border-radius: 999px; background: var(--nx-surface-2); color: var(--nx-muted); }
.nx-share__state.is-on { background: rgba(34,197,94,.15); color: #4ade80; }
.nx-share__body { border-top: 1px solid var(--nx-border); }
.nx-share__row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--nx-border); }
.nx-share__row:last-child { border-bottom: 0; }
.nx-share__row p { color: var(--nx-muted); font-size: 13px; margin-top: 4px; }
.nx-share__link { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 4px 4px 4px 12px; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-border); background: var(--nx-bg); }
.nx-share__link input { flex: 1; min-width: 0; border: 0; background: none; color: var(--nx-text); font: 400 14px/1 var(--nx-font); height: 32px; outline: none; }
.nx-share__link:focus-within { border-color: rgba(255,36,56,.5); }
.nx-share__prefix { color: var(--nx-dim); font-size: 14px; }
.nx-switch { position: relative; flex-shrink: 0; width: 44px; height: 24px; }
.nx-switch input { opacity: 0; width: 0; height: 0; }
.nx-switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--nx-surface-3); border: 1px solid var(--nx-border-2); cursor: pointer; transition: background .2s; }
.nx-switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--nx-ease); }
.nx-switch input:checked + span { background: var(--nx-red); border-color: var(--nx-red); }
.nx-switch input:checked + span::after { transform: translateX(20px); }
.nx-switch input:focus-visible + span { outline: 2px solid var(--nx-red); outline-offset: 2px; }
.nx-profile__public-note { display: flex; align-items: center; gap: 8px; color: var(--nx-muted); font-size: 14px; margin-bottom: 18px; }

/* ── Dialogs (lightbox, prompt request) ───────────────────── */
.nx-dialog { border: 0; padding: 0; background: transparent; color: var(--nx-text); max-width: none; max-height: none; }
.nx-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nx-dialog--light { width: 100vw; height: 100vh; }
.nx-dialog--light[open] { display: grid; place-items: center; }
.nx-dialog--light img { max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: var(--nx-r-sm); }
.nx-dialog__close { position: fixed; top: 16px; right: 16px; }
.nx-modal { width: min(480px, calc(100vw - 32px)); border-radius: var(--nx-r-lg); border: 1px solid var(--nx-border-2); background: var(--nx-surface); padding: 24px; }
.nx-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.nx-modal__title { font: 700 17px/1.3 var(--nx-font); }
.nx-modal__sub { font-size: 13.5px; color: var(--nx-muted); line-height: 1.6; margin-bottom: 18px; }
.nx-textarea { width: 100%; min-height: 96px; resize: vertical; padding: 12px; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-border); background: var(--nx-bg); color: var(--nx-text); font: 400 14px/1.5 var(--nx-font); margin-bottom: 16px; }
.nx-textarea:focus { outline: none; border-color: rgba(255,36,56,.5); }
.nx-modal__actions { display: flex; gap: 10px; }
.nx-modal__actions .nx-btn:first-child { flex: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.nx-footer { margin-top: 24px; border-top: 1px solid var(--nx-border); background: #070708; }
.nx-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 32px; padding: 48px 0 32px; }
.nx-footer__brand > a { display: inline-block; margin-bottom: 14px; }
.nx-footer__brand .nx-logo__img { height: 28px; }
.nx-footer__brand p { font-size: 13.5px; line-height: 1.6; color: var(--nx-dim); max-width: 260px; margin-bottom: 18px; }
.nx-social { display: flex; gap: 8px; }
.nx-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nx-surface-2); border: 1px solid var(--nx-border); color: var(--nx-muted); transition: all .2s; }
.nx-social a:hover { color: #fff; background: var(--nx-red); border-color: var(--nx-red); }
.nx-footer__col h4 { font: 700 13px/1 var(--nx-font); margin-bottom: 16px; }
.nx-footer__col a { display: block; font-size: 13.5px; color: var(--nx-dim); padding: 5px 0; transition: color .15s; }
.nx-footer__col a:hover { color: var(--nx-text); }
.nx-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; flex-wrap: wrap; margin-bottom: 28px; padding: 18px 22px; border-radius: 16px; background: var(--nx-surface-2); border: 1px solid var(--nx-border); }
.nx-footer__cta h4 { flex: 1 1 100%; font: 700 14px/1.2 var(--nx-font); margin: 0; }
.nx-footer__cta p { flex: 1 1 280px; font-size: 13px; color: var(--nx-dim); line-height: 1.55; margin: 0; }
.nx-footer__cta .nx-btn { flex: 0 0 auto; }
.nx-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 0 26px; border-top: 1px solid var(--nx-border); font-size: 12.5px; color: var(--nx-dim); }
.nx-footer__bottom a:hover { color: var(--nx-text); }
@media (max-width: 1000px) {
    .nx-footer__grid { grid-template-columns: repeat(4, 1fr); }
    .nx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .nx-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .nx-footer__cta { padding: 16px; }
}

/* ── Legacy page harmonisation ─────────────────────────────── */
.flash { max-width: var(--nx-wrap); margin: 16px auto 0; border-radius: var(--nx-r); border: 1px solid; }
@media (max-width: 1392px) { .flash { margin-left: var(--nx-gutter); margin-right: var(--nx-gutter); } }
.input, .select { background: var(--nx-surface-2); border-color: var(--nx-border); }
.input:focus, .select:focus { border-color: rgba(255,36,56,.5); }

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

/* ============================================================
   ALBUM-GRUPPEN (3.3) — Hauptnavigation als Klappmenü
   ============================================================ */
/* Klapptext / Accordion (details/summary) */
.nx-acc { border-bottom: 1px solid var(--nx-border); }
.nx-acc:last-of-type { border-bottom: 0; }
.nx-acc__sum {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 4px; cursor: pointer; list-style: none; user-select: none;
    font: 700 12.5px/1 var(--nx-font); letter-spacing: .08em; text-transform: uppercase;
    color: var(--nx-muted); transition: color .15s;
}
.nx-acc__sum::-webkit-details-marker { display: none; }
.nx-acc__sum:hover, .nx-acc[open] > .nx-acc__sum { color: var(--nx-text); }
.nx-acc__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nx-acc__n { font: 500 12px/1 var(--nx-font); letter-spacing: 0; text-transform: none; color: var(--nx-dim); font-variant-numeric: tabular-nums; }
.nx-acc__sum svg { flex-shrink: 0; color: var(--nx-dim); transition: transform .2s var(--nx-ease); }
.nx-acc[open] > .nx-acc__sum svg { transform: rotate(180deg); color: var(--nx-red); }
.nx-acc__list { display: grid; gap: 2px; padding: 0 0 12px; }
.nx-acc__item {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 9px 10px; border-radius: var(--nx-r-sm);
    font: 500 14px/1.2 var(--nx-font); color: var(--nx-muted); transition: background .15s, color .15s;
}
.nx-acc__item:hover { background: var(--nx-surface-2); color: var(--nx-text); }
.nx-acc__item.is-active { background: var(--nx-red-soft); color: var(--nx-text); }
.nx-acc__item.is-active .nx-acc__n { color: var(--nx-red); }
.nx-acc__all {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 8px; padding: 12px 10px 4px; border-top: 1px solid var(--nx-border);
    font: 600 13.5px/1 var(--nx-font); color: var(--nx-text);
}
.nx-acc__all:hover { color: var(--nx-red); }
@media (prefers-reduced-motion: reduce) { .nx-acc__sum svg { transition: none; } }

/* Desktop: "Alben" in der Hauptnavigation */
.nx-navdd { position: relative; }
.nx-navdd__btn { gap: 4px; background: none; border: 0; cursor: pointer; }
.nx-navdd__btn svg { transition: transform .2s var(--nx-ease); }
.nx-navdd__btn[aria-expanded="true"] { color: var(--nx-text); }
.nx-navdd__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.nx-navdd__panel {
    position: absolute; top: calc(var(--nx-header-h) - 6px); left: -8px; z-index: 120;
    width: 300px; max-height: min(70vh, 560px); overflow-y: auto;
    padding: 8px 14px 12px;
    background: var(--nx-surface); border: 1px solid var(--nx-border-2); border-radius: var(--nx-r-lg);
    box-shadow: 0 24px 60px -18px rgba(0,0,0,.75);
    scrollbar-width: thin;
}
.nx-navdd__panel[hidden] { display: none; }

/* Mobile: Drawer */
.nx-drawer__dd { border-bottom: 1px solid var(--nx-border); }
.nx-drawer__dd > summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 4px; list-style: none; cursor: pointer;
    font: 600 17px/1 var(--nx-font); color: var(--nx-muted);
}
.nx-drawer__dd > summary::-webkit-details-marker { display: none; }
.nx-drawer__dd > summary.is-active, .nx-drawer__dd[open] > summary { color: var(--nx-text); }
.nx-drawer__dd > summary svg { transition: transform .2s var(--nx-ease); }
.nx-drawer__dd[open] > summary svg { transform: rotate(180deg); color: var(--nx-red); }
.nx-drawer__ddbody { padding: 0 4px 14px 12px; }
.nx-drawer__nav .nx-drawer__ddbody a { border-bottom: 0; padding: 10px; font: 500 15px/1.2 var(--nx-font); }
.nx-drawer__nav .nx-drawer__ddbody a.is-active::after { content: none; }
.nx-drawer__nav .nx-drawer__ddbody .nx-acc__all { padding: 14px 10px 4px; font-weight: 600; }

/* Entdecken: Alben-Filter als Klapptexte */
.nx-acc--side .nx-acc__sum { padding: 10px 2px; font-size: 11.5px; }
.nx-acc--side .nx-acc__list { padding-bottom: 8px; }

/* Seite ?page=albums */
.nx-albpage__head { padding: 48px 0 20px; }
.nx-albpage__title { font: 800 clamp(32px, 5vw, 48px)/1.05 var(--nx-font); letter-spacing: -.03em; margin: 10px 0 10px; }
.nx-albpage__desc { color: var(--nx-muted); max-width: 560px; font-size: 16px; line-height: 1.6; }
.nx-albpage { padding-bottom: 72px; }
.nx-acc--page { border-bottom: 1px solid var(--nx-border); }
.nx-acc--page:last-of-type { border-bottom: 0; }
.nx-acc--page > .nx-acc__sum { padding: 22px 2px; font-size: 15px; }
.nx-acc--page > .nx-acc__sum svg { width: 20px; height: 20px; }
.nx-albgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; padding: 0 0 26px; }
@media (max-width: 560px) { .nx-albgrid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Sub-albums (third level) */
.nx-acc__item--sub { padding-left: 26px; font-size: 13px; position: relative; }
.nx-acc__item--sub::before { content: ''; position: absolute; left: 14px; top: 50%; width: 6px; height: 1px; background: var(--nx-border); }
.nx-fitem--sub { padding-left: 26px; font-size: 13px; }
.nx-album--sub .nx-catcard__title { font-size: .95em; }
.nx-subalbums { margin: 14px 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Reference models (3.8.0) ── */
.nx-ptype { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.5; background: rgba(255,255,255,.08); color: var(--nx-muted); vertical-align: middle; }
.nx-ptype--ai { background: rgba(120,140,255,.16); color: #a9b6ff; }
.nx-ptype--real { background: rgba(255,120,150,.16); color: #ff9db3; }
.nx-ptype--none { border: 1px dashed var(--nx-border); background: transparent; }
.nx-meta__people { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: flex-end; text-align: right; }
.nx-person { display: inline-flex; align-items: center; gap: 6px; }
.nx-person__untag { display: inline; margin: 0; }
.nx-person__x { border: 0; background: transparent; color: var(--nx-dim); cursor: pointer; font-size: 16px; line-height: 1; padding: 0 2px; }
.nx-person__x:hover { color: var(--nx-text, #fff); }
.nx-profile__tagnote { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--nx-muted); font-size: 13px; }

/* ── Reference model list + contact (3.9.0) ── */
.nx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nx-people__head { padding: 22px 0 10px; }
.nx-people__title { font-size: 26px; margin: 0 0 6px; }
.nx-people__lead { color: var(--nx-muted); margin: 0 0 10px; max-width: 62ch; font-size: 14.5px; }
.nx-people__consent { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 12.5px; }
.nx-people__n { opacity: .6; font-size: 12px; margin-left: 4px; }
.nx-people__grid { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 8px; }

.nx-pcard { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--nx-border); border-radius: 12px; background: var(--nx-surface); text-align: left; text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
.nx-pcard:hover, .nx-pcard:focus-visible { transform: translateY(-1px); border-color: rgba(255,255,255,.3); }
.nx-pcard .nx-avatar { flex: none; }
.nx-pcard__txt { display: grid; gap: 3px; min-width: 0; }
.nx-pcard__name { overflow-wrap: anywhere; font-size: 14px; line-height: 1.25; }
.nx-pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.nx-pcard__n { color: var(--nx-dim); font-size: 12px; }

/* ── Albums inside profiles (3.9.4) ── */
.nx-profalb { margin: 4px 0 28px; }
.nx-profalb__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--nx-muted); }
.nx-profalb__n { font-size: 12px; opacity: .6; }
.nx-profalb__grid { padding-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════
   KINO (3.10.0) — Hero, Poster-Wand, Theater-Modus
   ═══════════════════════════════════════════════════════════════════ */
body.nx-cinema { background: #050507; }
.nx-cin-note { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; font-size: 13px; color: #ffd9de; background: rgba(255,36,56,.16); border-bottom: 1px solid rgba(255,36,56,.35); text-align: center; }

.nx-cin-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(245,245,246,.78); }
.nx-cin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-red); box-shadow: 0 0 0 4px var(--nx-red-soft), 0 0 18px var(--nx-red-glow); animation: nxCinPulse 2.4s ease-in-out infinite; }
@keyframes nxCinPulse { 50% { box-shadow: 0 0 0 7px rgba(255,36,56,.06), 0 0 26px var(--nx-red-glow); } }

/* Hero */
.nx-cin-hero { position: relative; isolation: isolate; min-height: clamp(520px, 78vh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #050507; }
.nx-cin-hero--empty { min-height: clamp(380px, 56vh, 560px); align-items: center; background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255,36,56,.22), transparent 60%), #050507; }
.nx-cin-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; animation: nxCinZoom 28s ease-out both; transform-origin: 60% 40%; }
@keyframes nxCinZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.nx-cin-hero__shade { position: absolute; inset: 0; z-index: -2; background:
    linear-gradient(0deg, #050507 2%, rgba(5,5,7,.78) 28%, rgba(5,5,7,.12) 62%, rgba(5,5,7,.5) 100%),
    linear-gradient(90deg, rgba(5,5,7,.86) 0%, rgba(5,5,7,.4) 46%, transparent 78%); }
.nx-cin-hero::before, .nx-cin-hero::after { content: ''; position: absolute; left: 0; right: 0; height: 22px; background: #000; z-index: 1; }   /* Letterbox */
.nx-cin-hero::before { top: 0; } .nx-cin-hero::after { bottom: 0; }
.nx-cin-hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: nxCinGrain 1.2s steps(6) infinite; }
@keyframes nxCinGrain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.nx-cin-hero__inner { position: relative; padding-top: 120px; padding-bottom: clamp(56px, 9vh, 96px); }
.nx-cin-hero__title { margin: 0; max-width: 900px; font-size: clamp(40px, 7.6vw, 104px); line-height: .95; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.nx-cin-hero__tag { margin: 18px 0 0; max-width: 620px; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; color: rgba(245,245,246,.82); }
.nx-cin-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .06em; color: rgba(245,245,246,.7); }
.nx-cin-hero__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--nx-red); }
.nx-cin-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Sections */
.nx-cin-section { padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(28px, 5vw, 56px); }
.nx-cin-h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 22px; font-size: 13px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: rgba(245,245,246,.86); }
.nx-cin-h2 span { color: var(--nx-red); font-weight: 700; letter-spacing: .08em; }
.nx-cin-h2::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--nx-border-2), transparent); }

/* Poster wall */
.nx-posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.nx-posters--row { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.nx-poster { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.nx-poster__frame { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; background: #0d0d10; border: 1px solid var(--nx-border); box-shadow: 0 14px 36px -16px rgba(0,0,0,.9); transition: transform .45s var(--nx-ease), box-shadow .45s var(--nx-ease), border-color .3s; }
.nx-poster__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--nx-ease), filter .4s; }
.nx-poster__frame img.is-still { object-position: center; }
.nx-poster:hover .nx-poster__frame, .nx-poster:focus-visible .nx-poster__frame { transform: translateY(-6px) scale(1.02); border-color: rgba(255,36,56,.55); box-shadow: 0 26px 50px -18px rgba(0,0,0,.95), 0 0 0 1px rgba(255,36,56,.25), 0 18px 60px -22px var(--nx-red-glow); }
.nx-poster:hover img { transform: scale(1.06); }
.nx-poster.is-soon img { filter: saturate(.75) brightness(.8); }
.nx-poster__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,7,.65), transparent 45%); opacity: 0; transition: opacity .3s; }
.nx-poster:hover .nx-poster__frame::after { opacity: 1; }
.nx-poster__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 18px; text-align: center; color: var(--nx-dim); font-weight: 700; font-size: 14px; background: radial-gradient(ellipse at 50% 20%, rgba(255,36,56,.16), transparent 60%), #0d0d10; }
.nx-poster__badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--nx-red); box-shadow: 0 6px 18px -6px var(--nx-red-glow); }
.nx-poster__badge--soon { background: rgba(0,0,0,.7); border: 1px solid var(--nx-border-2); backdrop-filter: blur(6px); }
.nx-poster__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255,36,56,.92); box-shadow: 0 10px 40px -8px var(--nx-red-glow); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .35s var(--nx-ease); }
.nx-poster:hover .nx-poster__play, .nx-poster:focus-visible .nx-poster__play { opacity: 1; transform: scale(1); }
.nx-poster__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.nx-poster__meta { font-size: 12.5px; color: var(--nx-dim); margin-top: -6px; }

/* Theater (film page) */
.nx-theater { position: relative; isolation: isolate; padding: 26px 0 8px; overflow: hidden; }
.nx-theater__ambient { position: absolute; inset: -40px; z-index: -1; background-size: cover; background-position: center; filter: blur(70px) saturate(1.5); opacity: .35; transform: scale(1.1); transition: opacity .8s; }
.nx-theater__inner { position: relative; }
.nx-cin-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--nx-muted); text-decoration: none; }
.nx-cin-back:hover { color: var(--nx-text); }
.nx-screen { position: relative; z-index: 60; max-width: 1180px; margin: 0 auto; }
.nx-screen__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--nx-border-2); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 0 6px #000, 0 0 0 7px var(--nx-border), 0 30px 120px -40px var(--nx-red-glow); }
.nx-screen__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx-screen__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,.05), rgba(0,0,0,.55)); pointer-events: none; }
.nx-screen__stage.is-playing .nx-screen__img, .nx-screen__stage.is-playing .nx-screen__shade, .nx-screen__stage.is-playing .nx-screen__play { display: none; }
.nx-screen__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nx-screen__play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: transparent; border: 0; color: #fff; cursor: pointer; }
.nx-screen__play span { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: var(--nx-red); box-shadow: 0 0 0 10px rgba(255,36,56,.18), 0 18px 60px -10px var(--nx-red-glow); transition: transform .3s var(--nx-ease), box-shadow .3s; }
.nx-screen__play span svg { margin-left: 5px; }
.nx-screen__play:hover span, .nx-screen__play:focus-visible span { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,36,56,.14), 0 18px 70px -8px var(--nx-red-glow); }
.nx-screen__play em { font-style: normal; font-weight: 700; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.nx-screen__soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; color: rgba(245,245,246,.9); }
.nx-screen__soon strong { font-size: clamp(20px, 3vw, 34px); letter-spacing: .14em; text-transform: uppercase; }
.nx-screen__soon span { color: var(--nx-muted); font-size: 14px; }
.nx-screen__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.nx-screen__hint { flex: 1 1 320px; font-size: 12px; line-height: 1.5; color: var(--nx-dim); }
.nx-screen__btns { display: inline-flex; gap: 8px; }

/* Lights off */
.nx-lights { position: fixed; inset: 0; z-index: 50; background: #000; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
body.nx-lights-off .nx-lights { opacity: .93; pointer-events: auto; cursor: pointer; }
body.nx-lights-off .nx-theater__ambient { opacity: .6; }
body.nx-lights-off { overflow-x: hidden; }

/* Film details */
.nx-film { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); max-width: 1180px; margin: clamp(32px, 5vw, 56px) auto 0; padding-bottom: 28px; }
.nx-film__title { margin: 0; font-size: clamp(30px, 4.6vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; }
.nx-film__tag { margin: 14px 0 0; font-size: clamp(16px, 1.5vw, 19px); color: rgba(245,245,246,.82); line-height: 1.5; }
.nx-film__desc { margin-top: 24px; max-width: 70ch; font-size: 16px; line-height: 1.75; color: rgba(245,245,246,.78); }
.nx-film__credits { align-self: start; padding: 22px 22px 8px; border: 1px solid var(--nx-border); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.nx-film__credits h2 { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--nx-red-h); }
.nx-film__credits dl { margin: 0; }
.nx-film__credits dl > div { display: grid; gap: 2px; padding: 11px 0; border-top: 1px solid var(--nx-border); }
.nx-film__credits dt { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-dim); }
.nx-film__credits dd { margin: 0; font-size: 15px; font-weight: 600; }
.nx-film__credits dd.is-solo { font-weight: 500; }

@media (max-width: 860px) {
    .nx-film { grid-template-columns: 1fr; }
    .nx-cin-hero { min-height: clamp(480px, 74vh, 700px); }
    .nx-cin-hero__inner { padding-top: 90px; }
    .nx-screen__play span { width: 72px; height: 72px; }
    .nx-posters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-posters--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .nx-cin-hero__img, .nx-cin-hero__grain, .nx-cin-dot { animation: none; }
    .nx-poster__frame, .nx-poster__frame img, .nx-lights { transition: none; }
}

/* Installierte App (PWA): Zurück-Knopf, da es keine Browser-Leiste gibt */
.nx-appback { display: none; }
.is-pwa .nx-appback {
  display: inline-flex; align-items: center; justify-content: center;
  position: fixed; z-index: 90; left: 12px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 46px; height: 46px; border-radius: 50%; padding: 0; cursor: pointer;
  background: rgba(20,20,24,.82); color: var(--nx-text, #fff);
  border: 1px solid var(--nx-border-2, rgba(255,255,255,.18));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
}
.is-pwa .nx-appback:active { transform: scale(.94); }
body.nx-lights-off .nx-appback { z-index: 1; }

/* Startseite: kurzer Beschreibungstext (SEO) */
.nx-about { padding-top: 8px; padding-bottom: 8px; }
.nx-about__text { max-width: 760px; margin: 0; color: var(--nx-muted); font-size: 14.5px; line-height: 1.7; }

/* Making-of (3.12.0) */
.mo-intro { padding-bottom: 0; }
.mo-h1 { margin: 6px 0 12px; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.mo-lead { max-width: 760px; margin: 0; color: var(--nx-muted); font-size: 16px; line-height: 1.65; }
.mo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.mo-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-r-lg); overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.mo-card:hover, .mo-card:focus-visible { transform: translateY(-4px); border-color: rgba(255,36,56,.5); box-shadow: 0 22px 44px -22px rgba(0,0,0,.9); }
.mo-card__img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--nx-surface-2); overflow: hidden; }
.mo-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mo-card:hover .mo-card__img img { transform: scale(1.04); }
.mo-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--nx-dim); }
.mo-card__badge { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.7); color: #fff; }
.mo-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.mo-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.mo-card__text { color: var(--nx-muted); font-size: 14px; line-height: 1.55; }
.mo-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--nx-dim); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; }
.mo-post { padding-top: 20px; padding-bottom: 40px; }
.mo-head { display: grid; gap: 26px; margin-top: 18px; }
.mo-head.has-cover { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.mo-head__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--nx-r-lg); border: 1px solid var(--nx-border); }
.mo-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 22px; margin: 22px 0 0; }
.mo-facts dt { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--nx-dim); }
.mo-facts dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; }
.mo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.mo-sec { padding-top: clamp(30px, 5vw, 52px); }
.mo-refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mo-ref { margin: 0; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-r-lg); overflow: hidden; }
.mo-ref img { display: block; width: 100%; max-height: 380px; object-fit: cover; background: var(--nx-surface-2); }
.mo-ref figcaption { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.mo-ref figcaption strong { font-size: 15px; }
.mo-ref figcaption span { color: var(--nx-muted); font-size: 13.5px; line-height: 1.55; }
.mo-shots { display: grid; gap: 22px; }
.mo-shot { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 22px; padding: 18px; background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-r-lg); align-items: start; }
.mo-shot__img { width: 100%; max-height: 520px; object-fit: contain; border-radius: var(--nx-r); background: #000; }
.mo-shot__no { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-red); }
.mo-shot__no i { width: 4px; height: 4px; border-radius: 50%; background: var(--nx-dim); }
.mo-shot__no span { color: var(--nx-muted); letter-spacing: .06em; }
.mo-shot__title { margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.mo-shot__desc { margin: 0 0 16px; color: var(--nx-muted); font-size: 14.5px; line-height: 1.65; }
.mo-shot .nx-prompt__text { max-height: 340px; overflow: auto; white-space: pre-wrap; }
@media (max-width: 820px) {
    .mo-head.has-cover { grid-template-columns: 1fr; }
    .mo-shot { grid-template-columns: 1fr; padding: 14px; }
    .mo-shot__img { max-height: 420px; }
}
/* Referenz-Models: Kategorie-Filter und Kategorie-Label */
.nx-chips--cats { margin-top: 8px; }
.nx-chip--sm { font-size: 12.5px; padding: 6px 12px; }
.nx-pcat { display: inline-block; margin-top: 2px; padding: 2px 9px; border-radius: 999px; font: 600 11px/1.6 var(--nx-font); letter-spacing: .02em; color: var(--nx-muted); border: 1px solid var(--nx-border-2, rgba(255,255,255,.14)); }

/* Making-of: Hero (3.16.0) */
.mo-hero { position: relative; isolation: isolate; min-height: clamp(420px, 62vh, 640px); display: flex; align-items: flex-end; overflow: hidden; margin-top: -1px; }
.mo-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mo-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,.45) 0%, rgba(10,10,12,.35) 35%, rgba(10,10,12,.92) 100%), linear-gradient(90deg, rgba(10,10,12,.65), transparent 70%); }
.mo-hero__in { width: 100%; padding-top: 90px; padding-bottom: clamp(28px, 5vw, 56px); }
.mo-hero__back { display: flex; width: fit-content; margin-bottom: 18px; }
.mo-hero__h1 { margin: 6px 0 14px; max-width: 920px; font-size: clamp(34px, 6.4vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.mo-hero__lead { max-width: 720px; margin: 0 0 22px; color: rgba(255,255,255,.82); font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; }
.mo-by { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mo-by__av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--nx-red, #ff2438); color: #fff; font-weight: 800; }
.mo-by__txt { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; }
.mo-by__txt span { color: rgba(255,255,255,.65); }
.mo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.mo-tags li { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.mo-post--hero { padding-top: clamp(28px, 4vw, 48px); }
.mo-hero .mo-actions { margin-top: 0; }
@media (max-width: 640px) { .mo-hero { min-height: 480px; } }

/* Making-of: Szenen (3.16.0) — Bilder, Hinweis-Kasten, Prompt-Box mit Kopieren */
.mo-scenes { display: grid; gap: clamp(36px, 6vw, 64px); max-width: 860px; }
.mo-scene { display: grid; gap: 18px; }
.mo-scene__no { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--nx-red); }
.mo-scene__no i { width: 4px; height: 4px; border-radius: 50%; background: var(--nx-dim); }
.mo-scene__no span { color: var(--nx-muted); letter-spacing: .06em; }
.mo-scene__title { margin: -8px 0 0; font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.mo-scene__imgs { display: grid; gap: 12px; }
.mo-scene__imgs--1 { grid-template-columns: minmax(0, 520px); }
.mo-scene__imgs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mo-scene__imgs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mo-scene__imgs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mo-scene__imgs img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 6px; background: var(--nx-surface-2); }
.mo-note { display: flex; gap: 14px; padding: 20px 22px; border-radius: 12px; background: var(--nx-surface); color: var(--nx-muted); font-size: 15px; line-height: 1.6; }
.mo-note__ic { flex: none; font-size: 18px; line-height: 1.5; }
.mo-note p, .mo-note ul { margin: 0; }
.mo-note ul { list-style: disc; padding-left: 20px; }
.mo-note li + li { margin-top: 6px; }
.mo-note li { list-style: disc; display: list-item; }
.mo-note li::marker { color: var(--nx-dim); }
.mo-pbox { border-radius: 22px; background: var(--nx-surface); border: 1px solid var(--nx-border); box-shadow: 0 0 0 4px rgba(255,255,255,.03); overflow: hidden; }
.mo-pbox__text { max-height: 220px; overflow: auto; padding: 18px 22px 8px; white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: var(--nx-text, #eee); outline: none; scrollbar-width: thin; }
.mo-pbox__bar { display: flex; justify-content: flex-end; padding: 8px 14px 14px; }
.mo-copy { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border: 1px solid var(--nx-border); border-radius: 9px; background: rgba(255,255,255,.07); color: var(--nx-text, #eee); font: 600 13px/1 var(--nx-font); cursor: pointer; transition: background .15s, border-color .15s; }
.mo-copy:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.mo-copy.is-done { background: rgba(34,197,94,.18); border-color: rgba(34,197,94,.5); color: #4ade80; }
@media (max-width: 640px) {
    .mo-scene__imgs--3, .mo-scene__imgs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mo-note { padding: 16px; }
}

/* Making-of: Download-Knopf auf freigegebenen Bildern (3.18.0) */
.mo-fig { position: relative; margin: 0; }
.mo-fig img { display: block; }
.mo-ref { position: relative; }
.mo-dl { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(10,10,12,.72); color: #fff; border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); transition: background .15s, transform .15s; }
.mo-dl:hover, .mo-dl:focus-visible { background: var(--nx-red, #ff2438); transform: scale(1.06); }

/* ── Partner & Empfehlungen ── */
.pt-disclosure { margin: 14px 0 0; font-size: .82rem; opacity: .6; max-width: 62ch; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.pt-card { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 30px); border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.pt-card__brand { min-height: 64px; display: flex; align-items: center; }
.pt-card__brand img { max-height: 56px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.pt-card__brand h2 { margin: 0; font-size: 1.6rem; letter-spacing: -.01em; }
.pt-card__name { margin: 0; font-size: 1rem; opacity: .7; font-weight: 600; }
.pt-card__quote { margin: 0; padding: 14px 16px; border-left: 3px solid var(--nx-red); background: rgba(255,255,255,.04); border-radius: 0 12px 12px 0; line-height: 1.55; flex: 1; }
.pt-card__cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--nx-red); color: #fff; transition: transform .15s, filter .15s; }
.pt-card__cta:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* Referenz-Models: nach Kategorie gruppiert */
.nx-people__group { margin-top: 10px; border-bottom: 1px solid var(--nx-border); }
.nx-people__gtitle { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 2px; font: 700 15px/1.2 var(--nx-font); letter-spacing: -.005em; cursor: pointer; list-style: none; user-select: none; }
.nx-people__gtitle::-webkit-details-marker { display: none; }
.nx-people__gtitle > span:first-child { flex: 0 1 auto; }
.nx-people__gtitle svg { margin-left: auto; opacity: .55; transition: transform .2s; }
.nx-people__group[open] > .nx-people__gtitle svg { transform: rotate(180deg); }
.nx-people__gtitle:hover svg { opacity: 1; }
.nx-people__tools { display: flex; gap: 8px; justify-content: flex-end; margin: 10px 0 0; }
.nx-people__tools button { background: none; border: 1px solid var(--nx-border); color: var(--nx-muted); border-radius: 999px; padding: 4px 12px; font: 600 12px/1.6 var(--nx-font); cursor: pointer; }
.nx-people__tools button:hover { color: var(--nx-text); border-color: rgba(255,255,255,.3); }

/* Report dialog (3.25.0) */
.nx-flabel { display: block; font: 600 12.5px/1 var(--nx-font); color: var(--nx-muted); margin: 0 0 6px; }
.nx-finput { width: 100%; padding: 11px 12px; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-border); background: var(--nx-bg); color: var(--nx-text); font: 400 14px/1.4 var(--nx-font); margin-bottom: 14px; }
.nx-finput:focus { outline: none; border-color: rgba(255,36,56,.5); }

/* category badges next to the person type (3.26.1) */
.nx-pcat--inline { margin-top: 0; vertical-align: middle; }
.nx-meta__people .nx-pcat { margin-top: 0; }
.nx-pcard__meta { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }

/* ── Social links on profiles (3.32.0) — own class: .nx-social is the footer icon row ── */
.nx-psocial { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 2px 0 14px; padding: 0; }
.nx-psocial__link { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 11px; border-radius: 999px; background: var(--nx-surface-2); border: 1px solid var(--nx-border); color: var(--nx-text, #fff); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.nx-psocial__link svg { flex: none; color: var(--nx-muted); transition: color .2s; }
.nx-psocial__link:hover, .nx-psocial__link:focus-visible { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }
.nx-psocial__link:hover svg, .nx-psocial__link:focus-visible svg { color: #fff; }
.nx-social-form { display: grid; gap: 8px; margin-top: 10px; max-width: 460px; }
.nx-social-form__row { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-border); background: var(--nx-bg); }
.nx-social-form__row:focus-within { border-color: rgba(255,36,56,.5); }
.nx-social-form__ico { display: inline-flex; width: 20px; justify-content: center; color: var(--nx-muted); }
.nx-social-form input { flex: 1; min-width: 0; border: 0; background: none; color: var(--nx-text); font: 400 14px/1 var(--nx-font); height: 38px; outline: none; }
.nx-social-form .nx-btn { justify-self: start; }

/* ── Profile description (3.34.0) ── */
.nx-profile__bio { margin: 0 0 14px; max-width: 62ch; color: var(--nx-text); font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.nx-bio-form { display: grid; gap: 8px; margin-top: 10px; max-width: 560px; }
.nx-bio-form textarea { width: 100%; min-height: 96px; resize: vertical; padding: 10px 12px; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-border); background: var(--nx-bg); color: var(--nx-text); font: 400 14px/1.5 var(--nx-font); outline: none; }
.nx-bio-form textarea:focus { border-color: rgba(255,36,56,.5); }
.nx-bio-form .nx-btn { justify-self: start; }

/* ── Verification badges of reference models (3.35.0) ── */
.nx-rb { margin-left: 5px; vertical-align: -2px; flex: none; }
.nx-badges { margin: 4px 0 18px; padding: 16px 18px; border-radius: var(--nx-r, 14px); border: 1px solid var(--nx-border); background: rgba(255,255,255,.03); }
.nx-badges__title { margin: 0 0 4px; font-size: 16px; }
.nx-badges__lead { margin: 0 0 12px; max-width: 70ch; color: var(--nx-muted); font-size: 13.5px; line-height: 1.5; }
.nx-badges__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.nx-badges__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.nx-badges__item svg { margin: 1px 0 0; flex: none; }
.nx-badges__item strong { display: block; font-size: 14px; }
.nx-badges__item p { margin: 3px 0 0; color: var(--nx-muted); font-size: 12.5px; line-height: 1.45; }
.nx-badges__note { margin: 12px 0 0; color: var(--nx-dim, var(--nx-muted)); font-size: 12.5px; }

/* ── Reference models: one compact filter bar (3.35.1) ── */
.nx-people__head { padding: 22px 0 8px; }
.nx-pfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0 0 6px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--nx-border); background: rgba(255,255,255,.03); }
.nx-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.06); }
.nx-seg__item { display: inline-flex; align-items: center; gap: 2px; padding: 7px 15px; border-radius: 999px; color: var(--nx-muted); font: 600 13px/1 var(--nx-font); white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.nx-seg__item:hover { color: var(--nx-text, #fff); }
.nx-seg__item.is-active { background: var(--nx-red); color: #fff; }
.nx-seg__item .nx-people__n { opacity: .7; margin-left: 5px; }
.nx-pfilter__tools { display: flex; gap: 8px; margin-left: auto; }
.nx-pfilter__tools button { background: none; border: 1px solid var(--nx-border); color: var(--nx-muted); border-radius: 999px; padding: 6px 13px; font: 600 12px/1.2 var(--nx-font); cursor: pointer; }
.nx-pfilter__tools button:hover { color: var(--nx-text, #fff); border-color: rgba(255,255,255,.3); }
.nx-pfilter__cats { display: flex; gap: 6px; flex: 1 0 100%; padding-top: 12px; border-top: 1px solid var(--nx-border); overflow-x: auto; scrollbar-width: none; }
.nx-pfilter__cats::-webkit-scrollbar { display: none; }
.nx-pfilter__cats .nx-chip { flex: none; }
@media (max-width: 560px) { .nx-pfilter__tools { margin-left: 0; width: 100%; } .nx-seg { width: 100%; } .nx-seg__item { flex: 1; justify-content: center; padding: 8px 6px; } }

/* 3.41.0 — Suche bei den Referenz-Models */
.nx-psearch { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; min-width: 180px; max-width: 360px; padding: 0 12px; border: 1px solid var(--nx-border); border-radius: 999px; background: rgba(255,255,255,.04); color: var(--nx-muted); }
.nx-psearch:focus-within { border-color: rgba(255,255,255,.35); color: var(--nx-text, #fff); }
.nx-psearch input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--nx-text, #fff); font: 500 13.5px/1 var(--nx-font); padding: 10px 0; }
.nx-psearch__none { text-align: center; color: var(--nx-muted); padding: 28px 0; }
.nx-people__grid > li[hidden], .nx-people__group[hidden] { display: none; }
@media (max-width: 560px) { .nx-psearch { flex: 1 0 100%; max-width: none; } }

.nx-prompt__adminlock { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,36,56,.35); background: rgba(255,36,56,.08); color: #ff9aa5; font-size: 12.5px; }

/* 3.42.0 — Tipps / Zusatz-Prompt */
.nx-extra-open { margin-top: 10px; }
.nx-extra__text { white-space: pre-wrap; max-height: 50vh; overflow-y: auto; margin: 6px 0 14px; }

/* 3.42.1 — Alben im Profil kompakter */
.nx-profalb__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.nx-profalb__grid .nx-catcard { aspect-ratio: 4 / 3; border-radius: 12px; }
.nx-profalb__grid .nx-catcard__body { left: 10px; right: 10px; bottom: 9px; }
.nx-profalb__grid .nx-catcard__title { font-size: 13.5px; line-height: 1.2; margin-bottom: 0; letter-spacing: -.01em; }
.nx-profalb__grid .nx-catcard__desc { font-size: 11px; line-height: 1.3; }
.nx-profalb__grid .nx-catcard__count { top: 8px; right: 8px; padding: 3px 7px; font-size: 10.5px; }
@media (max-width: 560px) { .nx-profalb__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .nx-profalb__grid .nx-catcard__title { font-size: 12px; } .nx-profalb__grid .nx-catcard__desc { display: none; } }

/* 3.42.2 — Profil: Alben links, Bilder rechts (ab 900 px) */
.nx-profsplit { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 24px; align-items: start; }
.nx-profsplit > .nx-profalb { position: sticky; top: 84px; margin: 0; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; padding: 14px; border: 1px solid var(--nx-border); border-radius: 16px; background: rgba(255,255,255,.025); }
.nx-profsplit .nx-profalb__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
.nx-profsplit .nx-profalb__title { margin-bottom: 10px; }
.nx-profsplit__main { min-width: 0; }
.nx-profsplit__main > .nx-profalb__title { margin-top: 0; }
@media (max-width: 900px) {   /* Tablet, Handy und installierte App: schmale Album-Leiste links, Bilder rechts */
    .nx-profsplit { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
    .nx-profsplit > .nx-profalb { top: 70px; max-height: calc(100vh - 90px); padding: 8px; border-radius: 14px; }
    .nx-profsplit .nx-profalb__grid { grid-template-columns: 1fr; gap: 8px; }
    .nx-profsplit .nx-profalb__title { font-size: 12px; margin-bottom: 8px; gap: 5px; }
    .nx-profsplit .nx-profalb__title svg { width: 13px; height: 13px; }
    .nx-profsplit .nx-profalb__grid .nx-catcard { aspect-ratio: 1 / 1; }
    .nx-profsplit .nx-profalb__grid .nx-catcard__desc { display: none; }
}
@media (max-width: 560px) {
    .nx-profsplit { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
    .nx-profsplit > .nx-profalb { padding: 6px; top: 64px; }
    .nx-profsplit .nx-profalb__title { font-size: 0; gap: 0; margin-bottom: 6px; }   /* nur Symbol + Zahl */
    .nx-profsplit .nx-profalb__title svg { width: 14px; height: 14px; margin-right: 4px; }
    .nx-profsplit .nx-profalb__n { font-size: 11px; }
    .nx-profsplit .nx-profalb__grid .nx-catcard__body { left: 5px; right: 5px; bottom: 5px; }
    .nx-profsplit .nx-profalb__grid .nx-catcard__title { font-size: 10px; line-height: 1.15; }
    .nx-profsplit .nx-profalb__grid .nx-catcard__count { top: 4px; right: 4px; padding: 2px 5px; font-size: 9.5px; }
    .nx-profsplit .nx-profalb__grid .nx-catcard__count svg { display: none; }
    .nx-profsplit__main .nx-grid { gap: 12px 10px; }
}
.is-pwa .nx-profsplit > .nx-profalb { top: calc(env(safe-area-inset-top, 0px) + 64px); }

/* 3.43.0 — Handy/App: "Neueste" immer genau vier Karten (2 × 2) */
@media (max-width: 900px) { .nx-grid--row { --nx-cols: 2; grid-template-rows: auto auto; row-gap: 16px; } }
.nx-card[hidden] { display: none; }

/* 3.44.0 — YouTube erst nach Klick laden */
.nx-embedgate { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #0c0c0f center / cover no-repeat; position: relative; }
.nx-embedgate::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.nx-embedgate__box { position: relative; text-align: center; max-width: 440px; padding: 16px; display: grid; gap: 12px; justify-items: center; }
.nx-embedgate__box p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.75); }
.nx-embedgate__box a { text-decoration: underline; }

/* 3.45.0 – inactive uploads (admin only) */
.nx-badge--inactive{background:#b45309;color:#fff}

.nx-warn { display: flex; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(245,158,11,.45); background: rgba(245,158,11,.12); font-size: .9rem; line-height: 1.45; }
.nx-warn__ico { flex: none; color: #f59e0b; margin-top: 2px; }
.nx-warn__text { margin-top: 2px; overflow-wrap: anywhere; }

/* ── Über uns (3.77.0) ── */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ab-hero > .ab-text:only-child { grid-column: 1 / -1; max-width: 760px; }
.ab-gallery { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.ab-gallery__item { margin: 0; border-radius: 18px; overflow: hidden; background: var(--nx-surface-2); border: 1px solid var(--nx-border); aspect-ratio: 4 / 5; }
.ab-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-gallery--1 { grid-template-columns: 1fr; } .ab-gallery--1 .ab-gallery__item { aspect-ratio: 4 / 5; max-height: 72vh; }
.ab-gallery--3 .ab-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.ab-gallery--4 .ab-gallery__item:nth-child(2), .ab-gallery--4 .ab-gallery__item:nth-child(3) { aspect-ratio: 4 / 5; }
.ab-role { margin: 0 0 18px; color: var(--nx-muted); font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.ab-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.ab-bio p { margin: 0 0 14px; color: var(--nx-text); font-size: 16px; line-height: 1.7; max-width: 64ch; }
.ab-social { margin: 20px 0 0; }
.ab-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.ab-more { margin: 22px 0 0; font-size: 13px; } .ab-more a { color: var(--nx-muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .ab-hero { grid-template-columns: 1fr; } }
picture:has(> .nx-logo__img) { display: contents; }

/* 3.81.0 — Admin: Sichtbarkeit direkt im Frontend umschalten */
.nx-admtog {
    position: absolute; top: 8px; right: 48px; z-index: 4;
    display: grid; place-items: center; width: 34px; height: 34px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.5); color: #fff; cursor: pointer;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    transition: background .2s, transform .2s var(--nx-ease);
}
.nx-admtog:hover { background: rgba(0,0,0,.75); transform: scale(1.06); }
.nx-admtog.is-off { background: #b45309; border-color: #b45309; }
.nx-admtog.is-busy { opacity: .6; pointer-events: none; }
.nx-admtog .nx-admtog__off, .nx-admtog.is-off .nx-admtog__on { display: none; }
.nx-admtog.is-off .nx-admtog__off { display: grid; }
.nx-card.is-inactive .nx-card__media img { opacity: .45; filter: grayscale(.6); }
.nx-admbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; padding: 10px 12px; margin-bottom: 14px; border-radius: 12px; border: 1px solid rgba(34,197,94,.35); background: rgba(34,197,94,.08); font-size: 13px; }
.nx-admbar.is-inactive { border-color: rgba(180,83,9,.5); background: rgba(180,83,9,.14); }
.nx-admbar__txt { display: inline-flex; align-items: center; gap: 6px; }
.nx-admbar__txt svg { vertical-align: -2px; }
.nx-admbar .nx-admbar__off, .nx-admbar.is-inactive .nx-admbar__on { display: none; }
.nx-admbar.is-inactive .nx-admbar__off { display: inline; }
.nx-admbar [data-adm-status].is-busy { opacity: .6; pointer-events: none; }
.nx-badge[hidden] { display: none !important; }
