        :root {
            --bg-color: #f8fafc;
            --card-bg: #ffffff;
            --primary: #1ed760;      /* Spotify Yeşil */
            --apple: #a855f7;        /* Apple Mor */
            --youtube: #ff0000;      /* YouTube Kırmızı */
            --castbox: #f5a623;      /* Castbox Turuncu */
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
        }

        /* ══ GECE MODU ══ */
        body.dark-mode {
            --bg-color: #0f172a;
            --card-bg: #1e293b;
            --text-main: #f1f5f9;
            --text-muted: #94a3b8;
            --border: #334155;
        }
        body.dark-mode .tab-btn { background:#1e293b; color:#94a3b8; border-color:#334155; }
        body.dark-mode .tab-btn:hover { background:#334155; color:#f1f5f9; }
        body.dark-mode .tab-btn.active { background:#f1f5f9; color:#0f172a; border-color:#f1f5f9; }
        body.dark-mode .filter-btn { background:#1e293b; color:#f1f5f9; border-color:#334155; }
        body.dark-mode .filter-btn:hover { background:#334155; }
        body.dark-mode .filter-btn.active { background:#2563eb; color:#fff; border-color:#2563eb; }
        body.dark-mode input, body.dark-mode select, body.dark-mode textarea {
            background:#0f172a !important; color:#f1f5f9 !important; border-color:#334155 !important;
        }
        body.dark-mode input::placeholder { color:#475569; }
        body.dark-mode th { background:#0f172a; color:#94a3b8; }
        body.dark-mode table { background:#1e293b !important; }
        body.dark-mode tr td { background:#1e293b; color:#f1f5f9; }
        body.dark-mode tr:nth-child(even) td { background:#162032 !important; }
        body.dark-mode .info-popup { background:#1e293b; color:#f1f5f9; }
        body.dark-mode .info-popup-overlay { background:rgba(0,0,0,0.7); }

        /* ── Gece modu: sabit beyaz/açık arka planları düzelt ── */
        body.dark-mode .r-section { background:#1e293b !important; }
        body.dark-mode .r-kpi { background:#0f172a !important; border-color:#334155 !important; color:#f1f5f9 !important; }
        body.dark-mode .r-ev-item { background:#0f172a !important; border-color:#334155 !important; color:#f1f5f9 !important; }
        body.dark-mode .r-health-bar { background:#334155 !important; }
        body.dark-mode .r-badge.neu { background:#1e293b !important; color:#94a3b8 !important; border-color:#334155 !important; }
        body.dark-mode .r-consecutive { background:#2d1515 !important; border-color:#7f1d1d !important; color:#fca5a5 !important; }
        body.dark-mode .edit-btn { background:#1e3a5f !important; color:#93c5fd !important; }

        /* ── Küçük Resim Seçici ── */
        .appep-thumb-opt:hover { border-color: #a78bfa !important; box-shadow: 0 0 0 2px rgba(124,58,237,.15) !important; }
        body.dark-mode .appep-thumb-opt { border-color: transparent; }
        body.dark-mode .appep-thumb-opt:hover { border-color: #a78bfa !important; }
        body.dark-mode .delete-btn { background:#3b1212 !important; color:#fca5a5 !important; }
        body.dark-mode .btn-save { background:#14532d !important; color:#86efac !important; border-color:#166534 !important; }
        body.dark-mode .btn-load { background:#1e3a5f !important; color:#93c5fd !important; border-color:#1d4ed8 !important; }
        body.dark-mode .fastest-badge { background:#422006 !important; color:#fbbf24 !important; }
        body.dark-mode .badge.low { background:#3b1212 !important; color:#fca5a5 !important; }
        body.dark-mode .badge.mid { background:#3b2800 !important; color:#fcd34d !important; }
        body.dark-mode .badge.high { background:#14532d !important; color:#86efac !important; }

        /* ── Gece Modu: Gelişmeler / Arşiv timeline kartları ── */
        body.dark-mode [style*="background:#f0fdf4"],
        body.dark-mode [style*="background: #f0fdf4"] {
            background: #0d2a1a !important;
            color: var(--text-main) !important;
        }
        body.dark-mode [style*="background:#fff5f5"],
        body.dark-mode [style*="background: #fff5f5"] {
            background: #2a0d0d !important;
            color: var(--text-main) !important;
        }
        /* Nötr gri kartlar (arşiv/gelişmeler) */
        body.dark-mode [style*="background:#f8fafc"][style*="border-left"] {
            background: #1a2236 !important;
        }

        /* cmpBadge: açık yeşil/kırmızı badge'ler */
        body.dark-mode [style*="background:#dcfce7"] {
            background: rgba(74,222,128,0.15) !important;
            color: #4ade80 !important;
        }
        body.dark-mode [style*="background:#fee2e2"] {
            background: rgba(248,113,113,0.15) !important;
            color: #f87171 !important;
        }
        /* "Aşıldı!" badge */
        body.dark-mode [style*="background:#f0fdf4"][style*="border:1px solid #bbf7d0"] {
            background: rgba(74,222,128,0.12) !important;
            border-color: rgba(74,222,128,0.3) !important;
            color: #4ade80 !important;
        }
        /* Rapor senaryoları */
        body.dark-mode .r-scenario[style*="background:#fff5f5"] { background: #2a0d0d !important; }
        body.dark-mode .r-scenario[style*="background:#f0fdf4"] { background: #0d2a1a !important; }
        body.dark-mode .r-scenario[style*="background:#fffbeb"] { background: #271a05 !important; }

        /* Grade kartları - açık mavi/yeşil arka planlar */
        body.dark-mode [style*="background:#e0f2fe"] { background: #0c1e38 !important; }
        body.dark-mode [style*="background:#eff6ff"] { background: #0f1e3a !important; }
        body.dark-mode [style*="background:#dcfce7"] { background: #0d2a1a !important; }
        body.dark-mode [style*="background:#fefce8"] { background: #271a05 !important; }
        body.dark-mode [style*="background:#fff7ed"] { background: #2a1205 !important; }
        body.dark-mode [style*="background:#ede9fe"] { background: #1e0f2e !important; }

        /* Timeline nokta çerçevesi (border:2px solid #ffffff) */
        body.dark-mode [style*="border:2px solid #ffffff"] {
            border-color: var(--card-bg) !important;
        }
        body.dark-mode .platform-card[style*="background: rgb(240, 253, 244)"],
        body.dark-mode .platform-card[style*="background:rgb(240, 253, 244)"] { background: #0d2a1a !important; border-color: rgba(30,215,96,0.4) !important; }

        body.dark-mode .platform-card[style*="background: rgb(255, 245, 245)"],
        body.dark-mode .platform-card[style*="background:rgb(255, 245, 245)"] { background: #2a0d0d !important; border-color: rgba(255,0,0,0.4) !important; }

        body.dark-mode .platform-card[style*="background: rgb(255, 251, 235)"],
        body.dark-mode .platform-card[style*="background:rgb(255, 251, 235)"] { background: #271a05 !important; border-color: rgba(245,166,35,0.4) !important; }

        body.dark-mode .platform-card[style*="background: rgb(250, 245, 255)"],
        body.dark-mode .platform-card[style*="background:rgb(250, 245, 255)"] { background: #1e0f2e !important; border-color: rgba(168,85,247,0.4) !important; }

        /* Platform kart içindeki gri metin satırı (son 30 gün) */
        body.dark-mode .platform-card .p-gain[style*="background:#f1f5f9"],
        body.dark-mode .platform-card .p-gain[style*="background: #f1f5f9"] {
            background: rgba(255,255,255,0.06) !important;
            color: #94a3b8 !important;
        }
        /* Platform kart içindeki açık yazı rengi */
        body.dark-mode .platform-card [style*="color:#475569"] { color: #94a3b8 !important; }

        /* Platform kartı gece modu - arka plan açık renkler (genel) */
        body.dark-mode .platform-card[style*="background: #f0fdf4"] { background: #0d2a1a !important; }
        body.dark-mode .platform-card[style*="background: #faf5ff"] { background: #1e0f2e !important; }
        body.dark-mode .platform-card[style*="background: #fff5f5"] { background: #2a0d0d !important; }
        body.dark-mode .platform-card[style*="background: #fffbeb"] { background: #271a05 !important; }

        /* ── Gece modu: Master & Review ── */
        body.dark-mode .aw-master-stats-row { background: #0f172a !important; border-color: #334155 !important; }
        body.dark-mode .aw-master-stat-num { color: var(--aw-c4) !important; }
        body.dark-mode .aw-master-stat-label { color: #94a3b8 !important; }
        body.dark-mode .aw-master-stat-div { background: #334155 !important; }
        body.dark-mode .aw-master-card { background: #1e293b !important; border-color: #334155 !important; }
        body.dark-mode .aw-master-card.mastered { background: linear-gradient(135deg, #1e0f2e 0%, #2d1f4e 100%) !important; border-color: var(--aw-c3) !important; }
        body.dark-mode .aw-master-card-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-appbar-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-appbar-subtitle { color: #64748b !important; }
        body.dark-mode .aw-appbar-statsband { border-top: 1px solid #334155; }
        body.dark-mode .aw-appbar-stat-num { color: var(--aw-c4) !important; }
        body.dark-mode .aw-appbar-stat-num[style*="color:#dc2626"] { color: #f87171 !important; }
        body.dark-mode .aw-appbar-stat-num.green { color: #4ade80 !important; }
        body.dark-mode .aw-appbar-stat-label { color: #64748b !important; }
        body.dark-mode .aw-appbar-stat-div { background: #334155 !important; }
        body.dark-mode .aw-master-card-date { color: #64748b !important; }
        body.dark-mode .aw-master-progress-wrap { background: #334155 !important; }
        body.dark-mode .aw-master-thumb-icon { background: #2d1f4e !important; }
        body.dark-mode .aw-master-goto-btn-v2 { box-shadow: 0 2px 8px rgba(0,0,0,0.4) !important; }
        /* ── Gece Modu: Shell & İçerik Alanları ── */
        body.dark-mode .aw-shell { background: #0f172a !important; }
        body.dark-mode .aw-content { background: #0f172a !important; }
        body.dark-mode .aw-ep-filterbar { background: #0f172a !important; }
        body.dark-mode .aw-ep-filterbar::after { background: linear-gradient(to bottom, rgba(15,23,42,1), rgba(15,23,42,0)) !important; }
        body.dark-mode .aw-ep-filter-select { background-color: #1e293b !important; color: #f1f5f9 !important; border-color: #334155 !important; }
        body.dark-mode .aw-ep-filter-select.is-active { background-color: #2d1f4e !important; border-color: var(--aw-c1) !important; color: var(--aw-c4) !important; }
        body.dark-mode .aw-ep-card { background: #1e293b !important; border-color: #334155 !important; }
        body.dark-mode .aw-ep-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-ep-meta { color: #94a3b8 !important; }
        body.dark-mode .aw-ep-dur { color: #94a3b8 !important; }
        body.dark-mode .aw-ep-category { color: #64748b !important; }
        body.dark-mode .aw-ep-chevron { color: #64748b !important; }
        body.dark-mode .aw-ep-body { background: #162032 !important; border-top-color: #334155 !important; }
        body.dark-mode .aw-ep-body-text { color: #cbd5e1 !important; }
        body.dark-mode .aw-ep-complete-text { color: #94a3b8 !important; }
        body.dark-mode .aw-ep-complete-btn { background: #0f172a !important; border-color: #334155 !important; color: var(--aw-c4) !important; }
        body.dark-mode .aw-ep-complete-icon { color: #4ade80 !important; }
        body.dark-mode .aw-ep-empty, body.dark-mode .aw-content-placeholder { background: #1e293b !important; border-color: #334155 !important; color: #64748b !important; }
        /* ── Gece Modu: Ana Sayfa Suggest Kartları ── */
        body.dark-mode .aw-suggest-row { background: transparent !important; }
        body.dark-mode .aw-home-stats { background: #1e293b !important; }
        body.dark-mode .aw-home-stat-num { color: var(--aw-c4) !important; }
        body.dark-mode .aw-home-stat-label { color: #64748b !important; }
        body.dark-mode .aw-home-stat-div { background: #334155 !important; }
        body.dark-mode .aw-section-title { color: #94a3b8 !important; }
        /* ── Gece Modu: Bottom Nav ── */
        body.dark-mode .aw-bottomnav { background: #1e293b !important; border-top-color: #334155 !important; }
        body.dark-mode .aw-bottomnav-item { color: #64748b !important; }
        body.dark-mode .aw-bottomnav-item.active { color: var(--aw-c4) !important; }
        body.dark-mode .aw-bottomnav-item:active { background: #2d1f4e !important; }
        /* ── Gece Modu: Review & Master ── */
        body.dark-mode .aw-review-item { background: #1e293b !important; border-color: #334155 !important; }
        body.dark-mode .aw-review-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-review-meta { color: #94a3b8 !important; }
        body.dark-mode .aw-review-badge { background: #2d1f4e !important; color: var(--aw-c4) !important; }
        body.dark-mode .aw-review-when { color: #64748b !important; }
        body.dark-mode .aw-review-btn { background: #2d1f4e !important; color: var(--aw-c4) !important; border-color: #4c1d95 !important; }
        body.dark-mode .aw-review-header { background: #1e293b !important; border-color: #334155 !important; }

        /* ── Gece Modu: Drawer & Shell ── */
        body.dark-mode .aw-drawer { background: #1e293b !important; }
        body.dark-mode .aw-drawer-header { background: var(--aw-c1) !important; }
        body.dark-mode .aw-drawer-nav li { color: #f1f5f9 !important; }
        body.dark-mode .aw-drawer-nav li:hover { background: #334155 !important; color: var(--aw-c4) !important; }
        body.dark-mode .aw-drawer-nav li.active { background: #2d1f4e !important; color: var(--aw-c4) !important; }
        body.dark-mode .aw-drawer-divider { background: #334155 !important; }
        body.dark-mode .aw-drawer-footer { color: #475569 !important; border-top-color: #334155 !important; }
        body.dark-mode .aw-shell { background: #0f172a !important; }
        body.dark-mode .aw-appbar { background: #1e293b !important; border-bottom-color: #334155 !important; }
        body.dark-mode .aw-bottomnav { background: #1e293b !important; border-top-color: #334155 !important; }
        body.dark-mode .aw-bottomnav-item { color: #64748b !important; }
        body.dark-mode .aw-bottomnav-item.active { color: var(--aw-c4) !important; }
        body.dark-mode .aw-drawer-overlay { background: rgba(0,0,0,0.6) !important; }
        /* ── Gece Modu: Theme Toggle Row ── */
        body.dark-mode #aw-theme-label-container { background: #1e293b !important; }
        body.dark-mode [id^="aw-theme-label-"] { color: #f1f5f9 !important; }
        body.dark-mode [id^="aw-theme-icon-"] { color: #f1f5f9 !important; }
        /* ── Gece Modu: Home Screen Cards ── */
        body.dark-mode .aw-home-card { background: #1e293b !important; border-color: #334155 !important; color: #f1f5f9 !important; }
        body.dark-mode .aw-review-card { background: #1e293b !important; border-color: #334155 !important; }
        body.dark-mode .aw-review-card-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-section-title { color: #94a3b8 !important; }
        body.dark-mode .aw-master-cnt-num { color: var(--aw-c4) !important; }
        body.dark-mode .aw-master-hero-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-master-hero-sub { color: #64748b !important; }

        body.dark-mode .aw-review-stats-row { background: #0d2a1a !important; border-color: rgba(74,222,128,0.3) !important; }
        body.dark-mode .aw-review-stat-num { color: #4ade80 !important; }
        body.dark-mode .aw-review-stat-num.due { color: #f87171 !important; }
        body.dark-mode .aw-review-stat-div { background: rgba(74,222,128,0.3) !important; }
        body.dark-mode .aw-review-card { background: #1e293b !important; border-color: #334155 !important; }
        body.dark-mode .aw-review-card.due { background: #2a0d0d !important; border-color: rgba(248,113,113,0.4) !important; }
        body.dark-mode .aw-review-card-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-review-card-count { color: #64748b !important; }
        body.dark-mode .aw-review-thumb-icon { background: #0d2a1a !important; }
        body.dark-mode .aw-review-time.overdue { background: rgba(248,113,113,0.15) !important; color: #f87171 !important; }
        body.dark-mode .aw-review-time.pending { background: rgba(74,222,128,0.12) !important; color: #4ade80 !important; }
        body.dark-mode .aw-review-done-btn.disabled { background: #1e293b !important; color: #64748b !important; }
        body.dark-mode .aw-review-section-title { color: #94a3b8 !important; }
        body.dark-mode .aw-review-empty-title { color: #f1f5f9 !important; }
        body.dark-mode .aw-review-empty-sub { color: #64748b !important; }
        body.dark-mode .table-wrapper::-webkit-scrollbar-track { background:#1e293b; }
        body.dark-mode .chart-scroll-wrapper::-webkit-scrollbar-thumb,
        body.dark-mode .table-wrapper::-webkit-scrollbar-thumb { background:#475569; }

        /* Dinamik olarak oluşturulan içerikler için genel kural */
        body.dark-mode [style*="background:#fff"],
        body.dark-mode [style*="background: #fff"],
        body.dark-mode [style*="background:white"],
        body.dark-mode [style*="background: white"],
        body.dark-mode [style*="background:#f8fafc"],
        body.dark-mode [style*="background: #f8fafc"],
        body.dark-mode [style*="background:rgb(255, 255, 255)"],
        body.dark-mode [style*="background: rgb(255, 255, 255)"],
        body.dark-mode [style*="background:rgb(248, 250, 252)"],
        body.dark-mode [style*="background: rgb(248, 250, 252)"],
        body.dark-mode [style*="background:rgb(241, 245, 249)"],
        body.dark-mode [style*="background: rgb(241, 245, 249)"] {
            background: var(--card-bg) !important;
        }

        body.dark-mode [style*="color:#1e293b"],
        body.dark-mode [style*="color: #1e293b"] { color:#f1f5f9 !important; }

        body.dark-mode [style*="border-color:#e2e8f0"],
        body.dark-mode [style*="border: 1px solid #e2e8f0"],
        body.dark-mode [style*="border: 1px solid rgb(226, 232, 240)"],
        body.dark-mode [style*="border:1px solid #e2e8f0"] { border-color:#334155 !important; }

        /* Kart sıralama paneli */
        body.dark-mode [style*="background:#fff;z-index:10001"],
        body.dark-mode [style*="background:#fff;border-radius:12px"] { background:#1e293b !important; color:#f1f5f9 !important; }

        /* Gece modu: açık renkli inline arka planlar (card-settings, sort items) */
        body.dark-mode .sort-item { background:#1e293b !important; border-color:#334155 !important; }
        body.dark-mode .sort-item span { color:#f1f5f9 !important; }

        body:not(.eswt-app) {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            margin: 0;
            padding: 20px;
        }

        /* eswt-app body: sıfırla, shell kendi layout'unu yönetir */
        body.eswt-app {
            margin: 0;
            padding: 0;
            overflow: hidden;
            height: 100vh;
            background: #f5f4fb;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }

        /* Sekme Tasarımı */
        .tabs {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            gap: 6px;
            margin-bottom: 20px;
        }

        @media (max-width: 700px) {
            .tabs { grid-template-columns: 1fr 1fr; }
        }

        .tab-btn {
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 10px 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            border-radius: 8px;
            transition: all 0.2s;
            white-space: nowrap;
            text-align: center;
        }

        .tab-btn:hover { background: #e2e8f0; color: var(--text-main); }
        .tab-btn.active { background: var(--text-main); color: #ffffff; border-color: var(--text-main); }
        .tab-content { display: none; }
        .tab-content.active { display: block; }

        /* Kart ve Form Yapıları */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 24px;
        }

        /* ══ SECTION WRAPPERS — Unified card frame ══ */
        [data-card-id] > .card,
        [data-card-id] > .form-section,
        #weekly-goal-section,
        #weekly-goal-section > .card,
        #card-total-followers-wrap > .card,
        #card-target-followers-wrap > .card,
        #card-target-revenue-wrap > .card {
            border-radius: var(--card-radius) !important;
            border: var(--card-border) !important;
            box-shadow: var(--card-shadow) !important;
        }

        #weekly-goal-section {
            background: var(--card-bg);
            padding: 18px 20px;
            border-radius: var(--card-radius);
            border: var(--card-border);
            box-shadow: var(--card-shadow);
            margin-bottom: 24px;
        }
        :root {
            --card-radius: 14px;
            --card-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.04);
            --card-border: 1px solid var(--border);
            --card-padding: 20px;
        }

        .card,
        .form-section,
        .save-bar,
        .r-section,
        #dashboard-page-header {
            background: var(--card-bg);
            border-radius: var(--card-radius) !important;
            border: var(--card-border) !important;
            box-shadow: var(--card-shadow) !important;
            box-sizing: border-box;
        }

        .card {
            background: var(--card-bg);
            padding: var(--card-padding);
            border-radius: var(--card-radius);
            border: var(--card-border);
            box-shadow: var(--card-shadow);
            position: relative;
            box-sizing: border-box;
        }

        .card h3 { margin: 0 0 10px 0; font-size: 14px; color: var(--text-muted); text-transform: uppercase;}
        .card .value { font-size: 28px; font-weight: 700; }
        .card .subtext { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

        .form-section {
            background: var(--card-bg);
            padding: 24px;
            border-radius: var(--card-radius);
            border: var(--card-border);
            box-shadow: var(--card-shadow);
            margin-bottom: 24px;
        }

        #app-settings-page .form-grid { grid-template-columns: 1fr 1fr; min-width: 0; }
        #app-settings-page .form-grid * { min-width: 0; }
        #app-settings-page input, #app-settings-page select, #app-settings-page textarea { width: 100%; box-sizing: border-box; min-width: 0; }
        .form-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 16px;
            margin-bottom: 16px;
        }

        .form-group { display: flex; flex-direction: column; }
        .form-group label { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
        .form-group input { padding: 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }

        button.btn-primary {
            background: #2563eb; color: white; border: none; padding: 12px 24px;
            font-weight: 600; border-radius: 6px; cursor: pointer;
        }
        button.btn-primary:hover { background: #1d4ed8; }

        /* Grafik Düzeni */
        .charts-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 20px;
            width: 100%;
        }

        @media (max-width: 900px) {
            .charts-container { grid-template-columns: 1fr; }
        }

        .bar-card {
            max-width: 100%;
            overflow: visible;
            display: flex;
            flex-direction: column;
        }

        /* Zaman Birimi Filtre Butonları */
        .filter-group {
            display: flex;
            gap: 6px;
            margin-bottom: 15px;
        }

        .filter-btn {
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 6px 14px;
            font-size: 12px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            color: var(--text-main);
            transition: all 0.2s;
        }

        .filter-btn:hover { background: #e2e8f0; }
        .filter-btn.active { background: #2563eb; color: white; border-color: #2563eb; }
        /* Olay pinleri göster/gizle toggle */
        .ev-toggle-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--card-bg);
            border: 1px solid var(--border);
            padding: 6px 13px;
            font-size: 12px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            color: var(--text-main);
            transition: all 0.2s;
            user-select: none;
        }
        .ev-toggle-btn:hover { background: #e2e8f0; }
        .ev-toggle-btn.active {
            background: #fef9c3;
            color: #854d0e;
            border-color: #fde047;
        }
        body.dark-mode .ev-toggle-btn { background:#1e293b; color:#f1f5f9; border-color:#334155; }
        body.dark-mode .ev-toggle-btn:hover { background:#334155; }
        body.dark-mode .ev-toggle-btn.active { background:#3b2800; color:#fcd34d; border-color:#a16207; }


        /* HTML Tabanlı Sabit Lejant Alanı */
        .custom-legend-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            margin-bottom: 15px;
            padding: 4px 0;
            flex-wrap: wrap;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-main);
        }

        .legend-color-box {
            width: 30px;
            height: 12px;
            border-radius: 3px;
        }

        /* 🔒 ÇİFT KATMANLI BÖLÜNMÜŞ GRAFİK ALANI */
        .chart-split-view {
            display: flex;
            position: relative;
            width: 100%;
            height: 420px;
            overflow: visible;
        }

        /* 🛠️ Boşluk kaldırıldı ve sayıların tam sığması için dikey kanal optimize edildi */
        .chart-y-axis-sticky {
            width: 70px;
            height: 100%;
            flex-shrink: 0;
            position: relative;
            z-index: 10;
            background: var(--card-bg);
        }

        /* Sütunların kaydırıldığı sağ alan */
        .chart-scroll-wrapper {
            flex-grow: 1;
            overflow-x: auto;
            overflow-y: visible;
            padding-bottom: 10px;
            position: relative;
        }

        .chart-scroll-wrapper::-webkit-scrollbar, .table-wrapper::-webkit-scrollbar { height: 8px; width: 8px; }
        .chart-scroll-wrapper::-webkit-scrollbar-track, .table-wrapper::-webkit-scrollbar-track { background: var(--bg-color); border-radius: 4px; }
        .chart-scroll-wrapper::-webkit-scrollbar-thumb, .table-wrapper::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
        .chart-scroll-wrapper::-webkit-scrollbar-thumb:hover, .table-wrapper::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

        .chart-scroll-area {
            height: 100%;
            position: relative;
        }

        /* Tablo İçin Scroll Kutusu */
        .table-wrapper {
            width: 100%;
            overflow-x: auto;
            max-height: 400px;
            overflow-y: auto;
            border: 1px solid var(--border);
            border-radius: 8px;
            margin-top: 12px;
        }

        table { width: 100%; border-collapse: collapse; background: var(--card-bg); min-width: 600px; }
        th, td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
        th { background: var(--bg-color); color: var(--text-muted); font-size: 13px; position: sticky; top: 0; z-index: 2; }

        .action-btns { display: flex; gap: 4px; }
        .action-btn {
            border: none; padding: 4px 8px; font-size: 12px; font-weight: 600;
            border-radius: 4px; cursor: pointer; transition: background 0.2s;
        }
        .edit-btn { background: #eff6ff; color: #1d4ed8; }
        .edit-btn:hover { background: #dbeafe; }
        .delete-btn { background: #fef2f2; color: #b91c1c; }
        .delete-btn:hover { background: #fee2e2; }

        .badge { padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
        .badge.low { background: #fee2e2; color: #991b1b; }
        .badge.mid { background: #fef3c7; color: #92400e; }
        .badge.high { background: #dcfce7; color: #166534; }

        /* SAVE / LOAD BAR */
        .save-bar {
            display: flex;
            flex-direction: column;
            gap: 8px;
            background: var(--card-bg);
            border: var(--card-border);
            padding: 12px 16px;
            border-radius: var(--card-radius);
            box-shadow: var(--card-shadow);
            margin-bottom: 16px;
        }
        .save-bar-label {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            flex-shrink: 0;
        }
        .save-bar .sep { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; }
        .save-bar-top {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }
        .save-bar-bottom {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: flex-start;
        }
        .save-bar-row1 {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            flex: 1;
            min-width: 0;
        }
        .save-bar-row2 {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        #btn-fs-link {
            flex: 1;
            min-width: 180px;
            justify-content: center;
            font-size: 12px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .btn-save {
            background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0;
            padding: 5px 12px; font-size: 12px; font-weight: 700;
            border-radius: 6px; cursor: pointer; transition: all 0.2s;
            display: flex; align-items: center; gap: 4px; flex-shrink: 0;
        }
        .btn-save:hover { background: #bbf7d0; }
        .btn-load {
            background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe;
            padding: 5px 12px; font-size: 12px; font-weight: 700;
            border-radius: 6px; cursor: pointer; transition: all 0.2s;
            display: flex; align-items: center; gap: 4px; flex-shrink: 0;
        }
        .btn-load:hover { background: #bfdbfe; }
        .save-status {
            font-size: 11px; color: #94a3b8;
            font-style: italic; flex-shrink: 0; margin-left: auto;
        }
        .save-status.ok { color: #16a34a; }
        .save-status.err { color: #dc2626; }

        /* TAM SAYFA DETAY VIEW */
        .fullpage-view {
            display: none;
            position: fixed;
            inset: 0;
            background: var(--bg-color);
            z-index: 1000;
            overflow-y: auto;
            padding: 0;
            animation: slideIn 0.22s ease;
        }
        .fullpage-view.open { display: block; }
        @keyframes slideIn {
            from { opacity: 0; transform: translateY(24px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .fullpage-header {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #1e293b;
            color: #f8fafc;
            padding: 14px 20px;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        .fullpage-header h2 { margin: 0; font-size: 16px; font-weight: 700; flex: 1; }
        .btn-back {
            background: rgba(255,255,255,0.1);
            border: none;
            color: #f8fafc;
            padding: 7px 14px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: background 0.2s;
            flex-shrink: 0;
        }
        .btn-back:hover { background: rgba(255,255,255,0.2); }
        .fullpage-body {
            padding: 20px;
            max-width: 900px;
            margin: 0 auto;
            box-sizing: border-box;
            width: 100%;
        }
        @media (max-width: 500px) {
            .fullpage-body { padding: 12px; }
            .platform-cards-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
        }

        .platform-cards-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 24px;
        }
        .platform-card {
            border-radius: 10px;
            padding: 14px 16px;
            border: 1px solid var(--border);
        }
        .platform-card .p-name {
            font-size: 11px; font-weight: 700; text-transform: uppercase;
            margin-bottom: 6px; display: flex; align-items: center; gap: 6px;
        }
        .platform-card .p-count { font-size: 24px; font-weight: 800; }
        .platform-card .p-pct { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
        .platform-card .p-gain {
            font-size: 12px; font-weight: 700; margin-top: 6px;
            padding: 3px 8px; border-radius: 20px; display: inline-block;
        }
        .fastest-badge {
            font-size: 11px; background: #fef3c7; color: #92400e;
            padding: 2px 8px; border-radius: 20px; font-weight: 700;
        }
        .modal-chart-wrap { position: relative; height: 480px; margin-bottom: 8px; }
        #modalLineYAxis { height: 100% !important; width: 100% !important; }
        .clickable-card { cursor: pointer; transition: box-shadow 0.2s, transform 0.15s; }
        .clickable-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }

        /* BİLGİLENDİRME TOOLTIP */
        .info-btn {
            position: absolute; top: 10px; right: 10px;
            width: 18px; height: 18px; border-radius: 50%;
            background: rgba(100,116,139,0.15); border: none;
            font-size: 11px; font-weight: 800; color: #64748b;
            cursor: pointer; line-height: 18px; text-align: center;
            padding: 0; transition: background 0.2s;
        }
        .info-btn:hover { background: rgba(100,116,139,0.3); }
        /* ── Info Popup Overlay (mobil uyumlu, sürüklenebilir) ── */
        .info-popup-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 1999;
            background: rgba(0,0,0,0.35);
        }
        .info-popup-overlay.visible { display: block; }

        .info-popup {
            display: none;
            position: fixed;
            z-index: 2000;
            background: #1e293b;
            color: #f1f5f9;
            border-radius: 12px;
            padding: 0;
            font-size: 13px;
            line-height: 1.75;
            width: min(88vw, 300px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.45);
            pointer-events: auto;
            /* varsayılan: ekran ortası */
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            user-select: none;
        }
        .info-popup.visible { display: block; }
        .info-popup.dragging { transform: none; transition: none; }

        /* Tutamaç / başlık alanı */
        .info-popup-handle {
            background: #0f172a;
            border-radius: 12px 12px 0 0;
            padding: 8px 14px 8px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: grab;
            touch-action: none;
        }
        .info-popup-handle:active { cursor: grabbing; }
        .info-popup-drag-hint {
            font-size: 10px;
            color: #475569;
            letter-spacing: .4px;
        }
        .info-popup-close {
            background: none;
            border: none;
            color: #94a3b8;
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            padding: 0 0 0 10px;
            pointer-events: auto;
        }
        .info-popup-close:hover { color: #f1f5f9; }

        .info-popup-body {
            padding: 14px 16px 16px;
        }
        .info-popup b { color: #7dd3fc; }
        .platform-card { position: relative; }
        /* ══ EVENT PIN CSS ═══════════════════════════════════════════ */
        .ev-pin {
            position: absolute;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            z-index: 10;
            transform: translateX(-50%);
            pointer-events: auto;
        }
        .ev-pin-icon {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 2.5px solid #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.22);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            line-height: 1;
            transition: transform 0.15s;
        }
        .ev-pin:hover .ev-pin-icon { transform: scale(1.25); }
        /* Haftalık dağılım: tüm pin hover efekti yok, sadece ikon */
        #pieShareScrollArea .ev-pin:hover .ev-pin-icon { transform: none; }
        #pieShareScrollArea .ev-pin-icon:hover { transform: scale(1.25); }
        /* Sütun grafiği: aynı şekilde */
        #chartScrollArea .ev-pin:hover .ev-pin-icon { transform: none; }
        #chartScrollArea .ev-pin-icon:hover { transform: scale(1.25); }
        /* Büyüme trendi: aynı şekilde */
        #modalLineScrollArea .ev-pin:hover .ev-pin-icon { transform: none; }
        #modalLineScrollArea .ev-pin-icon:hover { transform: scale(1.25); }
        .ev-pin-line {
            width: 2px;
            background: currentColor;
            opacity: 0.35;
        }
        /* Event detay kartı */
        #ev-detail-card {
            display: none;
            position: fixed;
            z-index: 3000;
            background: #1e293b;
            color: #f1f5f9;
            border-radius: 14px;
            padding: 0;
            width: min(90vw, 310px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.45);
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #ev-detail-card.visible { display: block; }
        #ev-detail-card-handle {
            background: #0f172a;
            border-radius: 14px 14px 0 0;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        #ev-detail-card-body { padding: 14px 16px 16px; }
        #ev-detail-overlay {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 2999;
            background: rgba(0,0,0,0.3);
        }
        #ev-detail-overlay.visible { display: block; }
        /* ══ RAPOR CSS ══════════════════════════════════════════════ */
        @keyframes spin { to { transform:rotate(360deg); } }
        @keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
        @keyframes confetti-fall { 0%{transform:translateY(-10px) rotate(0deg);opacity:1} 100%{transform:translateY(60px) rotate(360deg);opacity:0} }

        .r-section { background:var(--card-bg);border:var(--card-border);border-radius:var(--card-radius);padding:20px 22px;margin-bottom:14px;box-shadow:var(--card-shadow);animation:fadeIn 0.3s ease; }
        .r-title { font-size:14px;font-weight:800;color:#1e293b;margin:0 0 14px 0;padding-bottom:10px;border-bottom:2px solid #f1f5f9;display:flex;align-items:center;gap:8px; }
        .r-kpi-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:14px; }
        .r-kpi { background:var(--bg-color);border:1px solid var(--border);border-radius:9px;padding:12px 14px;text-align:center; }
        .r-kpi-lbl { font-size:10px;font-weight:700;color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px; }
        .r-kpi-val { font-size:22px;font-weight:800;color:#1e293b;line-height:1; }
        .r-kpi-sub { font-size:10px;color:#64748b;margin-top:3px; }
        .r-badge { display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:7px;font-size:11px;font-weight:700;margin:3px 3px 3px 0; }
        .r-badge.up   { background:#f0fdf4;color:#15803d;border:1px solid #bbf7d0; }
        .r-badge.down { background:#fff5f5;color:#b91c1c;border:1px solid #fecaca; }
        body.dark-mode .r-badge.up   { background:rgba(74,222,128,0.12) !important; color:#4ade80 !important; border-color:rgba(74,222,128,0.3) !important; }
        body.dark-mode .r-badge.down { background:rgba(248,113,113,0.12) !important; color:#f87171 !important; border-color:rgba(248,113,113,0.3) !important; }
        .r-badge.warn { background:#fffbeb;color:#92400e;border:1px solid #fde68a; }
        .r-badge.info { background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe; }
        .r-badge.neu  { background:var(--card-bg);color:#475569;border:1px solid var(--border); }
        .r-badge.purple { background:#faf5ff;color:#7c3aed;border:1px solid #e9d5ff; }
        .r-commentary { background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-left:4px solid #2563eb;border-radius:9px;padding:13px 15px;margin-top:11px; }
        .r-commentary .r-com-title { font-size:10px;font-weight:800;letter-spacing:1px;color:#2563eb;text-transform:uppercase;margin-bottom:6px; }
        .r-commentary p { margin:4px 0;font-size:12.5px;line-height:1.65;color:#1e293b; }
        body.dark-mode .r-commentary { background: linear-gradient(135deg,#1e293b,#162032) !important; border-color:#334155 !important; }
        body.dark-mode .r-commentary p { color:#e2e8f0 !important; }
        .r-consecutive { background:#fff5f5;border:1px solid #fecaca;border-left:3px solid #dc2626;border-radius:8px;padding:7px 12px;font-size:12px;font-weight:600;color:#b91c1c;margin-top:7px; }
        .r-ev-list { display:flex;flex-direction:column;gap:5px;margin-top:9px; }
        .r-ev-item { display:flex;align-items:flex-start;gap:7px;background:var(--bg-color);border:1px solid var(--border);border-radius:7px;padding:7px 10px;font-size:12px; }
        .r-score-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:10px; }
        .r-score-card { border-radius:9px;padding:11px 13px;text-align:center; }
        .r-score-card .grade { font-size:28px;font-weight:900;line-height:1; }
        .r-score-card .grade-lbl { font-size:11px;font-weight:600;margin-top:3px; }
        .r-sparkline { display:flex;align-items:flex-end;gap:3px;height:40px;margin-top:8px; }
        .r-spark-bar { border-radius:3px 3px 0 0;min-width:10px;flex:1;transition:height .3s; }
        .r-milestone-banner { background:linear-gradient(135deg,#7c3aed,#2563eb);color:#fff;border-radius:10px;padding:14px 18px;text-align:center;margin-bottom:12px;animation:fadeIn .4s ease; }
        .r-milestone-banner .m-icon { font-size:32px; }
        .r-milestone-banner .m-text { font-size:15px;font-weight:700;margin-top:6px; }
        .r-heatrow { display:flex;gap:4px;margin-top:8px;flex-wrap:wrap; }
        .r-heat-cell { width:28px;height:28px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;color:#fff;cursor:default; }
        .r-scenario-row { display:flex;gap:10px;margin-top:10px;flex-wrap:wrap; }
        .r-scenario { flex:1;min-width:120px;border-radius:9px;padding:11px 13px;text-align:center; }
        .r-scenario .sc-lbl { font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px; }
        .r-scenario .sc-val { font-size:18px;font-weight:800; }
        .r-scenario .sc-sub { font-size:10px;margin-top:2px; }
        .r-health-bar { height:10px;border-radius:5px;background:var(--border);overflow:hidden;margin:6px 0; }
        .r-health-fill { height:100%;border-radius:5px;transition:width .6s ease; }
        .r-two-col { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
        @media(max-width:600px){ .r-two-col { grid-template-columns:1fr; } }
        @media print {
            * { -webkit-print-color-adjust:exact!important; print-color-adjust:exact!important; color-adjust:exact!important; }
            .tabs,.save-bar,button { display:none!important; }
            #report { display:block!important; }
            .r-section { break-inside:avoid; }
        }

        /* ══ QUARTERLY REVENUE SECTION ══ */
        #card-quarterly-revenue {
            background: var(--card-bg);
            padding: 18px 20px;
            border-radius: var(--card-radius);
            border: var(--card-border);
            box-shadow: var(--card-shadow);
        }

        .q-card {
            border-radius: var(--card-radius) !important;
            box-shadow: var(--card-shadow) !important;
        }

        /* ══════════════ Android Uygulama Görünümü — Beyaz Tema + Sol Şerit ══════════════ */
        /* ── Uygulama Teması — Renk Değişkenleri ──
           :root'a tanımlanır (sadece .aw-shell'e değil) çünkü dil/tema seçim
           pencereleri document.body'ye doğrudan ekleniyor (.aw-shell'in dışında).
           Bölüm kartlarının yanındaki kategori renkleri (.aw-cat-*) ve öneri
           kartları (.aw-sg-*) KASITLI olarak bu değişkenleri kullanmaz —
           onlar anlam taşıyan, sabit renklerdir ve tema değişse de değişmez. */
        :root {
            --aw-c1: #7c3aed;      /* ana marka rengi */
            --aw-c1-rgb: 124,58,237;
            --aw-c2: #a855f7;      /* açık/gradient tonu */
            --aw-c3: #6d28d9;      /* koyu metin tonu */
            --aw-c4: #a78bfa;      /* soluk ikon tonu */
            --aw-c5: #c4b5fd;      /* açık kenarlık tonu */
            --aw-c6: #ede9fe;      /* çok açık zemin tonu */
            --aw-c7: #f5f3ff;      /* en açık zemin tonu */
        }
        body.aw-theme-blue {
            --aw-c1: #2563eb; --aw-c1-rgb: 37,99,235; --aw-c2: #3b82f6; --aw-c3: #1d4ed8;
            --aw-c4: #60a5fa; --aw-c5: #93c5fd; --aw-c6: #dbeafe; --aw-c7: #eff6ff;
        }
        body.aw-theme-green {
            --aw-c1: #059669; --aw-c1-rgb: 5,150,105; --aw-c2: #10b981; --aw-c3: #047857;
            --aw-c4: #34d399; --aw-c5: #6ee7b7; --aw-c6: #d1fae5; --aw-c7: #ecfdf5;
        }
        body.aw-theme-pink {
            --aw-c1: #db2777; --aw-c1-rgb: 219,39,119; --aw-c2: #ec4899; --aw-c3: #be185d;
            --aw-c4: #f472b6; --aw-c5: #f9a8d4; --aw-c6: #fce7f3; --aw-c7: #fdf2f8;
        }
        body.aw-theme-orange {
            --aw-c1: #ea580c; --aw-c1-rgb: 234,88,12; --aw-c2: #f97316; --aw-c3: #c2410c;
            --aw-c4: #fb923c; --aw-c5: #fdba74; --aw-c6: #ffedd5; --aw-c7: #fff7ed;
        }
        .aw-shell {
            width: 100%;
            max-width: 100%;
            margin: 0;
            background: #f5f4fb;
            border-radius: 0;
            overflow: hidden;
            position: relative;
            height: var(--aw-vh, 100vh);
            min-height: var(--aw-vh, 100vh);
            box-shadow: none;
            font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
            display: flex;
            flex-direction: column;
        }

        /* aw-body-row mobilde dikey: appbar üst, content orta, bottomnav alt */
        .aw-body-row {
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            min-height: 0;
            position: relative;
            overflow: hidden;
        }
        /* ── YENİ APP BAR ── */
        .aw-desktop-header { display: none; }
        .nb-appbar {
            display: flex;
            align-items: center;
            height: calc(56px + env(safe-area-inset-top, 0px));
            padding-top: env(safe-area-inset-top, 0px);
            padding-left: 4px;
            padding-right: 16px;
            background: #ffffff;
            border-bottom: 1px solid #ede8f8;
            box-shadow: 0 1px 4px rgba(var(--aw-c1-rgb),0.07);
            position: relative;
            z-index: 10;
            flex-shrink: 0;
        }
        body.dark-mode .nb-appbar {
            background: #1e293b;
            border-bottom-color: #334155;
            box-shadow: 0 1px 4px rgba(0,0,0,0.18);
        }
        .nb-appbar-menu {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            cursor: pointer;
            border-radius: 50%;
            color: var(--aw-c1);
            font-size: 22px;
            flex-shrink: 0;
            transition: background 0.15s;
        }
        .nb-appbar-menu:active { background: #f3e8ff; }
        body.dark-mode .nb-appbar-menu { color: var(--aw-c4); }
        body.dark-mode .nb-appbar-menu:active { background: #2d1f4e; }
        .nb-appbar-title {
            flex: 1;
            font-size: 16px;
            font-weight: 700;
            color: #1e293b;
            letter-spacing: 0.1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-left: 4px;
        }
        body.dark-mode .nb-appbar-title { color: #f1f5f9; }
        .aw-content {
            padding: 14px;
            flex: 1 1 auto;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-y: contain;
            background: #f8f8fc;
            min-height: 0;
        }

        /* ── Bölüm listesi: Filtre / Sıralama çubuğu ── */
        .aw-ep-filterbar {
            position: sticky;
            top: -14px;
            z-index: 5;
            display: flex;
            gap: 8px;
            background: #f8f8fc;
            padding: 14px 0 10px;
            margin: -14px -14px 4px;
            padding-left: 14px;
            padding-right: 14px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            transition: transform .25s ease, opacity .25s ease;
            will-change: transform;
        }
        .aw-ep-filterbar.aw-filterbar-hidden {
            transform: translateY(-115%);
            opacity: 0;
        }
        .aw-ep-filterbar::-webkit-scrollbar { display: none; }
        .aw-ep-filterbar::after {
            content: '';
            position: absolute;
            left: 0; right: 0; bottom: 0;
            height: 8px;
            background: linear-gradient(to bottom, rgba(248,248,252,1), rgba(248,248,252,0));
            pointer-events: none;
            transform: translateY(100%);
        }
        .aw-ep-filter-select {
            appearance: none;
            -webkit-appearance: none;
            flex: 0 0 auto;
            border: 1.5px solid #e2e8f0;
            background: #ffffff;
            color: #1e293b;
            font-size: 12.5px;
            font-weight: 600;
            padding: 8px 28px 8px 12px;
            border-radius: 20px;
            white-space: nowrap;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%237c3aed' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center;
            min-width: 0;
            max-width: 160px;
            text-overflow: ellipsis;
        }
        .aw-ep-filter-select:focus { outline: none; border-color: var(--aw-c1); }
        .aw-ep-filter-select.is-active { border-color: var(--aw-c1); color: var(--aw-c1); background-color: var(--aw-c7); }

        .aw-content-placeholder {

            border: 1.5px dashed var(--aw-c5);
            border-radius: 14px;
            padding: 40px 16px;
            text-align: center;
            color: #94a3b8;
            font-size: 13px;
            background: #ffffff;
        }

        /* ── Ana Sayfa: Bölüm Kartları — Beyaz + Sol Şerit ── */
        .aw-ep-list { display: flex; flex-direction: column; gap: 10px; }
        .aw-ep-empty {
            border: 1.5px dashed var(--aw-c5);
            border-radius: 14px;
            padding: 36px 16px;
            text-align: center;
            color: #94a3b8;
            font-size: 13px;
            background: #ffffff;
        }
        .aw-ep-card {
            background: #ffffff;
            border: 1px solid #ede8f8;
            border-radius: 14px;
            overflow: hidden;
            transition: border-color .15s ease, box-shadow .15s ease;
            font-family: 'Roboto','Segoe UI',sans-serif;
            position: relative;
        }
        .aw-ep-card:hover { box-shadow: 0 2px 12px rgba(var(--aw-c1-rgb),0.10); border-color: var(--aw-c5); }
        /* Sol renkli şerit */
        .aw-ep-card::before {
            content: '';
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 4px;
            border-radius: 14px 0 0 14px;
        }
        .aw-cat-tech  .aw-ep-card::before,  .aw-cat-tech.aw-ep-card::before  { background: linear-gradient(180deg,#7c3aed,#a855f7); }
        .aw-cat-econ  .aw-ep-card::before,  .aw-cat-econ.aw-ep-card::before  { background: linear-gradient(180deg,#f59e0b,#fbbf24); }
        .aw-cat-pol   .aw-ep-card::before,  .aw-cat-pol.aw-ep-card::before   { background: linear-gradient(180deg,#10b981,#34d399); }
        .aw-cat-sci   .aw-ep-card::before,  .aw-cat-sci.aw-ep-card::before   { background: linear-gradient(180deg,#3b82f6,#60a5fa); }
        .aw-cat-other .aw-ep-card::before,  .aw-cat-other.aw-ep-card::before { background: linear-gradient(180deg,#7c3aed,#a855f7); }
        .aw-ep-header {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 14px 14px 14px 18px;
            cursor: pointer;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            color: inherit;
            font-family: inherit;
        }
        .aw-ep-icon {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
        }
        .aw-ep-icon svg { width: 22px; height: 22px; }
        .aw-cat-tech .aw-ep-icon  { background: #ede9fe; color: #7c3aed; }
        .aw-cat-econ .aw-ep-icon  { background: #fef3c7; color: #d97706; }
        .aw-cat-pol  .aw-ep-icon  { background: #d1fae5; color: #059669; }
        .aw-cat-sci  .aw-ep-icon  { background: #dbeafe; color: #2563eb; }
        .aw-cat-other .aw-ep-icon { background: #ede9fe; color: #7c3aed; }

        .aw-ep-info { flex: 1; min-width: 0; }
        .aw-ep-title {
            font-weight: 700;
            font-size: 14px;
            color: #1e293b;
            margin-bottom: 4px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            text-overflow: ellipsis;
            white-space: normal;
            line-height: 1.35;
            word-break: break-all;
            overflow-wrap: break-word;
        }
        .aw-ep-bottom-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 3px;
            gap: 6px;
        }
        .aw-ep-meta {
            font-size: 12px;
            font-weight: 600;
            flex-shrink: 0;
        }
        .aw-cat-tech  .aw-ep-meta { color: #7c3aed; }
        .aw-cat-econ  .aw-ep-meta { color: #d97706; }
        .aw-cat-pol   .aw-ep-meta { color: #059669; }
        .aw-cat-sci   .aw-ep-meta { color: #2563eb; }
        .aw-cat-other .aw-ep-meta { color: #7c3aed; }
        .aw-ep-meta .aw-ep-sep { color: #cbd5e1; }
        .aw-ep-meta .aw-ep-dur { color: #94a3b8; font-weight: 400; }
        .aw-ep-category {
            font-size: 11px;
            color: #94a3b8;
            text-align: right;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .aw-ep-chevron { flex-shrink: 0; color: var(--aw-c5); transition: transform .2s ease; }
        .aw-ep-card.open .aw-ep-chevron { transform: rotate(180deg); }

        .aw-ep-body { display: none; padding: 0 14px 16px 18px; border-top: 1px solid #f0ebff; }
        .aw-ep-card.open .aw-ep-body { display: block; padding-top: 14px; }

        .aw-ep-video {
            width: 100%;
            min-height: 160px;
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            border: none;
            margin-bottom: 12px;
        }
        .aw-cat-tech .aw-ep-video  { background: linear-gradient(135deg,#7c3aed,#a855f7); }
        .aw-cat-econ .aw-ep-video  { background: linear-gradient(135deg,#f59e0b,#fbbf24); }
        .aw-cat-pol  .aw-ep-video  { background: linear-gradient(135deg,#10b981,#34d399); }
        .aw-cat-sci  .aw-ep-video  { background: linear-gradient(135deg,#3b82f6,#60a5fa); }
        .aw-cat-other .aw-ep-video { background: linear-gradient(135deg,#7c3aed,#a855f7); }
        .aw-ep-playbtn {
            width: 52px; height: 52px; border-radius: 50%;
            background: rgba(255,255,255,0.92);
            display: flex; align-items: center; justify-content: center;
            color: var(--aw-c1); font-size: 20px;
        }
        .aw-ep-spotify-wrapper { position: relative; width: 100%; padding-top: 75%; /* 4:3 — Spotify embed header+footer dahil */ border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
        .aw-ep-spotify-frame { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; border: none; }
        /* Apple Podcasts embed sabit yükseklik ister (Spotify'ın oransal kutusuna sığdırılınca küçük kalıyordu) */
        .aw-ep-spotify-wrapper.is-apple { padding-top: 0; height: 175px; }
        .aw-ep-spotify-wrapper.is-apple .aw-ep-spotify-frame { height: 175px; position: relative; }
        .aw-ep-desc-wrap { margin-top: 10px; }
        .aw-ep-desc-toggle {
            width: 100%; display: flex; align-items: center; justify-content: space-between;
            background: none; border: none; padding: 8px 2px; margin: 0;
            font-size: 12.5px; font-weight: 700; color: var(--aw-c3); cursor: pointer; text-align: left;
            font-family: inherit;
        }
        .aw-ep-desc-chev { transition: transform .2s; font-size: 10px; color: var(--aw-c4); }
        .aw-ep-desc-wrap.open .aw-ep-desc-chev { transform: rotate(180deg); }
        .aw-ep-desc-wrap .aw-ep-desc { display: none; padding-top: 2px; }
        .aw-ep-desc-wrap.open .aw-ep-desc { display: block; }
        .aw-ep-desc { color: #64748b; font-size: 13px; line-height: 1.5; }
        body.dark-mode .aw-ep-desc-toggle { color: var(--aw-c5); }

        /* ── ÖZEL SES OYNATICI (Spotify/Apple embed yerine) ── */
        /* Görsel kontroller artık burada değil — Transkript panelinde, ses gizli <audio> ile çalınır */
        .aw-audio-hint {
            background: #f3e8ff;
            color: var(--aw-c1);
            border-radius: 10px;
            padding: 10px 14px;
            font-size: 12px;
            margin-bottom: 10px;
            text-align: center;
        }
        body.dark-mode .aw-audio-hint { background: rgba(var(--aw-c1-rgb),0.15); }

        /* ── PLAYER + ALTYAZI (artık akordeon değil, her zaman görünür) ── */
        .aw-transcript-panel { display: none; margin-bottom: 12px; }
        .aw-transcript-panel.open { display: block; }
        .aw-transcript-panel-inline { display: block; margin: 12px 0; }

        .aw-transcript-box {
            background: #faf9ff;
            border: 1.5px solid var(--aw-c6);
            border-radius: 14px;
            overflow: hidden;
        }
        body.dark-mode .aw-transcript-box { background: #1a1830; border-color: #332a5c; }
        .aw-t-addebug { display: none; font-size: 10.5px; color: #b45309; background: #fef3c7; padding: 5px 10px; text-align: center; font-family: monospace; word-break: break-word; }
        body.dark-mode .aw-t-addebug { color: #fbbf24; background: #3a2c0f; }

        .aw-t-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 11px 14px;
            border-bottom: 1px solid var(--aw-c6);
        }
        .aw-t-header.aw-t-header-bottom {
            border-bottom: none;
            border-top: 1px solid var(--aw-c6);
        }
        body.dark-mode .aw-t-header { border-bottom-color: #332a5c; }
        body.dark-mode .aw-t-header.aw-t-header-bottom { border-top-color: #332a5c; }
        .aw-t-header-title { font-size: 12px; font-weight: 700; color: var(--aw-c3); display: flex; align-items: center; gap: 6px; flex: 1; }
        body.dark-mode .aw-t-header-title { color: var(--aw-c5); }
        .aw-t-header-title .att-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aw-c4); }
        .aw-t-resync-btn {
            background: none; border: none; cursor: pointer;
            font-size: 11px; font-weight: 700;
            color: var(--aw-c1);
            padding: 0; line-height: 1;
            display: flex; align-items: center; gap: 3px;
            flex-shrink: 0; font-family: inherit;
            transition: opacity 0.15s;
        }
        .aw-t-resync-btn:active { opacity: 0.6; }
        .aw-t-resync-btn.synced { color: #10b981; }
        .aw-t-resync-btn .aw-resync-icon { font-size: 13px; line-height: 1; }
        .aw-t-action-group {
            display: flex; align-items: center; gap: 8px;
            background: var(--aw-c6);
            border-radius: 20px;
            padding: 5px 10px;
            flex-shrink: 0;
        }
        body.dark-mode .aw-t-action-group { background: #1e1640; }
        .aw-t-action-divider {
            width: 1px; height: 12px;
            background: var(--aw-c5);
            opacity: 0.35;
            flex-shrink: 0;
        }
        body.dark-mode .aw-t-action-divider { background: #4c3f7a; opacity: 0.6; }

        .aw-t-lang-btn {
            background: none; border: none; color: var(--aw-c3);
            font-size: 12px; font-weight: 700; padding: 0;
            display: flex; align-items: center; gap: 4px; cursor: pointer;
            font-family: inherit;
        }
        body.dark-mode .aw-t-lang-btn { color: var(--aw-c5); }
        .aw-t-lang-btn .att-lchev { font-size: 9px; color: var(--aw-c4); transition: transform .2s; }
        .aw-t-lang-btn.open .att-lchev { transform: rotate(180deg); }

        .aw-t-lang-wrap { position: relative; }

        /* ── Dil seçim popup'u: ekrana ortalanmış, scroll edilebilir tam modal ── */
        .aw-t-lang-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(15, 10, 35, .45);
            display: none; align-items: center; justify-content: center;
            z-index: 9000; padding: 24px 16px;
            -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
        }
        .aw-t-lang-overlay.open { display: flex; }
        .aw-t-lang-menu {
            position: relative;
            background: #fff; border: 1px solid var(--aw-c6); border-radius: 18px;
            width: 100%; max-width: 360px; max-height: min(72vh, 560px);
            box-shadow: 0 20px 60px rgba(var(--aw-c1-rgb),.28);
            display: flex; flex-direction: column;
            overflow: hidden;
            animation: aw-lang-pop .18s ease-out;
        }
        @keyframes aw-lang-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
        body.dark-mode .aw-t-lang-menu { background: #241f44; border-color: #3b2f6b; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
        .aw-t-lang-menu-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 14px 16px; border-bottom: 1px solid var(--aw-c6); flex-shrink: 0;
        }
        body.dark-mode .aw-t-lang-menu-header { border-bottom-color: #3b2f6b; }
        .aw-t-lang-menu-title { font-size: 15px; font-weight: 800; color: #1e1b3a; }
        body.dark-mode .aw-t-lang-menu-title { color: #f1f5f9; }
        .aw-t-lang-menu-close {
            width: 28px; height: 28px; border-radius: 50%; border: none;
            background: var(--aw-c7); color: var(--aw-c3); font-size: 15px; font-weight: 700;
            display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
        }
        body.dark-mode .aw-t-lang-menu-close { background: #332a5c; color: var(--aw-c5); }
        .aw-t-lang-menu-list {
            overflow-y: auto; -webkit-overflow-scrolling: touch;
            padding: 8px; flex: 1;
        }
        .aw-t-lang-opt { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; color: #1e293b; }
        body.dark-mode .aw-t-lang-opt { color: #f1f5f9; }
        .aw-t-lang-opt:active { background: var(--aw-c7); }
        .aw-theme-swatch { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,0.08); }
        .aw-settings-row {
            display: flex; align-items: center; justify-content: space-between; gap: 10px;
            padding: 14px 4px; border-bottom: 1px solid #f0ebff; cursor: pointer; text-align: left;
            background: none; border-left: none; border-right: none; border-top: none; width: 100%;
            font-family: inherit;
        }
        .aw-settings-row:last-child { border-bottom: none; }
        .aw-settings-row:active { background: var(--aw-c7); }
        .aw-settings-row-label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #1e293b; }
        .aw-settings-row-value { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #94a3b8; font-weight: 600; }
        body.dark-mode .aw-settings-row { border-bottom-color: #334155; }
        body.dark-mode .aw-settings-row-label { color: #f1f5f9; }
        body.dark-mode .aw-t-lang-opt:active { background: #332a5c; }
        .aw-t-lang-opt.active { color: var(--aw-c1); background: var(--aw-c7); }
        body.dark-mode .aw-t-lang-opt.active { color: var(--aw-c5); background: #332a5c; }
        .aw-t-lang-opt .att-check { font-size: 13px; opacity: 0; }
        .aw-t-lang-opt.active .att-check { opacity: 1; }

        .aw-t-viewport {
            height: 320px; overflow: hidden; position: relative;
            touch-action: none;
            /* Üst/alt kenarlardaki solma (mask-image) KASITLI olarak kaldırıldı —
               kullanıcı isteğiyle tüm görünür cümleler tam opaklıkta (100%) gösteriliyor,
               böylece aynı anda daha fazla cümle okunabilir oluyor. */
        }
        .aw-t-track { position: absolute; width: 100%; left: 0; top: 0; will-change: transform; }
        .aw-t-sentence { padding: 18px 18px; text-align: center; opacity: .9; }
        .aw-t-sentence.active { opacity: 1; }
        .aw-t-sentence-en { font-size: 14.5px; font-weight: 700; line-height: 1.45; margin-bottom: 6px; color: #1e293b; }
        .aw-t-sentence.active .aw-t-sentence-en { color: #1e293b; }
        body.dark-mode .aw-t-sentence-en { color: #f1f5f9; }
        body.dark-mode .aw-t-sentence.active .aw-t-sentence-en { color: #f1f5f9; }
        .aw-t-sentence-tr { font-size: 12.5px; font-weight: 500; color: var(--aw-c1); line-height: 1.4; }
        .aw-t-sentence.active .aw-t-sentence-tr { color: var(--aw-c1); }
        body.dark-mode .aw-t-sentence.active .aw-t-sentence-tr { color: var(--aw-c4); }
        body.dark-mode .aw-t-sentence-tr { color: var(--aw-c4); }

        .aw-t-progress-wrap { padding: 0 14px 10px; }
        .aw-t-progress-track { height: 3px; background: var(--aw-c6); border-radius: 2px; overflow: hidden; }
        body.dark-mode .aw-t-progress-track { background: #332a5c; }
        .aw-t-progress-fill { height: 100%; background: linear-gradient(90deg,var(--aw-c1),var(--aw-c4)); border-radius: 2px; }
        .aw-t-progress-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: #94a3b8; margin-top: 5px; }

        .aw-t-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 4px 14px 14px; }
        .aw-t-controls-left { display: flex; justify-content: flex-start; }
        .aw-t-controls-right { display: flex; justify-content: flex-end; }
        .aw-t-speed-group { display: flex; align-items: center; background: #fff; border: 1px solid var(--aw-c6); border-radius: 20px; padding: 3px; gap: 2px; flex-shrink: 0; }
        body.dark-mode .aw-t-speed-group { background: #241f44; border-color: #3b2f6b; }
        .aw-t-speed-btn { width: 26px; height: 26px; border: none; background: transparent; color: #94a3b8; font-size: 15px; font-weight: 700; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
        body.dark-mode .aw-t-speed-btn { color: #8b7bd8; }
        .aw-t-speed-val { font-size: 11.5px; font-weight: 700; color: #1e293b; min-width: 34px; text-align: center; }
        body.dark-mode .aw-t-speed-val { color: #f1f5f9; }

        .aw-t-center-controls { display: flex; align-items: center; gap: 16px; justify-self: center; }
        .aw-t-step-btn {
            width: 34px; height: 34px; border-radius: 50%; border: none;
            background: transparent; color: var(--aw-c1); cursor: pointer; flex-shrink: 0;
            display: flex; align-items: center; justify-content: center;
        }
        body.dark-mode .aw-t-step-btn { color: var(--aw-c5); }
        .aw-t-step-btn:active { background: var(--aw-c7); }
        body.dark-mode .aw-t-step-btn:active { background: #332a5c; }
        .aw-t-step-btn svg { width: 20px; height: 20px; }

        .aw-t-play-btn {
            width: 46px; height: 46px; border-radius: 50%; border: none;
            background: linear-gradient(135deg,var(--aw-c1),var(--aw-c3)); color: #fff;
            display: flex; align-items: center; justify-content: center; cursor: pointer;
            box-shadow: 0 4px 14px rgba(var(--aw-c1-rgb),.35); flex-shrink: 0;
        }
        .aw-t-play-btn svg { width: 18px; height: 18px; }

        .aw-t-empty { padding: 24px 18px; text-align: center; color: #94a3b8; font-size: 12.5px; line-height: 1.6; }
        body.dark-mode .aw-t-empty { color: #6b7390; }

        /* ── Transkript/ses henüz inmediyse gösterilen yer tutucu (her zaman tam player) ── */
        .aw-t-placeholder { height: 320px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; color: #94a3b8; }
        body.dark-mode .aw-t-placeholder { color: #6b7390; }
        .aw-t-placeholder-text { font-size: 12.5px; font-weight: 600; line-height: 1.5; }
        .aw-t-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--aw-c6); border-top-color: var(--aw-c1); animation: aw-t-spin .8s linear infinite; flex-shrink: 0; }
        body.dark-mode .aw-t-spinner { border-color: #332a5c; border-top-color: var(--aw-c4); }
        @keyframes aw-t-spin { to { transform: rotate(360deg); } }
        .aw-t-placeholder-icon { width: 28px; height: 28px; flex-shrink: 0; }

        /* ── Reklam arası göstergesi (tahmini reklam aralığında transkript donduğunda) ── */
        .aw-t-ad-notice {
            position: absolute; top: 0; left: 0; right: 0; z-index: 6;
            text-align: center; padding: 7px 10px; font-size: 12px; font-weight: 700;
            color: #fff; background: linear-gradient(90deg,var(--aw-c1),var(--aw-c4));
            display: none;
        }
        .aw-t-ad-notice.show { display: block; }
        .aw-t-step-btn.aw-t-disabled { opacity: .3; pointer-events: none; }

        /* ── İntroyu Geç butonu (Netflix benzeri "skip intro" — sadece bölüm
           başlangıcı ile ilk cümleden 8 sn öncesi arasında görünür) ── */
        .aw-t-skip-intro-btn {
            position: absolute; left: 12px; bottom: 12px; z-index: 6;
            display: none; align-items: center; gap: 6px;
            background: linear-gradient(135deg,var(--aw-c1),var(--aw-c3));
            color: #fff; border: none; border-radius: 20px;
            padding: 7px 14px 7px 9px; font-size: 11.5px; font-weight: 700;
            font-family: inherit; cursor: pointer;
            box-shadow: 0 4px 14px rgba(var(--aw-c1-rgb),.35);
        }
        .aw-t-skip-intro-btn.show { display: flex; }
        .aw-t-skip-intro-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
        .aw-t-skip-intro-btn:active { opacity: .8; }

        /* ── Tamponlama / bağlantı uyarı bandı ── */
        .aw-t-buffer-notice {
            display: flex; align-items: center; justify-content: space-between;
            gap: 8px; padding: 8px 14px; font-size: 12.5px; font-weight: 600;
            color: #92400e; background: #fef3c7; border-radius: 10px;
            margin: 8px 0 4px; animation: aw-t-fadein .25s ease;
        }
        .aw-t-buffer-notice[data-type="error"] {
            color: #991b1b; background: #fee2e2;
        }
        body.dark-mode .aw-t-buffer-notice { color: #fcd34d; background: #2d2000; }
        body.dark-mode .aw-t-buffer-notice[data-type="error"] { color: #fca5a5; background: #2d0a0a; }
        @keyframes aw-t-fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

        /* Play butonu tamponlama sırasında soluklaşır */
        .aw-t-play-btn.aw-t-buffering { opacity: 0.65; }

        /* Tekrar Dene butonu */
        .aw-t-retry-btn {
            margin-left: 10px; padding: 4px 12px;
            background: #dc2626; color: #fff; border: none;
            border-radius: 20px; font-size: 12px; font-weight: 700;
            cursor: pointer; flex-shrink: 0;
        }
        .aw-t-retry-btn:active { opacity: 0.8; }
        body.dark-mode .aw-t-retry-btn { background: #b91c1c; }

        /* Transkript yüklenemedi hatası */
        .aw-t-fetch-error {
            display: flex; align-items: center; justify-content: space-between;
            gap: 8px; padding: 14px 16px; font-size: 12.5px; font-weight: 600;
            color: #991b1b; background: #fee2e2; border-radius: 10px;
            margin: 12px 0; animation: aw-t-fadein .25s ease;
        }
        body.dark-mode .aw-t-fetch-error { color: #fca5a5; background: #2d0a0a; }


        /* ── Gece Modu: Embed iFrame karartma overlay ── */
        .aw-ep-spotify-wrapper::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 12px;
            pointer-events: none;
            opacity: 0;
            background: rgba(10,10,20,0.40);
            transition: opacity 0.3s;
            z-index: 2;
        }
        body.dark-mode .aw-ep-spotify-wrapper::after { opacity: 1; }
        body.dark-mode .aw-ep-spotify-wrapper { background: #0f172a; box-shadow: 0 0 0 1px #334155; }
        body.dark-mode .aw-ep-desc { color: #94a3b8; }

        /* ── Embed yükleniyor overlay ── */
        .aw-ep-embed-loading {
            position: absolute; inset: 0;
            border-radius: 12px;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            gap: 10px;
            background: linear-gradient(135deg,var(--aw-c1),var(--aw-c2));
            z-index: 1;
        }
        .aw-ep-embed-loading.aw-hidden { display: none; }
        .aw-ep-loading-thumb {
            width: 48px; height: 48px; border-radius: 10px;
            background: rgba(255,255,255,0.18);
            display: flex; align-items: center; justify-content: center;
            font-size: 22px;
        }
        .aw-ep-spinner {
            width: 22px; height: 22px;
            border: 3px solid rgba(255,255,255,0.35);
            border-top-color: #fff;
            border-radius: 50%;
            animation: aw-ep-spin 0.8s linear infinite;
        }
        @keyframes aw-ep-spin { to { transform: rotate(360deg); } }
        .aw-ep-loading-label {
            color: #fff; font-size: 12.5px; font-weight: 600;
            display: flex; align-items: center; gap: 8px;
        }
        .aw-ep-loading-sub { color: rgba(255,255,255,0.75); font-size: 11px; }
        .aw-ep-shimmer-row {
            position: absolute; left: 14px; right: 14px;
            height: 8px; border-radius: 4px;
            background: rgba(255,255,255,0.18);
            overflow: hidden;
        }
        .aw-ep-shimmer-row::after {
            content: '';
            position: absolute; inset: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
            animation: aw-ep-shimmer 1.4s infinite;
        }
        @keyframes aw-ep-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
        .aw-ep-shimmer-row.top { top: 14px; width: 60%; }
        .aw-ep-shimmer-row.bottom { bottom: 14px; width: 40%; }

        /* ── Senin İçin: öneri kartları ── */
        .aw-suggest-row {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 2px 2px 14px 2px;
            margin-bottom: 2px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            min-height: 110px;
            will-change: transform;
        }
        .aw-suggest-row::-webkit-scrollbar { display: none; }
        .aw-sg-review {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1.5px solid #86efac;
        }
        .aw-sg-review .aw-sg-tag { background: rgba(16,185,129,0.12); color: #059669; }
        .aw-sg-review .aw-sg-title { color: #065f46; }
        .aw-sg-review .aw-sg-sub { color: #34d399; }
        .aw-sg-review .aw-sg-icon { background: rgba(16,185,129,0.12); }
        .aw-suggest-card {
            flex: 0 0 auto;
            width: 200px;
            border-radius: 14px;
            padding: 14px;
            color: #fff;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            font-family: 'Roboto','Segoe UI',sans-serif;
            border: none;
        }
        .aw-sg-tag {
            font-size: 10px;
            font-weight: 800;
            letter-spacing: .06em;
            text-transform: uppercase;
            opacity: .85;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .aw-sg-title {
            font-size: 14px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .aw-sg-sub { font-size: 11.5px; opacity: .85; position: relative; z-index: 1; }
        .aw-sg-icon { position: absolute; right: -6px; bottom: -10px; font-size: 54px; opacity: .18; }
        .aw-sg-replay { background: linear-gradient(135deg,#7c3aed,#a855f7); }
        .aw-sg-new    { background: linear-gradient(135deg,#10b981,#34d399); }
        .aw-sg-daily  { background: linear-gradient(135deg,#f59e0b,#fbbf24); }
        .aw-sg-continue { background: linear-gradient(135deg,#2563eb,#3b82f6); }
        .aw-sg-install { background: linear-gradient(135deg,#0f766e,#14b8a6); }
        .aw-sg-guide  { background: linear-gradient(135deg,#4f46e5,#818cf8); }

        /* ── "Uygulamayı Telefonuna Ekle" basit görsel adımlar (gerçek ekran görüntüsü
               değil, sadece nereye dokunulacağını gösteren basit bir temsil) ── */
        .aw-install-step { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
        .aw-install-step:last-child { margin-bottom: 0; }
        .aw-install-visual {
            width: 84px; height: 64px; flex-shrink: 0; border-radius: 10px;
            background: #fff; box-shadow: 0 1px 5px rgba(0,0,0,0.10);
            position: relative; overflow: visible; display: flex; align-items: center; justify-content: center;
        }
        body.dark-mode .aw-install-visual { background: #1e293b; }
        .aw-install-step-num {
            position: absolute; top: -7px; left: -7px; width: 20px; height: 20px; border-radius: 50%;
            background: #ef4444; color: #fff; font-size: 11px; font-weight: 800;
            display: flex; align-items: center; justify-content: center; z-index: 2;
        }
        .aw-install-step-text { font-size: 12.5px; line-height: 1.45; flex: 1; }
        /* Tarayıcı çubuğu taklidi (üstte adres + ⋮ menüsü) */
        .aw-mock-browserbar { width: 68px; display: flex; align-items: center; gap: 4px; background: #f1f5f9; border-radius: 14px; padding: 5px 6px; }
        body.dark-mode .aw-mock-browserbar { background: #0f172a; }
        .aw-mock-urlpill { flex: 1; height: 7px; border-radius: 4px; background: #cbd5e1; }
        .aw-mock-dots {
            width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-weight: 900; font-size: 12px; color: #475569; background: #fff; position: relative; flex-shrink: 0;
        }
        body.dark-mode .aw-mock-dots { background: #1e293b; color: #cbd5e1; }
        .aw-mock-ring {
            position: absolute; inset: -5px; border: 2px solid #ef4444; border-radius: 50%;
            animation: awMockPulse 1.5s ease-out infinite;
        }
        @keyframes awMockPulse { 0% { transform: scale(0.85); opacity: 1; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
        /* Açılan menü taklidi, bir satır vurgulu */
        .aw-mock-menu { width: 78px; background: #f8fafc; border-radius: 8px; padding: 5px; border: 1px solid #e2e8f0; }
        body.dark-mode .aw-mock-menu { background: #0f172a; border-color: #334155; }
        .aw-mock-menu-row { height: 6px; border-radius: 3px; background: #e2e8f0; margin: 4px 4px; width: 60%; }
        body.dark-mode .aw-mock-menu-row { background: #334155; }
        .aw-mock-menu-row.hl {
            width: 90%; height: 16px; background: #dbeafe; border: 1.5px solid #3b82f6; border-radius: 5px;
            display: flex; align-items: center; justify-content: center; font-size: 6.3px; font-weight: 800; color: #1d4ed8; margin: 4px 2px;
        }
        body.dark-mode .aw-mock-menu-row.hl { background: rgba(59,130,246,0.18); color: #93c5fd; }
        /* Paylaş (share) ikonu taklidi — alt çubuk */
        .aw-mock-sharebar { width: 68px; display: flex; align-items: center; justify-content: center; background: #f1f5f9; border-radius: 14px; padding: 6px; }
        body.dark-mode .aw-mock-sharebar { background: #0f172a; }
        .aw-mock-share-icon { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; position: relative; }
        body.dark-mode .aw-mock-share-icon { background: #1e293b; }
        /* Ana ekran taklidi — uygulama ikonu eklenmiş */
        .aw-mock-home { display: flex; gap: 5px; }
        .aw-mock-app { width: 22px; height: 22px; border-radius: 6px; background: #cbd5e1; }
        body.dark-mode .aw-mock-app { background: #334155; }
        .aw-mock-app.new {
            background: linear-gradient(135deg,#0f766e,#14b8a6); display: flex; align-items: center; justify-content: center;
            font-size: 11px; position: relative; box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,0.2);
        }
        body.dark-mode .aw-mock-app.new { box-shadow: 0 0 0 2px #1e293b, 0 1px 4px rgba(0,0,0,0.3); }
        .aw-mock-app-badge {
            position: absolute; top: -5px; right: -5px; width: 13px; height: 13px; border-radius: 50%;
            background: #ef4444; color: #fff; font-size: 9px; font-weight: 900; display: flex; align-items: center; justify-content: center;
        }

        /* ── Tamamlandı sayacı ── */
        .aw-ep-complete-row {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
        }
        .aw-ep-complete-row.done { background: none; }
        .aw-ep-complete-status {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            font-weight: 700;
            color: #94a3b8;
        }
        .aw-ep-complete-row.done .aw-ep-complete-status { color: #059669; }
        .aw-ep-complete-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px; height: 16px;
            border-radius: 50%;
            background: #e2e8f0;
            color: #94a3b8;
            font-size: 9px;
            font-weight: 800;
            flex-shrink: 0;
        }
        .aw-ep-complete-row.done .aw-ep-complete-icon { background: #10b981; color: #fff; }
        .aw-ep-complete-btn {
            width: 22px; height: 22px;
            border-radius: 50%;
            border: none;
            background: #fff;
            color: #475569;
            font-size: 14px;
            font-weight: 700;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            cursor: pointer;
            flex-shrink: 0;
            padding: 0;
        }
        .aw-ep-complete-row.done .aw-ep-complete-btn { color: #059669; }
        .aw-ep-complete-btn:disabled { opacity: .35; cursor: default; }
        .aw-ep-complete-btn:active { transform: scale(0.94); }

        /* ══ MASTER EKRANI CSS ══ */
        .aw-master-header { padding: 16px 16px 8px; }
        .aw-master-hero { font-size: 48px; text-align: center; margin-top: 24px; }
        .aw-master-hero-title { font-size: 22px; font-weight: 800; text-align: center; color: #1e293b; margin-top: 8px; }
        .aw-master-hero-sub { font-size: 13px; color: #94a3b8; text-align: center; margin-top: 6px; line-height: 1.5; }
        .aw-master-stats-row { display: flex; align-items: center; justify-content: space-around; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 8px; }
        .aw-master-stat { flex: 1; text-align: center; }
        .aw-master-stat-num { font-size: 24px; font-weight: 800; color: var(--aw-c1); }
        .aw-master-stat-label { font-size: 11px; color: #64748b; margin-top: 2px; }
        .aw-master-stat-div { width: 1px; height: 36px; background: #e2e8f0; }

        .aw-master-list { display: flex; flex-direction: column; gap: 10px; padding: 12px 16px 24px; }
        .aw-master-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #ede8f8; border-radius: 14px; padding: 12px 14px; position: relative; overflow: hidden; }
        .aw-master-card.last-played { border-color: var(--aw-c1); box-shadow: 0 0 0 1px var(--aw-c1) inset; }
        .aw-master-lastplayed-tag {
            position: absolute; top: 0; right: 0;
            background: var(--aw-c1); color: #fff;
            font-size: 10.5px; font-weight: 800;
            padding: 3px 10px 3px 12px;
            border-radius: 0 0 0 10px;
            letter-spacing: 0.2px;
        }
        .aw-master-card.mastered { border-color: var(--aw-c4); background: linear-gradient(135deg, #faf5ff 0%, var(--aw-c6) 100%); }
        .aw-master-card.mastered::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--aw-c1), var(--aw-c2)); border-radius: 14px 0 0 14px; }
        .aw-master-thumb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
        .aw-master-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .aw-master-thumb-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: var(--aw-c6); display: flex; align-items: center; justify-content: center; font-size: 22px; }
        .aw-master-card-info { flex: 1; min-width: 0; }
        .aw-master-card-top { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; margin-bottom: 4px; justify-content: flex-start; }
        .aw-master-code { font-size: 11px; font-weight: 700; color: var(--aw-c1); background: var(--aw-c6); border-radius: 4px; padding: 1px 6px; }
        .aw-master-badge { font-size: 11px; font-weight: 700; border-radius: 20px; padding: 2px 8px; }
        .aw-master-badge.mastered { background: #fef3c7; color: #b45309; }
        .aw-master-badge.inprogress { background: var(--aw-c6); color: var(--aw-c1); }
        .aw-master-card-title { font-size: 13px; font-weight: 600; color: #1e293b; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
        .aw-master-card-date { font-size: 11px; color: #94a3b8; margin-top: 4px; }
        .aw-master-progress-wrap { height: 4px; background: #e2e8f0; border-radius: 4px; margin-top: 6px; overflow: hidden; }
        .aw-master-progress-bar { height: 100%; background: linear-gradient(90deg, var(--aw-c1), var(--aw-c2)); border-radius: 4px; transition: width 0.3s; }
        .aw-master-card-action { display: flex; align-items: center; flex-shrink: 0; }
        .aw-master-goto-btn-v2 {
            width: 44px; height: 44px; border-radius: 50%; border: none;
            background: linear-gradient(135deg, var(--aw-c1), var(--aw-c2));
            color: #fff; font-size: 15px; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.18); transition: transform 0.15s;
        }
        .aw-master-goto-btn-v2:active { transform: scale(0.92); }

        /* ══ REVIEW EKRANI CSS ══ */
        .aw-review-empty { padding: 48px 24px; text-align: center; }
        .aw-review-empty-icon { font-size: 48px; margin-bottom: 12px; }
        .aw-review-empty-title { font-size: 17px; font-weight: 700; color: #1e293b; }
        .aw-review-empty-sub { font-size: 13px; color: #94a3b8; margin-top: 8px; line-height: 1.5; }

        .aw-review-header { padding: 16px 16px 8px; }
        .aw-review-stats-row { display: flex; align-items: center; justify-content: space-around; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 14px 8px; }
        .aw-review-stat { flex: 1; text-align: center; }
        .aw-review-stat-num { font-size: 24px; font-weight: 800; color: #059669; }
        .aw-review-stat-num.due { color: #dc2626; }
        .aw-review-stat-label { font-size: 11px; color: #64748b; margin-top: 2px; }
        .aw-review-stat-div { width: 1px; height: 36px; background: #bbf7d0; }

        .aw-review-section-title { font-size: 13px; font-weight: 700; color: #64748b; padding: 12px 16px 4px; text-transform: uppercase; letter-spacing: 0.05em; }
        .aw-review-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 16px 16px; }
        .aw-review-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px; position: relative; overflow: hidden; }
        .aw-review-card.due { border-color: #fca5a5; background: #fff5f5; }
        .aw-review-card.due::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #ef4444, #f87171); border-radius: 14px 0 0 14px; }
        .aw-review-thumb { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
        .aw-review-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .aw-review-thumb-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: #dcfce7; display: flex; align-items: center; justify-content: center; font-size: 22px; }
        .aw-review-card-info { flex: 1; min-width: 0; }
        .aw-review-card-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
        .aw-review-code { font-size: 11px; font-weight: 700; color: var(--aw-c1); background: var(--aw-c6); border-radius: 4px; padding: 1px 6px; }
        .aw-review-time { font-size: 11px; font-weight: 600; border-radius: 10px; padding: 2px 8px; }
        .aw-review-time.overdue { background: #fee2e2; color: #dc2626; }
        .aw-review-time.pending { background: #f0fdf4; color: #059669; }
        .aw-review-card-title { font-size: 13px; font-weight: 600; color: #1e293b; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; margin-bottom: 6px; }
        .aw-review-card-count { font-size: 11px; color: #94a3b8; margin-bottom: 10px; }
        .aw-review-done-btn { display: block; width: 100%; padding: 9px; border-radius: 10px; border: none; background: #10b981; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; text-align: center; transition: background 0.15s; }
        .aw-review-done-btn:hover { background: #059669; }
        .aw-review-done-btn.disabled { background: #f1f5f9; color: #94a3b8; cursor: default; font-weight: 600; }
        .aw-drawer-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0,0,0,0.42);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease;
            z-index: 19;
        }
        .aw-drawer-overlay.open { opacity: 1; visibility: visible; }
        .aw-drawer {
            position: absolute;
            top: 0; bottom: 0; left: 0;
            width: 78%;
            max-width: 300px;
            background: #ffffff;
            transform: translateX(-105%);
            transition: transform 0.28s cubic-bezier(.4,0,.2,1);
            will-change: transform;
            z-index: 20;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 4px 0 18px rgba(0,0,0,0.2);
        }
        .aw-drawer.open { transform: translateX(0); }
        /* İçerik kaydırılabilir alan: tüm öğeler sığmazsa dikey scroll, scrollbar gizli */
        .aw-drawer-scroll {
            flex: 1 1 auto;
            min-height: 0;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        .aw-drawer-scroll::-webkit-scrollbar { display: none; }
        /* Drawer'ı aç/kapat için sabit 3 çizgili düğme — varsayılan gizli (mobilde appbar/overlay kullanılır) */
        .aw-drawer-toggle-btn {
            display: none;
            flex-shrink: 0;
            width: 100%;
            border: none;
            background: transparent;
            cursor: pointer;
            padding: 14px 0;
            font-size: 20px;
            line-height: 1;
            color: #64748b;
            border-top: 1px solid #e5e7eb;
        }
        .aw-drawer-toggle-btn:hover { background: var(--aw-c6); color: var(--aw-c1); }
        body.dark-mode .aw-drawer-toggle-btn { border-top-color: #334155; color: #94a3b8; }
        .aw-drawer-header {
            background: linear-gradient(135deg, var(--aw-c1), var(--aw-c3));
            color: #ffffff;
            padding: 28px 18px 18px;
            padding-top: calc(28px + env(safe-area-inset-top, 0px));
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .aw-drawer-avatar {
            width: 62px;
            height: 62px;
            border-radius: 50%;
            background: rgba(255,255,255,0.22);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            overflow: hidden;
            border: 2.5px solid rgba(255,255,255,0.5);
        }
        .aw-drawer-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        .aw-drawer-name { font-size: 15px; font-weight: 800; }
        .aw-drawer-user {
            font-size: 12px;
            font-weight: 700;
            opacity: 0.97;
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(0,0,0,0.16);
            border-radius: 8px;
            padding: 7px 11px;
            width: fit-content;
        }
        .aw-drawer-user .aw-drawer-signout {
            cursor: pointer;
            text-decoration: underline;
            opacity: 0.9;
        }
        .aw-drawer-nav {
            list-style: none;
            margin: 0;
            padding: 10px 0;
            flex: 1;
        }
        .aw-drawer-nav li {
            display: flex;
            align-items: center;
            gap: 18px;
            padding: 12px 22px;
            font-size: 14px;
            font-weight: 600;
            color: #334155;
            cursor: pointer;
            border-radius: 0 24px 24px 0;
            transition: background 0.15s, color 0.15s;
        }
        .aw-drawer-nav li:hover { background: var(--aw-c6); color: var(--aw-c1); }
        .aw-drawer-nav li.active { background: var(--aw-c6); color: var(--aw-c1); }
        .aw-drawer-nav li .aw-nav-icon { font-size: 18px; width: 22px; text-align: center; }
        .aw-drawer-divider { height: 1px; background: #e5e7eb; margin: 8px 18px; }
        .aw-drawer-footer {
            padding: 14px 22px;
            font-size: 11px;
            color: #94a3b8;
            border-top: 1px solid #e5e7eb;
        }

        /* Native uygulama hissi: dokunma, kaydırma, font davranışları */
        .aw-shell, .aw-shell * {
            font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
            -webkit-tap-highlight-color: transparent;
            box-sizing: border-box;
        }
        .aw-shell {
            overscroll-behavior: contain;
            -webkit-user-select: none;
            user-select: none;
        }

        .aw-icon-btn, .aw-drawer-nav li {
            transition: background 0.12s, color 0.12s, transform 0.08s;
        }
        .aw-icon-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.22); }
        .aw-drawer-nav li:active { background: var(--aw-c7); }
        .aw-drawer {
            scrollbar-width: none;
        }
        .aw-drawer::-webkit-scrollbar { display: none; }
        /* -webkit-overflow-scrolling:touch buradan kaldırıldı — modern Android
           WebView'da gerekli değil ve position:sticky + dinamik class toggle
           (.aw-ep-filterbar) ile birlikte kullanıldığında bazı WebView
           sürümlerinde scroll sırasında içeriğin boyanmayıp boş kalmasına
           (tam da ekran görüntüsündeki kesilmeye) yol açan bilinen bir hata. */

        /* Alt Navigasyon Çubuğu */
        .aw-bottomnav {
            flex-shrink: 0;
            display: flex;
            background: #ffffff;
            border-top: 1px solid #ede8f8;
            box-shadow: 0 -2px 8px rgba(var(--aw-c1-rgb),0.06);
            padding-bottom: env(safe-area-inset-bottom, 0px);
            z-index: 6;
        }
        .aw-bottomnav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 2px;
            padding: 9px 4px 8px;
            color: #94a3b8;
            cursor: pointer;
            transition: color 0.15s, background 0.12s;
        }
        .aw-bottomnav-item.active { color: var(--aw-c1); }
        .aw-bottomnav-item:active { background: #f3e8ff; }
        .aw-bn-icon { font-size: 20px; line-height: 1; }
        .aw-bn-label { font-size: 11px; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   ESWT — MASAÜSTÜ / TABLET GÖRÜNÜM (v4.41, tablet ayrımı v4.85)
   Mobil (< 768px): değişmez
   Küçük tablet (768-1023px) — örn. 7" tablet:
     • Üstte header bar
     • Drawer kapalı → 68px ikon şerit (açılırsa 240px ikon + metin)
     • Leaderboard kartı GİZLİ (yer kazanmak için)
   Büyük tablet (1024-1365px) — örn. 10" tablet (yatay dahil):
     • Drawer küçük tablet ile AYNI (ikon şeridi, aç/kapat düğmesi var)
     • Leaderboard kartı GÖRÜNÜR
     • Not: fare ile kullanılsa bile (örn. dar ekranlı laptop) bu davranış geçerli —
       PC moduna SADECE 1366px+ genişlikte geçilir (bkz. aşağıdaki PC sorgusu).
   PC / büyük ekran (≥ 1366px):
     • Drawer her zaman 240px açık, aç/kapat düğmesi yok
     • Leaderboard kartı görünür
   ══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {

    /* ── GENEL SAYFA ── */
    body {
        margin: 0 !important;
        padding: 0 !important;
        height: 100vh !important;
        overflow: hidden !important;
        background: #f1f5f9 !important;
        display: block !important;
    }
    body.dark-mode { background: #0a0f1a !important; }

    #app-root {
        /* Tüm uygulama (header+drawer+içerik+leaderboard) artık geniş ekranlarda
           kenardan kenara uzanmıyor; max-width ile sınırlandırıp ortalıyoruz —
           dar ekranlarda (max-width'ten dar) hiçbir fark yaratmaz, sadece geniş
           monitörlerde içerik sütununun gereksiz şişmesini önler. */
        width: 100% !important;
        max-width: 1600px !important;
        margin: 0 auto !important;
        height: 100vh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        background: transparent !important;
    }

    /* Shell: dikey flex — header üstte, body-row altta */
    .aw-shell {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        height: 100vh !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        background: #f1f5f9 !important;
        position: relative !important;
    }
    body.dark-mode .aw-shell { background: #0a0f1a !important; }

    /* ── DESKTOP HEADER BAR ── */
    .aw-desktop-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 64px !important;
        flex-shrink: 0 !important;
        padding: 0 20px 0 16px !important;
        background: var(--aw-c1) !important;
        color: #fff !important;
        z-index: 20 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }
    body.dark-mode .aw-desktop-header { background: var(--aw-c3) !important; }

    .aw-dh-left {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .aw-dh-logo-img {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2px solid rgba(255,255,255,0.4) !important;
        flex-shrink: 0 !important;
    }
    .aw-dh-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #fff !important;
        white-space: nowrap !important;
    }
    .aw-dh-right {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .aw-dh-userinfo {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: rgba(255,255,255,0.9) !important;
        white-space: nowrap !important;
    }
    .aw-dh-coffee {
        font-size: 20px !important;
        text-decoration: none !important;
        display: flex !important;
        align-items: center !important;
    }
    .aw-dh-signout {
        display: inline-block !important;
        background: rgba(255,255,255,0.15) !important;
        border: 1.5px solid rgba(255,255,255,0.5) !important;
        color: #fff !important;
        border-radius: 20px !important;
        padding: 6px 16px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        white-space: nowrap !important;
    }
    .aw-dh-signout:hover { background: rgba(255,255,255,0.25) !important; }

    /* ── BODY ROW: drawer | content | leaderboard ── */
    .aw-body-row {
        flex: 1 !important;
        display: flex !important;
        flex-direction: row !important;
        overflow: hidden !important;
        position: relative !important;
        min-height: 0 !important;
    }

    /* ── APPBAR & BOTTOM NAV: gizle ── */
    .nb-appbar    { display: none !important; }
    .aw-bottomnav { display: none !important; }

    /* ── DRAWER OVERLAY ── */
    .aw-drawer-overlay {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0,0,0,0.45) !important;
        z-index: 99 !important;
    }
    .aw-drawer-overlay.open { display: block !important; }

    /* ══ DRAWER: kapalı = 68px ikon şerit ══ */
    .aw-drawer {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 68px !important;
        height: 100% !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        background: #fff !important;
        border-right: 1px solid #e5e7eb !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.07) !important;
        overflow: hidden !important;
        z-index: 100 !important;
        margin-right: 28px !important;
        transform: none !important;
        transition: width 0.26s cubic-bezier(.4,0,.2,1) !important;
    }
    body.dark-mode .aw-drawer {
        background: #1e293b !important;
        border-right-color: #334155 !important;
    }

    /* Drawer açık: 240px */
    .aw-drawer.open {
        width: 240px !important;
        box-shadow: 4px 0 24px rgba(0,0,0,0.18) !important;
    }

    /* ── DRAWER HEADER: web görünümünde kullanılmıyor — kanal ikonu ve giriş/çıkış artık üst header'da olduğu için tamamen gizli, menü direkt header altından başlar ── */
    .aw-drawer-header {
        display: none !important;
    }
    .aw-drawer-name,
    .aw-drawer-user { display: none !important; }
    .aw-drawer-avatar img {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
    }
    .aw-drawer.open .aw-drawer-header {
        padding: 18px 16px 14px !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .aw-drawer.open .aw-drawer-name {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: rgba(255,255,255,0.95) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 190px !important;
    }
    .aw-drawer.open .aw-drawer-user { display: block !important; }
    .aw-drawer.open .aw-drawer-avatar img { width: 50px !important; height: 50px !important; }

    /* ── NAV: kapalı ── */
    .aw-drawer-nav li {
        padding: 13px 0 !important;
        justify-content: center !important;
        border-radius: 0 !important;
        gap: 0 !important;
        position: relative !important;
        overflow: visible !important;
    }
    .aw-drawer-nav li > span:not(.aw-nav-icon) { display: none !important; }
    .aw-drawer-nav li .aw-nav-icon { font-size: 22px !important; width: auto !important; margin: 0 !important; }

    /* ── NAV: açık ── */
    .aw-drawer.open .aw-drawer-nav li {
        padding: 12px 22px !important;
        justify-content: flex-start !important;
        border-radius: 0 24px 24px 0 !important;
        gap: 14px !important;
    }
    .aw-drawer.open .aw-drawer-nav li > span:not(.aw-nav-icon) { display: inline !important; white-space: nowrap !important; }
    .aw-drawer.open .aw-drawer-nav li .aw-nav-icon { font-size: 18px !important; width: 22px !important; flex-shrink: 0 !important; }

    /* ── TEMA TOGGLE: kapalı ── */
    [id^="aw-theme-row-"] {
        padding: 10px 0 !important;
        justify-content: center !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
    }
    [id^="aw-theme-row-"] > div:first-child { gap: 0 !important; }
    [id^="aw-theme-row-"] > div:first-child > span:last-child { display: none !important; }

    .aw-drawer.open [id^="aw-theme-row-"] {
        padding: 10px 20px 10px 18px !important;
        justify-content: space-between !important;
    }
    .aw-drawer.open [id^="aw-theme-row-"] > div:first-child { gap: 10px !important; }
    .aw-drawer.open [id^="aw-theme-row-"] > div:first-child > span:last-child { display: inline !important; }

    .aw-drawer-divider { margin: 4px 8px !important; }
    .aw-drawer.open .aw-drawer-divider { margin: 6px 16px !important; }

    .aw-drawer-footer { display: none !important; }
    .aw-drawer.open .aw-drawer-footer { display: block !important; white-space: nowrap !important; }

    /* Drawer'ı aç/kapat için sabit alt düğme (tablet: ikon şeridi <-> genişletilmiş) */
    .aw-drawer-toggle-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* ══ CONTENT ══ */
    .aw-content {
        flex: 1 !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: #f1f5f9 !important;
        padding: 0 28px 0 0 !important;
        min-width: 0 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .aw-content::-webkit-scrollbar { display: none !important; }
    body.dark-mode .aw-content { background: #0a0f1a !important; }

    .aw-ep-filterbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 8 !important;
        background: #f1f5f9 !important;
        /* Mobildeki "-14px" negatif margin hilesi (üst boşluğa karışsın diye) burada
           geçersiz: tablet/masaüstünde .aw-content'in padding düzeni farklı, bu yüzden
           o offset çubuğu yukarı kaydırıp altındaki öneri kartlarıyla çakıştırıyordu. */
        margin: 0 0 4px !important;
    }
    body.dark-mode .aw-ep-filterbar { background: #0a0f1a !important; }

    /* ══ ÖNERİ KARTLARI (Faster Access / Listen Again / Closest to Master vb.): web görünümünde yatay kaydırma ══ */
    .aw-suggest-row {
        flex-wrap: nowrap !important;
        gap: 16px !important;
        padding: 4px 4px 18px 4px !important;
        margin-bottom: 4px !important;
        min-height: 0 !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .aw-suggest-row::-webkit-scrollbar { display: none !important; }
    .aw-suggest-card {
        flex: 0 0 300px !important;
        width: 300px !important;
        min-width: 300px !important;
        max-width: 300px !important;
        padding: 22px !important;
        border-radius: 18px !important;
    }
    .aw-sg-tag {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
    .aw-sg-title {
        font-size: 18px !important;
        margin-bottom: 10px !important;
        -webkit-line-clamp: 3 !important;
    }
    .aw-sg-sub { font-size: 13.5px !important; }
    .aw-sg-icon { font-size: 76px !important; }

    /* ══ LEADERBOARD KARTI ══ */
    /* Küçük tablette (768-1023px) yer kazanmak için gizli; büyük tablet/PC'de (1024px+) tekrar görünür (bkz. aşağıdaki @media (min-width: 1024px)) */
    .aw-desktop-lb {
        display: none !important;
        width: 300px !important;
        flex-shrink: 0 !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 20px 20px 20px 0 !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        background: #f1f5f9 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .aw-desktop-lb::-webkit-scrollbar { display: none !important; }
    body.dark-mode .aw-desktop-lb { background: #0a0f1a !important; }

    /* Kart içi */
    .aw-desktop-lb-card {
        background: #fff !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
        padding: 20px 16px 16px !important;
        overflow: hidden !important;
    }
    body.dark-mode .aw-desktop-lb-card {
        background: #1e293b !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
    }
    .aw-desktop-lb-title {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: #1e293b !important;
        margin-bottom: 10px !important;
    }
    body.dark-mode .aw-desktop-lb-title { color: #f1f5f9 !important; }
    .aw-desktop-lb-divider {
        height: 1px !important;
        background: #e5e7eb !important;
        margin: 0 -16px 8px !important;
    }
    body.dark-mode .aw-desktop-lb-divider { background: #334155 !important; }
    .aw-desktop-lb-row {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 11px 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        font-size: 14px !important;
    }
    body.dark-mode .aw-desktop-lb-row { border-bottom-color: #1e293b !important; color: #f1f5f9 !important; }
    .aw-desktop-lb-row:last-child { border-bottom: none !important; }
    .aw-desktop-lb-row.me { background: #eff6ff !important; border-radius: 10px !important; padding: 11px 8px !important; margin: 0 -8px !important; }
    body.dark-mode .aw-desktop-lb-row.me { background: #1e3a8a !important; }
    .aw-desktop-lb-medal { font-size: 18px !important; width: 28px !important; text-align: center !important; flex-shrink: 0 !important; }
    .aw-desktop-lb-name { flex: 1 !important; font-weight: 600 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
    .aw-desktop-lb-xp { font-size: 13px !important; font-weight: 700 !important; color: #2563eb !important; white-space: nowrap !important; }
    .aw-desktop-lb-empty { text-align: center !important; font-size: 13px !important; color: #94a3b8 !important; padding: 20px 0 !important; }
    .aw-desktop-lb-btn {
        margin-top: 12px !important;
        padding: 10px !important;
        background: #2563eb !important;
        color: #fff !important;
        border: none !important;
        border-radius: 12px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        width: 100% !important;
    }
    .aw-desktop-lb-btn:hover { background: #1d4ed8 !important; }

    #eswt-login-overlay { position: fixed !important; border-radius: 0 !important; }
}

/* ── BÜYÜK TABLET + PC (1024px+): leaderboard paneli görünür. Drawer farkı burada
   AYRILMIYOR — sadece leaderboard görünürlüğü ortak. Drawer'ın gerçek PC moduna
   (sürekli açık) geçişi aşağıdaki "PC" sorgusunda, SADECE 1366px+ genişlikte
   tetikleniyor; 1024-1365px aralığı (büyük tablet) bundan etkilenmiyor. ── */
@media (min-width: 1024px) {
    .aw-desktop-lb { display: block !important; }
}

/* ── BÜYÜK TABLET (1024-1365px): isim alanı dar kalıp uzun kullanıcı adları
   ("Princeeeeeeeeeeeeeeeeeee" gibi ~24 karakter) kesiliyordu — kartı biraz
   genişletip isme daha fazla yer açıyoruz. 1366px+ (PC) bundan etkilenmiyor,
   o zaten kendi (340px) genişliğini kullanıyor. ── */
@media (min-width: 1024px) and (max-width: 1365px) {
    .aw-desktop-lb { width: 380px !important; }
}

/* "Menü" kartı: varsayılan olarak HER ZAMAN gizli — mobil/tablette hiç görünmez,
   hiçbir şeyi etkilemez. Sadece aşağıdaki 1366px+ (web görünümü) sorgusunda
   görünür hale getiriliyor. */
.aw-desktop-menu { display: none; }
.aw-desktop-menu-rows { display: flex; flex-direction: column; gap: 2px; }

/* ── PC: SADECE genişlik 1366px+ ise (fiziksel ekran ~12"+ olur, PC gibi davranır).
   Büyük tablet (1024-1365px; dokunmatik VEYA fareli — gerçek 10" tablet yatay
   tutuşu dahil) bu sorguya hiç GİRMEZ; onlarda drawer 768px bloğundaki
   ikon-şeridi/kapalı davranışı aynen geçerli kalır — bu blok tablete dokunmaz. ── */
@media (min-width: 1366px) {
    /* ════════════════════════════════════════════════════════════════════════
       28.06.2026: Web görünümünde drawer TAMAMEN kaldırıldı (kullanıcı talebi).
       Aşağıdaki eski "drawer'ı PC'de genişlet" kuralları SİLİNMEDİ, sadece
       yorum satırına alınıp devre dışı bırakıldı — ileride drawer'a geri
       dönülmek istenirse bu yorumu kaldırıp altındaki yeni 3 satırı silmek
       yeterli olur.
    .aw-drawer { width: 240px !important; }
    .aw-drawer-overlay { display: none !important; }

    .aw-drawer-header { padding: 18px 16px 14px !important; align-items: flex-start !important; gap: 8px !important; }
    .aw-drawer-name {
        display: block !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: rgba(255,255,255,0.95) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 190px !important;
    }
    .aw-drawer-user { display: block !important; }
    .aw-drawer-avatar img { width: 50px !important; height: 50px !important; }

    .aw-drawer-nav li { padding: 12px 22px !important; justify-content: flex-start !important; border-radius: 0 24px 24px 0 !important; gap: 14px !important; }
    .aw-drawer-nav li > span:not(.aw-nav-icon) { display: inline !important; white-space: nowrap !important; }
    .aw-drawer-nav li .aw-nav-icon { font-size: 18px !important; width: 22px !important; flex-shrink: 0 !important; }

    [id^="aw-theme-row-"] { padding: 10px 20px 10px 18px !important; justify-content: space-between !important; }
    [id^="aw-theme-row-"] > div:first-child { gap: 10px !important; }
    [id^="aw-theme-row-"] > div:first-child > span:last-child { display: inline !important; }

    .aw-drawer-divider { margin: 6px 16px !important; }
    .aw-drawer-footer { display: block !important; white-space: nowrap !important; }

    .aw-drawer-toggle-btn { display: none !important; }
    ════════════════════════════════════════════════════════════════════════ */

    /* YENİ: drawer tamamen kaldırıldı, içeriğe sol boşluk verildi, yerine
       Leaderboard kartının birebir aynısı bir "Menü" kartı geldi. */
    .aw-drawer { display: none !important; }
    .aw-content { padding-left: 28px !important; }
    .aw-desktop-menu {
        display: block !important;
        width: 300px !important;
        flex-shrink: 0 !important;
        padding: 20px 0 20px 20px !important;
    }
    /* Diğer kartlarla (Leaderboard/Menü kartı) aynı köşe yarıçapı — sadece web
       görünümünde, sadece alt köşeler (üstte zaten ekranın tepesi, yuvarlamaya
       gerek yok). */
    .aw-desktop-header {
        border-bottom-left-radius: 16px !important;
        border-bottom-right-radius: 16px !important;
    }
}

/* ── BÜYÜK EKRAN: 1400px+ ── */
@media (min-width: 1400px) {
    .aw-desktop-lb { width: 340px !important; }
    .aw-desktop-menu { width: 340px !important; }
}
