/* Szarpidrut 2027 — W08 (pojedynczy utwór MP3): poprawki ręczne do w08.css.
   Elementy serwisu, których makieta nie ma (prawdziwy odtwarzacz, Live Component addToPlaylist, komentarze). */

main.sz27-w08 .hidden { display: none !important; }

/* Breadcrumb: długie tytuły nie mogą rozpychać strony. */
main.sz27-w08 .mp3-backline > div { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Odtwarzacz (app.js: #audio-player) w miejscu makietowego .mp3-player ---------- */
main.sz27-w08 .mp3-player-top { min-width: 0; }
main.sz27-w08 .mp3-player-name { flex: 1 1 auto; }
main.sz27-w08 button.mp3-player-play { padding: 0; background: transparent; cursor: pointer; font: 20px/1 Lato, Arial, sans-serif; color: #f4f2ee; transition: border-color .15s, background-color .15s; }
main.sz27-w08 button.mp3-player-play:hover,
main.sz27-w08 button.mp3-player-play:focus-visible { border-color: var(--accent); background: var(--accent); outline: none; }
main.sz27-w08 #play-icon { margin-left: 3px; }
main.sz27-w08 #pause-icon { font-size: 15px; letter-spacing: -2px; }
main.sz27-w08 .mp3-player-tools { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: auto; }
main.sz27-w08 .mp3-player-tool { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; background: transparent; border: 1px solid #4a4a4a; color: #d6d6d6; cursor: pointer; }
main.sz27-w08 .mp3-player-tool:hover,
main.sz27-w08 .mp3-player-tool:focus-visible { border-color: var(--accent); color: #fff; outline: none; }
main.sz27-w08 #repeat-icon.opacity-100 { color: var(--accent); opacity: 1; }
main.sz27-w08 .mp3-volume { position: relative; }
main.sz27-w08 .mp3-volume-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; background: #111; border: 1px solid #4a4a4a; padding: 12px 14px; }
main.sz27-w08 .mp3-volume-pop input { display: block; width: 130px; accent-color: var(--accent); cursor: pointer; }
main.sz27-w08 .mp3-player-progress { margin: 18px 0 0; }
main.sz27-w08 #progress { display: block; width: 100%; height: 3px; margin: 0; -webkit-appearance: none; appearance: none; background: #555; border: 0; border-radius: 0; cursor: pointer; accent-color: var(--accent); }
main.sz27-w08 #progress::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 0; }
main.sz27-w08 #progress::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 0; }
main.sz27-w08 #progress::-moz-range-progress { background: var(--accent); height: 3px; }
main.sz27-w08 .mp3-player-time { display: flex; justify-content: space-between; margin-top: 8px; font: 700 12px/1.4 Lato, Arial, sans-serif; letter-spacing: .08em; color: #a4a4a4; font-variant-numeric: tabular-nums; }

/* ---------- Dodaj do playlisty (Live Component addToPlaylist) ---------- */
main.sz27-w08 .mp3-playlist-btn { position: relative; cursor: pointer; justify-content: flex-start; gap: 10px; }
main.sz27-w08 .mp3-playlist-btn:hover { border-color: var(--accent); color: #fff; }
main.sz27-w08 .mp3-playlist-btn .add-to-playlist-wrapper,
main.sz27-w08 .mp3-playlist-btn [data-controller="dropdown"] { position: static; width: auto; height: auto; }
main.sz27-w08 .mp3-playlist-btn a.add-to-playlist { position: absolute; inset: 0; padding: 0; background: none !important; z-index: 1; }
main.sz27-w08 .mp3-playlist-btn .add-to-playlist-tooltip { display: none; }
main.sz27-w08 .mp3-playlist-btn .add-to-playlist-menu { left: 0; right: auto; top: calc(100% + 6px); z-index: 40; white-space: normal; text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 14px; text-align: left; background: #111; border: 1px solid #4a4a4a; border-radius: 0; }

/* ---------- Opis utworu (HTML z edytora) ---------- */
main.sz27-w08 #mp3-single .mp3-description-body { margin-top: 10px; color: #dedede; font: 400 16.25px/1.65 Lato, Arial, sans-serif; overflow-wrap: anywhere; }
main.sz27-w08 #mp3-single .mp3-description-body > :first-child { margin-top: 0; }
main.sz27-w08 #mp3-single .mp3-description-body a { color: #fff; text-decoration: underline; }
main.sz27-w08 #mp3-single .mp3-description-body img { max-width: 100%; height: auto; }
main.sz27-w08 .mp3-facts dd { overflow-wrap: anywhere; }

/* ---------- Poznaj zespół: drugi link ---------- */
main.sz27-w08 .mp3-band-text a { display: inline-block; margin-right: 16px; margin-top: 4px; }

/* ---------- Komentarze (front/_partials/comments.html.twig + commentForm) ---------- */
main.sz27-w08 #mp3-single .mp3-comments { margin-top: 57px; }
main.sz27-w08 .mp3-comments .container { max-width: none; width: 100%; margin: 0; padding: 0; border: 0; }
main.sz27-w08 .mp3-comments .container + .container { margin-top: 24px; }
main.sz27-w08 .mp3-comments .container > div { background: #191919; border: 1px solid #373737; padding: 18px 20px; margin-bottom: 12px; color: #dedede; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
main.sz27-w08 .mp3-comments .container > div:last-child { margin-bottom: 0; }
main.sz27-w08 .mp3-comments .font-anton { font-family: Anton, Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #f4f2ee; }
main.sz27-w08 .mp3-comments .font-anton a:hover { color: var(--accent); }
main.sz27-w08 .mp3-comments .text-gray-500 { color: #999; }
main.sz27-w08 .mp3-comments .container > div p { margin: 0; }
main.sz27-w08 .mp3-comments .container > div .mb-4 { margin-bottom: 12px; }
main.sz27-w08 .mp3-comments img { object-fit: cover; }
main.sz27-w08 .mp3-comments form label { display: block; font: 400 22px/1.3 Anton, Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; color: #f4f2ee; }
main.sz27-w08 .mp3-comments textarea { display: block; width: 100%; background: #191919; color: #f4f2ee; border: 1px solid #4a4a4a; border-radius: 0; padding: 12px 14px; font: 400 15px/1.5 Lato, Arial, sans-serif; }
main.sz27-w08 .mp3-comments textarea:focus { outline: none; border-color: var(--accent); }
main.sz27-w08 .mp3-comments .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 11px 18px; border: 1px solid var(--accent); border-radius: 0; background: var(--accent); color: #fff; font: 900 13px/1 Lato, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
main.sz27-w08 .mp3-comments .btn:hover { background: #b91f28; }
main.sz27-w08 .mp3-comments .edit-comment-btn { background: transparent; border-color: #747474; min-height: 36px; padding: 8px 12px; }
main.sz27-w08 .mp3-comments .text-red-500 { color: #f06c72; }

@media (max-width: 760px) {
    main.sz27-w08 .mp3-player-tool { width: 36px; height: 36px; }
    main.sz27-w08 #mp3-single .mp3-comments { margin-top: 42px; }
    main.sz27-w08 .mp3-comments .container > div { padding: 14px; }
}
@media (max-width: 380px) {
    main.sz27-w08 .mp3-player-top { flex-wrap: wrap; }
    main.sz27-w08 .mp3-player-name { flex-basis: calc(100% - 58px); }
    main.sz27-w08 .mp3-player-tools { margin-left: 58px; }
}
