/* niceeins Design Shell — Laravel PoC */

@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/assets/niceeins/BricolageGrotesque-VF-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                   U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                   U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                   U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/assets/niceeins/BricolageGrotesque-VF-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC,
                   U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design Tokens ───────────────────────────────────────────────────────── */
:root {
    --bg:            #0a0a0c;
    --bg-card:       rgba(20, 20, 24, 0.7);
    --surface:       rgba(24, 24, 27, 0.55);
    --surface-solid: #18181b;
    --border:        rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --fg:            #efeff1;
    --fg-muted:      #adadb8;
    --accent:        #9146FF;
    --accent-soft:   rgba(145, 70, 255, 0.15);
    --danger:        #ef4444;
    --success:       #22c55e;
    --warn:          #facc15;
    --radius-card:   16px;
    --radius-ctrl:   10px;
    --shadow-card:   0 18px 42px rgba(0, 0, 0, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background:  var(--bg);
    color:       var(--fg);
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size:   16px;
    min-height:  100vh;
}
html { scrollbar-gutter: stable; overflow-x: hidden; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: .85; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: inherit;
}

/* ── Background blobs ────────────────────────────────────────────────────── */
.n1-bg {
    position: fixed; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none;
}
.n1-blob {
    position: absolute;
    width: 60vw; height: 60vw;
    max-width: 800px; max-height: 800px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: n1-drift 24s ease-in-out infinite alternate;
}
.n1-blob--1 { top: -10%; left: -10%; background: var(--accent); }
.n1-blob--2 {
    bottom: -15%; right: -15%; background: var(--accent);
    animation-delay: -8s; animation-duration: 30s;
}
@keyframes n1-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(8vw, 6vw) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) { .n1-blob { animation: none; } }

.n1-profile-shell .n1-bg {
    display: none;
}

/* ── Dev-Banner ──────────────────────────────────────────────────────────── */
.n1-dev-banner {
    position: relative; z-index: 10;
    background: rgba(250, 204, 21, 0.12);
    border-bottom: 1px solid rgba(250, 204, 21, 0.35);
    color: #fef9c3;
    padding: 8px clamp(1rem, 4vw, 2rem);
    text-align: center;
    font-size: 0.8rem;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.n1-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(10, 10, 12, 0.75);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.n1-header__inner {
    max-width: 1100px; margin: 0 auto;
    padding: 0.875rem clamp(1rem, 4vw, 2rem);
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.n1-header__logo {
    display: flex; align-items: center; gap: 0.6rem;
    color: var(--fg); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em;
}
.n1-header__logo img { width: 28px; height: 28px; }
.n1-header__nav { display: flex; align-items: center; gap: 0.5rem; }
.n1-header__nav-link {
    color: var(--fg-muted); padding: 0.4rem 0.8rem; border-radius: 8px;
    font-size: 0.88rem; font-weight: 600;
    transition: background 0.15s, color 0.15s;
}
.n1-header__nav-link:hover { background: var(--border); color: var(--fg); opacity: 1; }
.n1-header__nav-link--active { background: var(--accent-soft); color: var(--accent); opacity: 1; }
.n1-header__cta {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.45rem 1rem;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, rgba(255,255,255,0.1));
    border-radius: var(--radius-ctrl);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: color-mix(in srgb, var(--accent) 85%, white 10%);
    font-size: 0.88rem; font-weight: 650;
    transition: background 0.15s, border-color 0.15s;
}
.n1-header__cta:hover {
    background: color-mix(in srgb, var(--accent) 24%, transparent);
    border-color: color-mix(in srgb, var(--accent) 72%, white 8%);
    opacity: 1;
}

/* ── Main wrapper ────────────────────────────────────────────────────────── */
.n1-main { position: relative; z-index: 1; }
.n1-container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.n1-hero {
    padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 5rem);
    text-align: center;
}
.n1-hero__badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: var(--surface);
    color: var(--fg-muted); font-size: 0.8rem; font-weight: 600;
    margin-bottom: 1.75rem;
}
.n1-hero__badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--success); box-shadow: 0 0 6px var(--success);
}
.n1-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    margin-bottom: 1.25rem;
}
.n1-hero__title span { color: var(--accent); }
.n1-hero__sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--fg-muted); max-width: 560px; margin: 0 auto 2.5rem;
    line-height: 1.6;
}
.n1-hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.n1-btn {
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.7rem 1.4rem; border-radius: var(--radius-ctrl);
    font-size: 0.95rem; font-weight: 700;
    transition: opacity 0.15s, transform 0.15s;
    cursor: pointer; border: none;
}
.n1-btn:hover { opacity: .9; transform: translateY(-1px); }
.n1-btn--primary { background: var(--accent); color: #fff; }
.n1-btn--ghost {
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--fg);
}
.n1-btn--ghost:hover { background: var(--border); }

/* ── Feature cards ───────────────────────────────────────────────────────── */
.n1-features {
    padding: clamp(2rem, 6vw, 4rem) 0;
}
.n1-features__title {
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700; letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}
.n1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.n1-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color 0.2s, transform 0.2s;
}
.n1-card:hover {
    border-color: color-mix(in srgb, var(--accent) 40%, transparent);
    transform: translateY(-2px);
}
.n1-card__icon {
    font-size: 1.75rem; margin-bottom: 0.9rem;
}
.n1-card__title {
    font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem;
}
.n1-card__desc {
    font-size: 0.88rem; color: var(--fg-muted); line-height: 1.55;
}
.n1-card__badge {
    display: inline-block; margin-top: 1rem;
    padding: 0.2rem 0.6rem; border-radius: 999px;
    font-size: 0.75rem; font-weight: 600;
    background: var(--accent-soft); color: var(--accent);
}

/* ── Status section ──────────────────────────────────────────────────────── */
.n1-status-strip {
    padding: 1.5rem 0 3rem;
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}
.n1-status-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 1rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 0.82rem; font-weight: 600; color: var(--fg-muted);
}
.n1-status-chip__dot {
    width: 7px; height: 7px; border-radius: 50%;
}
.n1-status-chip__dot--green { background: var(--success); box-shadow: 0 0 5px var(--success); }
.n1-status-chip__dot--yellow { background: var(--warn); box-shadow: 0 0 5px var(--warn); }

/* ── Social Icon Links ───────────────────────────────────────────────────── */
.n1-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.n1-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--fg);
    font-size: 0.85rem;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.n1-social-link:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--fg);
    opacity: 1;
}
.n1-social-link--discord {
    background: rgba(88,101,242,0.1);
    border-color: rgba(88,101,242,0.35);
    color: #8892f8;
}
.n1-social-link--discord:hover {
    background: rgba(88,101,242,0.2);
    border-color: rgba(88,101,242,0.6);
    color: #8892f8;
}
.n1-social-link__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.85;
}

