.cotw-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 800px;
    margin: 2rem auto;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.cotw-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 1.5rem 2rem 1.2rem;
    border-bottom: 2px solid #gold;
    border-bottom: 2px solid #c9a84c;
}

.cotw-title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #c9a84c;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.cotw-subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #888;
    letter-spacing: 0.3px;
}

.cotw-list {
    padding: 1rem 0;
}

.cotw-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    border-bottom: 1px solid #1e1e1e;
    gap: 1rem;
    transition: background 0.15s ease;
}

.cotw-item:last-child {
    border-bottom: none;
}

.cotw-item:hover {
    background: #161616;
}

.cotw-item.cotw-voted {
    background: #141a0f;
}

.cotw-item-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.cotw-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.cotw-badge-10  { background: #1a3a5c; color: #5ab4ff; }
.cotw-badge-20  { background: #2a1a3a; color: #c084fc; }
.cotw-badge-25  { background: #3a2a0a; color: #f59e0b; }
.cotw-badge-30  { background: #3a0a0a; color: #f87171; }

.cotw-type-icon {
    font-size: 1rem;
}

.cotw-artist {
    font-weight: 700;
    color: #f0f0f0;
}

.cotw-separator {
    color: #444;
}

.cotw-track {
    color: #ccc;
}

.cotw-meta {
    font-size: 0.75rem;
    color: #555;
    width: 100%;
    margin-top: 0.1rem;
    padding-left: 0.2rem;
}

.cotw-item-vote {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    min-width: 100px;
    justify-content: flex-end;
}

.cotw-vote-count {
    font-size: 1.1rem;
    font-weight: 800;
    color: #c9a84c;
    min-width: 24px;
    text-align: right;
}

.cotw-vote-label {
    font-size: 0.72rem;
    color: #555;
    min-width: 28px;
}

.cotw-vote-btn {
    background: #c9a84c;
    color: #000;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s ease, transform 0.1s ease;
}

.cotw-vote-btn:hover {
    background: #e0be6a;
    transform: translateY(-1px);
}

.cotw-vote-btn:active {
    transform: translateY(0);
}

.cotw-vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cotw-your-vote {
    font-size: 0.75rem;
    color: #6abf6a;
    font-weight: 700;
}

.cotw-empty {
    padding: 2rem;
    text-align: center;
    color: #555;
    font-style: italic;
}

.cotw-footer {
    text-align: center;
    font-size: 0.72rem;
    color: #444;
    padding: 0.8rem 1.5rem 1.2rem;
    border-top: 1px solid #1e1e1e;
    margin: 0;
}

@media (max-width: 600px) {
    .cotw-wrapper {
        border-radius: 0;
        margin: 0;
    }
    .cotw-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .cotw-item-vote {
        width: 100%;
        justify-content: flex-start;
    }
    .cotw-header {
        padding: 1.2rem 1.2rem 1rem;
    }
    .cotw-title {
        font-size: 1.2rem;
    }
}
