        * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
        html { font-size: 16px; -webkit-text-size-adjust: 100%; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.5;
            min-height: 100dvh;
            padding-bottom: calc(70px + var(--safe-bottom));
        }

        /* Header mit Profil */
        .header-profile {
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
            padding-top: var(--safe-top);
        }

        .header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            border-bottom: 1px solid var(--border);
            position: relative;
        }

        .logo {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .logo-accent { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }
        .header-logo-img {
            height: 40px;
            width: auto;
            object-fit: contain;
        }
        .logo-with-text {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .header-title-text {
            font-size: 20px;
            font-weight: 700;
        }
        .header-centered {
            justify-content: center;
        }
        .header-centered .logo {
            flex: 0 0 auto;
        }
        .header-centered .header-btn {
            position: absolute;
            right: 16px;
        }

        .header-btn {
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: none;
            color: var(--text);
            cursor: pointer;
            border-radius: 50%;
        }
        .header-btn:hover { background: var(--bg-elevated); }
        .header-btn svg { width: 22px; height: 22px; }

        /* Profil-Bereich im Header - zentriert */
        .header-profile-area {
            padding: 20px 16px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            max-width: 500px;
            margin: 0 auto;
        }

        .profile-main {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .profile-avatar {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid var(--accent);
            box-shadow: 0 0 20px var(--accent-glow);
            flex-shrink: 0;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .profile-avatar:hover { transform: scale(1.05); }

        .profile-avatar-placeholder {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 700;
            color: #000;
            flex-shrink: 0;
        }

        .profile-info { text-align: center; }

        .profile-name {
            font-size: 22px;
            font-weight: 700;
            margin: 0 0 4px;
            line-height: 1.2;
        }

        .profile-tagline {
            font-size: 14px;
            color: var(--text-secondary);
            margin: 0 0 6px;
        }

        .profile-location {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .profile-location svg { width: 14px; height: 14px; }

        .profile-bio {
            font-size: 14px;
            color: var(--text-secondary);
            line-height: 1.5;
            margin: 0 0 14px;
            max-width: 100%;
            word-wrap: break-word;
            overflow-wrap: break-word;
            text-align: justify;
            hyphens: auto;
            -webkit-hyphens: auto;
        }
        .profile-bio strong {
            font-weight: 700;
            color: var(--text);
        }

        .profile-links {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .profile-link-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 20px;
            color: var(--text);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s;
        }
        .profile-link-btn:hover {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
        }
        .profile-link-btn svg { width: 16px; height: 16px; }

        /* Embed-Modus */
        .embed-mode {
            padding-top: 0 !important;
        }
        .embed-mode .feed {
            padding-top: 8px;
        }
        .embed-mode.no-nav {
            padding-bottom: 0 !important;
        }
        .embed-profile {
            padding: 12px 16px;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
        }
        .profile-avatar-sm {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        .profile-name-sm {
            font-weight: 600;
            font-size: 14px;
        }
        .profile-tagline-sm {
            font-size: 12px;
            color: var(--text-secondary);
            margin-left: 8px;
        }

        /* Menu */
        .menu-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.6);
            z-index: 998;
            display: none;
        }
        .menu-overlay.active { display: block; }

        .menu {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            width: 280px;
            max-width: 85vw;
            background: var(--bg-card);
            z-index: 999;
            transform: translateX(100%);
            transition: transform 0.25s ease;
            display: flex;
            flex-direction: column;
        }
        .menu.active { transform: translateX(0); }

        .menu-header {
            padding: 20px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .menu-title { font-weight: 600; font-size: 16px; }
        .menu-close {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-elevated);
            border: none;
            border-radius: 50%;
            color: var(--text);
            cursor: pointer;
        }
        .menu-close svg { width: 18px; height: 18px; }

        .menu-content { flex: 1; overflow-y: auto; padding: 12px; }

        .menu-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 12px;
            color: var(--text);
            text-decoration: none;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 500;
            transition: background 0.2s;
        }
        .menu-link:hover { background: var(--bg-elevated); }
        .menu-link svg { width: 20px; height: 20px; color: var(--text-secondary); }
        .menu-link.primary { background: var(--accent); color: #000; margin-bottom: 8px; }
        .menu-link.primary svg { color: #000; }

        /* Breadcrumb Navigation - immer bündig mit dem Content */
        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 8px;
            box-sizing: border-box;
        }
        /* Im Grid-Modus: Breadcrumb zentriert mit Grid-Breite */
        .feed.grid-mode .breadcrumb {
            max-width: 100%;
            margin: 0 auto 8px;
            padding: 12px 0;
        }
        @media (min-width: 768px) {
            .feed.grid-mode .breadcrumb {
                max-width: 750px;
            }
        }
        @media (min-width: 1024px) {
            .feed.grid-mode .breadcrumb {
                max-width: 900px;
            }
        }
        .breadcrumb a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s;
        }
        .breadcrumb a:hover {
            color: var(--accent);
        }
        .breadcrumb svg {
            color: var(--text-muted);
            flex-shrink: 0;
        }
        .breadcrumb span {
            color: var(--text);
            font-weight: 500;
        }

        /* Feed */
        .feed { max-width: 500px; margin: 0 auto; }
        .feed.grid-mode { max-width: 100%; padding: 0; }

        /* Home Grid - Social Media Style */
        .home-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            max-width: 100%;
            margin: 0 auto;
        }
        /* Desktop: Kleineres Grid für bessere Auflösung */
        @media (min-width: 768px) {
            .home-grid {
                max-width: 750px;
                gap: 3px;
            }
        }
        @media (min-width: 1024px) {
            .home-grid {
                max-width: 900px;
                gap: 4px;
            }
        }
        .grid-item {
            position: relative;
            padding-bottom: 100%; /* Fallback für ältere Browser */
            aspect-ratio: 1;
            overflow: hidden;
            cursor: pointer;
            background: var(--bg-elevated);
        }
        .grid-item img,
        .grid-item video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.2s;
        }
        .grid-item:hover img,
        .grid-item:hover video {
            transform: scale(1.05);
        }
        /* Permanenter Text-Overlay mit Gradient */
        .grid-item-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 32px 10px 10px;
            background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
            color: #fff;
            font-size: 13px;
            line-height: 1.4;
            overflow: hidden;
            pointer-events: none;
        }
        .grid-item-caption-title {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .grid-item-caption-text {
            opacity: 0.85;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 12px;
            line-height: 1.35;
        }
        /* Mobile Hochformat: 2er Grid statt 3er */
        @media (max-width: 500px) and (orientation: portrait) {
            .home-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .grid-item-caption {
                padding: 20px 8px 8px;
            }
            .grid-item-caption-title {
                font-size: 12px;
            }
            .grid-item-caption-text {
                font-size: 11px;
                -webkit-line-clamp: 1;
            }
        }
        .grid-item-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .grid-item:hover .grid-item-overlay {
            opacity: 1;
        }
        .grid-item-stat {
            display: flex;
            align-items: center;
            gap: 4px;
            color: #fff;
            font-weight: 600;
            font-size: 14px;
        }
        .grid-item-stat svg { width: 20px; height: 20px; fill: #fff; }
        .grid-item-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0,0,0,0.7);
            color: #fff;
            padding: 4px 6px;
            border-radius: 4px;
            font-size: 10px;
        }
        .grid-item-badge svg { width: 14px; height: 14px; }
        .slideshow-badge {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            font-weight: 600;
            padding: 3px 8px;
            background: rgba(0,0,0,0.65);
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
        }

        /* Playlist Grid Items */
        .music-playlists-section {
            margin-bottom: 24px;
            padding: 0;
        }
        .music-playlists-section .section-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 12px;
            padding: 0 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .playlists-grid-mini {
            margin-bottom: 24px;
        }
        .grid-item-playlist {
            text-decoration: none;
            display: block;
        }
        .grid-playlist-thumb {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--accent) 0%, rgba(var(--accent-rgb), 0.3) 100%);
        }
        .grid-playlist-thumb svg {
            width: 40px;
            height: 40px;
            color: var(--bg);
        }
        .playlist-badge {
            background: var(--accent) !important;
            color: var(--bg) !important;
        }
        .playlist-badge svg {
            color: var(--bg) !important;
        }

        .grid-audio-thumb,
        .grid-event-thumb {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg) 100%);
            padding: 12px;
            text-align: center;
        }
        .grid-audio-thumb svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: 8px; }
        .grid-audio-title { font-size: 11px; font-weight: 600; color: var(--text); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

        /* Grid Artikel-Karte */
        .grid-item-article {
            text-decoration: none;
            color: inherit;
            cursor: pointer;
        }
        .grid-article-thumb {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--accent-glow) 100%);
        }
        .grid-article-caption {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .grid-article-readmore {
            font-size: 11px;
            color: var(--accent);
            font-weight: 600;
            margin-top: 4px;
        }
        .grid-item-article:hover .grid-article-readmore {
            text-decoration: underline;
        }

        /* Eingebetteter Artikel */
        .embedded-article {
            max-width: 700px;
            margin: 0 auto;
            padding: 0 16px;
        }
        .embedded-article-back {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--accent);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 20px;
            padding: 8px 12px;
            background: var(--bg-elevated);
            border-radius: 8px;
            transition: all 0.2s;
        }
        .embedded-article-back:hover {
            background: var(--accent);
            color: var(--bg);
        }
        .embedded-article-content {
            background: var(--bg-elevated);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 20px;
        }
        .embedded-article-title {
            font-size: 1.75em;
            font-weight: 700;
            color: var(--text);
            margin: 0 0 12px;
            line-height: 1.3;
        }
        .embedded-article-meta {
            font-size: 13px;
            color: var(--text-dim);
            margin-bottom: 20px;
        }
        .embedded-article-cover {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 20px;
        }
        .embedded-article-body {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-secondary);
        }
        .embedded-article-body p { margin-bottom: 1.2em; }
        .embedded-article-body h2 { font-size: 1.4em; margin: 1.5em 0 0.8em; color: var(--text); }
        .embedded-article-body h3 { font-size: 1.2em; margin: 1.3em 0 0.6em; color: var(--text); }
        .embedded-article-body a { color: var(--accent); }
        .embedded-article-body ul, .embedded-article-body ol { padding-left: 1.5em; margin-bottom: 1em; }
        .embedded-article-body li { margin-bottom: 0.4em; }
        .embedded-article-body strong { font-weight: 600; color: var(--text); }
        .embedded-article-body blockquote {
            border-left: 3px solid var(--accent);
            padding-left: 16px;
            margin: 1em 0;
            font-style: italic;
            color: var(--text-dim);
        }
        .embedded-article-share {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 24px;
            padding-top: 20px;
            border-top: 1px solid var(--border);
            font-size: 13px;
            color: var(--text-dim);
        }
        .embedded-article-share a {
            color: var(--text-dim);
            transition: color 0.2s;
        }
        .embedded-article-share a:hover { color: var(--accent); }

        /* Newsletter Inline-Block (in Artikeln) */
        .newsletter-inline-block {
            margin: 16px 0;
            padding: 10px 12px;
            background: var(--bg-elevated, #111);
            border: 1px solid var(--border);
            border-radius: 10px;
            text-align: center;
        }
        .newsletter-inline-icon {
            color: var(--accent);
            margin-bottom: 2px;
        }
        .newsletter-inline-icon svg {
            width: 20px;
            height: 20px;
        }
        .newsletter-inline-title {
            font-size: 14px;
            font-weight: 700;
            margin: 0 0 2px;
        }
        .newsletter-inline-desc {
            color: var(--text-dim);
            font-size: 12px;
            margin: 0 0 6px;
            line-height: 1.3;
        }
        .newsletter-inline-form {
            display: flex;
            flex-direction: column;
            gap: 4px;
            max-width: 380px;
            margin: 0 auto;
        }
        .newsletter-inline-input {
            padding: 7px 10px;
            background: var(--bg, #0a0a0a);
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text);
            font-size: 13px;
        }
        .newsletter-inline-input:focus {
            outline: none;
            border-color: var(--accent);
        }
        .newsletter-inline-btn {
            padding: 7px;
            background: var(--accent);
            color: #000;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: opacity 0.2s;
        }
        .newsletter-inline-btn:hover { opacity: 0.85; }
        .newsletter-inline-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .newsletter-inline-success {
            color: var(--accent);
            font-size: 13px;
            padding: 6px 0;
        }
        .newsletter-inline-legal {
            font-size: 10px;
            color: var(--text-dim);
            margin-top: 6px;
        }

        /* Grid Audio Visualizer */
        .grid-audio-visualizer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 2px;
            padding: 16px;
            background: var(--bg-elevated);
        }
        .grid-audio-visualizer .audio-bar {
            flex: 1;
            max-width: 6px;
            background: var(--visualizer);
            border-radius: 3px 3px 0 0;
            opacity: var(--visualizer-opacity);
            animation: gridAudioPulse 1.5s ease-in-out infinite;
        }
        .grid-audio-visualizer .audio-bar:nth-child(odd) { animation-delay: 0.2s; }
        .grid-audio-visualizer .audio-bar:nth-child(3n) { animation-delay: 0.4s; }
        .grid-audio-visualizer .audio-bar:nth-child(4n) { animation-delay: 0.1s; }
        @keyframes gridAudioPulse {
            0%, 100% { transform: scaleY(0.4); }
            50% { transform: scaleY(1); }
        }
        .grid-audio-title-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 8px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            text-align: center;
        }
        .grid-audio-title-overlay span {
            font-size: 11px;
            font-weight: 600;
            color: #fff;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }
        /* Grid Audio Player Controls */
        .grid-item-audio {
            cursor: default;
        }
        .grid-audio-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: none;
            background: var(--accent);
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.2s;
            z-index: 5;
            box-shadow: 0 4px 16px rgba(0,0,0,0.3);
        }
        .grid-item-audio:hover .grid-audio-play-btn,
        .grid-item-audio.playing .grid-audio-play-btn {
            opacity: 1;
        }
        .grid-audio-play-btn svg {
            width: 24px;
            height: 24px;
        }
        .grid-audio-play-btn .icon-play { display: block; }
        .grid-audio-play-btn .icon-pause { display: none; }
        .grid-audio-play-btn.playing .icon-play { display: none !important; }
        .grid-audio-play-btn.playing .icon-pause { display: block !important; }
        .grid-audio-play-btn:hover {
            transform: translate(-50%, -50%) scale(1.1);
        }
        .grid-audio-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: rgba(255,255,255,0.2);
            z-index: 4;
        }
        .grid-audio-progress-bar {
            height: 100%;
            width: 0;
            background: var(--accent);
            transition: width 0.1s linear;
        }
        .grid-item-audio.playing .grid-audio-visualizer .audio-bar {
            animation: none;
        }
        .grid-audio-preview-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            padding: 3px 8px;
            font-size: 10px;
            font-weight: 600;
            background: rgba(0,0,0,0.7);
            color: var(--accent);
            border-radius: 4px;
            z-index: 5;
            text-transform: uppercase;
        }
        /* Kategorie Header */
        .category-header-bar {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px;
            margin-bottom: 16px;
            background: var(--bg-elevated);
            border-radius: 12px;
        }
        .category-header-title {
            font-size: 24px;
            font-weight: 700;
            margin: 0;
        }
        .category-header-count {
            font-size: 14px;
            color: var(--text-dim);
        }
        /* Kategorie Filter Chip Farbe */
        .collection-chip[style*="--chip-color"] {
            border-color: var(--chip-color);
        }
        .collection-chip[style*="--chip-color"].active {
            background: var(--chip-color);
            color: #fff;
        }
        .grid-event-thumb { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
        .grid-event-day { font-size: 28px; font-weight: 700; color: #000; line-height: 1; }
        .grid-event-month { font-size: 11px; font-weight: 600; color: #000; text-transform: uppercase; }
        .grid-event-title { font-size: 10px; color: rgba(0,0,0,0.7); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

        /* Post Modal */
        .post-modal {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.95);
            z-index: 1001;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .post-modal.active { display: flex; }
        .post-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 50%;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }
        .post-modal-close svg { width: 24px; height: 24px; }
        .post-modal-content {
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            background: var(--bg-card);
            border-radius: 12px;
            margin: 20px;
        }
        @media (max-width: 600px) {
            .post-modal-content {
                max-width: 100%;
                margin: 0;
                border-radius: 0;
                max-height: 100vh;
            }
        }

        /* Post */
        .post { background: var(--bg-card); border-bottom: 1px solid var(--border); }

        .post-header {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
        }

        .post-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent), var(--accent-dark));
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 13px;
            color: #000;
            overflow: hidden;
        }
        .post-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .post-user { font-weight: 600; font-size: 14px; }
        .post-date { font-size: 12px; color: var(--text-muted); }

        /* Media Container */
        .post-media {
            position: relative;
            width: 100%;
            background: var(--bg-elevated);
        }
        .post-media-wrap {
            position: relative;
            width: 100%;
            padding-bottom: 100%;
        }
        .post-media img, .post-media video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* Video-Container im Modal: natürliches Seitenverhältnis */
        .post-media-video {
            position: relative;
            background: #000;
            line-height: 0;
            overflow: hidden;
        }
        .post-media-video video {
            position: relative;
            display: block;
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain;
        }

        /* Carousel / Slideshow */
        .carousel-container {
            overflow: hidden;
            touch-action: pan-y;
        }
        .carousel-track {
            display: flex;
            will-change: transform;
        }
        .carousel-slide {
            flex: 0 0 100%;
            position: relative;
        }
        .carousel-slide img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #000;
        }
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            background: rgba(0,0,0,0.45);
            color: #fff;
            border: none;
            border-radius: 50%;
            font-size: 16px;
            cursor: pointer;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        .carousel-btn:hover { background: rgba(0,0,0,0.7); }
        .carousel-prev { left: 8px; }
        .carousel-next { right: 8px; }
        .carousel-counter {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            font-size: 13px;
            padding: 3px 10px;
            border-radius: 12px;
            z-index: 3;
        }
        .carousel-dots {
            position: absolute;
            bottom: 12px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 6px;
            z-index: 3;
        }
        .carousel-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: rgba(255,255,255,0.45);
            border: none;
            cursor: pointer;
            padding: 0;
            transition: background 0.2s, transform 0.2s;
        }
        .carousel-dot.active {
            background: #fff;
            transform: scale(1.25);
        }

        /* Video Sound Toggle */
        .sound-toggle {
            position: absolute;
            bottom: 14px;
            right: 14px;
            width: 36px;
            height: 36px;
            background: rgba(0,0,0,0.6);
            border: none;
            border-radius: 50%;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: background 0.2s;
        }
        .sound-toggle:hover { background: rgba(0,0,0,0.8); }
        .sound-toggle svg { width: 18px; height: 18px; }
        .sound-toggle .icon-muted { display: none; }
        .sound-toggle.muted .icon-sound { display: none; }
        .sound-toggle.muted .icon-muted { display: block; }

        .video-indicator {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(0,0,0,0.7);
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: 600;
            color: #fff;
        }

        .play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(0,0,0,0.5);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
            transition: opacity 0.2s;
        }
        .play-btn svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
        .post-media.playing .play-btn { opacity: 0; }

        /* Audio Post */
        .post-audio {
            position: relative;
            width: 100%;
            padding-bottom: 100%;
            aspect-ratio: 1;
            background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg) 100%);
            overflow: hidden;
        }

        .audio-cover {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-size: cover;
            background-position: center;
            filter: blur(20px) brightness(0.4);
            transform: scale(1.1);
        }

        .audio-visualizer {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 3px;
            padding: 20px;
            opacity: var(--visualizer-opacity);
        }
        .audio-bar {
            flex: 1;
            max-width: 8px;
            background: var(--visualizer);
            border-radius: 4px 4px 0 0;
            transform-origin: bottom;
            transition: height 0.1s ease;
        }

        .audio-text-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            padding-bottom: 80px;
            text-align: center;
            z-index: 5;
        }
        .audio-title {
            font-size: 22px;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            margin-bottom: 6px;
            line-height: 1.3;
        }
        .audio-collection {
            font-size: 14px;
            color: rgba(255,255,255,0.7);
            text-shadow: 0 1px 5px rgba(0,0,0,0.5);
        }
        .audio-preview-badge {
            margin-top: 12px;
            padding: 4px 12px;
            background: var(--accent);
            color: #000;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            border-radius: 12px;
        }
        .audio-icon {
            width: 48px;
            height: 48px;
            color: var(--accent);
            margin-bottom: 16px;
            filter: drop-shadow(0 0 10px var(--accent-glow));
        }

        .audio-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 16px;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 10;
        }
        .audio-play-btn {
            width: 44px;
            height: 44px;
            background: var(--accent);
            border: none;
            border-radius: 50%;
            color: #000;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: transform 0.2s;
        }
        .audio-play-btn:hover { transform: scale(1.05); }
        .audio-play-btn svg { width: 20px; height: 20px; fill: currentColor; }
        .audio-play-btn .icon-pause { display: none; }
        .audio-play-btn.playing .icon-play { display: none; }
        .audio-play-btn.playing .icon-pause { display: block; }

        .audio-progress {
            flex: 1;
            height: 4px;
            background: rgba(255,255,255,0.2);
            border-radius: 2px;
            overflow: hidden;
            cursor: pointer;
        }
        .audio-progress-bar {
            height: 100%;
            background: var(--accent);
            width: 0%;
            transition: width 0.1s linear;
        }

        .audio-time {
            font-size: 12px;
            color: #fff;
            min-width: 40px;
            text-align: right;
        }

        .audio-shop-btn {
            width: 36px;
            height: 36px;
            background: var(--success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
            transition: transform 0.2s, background 0.2s;
        }
        .audio-shop-btn:hover { transform: scale(1.1); }
        .audio-shop-btn svg { width: 18px; height: 18px; }
        .audio-shop-btn.apple-music { background: linear-gradient(135deg, #FA2D48, #FA233B); }
        .audio-shop-btn.apple-music:hover { background: linear-gradient(135deg, #e0263f, #d91f35); }
        .audio-shop-btn.spotify { background: #1DB954; }
        .audio-shop-btn.spotify:hover { background: #1aa34a; }

        /* Collection Filter */
        .collection-filter {
            display: flex;
            gap: 8px;
            padding: 12px 16px;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .collection-filter::-webkit-scrollbar { display: none; }
        .collection-chip {
            padding: 8px 16px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 20px;
            color: var(--text);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            white-space: nowrap;
            transition: all 0.2s;
        }
        .collection-chip:hover { border-color: var(--accent); }
        .collection-chip.active {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
        }

        /* Collection Header */
        .collection-header-bar {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 20px 16px;
            background: var(--bg-card);
            border-bottom: 1px solid var(--border);
        }
        .collection-header-cover {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            background: var(--bg-elevated);
        }
        .collection-header-info h2 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .collection-header-meta {
            font-size: 13px;
            color: var(--text-secondary);
        }
        .collection-header-actions {
            margin-left: auto;
        }
        .collection-shop-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            background: var(--success);
            color: #fff;
            text-decoration: none;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
        }
        .collection-shop-link svg { width: 16px; height: 16px; }

        /* Playlists */
        .playlists-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 16px;
            padding: 16px;
        }
        .playlist-card {
            background: var(--bg-card);
            border-radius: 12px;
            overflow: hidden;
            text-decoration: none;
            color: inherit;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .playlist-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        }
        .playlist-card-cover {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            display: block;
            background: var(--bg-elevated);
        }
        .playlist-card-cover-placeholder {
            width: 100%;
            aspect-ratio: 1;
            background: var(--bg-elevated);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .playlist-card-cover-placeholder svg {
            width: 48px;
            height: 48px;
            color: var(--text-dim);
        }
        .playlist-card-info {
            padding: 12px;
        }
        .playlist-card-title {
            font-size: 14px;
            font-weight: 600;
            margin: 0 0 4px 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .playlist-card-count {
            font-size: 12px;
            color: var(--text-dim);
        }

        /* Playlist Detail */
        .playlist-detail {
            padding: 16px;
        }
        .playlist-header {
            display: flex;
            gap: 16px;
            align-items: flex-start;
            margin-bottom: 20px;
        }
        .playlist-cover-large {
            width: 120px;
            height: 120px;
            border-radius: 8px;
            object-fit: cover;
        }
        .playlist-cover-placeholder-large {
            width: 120px;
            height: 120px;
            background: var(--bg-elevated);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .playlist-cover-placeholder-large svg {
            width: 48px;
            height: 48px;
            color: var(--text-dim);
        }
        .playlist-info {
            flex: 1;
        }
        .playlist-title {
            font-size: 24px;
            font-weight: 700;
            margin: 0 0 8px 0;
        }
        .playlist-description {
            font-size: 14px;
            color: var(--text-secondary);
            margin: 0 0 8px 0;
        }
        .playlist-track-count {
            font-size: 13px;
            color: var(--text-dim);
        }

        /* Playlist Tracks */
        .playlist-tracks {
            background: var(--bg-card);
            border-radius: 12px;
            overflow: hidden;
        }
        .playlist-track-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background 0.15s;
        }
        .playlist-track-item:last-child { border-bottom: none; }
        .playlist-track-item:hover { background: var(--bg-elevated); }
        .playlist-track-item.playing {
            background: rgba(var(--accent-rgb), 0.1);
        }
        .playlist-track-item .track-number {
            width: 24px;
            text-align: center;
            font-size: 13px;
            color: var(--text-dim);
        }
        .playlist-track-item .track-info {
            flex: 1;
            min-width: 0;
        }
        .playlist-track-item .track-title {
            font-size: 14px;
            font-weight: 500;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .playlist-track-item .track-subtitle {
            font-size: 12px;
            color: var(--text-dim);
            display: block;
        }
        .track-play-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--accent);
            border: none;
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0;
        }
        .track-play-btn svg {
            width: 16px;
            height: 16px;
        }
        /* Track Actions Container */
        .track-actions {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }
        .track-buy-btn {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 6px 10px;
            border-radius: 16px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            color: var(--accent);
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.15s;
        }
        .track-buy-btn:hover {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
        }
        .track-buy-btn svg {
            flex-shrink: 0;
        }

        /* Playlist Player */
        .playlist-player {
            position: fixed;
            bottom: 70px;
            left: 0;
            right: 0;
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            padding: 12px 16px;
            z-index: 90;
            max-width: 480px;
            margin: 0 auto;
        }
        .playlist-player-info {
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 8px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .playlist-player-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            margin-bottom: 8px;
        }
        .player-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--bg-elevated);
            border: none;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        .player-btn svg { width: 20px; height: 20px; }
        .player-btn-main {
            width: 44px;
            height: 44px;
            background: var(--accent);
            color: #000;
        }
        .player-btn-main svg { width: 24px; height: 24px; }
        .playlist-progress {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .progress-slider {
            width: 100%;
            height: 4px;
            -webkit-appearance: none;
            appearance: none;
            background: var(--border);
            border-radius: 2px;
            cursor: pointer;
        }
        .progress-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: var(--accent);
            border-radius: 50%;
        }
        .playlist-time {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: var(--text-dim);
        }
        .playlist-back-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 20px;
            color: var(--accent);
            text-decoration: none;
            font-size: 14px;
        }

        /* Archiv */
        .archive-header {
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .archive-title {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }
        .archive-back {
            font-size: 14px;
            color: var(--accent);
            text-decoration: none;
        }
        .archive-months {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 10px;
            padding: 0 16px 16px;
        }
        .archive-month-chip {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 12px 8px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 12px;
            text-decoration: none;
            color: var(--text);
            transition: all 0.2s;
        }
        .archive-month-chip:hover {
            border-color: var(--accent);
            background: var(--bg-card);
        }
        .archive-month-name { font-size: 14px; font-weight: 600; }
        .archive-month-year { font-size: 12px; color: var(--text-secondary); }
        .archive-month-count {
            margin-top: 4px;
            font-size: 11px;
            color: var(--accent);
        }

        /* Event Posts im Feed */
        .post-event {
            position: relative;
            width: 100%;
            padding: 24px;
            background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
            display: flex;
            gap: 20px;
            align-items: center;
        }
        .event-calendar {
            width: 70px;
            height: 80px;
            background: var(--accent);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: #000;
        }
        .event-calendar-day { font-size: 28px; font-weight: 700; line-height: 1; }
        .event-calendar-month { font-size: 12px; font-weight: 600; text-transform: uppercase; margin-top: 2px; }
        .event-calendar-year { font-size: 10px; font-weight: 500; opacity: 0.7; }
        .event-details { flex: 1; }
        .event-title-text { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
        .event-venue-text { font-size: 14px; color: var(--text-secondary); margin-bottom: 4px; }
        .event-time-text { font-size: 13px; color: var(--text-muted); }
        .event-ticket-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 12px;
            padding: 10px 18px;
            background: var(--accent);
            color: #000;
            text-decoration: none;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
        }
        .event-ticket-btn:hover { opacity: 0.9; }
        .event-ticket-btn svg { width: 16px; height: 16px; }
        .event-past { opacity: 0.6; }
        .event-past .event-calendar { background: var(--text-muted); }

        /* Heart Animation */
        .heart-pop {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0);
            pointer-events: none;
            z-index: 20;
        }
        .heart-pop svg { width: 80px; height: 80px; fill: #fff; filter: drop-shadow(0 0 10px rgba(0,0,0,0.3)); }
        .heart-pop.animate { animation: popHeart 0.6s ease-out forwards; }
        @keyframes popHeart {
            0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
            15% { transform: translate(-50%, -50%) scale(1.2); }
            30% { transform: translate(-50%, -50%) scale(1); }
            80% { opacity: 1; }
            100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
        }

        /* Actions */
        .post-actions {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 10px 14px;
        }
        .action-btn {
            background: none;
            border: none;
            padding: 4px;
            cursor: pointer;
            color: var(--text);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .action-btn:active { transform: scale(0.9); }
        .action-btn svg { width: 24px; height: 24px; }
        .action-btn.liked svg { fill: var(--heart); color: var(--heart); }
        .action-btn.liked { animation: likeAnim 0.3s ease; }
        @keyframes likeAnim { 50% { transform: scale(1.2); } }

        /* Post Info */
        .post-info { padding: 0 14px 14px; }
        .post-likes { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
        .post-caption { font-size: 14px; line-height: 1.5; }
        .post-caption strong { font-weight: 600; }
        .post-caption-text { color: var(--text-secondary); }
        .caption-link { color: var(--accent); text-decoration: none; }
        .caption-link:hover { text-decoration: underline; }

        /* Empty */
        .empty {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 80px 24px;
            text-align: center;
        }
        .empty svg { width: 64px; height: 64px; color: var(--text-muted); margin-bottom: 16px; }
        .empty h2 { font-size: 18px; margin-bottom: 6px; }
        .empty p { color: var(--text-secondary); font-size: 14px; }

        /* Load More (entfernt – Infinite Scroll ersetzt den Button) */

        /* Bottom Nav - Always visible */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: calc(60px + var(--safe-bottom));
            padding-bottom: var(--safe-bottom);
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            z-index: 100;
            max-width: 100%;
        }

        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex: 1;
            max-width: 120px;
            height: 100%;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 11px;
            font-weight: 500;
            gap: 4px;
            transition: color 0.2s;
            background: none;
            border: none;
            cursor: pointer;
        }
        .nav-item svg { width: 24px; height: 24px; }
        .nav-item.active { color: var(--accent); }
        .nav-item:hover { color: var(--text); }

        /* Profilbild Lightbox */
        .profile-lightbox {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.9);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }
        .profile-lightbox.active { display: flex; }
        .profile-lightbox img {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 50%;
            border: 4px solid var(--accent);
            box-shadow: 0 0 40px var(--accent-glow);
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            background: rgba(255,255,255,0.1);
            border: none;
            border-radius: 50%;
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .lightbox-close svg { width: 24px; height: 24px; }

        /* Buy Button & Layer - Full-Screen Modal */
        .buy-btn {
            color: #000 !important;
            background: var(--accent) !important;
            border-color: var(--accent) !important;
        }
        .buy-btn:hover {
            filter: brightness(1.15);
        }
        .buy-layer {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: var(--bg);
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .buy-layer.active {
            display: flex;
        }
        .buy-modal {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 24px;
            max-width: 400px;
            width: calc(100% - 40px);
            text-align: center;
            border: 1px solid var(--border);
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            transform: scale(0.95);
            opacity: 0;
            transition: all 0.3s ease;
        }
        .buy-layer.active .buy-modal {
            transform: scale(1);
            opacity: 1;
        }
        @media (max-width: 480px) {
            .buy-modal {
                margin: 20px;
                width: auto;
                max-width: none;
            }
        }
        .buy-modal-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border);
        }
        .buy-modal-header-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 600;
        }
        .buy-modal-header-title svg {
            width: 20px;
            height: 20px;
            color: var(--accent);
        }
        .buy-modal-close-x {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-tertiary);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            color: var(--text-muted);
            transition: all 0.2s;
        }
        .buy-modal-close-x:hover {
            background: var(--border);
            color: var(--text);
        }
        .buy-modal-close-x svg { width: 16px; height: 16px; }
        .buy-modal-icon {
            width: 48px;
            height: 48px;
            background: var(--accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
        }
        .buy-modal-icon svg { width: 24px; height: 24px; color: #000; }
        .buy-modal-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        .buy-modal-product {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 12px;
            word-break: break-word;
        }
        .buy-modal-info {
            font-size: 12px;
            color: var(--text-muted);
            margin-bottom: 12px;
            padding: 10px;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
            text-align: left;
        }
        .buy-modal-price {
            font-size: 28px;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 16px;
        }
        .buy-modal-price span { font-size: 14px; font-weight: 400; }
        .buy-paypal-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 12px 20px;
            background: #0070ba;
            color: #fff;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s;
        }
        .buy-paypal-btn:hover { background: #005ea6; }
        .buy-paypal-btn svg { width: 20px; height: 20px; }
        .buy-modal-close {
            margin-top: 12px;
            padding: 10px 20px;
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-muted);
            border-radius: 8px;
            cursor: pointer;
            font-size: 13px;
            width: 100%;
        }
        .buy-modal-close:hover { border-color: var(--text); color: var(--text); }
        .buy-modal-hint {
            font-size: 10px;
            color: var(--text-muted);
            margin-top: 12px;
            opacity: 0.7;
        }

        /* Footer mit Impressum/Datenschutz */
        .site-footer {
            text-align: center;
            padding: 24px 16px 100px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .site-footer a {
            color: var(--text-muted);
            text-decoration: none;
            margin: 0 8px;
        }
        .site-footer a:hover { color: var(--accent); }
        .footer-copy { margin-bottom: 8px; }

        /* Sticky Header Optionen */
        .header-profile.sticky-header-only .header-top {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--bg-card);
        }
        .header-profile.sticky-all {
            position: sticky;
            top: 0;
            z-index: 100;
        }

        /* Lazy */
        .lazy { opacity: 0; transition: opacity 0.3s; }
        .lazy.loaded { opacity: 1; }

        /* Desktop - Bottom nav stays! */
        @media (min-width: 768px) {
            .feed { padding: 16px; }
            .post { border-radius: 12px; border: 1px solid var(--border); margin-bottom: 16px; }
            .bottom-nav { justify-content: center; }
            .nav-item { max-width: 100px; }
        }

        /* Cookie Banner */
        .cookie-banner {
            position: fixed;
            bottom: 70px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 480px;
            width: calc(100% - 32px);
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 20px;
            z-index: 999;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            max-height: calc(100vh - 150px);
            overflow-y: auto;
        }
        .cookie-banner.hidden { display: none; }
        .cookie-banner-content {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .cookie-banner-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 4px;
        }
        .cookie-banner-text {
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-secondary);
        }
        .cookie-banner-text p {
            margin: 0 0 8px 0;
        }
        .cookie-banner-text ul {
            margin: 0 0 12px 0;
            padding-left: 20px;
        }
        .cookie-banner-text li {
            margin-bottom: 6px;
        }
        .cookie-banner-text strong {
            color: var(--text);
        }
        .cookie-banner-text em {
            color: var(--accent);
            font-style: normal;
        }
        .cookie-banner-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 8px;
        }
        .cookie-btn {
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
        }
        .cookie-btn-accept {
            background: var(--accent);
            color: #000;
        }
        .cookie-btn-accept:hover {
            filter: brightness(1.1);
        }
        .cookie-btn-decline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-muted);
        }
        .cookie-btn-decline:hover {
            border-color: var(--text-muted);
        }
        .cookie-privacy-link {
            display: block;
            text-align: center;
            font-size: 12px;
            color: var(--text-dim);
            text-decoration: none;
            margin-top: 4px;
        }
        .cookie-privacy-link:hover {
            color: var(--accent);
        }

        @keyframes gridFadeIn {
            from { opacity: 0; transform: scale(0.95); }
            to { opacity: 1; transform: scale(1); }
        }
        .grid-item-new { animation: gridFadeIn 0.35s ease-out; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .message-modal-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        .message-modal-overlay.active {
            display: flex;
        }
        .message-modal {
            background: var(--bg-card);
            border-radius: 20px;
            width: 100%;
            max-width: 400px;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        .message-modal-overlay.active .message-modal {
            transform: translateY(0);
        }
        .message-modal-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            border: none;
            background: var(--bg-input);
            border-radius: 50%;
            color: var(--text);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .message-modal-close svg { width: 20px; height: 20px; }
        .message-modal-header {
            padding: 30px 24px 20px;
            text-align: center;
        }
        .message-modal-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 16px;
            background: rgba(57,255,20,0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .message-modal-icon svg {
            width: 30px;
            height: 30px;
            color: var(--accent);
        }
        .message-modal-header h2 {
            font-size: 20px;
            font-weight: 700;
            margin: 0 0 6px;
        }
        .message-modal-header p {
            color: var(--text-dim);
            font-size: 14px;
            margin: 0;
        }
        #messageForm {
            padding: 0 24px 24px;
        }
        .message-form-group {
            margin-bottom: 16px;
        }
        .message-form-group label {
            display: block;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 6px;
            color: var(--text);
        }
        .message-form-group input,
        .message-form-group textarea {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: var(--bg-input);
            color: var(--text);
            font-size: 15px;
            font-family: inherit;
            transition: border-color 0.2s;
        }
        .message-form-group input:focus,
        .message-form-group textarea:focus {
            outline: none;
            border-color: var(--accent);
        }
        .message-form-group textarea {
            resize: vertical;
            min-height: 100px;
        }
        .message-submit-btn {
            width: 100%;
            padding: 14px 20px;
            background: var(--accent);
            color: #000;
            border: none;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: opacity 0.2s;
        }
        .message-submit-btn:hover { opacity: 0.9; }
        .message-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .message-submit-btn svg { width: 18px; height: 18px; }

        .inline-page {
            max-width: 700px;
            margin: 0 auto;
            padding-bottom: 80px;
        }
        .inline-page-header {
            height: 200px;
            background-size: cover;
            background-position: center;
            border-radius: 16px;
            margin-bottom: -60px;
        }
        .inline-page-body {
            background: var(--bg-card);
            border-radius: 16px;
            padding: 24px;
            position: relative;
        }
        .inline-page-profile {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            border: 4px solid var(--bg-card);
            margin-bottom: 16px;
            background-size: cover;
            background-position: center;
            background-color: var(--bg-input);
        }
        .inline-page-title {
            font-size: 1.75em;
            margin-bottom: 20px;
            color: var(--accent);
        }
        .inline-page-content {
            color: var(--text);
            line-height: 1.8;
        }
        .inline-page-content h1, .inline-page-content h2, .inline-page-content h3 {
            margin: 24px 0 12px;
            color: var(--text);
        }
        .inline-page-content p {
            margin-bottom: 16px;
        }
        .inline-page-content a {
            color: var(--accent);
        }
        .inline-page-content ul, .inline-page-content ol {
            margin: 16px 0;
            padding-left: 24px;
        }
        .inline-page-content li {
            margin-bottom: 8px;
        }
        .inline-page-back {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 24px;
            padding: 12px 20px;
            background: var(--bg-input);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s;
        }
        .inline-page-back:hover {
            background: var(--accent);
            color: #000;
            border-color: var(--accent);
        }
        /* Lyrics Liste */
        .lyric-list-item:hover {
            border-color: var(--accent) !important;
        }
        #lyricsSearch:focus {
            border-color: var(--accent) !important;
        }
        /* EPK Template - Zentriert */
        .template-epk {
            text-align: center;
        }
        .template-epk .inline-page-profile {
            width: 140px;
            height: 140px;
            margin: -90px auto 20px;
        }
        /* Bio Template - Profilbild links */
        .template-bio .inline-page-profile {
            float: left;
            margin-right: 24px;
            margin-bottom: 16px;
        }
        .template-bio::after {
            content: '';
            display: table;
            clear: both;
        }
        @media (max-width: 600px) {
            .inline-page-header { height: 150px; border-radius: 12px; }
            .inline-page-body { padding: 16px; border-radius: 12px; }
            .inline-page-title { font-size: 1.4em; }
            .inline-page-profile { width: 80px; height: 80px; }
            .template-epk .inline-page-profile { width: 100px; height: 100px; margin-top: -70px; }
            .template-bio .inline-page-profile { float: none; margin: 0 auto 16px; }
        }

/* =====================
   STORY: PROFILBILD-RING
   ===================== */
.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    border-radius: 50%;
    padding: 0;
}
.profile-avatar-wrap .profile-avatar {
    display: block;
}
/* Animierter Ring wenn Story aktiv */
.profile-avatar-wrap.has-story {
    padding: 3px;
    background: linear-gradient(135deg, var(--accent, #39FF14), #00cc88, var(--accent, #39FF14));
    background-size: 200% 200%;
    animation: storyRingPulse 3s ease infinite;
}
.profile-avatar-wrap.has-story .profile-avatar {
    border: 2px solid var(--bg-primary, #000);
}
.profile-avatar-placeholder.has-story {
    box-shadow: 0 0 0 3px var(--accent, #39FF14), 0 0 12px var(--accent-glow, rgba(57,255,20,0.3));
    animation: storyRingPulse 3s ease infinite;
}
@keyframes storyRingPulse {
    0%, 100% { background-position: 0% 50%; box-shadow: 0 0 8px var(--accent-glow, rgba(57,255,20,0.2)); }
    50% { background-position: 100% 50%; box-shadow: 0 0 16px var(--accent-glow, rgba(57,255,20,0.5)); }
}

/* =====================
   STORY VIEWER (Fullscreen)
   ===================== */
.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.story-viewer.open {
    display: flex;
}
.story-viewer-backdrop {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.92);
}
.story-viewer-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 100%;
    max-height: 750px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
@media (max-width: 480px) {
    .story-viewer-container {
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* Fortschrittsbalken */
.story-progress-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    display: flex;
    gap: 3px;
    padding: 8px 10px 0;
    z-index: 3;
}
.story-progress-segment {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
}
.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
}
.story-progress-segment.done .story-progress-fill {
    width: 100%;
}

/* Header */
.story-viewer-header {
    position: absolute;
    top: 14px; left: 12px; right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}
.story-viewer-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.story-viewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.2);
}
.story-viewer-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.story-viewer-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}
.story-viewer-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.story-viewer-close:hover { opacity: 1; }

