
        

        /* NOTA SİSTEMİ VE ESNEK PANEL GÖRÜNÜMÜ */
        #song-content-section {
            position: relative; /* Nota panelinin bunun içinde mutlak konumlanması için */
        }

        #song-notation-slide {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
            background: var(--bg-card-low, #1a1a1a);
            border-bottom: 1px solid var(--border, #2e2e2e);
            border-radius: 0 0 1.5rem 1.5rem; /* Alt kısımlar oval */
            position: absolute; /* Şarkıyı ittirmemesi için absolute yapıldı */
            top: 0;
            left: 0;
            right: 0;
            z-index: 45; /* Şarkı metninin üstünde kalması için */
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
        }
        #song-notation-slide.open {
            max-height: 20000px; /* İçeriğe göre kısıtlanmadan sonsuz uzaması için */
            overflow: visible; /* Kaydırma çubuğunu yok edip taşırmak için */
            opacity: 1;
        }

        /* CHORDIVE ZARİF NOTA KAĞIDI */
        .notation-paper-chordive {
            background: #f4f6f4 !important; /* Gözü yormayan gerçek kağıt tonu */
            border-radius: 1.5rem;
            padding: 24px;
            box-shadow: inset 0 2px 12px rgba(0,0,0,0.1);
            color: #111611;
            width: 100%;
        }
        .notation-paper-chordive svg {
            width: 100% !important;
            height: auto !important;
        }

        /* NOTA STÜDYOSU EDİTÖRÜ */
        .notation-editor-area {
            width: 100%;
            font-family: 'Cousine', monospace;
            font-size: 14px;
            line-height: 1.6;
            background: var(--glass);
            backdrop-filter: blur(var(--bg-blur, 20px));
            -webkit-backdrop-filter: blur(var(--bg-blur, 20px));
            color: #16e000; /* Chordive Kurumsal Yeşil */
            padding: 18px;
            border-radius: 1.5rem;
            border: 1px solid var(--border, #2e2e2e);
            min-height: 350px;
            resize: vertical;
            outline: none;
        }
        body.reduced-motion .notation-editor-area { background: rgba(0,0,0,0.25); backdrop-filter: none; -webkit-backdrop-filter: none; }
        .notation-editor-area:focus {
            border-color: #16e000;
        }

        .snippet-btn {
            background: var(--bg-card-highest, #2a2a2a);
            border: 1px solid var(--border, #3a3a3a);
            color: var(--text-main, #ffffff);
            border-radius: 10px;
            padding: 6px 12px;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .snippet-btn:hover {
            background: rgba(22, 224, 0, 0.15);
            color: #16e000;
            border-color: #16e000;
        }

        /* Akıllı Takip Modu Aktif Akor Rengi */
        .smart-active-chord {
            background-color: #eab308 !important;
            color: #000 !important;
            border-radius: 4px;
            padding: 0 4px;
            box-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
            transition: all 0.3s;
        }

        /* Vurgulama modundayken yanlışlıkla normal metin seçilmeyi (kopyalama modunu) engeller */
        body.highlight-on {
          user-select: none;
          -webkit-user-select: none;
        }

        /* ÇAKIŞAN KURALLAR BİRLEŞTİRİLDİ */
        /* Akorların ve metinlerin tam hizalanması için Courier New kullanımına geçildi */
        .song-display-area, #d-content, #song-rendered-content, #song-detail-content {
            font-family: 'Courier New', Courier, monospace !important;
            white-space: pre-wrap !important;
            overflow-x: hidden !important;
            word-break: break-word !important;
            word-wrap: break-word !important;
            letter-spacing: 0px !important;
            tab-size: 4 !important;
        }

        /* Kıtalar ve satırlar arasındaki alt alta olan boşluk sorununu çözer */
        .verse-block {
            margin-bottom: 2rem !important;
            display: block;
            width: 100%;
        }

        /* Editör içindeki tüm paragrafların boşluk kurallarını sabitleyelim */
        .ck.ck-editor__editable_inline p {
            white-space: pre !important; /* pre-wrap yerine pre yapıldı, böylece boşluklar bozulmaz */
            margin: 0 !important;
            font-family: 'Courier New', Courier, monospace !important; /* Akorlarla tam hizalanması için düzeltildi */
        }

        .interactive-chord, .raw-chord, .easy-chord-span {
            margin: 0 !important;
            padding: 0 !important;
            letter-spacing: 0px !important;
            display: inline-block;
        }

        /* Editör ve gösterim alanı için ortak ayarlar */
        .chord-content, #song-input-editor, .ck-editor__editable {
            font-family: 'Courier New', Courier, monospace !important; /* Sabit genişlikli font */
            white-space: pre !important;        /* Boşlukları (space) ve satır başlarını korur */
            tab-size: 4 !important;            /* Tab boşluklarını sabitle */
            letter-spacing: 0px !important;    /* Harf aralığını bozmamak için sıfırla */
            line-height: 1.5 !important;       /* Akor ve söz satırları arası mesafeyi sabitle */
        }

        /* Şarkı Stüdyosu Editörü Özel Rozet (Badge) Görünümü */
        /* Editör içindeki "x2" gibi tekrarlama etiketlerinin Courier New ve satır yüksekliği baskısından kurtarılıp normal görünmesini sağlar */
        .ck-editor__editable span[style*="background-color"],
        #song-input-editor span[style*="background-color"] {
            font-family: 'Inter', 'Open Sans', sans-serif !important; /* Rozet fontunu modern tutar */
            line-height: normal !important; /* Şişkin görünümü engeller */
            vertical-align: baseline !important;
            display: inline-block !important;
            letter-spacing: normal !important;
            color: #ffffff !important; /* Editör karanlık modlarına karşı metni beyaz tutar */
        }

        .chord-item {
            display: inline-block;
            white-space: pre; /* Akorun kendi içindeki boşluğu koru */
            font-weight: bold;
            /* Akorların sözlerin tam üzerinde kalması için */
            margin-bottom: -2px;
        }

        .ck.ck-editor__editable_inline:focus { outline: none !important; border: none !important; box-shadow: none !important; }
        .ck.ck-toolbar { background: var(--bg-card-low) !important; border: none !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; padding: 8px 16px !important; }
        .ck.ck-button { color: var(--text) !important; cursor: pointer; }
        .ck.ck-button:hover { background: rgba(29,185,84,0.1) !important; color: #1DB954 !important; }
        .ck.ck-button.ck-on { background: rgba(29,185,84,0.2) !important; color: #1DB954 !important; }
        .ck.ck-icon { fill: currentColor !important; }
        .ck.ck-dropdown__panel { background: var(--bg-card-highest) !important; border: 1px solid var(--border) !important; }
        .ck.ck-list__item__button { color: var(--text) !important; }
        .ck.ck-list__item__button:hover { background: rgba(29,185,84,0.1) !important; }

          /* Glass Select Scrollbar */
        .glass-options-dropdown::-webkit-scrollbar { width: 6px; }
        .glass-options-dropdown::-webkit-scrollbar-track { background: transparent; }
        .glass-options-dropdown::-webkit-scrollbar-thumb { background: #1DB954; border-radius: 10px; }

        /* Ekleyen kişi profil popup'ı gibi uzun listelerde sağda beliren
           kalın scroll çubuğunu gizler / inceltir, kaydırma işlevi kalır. */
        .custom-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
        .custom-scrollbar::-webkit-scrollbar { width: 0; height: 0; display: none; }


        /* Sahne oluştur - checkbox kare, site yeşili */
        .stage-song-checkbox {
          -webkit-appearance: none;
          appearance: none;
          width: 20px;
          height: 20px;
          border-radius: 6px;
          border: 2px solid rgba(29,185,84,0.5);
          background: var(--bg-card-highest);
          cursor: pointer;
          transition: all 0.2s;
          flex-shrink: 0;
        }
        .stage-song-checkbox:checked {
          background: #1DB954;
          border-color: #1DB954;
          background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
          background-repeat: no-repeat;
          background-position: center;
          background-size: 12px;
        }

        
        :root {
          --bg: #0d100d;
          --bg-card: #121512;
          --bg-card-low: #0f120f;
          --bg-card-high: #1a1e1a;
          --bg-card-highest: #242824;
          --text: #dde5d9;
          --text-muted: #bccbb9;
          --border: rgba(255,255,255,0.05);
          --border-hover: rgba(29,185,84,0.4);
          --nav-glass-rgb: 16, 19, 16;
          --glass-alpha: 0.6;
          --glass: rgba(var(--nav-glass-rgb), var(--glass-alpha, 0.6));
          --surface-container: var(--glass);
          --surface-container-high: var(--glass);
        }

        /* Açık mod kaldırıldı — her zaman koyu palet; nav rengi kullanıcı seçer */
        html.light {
          --bg: #0d100d;
          --bg-card: #121512;
          --bg-card-low: #0f120f;
          --bg-card-high: #1a1e1a;
          --bg-card-highest: #242824;
          --text: #dde5d9;
          --text-muted: #bccbb9;
          --border: rgba(255,255,255,0.05);
          --border-hover: rgba(29,185,84,0.4);
          --glass: rgba(var(--nav-glass-rgb), var(--glass-alpha, 0.6));
        }
        /* Admin SPA modu — üye nav gizle, yönetim nav göster */
        body.admin-mode .member-only-nav { display: none !important; }
        body.admin-mode .admin-only-nav { display: flex !important; }
        body.admin-mode #admin-nav-group.admin-only-nav { display: block !important; }
        body.admin-mode #admin-sidebar-footer.admin-only-nav { display: block !important; }
        body.admin-mode #sidebar-member-footer { display: none !important; }
        body.admin-mode #sidebar-user-block { display: none !important; }
        body.admin-mode .bottom-nav .admin-only-nav { display: flex !important; }
        body.admin-mode #detail-album-wrap { cursor: pointer; }
        body.admin-mode #detail-album-wrap[title]::after { content: none; }
        body.admin-mode .member-studio-meta { display: none !important; }
        body.admin-mode #studio-meta-under-save.admin-studio-meta-slot { display: block !important; }
        body.admin-mode #home-hero-carousel { display: none !important; }
        body.admin-mode #library-side-panel { display: none !important; }
        body.admin-mode #library-archive-toggle,
        body.admin-mode #library-archive-toggle-mobile { display: none !important; }
        /* Kaydet altındaki meta alanları member-studio-meta class taşısa bile görünsün */
        body.admin-mode #studio-meta-under-save .member-studio-meta,
        body.admin-mode #studio-meta-under-body .member-studio-meta,
        body.admin-mode #studio-meta-under-body #studio-meta-fields {
          display: block !important;
        }
        body.guest-mode .guest-hide-nav { display: none !important; }
        body.guest-mode .guest-member-only { display: none !important; }
        .archive-scope-badge {
          font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
          color: var(--text-muted, #888);
        }
        .archive-scope-badge.mine { color: #1DB954; }
        .archive-scope-badge.global { color: #94a3b8; }
        #member-notif-badge,
        .member-notif-badge {
          display: none;
          position: absolute;
          top: -2px;
          right: -2px;
          min-width: 16px;
          height: 16px;
          padding: 0 4px;
          border-radius: 999px;
          background: #22c55e;
          color: #052e16;
          font-size: 10px;
          font-weight: 900;
          line-height: 16px;
          text-align: center;
        }
        #member-notif-badge.visible,
        .member-notif-badge.visible { display: inline-block; }
        .pro-upsell-backdrop {
          position: fixed; inset: 0; z-index: 9999;
          background: rgba(0,0,0,0.65); backdrop-filter: blur(6px);
          display: flex; align-items: center; justify-content: center; padding: 1.25rem;
        }
        .pro-upsell-card {
          width: min(420px, 100%);
          border-radius: 1.5rem;
          border: 1px solid var(--border);
          background: var(--bg-card);
          padding: 1.75rem;
          box-shadow: 0 24px 64px rgba(0,0,0,0.45);
        }
        .pro-upsell-video-slot {
          width: 100%; aspect-ratio: 16/9; border-radius: 1rem;
          background: var(--bg-card-highest); border: 1px dashed var(--border);
          display: flex; align-items: center; justify-content: center;
          color: var(--text-muted, #888); font-size: 12px; margin: 1rem 0;
        }
        .admin-diff-del { background: rgba(239,68,68,0.28); color: #fca5a5; text-decoration: line-through; }
        .admin-diff-ins { background: rgba(29,185,84,0.28); color: #86efac; font-weight: 700; }

        html, body {
          overscroll-behavior: none;
        }
        /* Uygulama açıkken sadece içerik alanı kayar — nav barları sabit kalır */
        body:has(#app-shell:not(.hidden)) {
          overflow: hidden !important;
          height: 100% !important;
          width: 100% !important;
        }
        #app-shell:not(.hidden) {
          display: block !important;
          height: 100dvh !important;
          max-height: 100dvh !important;
          overflow: hidden !important;
        }
        #main-content {
          box-sizing: border-box;
          overflow-x: hidden;
          overflow-y: auto;
          -webkit-overflow-scrolling: touch;
          height: 100dvh;
          max-height: 100dvh;
          /* Chromium: scroller içindeki backdrop-filter yalnızca bu kutu içini örnekler.
             Duvar kağıdı sticky katmanda; solid bg olmasın. */
          background-color: transparent;
          isolation: auto;
        }
        #main-wallpaper-layer {
          position: sticky;
          top: 0;
          left: 0;
          width: 100%;
          pointer-events: none;
          z-index: 0;
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;
          background-attachment: scroll !important;
        }
        #main-content > .page,
        #main-content > .chordive-modal-backdrop,
        #main-content > [id^="page-"] {
          position: relative;
          z-index: 1;
        }
        /* Chromium'da scroller içindeki bir cam panel, yalnızca kendi normal akış
           atalarının arka planını örnekleyebiliyor: sticky/fixed ayrı katmanlar
           (sidebar bulanıklaşırken sayfa kartları bulanıklaşmıyordu). Duvar kağıdını
           doğrudan sayfa kabına basıp viewport'a sabitliyoruz. */
        html.wallpaper-on-page #main-content > .page,
        html.wallpaper-on-page #main-content > [id^="page-"]:not(.chordive-modal-backdrop) {
          background-image: var(--wallpaper-dim, none), var(--wallpaper-img, none);
          background-color: var(--wallpaper-color, transparent);
          background-size: cover, cover;
          background-position: center, center;
          background-repeat: no-repeat, no-repeat;
          background-attachment: fixed, fixed;
        }
        html.wallpaper-on-page #main-wallpaper-layer {
          display: none !important;
        }
        body {
          background-color: var(--bg);
          color: var(--text);
          -webkit-tap-highlight-color: transparent;
          transition: background-color 0.3s, color 0.3s;
        }
        
        /* Donanım hızlandırma: glass panellere / içerik sarmalayıcıya transform VERME —
           transform containing block Chromium'da wallpaper backdrop-filter'ını keser. */
        /* Dinamik arka plan rengi */
        .bg-surface         { background-color: var(--bg) !important; }
        .bg-surface-container      { background-color: var(--bg-card) !important; }
        .bg-surface-container-low  { background-color: var(--bg-card-low) !important; }
        .bg-surface-container-high { background-color: var(--bg-card-high) !important; }
        .bg-surface-container-highest { background-color: var(--bg-card-highest) !important; }
        .text-on-surface    { color: var(--text) !important; }
        .text-on-surface-variant { color: var(--text-muted) !important; }
        .border-white\/5    { border-color: var(--border) !important; }
        .glass-panel, .glass-box { background: var(--glass) !important; }
        body.reduced-motion .glass-panel, body.reduced-motion .glass-box { background: var(--bg-card) !important; box-shadow: none !important; }

        /* Bulanıklık kaydırıcısı — profil kartları, ayar satırları, nav çubukları, modallar */
        #page-profile .glass-panel, #page-profile .glass-box,
        aside#main-sidebar, header.top-bar, nav.bottom-nav,
        .profile-settings-row,
        .chordive-modal-backdrop,
        .chordive-ui-blur {
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        /* Cam kutular — içlerinde crisp media olsa bile kart blur alsın */
        .glass-panel,
        .glass-box {
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        /* Albüm / sanatçı görselleri net kalsın */
        .chordive-crisp-media,
        .chordive-crisp-media * {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        body.reduced-motion .glass-panel, body.reduced-motion .glass-box,
        body.reduced-motion #page-profile .glass-panel, body.reduced-motion #page-profile .glass-box,
        body.reduced-motion aside#main-sidebar, body.reduced-motion header.top-bar,
        body.reduced-motion nav.bottom-nav, body.reduced-motion .profile-settings-row,
        body.reduced-motion .chordive-modal-backdrop,
        body.reduced-motion .chordive-ui-blur {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        body.reduced-motion .profile-settings-row {
          background: var(--bg-card) !important;
        }

        /* Ayarlar/Profil sayfasındaki kartlara gölge */
        #page-profile .glass-panel, #page-profile .glass-box {
          box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
        }

        /* İç rgba / Tailwind opacity katmanlarına ayrı blur YOK.
           Masaüstünde her alt kutuya backdrop-filter basmak Chromium'da
           iç içe backdrop kökü oluşturup cam kartların duvar kağıdını
           örneklemesini kesiyordu (telefon/tablette bu kural zaten kapalıydı).
           Asıl cam yüzeyler: .glass-panel, .glass-box, nav, aside, var(--bg-card). */
        body.reduced-motion [style*="backdrop-filter"],
        body.reduced-motion [class*="backdrop-blur"],
        body.reduced-motion [class~="bg-black/10"], body.reduced-motion [class~="bg-black/20"],
        body.reduced-motion [class~="bg-black/30"], body.reduced-motion [class~="bg-black/40"],
        body.reduced-motion [class~="bg-black/50"], body.reduced-motion [class~="bg-black/60"],
        body.reduced-motion [class~="bg-black/70"], body.reduced-motion [class~="bg-black/80"],
        body.reduced-motion [class~="bg-black/90"], body.reduced-motion [class~="bg-black/95"],
        body.reduced-motion [class~="bg-white/5"], body.reduced-motion [class~="bg-white/10"],
        body.reduced-motion [class~="bg-white/20"], body.reduced-motion [class~="bg-white/30"],
        body.reduced-motion [class~="bg-white/40"], body.reduced-motion [class~="bg-white/50"],
        body.reduced-motion [class*="bg-primary/"], body.reduced-motion [class*="bg-zinc-"],
        body.reduced-motion [class*="bg-neutral-"], body.reduced-motion [class*="bg-red-500/"],
        body.reduced-motion [class*="bg-amber-500/"], body.reduced-motion [class*="bg-emerald-"],
        body.reduced-motion [style*="background:rgba"], body.reduced-motion [style*="background: rgba"],
        body.reduced-motion [style*="background-color:rgba"], body.reduced-motion [style*="background-color: rgba"],
        body.reduced-motion [style*="var(--surface-container"] {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }

        /* YENİ: SOL NAVİGASYON BARI İLE RENK EŞİTLEME
           Arama kutuları / input / araç çubukları var(--glass) tonunu alır.
           BULANIKLIK yalnızca dış cam yüzeylerde (.glass-panel, aside, nav…) —
           her alt kutuya backdrop-filter basmak Chromium'da iç içe kök oluşturup
           duvar kağıdı bulanıklığını öldürüyordu (perf aç/kapa sonrası kaybolma). */
        [style*="var(--bg-card)"]:not([style*="url("]):not(.chordive-crisp-media):not(.chordive-crisp-media *),
        [style*="var(--bg-card-low)"]:not([style*="url("]):not(.chordive-crisp-media):not(.chordive-crisp-media *),
        [style*="var(--bg-card-high)"]:not([style*="url("]):not(.chordive-crisp-media):not(.chordive-crisp-media *),
        [style*="var(--bg-card-highest)"]:not([style*="url("]):not(.chordive-crisp-media):not(.chordive-crisp-media *),
        .bg-surface-container:not(#global-bg):not(#global-bg-overlay):not(#detail-album-wrap):not(.chordive-crisp-media),
        .bg-surface-container-low, .bg-surface-container-high, .bg-surface-container-highest {
          background: var(--glass) !important;
        }
        /* Dış cam çerçeveler — tek katman blur (iç içe değil) */
        .glass-panel:not(.chordive-crisp-media),
        .glass-box:not(.chordive-crisp-media),
        aside#main-sidebar,
        header.top-bar,
        nav.bottom-nav,
        .profile-settings-row,
        .chordive-ui-blur,
        .chordive-modal-backdrop,
        #chord-library-panel {
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        #global-bg, #global-bg-overlay,
        #song-detail-artist-bg, #song-detail-header .chordive-crisp-media,
        #detail-album-wrap, #detail-album-wrap img, #detail-album-thumb,
        .chordive-crisp-media, .chordive-crisp-media *, .chordive-crisp-media::before, .chordive-crisp-media::after {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
          filter: none !important;
          -webkit-filter: none !important;
        }
        #song-detail-artist-bg { filter: none !important; }
        /* Header karartma katmanı blur tetiklemesin — büyük kapak net kalsın */
        #song-detail-header > .absolute {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
          filter: none !important;
        }
        #detail-album-wrap {
          background-color: #0e150e !important;
          isolation: isolate;
        }
        #detail-album-wrap .absolute { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
        /* Azaltılmış Hareket Modunda bu yüzeyler diğer camlar gibi tekrar KATI (opak, bulanıksız) döner */
        body.reduced-motion [style*="var(--bg-card)"] {
          background: var(--bg-card) !important;
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        body.reduced-motion [style*="var(--bg-card-low)"] {
          background: var(--bg-card-low) !important;
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        body.reduced-motion [style*="var(--bg-card-high)"] {
          background: var(--bg-card-high) !important;
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        body.reduced-motion [style*="var(--bg-card-highest)"] {
          background: var(--bg-card-highest) !important;
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        body.reduced-motion .bg-surface-container { background: var(--bg-card) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
        body.reduced-motion .bg-surface-container-low { background: var(--bg-card-low) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
        body.reduced-motion .bg-surface-container-high { background: var(--bg-card-high) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
        body.reduced-motion .bg-surface-container-highest { background: var(--bg-card-highest) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

        /* Global Wallpaper Katmanları */
        #global-bg { position: fixed; inset: 0; z-index: -2; background-color: var(--bg); background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: scroll; transform: none !important; transition: opacity 0.5s ease, background-color 0.5s ease; }
        #global-bg-overlay { position: fixed; inset: 0; z-index: -1; background: var(--bg); transform: none !important; transition: opacity 0.5s ease; opacity: 0.7; }

        /* Sidebar & header arka planları - Masaüstü Oval Sol Bar */
        aside {
          background: var(--glass) !important;
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        @media (min-width: 1024px) {
          aside {
            top: 1rem !important;
            bottom: 1rem !important;
            left: 1rem !important;
            height: calc(100vh - 2rem) !important;
            border-radius: 2rem !important;
            border: 1px solid var(--border) !important;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
            overflow: hidden;
          }
        }
        html.light aside {
          background: var(--glass) !important;
        }

        /* Üst Bar (Sol Navigasyon Barı ile Birebir Aynı Ton — var(--glass)) */
        header.top-bar {
          background: var(--glass) !important;
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          border-bottom: 1px solid var(--border) !important;
        }
        html.light header.top-bar {
          background: var(--glass) !important;
          border-bottom: 1px solid rgba(0,0,0,0.08) !important;
        }
        html.light .bg-neutral-950\/90,
        html.light .bg-neutral-950\/80,
        html.light .bg-neutral-950\/95 {
          background-color: transparent !important; /* veya hangi kural gelecekse */
        }

        /* Alt navigasyon + profil ayar satırları — birebir aynı cam yapı (var(--glass) + --bg-blur) */
        nav.bottom-nav,
        .profile-settings-row {
          background: var(--glass) !important;
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        nav.bottom-nav {
          border-top: 1px solid var(--border) !important;
        }
        .profile-settings-row {
          border: 1px solid var(--border) !important;
        }

        /* Tüm Saydam Modallar İçin Dinamik Blur */
        #pitch-modal, #duo-song-selector-modal, #chord-library-modal, #chord-detail-modal, #countdown-modal, #metronome-modal, #tuner-modal, #global-tab-modal, #create-stage-modal, #create-venue-stage-modal, #looper-pro-modal, #band-sync-modal, .chordive-modal-backdrop {
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        html.light nav.bottom-nav,
        html.light .profile-settings-row {
          background: var(--glass) !important;
        }
        html.light nav.bottom-nav {
          border-top: 1px solid rgba(0,0,0,0.08) !important;
        }
        html.light .profile-settings-row {
          border-color: rgba(0,0,0,0.08) !important;
        }
        html.light nav.bottom-nav button {
          color: var(--text-muted) !important;
        }
        html.light nav.bottom-nav button.active-nav-item {
          color: #1DB954 !important;
        }
        html.light input, html.light textarea, html.light select {
          color: var(--text) !important;
        }
        html.light .text-white { color: #1a211a !important; }
        html.light #page-home .relative.rounded-\[2\.5rem\] .absolute.bottom-0 h1 { color: #1a211a !important; }
        html.light .bg-primary { background-color: #1DB954 !important; }
        html.light .border-primary\/30 { border-color: rgba(29,185,84,0.4) !important; }
        html.light .text-zinc-500 { color: #6b7b6b !important; }

        :root {
          --chord-color: #16e000;
          --highlight-bg: rgba(29,185,84,0.18);
          --highlight-border: #1DB954;
        }
        html.light {
          --chord-color: #0d7a3a;
        }
        /* Açık mod: neon yeşilleri koyu yeşile çek */
        html.light .text-\[\#16e000\],
        html.light [class*="text-[#16e000]"],
        html.light .capo-text,
        html.light #inline-bpm-display,
        html.light #studio-bpm-display {
          color: #0d7a3a !important;
        }
        html.light .interactive-chord,
        html.light .raw-chord,
        html.light .easy-chord-span {
          text-shadow: 0 1px 1px rgba(0,0,0,0.28), 0 0 2px rgba(0,0,0,0.18);
        }

        /* Açık mod — ton kaydet / genel ton mini butonları */
        .tone-chip-btn {
          border: 1.5px solid transparent;
          transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
          box-shadow: 0 1px 4px rgba(0,0,0,0.18);
        }
        .tone-chip-btn:active { transform: scale(0.94); }
        .tone-chip-save {
          background: #1DB954 !important;
          color: #000 !important;
          border-color: rgba(0,0,0,0.12) !important;
        }
        .tone-chip-global {
          background: #525252 !important;
          color: #fff !important;
          border-color: rgba(255,255,255,0.15) !important;
        }
        .tone-chip-global.is-active {
          background: #a855f7 !important;
          border-color: rgba(168,85,247,0.5) !important;
          color: #fff !important;
        }
        .tone-chip-reset {
          background: var(--bg-card-high) !important;
          color: var(--text) !important;
          border-color: rgba(29,185,84,0.35) !important;
        }
        html.light .tone-chip-save {
          background: rgba(29,185,84,0.14) !important;
          color: #0a6b32 !important;
          border-color: #1DB954 !important;
          box-shadow: 0 1px 4px rgba(0,0,0,0.14);
        }
        html.light .tone-chip-global {
          background: rgba(82,82,82,0.12) !important;
          color: #3f3f46 !important;
          border-color: rgba(0,0,0,0.18) !important;
        }
        html.light .tone-chip-global.is-active {
          background: rgba(168,85,247,0.16) !important;
          color: #7c3aed !important;
          border-color: #a855f7 !important;
        }

        /* Açık mod — ana sayfa yeşil kalp ve sayaçlar */
        html.light .home-stat-badge {
          color: #0a6b32 !important;
          background: rgba(29,185,84,0.16) !important;
          box-shadow: 0 1px 3px rgba(0,0,0,0.14);
        }
        html.light .home-heart-icon.is-added-heart,
        html.light .home-heart-icon[style*="#1DB954"] {
          color: #0a6b32 !important;
          filter: drop-shadow(0 1px 2px rgba(0,0,0,0.28));
        }
        html.light .home-heart-icon:not(.is-added-heart) {
          filter: drop-shadow(0 1px 1px rgba(0,0,0,0.12));
        }

        /* Açık mod — şarkı başlığı geri / sanatçı okunabilirliği */
        html.light #song-back-btn {
          box-shadow: 0 1px 4px rgba(0,0,0,0.22);
          text-shadow: 0 1px 2px rgba(0,0,0,0.35);
        }
        html.light #detail-artist {
          text-shadow: 0 1px 3px rgba(0,0,0,0.45), 0 0 6px rgba(0,0,0,0.2);
        }
        html.light #detail-title {
          text-shadow: 0 1px 4px rgba(0,0,0,0.4);
        }
        html.light .song-view-heart-icon.is-added-heart,
        html.light .song-view-heart-icon[style*="#1DB954"] {
          color: #0a6b32 !important;
          filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45));
        }
        html.light .song-view-heart-btn {
          box-shadow: 0 1px 4px rgba(0,0,0,0.2);
        }

        .material-symbols-outlined { font-family:'Material Symbols Outlined',sans-serif; font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24; cursor:pointer; line-height:1; letter-spacing:normal; text-transform:none; white-space:nowrap; }
        /* Repertuar kalbi — PC tarayıcılarda FILL ekseni class ile ezilmesin; her yerde dolu */
        .material-symbols-outlined.is-added-heart,
        .home-heart-icon.is-added-heart,
        .song-view-heart-icon.is-added-heart {
          font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 24 !important;
          font-feature-settings: 'FILL' 1;
        }
        html:not(.icons-ready) .material-symbols-outlined { visibility:hidden; position:relative; overflow:hidden; }
        html:not(.icons-ready) .material-symbols-outlined::before { content:''; visibility:visible; position:absolute; inset:0; margin:auto; width:0.55em; height:0.55em; border-radius:50%; background:currentColor; opacity:0.2; }
        .no-scrollbar::-webkit-scrollbar { display:none; }

        /* Tablet ve Telefonlar için Global Kaydırma Çubuğu Gizleme (İşlev aktif kalır) */
        @media (max-width: 1024px) {
          * {
            -ms-overflow-style: none !important;
            scrollbar-width: none !important;
          }
          *::-webkit-scrollbar {
            display: none !important;
          }
        }

        /* Dokunmatik / tablet — scroll wallpaper (fixed backdrop-filter'ı Chrome/PC'de de kırar) */
        html.chordive-touch #global-bg {
          background-attachment: scroll !important;
        }
        /* NOT: #main-content'e translateZ VERME — transform containing block oluşturup
           glass panellerde wallpaper backdrop-filter'ını (profil dışı) öldürüyordu.
           Liste performansı content-visibility ile sağlanıyor. */
        html.chordive-touch #library-list-container .glass-box,
        html.chordive-touch #profile-archive-list .archive-list-item {
          content-visibility: auto;
          contain-intrinsic-size: auto 52px;
        }
        /* Küresel rgba blur kuralını dokunmatikte kapat — yüzlerce öğeye blur uygulanmasın */
        html.chordive-touch [style*="background:rgba"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [style*="background: rgba"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [style*="background-color:rgba"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [style*="background-color: rgba"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [class~="bg-black/10"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [class~="bg-black/20"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [class~="bg-black/30"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [class~="bg-black/40"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [class~="bg-white/5"]:not(.chordive-crisp-media):not(.chordive-crisp-media *),
        html.chordive-touch [class~="bg-white/10"]:not(.chordive-crisp-media):not(.chordive-crisp-media *) {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        html.chordive-touch #page-profile .glass-panel,
        html.chordive-touch #page-profile .glass-box {
          box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
        }

        /* Küçük ekranda nav etiketleri kaybolur */
        @media (max-width: 380px) { .nav-label { display:none !important; } }
        .interactive-chord { cursor:pointer; color:var(--chord-color); transition:color 0.2s; font-weight:bold; border-bottom: none !important; text-decoration: none !important; padding:0; }
        .interactive-chord:hover { filter: brightness(1.2); background:rgba(255,255,255,0.05); }
        .active-nav-item { color:#1DB954 !important; }
        .active-nav-item .material-symbols-outlined { font-variation-settings:'FILL' 1; }
        .fade-in { animation:fadeIn 0.15s ease-out forwards; }
        /* NOT: transform kasıtlı olarak kaldırıldı — animasyon bitince "forwards" yüzünden
           transform:translateY(0) kalıcı olarak öğede kalıyordu; bu da o öğenin ve içindeki
           TÜM cam (glass) kutularının backdrop-filter bulanıklığının sabit arka plan duvar
           kağıdıyla doğru şekilde hizalanmasını (dolayısıyla bulanıklaşmasını) engelliyordu.
           Sonuç: sol nav bar bulanıklaşırken .page içindeki kartlar bulanıklaşmıyordu. */
        @keyframes fadeIn { from{opacity:0} to{opacity:1} }

        /* Giriş ekranı — shell içinde (sidebar / arkaplan korunur) */
        #auth-screen.auth-in-shell {
          position: fixed;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          z-index: 40;
          display: flex !important;
          align-items: flex-start;
          justify-content: center;
          background: transparent;
          padding: 1rem;
          padding-top: 4.75rem;
          padding-bottom: calc(72px + env(safe-area-inset-bottom, 16px));
          pointer-events: none;
          overflow-y: auto;
        }
        #auth-screen.auth-in-shell > * { pointer-events: auto; }
        #auth-screen.auth-in-shell .auth-card {
          margin-top: 0.5rem;
        }
        @media (min-width: 1024px) {
          #auth-screen.auth-in-shell {
            left: 18rem;
            padding-top: 2.5rem;
            padding-bottom: 1.25rem;
            align-items: flex-start;
          }
          body.sidebar-collapsed #auth-screen.auth-in-shell { left: 5.5rem; }
          #auth-screen.auth-in-shell .auth-card {
            margin-top: 1.5rem;
          }
        }
        .archive-in-mine-hint {
          display: block;
          font-size: 9px;
          font-weight: 900;
          letter-spacing: 0.08em;
          text-transform: uppercase;
          color: #1DB954;
          margin-top: 1px;
          line-height: 1.2;
        }
        .song-ruler-layout {
          display: flex;
          flex-direction: column;
          gap: 0.375rem;
        }
        @media (min-width: 1024px) {
          .song-ruler-layout {
            flex-direction: row;
            align-items: center;
            gap: 0.5rem;
          }
          .song-ruler-main {
            flex: 1;
            min-width: 0;
          }
          /* Masaüstü: cetvel bir tık daha dar */
          #short-ruler-group {
            transform: scale(0.92);
            transform-origin: left center;
          }
          #short-ruler-group button {
            width: 1.75rem !important;
            height: 1.75rem !important;
          }
          #tone-display-container {
            padding-left: 0.65rem !important;
            padding-right: 0.65rem !important;
            padding-top: 0.3rem !important;
            padding-bottom: 0.3rem !important;
          }
          #tone-display-container #detail-display-key {
            font-size: 0.9rem !important;
          }
          #long-ruler-group button {
            min-width: 1.65rem !important;
            height: 1.65rem !important;
            font-size: 10px !important;
            padding-left: 0.35rem !important;
            padding-right: 0.35rem !important;
          }
          #tone-action-group {
            transform: none !important;
            margin-left: 0.15rem;
          }
          #tone-action-group .tone-chip-btn {
            width: 1.65rem;
            height: 1.65rem;
          }
          #tone-action-group .tone-chip-btn .material-symbols-outlined {
            font-size: 14px !important;
          }
        }
        /* Misafir: slider tamamen yok (gölge dahil) */
        body.guest-mode #home-hero-carousel,
        #home-hero-carousel.hidden {
          display: none !important;
          height: 0 !important;
          margin: 0 !important;
          padding: 0 !important;
          box-shadow: none !important;
          border: none !important;
          overflow: hidden !important;
        }
        #home-section-recent.home-recent-flush,
        body.guest-mode #home-section-recent {
          margin-top: 0 !important;
        }
        /* Açık/Koyu mod: sadece admin (/chordive) oturumunda gizle */
        body.admin-mode .theme-toggle-btn { display: none !important; }

        /* ZEN MODU - Tam Ekran ve Animasyonlu Sıfırlama */
        body.zen-mode aside, body.zen-mode nav, body.zen-mode header { display:none !important; }
        body.zen-mode main { padding-top:0 !important; margin-left:0 !important; }
        #song-detail-header { border-color: transparent !important; outline: none !important; box-shadow: none !important; }
        body.zen-mode #song-detail-header { height: 0 !important; padding: 0 !important; margin: 0 !important; opacity: 0 !important; overflow: hidden !important; border: none !important; outline: none !important; box-shadow: none !important; min-height: 0 !important; border-color: transparent !important; }
        body.zen-mode #song-rendered-content { padding-top: 0 !important; margin-top: 0 !important; }
        /* Normal Mod Sticky Ayarları */
        #song-toolbar-section {
          position: sticky !important;
          top: 64px !important; /* Mobil navbar yüksekliği */
          z-index: 35 !important; /* Üst logonun bulunduğu barın (z-40) altında kalması için düşürüldü */
          box-shadow: 0 4px 20px rgba(0,0,0,0.2);
          background: var(--bg-card) !important; /* Şarkı sözleri alttan kayarken üst üste binmesin diye */
        }

        /* Arşiv ve Sahne menüsü içinde açıldığında kendi scroll alanına göre hizalanır */
        #library-song-view #song-toolbar-section,
        #stages-song-view #song-toolbar-section {
          top: 0 !important;
        }

        @media (min-width: 1024px) {
          #song-toolbar-section {
            top: 0 !important; /* Masaüstünde en üstte */
          }
        }

        /* ZEN MODU Sticky Ayarları */
        body.zen-mode #song-toolbar-section {
          position: sticky !important;
          top: 0 !important;
          margin: 0 !important;
          border-top: none !important;
          z-index: 60 !important;
          border-radius: 1.5rem 1.5rem 0 0 !important;
          background: var(--bg-card) !important;
        }
        /* ZEN MODU — dış panel şekli tüm ekranlarda masaüstü ile aynı */
        body.zen-mode #song-content-section {
          padding: 8px !important;
        }
        body.zen-mode #duo-left-wrapper {
          border-radius: 1rem !important;
          overflow: hidden !important;
        }
        /* Sahne listelerim yan paneli — zen modda toolbar (z-60) üstünde kalsın */
        body.zen-mode #library-side-panel {
          z-index: 100 !important;
        }
        body.zen-mode #library-side-panel > button {
          z-index: 101 !important;
        }
        /* Tablet/telefon zen: üst boşluk */
        @media (max-width: 1023px) {
          body.zen-mode #main-content {
            padding-top: calc(env(safe-area-inset-top, 0px) + 6px) !important;
          }
          body.zen-mode.has-pinned-widgets #main-content {
            padding-top: calc(env(safe-area-inset-top, 0px) + 6px) !important;
          }
          body.zen-mode #page-song-detail,
          body.zen-mode #page-library,
          body.zen-mode #page-stages {
            padding-top: 0 !important;
            margin-top: 0 !important;
          }
          body.zen-mode #song-detail-movable-container {
            margin-top: 0 !important;
          }
          body.zen-mode #song-detail-header {
            min-height: 0 !important;
          }
        }

        /* Açık mod — ana sayfa bölüm başlık ikonları */
        html.light #page-home h2 .material-symbols-outlined.text-primary {
          color: #0a6b32 !important;
          filter: drop-shadow(0 1px 2px rgba(0,0,0,0.18));
        }

        /* Modal içi (Sahne Modu) scroll problemi çözümü */
        #stages-song-view, #library-song-view {
          overflow-y: auto !important;
          height: 100% !important;
        }

        /* İKİYE BÖLME - Kıtaların parçalanmasını önler - RESPONSIVE */
        .two-column-content {
          column-count: 2 !important;
          column-gap: 4rem !important;
          text-align: left;
          column-rule: 1px solid var(--border);
          column-rule-style: dashed;
          display: block !important;
          overflow: visible !important; /* Tekli modda çalışmasını sağlayan kritik kod */
        }
        .two-column-content .song-line {
          display: flex;
          flex-direction: column;
        }

        .two-column-content .verse-block {
          break-inside: avoid;
          page-break-inside: avoid;
          margin-bottom: 1.5rem;
          display: block;
          width: 100%;
        }

        .two-column-content .song-line {
          break-inside: avoid;
          page-break-inside: avoid;
        }

        /* Potpori: her şarkı bloğu kolon içinde bölünmesin; sağ kolon her zaman başlık kutusuyla başlasın */
        .two-column-content .potpori-song-block {
          break-inside: avoid;
          page-break-inside: avoid;
          -webkit-column-break-inside: avoid;
          display: block;
          width: 100%;
          margin-bottom: 1.25rem;
        }
        .two-column-content .potpori-song-header {
          break-after: avoid;
          page-break-after: avoid;
          -webkit-column-break-after: avoid;
        }
        .two-column-content .potpori-song-block.potpori-col-break {
          break-before: column;
          page-break-before: always;
          -webkit-column-break-before: always;
        }

        .page {
          min-height: 100vh;
        }

        /* Mobil cihazlarda tek kolon */
        @media (max-width: 768px) {
          .two-column-content {
            columns: 1;
          }
        }

        /* İkili geçiş kontrol butonları */
        .toggle-column-btn {
          display: inline-flex;
          align-items: center;
          gap: 0.25rem;
          padding: 0.5rem;
          border-radius: 9999px;
          border: 1px solid var(--border);
          background: var(--bg-card-high);
          cursor: pointer;
          transition: all 0.2s;
          margin-left: 0.5rem;
        }

        .toggle-column-btn:hover {
          background: var(--bg-card-highest);
          border-color: var(--border-hover);
        }

        .toggle-column-btn.active {
          background: var(--primary);
          color: var(--on-primary);
          border-color: var(--primary);
        }

        .toggle-column-btn .indicator {
          width: 8px;
          height: 8px;
          border-radius: 2px;
          background: currentColor;
          margin: 0 2px;
        }

        /* AZALTILMIŞ HAREKET MODU */
        html.reduced-motion-early *, body.reduced-motion *, body.reduced-motion *::before, body.reduced-motion *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
        }
        #duo-left-outer { position: relative; flex: 1; display: flex; flex-direction: column; min-width: 0; }
        #song-nav-wrap {
          display: flex;
          flex-direction: row;
          align-items: stretch;
        }
        #duo-right-wrapper {
          flex-shrink: 0;
          min-width: 0;
          align-self: stretch;
        }
        .chord-diagram-svg { display: block; width: 100%; max-width: 100%; }
        /* Sidebar kenar sekmesi kaldırıldı — eski yuvarlak buton kullanılıyor */
        .collapse-btn-icon { transition: transform 0.3s; }
        body.sidebar-collapsed .collapse-btn-icon { transform: rotate(180deg); }
        /* Ana sayfa genişletilmiş bölüm — üstten açılır (zen benzeri) */
        #home-top-widgets { transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.35s ease; overflow: hidden; }
        #stage-top-widgets {
          transition: max-height 0.2s ease, opacity 0.2s ease, margin 0.2s ease, transform 0.2s ease;
          overflow: hidden;
          transform-origin: top center;
        }
        #stage-top-widgets.home-widgets-collapse-fast { transition: max-height 0.2s ease, opacity 0.2s ease, margin 0.2s ease, transform 0.2s ease !important; }
        #home-expanded-view {
          transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
          transform-origin: top center;
        }
        #home-expanded-view.home-expand-enter {
          opacity: 0;
          transform: scaleY(0.96);
        }
        #home-expanded-view.home-expand-active {
          opacity: 1;
          transform: scaleY(1);
        }
        /* Tablet/telefon: Yeni Eklenenler — soft açılış.
           Animasyon bitince transform sınıfı kaldırılır (blur kırılmasın). */
        html.chordive-touch #home-expanded-view {
          transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
        }
        html.chordive-touch #home-expanded-view.home-expand-enter {
          opacity: 0;
          transform: translateY(22px) scale(0.985);
        }
        html.chordive-touch #home-expanded-view.home-expand-active {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
        html.chordive-touch #home-expanded-view.home-expand-done {
          opacity: 1 !important;
          transform: none !important;
        }
        #home-expanded-view.home-expand-done {
          opacity: 1;
        }
        html.chordive-touch #home-top-widgets {
          transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, margin 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }
        html.chordive-touch #song-detail-header {
          transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, padding 0.45s ease, margin 0.45s ease, min-height 0.45s ease;
          max-height: 280px;
          overflow: hidden;
        }
        html.chordive-touch body.zen-mode #song-detail-header {
          max-height: 0 !important;
          transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, padding 0.45s ease, margin 0.45s ease !important;
        }
        html.chordive-touch #song-toolbar-section {
          transition: top 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.4s ease, box-shadow 0.4s ease;
        }
        /* Tablet/PC ikili: yandan gelsin. Yalnız telefon (max 639) alttan gelsin. */
        @media (min-width: 640px) {
          html.chordive-touch #duo-right-wrapper {
            transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1), height 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, flex 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) !important;
          }
          html.chordive-touch #duo-right-wrapper.duo-soft-enter {
            transform: translateX(28px);
            opacity: 0.35;
          }
          html.chordive-touch #duo-right-wrapper.duo-soft-active {
            transform: translateX(0);
            opacity: 1;
          }
          html.chordive-touch #duo-right-wrapper.duo-soft-done {
            transform: none !important;
          }
        }
        /* Telefon: ikili mod — aynı sayfa içinde alt alta (sabit overlay yok) */
        @media (max-width: 639px) {
          .song-ruler-layout {
            flex-direction: row !important;
            flex-wrap: wrap !important;
            align-items: center !important;
          }
          .song-ruler-main {
            flex: 1 1 100% !important;
            order: 1;
            min-width: 0;
          }
          #tone-action-group {
            order: 2;
            margin-left: auto !important;
            transform: none !important;
          }
          #song-zen-oto-row {
            order: 2;
            margin-left: 0.25rem !important;
          }
          #song-nav-wrap.duo-phone-stack {
            flex-direction: column !important;
            align-items: stretch !important;
            overflow: visible !important;
            height: auto !important;
            min-height: 0 !important;
          }
          #song-content-section:has(#song-nav-wrap.duo-phone-stack) {
            overflow: visible !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-left-outer {
            flex: 0 0 auto !important;
            width: 100% !important;
            min-height: 42vh !important;
            max-height: none !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-left-wrapper {
            min-height: 42vh !important;
            height: auto !important;
            width: 100% !important;
          }
          #song-nav-wrap.duo-phone-stack #song-rendered-content {
            min-height: 42vh !important;
            height: auto !important;
            max-height: none !important;
            overflow-y: auto !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-right-wrapper {
            position: relative !important;
            left: auto !important;
            right: auto !important;
            bottom: auto !important;
            top: auto !important;
            width: 100% !important;
            height: auto !important;
            min-height: 42vh !important;
            max-height: none !important;
            flex: 0 0 auto !important;
            z-index: 1 !important;
            align-self: stretch !important;
            border-radius: 0.75rem !important;
            box-shadow: none !important;
            margin-top: 0.5rem !important;
            transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-right-wrapper.duo-phone-enter {
            transform: translateY(28px) !important;
            opacity: 0.2 !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-right-wrapper.duo-phone-active {
            transform: translateY(0) !important;
            opacity: 1 !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-right-split-panel {
            min-height: 42vh !important;
            height: auto !important;
          }
          #song-nav-wrap.duo-phone-stack #duo-right-split-content,
          #song-nav-wrap.duo-phone-stack #inline-duo-list-container {
            min-height: 42vh !important;
          }
          #song-content-section:has(#song-nav-wrap.duo-phone-stack) {
            flex: none !important;
            height: auto !important;
            overflow: visible !important;
          }
          #song-detail-movable-container:has(.duo-phone-stack) {
            height: auto !important;
            overflow: visible !important;
          }
          /* hidden / sm:hidden sınıflarını ezme — Kolay telefonda kısa kalsın */
          #song-toolbar .toolbar-btn .toolbar-btn-label.hidden {
            display: none !important;
          }
          @media (min-width: 640px) {
            #song-toolbar .toolbar-btn .toolbar-btn-label.sm\:hidden {
              display: none !important;
            }
            #song-toolbar .toolbar-btn .toolbar-btn-label.hidden.sm\:inline {
              display: inline !important;
            }
          }
          @media (max-width: 639px) {
            #song-toolbar .toolbar-btn .toolbar-btn-label.sm\:hidden {
              display: inline !important;
            }
          }
          /* Sahne listelerim sekmesi — ovalliğin hemen altında */
          #library-side-panel > button {
            top: calc(env(safe-area-inset-top, 0px) + 2.35rem) !important;
          }
          /* Tüm toolbar butonları Böl/Not/Gizle ile aynı kompakt boyut */
          #song-toolbar .toolbar-btn,
          #song-toolbar .song-toolbar-secondary .toolbar-btn {
            padding: 0.2rem 0.35rem !important;
            font-size: 0.58rem !important;
            gap: 2px !important;
            min-height: 1.65rem !important;
          }
          #song-toolbar .toolbar-btn .material-symbols-outlined {
            font-size: 0.95rem !important;
          }
          #btn-zen-in-toolbar { display: none !important; }
          #stages-list-container .stages-phone-actions {
            gap: 0.35rem !important;
          }
          #stages-list-container .stages-phone-actions > button {
            min-width: 0 !important;
            padding: 0.45rem 0.35rem !important;
            font-size: 0.58rem !important;
            gap: 0.2rem !important;
            border-radius: 0.75rem !important;
          }
          #stages-list-container .stages-phone-actions > button .material-symbols-outlined {
            font-size: 0.9rem !important;
          }
          /* Cetvel ayarı (telefon): yazı üste ortalı, select alta */
          #profile-ruler-mode-row {
            align-items: stretch !important;
            min-height: 7.5rem;
            padding-top: 0.85rem !important;
            padding-bottom: 0.85rem !important;
          }
          #profile-ruler-mode-row .profile-ruler-copy {
            text-align: center !important;
            padding-right: 0 !important;
            margin-top: 0.15rem;
          }
          #profile-ruler-mode-row .profile-ruler-select {
            width: 100% !important;
            margin-top: auto;
            align-self: stretch;
          }
          #song-detail-header-actions {
            bottom: 0.75rem !important;
            right: 0.75rem !important;
            gap: 0.35rem !important;
          }
        }
        /* Tablet: toolbar zen butonu yok; kompakt boyut */
        @media (min-width: 768px) and (max-width: 1023px) {
          #btn-zen-in-toolbar { display: none !important; }
          #song-toolbar .toolbar-btn {
            padding: 0.25rem 0.4rem !important;
            font-size: 0.62rem !important;
            min-height: 1.75rem !important;
          }
          #song-toolbar .toolbar-btn .material-symbols-outlined {
            font-size: 1rem !important;
          }
        }
        html.chordive-touch #inline-duo-list-container {
          transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease !important;
        }
        /* Karaoke: seçili nota + söz (inline style ile de boyanır) */
        .notation-paper-chordive g.abcjs-note.nota-karaoke-on path,
        .notation-paper-chordive g.abcjs-rest.nota-karaoke-on path,
        .notation-paper-chordive g.abcjs-note.nota-karaoke-on ellipse,
        .notation-paper-chordive g.abcjs-rest.nota-karaoke-on ellipse {
          fill: #ef4444 !important;
          stroke: #ef4444 !important;
        }
        .notation-paper-chordive text.nota-karaoke-lyric,
        .notation-paper-chordive tspan.nota-karaoke-lyric {
          fill: #ef4444 !important;
          font-weight: 700 !important;
        }
        /* Nota tıklama — açılır düzenleme kutusu */
        #nota-edit-pop {
          position: fixed;
          z-index: 99990;
          min-width: 188px;
          max-width: min(260px, 92vw);
          padding: 8px;
          border-radius: 12px;
          border: 1px solid rgba(255,255,255,0.14);
          background: rgba(18, 22, 18, 0.58);
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);
          box-shadow: 0 10px 28px rgba(0,0,0,0.28);
          color: var(--text, #e8eee8);
          display: none;
          flex-direction: column;
          gap: 6px;
          pointer-events: auto;
        }
        #nota-edit-pop.is-open { display: flex; }
        #nota-edit-pop .nep-title {
          font-size: 10px;
          font-weight: 800;
          letter-spacing: 0.06em;
          text-transform: uppercase;
          color: var(--text-muted, #8a968a);
          padding: 2px 4px 4px;
        }
        #nota-edit-pop .nep-row {
          display: flex;
          flex-wrap: wrap;
          gap: 4px;
        }
        #nota-edit-pop .nep-btn {
          flex: 0 0 auto;
          min-width: 2rem;
          padding: 5px 7px;
          border-radius: 8px;
          border: 1px solid var(--border, rgba(255,255,255,0.12));
          background: rgba(255,255,255,0.04);
          color: inherit;
          font-size: 12px;
          font-weight: 800;
          cursor: pointer;
          line-height: 1.2;
        }
        #nota-edit-pop .nep-btn:hover {
          border-color: rgba(22, 224, 0, 0.45);
          background: rgba(22, 224, 0, 0.12);
        }
        #nota-edit-pop .nep-btn.danger:hover {
          border-color: rgba(239, 68, 68, 0.5);
          background: rgba(239, 68, 68, 0.12);
        }
        #nota-edit-pop .nep-sep {
          height: 1px;
          background: rgba(255,255,255,0.08);
          margin: 2px 0;
        }
        .notation-paper-chordive g.abcjs-note,
        .notation-paper-chordive g.abcjs-rest {
          cursor: pointer;
        }
        .notation-inst-btn.active {
          background: #16e000 !important;
          color: #000 !important;
          border-color: transparent !important;
        }
        .notation-archive-item:hover { border-color: rgba(22, 224, 0, 0.45) !important; }
        #notation-song-picker-bar { overflow: visible !important; position: relative; z-index: 80; }
        #notation-song-picker-dropdown {
          position: absolute; left: 12px; right: 12px; top: 100%;
          margin-top: 6px;
          max-height: min(320px, 50vh); overflow-y: auto; z-index: 90;
          border-radius: 1rem; border: 1px solid var(--border);
          background: var(--bg-card-highest, #1a1a1a);
          box-shadow: 0 16px 40px rgba(0,0,0,0.45);
        }
        #notation-song-picker-dropdown .nsp-item:hover { background: rgba(22,224,0,0.12); }
        #page-notation { overflow: visible !important; }
        #notation-guitar-tab-editor {
          font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
          white-space: pre; line-height: 1.35;
        }
        /* Nota Stüdyosu — Mus2 tarzı: masaüstü/tablet sol araç şeridi */
        #page-notation .notation-studio-header-actions {
          display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
        }
        #page-notation .notation-studio-header-actions > button,
        #page-notation .notation-studio-header-actions > label {
          padding: 0.55rem 0.85rem !important;
          font-size: 0.75rem !important;
          border-radius: 0.75rem !important;
        }
        #notation-editor-view.notation-mus2 {
          display: flex;
          flex-direction: column;
          gap: 0.75rem;
        }
        #notation-tools-rail {
          display: flex;
          flex-direction: row;
          flex-wrap: nowrap;
          gap: 0.35rem;
          overflow-x: auto;
          overflow-y: hidden;
          padding: 0.5rem;
          border-radius: 1rem;
          border: 1px solid var(--border);
          background: var(--bg-card-highest, rgba(0,0,0,0.25));
          -webkit-overflow-scrolling: touch;
          scrollbar-width: none;
          -ms-overflow-style: none;
        }
        #notation-tools-rail::-webkit-scrollbar { display: none; width: 0; height: 0; }
        #notation-tools-rail .notation-tool-btn {
          flex: 0 0 auto;
          min-width: 2.8rem;
          min-height: 2.5rem;
          padding: 0.45rem 0.5rem;
          font-size: 1.25rem;
          font-weight: 800;
          border-radius: 0.65rem;
          white-space: nowrap;
          line-height: 1;
        }
        #notation-tools-rail .notation-tool-sep {
          width: 1px;
          align-self: stretch;
          background: rgba(255,255,255,0.1);
          flex: 0 0 1px;
          margin: 0 0.15rem;
        }
        #notation-studio-main-col {
          display: flex;
          flex-direction: column;
          gap: 0.75rem;
          min-width: 0;
          flex: 1;
        }
        @media (min-width: 768px) {
          #notation-editor-view.notation-mus2 {
            flex-direction: row;
            align-items: stretch;
            gap: 0.85rem;
          }
          #notation-tools-rail {
            flex-direction: column;
            flex-wrap: nowrap;
            width: 6.15rem;
            min-width: 6.15rem;
            max-height: min(78vh, 820px);
            overflow-x: hidden;
            overflow-y: auto;
            padding: 0.45rem;
            position: sticky;
            top: 0.75rem;
            align-self: flex-start;
            scrollbar-width: none;
          }
          #notation-tools-rail .notation-tool-btn {
            width: 100%;
            min-width: 0;
            min-height: 2.7rem;
            padding: 0.5rem 0.2rem;
            font-size: 1.42rem;
            text-align: center;
          }
          #notation-tools-rail .notation-tool-sep {
            width: auto;
            height: 1px;
            margin: 0.2rem 0;
            align-self: stretch;
          }
          #notation-editor-input.notation-editor-area {
            min-height: 7.5rem;
            max-height: 11rem;
          }
          #page-notation > header h1 { font-size: 1.75rem; }
          #notation-song-picker-bar { margin-bottom: 0.75rem !important; padding: 0.75rem 1rem !important; }
        }
        @media (min-width: 1024px) {
          #notation-tools-rail {
            width: 6.5rem;
            min-width: 6.5rem;
          }
        }
        /* Gitar PDF stili: TAB porte notanın altında */
        .notation-paper-chordive { padding-bottom: 0.35rem; overflow-x: auto; }
        .notation-paper-chordive .abcjs-voice-name { display: none !important; }
        /* Solfej notaya daha yakın (üstteki sistemle çarpışmasın) */
        .notation-paper-chordive .abcjs-annotation {
          /* Y konumu JS ile notaya göre ayarlanır */
        }
        .notation-paper-chordive .chordive-abc-system {
          margin-bottom: 14px;
        }
        .notation-paper-chordive .chordive-abc-system + .chordive-abc-system {
          margin-top: 6px;
        }
        .notation-paper-chordive.guitar-tab-mode svg {
          display: block;
          overflow: visible !important;
        }
        #notation-zen-root {
          display: none;
          position: fixed;
          inset: 0;
          z-index: 9999;
          background: #0b0f0b;
          flex-direction: column;
          padding: 16px 18px 20px;
        }
        #notation-zen-root.open { display: flex; }
        #notation-zen-root .zen-top {
          display: flex;
          align-items: center;
          gap: 12px;
          margin-bottom: 12px;
          flex-wrap: wrap;
        }
        #notation-zen-paper {
          flex: 1;
          overflow: auto;
          background: #f7f8f5;
          border-radius: 16px;
          padding: 18px;
        }
        #notation-zen-paper .notation-paper-chordive { background: transparent !important; }
        .notation-editor-area::selection {
          background: rgba(22, 224, 0, 0.35);
          color: #fff;
        }
        .notation-paper-chordive .abcjs-title {
          text-anchor: middle;
        }
        .notation-paper-chordive .abcjs-composer {
          text-anchor: end;
        }
        @media print {
          body * { visibility: hidden !important; }
          #notation-studio-paper, #notation-studio-paper * { visibility: visible !important; }
          #notation-studio-paper {
            position: absolute !important;
            left: 0; top: 0; width: 100% !important;
            background: #fff !important;
            box-shadow: none !important;
            border-radius: 0 !important;
          }
        }
        /* Genel ton / akıllı setlist — ortak select görünümü */
        .profile-tone-select,
        .profile-settings-row #global-key-select,
        .profile-settings-row #ruler-type-select {
          background: transparent !important;
          border: 1px solid var(--border) !important;
          border-radius: 12px !important;
          color: var(--text) !important;
          font-size: 0.75rem !important;
          font-weight: 900 !important;
          outline: none !important;
          appearance: none !important;
          -webkit-appearance: none !important;
        }
        .profile-tone-select {
          width: 100%;
          padding: 0.5rem 0.75rem !important;
          background: var(--bg-card-highest) !important;
        }
        .profile-tone-select:focus {
          border-color: rgba(29, 185, 84, 0.5) !important;
        }
        html.light .profile-tone-select,
        html.light .profile-settings-row #global-key-select,
        html.light .profile-settings-row #ruler-type-select {
          border-color: rgba(0, 0, 0, 0.08) !important;
        }
        /* Akor diyagramı — tel çizgileri açık modda daha koyu */
        html.light .chord-diagram-svg line { stroke: rgba(26,33,26,0.65) !important; opacity: 0.85 !important; }
        html.light .chord-diagram-svg text { fill: var(--text-muted); }
        /* Hero carousel — açık modda metin okunabilirliği (koyu overlay üzerinde beyaz) */
        html.light #home-hero-carousel .text-white,
        html.light #home-hero-carousel h1,
        html.light #home-hero-carousel p.text-white\/75 { color: #fff !important; }
        html.light #home-hero-carousel .text-on-surface-variant\/90 { color: rgba(255,255,255,0.82) !important; }
        html.light #home-hero-carousel .home-hero-slide { cursor: pointer; }
        /* Şeffaf / cam butonlar — her iki modda yarı saydam dolgu */
        button[class*="bg-white/"], button[class*="hover:bg-white/"],
        .toolbar-btn, .glass-select-display {
            background-color: rgba(255,255,255,0.08) !important;
        }
        html.light button[class*="bg-white/"], html.light button[class*="hover:bg-white/"],
        html.light .toolbar-btn {
            background-color: rgba(0,0,0,0.06) !important;
            color: var(--text) !important;
        }
        html.light .glass-options-dropdown { background: rgba(255,255,255,0.96) !important; color: var(--text) !important; }
        html.light .glass-options-dropdown div { color: var(--text) !important; }

        /* Sahne widget kartları — gölgesiz oval dikdörtgen */
        #stage-top-widgets .stage-widget-card,
        #stage-top-widgets .glass-box {
          box-shadow: none !important;
          filter: none !important;
          min-height: 260px;
          border-radius: 1.75rem !important;
        }
        /* Telefon: widget yüksekliğini daralt + slider yazıları küçük/üste */
        @media (max-width: 639px) {
          #stage-top-widgets .stage-widget-card,
          #stage-top-widgets .glass-box {
            min-height: 160px !important;
            padding: 0.75rem !important;
          }
          #home-hero-carousel {
            height: 220px !important;
            margin-bottom: 1.5rem !important;
            border-radius: 1.5rem !important;
          }
          #home-hero-carousel .home-hero-copy {
            justify-content: flex-start !important;
            padding-top: 1rem !important;
            padding-bottom: 2.5rem !important;
          }
          #home-hero-carousel .home-hero-copy h1 {
            font-size: 1.15rem !important;
            line-height: 1.25 !important;
            margin-bottom: 0.25rem !important;
          }
          #home-hero-carousel .home-hero-copy > p:nth-of-type(1) {
            font-size: 0.8rem !important;
            margin-bottom: 0.25rem !important;
          }
          #home-hero-carousel .home-hero-copy > p:nth-of-type(2) {
            font-size: 0.68rem !important;
          }
          #home-hero-carousel .home-hero-copy > span {
            margin-bottom: 0.45rem !important;
            font-size: 0.55rem !important;
            padding: 0.2rem 0.65rem !important;
          }
          #song-toolbar .toolbar-btn {
            padding: 0.2rem 0.35rem !important;
            font-size: 0.58rem !important;
            min-height: 1.65rem !important;
            gap: 2px !important;
          }
          #song-toolbar .toolbar-btn .material-symbols-outlined {
            font-size: 0.95rem !important;
          }
          #song-detail-header .glass-panel {
            padding: 0.85rem 1rem !important;
          }
          #detail-album-wrap {
            width: 4.5rem !important;
            height: 4.5rem !important;
            border-radius: 1rem !important;
          }
          html.chordive-touch #short-ruler-group {
            width: 100%;
            justify-content: space-between;
          }
          html.chordive-touch #short-ruler-group #tone-display-container {
            flex: 1;
            justify-content: center;
          }
        }

        /* Tablet: 4 widget yan yana, kare (dikdörtgen değil) */
        @media (min-width: 640px) and (max-width: 1023px) {
          #stage-top-widgets {
            grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
            gap: 0.625rem !important;
          }
          #stage-top-widgets .glass-box {
            aspect-ratio: 1 / 1;
            min-height: unset !important;
            height: auto !important;
            padding: 1rem 0.625rem !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: space-between !important;
            text-align: center !important;
            gap: 0.25rem !important;
            box-shadow: none !important;
          }
          #stage-top-widgets .glass-box > div:first-child {
            width: 100%;
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-start !important;
            align-items: center !important;
            flex-wrap: nowrap;
            gap: 0.35rem !important;
            min-height: 4.75rem;
            height: auto !important;
            position: static !important;
          }
          #stage-top-widgets .glass-box > div:first-child > .flex.items-center.gap-2:not([id]) {
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 0.25rem !important;
            width: 100%;
          }
          #stage-top-widgets .glass-box > div:first-child > .material-symbols-outlined.text-5xl,
          #stage-top-widgets .glass-box > div:first-child > .material-symbols-outlined[class*="text-5xl"] {
            font-size: 2.35rem !important;
            line-height: 1 !important;
            flex-shrink: 0;
            order: 0;
          }
          #stage-top-widgets #metro-stage-display,
          #stage-top-widgets #band-sync-stage-display {
            display: inline-flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: center !important;
            flex-wrap: nowrap !important;
            gap: 0.35rem !important;
            padding: 0.25rem 0.625rem !important;
            min-height: 1.35rem;
            max-height: 1.35rem;
            width: auto !important;
            min-width: 4.5rem;
            box-sizing: border-box;
            overflow: hidden;
            margin: 0 auto;
          }
          #stage-top-widgets #metro-stage-display #stage-mini-metro-dot,
          #stage-top-widgets #band-sync-stage-dot {
            width: 0.5rem !important;
            height: 0.5rem !important;
            min-width: 0.5rem !important;
            min-height: 0.5rem !important;
            flex-shrink: 0;
            transform-origin: center center;
          }
          #stage-top-widgets #metro-stage-bpm-display,
          #stage-top-widgets #band-sync-stage-code {
            font-size: 0.5625rem !important;
            line-height: 1 !important;
            letter-spacing: 0.08em !important;
            text-transform: uppercase;
            white-space: nowrap;
          }
          #stage-top-widgets .glass-box > div:last-child {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            flex: 1 1 auto;
            min-height: 3.75rem;
            text-align: center;
          }
          #stage-top-widgets .glass-box h3 {
            font-size: 1.2rem !important;
            line-height: 1.2 !important;
          }
          #stage-top-widgets .glass-box > div:last-child p,
          #stage-top-widgets .glass-box > div:last-child .text-\[10px\] {
            font-size: 0.6875rem !important;
            line-height: 1.25 !important;
          }
          #stage-top-widgets #looper-stage-play-btn {
            width: 1.35rem !important;
            height: 1.35rem !important;
            min-width: 1.35rem !important;
            min-height: 1.35rem !important;
            padding: 0 !important;
          }
          #stage-top-widgets #looper-stage-play-btn .material-symbols-outlined,
          #stage-top-widgets #looper-stage-play-btn .looper-ico {
            font-size: 12px !important;
            width: 12px !important;
            height: 12px !important;
          }
          #stage-top-widgets #looper-stage-status-text {
            font-size: 0.5625rem !important;
            letter-spacing: 0.05em !important;
          }
          #stage-top-widgets #metro-stage-display,
          #stage-top-widgets #looper-stage-status,
          #stage-top-widgets #countdown-stop-btn,
          #stage-top-widgets #band-sync-stage-display {
            position: static !important;
            top: auto !important;
            right: auto !important;
            max-width: 100%;
            margin: 0 auto;
            flex-shrink: 0;
          }
          #stage-top-widgets #band-sync-avatar-row {
            justify-content: center;
            margin-top: 0.1rem;
          }
          #stage-top-widgets #looper-stage-status {
            flex-wrap: nowrap;
            gap: 0.25rem !important;
            padding: 0.2rem 0.45rem !important;
            justify-content: center;
          }
          /* Rozet gizliyken de yer ayır — aktif/pasif aynı hizada kalsın */
          #stage-top-widgets #metro-stage-display.hidden,
          #stage-top-widgets #countdown-stop-btn.hidden,
          #stage-top-widgets #looper-stage-status.hidden,
          #stage-top-widgets #band-sync-stage-display.hidden {
            display: flex !important;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
          }
        }

        /* Soft primary button — Geçici Karıştır stili */
        .btn-soft-primary {
          background: rgba(29,185,84,0.12) !important;
          border: 1px solid rgba(29,185,84,0.4) !important;
          color: #1DB954 !important;
          box-shadow: none !important;
        }
        .btn-soft-primary:hover {
          background: rgba(29,185,84,0.22) !important;
          color: #1DB954 !important;
        }
        .btn-soft-blue {
          background: rgba(59,130,246,0.12) !important;
          border: 1px solid rgba(59,130,246,0.4) !important;
          color: #3b82f6 !important;
          box-shadow: none !important;
        }
        .btn-soft-blue:hover {
          background: rgba(59,130,246,0.22) !important;
          color: #3b82f6 !important;
        }
        .btn-soft-danger {
          background: rgba(239,68,68,0.12) !important;
          border: 1px solid rgba(239,68,68,0.4) !important;
          color: #f87171 !important;
          box-shadow: none !important;
        }
        .btn-soft-danger:hover {
          background: rgba(239,68,68,0.22) !important;
          color: #f87171 !important;
        }

        /* Widget modalları — Band Sync ile aynı cam panel */
        .widget-modal-panel {
          background: var(--glass) !important;
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        .widget-field {
          background: transparent !important;
          border: 1px solid var(--border) !important;
          color: var(--text) !important;
        }
        /* Akor kütüphanesi enstrüman seçici stili — widget butonları */
        .widget-seg-btn {
          background: transparent !important;
          border: 1px solid var(--border) !important;
          color: var(--text-muted) !important;
          transition: all 0.15s !important;
        }
        .widget-seg-btn.active,
        .widget-seg-btn.btn-soft-primary {
          background: rgba(29,185,84,0.12) !important;
          border: 1px solid rgba(29,185,84,0.4) !important;
          color: #1DB954 !important;
        }
        .widget-action-btn {
          background: rgba(29,185,84,0.12) !important;
          border: 1px solid rgba(29,185,84,0.4) !important;
          color: #1DB954 !important;
        }
        .widget-action-btn:hover {
          background: rgba(29,185,84,0.22) !important;
        }
        .widget-action-btn.danger {
          background: rgba(239,68,68,0.12) !important;
          border: 1px solid rgba(239,68,68,0.35) !important;
          color: #ef4444 !important;
        }
        .widget-action-btn.danger:hover {
          background: rgba(239,68,68,0.22) !important;
        }
        html.chordive-touch #tab-songs-list > div,
        html.chordive-touch #stages-list-container > div {
          content-visibility: auto;
          contain-intrinsic-size: auto 72px;
          contain: layout style paint;
        }
        /* Akor kartlarında content-visibility kullanma — kaydırınca siyah flash yapıyor */
        @media (max-width: 1024px) {
          #profile-cover-wrap #profile-cover-actions { opacity: 1 !important; }
          #profile-cover-wrap #profile-cover-actions button { opacity: 1 !important; }
          #profile-cover-wrap.is-editing #profile-cover-img { transition: none !important; }
        }

        /* Modal arka planları — profil blur kaydırıcısından (--bg-blur) */
        .chordive-modal-backdrop {
            backdrop-filter: blur(var(--bg-blur, 20px)) !important;
            -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        body.reduced-motion .chordive-modal-backdrop { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
        /* Ana sayfa hero carousel */
        #home-hero-carousel { isolation: isolate; }
        .home-hero-slide {
            position: absolute; inset: 0;
            opacity: 0; pointer-events: none;
            transition: opacity 0.7s ease;
            background-size: cover; background-position: center;
        }
        .home-hero-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }
        .home-hero-slide-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.55) 100%);
        }
        .home-hero-dot { width: 7px; height: 7px; border-radius: 9999px; background: rgba(255,255,255,0.25); transition: all 0.25s; cursor: pointer; }
        .home-hero-dot.active { background: #1DB954; width: 20px; }
        /* Profil rol dropdown — Pro Üye rozeti stili, yukarı açılır */
        .prof-role-badge-btn {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(29,185,84,0.1);
            border: 1px solid rgba(29,185,84,0.2);
            color: #1DB954;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            padding: 6px 16px;
            border-radius: 9999px;
            cursor: pointer;
            transition: all 0.2s;
            line-height: 1;
            white-space: nowrap;
        }
        .prof-role-badge-btn:hover { background: rgba(29,185,84,0.18); border-color: rgba(29,185,84,0.45); }
        /* Genel ton (glass-select) ile aynı: absolute + yukarı açılır */
        .prof-role-dropdown {
            position: absolute;
            left: 0;
            bottom: 100%;
            margin-bottom: 0.5rem;
            z-index: 99999;
            min-width: 100%;
            width: max-content;
            max-height: 12rem;
            overflow-y: auto;
            border-radius: 1rem;
            border: 1px solid var(--border);
            background: rgba(26, 33, 26, 0.98);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.45);
            padding: 4px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        html.light .prof-role-dropdown {
            background: rgba(240, 244, 240, 0.98);
        }
        html:not(.light) #prof-avatar-display {
            border-color: #1DB954 !important;
        }
        #prof-avatar-photo-btn {
            z-index: 25;
            background: rgba(0,0,0,0.55) !important;
            border: 2px solid rgba(255,255,255,0.22) !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.45);
            color: #1DB954 !important;
        }
        #prof-avatar-photo-btn .material-symbols-outlined {
            color: #1DB954 !important;
        }
        html.light #prof-avatar-photo-btn {
            background: rgba(255,255,255,0.92) !important;
            border-color: rgba(29,185,84,0.45) !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        .profile-settings-row input:not([type="color"]),
        .profile-settings-row select,
        .profile-settings-row .profile-field-input {
          background: transparent !important;
          border: none !important;
        }
        .profile-settings-row #global-key-select,
        .profile-settings-row #ruler-type-select {
          background: transparent !important;
          border: 1px solid var(--border) !important;
        }
        html.light .profile-settings-row #global-key-select,
        html.light .profile-settings-row #ruler-type-select {
          border-color: rgba(0, 0, 0, 0.08) !important;
        }
        @media (min-width: 1024px) {
          #home-hero-carousel { cursor: default; }
        }
        @media (max-width: 1023px) {
          #home-hero-carousel { cursor: grab; touch-action: pan-y; }
          #home-hero-carousel.is-swipping { cursor: grabbing; }
        }
        .home-hero-cta {
            pointer-events: auto;
            margin-top: 0.75rem;
            padding: 0.5rem 1.25rem;
            border-radius: 9999px;
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: rgba(29,185,84,0.18);
            border: 1px solid rgba(29,185,84,0.45);
            color: #1DB954;
            transition: all 0.15s;
        }
        .home-hero-cta:hover { background: rgba(29,185,84,0.28); }
        #home-hero-dots { pointer-events: none; }
        #home-hero-dots .home-hero-dot { pointer-events: auto; }

        /* OLED SAHNE MODU */
        body.oled-mode {
          --bg: #000000 !important;
          --bg-card: #000000 !important;
          --bg-card-low: #111111 !important;
          --bg-card-high: #222222 !important;
          --bg-card-highest: #333333 !important;
          --text: #ffffff !important;
          --text-muted: #aaaaaa !important;
          --border: #ffffff !important;
          --glass: #000000 !important;
          --primary: #ffffff !important;
        }
        body.oled-mode * {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
          box-shadow: none !important;
          text-shadow: none !important;
        }
        body.oled-mode .glass-panel, body.oled-mode .glass-box {
          background: #000000 !important;
          border: 1px solid #333333 !important;
        }
        /* Editörün seçimi arka planı */
        body.oled-mode [style*="bg-gradient"], body.oled-mode .bg-gradient-to-br {
          background: #111111 !important;
          background-image: none !important;
          border: 1px solid #333333 !important;
        }
        /* Tablet Alt Navigasyon Barı ve Buton Çerçeve Temizliği */
        body.oled-mode nav, body.oled-mode .bottom-nav, body.oled-mode [id^="nav-bar"],
        body.oled-mode .profile-settings-row {
          background-color: #000000 !important;
          background: #000000 !important;
        }
        body.oled-mode nav, body.oled-mode .bottom-nav, body.oled-mode [id^="nav-bar"] {
          border-top: 1px solid #333333 !important;
        }
        body.oled-mode .profile-settings-row {
          border: 1px solid #333333 !important;
        }
        body.oled-mode nav button, body.oled-mode .bottom-nav button {
          border: none !important;
          background: transparent !important;
          color: #ffffff !important;
        }
        /* Alt bardaki + Butonu Sabitleme */
        body.oled-mode nav button.bg-primary, body.oled-mode #btn-nav-add, body.oled-mode .bottom-nav button.bg-primary {
          background-color: #ffffff !important;
          color: #000000 !important;
          border: none !important;
        }
        /* Akor kütüphanesi enstrüman barları (Gitar, Ukulele, Piyano) */
        body.oled-mode .instrument-toggle-bar, body.oled-mode [id$="-tabs"], body.oled-mode .chord-tabs {
          background: #111111 !important;
          border: 1px solid #333333 !important;
        }
        body.oled-mode .instrument-toggle-bar button.active, body.oled-mode .chord-tabs button.active {
          background: #ffffff !important;
          color: #000000 !important;
        }
        body.oled-mode .interactive-chord, body.oled-mode .raw-chord, body.oled-mode .easy-chord-span {
          color: #ffffff !important;
          font-weight: 900 !important;
          text-decoration: underline !important;
        }
        body.oled-mode #global-bg { display: none !important; }
        body.oled-mode button, body.oled-mode input, body.oled-mode select { border: 1.5px solid #333333 !important; color: #ffffff !important; }
        body.oled-mode .bg-primary { background-color: #ffffff !important; color: #000000 !important; }
        body.oled-mode .text-primary { color: #ffffff !important; }

        /* Nota Stüdyosu snippet (nota ekleme) butonları — eskiden açık mavi (#1fdad1) idi.
           Artık: karanlık modda site yeşili (#1DB954), aydınlık modda siyah. */
        [onclick*="insertNotationSnippet"] {
          color: #1DB954 !important;
        }
        [onclick*="insertNotationSnippet"]:hover {
          background-color: rgba(29,185,84,0.20) !important;
          color: #1DB954 !important;
        }
        [onclick*="insertNotationSnippet"][class*="1fdad1"] {
          background-color: rgba(29,185,84,0.10) !important;
          border-color: rgba(29,185,84,0.30) !important;
          color: #1DB954 !important;
        }
        html.light [onclick*="insertNotationSnippet"] {
          color: #000000 !important;
        }
        html.light [onclick*="insertNotationSnippet"]:hover {
          background-color: rgba(0,0,0,0.10) !important;
          color: #000000 !important;
        }
        html.light [onclick*="insertNotationSnippet"][class*="1fdad1"] {
          background-color: rgba(0,0,0,0.06) !important;
          border-color: rgba(0,0,0,0.20) !important;
          color: #000000 !important;
        }

        /* Oval select kutuları — site yeşiline uyumlu */
        select {
          -webkit-appearance: none;
          appearance: none;
          border-radius: 9999px !important;
          padding-left: 1.25rem !important;
          padding-right: 2.5rem !important;
          border: 1.5px solid var(--border) !important;
          transition: border-color 0.2s, box-shadow 0.2s;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231DB954' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
          background-repeat: no-repeat !important;
          background-position: right 0.9rem center !important;
          cursor: pointer;
        }
        select:focus {
          outline: none !important;
          border-color: #1DB954 !important;
          box-shadow: 0 0 0 3px rgba(29,185,84,0.18) !important;
        }

        /* Arama çubukları ve tüm input tipleri focus yeşil */
        input, select, textarea, button {
          outline: none !important;
          -webkit-tap-highlight-color: transparent;
        }
        input[type="text"]:focus,
        input[type="number"]:focus,
        input[type="password"]:focus,
        input[type="email"]:focus,
        input[type="url"]:focus,
        select:focus,
        textarea:focus {
          outline: none !important;
          border-color: #1DB954 !important;
          box-shadow: 0 0 0 3px rgba(29,185,84,0.15) !important;
        }

        /* STÜDYO EDİTÖRÜ — contenteditable placeholder */
        #song-content-input[contenteditable]:empty:before {
          content: attr(data-placeholder);
          color: var(--on-surface-variant, #888);
          pointer-events: none;
        }
        
        /* Span içindeki boşlukların ham metin olarak görünmesini engeller ve arka plan rengini korur */
        #song-content-input[contenteditable] span { 
            border-radius: 3px; 
            display: inline-block; 
            white-space: pre-wrap; 
        }
        #song-content-input[contenteditable] span[style] { border-radius: 3px; }
        #song-content-input .ms-word-selected {
          outline: 2px dashed #1DB954;
          outline-offset: 1px;
          border-radius: 3px;
          background: rgba(29,185,84,0.18);
        }

        /* VURGULAMA — satır bazlı */
        .highlight-mode .song-line { cursor:pointer; }
        .highlight-mode .song-line:hover .lyric-row,
        .highlight-mode .song-line:hover .song-line-inner { background: rgba(29,185,84,0.1); border-radius:6px; padding:1px 6px; display:inline-block; width: max-content; }
        .highlight-mode .song-line.highlighted .lyric-row,
        .highlight-mode .song-line.highlighted .song-line-inner { background: var(--highlight-bg); border-radius:6px; padding:1px 6px; border-left:3px solid var(--highlight-border); display:inline-block; width: max-content; }

        /* ARŞİV LİSTE — dokunmatikte transition kapalı (scroll jank) */
        .archive-list-item { transition: border-color 0.2s; }
        .archive-list-item:hover {
            border-color: rgba(29, 185, 84, 0.5) !important;
        }
        html.chordive-touch .archive-list-item,
        html.chordive-touch #library-list-container .glass-box,
        html.chordive-touch #stages-list-container .glass-box {
          transition: none !important;
        }

        /* Renk Seçici (Color Picker) Tam Yuvarlak Yapma */
        input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
        input[type="color"]::-webkit-color-swatch { border: none; border-radius: 50%; }
        input[type="color"] { border-radius: 50%; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }

        /* Gizlendiğinde görünmez olur ama alan kaplar ve tıklanabilir */
        .chords-hidden .interactive-chord,
        .chords-hidden .easy-chord-span,
        .chords-hidden .raw-chord {
          color: transparent !important;
          user-select: none;
        }
        /* KOLAY AKORLAR — aynı akorları farklı göster */
        .raw-chord { color:var(--chord-color); font-weight:700; cursor:pointer; padding:0; }
        .raw-chord:hover { filter: brightness(1.2); background:rgba(255,255,255,0.05); }
        .easy-chords-mode .interactive-chord { display:none; }
        .easy-chords-mode .easy-chord-span { display:inline-block !important; }
        .easy-chord-span { display:none; color:var(--chord-color); cursor:pointer; font-weight:bold; border-bottom: none !important; text-decoration: none !important; padding:0; }
        .easy-chord-span:hover { filter: brightness(1.2); background:rgba(255,255,255,0.05); }

        .pitch-detecting { animation:pulse 1s infinite; }
        @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }

        /* Ana sayfa hero banner - Editörün Seçimi yazısı sabit kalacak */
        #page-home .relative.rounded-\[2\.5rem\] .absolute.bottom-0 {
          position: absolute !important;
          bottom: 0 !important;
          top: auto !important;
        }
        @media (max-width: 640px) {
          #page-home h1.text-5xl { font-size: 2rem !important; }
        }
        .toolbar-btn { display:flex; align-items:center; gap:3px; background:rgba(255,255,255,0.05); border:1px solid var(--border); border-radius:10px; padding:6px 10px; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:0.05em; cursor:pointer; transition:all 0.2s; white-space:nowrap; color:var(--text); }
        html.light .toolbar-btn { background:rgba(0,0,0,0.05); }
        .toolbar-btn:hover { background:rgba(29,185,84,0.15); border-color:rgba(29,185,84,0.4); color:#1DB954; }
        .toolbar-btn.active { background:rgba(29,185,84,0.2); border-color:#1DB954; color:#1DB954; }
        .toolbar-btn .material-symbols-outlined { font-size:18px; }
        @media (min-width: 640px) {
            .toolbar-btn { padding:4px 8px; font-size:10px; gap:3px; }
            .toolbar-btn .material-symbols-outlined { font-size:15px; }
        }

        /* OTO KAYDIRMA POPUP */
        #autoscroll-popup {
          position: fixed;
          right: 32px;
          top: 50%;
          transform: translateY(-50%);
          z-index: 1000;
          display: none;
          flex-direction: column;
          align-items: center;
          gap: 12px;
          background: var(--glass);
          padding: 16px 10px;
          border-radius: 999px;
          border: 1px solid var(--border);
          box-shadow: 0 8px 32px rgba(0,0,0,0.4);
          backdrop-filter: blur(20px);
          -webkit-backdrop-filter: blur(20px);
        }
        #autoscroll-popup.visible { display: flex; }

        /* AKOR DİYAGRAMLARI — alttaki slide panel kaldırıldı */
        #song-chord-charts-slide { display: none !important; visibility: hidden !important; pointer-events: none !important; }

        /* Modallar her zaman üstte (eski slide panel z-index:170 sorununu önler) */
        #tuner-modal, #chord-library-modal, #global-tab-modal, #chord-detail-modal { z-index: 220 !important; }
        /* Akor Cetveli Modu — tüm ekranlarda: yazı üste ortalı, select alta (telefon düzeltmesi) */
        #profile-ruler-mode-row {
          display: flex !important;
          flex-direction: column !important;
          align-items: stretch !important;
          justify-content: flex-start !important;
          gap: 0.75rem !important;
          min-height: 7.5rem;
          padding-top: 0.85rem !important;
          padding-bottom: 0.85rem !important;
        }
        #profile-ruler-mode-row .profile-ruler-copy {
          text-align: center !important;
          padding-right: 0 !important;
          margin-top: 0.15rem;
          flex: 0 0 auto !important;
        }
        #profile-ruler-mode-row .profile-ruler-select {
          width: 100% !important;
          max-width: 100% !important;
          margin-top: auto;
          align-self: stretch;
          box-sizing: border-box;
        }
        /* Chromatic tuner — kadran + dikey sismik dalga (Guitar Tuna tarzı) */
        #tuner-stage {
          position: relative;
          width: 100%;
          display: flex;
          flex-direction: column;
          align-items: center;
          padding-top: 0.15rem;
        }
        /* Dikey sismik şeritler — iki yanda simetrik, uçları panele karışır */
        #tuner-waveform,
        #tuner-waveform-r {
          position: absolute;
          top: 50%;
          width: 26px;
          height: 236px;
          display: block;
          background: transparent;
          border: none;
          border-radius: 0;
          opacity: 0.9;
          pointer-events: none;
          -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
        }
        #tuner-waveform { left: -0.55rem; transform: translateY(-50%); }
        #tuner-waveform-r { right: -0.55rem; transform: translateY(-50%) scaleX(-1); }
        #tuner-dial {
          position: relative;
          width: 252px;
          height: 136px;
          flex-shrink: 0;
        }
        #tuner-dial svg {
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          overflow: visible;
        }
        #tuner-needle-container {
          position: absolute;
          bottom: 10px;
          left: 50%;
          width: 3px;
          height: 104px;
          transform-origin: bottom center;
          z-index: 10;
          transition: none !important;
        }
        #tuner-needle {
          width: 100%;
          height: 100%;
          border-radius: 9999px;
          background: #9ca3af;
        }
        #tuner-needle-pivot {
          position: absolute;
          bottom: -6px;
          left: 50%;
          transform: translateX(-50%);
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background: #18181b;
          border: 2px solid #52525b;
        }
        #tuner-readout {
          position: relative;
          display: flex;
          flex-direction: column;
          align-items: center;
          margin-top: -0.15rem;
        }
        #tuner-readout::before {
          content: '';
          position: absolute;
          top: -22px;
          left: 50%;
          width: 168px;
          height: 168px;
          transform: translateX(-50%);
          border-radius: 50%;
          background: radial-gradient(circle, rgba(29,185,84,0.20) 0%, transparent 68%);
          opacity: 0;
          transition: opacity 0.25s ease;
          pointer-events: none;
        }
        #tuner-readout.tuner-locked::before { opacity: 1; }
        #display-note {
          position: relative;
          font-size: 3.75rem;
          font-weight: 900;
          line-height: 1;
          letter-spacing: -0.04em;
          color: #fff;
        }
        #display-cents {
          margin-top: 0.35rem;
          font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
          font-size: 1rem;
          font-weight: 900;
          color: #52525b;
          min-height: 1.4rem;
          font-variant-numeric: tabular-nums;
        }
        #display-hz {
          margin-top: 0.2rem;
          font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
          font-size: 11px;
          letter-spacing: 0.14em;
          color: #a1a1aa;
          font-variant-numeric: tabular-nums;
        }
        #status-text {
          margin-top: 0.9rem;
          padding: 0.42rem 1.15rem;
          min-width: 9.5rem;
          border-radius: 999px;
          background: rgba(255,255,255,0.06);
          border: 1px solid rgba(255,255,255,0.09);
          font-size: 0.7rem;
          font-weight: 900;
          letter-spacing: 0.12em;
          text-transform: uppercase;
          color: #71717a;
          text-align: center;
          white-space: nowrap;
        }
        #tuner-pegs {
          display: grid;
          grid-template-columns: repeat(6, minmax(0, 1fr));
          gap: 0.4rem;
          width: 100%;
          margin-top: 1.25rem;
        }
        #tuner-pegs .peg {
          padding: 0.65rem 0;
          border-radius: 0.9rem;
          font-size: 11px;
          font-weight: 900;
          letter-spacing: 0.04em;
          color: #fff;
          border: 1px solid rgba(255,255,255,0.1);
          background: rgba(255,255,255,0.05);
          transition: background 0.15s, border-color 0.15s, color 0.15s;
        }
        #tuner-pegs .peg:hover {
          background: rgba(29,185,84,0.18);
          border-color: rgba(29,185,84,0.5);
        }
        #tuner-needle.tuner-needle-perfect { background: #1DB954 !important; box-shadow: 0 0 12px rgba(29,185,84,0.8); }
        #tuner-needle.tuner-needle-sharp { background: #ff5252 !important; }
        #tuner-needle.tuner-needle-flat { background: #ff9800 !important; }
        #display-note.tuner-note-perfect { color: #1DB954 !important; text-shadow: 0 0 24px rgba(29,185,84,0.45); }
        @media (max-width: 380px) {
          #tuner-dial { width: 210px; height: 116px; }
          #display-note { font-size: 3.1rem; }
          #tuner-waveform, #tuner-waveform-r { width: 20px; height: 196px; }
          #tuner-readout::before { width: 138px; height: 138px; }
          #tuner-pegs .peg { padding: 0.55rem 0; font-size: 10px; }
        }
        #tab-editor-modal { z-index: 240 !important; }

        /* AKOR KÜTÜPHANESİ MODAL — eski çalışan stil */
        #chord-library-modal.chordive-modal-backdrop { backdrop-filter: blur(var(--bg-blur, 20px)) !important; -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important; }
        .metro-sub-btn { min-width: 0; padding: 4px 0; font-size: 10px; font-weight: 900; border-radius: 8px; cursor: pointer; transition: all 0.15s; }
        .chord-lib-card { cursor:pointer; transition:all 0.4s cubic-bezier(0.4, 0, 0.2, 1); transform: scale(1); }
        .chord-lib-card:active { transform: scale(0.95); transition:all 0.1s; }
        .chord-lib-card:hover { border-color:rgba(29,185,84,0.5); background:rgba(29,185,84,0.05); }
        .chord-lib-card.selected { border-color:#1DB954; background:rgba(29,185,84,0.1); transform: scale(1.02); box-shadow: 0 4px 12px rgba(29,185,84,0.2); }
        /* Varyasyonlar arası kaydırma — tarayıcı jesti kapmasın */
        #chord-detail-modal #chord-carousel-wrap,
        #chord-detail-modal #chord-carousel-wrap { touch-action: none; contain: paint; }
        #chord-carousel, #chord-carousel { will-change: transform; backface-visibility: hidden; }
        #chord-lib-grid { contain: layout style; }
        /* Dokunmatik cihazlarda akor kütüphanesi + akor detayında ÜST ÜSTE iki tam
           ekran backdrop-filter katmanı vardı (modal perdesi + cam panel). Her
           kaydırma/varyasyon geçişi karesinde tüm ekranın bulanıklığı yeniden
           hesaplandığı için 60 FPS'e çıkamıyordu. Panel rengi korunur, arkadaki
           duvar kağıdı bulanıklığı yerine düz perde kullanılır. */
        /* Akor detay: performans için düz perde; kütüphane paneli tuner ile aynı cam */
        html.chordive-touch #chord-detail-modal,
        html.chordive-touch #chord-library-modal,
        html.chordive-touch #tuner-modal,
        html.chordive-touch #countdown-modal,
        html.chordive-touch #metronome-modal,
        html.chordive-touch #looper-pro-modal,
        html.chordive-touch #band-sync-modal {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
          background: rgba(0,0,0,0.55) !important;
        }
        html.light.chordive-touch #chord-detail-modal,
        html.light.chordive-touch #chord-library-modal,
        html.light.chordive-touch #tuner-modal {
          background: rgba(18,24,18,0.45) !important;
        }
        html.chordive-touch #chord-detail-modal > .glass-panel,
        html.chordive-touch #chord-library-panel,
        html.chordive-touch #tuner-modal > .glass-panel,
        html.chordive-touch .widget-modal-panel {
          background: var(--glass) !important;
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
        }
        html.chordive-touch .fade-in,
        html.chordive-touch #chord-library-panel {
          animation: none !important;
          transition: none !important;
        }
        #chord-library-panel {
          background: var(--glass) !important;
          backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          -webkit-backdrop-filter: blur(var(--bg-blur, 20px)) !important;
          color: var(--text);
        }
        /* Şarkı Bilgileri — Link/Toplu/Word/Kamera/PDF butonları tablette tek
           satıra sığmayıp İpuçlar panelinin üstüne kayıyordu; alta sarsınlar */
        html.chordive-touch #song-import-actions { flex-wrap: wrap; }
        html.chordive-touch #song-import-actions > button {
          flex: 1 1 calc(33.333% - 0.5rem);
          min-width: 0;
        }
        /* Küresel blur kuralı bu küçük noktaları da yakalıyordu; kaydırma
           animasyonu sırasında her karede yeniden çizilip "açılıp kapanıyor"
           gibi görünüyordu. Zemin zaten opak kart olduğu için görüntü aynı. */
        #chord-detail-diagram .chord-dot {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }
        
        /* Varyasyon butonları 1.den 2.ye geçerken animasyon yumuşatması */
        .variation-btn { 
            transition: all 0.3s ease-in-out; 
            opacity: 1 !important; 
            visibility: visible !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--bg-card-high);
            border: 1px solid var(--border);
            color: var(--text);
            z-index: 50;
        }
        .variation-btn:active { 
            transform: scale(0.95); 
            opacity: 0.9 !important; 
            transition: all 0.1s;
            background: rgba(29, 185, 84, 0.2);
            border-color: #1DB954;
        }

        /* AKOR DİYAGRAMI */
        .chord-diagram-svg { display:block; }

        /* ŞARKI İÇİ AKOR CHARTS BUTONU */
        #btn-chord-charts { }

        /* BAND SYNC */
        .musician-avatar { width:36px; height:36px; border-radius:50%; background:var(--bg-card-high); border:2px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:900; }

        /* GERİ SAYIM */
        #countdown-display { font-variant-numeric: tabular-nums; }

        /* AKOR ALGILAMA — satır içi */
        .raw-chord { color:var(--chord-color); font-weight:700; cursor:pointer; border-bottom: none !important; text-decoration: none !important; padding:0; }
        .raw-chord:hover { filter: brightness(1.2); background:rgba(255,255,255,0.05); }

        /* AKOR HOVER POPUP */
        #chord-hover-popup {
          position: fixed;
          z-index: 9990;
          background: var(--bg-card-high);
          border: 1px solid rgba(29,185,84,0.4);
          border-radius: 14px;
          padding: 8px 10px 6px;
          box-shadow: 0 8px 28px rgba(0,0,0,0.45);
          pointer-events: none;
          opacity: 0;
          transition: opacity 0.15s;
          text-align: center;
          min-width: 88px;
          transform: scale(1);
          transform-origin: bottom center;
        }
        #chord-hover-popup.visible { opacity: 1; }
        #chord-hover-popup .chord-name { font-size: 12px; font-weight: 900; color: #1DB954; margin-bottom: 4px; }
        #chp-diagram { display: flex; align-items: center; justify-content: center; overflow: hidden; line-height: 0; }
        #chp-diagram .chord-diagram-svg { max-height: 98px; transform: scale(0.9); transform-origin: center center; }

        /* Widget quick-add — eski şerit (artık üst bar slotu kullanılıyor) */
        .widget-pinned-badge { display: none !important; }

        /* Mobil/tablet: logo barının hemen altında sabit şerit */
        #pinned-widgets-bar {
          position: fixed;
          top: 4rem;
          left: 0;
          right: 0;
          z-index: 39;
          display: flex;
          justify-content: center;
          gap: 8px;
          pointer-events: none;
          padding: 6px 12px;
          flex-wrap: wrap;
        }
        #pinned-widgets-bar button {
          pointer-events: auto;
          display: flex;
          align-items: center;
          gap: 5px;
          padding: 7px 14px;
          border-radius: 999px;
          font-size: 11px;
          font-weight: 900;
          color: #000;
          background: #1DB954;
          border: none;
          cursor: pointer;
          box-shadow: 0 4px 16px rgba(29,185,84,0.35);
          text-transform: uppercase;
          letter-spacing: 0.04em;
        }
        @media (min-width: 1024px) { #pinned-widgets-bar { display: none !important; } }

        /* Mobil: üst/alt bar sabit — sadece main-content kayar */
        @media (max-width: 1023px) {
          header.top-bar {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 45 !important;
          }
          nav.bottom-nav {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 50 !important;
          }
          #main-content {
            padding-top: 4rem !important;
            padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 16px)) !important;
          }
          body.has-pinned-widgets #main-content {
            padding-top: calc(4rem + 2.75rem) !important;
          }
          .chordive-modal-backdrop.flex,
          .chordive-modal-backdrop:not(.hidden) {
            align-items: center !important;
            justify-content: center !important;
            padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 8px)) !important;
          }
        }

        /* Masaüstü: sol nav sabit oval bar — sadece sağ içerik kayar */
        @media (min-width: 1024px) {
          aside#main-sidebar {
            position: fixed !important;
            top: 1rem !important;
            bottom: 1rem !important;
            left: 1rem !important;
            height: auto !important;
            max-height: calc(100dvh - 2rem) !important;
            z-index: 50 !important;
          }
          #main-content {
            margin-left: calc(18rem + 1rem) !important;
            padding-top: 0 !important;
            padding-bottom: 1rem !important;
            width: auto;
          }
          body.sidebar-collapsed #main-content {
            margin-left: calc(5.5rem + 1rem) !important;
          }
        }

        /* Metronom input oklarını tamamen gizler */
        input[type="number"]::-webkit-outer-spin-button,
        input[type="number"]::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        input[type="number"] {
            -moz-appearance: textfield;
        }

        /* Sayma sesine eşlik edecek vurgulu nabız efekti */
        @keyframes metro-pulse {
          0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.7); }
          50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(29, 185, 84, 0); }
          100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); }
        }
        /* İkili şarkı modalı düzeltmesi */
        #inline-duo-list-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        #inline-duo-list {
            flex: 1;
            overflow-y: auto;
            min-height: 0; /* Flex child'ın kendi içinde kaydırılabilmesi için kritik */
        }

        .sidebar-wrapper { width: 18rem; transition: width 0.3s; }
      body.sidebar-collapsed .sidebar-wrapper { width: 5.5rem; }
      body.sidebar-collapsed .sidebar-wrapper .hide-on-collapse { display: none !important; }
      .sidebar-brand-row { min-height: 3.25rem; }
      #main-sidebar .site-brand-mark {
        display: flex;
        align-items: center;
        justify-content: center;
      }
      #main-sidebar .site-brand-logo-full {
        margin: 0 auto;
      }
      #main-sidebar .site-brand-logo-collapsed {
        display: none !important;
      }
      body.sidebar-collapsed #main-sidebar .site-brand-name {
        display: none !important;
      }
      body.sidebar-collapsed #main-sidebar .site-brand-logo-full {
        display: none !important;
      }
      body.sidebar-collapsed #main-sidebar .site-brand-mark.has-collapsed-logo .site-brand-logo-collapsed {
        display: block !important;
        height: 2.25rem;
        width: 2.25rem;
        max-width: 2.5rem;
        object-fit: contain;
      }
      /* Dar logo yoksa ana logoyu makul boyutta göster */
      body.sidebar-collapsed #main-sidebar .site-brand-mark.has-brand-logo:not(.has-collapsed-logo) .site-brand-logo-full {
        display: block !important;
        height: 2rem;
        max-width: 2.5rem;
      }
      body.sidebar-collapsed #main-sidebar .site-brand-mark:not(.has-brand-logo):not(.has-collapsed-logo) .site-brand-name {
        display: block !important;
        font-size: 0.7rem;
        max-width: 3.5rem;
        text-align: center;
        line-height: 1.1;
        white-space: normal;
      }
      #sidebar-edge-toggle #sidebar-edge-arrow { transition: transform 0.3s; }
      body.sidebar-collapsed #sidebar-edge-toggle #sidebar-edge-arrow { transform: rotate(180deg); }

