 
    /* --- SYSTEM MOTYWÓW (THEMES) --- */
 

body.theme-light {
    --bg-main: #f0f2f5;
    --bg-header: #ffffff;
    --card-bg: #ffffff;
    --text-main: #1c1e21;
    --text-dim: #65676b;
    --blue: #007bff; /* Klasyczny niebieski */
    --pink: #e91e63;
    --purple: #673ab7;
    --glass-border: rgba(0, 0, 0, 0.1);
     --box-shadow: none;
            
    --card-border-top: 1px solid #aaaaaa3b;
    --border-radius: 0px;
    
    --border:none;
     --nav-icon:#9576e2;
        --card-widthleft:-20px;

    --card-width: calc( 100% + 40px );
    --padding-full-card:0px 22px 0px 22px  ;
    
    --border-radius-media-feed: 22px ;
        --top-bg:white;
--button-bg:transparent;
   --cover-overlay:   linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 40%, rgb(255 255 255) 100%);
      --tabs-main-before: white;
    --accent: #5384ff;
--promo:linear-gradient(180deg, rgb(255 246 238 / 95%) 0%, rgb(255 255 255 / 8%) 100%) !important;

}

body.theme-dark {
    --bg-main: #000000;
    --bg-header: #121212;
    --card-bg: transparent;
    --text-main: #e4e6eb;
    --text-dim: #b0b3b8;
    --blue: #2d88ff;
    --pink: #fb3958;
    --purple: #a450ff;
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --box-shadow: none;
            
    --card-border-top: 1px solid #2d2929;
    --border-radius: 0px;
    
    --border:none;
     
        --card-widthleft:-20px;

    --card-width: calc( 100% + 40px );
    
        --margin-full-card:0px 9px 0px 9px  ;
    --padding-full-card:0px 22px 0px 22px  ;

    --border-radius-media-feed:22px;
    
    --top-bg:black;
    
       --cover-overlay:  linear-gradient(to bottom, rgb(22 14 14 / 70%) 0%, transparent 40%, rgb(0 0 0) 100%); 
     --promo: linear-gradient(180deg, rgb(31 26 21 / 95%) 0%, rgba(157, 78, 221, 0.08) 100%) !important;
}


/* --- MOTYWY ZAAOKRĄGLONE (BUBBLE / ROUNDED) --- */

body.theme-light-round {
    --bg-main: #f2f4f7;
    --bg-header: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --text-main: #1c1e21;
    --text-dim: #65676b;
    --blue: #007bff;
    --pink: #e91e63;
    --purple: #673ab7;
    --glass-border: rgba(0, 0, 0, 0.05);
    
    /* Fizyka "pływających" kart */
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    --card-border-top: none;
    --border-radius: 24px;
    --border: 1px solid rgba(0, 0, 0, 0.04);
    
    /* Odsuwamy karty od krawędzi ekranu */
    --card-widthleft: 0px;
    --card-width: 100%;
    
    --margin-full-card: 0px;
    --padding-full-card: 15px 20px;
    --border-radius-media-feed: 16px;
    
    --top-bg: #ffffff;
    --button-bg: #f0f2f5;
    --cover-overlay: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 40%, #ffffff 100%);
    --tabs-main-before: #ffffff;
    --accent: #007bff;
}

body.theme-dark-round {
    --bg-main: #0a0a0c;
    --bg-header: rgba(30, 30, 35, 0.95);
    --card-bg: #1c1c22;
    --text-main: #e4e6eb;
    --text-dim: #b0b3b8;
    --blue: #2d88ff;
    --pink: #fb3958;
    --purple: #a450ff;
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Fizyka "pływających" kart */
    --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    --card-border-top: none;
    --border-radius: 24px;
    --border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Odsuwamy karty od krawędzi ekranu */
    --card-widthleft: 0px;
    --card-width: 100%;
    
    --margin-full-card: 0px;
    --padding-full-card: 15px 20px;
    --border-radius-media-feed: 16px;
    --promo: linear-gradient(180deg, rgb(31 26 21 / 95%) 0%, rgba(157, 78, 221, 0.08) 100%) !important;
    --top-bg: #1c1c22;
    --button-bg: rgba(255,255,255,0.08);
    --cover-overlay: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 40%, #1c1c22 100%);
    --tabs-main-before: #1c1c22;
    --accent: #2d88ff;
}
:root {
    /* Twój obecny styl - Cyberpunk / Neon */
    --bg-main: #121215;
    --bg-header: rgba(22, 22, 37, 0.98);
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-dim: #aaaaaa;
    --blue: #05d9e8;
    --pink: #ff2a6d;
    --purple: #9d4edd;
    --glass-border: rgba(255, 255, 255, 0.1);
    --icon: #888;
--accent:#ff2a6d;
       --cover-overlay:   linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 40%, rgba(18, 18, 21, 1) 100%);
--text-main-light:#595d65;
--margin-card:10px;
--promo:linear-gradient(180deg, rgb(255 246 238 / 95%) 0%, rgba(157, 78, 221, 0.08) 100%) !important;

  --tabs-main-before: radial-gradient(circle at 20% 20%, rgba(255, 42, 109, 0.15), transparent 70%);
    --nav-icon:#888;
    --button-bg:rgba(0,0,0,0.3);
}
/* --- MOTYW ZOPTYMALIZOWANY POD SOCIAL MEDIA MOBILE (OLED & EDGE-TO-EDGE) --- */
body.theme-social-dark {
    --bg-main: #000000; /* Prawdziwa czerń OLED */
    --bg-header: rgba(0, 0, 0, 0.9);
    --card-bg: #000000; /* Karty zlewają się z tłem aplikacji */
    --text-main: #f3f5f7; /* Złamana, niemęcząca biel (jak w X/Twitter) */
    --text-dim: #71767b; /* Idealnie czytelny, ale nienarzucający się szary */
    --blue: #1d9bf0; /* Psychologicznie klikalny, "społecznościowy" niebieski */
    --pink: #f91880;
    --purple: #8a2be2;
    --glass-border: rgba(255, 255, 255, 0.08); /* Ultra-cienkie separatory */
    
    --box-shadow: none; /* Zero cieni - płynniejsze przewijanie (60fps/120fps) */
    --card-border-top: 1px solid rgba(255, 255, 255, 0.08);
    --border-radius: 0px; /* Karty dotykają krawędzi ekranu */
    --border: none;
    
    --card-widthleft: 0px;
    --card-width: 100%;
    
    --margin-full-card: 0px;
    --padding-full-card: 12px 16px; /* Kompaktowe marginesy, by więcej postów weszło na ekran */
    
    --border-radius-media-feed: 16px; /* Nowoczesne, mocno zaokrąglone zdjęcia i wideo wewnątrz posta */
    
    --top-bg: #000000;
    --button-bg: #16181c; /* Tła przycisków lekko odcięte od czarnego tła */
    
    --cover-overlay: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 40%, #000000 100%);
    --tabs-main-before: #000000;
    --accent: #1d9bf0; /* Niebieski akcent przyciągający wzrok do najważniejszych akcji */
    --promo: linear-gradient(180deg, rgba(29, 155, 240, 0.08) 0%, transparent 100%) !important;
}

