:root {
    --nds-bg: #08090c;
    --nds-surface: #111319;
    --nds-surface-2: #171a21;
    --nds-card: rgba(23, 26, 33, .88);
    --nds-border: rgba(255, 255, 255, .08);
    --nds-text: #f7f7f8;
    --nds-muted: #9ca3af;
    --nds-red: #ff334f;
    --nds-red-2: #ff5a6f;
    --nds-shadow: 0 22px 70px rgba(0, 0, 0, .38);
    --nds-radius: 22px;
}

html { background: var(--nds-bg); }
body {
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 51, 79, .12), transparent 30rem),
        radial-gradient(circle at 90% 12%, rgba(116, 74, 255, .08), transparent 28rem),
        var(--nds-bg) !important;
    color: var(--nds-text) !important;
}

.container { max-width: 1320px; }

/* Hero */
.videos-hero,
.video-detail-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--nds-border);
    background:
        linear-gradient(180deg, rgba(8,9,12,.45), rgba(8,9,12,.96)),
        radial-gradient(circle at center, rgba(255,51,79,.20), transparent 48%) !important;
    padding-top: 86px !important;
    padding-bottom: 54px !important;
    margin-top: 0 !important;
}

.videos-hero::after,
.video-detail-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,51,79,.75), transparent);
}

.videos-hero h1,
.video-detail-hero h1 {
    letter-spacing: -0.045em;
    font-weight: 850 !important;
    text-shadow: 0 8px 35px rgba(0,0,0,.5) !important;
}

