/* Wager badge popover — profile-like card (fixed to viewport) */

.wager-badge-popover {
    position: fixed;
    z-index: 100001;
    min-width: 280px;
    max-width: min(360px, calc(100vw - 24px));
    pointer-events: auto;
}

.wager-badge-popover[hidden] {
    display: none !important;
}

.wager-badge-popover-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(13, 28, 46, 0.96), rgba(8, 18, 31, 0.94));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.wager-badge-popover-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(59, 130, 246, 0.12);
    color: #ffe08a;
}

.wager-badge-popover-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wager-badge-popover-label {
    color: rgba(226, 232, 240, 0.72);
    font-size: 13px;
    margin-bottom: 4px;
}

.wager-badge-popover-text {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.wager-badge-popover-percent {
    margin-top: 6px;
    color: rgba(226, 232, 240, 0.65);
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.host-wager-badge.is-visible,
.ft-embed-wager-badge.is-visible {
    pointer-events: auto !important;
    cursor: pointer;
}

.host-wager-badge:focus-visible,
.ft-embed-wager-badge:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.85);
    outline-offset: 2px;
}
