/* SnapEX Games — «Share and earn» (player → player referral program, owner 20.11). */
.inv { display: grid; gap: 16px; max-width: 860px; padding-top: 28px; padding-bottom: 48px; }
.inv-head h1 { margin: 6px 0 10px; font-size: clamp(22px, 3.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.inv-head p { margin: 0; color: #475569; font-size: 15px; line-height: 1.55; }
.inv-kicker { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--cas-accent-soft); color: #065f46; font-weight: 700; font-size: 13px; }
.inv-card { padding: 18px 20px; border: 1px solid var(--cas-border); border-radius: var(--cas-radius-lg); background: var(--cas-surface); box-shadow: var(--cas-shadow); }
.inv-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.inv-link { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; color: #475569; font-weight: 600; }
.inv-link__row { display: flex; gap: 8px; }
.inv-link__input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--cas-border-strong); border-radius: var(--cas-radius-sm); background: #f8fafc; color: var(--cas-text); font: 500 14px var(--cas-mono); }
.inv-link__copy { flex: none; }
.inv .cas-btn--primary, .inv .cas-btn--primary:hover { color: #fff; font-weight: 700; }
.inv-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; }
.inv-stats div { padding: 12px; border-radius: var(--cas-radius); background: #f8fafc; }
.inv-stats dt { color: #475569; font-size: 12px; font-weight: 600; }
.inv-stats dd { margin: 4px 0 0; font: 700 18px var(--cas-mono); color: var(--cas-text); }
.inv-status { font-size: 12px; font-weight: 700; }
.inv-status.is-agent { padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; }
.inv-note, .inv-muted { margin: 10px 0 0; color: #475569; font-size: 14px; line-height: 1.5; }
.inv-good { margin: 0; color: #047857; font-weight: 700; }
.inv-bar { height: 12px; margin-top: 12px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.inv-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #10b981, #047857); }
.inv-bar__label { margin: 6px 0 0; font: 700 13px var(--cas-mono); color: #047857; }
.inv-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 12px; }
.inv-apply .inv-muted { margin: 0; flex-basis: 100%; }
.inv-how { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #334155; font-size: 14px; line-height: 1.55; }
.inv-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.inv-guest p { margin: 0; font-weight: 600; }
.inv-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.inv-tab { padding: 6px 14px; border: 1px solid var(--cas-border-strong); border-radius: 999px; background: #fff; color: #334155; font-weight: 600; cursor: pointer; }
.inv-tab.is-active { border-color: #047857; background: #047857; color: #fff; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inv-table th { padding: 8px 6px; border-bottom: 1px solid var(--cas-border-strong); color: #475569; font-size: 12px; text-align: left; }
.inv-table td { padding: 9px 6px; border-bottom: 1px solid var(--cas-border); }
.inv-table td:first-child, .inv-table th:first-child { width: 36px; }
.inv-table td:last-child, .inv-table th:last-child { text-align: right; font-family: var(--cas-mono); font-weight: 700; }
@media (max-width: 720px) {
    .inv { padding-top: 18px; }
    .inv-card { padding: 14px; }
    .inv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inv-stats div:last-child { grid-column: span 2; }
    .inv-link__row { flex-direction: column; }
}