.videos-hero .subtitle,
.video-detail-hero .subtitle { color: #b9bec8 !important; }

.search-container { max-width: 720px !important; }
.search-input {
    background: rgba(17,19,25,.82) !important;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 16px 45px rgba(0,0,0,.22);
    min-height: 52px;
}
.search-input:focus {
    border-color: rgba(255,51,79,.8) !important;
    box-shadow: 0 0 0 4px rgba(255,51,79,.12), 0 18px 50px rgba(0,0,0,.25) !important;
}
.search-btn {
    background: linear-gradient(135deg, var(--nds-red), var(--nds-red-2)) !important;
    box-shadow: 0 8px 24px rgba(255,51,79,.25);
}

/* Portal cards */
.videos-section,
.video-detail-section { background: transparent !important; }
.video-grid { gap: 1.35rem !important; }
.video-card {
    max-width: none !important;
    border-radius: var(--nds-radius) !important;
    background: linear-gradient(180deg, rgba(26,29,37,.96), rgba(16,18,23,.96)) !important;
    border: 1px solid var(--nds-border) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.20);
}
.video-card:hover {
    transform: translateY(-7px) !important;
    border-color: rgba(255,51,79,.42) !important;
    box-shadow: 0 25px 65px rgba(0,0,0,.40), 0 0 0 1px rgba(255,51,79,.08) !important;
}
.video-thumbnail {
    height: auto !important;
    aspect-ratio: 16 / 9;
    background: #050506 !important;
}
.video-content { padding: 1.25rem 1.25rem 1.1rem !important; }
.video-title { font-size: 1.08rem !important; letter-spacing: -.015em; }
.video-description { color: #a8adb7 !important; }
.video-stats { border-color: var(--nds-border) !important; }
.video-badge,
.video-duration,
.short-duration {
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 18px rgba(0,0,0,.28);
}

.short-card {
    border-radius: 20px !important;
    border-color: var(--nds-border) !important;
    box-shadow: 0 14px 35px rgba(0,0,0,.22);
}
.short-card:hover { border-color: rgba(255,51,79,.45) !important; }

/* Detail cards */
.video-player-section,
.comments-section,
.similar-videos,
.nds-lyrics-card {
    background: linear-gradient(180deg, rgba(20,22,29,.96), rgba(14,16,21,.96)) !important;
    border: 1px solid var(--nds-border) !important;
    border-radius: var(--nds-radius) !important;
    box-shadow: var(--nds-shadow);
}
.video-player-section { overflow: visible !important; }
.video-info { padding: 1.45rem !important; }
.video-title { color: #fff !important; }
.video-stat { color: #a9afba; }

.btn-primary,
.like-btn.liked,
.load-more-btn:hover {
    background: linear-gradient(135deg, var(--nds-red), var(--nds-red-2)) !important;
    border-color: transparent !important;
}

.comment,
.similar-video-card {
    border-color: var(--nds-border) !important;
}
.comment-input {
    background: #0f1116 !important;
    border-color: rgba(255,255,255,.10) !important;
    color: #fff !important;
}
.comment-input:focus { border-color: var(--nds-red) !important; }

/* Lyrics */
.nds-lyrics-card {
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.nds-lyrics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid var(--nds-border);
}
.nds-lyrics-title {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}
.nds-lyrics-title i { color: var(--nds-red); }
.nds-lyrics-actions { display: flex; gap: .5rem; }
.nds-icon-btn {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--nds-border);
    background: rgba(255,255,255,.04);
    color: #fff;
    transition: .2s ease;
}
.nds-icon-btn:hover { background: rgba(255,51,79,.14); border-color: rgba(255,51,79,.35); }
.nds-lyrics-body {
    max-height: 560px;
    overflow-y: auto;
    padding: 1.2rem;
    scroll-behavior: smooth;
}
.nds-lyrics-plain {
    white-space: pre-wrap;
    line-height: 1.9;
    color: #e7e9ee;
    font-size: 1rem;
}
.nds-lyric-line {
    padding: .45rem .6rem;
    margin: .15rem 0;
    border-radius: 10px;
    color: #a9afba;
    line-height: 1.5;
    cursor: pointer;
    transition: .18s ease;
}
.nds-lyric-line:hover { background: rgba(255,255,255,.05); color: #fff; }
.nds-lyric-line.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(255,51,79,.22), transparent);
    font-weight: 750;
    transform: translateX(2px);
}
.nds-lyrics-empty { color: var(--nds-muted); text-align: center; padding: 2.5rem 1rem; }

/* Navigation + footer */
.nds-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,9,12,.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--nds-border);
}
.nds-nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nds-brand { color:#fff; text-decoration:none; font-weight:900; letter-spacing:-.03em; }
.nds-brand span { color: var(--nds-red); }
.nds-nav-links { margin-left:auto; display:flex; gap:.35rem; align-items:center; }
.nds-nav-links a { color:#c8ccd5; text-decoration:none; padding:.58rem .78rem; border-radius:10px; }
.nds-nav-links a:hover { color:#fff; background:rgba(255,255,255,.06); }
.nds-footer { border-top:1px solid var(--nds-border); color:#858b96; padding:2rem 1rem; text-align:center; margin-top:3rem; }

@media (max-width: 991px) {
    .videos-hero, .video-detail-hero { padding-top: 58px !important; }
    .nds-lyrics-body { max-height: 430px; }
}
@media (max-width: 576px) {
    .videos-hero h1, .video-detail-hero h1 { font-size: 2.15rem !important; }
    .video-content { padding: 1rem !important; }
    .nds-nav-links .nds-hide-mobile { display:none; }
}

/* ========================================================================== */
/* NDS DETAIL V3 - ruhiger, moderner Player/Lyrics-Look                       */
/* ========================================================================== */

/* Auf der Detailseite kein riesiger leerer Hero-Bereich. */
.video-detail-hero {
    padding-top: 42px !important;
    padding-bottom: 28px !important;
}
.video-detail-hero .subtitle { margin-bottom: .85rem !important; }
.video-detail-section { padding-top: 30px !important; }

/* Shop-Produkte gehören nicht mitten über das Musikvideo. */
.video-product-badges {
    position: static !important;
    max-width: none !important;
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    gap: .65rem !important;
    overflow-x: auto;
    padding: .9rem 1rem .15rem !important;
    scrollbar-width: none;
}
.video-product-badges::-webkit-scrollbar { display: none; }
.product-badge {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 260px;
    padding: .45rem .7rem !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.045) !important;
    box-shadow: none !important;
    animation: none !important;
}
.product-badge:hover {
    transform: translateY(-1px) !important;
    background: rgba(255,255,255,.075) !important;
}
.product-badge .badge-image {
    width: 34px !important;
    height: 34px !important;
}
.product-badge .badge-title { font-size: .78rem !important; }
.product-badge .badge-details { font-size: .66rem !important; }

/* Lyrics werden wie ein echter Music-Player dargestellt, nicht wie Rohtext. */
.nds-lyrics-card {
    display: flex;
    flex-direction: column;
    min-height: 390px;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 85% 0%, rgba(255,51,79,.09), transparent 42%),
        linear-gradient(180deg, rgba(18,20,26,.98), rgba(10,11,15,.98)) !important;
}
.nds-lyrics-header {
    flex: 0 0 auto;
    padding: .92rem 1rem !important;
    background: rgba(255,255,255,.018);
}
.nds-lyrics-title {
    font-size: 1rem !important;
    letter-spacing: -.015em;
}
.nds-lyrics-title i { font-size: .9rem; }
.nds-lyrics-actions .badge {
    font-size: .64rem;
    padding: .48rem .52rem;
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.06);
}
.nds-icon-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
}
.nds-icon-btn.copied { color: #72e6a0; }

.nds-lyrics-body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    overflow-y: auto;
    padding: 38% 1.05rem !important;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior: contain;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.nds-lyrics-body::-webkit-scrollbar { display: none; }

.nds-lyric-line {
    display: block;
    width: 100%;
    margin: 0;
    padding: .63rem .72rem;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: rgba(235,237,242,.40);
    font: inherit;
    font-size: .98rem;
    font-weight: 620;
    line-height: 1.42;
    letter-spacing: -.012em;
    text-align: left;
    cursor: pointer;
    opacity: .72;
    transform-origin: left center;
    transition: color .22s ease, opacity .22s ease, transform .22s ease, background .22s ease, border-color .22s ease;
}
.nds-lyric-line:hover {
    color: rgba(255,255,255,.88);
    opacity: 1;
    background: rgba(255,255,255,.035);
}
.nds-lyric-line.near {
    color: rgba(240,242,247,.62);
    opacity: .88;
}
.nds-lyric-line.past { opacity: .42; }
.nds-lyric-line.active {
    color: #fff !important;
    opacity: 1 !important;
    background: linear-gradient(90deg, rgba(255,51,79,.13), rgba(255,51,79,0)) !important;
    border-left-color: var(--nds-red);
    font-size: 1.18rem;
    font-weight: 820;
    transform: translateX(3px);
    text-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.nds-lyrics-plain {
    white-space: pre-wrap;
    color: #e9ebef;
    font-size: 1.02rem;
    line-height: 1.9;
    padding: .3rem .2rem;
}

/* Ähnliche Videos sollen optisch Abstand zu den Lyrics haben. */
.nds-lyrics-card + .similar-videos { margin-top: 1.25rem; }

@media (max-width: 991px) {
    .video-detail-hero {
        padding-top: 30px !important;
        padding-bottom: 22px !important;
    }
    .nds-lyrics-card {
        height: auto !important;
        min-height: 420px;
        margin-top: 1.25rem;
    }
    .nds-lyrics-body {
        height: 420px;
        flex: none;
        padding-top: 35% !important;
        padding-bottom: 35% !important;
    }
}

@media (max-width: 576px) {
    .nds-lyrics-card { min-height: 360px; }
    .nds-lyrics-body {
        height: 360px;
        padding-left: .7rem !important;
        padding-right: .7rem !important;
    }
    .nds-lyric-line { font-size: .94rem; padding: .58rem .55rem; }
    .nds-lyric-line.active { font-size: 1.08rem; }
}

/* ========================================================================== */
/* NDS DETAIL V4 - Lyrics ein-/ausblenden                                    */
/* ========================================================================== */
.nds-lyrics-card {
    transition: opacity .2s ease, transform .2s ease, max-height .24s ease, margin .24s ease;
}

.nds-lyrics-card.nds-lyrics-is-hidden {
    display: none !important;
}

.nds-similar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}

.nds-similar-header .section-title {
    margin: 0 !important;
}

.nds-lyrics-show-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 11px;
    padding: .48rem .7rem;
    background: rgba(255,255,255,.045);
    color: #e9ebef;
    font-size: .76rem;
    font-weight: 720;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.nds-lyrics-show-btn:hover {
    background: rgba(255,51,79,.12);
    border-color: rgba(255,51,79,.30);
    color: #fff;
    transform: translateY(-1px);
}

.nds-lyrics-show-btn i { color: var(--nds-red); }
.nds-lyrics-show-btn[hidden] { display: none !important; }

/* Wenn Lyrics weg sind, soll „Weitere Videos“ ohne den alten Lyrics-Abstand nach oben. */
.nds-lyrics-card.nds-lyrics-is-hidden + .similar-videos,
.nds-sidebar-lyrics-hidden .similar-videos {
    margin-top: 0 !important;
}

.nds-lyrics-hide-btn:hover {
    color: #fff;
    background: rgba(255,51,79,.12) !important;
    border-color: rgba(255,51,79,.30) !important;
}

@media (max-width: 576px) {
    .nds-lyrics-show-btn span { display: none; }
    .nds-lyrics-show-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
}

/* ========================================================================== */
/* NDS v6.3.2 - Produkte sicher IM Player oben rechts                         */
/* ========================================================================== */
.nds-player > .video-product-badges {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 12 !important;
    width: auto !important;
    max-width: min(285px, calc(100% - 28px)) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none;
}
.nds-player > .video-product-badges .product-badge {
    pointer-events: auto;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 270px !important;
    min-width: 0 !important;
    padding: 7px 10px !important;
    border-radius: 18px !important;
    background: rgba(10,11,15,.86) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.34) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: none !important;
    text-decoration: none !important;
}
.nds-player > .video-product-badges .product-badge.merch { border-left: 3px solid #ff334f !important; }
.nds-player > .video-product-badges .product-badge.album { border-left: 3px solid #4f8cff !important; }
.nds-player > .video-product-badges .product-badge:hover {
    transform: translateX(-3px) !important;
    background: rgba(20,22,28,.97) !important;
}
.nds-player > .video-product-badges .badge-image-container {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
}
.nds-player > .video-product-badges .badge-image {
    display:block !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    background:#1b1d22 !important;
}
.nds-player > .video-product-badges .badge-content { min-width:0 !important; }
.nds-player > .video-product-badges .badge-title {
    max-width:185px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:.76rem !important;
    font-weight:700 !important;
}
.nds-player > .video-product-badges .badge-details { font-size:.64rem !important; color:#aeb3bc !important; }

/* Der Lyrics-Schalter sitzt ausschließlich im Player. */
.nds-lyrics-show-btn,
.nds-lyrics-hide-btn { display: none !important; }

@media (max-width: 650px) {
    .nds-player > .video-product-badges {
        top: 9px !important;
        right: 9px !important;
        max-width: calc(100% - 18px) !important;
        gap:5px !important;
    }
    .nds-player > .video-product-badges .product-badge {
        padding:5px 7px !important;
        border-radius:15px !important;
    }
    .nds-player > .video-product-badges .badge-image {
        width:30px !important;
        height:30px !important;
    }
    .nds-player > .video-product-badges .badge-title {
        max-width:118px !important;
        font-size:.70rem !important;
    }
    .nds-player > .video-product-badges .badge-details { display:none !important; }
}

/* ========================================================================== */
/* NDS v6.3.4 - Produktfenster auch im echten Browser-Vollbild                */
/* ========================================================================== */
.nds-player:fullscreen .product-modal,
.nds-player:-webkit-full-screen .product-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2200 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    user-select: text !important;
}
.nds-player:fullscreen > .modal-backdrop,
.nds-player:-webkit-full-screen > .modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2190 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000 !important;
    opacity: .72 !important;
}
.nds-player:fullscreen .product-modal .modal-dialog,
.nds-player:-webkit-full-screen .product-modal .modal-dialog {
    position: relative !important;
    z-index: 2210 !important;
    margin: 1.75rem auto !important;
    pointer-events: auto !important;
}
.nds-player:fullscreen .product-modal .modal-content,
.nds-player:-webkit-full-screen .product-modal .modal-content {
    max-height: calc(100vh - 3.5rem);
    overflow: auto;
}


/* ========================================================================== */
/* NDS v6.3.5 - Beschreibung, Künstler-Socials, Streaming-Links, Produktbild */
/* ========================================================================== */
.nds-video-about {
    margin-top: 1.2rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}
.nds-about-heading h4 {
    margin: 0 0 .8rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}
.nds-video-about .video-description {
    color: #b8bcc5;
    line-height: 1.65;
    position: relative;
    overflow: hidden;
    transition: max-height .25s ease;
}
.nds-video-about .video-description.collapsed {
    max-height: 5.1em !important;
}
.nds-video-about .video-description.collapsed::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.2em;
    pointer-events: none;
    background: linear-gradient(transparent, #17191e);
}
.nds-video-about .video-description.expanded { max-height: none !important; }
.description-toggle-row {
    display: flex;
    justify-content: flex-start;
    margin-top: .55rem;
}
.nds-video-about .toggle-btn {
    border: 0;
    background: transparent !important;
    color: #ff4a5f;
    padding: 0;
    border-radius: 0;
    font-size: .82rem;
    font-weight: 700;
}
.nds-video-about .toggle-btn:hover { color: #fff; }
.nds-link-section {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(255,255,255,.07);
}
.nds-link-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #e8e9ec;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .6rem;
}
.nds-link-title i { color: #ff4055; }
.nds-link-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.nds-link-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 34px;
    padding: .42rem .72rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: #202228;
    color: #e9ebef;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 650;
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.nds-link-chip:hover {
    color: #fff;
    transform: translateY(-1px);
    border-color: rgba(255,64,85,.55);
    background: #292c33;
}
.nds-link-chip i { width: 15px; text-align: center; }
.nds-link-chip.stream { border-color: rgba(255,255,255,.13); }

/* Produktbild im Modal immer sichtbar und sauber zentriert. */
.product-modal .product-preview-image {
    min-height: 260px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #111318 !important;
    border: 1px solid rgba(255,255,255,.07);
}
.product-modal .product-preview-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 360px !important;
    object-fit: contain !important;
    padding: 10px;
}

@media (max-width: 767px) {
    .nds-video-about { padding: .9rem; }
    .nds-link-chip { font-size: .72rem; padding: .38rem .62rem; }
    .product-modal .product-preview { flex-direction: column !important; }
    .product-modal .product-preview-image { min-height: 220px !important; flex-basis: auto !important; }
}

/* ========================================================================== */
/* v6.3.6 – Öffentlicher Benutzername für Kommentare                          */
/* ========================================================================== */
.comment-identity-note {
    margin-top: .65rem;
    color: #8e939d;
    font-size: .76rem;
    line-height: 1.45;
}
.comment-identity-note strong {
    color: #f3f4f6;
    font-weight: 700;
}
.comment-username-modal-content {
    background: #15171c;
    color: #eef0f3;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    box-shadow: 0 28px 90px rgba(0,0,0,.62);
}
.comment-username-modal-content .modal-header,
.comment-username-modal-content .modal-footer {
    border-color: rgba(255,255,255,.08);
}
.comment-username-kicker {
    color: #ff4055;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: .15rem;
}
.comment-username-copy {
    color: #b7bbc4;
    line-height: 1.55;
    margin-bottom: 1.1rem;
}
.comment-username-modal-content .form-control {
    background: #0f1115;
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    min-height: 46px;
    border-radius: 10px;
}
.comment-username-modal-content .form-control:focus {
    border-color: #ff4055;
    box-shadow: 0 0 0 .2rem rgba(255,64,85,.12);
    background: #0f1115;
    color: #fff;
}
.comment-username-help {
    margin-top: .55rem;
    color: #818791;
    font-size: .74rem;
    line-height: 1.45;
}
.comment-username-error {
    min-height: 20px;
    margin-top: .6rem;
    color: #ff6678;
    font-size: .78rem;
    font-weight: 650;
}


/* ========================================================================== */
/* v6.3.7 – Produktmodal + Layout aus Hauptverzeichnis                        */
/* ========================================================================== */
.nds-product-modal .modal-dialog {
    max-width: 900px;
    padding: 16px;
}
.nds-product-modal .modal-content {
    overflow: hidden;
    max-width: 900px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,55,76,.09), transparent 32%),
        #14161b !important;
    box-shadow: 0 30px 100px rgba(0,0,0,.72) !important;
}
.nds-product-modal .modal-header {
    min-height: 78px;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    background: rgba(255,255,255,.025) !important;
}
.nds-product-modal-heading {
    min-width: 0;
}
.nds-product-modal-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #ff4b60;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.nds-product-modal .modal-title {
    margin: 0;
    max-width: min(70vw, 680px);
    overflow: hidden;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nds-product-modal .btn-close {
    flex: 0 0 auto;
    opacity: .65;
    transition: opacity .15s ease, transform .15s ease;
}
.nds-product-modal .btn-close:hover {
    opacity: 1;
    transform: rotate(4deg);
}
.nds-product-modal .modal-body {
    padding: 0 !important;
}
.nds-product-modal .product-preview {
    display: grid !important;
    grid-template-columns: minmax(280px, .92fr) minmax(0, 1.35fr);
    gap: 0 !important;
    align-items: stretch;
    min-height: 480px;
}
.nds-product-modal .product-preview-image {
    position: relative;
    min-height: 480px !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background:
        radial-gradient(circle at center, rgba(255,255,255,.065), transparent 52%),
        linear-gradient(145deg,#0d0f13,#17191f) !important;
}
.nds-product-modal .product-preview-image::after {
    content: "";
    position: absolute;
    inset: 18px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 16px;
}
.nds-product-modal .product-preview-image img {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    max-height: 520px !important;
    padding: 28px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 18px 26px rgba(0,0,0,.32));
}
.nds-product-modal .product-preview-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px 30px 26px;
}
.nds-product-modal .product-type-badge {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255,51,51,.14);
    border: 1px solid rgba(255,75,96,.28);
    color: #ff6575;
    font-size: .70rem;
    font-weight: 800;
    letter-spacing: .02em;
}
.nds-product-modal .product-type-badge.album {
    background: rgba(69,132,255,.12);
    border-color: rgba(89,146,255,.30);
    color: #7eabff;
}
.nds-product-modal .product-preview-title {
    margin: 0 0 6px !important;
    color: #f7f8fa;
    font-size: clamp(1.45rem, 2.3vw, 2rem) !important;
    font-weight: 780 !important;
    letter-spacing: -.025em;
}
.nds-product-modal .product-preview-artist {
    margin: 0 0 15px !important;
    color: #8f95a0 !important;
}
.nds-product-modal .product-preview-description {
    max-height: 120px !important;
    margin: 0 0 20px !important;
    padding-right: 8px !important;
    color: #aeb3bd !important;
    font-size: .92rem;
    line-height: 1.65 !important;
}
.nds-product-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}
.nds-product-price-label,
.nds-product-option-label {
    color: #858b96;
    font-size: .71rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.nds-product-modal .price-section {
    margin: 0 !important;
    color: #ff4258 !important;
    font-size: 1.42rem !important;
    line-height: 1;
}
.nds-product-option-group {
    margin-bottom: 18px;
}
.nds-product-option-label {
    margin-bottom: 8px;
}
.nds-product-modal .color-options,
.nds-product-modal .size-options,
.nds-product-modal .format-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nds-product-modal .color-option {
    width: 34px;
    height: 34px;
    margin: 0 !important;
    border: 3px solid #20232a !important;
    outline: 1px solid rgba(255,255,255,.18);
    box-shadow: none !important;
    transition: transform .15s ease, outline-color .15s ease;
}
.nds-product-modal .color-option:hover {
    transform: translateY(-1px);
}
.nds-product-modal .color-option.active {
    outline: 2px solid #fff !important;
    transform: scale(1.06);
}
.nds-product-modal .size-option,
.nds-product-modal .format-option {
    min-width: 46px;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 9px !important;
    background: #202329 !important;
    color: #d9dce2 !important;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
}
.nds-product-modal .size-option:hover:not(.disabled),
.nds-product-modal .format-option:hover {
    border-color: rgba(255,75,96,.55) !important;
    background: #272a31 !important;
}
.nds-product-modal .size-option.active,
.nds-product-modal .format-option.active {
    border-color: #ff4258 !important;
    background: #ff4258 !important;
    color: #fff !important;
}
.nds-product-modal .size-option.disabled {
    opacity: .28;
    cursor: not-allowed;
    text-decoration: line-through;
}
.nds-product-modal .product-preview-actions {
    display: flex;
    gap: 10px;
    margin-top: auto !important;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.07);
}
.nds-product-modal .product-preview-actions .btn {
    min-height: 46px;
    border-radius: 11px;
    font-size: .88rem;
    font-weight: 750;
}
.nds-product-modal .product-preview-actions .btn-primary {
    flex: 1 1 auto;
    border: 0;
    background: linear-gradient(135deg,#ff344e,#ff5266);
    box-shadow: 0 8px 25px rgba(255,52,78,.20);
}
.nds-product-modal .product-preview-actions .btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}
.nds-product-modal .product-preview-actions .btn-outline-light {
    flex: 0 0 auto;
    border-color: rgba(255,255,255,.14);
    color: #c9cdd5;
}
.nds-product-modal .album-tracks {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top-color: rgba(255,255,255,.07) !important;
}
.nds-product-modal .track-list {
    max-height: 165px !important;
    border-color: rgba(255,255,255,.08) !important;
    background: rgba(0,0,0,.14);
}

