/* public referral program page /{locale}/referral (2026-11-30) */
.rfs-flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.rfs-flow::before { content: ""; position: absolute; left: 10%; right: 10%; top: 34px; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(47,168,159,.7) 0 8px, transparent 8px 16px); }
.rfs-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 4px; }
.rfs-flow__icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #2fa89f;
    background: radial-gradient(circle at 35% 30%, rgba(47,168,159,.35), rgba(16,99,94,.55) 60%, #0b1222); border: 1px solid rgba(47,168,159,.55);
    box-shadow: 0 0 0 6px rgba(47,168,159,.07), 0 10px 30px rgba(16,99,94,.35); margin-bottom: 6px; }
.rfs-flow li.is-you .rfs-flow__icon { color: #0b1222; background: radial-gradient(circle at 35% 30%, #7fe3d8, #2fa89f 55%, #10635e); box-shadow: 0 0 0 8px rgba(47,168,159,.14), 0 0 40px rgba(47,168,159,.55); }
.rfs-flow b { font-size: 15px; color: var(--ld-ink); }
.rfs-flow small { font-size: 13px; color: var(--ld-muted); line-height: 1.45; opacity: .85; }
.rfs-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rfs-ex { margin: 0; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--ld-line); background: rgba(15, 26, 46, .78); }
.rfs-ex figcaption { font-size: 13px; color: var(--ld-muted); margin-bottom: 14px; }
.rfs-ex figcaption b { display: block; font-size: 26px; color: var(--ld-ink); letter-spacing: -.02em; margin-top: 2px; }
.rfs-bars { display: grid; gap: 12px; }
.rfs-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.rfs-bar span { font-size: 12px; color: var(--ld-muted); }
.rfs-bar em { font-style: normal; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.rfs-bar i { grid-column: 1 / -1; display: block; height: 10px; border-radius: 999px; background: rgba(128,145,178,.14); position: relative; overflow: hidden; }
.rfs-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; }
.rfs-bar--profit i::after { background: linear-gradient(90deg, #1b8a7f, #20b88c); }
.rfs-bar--fee i::after { background: linear-gradient(90deg, #8a6a2a, #d9a441); }
.rfs-bar--you i::after { background: linear-gradient(90deg, #10635e, #7fe3d8); box-shadow: 0 0 12px rgba(47,168,159,.8); }
.rfs-bar--you em { color: #7fe3d8; }
.rfs-note { margin: 18px 0 0; font-size: 14px; color: var(--ld-muted); }
.rfs-note i { color: #2fa89f; margin-right: 4px; }
@media (max-width: 991px) {
    .rfs-flow { grid-template-columns: 1fr; gap: 12px; }
    .rfs-flow::before { left: 33px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto;
        background: repeating-linear-gradient(180deg, rgba(47,168,159,.7) 0 8px, transparent 8px 16px); }
    .rfs-flow li { display: grid; grid-template-columns: 68px 1fr; grid-template-rows: auto auto; text-align: left; align-items: center; column-gap: 14px; row-gap: 2px; padding: 0; }
    .rfs-flow__icon { grid-row: 1 / 3; margin: 0; }
    .rfs-flow b { align-self: end; }
    .rfs-flow small { align-self: start; }
    .rfs-examples { grid-template-columns: 1fr; }
}