/* --- MOTYW ULTRA MINIMALISTYCZNY (PURE WHITE) --- */
body.theme-minimal-white {
    --bg-main: #ffffff; /* Absolutna, sterylna biel */
    --bg-header: rgba(255, 255, 255, 0.98);
    --card-bg: #ffffff;
    --text-main: #111111; /* Głęboki, grafitowo-czarny (łagodniejszy dla oka niż #000) */
    --text-dim: #999999; /* Jasny, czysty szary dla dat i małego tekstu */
    
    /* W ultra-minimalizmie wyciszamy kolory na rzecz czerni i szarości */
    --blue: #000000; 
    --pink: #000000;
    --purple: #000000;
    
    --glass-border: rgba(0, 0, 0, 0.03); /* Ekstremalnie cienkie i blade separatory */
    --box-shadow: none; /* Żadnych cieni, płaska budowa */
    
    --card-border-top: 1px solid rgba(0, 0, 0, 0.04); /* Subtelne odcięcie postów */
    --border-radius: 0px; 
    --border: none;
    
    --card-widthleft: 0px;
    --card-width: 100%;
    
    --margin-full-card: 0px;
    --padding-full-card: 20px 16px; /* Zwiększony padding (więcej oddechu między treściami) */
    
    --border-radius-media-feed: 8px; /* Bardzo delikatne, eleganckie zaokrąglenie zdjęć, by nie były zbyt ostre */
    
    --top-bg: #ffffff;
    --button-bg: #f5f5f5; /* Minimalnie szare tło dla przycisków akcji */
    
    --cover-overlay: linear-gradient(to bottom, rgba(255,255,255,0.7) 0%, transparent 40%, #ffffff 100%);
    --tabs-main-before: #ffffff;
    
    --accent: #000000; /* Czarny jako główny kolor akcentu to szczyt minimalizmu */
    --promo: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%) !important;
}



.post-opt-item{
 color:var(--text-dim);   
}
.story-inner{
background: var(--button-bg)!important; 
}

.nav-item {
 color:var(--nav-icon)!important;   
}

.nav-item.active {
    color: var(--accent)!important;
}

 
/* --- PRZYKŁAD PODPIĘCIA POD ELEMENTY --- */
body { background-color: var(--bg-main); color: var(--text-main); transition: background 0.3s ease; }
.ambient-bg {
        color: var(--text-main) !important;    z-index: 1!important;

  
}
.quote-dropdown-menu{
 
    position: fixed;top:1px}
    .glass-card.is-repost-wrapper
{
    
    position: relative
}

.suggested-list-name{
    
    color: var(--text-main-light);
}
 #postOptionsModal {
    z-index: 1125000 !important;
}

    .promoted-magic-card {
        position: relative;
       background: var(--promo)!important;
margin-bottom:0px!important;
        border: 1px solid rgba(157, 78, 221, 0.3) !important;
        box-shadow: 0 5px 20px rgba(157, 78, 221, 0.15) !important;
    }
    /* Animowana obwódka dla elitarności */
    .promoted-magic-card::before {
        content: '';
        position: absolute;
        top: -1px; left: -1px; right: -1px; bottom: -1px;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(45deg, transparent, var(--purple, #9d4edd), transparent);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.5;
        pointer-events: none;
    }


.back-btn{
    
    color:var(--accent);
}

/* Przycisk Szybkiego Odtwarzania na kafelku playlisty */
.quick-play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue, #05d9e8); /* Złoty lub niebieski, zależnie od wariantu */
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animacja pojawiania się na desktopie po najechaniu myszką */
.music-playlist-card:hover .quick-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.quick-play-btn:active {
    transform: scale(0.9) !important;
}

/* Na urządzeniach mobilnych przycisk powinien być widoczny od razu */
@media (max-width: 768px) {
    .quick-play-btn {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.quoted-post{
 box-shadow:none!important;
    background: var(--button-bg)!important;
}
.feed-tab.active {
    color: var(--accent);
}


.quoted-text{
 box-shadow:none!important;
    color: var(--text-main)!important;
}

.feed-tab.active::after {
    background:var(--accent);display:none!important;
        box-shadow: 0 0 10px var(--accent);
}
 
.ic-btn{
 
    background: var(--button-bg);
}
#comp-card{
border: none !important;
    padding: 1px 12px 2px 12px;
    width: 100% !important;
    margin-left: 0px !important;
}
    
 
.pp-text {
    color:var(--text-main)!important;
}
.pv-cover-overlay{
    background: var(--cover-overlay) !important;
    
}
 .pv-btn-secondary {
    
     color: var(--text-main)!important;
}
 

.sp-name {
    
     color: var(--text-main)!important;
}

.pp-name {
    
     color: var(--text-main)!important;
}


.feed-app-header::before {
            background:  var(--tabs-main-before)!important;
    margin-top: -27px!important;
        background: radial-gradient(circle at 20% 20%, rgba(255, 42, 109, 0.15), transparent 70%);
    
}









.feed-tabs


 {
            background:  var(--tabs-main-before)!important;
         background: radial-gradient(circle at 20% 20%, rgba(255, 42, 109, 0.15), transparent 70%);
    
}








/* ==========================================
   BLOKADA NATYWNEGO LONG-PRESS (Kopiowanie/Lupa)
   ========================================== */
.feed-item-wrapper[data-category="friend"] .glass-card {
    /* Wyłącza natywne menu kontekstowe na mobilnych (iOS/Android) po długim naciśnięciu */
    -webkit-touch-callout: none !important;
    
    /* Wyłącza możliwość zaznaczania tekstu na wszystkich platformach */
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    
    /* Wyłącza systemowe, szare podświetlenie dotyku na Androidzie/iOS */
    -webkit-tap-highlight-color: transparent !important;
}

/* Opcjonalnie: Jeśli chcesz, aby linki/przyciski wewnątrz karty wciąż dało się kliknąć 
   bez zaznaczania ich tekstu, dobrze jest upewnić się, że nie psujemy im pointer-events */
.feed-item-wrapper[data-category="friend"] .glass-card a,
.feed-item-wrapper[data-category="friend"] .glass-card button {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}










.is-repost-wrapper .feed-footer
 {
    border-top: none;
    padding-left: 0;
    padding-right: 0;
    margin: 15px;
}

.nav-item{
    color:var(--icon);
}
.nav-item.active {
    color: var(--accent);
}

    .pv-content-area {
padding: 0px 15px 0px 15px!important;  }

 .profile-post-card{
     
   box-shadow : var(--box-shadow) !important; 
    border-radius: var(--border-radius) !important; 
    border:var(--border)!important;
    background: var(--card-bg) !important; color: var(--text-main) !important; border-color: var(--glass-border) !important; 
    
    border-top: var(--card-border-top) !important; 
 
        width: var(--card-width)!important;
    margin-left : var(--card-widthleft)!important;
    
}
  .pv-tabs-wrapper {
background: var(--card-bg) !important;}
.single-post-container{
    background: var(--card-bg) !important;}
   
         .bottom-nav-bar {    bottom: -2px!important;
} 
.profile-slide-header{
    background: var(--card-bg) !important;}
.pv-info-section {
    padding: 0 20px 15px 20px;
    position: relative;
    z-index: 60;background: var(--card-bg) !important;
}    
 .glass-card{
     
 box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius) !important;
    border: var(--border);
    color: var(--text-main) !important;
    border-color: var(--glass-border) !important;
    border-top: var(--card-border-top) !important;
    width: var(--card-width) !important;
    margin-left: var(--card-widthleft) !important;
    overflow: hidden;
    margin-bottom: 15px;
    background: var(--card-bg);
    
}
     
  .pv-content-area{
    background: var(--card-bg) !important;}
}
.pv-info-section{
    background: var(--card-bg) !important;}
}
.feed-media{
 border-radius:var(--border-radius-media-feed);   
}
.feed-body{
padding: var(--padding-full-card);
}
.feed-media img, .feed-media video{
     border-radius:var(--border-radius-media-feed);   
padding: var(--margin-full-card);

}
#mainAppHeader {
         border:var(--border);
    background: var(--top-bg) !important; color: var(--text-main) !important;
    
}
#mainBottomNav {
     border:var(--border);
    background: var(--top-bg) !important; color: var(--text-main) !important;
}

