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

.ls-vote-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: var(--ls-primary);
    color: #fff;
    font-size: 16px;
    line-height: 28px;
    flex: 0 0 auto;
}

.ls-vote-title span {
    min-width: 0;
}

.ls-vote-mode {
    color: #111827;
    font-style: normal;
    white-space: nowrap;
    flex: 0 0 auto;
}

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

.ls-vote-option {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px 0 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.ls-vote-card {
    border-radius: 8px;
    background: #f7f8fa;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 12px;
}
.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-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 {
    order: 5;
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    margin-left: auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ls-vote-check::before {
    content: '';
    position: absolute;
    inset: 1px;
    border: 1px solid #d1d5db;
    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: '';
    width: 10px;
    height: 7px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: -2px;
}

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

.ls-vote-option-image {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    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 {
    order: 1;
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    color: #111827;
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}

.ls-vote-text:empty {
    display: none;
}

.ls-vote-count {
    order: 4;
    position: relative;
    z-index: 1;
    margin-left: auto;
    color: #8a94a6;
    font-size: 12px;
    white-space: nowrap;
}

.ls-vote-card.is-voted .ls-vote-option.is-user-choice .ls-vote-text {
    color: var(--ls-primary);
    background: var(--ls-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ls-vote-card.is-voted .ls-vote-option.is-user-choice .ls-vote-count {
    color: var(--ls-primary);
    background: var(--ls-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ls-vote-footer {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
    margin-top: 16px;
    color: #9ca3af;
    font-size: 13px;
    line-height: 1.45;
}

.ls-vote-footer span {
    display: block;
    width: 100%;
}

.ls-vote-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--ls-primary);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    touch-action: manipulation;
}

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

.ls-vote-submit:active {
    opacity: 0.82;
}

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

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

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

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

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