/* İkili Mod Aktifken Mobil/Tablet Görünümünü Küçültme */
        @media (max-width: 1024px) {
          .dual-active #duo-left-wrapper, .dual-active #duo-right-split-panel {
            font-size: 10px !important;
          }
          .dual-active .interactive-chord, .dual-active .raw-chord, .dual-active .easy-chord-span {
            font-size: 11px !important;
          }
        }

        /* Kalp İkonu Hover Efekti (Listeden Çıkar İşareti - Sadece PC)
           Dolu kalp her zaman FILL=1; hover'da kırık kalp gösterilir. */
        @media (hover: hover) and (pointer: fine) {
            .removable-heart-wrapper:hover .is-added-heart {
                color: #1DB954 !important;
                -webkit-text-fill-color: #1DB954 !important;
            }
            .removable-heart-wrapper:hover .is-added-heart::after {
                content: "heart_broken";
                font-family: 'Material Symbols Outlined', sans-serif;
                font-weight: normal;
                font-style: normal;
                position: absolute;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #ef4444;
                -webkit-text-fill-color: #ef4444;
                font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
                pointer-events: none;
                line-height: 1;
            }
        }

        
        button[class~="bg-primary"], a[class~="bg-primary"] {
          background-color: rgba(29,185,84,0.10) !important;
          color: #1DB954 !important;
          border: 1px solid rgba(29,185,84,0.25) !important;
          transition: all 0.2s ease !important;
        }
        button[class~="bg-primary"]:hover, a[class~="bg-primary"]:hover {
          background-color: #1DB954 !important;
          color: #000000 !important;
        }
        button[class~="bg-red-500"], a[class~="bg-red-500"] {
          background-color: rgba(239,68,68,0.10) !important;
          color: #ef4444 !important;
          border: 1px solid rgba(239,68,68,0.25) !important;
          transition: all 0.2s ease !important;
        }
        button[class~="bg-red-500"]:hover, a[class~="bg-red-500"]:hover {
          background-color: #ef4444 !important;
          color: #ffffff !important;
        }
        button[class~="bg-red-600"], a[class~="bg-red-600"] {
          background-color: rgba(220,38,38,0.10) !important;
          color: #dc2626 !important;
          border: 1px solid rgba(220,38,38,0.25) !important;
          transition: all 0.2s ease !important;
        }
        button[class~="bg-red-600"]:hover, a[class~="bg-red-600"]:hover {
          background-color: #dc2626 !important;
          color: #ffffff !important;
        }
        button[class~="bg-blue-500"], a[class~="bg-blue-500"] {
          background-color: rgba(59,130,246,0.10) !important;
          color: #3b82f6 !important;
          border: 1px solid rgba(59,130,246,0.25) !important;
          transition: all 0.2s ease !important;
        }
        button[class~="bg-blue-500"]:hover, a[class~="bg-blue-500"]:hover {
          background-color: #3b82f6 !important;
          color: #ffffff !important;
        }
        /* #16e000 / #1DB954 gibi doğrudan hex ile yazılmış dolu butonlar (inline arbitrary Tailwind class) */
        button[class*="bg-[#16e000]"], a[class*="bg-[#16e000]"],
        button[class*="bg-[#1DB954]"], a[class*="bg-[#1DB954]"] {
          background-color: rgba(29,185,84,0.10) !important;
          color: #16e000 !important;
          border: 1px solid rgba(22,224,0,0.25) !important;
        }
        button[class*="bg-[#16e000]"]:hover, a[class*="bg-[#16e000]"]:hover,
        button[class*="bg-[#1DB954]"]:hover, a[class*="bg-[#1DB954]"]:hover {
          background-color: #16e000 !important;
          color: #000000 !important;
        }

        
        html.chordive-touch #chord-lib-grid > *,
        html.chordive-touch #chord-detail-diagram > *,
        html.chordive-touch #chord-carousel > *,
        html.chordive-touch #tab-songs-list > *,
        html.chordive-touch #profile-archive-list > *,
        html.chordive-touch #library-list-container > *,
        html.chordive-touch #stages-list-container > *,
        html.chordive-touch #duo-song-list > *,
        html.chordive-touch #inline-duo-list > *,
        html.chordive-touch #duo-right-split-content > *,
        html.chordive-touch #tuner-modal .peg,
        html.chordive-touch #tab-editor-modal textarea {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }

        /* Uzun listelerde ekran dışı satırlar hiç çizilmesin */
        html.chordive-touch #duo-song-list > div,
        html.chordive-touch #inline-duo-list > div {
          content-visibility: auto;
          contain-intrinsic-size: auto 64px;
          contain: layout style paint;
        }
        /* Dokunmatikte hover diye bir şey yok; geçişleri çalıştırmak boşa iş */
        html.chordive-touch #tab-songs-list > div,
        html.chordive-touch #duo-song-list > div,
        html.chordive-touch #inline-duo-list > div,
        html.chordive-touch .chord-lib-card {
          transition: none !important;
        }

        /* Akor kütüphanesi / detay — kaydırma ve varyasyon geçişi
           birbirini bozmasın diye jestleri ayırıyoruz: dikey kaydırma
           tarayıcıda kalır (akıcı), yatay kaydırma JS'e gelir. */
        #chord-detail-modal #chord-carousel-wrap,
        #chord-detail-modal #chord-carousel-wrap { touch-action: none !important; }
        #chord-carousel > div, #chord-carousel > div { contain: layout paint; }
        html.chordive-touch #chord-carousel,
        html.chordive-touch #chord-carousel { transition-duration: 220ms !important; }
        html.chordive-touch #chord-lib-grid,
        html.chordive-touch #chord-library-panel .overflow-y-auto,
        html.chordive-touch #tab-songs-list,
        html.chordive-touch #profile-archive-list {
          -webkit-overflow-scrolling: touch;
          overscroll-behavior: contain;
        }

        /* Araç çubuğu zemini opak — dokunmatikte gereksiz blur yok */
        html.chordive-touch #song-toolbar-section {
          backdrop-filter: none !important;
          -webkit-backdrop-filter: none !important;
        }


