.difficulty-vote-section {
    margin-top: 32px;
    background: var(--light-color);
    border-radius: 14px;
    box-shadow: 0 2px 12px var(--shadow-color);
    padding: 24px 18px 18px 18px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.difficulty-vote-section h4 {
    font-size: 1.08em;
    color: var(--primary-color);
    margin-bottom: 14px;
    font-weight: 600;
}
.difficulty-vote-buttons {
    display: flex;
    justify-content: center;
    gap: 32px;
}
.difficulty-vote-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.difficulty-vote-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.difficulty-vote-icon {
    font-size: 1.5em;
    line-height: 1;
}
.difficulty-vote-label {
    margin-top: 6px;
    font-size: 1em;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}
.difficulty-vote-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    font-size: 1.05em;
    font-weight: 600;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.difficulty-vote-btn[data-value="easy"] {
    border-color: #4caf50;
    color: #4caf50;
}
.difficulty-vote-btn[data-value="medium"] {
    border-color: #ff9800;
    color: #ff9800;
}
.difficulty-vote-btn[data-value="hard"] {
    border-color: #f44336;
    color: #f44336;
}
.difficulty-vote-btn.active[data-value="easy"], .difficulty-vote-btn[data-value="easy"]:hover {
    background: #e8f5e9;
    color: #388e3c;
    border-color: #388e3c;
    box-shadow: 0 4px 16px #4caf5040;
}
.difficulty-vote-btn.active[data-value="medium"], .difficulty-vote-btn[data-value="medium"]:hover {
    background: #fff3e0;
    color: #ef6c00;
    border-color: #ef6c00;
    box-shadow: 0 4px 16px #ff980040;
}
.difficulty-vote-btn.active[data-value="hard"], .difficulty-vote-btn[data-value="hard"]:hover {
    background: #ffebee;
    color: #c62828;
    border-color: #c62828;
    box-shadow: 0 4px 16px #f4433640;
}
#difficulty-vote-result {
    min-height: 22px;
    margin-bottom: 8px;
    font-size: 0.98em;
    color: var(--primary-color);
    font-weight: 500;
}
.difficulty-vote-stats {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
    font-size: 0.98em;
    align-items: stretch;
}
.difficulty-vote-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}
.difficulty-vote-bar-label {
    min-width: 60px;
    font-weight: 500;
    font-size: 0.97em;
}
.difficulty-vote-bar-track {
    flex: 1;
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.difficulty-vote-bar-fill.easy {
    background: #4caf50;
}
.difficulty-vote-bar-fill.medium {
    background: #ff9800;
}
.difficulty-vote-bar-fill.hard {
    background: #f44336;
}
.difficulty-vote-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.4s cubic-bezier(.4,2,.6,1);
}
.difficulty-vote-bar-value {
    min-width: 32px;
    text-align: right;
    font-size: 0.97em;
    font-weight: 500;
}

@media (max-width: 700px) {
    .difficulty-vote-section {
        padding: 12px 2px 10px 2px;
        max-width: 100%;
    }
    .difficulty-vote-buttons {
        gap: 8px;
    }
    .difficulty-vote-btn {
        width: 38px;
        height: 38px;
        font-size: 0.98em;
    }
} 