@media (max-width: 767px) {
    .nds-product-modal .modal-dialog {
        margin: 8px auto;
        padding: 6px;
    }
    .nds-product-modal .modal-content {
        border-radius: 17px !important;
    }
    .nds-product-modal .product-preview {
        grid-template-columns: 1fr !important;
        min-height: 0;
    }
    .nds-product-modal .product-preview-image {
        min-height: 250px !important;
        max-height: 310px;
    }
    .nds-product-modal .product-preview-image img {
        max-height: 310px !important;
        padding: 20px !important;
    }
    .nds-product-modal .product-preview-info {
        padding: 22px 18px 18px;
    }
    .nds-product-modal .product-preview-actions {
        position: sticky;
        bottom: 0;
        z-index: 3;
        margin: 4px -18px -18px;
        padding: 14px 18px 18px;
        background: linear-gradient(transparent 0, #14161b 25%);
    }
    .nds-product-modal .product-preview-actions .btn-outline-light {
        width: 46px;
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
        font-size: 0;
    }
    .nds-product-modal .product-preview-actions .btn-outline-light i {
        margin: 0 !important;
        font-size: .95rem;
    }
}


/* v6.3.9 – Produktmodal Preisbereich */
.nds-product-modal .nds-product-price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 70px;
    margin: 5px 0 24px;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}
