.track-voting * {
    box-sizing: border-box;
}

.track-voting .tv-header {
    position: sticky;
    top: 0;
    padding: 16px 0;
    z-index: 10;
}

.track-voting .tv-search-container {
    position: relative;
    margin-bottom: 16px;
}

.track-voting .tv-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.track-voting .tv-search {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: var(--color-white-widow);
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.track-voting .tv-search:focus {
    outline: none;
    border-color: var(--tv-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.track-voting .tv-search::placeholder {
    color: var(--tv-text-muted);
}

.track-voting .tv-selected-section {
    margin-bottom: 16px;
}

.track-voting .tv-selected-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--tv-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.track-voting .tv-selected-count {
    background: var(--tv-primary);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
}

.track-voting .tv-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 36px;
}

.track-voting .tv-selected-empty {
    color: var(--tv-text-muted);
    font-size: 14px;
    font-style: italic;
}

.track-voting .tv-selected-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-hoodie);
    color: white;
    padding: 6px 10px 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    animation: chipIn 0.2s ease;
}

@keyframes chipIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.track-voting .tv-chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
    max-width: 18px;
    min-width: 18px;
}

.track-voting .tv-chip-remove:hover {
    background: rgba(255, 255, 255, 0.35);
}

.track-voting .tv-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 8px;
}

.track-voting .tv-list-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-voting .tv-track-count {
    font-size: 13px;
}

.track-voting .tv-track-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.track-voting .tv-track-list::-webkit-scrollbar {
    width: 6px;
}

.track-voting .tv-track-list::-webkit-scrollbar-track {
    background: var(--tv-surface);
    border-radius: 3px;
}

.track-voting .tv-track-list::-webkit-scrollbar-thumb {
    background: var(--tv-border);
    border-radius: 3px;
}

.track-voting .tv-track-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--color-gorilla-glue);
    border-radius: 10px;
    margin-bottom: 6px;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer;
    color: var(--color-silver-haze);
}

.track-voting .tv-track-item:hover {
    opacity: 0.9;
}

.track-voting .tv-track-item.is-selected {
    background: var(--color-hoodie);
    border: 1px solid var(--tv-primary);
    color: var(--color-gorilla-glue);
}

.track-voting .tv-track-item.is-hidden {
    display: none;
}

.track-voting .tv-play-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--bg-light-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
    max-width: 36px;
    min-width: 36px;
    font-size: 15px !important;
}

.track-voting .tv-play-btn svg{
    min-width: 15px;
}

.track-voting .tv-play-btn:hover {
    /* background: var(--tv-primary-hover); */
    /* transform: scale(1.05); */
}

.track-voting .tv-play-btn.is-playing {
    /* background: var(--tv-success); */
}

.track-voting .tv-track-info {
    flex: 1;
    min-width: 0;
    color: inherit;
}

.track-voting .tv-track-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    color: inherit;
}

.track-voting .tv-track-artist {
    font-size: 13px;
    /* color: var(--tv-text-muted); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.track-voting .tv-checkbox-wrapper {
    flex-shrink: 0;
}

.track-voting .tv-checkbox {
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--color-day);
    border: transparent;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.track-voting .tv-checkbox:checked {
    background: transparent;
    border-color: transparent;
}

.track-voting .tv-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.track-voting .tv-checkbox:hover {
    border-color: var(--tv-primary);
}

.track-voting .tv-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--tv-text-muted);
}

.track-voting .tv-no-results-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.track-voting .tv-audio-player {
    display: none;
}

.track-voting .tv-progress-bar {
    height: 3px;
    background: var(--color-white-widow);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    display: none;
}

.track-voting .tv-track-item.is-playing .tv-progress-bar {
    display: block;
}

.track-voting .tv-progress-fill {
    height: 100%;
    background: var(--color-day);
    width: 0%;
    transition: width 0.1s linear;
}

.track-voting-modal{
    padding-top:0;
}
.track-voting-modal .ch-dialog-front{
    height:100%;
    max-height:none;
}

.track-voting .tv-footer {
    position: sticky;
    bottom: 0;
    padding: 16px 0;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.track-voting .tv-max-notice {
    color: var(--color-hoodie);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid var(--color-hoodie);
}

.track-voting .tv-confirm-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--color-hoodie);
    border: none;
    border-radius: 10px;
    color: var(--color-gorilla-glue);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, opacity 0.2s;
}

.track-voting .tv-confirm-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.track-voting .tv-confirm-btn:disabled {
    background: var(--color-silver-haze);
    cursor: not-allowed;
    opacity: 0.6;
}

html{
    background-color: #D6A082;
}

body{
    background-color: transparent;
}

.bg-voting-light{
    background-color: #EACFC0;
}

.voting-timmer{
    background-color: #EACFC0;
    color: var(--color-gorilla-glue);
    padding: 25px;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 500;
}

#voting-timer{
    margin-left:15px;
}

.voting-description{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    max-width: 600px;
    line-height: 30px;
}

.track-voting-steps i {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ── Scoreboard ─────────────────────────────────────────── */
.scoreboard {
    width: 100%;
    max-width: 760px;
    margin: 40px auto 0;
}

/* Podium */
.sb-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.sb-podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 33%;
}

.sb-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text, #555);
    margin-bottom: 4px;
}

.sb-cover {
    border-radius: 14px;
    overflow: hidden;
    background: #d9cfc4;
    flex-shrink: 0;
}
.sb-cover img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.sb-cover-placeholder {
    background: #d9cfc4;
    width: 100%;
    height: 100%;
}

/* Sizes: 1st biggest, 2nd/3rd smaller */
.sb-place-1 .sb-cover { width: 140px; height: 140px; }
.sb-place-2 .sb-cover,
.sb-place-3 .sb-cover { width: 110px; height: 110px; }

.sb-name {
    font-size: 13px;
    font-weight: 600;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-title {
    font-size: 11px;
    opacity: 0.7;
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-votes {
    font-size: 12px;
    opacity: 0.8;
}

/* List rows */
.sb-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.sb-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.45);
    border-radius: 12px;
    padding: 10px 16px;
}

.sb-list-pos {
    font-size: 13px;
    font-weight: 700;
    min-width: 22px;
    color: var(--color-text, #555);
}

.sb-list-cover {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #d9cfc4;
}

.sb-list-info {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sb-list-votes {
    font-size: 13px;
    white-space: nowrap;
    opacity: 0.85;
}

.sb-empty {
    text-align: center;
    opacity: 0.6;
    padding: 24px 0;
}

@media (max-width: 600px) {
    .sb-place-1 .sb-cover { width: 100px; height: 100px; }
    .sb-place-2 .sb-cover,
    .sb-place-3 .sb-cover { width: 80px; height: 80px; }
    .sb-list-info { font-size: 12px; }
}

.col{
    max-width: 1200px;
}

.voting-timmer *{
    font-family: 'Rauschen';
}