/* ── Bio Markdown Content ────────────────────────────────────────────────── */
.n1-bio-content {
    color: var(--fg-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}
.n1-bio-content p {
    margin: 0 0 0.6rem;
}
.n1-bio-content p:last-child {
    margin-bottom: 0;
}

/* ── Neu hier? Sektion ───────────────────────────────────────────────────── */
.n1-new-here {
    position: relative;
    z-index: 2;
    margin: clamp(-2.35rem, -3.4vw, -1.2rem) 0 clamp(1.25rem, 3vw, 2rem);
}
.n1-new-here__inner {
    padding: clamp(1.05rem, 2.4vw, 1.45rem);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--profile-accent) 24%, transparent), transparent 30%),
        linear-gradient(145deg, color-mix(in srgb, var(--surface-solid) 88%, var(--profile-accent) 12%), rgba(18,18,22,.92));
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.n1-new-here__header {
    margin-bottom: 1rem;
}
.n1-new-here__title {
    margin: 0;
    color: var(--fg);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.05;
    font-weight: 850;
}
.n1-new-here__intro {
    max-width: 46rem;
    margin: .45rem 0 0;
    color: var(--fg-muted);
    font-size: .94rem;
    line-height: 1.55;
}
.n1-new-here__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: .85rem;
}
.n1-new-here__card {
    position: relative;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    overflow: hidden;
}
.n1-new-here__card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--profile-accent);
    opacity: .8;
}
.n1-new-here__card-icon {
    margin-bottom: .55rem;
    font-size: 1.25rem;
    line-height: 1;
}
.n1-new-here__card-kicker {
    margin-bottom: .25rem;
    color: color-mix(in srgb, var(--profile-accent) 76%, #fff 24%);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.n1-new-here__card-title {
    margin: 0 0 .55rem;
    color: var(--fg);
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 780;
}
.n1-new-here__card-text {
    margin: 0 0 .7rem;
    color: var(--fg-muted);
    font-size: .88rem;
    line-height: 1.5;
}
.n1-new-here__pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.n1-new-here__pill-list li {
    min-width: 0;
}
.n1-new-here__pill-list span,
.n1-new-here__links a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 32px;
    padding: .32rem .62rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.84);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.n1-new-here__links {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.n1-new-here__links a:hover {
    color: #fff;
    border-color: var(--profile-accent);
    background: color-mix(in srgb, var(--profile-accent) 24%, rgba(255,255,255,.08));
}

/* ── Schedule Badges ─────────────────────────────────────────────────────── */
.n1-schedule-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}
.n1-schedule-badge--heute {
    background: rgba(34,197,94,0.18);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
}
.n1-schedule-badge--morgen {
    background: rgba(250,204,21,0.15);
    color: #fde047;
    border: 1px solid rgba(250,204,21,0.3);
}
.n1-schedule-badge--diese-woche {
    background: rgba(145,70,255,0.15);
    color: #b97aff;
    border: 1px solid rgba(145,70,255,0.3);
}
.n1-schedule-badge--später {
    background: rgba(255,255,255,0.06);
    color: var(--fg-muted);
    border: 1px solid var(--border);
}

/* ── Games Grid + Cover ──────────────────────────────────────────────────── */
.n1-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: var(--space-3);
}
.n1-game-card {
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s;
}
.n1-game-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.n1-game-card__cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}
.n1-game-card__cover--placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--surface-2, var(--surface));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.n1-game-card__body {
    padding: 0.5rem 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}
.n1-game-card__title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}
.n1-game-card__status {
    font-size: 0.7rem;
}
.n1-game-card__genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.2rem;
}
.n1-genre-tag {
    font-size: 0.62rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: rgba(145,70,255,0.12);
    color: #b97aff;
    border: 1px solid rgba(145,70,255,0.2);
    white-space: nowrap;
    overflow: hidden;
    max-width: 80px;
    text-overflow: ellipsis;
}

/* ── Command Groups ──────────────────────────────────────────────────────── */
.n1-command-group__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    opacity: 0.8;
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}
.n1-command-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.n1-command-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-ctrl);
    padding: 0.55rem var(--space-4);
    display: flex;
    align-items: baseline;
    gap: var(--space-4);
    flex-wrap: wrap;
}
.n1-command-item__name {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 110px;
}
.n1-command-item__desc {
    font-size: 0.85rem;
    color: var(--fg-muted);
    flex: 1;
}
.n1-command-item__perm {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.n1-footer {
    border-top: 1px solid var(--border);
    padding: 2rem clamp(1rem, 4vw, 2rem);
    text-align: center; color: var(--fg-muted); font-size: 0.82rem;
}
.n1-footer a { color: var(--fg-muted); }
.n1-footer a:hover { color: var(--accent); opacity: 1; }
.n1-footer__inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.75rem;
}
.n1-footer__controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* ── Consent-Gate ───────────────────────────────────────────────── */
.n1-consent-gate {
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface-1);
    border: 1px solid var(--border);
}
.n1-consent-gate__notice {
    padding: var(--space-6);
    display: flex; flex-direction: column; align-items: center;
    gap: var(--space-3); text-align: center;
}
.n1-consent-gate__icon { font-size: 2rem; line-height: 1; }
.n1-consent-gate__title {
    font-weight: 700; font-size: 1rem; margin: 0;
    color: var(--text-1);
}
.n1-consent-gate__text {
    font-size: 0.875rem; color: var(--text-2);
    margin: 0; max-width: 420px; line-height: 1.5;
}
.n1-consent-gate__actions {
    display: flex; flex-direction: column; align-items: center;
    gap: var(--space-3);
}
.n1-consent-gate__remember {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; color: var(--text-2); cursor: pointer;
}
.n1-consent-gate__remember input { accent-color: var(--accent); cursor: pointer; }
.n1-consent-gate__privacy {
    font-size: 0.75rem; color: var(--text-2); margin: 0;
}
.n1-consent-gate__privacy a { color: var(--text-2); text-decoration: underline; }
.n1-consent-gate__privacy a:hover { color: var(--accent); }
.n1-consent-gate__content { width: 100%; }

/* ── Error-Pages ────────────────────────────────────────────────── */
.n1-error-page {
    min-height: 60vh;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: var(--space-4);
    text-align: center; padding: var(--space-8) var(--space-4);
}
.n1-error-page__code {
    font-size: 4rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--accent), #ff7eb3);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.n1-error-page__title {
    font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--text-1);
}
.n1-error-page__text {
    font-size: 0.95rem; color: var(--text-2);
    max-width: 460px; line-height: 1.6; margin: 0;
}
.n1-error-page__actions {
    display: flex; gap: var(--space-3); flex-wrap: wrap;
    justify-content: center; margin-top: var(--space-2);
}

/* ── Clip Grid ───────────────────────────────────────────────────────────── */
.n1-clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
}
.n1-clip-card {
    border-radius: var(--radius-card);
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s;
}
.n1-clip-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.n1-clip-card__thumb-link {
    display: block;
    position: relative;
    overflow: hidden;
}
.n1-clip-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .2s;
}
.n1-clip-card:hover .n1-clip-card__thumb {
    transform: scale(1.03);
}
.n1-clip-card__thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--fg-muted);
}
.n1-clip-card__duration {
    position: absolute;
    bottom: 6px; right: 6px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}
.n1-clip-card__hl-badge {
    position: absolute;
    top: 6px; left: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}
.n1-clip-card__body {
    padding: 0.6rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}
.n1-clip-card__title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--fg);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.n1-clip-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.68rem;
    color: var(--fg-muted);
}
.n1-clip-card__link {
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
}
.n1-clip-card__link:hover { opacity: .8; }

/* ── Command Search ──────────────────────────────────────────────────────── */
.n1-command-search-wrap {
    position: relative;
}
.n1-command-search {
    width: 100%;
    padding: 0.55rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-ctrl);
    color: var(--fg);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}
.n1-command-search:focus {
    border-color: var(--accent);
}
.n1-command-search::placeholder { color: var(--fg-muted); }

/* ── Copy Button ─────────────────────────────────────────────────────────── */
.n1-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg-muted);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .12s, background .12s, color .12s;
    flex-shrink: 0;
    margin-left: auto;
}
.n1-copy-btn:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--accent);
}
.n1-copy-btn--copied {
    border-color: var(--success) !important;
    background: rgba(34,197,94,0.12) !important;
    color: var(--success) !important;
}
.n1-copy-btn__icon { font-size: 0.8rem; }

/* ── Schedule Next-Stream Highlight ─────────────────────────────────────── */
.n1-schedule-next {
    border-color: rgba(145,70,255,0.45) !important;
    background: rgba(145,70,255,0.07) !important;
}
.n1-countdown {
    font-variant-numeric: tabular-nums;
}

