/* MeczRealu - Muzyka: podstrona /muzyka.php, karta utworu we wpisie,
   odtwarzacz u dolu ekranu, okna dodawania / zgloszenia (js/mr-music.js).
   Kolory jak reszta serwisu: tlo #000 / karty #16181c, menu i okna #1c1d1f. */

/* ---------- podstrona ---------- */
.mr-mu-page { padding: 0 !important; }
.mr-mu-hero {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding: 22px 20px 18px; border-bottom: 1px solid var(--border-divider, #2f3336);
	background: radial-gradient(120% 140% at 0% 0%, rgba(29, 185, 84, .16) 0%, rgba(0, 83, 203, .10) 45%, transparent 75%);
}
.mr-mu-hero-txt { min-width: 0; max-width: 520px; }
.mr-mu-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1db954; }
.mr-mu-hero h1 { margin: 6px 0 6px; font-size: 26px; font-weight: 800; line-height: 1.15; color: #e7e9ea; }
.mr-mu-hero p { margin: 0; font-size: 15px; line-height: 1.45; color: #8b98a5; }
.mr-mu-hero-act { display: flex; gap: 8px; flex-wrap: wrap; }
.mr-mu-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, .16); border-radius: 9999px; background: transparent; color: #e7e9ea;
	font: 700 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; cursor: pointer; white-space: nowrap;
}
.mr-mu-btn:hover { background: rgba(255, 255, 255, .06); }
.mr-mu-btn.is-primary { border-color: #eff3f4; background: #eff3f4; color: #0f1419; }
.mr-mu-btn.is-primary:hover { background: #d7dbdc; border-color: #d7dbdc; }
.mr-mu-btn:disabled { opacity: .5; cursor: default; }
.mr-mu-note { margin: 16px 20px; padding: 16px; border-radius: 14px; background: #16181c; color: #8b98a5; text-align: center; }
.mr-mu-sec { padding: 14px 0 8px; border-bottom: 1px solid var(--border-divider, #2f3336); }
.mr-mu-sec[hidden] { display: none; }
.mr-mu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 20px 8px; }
.mr-mu-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; font-weight: 800; color: #e7e9ea; }
.mr-mu-head h2 i { color: #1db954; font-size: 16px; }
.mr-mu-head span { font-size: 13px; color: #71767b; }
.mr-mu-wait { padding: 18px 20px; color: #71767b; list-style: none; }
.mr-mu-filters { display: flex; gap: 6px; padding: 2px 20px 10px; overflow-x: auto; scrollbar-width: none; }
.mr-mu-filters::-webkit-scrollbar { display: none; }
.mr-mu-filters button {
	flex: none; height: 32px; padding: 0 14px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .14);
	background: transparent; color: #e7e9ea; font-weight: 700; font-size: 13px; cursor: pointer;
}
.mr-mu-filters button:hover { background: rgba(255, 255, 255, .06); }
.mr-mu-filters button.is-on { background: #eff3f4; border-color: #eff3f4; color: #0f1419; }
.mr-mu-more { display: flex; margin: 10px auto 6px; }
.mr-mu-more[hidden] { display: none; }
.mr-mu-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 20px; color: #71767b; text-align: center; list-style: none; }
.mr-mu-empty i { font-size: 26px; color: #2f3336; margin-bottom: 4px; }
.mr-mu-empty b { color: #e7e9ea; font-size: 16px; }

/* listy (Top 20, najnowsze, zgloszone) */
.mr-mu-list { margin: 0; padding: 0; list-style: none; }
.mr-mu-list > li { list-style: none; }
.mr-mu-row {
	display: flex; align-items: center; gap: 12px; padding: 8px 20px; min-width: 0;
	transition: background .15s;
}
.mr-mu-row:hover { background: rgba(255, 255, 255, .03); }
.mr-mu-row.is-current { background: rgba(29, 185, 84, .07); }
.mr-mu-row.is-flash { background: rgba(29, 155, 240, .16); }
.mr-mu-rank { flex: 0 0 40px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.mr-mu-rank b { font-size: 17px; font-weight: 800; color: #e7e9ea; }
.mr-mu-rank small { font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.mr-mu-rank .is-up { color: #1db954; }
.mr-mu-rank .is-down { color: #f4212e; }
.mr-mu-rank .is-new { color: #1d9bf0; letter-spacing: .02em; }
.mr-mu-rank .is-same { color: #536471; }
.mr-mu-top > li:nth-child(-n+3) .mr-mu-rank b { color: #f5c542; }
.mr-mu-cover {
	position: relative; flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #1f2a24 0%, #16181c 100%) center/cover no-repeat; color: #536471; font-size: 18px;
}
.mr-mu-play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	border: 0; padding: 0; background: rgba(0, 0, 0, .35); color: #fff; font-size: 16px; cursor: pointer;
	opacity: 0; transition: opacity .15s;
}
.mr-mu-row:hover .mr-mu-play, .mr-pev-music:hover .mr-mu-play, .is-current .mr-mu-play, .mr-mu-play:focus-visible { opacity: 1; }
.is-playing .mr-mu-play { background: rgba(29, 185, 84, .55); }
.mr-mu-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mr-mu-title { font-size: 15px; font-weight: 700; color: #e7e9ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mu-title .fa-film { font-size: 12px; color: #71767b; margin-left: 4px; }
.mr-mu-artist { font-size: 14px; color: #c4c9ce; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mu-meta { font-size: 12.5px; color: #71767b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mu-tagtxt { color: #1d9bf0; }
.mr-mu-cap { font-size: 13.5px; color: #c4c9ce; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mr-mu-rep { font-size: 12.5px; color: #f4212e; }
.mr-mu-side { flex: none; display: flex; align-items: center; gap: 4px; }
.mr-mu-vote {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #e7e9ea; font-weight: 700; font-size: 13px; cursor: pointer;
}
.mr-mu-vote:hover { border-color: #1db954; color: #1db954; background: rgba(29, 185, 84, .08); }
.mr-mu-vote.is-voted { border-color: rgba(29, 185, 84, .5); background: rgba(29, 185, 84, .14); color: #1db954; }
.mr-mu-ic {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
	border: 0; background: transparent; color: #8b98a5; font-size: 15px; cursor: pointer; text-decoration: none;
}
.mr-mu-ic:hover { background: rgba(255, 255, 255, .06); color: #e7e9ea; text-decoration: none; }

/* utwor tygodnia */
.mr-mu-feat { padding: 4px 20px 10px; }
.mr-mu-feat-in {
	display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px;
	background: radial-gradient(140% 120% at 0% 0%, rgba(245, 197, 66, .14) 0%, rgba(29, 185, 84, .08) 50%, #16181c 85%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.mr-mu-feat-in.is-current { box-shadow: inset 0 0 0 1px rgba(29, 185, 84, .5); }
.mr-mu-feat-cover {
	flex: none; width: 120px; height: 120px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #1f2a24 0%, #16181c 100%) center/cover no-repeat; color: #536471; font-size: 34px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
}
.mr-mu-feat-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mr-mu-feat-txt .mr-mu-kicker { color: #f5c542; }
.mr-mu-feat-txt > b { font-size: 21px; font-weight: 800; color: #e7e9ea; line-height: 1.2; margin-top: 2px; overflow-wrap: anywhere; }
.mr-mu-feat-txt > span:not(.mr-mu-feat-act) { font-size: 15px; color: #c4c9ce; }
.mr-mu-feat-act { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mr-mu-feat-act .mr-mu-btn.is-voted { border-color: rgba(29, 185, 84, .5); color: #1db954; background: rgba(29, 185, 84, .14); }

/* ---------- karta utworu we wpisie ---------- */
.mr-pev.mr-pev-music {
	/* ramka i tlo jak inne karty we wpisach (mr-post-event.css .mr-pev) */
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; max-width: 100%; min-width: 0; cursor: default;
}
.mr-pev.mr-pev-music .mr-mu-cover { width: 64px; height: 64px; border-radius: 12px; font-size: 22px; }
.mr-pev.mr-pev-music .mr-mu-play { opacity: 1; background: rgba(0, 0, 0, .3); font-size: 18px; }
.mr-pev.mr-pev-music .mr-mu-kicker { font-size: 11px; }
.mr-mu-tags { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; font-size: 12.5px; color: #1d9bf0; }
.mr-mu-pagelink { font-size: 12.5px; font-weight: 700; color: #8b98a5; text-decoration: none; }
.mr-pev.mr-pev-music .mr-mu-side { flex-direction: column; align-items: flex-end; gap: 6px; }
.mr-pev.mr-pev-music .mr-mu-side a { font-size: 12.5px; font-weight: 700; color: #8b98a5; }
.mr-pev.mr-pev-music .mr-mu-side a:hover { color: #e7e9ea; text-decoration: none; }
.mr-pev.mr-pev-music.is-current { border-color: rgba(29, 185, 84, .6); }
.mr-pev.mr-pev-music.is-gone { color: #71767b; font-size: 14px; gap: 8px; }
/* w powiadomieniu (_mr_nx_pev.tpl): tekst po lewej, kwadratowa okladka z "play"
   po prawej, bez podbicia / linku i opisu */
.mr-nx-pev-wrap .mr-pev.mr-pev-music:not(.is-gone) { flex-direction: row-reverse; gap: 12px; max-width: 420px; padding: 8px 8px 8px 14px; }
.mr-nx-pev-wrap .mr-pev.mr-pev-music .mr-mu-info { flex: 1 1 auto; min-width: 0; }
.mr-nx-pev-wrap .mr-pev.mr-pev-music .mr-mu-cover { flex: 0 0 72px; width: 72px; height: 72px; }
.mr-nx-pev-wrap .mr-pev.mr-pev-music .mr-mu-side,
.mr-nx-pev-wrap .mr-pev.mr-pev-music .mr-mu-cap,
.mr-nx-pev-wrap .mr-pev.mr-pev-music .mr-mu-tags { display: none; }
.js_live-notifications .mr-nx-pev-wrap .mr-pev.mr-pev-music .mr-mu-cover { flex-basis: 60px; width: 60px; height: 60px; }

/* ---------- odtwarzacz u dolu ekranu ---------- */
/* nad otwartym wpisem, wątkiem komentarza, powiadomieniami i wiadomościami (panel #modal ma z-index 999999);
   okna portalu (MRWin, od 1000000) zostają nad odtwarzaczem */
body.mr-post-thread-open .mr-mp, body.mr-comment-thread-open .mr-mp, body.mr-notif-open .mr-mp, body.mr-msg-open .mr-mp { z-index: 1000000 !important; }
.mr-mp {
	position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 1035;
	width: min(600px, calc(100vw - 24px)); padding: 8px 10px 8px; border-radius: 16px;
	background: #1c1d1f; color: #e7e9ea; border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 0 18px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .6);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.mr-mp[hidden] { display: none; }
/* okno Muzyki otwarte - ma wlasny pasek "teraz gra" (js/mr-music.js dockSync); tylko
   niewidoczny, bez display:none - odtwarzacz YouTube / Spotify / SoundCloud w ramce gra dalej */
.mr-mp.is-docked { visibility: hidden !important; pointer-events: none !important; }
.mr-mp audio { display: none; }
.mr-mp-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mr-mp-art {
	flex: none; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #1f2a24 0%, #16181c 100%) center/cover no-repeat; color: #536471;
}
.mr-mp-art.is-video { width: 112px; height: 63px; background: #000; }
.mr-mp-art video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mr-mp-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mr-mp-title { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mp-artist { font-size: 12.5px; color: #8b98a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mp-ctrl, .mr-mp-tools { flex: none; display: flex; align-items: center; gap: 2px; }
.mr-mp button {
	display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 34px; height: 34px; padding: 0 6px;
	border: 0; border-radius: 9999px; background: transparent; color: #e7e9ea; font-size: 15px; cursor: pointer;
}
.mr-mp button:hover { background: rgba(255, 255, 255, .08); }
.mr-mp button.is-main { width: 38px; height: 38px; background: #eff3f4; color: #0f1419; }
.mr-mp button.is-main:hover { background: #d7dbdc; }
.mr-mp button.is-on { color: #1db954; }
.mr-mp-qn { font-size: 11px; font-weight: 800; }
.mr-mp-bar { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 11.5px; color: #8b98a5; font-variant-numeric: tabular-nums; }
.mr-mp-seek { flex: 1 1 auto; height: 4px; margin: 0; accent-color: #1db954; cursor: pointer; }
.mr-mp-queue { max-height: 220px; margin: 8px 0 0; padding: 6px 0 0; overflow-y: auto; list-style: none; border-top: 1px solid rgba(255, 255, 255, .08); scrollbar-width: thin; scrollbar-color: #2f3336 transparent; }
.mr-mp-queue[hidden] { display: none; }
.mr-mp-queue li { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 10px; cursor: pointer; }
.mr-mp-queue li:hover { background: rgba(255, 255, 255, .05); }
.mr-mp-queue li.is-on { background: rgba(29, 185, 84, .1); }
.mr-mp-queue li.is-on .mr-mp-qi { color: #1db954; }
.mr-mp-qi { flex: 0 0 18px; text-align: center; font-size: 12px; color: #71767b; font-weight: 700; }
.mr-mp-qt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mr-mp-qt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mp-qt small { font-size: 12px; color: #8b98a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-mp-qd { font-size: 12px; color: #71767b; }
.mr-mp .mr-mp-qx { min-width: 26px; height: 26px; font-size: 12px; color: #8b98a5; }
@media (max-width: 767.98px) {
	.mr-mp { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); width: calc(100vw - 16px); padding: 6px 8px; }
	.mr-mp-tools button[data-a="queue"] { display: none; }
	.mr-mp-art.is-video { width: 84px; height: 47px; }
}

/* ---------- menu utworu i okna ---------- */
.mr-mu-pop {
	position: fixed; z-index: 2147483000; min-width: 230px; padding: 6px 0; border-radius: 14px;
	background: #1c1d1f; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 18px rgba(255, 255, 255, .08), 0 8px 28px rgba(0, 0, 0, .55);
}
.mr-mu-pop button {
	display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: 0; background: transparent;
	color: #e7e9ea; font: 700 14.5px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; text-align: left; cursor: pointer;
}
.mr-mu-pop button i { width: 18px; text-align: center; }
.mr-mu-pop button:hover { background: rgba(255, 255, 255, .06); }
.mr-mu-pop button.is-danger { color: #f4212e; }
.mr-mu-ed { position: fixed; inset: 0; z-index: 2147483600; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); }
.mr-mu-box {
	width: min(480px, 100%); max-height: min(90vh, 760px); display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
	background: #1c1d1f; border: 1px solid rgba(255, 255, 255, .08); color: #e7e9ea;
	box-shadow: 0 0 18px rgba(255, 255, 255, .08), 0 8px 28px rgba(0, 0, 0, .55);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.mr-mu-box-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mr-mu-box-h b { flex: 1 1 auto; font-size: 20px; font-weight: 800; }
.mr-mu-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; cursor: pointer; }
.mr-mu-x:hover { background: rgba(255, 255, 255, .06); }
.mr-mu-box-b { overflow-y: auto; padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 10px; }
.mr-mu-box-f { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.mr-mu-err { flex: 1 1 auto; font-size: 13px; color: #f4212e; }
.mr-mu-p { margin: 0; color: #c4c9ce; font-size: 15px; }
.mr-mu-opts { display: flex; flex-direction: column; gap: 8px; }
.mr-mu-opts label, .mr-mu-check { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #e7e9ea; cursor: pointer; margin: 0; }
.mr-mu-opts input, .mr-mu-check input { width: 18px; height: 18px; accent-color: #1d9bf0; }
.mr-mu-drop {
	display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 18px 12px; border-radius: 14px;
	border: 1px dashed rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .22); text-align: center; cursor: pointer;
}
.mr-mu-drop:hover { border-color: #1db954; }
.mr-mu-drop i { font-size: 24px; color: #1db954; }
.mr-mu-drop b { font-size: 15px; overflow-wrap: anywhere; }
.mr-mu-drop small { font-size: 12.5px; color: #8b98a5; }
.mr-mu-row2 { display: flex; gap: 10px; }
.mr-mu-coverpick { flex: none; margin: 0; cursor: pointer; }
.mr-mu-coverpick span {
	width: 92px; height: 92px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	background: rgba(0, 0, 0, .22) center/cover no-repeat; border: 1px dashed rgba(255, 255, 255, .22); color: #8b98a5; font-size: 20px;
}
.mr-mu-coverpick small { font-size: 11.5px; }
.mr-mu-fields { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.mr-mu-in {
	width: 100%; min-height: 42px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(0, 0, 0, .25); color: #e7e9ea; font-size: 15px; outline: 0; resize: vertical; font-family: inherit;
}
.mr-mu-in:focus { border-color: #1d9bf0; box-shadow: 0 0 0 1px #1d9bf0; }
.mr-mu-sub { font-size: 13px; font-weight: 700; color: #71767b; text-transform: uppercase; letter-spacing: .03em; }
.mr-mu-sub small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.mr-mu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mr-mu-chips button { height: 32px; padding: 0 12px; border-radius: 9999px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: #e7e9ea; font-weight: 700; font-size: 13px; cursor: pointer; }
.mr-mu-chips button:hover { background: rgba(255, 255, 255, .06); }
.mr-mu-chips button.is-on { border-color: #1db954; background: rgba(29, 185, 84, .14); color: #1db954; }
.mr-mu-legal { margin: 0; font-size: 12px; line-height: 1.4; color: #71767b; }
.mr-mu-prog { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mr-mu-prog[hidden] { display: none; }
.mr-mu-prog span { display: block; height: 100%; width: 2%; background: #1db954; transition: width .2s; }
.mr-mu-toast {
	position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 2147483601; padding: 10px 16px; border-radius: 10px;
	background: #1d9bf0; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}

/* ---------- telefon ---------- */
@media (max-width: 575.98px) {
	.mr-mu-hero { padding: 16px 14px 14px; }
	.mr-mu-hero h1 { font-size: 22px; }
	.mr-mu-row { padding: 8px 12px; gap: 10px; }
	.mr-mu-head, .mr-mu-filters { padding-left: 12px; padding-right: 12px; }
	.mr-mu-feat { padding: 4px 12px 10px; }
	.mr-mu-feat-cover { width: 88px; height: 88px; }
	.mr-mu-feat-txt > b { font-size: 18px; }
	.mr-mu-play { opacity: 1; background: rgba(0, 0, 0, .25); }
	.mr-mu-side .mr-mu-ic[href] { display: none; }
	.mr-pev.mr-pev-music { gap: 10px; padding: 8px 10px; }
	.mr-pev.mr-pev-music .mr-mu-cover { width: 56px; height: 56px; }
}

/* ---------- jasny motyw ---------- */
html[data-mr-theme="light"] .mr-mu-hero h1, html[data-mr-theme="light"] .mr-mu-head h2,
html[data-mr-theme="light"] .mr-mu-title, html[data-mr-theme="light"] .mr-mu-rank b,
html[data-mr-theme="light"] .mr-mu-empty b, html[data-mr-theme="light"] .mr-mu-feat-txt > b { color: #0f1419; }
html[data-mr-theme="light"] .mr-mu-artist, html[data-mr-theme="light"] .mr-mu-cap { color: #536471; }
html[data-mr-theme="light"] .mr-mu-note { background: #f7f9f9; box-shadow: inset 0 0 0 1px #eff3f4; }
html[data-mr-theme="light"] .mr-mu-btn, html[data-mr-theme="light"] .mr-mu-vote, html[data-mr-theme="light"] .mr-mu-filters button { color: #0f1419; border-color: #cfd9de; }
html[data-mr-theme="light"] .mr-mu-btn.is-primary, html[data-mr-theme="light"] .mr-mu-filters button.is-on { background: #0f1419; border-color: #0f1419; color: #fff; }
html[data-mr-theme="light"] .mr-mp, html[data-mr-theme="light"] .mr-mu-pop, html[data-mr-theme="light"] .mr-mu-box {
	background: #fff; color: #0f1419; border-color: rgba(15, 20, 25, .06); box-shadow: 0 0 15px rgba(101, 119, 134, .2), 0 0 3px 1px rgba(101, 119, 134, .15);
}
html[data-mr-theme="light"] .mr-mp button, html[data-mr-theme="light"] .mr-mu-pop button { color: #0f1419; }
html[data-mr-theme="light"] .mr-mp button.is-main { background: #0f1419; color: #fff; }
html[data-mr-theme="light"] .mr-mu-in { background: #fff; color: #0f1419; border-color: #cfd9de; }
html[data-mr-theme="light"] .mr-mu-chips button { color: #0f1419; border-color: #cfd9de; }

/* ---------- zrodla Spotify / YouTube ---------- */
.mr-mu-src-sp { color: #1db954; }
.mr-mu-src-yt { color: #ff0033; }
.mr-mu-kicker .mr-mu-src-yt { color: #ff0033; }

/* ---------- odtwarzacz: przeciaganie, minimalizacja, odtwarzacze serwisow ---------- */
.mr-mp-grip { display: block; width: 44px; height: 4px; margin: -2px auto 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); cursor: grab; touch-action: none; }
.mr-mp-grip:hover { background: rgba(255, 255, 255, .34); }
.mr-mp-meta { cursor: grab; touch-action: none; user-select: none; }
.mr-mp.is-drag, .mr-mp.is-drag .mr-mp-meta, .mr-mp.is-drag .mr-mp-grip { cursor: grabbing; user-select: none; }
.mr-mp.is-drag iframe { pointer-events: none; }
.mr-mp[data-kind="spotify"] { width: min(680px, calc(100vw - 24px)); }
.mr-mp-art.is-youtube { width: 160px; height: 90px; background: #000; }
.mr-mp-art.is-spotify { width: 250px; height: 80px; background: transparent; border-radius: 12px; }
/* SoundCloud: oficjalny odtwarzacz (okladka, tytul, przebieg) */
.mr-mp-art.is-sndcloud { width: 250px; height: 120px; background: #111; border-radius: 12px; overflow: hidden; }
.mr-mp-art iframe { display: block; width: 100%; height: 100%; border: 0; }
.mr-mp.is-min { width: auto; max-width: min(440px, calc(100vw - 24px)); padding: 6px 8px; }
.mr-mp.is-min .mr-mp-bar, .mr-mp.is-min .mr-mp-queue,
.mr-mp.is-min [data-a="prev"], .mr-mp.is-min [data-a="next"], .mr-mp.is-min [data-a="queue"] { display: none; }
.mr-mp.is-min .mr-mp-grip { margin-bottom: 4px; }
.mr-mp.is-min .mr-mp-meta { max-width: 170px; }
.mr-mp.is-min .mr-mp-art { width: 40px; height: 40px; }
.mr-mp.is-min .mr-mp-art.is-video { width: 72px; height: 40px; }
.mr-mp.is-min .mr-mp-art.is-youtube { width: 96px; height: 54px; }
.mr-mp.is-min .mr-mp-art.is-spotify { width: 250px; height: 80px; }
.mr-mp.is-min .mr-mp-art.is-sndcloud { width: 250px; height: 120px; }
.mr-mp.is-min[data-kind="spotify"] .mr-mp-meta { display: none; }
@media (max-width: 767.98px) {
	.mr-mp[data-kind="spotify"]:not(.is-min) .mr-mp-main { flex-wrap: wrap; }
	.mr-mp[data-kind="spotify"]:not(.is-min) .mr-mp-art.is-spotify { order: 10; width: 100%; }
	.mr-mp[data-kind="sndcloud"]:not(.is-min) .mr-mp-art.is-sndcloud { order: 10; width: 100%; }
	.mr-mp:not(.is-min) .mr-mp-art.is-youtube { width: 112px; height: 63px; }
}
html[data-mr-theme="light"] .mr-mp-grip { background: rgba(15, 20, 25, .18); }

/* ---------- okno dodawania: plik albo link ---------- */
.mr-mu-srcs { display: flex; gap: 6px; }
.mr-mu-srcs button {
	flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 8px; border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .12); background: transparent; color: #e7e9ea; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.mr-mu-srcs button:hover { background: rgba(255, 255, 255, .06); }
.mr-mu-srcs button.is-on { border-color: #1db954; background: rgba(29, 185, 84, .12); color: #1db954; }
.mr-mu-drop[hidden], .mr-mu-linkbox[hidden] { display: none; }
.mr-mu-linkbox { display: flex; flex-direction: column; gap: 6px; }
.mr-mu-linkbox small { font-size: 12.5px; color: #8b98a5; line-height: 1.4; }
.mr-mu-linkbox small.is-bad { color: #f4212e; }
.mr-mu-linkbox small.is-ok { color: #e7e9ea; font-weight: 700; }
.mr-mu-linkbox small.is-spotify i { color: #1db954; }
.mr-mu-linkbox small.is-youtube i { color: #ff0033; }
.mr-mu-linkbox small.is-sndcloud i { color: #ff5500; }
.mr-mu-src-sc, .mra-src.is-sc { color: #ff5500; }
html[data-mr-theme="light"] .mr-mu-srcs button { color: #0f1419; border-color: #cfd9de; }
html[data-mr-theme="light"] .mr-mu-linkbox small.is-ok { color: #0f1419; }

/* ---------- playlisty ---------- */
.mr-mu-btn.is-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.mr-pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 4px 20px 10px; }
.mr-pl-grid > .mr-mu-empty { grid-column: 1 / -1; }
.mr-pl-card { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 8px; border-radius: 14px; cursor: pointer; transition: background .15s; }
.mr-pl-card:hover, .mr-pl-card:focus-visible { background: rgba(255, 255, 255, .05); outline: 0; }
.mr-pl-cover, .mr-pl-bigcover {
	position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;
	background: linear-gradient(135deg, #1f2a24 0%, #16181c 100%) center/cover no-repeat; color: #536471;
}
.mr-pl-card .mr-pl-cover { width: 100%; aspect-ratio: 1 / 1; border-radius: 12px; font-size: 30px; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.mr-pl-cover.is-mosaic, .mr-pl-bigcover.is-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; align-items: stretch; justify-items: stretch; }
.mr-pl-cover.is-mosaic > i, .mr-pl-bigcover.is-mosaic > i { display: block; width: 100%; height: 100%; background: center/cover no-repeat; }
.mr-pl-card .mr-mu-play { font-size: 22px; }
.mr-pl-card:hover .mr-mu-play, .mr-pl-card:focus-visible .mr-mu-play { opacity: 1; }
.mr-pl-title { font-size: 14.5px; font-weight: 700; color: #e7e9ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-pl-meta { font-size: 12.5px; color: #71767b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* okno playlisty */
.mr-pl-ed .mr-mu-box { width: min(640px, 100%); }
.mr-pl-head { display: flex; gap: 16px; align-items: flex-end; padding-bottom: 6px; }
.mr-pl-bigcover { flex: none; width: 132px; height: 132px; border-radius: 14px; font-size: 40px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.mr-pl-headtxt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mr-pl-headtxt > b { font-size: 22px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.mr-pl-headtxt p { margin: 0; font-size: 14px; color: #c4c9ce; line-height: 1.4; }
.mr-pl-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mr-pl-acts .mr-mu-btn.is-on { color: #f91880; border-color: rgba(249, 24, 128, .5); background: rgba(249, 24, 128, .1); }
.mr-pl-acts .js_pv-save.is-on { color: #1d9bf0; border-color: rgba(29, 155, 240, .5); background: rgba(29, 155, 240, .1); }
.mr-pl-tracks { margin: 4px -16px 0; }
.mr-pl-tracks .mr-mu-row { padding: 6px 16px; }
.mr-pl-no { flex: 0 0 22px; text-align: center; font-size: 13px; font-weight: 700; color: #71767b; }
.mr-pl-row.is-current .mr-pl-no { color: #1db954; }
.mr-pl-postlink { color: #1d9bf0; }
.mr-pl-row .mr-mu-ic:disabled { opacity: .35; cursor: default; }
/* wybor playlisty */
.mr-pl-pick { display: flex; flex-direction: column; gap: 4px; max-height: 320px; overflow-y: auto; }
.mr-pl-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: #e7e9ea; text-align: left; cursor: pointer; }
.mr-pl-opt:hover { background: rgba(255, 255, 255, .06); }
.mr-pl-opt i { font-size: 18px; color: #71767b; }
.mr-pl-opt.is-on i { color: #1db954; }
.mr-pl-opt span { display: flex; flex-direction: column; min-width: 0; }
.mr-pl-opt b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-pl-opt small { font-size: 12.5px; color: #71767b; }
/* karta playlisty we wpisie */
.mr-pev-playlist .mr-pl-cover { width: 64px; height: 64px; border-radius: 12px; font-size: 22px; }
.mr-pev-playlist .mr-mu-vote:hover { border-color: #f91880; color: #f91880; background: rgba(249, 24, 128, .08); }
.mr-pev-playlist .mr-mu-vote.is-voted { border-color: rgba(249, 24, 128, .5); color: #f91880; background: rgba(249, 24, 128, .12); }
@media (max-width: 575.98px) {
	.mr-pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px 10px 10px; }
	.mr-pl-head { flex-direction: column; align-items: flex-start; }
	.mr-pl-bigcover { width: 110px; height: 110px; }
}
html[data-mr-theme="light"] .mr-pl-title, html[data-mr-theme="light"] .mr-pl-headtxt > b, html[data-mr-theme="light"] .mr-pl-opt { color: #0f1419; }

/* ---------- radio: okno ze stacjami i odtwarzacz "na zywo" ---------- */
.mr-mp-live { display: none; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #f4212e; }
.mr-mp-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: mr-rd-pulse 1.6s ease-in-out infinite; }
.mr-mp-live-wait { display: none; color: #8b98a5; }
.mr-mp.is-wait .mr-mp-live { color: #8b98a5; }
.mr-mp.is-wait .mr-mp-live-on { display: none; }
.mr-mp.is-wait .mr-mp-live-wait { display: inline; }
.mr-mp[data-kind="radio"] .mr-mp-live { display: inline-flex; }
.mr-mp[data-kind="radio"] .mr-mp-t0, .mr-mp[data-kind="radio"] .mr-mp-t1, .mr-mp[data-kind="radio"] .mr-mp-seek { display: none; }
.mr-mp-art.is-radio { background-color: #111; background-size: contain; }
@keyframes mr-rd-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.mr-rd-ed .mr-mu-box { width: min(560px, 100%); }
.mr-rd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mr-rd-st {
	display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border: 1px solid #2f3336; border-radius: 14px;
	background: #16181c; color: #e7e9ea; text-align: left; cursor: pointer; transition: border-color .15s, background .15s;
}
.mr-rd-st:hover { background: #1d1f23; border-color: #3e4144; }
.mr-rd-st.is-current { border-color: rgba(244, 33, 46, .55); background: rgba(244, 33, 46, .06); }
.mr-rd-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px; background: #111 center/contain no-repeat; }
.mr-rd-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mr-rd-txt b { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-rd-txt small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #8b98a5; }
.mr-rd-dot { display: none; width: 7px; height: 7px; border-radius: 50%; background: #f4212e; animation: mr-rd-pulse 1.6s ease-in-out infinite; }
.mr-rd-on { display: none; color: #f4212e; font-weight: 700; }
.mr-rd-st.is-playing .mr-rd-dot, .mr-rd-st.is-playing .mr-rd-on { display: inline-block; }
.mr-rd-st.is-playing .mr-rd-off { display: none; }
.mr-rd-play { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eff3f4; color: #0f1419; font-size: 14px; }
.mr-rd-st.is-playing .mr-rd-play { background: #f4212e; color: #fff; }
.mr-rd-note { flex: 1 1 auto; font-size: 13px; color: #8b98a5; }
@media (max-width: 575.98px) {
	.mr-rd-grid { grid-template-columns: minmax(0, 1fr); }
}
html[data-mr-theme="light"] .mr-rd-st { background: #f7f9f9; border-color: #cfd9de; color: #0f1419; }
html[data-mr-theme="light"] .mr-rd-st:hover { background: #eff3f4; }
html[data-mr-theme="light"] .mr-rd-st.is-current { background: rgba(244, 33, 46, .06); border-color: rgba(244, 33, 46, .45); }

/* "Teraz slucha": nutka przy avatarze na liscie znajomych i dymek (js/mr-music.js) */
.chat-avatar .mr-lis-b{position:absolute;right:-4px;bottom:-4px;z-index:2;display:flex;align-items:center;justify-content:center;width:19px;height:19px;padding:0;border:0;border-radius:50%;background:#22c55e;color:#04140a;box-shadow:0 0 0 2px #000;font-size:9px;line-height:1;cursor:pointer;animation:mrLisPulse 2.4s ease-in-out infinite}
.chat-avatar .mr-lis-b:hover{transform:scale(1.12);animation:none}
html[data-mr-theme="light"] .chat-avatar .mr-lis-b{box-shadow:0 0 0 2px #fff}
@keyframes mrLisPulse{0%,100%{box-shadow:0 0 0 2px #000,0 0 0 2px rgba(34,197,94,.55)}50%{box-shadow:0 0 0 2px #000,0 0 0 6px rgba(34,197,94,0)}}
.mr-lis-tip{position:fixed;left:0;top:0;z-index:2147483000;display:flex;align-items:center;gap:10px;max-width:290px;padding:8px 12px 8px 8px;border-radius:10px;background:#111;color:#e7e9ea;box-shadow:inset 0 0 0 1px #222,0 4px 14px rgba(0,0,0,.5);font:500 13px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;pointer-events:none}
.mr-lis-cv{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:8px;background:#1d1f23 center/cover no-repeat;color:#22c55e;font-size:18px}
.mr-lis-c{display:flex;flex-direction:column;min-width:0}
.mr-lis-c small{font-size:12px;color:#22c55e;font-weight:700}
.mr-lis-c b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mr-lis-c span{font-size:12.5px;color:#8b98a5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mr-lis-c em{margin-top:3px;font-size:11.5px;font-style:normal;color:#71767b}
html[data-mr-theme="light"] .mr-lis-tip{background:#fff;color:#0f1419;box-shadow:inset 0 0 0 1px #cfd9de,0 4px 14px rgba(101,119,134,.25)}
html[data-mr-theme="light"] .mr-lis-c small{color:#15803d}
html[data-mr-theme="light"] .mr-lis-c span,html[data-mr-theme="light"] .mr-lis-c em{color:#536471}

/* ---------- karty z Muzyki: stacja radia, Top 20 tygodnia, Najnowsze, Radio, biblioteka (js/mr-music.js MRMusic.card,
   MR-20261020-MUSICSHARE) - we wpisie, komentarzu, wiadomości i czacie meczowym ---------- */
.mr-pev.mr-musc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; max-width: 100%; min-width: 0; }
.mr-musc-art {
	position: relative; flex: none; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, var(--c, #1db954), #121212) center/cover no-repeat; color: #fff; font-size: 24px;
}
.mr-musc.is-station .mr-musc-art { background-color: #111; background-size: contain; }
.mr-musc-play {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	background: rgba(0, 0, 0, .3); color: #fff; font-size: 18px; cursor: pointer; transition: background-color .15s;
}
.mr-musc-play:hover { background: rgba(0, 0, 0, .45); }
.mr-musc.is-playing .mr-musc-play { background: rgba(29, 185, 84, .55); }
.mr-musc.is-current { border-color: rgba(29, 185, 84, .6); }
.mr-musc-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; overflow: hidden; }
.mr-musc-kick { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1db954; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-musc-title { font-size: 15px; font-weight: 700; color: #e7e9ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-musc-sub { font-size: 13px; color: #8b98a5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-musc-live { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #f4212e; animation: mrMuscLive 1.4s ease-in-out infinite; }
@keyframes mrMuscLive { 50% { opacity: .35; } }
.mr-musc-rows { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.mr-musc-row { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: #c4c9ce; }
.mr-musc-row > b { flex: none; min-width: 14px; text-align: right; color: #f5c542; font-size: 12px; }
.mr-musc.is-latest .mr-musc-row > b { color: #8b98a5; }
.mr-musc-rc { flex: none; width: 22px; height: 22px; border-radius: 4px; background: #2a2b2e center/cover no-repeat; }
.mr-musc-rt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-musc-rt small { font-size: 12px; color: #71767b; }
.mr-musc-logos { display: flex; gap: 6px; margin-top: 6px; }
.mr-musc-logos i { flex: none; width: 28px; height: 28px; border-radius: 6px; background: #111 center/contain no-repeat; }
.mr-musc-chips { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 6px; }
.mr-musc-chips span { max-width: min(160px, 100%); padding: 2px 8px; border-radius: 9999px; background: rgba(37, 99, 235, .16); color: #9ec1ff; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-musc-btn {
	flex: none; align-self: center; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 9999px;
	background: #1db954; color: #000; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.mr-musc:hover .mr-musc-btn { background: #1ed760; }
@media (max-width: 520px) {
	.mr-pev.mr-musc { gap: 10px; padding: 8px 10px; }
	.mr-musc-art { width: 56px; height: 56px; }
	.mr-musc-btn { height: 30px; padding: 0 11px; font-size: 12px; }
}
@media (max-width: 380px) { .mr-musc-btn { display: none; } }
html[data-mr-theme="light"] .mr-musc-title { color: #0f1419; }
html[data-mr-theme="light"] .mr-musc-sub, html[data-mr-theme="light"] .mr-musc-row { color: #536471; }
html[data-mr-theme="light"] .mr-musc-chips span { background: rgba(37, 99, 235, .1); color: #1d4ed8; }
html[data-mr-theme="light"] .mr-musc-kick { color: #15803d; }