.nds-product-modal .nds-product-price-caption {
    color: #8f95a0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nds-product-modal .nds-product-price-card .price-section {
    margin: 0 !important;
    padding: 0 !important;
    color: #ff4058 !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    white-space: nowrap;
}
.nds-product-modal .nds-product-option-group {
    margin-bottom: 20px;
}
.nds-product-modal .nds-product-option-label {
    margin-bottom: 9px;
}
.nds-product-modal .product-preview-actions {
    margin-top: 2px !important;
    padding-top: 19px !important;
}
@media (max-width: 767px) {
    .nds-product-modal .nds-product-price-card {
        min-height: 62px;
        margin-bottom: 18px;
        padding: 13px 15px;
    }
    .nds-product-modal .nds-product-price-card .price-section {
        font-size: 1.35rem !important;
    }
}


/* ========================================================================== */
/* v6.4.1 – Weitere Videos kompakter + zentrierter Autoplay-Schalter          */
/* ========================================================================== */
#ndsSimilarVideos.similar-videos {
    padding: 1.15rem !important;
}
#ndsSimilarVideos .nds-similar-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: .55rem !important;
    width: 100%;
    margin: 0 0 .85rem !important;
    text-align: center;
}
#ndsSimilarVideos .nds-similar-header .section-title {
    width: 100%;
    margin: 0 !important;
    text-align: center !important;
    font-size: 1.08rem !important;
    font-weight: 780 !important;
    letter-spacing: -.01em;
}
.nds-autoplay-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 28px;
    padding: .3rem .62rem;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    color: #8f95a0;
    font-size: .69rem;
    font-weight: 720;
    line-height: 1;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.nds-autoplay-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.18);
    color: #fff;
}
.nds-autoplay-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #737985;
    box-shadow: 0 0 0 3px rgba(115,121,133,.10);
}
.nds-autoplay-toggle.is-on {
    border-color: rgba(72,199,116,.23);
    background: rgba(72,199,116,.075);
    color: #a9e8bf;
}
.nds-autoplay-toggle.is-on .nds-autoplay-dot {
    background: #48c774;
    box-shadow: 0 0 0 3px rgba(72,199,116,.12);
}
#ndsSimilarVideos .similar-videos-container {
    margin: 0 !important;
    padding: 2px 3px 2px 0 !important;
}
#ndsSimilarVideos .similar-video-item {
    margin: 0 0 .7rem;
}
#ndsSimilarVideos .similar-video-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: .75rem;
    align-items: center;
    min-height: 82px;
    margin: 0 !important;
    padding: .5rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.075) !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,.025) !important;
    box-shadow: none !important;
}
#ndsSimilarVideos .similar-video-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255,51,79,.30) !important;
    background: rgba(255,255,255,.045) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,.22) !important;
}
#ndsSimilarVideos .similar-thumbnail {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 112px !important;
    height: 68px !important;
    border-radius: 9px;
    object-fit: cover;
    background: #0b0d11;
}
#ndsSimilarVideos .similar-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    display: -webkit-box;
    overflow: hidden;
    margin: 0 !important;
    padding: 1px 2px 4px !important;
    color: #f5f6f8 !important;
    font-size: .82rem !important;
    font-weight: 720;
    line-height: 1.28 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