/* ── Theme Toggle ────────────────────────────────────────────────────────── */
.n1-theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-ctrl);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s, border-color .15s;
}
.n1-theme-toggle:hover {
    background: var(--border);
    border-color: var(--border-strong);
}

/* ── Light Theme ─────────────────────────────────────────────────────────── */
html.n1-light {
    --bg:            #f4f4f8;
    --bg-card:       rgba(255,255,255,0.85);
    --surface:       rgba(240,240,245,0.8);
    --surface-solid: #e8e8ef;
    --border:        rgba(0,0,0,0.10);
    --border-strong: rgba(0,0,0,0.22);
    --fg:            #18181b;
    --fg-muted:      #52525b;
    --accent:        #7c3aed;
    --accent-soft:   rgba(124,58,237,0.1);
    --shadow-card:   0 4px 24px rgba(0,0,0,0.07);
}
html.n1-light body { background: var(--bg); color: var(--fg); }
html.n1-light .n1-header {
    background: rgba(244,244,248,0.85);
    border-bottom-color: var(--border);
}
html.n1-light .n1-blob { opacity: 0.07; }
html.n1-light .n1-command-search { background: #fff; }
html.n1-light .n1-new-here__inner {
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--profile-accent) 12%, transparent), transparent 28rem),
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(244,246,252,.92));
    border-color: rgba(31,41,55,.10);
    box-shadow: 0 14px 34px rgba(31,41,55,.10);
}
html.n1-light .n1-new-here__card {
    background: rgba(255,255,255,.88);
    border-color: rgba(31,41,55,.08);
}
html.n1-light .n1-new-here__card::before {
    opacity: .65;
}
html.n1-light .n1-new-here__pill-list span,
html.n1-light .n1-new-here__links a {
    background: rgba(255,255,255,.9);
    border-color: rgba(31,41,55,.12);
    color: #374151;
}
html.n1-light .n1-new-here__links a:hover {
    color: #111827;
    border-color: color-mix(in srgb, var(--profile-accent) 30%, rgba(31,41,55,.12));
    background: color-mix(in srgb, var(--profile-accent) 10%, rgba(255,255,255,.94));
}

/* ── Mobile Feinschliff ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .n1-clips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
    .n1-clip-card__title { font-size: 0.72rem; }
    .n1-copy-btn__label { display: none; }
    .n1-copy-btn { padding: 0.2rem 0.4rem; }
    .n1-social-links { gap: 0.4rem; }
    .n1-games-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
    .n1-command-search { font-size: 0.8rem; }
}
@media (max-width: 400px) {
    .n1-clips-grid { grid-template-columns: 1fr; }
}

/* ── Visually Hidden (a11y) ──────────────────────────────────────────────── */
.n1-visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Community Hub ───────────────────────────────────────────────────────── */
.n1-hub-container {
    padding-top: 0;
    padding-bottom: clamp(3rem, 8vw, 6rem);
}

.n1-hub-poc-banner {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(255,183,77,0.10);
    border: 1px solid rgba(255,183,77,0.28);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: #ffb74d;
}

/* Hub Hero */
.n1-hub-hero {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}
.n1-hub-kicker {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--accent); opacity: 0.8;
    margin-bottom: 0.75rem;
}
.n1-hub-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    margin-bottom: 0.9rem;
}
.n1-hub-hero h1 span { color: var(--accent); }
.n1-hub-sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--fg-muted);
    max-width: 520px; margin: 0 auto 0.5rem;
    line-height: 1.55;
}
.n1-hub-visibility-hint {
    color: var(--fg-muted); opacity: 0.6; font-size: 0.88em;
}
.n1-hub-count {
    font-size: 0.82rem; color: var(--fg-muted); opacity: 0.7;
}

/* Toolbar */
.n1-hub-toolbar {
    display: flex; flex-direction: column; gap: 0.85rem;
    margin-bottom: 2rem;
}
.n1-hub-search-wrap {
    position: relative; max-width: 420px;
}
.n1-hub-search-icon {
    position: absolute; left: 0.85rem; top: 50%;
    transform: translateY(-50%);
    color: var(--fg-muted); pointer-events: none;
    opacity: 0.6;
}
.n1-hub-search {
    width: 100%;
    padding: 0.6rem 0.9rem 0.6rem 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-ctrl);
    color: var(--fg);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}
.n1-hub-search:focus { border-color: var(--accent); }
.n1-hub-search::placeholder { color: var(--fg-muted); }

/* Filter Pills */
.n1-hub-filter {
    display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.n1-hub-filter__pill {
    display: inline-flex; align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--fg-muted);
    font-size: 0.8rem; font-weight: 600;
    transition: background .15s, border-color .15s, color .15s;
}
.n1-hub-filter__pill:hover {
    border-color: var(--border-strong);
    color: var(--fg);
    background: var(--bg-card);
}
.n1-hub-filter__pill.is-active {
    background: var(--accent-soft);
    border-color: rgba(145,70,255,0.4);
    color: var(--accent);
}

/* Streamer Card Grid */
.n1-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Streamer Card */
.n1-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.n1-hub-card:hover {
    border-color: color-mix(in srgb, var(--ne-card-accent, var(--accent)) 45%, transparent);
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}
.n1-hub-card[hidden] {
    display: none;
}

