    :root {
      --navy: #001440;
      --blue: #0047AB;
      --teal: #00C9B1;
      --teal-dim: rgba(0, 201, 177, .12);
      --teal-border: rgba(0, 201, 177, .28);
      --gold: #FFB800;
      --gold-dim: rgba(255, 184, 0, .12);
      --red: #FF3B3B;
      --green: #10B981;
      --surface: rgba(255, 255, 255, .07);
      --surface-2: rgba(255, 255, 255, .11);
      --border: rgba(255, 255, 255, .10);
      --border-2: rgba(255, 255, 255, .16);
      --text: #ffffff;
      --text-2: rgba(255, 255, 255, .72);
      --text-muted: rgba(255, 255, 255, .40);
      --shadow: 0 12px 40px rgba(0, 0, 0, .45);
      --r: 16px;
      --r-lg: 22px;
      --r-xl: 28px;
    }

    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'DM Sans', -apple-system, sans-serif;
      background: var(--navy);
      min-height: 100vh;
      color: var(--text);
      overflow-x: hidden;
      padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(ellipse 80% 50% at 50% -5%, rgba(0, 71, 171, .60) 0%, transparent 65%),
        radial-gradient(ellipse 40% 30% at 88% 55%, rgba(0, 201, 177, .08) 0%, transparent 55%),
        radial-gradient(ellipse 35% 25% at 8% 80%, rgba(0, 71, 171, .10) 0%, transparent 55%),
        linear-gradient(180deg, #001440 0%, #00091F 100%);
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
      opacity: .022;
    }

    /* ================================================================
   ÍCONES SVG
   ================================================================ */
    .svg-icon {
      width: 20px;
      height: 20px;
      display: block;
      object-fit: contain;
    }

    /* Filtros de cor por contexto */
    .icon-white {
      filter: brightness(0) invert(1);
    }

    .icon-muted {
      filter: brightness(0) invert(1);
      opacity: .45;
    }

    .icon-teal {
      filter: invert(71%) sepia(52%) saturate(500%) hue-rotate(130deg) brightness(100%) contrast(101%);
    }

    .icon-gold {
      filter: invert(75%) sepia(80%) saturate(600%) hue-rotate(5deg) brightness(105%);
    }

    .icon-red {
      filter: invert(35%) sepia(90%) saturate(600%) hue-rotate(330deg) brightness(110%);
    }

    .icon-dark {
      filter: brightness(0);
    }

    .icon-nivel {
      filter: brightness(0) invert(1);
    }

    /* ================================================================
   HEADER
   ================================================================ */
    .header {
      position: sticky;
      top: 0;
      z-index: 400;
      height: 58px;
      background: rgba(0, 15, 45, .94);
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      border-bottom: 1px solid var(--border);
      padding: 0 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 2px 20px rgba(0, 0, 0, .35);
    }

    .header-title {
      font-family: 'Syne', sans-serif;
      font-size: 17px;
      font-weight: 800;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .hdr-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      text-decoration: none;
      color: white;
      cursor: pointer;
      transition: all .18s;
      position: relative;
    }

    .hdr-btn:hover {
      background: var(--surface-2);
    }

    .hdr-dot {
      position: absolute;
      top: -2px;
      right: -2px;
      width: 10px;
      height: 10px;
      background: var(--red);
      border-radius: 50%;
      border: 2px solid var(--navy);
    }

    /* ================================================================
   HERO DO PERFIL
   ================================================================ */
    .profile-hero {
      position: relative;
      overflow: hidden;
      padding: 36px 20px 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .profile-hero::before {
      content: '';
      position: absolute;
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 320px;
      height: 320px;
      background: radial-gradient(circle, rgba(0, 71, 171, .40) 0%, transparent 68%);
      border-radius: 50%;
      pointer-events: none;
    }

    .avatar-wrap {
      position: relative;
      width: 100px;
      height: 100px;
      margin-bottom: 18px;
    }

    .avatar-ring {
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      background: conic-gradient(var(--teal) 0deg, rgba(0, 201, 177, .15) 200deg, var(--teal) 360deg);
      animation: spin 8s linear infinite;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .avatar-body {
      position: absolute;
      inset: 4px;
      border-radius: 50%;
      overflow: hidden;
      z-index: 1;
      background: linear-gradient(135deg, #0052CC, #002B80);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Syne', sans-serif;
      font-size: 30px;
      font-weight: 800;
      color: white;
    }

    .avatar-body img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .avatar-cam {
      position: absolute;
      bottom: 0;
      right: 0;
      z-index: 2;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--teal);
      border: 3px solid var(--navy);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform .2s;
    }

    .avatar-cam:hover {
      transform: scale(1.15);
    }

    .avatar-cam .svg-icon {
      width: 14px;
      height: 14px;
      filter: brightness(0);
    }

    .profile-name {
      font-family: 'Syne', sans-serif;
      font-size: 23px;
      font-weight: 800;
      margin-bottom: 4px;
      line-height: 1.2;
    }

    .profile-email {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 14px;
    }

    .member-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--surface);
      border: 1px solid var(--border-2);
      padding: 5px 14px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-2);
      margin-bottom: 20px;
    }

    .member-badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--teal);
      animation: blink 2s ease-in-out infinite;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: .3;
      }
    }

    /* ================================================================
   NÍVEL / PROGRESSO
   ================================================================ */
    .nivel-card {
      width: 100%;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      padding: 16px 18px;
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .nivel-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .nivel-icon .svg-icon {
      width: 28px;
      height: 28px;
    }

    .nivel-info {
      flex: 1;
      min-width: 0;
    }

    .nivel-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .nivel-nome {
      font-size: 14px;
      font-weight: 700;
    }

    .nivel-pts {
      font-size: 12px;
      color: var(--text-muted);
    }

    .nivel-bar {
      height: 6px;
      background: rgba(255, 255, 255, .10);
      border-radius: 3px;
      overflow: hidden;
    }

    .nivel-fill {
      height: 100%;
      border-radius: 3px;
      transition: width 1s cubic-bezier(.4, 0, .2, 1);
    }

    /* ================================================================
   CARTEIRA + PONTOS
   ================================================================ */
    .wallet-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      padding: 14px 18px 0;
    }

    .wallet-card {
      border-radius: var(--r-lg);
      padding: 18px 16px;
      display: flex;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      transition: transform .2s, box-shadow .2s;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--border);
    }

    .wallet-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .wc-blue {
      background: linear-gradient(135deg, #0055D4 0%, #002B80 100%);
    }

    .wc-green {
      background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
    }

    .wc-glow {
      position: absolute;
      top: -24px;
      right: -24px;
      width: 88px;
      height: 88px;
      border-radius: 50%;
      pointer-events: none;
    }

    .wc-blue .wc-glow {
      background: radial-gradient(circle, rgba(0, 201, 177, .28) 0%, transparent 70%);
    }

    .wc-green .wc-glow {
      background: radial-gradient(circle, rgba(255, 184, 0, .22) 0%, transparent 70%);
    }

    .wc-icon {
      display: flex;
      align-items: center;
    }

    .wc-icon .svg-icon {
      width: 22px;
      height: 22px;
      filter: brightness(0) invert(1);
      opacity: .85;
    }

    .wc-val {
      font-family: 'Syne', sans-serif;
      font-size: 20px;
      font-weight: 800;
      line-height: 1;
    }

    .wc-blue .wc-val {
      color: var(--teal);
    }

    .wc-green .wc-val {
      color: var(--gold);
    }

    .wc-lbl {
      font-size: 10px;
      color: var(--text-muted);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .05em;
    }

    /* ================================================================
   STATS GRID
   ================================================================ */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      padding: 12px 18px;
    }

    .stat-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 13px 8px;
      text-align: center;
      cursor: pointer;
      transition: all .18s;
      text-decoration: none;
      color: inherit;
      display: block;
    }

    .stat-box:hover {
      background: var(--surface-2);
      transform: translateY(-2px);
    }

    .sb-val {
      font-family: 'Syne', sans-serif;
      font-size: 20px;
      font-weight: 800;
      color: white;
      line-height: 1;
    }

    .sb-lbl {
      font-size: 10px;
      color: var(--text-muted);
      font-weight: 600;
      margin-top: 3px;
      text-transform: uppercase;
      letter-spacing: .03em;
    }

    /* ================================================================
   BANNER CONVIDA AMIGOS
   ================================================================ */
    .invite-banner {
      margin: 14px 18px 0;
      background: linear-gradient(135deg, #003D66 0%, #005A99 45%, #00C9B1 100%);
      border-radius: var(--r-xl);
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      cursor: pointer;
      transition: all .2s;
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 28px rgba(0, 201, 177, .22);
      border: 1px solid rgba(0, 201, 177, .30);
    }

    .invite-banner:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 36px rgba(0, 201, 177, .35);
    }

    .invite-banner::before {
      content: '';
      position: absolute;
      top: -28px;
      right: -28px;
      width: 110px;
      height: 110px;
      background: rgba(255, 255, 255, .08);
      border-radius: 50%;
      pointer-events: none;
    }

    .invite-banner::after {
      content: '';
      position: absolute;
      bottom: -40px;
      left: 20px;
      width: 80px;
      height: 80px;
      background: rgba(0, 0, 0, .06);
      border-radius: 50%;
      pointer-events: none;
    }

    .ib-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .ib-icon .svg-icon {
      width: 38px;
      height: 38px;
      filter: brightness(0) invert(1);
    }

    .ib-body {
      flex: 1;
      position: relative;
      z-index: 1;
    }

    .ib-title {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 800;
      color: #ffffff;
      line-height: 1.1;
    }

    .ib-sub {
      font-size: 12px;
      color: rgba(255, 255, 255, .65);
      margin-top: 3px;
    }

    .ib-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255, 255, 255, .18);
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 50px;
      margin-top: 5px;
    }

    .ib-badge .svg-icon {
      width: 10px;
      height: 10px;
      filter: brightness(0) invert(1);
    }

    .ib-arr {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      z-index: 1;
    }

    .ib-arr .svg-icon {
      width: 20px;
      height: 20px;
      filter: brightness(0) invert(1);
      opacity: .6;
    }

    /* Modal de convite */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 800;
      background: rgba(0, 0, 0, .72);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: flex-end;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity .25s;
    }

    .modal-overlay.open {
      opacity: 1;
      pointer-events: all;
    }

    .modal-sheet {
      width: 100%;
      max-width: 480px;
      background: #001A50;
      border: 1px solid var(--border-2);
      border-radius: 28px 28px 0 0;
      padding: 24px 22px 32px;
      transform: translateY(100%);
      transition: transform .35s cubic-bezier(.32, 1, .32, 1);
    }

    .modal-overlay.open .modal-sheet {
      transform: translateY(0);
    }

    .modal-handle {
      width: 40px;
      height: 4px;
      background: rgba(255, 255, 255, .2);
      border-radius: 2px;
      margin: 0 auto 20px;
    }

    .modal-title {
      font-family: 'Syne', sans-serif;
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .modal-title .svg-icon {
      width: 22px;
      height: 22px;
      filter: brightness(0) invert(1);
    }

    .modal-sub {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
      line-height: 1.5;
    }

    .invite-pts-row {
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--teal-dim);
      border: 1px solid var(--teal-border);
      border-radius: 14px;
      padding: 14px 16px;
      margin-bottom: 20px;
    }

    .invite-pts-row .pts-icon {
      display: flex;
      align-items: center;
    }

    .invite-pts-row .pts-icon .svg-icon {
      width: 28px;
      height: 28px;
      filter: invert(71%) sepia(52%) saturate(500%) hue-rotate(130deg) brightness(100%) contrast(101%);
    }

    .invite-pts-row .pts-text {
      flex: 1;
    }

    .invite-pts-row .pts-val {
      font-family: 'Syne', sans-serif;
      font-size: 18px;
      font-weight: 800;
      color: var(--teal);
    }

    .invite-pts-row .pts-lbl {
      font-size: 12px;
      color: var(--text-muted);
    }

    .invite-pts-row .pts-total {
      font-size: 11px;
      color: var(--text-muted);
      text-align: right;
    }

    .invite-pts-row .pts-total strong {
      color: var(--gold);
      display: block;
      font-size: 15px;
    }

    .link-box {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .06);
      border: 1px solid var(--border-2);
      border-radius: 14px;
      padding: 12px 14px;
      margin-bottom: 16px;
      min-height: 50px;
    }

    .link-box-text {
      flex: 1;
      font-size: 12px;
      color: var(--text-2);
      word-break: break-all;
      font-family: monospace;
      min-height: 18px;
    }

    .link-box-copy {
      flex-shrink: 0;
      background: var(--teal);
      color: #001440;
      border: none;
      font-weight: 800;
      font-size: 12px;
      padding: 7px 14px;
      border-radius: 9px;
      cursor: pointer;
      transition: filter .18s;
      font-family: 'DM Sans', sans-serif;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .link-box-copy:hover {
      filter: brightness(1.1);
    }

    .link-box-copy .svg-icon {
      width: 13px;
      height: 13px;
      filter: brightness(0);
    }

    .share-btns {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
    }

    .share-btn {
      flex: 1;
      padding: 13px;
      border-radius: 14px;
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all .18s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
    }

    .share-btn:hover {
      filter: brightness(1.1);
      transform: translateY(-1px);
    }

    .share-btn .svg-icon {
      width: 17px;
      height: 17px;
    }

    .sb-whatsapp {
      background: #25D366;
      color: #fff;
    }

    .sb-whatsapp .svg-icon {
      filter: brightness(0) invert(1);
    }

    .sb-native {
      background: var(--surface-2);
      color: var(--text);
      border: 1px solid var(--border-2);
    }

    .sb-native .svg-icon {
      filter: brightness(0) invert(1);
    }

    .invited-count {
      text-align: center;
      font-size: 12px;
      color: var(--text-muted);
      padding-top: 4px;
    }

    .invited-count strong {
      color: var(--teal);
    }

    /* ================================================================
   SECÇÕES MENU
   ================================================================ */
    .sec-label {
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .09em;
      color: var(--text-muted);
      padding: 22px 18px 8px;
    }

    .menu-group {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--r-lg);
      margin: 0 18px;
      overflow: hidden;
    }

    .mrow {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 13px 16px;
      text-decoration: none;
      color: var(--text);
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      transition: background .15s;
      cursor: pointer;
    }

    .mrow:last-child {
      border-bottom: none;
    }

    .mrow:hover {
      background: var(--surface-2);
    }

    .mrow:active {
      background: rgba(255, 255, 255, .13);
    }

    .mrow-icon {
      width: 40px;
      height: 40px;
      border-radius: 11px;
      flex-shrink: 0;
      background: rgba(255, 255, 255, .08);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: background .15s;
    }

    .mrow:hover .mrow-icon {
      background: rgba(255, 255, 255, .12);
    }

    .mrow-icon img.svg-icon {
      filter: brightness(0) invert(1);
      opacity: .80;
    }

    .mrow-icon img.photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
      filter: none;
      opacity: 1;
    }

    .mrow-body {
      flex: 1;
      min-width: 0;
    }

    .mrow-title {
      font-size: 14px;
      font-weight: 600;
      color: white;
      margin-bottom: 2px;
    }

    .mrow-sub {
      font-size: 12px;
      color: var(--text-muted);
    }

    .mrow-right {
      display: flex;
      align-items: center;
      gap: 7px;
      flex-shrink: 0;
    }

    .mrow-arr {
      display: flex;
      align-items: center;
    }

    .mrow-arr .svg-icon {
      width: 17px;
      height: 17px;
      filter: brightness(0) invert(1);
      opacity: .35;
    }

    /* Chips */
    .chip {
      font-size: 10px;
      font-weight: 800;
      padding: 3px 9px;
      border-radius: 50px;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .chip .svg-icon {
      width: 10px;
      height: 10px;
    }

    .chip-red {
      background: rgba(255, 59, 59, .2);
      color: #ff7070;
    }

    .chip-teal {
      background: var(--teal-dim);
      color: var(--teal);
    }

    .chip-teal .svg-icon {
      filter: invert(71%) sepia(52%) saturate(500%) hue-rotate(130deg) brightness(100%) contrast(101%);
    }

    .chip-gold {
      background: var(--gold-dim);
      color: var(--gold);
    }

    .chip-grey {
      background: rgba(255, 255, 255, .1);
      color: var(--text-muted);
    }

    /* Status loja */
    .loja-st {
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 50px;
    }

    .st-ativa {
      background: rgba(0, 201, 177, .18);
      color: var(--teal);
    }

    .st-inativa {
      background: rgba(255, 59, 59, .18);
      color: var(--red);
    }

    .st-pendente {
      background: rgba(255, 184, 0, .18);
      color: var(--gold);
    }

    /* Verificado inline */
    .loja-verificado-icon {
      display: inline-flex;
      align-items: center;
      vertical-align: middle;
    }

    .loja-verificado-icon .svg-icon {
      width: 13px;
      height: 13px;
      filter: invert(71%) sepia(52%) saturate(500%) hue-rotate(130deg) brightness(100%) contrast(101%);
    }

    /* ================================================================
   BOTÃO LOGOUT
   ================================================================ */
    .logout-wrap {
      padding: 6px 18px 24px;
    }

    .logout-btn {
      width: 100%;
      padding: 14px;
      border-radius: var(--r-lg);
      background: rgba(255, 59, 59, .10);
      border: 1.5px solid rgba(255, 59, 59, .22);
      color: #ff6b6b;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: all .2s;
    }

    .logout-btn:hover {
      background: rgba(255, 59, 59, .18);
      box-shadow: 0 4px 16px rgba(255, 59, 59, .18);
    }

    .logout-btn .svg-icon {
      width: 18px;
      height: 18px;
      filter: invert(35%) sepia(90%) saturate(600%) hue-rotate(330deg) brightness(110%);
    }

    /* ================================================================
   BOTTOM NAV
   ================================================================ */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 300;
      background: rgba(0, 12, 38, .97);
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-around;
      padding: 10px 0;
      padding-bottom: calc(10px + env(safe-area-inset-bottom));
      box-shadow: 0 -4px 28px rgba(0, 0, 0, .45);
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      color: var(--text-muted);
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      transition: color .18s;
      padding: 0 18px;
    }

    .nav-item.active {
      color: var(--teal);
    }

    .nav-icon {
      width: 42px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50px;
      transition: background .18s;
    }

    .nav-item.active .nav-icon {
      background: rgba(0, 201, 177, .14);
    }

    .nav-item .svg-icon {
      width: 22px;
      height: 22px;
      filter: brightness(0) invert(1);
      opacity: .45;
      transition: filter .18s, opacity .18s;
    }

    .nav-item.active .svg-icon {
      filter: invert(71%) sepia(52%) saturate(500%) hue-rotate(130deg) brightness(100%) contrast(101%);
      opacity: 1;
    }

    /* ================================================================
   TOAST
   ================================================================ */
    .toast {
      position: fixed;
      bottom: calc(90px + env(safe-area-inset-bottom));
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: #0D2B5E;
      border: 1px solid var(--border-2);
      color: white;
      padding: 12px 22px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 600;
      z-index: 1100;
      white-space: nowrap;
      opacity: 0;
      transition: all .3s;
      pointer-events: none;
      box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
      max-width: calc(100vw - 40px);
      text-align: center;
      display: flex;
      align-items: center;
      gap: 8px;
      justify-content: center;
    }

    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .toast.success {
      border-color: var(--teal-border);
    }

    .toast.error {
      border-color: rgba(255, 59, 59, .4);
    }

    .toast .svg-icon {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    /* Loader spinner no link box */
    .link-loading {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, .2);
      border-top-color: var(--teal);
      border-radius: 50%;
      animation: spin .7s linear infinite;
      vertical-align: middle;
      margin-right: 6px;
    }

    /* ================================================================
   ANIMAÇÕES
   ================================================================ */
    .rise {
      opacity: 0;
      transform: translateY(20px);
      animation: rise .5s ease forwards;
    }

    @keyframes rise {
      to {
        opacity: 1;
        transform: none;
      }
    }

    @media(max-width:380px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .wallet-row {
        grid-template-columns: 1fr;
      }

      .share-btns {
        flex-direction: column;
      }
    }