:root {
        color-scheme: dark;
        --nx-bg: #070b13;
        --nx-panel: rgba(7, 17, 31, .86);
        --nx-panel-soft: rgba(12, 28, 48, .74);
        --nx-border: rgba(127, 255, 212, .22);
        --nx-border-blue: rgba(78, 205, 255, .28);
        --nx-gold: #ffdf7e;
        --nx-text: #f5f8ff;
        --nx-muted: rgba(232, 241, 255, .72);
        --nx-good: #77ffc8;
        --nx-blue: #7edbff;
        --nx-danger: #ff7e8b;
    }
    * { box-sizing: border-box; }
    body.nexus-register-page {
        min-height: 100vh;
        margin: 0;
        padding: 24px;
        overflow-y: auto;
        display: block;
        color: var(--nx-text);
        background:
            radial-gradient(circle at 20% 0%, rgba(83, 126, 255, .18), transparent 34%),
            radial-gradient(circle at 90% 90%, rgba(127, 255, 212, .12), transparent 28%),
            linear-gradient(135deg, #070b13, #111016 58%, #070b13);
    }
    .nexus-register-card {
        width: min(1040px, 100%);
        margin: 0 auto;
        padding: clamp(18px, 3vw, 32px);
        border-radius: 24px;
        border: 1px solid rgba(127,255,212,.24);
        background: linear-gradient(180deg, rgba(4, 12, 22, .92), rgba(5, 12, 18, .86));
        box-shadow: 0 24px 80px rgba(0,0,0,.45);
    }
    .nexus-register-card h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 46px); line-height: 1.05; letter-spacing: -.03em; }
    .nexus-register-card h2 { margin: 0; font-size: clamp(20px, 2.6vw, 28px); }
    .nexus-register-card h3 { margin: 0; font-size: 18px; }
    .nexus-register-note { margin: 0; opacity: .82; line-height: 1.58; color: var(--nx-muted); }
    .nexus-register-status { margin-top: 12px; min-height: 24px; color: var(--nx-gold); }
    .button, button.button {
        border-radius: 12px;
        border: 1px solid rgba(126,219,255,.42);
        background: rgba(38, 130, 180, .18);
        color: var(--nx-text);
        font-weight: 800;
        cursor: pointer;
    }
    .button:disabled { opacity: .48; cursor: not-allowed; }
    .button.primary { border-color: rgba(127,255,212,.54); background: rgba(127,255,212,.18); }
    .nexus-button-danger { border-color: rgba(255,99,99,.44) !important; background: rgba(255,99,99,.14) !important; color: inherit; }
    .nexus-button-small { padding: 8px 11px; border-radius: 11px; font-size: 13px; }

    .nexus-hero-cover {
        margin: -4px 0 18px;
        padding: clamp(18px, 3vw, 28px);
        border-radius: 22px;
        border: 1px solid rgba(78,205,255,.28);
        background:
            radial-gradient(circle at 82% 30%, rgba(127,255,212,.16), transparent 28%),
            linear-gradient(135deg, rgba(3,23,42,.92), rgba(6,14,26,.84));
    }
    .nexus-hero-cover__eyebrow { margin: 0 0 10px; color: var(--nx-blue); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 900; }
    .nexus-hero-cover__subline { max-width: 720px; margin-top: 8px; color: var(--nx-muted); line-height: 1.55; }
    .nexus-hero-role-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
    .nexus-hero-role-chip, .nexus-owner-dashboard__pill, .nexus-gallery-pill {
        display: inline-flex; align-items: center; gap: 6px; width: fit-content;
        padding: 5px 10px; border-radius: 999px;
        border: 1px solid rgba(127,255,212,.28); background: rgba(127,255,212,.09);
        color: var(--nx-text); font-size: 12px; font-weight: 900;
    }
    .nexus-hero-role-chip--guest { border-color: rgba(255,203,90,.42); background: rgba(255,203,90,.12); }
    .nexus-hero-role-chip--member { border-color: rgba(78,205,255,.46); background: rgba(78,205,255,.12); }
    .nexus-hero-role-chip--owner { border-color: rgba(56,255,144,.46); background: rgba(56,255,144,.13); }

    .nexus-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; }
    .nexus-hero-main, .nexus-hero-side { display: grid; gap: 16px; min-width: 0; }
    .nexus-hero-panel,
    .nexus-visit-role,
    .nexus-follow-panel,
    .nexus-hero-authbar,
    .nexus-owner-dashboard,
    .nexus-owner-login-panel,
    .nexus-pending-blocked,
    .nexus-gallery-module {
        border-radius: 18px;
        border: 1px solid rgba(127,255,212,.18);
        background: rgba(5, 15, 28, .66);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    }
    .nexus-visit-role { margin: 0; padding: 14px 16px; border-color: var(--nx-border-blue); background: rgba(78,205,255,.07); display: grid; gap: 6px; }
    .nexus-visit-role strong { color: #fff; }
    .nexus-visit-role__top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .nexus-visit-role__badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(127,255,212,.34); background: rgba(127,255,212,.1); font-weight: 800; }
    .nexus-visit-role__badge--owner { border-color: rgba(56,255,144,.45); background: rgba(56,255,144,.13); }
    .nexus-visit-role__badge--member { border-color: rgba(78,205,255,.45); background: rgba(78,205,255,.12); }
    .nexus-visit-role__badge--guest { border-color: rgba(255,203,90,.45); background: rgba(255,203,90,.12); }
    .nexus-visit-role__meta { opacity: .78; font-size: 13px; line-height: 1.45; }
    .nexus-follow-panel { margin: 0; padding: 16px; display: grid; gap: 10px; }
    .nexus-follow-panel__row { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
    .nexus-follow-panel__status { opacity: .84; line-height: 1.45; }
    .nexus-follow-panel__count { font-weight: 900; color: var(--nx-gold); }
    .nexus-hero-authbar { margin: 0; padding: 14px 16px; display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
    .nexus-hero-authbar__text { opacity: .84; line-height: 1.45; }

    .nexus-owner-dashboard { margin: 0; padding: 18px; border-color: rgba(255,203,90,.28); background: rgba(255,203,90,.07); display: grid; gap: 16px; }
    .nexus-owner-dashboard__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
    .nexus-owner-dashboard__tile { padding: 14px; border-radius: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); }
    .nexus-owner-dashboard__tile strong { display: block; font-size: 21px; margin-top: 4px; }
    .nexus-owner-dashboard__tile span { opacity: .78; font-size: 13px; }
    .nexus-owner-dashboard__list { margin: 0; padding-left: 18px; opacity: .9; line-height: 1.5; }
    .nexus-owner-dashboard__followers { display: grid; gap: 8px; }
    .nexus-owner-dashboard__follower-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); }
    .nexus-owner-dashboard__follower-row:first-of-type { border-top: 0; }
    .nexus-owner-dashboard__modules { margin-top: 2px; padding: 15px; border-radius: 17px; border: 1px solid rgba(127,255,212,.18); background: rgba(127,255,212,.05); }
    .nexus-owner-dashboard__module-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
    .nexus-owner-dashboard__module-list { display: grid; gap: 10px; }
    .nexus-owner-dashboard__module-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
    .nexus-owner-dashboard__module-card.is-booked { border-color: rgba(127,255,212,.32); background: rgba(127,255,212,.08); }
    .nexus-owner-login-panel, .nexus-pending-blocked { margin: 0; padding: 16px; border-color: rgba(255,203,90,.28); background: rgba(255,203,90,.07); display: grid; gap: 10px; }
    .nexus-owner-login-panel h2, .nexus-pending-blocked h2 { margin: 0; font-size: 20px; }

    .nexus-register-form { display: grid; gap: 14px; margin-top: 18px; }
    .nexus-register-form label { display: grid; gap: 6px; }
    .nexus-register-form input, .nexus-register-form textarea, .nexus-register-form select,
    .nexus-gallery-module input, .nexus-gallery-module textarea, .nexus-gallery-module select {
        width: 100%; border-radius: 12px; border: 1px solid rgba(127,255,212,.22); background: rgba(0,0,0,.28); color: inherit; padding: 12px 14px;
    }
    .nexus-register-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
    .nexus-hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }

    .nexus-gallery-module { margin: 0; padding: 18px; background: linear-gradient(180deg, rgba(3,12,22,.72), rgba(6,18,32,.58)); }
    .nexus-gallery-module__head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap; margin-bottom: 14px; }
    .nexus-gallery-module__title { display: grid; gap: 5px; }
    .nexus-gallery-module__body { display: grid; gap: 16px; }
    .nexus-gallery-album-form { display: grid; grid-template-columns: minmax(130px, .9fr) minmax(180px, 1.4fr) 135px 150px auto; gap: 10px; align-items: end; padding: 14px; border-radius: 16px; border: 1px solid rgba(127,255,212,.16); background: rgba(127,255,212,.045); margin: 0 0 16px; }
    .nexus-gallery-empty { padding: 22px; border-radius: 16px; border: 1px dashed rgba(127,255,212,.3); text-align: center; color: var(--nx-muted); }
    .nexus-gallery-album { padding: 16px; border-radius: 18px; border: 1px solid rgba(78,205,255,.20); background: rgba(2, 11, 22, .76); }
    .nexus-gallery-album header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
    .nexus-gallery-album__tools { display:grid; grid-template-columns: minmax(120px,.8fr) minmax(160px,1.4fr) 130px 150px auto auto; gap: 9px; margin: 12px 0; align-items: center; }
    .nexus-gallery-dropzone { display:flex; align-items:center; justify-content:center; min-height:96px; margin:12px 0 16px; border:1px dashed rgba(127,255,212,.46); border-radius:16px; background:rgba(127,255,212,.065); cursor:pointer; text-align:center; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
    .nexus-gallery-dropzone:hover, .nexus-gallery-dropzone.is-dragover { transform: translateY(-1px); border-color: rgba(127,255,212,.76); background: rgba(127,255,212,.10); }
    .nexus-gallery-dropzone input { display:none; }
    .nexus-gallery-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap:14px; align-items: stretch; }
    .nexus-gallery-image { margin:0; overflow:hidden; border-radius:17px; border:1px solid rgba(78,205,255,.18); background: rgba(5,14,28,.84); display:grid; grid-template-rows:auto 1fr auto; }
    .nexus-gallery-image img { width:100%; height:165px; object-fit:cover; display:block; background: rgba(0,0,0,.25); }
    .nexus-gallery-image figcaption { display:grid; gap:4px; padding:11px 12px; font-size:13px; }
    .nexus-gallery-image figcaption span { opacity:.76; line-height: 1.35; }
    .nexus-gallery-image__meta { font-size: 12px; opacity: .68; }
    .nexus-gallery-image__tools { display:grid; grid-template-columns: 1fr 1fr; gap:8px; padding: 0 12px 12px; }
    .nexus-gallery-image__tools input:first-child, .nexus-gallery-image__tools textarea { grid-column: 1 / -1; }
    .nexus-gallery-image__tools textarea { min-height: 64px; resize: vertical; }
    .nexus-gallery-upload-card { border-color: rgba(255,203,90,.34); }
    .nexus-gallery-upload-card .nexus-gallery-progress { height: 8px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.12); }
    .nexus-gallery-upload-card .nexus-gallery-progress > span { display:block; height:100%; width: 10%; background: linear-gradient(90deg, rgba(127,255,212,.65), rgba(78,205,255,.9)); transition: width .2s ease; }


    .nexus-member-tiers-module { margin: 0; padding: 18px; border-color: rgba(255,203,90,.25); background: linear-gradient(180deg, rgba(29,21,5,.62), rgba(6,18,32,.54)); display: grid; gap: 14px; }
    .nexus-member-tiers-module[hidden] { display: none !important; }
    .nexus-member-tiers-module__head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap; }
    .nexus-member-tiers-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
    .nexus-member-tier-card { position: relative; overflow: hidden; padding: 16px; border-radius: 18px; border: 1px solid rgba(255,203,90,.24); background: rgba(5,14,28,.82); display:grid; gap: 11px; }
    .nexus-member-tier-card::before { content:""; position:absolute; inset:0 0 auto 0; height:3px; background: linear-gradient(90deg, rgba(255,203,90,.92), rgba(127,255,212,.65)); opacity:.85; }
    .nexus-member-tier-card.is-current { border-color: rgba(127,255,212,.42); background: rgba(12,42,38,.55); }
    .nexus-member-tier-card.is-pending { border-color: rgba(255,203,90,.45); }
    .nexus-member-tier-card h3 { margin:0; font-size: 20px; }
    .nexus-member-tier-card__price { font-size: 24px; font-weight: 900; color: var(--nx-gold); }
    .nexus-member-tier-card__meta { display:flex; gap:8px; flex-wrap:wrap; }
    .nexus-member-tier-card__meta span { padding: 5px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.055); font-size:12px; opacity:.9; }
    .nexus-member-tier-card__actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-top: 4px; }

    .nexus-member-tier-current { padding: 14px; border: 1px solid rgba(255,203,90,.28); border-radius: 16px; background: rgba(255,203,90,.07); display: grid; gap: 10px; color: var(--nx-text); }
    .nexus-member-tier-current__title { color: var(--nx-cyan); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
    .nexus-member-tier-current dl, .nexus-member-tier-card__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 8px; }
    .nexus-member-tier-current dl div, .nexus-member-tier-card__facts div { padding: 8px; border-radius: 10px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); }
    .nexus-member-tier-current dt, .nexus-member-tier-card__facts dt { font-size: 11px; opacity: .72; margin-bottom: 3px; }
    .nexus-member-tier-current dd, .nexus-member-tier-card__facts dd { margin: 0; font-weight: 800; }
    .nexus-member-tier-notice { margin: 0; padding: 10px; border-radius: 12px; border: 1px solid rgba(127,255,212,.18); background: rgba(127,255,212,.06); color: var(--nx-gold); }
    .nexus-member-tier-switch { padding: 12px; border-radius: 14px; border: 1px solid rgba(255,203,90,.32); background: linear-gradient(180deg, rgba(255,203,90,.1), rgba(127,255,212,.055)); display: grid; gap: 8px; }
    .nexus-member-tier-switch p { margin: 0; opacity: .82; line-height: 1.45; }
    .nexus-member-tier-card__facts { grid-template-columns: 1fr 1fr; font-size: 12px; }

    @media (max-width: 880px) {
        body.nexus-register-page { padding: 12px; }
        .nexus-register-card { border-radius: 18px; }
        .nexus-hero-layout { grid-template-columns: 1fr; }
        .nexus-hero-side { order: -1; }
        .nexus-gallery-album-form, .nexus-gallery-album__tools { grid-template-columns: 1fr; }
        .nexus-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    }

    .nexus-gallery-image img[data-gallery-loading="1"] { opacity: 1; filter: none; transform: none; }
    .nexus-gallery-image img.isLoaded { opacity: 1; filter: none; transform: none; transition: opacity .22s ease, filter .22s ease, transform .22s ease; }
    .nexus-gallery-image img.isFailed { opacity: .5; filter: grayscale(1); }

    /* 2026-06-11: Hero-Frontend ruhiger, kantiger und mit mitscrollender Seitenleiste */
    body.nexus-register-page {
        padding: clamp(18px, 3vw, 36px);
        background-attachment: fixed, fixed, fixed;
        background-size: 130% 130%, 110% 110%, cover;
    }
    .nexus-register-card {
        width: min(1320px, 100%);
        padding: clamp(18px, 2.5vw, 34px);
        border-radius: 5px;
    }
    .nexus-register-card h1 { margin-bottom: 14px; }
    .nexus-register-card h2 { line-height: 1.16; }
    .button, button.button, .nexus-button-small,
    .nexus-register-form input, .nexus-register-form textarea, .nexus-register-form select,
    .nexus-gallery-module input, .nexus-gallery-module textarea, .nexus-gallery-module select {
        border-radius: 5px;
    }
    .nexus-hero-cover {
        margin: 0 0 24px;
        border-radius: 5px;
        padding: clamp(22px, 3vw, 34px);
    }
    .nexus-hero-role-chip, .nexus-owner-dashboard__pill, .nexus-gallery-pill,
    .nexus-visit-role__badge, .nexus-member-tier-card__meta span {
        border-radius: 5px;
    }
    .nexus-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: clamp(22px, 3vw, 34px);
        align-items: start;
    }
    .nexus-hero-main { gap: clamp(22px, 3vw, 34px); }
    .nexus-hero-side { gap: 14px; }
    .nexus-hero-side__sticky {
        position: sticky;
        top: 18px;
        display: grid;
        gap: 14px;
        max-height: calc(100vh - 36px);
        overflow: auto;
        padding-right: 2px;
        scrollbar-width: thin;
    }
    .nexus-hero-panel,
    .nexus-visit-role,
    .nexus-follow-panel,
    .nexus-hero-authbar,
    .nexus-owner-dashboard,
    .nexus-owner-login-panel,
    .nexus-pending-blocked,
    .nexus-gallery-module,
    .nexus-member-tiers-module,
    .nexus-member-tier-card,
    .nexus-member-tier-current,
    .nexus-member-tier-switch,
    .nexus-gallery-album,
    .nexus-gallery-image,
    .nexus-gallery-empty,
    .nexus-gallery-album-form,
    .nexus-gallery-dropzone,
    .nexus-owner-dashboard__tile,
    .nexus-owner-dashboard__modules,
    .nexus-owner-dashboard__module-card,
    .nexus-member-tier-current dl div,
    .nexus-member-tier-card__facts div,
    .nexus-member-tier-notice {
        border-radius: 5px;
    }
    .nexus-visit-role, .nexus-follow-panel, .nexus-hero-authbar,
    .nexus-owner-dashboard, .nexus-gallery-module, .nexus-member-tiers-module,
    .nexus-owner-login-panel, .nexus-pending-blocked {
        padding: clamp(18px, 2vw, 24px);
    }
    .nexus-owner-dashboard { gap: 22px; }
    .nexus-owner-dashboard__grid { gap: 14px; }
    .nexus-owner-dashboard__tile { padding: 16px; }
    .nexus-owner-dashboard__modules { padding: 18px; }
    .nexus-owner-dashboard__module-list { gap: 12px; }
    .nexus-owner-dashboard__module-card { padding: 14px 16px; }
    .nexus-member-tiers-module, .nexus-gallery-module { gap: 18px; }
    .nexus-member-tiers-grid { gap: 18px; }
    .nexus-member-tier-card { padding: 20px; }
    .nexus-member-tier-card::before { height: 2px; }
    .nexus-gallery-module__head { margin-bottom: 20px; }
    .nexus-gallery-module__body { gap: 22px; }
    .nexus-gallery-comment-policy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, .5fr) minmax(170px, .5fr) auto; gap: 10px; align-items: center; margin: 14px 0 18px; padding: 12px; border: 1px solid rgba(127,255,212,.18); border-radius: 12px; background: rgba(8,18,28,.46); }
    .nexus-gallery-comment-policy select { min-width: 0; }
    .nexus-gallery-comment-hint { grid-column: 1 / -1; opacity: .72; }
    .nexus-gallery-comment-override { display: flex; align-items: center; gap: 7px; font-size: .86rem; }
    .nexus-gallery-comment-override input { width: auto !important; }
    @media (max-width: 820px) { .nexus-gallery-comment-policy { grid-template-columns: 1fr; } }
    .nexus-gallery-album-form { grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.2fr) 140px 150px auto; gap: 12px; padding: 16px; }
    .nexus-gallery-album { padding: 20px; }
    .nexus-gallery-album header { margin-bottom: 18px; align-items: flex-start; }
    .nexus-gallery-album__tools { grid-template-columns: minmax(150px, .9fr) minmax(190px, 1.4fr) 130px 150px auto auto; gap: 12px; margin: 18px 0; }
    .nexus-gallery-dropzone { min-height: 104px; margin: 18px 0 20px; }
    .nexus-gallery-carousel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; }
    .nexus-gallery-track {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(230px, 280px);
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 2px 2px 10px;
        scrollbar-width: thin;
    }
    .nexus-gallery-track .nexus-gallery-image { scroll-snap-align: start; }
    .nexus-gallery-carousel__button {
        width: 36px;
        min-height: 92px;
        border-radius: 5px;
        border: 1px solid rgba(126,219,255,.36);
        background: rgba(38, 130, 180, .14);
        color: var(--nx-text);
        font-size: 22px;
        font-weight: 900;
        cursor: pointer;
    }
    .nexus-gallery-carousel__button:hover { background: rgba(78,205,255,.20); border-color: rgba(126,219,255,.62); }
    .nexus-gallery-image img { height: 178px; }
    .nexus-gallery-image figcaption { padding: 13px 14px; }
    .nexus-gallery-image__tools { padding: 0 14px 14px; }

    @media (max-width: 1040px) {
        .nexus-hero-layout { grid-template-columns: 1fr; }
        .nexus-hero-side { order: -1; }
        .nexus-hero-side__sticky { position: static; max-height: none; overflow: visible; }
    }
    @media (max-width: 720px) {
        body.nexus-register-page { padding: 10px; }
        .nexus-register-card { padding: 14px; }
        .nexus-gallery-album-form, .nexus-gallery-album__tools { grid-template-columns: 1fr; }
        .nexus-gallery-carousel { grid-template-columns: 1fr; }
        .nexus-gallery-carousel__button { display: none; }
        .nexus-gallery-track { grid-auto-columns: minmax(210px, 82vw); }
    }



    /* 2026-06-11: Hero-Frontend Feinschliff: fixe Bühne, rechte Sticky-Sidebar, dezente Radien, Gallery-Carousel */
    :root { --nx-radius: 5px; --nx-gap: clamp(18px, 2.5vw, 30px); }
    body.nexus-register-page {
        padding: clamp(16px, 3vw, 34px);
        background-attachment: fixed, fixed, fixed;
        background-size: cover;
    }
    .nexus-register-card {
        width: min(1240px, 100%);
        display: grid;
        gap: var(--nx-gap);
        border-radius: var(--nx-radius);
        padding: clamp(20px, 2.8vw, 38px);
    }
    .nexus-hero-cover {
        margin: 0;
        border-radius: var(--nx-radius);
        padding: clamp(24px, 4vw, 44px);
    }
    .nexus-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        gap: var(--nx-gap);
        align-items: start;
    }
    .nexus-hero-main { gap: var(--nx-gap); }
    .nexus-hero-side {
        position: sticky;
        top: 18px;
        max-height: calc(100vh - 36px);
        overflow: auto;
        padding-right: 2px;
        gap: 12px;
        scrollbar-width: thin;
    }
    .nexus-hero-side > .nexus-register-note {
        padding: 13px 14px;
        border: 1px solid rgba(127,255,212,.16);
        background: rgba(5,15,28,.52);
        border-radius: var(--nx-radius);
    }
    .nexus-hero-panel,
    .nexus-visit-role,
    .nexus-follow-panel,
    .nexus-hero-authbar,
    .nexus-owner-dashboard,
    .nexus-owner-login-panel,
    .nexus-pending-blocked,
    .nexus-gallery-module,
    .nexus-member-tiers-module,
    .nexus-member-tier-card,
    .nexus-member-tier-current,
    .nexus-member-tier-switch,
    .nexus-owner-dashboard__tile,
    .nexus-owner-dashboard__modules,
    .nexus-owner-dashboard__module-card,
    .nexus-gallery-album,
    .nexus-gallery-empty,
    .nexus-gallery-album-form,
    .nexus-gallery-dropzone,
    .nexus-gallery-image,
    .nexus-gallery-image__tools input,
    .nexus-gallery-image__tools textarea,
    .nexus-gallery-upload-card .nexus-gallery-progress,
    .nexus-register-form input,
    .nexus-register-form textarea,
    .nexus-register-form select,
    .nexus-gallery-module input,
    .nexus-gallery-module textarea,
    .nexus-gallery-module select,
    .button,
    button.button,
    .nexus-button-small,
    .nexus-hero-role-chip,
    .nexus-owner-dashboard__pill,
    .nexus-gallery-pill,
    .nexus-visit-role__badge,
    .nexus-member-tier-card__meta span,
    .nexus-member-tier-current dl div,
    .nexus-member-tier-card__facts div,
    .nexus-member-tier-notice {
        border-radius: var(--nx-radius) !important;
    }
    .nexus-visit-role,
    .nexus-follow-panel,
    .nexus-hero-authbar,
    .nexus-owner-dashboard,
    .nexus-gallery-module,
    .nexus-member-tiers-module {
        padding: clamp(16px, 2vw, 24px);
    }
    .nexus-follow-panel,
    .nexus-hero-authbar,
    .nexus-visit-role {
        background: linear-gradient(180deg, rgba(6,18,32,.82), rgba(5,15,28,.62));
    }
    .nexus-gallery-module { overflow: hidden; }
    .nexus-gallery-module__head { margin-bottom: 18px; }
    .nexus-gallery-module__body { gap: 22px; }
    .nexus-gallery-album {
        padding: clamp(16px, 2vw, 22px);
        background: linear-gradient(180deg, rgba(4,14,28,.88), rgba(2,9,18,.76));
    }
    .nexus-gallery-album header { margin-bottom: 16px; }
    .nexus-gallery-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 2px 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .nexus-gallery-image {
        flex: 0 0 clamp(220px, 28vw, 320px);
        scroll-snap-align: start;
        box-shadow: 0 16px 34px rgba(0,0,0,.28);
    }
    .nexus-gallery-image img { height: clamp(150px, 18vw, 210px); }
    .nexus-gallery-image:hover { transform: translateY(-2px); border-color: rgba(127,255,212,.32); transition: transform .16s ease, border-color .16s ease; }
    .nexus-gallery-dropzone { min-height: 86px; }
    .nexus-gallery-album::after {
        content: "↔ seitlich scrollen";
        display: block;
        margin-top: -6px;
        color: rgba(232,241,255,.52);
        font-size: 12px;
    }

    .nexus-gallery-carousel {
        position: relative;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
    }
    .nexus-gallery-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 2px 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .nexus-gallery-carousel__button {
        align-self: stretch;
        width: 38px;
        border-radius: var(--nx-radius) !important;
        border: 1px solid rgba(127,255,212,.24);
        background: rgba(5,15,28,.74);
        color: var(--nx-text);
        font-size: 28px;
        font-weight: 900;
        cursor: pointer;
    }
    .nexus-gallery-carousel__button:hover { background: rgba(127,255,212,.11); border-color: rgba(127,255,212,.48); }

    @media (max-width: 980px) {
        .nexus-hero-layout { grid-template-columns: 1fr; }
        .nexus-hero-side { position: static; max-height: none; overflow: visible; order: -1; }
        .nexus-gallery-image { flex-basis: min(78vw, 320px); }
    }


    /* 2026-06-11: Owner-Gallery Overflow Fix
       Owner-Werkzeuge dürfen die linke Content-Spalte nicht breiter als den verfügbaren Platz machen. */
    .nexus-hero-layout,
    .nexus-hero-main,
    .nexus-gallery-module,
    .nexus-gallery-module__body,
    .nexus-gallery-album,
    .nexus-gallery-carousel,
    .nexus-gallery-track {
        min-width: 0;
        max-width: 100%;
    }

    .nexus-gallery-module[data-owner="1"] {
        overflow: hidden;
    }

    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form input[name="name"],
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form input[name="description"],
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form select {
        width: 100%;
        min-width: 0;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form .button,
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form button {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        min-width: 0;
    }

    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools input,
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools select,
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools button {
        width: 100%;
        min-width: 0;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools .nexusGalleryAlbumSave,
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools .nexusGalleryAlbumDelete {
        grid-column: auto;
        justify-self: stretch;
    }

    .nexus-gallery-module[data-owner="1"] .nexus-gallery-carousel {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        overflow: hidden;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-carousel__button {
        width: 34px;
        min-width: 34px;
        padding: 0;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-track {
        width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-left: 0;
        padding-right: 0;
        mask-image: none;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-image {
        flex: 0 0 clamp(220px, 46%, 300px);
        max-width: 300px;
        min-width: 220px;
    }

    .nexus-gallery-module[data-owner="1"] .nexus-gallery-image__tools {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-image__tools input,
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-image__tools textarea,
    .nexus-gallery-module[data-owner="1"] .nexus-gallery-image__tools button {
        width: 100%;
        min-width: 0;
    }

    @media (max-width: 820px) {
        .nexus-gallery-module[data-owner="1"] .nexus-gallery-album-form,
        .nexus-gallery-module[data-owner="1"] .nexus-gallery-album__tools {
            grid-template-columns: 1fr;
        }
    }



    /* 2026-06-11: Hero-Frontend Debug-Schalter
       Reine Diagnose-/Erklärtexte sind standardmäßig aus. Mit ?debug=true werden sie sichtbar. */
    .nexus-debug-only {
        display: none !important;
    }
    body.nexus-debug .nexus-debug-only {
        display: revert !important;
    }


    /* 2026-06-11: Hero-Frontend Hintergrundbild des Nutzers
       Das Bild liegt als echtes Asset unter public/assets/img/nexus/...
       und bleibt als Bühnen-Hintergrund fix im Viewport stehen. */
    body.nexus-register-page {
        background-image: url('/assets/img/nexus/hero-page-background-fixed.webp');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
        background-color: #050914;
    }



    /* 2026-06-11: Transparenter Three.js-Hintergrundlayer
       Canvas ist fixed, pointer-events-frei und rendert mit alpha:true.
       Dadurch bleibt das HTML/WebP-Hintergrundbild sichtbar. */
    .nexus-hero-three-bg {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        z-index: 0;
        pointer-events: none;
        background: transparent;
    }
    .nexus-register-card {
        position: relative;
        z-index: 1;
    }




.nexus-payment-activation{padding:20px;border-radius:18px;border:1px solid rgba(255,193,94,.42);background:linear-gradient(135deg,rgba(76,48,8,.34),rgba(16,21,31,.88));box-shadow:0 18px 54px rgba(0,0,0,.24);margin-bottom:18px}.nexus-payment-activation--active{border-color:rgba(93,226,157,.36);background:linear-gradient(135deg,rgba(15,76,48,.24),rgba(16,21,31,.88))}.nexus-payment-activation__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.nexus-payment-activation__head h2{margin:.2rem 0 .4rem}.nexus-payment-activation__badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:rgba(255,180,61,.14);border:1px solid rgba(255,180,61,.42);color:#ffd28a;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.nexus-payment-activation__badge.is-active{background:rgba(82,218,142,.12);border-color:rgba(82,218,142,.4);color:#a6f5c8}.nexus-payment-activation__package{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.nexus-payment-activation__package>div{padding:12px;border-radius:12px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.07)}.nexus-payment-activation__package span{display:block;font-size:11px;opacity:.66;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.nexus-payment-activation__package strong{display:block;line-height:1.35}.nexus-payment-public-inactive{border-color:rgba(255,190,83,.34)}.nexus-hero-layout--payment-pending .nexus-hero-main{min-width:0}@media(max-width:760px){.nexus-payment-activation__package{grid-template-columns:1fr}.nexus-payment-activation__head{flex-direction:column}}



.nexus-hero-pages-nav{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 18px;padding:10px 0;border-bottom:1px solid rgba(143,216,255,.15)}
.nexus-hero-pages-nav a{display:inline-flex;padding:7px 10px;border:1px solid rgba(143,216,255,.2);border-radius:5px;color:var(--nx-text,#f4f7fb);text-decoration:none;background:rgba(143,216,255,.05)}
.nexus-hero-pages-nav a:hover{border-color:rgba(127,255,212,.45);background:rgba(127,255,212,.08)}



/* 2026-09-04: Gallery Comments – shared for native Gallery and PageBlocks */
.nexus-gallery-comments{margin-top:14px;border:1px solid rgba(143,216,255,.16);border-radius:12px;background:rgba(4,9,18,.38);overflow:hidden}
.nexus-gallery-comments--album{padding:14px}
.nexus-gallery-comments__title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.nexus-gallery-comments__title strong{font-size:14px}
.nexus-gallery-comments__title span{font-size:12px;opacity:.72}
.nexus-gallery-comments--image{margin:10px 10px 12px;background:rgba(7,12,22,.62)}
.nexus-gallery-comments--image>summary{cursor:pointer;list-style:none;padding:9px 10px;font-size:12px;font-weight:700;color:#dff7ff;user-select:none}
.nexus-gallery-comments--image>summary::-webkit-details-marker{display:none}
.nexus-gallery-comments--image[open]>summary{border-bottom:1px solid rgba(143,216,255,.12)}
.nexus-gallery-comments--image .nexus-gallery-comments__content{padding:10px}
.nexus-gallery-comments--image .nexus-gallery-comments__list{max-height:260px;overflow:auto}
.nexus-gallery-comments__loading,.nexus-gallery-comments__empty,.nexus-gallery-comments__hint,.nexus-gallery-comments__error{margin:6px 0;font-size:12px;line-height:1.45;opacity:.78}
.nexus-gallery-comments__error{color:#ffb6b6;opacity:1}
.nexus-gallery-comments__list{display:grid;gap:8px;margin-bottom:10px}
.nexus-gallery-comment{padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035)}
.nexus-gallery-comment.is-hidden{border-color:rgba(255,193,94,.28);background:rgba(255,193,94,.055)}
.nexus-gallery-comment__head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.nexus-gallery-comment__head strong{font-size:13px}
.nexus-gallery-comment__head time{margin-left:auto;font-size:10px;opacity:.55}
.nexus-gallery-comment__status{padding:2px 6px;border-radius:999px;background:rgba(255,193,94,.12);border:1px solid rgba(255,193,94,.26);font-size:10px;color:#ffd28a}
.nexus-gallery-comment__body{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.nexus-gallery-comment__actions,.nexus-gallery-comment__edit-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.nexus-gallery-comment__action{border:0;background:transparent;color:#9fdfff;padding:2px 0;font-size:11px;cursor:pointer}
.nexus-gallery-comment__action:hover{text-decoration:underline}
.nexus-gallery-comment__action--danger{color:#ffadad}
.nexus-gallery-comment__edit textarea,.nexus-gallery-comments__form textarea{box-sizing:border-box;width:100%;resize:vertical;border:1px solid rgba(143,216,255,.2);border-radius:9px;background:rgba(2,7,14,.72);color:#f4f7fb;padding:9px;font:inherit}
.nexus-gallery-comments__form{display:grid;gap:8px;margin-top:10px}
.nexus-gallery-comments__form-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nexus-gallery-comments__status{min-height:1em;margin-top:6px;font-size:11px;color:#ffd28a}
.nexus-page-gallery__content{min-width:0}
@media(max-width:720px){.nexus-gallery-comments--album{padding:11px}.nexus-gallery-comment__head time{width:100%;margin-left:0}.nexus-gallery-comments__form-actions{align-items:stretch;flex-direction:column}.nexus-gallery-comments__form-actions .button{width:100%}}


{# Nexus Video Player · Step 8 Hero-side owner management #}

.nexus-owner-video[hidden]{display:none!important}
.nexus-owner-video{display:grid;gap:16px;padding:18px;border:1px solid rgba(78,205,255,.25);background:linear-gradient(180deg,rgba(7,23,39,.82),rgba(3,13,25,.72));border-radius:5px}
.nexus-owner-video__head,.nexus-owner-video__section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.nexus-owner-video__head h3{margin:.1rem 0 .35rem;font-size:1.2rem}
.nexus-owner-video__status{min-height:1.2em}.nexus-owner-video__status.has-error{color:#fca5a5}
.nexus-owner-video__body{display:grid;gap:16px}
.nexus-owner-video__stats{display:flex;gap:8px;flex-wrap:wrap}.nexus-owner-video__stats span{padding:7px 10px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.045);border-radius:5px;font-size:.84rem}.nexus-owner-video__stats strong{color:var(--nx-gold)}
.nexus-owner-video__create,.nexus-owner-video__queue,.nexus-owner-video__settings,.nexus-owner-video__preview{display:grid;gap:12px;padding:15px;border:1px solid rgba(127,255,212,.14);background:rgba(0,0,0,.16);border-radius:5px}
.nexus-owner-video__create-grid{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(260px,1.8fr) auto;gap:10px;align-items:end}
.nexus-owner-video label{display:grid;gap:6px;font-size:.82rem}.nexus-owner-video input[type=text],.nexus-owner-video input[type=url],.nexus-owner-video input[type=number]{width:100%;border:1px solid rgba(127,255,212,.22);background:rgba(0,0,0,.28);color:inherit;padding:10px 11px;border-radius:5px}.nexus-owner-video input[type=range]{width:100%}
.nexus-owner-video__provider{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;color:var(--nx-cyan);font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.nexus-owner-video__field-label{display:inline-block;font-size:.63rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:rgba(244,247,251,.48)}
.nexus-owner-video__table-wrap{min-width:0;overflow:auto;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(0,0,0,.12));padding:8px}
.nexus-owner-video__table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0 10px;table-layout:fixed}
.nexus-owner-video__table th,.nexus-owner-video__table td{padding:10px 10px;vertical-align:middle;text-align:left}
.nexus-owner-video__table thead th{position:sticky;top:0;z-index:1;background:rgba(6,19,31,.96);color:rgba(244,247,251,.72);font-size:.69rem;text-transform:uppercase;letter-spacing:.055em;border-bottom:1px solid rgba(255,255,255,.075)}
.nexus-owner-video__table tbody tr:last-child td{border-bottom:0}
.nexus-owner-video__source-row{transition:background .12s ease,opacity .12s ease,box-shadow .12s ease,transform .12s ease}
.nexus-owner-video__source-row>td{background:rgba(8,20,33,.72);border-top:1px solid rgba(143,216,255,.08);border-bottom:1px solid rgba(143,216,255,.08)}
.nexus-owner-video__source-row>td:first-child{border-left:1px solid rgba(143,216,255,.08);border-top-left-radius:12px;border-bottom-left-radius:12px}
.nexus-owner-video__source-row>td:last-child{border-right:1px solid rgba(143,216,255,.08);border-top-right-radius:12px;border-bottom-right-radius:12px}
.nexus-owner-video__source-row.is-active>td{background:rgba(127,255,212,.045)}
.nexus-owner-video__source-row.is-disabled{opacity:.82}
.nexus-owner-video__source-row.is-disabled>td{background:rgba(255,255,255,.025)}
.nexus-owner-video__source-row.is-dragging{opacity:.42;transform:scale(.995)}
.nexus-owner-video__source-row.is-dragging>td{background:rgba(78,205,255,.08)}
.nexus-owner-video__source-row.is-drop-target>td{box-shadow:inset 0 2px 0 rgba(78,205,255,.7), inset 0 -2px 0 rgba(78,205,255,.25)}
.nexus-owner-video__table th:nth-child(1),.nexus-owner-video__table td:nth-child(1){width:34px}.nexus-owner-video__table th:nth-child(2),.nexus-owner-video__table td:nth-child(2){width:50px}.nexus-owner-video__table th:nth-child(3),.nexus-owner-video__table td:nth-child(3){width:148px}.nexus-owner-video__table th:nth-child(4),.nexus-owner-video__table td:nth-child(4){width:250px}.nexus-owner-video__table th:nth-child(5),.nexus-owner-video__table td:nth-child(5){width:260px}.nexus-owner-video__table th:nth-child(6),.nexus-owner-video__table td:nth-child(6){width:100px}.nexus-owner-video__table th:nth-child(7),.nexus-owner-video__table td:nth-child(7){width:104px}
.nexus-owner-video__table input[type=text],.nexus-owner-video__table input[type=url]{box-sizing:border-box;min-width:0;padding:10px 11px;background:rgba(0,0,0,.22);border-color:rgba(127,255,212,.14);border-radius:9px}.nexus-owner-video__table input:focus{border-color:rgba(78,205,255,.58);outline:1px solid rgba(78,205,255,.25)}
.nexus-owner-video__provider-cell{display:grid;gap:6px}.nexus-owner-video__provider-cell small{font-size:.68rem;opacity:.58}.nexus-owner-video__provider-wrap{display:flex;align-items:center;gap:10px;min-width:0}.nexus-owner-video__provider-copy{display:grid;gap:4px;min-width:0}.nexus-owner-video__thumb{display:block;width:64px;height:36px;flex:0 0 64px;object-fit:cover;border-radius:8px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.28)}.nexus-owner-video__thumb--placeholder{display:grid;place-items:center;color:rgba(244,247,251,.72);font-size:18px}
.nexus-owner-video__title-cell,.nexus-owner-video__url-cell{display:grid;gap:6px;min-width:0}.nexus-owner-video__metadata-line,.nexus-owner-video__url-meta{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(244,247,251,.55);font-size:.67rem}
.nexus-owner-video__metadata-state{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.03);color:rgba(244,247,251,.38);font-size:.78rem}.nexus-owner-video__metadata-state.is-ok{color:#8ff0c8}.nexus-owner-video__metadata-state.is-partial{color:#ffd28a}.nexus-owner-video__metadata-state.is-error{color:#ff9f9f}.nexus-owner-video__drag-cell{text-align:center!important}.nexus-owner-video__drag-handle{display:inline-grid;place-items:center;width:28px;height:30px;border:0;background:transparent;color:rgba(244,247,251,.54);font-size:18px;line-height:1;cursor:grab;user-select:none}.nexus-owner-video__drag-handle:hover{color:var(--nx-cyan)}.nexus-owner-video__drag-handle:active{cursor:grabbing}
.nexus-owner-video__active-toggle{display:inline-flex!important;align-items:center;gap:6px;white-space:nowrap;cursor:pointer;padding:8px 10px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);border-radius:999px}.nexus-owner-video__active-toggle input{width:auto!important}.nexus-owner-video__row-actions{white-space:nowrap;text-align:right!important}.nexus-owner-video__action-stack{display:flex;align-items:center;justify-content:flex-end;gap:6px}.nexus-owner-video__autosave{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.03);color:#8ff0c8;font-weight:900}.nexus-owner-video__autosave.is-saving{color:#ffd28a}.nexus-owner-video__autosave.is-error{color:#ff9f9f}.nexus-owner-video__icon-button{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.035);color:inherit;cursor:pointer}.nexus-owner-video__icon-button:hover{background:rgba(255,255,255,.075)}.nexus-owner-video__icon-button--danger{border-color:rgba(255,115,115,.26);color:#ffb0b0}.nexus-owner-video__icon-button--danger:hover{background:rgba(255,92,92,.1)}
.nexus-owner-video__toggle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}.nexus-owner-video__toggle-grid label,.nexus-owner-video__tiktok label{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);border-radius:5px}.nexus-owner-video__toggle-grid input,.nexus-owner-video__tiktok input{width:auto}
.nexus-owner-video__settings-fields{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px}.nexus-owner-video__settings-fields label:first-child{grid-template-columns:1fr minmax(70px,.35fr);align-items:end}.nexus-owner-video__settings-fields label:first-child>input[type=range]{grid-column:1/2}.nexus-owner-video__settings-fields label:first-child>input[type=number]{grid-column:2/3;grid-row:2}
.nexus-owner-video__tiktok{border-top:1px solid rgba(255,255,255,.08);padding-top:10px}.nexus-owner-video__tiktok summary{cursor:pointer;font-weight:800}.nexus-owner-video__tiktok>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:10px}
.nexus-owner-video__preview-mount{display:grid;place-items:center;min-width:0;min-height:80px}.nexus-owner-video__preview-mount.msp-player{width:100%;max-width:1000px;margin-inline:auto}
@media(max-width:1040px){.nexus-owner-video__table{min-width:860px}.nexus-owner-video__table th:nth-child(2),.nexus-owner-video__table td:nth-child(2){display:none}}
@media(max-width:820px){.nexus-owner-video__create-grid,.nexus-owner-video__settings-fields{grid-template-columns:1fr}.nexus-owner-video__settings-fields label:first-child{grid-template-columns:1fr 90px}.nexus-owner-video__table-wrap{padding:0;border:0;background:transparent;overflow:visible}.nexus-owner-video__table,.nexus-owner-video__table tbody{display:grid;gap:12px;min-width:0}.nexus-owner-video__table thead{display:none}.nexus-owner-video__table tbody[data-owner-video-source-table-body]{display:grid;gap:12px}.nexus-owner-video__source-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-areas:'drag provider actions' 'drag title title' 'drag url url' 'drag status status';align-items:start;gap:10px;padding:12px;border:1px solid rgba(143,216,255,.1);border-radius:14px;background:rgba(8,20,33,.72)}.nexus-owner-video__source-row>td{display:block;padding:0!important;background:transparent!important;border:0!important}.nexus-owner-video__source-row .nexus-owner-video__id-cell{display:none!important}.nexus-owner-video__drag-cell{grid-area:drag;align-self:stretch;display:grid!important;place-items:start center}.nexus-owner-video__provider-cell{grid-area:provider}.nexus-owner-video__title-cell{grid-area:title}.nexus-owner-video__url-cell{grid-area:url}.nexus-owner-video__status-cell{grid-area:status}.nexus-owner-video__row-actions{grid-area:actions;align-self:start}.nexus-owner-video__provider-wrap{align-items:flex-start}.nexus-owner-video__thumb{width:72px;height:40px;flex-basis:72px}.nexus-owner-video__active-toggle{width:max-content}.nexus-owner-video__action-stack{justify-content:flex-end}.nexus-owner-video__table input[type=text],.nexus-owner-video__table input[type=url]{width:100%}.nexus-owner-video__metadata-line,.nexus-owner-video__url-meta{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}}
@media(max-width:560px){.nexus-owner-video{padding:14px}.nexus-owner-video__source-row{grid-template-columns:28px minmax(0,1fr);grid-template-areas:'drag provider' 'title title' 'url url' 'status actions';padding:11px}.nexus-owner-video__row-actions{justify-self:end}.nexus-owner-video__action-stack{gap:4px}.nexus-owner-video__thumb{width:64px;height:36px;flex-basis:64px}.nexus-owner-video__provider-copy small{font-size:.65rem}}
/* Nexus Video Player · Step 9 detached preview state */
.nexus-owner-video__preview.is-detached .nexus-owner-video__preview-mount{min-height:72px;border:1px dashed rgba(127,255,212,.16);border-radius:5px}
.nexus-owner-video__preview.is-detached .nexus-owner-video__preview-mount::before{content:"Player abgelöst · unten rechts";color:rgba(244,247,251,.58);font-size:.78rem}


/* Nexus Video Player · Step 9.2 background preview state */
.nexus-owner-video__preview.is-background .nexus-owner-video__preview-mount{min-height:72px;border:1px dashed rgba(127,255,212,.16);border-radius:5px}
.nexus-owner-video__preview.is-background .nexus-owner-video__preview-mount::before{content:"Player als Seitenhintergrund · volle Fläche";color:rgba(244,247,251,.58);font-size:.78rem}




/* Step 10.1: Gallery preview buttons + fullscreen lightbox */
.nexus-gallery-image__preview{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;text-align:inherit}
.nexus-gallery-image__preview img{display:block;width:100%}
body.nexus-gallery-lightbox-open{overflow:hidden}
.nexus-gallery-lightbox[hidden]{display:none!important}
.nexus-gallery-lightbox{position:fixed;inset:0;z-index:190;background:rgba(3,7,12,.88);display:grid;place-items:center;padding:24px}
.nexus-gallery-lightbox__backdrop{position:absolute;inset:0}
.nexus-gallery-lightbox__dialog{position:relative;z-index:1;display:grid;gap:14px;width:min(1180px,100%);max-height:calc(100vh - 48px);padding:18px;border:1px solid rgba(143,216,255,.18);border-radius:18px;background:rgba(7,12,21,.96);box-shadow:0 32px 90px rgba(0,0,0,.42)}
.nexus-gallery-lightbox__image{display:block;width:100%;max-width:100%;max-height:min(78vh,920px);object-fit:contain;border-radius:14px;background:rgba(0,0,0,.32)}
.nexus-gallery-lightbox__caption{display:grid;gap:4px;color:var(--nx-text,#f4f7fb)}
.nexus-gallery-lightbox__description,.nexus-gallery-lightbox__meta{opacity:.78}
.nexus-gallery-lightbox__close{position:absolute;top:12px;right:12px;width:40px;height:40px;border:1px solid rgba(143,216,255,.2);border-radius:999px;background:rgba(7,12,21,.9);color:#f4f7fb;font-size:28px;line-height:1;cursor:pointer}
.nexus-gallery-lightbox__close:hover{border-color:rgba(127,255,212,.45);background:rgba(127,255,212,.1)}


/* Nexus Video Player · Step 10.13.9 real table + sticky header */
.nexus-owner-video__table-wrap{
    position:relative;
    max-width:100%;
    overflow:visible;
    padding:0;
    border:1px solid rgba(143,216,255,.12);
    border-radius:10px;
    background:rgba(0,0,0,.12);
}
.nexus-owner-video__table{
    display:table;
    width:100%;
    min-width:0;
    border-collapse:separate;
    border-spacing:0;
    table-layout:fixed;
}
.nexus-owner-video__table col.nexus-owner-video__col-drag{width:28px}
.nexus-owner-video__table col.nexus-owner-video__col-id{width:40px}
.nexus-owner-video__table col.nexus-owner-video__col-provider{width:112px}
.nexus-owner-video__table col.nexus-owner-video__col-title{width:auto}
.nexus-owner-video__table col.nexus-owner-video__col-url{width:auto}
.nexus-owner-video__table col.nexus-owner-video__col-status{width:74px}
.nexus-owner-video__table col.nexus-owner-video__col-actions{width:88px}
.nexus-owner-video__table thead{
    display:table-header-group;
}
.nexus-owner-video__table thead tr{display:table-row}
.nexus-owner-video__table thead th{
    position:sticky;
    top:var(--nexus-owner-video-sticky-top,0px);
    z-index:18;
    padding:9px 7px;
    border-bottom:1px solid rgba(143,216,255,.18);
    background:#081521;
    box-shadow:0 8px 18px rgba(0,0,0,.22);
    color:rgba(244,247,251,.72);
    font-size:.66rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.055em;
    white-space:nowrap;
}
.nexus-owner-video__table thead th:first-child{border-top-left-radius:9px}
.nexus-owner-video__table thead th:last-child{border-top-right-radius:9px}
.nexus-owner-video__table tbody{display:table-row-group}
.nexus-owner-video__table tr.nexus-owner-video__source-row{display:table-row}
.nexus-owner-video__table td{
    display:table-cell;
    padding:9px 7px;
    border-bottom:1px solid rgba(255,255,255,.07);
    background:rgba(7,18,30,.52);
    vertical-align:middle;
}
.nexus-owner-video__table tbody tr:last-child td{border-bottom:0}
.nexus-owner-video__source-row.is-active td{background:rgba(127,255,212,.025)}
.nexus-owner-video__source-row.is-disabled{opacity:.7}
.nexus-owner-video__source-row.is-dragging{opacity:.42}
.nexus-owner-video__source-row.is-drop-target td{box-shadow:inset 0 2px 0 rgba(78,205,255,.72)}
.nexus-owner-video__provider-cell,
.nexus-owner-video__title-cell,
.nexus-owner-video__url-cell{display:table-cell!important;min-width:0}
.nexus-owner-video__provider-wrap{display:flex;align-items:center;gap:7px;min-width:0}
.nexus-owner-video__provider-copy{display:grid;gap:2px;min-width:0}
.nexus-owner-video__provider{font-size:.68rem}
.nexus-owner-video__provider-cell small{font-size:.62rem;opacity:.58}
.nexus-owner-video__thumb{width:46px;height:28px;flex:0 0 46px;border-radius:5px}
.nexus-owner-video__cell-stack{display:grid;gap:4px;min-width:0}
.nexus-owner-video__field-label{display:none}
.nexus-owner-video__table input[type=text],
.nexus-owner-video__table input[type=url]{
    width:100%;
    min-width:0;
    height:34px;
    box-sizing:border-box;
    padding:7px 8px;
    border-radius:6px;
    background:rgba(0,0,0,.24);
    border-color:rgba(127,255,212,.15);
    overflow:hidden;
    text-overflow:ellipsis;
}
.nexus-owner-video__metadata-line,
.nexus-owner-video__url-meta{
    display:block;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:rgba(244,247,251,.5);
    font-size:.61rem;
    line-height:1.25;
}
.nexus-owner-video__drag-cell{text-align:center!important}
.nexus-owner-video__drag-handle{width:24px;height:28px}
.nexus-owner-video__id-cell{text-align:center!important}
.nexus-owner-video__status-cell{text-align:center!important}
.nexus-owner-video__active-toggle{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-width:0;
    padding:5px 6px;
    border:0;
    background:transparent;
    border-radius:5px;
    font-size:.7rem;
}
.nexus-owner-video__active-toggle input{width:auto!important;margin:0}
.nexus-owner-video__row-actions{text-align:right!important;white-space:nowrap}
.nexus-owner-video__action-stack{display:flex;align-items:center;justify-content:flex-end;gap:3px}
.nexus-owner-video__metadata-state,.nexus-owner-video__autosave{width:22px;height:26px;background:transparent}
.nexus-owner-video__icon-button{width:28px;height:28px;border-radius:6px}

@media(max-width:820px){
    .nexus-owner-video__table-wrap{border:0;background:transparent;overflow:visible}
    .nexus-owner-video__table{display:block;min-width:0}
    .nexus-owner-video__table colgroup{display:none}
    .nexus-owner-video__table thead{display:none}
    .nexus-owner-video__table tbody[data-owner-video-source-table-body]{display:grid;gap:12px}
    .nexus-owner-video__table tr.nexus-owner-video__source-row{
        display:grid;
        grid-template-columns:30px minmax(0,1fr) auto;
        grid-template-areas:'drag provider actions' 'drag title title' 'drag url url' 'drag status status';
        gap:10px;
        padding:12px;
        border:1px solid rgba(143,216,255,.1);
        border-radius:12px;
        background:rgba(8,20,33,.72);
    }
    .nexus-owner-video__source-row>td{display:block!important;padding:0;background:transparent!important;border:0}
    .nexus-owner-video__source-row .nexus-owner-video__id-cell{display:none!important}
    .nexus-owner-video__drag-cell{grid-area:drag;display:grid!important;place-items:start center}
    .nexus-owner-video__provider-cell{grid-area:provider}
    .nexus-owner-video__title-cell{grid-area:title}
    .nexus-owner-video__url-cell{grid-area:url}
    .nexus-owner-video__status-cell{grid-area:status;text-align:left!important}
    .nexus-owner-video__row-actions{grid-area:actions;align-self:start}
    .nexus-owner-video__field-label{display:inline-block;font-size:.62rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:rgba(244,247,251,.46)}
    .nexus-owner-video__thumb{width:68px;height:38px;flex-basis:68px}
    .nexus-owner-video__active-toggle{justify-content:flex-start;padding:5px 0}
    .nexus-owner-video__metadata-line,.nexus-owner-video__url-meta{white-space:normal;overflow:visible;text-overflow:clip}
}
@media(max-width:560px){
    .nexus-owner-video__table tr.nexus-owner-video__source-row{
        grid-template-columns:28px minmax(0,1fr);
        grid-template-areas:'drag provider' 'title title' 'url url' 'status actions';
        padding:11px;
    }
    .nexus-owner-video__row-actions{justify-self:end}
}


/* Nexus Video Player · Step 10.13.10 containment fix */
.nexus-owner-video{min-width:0;max-width:100%;overflow:hidden}
.nexus-owner-video__table-wrap{
    width:100%;
    min-width:0;
    max-width:100%;
    overflow-x:auto;
    overflow-y:visible;
    box-sizing:border-box;
    scrollbar-gutter:stable;
}
.nexus-owner-video__table{
    width:100%;
    max-width:100%;
}
.nexus-owner-video__table thead th,
.nexus-owner-video__table td{
    box-sizing:border-box;
}
.nexus-owner-video__table col.nexus-owner-video__col-drag{width:24px}
.nexus-owner-video__table col.nexus-owner-video__col-id{width:34px}
.nexus-owner-video__table col.nexus-owner-video__col-provider{width:104px}
.nexus-owner-video__table col.nexus-owner-video__col-status{width:72px}
.nexus-owner-video__table col.nexus-owner-video__col-actions{width:74px}
.nexus-owner-video__table td{padding:8px 6px}
.nexus-owner-video__table thead th{padding:9px 6px}
.nexus-owner-video__thumb{width:42px;height:26px;flex-basis:42px}
.nexus-owner-video__provider-wrap{gap:6px}
.nexus-owner-video__table input[type=text],
.nexus-owner-video__table input[type=url]{height:32px;padding:6px 8px}
.nexus-owner-video__action-stack{gap:2px}
.nexus-owner-video__metadata-state,.nexus-owner-video__autosave{width:20px;height:24px}
.nexus-owner-video__icon-button{width:26px;height:26px}
@media(max-width:1380px){
    .nexus-owner-video__table col.nexus-owner-video__col-id{width:0}
    .nexus-owner-video__table th:nth-child(2),
    .nexus-owner-video__table td:nth-child(2){display:none}
    .nexus-owner-video__table col.nexus-owner-video__col-provider{width:98px}
    .nexus-owner-video__table col.nexus-owner-video__col-actions{width:70px}
}
@media(max-width:820px){
    .nexus-owner-video{overflow:visible}
    .nexus-owner-video__table-wrap{overflow:visible;scrollbar-gutter:auto}
}


/* Nexus Video Player · Step 10.13.11 disable sticky header for stability */
.nexus-owner-video__table-wrap{overflow-x:auto;overflow-y:hidden}
.nexus-owner-video__table thead th{
    position:static;
    top:auto;
    z-index:auto;
    box-shadow:none;
}
@media(max-width:820px){
    .nexus-owner-video__table-wrap{overflow:visible}
}

/* 2026-09-17: catalog-driven fallback Hero layout. When Planner owns the
   default left slot, give the legacy/non-Pages stage the same breathing room as
   the Pages shell without making the order configurable per Hero. */
.nexus-register-card--default-with-left{width:min(1480px,100%)}
.nexus-default-hero-modules{padding-top:0}
.nexus-default-hero-modules>.nexus-page-block,
.nexus-default-hero-modules>.nexus-page-module-slot{width:100%;min-width:0}


/* 2026-09-17: Default-Hero Shell Rails
   Planer/Notice und Member-/Loginstatus sind echte Geschwister des <main>.
   Dadurch bleibt die zentrale Modulspalte breit und der Fallback wirkt wie die Pages-Shell. */
.nexus-register-stage {
    width: min(1240px, 100%);
    margin: 0 auto;
}
.nexus-register-stage > .nexus-register-card {
    width: 100%;
    margin: 0;
}
.nexus-register-stage--active {
    width: min(1580px, 100%);
    display: grid;
    align-items: start;
    gap: clamp(18px, 2vw, 28px);
}
.nexus-register-stage--active.nexus-register-stage--with-left {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr) minmax(290px, 330px);
    grid-template-areas: "left main right";
}
.nexus-register-stage--active.nexus-register-stage--without-left {
    width: min(1340px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
    grid-template-areas: "main right";
}
.nexus-register-stage--active > .nexus-register-card {
    grid-area: main;
    min-width: 0;
}
.nexus-register-stage--active > .nexus-register-rail--left { grid-area: left; }
.nexus-register-stage--active > .nexus-register-rail--right { grid-area: right; }
.nexus-register-rail {
    min-width: 0;
    display: grid;
    gap: 16px;
    position: sticky;
    top: 22px;
}
.nexus-register-rail > .nexus-planner-widget,
.nexus-register-rail > .nexus-visit-role,
.nexus-register-rail > .nexus-hero-authbar,
.nexus-register-rail > .nexus-follow-panel {
    width: 100%;
    margin: 0;
    box-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
}
.nexus-register-card--detached-shell {
    min-width: 0;
}
.nexus-default-hero-main {
    min-width: 0;
    display: grid;
    gap: var(--nx-gap, 24px);
}
.nexus-default-hero-main > .nexus-page-blocks {
    padding-top: 0;
}

@media (max-width: 1180px) {
    .nexus-register-stage--active.nexus-register-stage--with-left {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        grid-template-areas: "main right" "left right";
    }
    .nexus-register-stage--active > .nexus-register-rail--left {
        position: static;
    }
}
@media (max-width: 900px) {
    .nexus-register-stage--active.nexus-register-stage--with-left,
    .nexus-register-stage--active.nexus-register-stage--without-left {
        width: min(820px, 100%);
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "main" "left" "right";
    }
    .nexus-register-stage--active.nexus-register-stage--without-left {
        grid-template-areas: "main" "right";
    }
    .nexus-register-rail {
        position: static;
    }
}


/* Nexus 3D · Step 12.4: image lightbox with native Gallery comments. */
.nexus-gallery-lightbox__dialog--comments{width:min(1480px,100%);grid-template-columns:minmax(0,1fr) minmax(300px,380px);align-items:start;overflow:hidden}
.nexus-gallery-lightbox__media{display:grid;gap:14px;min-width:0;min-height:0}
.nexus-gallery-lightbox__dialog--comments .nexus-gallery-lightbox__image{max-height:min(72vh,860px)}
.nexus-gallery-lightbox__comments-panel{min-width:0;max-height:calc(100vh - 84px);overflow:auto;padding:4px 2px 4px 4px;overscroll-behavior:contain}
.nexus-gallery-lightbox__comments-target{margin:0;background:rgba(4,9,18,.62)}
.nexus-gallery-lightbox__comments-panel .nexus-gallery-comments__list{max-height:46vh;overflow:auto;overscroll-behavior:contain}
@media(max-width:920px){
  .nexus-gallery-lightbox__dialog--comments{grid-template-columns:1fr;overflow:auto}
  .nexus-gallery-lightbox__comments-panel{max-height:none}
  .nexus-gallery-lightbox__comments-panel .nexus-gallery-comments__list{max-height:280px}
  .nexus-gallery-lightbox__dialog--comments .nexus-gallery-lightbox__image{max-height:min(60vh,720px)}
}

/* Room Editor Step 16.19: paired range + exact number controls in owner settings. */
.nexus-owner-room-editor__range-field{display:grid!important;grid-template-columns:minmax(0,1fr) 86px!important;gap:7px 10px!important;align-items:center!important}
.nexus-owner-room-editor__range-field>span{grid-column:1/-1;color:inherit}.nexus-owner-room-editor__range-field>input[type=range]{grid-column:1/2;width:100%;accent-color:#79e7ff}.nexus-owner-room-editor__range-field>input[type=number]{grid-column:2/3;width:86px}

.nexus-gallery-lightbox__image[data-gallery-preview-thumb="1"]{width:100%;min-height:min(52vh,620px);object-fit:cover}


/* Gallery 16.50: keep the visitor informed while foreground media is loading/repairing. */
.nexus-gallery-lightbox__media{position:relative}
.nexus-gallery-lightbox__loading[hidden]{display:none!important}
.nexus-gallery-lightbox__loading{
  position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:10px;
  pointer-events:none;color:#f5f8fc;font-size:14px;font-weight:700;letter-spacing:.01em;
  text-shadow:0 1px 3px rgba(0,0,0,.55);background:rgba(4,8,14,.34);border-radius:14px
}
.nexus-gallery-lightbox__loading[data-gallery-loading-mode="preview"]{
  inset:auto 14px 14px 14px;justify-content:center;width:max-content;max-width:calc(100% - 28px);margin:auto;
  padding:9px 13px;border:1px solid rgba(143,216,255,.18);border-radius:999px;background:rgba(5,11,19,.82);
  box-shadow:0 8px 28px rgba(0,0,0,.28);backdrop-filter:blur(8px)
}
.nexus-gallery-lightbox__loading-spinner{
  width:18px;height:18px;flex:0 0 18px;border:2px solid rgba(255,255,255,.24);border-top-color:#8fd8ff;border-radius:999px;
  animation:nexusGalleryImageLoadingSpin .8s linear infinite
}
@keyframes nexusGalleryImageLoadingSpin{to{transform:rotate(360deg)}}

