 /* --- RESET I ZMIENNE (MOTYW CIEMNY - DOMYŚLNY) --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', Arial, sans-serif;
        }

        :root {
            --bg-color: #ffffff;
            --text-color: #0f0f0f;
            --hover-color: #f2f2f2;
            --border-color: #cccccc;
            --input-bg: #ffffff;
            --search-btn-bg: #f8f8f8;
            --chip-bg: #f2f2f2;
            --chip-hover: #e5e5e5;
            --main-bg: #f9f9f9;
            --gradient-start: #f1f1f1;
            --gradient-end: #e5e5e5;
        }


















html, body {
 
    overflow-y: scroll; /* Wymusza pasek przewijania zawsze */
  overflow-x: hidden;
}




        body {
            background-color: var(--bg-color);
         
            transition: background-color 0.3s, color 0.3s;
        }

        /* --- UKŁAD GŁÓWNY (GRID) --- */
        .container {
            display: grid;
            grid-template-columns: 72px 1fr; 
            grid-template-rows: 50px 1fr;
            grid-template-areas:
                "header header"
                "sidebar main";
            height: 100vh;
			min-height: 100vh;
			width: 100vw;
            transition: grid-template-columns 0.2s ease-in-out;
			box-sizing: border-box;
        }

        .container.expanded {
            grid-template-columns: 240px 1fr;
        }

        /* --- HEADER --- */
        .header {
            grid-area: header;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            height: 50px;
            background-color: var(--bg-color);
            z-index: 100;
            position: relative;
			
			  
    background: transparent url(sprite_repeating_bkgs.png) 0 0 repeat-x;
    box-shadow: 0 12px 9px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 12px 9px rgba(0, 0, 0, 0.4);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .menu-btn, .back-btn {
           background: none;
    border: none;
    cursor: pointer;padding: 0 10px;
    margin-left: -15px;
    padding-left: 15px;
        }

        .menu-btn:hover, .back-btn:hover {
          background: transparent url(sprite_repeating_bkgs.png) 0 -52px repeat-x;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    margin-left: -15px;
    padding-left: 15px;
        }

        .back-btn { display: none; }

        .logo {
			    padding-right: 10px;
           align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #cccccc;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    text-shadow: 1px 1px #000;
    font-family: Helvetica, sans-serif;
    line-height: 50px;
        }

        .logo i { color: #ff0000; font-size: 24px; }

        /* Wyszukiwarka */
        .header-center {
            display: flex;
            align-items: center;
            flex: 0 1 640px;
            gap: 16px;
        }

        .search-form { display: flex; width: 100%; }

        .search-input {
       width: 100%;
    border: 1px solid #141414;
    padding: 0 16px;
    color: #080808;
    font-size: 14px;
    height: 34px;
    outline: none;
    background: #c5c5c5;
    box-shadow: 1px 1px #000;
    margin-top: 3px;
        }

 

        .search-btn {
           background-color: #3f3f3f;
    border-left: none;
    padding: 0 4px;
    color: #cccccc;
    cursor: pointer;
    font-size: 18px;
    height: 34px;
    margin-top: 3px;
    border: 1px solid #141414;
    box-shadow: 1px 1px #000;
        }
	.search-btn:hover{
background-color: #363636;
	}		
		.search-btn img{
			       height: 24px;
    vertical-align: middle;
		}

        .mic-btn {
                background-color: #00000000;
            border: none;
            color: var(--text-color);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;padding: 0 10px;
            align-items: center;
            justify-content: center;
        }
.mic-btn img{height: 34px;
    width: 34px;
    vertical-align: middle;}
.mic-btn:hover{
    background: transparent url(sprite_repeating_bkgs.png) 0 -52px repeat-x;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    border-radius: 0px;
}


        .header-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .icon-btn {
            background: none;
            border: none;
            color: var(--text-color);
            font-size: 20px;
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
			    height: 50px;
        }

        .icon-btn:hover { background: transparent url(sprite_repeating_bkgs.png) 0 -52px repeat-x;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    border-radius: 0px; }




  @media (max-width: 768px) {
	  
	      .header-right {
           gap: 0px
        }
	   .icon-btn {
                padding: 10px 6px;
        }

        .icon-btn:hover { 
    padding: 0 6px;
   }  
  }








        #mobileSearchToggle { display: none; }

        /* --- SIDEBAR --- */
        .sidebar {border-right: 1px solid #111111;
            grid-area: sidebar;
         background-image: url(default.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-color: #141414;
          
            overflow-x: hidden;
            padding-top: 12px;
			overflow-y: visible !important; 
    height: auto !important;
        }

        .sidebar::-webkit-scrollbar { width: 8px; }
        .sidebar::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 4px; }
        .sidebar:hover::-webkit-scrollbar-thumb { background-color: var(--border-color); }

        .sidebar-item {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            height: 40px;
            color: var(--text-color);
            text-decoration: none;
            margin: 4px 12px;
            border-radius: 10px;
			border: 1px solid #525252;
    box-shadow: 0 12px 9px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
    background: transparent url(sprite_repeating_bkgs.png) 0 -53px repeat-x;
        }

        .sidebar-item:hover, .sidebar-item.active {background: transparent url(sprite_repeating_bkgs.png) 0 -5px repeat-x;
    border: 1px solid #525252;
    box-shadow: 0 12px 9px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);}
        .sidebar-item i { font-size: 20px; }
        .sidebar-item span, .sidebar-divider { display: none; }

        .container.expanded .sidebar-item {
            justify-content: flex-start;
            padding: 0 24px;
            height: 40px;
            gap: 24px;
                margin: 0 12px;
    margin-top: 10px;
        }
        .container.expanded .sidebar-item i { font-size: 18px; width: 24px; text-align: center; }
        .container.expanded .sidebar-item span {display: block;
    font-size: 12px;
    color: #cccccc;
    font-weight: bold;
    text-shadow: 1px 1px #000;
    font-family: Helvetica, sans-serif;}
        .container.expanded .sidebar-divider {
            display: block; height: 1px; background: #595858;
    margin: 12px 24px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0);
        }

        /* --- MAIN CONTENT --- */
        .main-content {
            grid-area: main;
          overflow-y: visible !important;
           background: #f0efef url(white_bkg.png);
            position: relative;
			min-width: 0; /* Kluczowe! Pozwala elementowi zmniejszyć się, gdy brakuje miejsca */
    width: 100%;
        }

        /* --- PASEK KATEGORII (Chips Bar) --- */
        .categories-bar {
            display: flex;
            align-items: center;
            position: sticky;
            top: 0;
            background-color: var(--bg-color);
            z-index: 10;
            padding: 12px 24px;
			background: url(topgora.png) center right;
    height: 35px;
          
        }

        .categories-wrapper {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            scroll-behavior: smooth;
            -ms-overflow-style: none;  
            scrollbar-width: none;  
        }
        
        .categories-wrapper::-webkit-scrollbar { display: none; }

        .category-chip {
              border: none;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s;
    background: url(sprite_repeating_bkgs.png) 0 -858px repeat-x;
    color: #e8e3e3;
    display: inline-block;
    outline: none;
    font-size: 10px;
    height: 24px;
    text-align: center;
    padding: 0 5px;
    max-width: 100px;
    line-height: 24px;
        }

        .category-chip:hover { background-color: var(--chip-hover); }

        .category-chip.active {
            background-color: var(--text-color);
            color: var(--bg-color);
        }

        .category-arrow {
            background-color: var(--bg-color);
            color: #ffffff;
            border: none;
            font-size: 16px;
            cursor: pointer;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            z-index: 2;
            width: 40px;
        }

        .arrow-left {
            left: 0;
            display: none; 
            background: linear-gradient(to right, #000000  70%, transparent);
            justify-content: flex-start;
            padding-left: 16px;
        }

        .arrow-right {
            right: 0;
               background: linear-gradient(to left, #000000 70%, transparent);
            justify-content: flex-end;
            padding-right: 16px;
        }

        .category-arrow:hover i { background-color:#666666; }
        .category-arrow i { padding: 8px; }

        .content-grid { background: #f0efef url(white_bkg.png);}

        /* Obszar demonstracyjny - kolory dopasowujące się do motywu */
        .demo-area {
            height: 150vh; 
            background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end)); 
            border-radius: 10px; 
            padding: 20px;
            margin-top: 20px;
            color: var(--text-color);
            opacity: 0.8;
            border: 1px solid var(--border-color);
        }

        /* --- RESPONSYWNOŚĆ --- */
        @media (max-width: 768px) {
            .container, .container.expanded { grid-template-columns:0;}
			
			
			.close-btn-menu2{
				
			        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #00000059;
        height: 50px;	
			}
			
			
      .sidebar {
        position: fixed;
        /* Używamy top do przyklejania (animacja top) */
        top: 50px; 
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 150;
        background-color: var(--bg-color);
        
        /* Animujemy obie właściwości osobno */
        transition: transform 0.3s ease-in-out, top 0.1s ease-in-out;
        
        /* Transform tylko do wysuwania */
        transform: translateX(-100%);
    }

    /* Klasa otwierająca (tylko X) */
    .sidebar.open {
        transform: translateX(0);
    }

    /* Klasa przyklejająca (tylko top) */
    .sidebar.is-stuck {
        top: 0;
    }

            .sidebar-item { justify-content: flex-start; padding: 0 24px; height: 40px; gap: 24px;         margin: 10px 12px;}
            .sidebar-item i { font-size: 18px; width: 24px; text-align: center; }
            .sidebar-item span, .sidebar-divider { display: block; }
            .sidebar-divider { height: 1px; background: var(--border-color); margin: 12px 24px; }

            .header-center {
                position: absolute; top: 0; left: 0; width: 100%; height: 56px; background-color: var(--bg-color);
                padding: 0 8px; margin: 0; z-index: 110; gap: 8px; transform: translateY(-100%);
                transition: transform 0.2s ease-out; opacity: 0;
            }
            .header-center.active { transform: translateY(0); opacity: 1; background: #464646;}
            .back-btn { display: block; font-size: 18px; }
			.back-btn img{        width: 30px;
        height: 30px;
        vertical-align: middle;}
            .search-form { flex: 1; }
            #mobileSearchToggle { display: block; }
            .mic-btn { width: 36px; height: 36px; }
            
            .categories-bar { padding: 12px 16px; }
            .category-arrow { display: none !important; }
        }
		
		
		
		
/* --- Globalna stylizacja scrollbara --- */



/* Ścieżka (cienka linia) */
::-webkit-scrollbar {
    width: 4px; /* Bardzo cienki pasek */
	
}

::-webkit-scrollbar-track {
    background: transparent; /* Przezroczyste tło paska */
}

/* Suwak (kółko/zaokrąglony element) */
::-webkit-scrollbar-thumb {
    background-color: var(--text-color); /* Kolor suwaka (biały/czarny zależnie od motywu) */
    border-radius: 10px; /* To tworzy efekt zaokrąglonego "kółka" */
    border: 1px solid var(--bg-color); /* Delikatna obwódka, by wyglądał jak kółko */
    min-height: 40px; /* Minimalna wysokość, żeby zawsze było widać kółko */
	
}

/* Efekt po najechaniu myszką */
::-webkit-scrollbar-thumb:hover {
    background-color: #ff0000; /* Opcjonalnie: zmiana koloru na czerwony przy najechaniu */
}



.map-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
}

.interactive-map {
    width: 100%;
    height: auto;
}

.kontynent {
    fill: #3f3f3f;       /* Kolor bazowy (Ciemny motyw) */
    stroke: #ffffff;     /* Obwódka */
    stroke-width: 2;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Interakcja */
.kontynent:hover {
    fill: #007bff;       /* Kolor po najechaniu */
    transform: scale(1.02);
}

/* Wsparcie dla jasnego motywu */
.light-mode .kontynent {
    fill: #cccccc;
    stroke: #ffffff;
}
.light-mode .kontynent:hover {
    fill: #007bff;
}

.hamburger{
	
	
}
.bar{
width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #cccccc;
    display: inline-block;
    outline: none;
    box-shadow: 1px 1px #000;
    display: block;
}


.menu-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0; /* Jeśli menu ma mieć wysokość całego ekranu */
}


.icon-btn img{
	    height: 34px;
    width: 34px;
	    vertical-align: middle;
}


.arrow-left img, .arrow-right img{    height: 16px;
    width: 16px;}
	
	
	
	
.map-container{
    position:relative;
    width:100%;

}
.map-container img{
    width:100%;
    display:block;
}
.continent{
    position:absolute;
    display:block;
}
.continent:hover{
outline: 3px solid rgb(0 0 0 / 80%);
    border-radius: 10px;
    opacity: .7;
    filter: brightness(1.1);
    background: #161616a6;
}

/* Przybliżone obszary kliknięć */
#na{left:2%;top:8%;width:34%;height:45%;}
#sa{left:18%;top:52%;width:18%;height:36%;}
#eu{left:40%;top:16%;width:18%;height:20%;}
#af{left:42%;top:40%;width:18%;height:38%;}
#asia{left:56%;top:6%;width:40%;height:56%;}
#au{left:76%;top:58%;width:18%;height:22%;}
#an{left:14%;top:89%;width:72%;height:10%;}


#tooltip {
    position: absolute;
    display: none;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    pointer-events: none;
    transform: translate(-50%, -120%);
    white-space: nowrap;
    z-index: 1000;
}



.grid-container {
  display: grid;
  /* Zmieniamy logikę: używamy 'auto-fit', ale z 'minmax', 
     które nie pozwala elementowi wyjść poza szerokość ekranu.
  */
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px; /* Zmniejszyłem gap na wszelki wypadek */
  padding: 10px;
  width: 100%; /* Wymusza szerokość kontenera na 100% ekranu */
  max-width: 100vw; /* Zabezpieczenie przed wyjściem poza ekran */
}

.box {
  height: 140px;
  width: 100%; /* Element wypełnia dostępną komórkę */
  background-color: #474747;
  display: flex;
  align-items: center;
  justify-content: center;
      position: relative;
}


.box .box_id{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    text-align: center;
    height: 20px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    background: url(sprite_repeating_bkgs.png) 0 -858px repeat-x;
    color: #e8e3e3;
    font-size: 10px;
    padding: 0 5px;
    text-shadow: 1px 1px #000;
	
}
.box .box_logo{
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    bottom: 20px;
    text-align: center;	
	display: flex;
  justify-content: center; /* Poziom */
  align-items: center;
	
}
.box .box_logo img{
	max-width: 100px;
    max-height: 100px;
	
}


.box .box_nazwa{
position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    height: 20px;
    line-height: 20px;	
	background: transparent url(sprite_repeating_bkgs.png) 0 0 repeat-x;
	color: #cccccc;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px #000;
    font-family: Helvetica, sans-serif;
    padding: 0px 5px;
	
}

.box .box_nazwa,.box .box_id{
white-space: nowrap;      /* Tekst nie przechodzi do nowej linii */
  overflow: hidden;         /* Ukrywa tekst, który wykracza poza box */
  text-overflow: ellipsis;  /* Dodaje "..." na końcu */
  text-decoration: none;
}


.tooltipbox {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    padding: 2px 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 10;
    color: #cccccc;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px #000;
    font-family: Helvetica, sans-serif;
	text-align: center;
	
	
}

/* Pokazanie przy hover (komputery) */
.box:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Klasa dla dotyku (telefony) */
.box.active .tooltipbox {
    opacity: 1;
    visibility: visible;
}
.tooltipbox hr{
outline: 0;
    height: 3px;
    border: 0;
    border-top: 2px dashed #8c8a8a;
    margin: 2px 0;
}
.tooltipbox img{
max-height: 40px;
    max-width: 40px;
}

h2{
    padding: 10px 0 10px 10px;
    text-decoration: none;
    color: #000000;
    font-size: 22px;
    font-weight: bold;
    outline: none;
    text-shadow: 1px 1px #f5f5f5;
    font-family: Helvetica, sans-serif;	
	
}





.kontynenty_linki{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(325px, 1fr));
    gap: 0px 6px;
    padding: 10px;
    width: 100%;
    max-width: 100vw;
}