#ndsSimilarVideos .similar-stats {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-content: flex-start !important;
    gap: .7rem;
    margin: 0;
    padding: 3px 2px 0 !important;
    border: 0 !important;
    color: #727984;
    font-size: .64rem !important;
}
#ndsSimilarVideos .similar-stat {
    gap: 4px;
}
#ndsSimilarVideos .load-more-btn {
    align-self: center;
    margin-top: .8rem;
    padding: 7px 14px;
    font-size: .72rem;
}
@media (max-width: 991px) {
    #ndsSimilarVideos .similar-video-card {
        grid-template-columns: 135px minmax(0, 1fr);
    }
    #ndsSimilarVideos .similar-thumbnail {
        width: 135px !important;
        height: 78px !important;
    }
}


/* ========================================================================== */
/* v6.4.2 – Mobiler Abstand unter Kommentare                                    */
/* ========================================================================== */
@media (max-width: 991px) {
    .video-detail-section .row > [class*='col-'] + [class*='col-'] {
        margin-top: 1.1rem;
    }
    .comments-section {
        margin-bottom: .2rem;
    }
    #ndsSimilarVideos.similar-videos {
        margin-top: 0 !important;
    }
}
@media (max-width: 576px) {
    .video-detail-section .row > [class*='col-'] + [class*='col-'] {
        margin-top: 1.2rem;
    }
}


