/* Türk Talk – Sılayolu Rehberi · Styles (aus index.html ausgelagert 2026-07-02) */

        :root {
            --turk-red: #e30a17;
            --dark-bg: #000000;
            --card-bg: rgba(255, 255, 255, 0.07);
            --card-border: rgba(255, 255, 255, 0.18);
            --card-hover: rgba(255, 255, 255, 0.08);
        }

        body {
            background-color: var(--dark-bg);
            color: #ffffff;
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            min-height: 100vh;
        }

        /* Fixed Background Microphone */
        .bg-mic-overlay {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80vw;
            height: 80vh;
            opacity: 0.03;
            z-index: -1;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Standard-Linkrand mit 0 Spezifität → die Tailwind-Utilities border-l-4 / border-l-<farbe>
           (0,1,0) gewinnen und zeigen den farbigen 4px-Akzentrand. Ohne Utility bleibt der 1px-Standardrand. */
        :where(.glass-card) { border-left: 1px solid var(--card-border); }
        .glass-card {
            background: var(--card-bg);
            border-top: 1px solid var(--card-border);
            border-right: 1px solid var(--card-border);
            border-bottom: 1px solid var(--card-border);
            border-radius: 1.5rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(12px);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        .glass-card::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
            transition: 0.5s;
        }

        .glass-card:hover::before { left: 100%; }

        .glass-card:hover {
            background: var(--card-hover);
            transform: translateY(-3px);
            border-color: rgba(227, 10, 23, 0.4);
            box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
        }

        .section-title {
            text-align: center;
            font-weight: 800;
            font-size: 1.2rem;
            text-transform: uppercase;
            margin-bottom: 2rem;
            position: relative;
            letter-spacing: 0.15em;
            color: #aaa;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 2px;
            background: var(--turk-red);
        }

        .logo-placeholder {
            font-weight: 900;
            font-style: italic;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 1.5rem;
        }
        .logo-placeholder span { color: var(--turk-red); }

        .icon-container {
            width: 42px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.75rem;
            background: rgba(255, 255, 255, 0.05);
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .support-btn {
            background: var(--turk-red);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 1rem;
            font-weight: 800;
            font-size: 0.85rem;
            transition: all 0.3s;
            text-transform: uppercase;
            text-align: center;
        }

        /* Destek-Button (PayPal) — Blau-Verlauf + Logo */
        /* Destek + WhatsApp — gemeinsame Basis: flex-fülllend, skalierende Schrift, nie umbrechen */
        .destek-btn, .wa-btn {
            width: 100%;
            display: inline-flex; align-items: center; justify-content: center;
            gap: clamp(4px, 1.5vw, 10px);
            color: #fff;
            /* padding & font skalieren mit Viewport — nie zu groß, nie zu winzig */
            padding: clamp(1.2rem, 4vw, 1.7rem) clamp(0.4rem, 2vw, 1.8rem);
            font-size: clamp(0.62rem, 2.4vw, 0.95rem);
            border-radius: 1rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            text-decoration: none;
            transition: all 0.25s;
            white-space: nowrap;            /* Text nie umbrechen */
            min-width: 0;                   /* erlaubt Schrumpfen im Flex */
            overflow: hidden;
        }
        .destek-btn span, .wa-btn span {
            min-width: 0; overflow: hidden; text-overflow: ellipsis;
        }
        .destek-btn i, .wa-btn i { flex-shrink: 0; font-size: clamp(0.85rem, 3vw, 1.2rem); }
        .destek-btn { background: linear-gradient(135deg, #009cde, #0070ba 45%, #003087); box-shadow: 0 6px 20px rgba(0,112,186,0.35); }
        .wa-btn     { background: linear-gradient(135deg, #25d366, #128c7e 55%, #075e54); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
        .destek-btn:hover, .wa-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
        /* Bunq-Button (Zahlungsauswahl-Modal) */
        .bunq-btn {
            width:100%; display:inline-flex; align-items:center; justify-content:center; gap:10px;
            color:#fff; border:none; cursor:pointer; font-family:inherit; border-radius:1rem;
            font-weight:800; text-transform:uppercase; letter-spacing:0.02em; padding:1rem 1.2rem; font-size:0.95rem;
            background:linear-gradient(135deg,#ff2d87,#e6005c 55%,#b3004a); box-shadow:0 6px 20px rgba(230,0,92,0.35); transition:all .25s;
        }
        .bunq-btn:hover { filter:brightness(1.07); transform:translateY(-1px); }
        .bunq-btn i { font-size:1.1rem; flex-shrink:0; }
        /* Im Modal die Buttons in moderater Höhe (nicht die große Startseiten-CTA) */
        #destekModal .destek-btn { padding:1rem 1.2rem; font-size:0.95rem; }

        /* WhatsApp-Gate (Beitritts-Kontrolle) */
        .wa-gate-btn-green, .wa-gate-btn-yellow, .wa-gate-btn-gray {
            width:100%; display:inline-flex; align-items:center; justify-content:center; gap:8px;
            padding:1.45rem 1rem; border-radius:1rem; font-weight:800; font-size:0.92rem; color:#fff;
            border:none; cursor:pointer; font-family:inherit; transition:all .2s; text-align:center; line-height:1.25;
        }
        .wa-gate-btn-green  { background:linear-gradient(135deg,#25d366,#128c7e 55%,#075e54); box-shadow:0 6px 18px rgba(37,211,102,0.3); }
        .wa-gate-btn-yellow { background:linear-gradient(135deg,#f5c518,#eab308 55%,#b8870b); color:#1a1a1a; box-shadow:0 6px 18px rgba(234,179,8,0.3); }
        .wa-gate-btn-gray   { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); color:#cbd5e1; }
        .wa-gate-btn-green:hover, .wa-gate-btn-yellow:hover { filter:brightness(1.07); }
        .wa-gate-btn-green:disabled, .wa-gate-btn-yellow:disabled { opacity:0.45; pointer-events:none; cursor:default; filter:none; }
        .wa-gate-bar { width:100%; height:6px; border-radius:999px; background:rgba(255,255,255,0.1); overflow:hidden; margin:6px 0 12px; }
        .wa-gate-bar > i { display:block; height:100%; width:100%; border-radius:999px; background:linear-gradient(90deg,#25d366,#128c7e); }
        .wa-gate-link { display:block; width:100%; margin-top:10px; background:none; border:none; color:#6b7280; font-size:12px; font-weight:700; cursor:pointer; font-family:inherit; padding:6px; }
        .wa-gate-link:hover { color:#9ca3af; }
        .wa-gate-btn-decline { width:100%; display:inline-flex; align-items:center; justify-content:center; gap:8px; margin-top:10px; padding:1.25rem 1rem; border-radius:1rem; font-weight:800; font-size:0.9rem; background:rgba(239,68,68,0.12); border:1px solid rgba(239,68,68,0.4); color:#f87171; cursor:pointer; font-family:inherit; transition:all .2s; }
        .wa-gate-btn-decline:hover { background:rgba(239,68,68,0.2); }

        /* ===== Dichteres Layout (2026-06): mehr Inhalt, weniger Luft ===== */
        /* Bildschirmrand am Handy schmal (8px), ab Tablet wieder komfortabel */
        @media (max-width: 767px) {
            .page-view { padding-left: 8px !important; padding-right: 8px !important; padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
        }
        /* Engeres Innen-Padding der Kacheln (überschreibt Tailwind-Utilities) */
        .glass-card.p-6 { padding: 12px !important; }
        .glass-card.p-5 { padding: 12px !important; }
        .glass-card.p-4 { padding: 10px !important; }
        /* Etwas größere Schrift in den Haupt-Cockpit-Kacheln (mehr Wucht im gewonnenen Platz) */
        .glass-card .text-\[15px\] { font-size: 17px; }
        .glass-card .text-\[14px\] { font-size: 16px; }
        .glass-card .text-\[10px\] { font-size: 11px; }
        /* Icon-Container etwas kleiner, damit der Text-Bereich mehr Platz bekommt */
        .glass-card > .icon-container { padding: 8px !important; }

        .hidden-view { display: none; }

        .blueprint-bg {
            background: 
                linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.02) 75%, transparent 75%, transparent),
                rgba(255, 255, 255, 0.01);
            background-size: 30px 30px;
            border: 1px dashed rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            min-height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.2);
            font-size: 0.7rem;
            font-weight: bold;
            text-transform: uppercase;
        }

        .wait-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .wait-name { font-weight: 600; font-size: 1rem; }
        .wait-times { display: flex; gap: 1rem;}
        .time-box { font-weight: 800; color: #fff; }

        /* ===== Hervorgehobene „AI"-Kachel (Bild 9): Glow-Rahmen + Shimmer-Sweep ===== */
        .ai-tile { position: relative; overflow: hidden; isolation: isolate;
            border: 1px solid rgba(34,197,94,0.55);
            box-shadow: 0 0 0 1px rgba(34,197,94,0.15), 0 0 22px rgba(34,197,94,0.22);
            animation: ai-glow 2.6s ease-in-out infinite; }
        .ai-tile::after { content: ""; position: absolute; top: 0; left: -150%; width: 75%; height: 100%;
            background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
            transform: skewX(-18deg); animation: ai-shimmer 3.4s ease-in-out infinite; pointer-events: none; z-index: 1; }
        .ai-tile > * { position: relative; z-index: 2; }
        @keyframes ai-glow {
            0%,100% { box-shadow: 0 0 0 1px rgba(34,197,94,0.15), 0 0 18px rgba(34,197,94,0.18); }
            50%     { box-shadow: 0 0 0 1px rgba(34,197,94,0.35), 0 0 30px rgba(34,197,94,0.40); }
        }
        @keyframes ai-shimmer {
            0%   { left: -150%; }
            55%  { left: 150%; }
            100% { left: 150%; }
        }
        .ai-badge { display: inline-flex; align-items: center; gap: 4px;
            background: linear-gradient(90deg, #22c55e, #06b6d4); color: #04210f;
            font-size: 9px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase;
            padding: 2px 8px; border-radius: 999px; box-shadow: 0 0 10px rgba(34,197,94,0.45); }
        @media (prefers-reduced-motion: reduce) {
            .ai-tile { animation: none; } .ai-tile::after { animation: none; display: none; }
        }

        #toast {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            background: #222;
            color: #fff;
            padding: 0.8rem 1.5rem;
            border-radius: 2rem;
            font-size: 0.85rem;
            z-index: 1000;
            border: 1px solid var(--card-border);
        }

        .input-style {
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            color: white;
            border-radius: 0.75rem;
            padding: 0.75rem;
            width: 100%;
        }

        .sub-link-btn {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: 1.25rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.85rem;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.2s;
            color: #cbd5e1;
        }

        .sub-link-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        /* Vignette-Zeile: 1 Fahne links, Name+Preis 2-zeilig, Icon rechts */
        .vig-flag { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
        .vig-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
        .vig-name { font-weight: 700; color: #fff; line-height: 1.25; }
        .vig-info { color: #9ca3af; font-size: 0.75rem; margin-top: 2px; line-height: 1.3; }

        .pulse-mic {
            animation: pulse-mic 3s infinite;
        }
        
        @keyframes pulse-mic {
            0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(227,10,23,0)); }
            50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(227,10,23,0.3)); }
            100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(227,10,23,0)); }
        }
        
        .btn-maps {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.75rem 1rem;
            border-radius: 0.75rem;
            font-weight: bold;
            transition: all 0.2s;
        }
        
        .btn-maps:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .accordion-header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem;
            background: rgba(255,255,255,0.02);
            transition: background 0.2s;
        }
        
        .accordion-header:hover {
            background: rgba(255,255,255,0.05);
        }
        
        .report-btn {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            background: var(--turk-red);
            padding: 1rem;
            border-radius: 1rem;
            font-weight: bold;
            text-transform: uppercase;
            transition: transform 0.2s;
        }
        
        .report-btn:hover {
            transform: scale(1.02);
        }
        
        .route-visual img {
            width: 100%;
            height: auto;
            border-radius: 0.75rem;
            border: 1px solid rgba(255,255,255,0.1);
        }
        
        .hotel-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.05);
            padding: 1rem;
            padding-right: 2.4rem;
            border-radius: 0.75rem;
            display: block;
            position: relative;
            transition: all 0.2s;
        }

        .hotel-card:hover {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.2);
        }
        .hotelfav-star {
            position: absolute;
            top: 8px;
            right: 10px;
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            user-select: none;
            padding: 2px;
            z-index: 2;
        }
        /* Yazı boyutu / Schriftgrößen-Regler */
        #fontScaleCtl {
            position: fixed;
            top: 8px;
            right: 8px;
            z-index: 1500;
            display: flex;
            gap: 1px;
            background: rgba(18,18,20,0.72);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 999px;
            padding: 2px;
            box-shadow: 0 4px 14px rgba(0,0,0,0.35);
            opacity: 0.72;
            transition: transform 0.25s ease, opacity 0.25s ease;
        }
        #fontScaleCtl:hover, #fontScaleCtl:focus-within { opacity: 1; }
        .fontscale-btn {
            width: 26px;
            height: 26px;
            border: none;
            background: transparent;
            color: #9ca3af;
            font-weight: 900;
            line-height: 1;
            cursor: pointer;
            border-radius: 999px;
            font-family: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s, color 0.15s;
        }
        .fontscale-btn.active {
            background: rgba(227,10,23,0.9);
            color: #fff;
        }
        
        .item-card {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.05);
            padding: 1rem;
            border-radius: 0.75rem;
            display: block;
            transition: all 0.2s;
        }
        
        .item-card:hover {
            background: rgba(255,255,255,0.08);
            border-color: rgba(255,255,255,0.2);
        }
        
        .placeholder-note {
            color: rgba(255,255,255,0.3);
            font-size: 0.75rem;
            font-style: italic;
            text-align: center;
            padding: 2rem;
        }

        /* === FILTER PILLS & WAIT TIMES TABLE === */
        .filter-pills {
            display: flex;
            flex-wrap: nowrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
            overflow-x: auto;
            overflow-y: visible;
            padding: 3px 2px 10px 2px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            /* Fade-out rechts — zeigt an, dass noch mehr Pills kommen */
            -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 48px), transparent 100%);
            mask-image:         linear-gradient(to right, black 0%, black calc(100% - 48px), transparent 100%);
        }
        .filter-pills::-webkit-scrollbar { display: none; }
        .f-pill {
            flex-shrink: 0;
            padding: 0.48rem 1.05rem;
            border-radius: 100px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.05);
            color: #9ca3af;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
            white-space: nowrap;
            font-family: inherit;
        }
        .f-pill:active { transform: scale(0.94); }
        .f-pill:hover { background: rgba(255,255,255,0.1); color: #fff; }
        .f-active {
            background: rgba(227,10,23,0.2) !important;
            border-color: rgba(227,10,23,0.5) !important;
            color: #ff4d5a !important;
        }
        .list-row {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            gap: 8px;
            padding: 10px 12px;
            border-bottom: 1px solid rgba(255,255,255,0.04);
            align-items: center;
        }
        .list-row:last-child { border-bottom: none; }
        .list-col-eu  { /* left col */ }
        .list-col-name { text-align: center; min-width: 80px; }
        .list-col-tr  { text-align: right; }
        .country-group-head {
            padding: 8px 12px;
            background: rgba(255,255,255,0.03);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            text-align: center;
        }
        .cg-badge {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 100px;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }

        /* Handy-Optimierung: nur sehr schmale Bildschirme — Design auf normalen Geräten bleibt unverändert */
        @media (max-width: 380px) {
            .list-row { padding: 9px 8px; gap: 6px; }
            .list-col-name { min-width: 62px; }
            .cg-badge { font-size: 10px; padding: 3px 8px; letter-spacing: 0.04em; }
        }

        /* === REPORT MODAL === */
        .border-quick-btn {
            padding: 7px 6px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 12px;
            cursor: pointer;
            text-align: center;
            transition: background 0.15s, border-color 0.15s;
            color: #fff;
            font-family: inherit;
            width: 100%;
        }
        .border-quick-btn:active { transform: scale(0.97); }
        .border-sel {
            background: rgba(227,10,23,0.28) !important;
            border-color: rgba(227,10,23,0.85) !important;
            box-shadow: 0 0 18px rgba(227,10,23,0.38);
            transform: scale(1.03);
        }
        /* Länder-Chips im Report-Modal */
        .bc-chip {
            padding: 6px 11px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 999px;
            color: #d1d5db;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            font-family: inherit;
            white-space: nowrap;
            transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
        }
        .bc-chip:active { transform: scale(0.95); }
        .bc-chip-sel {
            background: rgba(227,10,23,0.18) !important;
            border-color: rgba(227,10,23,0.6) !important;
            color: #ff6470 !important;
        }
        .rpt-number-input {
            width: 100%;
            background: rgba(255,255,255,0.07);
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 0.75rem;
            padding: 0.75rem 1rem;
            color: #fff;
            font-family: inherit;
            font-size: 1rem;
            outline: none;
        }
        .rpt-number-input:focus { border-color: rgba(227,10,23,0.5); }
        .rpt-number-input::placeholder { color: #6b7280; }
        .rpt-selected {
            background: rgba(227, 10, 23, 0.22) !important;
            border-color: rgba(227, 10, 23, 0.65) !important;
            color: white !important;
        }
        /* EU (Avrupa) = blau leuchten, TR (Anavatan) = rot leuchten */
        #dirEU.rpt-selected {
            background: rgba(59, 130, 246, 0.22) !important;
            border-color: rgba(59, 130, 246, 0.75) !important;
            box-shadow: 0 0 20px rgba(59, 130, 246, 0.55), inset 0 0 12px rgba(59, 130, 246, 0.15) !important;
        }
        #dirTR.rpt-selected {
            box-shadow: 0 0 20px rgba(227, 10, 23, 0.5), inset 0 0 12px rgba(227, 10, 23, 0.15) !important;
        }
        .wt-sel {
            outline: 3px solid #ffffff;
            outline-offset: 0;
            box-shadow: 0 0 0 4px rgba(0,0,0,0.35), 0 0 18px rgba(255,255,255,0.4);
            transform: scale(1.05);
            filter: brightness(1.18);
            font-weight: 900 !important;
            position: relative;
            z-index: 1;
        }
        .q-sel  { outline: 2px solid rgba(255,255,255,0.75); outline-offset: 1px; background: rgba(255,255,255,0.12) !important; }

        /* Hizmetler: Länder-Filter-Pills */
        .hz-pills { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
        .hz-pill {
            padding:6px 13px; border-radius:999px;
            background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
            color:#cbd5e1; font-size:12px; font-weight:700; cursor:pointer;
            font-family:inherit; white-space:nowrap; transition:all .15s;
        }
        .hz-pill:hover { background:rgba(255,255,255,0.09); }
        .hz-pill.active { background:rgba(227,10,23,0.18); border-color:rgba(227,10,23,0.5); color:#fff; }

        /* Bekleme-Buttons: ordentliche Tap-Höhe (py-3 ist nicht in der kompilierten Tailwind-CSS) */
        .wt-btn { padding-top: 0.7rem; padding-bottom: 0.7rem; }
        .wt-quick:empty { display: none; }   /* Schnellreihe leer → weg (alles im 4-Spalten-Raster unten) */
        .wt-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
        .wt-quick .wt-btn { padding: 0.6rem 0.2rem; font-size: 0.8rem; }
        /* Bekleme-Süre-Auswahl: 4 Spalten, nur ~2 Reihen sichtbar (Rest scrollbar) — kompakt, „Gönder" bleibt erreichbar */
        .wt-scroll {
            max-height: 108px;
            overflow-y: auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            padding: 8px;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 12px;
            background: rgba(255,255,255,0.02);
            scroll-snap-type: y proximity;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }
        .wt-scroll .wt-btn { padding: 0.5rem 0.15rem; font-size: 0.78rem; }
        .wt-scroll::-webkit-scrollbar { width: 6px; }
        .wt-scroll::-webkit-scrollbar-track { background: transparent; }
        .wt-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 10px; }

        @keyframes slide-up {
            from { transform: translateY(100%); opacity: 0; }
            to   { transform: translateY(0);    opacity: 1; }
        }
        .animate-slide-up { animation: slide-up 0.3s cubic-bezier(0.22, 1, 0.36, 1); }

        /* Respect users who prefer reduced motion */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* Länderflaggen-Hilfsklasse */
        .fl {
            width: 30px;
            height: 22px;
            border-radius: 3px;
            display: inline-block;
            flex-shrink: 0;
        }
        .flag-group { display: flex; align-items: center; gap: 5px; flex-shrink: 0; margin-right: 12px; }

        /* Ana Sayfa bottom bar (sub-pages only) */
        #anaBackBar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0.5rem 1rem;
            padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
            text-align: center;
            background: linear-gradient(to top, rgba(0,0,0,0.95) 55%, transparent);
            z-index: 50;
            display: none;
            transition: transform 0.25s ease, opacity 0.25s ease;
        }
        #anaBackBar.visible { display: block; }
        .ana-back-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: auto;
            padding: 0.55rem 1.4rem;
            background: rgba(255,255,255,0.08);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(255,255,255,0.13);
            border-radius: 999px;
            font-weight: 800;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: white;
            transition: background 0.2s;
            cursor: pointer;
        }
        .ana-back-btn:active { background: rgba(255,255,255,0.15); }
        /* „Smart": beim Runterscrollen ausblenden, beim Hochscrollen/oben wieder einblenden */
        body.tt-chrome-hidden #fontScaleCtl { transform: translateY(-150%); opacity: 0; pointer-events: none; }
        body.tt-chrome-hidden #anaBackBar.visible { transform: translateY(150%); opacity: 0; pointer-events: none; }
        /* Extra bottom padding on sub-pages so content isn't hidden behind the bar */
        .page-view:not(#homePage) { padding-bottom: 3.5rem; }
    