.kontynenty_linki a {
    height: 46px;
    width: 100%;
    display: block;
    padding: 10px 10px;
    margin: 4px 0px;
    z-index: 100;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #f8f8f8;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    outline: none;
	    line-height: 26px;
		white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}


.ribbon {
    background: url(channel_border.png) left bottom no-repeat;
    color: #ffffff;
    font-weight: bold;
    height: 29px;
    left: -7px;
    position: absolute;
    z-index: 0;
	bottom: 14px;
}
.ribbon div{

    background: url(sprite_repeating_bkgs.png) 0 -419px repeat-x;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    box-shadow: 2px 2px 4px #000;
    -moz-box-shadow: 2px 2px 4px #000;
    -webkit-box-shadow: 2px 2px 4px #000;
    font-size: 10px;
    float: right;
    height: 21px;
    padding: 5px 6px;
    text-shadow: 1px 1px 1px #000;
    text-transform: uppercase;
}



.ribbon_pl {
    background: url(channel_border.png) left bottom no-repeat;
    color: #ffffff;
    font-weight: bold;
    height: 29px;
    left: -7px;
    position: absolute;
    z-index: 0;
	bottom: 14px;
}
.ribbon_pl div{

    background: url(sprite_repeating_bkgs.png) 0 -419px repeat-x;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    box-shadow: 2px 2px 4px #000;
    -moz-box-shadow: 2px 2px 4px #000;
    -webkit-box-shadow: 2px 2px 4px #000;
    font-size: 10px;
    float: right;
    height: 21px;
    padding: 5px 6px;
    text-shadow: 1px 1px 1px #000;
    text-transform: uppercase;display: none;
}


