/* =====================================================================
   SkyTech-RockSkills.de – "Frost" Design
   Eisiges Blau · klare UX · Desktop + Mobile
   ===================================================================== */

:root {
    --frost-950: #030b16;
    --frost-900: #071a2e;
    --frost-800: #0d2c4a;
    --frost-700: #123a60;
    --frost-600: #1b4d7a;
    --frost-500: #2b6ca3;
    --frost-400: #4a9fd6;
    --frost-300: #7ec4ea;
    --frost-200: #b3e2f7;
    --frost-100: #dff4fc;
    --frost-ice: #eefaff;
    --accent: #5ee6ff;
    --accent-glow: rgba(94, 230, 255, 0.35);
    --danger: #ff6b6b;
    --success: #5ee6a8;
    --text-main: #e9f6ff;
    --text-muted: #a9c6de;
    --radius: 14px;
    --radius-sm: 8px;
    --ticker-h: 36px;
    --mobile-nav-h: 62px;
    --shadow-ice: 0 8px 30px rgba(4, 20, 40, 0.55);
    --font: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: radial-gradient(ellipse at top, var(--frost-900) 0%, var(--frost-950) 65%);
    color: var(--text-main);
    font-family: var(--font);
}

a { color: var(--frost-300); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

/* ---------- Eigenes SVG-Icon-Set ---------- */
.icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    vertical-align: -0.2em;
}
.icon-badge .icon { width: 24px; height: 24px; color: #fff; }
.nav-ico { width: 1.2em; height: 1.2em; }

::selection { background: var(--accent-glow); color: #fff; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--frost-950); }
::-webkit-scrollbar-thumb { background: var(--frost-600); border-radius: 10px; }

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--frost-600) var(--frost-950); }

/* ---------- Layout-Grundgerüst ---------- */
.app-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}
@supports (height: 100dvh) {
    .app-shell { height: 100dvh; }
}

.top-bar { flex-shrink: 0; }

.layout-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.content-scroll {
    height: 100%;
    overflow-y: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.content-frame {
    flex: 1 0 auto;
    padding: 28px clamp(16px, 3vw, 40px);
    animation: fadeIn .4s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Header ---------- */
.site-header {
    position: relative;
    padding: 0;
    background: var(--frost-950);
    border-bottom: 1px solid var(--frost-700);
    overflow: hidden;
    line-height: 0;
}

.brand {
    display: block;
    width: 100%;
}

.brand-logo {
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
}

.header-actions {
    position: absolute;
    top: 14px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    background: rgba(3, 11, 22, 0.55);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--frost-600);
    background: var(--frost-800);
    color: var(--text-main);
    cursor: pointer;
    font-size: .92rem;
    font-weight: 600;
    transition: all .2s ease;
}
.btn:hover { background: var(--frost-700); border-color: var(--frost-400); color: #fff; }
.btn-primary {
    background: linear-gradient(135deg, var(--frost-500), var(--accent));
    border: none;
    color: #04141f;
    box-shadow: 0 4px 18px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.08); color: #04141f; }
.btn-ghost { background: transparent; border-color: var(--frost-700); }
.btn-danger { background: var(--danger); border: none; color: #2a0505; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 6px 12px; font-size: .8rem; }

/* ---------- Liveticker ---------- */
.liveticker {
    background: var(--frost-800);
    border-bottom: 1px solid var(--frost-700);
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.liveticker .tag {
    background: var(--accent);
    color: #04141f;
    font-weight: 800;
    font-size: .72rem;
    padding: 6px 12px;
    letter-spacing: .5px;
    flex-shrink: 0;
    z-index: 2;
}
.liveticker .track {
    display: inline-flex;
    gap: 60px;
    padding-left: 100%;
    animation: ticker 32s linear infinite;
    font-size: .85rem;
    color: var(--frost-100);
}
.liveticker:hover .track { animation-play-state: paused; }
@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ---------- Desktop-Navigation (links) ---------- */
.side-nav {
    background: linear-gradient(180deg, rgba(13,44,74,0.55), rgba(3,11,22,0.4));
    border-right: 1px solid var(--frost-800);
    padding: 22px 14px;
    height: 100%;
    overflow-y: auto;
}
.side-nav .nav-group-title {
    text-transform: uppercase;
    font-size: .68rem;
    letter-spacing: 1px;
    color: var(--frost-400);
    margin: 18px 8px 8px;
}
.side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.side-nav a:hover, .side-nav a.active {
    background: var(--frost-700);
    color: #fff;
}
.side-nav a.active { box-shadow: inset 3px 0 0 var(--accent); }

/* ---------- Footer (minimalistisch) ---------- */
.site-footer-mini {
    background: var(--frost-950);
    border-top: 1px solid var(--frost-800);
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: .82rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.footer-mini-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-mini-links a { color: var(--text-muted); }
.footer-mini-links a:hover { color: var(--accent); }
.footer-mini-copy { color: var(--frost-400); }

/* ---------- Popup-Modale: Impressum / AGB / Nutzungsbedingungen ---------- */
.legal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 16, 0.65);
    backdrop-filter: blur(3px);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.legal-overlay.open { opacity: 1; pointer-events: auto; }

.legal-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%);
    width: min(720px, 92vw);
    max-height: 84vh;
    overflow-y: auto;
    background: linear-gradient(160deg, var(--frost-900), var(--frost-950));
    border: 1px solid var(--frost-600);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    z-index: 201;
    padding: 30px 26px 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}
.legal-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}
.legal-modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: var(--frost-800);
    border: 1px solid var(--frost-600);
    color: var(--text-main);
    border-radius: 8px;
    width: 34px; height: 34px;
    cursor: pointer;
    margin-bottom: 10px;
}
.legal-modal-close:hover { background: var(--frost-700); }
.legal-modal-body { clear: both; }

