/* DraftEdge — Props Arbitrage Watch panel
 * Collapsible cross-book arbitrage alert strip on props pages.
 * Rendered by assets/js/props-arbitrage.js into #arbWatchPanel.
 */

.arb-watch {
    position: relative;
    background: var(--bg-darker);
    border-radius: 14px;
    overflow: hidden;
}

.arb-watch::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--primary-green);
}

.arb-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
}

.arb-toggle-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    white-space: nowrap;
}

.arb-toggle-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arb-count {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.arb-count.has-arbs {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.arb-chevron {
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.arb-watch.open .arb-chevron {
    transform: rotate(180deg);
}

.arb-body {
    display: none;
    padding: 0 20px 18px;
}

.arb-watch.open .arb-body {
    display: block;
}

.arb-disclaimer {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 6px;
}

.arb-disclaimer strong {
    color: var(--text-primary);
    font-weight: 600;
}

.arb-empty {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 10px;
}

/* One arb opportunity — section-flow rows with hairline dividers,
 * no per-row cards. */
.arb-row {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.arb-row-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.arb-player {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.arb-market {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.arb-profit {
    margin-left: auto;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.arb-legs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.arb-leg {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
}

.arb-leg-side {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    min-width: 44px;
}

.arb-leg-over .arb-leg-side { color: var(--success); }
.arb-leg-under .arb-leg-side { color: var(--danger); }

.arb-leg-price {
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.arb-leg-book {
    color: var(--text-secondary);
}

.arb-leg-stake {
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.arb-leg-time {
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.arb-return {
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.arb-return strong {
    color: var(--primary-green);
    font-weight: 700;
}

.arb-more {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
    padding: 10px 0 0;
}

.arb-footnote {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    margin: 14px 0 0;
}

@media (max-width: 767px) {
    .arb-legs {
        grid-template-columns: 1fr;
    }
    .arb-profit {
        margin-left: 0;
        width: 100%;
    }
}
