/* Szarpidrut 2027 — W12 (strona albumu): poprawki ręczne do w12.css.
   Elementy serwisu, których makieta nie ma: prawdziwy odtwarzacz albumu (app.js: #audio-player, .play-track),
   Live Components hot + addToPlaylist, opis z edytora HTML, komentarze. Klasy .is-current/.is-playing dodaje w12.js. */

main.sz27-w12 .hidden { display: none !important; }

/* Breadcrumb / tytuł: długie nazwy nie mogą rozpychać strony. */
main.sz27-w12 .mp3-backline > div { min-width: 0; overflow-wrap: anywhere; }
main.sz27-w12 #mp3-single .w12-band h2 { overflow-wrap: anywhere; text-transform: uppercase; }
main.sz27-w12 #mp3-single .w12-intro h1 { text-wrap: balance; }
main.sz27-w12 #mp3-single .w12-cover img { aspect-ratio: 1 / 1; }

/* ---------- Przyciski w hero: dodaj cały album do playlisty ---------- */
main.sz27-w12 #mp3-single .w12-playlist-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: 900 13.75px/1.35 Lato, Arial, sans-serif; letter-spacing: .07em; }
main.sz27-w12 #mp3-single .w12-playlist-btn .plus { color: var(--accent); font-weight: 400; }
main.sz27-w12 #mp3-single .w12-playlist-btn:hover { color: var(--accent); }
main.sz27-w12 .w12-playlist-btn .add-to-playlist-wrapper,
main.sz27-w12 .w12-playlist-btn [data-controller="dropdown"] { position: static; width: auto; height: auto; }
main.sz27-w12 .w12-playlist-btn a.add-to-playlist { position: absolute; inset: 0; padding: 0; background: none !important; z-index: 1; width: auto; height: auto; }

