.ls-vote-card {
    margin-top: 12px;
    padding: 14px;
    border-radius: 8px;
    background: #f7f8fa;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ls-vote-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #111827;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 10px;
}

.ls-vote-title i {
    color: var(--ls-primary);
    font-size: 18px;
    line-height: 22px;
}

.ls-vote-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ls-vote-option {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.ls-vote-option.is-selected {
    border-color: var(--ls-primary);
}

.ls-vote-card.is-voted .ls-vote-option {
    cursor: default;
}

.ls-vote-card.is-closed .ls-vote-option {
    cursor: default;
}

.ls-vote-card.is-locked .ls-vote-option {
    cursor: default;
}

.ls-vote-locked {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #64748b;
    background: rgba(148, 163, 184, 0.12);
}

.ls-vote-locked i {
    color: #94a3b8;
    font-size: 18px;
}

.ls-vote-option-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--ls-primary);
    opacity: 0.12;
    transition: width 0.2s ease;
}

.ls-vote-option.is-user-choice .ls-vote-option-bar {
    background: var(--ls-primary);
}

.ls-vote-check {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.ls-vote-check::before {
    content: '';
    position: absolute;
    inset: 1px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    box-sizing: border-box;
    background: #fff;
}

.ls-vote-option.is-selected .ls-vote-check::before {
    border-color: var(--ls-primary);
    background: var(--ls-primary);
}

.ls-vote-option.is-user-choice .ls-vote-check::before {
    border-color: var(--ls-primary);
    background: var(--ls-primary);
}

.ls-vote-option.is-selected .ls-vote-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 6px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.ls-vote-option.is-user-choice .ls-vote-check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 5px;
    width: 6px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.ls-vote-option-image {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f5;
    flex: 0 0 auto;
    cursor: pointer;
}

.ls-vote-option-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.ls-vote-option-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ls-vote-text {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.ls-vote-count {
    position: relative;
    z-index: 1;
    color: #6b7280;
    font-size: 12px;
    white-space: nowrap;
}

.ls-vote-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    color: #8a94a6;
    font-size: 13px;
}

.ls-vote-submit {
    border: 0;
    border-radius: 8px;
    padding: 7px 14px;
    background: var(--ls-primary);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

.ls-vote-submit:disabled {
    background: #d9dee8;
    color: #8a94a6;
    cursor: not-allowed;
}

.ls-post-item[data-type="vote"] .ls-post-footer {
    margin-top: 10px;
}

.ls-post-item[data-type="vote"] .ls-post-tags {
    margin-top: 10px;
}

.ls-post-item[data-type="vote"] .ls-post-footer-tags {
    margin-bottom: 10px;
}

.ls-vote-detail .ls-vote-card {
    margin-top: 16px;
}

.vd-page .ls-vote-card {
    margin-top: 16px;
}