/* #song-rendered-content scrollbar */
                                    #song-rendered-content::-webkit-scrollbar { width: 0; }

/* #duo-right-split-content scrollbar */
                                    #duo-right-split-content::-webkit-scrollbar { width: 0; }

/* Tablet zen: üst araç sırası yan yana; Karıştır + A± alt sırada */
@media (min-width: 640px) and (max-width: 1023px) {
  body.zen-mode #song-zen-oto-row > .toolbar-btn[onclick*="toggleZenMode"] {
    display: inline-flex !important;
  }
  body.zen-mode #song-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
  body.zen-mode #song-toolbar > .toolbar-btn {
    width: auto !important;
    flex: 0 0 auto !important;
  }
  body.zen-mode #song-toolbar > .song-toolbar-secondary {
    flex-basis: 100% !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }
  body.zen-mode #btn-zen-in-toolbar {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  #btn-zen-in-toolbar { display: none !important; }
}

/* Stüdyo: cam kenarındaki yanıp sönen karartı */
#page-studio .glass-panel {
  isolation: isolate;
  background-clip: padding-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
#page-studio .glass-panel > * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.notation-hdr-btn,
.notation-hdr-btn {
  background: var(--bg-card-highest) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}
.notation-hdr-btn.notation-hdr-active,
.notation-hdr-btn.notation-hdr-active,
.notation-hdr-btn.notation-hdr-active .material-symbols-outlined,
.notation-hdr-btn.notation-hdr-active .material-symbols-outlined {
  background: var(--bg-card-highest) !important;
  color: #16e000 !important;
  border-color: var(--border) !important;
}