/* Główny kontener paginacji */
.paginacja-kontener {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Pozwala kafelkom przechodzić do nowej linii na telefonach */
    gap: 6px;
    margin: 30px 0;
    font-family: sans-serif;
}

/* Uniwersalny styl dla linków i kropiek */
.pag-link {
display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
    border: solid 1px #d7d7d7;
    text-decoration: none;
}

/* Efekt najechania myszką */
.pag-link:hover {
color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
}

/* Styl dla aktualnie wybranej strony */
.pag-link.aktywna {
     color: #fdfdfd;
    background-color: #1d1f20;
    border: solid 1px #1d1f20;
    font-weight: bold;
}

/* Styl dla "..." */
.pag-kropki {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    color: #888;
}

/* Przycisk Poprzednia / Następna */
.poprz-nast {
    font-weight: 500;
}

/* RESPONSYWNOŚĆ - dla małych ekranów (smartfony) */
@media (max-width: 576px) {
    .pag-link {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
        padding: 0 6px;
    }
    .pag-kropki{
	display: none;	
		
	}
	
	
    /* Na bardzo małych ekranach skracamy napisy "Poprzednia/Następna" */
    /* Jeśli chcesz, możesz użyć JS lub w PHP wysyłać tylko strzałki, ale CSS też daje radę */
    .poprz-nast {
        font-size: 12px;
    }
}