/* ========================================================================== */
/* v6.4.5 – Beschreibung klar klappbar + Weitere Videos füllen               */
/* ========================================================================== */
.nds-video-about .nds-about-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}
.nds-video-about .nds-about-heading h4 {
    margin: 0 !important;
}
.nds-video-about .nds-description-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .18rem;
    padding: .38rem .62rem !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.035) !important;
    color: #c7cbd3 !important;
    font-size: .72rem !important;
    line-height: 1 !important;
}
.nds-video-about .nds-description-toggle:hover {
    border-color: rgba(255,75,96,.30) !important;
    background: rgba(255,75,96,.07) !important;
    color: #fff !important;
}
.nds-video-about .video-description.collapsed {
    max-height: 3.35em !important;
}
.nds-video-about .video-description.collapsed::after {
    height: 1.8em !important;
}
.nds-video-about .video-description.expanded {
    max-height: 1200px !important;
}

/* 7 kompakte Karten füllen die Desktop-Seitenleiste deutlich besser. */
#ndsSimilarVideos .similar-video-item {
    margin-bottom: .55rem !important;
}
#ndsSimilarVideos .similar-video-card {
    min-height: 76px !important;
    padding: .45rem !important;
}
#ndsSimilarVideos .similar-thumbnail {
    width: 108px !important;
    height: 64px !important;
}
#ndsSimilarVideos .similar-video-card {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    column-gap: .7rem !important;
}
#ndsSimilarVideos .similar-videos-container {
    scrollbar-gutter: stable;
}

@media (max-width: 991px) {
    #ndsSimilarVideos .similar-video-card {
        grid-template-columns: 132px minmax(0, 1fr) !important;
    }
    #ndsSimilarVideos .similar-thumbnail {
        width: 132px !important;
        height: 76px !important;
    }
}
@media (max-width: 576px) {
    .nds-video-about .nds-about-heading {
        gap: .65rem;
    }
    .nds-video-about .nds-description-toggle {
        padding: .34rem .52rem !important;
        font-size: .68rem !important;
    }
}


/* ========================================================================== */
/* v6.4.6 – Kommentare dynamisch + Desktop Support/Shop Sidebar                */
/* ========================================================================== */

/* Der Kommentarbereich wächst nur so weit, wie wirklich Inhalt vorhanden ist. */
.video-detail-section .comments-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    padding: 1.5rem !important;
}
.video-detail-section .comments-list-container {
    flex: none !important;
    min-height: 0 !important;
    max-height: 420px;
    overflow-y: auto;
    margin: 1rem 0 0 !important;
    padding-right: 5px;
}
.video-detail-section .comments-list-container:has(.no-comments) {
    margin-top: .8rem !important;
}
.video-detail-section .no-comments {
    min-height: 0 !important;
    padding: 2.1rem 1rem 1.35rem !important;
}
.video-detail-section .no-comments i {
    margin-bottom: .7rem !important;
}
.video-detail-section .no-comments p {
    margin-bottom: 0 !important;
}

/* Luft zwischen Inhaltsbereich und Root-Footer. */
.video-detail-section {
    padding-bottom: 3.25rem !important;
}