#page-notation.notation-inframe-zen > header,
#page-notation.notation-inframe-zen #notation-song-picker-bar,
#page-notation.notation-inframe-zen #notation-editor-input {
  display: none !important;
}
#page-notation.notation-inframe-zen #notation-editor-view.notation-mus2 {
  min-height: calc(100dvh - 5.5rem);
}
#page-notation.notation-inframe-zen #notation-studio-stage {
  min-height: 72vh;
}
#page-notation.notation-inframe-zen #notation-tools-rail {
  max-height: min(88vh, 920px);
}
#notation-zen-root { display: none !important; }

#studio-key-menu {
  position: fixed;
  z-index: 100000;
  max-height: 240px;
  overflow-y: auto;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card-highest, #161a16);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
#studio-key-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
}
#studio-key-menu button:hover,
#studio-key-menu button.is-selected {
  background: rgba(22,224,0,0.14);
  color: #16e000;
}

nav.bottom-nav button {
  color: var(--nav-icon-color, #e4e4e7);
}
nav.bottom-nav button.active-nav-item {
  color: #1DB954 !important;
}

.home-heart-icon.is-added-heart,
.song-view-heart-icon.is-added-heart,
.material-symbols-outlined.is-added-heart {
  font-variation-settings: 'FILL' 1, 'wght' 700, 'GRAD' 0, 'opsz' 24 !important;
}
@media (hover: hover) and (pointer: fine) {
  .removable-heart-wrapper:hover .is-added-heart {
    color: #1DB954 !important;
    -webkit-text-fill-color: currentColor !important;
  }
}

#notation-studio-paper {
  transform-origin: top left;
}