/* Card Banner */
.n1-hub-card__media {
    width: 100%; height: 130px; overflow: hidden; position: relative;
    flex-shrink: 0;
    z-index: 0;
}
.n1-hub-card__banner-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.n1-hub-card__banner-gradient {
    width: 100%; height: 100%;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--card-accent, var(--ne-card-accent, #9146FF)) 35%, transparent),
        color-mix(in srgb, var(--card-accent, var(--ne-card-accent, #9146FF)) 8%, transparent));
}

/* Card Body */
.n1-hub-card__body {
    padding: 1rem 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* Identity: Avatar + Name */
.n1-hub-card__identity {
    display: flex; align-items: center; gap: 0.75rem;
    margin-top: -2.1rem;
    position: relative;
    z-index: 2;
}
.n1-hub-card__avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 3px solid var(--ne-card-accent, var(--accent));
    object-fit: cover;
    flex-shrink: 0;
    background: var(--surface-solid);
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 18px rgba(0,0,0,0.28);
}
.n1-hub-card__avatar--placeholder {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 700; color: var(--fg-muted);
}
.n1-hub-card__nameblock {
    display: flex; flex-direction: column; gap: 0.1rem;
    padding-top: 2rem;
    min-width: 0;
}
.n1-hub-card__name {
    font-size: 1.05rem; font-weight: 700; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.n1-hub-card__handle {
    font-size: 0.78rem; color: var(--fg-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Live badge */
.n1-hub-card__live-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.35);
    color: #f87171;
    font-size: 0.75rem; font-weight: 700;
    width: fit-content;
}
.n1-hub-card__live-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
    animation: n1-pulse 1.5s ease-in-out infinite;
}
@keyframes n1-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) { .n1-hub-card__live-dot { animation: none; } }
.n1-hub-card__live-title {
    font-size: 0.78rem; color: var(--fg-muted); font-style: italic;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* Next stream */
.n1-hub-card__next-stream {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; color: var(--fg-muted);
}

/* Bio */
.n1-hub-card__bio {
    font-size: 0.83rem; color: var(--fg-muted); line-height: 1.5;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    margin: 0;
}

/* Badges */
.n1-hub-card__badges {
    display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.n1-hub-card__badge {
    font-size: 0.7rem; font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(145,70,255,0.12);
    color: #b97aff;
    border: 1px solid rgba(145,70,255,0.22);
    white-space: nowrap;
}

/* CTA Button */
.n1-hub-card__cta {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: auto;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-ctrl);
    border: 1px solid color-mix(in srgb, var(--ne-card-accent, var(--accent)) 50%, rgba(255,255,255,0.1));
    background: color-mix(in srgb, var(--ne-card-accent, var(--accent)) 12%, transparent);
    color: color-mix(in srgb, var(--ne-card-accent, var(--accent)) 85%, white 10%);
    font-size: 0.875rem; font-weight: 650;
    text-decoration: none;
    transition: background .15s, border-color .15s;
    text-align: center;
}
.n1-hub-card__cta:hover {
    background: color-mix(in srgb, var(--ne-card-accent, var(--accent)) 24%, transparent);
    border-color: color-mix(in srgb, var(--ne-card-accent, var(--accent)) 70%, white 8%);
    opacity: 1;
}

/* Empty State */
.n1-hub-empty {
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 1rem;
    max-width: 480px;
    margin: 0 auto;
}
.n1-hub-empty__icon { font-size: 3rem; margin-bottom: 1rem; }
.n1-hub-empty h2 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem;
}
.n1-hub-empty p {
    color: var(--fg-muted); font-size: 0.9rem; line-height: 1.6;
}
.n1-hub-no-results { display: none; }
.n1-hub-no-results:not([hidden]) { display: block; }

/* Mobile Layout */
@media (max-width: 640px) {
    .n1-hub-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .n1-hub-card__media { height: 100px; }
    .n1-hub-hero h1 { font-size: 1.75rem; }
    .n1-hub-toolbar { gap: 0.65rem; }
    .n1-hub-search-wrap { max-width: 100%; }
    .n1-hub-filter__pill { font-size: 0.75rem; padding: 0.25rem 0.65rem; }
}
@media (min-width: 641px) and (max-width: 900px) {
    .n1-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROFIL-SEITE — Visual Parity (Sprint 017)
   Ziel: Laravel-Profilseite optisch an WordPress-Profil angleichen
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Accent-Variable pro Profil ─────────────────────────────────────────── */
.n1-profile-page {
    --profile-accent: var(--accent);
    background:
        radial-gradient(circle at 18% 28%, color-mix(in srgb, var(--profile-accent) 20%, transparent), transparent 28rem),
        radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--profile-accent) 14%, transparent), transparent 24rem),
        linear-gradient(180deg, #0a0a0c 0%, color-mix(in srgb, #0a0a0c 84%, var(--profile-accent) 16%) 46%, #0a0a0c 100%);
    min-height: 100vh;
}

/* ── Profil-Container: breiter als Standard-Container ─────────────────── */
.n1-profile-page .n1-container {
    max-width: 1120px;
}

/* ── Profil-Hero: Vollbild-Immersive wie WordPress ──────────────────────── */
.n1-profile-hero {
    position: relative;
    width: 100%;
    min-height: clamp(280px, 38vh, 480px);
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--profile-accent) 28%, transparent), transparent 30%),
        linear-gradient(135deg, #0a0a0c 0%, color-mix(in srgb, var(--profile-accent) 30%, #111116) 58%, #0a0a0c 100%);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: 0;
}

.n1-profile-hero--fallback {
    min-height: clamp(240px, 32vh, 360px);
}

/* Banner-Bild — vollflächig wie WordPress */
.n1-profile-hero__banner {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #0a0a0c;
}

/* Gradient-Overlay auf dem Banner */
.n1-profile-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 30%,
        rgba(10, 10, 12, 0.55) 65%,
        rgba(10, 10, 12, 0.88) 100%
    );
}

/* Fallback-Gradient wenn kein Banner */
.n1-profile-hero__banner-gradient {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

/* ── Hero Inner — Content-Bereich am Unterrand ──────────────────────────── */
.n1-profile-hero__inner {
    width: min(1120px, calc(100% - 3rem));
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(6rem, 14vh, 9rem) 0 clamp(2rem, 7vh, 4.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.45rem;
    position: relative;
    z-index: 1;
}

.n1-profile-hero--fallback .n1-profile-hero__inner {
    padding-top: clamp(2.5rem, 6vh, 4rem);
    padding-bottom: clamp(1.25rem, 3vh, 2rem);
}

/* ── Identity Row: Avatar links, CTA-Panel absolut oben rechts im Hero-Inner ── */
.n1-profile-hero__identity {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 1.5rem;
    min-width: 0;
}

.n1-profile-hero__identity-left {
    display: flex;
    align-items: flex-end;
    gap: 1.15rem;
    min-width: 0;
}

/* ── Avatar ─────────────────────────────────────────────────────────────── */
.n1-profile-hero__avatar {
    width: clamp(100px, 11vw, 140px);
    height: clamp(100px, 11vw, 140px);
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.12);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--profile-accent) 78%, #fff 8%),
        0 20px 50px rgba(0,0,0,.45);
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.n1-profile-hero__avatar--placeholder {
    width: clamp(100px, 11vw, 140px);
    height: clamp(100px, 11vw, 140px);
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.12);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--profile-accent) 78%, #fff 8%);
    background: var(--surface-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

/* ── Name-Block ─────────────────────────────────────────────────────────── */
.n1-profile-hero__name-block {
    min-width: 0;
    max-width: 100%;
}

.n1-profile-hero__meta-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    max-width: 100%;
}

.n1-profile-hero__handle {
    display: inline-flex;
    align-items: center;
    color: color-mix(in srgb, var(--profile-accent) 74%, #fff 26%);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .45rem;
    opacity: .9;
    white-space: nowrap;
}

.n1-profile-hero__title-row {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-width: 0;
    max-width: 100%;
    margin-top: 0;
}

.n1-profile-hero__name {
    display: block;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 850;
    color: #ffffff;
    line-height: .95;
    white-space: nowrap;
    overflow-wrap: normal;
    hyphens: none;
    word-break: normal;
    max-width: 100%;
    min-width: 0;
}

.n1-profile-hero__name--medium {
    font-size: clamp(1.65rem, 4.2vw, 3.4rem);
}

.n1-profile-hero__name--long {
    font-size: clamp(1.35rem, 3.5vw, 2.8rem);
}

/* ── Live-Badge ─────────────────────────────────────────────────────────── */
.n1-profile-hero__live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eb0400;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: .06em;
    text-transform: uppercase;
    flex: 0 0 auto;
    margin-left: 0;
    vertical-align: middle;
    animation: n1-profile-pulse 2s ease-in-out infinite;
}

@keyframes n1-profile-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

/* ── Broadcaster-Badge (Partner/Affiliate) ──────────────────────────────── */
.n1-profile-hero__broadcaster-badge {
    display: inline-flex;
    align-items: center;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    flex: 0 0 auto;
    margin-left: 0;
    vertical-align: middle;
}
.n1-profile-hero__broadcaster-badge--partner {
    background: rgba(145,70,255,.25);
    color: #c4a0ff;
    border: 1px solid rgba(145,70,255,.4);
}
.n1-profile-hero__broadcaster-badge--affiliate {
    background: rgba(80,80,200,.2);
    color: #a0a8ff;
    border: 1px solid rgba(80,80,200,.35);
}

/* ── Profil-Badges (außerhalb identity-row, wie WordPress) ──────────────── */
.n1-profile-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 0;
    max-width: 100%;
}