/* ---------- Karten / Sections ---------- */
.card {
    background: linear-gradient(160deg, rgba(18,58,96,0.45), rgba(7,26,46,0.6));
    border: 1px solid var(--frost-700);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-ice);
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid-members {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}
.member-tile {
    padding: 16px 10px;
    text-align: center;
}
.member-tile h3 { font-size: .95rem; margin: 2px 0; }
.member-tile-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}
.member-tile-actions .btn { width: 100%; justify-content: center; }

/* ---------- Galerie in "Unsere Werke" ---------- */
.werke-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.werke-gallery img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--frost-700);
    cursor: pointer;
    transition: transform .15s ease;
    flex-shrink: 0;
}
.werke-gallery img:hover { transform: scale(1.08); }

/* ---------- Frei eingefügte Bilder im Seiteninhalte-System ---------- */
.page-content-image {
    margin: 20px 0;
    text-align: center;
}
.page-content-image img {
    max-width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--frost-700);
    box-shadow: var(--shadow-ice);
}
.page-content-image figcaption {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: .85rem;
}

/* ---------- Werbebanner-Zone (am Ende jeder Seite) ---------- */
.ad-banner-zone {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px dashed var(--frost-800);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}
.ad-banner {
    position: relative;
    display: block;
    max-width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--frost-700);
}
.ad-banner img { display: block; max-width: 100%; }
.ad-banner-label {
    position: absolute;
    top: 6px; right: 6px;
    background: rgba(3, 11, 22, 0.75);
    color: var(--text-muted);
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ---------- Kopierschutz (nicht im Admin-Panel) ---------- */
body:not(.admin-body) {
    -webkit-user-select: none;
    user-select: none;
}
body:not(.admin-body) input, body:not(.admin-body) textarea, body:not(.admin-body) [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}
body:not(.admin-body) img { -webkit-user-drag: none; user-drag: none; }

.copy-protect-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-16px);
    background: var(--frost-800);
    border: 1px solid var(--frost-600);
    color: var(--text-main);
    padding: 12px 22px;
    border-radius: 10px;
    font-size: .9rem;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-width: 90vw;
    text-align: center;
}
.copy-protect-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Lightbox für Galerie-Bilder ---------- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 16, 0.9);
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }
.lightbox-image {
    max-width: 88vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    border: 1px solid var(--frost-600);
}
.lightbox-close {
    position: absolute;
    top: 18px; right: 18px;
    background: var(--frost-800);
    border: 1px solid var(--frost-600);
    color: var(--text-main);
    border-radius: 8px;
    width: 40px; height: 40px;
    cursor: pointer;
    z-index: 1;
}
.lightbox-close:hover { background: var(--frost-700); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--frost-800);
    border: 1px solid var(--frost-600);
    color: var(--text-main);
    border-radius: 50%;
    width: 48px; height: 48px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav:hover { background: var(--frost-700); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 600px) {
    .lightbox-image { max-height: 62vh; }
    .lightbox-nav {
        width: 44px; height: 44px;
        font-size: 1.4rem;
        top: auto;
        bottom: 6vh;
        transform: none;
    }
    .lightbox-prev { left: 22%; }
    .lightbox-next { right: 22%; }
}