/* Kleine Promo unter "Weitere Videos" – nur Desktop. */
.nds-sidebar-promo {
    position: relative;
    display: flex;
    gap: .9rem;
    margin-top: 1rem;
    padding: 1.05rem;
    overflow: hidden;
    border: 1px solid rgba(255, 73, 94, .18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 60, 83, .13), transparent 42%),
        linear-gradient(180deg, rgba(21,23,30,.98), rgba(15,17,22,.98));
    box-shadow: 0 14px 34px rgba(0,0,0,.20);
}
.nds-sidebar-promo::after {
    content: "";
    position: absolute;
    inset: auto -34px -44px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 53, 78, .06);
    pointer-events: none;
}
.nds-sidebar-promo-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 76, 96, .22);
    border-radius: 12px;
    background: rgba(255, 64, 86, .10);
    color: #ff5267;
}
.nds-sidebar-promo-icon i {
    font-size: 1rem;
}
.nds-sidebar-promo-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.nds-sidebar-promo-kicker {
    display: block;
    margin-bottom: .2rem;
    color: #ff5b70;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.nds-sidebar-promo h4 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
}
.nds-sidebar-promo p {
    margin: 0 0 .75rem;
    color: #9fa5b0;
    font-size: .76rem;
    line-height: 1.5;
}
.nds-sidebar-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 34px;
    padding: .48rem .72rem;
    border: 1px solid rgba(255, 76, 96, .27);
    border-radius: 9px;
    background: rgba(255, 62, 85, .11);
    color: #ff7787;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.nds-sidebar-promo-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 76, 96, .48);
    background: rgba(255, 62, 85, .18);
    color: #fff;
}

