        body {
            font-family: 'Inter', sans-serif;
            background-color: #000000;
            color: #F3EFE0;
            -webkit-tap-highlight-color: transparent;
        }

        .no-scrollbar::-webkit-scrollbar { display: none; }
        .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

        .app-container {
            max-width: 480px;
            margin: 0 auto;
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            height: 100vh;
            height: 100dvh;
            background-color: #000000;
            border-left: 1px solid #1A1A1A;
            border-right: 1px solid #1A1A1A;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        /* Content-Bereich (main + Overlays teilen sich diesen Slot zwischen
           Header und Nav). position:relative macht ihn zum Anker für die Overlays. */
        .content-area {
            position: relative;
            flex: 1 1 auto;
            min-height: 0;   /* wichtig, damit flex-Kind scrollen kann */
            overflow: hidden;
        }

        /* Overlays füllen NUR den Content-Bereich, nicht Header/Nav.
           Dadurch bleiben obere und untere Navbar auf jeder Ansicht sichtbar. */
        .panel-overlay {
            position: absolute;
            inset: 0;
            z-index: 30;
            background-color: #000000;
            overflow-y: auto;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        .panel-overlay::-webkit-scrollbar { display: none; }
        /* Sicherstellen, dass hidden immer greift (Tailwind-CDN-Reihenfolge) */
        .panel-overlay.hidden { display: none !important; }

        .tab-content { display: none; animation: fadeIn 0.3s ease-in-out; }
        .tab-content.active { display: block; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .fab {
            box-shadow: 0 4px 20px rgba(127, 239, 189, 0.25);
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
        }
        .fab { transform: translateY(-14px); }
        .fab:active { transform: translateY(-14px) scale(0.92); }
        .fab.open, .fab.open:active { transform: translateY(-14px) rotate(45deg); }

        .sheet-backdrop {
            position: absolute; inset: 0; z-index: 40;
            background: rgba(0,0,0,0.6); backdrop-filter: blur(2px);
            opacity: 0; pointer-events: none; transition: opacity 0.25s;
        }
        .sheet-backdrop.open { opacity: 1; pointer-events: auto; }
        .sheet {
            position: absolute; left: 0; right: 0; bottom: 0; z-index: 50;
            transform: translateY(105%);
            transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
        }
        .sheet.open { transform: translateY(0); }
        /* Legacy-Support: altes Add-Spot-Sheet über Container-Klasse */
        .sheet-open #sheet-backdrop { opacity: 1; pointer-events: auto; }
        .sheet-open #sheet { transform: translateY(0); }
        .spin { animation: spin 0.8s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        @keyframes heartPop {
            0% { transform: scale(1); }
            40% { transform: scale(1.35); }
            100% { transform: scale(1); }
        }
        .heart-pop { animation: heartPop 0.35s ease-out; }

        .toast {
            position: absolute; left: 50%; bottom: 96px; z-index: 60;
            transform: translate(-50%, 16px); opacity: 0;
            transition: transform 0.3s, opacity 0.3s;
            pointer-events: none;
        }
        .toast.show { transform: translate(-50%, 0); opacity: 1; }

        button:focus-visible {
            outline: 2px solid #7FEFBD;
            outline-offset: 2px;
            border-radius: 8px;
        }

        .pref-toggle {
            width: 44px; height: 26px; border-radius: 999px;
            background: #1A1A1A; border: 1px solid #262626;
            position: relative; flex-shrink: 0; transition: background 0.2s, border-color 0.2s;
        }
        .pref-toggle::after {
            content: ''; position: absolute; top: 2px; left: 2px;
            width: 20px; height: 20px; border-radius: 999px;
            background: #6b6b6b; transition: transform 0.2s, background 0.2s;
        }
        .pref-toggle[aria-checked="true"] {
            background: rgba(127, 239, 189, 0.2); border-color: rgba(127, 239, 189, 0.4);
        }
        .pref-toggle[aria-checked="true"]::after {
            transform: translateX(18px); background: #7FEFBD;
        }

        @media (prefers-reduced-motion: reduce) {
            .tab-content { animation: none; }
            * { transition-duration: 0s !important; }
        }

/* ===== Autocomplete-Dropdown (Airport/Airline) ===== */
.ac-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 60;
    background: #111111;
    border: 1px solid #1A1A1A;
    border-radius: 12px;
    overflow: hidden;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.ac-dropdown::-webkit-scrollbar { display: none; }
.ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #1A1A1A;
    transition: background 0.15s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover, .ac-item.active { background: #1A1A1A; }
.ac-code {
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #7FEFBD;
    background: rgba(127,239,189,0.1);
    border: 1px solid rgba(127,239,189,0.2);
    border-radius: 6px;
    padding: 2px 6px;
    shrink: 0;
    min-width: 44px;
    text-align: center;
}
.ac-text { min-width: 0; flex: 1; }
.ac-name {
    font-size: 13px;
    color: #F3EFE0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ac-sub {
    font-size: 11px;
    color: rgba(243, 239, 224, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