.metro-sound-btn.active,
[data-metro-sound].active {
  background: rgba(29,185,84,0.22) !important;
  color: #1DB954 !important;
  border-color: rgba(29,185,84,0.55) !important;
}

/* ========== Akorify ========== */
#page-akorify .akorify-mode-btn.akorify-mode-active {
  background: rgba(29,185,84,0.18) !important;
  border-color: rgba(29,185,84,0.5) !important;
  color: #1DB954 !important;
}

.akorify-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
}
.akorify-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.akorify-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  color: var(--text-muted);
}

.akorify-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: inline-block;
  transition: background 0.2s, box-shadow 0.2s;
}
.akorify-status-dot.live {
  background: #1DB954;
  box-shadow: 0 0 10px rgba(29,185,84,0.65);
  animation: akorify-pulse 1.4s infinite;
}
@keyframes akorify-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.akorify-time-code {
  color: var(--text-muted);
  background: var(--bg-card-highest);
  padding: 0.25rem 0.55rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.akorify-lyrics-body {
  display: flex;
  gap: 1rem;
}
.akorify-rail {
  position: relative;
  width: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  flex-shrink: 0;
  min-height: 200px;
  align-self: stretch;
}
.akorify-rail-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, #1DB954, #16e000);
  border-radius: 3px;
  transition: height 0.25s ease;
}
.akorify-rail-dot {
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1DB954;
  box-shadow: 0 0 12px rgba(29,185,84,0.55), 0 0 0 3px rgba(29,185,84,0.15);
  transform: translate(-50%, -50%);
  transition: top 0.25s ease;
}