@media (max-width: 991px) {
    .video-detail-section .comments-section {
        height: auto !important;
        min-height: 0 !important;
    }
    .video-detail-section .comments-list-container {
        max-height: 360px;
    }
    .video-detail-section {
        padding-bottom: 2.5rem !important;
    }
    .nds-sidebar-promo {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .video-detail-section .comments-section {
        padding: 1rem !important;
    }
    .video-detail-section .comments-list-container {
        max-height: 320px;
    }
    .video-detail-section .no-comments {
        padding: 1.6rem .75rem 1rem !important;
    }
    .video-detail-section {
        padding-bottom: 2.2rem !important;
    }
}


/* ========================================================================== */
/* v6.4.7 – Mobile Tabs: Videos / Lyrics / Kommentare                         */
/* ========================================================================== */
.nds-mobile-content-tabs {
    display: none;
}

@media (max-width: 991px) {
    .nds-mobile-content-tabs {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: .35rem;
        margin: 1rem 0 .9rem;
        padding: .35rem;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 14px;
        background: rgba(16,18,24,.96);
        box-shadow: 0 12px 28px rgba(0,0,0,.16);
    }
    .nds-mobile-tab-btn {
        position: relative;
        min-width: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .42rem;
        padding: .55rem .48rem;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #9096a1;
        font-size: .76rem;
        font-weight: 780;
        line-height: 1;
        white-space: nowrap;
        cursor: pointer;
        transition: background .16s ease, color .16s ease, box-shadow .16s ease;
    }
    .nds-mobile-tab-btn i {
        font-size: .78rem;
        color: inherit;
    }
    .nds-mobile-tab-btn.is-active {
        background: rgba(255,255,255,.08);
        color: #fff;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.055);
    }
    .nds-mobile-tab-btn.is-active::after {
        content: "";
        position: absolute;
        left: 26%;
        right: 26%;
        bottom: 4px;
        height: 2px;
        border-radius: 999px;
        background: #ff4058;
    }
    .nds-mobile-tab-count {
        min-width: 18px;
        height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 .3rem;
        border-radius: 999px;
        background: rgba(255,255,255,.08);
        color: #b8bdc6;
        font-size: .62rem;
        font-weight: 800;
    }
    .nds-mobile-tab-btn.is-active .nds-mobile-tab-count {
        background: rgba(255,64,88,.14);
        color: #ff7385;
    }

    /* Erst wenn JS bereit ist, werden die langen Bereiche als Tabs behandelt. */
    .video-detail-section.nds-mobile-tabs-ready .comments-section,
    .video-detail-section.nds-mobile-tabs-ready .nds-lyrics-card,
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos {
        display: none !important;
    }
    .video-detail-section.nds-mobile-tabs-ready .comments-section.nds-mobile-panel-active,
    .video-detail-section.nds-mobile-tabs-ready .nds-lyrics-card.nds-mobile-panel-active,
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos.nds-mobile-panel-active {
        display: block !important;
    }

    /* Keine künstliche Lücke zwischen linker und rechter Bootstrap-Spalte. */
    .video-detail-section.nds-mobile-tabs-ready .row > .col-lg-4 {
        margin-top: 0 !important;
    }
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos.nds-mobile-panel-active,
    .video-detail-section.nds-mobile-tabs-ready .nds-lyrics-card + #ndsSimilarVideos.nds-mobile-panel-active {
        margin-top: 0 !important;
    }

    .video-detail-section.nds-mobile-tabs-ready .comments-section,
    .video-detail-section.nds-mobile-tabs-ready .nds-lyrics-card,
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos {
        border-radius: 16px !important;
    }

    /* Auf Mobil ist jeder Tab sein eigener kompakter Bereich statt 3 langen Blöcken. */
    .video-detail-section.nds-mobile-tabs-ready .comments-list-container {
        max-height: 430px;
    }
    .video-detail-section.nds-mobile-tabs-ready .nds-lyrics-body {
        max-height: 480px;
    }
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos .similar-videos-container {
        max-height: 520px;
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
    .nds-mobile-content-tabs {
        margin-top: .85rem;
        padding: .3rem;
        gap: .25rem;
        border-radius: 12px;
    }
    .nds-mobile-tab-btn {
        min-height: 42px;
        padding: .5rem .36rem;
        gap: .32rem;
        font-size: .70rem;
    }
    .nds-mobile-tab-btn i {
        font-size: .72rem;
    }
    .nds-mobile-tab-count {
        min-width: 17px;
        height: 17px;
        font-size: .59rem;
    }
    .video-detail-section.nds-mobile-tabs-ready .comments-list-container {
        max-height: 390px;
    }
    .video-detail-section.nds-mobile-tabs-ready .nds-lyrics-body {
        max-height: 430px;
    }
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos .similar-videos-container {
        max-height: 470px;
    }
}


/* ========================================================================== */
/* v6.4.8 – Mobile Tabs Layout-Fix                                             */
/* ========================================================================== */
@media (max-width: 991px) {
    /* Der Videos-Tab muss Flex bleiben. Sonst läuft die scrollbare Liste aus
       der alten festen 500/450px-Card heraus. */
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos.nds-mobile-panel-active {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
        padding: 1rem !important;
    }

    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos .nds-similar-header {
        flex: 0 0 auto;
        margin-bottom: .75rem !important;
    }

    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos .similar-videos-container {
        flex: 0 1 auto !important;
        width: 100%;
        min-height: 0 !important;
        max-height: min(52vh, 430px) !important;
        margin: 0 !important;
        padding: 2px 8px 2px 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos .similar-video-item:last-child {
        margin-bottom: 0 !important;
    }

    .video-detail-section.nds-mobile-tabs-ready #load-more-similar {
        position: relative !important;
        inset: auto !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        margin: .85rem 0 0 !important;
        z-index: 1;
    }

    /* Die aktive Tab-Card soll sauber Teil des normalen Dokumentflusses sein. */
    .video-detail-section.nds-mobile-tabs-ready .row {
        align-items: flex-start;
    }
    .video-detail-section.nds-mobile-tabs-ready .row > .col-lg-8,
    .video-detail-section.nds-mobile-tabs-ready .row > .col-lg-4 {
        min-height: 0 !important;
    }

    .video-detail-section.nds-mobile-tabs-ready {
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 576px) {
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos.nds-mobile-panel-active {
        padding: .9rem !important;
    }
    .video-detail-section.nds-mobile-tabs-ready #ndsSimilarVideos .similar-videos-container {
        max-height: min(50vh, 390px) !important;
    }
    .video-detail-section.nds-mobile-tabs-ready {
        padding-bottom: 3.25rem !important;
    }
}

/* ========================================================================== */
/* v6.5.1 – Mobile Produkt-Badges: nur Produktbilder                          */
/* ========================================================================== */
@media (max-width: 650px) {
    .nds-player > .video-product-badges {
        top: 9px !important;
        right: 9px !important;
        width: auto !important;
        max-width: none !important;
        gap: 6px !important;
    }

    .nds-player > .video-product-badges .product-badge {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        padding: 3px !important;
        gap: 0 !important;
        justify-content: center !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        background: rgba(10,11,15,.88) !important;
        border: 1px solid rgba(255,255,255,.18) !important;
        box-shadow: 0 6px 18px rgba(0,0,0,.38) !important;
    }

    .nds-player > .video-product-badges .product-badge.merch {
        border: 2px solid #ff334f !important;
    }

    .nds-player > .video-product-badges .product-badge.album {
        border: 2px solid #4f8cff !important;
    }

    .nds-player > .video-product-badges .badge-content {
        display: none !important;
    }

    .nds-player > .video-product-badges .badge-image-container {
        width: 100% !important;
        height: 100% !important;
        flex: 0 0 100% !important;
    }

    .nds-player > .video-product-badges .badge-image {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    /* Das +X/Mehr-Produkte-Badge bleibt als kompakter Kreis erkennbar. */
    .nds-player > .video-product-badges #show-all-products .badge-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: .82rem !important;
    }

    .nds-player > .video-product-badges .product-badge:hover,
    .nds-player > .video-product-badges .product-badge:active {
        transform: none !important;
    }
}


/* ========================================================================== */
/* v6.5.2 – Mobile/Tablet Produkt-Badges: wirklich NUR das Produktbild        */
/* ========================================================================== */
@media (max-width: 991px) {
    .nds-player > .video-product-badges {
        top: 9px !important;
        right: 9px !important;
        left: auto !important;
        width: auto !important;
        max-width: 52px !important;
        gap: 6px !important;
        align-items: flex-end !important;
        overflow: visible !important;
    }

    .nds-player > .video-product-badges .product-badge {
        display: flex !important;
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        padding: 3px !important;
        margin: 0 !important;
        gap: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        overflow: hidden !important;
        background: rgba(10,11,15,.90) !important;
        box-shadow: 0 6px 18px rgba(0,0,0,.38) !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    /* Absichtlich redundant, damit ältere CSS-Regeln keinen Text zurückholen. */
    .nds-player > .video-product-badges .badge-content,
    .nds-player > .video-product-badges .badge-title,
    .nds-player > .video-product-badges .badge-details,
    .nds-player > .video-product-badges .badge-type,
    .nds-player > .video-product-badges .product-badge .badge-content,
    .nds-player > .video-product-badges .product-badge .badge-title,
    .nds-player > .video-product-badges .product-badge .badge-details,
    .nds-player > .video-product-badges .product-badge .badge-type {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        visibility: hidden !important;
    }

    .nds-player > .video-product-badges .badge-image-container {
        display: flex !important;
        flex: 0 0 36px !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        border-radius: 50% !important;
    }

    .nds-player > .video-product-badges .badge-image {
        display: block !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    .nds-player > .video-product-badges .product-badge.merch {
        border: 2px solid #ff334f !important;
    }
    .nds-player > .video-product-badges .product-badge.album {
        border: 2px solid #4f8cff !important;
    }

    /* Mehr-Produkte-Button bleibt ebenfalls nur ein Kreis. */
    .nds-player > .video-product-badges #show-all-products {
        font-size: 0 !important;
    }
    .nds-player > .video-product-badges #show-all-products .badge-image-container {
        background: rgba(255,255,255,.08) !important;
    }
}