/* Content: Profilbild-Hintergrund + Text-Layer */
.story-viewer-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.story-viewer-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    -webkit-filter: blur(20px) brightness(0.35);
    filter: blur(20px) brightness(0.35);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.story-viewer-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 20px;
    line-height: 1.6;
    text-align: center;
    padding: 60px 28px 40px;
    white-space: pre-line;
    word-break: break-word;
    max-height: 80%;
    overflow-y: auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
    scrollbar-width: none;
}
.story-viewer-text::-webkit-scrollbar { display: none; }

/* Tap-Zonen */
.story-viewer-tap {
    position: absolute;
    top: 60px;
    bottom: 0;
    z-index: 4;
    cursor: pointer;
}
.story-viewer-tap-prev {
    left: 0;
    width: 35%;
}
.story-viewer-tap-next {
    right: 0;
    width: 65%;
}

/* ── Bildergalerie ── */
.gallery-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .gallery-block { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .gallery-block { grid-template-columns: 1fr; }
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 24px 10px 8px;
    font-size: 12px;
    line-height: 1.3;
}
.gallery-item-download {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--accent);
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    text-decoration: none;
}
.gallery-item:hover .gallery-item-download {
    opacity: 1;
}

/* ── Lightbox ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-caption {
    color: #ccc;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
    max-width: 80vw;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 50%;
    z-index: 10001;
    transition: background 0.2s;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-download {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    z-index: 10001;
}


/* Fix: Videos in Feed-Ansicht im vollen 9:16 Hochformat */
.feed:not(.grid-mode) .post-media-wrap {
    padding-bottom: 0 !important;
    position: relative;
}
.feed:not(.grid-mode) .post-media-wrap video,
.feed:not(.grid-mode) .post-media-wrap img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}
.feed:not(.grid-mode) .post-media-wrap video {
    background: #000;
    aspect-ratio: 9 / 16;
}
.feed:not(.grid-mode) .post-media-wrap .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.feed:not(.grid-mode) .post-media-wrap .sound-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
}
