html {
 -webkit-text-size-adjust: 100%;
 -ms-text-size-adjust: 100%;
 font: 14px/20px 'Open Sans', sans-serif;
 min-height: 100%;
}

body {
 padding: 0;
 margin: 0;
 font-family: Lato, Arial, sans-serif;
 font-size: 14px;
 line-height: 20px;
 background: #1a1a1a;
 width: 100%;
 min-height: 100vh;
}

iframe { width: 100%; }

h1, h2, h3 {
 color: #fff;
 text-transform: uppercase;
 margin: 0;
 padding: 0;
}

h2.radio {
 display: inline-block;
 text-align: center;
 width: 100%;
 margin-bottom: 5px;
 font-size: 15px;
}

a{ text-decoration: none; color: #fff; }
p{ margin: 0; padding: 0; }

* {
 -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;
 padding: 0;
 border: 0;
 vertical-align: baseline;
 text-decoration: none;
 outline: 0;
}

.logo h1 { font-size: 1em; text-indent: -9999px; }
.center  { text-align: center; }
.left { float: left; }
.right, .djplay b { float: right; }

/* ── Container ── */
.container {
 margin: 0 auto;
 width: 1200px;
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
}

/* ── Content grid ── */
.content {
 padding: 10px;
 margin-left: auto;
 margin-right: auto;
 width: 100%;
 background: #2a2a2a;
 display: grid;
 grid-auto-columns: 1fr;
 grid-template-columns: 390px 2fr;
 grid-template-rows: auto;
 gap: 10px;
 grid-template-areas:
"center center"
"statistics right-area";
}

.contentradio{ padding: 10px; background: #2a2a2a; }
.contentradio h2,
.statistics h2  { font-size: 15px; }

.about-radio {
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 column-gap: 10px;
 row-gap: 5px;
}

/* ── Webplayer ── */
.left-s {
 margin: 0 0 10px;
 background: #111;
 padding: 14px;
 border-radius: 8px;
 border: 1px solid #222;
}

.webplayer-popup {
 margin: 0 0 10px 0;
 position: relative;
 overflow: hidden;
 border-radius: 8px;
 border: 1px solid #222;
}

.webplayer-popup h2,
.webplayer-popup .player-box-top,
.webplayer-popup .pozdrohtml {
 position: relative;
 z-index: 2;
}

/* ══════════════════════════════════════
NAVBAR
══════════════════════════════════════ */
.navbar, .footer {
 background: #0d0d0d;
 border-bottom: 1px solid #222;
}

.footer { margin: 6px 0 0 0; padding: 10px; }

nav.navbar {
 border: none;
 margin: 0;
 width: 100%;
 z-index: 9999;
 display: flex;
 justify-content: center;
}

.navbar .container {
 padding: 8px 0;
 position: relative;
 align-items: center;
 display: flex;
 justify-content: space-between;
 gap: 10px;
}

.logo {
 background: url(/img/logo.png?pl) no-repeat center left;
 width: 200px;
 background-size: contain;
 height: 56px;
 flex-shrink: 0;
 display: block;
 transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo h1 { font-size: 1em; text-indent: -9999px; }
.logo h2 { padding: 5px 6px; display: inline-block; text-align: center; }

/* ── Menu ── */
ul.menu {
 margin: 0;
 padding: 0 4px;
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 1px;
}

.nav, li, .buttons { list-style: none; }

.menu li {
 display: inline-block;
 text-align: center;
 font-weight: 600;
 font-size: 13px;
 position: relative;
}

.menu li a {
 padding: 7px 10px;
 text-align: center;
 font-weight: 600;
 background: transparent;
 color: #aaa;
 margin: 0;
 display: flex;
 align-items: center;
 gap: 5px;
 border-radius: 7px;
 transition: background 0.18s, color 0.18s;
 white-space: nowrap;
 font-family: Lato, Arial, sans-serif;
 font-size: 13px;
}

.menu li a:before {
 font-size: 15px;
 color: #ffa500;
 transition: color 0.18s;
 flex-shrink: 0;
}

.menu li.active a,
.menu li.active b,
.menu li b:hover,
.menu li a:hover {
 background: #1a1a1a;
 color: #fff;
}

.menu li a:hover:before { color: #ffa500; }

/* ── Hamburger ── */
.open-m {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    padding: 8px 11px;
    border-radius: 8px;
    background: #1a1a1a;
    border: 1px solid #2c2c2c;
    transition: background 0.2s, color 0.2s, transform 0.25s;
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

.open-m:hover {
    background: #2a2a2a;
    color: #ffa500;
}

.open-m[aria-expanded="true"] {color: #ffa500;}
.dropdown-item.router-active .icon-note-beamed{color: #ffbb00;}
.dropdown { position: relative; }

.dropdown-menu {
 position: absolute;
 top: 100%;  
 min-width: 200px;
 padding: 8px 4px 4px; 
 left: 0;
 z-index: 10000;
 display: none;
 font-size: 13px;
 color: #fff;
 text-align: left;
 list-style: none;
 background: #0d0d0d;
 border: 1px solid #252525;
 border-radius: 8px;
 box-shadow: 0 8px 24px rgba(0,0,0,0.7);
}


.dropdown::after {
 content: '';
 position: absolute;
 top: 100%;
 left: 0;
 width: 100%;
 height: 8px;
 display: none;
}

.dropdown:hover::after { display: block; }

.open .dropdown-menu,
.dropdown:hover > .dropdown-menu { display: block; }

.menu li a.dropdown-item {
 display: flex;
 align-items: center;
 gap: 8px;
 padding: 7px 12px;
 border-radius: 6px;
 font-weight: 400;
 color: #999;
 white-space: nowrap;
 background: transparent;
 transition: background 0.15s, color 0.15s;
 margin: 0;
}

.menu li a.dropdown-item:hover {
 background: #1a1a1a;
 color: #fff;
}

.menu li a.dropdown-item:before,
.menu li a.dropdown-item:hover:before { color: #ffa500; }

.menu h2 {
 color: #999;
 text-transform: none;
 font-size: 13px;
 font-weight: 400;
 margin: 0;
 transition: color 0.15s;
}

.menu li a.dropdown-item:hover h2 { color: #fff; }
.button, .channel_main, .channel_edm {
 border-radius: 5px;
 display: inline-block;
}

.channel_main, .channel_edm {
 margin-right: 4px;
 padding: 0 4px;
 font-size: 0.8em;
 text-transform: uppercase;
}

.button.r { padding: 1px 10px; line-height: 22px; text-transform: uppercase; }
.button.l { background: #ffa500; color: #fff; font-size: 0.8em; padding: 0 4px; vertical-align: top; }

.red, .blue { transition: background 0.3s; color: #fff; }
.red, .channel_main { background: #cd0000; }
.channel_edm{ background: #145d88; }
.red:hover{ background: #aa0000; }
.blue{ background: #1877F2; }
.blue:hover { background: #1357c2; }

.p5 { padding: 2px 5px; }

.greetings {
 background: #0d0d0d;
 color: #fff;
 width: 100%;
 overflow: hidden;
 margin: 0 0 8px 0;
 border-radius: 6px;
 border: 1px solid #222;
 padding: 0;
 position: relative;
}

.greetings::before {
 content: '';
 position: absolute;
 top: 0; left: 0; right: 0;
 height: 2px;
 background: linear-gradient(90deg, #cd0000, #ffa500, #cd0000);
 background-size: 200% 100%;
 animation: gradient-shift 4s linear infinite;
 z-index: 3;
}

@keyframes gradient-shift {
 0%{ background-position: 0% 0%; }
 100% { background-position: 200% 0%; }
}

.news-box.greetings { margin: 0; padding: 0; overflow: hidden; }
.marquee-wrapper { overflow: hidden; width: 100%; display: block; }

.marquee-track {
 display: inline-block;
 white-space: nowrap;
 will-change: transform;
 animation: marquee-scroll 60s linear infinite;
 padding: 4px 0;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
 0%{ transform: translateX(0); }
 100% { transform: translateX(-50%); }
}

.greetings .pozdrowienia {
 display: inline;
 white-space: nowrap;
 line-height: 30px;
 padding: 0 8px;
 vertical-align: middle;
 font-size: 13px;
}

.greetings .name { text-transform: uppercase; font-weight: bold; }

/* ══════════════════════════════════════
NEWS BOX
══════════════════════════════════════ */
.news-footer {
 font-size: 13px;
 opacity: 0.6;
 border-top: 1px solid rgba(255,255,255,0.08);
 padding-top: 10px;
 text-align: right;
}

.news-box {
 background: #111;
 padding: 12px;
 line-height: 19px;
 margin: 0 0 6px 0;
 border-radius: 6px;
 border: 1px solid #222;
}

h2.news {
 display: flex;
 border-bottom: 1px solid #2a2a2a;
 padding: 0 0 6px 0;
 justify-content: space-between;
}

/* ── Srodek / Ramówka ── */
.srodek {
 background: #111;
 padding: 10px;
 line-height: 19px;
 margin: 0 0 2px 0;
 border-radius: 6px;
 border: 1px solid #1e1e1e;
}

.srodek.ramowka {
 display: flex;
 align-items: center;
 gap: 0 10px;
 background: #1a1d20;
 border: 1px solid #313339;
 border-radius: 6px;
 padding: 8px 12px;
 margin: 0 0 4px 0;
 transition: background 0.15s, border-color 0.15s;
 font-size: 13px;
 color: #fff;
 line-height: 1.4;
}

.srodek.ramowka:hover {
 background: #1f2225;
 border-color: #3d4147;
}

/* avatar */
.srodek.ramowka .sb_n a img {
 width: 38px;
 height: 38px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid #313339;
 transition: border-color 0.2s;
 display: block;
}

.srodek.ramowka:hover .sb_n a img {
 border-color: #ffa500;
}

/* godziny */
.srodek.ramowka b.icon-clock {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 font-size: 13px;
 font-weight: bold;
 color: #fff;
 font-family: monospace;
 background: #16181c;
 border: 1px solid #313339;
 border-radius: 5px;
 padding: 3px 9px;
 white-space: nowrap;
 flex-shrink: 0;
}

.srodek.ramowka b.icon-clock:before {
 color: #ffa500;
 font-size: 13px;
}
/* live */
.srodek.ramowka.live {
 border-left: 3px solid #ffa500;
	 background: #101112;
}

.srodek.ramowka .button.small.red {
 display: inline-flex;
 align-items: center;
 font-size: 10px;
 font-weight: bold;
 padding: 2px 8px;
 border-radius: 4px;
 background: #3d0008;
 color: #ff4455;
 border: 1px solid #7a0015;
 text-transform: uppercase;
 letter-spacing: 0.4px;
 animation: live-pulse 2s ease-in-out infinite;
 flex-shrink: 0;
 margin-left: 6px;
}

@keyframes live-pulse {
 0%, 100% { opacity: 1; }
 50%  { opacity: 0.65; }
}

.live { color: #ffa500; font-weight: bold; }

.icon-info.button.l.i {
 background: none;
 border: 1px solid #ffa500;
 padding: 0 3px;
 font-size: 0.75em;
}

.tab-pane h2 { font-size: 17px; margin: 6px 0; }
.sb_n a { display: inline-block; margin-right: 5px; position: relative; }

/* ══════════════════════════════════════
FORMULARZE
══════════════════════════════════════ */
#pozdro.active,
#czat.active,
.tab-content .tab-pane.active { display: block; }

#pozdro .input-group{ grid-template-columns: 0fr 1fr; }
#pozdro .input-group.t { grid-template-columns: 0fr 0fr 1fr; }

.input-group {
 display: grid;
 grid-template-columns: auto 1fr;
 margin-bottom: 6px;
}

.alert { margin: 3px 0 0; font-size: 16px; }

.form-control {
 border: none;
 box-shadow: none;
 background: #d0d5e8;
 color: #000;
 padding: 10px;
 font-size: 14px;
}

.input-group-addon {
 background: #cd0000;
 color: #fff;
 display: flex;
 font-size: 18px;
 padding: 0 10px;
 text-align: center;
 align-items: center;
}

#content {
 resize: none;
 height: 160px;
 margin: 0;
 vertical-align: middle;
}

/* ══════════════════════════════════════
EKIPA
══════════════════════════════════════ */
.ekipa-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
 gap: 8px;
 margin-top: 6px;
}

.ekipa {
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 background: #111;
 border: 1px solid #222;
 border-radius: 8px;
 padding: 14px 10px 12px;
 gap: 8px;
 transition: border-color 0.2s, transform 0.15s;
 position: relative;
 overflow: hidden;
}

.ekipa::before {
 content: '';
 position: absolute;
 top: 0; left: 0; right: 0;
 height: 2px;
 background: linear-gradient(90deg, #cd0000, #ffa500);
 opacity: 0;
 transition: opacity 0.2s;
}

.ekipa:hover { border-color: #333; transform: translateY(-2px); }
.ekipa:hover::before { opacity: 1; }

.ekipa .img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 border: 2px solid #222;
 transition: border-color 0.2s;
 display: block;
}

.ekipa:hover .img { border-color: #ffa500; }

.ekipa h3 {
 font-size: 13px;
 font-weight: bold;
 color: #fff;
 margin: 0;
 font-family: Lato, Arial, sans-serif;
 line-height: 1.3;
}

.ekipa .info {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 5px;
 width: 100%;
 padding: 0;
}

.ekipa .channels {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 3px;
}

.ekipa .channels .channel_main,
.ekipa .channels .channel_edm {
 font-size: 10px;
 padding: 1px 6px;
 border-radius: 4px;
 font-weight: bold;
 text-transform: uppercase;
 letter-spacing: 0.3px;
}

.ekipa-links {
 display: flex;
 gap: 4px;
 justify-content: center;
 flex-wrap: wrap;
}

.ekipa-links a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 28px;
 height: 28px;
 border-radius: 5px;
 font-size: 14px;
 text-decoration: none;
 border: 1px solid transparent;
 transition: all 0.15s;
}
.ekipa-links a.icon-facebook { background: #1a2a4a; color: #4a8fff; border-color: #1e3560; }
.ekipa-links a.icon-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.ekipa-links a.icon-youtube  { background: #3a0a0a; color: #ff4444; border-color: #5a1010; }
.ekipa-links a.icon-youtube:hover  { background: #cd0000; color: #fff; border-color: #cd0000; }
.genre-buttons { margin-top: 25px; text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; row-gap: 4px; column-gap: 4px; }

.right-area-content { text-align: center; background: rgba(255,255,255,.06); margin-right: 20px; }

.collapsing {
    height: 0;
    overflow: hidden;
    position: relative;
    transition-duration: .35s;
    transition-property: height, visibility;
    transition-timing-function: ease;
}

.center{ grid-area: center; display: block; }
.right-area { grid-area: right-area; }
.statistics { grid-area: statistics; padding: 0; }
.statistics .popup-button { margin: 0; }

.sb_n{ vertical-align: middle; align-self: center; }
.sb_n a img  { vertical-align: middle; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.sb_n a { display: inline-block; margin-right: 5px; position: relative; }

/* ── Nav pills ── */
.tab-content  { margin: 0 0 16px 0; }
.bg-red  { background: #f56954; color: #fff; float: left; margin: 0 2px 0 0; width: 100%; }

ul.nav-pills  { margin: 10px 0; }

.nav-pills li {
 display: inline-block;
 font-weight: normal;
 margin: 0;
 &.active a, a:hover { background: #ffa500; color: #000; }
}

.nav-pills li a {
 cursor: pointer;
 background: #1e1e1e;
 color: #ccc;
 display: inline-block;
 padding: 7px 8px;
 border-radius: 6px;
 text-decoration: none;
 margin: 2px 0;
 border: 1px solid #2a2a2a;
 transition: background 0.2s, color 0.2s;
 font-family: Lato, Arial, sans-serif;
 font-size: 13px;
}

.nav-pills li a:hover { background: #ffa500; color: #000; border-color: #ffa500; }

.srodek b { padding-right: 10px; }
.tab-content .tab-pane { display: none; }
.info{ padding: 4px; width: 100%; }

.partners a{ display: block; color: #888; &:hover { color: #ffa500; } }
.play:hover path{ fill: #ffa500; }
.partners.l a { display: inline-block; vertical-align: middle; }
.partners{ padding: 0 10px; display: inline-block; vertical-align: top; }
.seo-text h2  { text-transform: none; font-size: 15px; }

/* ══════════════════════════════════════
RESPONSIVE
══════════════════════════════════════ */
@media screen and (max-width: 1220px) {
 .container { width: 1000px; }
 ul.menu li a  { padding: 7px 6px; font-size: 12px; }
 .nav-pills li a { font-size: .99em; }
 .statistics .popup-button { font-size: 1em; }
}

@media screen and (max-width: 1050px) {
.open-m { display: flex; }

ul.menu.collapse {
    display: block !important;
    width: 100%;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

ul.menu.collapse.in {
    max-height: 700px;
    overflow: visible;
    transition: max-height 0.35s ease;
}

ul.menu.collapsing {
    display: block !important;
    width: 100%;
    padding: 0;
}
.navbar .container {
display: grid;
grid-template-columns: 1fr auto;
grid-template-rows: auto auto;
padding: 8px 10px;
 }
.logo { grid-area: 1 / 1 / 2 / 2; }
.navbar-toggle { grid-area: 1 / 2 / 2 / 3; }
ul.menu  { grid-area: 2 / 1 / 3 / 3; }
.container { width: 100%; }
.radio  { text-align: center; }
.right-area-content{ margin-right: 0; }
.open-m { font-size: 26px; display: flex; align-items: center; justify-content: center; }
.content{ width: 100%; }
.menu li{display: block;width: 100%;}
.menu li a {
width: 100%;
padding: 9px 14px;
font-size: 14px;
background: #111;
border: 1px solid #1e1e1e;
border-radius: 7px;
color: #ccc;
margin-bottom: 2px;
 }

.menu li a:hover { background: #1a1a1a; color: #fff; }
 .dropdown-menu {
position: static;
box-shadow: none;
border: none;
border-left: 2px solid #ffa500;
border-radius: 0 6px 6px 0;
background: #0a0a0a;
margin: 2px 0 4px 12px;
padding: 3px;
min-width: auto;
display: none;
 }

 .open .dropdown-menu,
 li.dropdown:hover > .dropdown-menu { display: block; }

 .menu li a.dropdown-item { font-size: 13px; padding: 7px 10px; }

 body { background: none; }
}

@media screen and (max-width: 950px) {
 .content {
grid-template-columns: 1fr;
grid-template-areas: "center" "statistics" "right-area";
 }

 .center {
width: 100%;
min-width: 0;
overflow: hidden;
 }

 .news-box.greetings { width: 100%; overflow: hidden; }
 .marquee-wrapper { width: 100%; max-width: 100%; overflow: hidden; }
 .marquee-track { animation-duration: 40s; }

 .greetings .pozdrowienia { font-size: 12px; padding: 0 6px; }
}

@media screen and (max-width: 850px) {
 .about-radio { grid-template-columns: 1fr; }
}

@media screen and (max-width: 600px) {
 .statistics .popup-button { font-size: 1.2em; }
 .responsive{ margin-right: -10px; }
 .logo{ height: 56px; }
 .two { grid-template-columns: 1fr; }
 .ekipa-grid{ grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
 .ekipa .img{ width: 64px; height: 64px; }
 .ekipa h3 { font-size: 12px; }
}

@media screen and (max-width: 400px) {
 .nav-pills li a { font-size: .85em; padding: 6px 2px; }
}