.n1-profile-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: .28rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    background: color-mix(in srgb, var(--profile-accent) 18%, rgba(0,0,0,.55));
    color: color-mix(in srgb, var(--profile-accent) 80%, #fff 20%);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 55%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ── CTA-Panel: absolut oben rechts im Hero-Inner (wie WordPress) ────────── */
.n1-profile-hero__cta-panel {
    display: flex;
    position: absolute;
    top: clamp(6rem, 14vh, 9rem);
    right: 0;
    align-items: center;
    gap: .55rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex-shrink: 0;
    width: max-content;
    max-width: 100%;
    padding: 1rem;
    background: rgba(18,18,22,.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    box-shadow: 0 10px 32px rgba(0,0,0,.35);
}

.n1-profile-hero--fallback .n1-profile-hero__cta-panel {
    top: clamp(3rem, 7vh, 4.5rem);
}

.n1-profile-hero__cta-group {
    display: flex;
    gap: .55rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
}

/* ── Twitch-Follow-Button ───────────────────────────────────────────────── */
.n1-profile-hero__follow-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    font-size: .875rem;
    padding: .5rem .9rem;
    border-radius: 12px;
    text-decoration: none;
    background: var(--profile-accent);
    color: #fff;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
    min-height: 40px;
}
.n1-profile-hero__follow-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Discord-Button ─────────────────────────────────────────────────────── */
.n1-profile-hero__discord-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    font-size: .875rem;
    padding: .5rem .9rem;
    border-radius: 12px;
    text-decoration: none;
    background: linear-gradient(135deg, #5865f2 0%, color-mix(in srgb, #5865f2 72%, var(--profile-accent)) 100%);
    color: #fff;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
    min-height: 40px;
}
.n1-profile-hero__discord-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    color: #fff;
}

/* ── Social-Icons im CTA-Panel ──────────────────────────────────────────── */
.n1-profile-hero__socials {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    justify-content: flex-end;
}

.n1-profile-hero__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.1);
    border-radius: 12px;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
    font-size: .8rem;
    font-weight: 700;
    flex: 0 0 auto;
}
.n1-profile-hero__social-icon:hover {
    background: var(--profile-accent);
    color: #fff;
    border-color: var(--profile-accent);
    opacity: 1;
}

/* ── Bio-/Sponsor-Intro im Hero ─────────────────────────────────────────── */
.n1-profile-hero__intro {
    width: 100%;
    max-width: none;
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.n1-profile-hero__intro--with-sponsor {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}

.n1-profile-hero__bio {
    width: 100%;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255,255,255,.75);
    border: 1px solid rgba(255,255,255,.12);
    border-left: 4px solid var(--profile-accent);
    padding: 1rem 1.2rem;
    background: rgba(18,18,22,.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.n1-profile-hero__bio p { margin-bottom: .55em; }
.n1-profile-hero__bio p:last-child { margin-bottom: 0; }
.n1-profile-hero__bio a { color: var(--profile-accent); font-weight: 600; }
.n1-profile-hero__bio strong { color: rgba(255,255,255,.92); font-weight: 800; }

.n1-profile-hero__sponsor {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    min-width: 0;
    padding: .95rem 1rem;
    color: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(18,18,22,.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 16px rgba(0,0,0,.22);
    position: relative;
    padding-top: 1.65rem;
}

.n1-profile-hero__sponsor-affiliate-label {
    position: absolute;
    top: .55rem;
    left: 1rem;
    color: color-mix(in srgb, var(--profile-accent) 74%, #fff 26%);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.n1-profile-hero__sponsor-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 116px;
    min-height: 58px;
    padding: .35rem .55rem;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 8px 18px rgba(0,0,0,.2);
}

.n1-profile-hero__sponsor-logo {
    width: auto;
    height: auto;
    max-width: 104px;
    max-height: 46px;
    object-fit: contain;
}

.n1-profile-hero__sponsor-logo-wrap[hidden] {
    display: none;
}

.n1-profile-hero__sponsor-body {
    min-width: 0;
}

.n1-profile-hero__sponsor-kicker {
    margin-bottom: .2rem;
    color: var(--profile-accent);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.n1-profile-hero__sponsor-name {
    margin-bottom: .3rem;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.n1-profile-hero__sponsor-description,
.n1-profile-hero__sponsor-affiliate {
    margin: 0 0 .55rem;
    color: rgba(255,255,255,.62);
    font-size: .82rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.n1-profile-hero__sponsor-affiliate {
    font-style: italic;
}

.n1-profile-hero__sponsor-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .3rem .65rem;
    color: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.n1-profile-hero__sponsor-link:hover {
    color: #fff;
    border-color: var(--profile-accent);
    background: color-mix(in srgb, var(--profile-accent) 30%, rgba(255,255,255,.08));
}

/* ── Transition: Hero → Content ─────────────────────────────────────────── */
.n1-profile-hero + .n1-container {
    margin-top: 0;
}

/* ── Content-Bereich nach dem Hero ─────────────────────────────────────── */
.n1-profile-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 8vw, 5rem);
    position: relative;
}

/* ── Live-Embed ─────────────────────────────────────────────────────────── */
.n1-live-embed {
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.n1-live-embed__meta {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    margin-bottom: .5rem;
}

.n1-live-embed__player {
    width: 100%;
}

.n1-live-embed__player--loaded {
    aspect-ratio: 16 / 9;
}

.n1-live-embed__iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    display: block;
    border: none;
}

.n1-live-embed__cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: rgba(14,14,18,.7);
    border: 1px solid rgba(145,70,255,.35);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    text-align: left;
    color: inherit;
    backdrop-filter: blur(8px);
    transition: border-color .2s, background .2s;
}

.n1-live-embed__cta:hover {
    border-color: rgba(145,70,255,.7);
    background: rgba(145,70,255,.1);
}

.n1-live-embed__cta-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.n1-live-embed__cta-hint {
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
}

.n1-live-embed__cta-hint a {
    color: rgba(255,255,255,.7);
    text-decoration: underline;
}

.n1-live-embed__fallback {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.1rem 1.5rem;
    background: rgba(145,70,255,.12);
    border: 1px solid rgba(145,70,255,.35);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s, border-color .2s;
}

.n1-live-embed__fallback:hover {
    background: rgba(145,70,255,.22);
    border-color: rgba(145,70,255,.6);
}

.n1-live-embed__fallback-icon { font-size: 1.1rem; }
.n1-live-embed__fallback-text { flex: 1; }
.n1-live-embed__fallback-arrow { opacity: .6; }

.n1-live-embed__cta-action {
    display: inline-block;
    margin-top: .25rem;
    padding: .45rem 1.1rem;
    background: #9146FF;
    color: #fff;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 700;
    width: fit-content;
}

/* ── Section-Struktur: eyebrow + großer Titel wie WordPress ─────────────── */
.n1-profile-section {
    margin: clamp(2.75rem, 6vw, 4.5rem) 0;
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
    border-radius: 24px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.n1-profile-section__eyebrow {
    display: block;
    color: color-mix(in srgb, var(--profile-accent) 74%, #fff 26%);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.n1-profile-section__title {
    font-size: clamp(1.55rem, 2.8vw, 2.25rem);
    font-weight: 850;
    color: var(--fg);
    line-height: 1.05;
    margin: 0 0 1.25rem;
    letter-spacing: -.01em;
}

/* ── Schedule-Cards: größer, mit mehr Boxart wie WordPress ──────────────── */
.n1-profile-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 1rem;
}

.n1-profile-schedule-grid--single {
    grid-template-columns: minmax(0, 480px);
}

.n1-profile-schedule-grid--single .n1-profile-schedule-card {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
}

.n1-profile-schedule-grid--single .n1-profile-schedule-card__boxart {
    width: 110px;
}

.n1-profile-schedule-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--surface-solid) 100%, transparent) 0%,
        color-mix(in srgb, var(--surface-solid) 84%, var(--profile-accent) 16%) 100%
    );
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.22);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}

.n1-profile-schedule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.22), 0 0 0 1px color-mix(in srgb, var(--profile-accent) 40%, transparent);
    border-color: color-mix(in srgb, var(--profile-accent) 40%, rgba(255,255,255,.08));
}