/* ---------- Präsentation als Popup (Iframe) ---------- */
.presentation-modal {
    width: min(1100px, 94vw);
    height: min(750px, 88vh);
    padding: 0;
    overflow: hidden;
}
.presentation-modal .legal-modal-close {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    float: none;
}
#presentationFrame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.hero {
    text-align: center;
    padding: 4px 20px 40px;
    margin-top: -22px;
    overflow-x: hidden;
}
.hero h1 {
    position: relative;
    z-index: 2;
    font-size: clamp(1.5rem, 7.6vw, 3.2rem);
    white-space: nowrap;
    margin: 0 auto 5mm;
    max-width: calc(700px + 10mm);
    color: var(--frost-600);
    text-shadow:
        -1.5px -1.5px 0 rgba(255, 255, 255, 0.9),
        1.5px -1.5px 0 rgba(255, 255, 255, 0.9),
        -1.5px 1.5px 0 rgba(255, 255, 255, 0.9),
        1.5px 1.5px 0 rgba(255, 255, 255, 0.9),
        0 4px 10px rgba(2, 8, 16, 0.6);
}
.hero p.lead { color: var(--text-muted); max-width: 700px; margin: 0 auto 24px; font-size: 1.05rem; line-height: 1.6; }
.hero-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: 18px auto 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-ice), 0 0 40px var(--accent-glow);
    border: 1px solid var(--frost-700);
}
@media (min-width: 901px) {
    .hero h1 { font-size: clamp(3rem, 5vw, calc(4.6rem + 5mm)); margin-bottom: 5mm; }
}

.page-title { margin-bottom: 6px; font-size: 1.9rem; }
.page-subtitle { color: var(--text-muted); margin-bottom: 28px; }

.icon-badge {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--frost-600), var(--frost-400));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* ---------- Formulare ---------- */
label { display: block; font-size: .85rem; color: var(--text-muted); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--frost-600);
    background: rgba(3, 11, 22, 0.6);
    color: var(--text-main);
    font-size: .95rem;
    font-family: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { resize: vertical; min-height: 110px; }

.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.toggle-pw {
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: var(--frost-300);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px;
}
.toggle-pw:hover { color: var(--accent); }

.checkbox-row { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.checkbox-row input { width: auto; }

/* Toggle-Switch (Schieberegler) für Ein/Aus-Einstellungen */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--frost-900);
}
.toggle-row:last-of-type { border-bottom: none; }
.toggle-row .toggle-label { font-size: .92rem; color: var(--text-main); }
.toggle-row .toggle-label .toggle-desc { display: block; font-size: .78rem; color: var(--text-muted); margin-top: 2px; }
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 27px;
    flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--frost-700);
    border: 1px solid var(--frost-600);
    transition: background-color .25s ease;
    border-radius: 34px;
}
.switch .slider::before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: transform .25s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.switch input:checked + .slider {
    background: linear-gradient(135deg, var(--frost-500), var(--accent));
    border-color: var(--frost-400);
}
.switch input:checked + .slider::before { transform: translateX(21px); }
.switch input:focus-visible + .slider { box-shadow: 0 0 0 3px var(--accent-glow); }

.form-hint { font-size: .8rem; color: var(--frost-400); margin-top: 4px; }

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: .9rem;
    border: 1px solid;
}
.alert-success { background: rgba(94,230,168,0.1); border-color: var(--success); color: var(--success); }
.alert-error { background: rgba(255,107,107,0.1); border-color: var(--danger); color: var(--danger); }
.alert-info { background: var(--accent-glow); border-color: var(--frost-400); color: var(--frost-100); }

.auth-wrap {
    max-width: 420px;
    margin: 40px auto;
    padding: 34px;
}
.auth-wrap h1 { text-align: center; font-size: 1.5rem; margin-bottom: 4px; }
.auth-wrap p.sub { text-align: center; color: var(--text-muted); margin-bottom: 24px; font-size: .9rem; }
.auth-links { text-align: center; margin-top: 18px; font-size: .87rem; color: var(--text-muted); }

