/* Página de indicados — estilo referência mobile */
.aff-page-body {
    background: #0a1628;
}

.aff-app {
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 88px;
}

.aff-app .page-wrap,
.aff-app .memecoin-header {
    display: none;
}

.aff-hero {
    background: linear-gradient(145deg, #1a6fd4 0%, #0d4a9e 45%, #0a2d6b 100%);
    padding: 14px 16px 20px;
    border-radius: 0 0 20px 20px;
    margin: 0 -1px;
}

.aff-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.aff-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #052e16;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45);
}

.aff-level-badge i {
    font-size: 16px;
}

.aff-rules-btn {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.aff-tier-bar {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.aff-tier-item {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    color: #0f172a;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.aff-tier-item:last-child {
    border-right: none;
}

.aff-tier-pct {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
}

.aff-tier-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.aff-hero-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.aff-hero-promo-text {
    flex: 1;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 12px;
    padding: 12px 14px;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.aff-hero-promo-text strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 2px;
}

.aff-hero-promo-art {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #86efac;
    font-size: 28px;
    flex-shrink: 0;
}

.aff-main {
    padding: 14px 14px 0;
}

.aff-stats-card {
    background: #111d33;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 14px;
}

.aff-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.aff-stat-label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.35;
    margin-bottom: 6px;
}

.aff-stat-val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
}

.aff-stat-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #f87171;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.aff-stat-full {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.aff-info {
    font-size: 11px;
    opacity: 0.65;
    vertical-align: middle;
}

.aff-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.aff-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
}

.aff-btn-copy {
    background: linear-gradient(180deg, #22c55e, #16a34a);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.aff-btn-share {
    background: linear-gradient(90deg, #f97316, #ef4444);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.aff-link-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.aff-table-card {
    background: #111d33;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px 12px 6px;
    margin-bottom: 18px;
}

.aff-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.aff-period-tabs {
    display: flex;
    gap: 6px;
}

.aff-period-tab {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
}

.aff-period-tab.active {
    background: #00aae4;
    color: #fff;
}

.aff-details-link {
    border: none;
    background: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
}

.aff-table-wrap {
    overflow-x: auto;
}

.aff-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.aff-table th {
    text-align: center;
    color: #64748b;
    font-weight: 600;
    padding: 8px 4px;
}

.aff-table th:first-child {
    text-align: left;
}

.aff-table td {
    text-align: center;
    padding: 10px 4px;
    color: #e2e8f0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.aff-table td:first-child {
    text-align: left;
    color: #94a3b8;
}

.aff-referrals-section {
    margin-bottom: 20px;
}

.aff-referrals-title {
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    margin: 0 0 10px;
}

.aff-referrals-list .movement-item {
    background: #111d33;
    border-radius: 10px;
    margin-bottom: 8px;
    padding: 12px;
}

.aff-referrals-list .empty-msg {
    color: #64748b;
    font-size: 13px;
}