.header-top{
         border:var(--border);
    background: var(--card-bg) !important; color: var(--text-main) !important;
}
.feed-app-header { background-color: var(--bg-header) !important; }
 
.feed-name { color: var(--text-main) !important; }
.feed-text { color: var(--text-main) ; }
   .feed-container { } 
    
 
   
      /* --- LEAFLET: CHMURKA Z NAZWĄ MIEJSCA (TOOLTIP) --- */
.custom-map-tooltip {
    background: rgba(18, 18, 21, 0.95);
    border: 1px solid var(--pink, #ff2a6d);
    color: white;
    border-radius: 8px;
    padding: 6px 10px;
    box-shadow: 0 4px 15px rgba(255, 42, 109, 0.4);
    backdrop-filter: blur(4px);
    font-family: inherit;
}
/* Trójkącik pod chmurką */
.leaflet-tooltip-top.custom-map-tooltip::before {
    border-top-color: var(--pink, #ff2a6d) !important;
}
     /* ==========================================
   NEURAL STORIES (KÓŁECZKA I OVERLAY)
   ========================================== */
.neural-stories { 
    display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; 
    padding-left: 15px; padding-right: 15px; scroll-snap-type: x mandatory; 
}
.neural-stories::-webkit-scrollbar { display: none; }
.story-bubble { 
    flex-shrink: 0; width: 65px; display: flex; flex-direction: column; 
    align-items: center; gap: 6px; cursor: pointer; scroll-snap-align: start; 
}
.story-ring { 
    width: 55px; height: 55px; border-radius: 50%; padding: 2px; 
    background: linear-gradient(45deg, var(--accent), var(--purple, #9d4edd)); 
    display: flex; align-items: center; justify-content: center; 
}
.story-ring.read { background: rgba(255,255,255,0.1); }
.story-inner { 
    width: 100%; height: 100%; background: #121215; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; 
}
.story-label { font-size: 9px; color: #aaa; font-weight: 700; text-transform: uppercase; text-align: center; }

.gaia-stories-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; z-index: 35000;
    display: none; flex-direction: column; opacity: 0; transition: opacity 0.3s ease;
}
.gaia-stories-overlay.active { display: flex; opacity: 1; }
.story-progress-container { display: flex; gap: 4px; padding: 15px 10px 10px 10px; z-index: 2; position: absolute; top: 0; left: 0; right: 0; }
.story-progress-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; overflow: hidden; }
.story-progress-fill { height: 100%; width: 0%; background: #fff; border-radius: 2px; }
.story-header-info { position: absolute; top: 25px; left: 15px; z-index: 2; display: flex; align-items: center; gap: 10px; color: white; }
.story-close-btn { position: absolute; top: 20px; right: 15px; z-index: 2; background: none; border: none; color: white; font-size: 24px; cursor: pointer; padding: 10px; }
.story-content-area { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; position: relative; transition: background 0.3s ease; }
.story-text { font-size: 22px; font-weight: 800; color: white; line-height: 1.4; text-shadow: 0 2px 10px rgba(0,0,0,0.5); z-index: 2; }
.story-nav-left { position: absolute; top: 0; left: 0; bottom: 0; width: 30%; z-index: 3; }
.story-nav-right { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; z-index: 3; }
    .compose-modal-card.note-mode .toggle-btn .toggle-text {
        
        background:transparent;
    }
    .story-ring.empty { 
    background: rgba(255,255,255,0.1) !important; 
    padding: 2px !important;
}
    
    .compose-modal-card.note-mode .toggle-btn input[type="checkbox"]:checked + .toggle-text {
        
        background:red;color:white; border:none;
    }
     .compose-modal-card {
         background: var(--bg-header)!important;
         
     }
         
     .compose-modal-card.note-mode .toggle-text {
        
        background:red;
    }
        /* Tryb notatki – mocne nadpisanie */
.compose-modal-card.note-mode {
      background-color: #f7e05e !important;
    color: #000000 !important;
    border-top: 2px solid #ff000075 !important;
    box-shadow: inset -1px 9px 11px 11px #f59e0b57;
}

.compose-modal-card.note-mode .cm-header {
    background: rgba(0,0,0,0.0) !important;
    border-bottom: 0px solid #ff0000 !important;
}

.compose-modal-card.note-mode .cm-textarea {
background: rgb(255 255 255 / 13%) !important;
    color: #000000 !important;
    border: 1px solid #f8e473 !important;
    border-radius: 22px;
    box-shadow: inset 1px 0px 12px 12px #f7e05e;
    padding: 29px;
}

.compose-modal-card.note-mode .cm-textarea::placeholder {
    color: #333333 !important;
    opacity: 1 !important;
}

.compose-modal-card.note-mode .cm-submit {
    
        background: #ffffff00 !important;
    color: white !important;
    box-shadow: none;
}
.header-dropdown { min-width: 222px;
}
.compose-modal-card.note-mode .cm-submit:disabled
 {
    
    opacity: 0!important;
}

.compose-modal-card.note-mode .cm-cancel {
    color: #000000 !important;
}

.compose-modal-card.note-mode .cm-tools i {
    color: #ff0000 !important;
}

.compose-modal-card.note-mode .mic-btn {
    background: #ff0000 !important;
    color: #ffffff !important;
}

.header-dropdown-item {
        padding: 8px 16px!important;
    color: var(--text-dim) !important;
    align-items: baseline!important;
}
   

   
      /* ========================================================================= */
/* PRZEŁĄCZNIK TOŻSAMOŚCI W KOMPOZYTORZE (User / Channel)                    */
/* ========================================================================= */

.composer-author-selector {
    position: relative;
    flex-shrink: 0;
    z-index: 105; /* Wyższy z-index, by menu przykryło textarea */
}

/* ========================================================================= */
/* PRZEŁĄCZNIK TOŻSAMOŚCI W KOMPOZYTORZE (User / Channel)                    */
/* ========================================================================= */

#composerAuthorMenu {
    position: absolute;
    bottom: calc(100% + 10px); /* Twardo ustalone: 10px NAD awatarem */
    left: 0;
    min-width: 230px;
    background: rgba(22, 22, 26, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(5, 217, 232, 0.4);
    border-radius: 16px;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(5, 217, 232, 0.15);
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
    transform-origin: bottom left; /* Rozwija się z lewego dolnego rogu (od awatara) */
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efekt sprężynki */
    padding: 5px 0;
}

#composerAuthorMenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#composerAuthorMenu .f-opt-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

#composerAuthorMenu .f-opt-item:hover {
    background: rgba(5, 217, 232, 0.15);
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}
   

   
    /* ========================================== */
    /* STYLE DLA ART STUDIO (SIATKA ZDJĘĆ) */
    /* ========================================== */
    .media-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
    .media-photo-item { aspect-ratio: 1/1; background: #222; overflow: hidden; position: relative; cursor: pointer; }
    .media-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .media-photo-item:hover img { transform: scale(1.05); }

    .media-item-overlay { position: absolute; top: 5px; right: 5px; opacity: 0; transition: opacity 0.2s; z-index: 10; }
    .media-photo-item:hover .media-item-overlay { opacity: 1; }
    
    .media-item-btn { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .media-item-btn:hover { background: rgba(255,255,255,0.2); }

    /* ========================================== */
    /* STYLE DLA MUSIC APP (LISTA ODTWARZANIA) */
    /* ========================================== */
    .media-music-list { display: flex; flex-direction: column; gap: 10px; }
    .media-music-item { display: flex; align-items: center; gap: 15px; background: rgba(30, 30, 35, 0.95); border-radius: 12px; padding: 12px; border: 1px solid rgba(255,255,255,0.05); transition: 0.2s; position: relative; }
    .media-music-item:active { transform: scale(0.98); background: rgba(255,255,255,0.08); }
    
    .media-music-cover { width: 50px; height: 50px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
    .media-music-info { flex: 1; min-width: 0; }
    .media-music-title { font-size: 14px; font-weight: 800; color: white; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .media-music-meta { font-size: 10px; color: #888; }
    
    .media-music-controls { display: flex; align-items: center; gap: 8px; }
    .media-music-play { width: 36px; height: 36px; border-radius: 50%; background: rgba(5,217,232,0.1); color: var(--blue, #05d9e8); border: 1px solid rgba(5,217,232,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .media-music-play:hover { background: rgba(5,217,232,0.2); transform: scale(1.05); }
    .media-music-menu { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #aaa; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .media-music-menu:hover { background: rgba(255,255,255,0.1); color: white; }
 
    
     /* ========================================================================= */
/* LEWE MENU BOCZNE (DRAWER) I TŁO                                           */
/* ========================================================================= */

/* Ciemne, rozmyte tło przykrywające aplikację */
.left-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 400000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.left-menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Panel wyjeżdżający z lewej strony */
.left-menu-panel {
    position: fixed;
    top: 0;
    left: -300px; /* Schowany poza ekranem */
    width: 280px;
    height: 100%;
    background: var(--bg-main);
    border-right: 1px solid var(--glass-border);
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 400001;
    display: flex;
    flex-direction: column;
    /* Płynna, lekko sprężysta animacja wyjazdu */
    transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.left-menu-panel.active {
    left: 0;
}

/* Nagłówek w menu */
.left-menu-header {
    padding: max(30px, env(safe-area-inset-top)) 20px 20px 20px;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(180deg, rgba(5, 217, 232, 0.1), transparent);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Opcje w menu */
.left-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.left-menu-item {
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.left-menu-item:active,
.left-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent);
    color: var(--accent);
    padding-left: 30px; /* Fajny efekt wcięcia przy kliknięciu */
}

.left-menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: #888;
    transition: 0.2s;
}

.left-menu-item:hover i {
    color: var(--accent);
}
  


  
  
  
  
   
    /* ==========================================
       ONBOARDING / INTRO OVERLAY
       ========================================== */
    .onboarding-overlay {
        position: fixed; inset: 0; background: rgba(10,10,12,0.98); z-index: 9999999;
        display: none; flex-direction: column; align-items: center; justify-content: center;
        opacity: 0; transition: opacity 0.4s ease; padding: 20px; text-align: center;
        backdrop-filter: blur(20px);
    }
    .onboarding-overlay.active {
        display: flex; opacity: 1;
    }
    .onboarding-icon-box {
        width: 120px; height: 120px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-size: 50px; margin-bottom: 35px; position: relative;
        animation: floatIntro 4s ease-in-out infinite;
    }
    .onboarding-icon-box::before {
        content: ''; position: absolute; inset: -20px; border-radius: 50%;
        background: inherit; filter: blur(30px); opacity: 0.4; z-index: -1;
    }
    .onboarding-title {
        font-size: 32px; font-weight: 900; color: white; margin-bottom: 15px; letter-spacing: 1px;
    }
    .onboarding-desc {
        font-size: 15px; color: #aaa; line-height: 1.6; margin-bottom: 50px; max-width: 400px;
    }
    .onboarding-btn {
        background: white; color: black; border: none; padding: 18px 40px; border-radius: 30px;
        font-size: 16px; font-weight: 900; cursor: pointer; transition: 0.3s; width: 100%; max-width: 300px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .onboarding-btn:active { transform: scale(0.95); }

    @keyframes floatIntro {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }
 
 
/* Delikatna animacja pinezki na mapie ustawień */
.settings-map-marker {
    background: var(--blue, #05d9e8);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 15px var(--blue, #05d9e8);
    animation: aiPulse 1.5s infinite;
}
 
 
    .whisper-lightbox {
        display: flex; position: fixed; inset: 0; background: rgba(10, 10, 12, 0.95);
        backdrop-filter: blur(20px); z-index: 100000; flex-direction: column;
        opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .whisper-lightbox.active { 
        opacity: 1; visibility: visible; animation: whisperFadeIn 0.3s forwards; 
    }
    .lb-header {
        position: absolute; top: 0; left: 0; right: 0;
        padding: max(20px, env(safe-area-inset-top)) 20px 20px; display: flex;
        justify-content: space-between; align-items: center;
        background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent); z-index: 20;
    }
    .lb-btn {
        background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
        color: white; width: 40px; height: 40px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center; font-size: 16px;
        cursor: pointer; backdrop-filter: blur(10px); transition: all 0.2s ease;
    }
    .lb-btn:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
    .lb-btn:active { transform: scale(0.95); }
    .lb-btn.primary { background: var(--blue, #05d9e8); color: black; border: none; }

    .lb-content-area {
        flex: 1; display: flex; align-items: center; justify-content: center;
        padding: 100px 20px; position: relative; z-index: 1;
    }
    .lb-image-wrapper { position: relative; max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
    .lb-image {
        max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.8); transform: scale(0.95);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .whisper-lightbox.active .lb-image { transform: scale(1); }

    .lb-processing-overlay {
        position: absolute; inset: 0; background: rgba(0,0,0,0.7); border-radius: 12px;
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        color: var(--pink, #ff2a6d); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 15;
    }
    .lb-processing-overlay.active { opacity: 1; pointer-events: auto; }

    .lb-variants-strip {
        position: absolute; top: 80px; left: 50%; transform: translateX(-50%);
        display: flex; gap: 10px; z-index: 25; background: rgba(0,0,0,0.5); padding: 8px;
        border-radius: 16px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1);
        max-width: 90%; overflow-x: auto; scrollbar-width: none; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    }
    .lb-variants-strip.active { opacity: 1; pointer-events: auto; }
    .lb-variant-thumb { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: 0.2s; opacity: 0.5; flex-shrink: 0; }
    .lb-variant-thumb:hover { opacity: 0.8; }
    .lb-variant-thumb.active { border-color: var(--blue, #05d9e8); opacity: 1; transform: scale(1.05); }

    .lb-footer {
        position: absolute; bottom: 0; left: 0; right: 0;
        padding: 20px 20px max(20px, env(safe-area-inset-bottom));
        background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); z-index: 20;
        display: flex; flex-direction: column; align-items: center; gap: 15px;
    }
    .lb-quick-actions { display: flex; gap: 10px; overflow-x: auto; width: 100%; max-width: 500px; padding-bottom: 5px; scrollbar-width: none; }
    .lb-quick-actions::-webkit-scrollbar { display: none; }
    .lb-quick-chip {
        background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #ddd;
        padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap;
        cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s; backdrop-filter: blur(5px);
    }
    .lb-quick-chip:hover, .lb-quick-chip.active { background: rgba(5,217,232,0.1); border-color: var(--blue, #05d9e8); color: white; }

    .lb-prompt-bar { width: 100%; max-width: 500px; background: rgba(30,30,35,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; display: flex; align-items: center; padding: 5px 5px 5px 20px; backdrop-filter: blur(15px); }
    .lb-prompt-input { flex: 1; background: transparent; border: none; color: white; font-size: 14px; outline: none; }
    .lb-prompt-send { background: rgba(255,255,255,0.1); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
    .lb-prompt-send:hover { background: var(--blue, #05d9e8); color: black; }

    .lb-gaia-menu {
        position: absolute; bottom: calc(100% + 15px); left: 50%; transform: translateX(-50%) scale(0.95);
        background: rgba(20, 20, 25, 0.95); border: 1px solid rgba(5, 217, 232, 0.3); border-radius: 16px;
        padding: 15px; width: 95%; max-width: 450px; box-shadow: 0 10px 40px rgba(0,0,0,0.8); backdrop-filter: blur(20px);
        z-index: 30; opacity: 0; visibility: hidden; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .lb-gaia-menu.active { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
    .lb-gaia-menu-title { font-size: 11px; color: #888; font-weight: 800; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }
    .lb-gaia-menu-item { display: flex; gap: 15px; padding: 12px 10px; color: #ccc; cursor: pointer; border-radius: 8px; transition: background 0.2s; align-items: flex-start; }
    .lb-gaia-menu-item:hover { background: rgba(255,255,255,0.05); }

    .lightbox-dropdown {
        position: absolute; top: 50px; right: 0; background: rgba(20, 20, 25, 0.98); border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px; min-width: 220px; box-shadow: 0 15px 40px rgba(0,0,0,0.8); overflow: hidden; z-index: 50;
        opacity: 0; visibility: hidden; transform: translateY(-10px) scale(0.95); transform-origin: top right; transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .lightbox-dropdown.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
    .lightbox-dropdown-item { display: flex; align-items: center; gap: 12px; padding: 15px 20px; color: #eee; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
    .lightbox-dropdown-item:hover { background: rgba(255,255,255,0.08); }
    .lightbox-dropdown-item i { font-size: 16px; width: 20px; text-align: center; }
    @keyframes whisperFadeIn { from { opacity: 0; } to { opacity: 1; } }
 

 
/* Style do siatki i kafelków galerii */
.art-gallery-card.vp-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 15px;
}
.art-gallery-card.vp-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,42,109,0.3);
    transform: translateY(-4px);
}
.quick-play-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue, #05d9e8);
    color: #000;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.art-gallery-card:hover .quick-play-btn {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .quick-play-btn { opacity: 0.9; transform: translateY(0); }
}

/* Kółko wyboru w Menedżerze Zdjęć */
.gal-img-selector {
    position: absolute;
    top: 8px; right: 8px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 2px solid white;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-size: 12px;
    z-index: 5;
}
.media-photo-item.selected .gal-img-selector {
    background: var(--pink, #ff2a6d);
    border-color: var(--pink, #ff2a6d);
    color: white;
}
.media-photo-item.selected img {
    opacity: 0.6;
}
.media-photo-item.selected {
    border: 2px solid var(--pink, #ff2a6d);
    transform: scale(0.95);
}
 




 
    .mini-ctrl-btn {
    background: transparent;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}
.mini-ctrl-btn:active { transform: scale(0.8); }
 

     
        /* Ukrywamy pasek przewijania dla filtrów, ale zostawiamy możliwość scrollowania palcem */
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* Przyciski filtrów */
.explore-filter-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.explore-filter-btn:hover { 
    background: rgba(255,255,255,0.1); 
    color: white; 
}
.explore-filter-btn.active {
    background: var(--blue, #05d9e8);
    color: black;
    border-color: var(--blue, #05d9e8);
    box-shadow: 0 4px 10px rgba(5,217,232,0.3);
}

/* Siatka Masonry (Pinterest style) */
.explore-masonry { 
    column-count: 2; 
    column-gap: 10px; 
}
.explore-masonry-item { 
    break-inside: avoid; 
    margin-bottom: 10px; 
    position: relative; 
    border-radius: 12px; 
    overflow: hidden; 
    cursor: zoom-in; 
    border: 1px solid rgba(255,255,255,0.05); 
    background: #111; 
}
.explore-masonry-item img { 
    width: 100%; 
    display: block; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}
.explore-masonry-item:hover img { 
    transform: scale(1.05); 
}

/* Gradient i metadane na obrazku */
.explore-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 12px; 
    pointer-events: none; /* Zezwala na kliknięcie w obrazek pod spodem */
}

/* Wymuszamy pokazanie metadanych na urządzeniach dotykowych, a na PC po najechaniu */
@media (hover: hover) { 
    .explore-masonry-item:hover .explore-overlay { opacity: 1; } 
}
@media (hover: none) { 
    .explore-overlay { 
        opacity: 1; 
        background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 40%); 
    } 
}
     
     
/* STYLE WIDOKU LISTY DLA PLAYLIST MUZYCZNYCH */
.music-playlists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    transition: all 0.3s ease;
}

/* Kiedy JS nadaje klasę list-view, siatka zmienia się w listę! */
.music-playlists-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.music-playlists-grid.list-view .music-playlist-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    text-align: left;
}

.music-playlists-grid.list-view .playlist-stacked-covers {
    width: 55px;
    height: 55px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.playlist-info-wrap {
    flex: 1;
    overflow: hidden;
}
 

             
            
            
/* ==========================================
   GLOBALNY MINI-PLAYER
   ========================================== */
/* ==========================================
   GLOBALNY MINI-PLAYER
   ========================================== */
#globalMiniPlayer {
    position: fixed;
    bottom: 60px;
    left: 10px;
    right: 10px;
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 199999; /* Zwiększony Z-INDEX */
    
    /* GŁÓWNA ZMIANA - Blokada klikania gdy ukryty! */
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none; 
    visibility: hidden;
    
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    cursor: pointer;
}

#globalMiniPlayer.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto; /* Odblokowanie klikania */
    visibility: visible;
}

.mini-player-cover {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background: #222;
    flex-shrink: 0;
    border: 1px solid #ffd700;
}

.mini-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* NOWY PRZYCISK X */
.mini-close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 69, 58, 0.1);
    color: #ff453a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.mini-close-btn:active { transform: scale(0.8); }

/* ==========================================
   FULL SCREEN PLAYER OVERLAY
   ========================================== */
.fs-player-cover-box {
    width: 80vw;
    height: 80vw;
    max-width: 320px;
    max-height: 320px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.fs-player-cover-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fs-player-cover-box.playing img {
    transform: scale(1.05);
}

.fs-timeline-container {
    width: 100%;
    margin-top: 20px;
}

.fs-timeline-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.fs-timeline-fill {
    height: 100%;
    width: 0%;
    background: #ffd700;
    border-radius: 3px;
    pointer-events: none;
    box-shadow: 0 0 10px #ffd700;
}

.fs-controls-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.fs-btn-play {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #ffd700;
    color: black;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
    cursor: pointer;
    transition: 0.2s;
}
.fs-btn-play:active { transform: scale(0.9); }
            
                /* ==========================================
   TRACK DETAILS & AUDIO LAB OVERLAY
   ========================================== */
#trackDetailsOverlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

#trackDetailsOverlay.active {
    transform: translateY(0);
    opacity: 1;
}

/* Winylowa okładka */
.td-cover-wrapper {
    width: 240px;
    height: 240px;
    margin: 20px auto;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.td-cover-wrapper.playing {
    animation: pulseCover 2s infinite alternate;
}

@keyframes pulseCover {
    0% { box-shadow: 0 15px 40px rgba(5, 217, 232, 0.2); transform: scale(1); }
    100% { box-shadow: 0 15px 50px rgba(5, 217, 232, 0.5); transform: scale(1.02); }
}

/* Główne przyciski odtwarzacza */
.td-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
}

.td-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: 0.2s;
}
.td-btn:active { transform: scale(0.8); }

.td-btn-play {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--blue, #05d9e8);
    color: black;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(5, 217, 232, 0.4);
    padding-left: 4px; /* Optyczne wyśrodkowanie Play */
}

/* Siatka Audio Lab (Kreator) */
.td-lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.td-lab-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}
.td-lab-card:hover { background: rgba(255,255,255,0.08); border-color: var(--pink, #ff2a6d); }
.td-lab-card:active { transform: scale(0.95); }
.td-lab-card i { font-size: 20px; color: var(--pink, #ff2a6d); }
.td-lab-card span { font-size: 11px; font-weight: 800; color: #ddd; }
             

     
        /* ========================================== */
/* STYLE DLA PLAYLIST MUZYCZNYCH */
/* ========================================== */

/* Siatka Playlist */
.music-playlists-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Kafelek pojedynczej playlisty */
.music-playlist-card {
    background: rgba(30, 30, 35, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}
.music-playlist-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(5, 217, 232, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.music-playlist-card:active {
    transform: scale(0.95);
}

/* Efekt nałożonych na siebie okładek (Stacked Covers) */
.playlist-stacked-covers {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 12px;
}
.ps-cover {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
/* Warstwy okładek */
.ps-cover-3 { inset: 15px 15px 5px 15px; background: rgba(255, 42, 109, 0.2); z-index: 1; transform: translateY(-10px) scale(0.9); }
.ps-cover-2 { inset: 10px 10px 10px 10px; background: rgba(157, 78, 221, 0.3); z-index: 2; transform: translateY(-5px) scale(0.95); }
.ps-cover-1 { inset: 5px 5px 15px 5px; background: linear-gradient(135deg, rgba(5, 217, 232, 0.2), rgba(5, 217, 232, 0.05)); border: 1px solid rgba(5, 217, 232, 0.4); z-index: 3; color: var(--blue, #05d9e8); backdrop-filter: blur(5px); }

.playlist-title { font-size: 14px; font-weight: 800; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.playlist-meta { font-size: 11px; color: #888; display: flex; align-items: center; gap: 5px; }

/* WNĘTRZE PLAYLISTY */
#playlist-detail-view {
    display: none;
    animation: slideInRight 0.3s ease forwards;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.pl-detail-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pl-detail-cover {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(5, 217, 232, 0.2), rgba(255, 42, 109, 0.2));
    border: 1px solid rgba(5, 217, 232, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: var(--blue, #05d9e8);
    box-shadow: 0 10px 30px rgba(5, 217, 232, 0.2);
    flex-shrink: 0;
}
.pl-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
     
<!-- === STYLE DLA MASONRY GRID (Możesz zostawić je tutaj, wewnątrz tego taba) === -->
 
.library-masonry-grid {
    column-count: 3; /* Domyślnie 3 kolumny na PC */
    column-gap: 8px;
}
.library-masonry-item {
    break-inside: avoid; /* Zapobiega łamaniu elementu między kolumnami */
    margin-bottom: 8px;
    position: relative;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.2s;
}
.library-masonry-item:hover {
    transform: scale(0.98);
    border-color: var(--blue, #05d9e8);
}
/* Na mniejszych ekranach (telefonach) przełączamy na 2 kolumny, żeby było coś widać */
@media (max-width: 768px) {
    .library-masonry-grid {
        column-count: 2;
    }
}
 


 
/* CSS DLA NOWYCH PLAYLIST WIDEO */
.vp-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
}
.vp-layout-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Wygląd pojedynczej karty */
.vp-card {
    cursor: pointer;
    transition: transform 0.2s;
}
.vp-card:active { transform: scale(0.96); }

/* W widoku Listy karta układa się w rzędzie */
.vp-layout-list .vp-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.02);
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Kolaż 2x2 Plakatów - zawsze kwadrat 1/1 */
.vp-collage {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: #1a1a1f;
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.vp-layout-list .vp-collage {
    width: 80px; /* W liście kolaż jest mały */
    height: 80px;
    border-radius: 12px;
}

.vp-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Puste miejsce, jeśli playlista ma mniej niż 4 filmy */
.vp-collage .empty-slot {
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
}

/* Sekcja z tekstem pod (lub obok) kwadratu */
.vp-info {
    margin-top: 10px;
}
.vp-layout-list .vp-info {
    margin-top: 0;
    flex: 1;
}

.vp-title {
    color: white;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vp-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #888;
    font-weight: 600;
}
/* KOLAŻ NA GÓRZE PLAYLISTY */
.playlist-hero-collage {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    background: #1a1a1f;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    overflow: hidden;
    position: relative;
}
.playlist-hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.playlist-hero-collage .empty-slot {
    background: #222;
}

/* PRZYCISK EDYCJI OKŁADKI */
.edit-cover-fab {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: black;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}
.edit-cover-fab:active { transform: scale(0.9); }

/* OKRĄGŁE PRZYCISKI AKCJI */
.pl-action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}
.pl-circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}
.pl-circle-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.2); }
.pl-circle-btn.play-btn {
    width: 60px;
    height: 60px;
background: var(--bg-header)!important;
    color: var(--accent)!important;
    font-size: 24px;
    padding-left: 4px; /* Optyczne wyśrodkowanie ikony play */
}

/* LISTA WIDEO */
.yt-list-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: grab;
    transition: background 0.2s;
}
.yt-list-item:active { cursor: grabbing; background: rgba(255,255,255,0.05); }
.yt-list-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: #222;
    margin-right: 15px;
    object-fit: cover;
    flex-shrink: 0;
}
.yt-list-info {
    flex: 1;
    overflow: hidden;
}
.yt-list-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.yt-list-author {
    font-size: 12px;
    color: #aaa;
}
 


 
    /* CSS Specyficzny dla modułów Laboratorium (Zaadaptowany z G.A.I.A.) */
    .lab-module {
        background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
        border-radius: 16px; padding: 20px; margin-bottom: 20px; backdrop-filter: blur(10px);
        animation: slideUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }
    .lab-module-header {
        display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px;
        font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
    }
    .lab-stat-box { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); padding: 10px; border-radius: 10px; text-align: center; flex: 1; }
    .lab-stat-val { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 2px; }
    .lab-stat-lbl { font-size: 9px; color: #888; text-transform: uppercase; }
 


 
/* --- CUSTOMOWY DROPDOWN JĘZYKÓW --- */
.custom-lang-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    user-select: none;
}

.custom-lang-trigger {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(5, 217, 232, 0.3);
    border-radius: 12px;
    padding: 14px 15px;
    color: white;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-lang-trigger:active {
    transform: scale(0.98);
}

.custom-lang-wrapper.open .custom-lang-trigger {
    border-color: var(--accent);
    background: rgba(5, 217, 232, 0.1);
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.2);
}

.custom-lang-trigger .chevron-icon {
    margin-left: auto;
    color: var(--accent);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-lang-wrapper.open .chevron-icon {
    transform: rotate(180deg);
}

.custom-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(20, 20, 25, 0.98); /* Bardzo ciemne szkło */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(5, 217, 232, 0.3);
    border-radius: 16px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    padding: 8px 0;
    
    /* Własny suwak (Scrollbar) dla menu */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.custom-lang-menu::-webkit-scrollbar {
    width: 6px;
}
.custom-lang-menu::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.custom-lang-wrapper.open .custom-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-lang-item {
    padding: 12px 20px;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Stan aktywnego wyboru */
.custom-lang-item.active {
    color: var(--accent);
    background: rgba(5, 217, 232, 0.08);
    font-weight: 900;
    padding-left: 25px; /* Wcięcie aktywnego elementu */
}

/* Automatyczne dorzucenie ptaszka (Check) na aktywnym elemencie via CSS */
.custom-lang-item.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}
.theme-picker-card { text-align: center; cursor: pointer; transition: 0.2s; opacity: 0.6; }
.theme-picker-card.active { opacity: 1; transform: scale(1.1); }
.theme-picker-card.active div {   }
/* --- WYGLĄD LISTY MOTYWÓW --- */
.theme-picker-card.list-style {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.6;
    text-align: left;
}

/* Stan aktywny (wybrany) */
.theme-picker-card.list-style.active {
    opacity: 1;
    background: rgba(5, 217, 232, 0.1);
    border-color: var(--accent);
    transform: translateX(5px); /* Lekkie wysunięcie wybranego motywu w prawo */
}

/* Kółko z podglądem kolorów */
.theme-picker-card.list-style .theme-color-preview {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.theme-picker-card.list-style .theme-color-preview div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Tekst i ikona */
.theme-picker-card.list-style .theme-text {
    flex: 1;
    font-size: 14px;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.theme-picker-card.list-style .theme-active-icon {
    display: none; /* Domyślnie ukryte */
    color: var(--blue, #05d9e8);
    font-size: 18px;
}

/* Pokazujemy ikonkę "V" tylko na aktywnym elemencie */
.theme-picker-card.list-style.active .theme-active-icon {
    display: block;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
/* KOLAŻ NA GÓRZE PLAYLISTY */
.playlist-hero-collage {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    background: var(--bg-header);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2px;
    overflow: hidden;
    position: relative;
}
.playlist-hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.playlist-hero-collage .empty-slot {
    background: #222;
}

/* PRZYCISK EDYCJI OKŁADKI (Białe kółko z ołówkiem) */
.edit-cover-fab {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: black;
    border: none;
        background: var(--bg-header);
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}
.edit-cover-fab:active { transform: scale(0.9); }

/* OKRĄGŁE PRZYCISKI AKCJI (Pobierz, Edytuj, PLAY, Share, Opcje) */
.pl-action-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0 30px 0;
}
.pl-circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
  color: var(--text-dim);
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}
.pl-circle-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.2); }
 

/* PRZYCISK "ADD VIDEO" W STYLU YT MUSIC */
.add-video-row {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
}
.add-video-row:active { background: rgba(255,255,255,0.05); }
.add-video-box {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px; /* Lekko zaokrąglony kwadrat jak na screenie */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--text-main);
    font-size: 24px;
    font-weight: 300;
}

/* LISTA WIDEO (DRAG & DROP) */
.yt-list-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    cursor: grab;
    transition: background 0.2s;
}
.yt-list-item:active { cursor: grabbing; background: rgba(255,255,255,0.05); }
.yt-list-thumb {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background: #222;
    margin-right: 15px;
    object-fit: cover;
    flex-shrink: 0;
}
.yt-list-info {
    flex: 1;
    overflow: hidden;
}
.yt-list-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.yt-list-author {
    font-size: 13px;
    color: var(--text-dim);
}
 

     
         /* ========================================== */
/* G.A.I.A. WEATHER MICRO-ANIMATIONS (CSS V2) */
/* ========================================== */

/* 1. SŁOŃCE: Bardzo wolna, hipnotyzująca rotacja */
@keyframes weatherSunRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 2. KSIĘŻYC: Subtelne, powolne pulsowanie ambientowe (jak neon) */
@keyframes weatherMoonPulse {
    0% { filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.5)); opacity: 1; }
    50% { filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.9)); opacity: 0.9; }
    100% { filter: drop-shadow(0 0 8px rgba(157, 78, 221, 0.5)); opacity: 1; }
}

/* 3. CHMURA: Delikatny, horyzontalny dryf (drift) */
@keyframes weatherCloudDrift {
    0% { transform: translateX(0px); }
    50% { transform: translateX(3px); }
    100% { transform: translateX(0px); }
}

/* 4. DESZCZ: Subtelny, cykliczny ruch kropli */
@keyframes weatherRainDrops {
    0% { transform: translateY(0px) scale(1); opacity: 1; }
    70% { transform: translateY(5px) scale(1); opacity: 0.5; }
    100% { transform: translateY(5px) scale(0); opacity: 0; }
}

/* KLASY CSS WYKORZYSTUJĄCE ANIMACJE */
.sonikk-weather-icon.w-sun {
    animation: weatherSunRotate 25s linear infinite;
    transform-origin: center;
}
.sonikk-weather-icon.w-moon {
    animation: weatherMoonPulse 4s ease-in-out infinite;
}
.sonikk-weather-icon.w-cloud {
    animation: weatherCloudDrift 6s ease-in-out infinite;
}
.sonikk-weather-icon .fa-cloud {
    animation: weatherCloudDrift 6s ease-in-out infinite;
    animation-delay: 1s;
}
.sonikk-weather-icon.w-rain .fa-droplet {
    animation: weatherRainDrops 1.2s ease-in-out infinite;
    transform-origin: center top;
}
.sonikk-weather-icon.w-rain .fa-droplet:nth-child(2) { animation-delay: 0.3s; }
.sonikk-weather-icon.w-rain .fa-droplet:nth-child(3) { animation-delay: 0.6s; }
      



 

 
/* CSS Dedykowany dla modułu Wspomnień */
.memory-year-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple, #9d4edd), var(--blue, #05d9e8));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
    margin-bottom: 15px;
}

.memory-card-container {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.memory-card-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(to bottom, rgba(157, 78, 221, 0.1), transparent);
    pointer-events: none;
}
 

     
    .nav-badge{
        position: absolute;
    top: 6px;
    right: 6px;
    background: var(--nav-icon)!important;
    color: white;
    font-size: 9px;
    font-weight: 900;
    width: 13px;
    padding: 7px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid Var(--accent)!important;
        
    }
            
     
         
            /* --- NAGŁÓWKI SEKCJI W BOCZNYM MENU --- */
.left-menu-section-title {
    font-size: 10px;
    font-weight: 900;
    color: #666; /* Przygaszony, szary kolor, żeby nie rozpraszał */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 20px 25px 5px 25px; /* Odstęp z góry i po bokach */
    pointer-events: none; /* Nie reaguje na kliknięcia */
}
         
        
        





