        /* Minecraft Font Definition - Erzwingt Pixel-Font auf allen Browsern */
        @font-face {
            font-family: 'Minecraft';
            src: local('Minecraft'), 
                 url('https://fonts.gstatic.com/s/pressstart2p/v14/e3t4euO8T-267oIAQAu6jDQyK3nVivM.woff2') format('woff2'),
                 url('https://fonts.gstatic.com/s/pressstart2p/v14/e3t4euO8T-267oIAQAu6jDQyK3nVivM.woff') format('woff');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root { --nav-left: 26px; --nav-bubble-size: 56px; --livemap-gap: 24px; --page-side-gap: 12px; --livemap-shift: 650px; --container-pad: 2rem; }

        /* Bubble Navigation (links) */
        .bubble-nav {
            position: fixed;
            left: 26px;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            flex-direction: column;
            gap: 18px;
            z-index: 10000;
        }
        
        .bubble {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: radial-gradient(120% 120% at 30% 30%, rgba(180,190,255,0.35), rgba(80,90,160,0.25) 55%, rgba(40,50,120,0.25) 100%);
            border: 1px solid rgba(138, 156, 255, 0.45);
            box-shadow: 0 0 18px rgba(138, 156, 255, 0.35), inset 0 -6px 18px rgba(0,0,0,0.35);
            display: grid;
            place-items: center;
            position: relative;
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
            overflow: visible;
        }
        .bubble:hover { transform: scale(1.06); box-shadow: 0 0 26px rgba(138,156,255,0.45), inset 0 -8px 22px rgba(0,0,0,0.35); }
        .bubble.active { border-color: #8a9cff; box-shadow: 0 0 36px rgba(138,156,255,0.6), 0 0 8px rgba(138,156,255,0.5) inset; transform: scale(1.08); }
        .bubble .bubble-core {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: radial-gradient(100% 100% at 35% 35%, #c9d0ff 0%, #8a9cff 40%, #5660c9 100%);
            box-shadow: inset 0 5px 12px rgba(255,255,255,0.25), inset 0 -10px 18px rgba(0,0,0,0.45);
        }
        .bubble .bubble-logo {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            box-shadow: 0 0 10px rgba(138,156,255,0.35);
        }
        /* Logo-Bubble: nur Logo + Orbit, keine Bubble-Umrandung */
        .bubble.has-logo, .bubble.has-logo.active { 
            background: none; 
            border: none; 
            box-shadow: none; 
            overflow: visible; 
        }
        .bubble.has-logo .bubble-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 64px; /* größer als die Bubble */
            height: 64px;
            border-radius: 12px; /* leichter Radius, ohne Umrandung */
            z-index: 2;
            box-shadow: none;
        }
        /* Live-Map: Logo etwas kleiner */
        .bubble[data-target="section-livemap"] .bubble-logo {
            width: 48px;
            height: 48px;
            border-radius: 10px;
        }
        /* Coming Soon (Trader): Logo kleiner */
        .bubble[data-target="section-coming"] .bubble-logo {
            width: 44px;
            height: 44px;
            border-radius: 10px;
        }
        /* Tägliche Belohnungen (Glücksrad): Logo */
        .bubble[data-target="section-taeglich"] .bubble-logo {
            width: 48px;
            height: 48px;
            border-radius: 0;
        }
        .bubble[data-target="section-taeglich"] .bubble-logo svg {
            width: 100%;
            height: 100%;
        }
        .bubble .bubble-label {
            position: absolute;
            left: 74px;
            white-space: nowrap;
            color: #e9ecff;
            font-family: 'Minecraft', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            opacity: 0;
            transform: translateX(-6px);
            transition: opacity 0.18s ease, transform 0.18s ease;
            text-shadow: 0 0 18px rgba(138,156,255,0.45), 0 1px 0 rgba(0,0,0,0.35);
            pointer-events: none;
        }
        .bubble:hover .bubble-label, .bubble.active .bubble-label { opacity: 1; transform: translateX(0); }
        /* Ausgewählt: sanfter Rechts-Schub aller Inhalte innerhalb der Bubble */
        .bubble { transition: margin 180ms ease; position: relative; z-index: 2; }
        .bubble.active { z-index: 3; }
        .bubble.deactivating { z-index: 1; }
        .bubble .bubble-logo,
        .bubble .bubble-core,
        .bubble .bubble-label,
        .bubble .orbit,
        .bubble .orbit::before,
        .bubble .bubble-glow { transition: translate 200ms ease; }
        .bubble.active { margin: 12px 0; }
        .bubble.active .bubble-logo,
        .bubble.active .bubble-core { translate: 18px 0; }
        /* Label etwas weiter nach rechts (+5px) im aktiven Zustand */
        .bubble.active .bubble-label { translate: 23px 0; }
        /* Orbits und Glow rücken erst ein, wenn "settled" erreicht ist */
        .bubble.active.settled .orbit,
        .bubble.active.settled .orbit::before,
        .bubble.active.settled .bubble-glow { translate: 18px 0; }
        .bubble.deactivating { margin: 0; }
        .bubble.deactivating .bubble-logo,
        .bubble.deactivating .bubble-core,
        .bubble.deactivating .bubble-label { translate: 0 0; }
        .bubble.deactivating .orbit,
        .bubble.deactivating .orbit::before,
        .bubble.deactivating .bubble-glow { translate: 0 0; }

        /* Pfeil links bei aktiver Bubble (Linie + Spitze) */
        .bubble::before, .bubble::after { position: absolute; top: 50%; transform: translateY(-50%); opacity: 0; content: ''; }
        /* Linie (Schaft) */
        .bubble::before { left: -46px; height: 2px; width: 0; background: rgba(138,156,255,0.9); border-radius: 2px; box-shadow: 0 0 8px rgba(138,156,255,0.45); }
        .bubble.active::before { opacity: 1; animation: arrowLineIn 220ms ease forwards; }
        .bubble.deactivating::before { animation: arrowLineOut 160ms ease forwards; }
        /* Spitze */
        .bubble::after { left: -14px; }
        .bubble.active::after { opacity: 1; width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid rgba(138,156,255,0.9); filter: drop-shadow(0 0 8px rgba(138,156,255,0.5)); animation: arrowHeadIn 220ms ease forwards; }
        .bubble.deactivating::after { animation: arrowHeadOut 160ms ease forwards; }
        @keyframes arrowLineIn { from { opacity: 0; width: 0; transform: translate(-4px, -50%); } to { opacity: 1; width: 32px; transform: translate(0, -50%); } }
        @keyframes arrowLineOut { from { opacity: 1; width: 32px; transform: translate(0, -50%); } to { opacity: 0; width: 0; transform: translate(-4px, -50%); } }
        @keyframes arrowHeadIn { from { opacity: 0; transform: translate(-4px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
        @keyframes arrowHeadOut { from { opacity: 1; transform: translate(0, -50%); } to { opacity: 0; transform: translate(-4px, -50%); } }
        /* Orbit Dots: Standard pausiert/unsichtbar; aktiv: animiert und sichtbar */
        .bubble .orbit { 
            position: absolute; width: 84px; height: 84px; border-radius: 50%; 
            transform-origin: 50% 50%; opacity: 0;
            transition: opacity 180ms ease; 
            animation: orbit 6s linear infinite; 
            animation-play-state: paused;
        }
        /* Glow hinter Logo und Orbits */
        .bubble .bubble-glow { 
            position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.85);
            width: 84px; height: 84px; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 1;
            background: radial-gradient(closest-side, rgba(138,156,255,0.35), rgba(138,156,255,0.18) 60%, rgba(138,156,255,0) 100%);
            filter: blur(14px);
            transition: opacity 200ms ease, transform 200ms ease;
        }
        .bubble.active.settled .bubble-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: glowPulse 2.6s ease-in-out infinite; }
        @keyframes glowPulse { 0%,100% { filter: blur(14px); opacity: 0.65; } 50% { filter: blur(18px); opacity: 0.95; } }
        /* Stacking-Reihenfolge innerhalb der Bubble */
        .bubble .bubble-glow { z-index: 0; }
        .bubble .orbit { z-index: 1; }
        .bubble .bubble-logo, .bubble .bubble-core { z-index: 2; }
        .bubble .bubble-label { z-index: 3; }
        .bubble .orbit::before { 
            content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; transform: translate(-50%, 0);
            background-image: url('assets/img/grassblock.png'); background-size: cover; background-repeat: no-repeat; background-position: center;
            border-radius: 2px; box-shadow: 0 0 8px rgba(0,0,0,0.35); pointer-events: none; 
            animation: none; 
            will-change: transform, margin-top, box-shadow;
        }
        /* Spezifisch: News-Bubble verwendet Diamant für die Orbit-Items */
        .bubble[data-target="section-news"] .orbit::before { background-image: url('assets/img/dia.png'); }
        /* Spezifisch: Live-Map-Bubble verwendet Beacon für die Orbit-Items */
        .bubble[data-target="section-livemap"] .orbit::before { background-image: url('assets/img/beacons.png'); }
        /* Spezifisch: Coming- Soon-Bubble verwendet Orb für die Orbit-Items */
        .bubble[data-target="section-coming"] .orbit::before { background-image: url('assets/img/orb.png'); }
        /* Spezifisch: Tägliche Belohnungen-Bubble verwendet Diamant für die Orbit-Items */
        .bubble[data-target="section-taeglich"] .orbit::before { background-image: url('assets/img/dia.png'); }
        /* Aktiv: einblenden + von der Mitte nach außen fliegen, dann laufen die Dauer-Animationen */
        .bubble.active.settled .orbit { opacity: 1; animation-play-state: running; }
        .bubble.active.settled .orbit::before { 
            animation: fly-in 240ms ease-out forwards, counter-rotate 6s linear infinite 240ms, bobY 2.4s ease-in-out infinite 240ms, glow 3s ease-in-out infinite 240ms; 
            animation-composition: replace, replace, accumulate, accumulate; /* Stabilisiert die Zusammensetzung */
        }
        /* Deaktivierung: zurück zur Mitte fliegen */
        .bubble.deactivating .orbit { opacity: 1; animation-play-state: paused; }
        .bubble.deactivating .orbit::before { animation: fly-out 200ms ease-in forwards; animation-composition: replace; }
        /* Deaktivieren: Orbits laufen hinter dem Logo zur Mitte zurück (Logo bleibt oben) */
        .bubble.deactivating .orbit, .bubble.deactivating .orbit::before { z-index: 0; }
        /* Harte Rücksetzung (JS setzt/entfernt Klasse kurz), um sauberen Startzustand zu erzwingen */
        .bubble.reset .orbit { opacity: 0 !important; animation: none !important; }
        .bubble.reset .orbit::before { animation: none !important; transform: translate(-50%, 0) rotate(0deg) !important; }
        .bubble .orbit.o2 { animation-delay: -1.2s; }
        .bubble .orbit.o3 { animation-delay: -2.4s; }
        .bubble .orbit.o4 { animation-delay: -3.6s; }
        .bubble .orbit.o5 { animation-delay: -4.8s; }
        .bubble.active .orbit.o2::before { animation-delay: 240ms, calc(240ms - 1.2s), 240ms, 240ms; }
        .bubble.active .orbit.o3::before { animation-delay: 240ms, calc(240ms - 2.4s), 240ms, 240ms; }
        .bubble.active .orbit.o4::before { animation-delay: 240ms, calc(240ms - 3.6s), 240ms, 240ms; }
        .bubble.active .orbit.o5::before { animation-delay: 240ms, calc(240ms - 4.8s), 240ms, 240ms; }
        @keyframes orbit { 
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes counter-rotate { 
            0% { transform: translate(-50%, -42px) rotate(0deg); }
            100% { transform: translate(-50%, -42px) rotate(-360deg); }
        }
        @keyframes fly-in { 
            0% { transform: translate(-50%, 0) rotate(0deg); }
            100% { transform: translate(-50%, -42px) rotate(0deg); }
        }
        @keyframes fly-out { 
            0% { transform: translate(-50%, -42px) rotate(0deg); }
            100% { transform: translate(-50%, 0) rotate(0deg); }
        }
        @keyframes bobY { 0%,100% { margin-top: 0; } 50% { margin-top: -2px; } }
        @keyframes glow { 0%,100% { box-shadow: 0 0 8px rgba(0,0,0,0.35); } 50% { box-shadow: 0 0 12px rgba(138,156,255,0.35); } }

        /* Sections switching */
        .section { display: none; position: relative; z-index: 0; width: 100%; min-height: 0; }
        /* Info Button (unten links) */
        .info-button-container {
            position: fixed;
            bottom: 12px;
            left: 12px;
            z-index: 9999;
        }
        
        .info-button {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(138, 156, 255, 0.08);
            border: 1px solid rgba(138, 156, 255, 0.15);
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
            color: rgba(138, 156, 255, 0.5);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            position: relative;
            overflow: visible;
        }
        
        .info-button:hover {
            background: rgba(138, 156, 255, 0.12);
            border-color: rgba(138, 156, 255, 0.25);
            color: rgba(138, 156, 255, 0.7);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
        }
        
        .info-button:active {
            transform: scale(0.95);
        }
        
        .info-button svg {
            width: 10px;
            height: 10px;
            transition: transform 0.3s ease;
            }
        
        .info-button-container.active .info-button svg {
            transform: rotate(180deg);
        }
        
        .info-menu {
            position: absolute;
            bottom: 36px;
            left: 0;
            min-width: 140px;
            background: rgba(15, 17, 23, 0.98);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(138, 156, 255, 0.25);
            border-radius: 6px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(138, 156, 255, 0.1) inset;
            opacity: 0;
            transform: translateY(6px) scale(0.96);
            pointer-events: none;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }
        
        .info-button-container.active .info-menu {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: all;
        }
        
        .info-menu-header {
            padding: 6px 10px;
            font-size: 0.6rem;
            font-weight: 600;
            color: rgba(233, 236, 255, 0.35);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid rgba(138, 156, 255, 0.15);
        }

        .info-menu-item {
            display: block;
            padding: 6px 10px;
            color: #e9ecff;
            text-decoration: none;
            font-size: 0.75rem;
            transition: all 0.15s ease;
            border-bottom: 1px solid rgba(138, 156, 255, 0.08);
            position: relative;
            overflow: hidden;
            text-align: left;
        }
        
        .info-menu-item:last-child {
            border-bottom: none;
        }
        
        .info-menu-item::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 2px;
            height: 100%;
            background: rgba(138, 156, 255, 0.6);
            transform: scaleY(0);
            transition: transform 0.15s ease;
        }
        
        .info-menu-item:hover {
            background: rgba(138, 156, 255, 0.12);
            color: #8a9cff;
            padding-left: 12px;
        }
        
        .info-menu-item:hover::before {
            transform: scaleY(1);
        }
        
        .info-menu-item svg {
            display: none;
        }
        
        .info-menu-item span {
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .info-button-container {
                bottom: 12px;
                left: 12px;
                z-index: 9999;
                position: fixed;
            }
            
            .info-button {
                width: 24px;
                height: 24px;
                min-width: 24px;
                min-height: 24px;
                position: relative;
                background: rgba(138, 156, 255, 0.08);
                border: 1px solid rgba(138, 156, 255, 0.15);
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
                color: rgba(138, 156, 255, 0.5);
            display: flex; 
                align-items: center;
            justify-content: center; 
                border-radius: 50%;
                cursor: pointer;
                transition: all 0.2s ease;
                overflow: visible;
                padding: 0;
            margin: 0; 
            }
            
            .info-button:active {
                transform: scale(0.98);
                background: rgba(138, 156, 255, 0.12);
            }
            
            .info-button svg {
                width: 10px;
                height: 10px;
            display: block;
                flex-shrink: 0;
                margin: 0;
                padding: 0;
        }

            .info-menu {
                min-width: 130px;
                bottom: 36px;
                left: 0;
                right: auto;
            }
        }
        
        .section:not(#section-start) { min-height: 100vh; min-height: 100dvh; }
        
        /* Mobile: Keine Höhenbegrenzung für Sections */
        @media (max-width: 768px) {
            .section:not(#section-start) {
                min-height: 0 !important;
                height: auto !important;
            }
            #viewNews {
                padding-top: 150px !important;
            }
        }
        .section.is-visible { display: block !important; visibility: visible !important; position: relative; z-index: 1; }
        
        /* Page view visibility (robust, ohne Opacity/Transform Troubles) */
        .page-view { position: relative; z-index: 1; display: none; min-height: 0; color: #e9ecff; pointer-events: auto; }
        .page-view.is-active { display: block !important; }
                gap: 10px;
                overflow: visible !important;
                padding-bottom: 1rem;
            }
            
            .news-card { 
                min-height: auto !important;
            }
            .news-title { 
                font-size: 0.85rem !important; 
            }
            .news-meta { 
                font-size: 0.68rem !important; 
            }
            .news-excerpt { 
                font-size: 0.75rem !important; 
            }
        }
        
        /* "Mehr anzeigen" Button */
        .news-load-more {
            display: block;
            width: 100%;
            max-width: 300px;
            margin: 2rem auto 1rem auto;
            padding: 12px 24px;
            background: rgba(138, 156, 255, 0.15);
            border: 1px solid rgba(138, 156, 255, 0.35);
            border-radius: 8px;
            color: #e9ecff;
            font-family: 'Minecraft', 'Courier New', monospace;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
        }
        
        .news-load-more:hover {
            background: rgba(138, 156, 255, 0.25);
            border-color: rgba(138, 156, 255, 0.5);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(138, 156, 255, 0.2);
        }
        
        .news-load-more:active {
            transform: translateY(0);
        }

        /* News Modal */
        .news-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 120; align-items: center; justify-content: center; padding: 20px; }
        .news-modal.active { display: flex; }
        .news-modal .news-dialog { width: min(900px, 92vw); max-height: 86vh; background: rgba(16,18,32,0.95); border: 1px solid rgba(138,156,255,0.35); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
        .news-dialog-header { position: relative; }
        .news-dialog-header img { width: 100%; height: 280px; object-fit: cover; display: block; }
        .news-dialog-title { position: absolute; left: 16px; bottom: 12px; font-size: 1.4rem; font-family: 'Minecraft','Segoe UI',sans-serif; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.7); }
        .news-dialog-body { padding: 16px; color: #e9ecff; line-height: 1.65; overflow: auto; }
        .news-dialog-close { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
        
        /* News Edit Modal */
        .news-edit-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 130; align-items: center; justify-content: center; padding: 20px; }
        .news-edit-modal.active { display: flex; }
        .news-edit-dialog { width: min(700px, 92vw); max-height: 90vh; background: rgba(16,18,32,0.95); border: 1px solid rgba(138,156,255,0.35); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
        .news-edit-dialog-header { position: relative; padding: 20px; border-bottom: 1px solid rgba(138,156,255,0.2); display: flex; align-items: center; justify-content: space-between; }
        .news-edit-dialog-header h3 { margin: 0; font-size: 1.3rem; font-family: 'Minecraft','Segoe UI',sans-serif; color: #e9ecff; }
        .news-edit-dialog-close { background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
        .news-edit-dialog-close:hover { background: rgba(255,255,255,0.1); }
        .news-edit-dialog-body { padding: 20px; color: #e9ecff; overflow: auto; max-height: calc(90vh - 80px); }
        .news-edit-field { margin-bottom: 1.25rem; }
        .news-edit-field label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; color: #8a9cff; }
        .news-edit-field input,
        .news-edit-field select,
        .news-edit-field textarea { width: 100%; padding: 0.75rem; background: rgba(12,14,28,0.6); border: 1px solid rgba(138,156,255,0.2); border-radius: 8px; color: #e9ecff; font-size: 0.95rem; font-family: inherit; }
        .news-edit-field input:focus,
        .news-edit-field select:focus,
        .news-edit-field textarea:focus { outline: none; border-color: rgba(138,156,255,0.5); }
        .news-edit-field textarea { resize: vertical; min-height: 100px; }
        .news-edit-actions { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; }
        .news-edit-btn { padding: 0.6rem 1.25rem; border-radius: 8px; border: none; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; }
        .news-edit-btn-primary { background: rgba(138,156,255,0.2); border: 1px solid rgba(138,156,255,0.4); color: #8a9cff; }
        .news-edit-btn-primary:hover { background: rgba(138,156,255,0.3); border-color: rgba(138,156,255,0.6); }
        .news-edit-btn-secondary { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #b8bfff; }
        
        /* Discord Channel Modal Styles */
        .discord-channel-item { 
            padding: 12px 16px; 
            background: rgba(46, 48, 54, 0.6); 
            border: 1px solid rgba(138, 156, 255, 0.2); 
            border-radius: 8px; 
            cursor: pointer; 
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .discord-channel-item:hover { 
            background: rgba(138, 156, 255, 0.15); 
            border-color: rgba(138, 156, 255, 0.4);
            transform: translateX(4px);
        }
        .discord-channel-item.selected {
            background: rgba(138, 156, 255, 0.25);
            border-color: rgba(138, 156, 255, 0.6);
        }
        .discord-channel-item .channel-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            color: #8a9cff;
        }
        .discord-channel-item .channel-name {
            flex: 1;
            color: #dcddde;
            font-size: 14px;
            font-weight: 500;
        }
        .discord-channel-item .channel-id {
            color: #888;
            font-size: 12px;
            font-family: monospace;
        }
        .news-edit-btn-secondary:hover { background: rgba(255,255,255,0.1); }
        
        /* Mobile Styles für News Edit Modal */
        @media (max-width: 768px) {
            .news-edit-modal {
                padding: 10px;
            }
            .news-edit-dialog {
                width: 100%;
                max-width: 100%;
                max-height: 95vh;
                border-radius: 8px;
            }
            .news-edit-dialog-header {
                padding: 15px;
            }
            .news-edit-dialog-header h3 {
                font-size: 1.1rem;
            }
            .news-edit-dialog-body {
                padding: 15px;
                max-height: calc(95vh - 70px);
            }
            .news-edit-actions {
                flex-direction: column;
                gap: 0.5rem;
                margin-top: 1rem;
            }
            .news-edit-actions > div {
                flex-direction: column;
                gap: 0.5rem;
            }
            .news-edit-btn {
                width: 100%;
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }
            .news-edit-discord-input-wrapper {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 0.5rem !important;
            }
            .news-edit-discord-input-wrapper label {
                font-size: 0.85rem;
            }
            .news-edit-discord-input-wrapper button {
                width: 100%;
                max-width: 100% !important;
            }
            /* Button Edit Modal Mobile */
            #buttonEditModal .news-edit-dialog {
                max-width: 100%;
                width: 100%;
            }
            #buttonEditModal .news-edit-dialog-body {
                padding: 15px;
            }
            #buttonEditModal .news-edit-dialog-body > div > div {
                margin-bottom: 1rem;
            }
            #buttonEditModal .news-edit-dialog-body > div > div:last-of-type {
                flex-direction: column;
                gap: 0.5rem;
            }
            #buttonEditModal .news-edit-dialog-body > div > div:last-of-type button {
                width: 100%;
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }
            #buttonEditIconBtn {
                width: 50px !important;
                height: 50px !important;
                font-size: 28px !important;
            }
            /* Embed Button Actions Mobile */
            .embed-button-item.expanded .discord-embed-button {
                padding-right: 65px;
            }
            .embed-button-actions {
                gap: 3px;
            }
            .embed-button-action-btn {
                width: 26px;
                height: 26px;
                font-size: 12px;
            }
            .discord-embed-button {
                padding: 8px 12px;
                font-size: 13px;
                min-height: 30px;
            }
            .discord-embed-buttons {
                gap: 6px;
            }
            .embed-add-button-btn {
                width: 30px;
                height: 30px;
                font-size: 18px;
            }
            /* Embed Input Wrapper Mobile */
            .embed-input-wrapper {
                flex-direction: column;
                gap: 6px;
            }
            .embed-input-wrapper .emoji-picker-btn {
                width: 100%;
                height: 40px;
            }
            .embed-input {
                font-size: 14px;
                padding: 0.6rem;
            }
            .embed-title-input {
                font-size: 15px;
            }
            .embed-description-input {
                font-size: 14px;
                min-height: 80px;
            }
        }
        
        /* Emoji Picker Styles */
        .embed-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .embed-input-wrapper .embed-input {
            flex: 1;
        }
        .emoji-picker-btn {
            background: rgba(138, 156, 255, 0.15);
            border: 1px solid rgba(138, 156, 255, 0.3);
            border-radius: 6px;
            padding: 6px 10px;
            cursor: pointer;
            font-size: 18px;
            line-height: 1;
            transition: all 0.2s ease;
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .emoji-picker-btn:hover {
            background: rgba(138, 156, 255, 0.25);
            border-color: rgba(138, 156, 255, 0.5);
        }
        .emoji-picker-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(4px);
            z-index: 150;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fadeIn 0.2s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .emoji-picker-modal.active {
            display: flex;
        }
        .emoji-picker-dialog {
            background: #2f3136;
            border-radius: 8px;
            padding: 0;
            width: 352px;
            max-height: 435px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(4, 4, 5, 0.6);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            transform-origin: center bottom;
        }
        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(10px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        .emoji-picker-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            border-bottom: 1px solid rgba(4, 4, 5, 0.3);
            background: #2f3136;
            position: relative;
        }
        .emoji-picker-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(79, 84, 92, 0.3), transparent);
        }
        .emoji-picker-header h4 {
            margin: 0;
            color: #dcddde;
            font-size: 16px;
            font-weight: 600;
            font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
            letter-spacing: 0.3px;
        }
        .emoji-picker-close {
            background: transparent;
            color: #b9bbbe;
            border: none;
            cursor: pointer;
            font-size: 20px;
            line-height: 1;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            transition: all 0.15s ease;
            position: relative;
        }
        .emoji-picker-close:hover {
            background: rgba(79, 84, 92, 0.4);
            color: #dcddde;
            transform: scale(1.1);
        }
        .emoji-picker-close:active {
            transform: scale(0.95);
        }
        .emoji-picker-content {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            flex: 1;
            background: #36393f;
        }
        .emoji-picker-server-row {
            padding: 12px 8px;
            border-bottom: 1px solid rgba(4, 4, 5, 0.3);
            background: linear-gradient(180deg, #36393f 0%, #2f3136 100%);
            position: relative;
        }
        .emoji-picker-server-row::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(79, 84, 92, 0.3), transparent);
        }
        .emoji-picker-server-title {
            color: #b9bbbe;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 10px;
            padding: 0 8px;
            font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
            letter-spacing: 0.5px;
        }
        .emoji-picker-server-grid {
            display: grid;
            grid-template-columns: repeat(9, 1fr);
            gap: 2px;
            padding: 0 4px;
        }
        .emoji-picker-grid {
            display: grid;
            grid-template-columns: repeat(9, 1fr);
            gap: 2px;
            padding: 8px 4px;
            overflow-y: auto;
            flex: 1;
            max-height: 300px;
            scrollbar-width: thin;
            scrollbar-color: rgba(79, 84, 92, 0.6) transparent;
        }
        .emoji-picker-grid::-webkit-scrollbar {
            width: 8px;
        }
        .emoji-picker-grid::-webkit-scrollbar-track {
            background: transparent;
        }
        .emoji-picker-grid::-webkit-scrollbar-thumb {
            background: rgba(79, 84, 92, 0.6);
            border-radius: 4px;
        }
        .emoji-picker-grid::-webkit-scrollbar-thumb:hover {
            background: rgba(79, 84, 92, 0.8);
        }
        .emoji-picker-item {
            background: transparent;
            border: none;
            border-radius: 4px;
            padding: 6px;
            cursor: pointer;
            font-size: 24px;
            text-align: center;
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        .emoji-picker-item::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(79, 84, 92, 0);
            border-radius: 4px;
            transition: background 0.15s ease;
        }
        .emoji-picker-item:hover::before {
            background: rgba(79, 84, 92, 0.4);
        }
        .emoji-picker-item:hover {
            transform: scale(1.15);
            z-index: 1;
        }
        .emoji-picker-item:active {
            transform: scale(1.05);
        }
        .emoji-picker-item img {
            width: 32px;
            height: 32px;
            object-fit: contain;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
            transition: transform 0.15s ease;
        }
        .emoji-picker-item:hover img {
            transform: scale(1.1);
        }
        .emoji-picker-item span {
            position: relative;
            z-index: 1;
            transition: transform 0.15s ease;
        }
        .emoji-picker-item:hover span {
            transform: scale(1.1);
        }
        
        /* News Card Admin Buttons */
        .news-card-actions { 
            display: none; 
            flex-direction: column;
            gap: 0.5rem; 
            padding: 0;
            align-items: flex-start;
            justify-content: flex-start;
            flex-shrink: 0;
        }
        .news-card-actions.visible {
            display: flex;
        }
        .news-card-edit-btn,
        .news-card-delete-btn { 
            padding: 0.4rem 0.75rem; 
            border-radius: 6px; 
            border: none; 
            font-size: 0.85rem; 
            font-weight: 500; 
            cursor: pointer; 
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        .news-card-edit-btn { background: rgba(138,156,255,0.15); border: 1px solid rgba(138,156,255,0.3); color: #8a9cff; }
        .news-card-edit-btn:hover { background: rgba(138,156,255,0.25); }
        .news-card-delete-btn { background: rgba(255,77,77,0.15); border: 1px solid rgba(255,77,77,0.3); color: #ff6b6b; }
        .news-card-delete-btn:hover { background: rgba(255,77,77,0.25); }
        
        /* Discord Embed Styles - Professionelles Design */
        .discord-embed { 
            display: flex; 
            margin: 0; 
            border-radius: 4px; 
            overflow: visible; 
            background: rgba(46, 48, 54, 0.98); 
            width: 100%; 
            max-width: 100%; 
            min-height: 80px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }
        .discord-embed-color-bar { 
            width: 4px; 
            background: #5865F2; 
            flex-shrink: 0;
            transition: background 0.3s ease;
        }
        .discord-embed-content { 
            flex: 1; 
            padding: 1rem 1rem 1rem 0.75rem; 
            min-width: 0; 
            position: relative;
            padding-right: 100px; /* Platz für Thumbnail (80px + 20px Abstand) */
            text-align: left;
        }
        /* Wenn kein Thumbnail vorhanden, kein extra Padding */
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-thumbnail-wrapper.empty ~ .discord-embed-content,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed:not(:has(.discord-embed-thumbnail-wrapper:not(.empty))) .discord-embed-content {
            padding-right: 1rem;
        }
        .discord-embed-header { margin-bottom: 0.5rem; }
        .discord-embed-author { 
            display: flex; 
            align-items: center; 
            gap: 8px; 
            margin-bottom: 0.5rem; 
            font-size: 0.875rem; 
            color: #fff; 
            line-height: 1.375;
            transition: opacity 0.2s ease;
        }
        .discord-embed-author-icon { 
            width: 20px; 
            height: 20px; 
            border-radius: 50%; 
            flex-shrink: 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        .discord-embed-title { 
            font-size: 1rem; 
            font-weight: 600; 
            color: #fff; 
            margin-bottom: 0.5rem; 
            line-height: 1.375;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }
        .discord-embed-title a { 
            color: #00aff4; 
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .discord-embed-title a:hover { 
            color: #00d4ff;
            text-decoration: underline; 
        }
        .discord-embed-description { 
            font-size: 0.875rem; 
            color: #dcddde; 
            line-height: 1.375; 
            white-space: pre-wrap; 
            word-wrap: break-word; 
            margin-bottom: 0.5rem;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        }
        .discord-embed-description a,
        .discord-embed-field-value a {
            color: #00AFF4 !important;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        .discord-embed-description a:hover,
        .discord-embed-field-value a:hover {
            color: #00d4ff;
            text-decoration: underline;
        }
        .discord-embed-fields { 
            display: grid; 
            grid-template-columns: 1fr; 
            gap: 0.5rem; 
            margin-bottom: 0.5rem; 
        }
        .discord-embed-field { 
            font-size: 0.875rem;
            padding: 0;
            margin: 0;
        }
        .discord-embed-field-name { 
            font-weight: 600; 
            color: #fff; 
            margin-bottom: 2px; 
            line-height: 1.375;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        }
        .discord-embed-field-value { 
            color: #dcddde; 
            white-space: pre-wrap; 
            word-wrap: break-word; 
            line-height: 1.375;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        }
        .discord-embed-field.inline { 
            display: inline-block; 
            width: calc(50% - 4px); 
            vertical-align: top; 
        }
        .discord-embed-image-container { 
            margin: 0.5rem 0 0 0; 
            border-radius: 4px; 
            overflow: visible; 
            max-width: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        .discord-embed-image { 
            width: 100%; 
            aspect-ratio: 26 / 9;
            object-fit: cover;
            display: block; 
            border-radius: 4px;
            transition: transform 0.3s ease;
        }
        .discord-embed-image:hover {
            transform: scale(1.01);
        }
        .discord-emoji {
            width: 22px;
            height: 22px;
            vertical-align: middle;
            display: inline-block;
            object-fit: contain;
        }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-image,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-thumbnail,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-author-icon,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-footer-icon {
            transition: opacity 0.2s ease, transform 0.2s ease;
        }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-image:hover,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-thumbnail:hover,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-author-icon:hover,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-footer-icon:hover {
            opacity: 0.8;
            transform: scale(1.02);
            filter: brightness(1.1);
        }
        .discord-embed-thumbnail-wrapper { 
            position: absolute; 
            top: 1rem; 
            right: 1rem;
            z-index: 2;
        }
        .discord-embed-thumbnail-container { 
            width: 80px; 
            height: 80px; 
            border-radius: 4px; 
            overflow: visible; 
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .discord-embed-thumbnail-container:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
        }
        .discord-embed-thumbnail { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
        }
        /* Thumbnail bleibt auch im Edit-Modus oben rechts */
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-thumbnail-wrapper { 
            position: absolute; 
            top: 1rem; 
            right: 1rem; 
            margin-top: 0; 
        }
        .discord-embed-footer { 
            display: flex; 
            align-items: center; 
            gap: 4px; 
            margin-top: 0.5rem; 
            font-size: 0.75rem; 
            color: #72767d; 
            line-height: 1.375;
        }
        .discord-embed-footer-icon { 
            width: 20px; 
            height: 20px; 
            border-radius: 50%; 
            flex-shrink: 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        .discord-embed-timestamp { 
            margin-left: auto;
            opacity: 0.8;
        }
        
        /* Embed Editor - Inline Editing */
        .embed-editor-container { 
            display: flex; 
            flex-direction: column; 
            gap: 1rem; 
        }
        .discord-embed-wrapper { 
            position: relative; 
            width: 100%;
            padding-top: 2.5rem; /* Platz für Color-Button oben */
        }
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed { 
            cursor: pointer; 
            transition: all 0.3s ease; 
        }
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed:hover { 
            background: rgba(46, 48, 54, 1); 
            box-shadow: 0 4px 16px rgba(0,0,0,0.4);
            transform: translateY(-2px);
        }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed { 
            transform: scale(1.01); 
            transition: all 0.3s ease; 
            box-shadow: 0 6px 24px rgba(138,156,255,0.5);
            background: rgba(46, 48, 54, 1);
        }
        .embed-mode-hint { display: none; }
        
        /* Embed Inputs - Im Preview-Modus versteckt */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-input,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-upload-btn,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-color-input,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-add-field-btn,
        .discord-embed-wrapper[data-edit-mode="false"] .emoji-picker-btn { display: none !important; }
        
        /* Embed Inputs - Im Edit-Modus sichtbar */
        .discord-embed-wrapper[data-edit-mode="true"] .embed-input,
        .discord-embed-wrapper[data-edit-mode="true"] .embed-upload-btn,
        .discord-embed-wrapper[data-edit-mode="true"] .embed-color-input,
        .discord-embed-wrapper[data-edit-mode="true"] .embed-add-field-btn { display: block !important; }
        
        /* Leere Elemente im Preview-Modus ausblenden - wird per JavaScript gehandhabt */
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-author-wrapper.empty,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-title-input.empty,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input.empty,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-image-wrapper.empty,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-thumbnail-wrapper.empty,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-footer-wrapper.empty,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-fields:empty,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-buttons-wrapper.empty { display: none !important; }
        
        /* Embed Input Styles */
        .embed-input { 
            width: 100%; 
            padding: 0.5rem; 
            background: rgba(255,255,255,0.06); 
            border: 1px solid rgba(138,156,255,0.25); 
            border-radius: 4px; 
            color: #fff; 
            font-size: 0.875rem; 
            font-family: inherit; 
            margin-bottom: 0.5rem; 
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }
        .embed-input:focus { 
            outline: none; 
            border-color: rgba(138,156,255,0.6); 
            background: rgba(255,255,255,0.1); 
            box-shadow: 0 0 0 3px rgba(138,156,255,0.2), 0 2px 8px rgba(0,0,0,0.2);
            transform: translateY(-1px);
        }
        .embed-input::placeholder { 
            color: rgba(255,255,255,0.4); 
        }
        .embed-title-input { 
            font-size: 1rem; 
            font-weight: 600; 
            padding: 0.3rem 0; 
            margin-bottom: 0.5rem; 
            background: transparent; 
            border: none;
            transition: all 0.3s ease;
            padding-right: 100px; /* Platz für Thumbnail */
        }
        .embed-title-input:focus { 
            background: rgba(255,255,255,0.06); 
            border: 1px solid rgba(138,156,255,0.3); 
            padding: 0.3rem 0.5rem; 
            padding-right: 100px; /* Platz für Thumbnail auch im Focus */
            border-radius: 4px;
            box-shadow: 0 0 0 3px rgba(138,156,255,0.15);
        }
        /* Wenn kein Thumbnail, kein extra Padding */
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-thumbnail-wrapper.empty ~ * .embed-title-input,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed:not(:has(.discord-embed-thumbnail-wrapper:not(.empty))) .embed-title-input {
            padding-right: 0;
        }
        .embed-description-input { 
            resize: none; 
            min-height: 60px; 
            line-height: 1.375; 
            white-space: pre-wrap; 
            padding: 0.5rem;
            overflow: visible;
            position: relative;
        }
        /* Deaktiviere Rechtschreibprüfung visuell */
        .embed-description-input[spellcheck="false"],
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input {
            -webkit-user-modify: read-write-plaintext-only;
        }
        
        .embed-author-input { 
            font-size: 0.875rem; 
            padding: 0.3rem 0.5rem;
            padding-right: 100px; /* Platz für Thumbnail */
        }
        /* Wenn kein Thumbnail, kein extra Padding */
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-thumbnail-wrapper.empty ~ * .embed-author-input,
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed:not(:has(.discord-embed-thumbnail-wrapper:not(.empty))) .embed-author-input {
            padding-right: 0.5rem;
        }
        .embed-footer-input { 
            font-size: 0.75rem; 
            padding: 0.3rem 0.5rem; 
        }
        
        /* Preview-Modus: Inputs als Text anzeigen */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-title-input,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-author-input,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-footer-input {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            margin: 0 !important;
            pointer-events: none !important;
            box-shadow: none !important;
            display: block !important;
            width: 100% !important;
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-title-input { 
            font-size: 1rem !important; 
            font-weight: 600 !important; 
            color: #fff !important; 
            line-height: 1.375 !important; 
            min-height: auto !important;
            padding-right: 100px !important; /* Platz für Thumbnail */
            text-align: left !important;
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input { 
            font-size: 0.875rem !important; 
            color: #dcddde !important; 
            line-height: 1.375 !important; 
            min-height: auto !important;
            resize: none !important;
            white-space: pre-wrap !important;
            text-align: left !important;
        }
        /* Wenn kein Overlay vorhanden, Input sichtbar machen */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input:not(:has(+ .discord-embed-description-formatted-overlay)) {
            color: #dcddde !important;
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-author-input { 
            font-size: 0.875rem !important; 
            color: #fff !important; 
            line-height: 1.375 !important;
            padding-right: 100px !important; /* Platz für Thumbnail */
            text-align: left !important;
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-footer-input { 
            font-size: 0.75rem !important; 
            color: #72767d !important; 
            line-height: 1.375 !important; 
        }
        /* Placeholder im Preview-Modus ausblenden */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-input::placeholder {
            opacity: 0 !important;
        }
        
        /* Discord Markdown Styles */
        .discord-code-block {
            display: block;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            padding: 0.5rem;
            margin: 0.25rem 0;
            white-space: pre-wrap;
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            font-size: 0.85em;
            color: #dcddde;
            word-wrap: break-word;
        }
        .discord-inline-code {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 3px;
            padding: 0.15rem 0.3rem;
            font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
            font-size: 0.9em;
            color: #dcddde;
        }
        .discord-embed-description strong,
        .discord-embed-description-formatted strong,
        .discord-embed-field-value strong {
            font-weight: 600;
            color: #fff;
        }
        .discord-embed-description em,
        .discord-embed-description-formatted em,
        .discord-embed-field-value em {
            font-style: italic;
        }
        .discord-embed-description del,
        .discord-embed-description-formatted del,
        .discord-embed-field-value del {
            text-decoration: line-through;
            opacity: 0.7;
        }
        .discord-embed-description-formatted {
            font-size: 0.875rem;
            color: #dcddde;
            line-height: 1.375;
            white-space: pre-wrap;
            word-wrap: break-word;
            margin-bottom: 0.5rem;
        }
        .discord-embed-description-formatted-inline {
            display: contents;
            font-size: inherit;
            color: inherit;
            line-height: inherit;
        }
        .discord-embed-description-formatted-overlay,
        .discord-embed-title-formatted-overlay,
        .discord-embed-author-formatted-overlay,
        .discord-embed-footer-formatted-overlay,
        .discord-embed-field-formatted-overlay {
            position: absolute;
            pointer-events: none;
            z-index: 1;
            margin: 0;
            text-align: left !important;
            display: block;
            box-sizing: border-box;
            overflow: visible;
            white-space: pre-wrap;
            word-wrap: break-word;
        }
        .discord-embed-description-formatted-overlay {
            font-size: 0.875rem;
            color: #dcddde;
            line-height: 1.375;
        }
        .discord-embed-title-formatted-overlay {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            line-height: 1.375;
        }
        .discord-embed-author-formatted-overlay {
            font-size: 0.875rem;
            color: #fff;
            line-height: 1.375;
        }
        .discord-embed-footer-formatted-overlay {
            font-size: 0.75rem;
            color: #72767d;
            line-height: 1.375;
        }
        .discord-embed-field-formatted-overlay {
            font-size: 0.875rem;
            color: #dcddde;
            line-height: 1.375;
        }
        /* Im Edit-Modus: Textarea normal sichtbar */
        .discord-embed-wrapper[data-edit-mode="true"] .embed-description-input {
            position: relative !important;
            opacity: 1 !important;
            height: auto !important;
            min-height: 60px !important;
            pointer-events: auto !important;
            z-index: auto !important;
        }
        
        /* Im Preview-Modus: Textarea verstecken */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input {
            position: absolute !important;
            text-align: left !important;
            height: 0 !important;
            min-height: 0 !important;
            overflow: hidden !important;
            resize: none !important;
            opacity: 0 !important;
            pointer-events: none !important;
            z-index: -1 !important;
        }
        
        /* Stelle sicher, dass das Overlay die Höhe des Inputs widerspiegelt */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input:has(+ .discord-embed-description-formatted-overlay) {
            color: transparent !important;
        }
        
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-description-formatted-overlay {
            position: relative !important;
            top: auto !important;
            left: auto !important;
            width: 100% !important;
            min-height: 0 !important;
            max-height: none !important;
            overflow: visible !important;
            height: auto !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
            display: block !important;
        }
        
        /* Stelle sicher, dass der Input-Container die Höhe des Overlays berücksichtigt */
        .discord-embed-wrapper[data-edit-mode="false"] .embed-input-wrapper:has(.embed-description-input) {
            position: relative !important;
            min-height: 0 !important;
            height: auto !important;
            overflow: visible !important;
            display: block !important;
        }
        
        /* Im Edit-Modus: Input-Wrapper als Flexbox */
        .discord-embed-wrapper[data-edit-mode="true"] .embed-input-wrapper {
            display: flex !important;
            align-items: center !important;
            gap: 4px !important;
        }
        
        /* Overlays nur im Preview-Modus anzeigen */
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-description-formatted-overlay,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-title-formatted-overlay,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-author-formatted-overlay,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-footer-formatted-overlay,
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-field-formatted-overlay {
            display: none !important;
        }
        
        /* Stelle sicher, dass der Embed-Content die Höhe des Inhalts berücksichtigt */
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-content {
            min-height: 0 !important;
            height: auto !important;
            overflow: visible !important;
            display: flex !important;
            flex-direction: column !important;
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-description-input::selection {
            background: rgba(138,156,255,0.3);
        }
        
        /* Color Input */
        .embed-color-input { 
            width: 100%; 
            height: 4px; 
            border: none; 
            cursor: pointer; 
            padding: 0; 
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }
        .embed-color-btn {
            position: absolute;
            top: 0.5rem;
            left: 0.5rem;
            width: 32px;
            height: 32px;
            border-radius: 6px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            background: rgba(46, 48, 54, 0.8);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            z-index: 10;
            backdrop-filter: blur(4px);
        }
        .embed-color-btn:hover {
            background: rgba(46, 48, 54, 1);
            border-color: rgba(255, 255, 255, 0.4);
            transform: scale(1.05);
        }
        .embed-color-btn-icon {
            width: 18px;
            height: 18px;
            border-radius: 3px;
            background: currentColor;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-color-btn { 
            display: none !important; 
        }
        
        /* Upload Buttons */
        .embed-upload-btn { 
            padding: 0.6rem 1rem; 
            background: rgba(138,156,255,0.1); 
            border: 1px dashed rgba(138,156,255,0.4); 
            border-radius: 4px; 
            color: #8a9cff; 
            cursor: pointer; 
            font-size: 0.8rem; 
            width: 100%; 
            text-align: center; 
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
            position: relative;
            overflow: hidden;
        }
        .embed-upload-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            transition: left 0.5s ease;
            z-index: 0;
        }
        .embed-upload-btn:hover::before {
            left: 100%;
        }
        .embed-upload-btn:hover { 
            background: rgba(138,156,255,0.2); 
            border-color: rgba(138,156,255,0.6);
            border-style: solid;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(138,156,255,0.3);
        }
        .embed-upload-btn > * {
            position: relative;
            z-index: 1;
        }
        .embed-upload-btn:active {
            transform: translateY(0);
        }
        .embed-upload-btn.has-image { 
            border-style: solid;
            background: rgba(138,156,255,0.15);
        }
        .embed-upload-btn-icon { 
            width: 20px; 
            height: 20px; 
            padding: 0; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            border-radius: 50%; 
            font-size: 0.7rem;
        }
        .embed-upload-btn-image { 
            min-height: 120px; 
            display: flex; 
            align-items: center; 
            justify-content: center;
        }
        .embed-upload-btn-thumbnail { 
            width: 80px; 
            height: 80px; 
            padding: 0; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 0.7rem;
        }
        
        /* Author/Footer Icon Wrapper */
        .embed-author-icon-wrapper,
        .embed-footer-icon-wrapper { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
        .embed-author-icon-wrapper img,
        .embed-footer-icon-wrapper img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
        .discord-embed-author { display: flex; align-items: center; gap: 8px; }
        .discord-embed-footer { display: flex; align-items: center; gap: 4px; }
        
        /* Image/Thumbnail Containers */
        .discord-embed-image-container,
        .discord-embed-thumbnail-container { position: relative; }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-image-container { min-height: 120px; }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-image-container:has(.discord-embed-image[style*="display: block"]) { min-height: auto; }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-image-container.has-image { min-height: auto; }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-thumbnail-container { width: 80px; height: 80px; }
        .discord-embed-wrapper[data-edit-mode="false"] .discord-embed-thumbnail-wrapper { position: absolute; top: 8px; right: 12px; }
        
        /* Fields */
        .embed-add-field-btn { margin-top: 8px; padding: 0.5rem; background: rgba(138,156,255,0.15); border: 1px dashed rgba(138,156,255,0.3); border-radius: 4px; color: #8a9cff; cursor: pointer; font-size: 0.85rem; width: 100%; }
        .embed-add-field-btn:hover { background: rgba(138,156,255,0.25); }
        
        /* Buttons */
        .discord-embed-buttons-wrapper { margin-top: 16px; }
        .discord-embed-buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
        .discord-embed-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 10px 16px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            text-decoration: none;
            min-height: 32px;
            white-space: nowrap;
            position: relative;
        }
        .discord-embed-button .button-icon {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }
        .discord-embed-button.primary { background: #5865F2; color: #fff; }
        .discord-embed-button.primary:hover { background: #4752C4; }
        .discord-embed-button.secondary { background: #4F545C; color: #fff; }
        .discord-embed-button.secondary:hover { background: #5D6269; }
        .discord-embed-button.success { background: #57F287; color: #000; }
        .discord-embed-button.success:hover { background: #4FD97A; }
        .discord-embed-button.danger { background: #ED4245; color: #fff; }
        .discord-embed-button.danger:hover { background: #C03537; }
        .discord-embed-button.link { background: transparent; color: #00AFF4; text-decoration: underline; padding: 10px 0; }
        .discord-embed-button.link:hover { color: #0096D6; }
        .discord-embed-button:disabled { opacity: 0.5; cursor: not-allowed; }
        /* Im Edit-Modus: Links komplett deaktivieren */
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-button[href] {
            pointer-events: none !important;
        }
        .discord-embed-wrapper[data-edit-mode="true"] .discord-embed-button[type="button"] {
            pointer-events: auto !important;
        }
        .embed-button-item {
            position: relative;
            display: inline-flex;
            align-items: center;
        }
        .embed-button-item .discord-embed-button {
            transition: all 0.2s ease;
            position: relative;
        }
        .embed-button-item.expanded .discord-embed-button {
            padding-right: 70px;
        }
        .embed-button-actions {
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            display: none;
            gap: 4px;
            pointer-events: auto !important;
            z-index: 10;
        }
        .embed-button-item.expanded .embed-button-actions {
            display: flex;
        }
        .embed-button-action-btn {
            width: 28px;
            height: 28px;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(138,156,255,0.2);
            border: 1px solid rgba(138,156,255,0.3);
            border-radius: 4px;
            color: #8a9cff;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
        }
        .embed-button-action-btn:hover {
            background: rgba(138,156,255,0.3);
        }
        .embed-button-action-btn.delete {
            background: rgba(255,77,77,0.2);
            border-color: rgba(255,77,77,0.3);
            color: #ff6b6b;
        }
        .embed-button-action-btn.delete:hover {
            background: rgba(255,77,77,0.3);
        }
        .embed-add-button-btn {
            width: 32px;
            height: 32px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(138,156,255,0.15);
            border: 1px dashed rgba(138,156,255,0.3);
            border-radius: 4px;
            color: #8a9cff;
            cursor: pointer;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.2s;
        }
        .embed-add-button-btn:hover { 
            background: rgba(138,156,255,0.25);
            border-style: solid;
        }
        .discord-embed-wrapper[data-edit-mode="false"] .embed-button-actions,
        .discord-embed-wrapper[data-edit-mode="false"] .embed-add-button-btn {
            display: none !important;
        }
        .embed-field-item { padding: 0.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(138,156,255,0.2); border-radius: 4px; margin-bottom: 8px; }
        .embed-field-item-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
        .embed-field-item-header label { font-size: 0.75rem; color: #8a9cff; font-weight: 600; }
        .embed-field-item-remove { padding: 0.25rem 0.5rem; background: rgba(255,77,77,0.2); border: 1px solid rgba(255,77,77,0.3); border-radius: 4px; color: #ff6b6b; cursor: pointer; font-size: 0.75rem; }
        .embed-field-item-remove:hover { background: rgba(255,77,77,0.3); }
        .embed-field-item-content { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0.5rem; }
        .embed-field-item-content input { padding: 0.4rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(138,156,255,0.2); border-radius: 4px; color: #e9ecff; font-size: 0.8rem; }
        .embed-field-item-content input[type="checkbox"] { width: auto; }
        
        /* News Cards als Discord Embeds */
        .news-card-wrapper {
            display: flex;
            gap: 1rem;
            align-items: flex-start;
            width: 100%;
            position: relative;
            justify-content: center;
        }
        .news-card-wrapper > .news-card {
            flex: 0 1 auto;
            max-width: 100%;
            margin: 0;
        }
        .news-card-wrapper > .news-card-actions {
            flex-shrink: 0;
            margin-left: 1rem;
        }
        .news-card { 
            background: rgba(46, 48, 54, 0.98) !important; 
            border: none !important; 
            border-left: 4px solid #5865F2 !important; 
            border-radius: 4px !important; 
            padding: 0 !important; 
            flex: 1;
            min-width: 0;
            min-height: 80px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            position: relative;
        }
        .news-card:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
            transform: translateY(-2px);
        }
        .news-card .discord-embed { 
            margin: 0; 
            border: none; 
            background: transparent; 
            flex: 1;
            min-width: 0;
            min-height: 80px;
            box-shadow: none;
        }
        .news-card .discord-embed:hover {
            transform: none;
        }
        .news-card .discord-embed-content { 
            padding: 1rem 1rem 1rem 0.75rem; 
        }
        .news-card .discord-embed {
            display: flex;
            flex-direction: column;
        }
        .news-card .discord-embed-content {
            flex: 1;
        }
        .news-card .discord-embed-buttons-wrapper {
            margin-top: 0 !important;
            padding: 0.75rem 1rem 1rem 0.75rem;
            width: 100%;
            box-sizing: border-box;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .news-card .discord-embed-thumbnail-wrapper {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 2;
        }

        /* Link Code Modal */
        .link-code-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 120; align-items: center; justify-content: center; padding: 20px; }
        .link-code-modal.active { display: flex; }
        .link-code-dialog { width: min(500px, 92vw); max-height: 86vh; background: rgba(16,18,32,0.95); border: 1px solid rgba(138,156,255,0.35); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
        .link-code-dialog-header { position: relative; padding: 20px; border-bottom: 1px solid rgba(138,156,255,0.2); }
        .link-code-dialog-title { margin: 0; font-size: 1.3rem; font-family: 'Minecraft','Segoe UI',sans-serif; color: #e9ecff; }
        .link-code-dialog-close { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
        .link-code-dialog-close:hover { background: rgba(255,255,255,0.1); }
        .link-code-dialog-body { padding: 20px; color: #e9ecff; overflow: auto; max-height: calc(86vh - 80px); }
        .link-code-loading { text-align: center; color: rgba(233,236,255,0.6); padding: 20px; }
        .link-code-content { display: flex; flex-direction: column; gap: 1rem; }
        
        /* Players Modal */
        .players-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 120; align-items: center; justify-content: center; padding: 20px; }
        .players-modal.active { display: flex; }
        .players-dialog { width: min(500px, 92vw); max-height: 86vh; background: rgba(16,18,32,0.95); border: 1px solid rgba(138,156,255,0.35); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
        .players-dialog-header { position: relative; padding: 20px; border-bottom: 1px solid rgba(138,156,255,0.2); }
        .players-dialog-title { margin: 0; font-size: 1.3rem; font-family: 'Minecraft','Segoe UI',sans-serif; color: #e9ecff; }
        .players-dialog-close { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
        .players-dialog-close:hover { background: rgba(255,255,255,0.1); }
        .players-dialog-body { padding: 20px; color: #e9ecff; overflow: auto; max-height: calc(86vh - 80px); }
        
        /* UUID Modal */
        .uuid-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 120; align-items: center; justify-content: center; padding: 20px; }
        .uuid-modal.active { display: flex; }
        .uuid-dialog { width: min(500px, 92vw); max-height: 86vh; background: rgba(16,18,32,0.95); border: 1px solid rgba(138,156,255,0.35); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 36px rgba(0,0,0,0.5); display: flex; flex-direction: column; }
        .uuid-dialog-header { position: relative; padding: 20px; border-bottom: 1px solid rgba(138,156,255,0.2); }
        .uuid-dialog-title { margin: 0; font-size: 1.3rem; font-family: 'Minecraft','Segoe UI',sans-serif; color: #e9ecff; }
        .uuid-dialog-close { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,0.5); color: #fff; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
        .uuid-dialog-close:hover { background: rgba(255,255,255,0.1); }
        .uuid-dialog-body { padding: 20px; color: #e9ecff; }
        .uuid-display-container { display: flex; align-items: center; gap: 0.75rem; background: rgba(12, 14, 28, 0.6); border: 1px solid rgba(138, 156, 255, 0.2); border-radius: 8px; padding: 1rem; }
        .uuid-display { font-family: 'Courier New', monospace; font-size: 0.9rem; color: #e9ecff; flex: 1; word-break: break-all; user-select: all; }
        .uuid-copy-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; background: rgba(138, 156, 255, 0.1); border: 1px solid rgba(138, 156, 255, 0.3); border-radius: 6px; color: #8a9cff; cursor: pointer; transition: all 0.2s ease; flex-shrink: 0; }
        .uuid-copy-btn:hover { background: rgba(138, 156, 255, 0.2); border-color: rgba(138, 156, 255, 0.5); }
        .uuid-copy-btn svg { width: 18px; height: 18px; }
        
        .profil-uuid-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.5rem 0.75rem;
            background: rgba(138, 156, 255, 0.1);
            border: 1px solid rgba(138, 156, 255, 0.2);
            border-radius: 6px;
            color: #8a9cff;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .profil-uuid-btn:hover {
            background: rgba(138, 156, 255, 0.15);
            border-color: rgba(138, 156, 255, 0.3);
        }
        
        .profil-uuid-btn svg {
            width: 16px;
            height: 16px;
        }
        .players-loading { text-align: center; color: rgba(233,236,255,0.6); padding: 20px; }
        .players-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
        .player-item { background: rgba(138,156,255,0.1); border: 1px solid rgba(138,156,255,0.2); border-radius: 8px; padding: 12px; text-align: center; transition: all 0.2s ease; display: flex; flex-direction: column; align-items: center; gap: 8px; }
        .player-item:hover { background: rgba(138,156,255,0.2); border-color: rgba(138,156,255,0.4); transform: translateY(-2px); }
        .player-avatar { width: 48px; height: 48px; border-radius: 4px; image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges; border: 2px solid rgba(138,156,255,0.3); background: rgba(138,156,255,0.1); }
        .player-avatar.loading { opacity: 0.5; }
        .player-avatar.loaded { opacity: 1; transition: opacity 0.3s ease; }
        .player-name { font-size: 0.9rem; color: #e9ecff; word-break: break-word; }
        .player-server { font-size: 0.75rem; color: rgba(138,156,255,0.8); background: rgba(138,156,255,0.15); padding: 2px 8px; border-radius: 4px; margin-top: 4px; display: inline-block; }
        .players-empty { text-align: center; color: rgba(233,236,255,0.6); padding: 40px 20px; }

        /* Profil Page Styles - Modern & Compact */
        #section-profil {
            min-height: 100vh;
            min-height: 100dvh;
            height: 100vh;
            height: 100dvh;
            padding: 0; 
        }
        
        #section-profil.is-visible {
            display: flex !important;
            align-items: center;
            justify-content: center;
            padding: 0;
            margin: 0;
        }
        
        /* Andere Sections: Block display beibehalten */
        .section.is-visible:not(#section-profil) {
            display: block !important;
        }
        
        #viewProfil {
            display: none;
            padding: 1.5rem;
            max-width: 1600px;
            min-width: 740px;
            margin: 0 auto;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            box-sizing: border-box;
        }
        
        #viewProfil.is-active {
            display: block !important;
            }
        
        .profil-wrapper {
            width: 100%;
            max-width: 1600px;
            min-width: 740px;
        }
        
        .profil-container {
            width: 100%;
        }
        
        /* Profile Page - Very Small Screens (350px+) */
        @media (max-width: 401px) {
            /* Reset ALL parent containers - behalte Zentrierung bei */
            #section-profil,
            #section-profil.is-visible,
            section#section-profil,
            section#section-profil.is-visible,
            .section#section-profil,
            .section#section-profil.is-visible {
                padding: 0 !important;
                margin: 0 !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                box-sizing: border-box !important;
                position: relative !important;
                overflow-x: hidden !important;
            }
            
            #section-profil.is-visible {
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding-top: 0.5rem !important;
            }
            
            /* Stelle sicher, dass der Inhalt der Section zentriert ist */
            #section-profil.is-visible > * {
                margin-left: auto !important;
                margin-right: auto !important;
                align-self: center !important;
                width: 100% !important;
                max-width: 100% !important;
            }
            
            /* Reset viewProfil and all its states */
            #viewProfil,
            #viewProfil.is-active,
            .page-view#viewProfil,
            .page-view#viewProfil.is-active {
                padding: 0 !important;
                min-width: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                margin-top: 0 !important;
                margin-bottom: 0 !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
                box-sizing: border-box !important;
                /* Explizit auto-Margins überschreiben */
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            
            /* Reset wrapper */
            .profil-wrapper,
            #profilWrapper {
                min-width: 0 !important;
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                margin-top: 0 !important;
                margin-bottom: 0 !important;
                padding: 0 !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
                box-sizing: border-box !important;
        }
        
            /* Container with equal padding - zentriert mit gleichmäßigem Abstand */
            .profil-container {
                width: 100% !important;
                padding: 0 0.75rem !important;
                box-sizing: border-box !important;
                margin: 0 auto !important;
                margin-left: auto !important;
                margin-right: auto !important;
            }
            
            .profil-card {
                padding: 0.75rem;
                min-width: 0;
                border-radius: 12px;
                width: 100%;
                box-sizing: border-box;
                margin: 0 !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            
            @media (max-width: 350px) {
                #section-profil.is-visible {
                    padding-top: 0.25rem;
                }
                
                .profil-container {
                    padding: 0 0.5rem;
                }
                
                .profil-card {
                    padding: 0.75rem;
                    border-radius: 10px;
                }
                
                .profil-header {
                    gap: 0.5rem;
                    margin-bottom: 0.75rem;
                    padding-bottom: 0.75rem;
                }
                
                .profil-avatar {
                    width: 40px;
                    height: 40px;
                }
                
                .profil-avatar-arrow {
                    width: 20px;
                    height: 20px;
                }
                
                .profil-avatar-arrow svg {
                    width: 16px;
                    height: 16px;
                }
                
                .profil-username {
                    font-size: 1.1rem;
                }
                
                .profil-content {
                    gap: 0.5rem;
                }
                
                .profil-section {
                    padding: 0.75rem;
                }
                
                .profil-section-header {
                    font-size: 0.75rem;
                    margin-bottom: 0.6rem;
                    padding-bottom: 0.4rem;
                }
                
                .profil-info-item {
                    padding: 0.4rem;
                }
                
                .profil-info-label {
                    font-size: 0.6rem;
                }
                
                .profil-info-value {
                    font-size: 0.8rem;
                }
            }
            
            .profil-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
                margin-bottom: 1rem;
                padding-bottom: 1rem;
            }
            
            .profil-avatars-container {
                width: 100%;
            justify-content: center;
            }
            
            .profil-avatar {
                width: 48px;
                height: 48px;
        }
            
            .profil-avatar-arrow {
                width: 24px;
                height: 24px;
        }
            
            .profil-avatar-arrow svg {
                width: 18px;
                height: 18px;
        }
            
            .profil-avatar-badge {
                width: 20px;
                height: 20px;
            }
            
            .profil-avatar-badge svg {
                width: 12px;
                height: 12px;
            }
            
            .profil-header-content {
                width: 100%;
            }
            
            .profil-username {
                font-size: 1.2rem;
                white-space: normal;
                word-break: break-word;
            }
            
            .profil-discord-badge {
                font-size: 0.75rem;
                padding: 0.3rem 0.6rem;
                gap: 0.4rem;
            }
            
            .profil-content {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .profil-section {
                padding: 1rem;
                border-radius: 10px;
        }
            
            .profil-section-header {
                font-size: 0.8rem;
                gap: 0.5rem;
                margin-bottom: 0.75rem;
                padding-bottom: 0.5rem;
        }
            
            .profil-section-icon {
            width: 16px;
            height: 16px;
            }
            
            .profil-info-grid {
                gap: 0.6rem;
            }
            
            .profil-info-item {
                padding: 0.5rem;
                gap: 0.3rem;
            }
            
            .profil-info-label {
                font-size: 0.65rem;
            }
            
            .profil-info-value {
                font-size: 0.85rem;
            }
            
            .profil-uuid {
                font-size: 0.75rem;
            }
            
            .profil-badge {
                font-size: 0.75rem;
                padding: 0.25rem 0.5rem;
                gap: 0.3rem;
            }
            
            .profil-badge svg {
                width: 12px;
                height: 12px;
        }
        
            .profil-status-container {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .profil-status-container .profil-badge {
            width: 100%;
            }
        }
        
        .profil-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 400px;
            color: #8a9cff;
        }
        .profil-loading-spinner {
            width: 48px;
            height: 48px;
            border: 4px solid rgba(138, 156, 255, 0.2);
            border-top-color: #8a9cff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .profil-loading p {
            font-size: 0.9rem;
            color: #8a9cff;
            margin: 0;
        }
        .profil-card {
            background: rgba(18, 20, 36, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(138, 156, 255, 0.15);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            max-width: 1600px;
            min-width: 740px;
            width: 100%;
        }
        
        .profil-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.25rem;
            padding-bottom: 1.25rem;
            border-bottom: 1px solid rgba(138, 156, 255, 0.12);
        }
        
        .profil-avatars-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-shrink: 0;
        }
        
        .profil-avatar-wrapper {
            position: relative;
            flex-shrink: 0;
        }
        
        .profil-avatar-container {
            position: relative;
        }
        
        .profil-avatar {
            width: 64px;
            height: 64px;
            border: 2px solid rgba(138, 156, 255, 0.25);
            object-fit: cover;
            box-shadow: 0 2px 12px rgba(138, 156, 255, 0.15);
        }
        
        .profil-avatar-discord {
            border-radius: 50%;
        }
        
        .profil-avatar-minecraft {
            border-radius: 8px;
            background: #000;
            image-rendering: pixelated;
        }
        
        .profil-avatar-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            color: rgba(138, 156, 255, 0.6);
            flex-shrink: 0;
        }
        
        .profil-avatar-arrow svg {
            width: 24px;
            height: 24px;
        }
        
        .profil-avatar-badge {
            position: absolute;
            bottom: -2px;
            right: -2px;
            width: 24px;
            height: 24px;
            background: #5865f2;
            border-radius: 50%;
            border: 2px solid rgba(18, 20, 36, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(88, 101, 242, 0.4);
        }
        
        .profil-avatar-badge svg {
            width: 14px;
            height: 14px;
            color: #fff;
        }
        
        .profil-header-content {
            flex: 1;
            min-width: 0;
        }
        
        .profil-username {
            font-size: 1.5rem;
            font-weight: 700;
            color: #e9ecff;
            margin: 0 0 0.5rem 0;
            white-space: nowrap;
            overflow: visible;
            text-overflow: ellipsis;
            letter-spacing: -0.3px;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }
        
        .profil-banner-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.5;
            filter: blur(1px) brightness(1.1);
            z-index: 0;
            border-radius: 8px;
            pointer-events: none;
            display: none;
        }
        
        #profilDiscordUsernameItem {
            position: relative;
            overflow: visible;
        }
        
        #profilDiscordUsernameItem .profil-info-label,
        #profilDiscordUsernameItem .profil-info-value {
            position: relative;
            z-index: 1;
        }
        
        .profil-discord-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            background: rgba(88, 101, 242, 0.15);
            border: 1px solid rgba(88, 101, 242, 0.25);
            border-radius: 8px;
            padding: 0.4rem 0.85rem;
            font-size: 0.875rem;
            color: #b8bfff;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .profil-discord-badge:hover {
            background: rgba(88, 101, 242, 0.2);
            border-color: rgba(88, 101, 242, 0.35);
        }
        
        .profil-icon {
            width: 14px;
            height: 14px;
            color: #5865f2;
            flex-shrink: 0;
        }
        
        .profil-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        
        .profil-section {
            background: rgba(12, 14, 28, 0.6);
            border: 1px solid rgba(138, 156, 255, 0.1);
            border-radius: 14px;
            padding: 1.25rem;
            transition: all 0.25s ease;
            position: relative;
            overflow: visible;
        }
        
        .profil-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, rgba(138, 156, 255, 0.4), rgba(138, 156, 255, 0));
            opacity: 0;
            transition: opacity 0.25s ease;
        }
        
        .profil-section:hover {
            border-color: rgba(138, 156, 255, 0.2);
            background: rgba(12, 14, 28, 0.7);
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(138, 156, 255, 0.1);
        }
        
        .profil-section:hover::before {
            opacity: 1;
        }
        
        .profil-section-header {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: #8a9cff;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            padding-bottom: 0.6rem;
            border-bottom: 1px solid rgba(138, 156, 255, 0.08);
        }
        
        .profil-section-icon {
            width: 18px;
            height: 18px;
            color: #8a9cff;
            flex-shrink: 0;
        }
        
        .profil-info-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
        
        .profil-info-item {
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            padding: 0.6rem;
            background: rgba(138, 156, 255, 0.04);
            border-radius: 8px;
            border: 1px solid rgba(138, 156, 255, 0.06);
            transition: all 0.2s ease;
        }
        
        .profil-info-item:hover {
            background: rgba(138, 156, 255, 0.08);
            border-color: rgba(138, 156, 255, 0.12);
        }
        
        .profil-info-label {
            font-size: 0.7rem;
            color: rgba(201, 208, 255, 0.55);
            text-transform: uppercase;
            letter-spacing: 0.6px;
            font-weight: 600;
        }
        
        .profil-info-value {
            font-size: 0.95rem;
            color: #e9ecff;
            font-weight: 500;
            word-break: break-word;
            line-height: 1.4;
            transition: color 0.3s ease, text-shadow 0.3s ease;
        }
        
        .profil-uuid {
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            color: rgba(201, 208, 255, 0.8);
        }
        
        .profil-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            padding: 0.3rem 0.6rem;
            border-radius: 6px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .profil-badge svg {
            width: 14px;
            height: 14px;
        }
        
        .profil-badge-success {
            background: rgba(81, 207, 102, 0.15);
            border: 1px solid rgba(81, 207, 102, 0.25);
            color: #51cf66;
        }
        
        .profil-status-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
        }
        
        .profil-status-container .profil-badge {
            flex: 1;
        }
        
        .profil-unlink-x-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            padding: 0;
            background: rgba(255, 77, 77, 0.1);
            border: 1px solid rgba(255, 77, 77, 0.3);
            border-radius: 4px;
            color: #ff4d4d;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        
        .profil-unlink-x-btn:hover {
            background: rgba(255, 77, 77, 0.2);
            border-color: rgba(255, 77, 77, 0.5);
            transform: scale(1.1);
        }
        
        .profil-unlink-x-btn:active {
            transform: scale(0.95);
        }
        
        .profil-unlink-x-btn svg {
            width: 14px;
            height: 14px;
        }
        
        .profil-rank-container {
            display: flex;
            align-items: center;
            width: 100%;
        }
        
        .profil-rank-tag {
            height: 40px;
            width: 100%;
            object-fit: contain;
            image-rendering: pixelated;
            image-rendering: -moz-crisp-edges;
            image-rendering: crisp-edges;
            filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
        }
        
        .profil-rank-text {
            font-size: 0.95rem;
            color: #e9ecff;
            font-weight: 600;
            text-transform: capitalize;
        }
        
        .profil-minecraft-container {
            margin-top: 0;
        }
        
        .profil-minecraft-not-linked {
            text-align: center;
            padding: 2.5rem 1.5rem;
            color: rgba(201, 208, 255, 0.5);
        }
        
        .profil-minecraft-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 0.75rem;
            opacity: 0.4;
        }
        
        .profil-minecraft-not-linked p {
            margin: 0.4rem 0;
            font-size: 0.9rem;
        }
        
        .profil-minecraft-hint {
            font-size: 0.75rem;
            opacity: 0.6;
        }
        
        .profil-link-start-container {
            margin-top: 1rem;
        }
        
        .profil-link-container {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(138, 156, 255, 0.05);
            border: 1px solid rgba(138, 156, 255, 0.15);
            border-radius: 8px;
        }
        
        .profil-minecraft-container {
            min-height: 0;
            flex-shrink: 0;
        }
        
        .profil-link-code-display {
            text-align: center;
            margin-bottom: 1rem;
        }
        
        .profil-link-code-label {
            font-size: 0.85rem;
            color: rgba(201, 208, 255, 0.7);
            margin-bottom: 0.5rem;
        }
        
        .profil-link-code {
            font-size: 2rem;
            font-weight: 700;
            font-family: 'Minecraft', monospace;
            letter-spacing: 0.5rem;
            color: #8a9cff;
            background: rgba(138, 156, 255, 0.1);
            border: 2px solid rgba(138, 156, 255, 0.3);
            border-radius: 8px;
            padding: 0.75rem 1rem;
            margin: 0.5rem 0;
            display: inline-block;
        }
        
        .profil-link-code-expires {
            font-size: 0.75rem;
            color: rgba(201, 208, 255, 0.5);
            margin-top: 0.5rem;
        }
        
        .profil-link-instructions {
            margin: 0.75rem 0;
            font-size: 0.8rem;
            color: rgba(201, 208, 255, 0.7);
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .profil-link-step {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            line-height: 1.4;
        }
        
        .profil-link-step-num {
            flex-shrink: 0;
            font-weight: 600;
            color: #8a9cff;
            min-width: 1.2rem;
        }
        
        .profil-link-step-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }
        
        .profil-link-step-text {
            color: rgba(201, 208, 255, 0.7);
        }
        
        .profil-link-command-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(138, 156, 255, 0.2);
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            width: 100%;
            box-sizing: border-box;
        }
        
        .profil-link-command {
            font-family: 'Minecraft', monospace;
            color: #8a9cff;
            flex: 1;
            font-size: 0.85rem;
            user-select: all;
            cursor: text;
            margin: 0;
            padding: 0;
            border: none;
            background: transparent;
        }
        
        .profil-link-copy-btn {
            flex-shrink: 0;
            width: 28px;
            height: 28px;
            padding: 0;
            border: none;
            background: rgba(138, 156, 255, 0.1);
            border: 1px solid rgba(138, 156, 255, 0.2);
            border-radius: 4px;
            color: #8a9cff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }
        
        .profil-link-copy-btn:hover {
            background: rgba(138, 156, 255, 0.2);
            border-color: rgba(138, 156, 255, 0.4);
            transform: scale(1.05);
        }
        
        .profil-link-copy-btn:active {
            transform: scale(0.95);
        }
        
        .profil-link-copy-btn svg {
            width: 14px;
            height: 14px;
        }
        
        .profil-link-copy-btn.copied {
            background: rgba(0, 255, 136, 0.2);
            border-color: rgba(0, 255, 136, 0.4);
            color: #00ff88;
        }
        
        .profil-link-actions {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        
        .profil-link-btn {
            flex: 1;
            padding: 0.75rem 1rem;
            border: 1px solid rgba(138, 156, 255, 0.3);
            border-radius: 6px;
            background: rgba(138, 156, 255, 0.1);
            color: #e9ecff;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
        }
        
        .profil-link-btn:hover {
            background: rgba(138, 156, 255, 0.2);
            border-color: rgba(138, 156, 255, 0.5);
        }
        
        .profil-link-btn:active {
            transform: scale(0.98);
        }
        
        .profil-link-btn-primary {
            background: linear-gradient(135deg, rgba(138, 156, 255, 0.2), rgba(107, 124, 255, 0.2));
            border-color: rgba(138, 156, 255, 0.4);
        }
        
        .profil-link-btn-primary:hover {
            background: linear-gradient(135deg, rgba(138, 156, 255, 0.3), rgba(107, 124, 255, 0.3));
        }
        
        .profil-link-btn-secondary {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
        }
        
        .profil-link-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        @media (max-width: 768px) {
            .profil-link-actions {
                flex-direction: column;
            }
            
            .profil-link-code {
                font-size: 1.5rem;
                letter-spacing: 0.3rem;
                padding: 0.5rem 0.75rem;
            }
        }
        
        .profil-minecraft-linked {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }
        
        .profil-minecraft-avatar-container {
            flex-shrink: 0;
            position: relative;
        }
        
        .profil-minecraft-avatar {
            width: 72px;
            height: 72px;
            border-radius: 10px;
            border: 2px solid rgba(138, 156, 255, 0.25);
            image-rendering: pixelated;
            box-shadow: 0 2px 8px rgba(138, 156, 255, 0.15);
            transition: all 0.2s ease;
        }
        
        .profil-minecraft-avatar:hover {
            transform: scale(1.05);
            border-color: rgba(138, 156, 255, 0.4);
            box-shadow: 0 4px 12px rgba(138, 156, 255, 0.25);
        }
        
        .profil-minecraft-username-container {
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .profil-minecraft-details {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            width: 100%;
        }
        
        @media (max-width: 768px) {
            #section-profil {
                align-items: flex-start;
                height: auto;
                min-height: auto;
                padding: 1rem 0;
                padding-top: 2rem;
            }
            
            #viewProfil {
                padding: 1rem;
                min-width: 0;
            }
            
            .profil-wrapper {
                min-width: 0;
            }
            
            .profil-card {
                padding: 1.25rem;
                min-width: 0;
            }
            
            .profil-header {
                flex-direction: column;
                text-align: center;
                gap: 0.75rem;
                padding-bottom: 1.25rem;
            }
            
            .profil-avatars-container {
                gap: 0.5rem;
            }
            
            .profil-avatar {
                width: 56px;
                height: 56px;
            }
            
            .profil-avatar-arrow {
                width: 24px;
                height: 24px;
            }
            
            .profil-avatar-arrow svg {
                width: 18px;
                height: 18px;
            }
            
            .profil-username {
                font-size: 1.3rem;
            }
            
            .profil-content {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .profil-section {
                padding: 1.25rem;
            }
            
            .profil-info-grid {
                gap: 0.875rem;
            }
            
            .profil-info-item {
                padding: 0.65rem;
            }
            
            .profil-minecraft-linked {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 1rem;
            }
            
            .profil-minecraft-avatar {
                width: 64px;
                height: 64px;
            }
            
            .profil-minecraft-username-container {
                width: 100%;
                align-items: center;
            }
            
            .profil-minecraft-details {
                width: 100%;
            }
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /* Fallback-Hintergrund falls Video nicht lädt */
            background: linear-gradient(135deg, rgba(12, 12, 20, 0.95), rgba(18, 18, 30, 0.95), rgba(25, 25, 45, 0.95));
            color: #ffffff;
            min-height: 100vh;
            min-height: 100dvh; /* vermeidet schwarze Ränder durch Mobile-UI */
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: visible; /* Verhindert Scroll während Loading */
            /* Opera-spezifische Scroll-Performance */
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-y: contain;
            /* Verhindert Textauswahl */
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        
        /* Interaktive Elemente sollen weiterhin selektierbar sein */
        input, textarea, [contenteditable="true"] {
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }
        body.loaded {
            overflow: visible; /* PC: Kein Scrollen */
        }
        
        /* PC: Kein Scrollen */
        @media (min-width: 769px) {
            html, body {
                overflow: hidden !important;
                height: 100vh;
                height: 100dvh;
            }
            
            /* Scrollen für Seiten mit langem Inhalt erlauben - nur auf body/html */
            body.scrollable, html.scrollable {
                overflow: auto !important;
                overflow-x: hidden !important;
                height: auto !important;
            }
            
            /* Sections mit langem Inhalt - keine eigene Scrollbar */
            #section-impressum.is-visible,
            #section-datenschutz.is-visible,
            #section-nutzungsbedingungen.is-visible,
            #section-kontakt.is-visible {
                overflow: visible !important;
                height: auto !important;
                min-height: 100vh !important;
                min-height: 100dvh !important;
            }
            
            /* Page-Views mit langem Inhalt - keine eigene Scrollbar */
            #viewImpressum.is-active,
            #viewDatenschutz.is-active,
            #viewNutzungsbedingungen.is-active,
            #viewKontakt.is-active {
                overflow: visible !important;
                height: auto !important;
            }
            
            /* News-Seite: Abstand zum oberen Rand */
            #viewNews {
                padding-top: 150px !important;
            }
            
            /* News Title Header Font für PC */
            .news-title-header {
                font-size: clamp(1.5rem, 4vw, 2.5rem);
                font-family: 'Minecraft', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                margin-top: 0 !important;
                margin-bottom: 1rem;
            }
            
            /* News Title Container: Position relative für absolute Button */
            .news-title-container {
                position: relative !important;
            }
            
            /* News Create Button Styles für PC */
            .news-create-btn {
                display: none; /* Standard: versteckt */
                align-items: center;
                justify-content: center;
                width: 48px;
                height: 48px;
                padding: 0;
                background: rgba(138, 156, 255, 0.15);
                border: 1px solid rgba(138, 156, 255, 0.3);
                border-radius: 8px;
                color: #8a9cff;
                cursor: pointer;
                transition: all 0.2s ease;
                flex-shrink: 0;
                position: absolute !important;
                right: 0 !important;
                top: 50% !important;
                transform: translateY(-50%) !important;
                z-index: 10 !important;
            }
            
            /* Button anzeigen wenn has-button Klasse gesetzt ist */
            .news-title-container.has-button .news-create-btn {
                display: flex !important;
            }
            
            .news-create-btn:hover {
                background: rgba(138, 156, 255, 0.25);
                border-color: rgba(138, 156, 255, 0.5);
                transform: scale(1.05);
            }
            
            .news-create-btn svg {
                width: 24px;
                height: 24px;
            }
            
            .news-title-container:has(.news-create-btn:not([style*="display: none"])) .news-title-header,
            .news-title-container.has-button .news-title-header {
                font-size: clamp(1.2rem, 3.2vw, 2rem) !important;
            }
        }
        
        /* Mobile: Scrollen erlauben */
        @media (max-width: 768px) {
            html, body {
                overflow: auto !important;
                overflow-x: hidden !important;
                height: auto !important;
                min-height: 100vh;
                min-height: 100dvh;
            }
            
            body.loaded {
                overflow: auto !important;
                overflow-x: hidden !important;
                height: auto !important;
            }
            
            .section {
                min-height: 0 !important;
                height: auto !important;
                overflow: visible !important;
            }
            
            #section-news {
                height: auto !important;
                min-height: 0 !important;
                overflow: visible !important;
                position: relative !important;
                padding-bottom: 2rem !important;
            }
            
            .page-view {
                height: auto !important;
                min-height: 0 !important;
                overflow: visible !important;
            }
            
            #viewNews {
                height: auto !important;
                min-height: 0 !important;
                padding: 1rem;
                padding-top: 100px !important;
                padding-bottom: 3rem !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
                align-items: flex-start;
                justify-content: flex-start;
            }
            
            .news-wrapper {
                max-height: none !important;
                height: auto !important;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
                padding-bottom: 2rem !important;
            }
            
            .news-title-header {
                font-size: clamp(1.5rem, 4vw, 2.5rem); /* Kontinuierliche Skalierung - wird durch clamp() gehandhabt */
                font-family: 'Minecraft', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                margin-top: 0 !important;
                margin-bottom: 1rem;
            }
            
            .news-title-container {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: clamp(0.5rem, 1.5vw, 1rem);
                margin-bottom: 2rem;
            }
            
            .news-title-header {
                margin-bottom: 0 !important;
            }
            
            /* News Title Container: Position relative für absolute Button */
            .news-title-container {
                position: relative !important;
            }
            
            .news-create-btn {
                display: none; /* Standard: versteckt */
                align-items: center;
                justify-content: center;
                width: 48px;
                height: 48px;
                padding: 0;
                background: rgba(138, 156, 255, 0.15);
                border: 1px solid rgba(138, 156, 255, 0.3);
                border-radius: 8px;
                color: #8a9cff;
                cursor: pointer;
                transition: all 0.2s ease;
                flex-shrink: 0;
                position: absolute !important;
                right: 0 !important;
                top: 50% !important;
                transform: translateY(-50%) !important;
                z-index: 10 !important;
            }
            
            /* Button anzeigen wenn has-button Klasse gesetzt ist */
            .news-title-container.has-button .news-create-btn {
                display: flex !important;
            }
            
            .news-create-btn:hover {
                background: rgba(138, 156, 255, 0.25);
                border-color: rgba(138, 156, 255, 0.5);
                transform: scale(1.05);
            }
            
            .news-create-btn svg {
                width: 24px;
                height: 24px;
            }
            
            .news-title-container:has(.news-create-btn:not([style*="display: none"])) .news-title-header,
            .news-title-container.has-button .news-title-header {
                font-size: clamp(1.2rem, 3.2vw, 2rem) !important;
            }
            
            .news-container {
                flex: none !important;
                width: 100%;
                overflow: visible !important;
                overflow-y: visible !important;
                overflow-x: visible !important;
                max-height: none !important;
                height: auto !important;
                min-height: 0 !important;
                padding-bottom: 3rem !important;
            }
            
            .news-grid {
                width: 100%;
                overflow: visible !important;
                padding-bottom: 2rem !important;
                margin-bottom: 2rem !important;
            }
            
            .news-load-more {
                margin-bottom: 3rem !important;
            }
        }
        
        /* Opera-spezifische Performance-Optimierungen */
        html {
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* YouTube Background Video */
        #videoBg {
            position: fixed;
            /* leicht über den Viewport hinausziehen, um Kantenartefakte zu vermeiden */
            inset: 0;
            top: -2vh;
            right: -2vw;
            bottom: -2vh;
            left: -2vw;
            top: -2dvh;
            right: -2dvw;
            bottom: -2dvh;
            left: -2dvw;
            /* zusätzlich Safe-Area einbeziehen (iOS Notch etc.) */
            top: calc(-2dvh - env(safe-area-inset-top, 0px));
            bottom: calc(-2dvh - env(safe-area-inset-bottom, 0px));
            z-index: -1;
            overflow: visible;
            pointer-events: none;
        }
        #videoBg iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            filter: blur(7px) saturate(1.05) brightness(0.65);
            /* Video ist 21:9 - Berechne Größe so, dass es immer den Viewport abdeckt (cover) */
            /* Wenn Viewport breiter als 21:9: Höhe = 100vh, Breite entsprechend größer */
            /* Wenn Viewport schmaler als 21:9: Breite = 100vw, Höhe entsprechend größer */
            width: max(100dvw, calc(100dvh * 21 / 9));
            height: max(100dvh, calc(100dvw * 9 / 21));
            transform: translate(-50%, -50%) scale(1.1);
            /* Zusätzliche 10% Skalierung, um sicherzustellen, dass keine Ränder sichtbar sind */
        }

        /* Aggressiveres Cropping auf sehr schmalen Viewports */
        @media (max-width: 640px) {
            #videoBg { 
                top: calc(-4dvh - env(safe-area-inset-top, 0px));
                bottom: calc(-4dvh - env(safe-area-inset-bottom, 0px));
            }
            #videoBg iframe {
                transform: translate(-50%, -50%) scale(1.15);
            }
        }
        #videoBg .video-overlay {
            position: absolute;
            inset: 0;
            /* Sanfter, gleichmäßiger Verlauf ohne dunkle Kanten */
            background: linear-gradient(180deg,
                rgba(0,0,0,0.22) 0%,
                rgba(0,0,0,0.32) 25%,
                rgba(0,0,0,0.36) 50%,
                rgba(0,0,0,0.32) 75%,
                rgba(0,0,0,0.22) 100%
            );
            pointer-events: none;
        }

        .container {
            max-width: 900px;
            padding: var(--container-pad, 2rem);
            margin: 0 auto;
            position: relative;
            z-index: 50;
        }
        .container.full-bleed { max-width: none; width: 100vw; margin: 0; padding: 0; }

        .logo {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .logo img {
            max-width: 280px;
            height: auto;
            filter: drop-shadow(0 0 20px rgba(138, 156, 255, 0.5));
            transition: transform 0.3s ease;
        }
        
        .logo img:hover {
            transform: scale(1.05);
        }

        .subtitle {
            font-size: 1.8rem;
            margin-bottom: 3rem;
            color: #8a9cff;
            font-weight: 400;
            text-align: center;
            letter-spacing: 2px;
            text-shadow: 0 0 20px rgba(138, 156, 255, 0.5);
        }
        
        /* Recent Verifications Slider */
        .recent-verifications-container {
            max-width: 240px;
            margin: 0;
            padding: 0;
            position: relative;
            display: flex;
            flex-direction: column;
        }
        
        /* Wrapper für Player Count und Recent Verifications */
        .player-info-wrapper {
            display: flex;
            align-items: flex-start;
            justify-content: center;
            gap: 2rem;
            margin: 3rem auto 0;
            max-width: 600px;
            flex-wrap: wrap;
        }
        
        .player-count-display {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            padding: 0;
            margin: 0;
            height: auto;
            position: relative;
            z-index: 150;
            background: transparent;
            border: none;
            border-radius: 0;
            backdrop-filter: none;
            box-shadow: none;
            text-align: center;
            min-width: auto;
            transition: all 0.3s ease;
        }
        
        .player-count-display .player-count-label {
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 1.0rem;
            margin-top: 0;
            padding-top: 0;
            line-height: 1;
            color: #e9ecff;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .player-count-display .player-count-number {
            font-size: 2.5rem;
            transition: font-size 0.3s ease;
            line-height: 1;
            margin: auto 0;
            font-family: 'Minecraft', 'Courier New', monospace !important;
            font-weight: 700 !important;
            color: #ffffff;
            text-shadow: 0 0 20px rgba(138, 156, 255, 0.5);
            -webkit-font-smoothing: none;
            -moz-osx-font-smoothing: unset;
            font-smooth: never;
        }
        
        .player-count-display .player-count-max {
            font-size: 1rem;
            margin-top: 0.1rem;
            margin-bottom: 0;
        }
        
        @media (max-width: 850px) {
            .player-info-wrapper {
                flex-direction: row;
                gap: 1rem;
                align-items: flex-start;
                max-width: 100%;
                padding: 0 1rem;
            }
            
            .player-count-display {
                min-height: auto;
                padding: 0;
                margin: 0;
                display: flex;
                flex-direction: column;
                justify-content: flex-start;
                align-items: center;
                align-self: flex-start;
                height: auto;
                position: relative;
                z-index: 150;
                background: transparent;
                border: none;
                border-radius: 0;
                backdrop-filter: none;
                box-shadow: none;
                text-align: center;
                transition: all 0.3s ease;
            }
            
            .player-count-display .player-count-label {
                font-size: 0.65rem;
                font-weight: 600;
                letter-spacing: 0.5px;
                text-transform: uppercase;
                margin-bottom: 0.6rem;
                margin-top: 0;
                padding-top: 0;
                line-height: 2;
                margin-left: 0;
                margin-right: 0;
                color: #e9ecff;
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            }
            
            .player-count-display .player-count-number {
                font-size: 1.8rem;
                transition: font-size 0.3s ease;
                line-height: 1;
                margin: auto 0;
                font-family: 'Minecraft', 'Courier New', monospace !important;
                font-weight: 700 !important;
                color: #ffffff;
                text-shadow: 0 0 20px rgba(138, 156, 255, 0.5);
                -webkit-font-smoothing: none;
                -moz-osx-font-smoothing: unset;
                font-smooth: never;
            }
            
            .player-count-display .player-count-max {
                font-size: 0.85rem;
                margin-top: 0.1rem;
                margin-bottom: 0;
            }
            
            .recent-verifications-container {
                max-width: 200px;
                align-self: flex-start;
                margin: 0;
                padding: 0;
                display: flex;
                flex-direction: column;
            }
            
            .recent-verifications-header {
                margin-top: 0;
                padding-top: 0;
                margin-bottom: 0.4rem;
                margin-left: 0;
                margin-right: 0;
            }
            
            .recent-verifications-title {
                margin: 0;
                padding: 0;
                line-height: 1;
                font-size: 0.65rem;
                font-weight: 600;
                letter-spacing: 0.5px;
                text-transform: uppercase;
                color: #e9ecff;
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            }
        }
        
        .recent-verifications-header {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 0.4rem;
            margin-top: 0;
            padding-top: 0;
            color: #e9ecff;
        }
        
        .recent-verifications-title {
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            line-height: 1;
            margin: 0;
            padding: 0;
            color: #e9ecff;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .recent-verifications-slider {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            gap: 0.15rem;
            position: relative;
            perspective: 600px;
            perspective-origin: center top;
        }
        
        .recent-verification-item {
            flex-shrink: 0;
            width: 180px;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 0.5rem;
            padding: 0.3rem 0;
            background: transparent;
            border: none;
            border-radius: 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            position: relative;
            z-index: 2;
        }
        
        /* 3D Perspektive: Erster (neuester) - größer, voll sichtbar */
        .recent-verification-item:nth-child(1) {
            transform: scale(1) translateZ(0);
            opacity: 1;
            z-index: 3;
        }
        
        /* Zweiter - kleiner, transparent */
        .recent-verification-item:nth-child(2) {
            transform: scale(0.9) translateY(4px) translateZ(-20px);
            opacity: 0.6;
            z-index: 2;
        }
        
        /* Dritter - noch kleiner, voll sichtbar */
        .recent-verification-item:nth-child(3) {
            transform: scale(0.8) translateY(8px) translateZ(-40px);
            opacity: 1;
            z-index: 1;
        }
        
        .recent-verification-item:hover {
            transform: scale(1.02) translateZ(10px) !important;
            opacity: 1 !important;
        }
        
        .recent-verification-item:hover .recent-verification-name {
            color: #8a9cff;
        }
        
        .recent-verification-item.slide-in {
            animation: slideInFromTop 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .recent-verification-item.slide-out {
            animation: slideOutToBottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @keyframes slideInFromTop {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(-20px) translateZ(-60px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0) translateZ(0);
            }
        }
        
        @keyframes slideOutToBottom {
            from {
                opacity: 0.6;
                transform: scale(0.9) translateY(4px) translateZ(-20px);
            }
            to {
                opacity: 0;
                transform: scale(0.7) translateY(30px) translateZ(-80px);
            }
        }
        
        .recent-verification-avatar {
            width: 28px;
            height: 28px;
            border-radius: 3px;
            border: none;
            image-rendering: pixelated;
            image-rendering: -moz-crisp-edges;
            image-rendering: crisp-edges;
            flex-shrink: 0;
        }
        
        .recent-verification-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 0.15rem;
            flex: 1;
            min-width: 0;
        }
        
        .recent-verification-name {
            font-size: 0.7rem;
            font-weight: 600;
            color: #e9ecff;
            text-align: left;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            line-height: 1.1;
        }
        
        .recent-verification-time {
            font-size: 0.6rem;
            color: rgba(233, 236, 255, 0.5);
            text-align: left;
            line-height: 1.1;
            white-space: nowrap;
        }
        
        .recent-verification-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.15rem;
            padding: 0.08rem 0.3rem;
            background: rgba(74, 222, 128, 0.12);
            border: 1px solid rgba(74, 222, 128, 0.25);
            border-radius: 3px;
            font-size: 0.5rem;
            color: #4ade80;
            font-weight: 600;
            letter-spacing: 0.2px;
        }
        
        .recent-verification-badge svg {
            width: 8px;
            height: 8px;
        }
        
        @media (max-width: 768px) {
            .recent-verifications-container {
                max-width: 200px;
                margin-top: 1rem;
            }
            
            .recent-verification-item {
                width: 160px;
                padding: 0.35rem 0.5rem;
            }
            
            .recent-verification-avatar {
                width: 24px;
                height: 24px;
            }
            
            .recent-verification-name {
                font-size: 0.65rem;
            }
            
            .recent-verification-badge {
                font-size: 0.45rem;
                padding: 0.08rem 0.25rem;
            }
        }

        .status {
            background: rgba(12, 12, 20, 0.8);
            backdrop-filter: blur(15px);
            border-radius: 15px;
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid rgba(138, 156, 255, 0.3);
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 156, 255, 0.1);
        }

        .status-indicator {
            display: inline-block;
            width: 14px;
            height: 14px;
            background: #8a9cff;
            border-radius: 50%;
            margin-right: 12px;
            animation: pulse 2s infinite;
            box-shadow: 0 0 15px rgba(138, 156, 255, 0.6);
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .coming-soon {
            font-size: 1.3rem;
            color: #ff4d4f;
            margin: 1rem 0 0 0;
            text-align: center;
            font-style: italic;
            text-shadow: 0 0 15px rgba(255, 77, 79, 0.4);
        }
        

                .social-links {
            margin-top: 3rem;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: clamp(1rem, 2.5vw, 2rem);
            flex-wrap: nowrap;
            padding: 0 clamp(1rem, 3vw, 2rem);
            width: 100%;
            box-sizing: border-box;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: clamp(0.5rem, 1.2vw, 0.75rem);
            color: #e9ecff;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            font-size: clamp(0.9rem, 1.8vw, 1.1rem);
            padding: clamp(0.75rem, 1.5vw, 1rem) clamp(1.25rem, 2.5vw, 1.75rem);
            border-radius: clamp(10px, 2vw, 14px);
            background: linear-gradient(135deg, rgba(138, 156, 255, 0.12), rgba(107, 127, 255, 0.08));
            border: clamp(1.5px, 0.3vw, 2px) solid rgba(138, 156, 255, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 
                0 4px 20px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(138, 156, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            flex-shrink: 0;
            min-width: fit-content;
            text-shadow: 0 2px 8px rgba(138, 156, 255, 0.3);
        }
        
        .social-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
            transition: left 0.6s ease;
        }
        
        .social-links a:hover::before {
            left: 100%;
        }
        
        .social-links a:hover {
            color: #ffffff;
            background: linear-gradient(135deg, rgba(138, 156, 255, 0.25), rgba(107, 127, 255, 0.18));
            border-color: rgba(138, 156, 255, 0.5);
            transform: translateY(-3px) scale(1.05);
            box-shadow: 
                0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(138, 156, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            text-shadow: 0 2px 12px rgba(138, 156, 255, 0.5);
        }
        
        .social-links a:active {
            transform: translateY(-1px) scale(1.02);
        }
        
        .social-links a svg {
            width: clamp(18px, 2vw, 22px);
            height: clamp(18px, 2vw, 22px);
            flex-shrink: 0;
            filter: drop-shadow(0 2px 4px rgba(138, 156, 255, 0.3));
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .social-links a:hover svg {
            transform: scale(1.15) rotate(5deg);
            filter: drop-shadow(0 4px 8px rgba(138, 156, 255, 0.5));
        }
        
        /* Discord-spezifische Farben */
        .social-links a[href*="discord"] {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.08));
            border-color: rgba(88, 101, 242, 0.3);
        }
        
        .social-links a[href*="discord"]:hover {
            background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.2));
            border-color: rgba(88, 101, 242, 0.5);
            box-shadow: 
                0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(88, 101, 242, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
        
        /* Instagram-spezifische Farben */
        .social-links a[href*="instagram"] {
            background: linear-gradient(135deg, rgba(225, 48, 108, 0.15), rgba(225, 48, 108, 0.08));
            border-color: rgba(225, 48, 108, 0.3);
        }
        
        .social-links a[href*="instagram"]:hover {
            background: linear-gradient(135deg, rgba(225, 48, 108, 0.3), rgba(225, 48, 108, 0.2));
            border-color: rgba(225, 48, 108, 0.5);
            box-shadow: 
                0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(225, 48, 108, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
        
        /* YouTube-spezifische Farben */
        .social-links a[href*="youtube"] {
            background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.08));
            border-color: rgba(255, 0, 0, 0.3);
        }
        
        .social-links a[href*="youtube"]:hover {
            background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(255, 0, 0, 0.2));
            border-color: rgba(255, 0, 0, 0.5);
            box-shadow: 
                0 8px 30px rgba(0, 0, 0, 0.4),
                0 0 25px rgba(255, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }
        
        .server-info {
            background: rgba(12, 12, 20, 0.8);
            backdrop-filter: blur(15px);
            border-radius: 15px;
            padding: 2rem;
            margin: 2rem 0;
            border: 1px solid rgba(138, 156, 255, 0.3);
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(138, 156, 255, 0.1);
        }
        
        .server-ip {
            font-family: 'Courier New', monospace;
            background: rgba(12, 12, 20, 0.9);
            padding: 0.8rem 1.5rem;
            border-radius: 10px;
            border: 2px solid rgba(138, 156, 255, 0.6);
            color: #8a9cff;
            font-weight: bold;
            font-size: 1.1rem;
            display: inline-block;
            margin: 0.5rem 0;
            box-shadow: 0 0 20px rgba(138, 156, 255, 0.4);
        }
        
        .copy-btn {
            background: linear-gradient(45deg, #8a9cff, #6b7cff);
            border: none;
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 10px;
            cursor: pointer;
            margin-left: 1rem;
            transition: all 0.3s ease;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 4px 15px rgba(138, 156, 255, 0.3);
        }
        
        .copy-btn:hover {
            background: linear-gradient(45deg, #6b7cff, #5a6bff);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(138, 156, 255, 0.4);
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 1rem;
                max-width: 100%;
                /* Platz für die mobile Bubble-Navigation oben */
                padding-top: calc(1rem + 72px + env(safe-area-inset-top, 0px));
            }
            
            .logo img {
                max-width: 200px;
            }
            
            .subtitle {
                font-size: 1.4rem;
                margin-bottom: 2rem;
            }
            
            .status, .server-info {
                padding: 1.5rem;
                margin: 1.5rem 0;
            }
            
            .server-ip {
                font-size: 1rem;
                padding: 0.6rem 1rem;
            }
            
            .copy-btn {
                padding: 0.6rem 1rem;
                margin-left: 0.5rem;
                font-size: 0.8rem;
            }
            
            .social-links {
                gap: clamp(0.75rem, 2vw, 1.5rem);
                padding: 0 clamp(0.5rem, 2vw, 1rem);
            }
            
            .social-links a {
                padding: clamp(0.6rem, 1.2vw, 0.85rem) clamp(1rem, 2vw, 1.5rem);
                font-size: clamp(0.8rem, 1.5vw, 1rem);
            }
            
            .coming-soon {
                font-size: 1.1rem;
                margin: 2rem 0 1.5rem 0;
            }

            /* Mobile: Bubble-Navigation nach oben, horizontal - immer zentriert */
            .bubble-nav {
                position: fixed;
                top: calc(env(safe-area-inset-top, 0px) + 8px);
                left: 50%;
                transform: translateX(-50%);
                flex-direction: row;
                justify-content: center;
                gap: 16px; /* Kleinerer Gap für mehr Platz */
                padding: 0 8px;
                z-index: 10000;
                width: auto;
                max-width: calc(100vw - 80px); /* Platz für Login-Button rechts */
            }
            .bubble { width: 44px; height: 44px; }
            .bubble .bubble-core { width: 28px; height: 28px; }
            .bubble .bubble-logo { width: 40px; height: 40px; }
            .bubble .bubble-label { display: none; }
            /* Mobile: Pfeilindikatoren ausblenden */
            .bubble::before, .bubble::after { display: none; }
            
            /* Mobile: Aktive Bubble nur nach unten verschieben, nicht nach rechts */
            .bubble.active {
                transform: scale(1.08) translateY(4px) translateX(0);
                margin: 0;
            }
            .bubble.active .bubble-logo,
            .bubble.active .bubble-core {
                translate: 0 0;
            }
            .bubble.active .bubble-label {
                translate: 0 0;
            }
            .bubble.active.settled .orbit,
            .bubble.active.settled .orbit::before,
            .bubble.active.settled .bubble-glow {
                translate: 0 0;
            }


            /* News Cards für Mobile */
            .news-card {
                min-height: auto;
            }
            
            .news-thumb {
                width: 100%;
                height: 180px;
            }
            
            /* Touch-freundliche Buttons */
            button, .btn, a.button, .copy-btn {
                min-height: 44px;
                padding: 0.75rem 1rem;
            }
            
            /* News Modal für Mobile */
            .news-modal {
                padding: 10px;
            }
            
            .news-modal .news-dialog {
                width: 100%;
                max-height: 95vh;
            }
            
            .news-dialog-header img {
                height: 200px;
            }
            
            .news-dialog-title {
                font-size: 1.1rem;
                left: 12px;
                bottom: 8px;
            }

            /* Mobile: Login-Button quadratisch und klein in der Ecke */
            .login-btn {
                top: calc(env(safe-area-inset-top, 0px) + 2px);
                right: 4px;
                width: 32px;
                height: 32px;
                padding: 0;
                border-radius: 6px;
            }
            
            .login-btn .login-icon {
                width: 16px;
                height: 16px;
            }
            
            /* User Menu auf Mobile ebenfalls kleiner und in der Ecke */
            .user-menu {
                top: calc(env(safe-area-inset-top, 0px) + 2px);
                right: 4px;
            }
            
            .user-menu-wrapper img,
            .user-menu-avatar,
            .user-avatar {
                width: 32px !important;
                height: 32px !important;
            }
        }

        /* Tablet-Ansicht: Bubbles ebenfalls oben horizontal */
        @media (min-width: 769px) and (max-width: 1200px) {
            .container {
                padding-top: calc(1rem + 80px + env(safe-area-inset-top, 0px));
            }
            .bubble-nav {
                position: fixed;
                top: calc(env(safe-area-inset-top, 0px) + 10px);
                left: 0;
                right: 0;
                transform: none;
                display: flex;
                flex-direction: row;
                justify-content: center;
                gap: 24px;
                padding: 0 12px;
                z-index: 200;
            }
            .bubble { width: 56px; height: 56px; }
            .bubble .bubble-core { width: 36px; height: 36px; }
            .bubble .bubble-logo { width: 52px; height: 52px; }
            .bubble .bubble-label { display: none; }
            .bubble::before, .bubble::after { display: none; }

            /* Tablet: Aktive Bubble nur nach unten verschieben, nicht nach rechts */
            .bubble.active {
                transform: scale(1.08) translateY(4px);
                margin: 0;
            }
            .bubble.active .bubble-logo,
            .bubble.active .bubble-core {
                translate: 0 0;
            }
            .bubble.active .bubble-label {
                translate: 0 0;
            }
            .bubble.active.settled .orbit,
            .bubble.active.settled .orbit::before,
            .bubble.active.settled .bubble-glow {
                translate: 0 0;
            }
            
            .login-btn { top: calc(20px + 64px + env(safe-area-inset-top, 0px)); }
        }
        
        @media (max-width: 480px) {
            .logo img {
                max-width: 180px;
            }
            
            /* MOTD wird jetzt kontinuierlich über clamp() skaliert - keine Media Queries mehr */
            .server-content {
                min-width: 0;
                flex: 1;
            }
            
            .motd-container {
                min-width: 0;
                overflow: visible;
            }
            
            .subtitle {
                font-size: 1.2rem;
            }
            
            .server-ip {
                display: block;
                margin: 1rem 0;
            }
            
            .copy-btn {
                display: block;
                margin: 0.5rem auto 0 auto;
                width: fit-content;
            }
        }
        
        
        /* Login Button - Quadratisch mit Icon */
        .login-btn {
            position: fixed;
            top: 20px;
            right: 20px;
            background: linear-gradient(45deg, #8a9cff, #6b7cff);
            color: white;
            border: none;
            padding: 0;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(138, 156, 255, 0.3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .login-btn .login-icon {
            width: 20px;
            height: 20px;
            stroke: white;
            stroke-width: 2.5;
            flex-shrink: 0;
        }
        
        .login-btn:hover {
            background: linear-gradient(45deg, #6b7cff, #5a6bff);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(138, 156, 255, 0.4);
        }
        
        /* User Menu */
        .user-menu {
            position: fixed;
            top: 20px;
            right: 20px;
            display: none;
            align-items: center;
            z-index: 9999;
        }
        
        .user-menu-wrapper {
            position: relative;
        }
        
        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid rgba(138, 156, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
            object-fit: cover;
        }
        
        .user-avatar:hover {
            border-color: #8a9cff;
            transform: scale(1.1);
        }
        
        .user-menu-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: rgba(18, 20, 36, 0.95);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(138, 156, 255, 0.3);
            border-radius: 12px;
            min-width: 180px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            overflow: visible;
        }
        
        .user-menu-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .user-menu-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            color: #e9ecff;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            font-size: 0.9rem;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .user-menu-item:hover {
            background: rgba(138, 156, 255, 0.15);
        }
        
        .user-menu-item.admin-panel-item {
            color: #ffd93d;
        }
        
        .user-menu-item.admin-panel-item:hover {
            background: rgba(255, 217, 61, 0.15);
        }
        
        .user-menu-item.logout {
            color: #ff6b6b;
            border-top: 1px solid rgba(138, 156, 255, 0.2);
        }
        
        .user-menu-item.logout:hover {
            background: rgba(255, 107, 107, 0.15);
        }
        
        .user-menu-item-icon {
            width: 18px;
            height: 18px;
            opacity: 0.8;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            inset: 0;
            background: #000000;
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            opacity: 1;
            transition: opacity 0.5s ease-out;
            pointer-events: none;
        }
        .loading-screen.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .loading-screen.fade-out {
            animation: fadeOut 0.5s ease-out forwards;
        }
        @keyframes fadeOut {
            to { opacity: 0; visibility: hidden; }
        }
        .loading-logo {
            max-width: 200px;
            height: auto;
            margin-bottom: 2rem;
            filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
            animation: pulse 2s ease-in-out infinite;
        }
        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(255, 255, 255, 0.1);
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        .loading-text {
            margin-top: 1.5rem;
            color: #ffffff;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 0.95rem;
            letter-spacing: 1px;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        /* Großer Player Count Container - Transparent, oben einzeln */
        /* Diese Regel wurde in die .player-info-wrapper Sektion verschoben */
        
        /* Wrapper für Server-Status (ohne Player-Count) */
        .server-status-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
            align-items: flex-start;
            margin: 3rem 0 2rem 0;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .server-status-wrapper .minecraft-server-status {
            flex: 1;
            min-width: 300px;
            max-width: 680px;
            margin: 0;
        }
        
        .player-count-display:hover {
            transform: scale(1.02);
        }
        /* Alte .player-count-label, .player-count-number, .player-count-max Styles wurden in die .player-info-wrapper Sektion verschoben */
        .player-count-display.animate-join {
            animation: playerJoin 0.6s ease-out;
        }
        .player-count-display.animate-leave {
            animation: playerLeave 0.6s ease-out;
        }
        @keyframes playerJoin {
            0% { transform: scale(1); }
            50% { transform: scale(1.15); box-shadow: 0 0 40px rgba(138, 156, 255, 0.8), 0 0 60px rgba(138, 156, 255, 0.4); }
            100% { transform: scale(1); }
        }
        @keyframes playerLeave {
            0% { transform: scale(1); }
            50% { transform: scale(0.9); filter: brightness(0.7); }
            100% { transform: scale(1); }
        }
        .player-change-indicator {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #00ff88;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            font-weight: bold;
            color: #000;
            animation: pulseIndicator 1s ease-out;
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
        }
        .player-change-indicator.negative {
            background: #ff5555;
            box-shadow: 0 0 15px rgba(255, 85, 85, 0.6);
        }
        @keyframes pulseIndicator {
            0% { transform: scale(0); opacity: 0; }
            50% { transform: scale(1.2); opacity: 1; }
            100% { transform: scale(1); opacity: 0.8; }
        }
        @media (max-width: 768px) {
            .server-status-wrapper {
                flex-direction: column;
                gap: 16px;
            }
            .server-status-wrapper .minecraft-server-status {
                max-width: 100%;
            }
            .player-count-display {
                padding: 12px 16px;
                min-width: auto;
                margin: 1rem auto 0 auto;
            }
            .player-count-number {
                font-size: 2.5rem;
            }
            .player-count-max {
                font-size: 1rem;
            }
        }
        /* Kontakt Page - Linktree Style Buttons */
        .contact-button {
            position: relative;
        }
        
        .contact-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transition: left 0.5s;
        }
        
        .contact-button:hover::before {
            left: 100%;
        }
        
        .contact-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
            border-color: currentColor;
        }
        
        .contact-button:active {
            transform: translateY(-1px);
        }
        
        .contact-discord:hover {
            border-color: rgba(88, 101, 242, 0.6);
            box-shadow: 0 8px 24px rgba(88, 101, 242, 0.3);
        }
        
        .contact-question:hover {
            border-color: rgba(138, 156, 255, 0.6);
            box-shadow: 0 8px 24px rgba(138, 156, 255, 0.3);
        }
        
        .contact-bug:hover {
            border-color: rgba(255, 77, 77, 0.6);
            box-shadow: 0 8px 24px rgba(255, 77, 77, 0.3);
        }
        
        .contact-button svg:last-child {
            transition: transform 0.3s, opacity 0.3s;
        }
        
        .contact-button:hover svg:last-child {
            transform: translateX(4px);
            opacity: 1;
        }
        
        .contact-email a:hover {
            color: #a5b3ff;
        }
        
        .contact-email a:hover svg {
            transform: translateX(2px);
        }
        
        .contact-email a svg {
            transition: transform 0.2s;
        }
        
