.xip-poll {
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.xip-poll-title {
    margin-bottom: 0.75rem;
}

.xip-message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    background: #f0f4f8;
    margin-bottom: 1rem;
}

.xip-message.xip-error {
    background: #fde8e8;
}

.xip-message.xip-closed {
    background: #fff3cd;
}

.xip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.xip-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.xip-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.xip-label {
    font-weight: 600;
    margin: 0.5rem 0 0.25rem;
}

.xip-votes-count {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.25rem 0 0.75rem;
}

.xip-vote-btn {
    cursor: pointer;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

.xip-vote-btn:hover {
    background: #1d4ed8;
}

.xip-vote-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.xip-vote-feedback {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.35rem;
    min-height: 1.2em;
    color: #059669;
}

.xip-vote-feedback.is-error {
    color: #dc2626;
}
