/* Файл: assets/css/track-view.css (Фикс data-locked в карточке) */

.track-card-page { padding-top: 2rem; padding-bottom: 50px; }

.media-controls {
    align-items: center; background: #1a1a2e; border: 1px solid #f6ff4b; border-radius: 24px;
    display: flex; flex-direction: column; justify-content: center; margin: 0 auto 40px auto;
    max-width: 500px; padding: 30px; position: relative; width: 95%; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.media-controls:after {
    border-radius: 24px; box-shadow: 0 2px 2px rgba(255, 107, 0, 0.25), 0 4px 4px rgba(255, 107, 0, 0.2), 0 8px 8px rgba(255, 107, 0, 0.15), 0 16px 16px rgba(255, 107, 0, 0.1), 0 24px 24px rgba(255, 107, 0, 0.05);
    content: ''; height: 100%; left: 0; mix-blend-mode: multiply; position: absolute; top: 0; width: 100%; z-index: -1;
}

.player-track-info { text-align: center; margin-bottom: 20px; }
.player-track-title { font-size: 1.8rem; font-weight: bold; color: #fff; margin-bottom: 5px; }
.player-track-author { font-size: 1.1rem; color: #888; }
.player-track-author a { color: #18fbfd; text-decoration: none; }

.media-buttons { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 25px; }
.media-button { background: none; border: none; cursor: pointer; transition: transform 0.2s; display: flex; flex-direction: column; align-items: center; }
.media-button:hover { transform: scale(1.1); }
.button-icons {
    background-color: #93e2ff; border-radius: 100%; padding: 12px; font-size: 14px; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center; color: #1a1a2e; transition: all 0.3s ease;
}
.play-button .button-icons {
    background: linear-gradient(to bottom left, #ffffff, #fff8e7); border: 1px solid #fff3eb;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4); color: #f26600; width: 65px; height: 65px; font-size: 22px;
}

.media-progress { width: 100%; margin-bottom: 20px; }
.progress-bar-wrapper {
    height: 10px; border-radius: 12px; position: relative; width: 100%; cursor: pointer; background: #111;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5); overflow: hidden;
}
.local-progress-bar { background: linear-gradient(to right, #fdd25f, #ff6b00); border-radius: 12px; height: 100%; width: 0%; }
.time-display { display: flex; justify-content: space-between; font-size: 12px; color: #a3f6ff; margin-top: 8px; }

.media-extra-controls { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 10px; }
.volume-group { display: flex; align-items: center; gap: 8px; flex: 1; color: #93e2ff; }
.local-volume-slider { width: 80px; accent-color: #93e2ff; cursor: pointer; }

.player-actions-group { display: flex; align-items: center; gap: 15px; }
.vote-control-local { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: bold; }

/* НОВЫЙ СТИЛЬ КНОПКИ ЛАЙКА */
.vote-button-local { background: none; border: none; color: #888; font-size: 24px; cursor: pointer; transition: 0.2s; }
.vote-button-local[data-locked="true"] { opacity: 0.5; }
.vote-button-local:not([data-locked="true"]):hover { color: #ff7b7b; transform: scale(1.1); }
.vote-button-local.voted i { color: #ff4d4d; text-shadow: 0 0 10px rgba(255, 77, 77, 0.5); opacity: 1; }

.download-button-local { color: #93e2ff; font-size: 22px; text-decoration: none; }

.track-card-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.track-card-box { background-color: #1a1a2e; padding: 20px; margin-bottom: 25px; border-radius: 8px; border-left: 2px solid #ffc107; border-right: 2px solid #ffc107; }
.track-card-box h3 { margin-top: 0; margin-bottom: 20px; color: #eee; font-size: 1.1rem; border-bottom: 1px solid #282845; padding-bottom: 10px; }
.track-cover-art img { width: 100%; border-radius: 8px; border: 1px solid #333; margin-bottom: 15px; }
.track-stats-list { list-style: none; padding: 0; margin: 0; }
.track-stats-list li { padding: 10px 0; border-bottom: 1px solid #222; font-size: 0.95rem; color: #aaa; }
.track-stats-list strong { color: #fff; }
.share-buttons { display: flex; justify-content: center; gap: 12px; }
.share-btn { font-size: 1.4rem; color: #aaa; transition: 0.2s; }
.share-btn:hover { color: var(--accent-color); transform: translateY(-2px); }

.form-group-row { margin-bottom: 18px; }
.form-group-row label { display: block; color: #888; font-size: 0.9rem; margin-bottom: 6px; font-weight: bold; }
.field-display { color: #fff; font-size: 1rem; background: rgba(0,0,0,0.2); padding: 8px; border-radius: 4px; }
.track-card-input { width: 100%; background: #0f0f1a; border: 1px solid #334; border-radius: 4px; color: #fff; padding: 12px; font-size: 0.95rem; outline: none; }
.track-card-input:focus { border-color: var(--accent-color); }
.lyrics-display-area { width: 100%; background: #0f0f1a; border: 1px solid #334; border-radius: 4px; color: #ddd; padding: 15px; min-height: 250px; line-height: 1.7; white-space: pre-wrap; }

.comments-container { margin-top: 15px; }
.comment-item { padding: 15px 0; border-bottom: 1px solid #282845; }
.comment-item:last-child { border-bottom: none; }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid #444; }
.comment-author strong { color: #bb86fc; }
.comment-text { color: #eee; font-size: 0.95rem; line-height: 1.5; padding-left: 46px; }

@media (max-width: 850px) {
    .track-card-grid { grid-template-columns: 1fr; }
    .track-card-left { max-width: 450px; margin: 0 auto; }
    .comment-text { padding-left: 0; margin-top: 10px; }
}