.akorify-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 4px;
}
.akorify-lines::-webkit-scrollbar { width: 6px; }
.akorify-lines::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
}

.akorify-line {
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  scroll-margin: 40px;
}
.akorify-line.active {
  background: rgba(29,185,84,0.08);
  box-shadow: inset 0 0 0 1px rgba(29,185,84,0.28);
}
.akorify-line-time {
  display: block;
  font-family: Cousine, ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  opacity: 0.75;
}
.akorify-line.active .akorify-line-time {
  color: #1DB954;
  opacity: 1;
}

.akorify-token-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0;
}
.akorify-token {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 2px;
  margin-right: 2px;
}
.akorify-chord-badge {
  font-family: Cousine, ui-monospace, monospace;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--chord-color, #16e000);
  background: rgba(22,224,0,0.1);
  border: 1px solid rgba(22,224,0,0.35);
  border-radius: 0.4rem;
  padding: 1px 6px;
  margin-bottom: 3px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.akorify-word {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
  transition: color 0.15s ease;
}
.akorify-token:hover .akorify-chord-badge {
  color: #0d100d;
  background: #1DB954;
  border-color: #1DB954;
  box-shadow: 0 0 14px rgba(29,185,84,0.45);
  transform: translateY(-2px);
}
.akorify-token:hover .akorify-word {
  color: #1DB954;
}
.akorify-line.active .akorify-chord-badge {
  color: #1DB954;
  background: rgba(29,185,84,0.14);
  border-color: rgba(29,185,84,0.45);
}

.akorify-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.akorify-empty b {
  color: var(--text);
}

.akorify-editor {
  width: 100%;
  min-height: 340px;
  background: var(--bg-card-highest);
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--text);
  font-family: Cousine, ui-monospace, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  padding: 1rem;
  resize: vertical;
  outline: none;
}
.akorify-editor:focus {
  border-color: rgba(29,185,84,0.45);
}

