body {
    background: linear-gradient(135deg, #74ebd5, #9face6);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.model-result {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    text-align: center;
    background-color: #f8fafc;
    background-image: linear-gradient(135deg, rgba(248, 250, 252, 0.85), rgba(241, 245, 249, 0.9));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.model-result h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    color: #1f2937;
}

.model-result .sentiment {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.model-result .confidence {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    color: inherit;
}

.probability-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.probability-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    padding: 0.45rem 0.8rem;
    text-align: center;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    background-color: #e2e8f0;
}

.probability-value {
    font-size: 1.1rem;
    line-height: 1.1;
}

.model-result.positive {
    background-image: linear-gradient(135deg, rgba(222, 247, 236, 0.95), rgba(187, 247, 208, 0.9));
    border-color: #86efac;
}

.model-result.positive .sentiment {
    color: #047857;
}

.model-result.negative {
    background-image: linear-gradient(135deg, rgba(254, 228, 226, 0.95), rgba(254, 202, 202, 0.9));
    border-color: #fca5a5;
}

.model-result.negative .sentiment {
    color: #b91c1c;
}

.model-result.neutral {
    background-image: linear-gradient(135deg, rgba(254, 249, 195, 0.95), rgba(254, 240, 138, 0.9));
    border-color: #facc15;
}

.model-result.neutral .sentiment {
    color: #a16207;
}

.probability-definitely {
    background-color: #bbf7d0;
    border-color: #34d399;
    color: #065f46;
}

.probability-probably {
    background-color: #fde68a;
    border-color: #facc15;
    color: #854d0e;
}

.probability-maybe {
    background-color: #e0e7ff;
    border-color: #93c5fd;
    color: #1e3a8a;
}

.probability-unknown {
    background-color: #e2e8f0;
    border-color: #cbd5f5;
    color: #475569;
}

.result.error {
    background-color: #fee2e2;
    border: 1px solid #f87171;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    color: #7f1d1d;
}

.inference-meta {
    font-size: 0.85rem;
    color: #64748b;
    text-align: right;
}