/* Wspólne: menu Live Component addToPlaylist + komunikaty hot */
main.sz27-w12 .add-to-playlist-tooltip { display: none; }
main.sz27-w12 .add-to-playlist-menu { top: calc(100% + 6px); z-index: 40; white-space: normal; text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 14px; line-height: 1.4; text-align: left; background: #111; border: 1px solid #4a4a4a; border-radius: 0; color: #f4f2ee; }
main.sz27-w12 .w12-playlist-btn .add-to-playlist-menu { left: 0; right: auto; }
main.sz27-w12 .add-to-playlist-menu button,
main.sz27-w12 .add-to-playlist-menu a { border-radius: 0 !important; font: 700 13px/1.3 Lato, Arial, sans-serif; }
main.sz27-w12 .add-to-playlist-menu .bg-s_gold { background: var(--accent); color: #080808; }
main.sz27-w12 .add-to-playlist-menu .bg-s_gold:hover { background: #ff5059; }
main.sz27-w12 .add-to-playlist-menu input { color: #f4f2ee; border: 0; border-bottom: 1px solid #777; background: transparent; }
main.sz27-w12 .added-message { text-transform: none; letter-spacing: 0; font: 400 13px/1.4 Lato, Arial, sans-serif; border-radius: 0; }

/* ---------- Odtwarzacz albumu (w panelu listy nagrań) ---------- */
main.sz27-w12 .w12-player { margin: 0 0 6px; padding: 18px 0 20px; border-top: 2px solid var(--accent); }
main.sz27-w12 .w12-player + .w12-track-list { border-top: 1px solid #383838; }
main.sz27-w12 .w12-player-top { display: flex; align-items: center; gap: 16px; min-width: 0; }
main.sz27-w12 button.w12-player-play { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: var(--accent); color: #080808; cursor: pointer; font: 20px/1 Lato, Arial, sans-serif; transition: background-color .15s, color .15s; }
main.sz27-w12 button.w12-player-play:hover,
main.sz27-w12 button.w12-player-play:focus-visible { background: #ff5059; outline: none; }
main.sz27-w12 #play-icon { margin-left: 4px; font-variant-emoji: text; }
main.sz27-w12 #pause-icon { font-size: 0; width: 14px; height: 16px; border-left: 5px solid currentColor; border-right: 5px solid currentColor; }
main.sz27-w12 .w12-player-name { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
main.sz27-w12 .w12-player-name small { font: 900 11px/1.4 Lato, Arial, sans-serif; letter-spacing: .15em; color: var(--accent); }
main.sz27-w12 .w12-player-name strong { font: 900 clamp(17px, 1.6vw, 22px)/1.25 Lato, Arial, sans-serif; color: #fff; overflow-wrap: anywhere; }
main.sz27-w12 .w12-player-name span { font: 700 13px/1.4 Lato, Arial, sans-serif; color: #9b9b9b; overflow-wrap: anywhere; }
main.sz27-w12 .w12-player-progress { margin: 18px 0 0; }
main.sz27-w12 #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-w12 #progress::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 0; }
main.sz27-w12 #progress::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 0; }
main.sz27-w12 #progress::-moz-range-progress { background: var(--accent); height: 3px; }
main.sz27-w12 .w12-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; }
main.sz27-w12 .w12-player-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
main.sz27-w12 .w12-player-nav,
main.sz27-w12 .w12-player-extra { display: flex; align-items: center; gap: 6px; }
main.sz27-w12 .w12-player-tool { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; background: transparent; border: 1px solid #4a4a4a; border-radius: 0; color: #d6d6d6; cursor: pointer; }
main.sz27-w12 .w12-player-tool:hover,
main.sz27-w12 .w12-player-tool:focus-visible { border-color: var(--accent); color: #fff; outline: none; }
main.sz27-w12 #repeat-icon.opacity-75,
main.sz27-w12 #shuffle-icon.opacity-75 { opacity: .75; }
main.sz27-w12 #repeat-icon.opacity-100,
main.sz27-w12 #shuffle-icon.opacity-100 { color: var(--accent); opacity: 1; }
main.sz27-w12 .w12-volume { position: relative; }
main.sz27-w12 .w12-volume-pop { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30; background: #111; border: 1px solid #4a4a4a; padding: 12px 14px; }
main.sz27-w12 .w12-volume-pop input { display: block; width: 130px; accent-color: var(--accent); cursor: pointer; }

/* ---------- Lista utworów: ▶, polubienia, playlista, bieżący utwór ---------- */
main.sz27-w12 #mp3-single .w12-track-list li { gap: 14px; padding-right: 0; transition: background-color .15s; }
main.sz27-w12 #mp3-single .w12-track-list strong { cursor: pointer; }
main.sz27-w12 #mp3-single .w12-track-list strong:hover { color: var(--accent); }
main.sz27-w12 .w12-track-play { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid #4f4f4f; border-radius: 50%; background: transparent; color: #f4f2ee; cursor: pointer; font: 13px/1 Lato, Arial, sans-serif; transition: border-color .15s, background-color .15s, color .15s; }
main.sz27-w12 .w12-track-play span { margin-left: 2px; }
main.sz27-w12 .w12-track-play:hover,
main.sz27-w12 .w12-track-play:focus-visible { border-color: var(--accent); background: var(--accent); color: #080808; outline: none; }
main.sz27-w12 #mp3-single .w12-track.is-current { background: linear-gradient(90deg, rgba(237, 48, 57, .14), rgba(237, 48, 57, 0) 70%); box-shadow: inset 3px 0 0 var(--accent); padding-left: 10px; }
main.sz27-w12 #mp3-single .w12-track.is-current strong { color: #fff; }
main.sz27-w12 .w12-track.is-current .w12-track-play { border-color: var(--accent); color: var(--accent); }
main.sz27-w12 .w12-track.is-playing .w12-track-play { background: var(--accent); color: #080808; }
main.sz27-w12 .w12-track-play span { font-variant-emoji: text; }
main.sz27-w12 .w12-track.is-playing .w12-track-play span { font-size: 0; margin: 0; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
main.sz27-w12 .w12-track-tools { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
main.sz27-w12 .w12-track-hot button { cursor: pointer; background-color: transparent; border: 0; box-sizing: content-box; width: 20px; height: 20px; background-position: center; background-repeat: no-repeat; background-size: 20px; }
main.sz27-w12 .w12-track-hot .flex { gap: 2px; }
main.sz27-w12 .w12-track-hot span { color: #cfcfcf; font: 700 12px/1 Lato, Arial, sans-serif; font-variant-numeric: tabular-nums; min-width: 1ch; }
main.sz27-w12 .w12-track-hot .added-message { right: 0; top: 100%; }
main.sz27-w12 .w12-track-add [data-controller="dropdown"] { width: 36px; height: 36px; }
main.sz27-w12 .w12-track-add a.add-to-playlist { width: 36px; height: 36px; padding: 0; background-position: center; background-repeat: no-repeat; background-size: 22px; opacity: .85; }
main.sz27-w12 .w12-track-add a.add-to-playlist:hover { opacity: 1; }
main.sz27-w12 .w12-track-add .add-to-playlist-menu { right: 0; left: auto; }
main.sz27-w12 .w12-track-empty { margin: 0; padding: 24px 0 12px; border-top: 2px solid var(--accent); color: #b8b8bd; font-size: 15px; }
main.sz27-w12 .w12-login-note { margin: 12px 0 0; text-align: right; color: #8c8c8c; font: 400 13px/1.5 Lato, Arial, sans-serif; }

/* ---------- O albumie: opis z edytora (HTML) ---------- */
main.sz27-w12 #mp3-single .w12-about > p,
main.sz27-w12 #mp3-single .w12-description { font-size: 15px; color: #c4c4c4; line-height: 1.8; max-width: 760px; padding-left: 16px; border-left: 4px solid var(--accent); margin: 20px 0 26px; overflow-wrap: anywhere; }
main.sz27-w12 #mp3-single .w12-description > :first-child { margin-top: 0; }
main.sz27-w12 #mp3-single .w12-description > :last-child { margin-bottom: 0; }
main.sz27-w12 #mp3-single .w12-description p { margin: 0 0 12px; font-size: inherit; }
main.sz27-w12 #mp3-single .w12-description a { color: #fff; text-decoration: underline; }
main.sz27-w12 #mp3-single .w12-description img { max-width: 100%; height: auto; }
main.sz27-w12 #mp3-single .w12-description :is(ul, ol) { padding-left: 22px; margin: 0 0 12px; }
main.sz27-w12 #mp3-single .w12-facts { margin-top: 26px; }
main.sz27-w12 #mp3-single .w12-facts dd a:hover { color: var(--accent); }

/* ---------- Profil zespołu: drugi link ---------- */
main.sz27-w12 #mp3-single .w12-band a { margin-right: 22px; margin-top: 6px; }

/* ---------- Komentarze (front/_partials/comments.html.twig + commentForm) ---------- */
main.sz27-w12 #mp3-single .w12-comments { margin-top: 70px; border-top: 1px solid #3b3b3b; padding-top: 30px; }
main.sz27-w12 #mp3-single .w12-comments h2 { font: 400 clamp(37px, 4vw, 58px)/1.36 Anton, Impact, "Arial Narrow", sans-serif; letter-spacing: .06em; color: #f4f2ee; margin: 20px 0; }
main.sz27-w12 #mp3-single .w12-comments h2 span { color: var(--accent); }
main.sz27-w12 .w12-comments .container { max-width: 980px; width: 100%; margin: 0; padding: 0; border: 0; }
main.sz27-w12 .w12-comments .container + .container { margin-top: 24px; }
main.sz27-w12 .w12-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-w12 .w12-comments .container > div:last-child { margin-bottom: 0; }
main.sz27-w12 .w12-comments .font-anton { font-family: Anton, Impact, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #f4f2ee; }
main.sz27-w12 .w12-comments .font-anton a:hover { color: var(--accent); }
main.sz27-w12 .w12-comments .text-gray-500 { color: #999; }
main.sz27-w12 .w12-comments .container > div p { margin: 0; }
main.sz27-w12 .w12-comments .container > div .mb-4 { margin-bottom: 12px; }
main.sz27-w12 .w12-comments img { object-fit: cover; }
main.sz27-w12 .w12-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-w12 .w12-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-w12 .w12-comments textarea:focus { outline: none; border-color: var(--accent); }
main.sz27-w12 .w12-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-w12 .w12-comments .btn:hover { background: #b91f28; }
main.sz27-w12 .w12-comments .edit-comment-btn { background: transparent; border-color: #747474; min-height: 36px; padding: 8px 12px; }
main.sz27-w12 .w12-comments .text-red-500 { color: #f06c72; }

@media (max-width: 760px) {
    main.sz27-w12 .w12-player { padding-top: 14px; }
    main.sz27-w12 button.w12-player-play { width: 50px; height: 50px; }
    main.sz27-w12 .w12-player-tool { width: 38px; height: 38px; }
    main.sz27-w12 #mp3-single .w12-track-list li { gap: 10px; }
    main.sz27-w12 #mp3-single .w12-track-list strong { font-size: 16px; }
    main.sz27-w12 #mp3-single .w12-track-kind { display: none; }
    main.sz27-w12 #mp3-single .w12-comments { margin-top: 50px; }
    main.sz27-w12 .w12-comments .container > div { padding: 14px; }
    main.sz27-w12 .w12-login-note { text-align: left; }
}
@media (max-width: 400px) {
    main.sz27-w12 #mp3-single .w12-track-list li { gap: 7px; }
    main.sz27-w12 #mp3-single .w12-track.is-current { padding-left: 6px; }
    main.sz27-w12 .w12-track-play { width: 34px; height: 34px; }
    main.sz27-w12 #mp3-single .w12-track-list strong { font-size: 14.5px; }
    main.sz27-w12 .w12-track-hot button { width: 18px; height: 18px; background-size: 18px; padding: 6px 2px; }
    main.sz27-w12 .w12-track-add [data-controller="dropdown"],
    main.sz27-w12 .w12-track-add a.add-to-playlist { width: 30px; height: 34px; }
    main.sz27-w12 .w12-player-controls { gap: 8px; }
}