.n1-profile-schedule-card--next {
    border-color: color-mix(in srgb, var(--profile-accent) 55%, transparent);
    animation: n1-card-pulse 2.5s ease-in-out infinite;
}

@keyframes n1-card-pulse {
    0%, 100% { border-color: color-mix(in srgb, var(--profile-accent) 55%, transparent); }
    50% { border-color: color-mix(in srgb, var(--profile-accent) 25%, transparent); }
}

.n1-profile-schedule-card__boxart {
    width: 88px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
}

.n1-profile-schedule-card__info {
    flex: 1;
    min-width: 0;
}

.n1-profile-schedule-card__badge {
    display: inline-block;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .05em;
    padding: .15rem .5rem;
    border-radius: 999px;
    text-transform: uppercase;
    background: var(--profile-accent);
    color: #fff;
    margin-bottom: .4rem;
}

.n1-profile-schedule-card__title {
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: .2rem;
    color: var(--fg);
    line-height: 1.3;
}

.n1-profile-schedule-card__game {
    font-size: .875rem;
    color: var(--profile-accent);
    font-weight: 700;
    margin-top: .3rem;
}

.n1-profile-schedule-card__time {
    font-size: .82rem;
    color: var(--fg-muted);
    margin-top: .2rem;
}

/* ── Games-Grid: ähnlich WordPress np-games-grid-card ───────────────────── */
.n1-profile-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
    gap: .9rem;
}

.n1-profile-game-card {
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.n1-profile-game-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--profile-accent) 44%, rgba(255,255,255,.07));
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.n1-profile-game-card__cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.n1-profile-game-card__cover--placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, color-mix(in srgb, var(--profile-accent) 78%, #000 22%), #27272a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: rgba(255,255,255,.5);
}

.n1-profile-game-card__body {
    padding: .75rem .8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.n1-profile-game-card__title {
    font-size: .9rem;
    font-weight: 720;
    color: var(--fg);
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.n1-profile-game-card__status {
    font-size: .72rem;
    font-weight: 600;
}
.n1-profile-game-card__status--playing { color: var(--success); }
.n1-profile-game-card__status--completed { color: var(--fg-muted); }
.n1-profile-game-card__status--paused { color: var(--warn); }

.n1-profile-game-card__genres {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .15rem;
}

/* ── Clip-Cards: größer, mehr Bildanteil ─────────────────────────────────── */
.n1-profile-clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    gap: 1rem;
}

.n1-profile-clip-card {
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
    border: 1px solid rgba(255,255,255,.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .15s, transform .15s;
}

.n1-profile-clip-card:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 44%, rgba(255,255,255,.07));
    transform: translateY(-2px);
}

.n1-profile-clip-card__thumb-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.n1-profile-clip-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .2s;
}

.n1-profile-clip-card:hover .n1-profile-clip-card__thumb {
    transform: scale(1.03);
}

.n1-profile-clip-card__duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,.75);
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
    padding: .1rem .4rem;
    border-radius: 4px;
}

.n1-profile-clip-card__hl-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--profile-accent);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .15rem .45rem;
    border-radius: 999px;
}

.n1-profile-clip-card__body {
    padding: .65rem .8rem .8rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1;
}

.n1-profile-clip-card__title {
    font-size: .84rem;
    font-weight: 650;
    line-height: 1.35;
    color: var(--fg);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.n1-profile-clip-card__meta {
    font-size: .7rem;
    color: var(--fg-muted);
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.n1-profile-clip-card__link {
    font-size: .78rem;
    color: var(--profile-accent);
    font-weight: 650;
    margin-top: auto;
    text-decoration: none;
}
.n1-profile-clip-card__link:hover { opacity: .8; }

/* ── Spielvorschläge: read-only Parity ─────────────────────────────────── */
/* ── Suggestions Carousel ────────────────────────────────────────────────── */
.n1-profile-suggestions__carousel {
    position: relative;
    max-width: 100%;
}

.n1-profile-suggestions__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(25% - .64rem);
    gap: .85rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: .25rem 0 .5rem;
}

.n1-profile-suggestions__track::-webkit-scrollbar { display: none; }

/* ── Pfeil-Buttons: hover über Carousel, position: absolute ─────────────── */
.n1-profile-suggestions__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface-solid);
    box-shadow: var(--shadow-card);
    color: var(--fg-muted);
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, background .15s, border-color .15s, color .15s, transform .15s;
}

.n1-profile-suggestions__nav--prev { left: -1.2rem; }
.n1-profile-suggestions__nav--next { right: -1.2rem; }

/* Sichtbar beim Hover — aber nur wenn nicht is-hidden */
.n1-profile-suggestions__carousel:hover .n1-profile-suggestions__nav {
    opacity: 1;
    pointer-events: auto;
}

.n1-profile-suggestions__nav:hover {
    background: color-mix(in srgb, var(--profile-accent) 20%, var(--surface-solid));
    border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--border-strong));
    color: var(--fg);
    transform: translateY(-50%) scale(1.06);
}

.n1-profile-suggestions__nav:active {
    transform: translateY(-50%) scale(.95);
}

/* is-hidden: unsichtbar aber Platz bleibt (kein Layout-Shift) */
.n1-profile-suggestions__nav.is-hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    cursor: default;
}

.n1-profile-suggestion-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .55rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    scroll-snap-align: start;
    max-width: 360px;
    transition: border-color .15s, background .15s;
}

.n1-profile-suggestion-card:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 45%, var(--border));
    background: color-mix(in srgb, var(--surface-solid) 80%, var(--profile-accent) 8%);
}

.n1-profile-suggestion-card__head {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    min-width: 0;
}

.n1-profile-suggestion-card__cover {
    flex: 0 0 auto;
    width: 40px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--surface-solid);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.n1-profile-suggestion-card:not(.n1-profile-suggestion-card--has-cover) .n1-profile-suggestion-card__cover {
    display: none;
}

.n1-profile-suggestion-card__headtext {
    min-width: 0;
}

.n1-profile-suggestion-card__title {
    margin: 0 0 .35rem;
    color: var(--fg);
    font-size: .98rem;
    font-weight: 760;
    line-height: 1.2;
}

.n1-profile-suggestion-card__status {
    display: inline-block;
    max-width: 100%;
    padding: .14rem .48rem;
    border-radius: 999px;
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.n1-profile-suggestion-card__message {
    margin: .75rem 0 0;
    color: var(--fg-muted);
    font-size: .86rem;
    line-height: 1.45;
}

.n1-profile-suggestion-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem .75rem;
    margin-top: auto;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
    color: var(--fg-muted);
    font-size: .8rem;
}

.n1-profile-suggestion-card__foot .n1-profile-suggestion-card__vote-note {
    flex-basis: 100%;
    margin-top: 0;
}

.n1-profile-suggestion-card__votes {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    flex: 0 0 auto;
    min-height: 34px;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--profile-accent) 30%, transparent);
    color: var(--fg);
    font-weight: 800;
}

.n1-profile-suggestion-card__votes--btn {
    cursor: pointer;
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
    transition: background .15s, border-color .15s, transform .15s, opacity .15s;
}

.n1-profile-suggestion-card__votes--btn:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 55%, transparent);
    background: color-mix(in srgb, var(--profile-accent) 22%, var(--accent-soft));
}

.n1-profile-suggestion-card__votes--btn:active {
    transform: scale(.96);
}

.n1-profile-suggestion-card__votes--btn:disabled {
    cursor: wait;
    opacity: .7;
}

.n1-profile-suggestion-card__votes--btn.is-locked {
    cursor: not-allowed;
    opacity: .55;
}

.n1-profile-suggestion-card__votes--btn.is-locked:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 30%, transparent);
    background: var(--accent-soft);
}