.st_p{
background: #fff url(st_l1.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
}
.st_p:hover{
background: #1d1f20 url(st_l2.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;

}

.st_n{
background: #fff url(st_p1.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;
}
.st_n:hover{
background: #1d1f20 url(st_p2.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;

}

h2 img{
	    max-height: 32px;
    line-height: normal;
    vertical-align: middle;
	
}

h2 span{
font-size: 15px;	
}



#player-container {
    position: relative;
height: 95px;
    color: white;
       background: #252525;

    background-clip: padding-box;
    overflow: hidden;

    width: 100%;
    max-width: 100vw;
}




#play-pause-btn {
    outline: 0;
    border: 0;
    color: white;
    cursor: pointer;
    position: absolute;
    left: 0;
    margin: 0 auto;
    height: 40px;
    width: 40px;
    bottom: 0;
    border-right: 1px solid #0e0e0e;
    background: transparent;
   
}

#play-pause-btn:hover {
       background-color: #222;
}

/* Animacja (bardzo prosta wersja fali) */
#wave-container {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}


.equalizer {
display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 50px;
    margin-bottom: 15px;
    width: 60px;
    position: absolute;
    right: 10px;
    z-index: 0;
    top: 0px;
}

.barr {
    width: 6px;
    height: 10px;
    background: #ffffff;
    border-radius: 3px;
    animation: bounce 1.2s infinite ease-in-out;
}