/* ---------- Navigations-Reihenfolge (Einstellungen) ---------- */
.nav-order-list { list-style: none; padding: 0; margin: 0 0 20px; }
.nav-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid var(--frost-800);
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    background: rgba(255,255,255,0.02);
}
.nav-order-item .nav-order-label { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.nav-order-item .nav-order-arrows { display: flex; gap: 6px; }
.nav-order-item .nav-order-arrows button {
    background: var(--frost-800);
    border: 1px solid var(--frost-600);
    color: var(--text-main);
    border-radius: 6px;
    width: 30px; height: 30px;
    cursor: pointer;
    font-size: .85rem;
}
.nav-order-item .nav-order-arrows button:disabled { opacity: .3; cursor: default; }
.nav-order-item .nav-order-arrows button:hover:not(:disabled) { background: var(--frost-600); }

/* ---------- Tabellen (Admin) ---------- */
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--frost-800); }
th { color: var(--frost-300); font-weight: 600; }

/* ---------- Badges/Stats ---------- */
.stat-box { text-align: center; padding: 20px; }
.stat-box .num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-box .label { color: var(--text-muted); font-size: .85rem; }

/* =====================================================================
   MOBILE
   ===================================================================== */
.mobile-only { display: none; }
.desktop-only { display: block; }
.mobile-more-panel, .panel-overlay { display: none; }

@media (max-width: 900px) {
    .layout-body { grid-template-columns: 1fr; }
    .side-nav { display: none; }
    .desktop-only { display: none !important; }
    .mobile-only { display: block; }

    .site-footer-mini { padding-bottom: calc(var(--mobile-nav-h) + 20px); }

    /* Bottom-Nav */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: var(--mobile-nav-h);
        background: linear-gradient(180deg, rgba(13,44,74,0.9), var(--frost-950));
        border-top: 1px solid var(--frost-700);
        display: flex;
        z-index: 60;
        backdrop-filter: blur(12px);
    }
    .mobile-bottom-nav a, .mobile-bottom-nav button.more-btn {
        flex: 1;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px;
        color: var(--text-muted);
        font-size: .68rem;
        background: none; border: none; cursor: pointer;
        font-family: inherit;
    }
    .mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--accent); }
    .mobile-bottom-nav .ico { font-size: 1.25rem; }
    .mobile-bottom-nav .more-btn { order: 99; margin-left: auto; }

    /* Ausklapp-Panel für "Mehr" - schiebt sich von rechts rein, Navigation rutscht raus */
    .mobile-more-panel {
        display: block;
        position: fixed;
        top: 0; left: 0;
        width: min(78vw, 320px);
        height: 100%;
        background: linear-gradient(180deg, var(--frost-900), var(--frost-950));
        border-right: 1px solid var(--frost-700);
        box-shadow: 10px 0 40px rgba(0,0,0,0.5);
        transform: translateX(-100%);
        transition: transform .32s cubic-bezier(.4,0,.2,1);
        z-index: 80;
        overflow-y: auto;
        padding: 20px 16px 100px;
    }
    .mobile-more-panel.open { transform: translateX(0); }
    .mobile-more-panel a {
        display: flex; align-items: center; gap: 10px;
        padding: 12px 10px;
        border-radius: var(--radius-sm);
        color: var(--text-main);
        font-size: .95rem;
        border-bottom: 1px solid var(--frost-800);
    }
    .mobile-more-panel a:hover { background: var(--frost-800); }
    .mobile-more-panel .close-more {
        display:flex; justify-content: flex-end; margin-bottom: 10px;
        background:none;border:none;color:var(--text-muted); font-size:1.4rem; cursor:pointer;
    }
    .panel-overlay {
        display: block;
        position: fixed; inset: 0;
        background: rgba(2,8,16,0.55);
        z-index: 70;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s;
    }
    .panel-overlay.open { opacity: 1; pointer-events: auto; }

    .liveticker .track { animation-duration: 22s; }
    .hero { padding: 36px 16px 24px; }
    .header-actions { top: 8px; right: 8px; padding: 5px 7px; gap: 6px; }
    .brand-logo { height: 52px; max-width: 100%; }
}