.n1-profile-suggestion-card__votes--btn.is-voted {
    background: var(--profile-accent);
    border-color: var(--profile-accent);
    color: #fff;
}

.n1-profile-suggestion-card__votes-icon {
    line-height: 1;
}

.n1-profile-suggestion-card__vote-note {
    display: block;
    margin-top: .35rem;
    font-size: .72rem;
    font-weight: 600;
    color: var(--fg-muted);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .15s;
}

.n1-profile-suggestion-card__vote-note.is-visible {
    opacity: 1;
    max-height: 3rem;
}

.n1-profile-suggestion-card__vote-note.is-error {
    color: #ff8a8a;
}

.n1-profile-suggestions__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .85rem 1rem;
    margin-top: .85rem;
    padding: .9rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--fg-muted);
    font-size: .9rem;
}

.n1-profile-suggestions__cta p {
    flex: 1 1 16rem;
    min-width: 0;
    margin: 0;
}

.n1-profile-suggestions__submit-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    flex: 0 0 auto;
    padding: .45rem .9rem;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: var(--surface-solid);
    color: var(--fg-muted);
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.15s, transform 0.15s, border-color 0.15s, background 0.15s;
}

.n1-profile-suggestions__submit-btn:hover {
    border-color: color-mix(in srgb, var(--profile-accent) 55%, var(--border-strong));
    background: color-mix(in srgb, var(--profile-accent) 16%, var(--surface-solid));
    transform: translateY(-1px);
}

.n1-profile-suggestions__submit-btn:disabled,
.n1-profile-suggestions__submit-btn[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: .5;
    transform: none;
}

/* ── Commands-Sektion: wie WordPress ne-commands ────────────────────────── */
.n1-profile-commands-groups {
    display: grid;
    gap: 1rem;
}

.n1-profile-commands-group {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.n1-profile-commands-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.035);
    color: var(--fg);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.n1-profile-commands-group__count {
    color: var(--fg-muted);
    font-size: .7rem;
    letter-spacing: 0;
}

.n1-profile-commands-list {
    display: grid;
    gap: 0;
    list-style: none;
}