/* Różne wysokości dla słupków */
.barr:nth-child(1) { animation-delay: 0.1s; }
.barr:nth-child(2) { animation-delay: 0.3s; }
.barr:nth-child(3) { animation-delay: 0.5s; }
.barr:nth-child(4) { animation-delay: 0.3s; }
.barr:nth-child(5) { animation-delay: 0.1s; }

@keyframes bounce {
    0%, 100% { height: 10px; }
    50% { height: 35px; }
}

/* Ukrywamy animację, gdy odtwarzacz jest zatrzymany */
#player-container:not(.playing) .bar {
    animation-play-state: paused;
    height: 10px;
}
		
        .top-bar { max-width: 800px; margin: 0 auto 20px; display: flex; gap: 10px; }
       
        
        .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 15px; max-width: 800px; margin: 0 auto; }
        .kafelek { background: var(--card); padding: 20px; border-radius: 12px; text-align: center; cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.1); border: 2px solid transparent; transition: 0.2s; }
        .kafelek:hover { border-color: var(--accent); }
        
        .active-playing { background: #dc2626 !important; color: white; }
		
		
		
		
.p_naw{
	    background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#222));
    background: -webkit-linear-gradient(top, #444, #222);
    background: -moz-linear-gradient(top,#444,#222);
    background: -ms-radial-gradient(top,#444,#222);
    background: -o-linear-gradient(top,#444,#222);
     background: linear-gradient(to bottom, #444, #222);
	     -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 1.25em rgba(0, 0, 0, .5);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 0 1.25em rgba(0,0,0,.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 0 1.25em rgba(0, 0, 0, .5);
    height: 40px;    margin-left: 100px;    position: relative;    top: 55px;
}


.pause,.play{
    height: 40px;
    width: 40px;
    cursor: pointer;
}
.pause{
    background: url(pause.png);
background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.play{
    background: url(play.png);
  background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}


.p_naw_lp_czas{
border-right: 1px solid rgba(255, 255, 255, .1);
    /* border-right: 1px solid #111; */
    cursor: pointer;
    height: 40px;
    width: 80px;
    position: absolute;
    left: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 13px;text-shadow: 1px 1px #000;
}


.p_naw_lp_kontener{
    margin-left: 120px;
    margin-right: 8px;
    position: relative;
}

.p_naw_lp_ld{
	
	
}




.p_naw_lp_ld{
left: 0;

    background: url(pl.png);
background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
	    border-right: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid #111;
}

.p_naw_lp_lg,.p_naw_lp_ld{
    position: absolute;
    
    height: 40px;
    width: 40px;
    bottom: 0;
    top: 0;
	cursor: pointer;
}

.p_naw_lp_lg{
right: 0;

    background: url(pr.png);
background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;	
}

.p_naw_lp_ld:hover,.p_naw_lp_lg:hover {
       background-color: #222;
}
.p_naw_lp_ln{
	
}

.p_naw_lp_fav{
position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0;
    background: #3a3a3a;
    width: 97px;
    height: 97px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.p_naw_lp_fav img{
    max-width: 90px;
    max-height: 90px;
}


#station-name{position: absolute;
    top: 0;
    height: 54px;
    line-height: 54px;
    left: 100px;
    right: 64px;    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;}
	
	.p_naw_lp_text{
    height: 20px;
    position: absolute;
    -webkit-box-shadow: -1px -1px 0 rgba(0, 0, 0, .5), 1px 1px 0 rgba(255, 255, 255, .1);
    -moz-box-shadow: -1px -1px 0 rgba(0,0,0,.5),1px 1px 0 rgba(255,255,255,.1);
    box-shadow: -1px -1px 0 rgba(0, 0, 0, .5), 1px 1px 0 rgba(255, 255, 255, .1);
    background-color: #222;
    border-radius: 4px;
    left: 5px;
    right: 5px;
    bottom: 0;
    top: 10px;
    overflow: hidden;
    padding: 0px 9px;
}


#gatunek-sk {
display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
    color: #e8e3e3;
    font-size: 10px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    top: 0;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-100%, 0);
    }
}

.sepbutl{
border-right: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid #111;
    position: relative;
    height: 40px;
    width: 1px;
    left: 0px;
}


.sepbutlr{
border-right: 1px solid rgba(255, 255, 255, .1);
    border-left: 1px solid #111;
    position: absolute;
    height: 40px;
    width: 1px;
    right: 40px;
    top: 0;
}

.fas img{height: 32px;
    width: 32px;vertical-align: middle;}
	
	
	.error{
		    height: 45px;
    background: #ff8484;
    border: 1px solid #ffffff;
    margin: 10px 20px;
    padding: 10px;
    text-align: center;
    color: #000000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	}
	
	
	
	
	

.stopka{
position: relative;
    min-height: 50px;
    width: 100%;
    background: #131615;
    bottom: 0;
    color: #ddd;
    padding: 8px 4px 4px 4px;
    font-size: 14px;
	line-height: 42px;
	text-align: center;
	background: #f0efef url(dol.png);
}
.stopka_cien{
    background: url(dol_cien.png) repeat-x;
    height: 4px;
    width: 100%;
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.stopka_ciastka{
background-color: #EFEFEF;
    width: 90%;
    margin: 0 auto;
    padding: 5px 10px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    color: rgb(110, 106, 131);
    text-shadow: 1px 1px 1px white;
    font-family: Helvetica, sans-serif;
    font-size: 12px;
    line-height: 17px;
}



.stopka a{
    color: #f90000;
    font-family: Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
	
}

.stopka_pl{
margin-top: 8px;
    line-height: 17px;	
	color: #000000;
    font-family: Helvetica, sans-serif;
    font-size: 12px;
}

.stopka_pl img{
	    height: 15px;
   vertical-align: text-top;
}
.stopka p{
   line-height: 17px;
color: #000000;
    font-family: Helvetica, sans-serif;
    font-size: 12px;   
}


p{
	    padding: 5px 15px;
}


#suggestions {
	display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 90%;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    overflow: hidden;
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    margin: 0 auto;
    right: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 12px 9px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    background: #fcfcfc;
    border: 1px solid #ffffff;
    color: #000;
}

/* Pojedynczy element podpowiedzi */
.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    color: #333;
    font-family: sans-serif;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

/* Efekt najechania myszką */
.suggestion-item:hover {
    background-color: #f0f7ff;
    color: #007bff;
}

/* Opcjonalnie: rozdzielacz między elementami */
.suggestion-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.data-usage{
	    align-items: center;
    background: url(topgora.png) center right;
    height: 30px;
    text-align: center;
    color: #ddd;
    line-height: 30px;
    font-size: 14px;
}