.n1-profile-command-item {
    display: grid;
    grid-template-columns: minmax(9rem, max-content) minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: .8rem 1rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

.n1-profile-command-item:first-child { border-top: 0; }

.n1-profile-command-item__name {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9rem;
    color: var(--profile-accent);
    font-weight: 600;
}

.n1-profile-command-item__desc {
    font-size: .88rem;
    color: var(--fg-muted);
    line-height: 1.4;
    min-width: 0;
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .n1-profile-hero {
        min-height: auto;
        overflow: clip;
        align-items: flex-start;
    }

    .n1-profile-hero__inner {
        width: min(100% - 2rem, 1120px);
        padding: 0.75rem 0 2.25rem;
        gap: 1rem;
    }

    .n1-profile-hero--fallback .n1-profile-hero__inner {
        padding-top: 2.5rem;
        padding-bottom: 1.25rem;
    }

    .n1-profile-hero__identity {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 1.1rem;
    }

    .n1-profile-hero__identity-left {
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .n1-profile-hero__cta-panel {
        position: static;
        top: auto;
        right: auto;
        width: auto;
        max-width: 100%;
        align-self: flex-start;
        justify-content: flex-start;
        flex-wrap: wrap;
        border-radius: 18px;
        padding: .85rem;
        gap: .45rem;
        margin-top: .15rem;
        overflow: hidden;
    }

    .n1-profile-hero__cta-group {
        flex-direction: row;
        justify-content: flex-start;
        gap: .45rem;
        flex-shrink: 1;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .n1-profile-hero__socials {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: .45rem;
        flex: 0 1 auto;
        max-width: 100%;
    }

    .n1-profile-hero__social-icon {
        width: 40px;
        height: 40px;
    }

    .n1-profile-hero__avatar,
    .n1-profile-hero__avatar--placeholder {
        width: 86px;
        height: 86px;
    }

    .n1-profile-hero__name {
        font-size: clamp(1.55rem, 8vw, 2.2rem);
        min-width: 0;
        max-width: 100%;
    }

    .n1-profile-hero__bio {
        font-size: .95rem;
        padding: .9rem 1rem;
    }

    .n1-profile-hero__intro,
    .n1-profile-hero__intro--with-sponsor {
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .n1-profile-hero__sponsor {
        flex-direction: column;
        gap: .7rem;
        padding: 1.65rem 1rem .9rem;
    }

    .n1-profile-hero__sponsor-logo-wrap {
        width: 112px;
        min-height: 56px;
    }

    .n1-profile-schedule-grid {
        grid-template-columns: 1fr;
    }

    .n1-profile-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
    }

    .n1-profile-clips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: .75rem;
    }

    .n1-profile-command-item {
        grid-template-columns: 1fr auto;
        gap: .5rem;
        padding: .75rem .9rem;
    }

    .n1-profile-command-item__name {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .n1-profile-suggestions__track {
        grid-auto-columns: calc(50% - .425rem);
    }
}

@media (max-width: 560px) {
    .n1-profile-suggestions__track {
        grid-auto-columns: calc(100vw - 6.5rem);
    }

    .n1-profile-suggestion-card {
        max-width: none;
        padding: .85rem;
    }

    .n1-profile-suggestion-card__status {
        font-size: .62rem;
    }

    /* Pfeile lassen sich auf Touch-Geräten nicht hovern — nicht über Inhalt schweben lassen */
    .n1-profile-suggestions__nav {
        display: none;
    }

    .n1-profile-suggestions__cta {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }

    .n1-profile-suggestions__cta p {
        flex-basis: auto;
    }

    .n1-profile-suggestions__submit-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .n1-profile-hero__identity-left {
        flex-direction: column;
        align-items: flex-start;
        gap: .8rem;
    }

    .n1-profile-hero__avatar,
    .n1-profile-hero__avatar--placeholder {
        width: 84px;
        height: 84px;
    }

    .n1-profile-hero__name-block {
        max-width: 100%;
        width: 100%;
    }

    .n1-profile-hero__name {
        font-size: clamp(1.65rem, 10vw, 2.15rem);
    }

    .n1-profile-hero__cta-panel {
        padding: .75rem;
    }

    .n1-profile-clips-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Spacing-Variablen für Profil ───────────────────────────────────────── */
.n1-profile-page {
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
}

/* ── Public Profiles: Light Theme Polish ────────────────────────────────── */
html.n1-light .n1-profile-page {
    background:
        radial-gradient(circle at 16% 22%, color-mix(in srgb, var(--profile-accent) 18%, transparent), transparent 25rem),
        radial-gradient(circle at 86% 8%, rgba(255,255,255,.85), transparent 22rem),
        linear-gradient(180deg, #f7f7fb 0%, #eef0f7 48%, #f8f8fb 100%);
}

html.n1-light .n1-profile-hero {
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--profile-accent) 22%, transparent), transparent 32%),
        linear-gradient(135deg, #f7f7fb 0%, color-mix(in srgb, var(--profile-accent) 20%, #f1f3f9) 58%, #ffffff 100%);
}

html.n1-light .n1-profile-hero__banner {
    background: #eef0f7;
}

html.n1-light .n1-profile-hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(247,247,251,.06) 0%,
        rgba(247,247,251,.18) 34%,
        rgba(247,247,251,.76) 72%,
        rgba(247,247,251,.96) 100%
    );
}

html.n1-light .n1-profile-hero__name {
    color: #17161f;
    text-shadow: 0 1px 0 rgba(255,255,255,.55), 0 12px 30px rgba(255,255,255,.35);
}

html.n1-light .n1-profile-hero__handle {
    color: color-mix(in srgb, var(--profile-accent) 72%, #1f2937 28%);
}

html.n1-light .n1-profile-hero__avatar,
html.n1-light .n1-profile-hero__avatar--placeholder {
    border-color: rgba(255,255,255,.92);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--profile-accent) 72%, #ffffff 12%),
        0 18px 42px rgba(31,41,55,.20);
}

html.n1-light .n1-profile-hero__cta-panel,
html.n1-light .n1-profile-hero__bio,
html.n1-light .n1-profile-hero__sponsor {
    background: rgba(255,255,255,.78);
    border-color: rgba(31,41,55,.10);
    color: #374151;
    box-shadow: 0 14px 36px rgba(31,41,55,.14);
}

html.n1-light .n1-profile-hero__bio {
    color: #374151;
}

html.n1-light .n1-profile-hero__bio strong {
    color: #17161f;
}

html.n1-light .n1-profile-hero__badge {
    background: color-mix(in srgb, var(--profile-accent) 12%, #ffffff 88%);
    color: color-mix(in srgb, var(--profile-accent) 70%, #1f2937 30%);
    border-color: color-mix(in srgb, var(--profile-accent) 34%, rgba(31,41,55,.12));
}

html.n1-light .n1-profile-hero__broadcaster-badge--partner,
html.n1-light .n1-profile-hero__broadcaster-badge--affiliate {
    background: color-mix(in srgb, var(--profile-accent) 12%, #ffffff 88%);
    color: color-mix(in srgb, var(--profile-accent) 72%, #1f2937 28%);
    border-color: color-mix(in srgb, var(--profile-accent) 30%, rgba(31,41,55,.12));
}

html.n1-light .n1-profile-hero__social-icon {
    color: #374151;
    background: rgba(255,255,255,.74);
    border-color: rgba(31,41,55,.12);
}

html.n1-light .n1-profile-hero__social-icon:hover {
    color: #fff;
}

html.n1-light .n1-profile-section,
html.n1-light .n1-profile-schedule-card,
html.n1-light .n1-profile-game-card,
html.n1-light .n1-profile-clip-card,
html.n1-light .n1-profile-suggestion-card,
html.n1-light .n1-profile-commands-group {
    background: rgba(255,255,255,.82);
    border-color: rgba(31,41,55,.10);
    box-shadow: 0 12px 32px rgba(31,41,55,.10);
}

html.n1-light .n1-profile-section {
    background: rgba(255,255,255,.9);
    border-color: rgba(31,41,55,.08);
}

html.n1-light .n1-profile-section__eyebrow,
html.n1-light .n1-profile-schedule-card__game,
html.n1-light .n1-profile-schedule-card__time,
html.n1-light .n1-profile-clip-card__meta,
html.n1-light .n1-profile-command-item__desc,
html.n1-light .n1-profile-suggestion-card__message,
html.n1-light .n1-profile-suggestion-card__status {
    color: #5f6675;
}

html.n1-light .n1-profile-section__title,
html.n1-light .n1-profile-schedule-card__title,
html.n1-light .n1-profile-game-card__title,
html.n1-light .n1-profile-clip-card__title,
html.n1-light .n1-profile-command-item__name,
html.n1-light .n1-profile-suggestion-card__title {
    color: #17161f;
}

/* ── Game Suggestions Modal (Sprint 027) ─────────────────────────────────── */

.n1-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.n1-modal[hidden] {
    display: none;
}

.n1-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}

.n1-modal__panel {
    position: relative;
    z-index: 1;
    background: var(--surface-2, #1a1a2e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.75rem;
    width: 100%;
    max-width: 30rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.n1-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.n1-modal__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--fg, #fff);
}

.n1-modal__close {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: var(--fg-muted, rgba(255,255,255,.55));
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s, background .15s;
}

.n1-modal__close:hover,
.n1-modal__close:focus-visible {
    color: var(--fg, #fff);
    background: rgba(255, 255, 255, 0.07);
    outline: 2px solid var(--accent, #9147ff);
    outline-offset: 2px;
}

.n1-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    color: #10b981;
    text-align: center;
}

.n1-modal__success[hidden] {
    display: none;
}

.n1-modal__success p {
    color: var(--fg, #fff);
    font-size: 1rem;
    margin: 0;
}

.n1-modal__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* ── Form-Elemente ─────────────────────────────────────────────────────────── */

.n1-form-group {
    margin-bottom: 1.1rem;
}

.n1-form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--fg-muted, rgba(255,255,255,.7));
    margin-bottom: 0.375rem;
}

.n1-form-label--optional {
    font-weight: 400;
    opacity: 0.7;
}

.n1-form-input {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.5rem;
    padding: 0.6rem 0.75rem;
    color: var(--fg, #fff);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.n1-form-input:focus {
    outline: none;
    border-color: var(--accent, #9147ff);
    box-shadow: 0 0 0 3px rgba(145, 71, 255, 0.2);
}

.n1-form-input--narrow {
    max-width: 8rem;
}

.n1-form-textarea {
    resize: vertical;
    min-height: 5rem;
}

.n1-form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--fg-muted, rgba(255,255,255,.4));
    margin-top: 0.25rem;
    text-align: right;
}

.n1-form-captcha {
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
}

.n1-captcha-question {
    font-weight: 700;
    color: var(--accent, #9147ff);
}

.n1-form-error {
    display: block;
    font-size: 0.8rem;
    color: #f87171;
    margin-top: 0.25rem;
}

.n1-form-error[hidden] {
    display: none;
}

.n1-form-error--general {
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 0.4rem;
}

.n1-suggestion-autocomplete {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
}

.n1-suggestion-autocomplete__cover {
    flex: 0 0 auto;
    width: 40px;
    height: 54px;
    border-radius: .45rem;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.n1-suggestion-autocomplete__cover.is-hidden {
    display: none;
}

.n1-suggestion-autocomplete__dropdown {
    position: absolute;
    z-index: 5;
    top: calc(100% + .35rem);
    left: 0;
    right: 0;
    display: none;
    max-height: 15rem;
    overflow-y: auto;
    padding: .35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: .7rem;
    background: color-mix(in srgb, var(--surface-solid) 96%, black);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .36);
}

.n1-suggestion-autocomplete__item {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: 100%;
    padding: .45rem;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: var(--fg);
    text-align: left;
}

.n1-suggestion-autocomplete__item:hover,
.n1-suggestion-autocomplete__item:focus-visible {
    background: rgba(255, 255, 255, 0.07);
}

.n1-suggestion-autocomplete__item img {
    width: 34px;
    height: 46px;
    border-radius: .35rem;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.06);
}

.n1-form-hint--left {
    text-align: left;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.n1-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: opacity .15s, transform .1s;
}

.n1-btn:active { transform: scale(0.97); }
.n1-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.n1-btn--primary {
    background: var(--accent, #9147ff);
    color: #fff;
}

.n1-btn--primary:hover:not(:disabled),
.n1-btn--primary:focus-visible:not(:disabled) {
    opacity: 0.88;
    outline: 2px solid var(--accent, #9147ff);
    outline-offset: 2px;
}

.n1-btn--secondary {
    background: rgba(255, 255, 255, 0.07);
    color: var(--fg, #fff);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.n1-btn--secondary:hover:not(:disabled),
.n1-btn--secondary:focus-visible:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    outline: 2px solid rgba(255,255,255,.3);
    outline-offset: 2px;
}

/* Spinner */
.n1-spinner {
    animation: n1-spin 0.8s linear infinite;
}

@keyframes n1-spin {
    to { transform: rotate(360deg); }
}

/* Body-Lock wenn Modal offen */
body.n1-modal-open {
    overflow: hidden;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
    .n1-modal__panel {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .n1-modal__actions {
        flex-direction: column-reverse;
    }

    .n1-btn {
        justify-content: center;
        width: 100%;
    }
}
