
    /* DESIGN SYSTEM PROPRIETÁRIO VIBEDIET — PLANO C ("COOL QUARTZ & MINIMALIST CAL AI") */
    :root {
      --primary: #18181B;
      --primary-soft: #F1F5F9;
      --primary-dark: #0F172A;
      --secondary: #EF4444;
      --secondary-soft: rgba(239, 68, 68, 0.12);
      --accent: #EF4444;
      --accent-soft: rgba(239, 68, 68, 0.12);
      --bg: #F4F7FB;
      --surface: #FFFFFF;
      --surface-subtle: #F1F5F9;
      --surface-glass: rgba(255, 255, 255, 0.92);
      --border: #E2E8F0;
      --text: #111827;
      --text-secondary: #64748B;
      --text-muted: #94A3B8;
      --gamification-broccoli: #16A34A;
      --gamification-water: #0EA5E9;
      --shadow-sm: none;
      --shadow-md: none;
      --shadow-floating: 0 14px 28px rgba(24, 24, 27, 0.28);
      --radius-lg: 24px;
      --radius-md: 16px;
      --nav-bg: rgba(255, 255, 255, 0.94);
    }

    body.dark-theme {
      --primary: #10B981;
      --primary-soft: rgba(16, 185, 129, 0.16);
      --primary-dark: #34D399;
      --secondary: #FF7A3D;
      --secondary-soft: rgba(255, 122, 61, 0.15);
      --accent: #FF7A3D;
      --accent-soft: rgba(255, 122, 61, 0.15);
      --bg: #0D1310;
      --surface: #1A2620;
      --surface-subtle: #151F1A;
      --surface-glass: rgba(26, 38, 32, 0.86);
      --border: #26382F;
      --text: #F2F5F3;
      --text-secondary: #A3B5AC;
      --text-muted: #7A9086;
      --gamification-broccoli: #22C55E;
      --gamification-water: #38BDF8;
      --shadow-sm: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
      --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
      --shadow-floating: 0 12px 32px -4px rgba(16, 185, 129, 0.35);
      --nav-bg: rgba(26, 38, 32, 0.88);
    }

    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }
    .num,
    .cal-number,
    .macro-val,
    .water-val,
    .streak-badge,
    .points-badge {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-variant-numeric: tabular-nums;
      font-feature-settings: 'tnum';
    }

    html, body, #root {
      width: 100%;
      max-width: 100%;
      min-height: 100vh;
      margin: 0;
      height: auto;
      background-color: #FAF8F5;
      overflow-x: hidden;
      position: relative;
      overscroll-behavior: none;
      -webkit-overflow-scrolling: touch;
      touch-action: manipulation;
      -webkit-text-size-adjust: 100%;
    }

    body {
      background-color: #FAF8F5;
      color: var(--text);
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
      padding: 14px 16px 28px;
    }
    html.dark-theme,
    body.dark-theme,
    html:has(body.dark-theme) {
      color-scheme: dark;
      background: #080C0A !important;
      background-color: #080C0A !important;
      color: var(--text);
    }
    .modal-sheet {
      overscroll-behavior: contain;
    }

    /* Barra Superior Discreta apenas no Computador */
    .desktop-toolbar {
      display: flex;
      gap: 10px;
      align-items: center;
      margin-bottom: 14px;
      background: var(--surface);
      backdrop-filter: blur(12px);
      padding: 7px 16px;
      border-radius: 99px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      flex-shrink: 0;
    }
    .toolbar-btn {
      background: var(--surface-subtle);
      color: var(--text);
      border: 1px solid var(--border);
      padding: 6px 12px;
      border-radius: 99px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.15s ease, border-color 0.15s ease;
      box-shadow: var(--shadow-sm);
    }
    @media (hover: hover) and (pointer: fine) {
      .toolbar-btn:hover {
        background: var(--primary-soft);
        border-color: var(--primary);
      }
    }
    .toolbar-btn:active {
      transform: scale(0.96);
    }

    /* Moldura do App no Computador (Escala iPhone 16 Pro Proporcional & Ajustada à Tela Desktop) */
    .phone-container {
      width: 393px;
      min-width: 393px;
      max-width: 393px;
      height: min(824px, calc(100vh - 76px));
      min-height: 660px;
      max-height: calc(100vh - 76px);
      flex-shrink: 0;
      background: radial-gradient(120% 45% at 50% 0%, #E2EBF6 0%, #F1F5F9 60%, #F4F7FB 100%);
      border-radius: 44px;
      box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), 0 0 0 10px #222731;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: background 0.25s ease;
    }

    /* MODO TELA CHEIA NATIVO NO CELULAR (iPhone & Android) - FIXAÇÃO RÍGIDA CONTRA DESLOCAMENTOS */
    @media (max-width: 600px) {
      html, body {
        width: 100%;
        max-width: 100% !important;
        height: 100% !important;
        min-height: -webkit-fill-available !important;
        min-height: 100lvh !important;
        margin: 0 !important;
        padding: 0 !important;
        background: var(--bg) !important;
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
      }
      html::-webkit-scrollbar,
      body::-webkit-scrollbar,
      #vibeDietOnboardingWizard::-webkit-scrollbar,
      #authSheetModal .auth-sheet-inner::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
        display: none !important;
      }
      /* BLINDAGEM DEFINITIVA LOGIN FULL-BLEED IOS SAFARI (FUNDO BRANCO PURO #FFFFFF ESTILO CAL AI) */
      html:has(#welcomeAuthScreen:not(.hidden)),
      body:has(#welcomeAuthScreen:not(.hidden)) {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        overscroll-behavior: auto !important;
        background: #FFFFFF !important;
        background-color: #FFFFFF !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        min-height: calc(100vh + 2px) !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
      }
      body:has(#welcomeAuthScreen:not(.hidden)) .phone-container,
      body:has(#welcomeAuthScreen:not(.hidden)) .desktop-toolbar {
        display: none !important;
      }
      .desktop-toolbar {
        display: none !important;
      }
      .phone-container {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        overflow: hidden !important;
      }
      .bottom-nav {
        bottom: 0 !important;
        min-height: 56px !important;
        height: auto !important;
        padding: 6px 10px max(16px, calc(env(safe-area-inset-bottom, 0px) * 0.72 + 6px)) !important;
      }
      /* Proteção de Safe Area Superior no Navegador Mobile vs PWA Instalado (Standalone) */
      .app-header {
        padding-top: max(14px, env(safe-area-inset-top, 14px)) !important;
      }
      .post-detail-header {
        padding-top: 4px !important;
      }
    }
    @media (max-width: 600px) and (display-mode: standalone) {
      .app-header {
        padding-top: max(calc(12px + env(safe-area-inset-top, 0px)), 52px) !important;
      }
      .bottom-nav {
        padding: 5px 10px max(18px, min(25px, calc(env(safe-area-inset-bottom, 0px) * 0.68 + 6px))) !important;
      }
    }

    /* Cabeçalho Fixo, Limpo e Comercial */
    .app-header {
      padding: 14px 18px 12px;
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border);
      z-index: 35;
      flex-shrink: 0;
      position: relative;
    }
    .brand-wrap {
      display: flex;
      align-items: center;
      gap: 9px;
    }
    .brand-logo {
      font-size: 21px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.6px;
    }

    /* HEADER STATS CLEAN (ESTILO CHESS.COM: ÍCONE + NÚMERO PRETO) */
    .header-stat-item {
      display: flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      padding: 4px 6px;
      border-radius: 8px;
      transition: opacity 0.15s ease;
      user-select: none;
    }
    .header-stat-item:active {
      opacity: 0.65;
    }
    .header-stat-icon {
      font-size: 18px;
      line-height: 1;
      display: inline-flex;
      align-items: center;
    }
    .header-stat-item {
      display: flex;
      align-items: center;
      gap: 3px;
      cursor: pointer;
      padding: 4px 6px;
      border-radius: 8px;
      user-select: none;
    }
    .header-stat-num {
      font-size: 13.5px;
      font-weight: 800;
      color: #0F172A;
      letter-spacing: -0.2px;
      font-family: 'Inter', -apple-system, sans-serif;
    }
    body.dark-theme .header-stat-num {
      color: #FFFFFF;
    }
    .header-stat-num.streak-100-plus {
      color: #EF4444 !important;
      text-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
    }
    body.dark-theme .header-stat-num {
      color: #F8FAFC;
    }
    #appStreakDisplay {
      color: #0F172A !important;
      font-weight: 800;
    }
    body.dark-theme #appStreakDisplay {
      color: #FFFFFF !important;
    }
    #headerStreakFlameIcon {
      font-size: 19px;
      line-height: 1;
      filter: drop-shadow(0 2px 8px rgba(255, 107, 44, 0.4));
      transition: all 0.2s ease;
    }

    /* BOTÃO DE PERFIL COM INICIAIS NO CABEÇALHO (ESTILO NIKE RUN CLUB) */
    .header-left-cluster {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .header-profile-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #111827;
      border: 1.5px solid rgba(255, 255, 255, 0.22);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
      transition: transform 0.15s ease, opacity 0.15s ease;
      user-select: none;
    }
    .header-profile-btn:active {
      transform: scale(0.92);
      opacity: 0.85;
    }
    .header-initials-avatar {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: -0.3px;
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      color: #FFFFFF;
      line-height: 1;
      text-transform: uppercase;
    }
    body.dark-theme .header-profile-btn {
      background: #1F2937;
      border-color: rgba(255, 255, 255, 0.3);
    }

    /* INDICADOR PULL-TO-REFRESH ESTILO INSTAGRAM (VETOR PRETO PURO, ZERO MANCHA, ZERO VERDE) */
    .screen-body {
      overscroll-behavior-y: contain;
    }
    .ptr-slot {
      height: 0px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      will-change: height;
      transition: height 0.42s cubic-bezier(0.25, 1, 0.35, 1);
    }
    .ptr-bubble {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #FFFFFF !important;
      border: 1px solid rgba(0, 0, 0, 0.06);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.04);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: scale(0.65);
      transition: transform 0.22s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.22s ease;
      flex-shrink: 0;
      margin: 6px 0;
    }
    .ptr-spinner-circle {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .ptr-spinner-svg {
      width: 24px;
      height: 24px;
      transform: rotate(-90deg);
    }
    .ptr-spinner-svg circle.ptr-track {
      stroke: rgba(0, 0, 0, 0.09);
    }
    .ptr-spinner-svg circle.ptr-fill {
      stroke: #0F172A !important;
      transition: stroke-dashoffset 0.05s linear;
    }
    .ptr-bubble.refreshing .ptr-spinner-svg {
      animation: ptrRotateBlack 0.75s linear infinite;
    }
    @keyframes ptrRotateBlack {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .brand-logo span {
      color: #16A34A !important;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    body.dark-theme .pill-vb {
      color: var(--primary);
    }
    .pill-vb:active .broccoli-icon, .spin-animation {
      animation: spinBroccoli 0.6s ease-in-out;
    }
    @keyframes spinBroccoli {
      0% { transform: scale(1) rotate(0deg); }
      30% { transform: scale(1.4) rotate(-25deg); }
      70% { transform: scale(1.3) rotate(375deg); }
      100% { transform: scale(1) rotate(360deg); }
    }

    /* CARD DE HIDRATAÇÃO DINÂMICO COM GARRAFA ENCHENDO */
    .water-bottle-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1.5px solid var(--border);
      padding: 16px;
      margin-bottom: 14px;
      box-shadow: var(--shadow-sm);
      display: flex;
      align-items: center;
      gap: 16px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s ease, background 0.3s ease;
    }
    .water-bottle-card.pending {
      border-color: rgba(255, 82, 82, 0.35);
      background: linear-gradient(135deg, rgba(255, 82, 82, 0.04), transparent);
    }
    .water-bottle-card.completed {
      border-color: rgba(0, 200, 111, 0.45);
      background: linear-gradient(135deg, rgba(0, 200, 111, 0.08), transparent);
    }

    .water-bottle-card.celebrating {
      animation: celebrationGlow 0.8s ease-out;
    }
    @keyframes celebrationGlow {
      0% { box-shadow: 0 0 0 rgba(0, 230, 118, 0); transform: scale(1); }
      50% { box-shadow: 0 0 25px rgba(0, 230, 118, 0.5); transform: scale(1.02); }
      100% { box-shadow: 0 0 0 rgba(0, 230, 118, 0); transform: scale(1); }
    }

    /* Frasco / Garrafa 3D Realista com Limiares (1000 - 2000 - 3000) */
    .bottle-visual-wrap {
      width: 72px;
      height: 116px;
      position: relative;
      flex-shrink: 0;
      filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
    }
    .bottle-glass {
      width: 100%;
      height: 100%;
      position: relative;
      border: 3px solid rgba(255, 255, 255, 0.5);
      border-radius: 14px 14px 22px 22px;
      background: linear-gradient(110deg, 
        rgba(255,255,255,0.42) 0%, 
        rgba(255,255,255,0.12) 16%, 
        rgba(148,163,184,0.04) 40%, 
        rgba(255,255,255,0.08) 75%, 
        rgba(255,255,255,0.28) 100%
      );
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      box-shadow: 
        inset 0 3px 8px rgba(255, 255, 255, 0.5),
        inset 3px 0 6px rgba(255, 255, 255, 0.3),
        inset -3px 0 6px rgba(0, 0, 0, 0.22),
        0 8px 24px rgba(0, 0, 0, 0.2);
    }
    .bottle-glass-glare {
      position: absolute;
      top: 6px;
      left: 6px;
      width: 5px;
      bottom: 14px;
      background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.18) 75%, transparent 100%);
      border-radius: 99px;
      pointer-events: none;
      z-index: 5;
    }
    .bottle-cap {
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 26px;
      height: 12px;
      background: linear-gradient(90deg, #334155, #64748B 30%, #94A3B8 50%, #475569 80%, #1E293B);
      border-radius: 5px 5px 0 0;
      z-index: 6;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    }
    .bottle-cap::after {
      content: '';
      position: absolute;
      bottom: -3px;
      left: 2px;
      right: 2px;
      height: 3px;
      background: #1E293B;
      border-radius: 2px;
    }
    .bottle-ticks {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      z-index: 3;
    }
    .bottle-tick {
      position: absolute;
      left: 3px;
      right: 3px;
      display: flex;
      align-items: center;
      gap: 3px;
      opacity: 0.65;
      transition: all 0.3s ease;
    }
    .bottle-tick .tick-label {
      font-size: 8px;
      font-weight: 800;
      font-family: var(--font-num);
      color: var(--text-secondary);
      line-height: 1;
      width: 21px;
      text-align: right;
    }
    .bottle-tick .tick-line {
      flex: 1;
      height: 1px;
      border-bottom: 1.5px dashed rgba(148, 163, 184, 0.55);
      transition: all 0.3s ease;
    }
    .bottle-tick.passed {
      opacity: 1;
    }
    .bottle-tick.passed .tick-label {
      color: #FFFFFF;
      font-weight: 900;
      text-shadow: 0 1px 3px rgba(0,0,0,0.85);
    }
    .bottle-tick.passed .tick-line {
      border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
      box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
    }
    .bottle-liquid {
      width: 100%;
      height: 0%;
      background: linear-gradient(180deg, #38BDF8 0%, #0EA5E9 55%, #0284C7 100%);
      transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s ease;
      position: relative;
      box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.5), inset 0 -4px 10px rgba(0, 0, 0, 0.2);
      will-change: height;
    }
    .bottle-liquid.full {
      background: linear-gradient(180deg, #69F0AE 0%, #00E676 45%, #00C853 100%);
      box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.6), inset 0 -4px 10px rgba(0, 200, 83, 0.4);
    }
    .liquid-wave {
      position: absolute;
      top: -4px;
      left: 0;
      right: 0;
      height: 8px;
      background: rgba(255, 255, 255, 0.55);
      border-radius: 50%;
      animation: waveMove 1.8s infinite ease-in-out alternate;
      box-shadow: 0 1px 4px rgba(255, 255, 255, 0.35);
      transition: opacity 0.25s ease;
      pointer-events: none;
    }
    .bottle-liquid.full .liquid-wave,
    .bottle-liquid.empty .liquid-wave {
      opacity: 0;
      animation: none;
    }
    @keyframes waveMove {
      from { transform: scaleY(0.85) translateY(-0.5px); }
      to { transform: scaleY(1.15) translateY(0.5px); }
    }

    /* SELETOR DE SCROLL VERTICAL DE META DE ÁGUA (0 A 8.000 ML) */
    .water-goal-hero-box {
      position: relative;
      overflow: hidden;
      background: rgba(0, 176, 255, 0.08);
      border: 1.5px solid rgba(0, 176, 255, 0.35);
      border-radius: 18px;
      padding: 16px;
      margin-bottom: 4px;
      text-align: center;
      cursor: pointer;
      transition: transform 0.12s ease, background 0.15s ease;
    }
    .water-goal-hero-box:active {
      transform: scale(0.98);
      background: rgba(0, 176, 255, 0.14);
    }
    .water-goal-hero-num {
      font-size: 38px;
      font-weight: 900;
      color: #00B0FF;
      line-height: 1;
      letter-spacing: -1px;
    }
    body.dark-theme .water-goal-hero-box {
      background: rgba(0, 176, 255, 0.1);
      border-color: rgba(0, 176, 255, 0.4);
    }
    body.dark-theme .water-goal-hero-num {
      color: #38BDF8;
    }

    .water-goal-scroll-picker {
      max-height: 180px;
      overflow-y: auto;
      overflow-x: hidden;
      border: 1px solid var(--border);
      border-radius: 16px;
      background: var(--surface);
      padding: 6px;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }
    .water-goal-scroll-picker::-webkit-scrollbar {
      width: 5px;
    }
    .water-goal-scroll-picker::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 99px;
    }
    .water-picker-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border-radius: 10px;
      margin-bottom: 3px;
      cursor: pointer;
      transition: all 0.15s ease;
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }
    .water-picker-item:hover {
      background: var(--surface-subtle);
    }
    .water-picker-item:active {
      transform: scale(0.98);
    }
    .water-picker-item.active {
      background: #0F172A;
      color: #FFFFFF;
      box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    }
    body.dark-theme .water-picker-item.active {
      background: #00B0FF;
      color: #000000;
      box-shadow: 0 4px 14px rgba(0, 176, 255, 0.35);
    }
    .water-picker-sub {
      font-size: 11.5px;
      font-weight: 600;
      opacity: 0.65;
    }
    .water-picker-item.active .water-picker-sub {
      opacity: 0.9;
    }

    /* POPOVER COMPACTO ADAPTATIVO ESTILO CHESS.COM (WARM ALABASTER NO CLARO + WARM OBSIDIAN NO ESCURO) */
    #headerStreakPillBtn {
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    body.dark-theme #headerStreakPillBtn {
      background: #1C1C1E !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28) !important;
    }
    body.vd-streak-popover-open #headerStreakPillBtn {
      border-color: rgba(234, 88, 12, 0.45) !important;
      box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15) !important;
    }

    #streakModal {
      --vd-streak-popover-top: max(calc(env(safe-area-inset-top, 0px) + 64px), 68px);
      --vd-streak-caret-right: 29px;
      background: rgba(29, 29, 31, 0.11) !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      align-items: flex-start !important;
      justify-content: center !important;
      padding: var(--vd-streak-popover-top) 14px 20px !important;
    }
    body.dark-theme #streakModal {
      background: rgba(0, 0, 0, 0.42) !important;
    }

    .streak-warm-popover {
      width: 100%;
      max-width: 402px;
      background: #FFFFFF !important;
      border: 1px solid #EBE6DC;
      border-radius: 23px !important;
      padding: 15px 15px 14px !important;
      color: #09090B;
      box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.14),
        0 2px 8px rgba(15, 23, 42, 0.05) !important;
      position: relative;
      opacity: 0;
      transform: translate3d(0, -8px, 0) scale(0.96);
      transform-origin: calc(100% - var(--vd-streak-caret-right) - 6px) -6px;
      transition: opacity 0.16s ease-out, transform 0.20s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform, opacity;
    }
    body.dark-theme .streak-warm-popover {
      background:
        radial-gradient(120% 130% at 10% 0%, rgba(234, 88, 12, 0.22) 0%, rgba(234, 88, 12, 0.05) 45%, rgba(22, 21, 20, 0) 75%),
        linear-gradient(165deg, #211E1C 0%, #151413 100%) !important;
      border-color: rgba(255, 237, 213, 0.13);
      color: #FAF8F5;
      box-shadow:
        0 20px 42px rgba(9, 9, 11, 0.42),
        0 2px 8px rgba(9, 9, 11, 0.22) !important;
    }
    #streakModal.active .streak-warm-popover {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }

    .streak-warm-caret {
      position: absolute;
      top: -6.5px;
      right: var(--vd-streak-caret-right, 29px);
      width: 12px;
      height: 12px;
      background: #FFFFFF;
      border-top: 1px solid #EBE6DC;
      border-left: 1px solid #EBE6DC;
      transform: rotate(45deg);
      border-radius: 2.5px 0 0 0;
      pointer-events: none;
    }
    body.dark-theme .streak-warm-caret {
      top: -6px;
      background: #1E1B19;
      border-top-color: rgba(255, 237, 213, 0.16);
      border-left-color: rgba(255, 237, 213, 0.16);
    }

    .streak-wo-top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    .streak-wo-left-cluster {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }
    .streak-wo-flame-badge {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: #FFF6EC;
      border: 1px solid rgba(234, 88, 12, 0.15);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
    }
    body.dark-theme .streak-wo-flame-badge {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 237, 213, 0.12);
    }
    .streak-hero-fire {
      width: 22px;
      height: 22px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      filter: drop-shadow(0 3px 8px rgba(249, 115, 22, 0.28));
      user-select: none;
    }
    body.dark-theme .streak-hero-fire {
      filter: drop-shadow(0 3px 9px rgba(249, 115, 22, 0.42));
    }
    .streak-hero-fire.flame-dimmed {
      filter: grayscale(0.95) opacity(0.52) !important;
    }

    .streak-wo-count-wrap {
      display: flex;
      align-items: baseline;
      gap: 5.5px;
      min-width: 0;
    }
    .streak-huge-number {
      font-size: 26px;
      font-weight: 800;
      color: #09090B;
      line-height: 1;
      letter-spacing: -0.04em;
      font-variant-numeric: tabular-nums;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
    }
    body.dark-theme .streak-huge-number {
      color: #FFFFFF;
    }
    .streak-huge-label {
      font-size: 13.5px;
      font-weight: 700;
      color: #71717A;
      letter-spacing: -0.01em;
      white-space: nowrap;
    }
    body.dark-theme .streak-huge-label {
      color: rgba(250, 248, 245, 0.78);
    }

    .streak-wo-status-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 9.5px;
      border-radius: 999px;
      font-size: 10.5px;
      font-weight: 700;
      background: rgba(234, 88, 12, 0.10);
      border: 1px solid rgba(234, 88, 12, 0.22);
      color: #C2410C;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .streak-wo-status-chip.is-done {
      background: rgba(16, 185, 129, 0.11);
      border-color: rgba(16, 185, 129, 0.24);
      color: #15803D;
    }
    body.dark-theme .streak-wo-status-chip {
      background: rgba(251, 146, 60, 0.14);
      border-color: rgba(251, 146, 60, 0.26);
      color: #FDBA74;
    }
    body.dark-theme .streak-wo-status-chip.is-done {
      background: rgba(52, 211, 153, 0.13);
      border-color: rgba(52, 211, 153, 0.25);
      color: #6EE7B7;
    }
    .streak-wo-status-dot {
      width: 5.5px;
      height: 5.5px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
    }

    /* Grade Semanal Compacta Adaptativa Estilo Chess.com */
    .chess-week-row {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 4px;
      margin: 11px 0 0;
      background: #FAF8F5;
      border: 1px solid #EBE6DC;
      border-radius: 16px;
      padding: 9px 6px 8px;
    }
    body.dark-theme .chess-week-row {
      background: rgba(255, 255, 255, 0.045);
      border-color: rgba(255, 255, 255, 0.06);
    }
    .chess-day-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
    }
    .chess-day-name {
      font-size: 10px;
      font-weight: 700;
      color: #71717A;
      letter-spacing: 0.01em;
    }
    body.dark-theme .chess-day-name {
      color: rgba(250, 248, 245, 0.50);
    }
    .chess-day-name.today-text {
      color: #09090B;
      font-weight: 800;
    }
    body.dark-theme .chess-day-name.today-text {
      color: #FFF7ED;
    }
    .chess-day-box {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      transition: transform 0.15s ease-out, box-shadow 0.18s ease;
    }
    .chess-day-box.completed {
      background: #09090B !important;
      color: #FFFFFF !important;
      font-weight: 800 !important;
      box-shadow: none !important;
      border: none !important;
    }
    .chess-day-col.is-today .chess-day-box.completed {
      box-shadow: 0 0 0 2.5px rgba(234, 88, 12, 0.28) !important;
    }
    body.dark-theme .chess-day-box.completed {
      background: linear-gradient(180deg, #F59E0B 0%, #EA580C 100%) !important;
      color: #FFFFFF !important;
      box-shadow: 0 3px 10px rgba(234, 88, 12, 0.34) !important;
      border: none !important;
    }
    body.dark-theme .chess-day-col.is-today .chess-day-box.completed {
      box-shadow: 0 0 0 2px rgba(255, 247, 237, 0.85), 0 4px 12px rgba(234, 88, 12, 0.42) !important;
    }
    .chess-day-box.waiting-claim {
      background: #FFF7ED;
      border: 1.8px dashed #EA580C;
      color: #EA580C;
      font-weight: 800;
      box-shadow: none;
    }
    .chess-day-box.empty {
      background: #FFFFFF;
      border: 1.5px solid #ECE8DF;
      color: #A1A1AA;
      font-size: 11px;
      font-weight: 700;
    }
    body.dark-theme .chess-day-box.empty {
      background: rgba(255, 255, 255, 0.055);
      border: none;
      color: rgba(250, 248, 245, 0.42);
    }

    .streak-wo-footer-line {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-top: 9px;
      padding: 0 2px;
      font-size: 11px;
      font-weight: 600;
      color: #71717A;
      font-variant-numeric: tabular-nums;
    }
    body.dark-theme .streak-wo-footer-line {
      color: rgba(250, 248, 245, 0.60);
    }
    .streak-wo-milestone-accent {
      color: #09090B;
      font-weight: 700;
    }
    body.dark-theme .streak-wo-milestone-accent {
      color: #FDBA74;
    }
    .streak-wo-ignite-btn {
      appearance: none;
      width: 100%;
      margin-top: 9px;
      padding: 9.5px 14px;
      border-radius: 999px;
      border: 1px solid #09090B;
      background: #09090B;
      color: #FFFFFF;
      font-size: 12.5px;
      font-weight: 800;
      letter-spacing: -0.01em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.15s ease-out, opacity 0.15s ease-out;
    }
    body.dark-theme .streak-wo-ignite-btn {
      border-color: rgba(251, 146, 60, 0.35);
      background: linear-gradient(180deg, #F97316 0%, #EA580C 100%);
      color: #FFFFFF;
    }
    .streak-wo-ignite-btn:active {
      transform: scale(0.97);
    }
    .streak-wo-ignite-btn:focus-visible,
    #headerStreakPillBtn:focus-visible {
      outline: 2px solid #EA580C;
      outline-offset: 2px;
    }
    body.dark-theme .streak-wo-ignite-btn:focus-visible,
    body.dark-theme #headerStreakPillBtn:focus-visible {
      outline-color: #FFF7ED;
    }
    @media (prefers-reduced-motion: reduce) {
      .streak-warm-popover {
        transform: none;
        transition: opacity 0.12s ease-out;
      }
      .streak-wo-ignite-btn:active {
        transform: none;
      }
    }

    /* Botão Preto no Rodapé da Aba do + (Novo Registro) */
    .activity-composer-submit-btn {
      background: #090D16 !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: #FFFFFF !important;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
      transition: transform 0.15s ease, background 0.15s ease !important;
    }
    .activity-composer-submit-btn:hover {
      background: #111827 !important;
    }
    .activity-composer-submit-btn:active {
      transform: scale(0.98) !important;
    }

    /* Brócolis Animado com Flutuação e Brilho 3D */
    .broccoli-hero-float {
      font-size: 56px;
      cursor: pointer;
      display: inline-block;
      animation: broccoliFloat 2.8s infinite ease-in-out;
      transform-origin: center;
      filter: drop-shadow(0 10px 22px rgba(0, 230, 118, 0.45));
      transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .broccoli-hero-float:active {
      transform: scale(0.88);
    }
    @keyframes broccoliFloat {
      0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 8px 18px rgba(0, 230, 118, 0.35));
      }
      30% {
        transform: translateY(-10px) rotate(6deg) scale(1.08);
        filter: drop-shadow(0 18px 30px rgba(0, 230, 118, 0.65));
      }
      60% {
        transform: translateY(-4px) rotate(-5deg) scale(1.03);
        filter: drop-shadow(0 12px 22px rgba(0, 230, 118, 0.45));
      }
    }

    /* Animação de Giro Exclusiva do Brócolis da Aba Modal */
    .broccoli-hero-float.spin-hero-active,
    #spinningModalBroccoli.spin-hero-active {
      animation: spinHeroBroccoli 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    @keyframes spinHeroBroccoli {
      0% { transform: scale(1) rotate(0deg); }
      25% { transform: scale(1.35) rotate(-25deg); }
      70% { transform: scale(1.22) rotate(390deg); }
      100% { transform: scale(1) rotate(360deg); }
    }

    .water-info {
      flex: 1;
    }
    .water-status-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 8px;
      border-radius: 8px;
      font-size: 10px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      margin-bottom: 4px;
    }
    .status-badge-completed {
      background: rgba(0, 200, 111, 0.15);
      color: var(--primary-dark);
    }
    body.dark-theme .status-badge-completed { color: var(--primary); }

    .water-amount-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
    }
    .water-amount-sub {
      font-size: 11px;
      color: var(--text-secondary);
      margin-top: 2px;
    }
    .water-buttons-row {
      display: flex;
      gap: 6px;
      margin-top: 10px;
    }
    .water-tap-btn {
      flex: 1;
      padding: 7px 10px;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--surface-subtle);
      color: var(--text);
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      transition: all 0.15s ease;
    }
    .water-tap-btn:active {
      transform: scale(0.95);
      background: var(--primary-soft);
      border-color: var(--primary);
      color: var(--primary-dark);
    }

    /* Alerta Noturno de Hidratação Pendente */
    @keyframes alertPulse {
      0%, 100% { opacity: 0.95; }
      50% { opacity: 0.7; }
    }

    /* SELETOR VISUAL DE ATIVIDADES / REGISTRO COM FOTOS */
    .activity-selector-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 14px;
    }
    .activity-card-option {
      position: relative;
      height: 105px;
      border-radius: 16px;
      overflow: hidden;
      cursor: pointer;
      border: 2px solid transparent;
      transition: transform 0.2s ease, border-color 0.2s ease;
      box-shadow: var(--shadow-sm);
    }
    .activity-card-option:active {
      transform: scale(0.96);
    }
    .activity-card-option.selected {
      border-color: #0F172A;
      box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.28);
    }
    .activity-card-bg {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      filter: brightness(0.65);
      transition: filter 0.2s ease;
    }
    .activity-card-option.selected .activity-card-bg {
      filter: brightness(0.78);
    }
    .activity-card-content {
      position: absolute;
      bottom: 10px;
      left: 10px;
      right: 10px;
      color: #FFFFFF;
      text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    }
    .activity-card-title {
      font-size: 13px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .activity-card-points {
      font-size: 10px;
      color: #00E676;
      font-weight: 800;
      margin-top: 2px;
    }

    /* CALENDÁRIO ESTILO CHESS.COM / DUOLINGO */
    .streak-calendar-wrap {
      background: var(--surface-subtle);
      border-radius: 18px;
      padding: 14px;
      margin-top: 14px;
      border: 1px solid var(--border);
    }
    .calendar-weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      text-align: center;
      font-size: 10px;
      font-weight: 700;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }
    .calendar-days-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
    }
    .cal-day-cell {
      aspect-ratio: 1;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 700;
      position: relative;
      color: var(--text-secondary);
      transition: transform 0.2s ease;
    }
    .cal-day-cell.completed {
      background: #000000 !important;
      color: #FFFFFF !important;
      font-weight: 800;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
      animation: flamePop 0.4s ease-out;
    }
    body.dark-theme .cal-day-cell.completed {
      background: #FFFFFF !important;
      color: #000000 !important;
    }
    .cal-day-cell.today {
      border: 2px solid #000000 !important;
      color: #000000 !important;
      font-weight: 900;
    }
    body.dark-theme .cal-day-cell.today {
      border: 2px solid #FFFFFF !important;
      color: #FFFFFF !important;
    }
    .cal-day-cell.today.completed {
      border: 2px solid #FFFFFF;
      color: #FFFFFF;
    }
    @keyframes flamePop {
      0% { transform: scale(0.6); }
      70% { transform: scale(1.15); }
      100% { transform: scale(1); }
    }

    /* Corpo Rolável com Scroll Isolado (Sem Vazamento para o Viewport Pai) */
    .screen-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      overscroll-behavior-y: contain;
      -webkit-overflow-scrolling: touch !important;
      touch-action: pan-y;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 14px 16px 76px;
    }
    .screen-body::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }
    .screen-body::-webkit-scrollbar-thumb { background: transparent; }

    .tab-content {
      display: none !important;
      opacity: 1;
    }
    .tab-content.active {
      display: block !important;
      animation: none;
    }
    @keyframes tabEnter {
      0% { opacity: 1; transform: none; }
      100% { opacity: 1; transform: none; }
    }

    /* Cards Clean */
    .clean-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      padding: 16px;
      margin-bottom: 14px;
    }

    .section-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.3px;
    }
    .section-sub {
      font-size: 12px;
      color: var(--text-secondary);
      margin-top: 2px;
    }

    /* Resumo Diário (Água & Meta) */
    body.dark-theme .mini-action-btn {
      color: var(--primary);
    }

    /* Composer de Publicação de Foto no Feed */
    .composer-input {
      flex: 1;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 10px 12px;
      font-size: 12px;
      color: var(--text);
      outline: none;
    }
    .composer-preview {
      margin-top: 10px;
      display: none;
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      background: #090D16;
      max-height: 320px;
    }
    .composer-preview img {
      width: 100%;
      height: auto;
      max-height: 320px;
      object-fit: contain;
      filter: none !important;
      display: block;
    }

    /* Post Card no VibeFeed */
    .post-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      margin-bottom: 16px;
    }
    .post-header {
      display: flex;
      align-items: center;
      padding: 14px 16px;
      gap: 10px;
    }
    .post-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid var(--border);
    }

    .post-media {
      position: relative;
      width: 100%;
      min-height: 220px;
      max-height: 520px;
      background: #090D16;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
    }
    .post-media img {
      width: 100%;
      height: auto;
      max-height: 520px;
      object-fit: contain;
      filter: none !important;
      display: block;
    }

    /* Animação de Coração Estilo Instagram (Duplo Clique na Foto) */
    .insta-heart-pop {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      pointer-events: none;
      z-index: 20;
      opacity: 0;
    }
    .insta-heart-pop.animate {
      animation: heartPopKeyframes 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    @keyframes heartPopKeyframes {
      0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
      }
      22% {
        transform: translate(-50%, -50%) scale(1.35);
        opacity: 0.95;
      }
      38% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 1;
      }
      75% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1;
      }
      100% {
        transform: translate(-50%, -50%) scale(1.45);
        opacity: 0;
      }
    }

    .post-nutrition-pill {
      position: absolute;
      bottom: 12px;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100% - 68px);
      max-width: 275px;
      background: rgba(9, 13, 22, 0.78);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 99px;
      padding: 5px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.12);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
      z-index: 5;
      user-select: none;
    }
    .post-workout-telemetry-pill {
      max-width: 220px;
      padding: 5px 14px;
    }

    .macro-item {
      text-align: center;
    }
    .macro-item-lbl {
      font-size: 7.5px;
      text-transform: uppercase;
      font-weight: 800;
      letter-spacing: 0.3px;
      opacity: 0.85;
    }
    .macro-item-val {
      font-size: 11px;
      font-weight: 800;
      margin-top: 0.5px;
    }

    

    .post-body {
      padding: 2px 16px 14px;
      font-size: 13px;
      line-height: 1.45;
      color: var(--text);
    }
    .post-view-comments-btn {
      font-size: 12px;
      color: var(--text-secondary);
      margin-top: 6px;
      cursor: pointer;
      font-weight: 600;
    }
    .post-view-comments-btn:hover {
      color: var(--text);
    }
    .social-btn {
      background: none;
      border: none;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      padding: 6px 4px;
      transition: transform 0.15s ease, color 0.15s ease;
    }
    .social-btn:active {
      transform: scale(0.92);
    }
    .social-btn.liked {
      color: #EF4444;
    }
    .insta-svg-icon {
      display: block;
      transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .social-btn:active .insta-svg-icon {
      transform: scale(1.25);
    }

    /* MODAL DE DETALHES DO POST (INSTAGRAM STYLE COM COMENTÁRIOS ROLANDO) */
    .post-detail-sheet {
      max-height: 90vh;
      height: 86vh;
      display: flex;
      flex-direction: column;
      padding: 12px 0 0;
      overflow: hidden;
      border-radius: 26px 26px 0 0;
    }
    .post-detail-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4px 16px 12px !important;
      border-bottom: 1px solid var(--border);
    }
    .post-detail-user {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .post-detail-scroll {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 0 0 36px !important;
    }
    .post-detail-media-wrap {
      position: relative;
      width: 100%;
      background: #141E19;
      min-height: 200px;
      max-height: 340px;
      border-radius: 0;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .post-detail-img {
      width: 100%;
      height: 100%;
      max-height: 340px;
      object-fit: cover;
      border-radius: 0;
      filter: none !important;
      display: block;
    }
    .post-detail-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 16px 6px;
    }
    .post-detail-likes-line {
      padding: 2px 16px 8px;
      font-size: 12.5px;
      color: var(--text);
      font-weight: 600;
      cursor: pointer;
    }
    .post-detail-caption {
      padding: 0 16px 14px;
      font-size: 13.5px;
      line-height: 1.45;
      color: var(--text);
      border-bottom: 1px solid var(--border);
    }
    .post-detail-comments-section {
      padding: 14px 16px;
    }
    .post-detail-comments-title {
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }
    .detail-comment-item {
      display: flex;
      gap: 10px;
      margin-bottom: 12px;
    }
    .detail-comment-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid var(--border);
    }
    .detail-comment-bubble {
      flex: 1;
      background: var(--surface-subtle);
      border-radius: 14px;
      padding: 8px 12px;
      font-size: 12.5px;
      line-height: 1.4;
    }
    .detail-comment-user {
      font-weight: 700;
      color: var(--text);
      margin-bottom: 2px;
      font-size: 12px;
    }
    .detail-comment-text {
      color: var(--text);
      word-break: break-word;
    }
    .post-detail-input-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px 14px;
      border-top: 1px solid var(--border);
      background: var(--surface);
    }
    .post-detail-input-bar input {
      flex: 1;
      border: 1px solid var(--border);
      background: var(--surface-subtle);
      color: var(--text);
      padding: 10px 12px !important;
      border-radius: 99px;
      font-size: 12.5px !important;
      outline: none;
    }
    .post-detail-input-bar input:focus {
      border-color: var(--primary);
    }
    .detail-send-btn {
      background: none;
      border: none;
      color: var(--primary);
      font-weight: 800;
      font-size: 13.5px;
      cursor: pointer;
      padding: 6px 8px;
    }
    .detail-send-btn:active {
      transform: scale(0.96);
    }

    /* Botão Fechar Suave (Sem borda preta ou visual pesado) */
    .sheet-close-btn {
      background: rgba(148, 163, 184, 0.14);
      border: none;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      color: #64748B;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s ease;
      outline: none;
    }
    .sheet-close-btn:hover {
      background: rgba(148, 163, 184, 0.25);
      color: var(--text);
    }
    .sheet-close-btn:active {
      transform: scale(0.92);
    }

    /* Selos de Identificação: Comida vs Esporte (Clean & Organizado) */

    /* Pílula de Telemetria Atlética Estilo Strava */
    .post-workout-telemetry-pill {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    /* MODAL DE PERFIL DO USUÁRIO (INSTAGRAM / VIBEDIET STYLE) */
    .profile-bio-box {
      margin-bottom: 14px;
    }
    .profile-bio-text {
      font-size: 12.5px;
      color: var(--text-secondary);
      line-height: 1.45;
      margin-bottom: 8px;
    }
    .profile-tag-pill {
      display: inline-flex;
      align-items: center;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 4px 10px;
      font-size: 11px;
      font-weight: 800;
      color: var(--text);
    }
    .profile-feed-grid-title {
      font-size: 12px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-secondary);
      margin-bottom: 10px;
    }
    .profile-feed-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4px;
    }
    .profile-grid-item {
      aspect-ratio: 1 / 1;
      position: relative;
      overflow: hidden;
      border-radius: 6px;
      cursor: pointer;
      background: #090D16;
    }
    .profile-grid-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.25s ease;
    }
    .profile-grid-item:hover img {
      transform: scale(1.05);
    }
    .profile-grid-badge {
      position: absolute;
      top: 4px;
      right: 4px;
      font-size: 11px;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(4px);
      padding: 1px 4px;
      border-radius: 4px;
    }

    /* Badge Dinâmico de Brócolis Compacto e Elegante */

    /* Card Motivacional de Sequência no Perfil - Discreto e Elegante */
    .profile-streak-motivational-card {
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 11px 14px;
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    }

    .profile-section-title {
      font-size: 11.5px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }
    .profile-sports-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    /* Animação Suave e Fechamento Ágil dos Modais de Perfil, Compartilhamento, Zoom e Notificações */
    #userProfileModal, #shareSheetModal, #avatarZoomModal, #notificationsModal {
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transition: opacity 0.14s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.14s;
    }
    #userProfileModal.active, #shareSheetModal.active, #avatarZoomModal.active, #notificationsModal.active {
      transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
    }
    #userProfileModal .modal-sheet, #shareSheetModal .modal-sheet, #notificationsModal .modal-sheet {
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #userProfileModal.active .modal-sheet, #shareSheetModal.active .modal-sheet, #notificationsModal.active .modal-sheet {
      transform: translateY(0);
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* BARRA SUPERIOR DO FEED ESTILO INSTAGRAM */
    .feed-notif-badge {
      position: absolute;
      top: 7px;
      right: 7px;
      width: 8px;
      height: 8px;
      background: #EF4444;
      border-radius: 50%;
      border: 1.5px solid var(--surface);
      display: none;
    }
    .feed-notif-badge.active {
      display: block !important;
    }

    /* Botão de Opções do Post no Feed (Dois Traços Estilo Instagram) */
    .post-more-btn {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      padding: 6px 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      transition: color 0.15s ease, background 0.15s ease;
    }
    .post-more-btn:hover {
      color: var(--text);
      background: var(--surface-subtle);
    }
    .post-more-btn:active {
      transform: scale(0.92);
    }

    /* Modal de Opções da Publicação (Excluir, Editar, Ver Detalhes) */
    .post-options-sheet {
      border-radius: 26px 26px 0 0;
      padding: 12px 18px 26px;
      background: var(--surface);
    }
    .post-option-item {
      width: 100%;
      padding: 14px 16px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--surface-subtle);
      color: var(--text);
      font-size: 13.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      margin-bottom: 8px;
      transition: background 0.15s ease, transform 0.1s ease;
    }
    .post-option-item:active {
      transform: scale(0.98);
      background: var(--border);
    }
    .post-option-item.danger {
      color: #EF4444;
      border-color: rgba(239, 68, 68, 0.25);
      background: rgba(239, 68, 68, 0.06);
    }

    /* Top Bar do Perfil com Nick Centralizado e Selo */
    .profile-top-nick-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 5px;
      cursor: pointer;
      user-select: none;
    }
    .prof-top-nick {
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.3px;
    }

    /* Botão + Adicionar nos Chips do Perfil Refinado (Clean Preto / Neutro) */
    .profile-add-chip-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: var(--surface-subtle);
      color: var(--text);
      border: 1.5px dashed var(--border);
      border-radius: 99px;
      padding: 5px 14px;
      font-size: 11.5px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.18s ease;
    }
    .profile-add-chip-btn:hover {
      background: var(--border);
      border-color: var(--text);
      transform: translateY(-1px);
    }
    .profile-add-chip-btn:active {
      transform: scale(0.96);
    }

    /* Estados de Foguinho Apagado vs Feliz/Aceso (Estilo Chess.com) */
    .header-stat-icon.flame-dimmed,
    .streak-hero-fire.flame-dimmed {
      filter: grayscale(0.85) opacity(0.35) !important;
      animation: none !important;
    }
    .header-stat-icon.flame-active {
      filter: drop-shadow(0 2px 10px rgba(255, 107, 44, 0.7)) !important;
      opacity: 1 !important;
    }
    .streak-hero-fire.flame-active {
      filter: drop-shadow(0 10px 28px rgba(255, 107, 44, 0.8)) !important;
      opacity: 1 !important;
      animation: flameDanceChic 1.8s infinite ease-in-out !important;
    }
    .flame-chic-halo.halo-active {
      opacity: 1 !important;
      animation: haloPulseChic 2.2s infinite alternate ease-in-out !important;
    }
    .flame-chic-halo.halo-dimmed {
      opacity: 0.12 !important;
      animation: none !important;
    }
    .chess-day-box.waiting-claim {
      background: #FFF7ED !important;
      border: 1.8px dashed #EA580C !important;
      color: #EA580C !important;
      font-weight: 800;
      box-shadow: none !important;
      animation: none !important;
      cursor: pointer;
    }
    body.dark-theme .chess-day-box.waiting-claim {
      background: rgba(234, 88, 12, 0.14) !important;
      border: 1.8px dashed #FB923C !important;
      color: #FDBA74 !important;
    }
    @keyframes pulseWaitingBox {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.06); }
    }
    .streak-claim-btn {
      width: 100%;
      padding: 16px 20px;
      border-radius: 18px;
      border: none;
      background: linear-gradient(135deg, #FF6B2C, #FF8E53);
      color: #FFFFFF;
      font-weight: 800;
      font-size: 15.5px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 8px 24px rgba(255, 107, 44, 0.35);
      transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
      margin-top: 14px;
    }
    .streak-claim-btn:active {
      transform: scale(0.98);
      filter: brightness(0.95);
    }
    .streak-claim-btn.claimed {
      background: #0F172A;
      color: #94A3B8;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      cursor: default;
    }

    /* Notificações com Swipe to Delete (Arrastar para o lado para apagar) */
    .notif-swipe-container {
      position: relative;
      overflow: hidden;
      border-radius: 14px;
      margin-bottom: 8px;
      background: #EF4444;
      touch-action: pan-y;
      transition: max-height 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), margin 0.28s ease, opacity 0.28s ease;
    }
    .notif-swipe-bg {
      position: absolute;
      top: 0; right: 0; bottom: 0; width: 100%;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding-right: 18px;
      color: #FFFFFF;
      font-size: 12.5px;
      font-weight: 800;
      gap: 6px;
      user-select: none;
    }
    .notif-swipe-item {
      position: relative;
      background: var(--surface);
      z-index: 2;
      transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .notif-swipe-container.removing {
      max-height: 0 !important;
      margin-bottom: 0 !important;
      opacity: 0 !important;
      padding-top: 0 !important;
      padding-bottom: 0 !important;
    }

    /* P?lulas de Sugest?o de Dist?ncia / M?tricas no Composer */
    .composer-metric-chip {
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 99px;
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
      color: var(--text);
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
    }
    .composer-metric-chip:hover {
      background: var(--border);
    }
    .composer-metric-chip.selected {
      background: var(--primary);
      color: #000;
      border-color: var(--primary);
    }

    /* MODAL DE ATIVIDADE / NOTIFICAÇÕES (INSTAGRAM STYLE EXPANSÍVEL) */
    .notif-sheet {
      border-radius: 28px 28px 0 0;
      padding: 8px 18px 24px;
      height: 75vh;
      max-height: 94vh;
      display: flex;
      flex-direction: column;
      transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .notif-sheet.expanded {
      height: 94vh;
    }
    .notif-drag-bar-wrap {
      padding: 6px 0 4px;
      cursor: pointer;
      display: flex;
      justify-content: center;
      touch-action: none;
    }
    .notif-drag-bar-wrap .modal-drag-bar {
      margin: 0 auto;
    }
    .notif-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 0 12px;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      background: var(--surface);
      z-index: 10;
    }
    .notif-expand-toggle-btn {
      background: none;
      border: 1px solid var(--border);
      color: var(--text-secondary);
      border-radius: 50%;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease, transform 0.25s ease;
    }
    .notif-expand-toggle-btn:hover {
      background: var(--surface-subtle);
      color: var(--text);
    }
    .notif-expand-toggle-btn:active {
      transform: scale(0.92);
    }
    .notif-scroll-list {
      flex: 1;
      overflow-y: auto;
      overscroll-behavior-y: contain;
      -webkit-overflow-scrolling: touch;
      padding-top: 10px;
      padding-bottom: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .notif-section-title {
      font-size: 11.5px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-secondary);
      margin-top: 6px;
    }
    .notif-item {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      padding: 4px 0;
      transition: opacity 0.15s ease;
    }
    .notif-item:active {
      opacity: 0.75;
    }
    .notif-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid var(--border);
    }
    .notif-content {
      flex: 1;
      min-width: 0;
      font-size: 12.5px;
      line-height: 1.4;
      color: var(--text);
    }
    .notif-user {
      font-weight: 800;
      color: var(--text);
    }
    .notif-time {
      font-size: 11px;
      color: var(--text-secondary);
      margin-top: 2px;
    }
    .notif-thumb {
      width: 42px;
      height: 42px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid var(--border);
    }
    .notif-follow-btn {
      padding: 6px 14px;
      font-size: 12px;
      font-weight: 700;
      border-radius: 10px;
      border: 1px solid var(--border);
      background: var(--surface-subtle);
      color: var(--text);
      cursor: pointer;
      flex-shrink: 0;
      transition: background 0.15s ease;
    }

    /* MODAL DE ZOOM DO AVATAR ESTILO INSTAGRAM */
    #avatarZoomModal {
      background: rgba(0, 0, 0, 0.86);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10005;
    }
    .avatar-zoom-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      max-width: 90vw;
      position: relative;
      transform: scale(0.85);
      opacity: 0;
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }
    #avatarZoomModal.active .avatar-zoom-container {
      transform: scale(1);
      opacity: 1;
    }
    .avatar-zoom-frame {
      width: 260px;
      height: 260px;
      border-radius: 50%;
      padding: 0;
      background: transparent;
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border: 2px solid rgba(255, 255, 255, 0.2);
    }
    .avatar-zoom-img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      background: #111;
      border: none;
    }
    .avatar-zoom-info {
      text-align: center;
    }
    .avatar-zoom-name {
      font-size: 18px;
      font-weight: 800;
      color: #FFFFFF;
      letter-spacing: -0.2px;
    }
    .avatar-zoom-handle {
      font-size: 13px;
      color: var(--text-secondary);
      margin-top: 3px;
      font-weight: 600;
    }
    .avatar-zoom-close {
      position: absolute;
      top: -46px;
      right: 0;
      background: rgba(255, 255, 255, 0.12);
      color: #FFFFFF;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, 0.18);
      cursor: pointer;
      transition: background 0.2s ease, transform 0.15s ease;
    }
    .avatar-zoom-close:hover {
      background: rgba(255, 255, 255, 0.24);
    }
    .avatar-zoom-close:active {
      transform: scale(0.92);
    }

    /* MODAL DE COMPARTILHAMENTO (AVIÃOZINHO INSTAGRAM) */
    .share-sheet {
      border-radius: 28px 28px 0 0;
      padding: 14px 18px 28px;
      max-height: 82vh;
      display: flex;
      flex-direction: column;
    }
    .share-sheet-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border);
    }
    .share-post-preview {
      display: flex;
      align-items: center;
      gap: 12px;
      background: var(--surface-subtle);
      padding: 10px 12px;
      border-radius: 14px;
      margin: 14px 0;
      border: 1px solid var(--border);
    }
    .share-preview-thumb {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .share-send-btn {
      background: linear-gradient(135deg, #00C86F, #00E676);
      color: #fff;
      border: none;
      border-radius: 99px;
      padding: 6px 14px;
      font-size: 12px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .share-send-btn.sent {
      background: var(--surface-subtle);
      color: var(--text-secondary);
      border: 1px solid var(--border);
    }
    .share-apps-grid {
      display: flex;
      justify-content: space-around;
      gap: 10px;
      margin-top: 10px;
      padding-top: 6px;
    }
    .share-app-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }
    .share-app-icon {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.15s ease;
    }
    .share-app-icon:active {
      transform: scale(0.92);
    }
    .share-app-label {
      font-size: 10.5px;
      font-weight: 700;
      color: var(--text-secondary);
    }

    /* Botões Principais */
    .btn-main {
      width: 100%;
      padding: 14px 16px;
      border-radius: 16px;
      border: none;
      background: linear-gradient(135deg, #00C86F 0%, #00E676 100%);
      color: #FFFFFF;
      font-weight: 800;
      font-size: 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 6px 20px rgba(0, 200, 111, 0.35);
      transition: transform 0.15s ease, filter 0.15s ease;
    }
    .btn-main:active { transform: scale(0.98); }

    /* Botão Salvar Metas & Recalcular Plano no Padrão Warm Stone / Liquid Glass */
    .btn-recalculate-goals {
      background: #09090B !important;
      color: #FFFFFF !important;
      border: none !important;
      box-shadow: 0 10px 24px -4px rgba(9, 9, 11, 0.22) !important;
    }
    .btn-recalculate-goals:hover {
      background: #18181B !important;
    }
    .goal-focus-btn {
      background: transparent !important;
      border: none !important;
      color: #71717A !important;
      font-weight: 600 !important;
      border-radius: 12px !important;
      transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
      box-shadow: none !important;
    }
    .goal-focus-btn.active {
      background: #FFFFFF !important;
      border: none !important;
      color: #09090B !important;
      font-weight: 800 !important;
      box-shadow: 0 2px 8px rgba(9, 9, 11, 0.08), 0 1px 2px rgba(9, 9, 11, 0.04) !important;
    }
    .bio-act-pill {
      padding: 9px 6px;
      border-radius: 13px;
      border: 1px solid #F1F5F9;
      background: #F8FAFC;
      color: #64748B;
      font-size: 11.5px;
      font-weight: 600;
      cursor: pointer;
      text-align: center;
      transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .bio-act-pill.active {
      border-color: #09090B;
      background: #09090B;
      color: #FFFFFF;
      font-weight: 700;
      box-shadow: 0 4px 10px rgba(9, 9, 11, 0.12);
    }
    .btn-recalculate-goals:active {
      transform: scale(0.985);
      filter: brightness(0.94);
    }

    .btn-secondary {
      background: var(--surface-subtle);
      color: var(--text);
      border: 1px solid var(--border);
      padding: 9px 14px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
    }

    /* VibeLens Scanner */

    .ingredient-card {
      background: var(--surface-subtle);
      border-radius: 14px;
      padding: 12px 14px;
      margin-bottom: 10px;
      border: 1px solid var(--border);
    }
    .ing-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
    }
    .ing-weight {
      color: var(--accent);
      background: var(--accent-soft);
      padding: 2px 8px;
      border-radius: 8px;
      font-size: 12px;
    }
    .ing-slider {
      width: 100%;
      margin: 10px 0 6px;
      accent-color: var(--primary);
      cursor: pointer;
    }
    .ing-macros {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--text-secondary);
      font-weight: 600;
    }

    /* ==========================================================================
       PÓDIO RANKING 3D ESTILOSO & GAMIFICADO (TOP-TIER)
       ========================================================================== */
    @keyframes crownBob {
      0%, 100% { transform: translateY(0) rotate(-2deg); }
      50% { transform: translateY(-5px) rotate(2deg); }
    }

    .podium-container {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      gap: 12px;
      padding: 18px 6px 6px;
      margin: 10px 0 24px;
      position: relative;
      perspective: 900px;
    }
    .podium-container::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 6%;
      right: 6%;
      height: 24px;
      background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.22) 0%, rgba(0, 200, 111, 0.15) 45%, transparent 75%);
      filter: blur(10px);
      pointer-events: none;
      z-index: 0;
    }
    .podium-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      flex: 1;
      position: relative;
      z-index: 1;
      cursor: pointer;
      transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .podium-step:hover {
      transform: translateY(-5px);
    }
    .podium-step:active {
      transform: translateY(-2px) scale(0.98);
    }

    .podium-avatar-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 6px;
    }
    .podium-avatar {
      border-radius: 50%;
      object-fit: cover;
      display: block;
      transition: transform 0.2s ease;
    }
    .podium-medal-badge {
      position: absolute;
      bottom: -3px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10.5px;
      font-weight: 900;
      border: 2px solid var(--surface);
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
      z-index: 2;
    }
    .podium-crown-3d {
      font-size: 24px;
      line-height: 1;
      filter: drop-shadow(0 3px 8px rgba(245, 158, 11, 0.7));
      animation: crownBob 2.6s ease-in-out infinite;
      margin-bottom: -5px;
      z-index: 3;
    }

    /* Step 1: Ouro / Campeão */
    .step-1 {
      z-index: 2;
    }
    .step-1 .podium-avatar {
      width: 68px;
      height: 68px;
      border: 2.5px solid #FFFFFF;
      box-shadow: 0 0 0 3.5px #F59E0B, 0 0 16px rgba(245, 158, 11, 0.5), 0 10px 22px rgba(0, 0, 0, 0.35);
    }
    .step-1 .podium-medal-badge {
      background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
      color: #78350F;
    }

    /* Step 2: Prata */
    .step-2 .podium-avatar {
      width: 56px;
      height: 56px;
      border: 2px solid #FFFFFF;
      box-shadow: 0 0 0 3px #94A3B8, 0 0 12px rgba(148, 163, 184, 0.35), 0 8px 18px rgba(0, 0, 0, 0.25);
    }
    .step-2 .podium-medal-badge {
      background: linear-gradient(135deg, #F1F5F9 0%, #94A3B8 100%);
      color: #1E293B;
    }

    /* Step 3: Bronze */
    .step-3 .podium-avatar {
      width: 52px;
      height: 52px;
      border: 2px solid #FFFFFF;
      box-shadow: 0 0 0 3px #D97706, 0 0 12px rgba(217, 119, 6, 0.35), 0 8px 16px rgba(0, 0, 0, 0.25);
    }
    .step-3 .podium-medal-badge {
      background: linear-gradient(135deg, #FDBA74 0%, #D97706 100%);
      color: #431407;
    }

    /* Nomes e Pontuações do Pódio */
    .podium-user-name {
      font-size: 11.5px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.2px;
      margin-bottom: 2px;
      max-width: 90px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .step-1 .podium-user-name {
      font-size: 13px;
      font-weight: 900;
    }

    .podium-points-pill {
      font-size: 10px;
      font-weight: 800;
      padding: 2px 7px;
      border-radius: 99px;
      margin-bottom: 6px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      line-height: 1.2;
    }
    .podium-points-pill.gold {
      background: rgba(245, 158, 11, 0.16);
      color: #D97706;
      border: 1px solid rgba(245, 158, 11, 0.35);
    }
    body.dark-theme .podium-points-pill.gold {
      color: #FCD34D;
      background: rgba(245, 158, 11, 0.22);
    }
    .podium-points-pill.silver {
      background: rgba(148, 163, 184, 0.16);
      color: #475569;
      border: 1px solid rgba(148, 163, 184, 0.3);
    }
    body.dark-theme .podium-points-pill.silver {
      color: #E2E8F0;
    }
    .podium-points-pill.bronze {
      background: rgba(217, 119, 6, 0.14);
      color: #B45309;
      border: 1px solid rgba(217, 119, 6, 0.3);
    }
    body.dark-theme .podium-points-pill.bronze {
      color: #FDBA74;
    }

    /* Blocos Pedestais 3D */
    .podium-box {
      width: 100%;
      border-radius: 18px 18px 8px 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 10px;
      position: relative;
      overflow: hidden;
      box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.4), 0 14px 26px -6px rgba(0, 0, 0, 0.35);
      border: 1.5px solid transparent;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .podium-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.1) 100%);
    }
    .podium-rank-num {
      font-size: 32px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -1px;
    }
    .podium-rank-sub {
      font-size: 8.5px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      margin-top: 2px;
      opacity: 0.85;
    }

    /* 1º Lugar - Pedestal Ouro 3D */
    .step-1 .podium-box {
      height: 112px;
      background: linear-gradient(180deg, rgba(245, 158, 11, 0.28) 0%, rgba(217, 119, 6, 0.16) 60%, rgba(180, 83, 9, 0.08) 100%);
      border-color: rgba(245, 158, 11, 0.5);
      color: #D97706;
    }
    body.dark-theme .step-1 .podium-box {
      background: linear-gradient(180deg, rgba(245, 158, 11, 0.32) 0%, rgba(180, 83, 9, 0.22) 60%, rgba(24, 24, 27, 0.8) 100%);
      border-color: rgba(245, 158, 11, 0.6);
      color: #FCD34D;
    }
    .step-1 .podium-rank-num {
      font-size: 38px;
      color: #F59E0B;
      text-shadow: 0 2px 0 #B45309, 0 4px 12px rgba(245, 158, 11, 0.5);
    }
    body.dark-theme .step-1 .podium-rank-num {
      color: #FDE047;
      text-shadow: 0 2px 0 #92400E, 0 4px 14px rgba(245, 158, 11, 0.6);
    }

    /* 2º Lugar - Pedestal Prata 3D */
    .step-2 .podium-box {
      height: 84px;
      background: linear-gradient(180deg, rgba(148, 163, 184, 0.22) 0%, rgba(100, 116, 139, 0.12) 60%, rgba(51, 65, 85, 0.05) 100%);
      border-color: rgba(148, 163, 184, 0.4);
      color: #475569;
    }
    body.dark-theme .step-2 .podium-box {
      background: linear-gradient(180deg, rgba(148, 163, 184, 0.24) 0%, rgba(71, 85, 105, 0.2) 60%, rgba(24, 24, 27, 0.8) 100%);
      border-color: rgba(148, 163, 184, 0.5);
      color: #E2E8F0;
    }
    .step-2 .podium-rank-num {
      font-size: 30px;
      color: #64748B;
      text-shadow: 0 2px 0 #334155, 0 3px 8px rgba(100, 116, 139, 0.4);
    }
    body.dark-theme .step-2 .podium-rank-num {
      color: #E2E8F0;
      text-shadow: 0 2px 0 #475569, 0 3px 8px rgba(148, 163, 184, 0.4);
    }

    /* 3º Lugar - Pedestal Bronze 3D */
    .step-3 .podium-box {
      height: 66px;
      background: linear-gradient(180deg, rgba(217, 119, 6, 0.2) 0%, rgba(180, 83, 9, 0.1) 60%, rgba(120, 53, 15, 0.04) 100%);
      border-color: rgba(217, 119, 6, 0.38);
      color: #9A3412;
    }
    body.dark-theme .step-3 .podium-box {
      background: linear-gradient(180deg, rgba(217, 119, 6, 0.22) 0%, rgba(120, 53, 15, 0.2) 60%, rgba(24, 24, 27, 0.8) 100%);
      border-color: rgba(217, 119, 6, 0.48);
      color: #FDBA74;
    }
    .step-3 .podium-rank-num {
      font-size: 26px;
      color: #D97706;
      text-shadow: 0 2px 0 #78350F, 0 3px 8px rgba(217, 119, 6, 0.4);
    }
    body.dark-theme .step-3 .podium-rank-num {
      color: #FDBA74;
      text-shadow: 0 2px 0 #7C2D12, 0 3px 8px rgba(217, 119, 6, 0.4);
    }

    /* Botão Limpo de Convidar Amigos */
    .club-invite-action-pill-btn {
      width: 100%;
      padding: 12px 18px;
      border-radius: 99px;
      background: var(--surface);
      border: 1.5px solid var(--border);
      color: var(--text);
      font-size: 13.5px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 16px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .club-invite-action-pill-btn:hover {
      border-color: var(--primary);
      transform: translateY(-1px);
      box-shadow: 0 4px 14px rgba(0, 200, 111, 0.15);
    }
    .club-invite-action-pill-btn:active {
      transform: scale(0.98);
      background: var(--surface-subtle);
    }

    /* Barra de Navegação Inferior Fixa, Compacta e Harmônica */
    .bottom-nav {
      position: absolute;
      bottom: 0 !important;
      left: 0;
      right: 0;
      min-height: 56px;
      height: auto;
      background: var(--nav-bg);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-top: 1px solid var(--border);
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 5px 10px max(15px, min(24px, calc(env(safe-area-inset-bottom, 0px) * 0.68 + 8px)));
      z-index: 45;
      flex-shrink: 0;
    }
    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      color: var(--text-secondary);
      font-size: 10.5px;
      font-weight: 600;
      cursor: pointer;
      background: none;
      border: none;
      flex: 1;
      padding: 3px 0 2px;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-item:active {
      transform: scale(0.92);
    }
    .nav-item.active {
      color: var(--primary);
      font-weight: 800;
    }
    .nav-item.active span:first-child,
    .nav-item.active svg {
      transform: translateY(-1px) scale(1.1);
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* VIBELENS FAB - BOTÃO CENTRAL DE CÂMERA CLEAN (WARM STONE & ELEVATED IVORY) */
    .vb-fab-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: linear-gradient(180deg, #FFFFFF 0%, #EFECE6 100%);
      border: 1.5px solid #D8D2C5;
      box-shadow: 0 8px 20px -4px rgba(28, 25, 23, 0.14), 0 2px 6px rgba(28, 25, 23, 0.06), inset 0 1px 0 #FFFFFF;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      margin-top: -8px;
      color: #1D1D1F;
      transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .vb-fab-btn:active {
      transform: scale(0.92);
      background: #E8E3D9;
      box-shadow: 0 3px 10px rgba(28, 25, 23, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    .vb-fab-btn:hover {
      border-color: #C7C0B2;
      box-shadow: 0 10px 24px -4px rgba(28, 25, 23, 0.18), inset 0 1px 0 #FFFFFF;
    }
    .vb-fab-icon-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }
    .vb-fab-svg {
      color: #FFFFFF;
      width: 24px;
      height: 24px;
      filter: none;
      transition: transform 0.25s ease;
    }
    .vb-fab-btn:hover .vb-fab-svg {
      transform: scale(1.06);
    }

    /* Modais Globais Perfeitamente Alinhados e Sobrepostos */
    .modal-overlay {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 200000;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: opacity 0.14s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.14s;
    }
    .modal-overlay.active {
      opacity: 1;
      pointer-events: auto;
      visibility: visible;
      transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
    }
    .modal-sheet {
      width: 100%;
      max-width: 468px;
      margin: 0 auto;
      background: var(--surface);
      border-radius: 32px 32px 0 0;
      padding: 16px 20px 34px;
      border-top: 1px solid var(--border);
      max-height: 88%;
      overflow-y: auto;
      transform: translateY(100%);
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
      will-change: transform;
    }
    .modal-overlay.active .modal-sheet {
      transform: translateY(0);
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .modal-drag-bar {
      width: 44px;
      height: 5px;
      background: var(--border);
      border-radius: 99px;
      margin: 0 auto 16px;
      transition: background 0.2s;
    }
    /* Acessibilidade de foco visível via teclado e responsividade para telas pequenas (320px-380px) */
    .modal-sheet :focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: 2.5px solid #10B981 !important;
      outline-offset: 2px !important;
    }
    @media (max-width: 380px) {
      .modal-sheet {
        padding-left: 14px !important;
        padding-right: 14px !important;
        border-radius: 24px 24px 0 0 !important;
        max-height: 92dvh !important;
      }
      #vibeInAppReminderBanner {
        margin-left: 10px !important;
        margin-right: 10px !important;
        padding: 10px 12px !important;
      }
    }
    /* SPLASH SCREEN ELEGANTE COM EFEITO META INSTAGRAM (ZERO LAYOUT SHIFT / 100SVH LOCK) */
    .vibe-splash-screen {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      height: 100svh !important;
      background: #FFFFFF !important;
      box-shadow: 0 0 0 240px #FFFFFF !important;
      z-index: 999999 !important;
      display: block !important;
      padding: 0 !important;
      margin: 0 !important;
      opacity: 1;
      visibility: visible;
      transform: translate3d(0, 0, 0);
      backface-visibility: hidden;
      -webkit-font-smoothing: antialiased;
      will-change: opacity;
      contain: layout style;
      transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1) !important;
      animation: none !important;
    }
    .vibe-splash-screen.fade-out {
      opacity: 0 !important;
      transform: translate3d(0, 0, 0) !important;
      visibility: visible !important;
      pointer-events: none !important;
      animation: none !important;
    }
    .vibe-splash-screen.fade-out .splash-center {
      opacity: 0 !important;
      transform: translate3d(-50%, -50%, 0) scale(0.975) !important;
      transition: opacity 0.38s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .vibe-splash-screen.splash-gone {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      animation: none !important;
    }
    .splash-center {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      width: auto !important;
      height: 42px !important;
      margin: 0 !important;
      padding: 0 !important;
      display: inline-flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 11px !important;
      transform: translate3d(-50%, -50%, 0) !important;
      backface-visibility: hidden;
    }
    @keyframes splashScaleIn {
      0% { opacity: 1; transform: translate3d(-50%, -50%, 0); }
      100% { opacity: 1; transform: translate3d(-50%, -50%, 0); }
    }
    .splash-logo-img {
      width: 38px !important;
      height: 33px !important;
      min-width: 38px !important;
      min-height: 33px !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      margin: 0 !important;
      object-fit: contain !important;
      display: block !important;
      flex-shrink: 0 !important;
      transform: translateZ(0);
    }
    .splash-brand-text {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
      font-size: 31px !important;
      font-weight: 800 !important;
      height: 36px !important;
      line-height: 36px !important;
      color: #09090B !important;
      letter-spacing: -0.035em !important;
      margin: 0 !important;
      padding: 0 !important;
      flex-shrink: 0 !important;
      white-space: nowrap !important;
    }
    .splash-brand-text span {
      color: #09090B !important;
    }
    .splash-footer {
      display: none !important;
    }
    @keyframes splashFooterFade {
      0% { opacity: 1; transform: none; }
      100% { opacity: 1; transform: none; }
    }
    .splash-from-text {
      font-size: 11px;
      color: #64748B;
      text-transform: lowercase;
      letter-spacing: 1px;
      margin-bottom: 2px;
    }
    .splash-footer-brand {
      font-size: 13px;
      font-weight: 800;
      color: #F8FAFC;
      letter-spacing: 2px;
    }

    /* CABEÇALHO CENTRALIZADO COM FOGO À ESQUERDA E BRÓCOLIS À DIREITA */
    .app-header {
      padding: 12px 18px 10px;
      position: relative;
    }

    /* EMPTY FEED STATE (QUANDO NÃO HÁ POSTS) */
    .empty-feed-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 38px 24px;
      text-align: center;
      margin: 20px 0;
      box-shadow: var(--shadow-sm);
    }
    .empty-feed-icon {
      font-size: 42px;
      margin-bottom: 12px;
    }
    .empty-feed-title {
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 6px;
    }
    .empty-feed-sub {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.45;
      max-width: 300px;
      margin: 0 auto 20px;
    }
    .empty-feed-cta {
      max-width: 280px;
      margin: 0 auto;
    }

    /* FORMULÁRIO INTELIGENTE DA ABA DE NOVO REGISTRO (+) */
    .activity-inputs-card {
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 12px;
      margin-bottom: 12px;
    }
    .activity-inputs-label {
      font-size: 11px;
      font-weight: 800;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.4px;
      margin-bottom: 8px;
    }
    .activity-macros-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      margin-top: 8px;
    }
    .macro-input-mini {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 6px 4px;
      text-align: center;
    }
    .macro-input-mini label {
      display: block;
      font-size: 9.5px;
      font-weight: 700;
      color: var(--text-secondary);
      margin-bottom: 2px;
    }
    .macro-input-mini input {
      width: 100%;
      border: none;
      background: transparent;
      text-align: center;
      font-family: var(--font-num);
      font-weight: 800;
      font-size: 13px;
      color: var(--text);
      outline: none;
    }

    /* NAVEGAÇÃO INFERIOR COM AVATAR DO PERFIL */

    /* ==========================================================================
       TELA DE CONFIGURAÇÕES ESTILO APPLE / NIKE RUN CLUB (ALINHADA À TELA DO APP)
       ========================================================================== */
    #profileSettingsModal {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      background: #F4F4F7;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      opacity: 0;
      visibility: hidden;
      border-radius: inherit;
      overflow: hidden;
      transform: translateX(100%);
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.14s ease, visibility 0.14s;
    }
    body.dark-theme #profileSettingsModal {
      background: #000000;
    }
    #profileSettingsModal.active {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
      transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s;
    }

    /* TELA CHEIA MINIMALISTA: FOTOS DE PROGRESSO (ESTILO CAL AI) */
    #progressPhotosFullScreenModal {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      background: #FAFAFC;
      z-index: 1200;
      display: flex;
      flex-direction: column;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      border-radius: inherit;
      overflow: hidden;
      transform: translateX(100%);
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.14s ease, visibility 0.14s;
    }
    body.dark-theme #progressPhotosFullScreenModal {
      background: #0D1310;
    }
    #progressPhotosFullScreenModal.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(0);
      transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s ease, visibility 0.18s;
    }

    .settings-top-nav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 54px;
      padding: 0 16px;
      background: rgba(250, 248, 245, 0.84);
      backdrop-filter: blur(24px) saturate(185%);
      -webkit-backdrop-filter: blur(24px) saturate(185%);
      border-bottom: 1px solid rgba(24, 34, 29, 0.06);
      flex-shrink: 0;
      position: relative;
      z-index: 5;
    }
    body.dark-theme .settings-top-nav-bar {
      background: rgba(20, 20, 20, 0.86);
      border-bottom-color: rgba(255, 255, 255, 0.08);
    }
    .settings-back-btn {
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(24, 34, 29, 0.07);
      border-radius: 999px;
      color: #1D1D1F;
      display: flex;
      align-items: center;
      gap: 3px;
      cursor: pointer;
      padding: 6px 12px 6px 8px;
      font-size: 13.5px;
      font-weight: 700;
      user-select: none;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease;
    }
    body.dark-theme .settings-back-btn {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.1);
      color: #F5F5F7;
    }
    .settings-back-btn:active {
      transform: scale(0.95);
      opacity: 0.75;
    }
    .settings-top-title {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-size: 16px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.025em;
    }

    .settings-scroll-body {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      padding: 14px 16px 56px;
      background: #F4F3EF;
    }
    body.dark-theme .settings-scroll-body {
      background: #0B0D0C;
    }

    .settings-section-label {
      font-size: 11px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: #6E6E73;
      padding: 0 10px 7px;
      margin-top: 2px;
    }
    body.dark-theme .settings-section-label {
      color: #8E8E93;
    }

    /* GRUPOS DE ITENS ESTILO APPLE iOS 18 LIQUID GLASS INSET GROUPED (MONOCHROME EDITORIAL) */
    .settings-group-card {
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%);
      backdrop-filter: blur(26px) saturate(160%);
      -webkit-backdrop-filter: blur(26px) saturate(160%);
      border: 1px solid rgba(29, 29, 31, 0.07);
      border-radius: 20px;
      box-shadow:
        0 8px 24px -10px rgba(0, 0, 0, 0.06),
        0 2px 5px rgba(0, 0, 0, 0.025),
        inset 0 1px 1px rgba(255, 255, 255, 0.98);
      margin-bottom: 0;
      overflow: hidden;
    }
    body.dark-theme .settings-group-card {
      background: rgba(24, 24, 26, 0.9);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
    }

    .settings-section-spacer {
      height: 16px;
      width: 100%;
    }

    .settings-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 54px;
      padding: 12px 15px;
      border-bottom: 1px solid rgba(29, 29, 31, 0.06);
      cursor: pointer;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      transition: background 0.15s ease, transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.dark-theme .settings-row {
      border-bottom-color: rgba(255, 255, 255, 0.06);
    }
    .settings-row:last-child {
      border-bottom: none;
    }
    .settings-row:active {
      background: rgba(29, 29, 31, 0.045);
      transform: scale(0.992);
    }
    body.dark-theme .settings-row:active {
      background: rgba(255, 255, 255, 0.06);
    }

    .settings-row-left {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
      flex: 1;
    }

    .settings-icon-badge {
      width: 34px;
      height: 34px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: #F3F2EE;
      border: 1px solid rgba(29, 29, 31, 0.08);
      color: #1D1D1F;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }
    body.dark-theme .settings-icon-badge {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.1);
      color: #F5F5F7;
    }

    .settings-row-title {
      font-size: 14px;
      font-weight: 700;
      color: #1D1D1F;
      letter-spacing: -0.015em;
      line-height: 1.25;
    }
    body.dark-theme .settings-row-title {
      color: #F5F5F7;
    }
    .settings-row-subtitle {
      font-size: 11.5px;
      font-weight: 500;
      color: #6E6E73;
      margin-top: 2px;
      line-height: 1.25;
    }
    body.dark-theme .settings-row-subtitle {
      color: #98989F;
    }
    .settings-row-right {
      display: flex;
      align-items: center;
      gap: 7px;
      color: #6E6E73;
      font-size: 12.5px;
      flex-shrink: 0;
    }
    body.dark-theme .settings-row-right {
      color: #98989F;
    }
    .settings-row-value {
      font-size: 12.5px;
      font-weight: 600;
      color: #6E6E73;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 175px;
    }
    body.dark-theme .settings-row-value {
      color: #98989F;
    }
    .settings-pill-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 800;
      letter-spacing: -0.01em;
    }
    .settings-chevron {
      width: 15px;
      height: 15px;
      stroke: #AEAEB2;
      fill: none;
      stroke-width: 2.4;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }
    body.dark-theme .settings-chevron {
      stroke: #545458;
    }

    /* DIETA COM ALMA: DIAS DA SEMANA & DIA DO LIXO & ACCORDION */
    .diet-days-scroll {
      display: flex;
      gap: 6px;
      overflow-x: auto;
      padding: 4px 2px 14px;
      scrollbar-width: none;
    }
    .diet-days-scroll::-webkit-scrollbar {
      display: none;
    }
    .diet-day-chip {
      flex: 1;
      min-width: 44px;
      padding: 8px 4px;
      border-radius: 14px;
      background: #FAF8F5;
      border: 1px solid #E4DFD5;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .diet-day-chip.active {
      background: #EFECE6 !important;
      border-color: #CFC8BC !important;
      color: #1D1D1F !important;
      box-shadow: 0 3px 10px rgba(28, 25, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
    }
    .diet-day-chip.active .diet-day-lbl {
      color: #78756E !important;
    }
    .diet-day-chip.active .diet-day-name {
      color: #1D1D1F !important;
      font-weight: 800 !important;
    }
    body.dark-theme .diet-day-chip.active {
      background: #FFFFFF !important;
      border-color: #FFFFFF !important;
      color: #0F172A !important;
    }
    body.dark-theme .diet-day-chip.active .diet-day-lbl {
      color: rgba(15, 23, 42, 0.7) !important;
    }
    body.dark-theme .diet-day-chip.active .diet-day-name {
      color: #0F172A !important;
      font-weight: 800 !important;
    }
    .diet-day-lbl {
      font-size: 10px;
      font-weight: 700;
      color: #8C857B;
      text-transform: uppercase;
    }
    .diet-day-name {
      font-size: 12px;
      font-weight: 700;
      color: var(--text);
      margin-top: 2px;
    }
    .diet-cheat-card {
      background: linear-gradient(135deg, rgba(255, 122, 61, 0.08), rgba(245, 158, 11, 0.04));
      border: 1px solid rgba(255, 122, 61, 0.25);
      border-radius: 20px;
      padding: 20px;
      margin-bottom: 14px;
      text-align: center;
    }
    .diet-meal-accordion {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      margin-bottom: 10px;
      overflow: hidden;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .diet-meal-accordion.open {
      border-color: #CFC8BC !important;
      box-shadow: 0 4px 18px rgba(28, 25, 23, 0.08) !important;
    }
    body.dark-theme .diet-meal-accordion.open {
      border-color: rgba(255, 255, 255, 0.45) !important;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
    }
    .diet-meal-header {
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      user-select: none;
    }
    .diet-meal-header-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .diet-meal-time {
      font-size: 11px;
      font-weight: 700;
      color: #57534E;
      background: #F4F1EA;
      padding: 3px 7px;
      border-radius: 8px;
      border: 1px solid #E4DFD5;
    }
    .diet-meal-title {
      font-size: 14px;
      font-weight: 800;
      color: var(--text);
    }
    .diet-meal-header-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .diet-meal-cals {
      font-size: 13.5px;
      font-weight: 900 !important;
      color: #1D1D1F !important;
      letter-spacing: -0.2px;
    }
    body.dark-theme .diet-meal-cals {
      color: #FFFFFF !important;
    }
    .diet-meal-chevron {
      transition: transform 0.25s ease;
      color: var(--text-secondary);
    }
    .diet-meal-accordion.open .diet-meal-chevron {
      transform: rotate(180deg);
    }
    .diet-meal-body {
      display: none;
      padding: 0 16px 16px;
      border-top: 1px solid var(--border);
      animation: accordionFadeIn 0.25s ease;
    }
    .diet-meal-accordion.open .diet-meal-body {
      display: block;
    }
    @keyframes accordionFadeIn {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .diet-nutri-tip {
      background: #FAF8F5;
      border-left: 3px solid #8C857B;
      padding: 11px 13px;
      border-radius: 0 12px 12px 0;
      font-size: 11.5px;
      color: var(--text);
      line-height: 1.45;
      margin: 12px 0 14px;
    }
    body.dark-theme .diet-nutri-tip {
      border-left-color: #64748B;
    }

    /* ABAS SEGMENTADAS DA DIETA (ESTILO CLUBE) */
    .diet-segmented-tabs {
      display: flex;
      gap: 26px;
      border-bottom: 1px solid var(--border);
      padding: 0 4px;
      margin-bottom: 16px;
    }
    .diet-seg-tab {
      background: transparent;
      border: none;
      padding: 8px 2px 10px;
      font-size: 14.5px;
      font-weight: 700;
      color: var(--text-secondary);
      cursor: pointer;
      position: relative;
      transition: color 0.15s ease;
    }
    .diet-seg-tab.active {
      color: var(--text);
      font-weight: 800;
    }
    .diet-seg-tab.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      height: 2.5px;
      background: var(--text);
      border-radius: 99px;
    }

    /* CALCULADORA DE EQUIVALÊNCIA MODERNA */
    .equiv-calc-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 18px 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }
    .equiv-cat-selector {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      margin: 10px 0 16px;
      background: #F1F5F9;
      border: 1px solid #E2E8F0;
      border-radius: 18px;
      padding: 5px;
    }
    .equiv-cat-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 10px 12px;
      border-radius: 13px;
      background: transparent;
      border: 1px solid transparent;
      color: #64748B;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .equiv-cat-btn.active {
      background: #09090B;
      color: #FFFFFF;
      border-color: #09090B;
      font-weight: 800;
      box-shadow: 0 4px 12px rgba(9, 9, 11, 0.16);
    }
    body.dark-theme .equiv-cat-btn.active {
      background: #FFFFFF;
      color: #0F172A;
      border-color: #FFFFFF;
    }
    .equiv-select-box {
      width: 100%;
      max-width: 100%;
      display: block;
      padding: 13px 14px;
      border-radius: 14px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text);
      font-size: 13.5px !important;
      font-weight: 700;
      line-height: 1.35;
      outline: none;
      box-sizing: border-box;
      text-overflow: ellipsis;
    }
    .equiv-macro-subbadge {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-top: 6px;
      padding: 8px 12px;
      border-radius: 12px;
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      font-size: 11.5px;
      font-weight: 700;
      color: #475569;
    }
    .equiv-result-card {
      margin-top: 16px;
      background: #F8FAFC;
      color: #09090B;
      border-radius: 20px;
      padding: 0;
      border: none;
      animation: fadeInEquiv 0.25s ease;
    }
    body.dark-theme .equiv-result-card {
      background: #131B2E;
      border-color: rgba(255, 255, 255, 0.12);
    }
    @keyframes fadeInEquiv {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .equiv-result-headline {
      font-size: 16px;
      font-weight: 900;
      color: #1D1D1F;
      letter-spacing: -0.3px;
      margin-bottom: 4px;
    }
    .equiv-result-diff-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 11.5px;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 99px;
      background: #EFECE6;
      color: #1D1D1F;
      margin-top: 6px;
    }

    /* BOTÃO REGISTRAR REFEIÇÃO SLIM COM ÍCONE VETORIAL DE CÂMERA */
    .diet-register-meal-btn {
      width: 100%;
      margin-top: 12px;
      padding: 11px 14px;
      border-radius: 13px;
      background: linear-gradient(180deg, #F6F3EC 0%, #EBE6DC 100%);
      color: #1D1D1F;
      border: 1px solid #DCD6C8;
      box-shadow: 0 3px 10px -2px rgba(28, 25, 23, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
      font-size: 12px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .diet-register-meal-btn:hover {
      background: #EFECE6;
      transform: translateY(-1px);
    }
    body.dark-theme .diet-register-meal-btn {
      background: #FFFFFF;
      color: #0F172A;
      border-color: #FFFFFF;
    }
    body.dark-theme .diet-register-meal-btn:hover {
      background: #F1F5F9;
    }
    .diet-food-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 12px;
      margin-bottom: 6px;
      cursor: pointer;
      transition: background 0.15s ease, transform 0.15s ease;
    }
    .diet-food-item:hover {
      background: rgba(255, 255, 255, 0.04);
    }
    .diet-food-item:active {
      transform: scale(0.98);
    }
    .diet-food-item-name {
      font-size: 12.5px;
      font-weight: 700;
      color: var(--text);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .diet-food-item-action {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 700;
      color: #78756E;
    }

    /* MODAL DE TROCA DE ALIMENTO (VIBESWAP INTERATIVO) */

    /* TELA CHEIA DE PERFIL ESTILO INSTAGRAM (#tabProfile) */
    #tabProfile {
      padding-top: 0;
    }
    .insta-profile-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: -16px -16px 14px -16px;
      padding: 14px 18px 12px 18px;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: -16px;
      background: var(--nav-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 35;
      min-height: 58px;
    }
    .profile-back-post-btn {
      display: none;
      align-items: center;
      gap: 4px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text);
      font-size: 12px;
      font-weight: 800;
      padding: 5px 10px;
      border-radius: 99px;
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    .profile-back-post-btn:active {
      transform: scale(0.94);
    }
    .profile-editable-chip {
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 99px;
      padding: 5px 10px 5px 12px;
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* TELA DE PERFIL ESTILO NIKE RUN CLUB */
    .nike-profile-close-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text);
      font-size: 15px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.15s ease;
    }
    .nike-profile-close-btn:active {
      transform: scale(0.9);
      background: var(--border);
    }
    .nike-profile-hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 10px 0 16px;
    }
    .nike-avatar-container {
      position: relative;
      width: 96px;
      height: 96px;
      border-radius: 50%;
      border: none !important;
      outline: none !important;
      background: transparent !important;
      box-shadow: none !important;
      cursor: pointer;
      user-select: none;
      transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .nike-avatar-container:active {
      transform: scale(0.96);
    }
    .nike-avatar-img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: none !important;
      outline: none !important;
      display: block;
      box-shadow: 0 10px 26px rgba(24, 34, 29, 0.08), 0 2px 6px rgba(24, 34, 29, 0.04);
    }
    .profile-top-settings-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      transition: background 0.15s ease, transform 0.15s ease;
    }
    .profile-top-settings-btn:active {
      transform: scale(0.92);
      opacity: 0.65;
    }
    .insta-avatar-plus-badge {
      position: absolute;
      bottom: 2px;
      right: 2px;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: #000000;
      border: 2.5px solid var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
      cursor: pointer;
      transition: transform 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .insta-avatar-plus-badge:hover {
      transform: scale(1.12);
    }
    .insta-avatar-plus-badge:active {
      transform: scale(0.92);
    }
    .nike-profile-name {
      font-size: 20px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.4px;
      margin-top: 10px;
    }
    .nike-profile-userhandle {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-top: 2px;
    }
    .nike-edit-pill-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-top: 12px;
      padding: 7px 22px;
      border-radius: 99px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text);
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.15s ease;
    }
    .nike-edit-pill-btn:active {
      transform: scale(0.96);
      background: var(--border);
    }
    .profile-quick-nav-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin: 16px 0 18px;
    }
    .profile-quick-nav-tile {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 13px 6px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      cursor: pointer;
      user-select: none;
      box-shadow: var(--shadow-sm);
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .profile-quick-nav-tile:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 4px 14px rgba(0, 200, 111, 0.12);
    }
    .profile-quick-nav-tile:active {
      transform: scale(0.95);
      background: var(--surface-subtle);
    }
    .profile-nav-tile-icon {
      font-size: 22px;
      line-height: 1;
    }
    .profile-nav-tile-title {
      font-size: 12px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.2px;
    }
    .profile-nav-tile-sub {
      font-size: 10px;
      color: var(--text-secondary);
      font-weight: 600;
      margin-top: -2px;
    }
    .profile-member-footer {
      text-align: center;
      padding: 42px 0 28px;
      font-size: 11px;
      font-weight: 500;
      color: var(--text-secondary);
      opacity: 0.55;
      letter-spacing: 0.35px;
      user-select: none;
    }

    /* ==========================================================================
       SEÇÃO E MODAL DE AMIGOS COM LUPA DE PESQUISA (FLUIDA E MODERNA)
       ========================================================================== */
    .profile-friends-section {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 16px;
      margin: 14px 0 16px;
      box-shadow: var(--shadow-sm);
    }
    .friends-search-bar {
      position: relative;
      display: flex;
      align-items: center;
      background: var(--surface-subtle);
      border: 1.5px solid var(--border);
      border-radius: 99px;
      padding: 0 14px;
      margin-bottom: 12px;
      transition: all 0.2s ease;
    }
    .friends-search-bar:focus-within {
      border-color: #000000;
      background: var(--surface);
      box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    }
    body.dark-theme .friends-search-bar:focus-within {
      border-color: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    }
    .friends-search-icon {
      color: var(--text-secondary);
      flex-shrink: 0;
      margin-right: 8px;
    }
    .friends-search-input {
      width: 100%;
      padding: 10px 0;
      background: transparent;
      border: none;
      outline: none;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
    }
    .friends-search-input::placeholder {
      color: var(--text-secondary);
      opacity: 0.7;
      font-weight: 500;
    }
    .friends-search-clear-btn {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      font-size: 13px;
      cursor: pointer;
      padding: 4px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .friends-cards-list {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }
    .friend-card-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 16px;
      transition: all 0.18s ease;
      cursor: pointer;
    }
    .friend-card-item:hover {
      background: var(--border);
      transform: translateY(-1px);
    }
    .friend-card-item:active {
      transform: scale(0.98);
    }
    .friend-card-left {
      display: flex;
      align-items: center;
      gap: 12px;
      flex: 1;
      min-width: 0;
    }
    .friend-avatar-wrap {
      position: relative;
      flex-shrink: 0;
    }
    .friend-card-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid var(--border);
    }
    .friend-streak-dot {
      position: absolute;
      bottom: -1px;
      right: -1px;
      background: #000000;
      color: #FFFFFF;
      font-size: 9px;
      font-weight: 900;
      padding: 1px 4px;
      border-radius: 99px;
      border: 1.5px solid var(--surface);
      line-height: 1.2;
    }
    .friend-card-info {
      min-width: 0;
      flex: 1;
    }
    .friend-card-name-row {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .friend-card-name {
      font-size: 13px;
      font-weight: 800;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .friend-card-username {
      font-size: 11px;
      color: var(--text-secondary);
      font-weight: 600;
    }
    .friend-card-status {
      font-size: 11px;
      color: var(--text-secondary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 1px;
    }
    .friend-connect-btn {
      padding: 6px 14px;
      border-radius: 99px;
      font-size: 11.5px;
      font-weight: 800;
      cursor: pointer;
      border: none;
      background: #000000;
      color: #FFFFFF;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      transition: all 0.15s ease;
      flex-shrink: 0;
    }
    body.dark-theme .friend-connect-btn {
      background: #FFFFFF;
      color: #000000;
    }
    .friend-connect-btn:active {
      transform: scale(0.92);
    }
    .friend-connect-btn.connected {
      background: var(--surface);
      color: var(--text);
      border: 1px solid var(--border);
      box-shadow: none;
    }

    /* DESATIVAÇÃO DE TOASTS FLUTUANTES & MODAL DE NOTIFICAÇÕES LEGADO (MANTENDO BANNER DE LEMBRETE IN-APP ATIVO) */
    #vibeToast,
    .vibe-toast-pill,
    .vibe-toast-pill.active,
    #notificationsModal,
    #feedNotifBadge,
    .notif-btn,
    [onclick*="openNotificationsModal"] {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }

    @keyframes vdCalTactilePulse {
      0%   { transform: translate3d(0, 0, 0) scale(1); }
      20%  { transform: translate3d(-2.2px, 0, 0) scale(0.935); }
      46%  { transform: translate3d(2.2px, 0, 0) scale(1.055); }
      72%  { transform: translate3d(-1.1px, 0, 0) scale(0.988); }
      88%  { transform: translate3d(0.55px, 0, 0) scale(1.008); }
      100% { transform: translate3d(0, 0, 0) scale(1); }
    }

    @keyframes vdCalSurfaceMicroTremor {
      0%   { transform: translate3d(0, 0, 0); }
      22%  { transform: translate3d(-1.4px, 0.35px, 0); }
      48%  { transform: translate3d(1.4px, -0.35px, 0); }
      74%  { transform: translate3d(-0.75px, 0.2px, 0); }
      100% { transform: translate3d(0, 0, 0); }
    }

    .vd-cal-haptic-btn-shake {
      animation: vdCalTactilePulse 0.19s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .vd-cal-haptic-surface-shake {
      animation: vdCalSurfaceMicroTremor 0.17s cubic-bezier(0.36, 0.07, 0.19, 0.97) !important;
    }

    /* TOAST FLUTUANTE ESTILO DYNAMIC ISLAND / ARGON 20x HARMONIZADO COM O FEED */
    .vibe-toast-pill {
      position: fixed;
      top: max(18px, calc(env(safe-area-inset-top, 0px) + 10px));
      left: 50%;
      transform: translate(-50%, -130%) scale(0.94);
      width: auto;
      max-width: 92vw;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      color: #18221D;
      padding: 10px 18px;
      border-radius: 99px;
      font-size: 12.5px;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 10px;
      z-index: 99999999;
      box-shadow: 0 12px 32px rgba(24, 34, 29, 0.14), 0 2px 8px rgba(16, 185, 129, 0.10);
      border: 1.5px solid #A7F3D0;
      opacity: 0;
      pointer-events: none;
      transition: transform 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.25), opacity 0.28s ease;
      cursor: pointer;
      user-select: none;
    }
    body.dark-theme .vibe-toast-pill {
      background: rgba(22, 33, 28, 0.96);
      color: #F1F5F9;
      border-color: rgba(16, 185, 129, 0.45);
    }
    .vibe-toast-pill.active {
      transform: translate(-50%, 0) scale(1);
      opacity: 1;
      pointer-events: auto;
    }
    .vibe-toast-pill:active {
      transform: translate(-50%, 0) scale(0.96);
    }
    .vibe-toast-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10B981;
      box-shadow: 0 0 8px rgba(16, 185, 129, 0.55);
      flex-shrink: 0;
    }
    .vibe-toast-text {
      line-height: 1.35;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 320px;
      color: #18221D;
      letter-spacing: -0.2px;
    }
    body.dark-theme .vibe-toast-text {
      color: #F1F5F9;
    }

    /* BARRA DE PESQUISA AMIGOS VIBE CHESS.COM */
    .friends-search-bar-chess {
      display: flex;
      align-items: center;
      background: var(--surface-subtle);
      border: 1.5px solid var(--border);
      border-radius: 14px;
      padding: 0 14px;
      margin-bottom: 12px;
      transition: all 0.2s ease;
    }
    .friends-search-bar-chess:focus-within {
      border-color: #000000;
      background: var(--surface);
      box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
    }
    body.dark-theme .friends-search-bar-chess:focus-within {
      border-color: #FFFFFF;
      box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
    }

    /* BOTÕES DOS 3 MOTIVOS DE GANHO DO PÓDIO */
    .podium-cat-btn {
      flex: 1;
      padding: 7px 10px;
      border-radius: 99px;
      font-size: 11px;
      font-weight: 800;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.2s ease;
      text-align: center;
    }
    .podium-cat-btn.active {
      background: #000000;
      color: #FFFFFF;
      border-color: #000000;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    body.dark-theme .podium-cat-btn.active {
      background: #FFFFFF;
      color: #000000;
      border-color: #FFFFFF;
    }

    /* ACTION SHEET FOTO DE PERFIL ESTILO IOS */
    .ios-action-sheet-wrap {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      max-width: 460px;
      margin: 0 auto;
      padding: 0 14px 24px;
      z-index: 99999999;
      transform: translateY(100%);
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
    }
    .modal-overlay.active .ios-action-sheet-wrap {
      transform: translateY(0);
      pointer-events: auto;
    }
    .ios-action-card {
      background: #0A0D14;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    }
    body.dark-theme .ios-action-card {
      background: #0A0D14;
      border-color: rgba(255, 255, 255, 0.12);
    }
    .ios-action-btn {
      width: 100%;
      padding: 15px 20px;
      background: transparent;
      border: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 15px;
      font-weight: 600;
      letter-spacing: -0.2px;
      color: #FFFFFF;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      transition: background 0.15s ease, opacity 0.15s ease;
    }
    body.dark-theme .ios-action-btn {
      color: #FFFFFF;
      border-bottom-color: rgba(255, 255, 255, 0.08);
    }
    .ios-action-btn:last-child {
      border-bottom: none;
    }
    .ios-action-btn:active {
      background: rgba(255, 255, 255, 0.08);
    }
    body.dark-theme .ios-action-btn:active {
      background: rgba(255, 255, 255, 0.08);
    }
    .ios-action-cancel-card {
      margin-top: 8px;
    }
    .ios-action-btn.cancel-btn {
      font-weight: 700;
      color: #94A3B8;
    }
    body.dark-theme .ios-action-btn.cancel-btn {
      color: #94A3B8;
    }

    /* ==========================================================================
       TELA DO CLUBE ESTILO NIKE RUN CLUB (#tabLeaderboard)
       ========================================================================== */
    .club-screen-wrap {
      padding: 0 2px 28px;
    }
    .club-header-top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 4px 4px 10px;
    }
    .club-avatar-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #18181b;
      border: 1.5px solid rgba(255, 255, 255, 0.22);
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    .club-header-title {
      font-size: 32px;
      font-weight: 900;
      color: var(--text);
      letter-spacing: -0.8px;
      padding: 2px 4px 14px;
    }
    .club-segmented-tabs {
      display: flex;
      gap: 28px;
      border-bottom: 1px solid var(--border);
      padding: 0 6px;
      margin-bottom: 18px;
    }
    .club-seg-tab {
      background: transparent;
      border: none;
      padding: 8px 2px 10px;
      font-size: 15px;
      font-weight: 700;
      color: var(--text-secondary);
      cursor: pointer;
      position: relative;
      transition: color 0.15s ease;
    }
    .club-seg-tab.active {
      color: var(--text);
      font-weight: 800;
    }
    .club-seg-tab.active::after {
      content: '';
      position: absolute;
      bottom: -1px;
      left: 0;
      right: 0;
      height: 2.5px;
      background: var(--text);
      border-radius: 99px;
    }

    /* CARDS DE DESAFIOS */
    .club-challenges-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .club-challenge-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 18px;
      box-shadow: var(--shadow-sm);
    }

    /* CONSTRUTOR DE DIETA PERSONALIZADA COM IA (LIMPO & ORGANIZADO) */
    .diet-builder-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 18px 16px;
      box-shadow: var(--shadow-sm);
      margin-bottom: 16px;
    }
    .diet-builder-section {
      margin-bottom: 14px;
    }
    .diet-builder-label {
      display: block;
      font-size: 11.5px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 6px;
    }
    .diet-builder-sub {
      font-size: 11px;
      color: var(--text-secondary);
      margin-bottom: 8px;
      line-height: 1.35;
    }
    .diet-builder-textarea {
      width: 100%;
      min-height: 62px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 10px 12px;
      font-size: 12.5px;
      color: var(--text);
      outline: none;
      resize: vertical;
      line-height: 1.4;
    }
    .diet-builder-textarea:focus {
      border-color: var(--primary);
    }
    .diet-quick-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 7px;
    }
    .diet-quick-tag {
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 11.5px;
      font-weight: 700;
      color: #334155;
      cursor: pointer;
      transition: all 0.15s ease;
      user-select: none;
    }
    .diet-quick-tag.selected {
      background: #09090B;
      border-color: #09090B;
      color: #FFFFFF;
    }
    body.dark-theme .diet-quick-tag.selected {
      color: var(--primary);
    }

    /* BOTÃO EXCLUIR NOTIFICAÇÃO */
    .notif-delete-btn {
      background: transparent;
      border: none;
      color: var(--text-secondary);
      width: 26px;
      height: 26px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      cursor: pointer;
      opacity: 0.65;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }
    .notif-delete-btn:hover {
      opacity: 1;
      background: rgba(239, 68, 68, 0.12);
      color: #EF4444;
    }

    /* BOTÕES DE AÇÃO DO PERFIL */
    .nike-profile-actions-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 12px;
    }
    .nike-profile-actions-row .nike-edit-pill-btn {
      margin-top: 0;
    }
    .nike-switch-pill-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text);
    }
    .nike-switch-pill-btn:hover {
      background: var(--surface);
    }
    .nike-switch-pill-btn:active {
      transform: scale(0.96);
    }

    /* NICK DO PERFIL NO CABEÇALHO SUPERIOR COM CHEVRON DROPDOWN */
    .profile-top-nick-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 12px;
      border-radius: 99px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      cursor: pointer;
      user-select: none;
      transition: all 0.15s ease;
    }
    .profile-top-nick-center:active {
      transform: translateX(-50%) scale(0.96);
      background: var(--surface);
    }
    .prof-top-chevron {
      color: var(--text-secondary);
      transition: transform 0.2s ease;
    }
    .profile-top-nick-center:hover .prof-top-chevron {
      color: var(--text);
    }
  
    /* BARRA SUPERIOR E MÚLTIPLAS DIETAS */
    body.dark-theme .diet-top-new-btn {
      background: #FFFFFF;
      color: #000000;
    }
    body.dark-theme .diet-plan-card-item.active-diet {
      border-color: #FFFFFF;
      box-shadow: 0 4px 14px rgba(255, 255, 255, 0.06);
    }
    .diet-cheat-education-card {
      background: rgba(255, 107, 44, 0.08);
      border: 1px solid rgba(255, 107, 44, 0.25);
      border-radius: 14px;
      padding: 12px 14px;
      margin-bottom: 14px;
      animation: fadeInEquiv 0.25s ease;
    }

    /* PÓDIO: CORES DIFERENCIADAS (1º OURO NOBRE vs 3º BRONZE COBRE) */
    .step-1 .podium-avatar {
      width: 68px;
      height: 68px;
      border: 2.5px solid #FFFFFF;
      box-shadow: 0 0 0 3.5px #FFD700, 0 0 18px rgba(255, 215, 0, 0.55), 0 10px 22px rgba(0, 0, 0, 0.35);
    }
    .step-1 .podium-medal-badge, .podium-medal-badge.gold {
      background: linear-gradient(135deg, #FFF08A 0%, #FFD700 50%, #F59E0B 100%) !important;
      color: #78350F !important;
    }
    .step-1 .podium-box {
      height: 114px;
      background: linear-gradient(180deg, rgba(255, 215, 0, 0.28) 0%, rgba(245, 158, 11, 0.16) 60%, rgba(180, 83, 9, 0.08) 100%) !important;
      border-color: rgba(255, 215, 0, 0.55) !important;
      color: #F59E0B;
    }
    body.dark-theme .step-1 .podium-box {
      background: linear-gradient(180deg, rgba(255, 215, 0, 0.32) 0%, rgba(217, 119, 6, 0.2) 60%, rgba(24, 24, 27, 0.8) 100%) !important;
      border-color: rgba(255, 215, 0, 0.6) !important;
      color: #FDE047;
    }
    .podium-points-pill.gold {
      background: rgba(255, 215, 0, 0.16) !important;
      color: #B45309 !important;
      border: 1px solid rgba(255, 215, 0, 0.45) !important;
    }
    body.dark-theme .podium-points-pill.gold {
      color: #FDE047 !important;
      background: rgba(255, 215, 0, 0.2) !important;
    }

    .step-3 .podium-avatar {
      width: 52px;
      height: 52px;
      border: 2px solid #FFFFFF;
      box-shadow: 0 0 0 3px #CD7F32, 0 0 14px rgba(205, 127, 50, 0.45), 0 8px 16px rgba(0, 0, 0, 0.25);
    }
    .step-3 .podium-medal-badge, .podium-medal-badge.bronze {
      background: linear-gradient(135deg, #E0A96D 0%, #CD7F32 50%, #8C481A 100%) !important;
      color: #FFFFFF !important;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    }
    .step-3 .podium-box {
      height: 66px;
      background: linear-gradient(180deg, rgba(205, 127, 50, 0.26) 0%, rgba(140, 72, 26, 0.16) 60%, rgba(80, 35, 10, 0.06) 100%) !important;
      border-color: rgba(205, 127, 50, 0.5) !important;
      color: #8C481A;
    }
    body.dark-theme .step-3 .podium-box {
      background: linear-gradient(180deg, rgba(205, 127, 50, 0.28) 0%, rgba(140, 72, 26, 0.22) 60%, rgba(24, 24, 27, 0.8) 100%) !important;
      border-color: rgba(205, 127, 50, 0.55) !important;
      color: #E0A96D;
    }
    .step-3 .podium-rank-num {
      font-size: 26px;
      color: #8C481A !important;
      text-shadow: 0 2px 0 #50230A, 0 3px 8px rgba(140, 72, 26, 0.4) !important;
    }
    body.dark-theme .step-3 .podium-rank-num {
      color: #E0A96D !important;
      text-shadow: 0 2px 0 #50230A, 0 3px 8px rgba(205, 127, 50, 0.4) !important;
    }
    .podium-points-pill.bronze {
      background: rgba(205, 127, 50, 0.18) !important;
      color: #8C481A !important;
      border: 1px solid rgba(205, 127, 50, 0.4) !important;
    }
    body.dark-theme .podium-points-pill.bronze {
      color: #E0A96D !important;
      background: rgba(205, 127, 50, 0.24) !important;
    }

    /* ==========================================================================
       MELHORIAS VISUAIS & NOVAS INTERAÇÕES (BATCH 7)
       ========================================================================== */

    /* 1. Header: Brócolis Compacto com Badge Numérico Sobreposto */
    .header-broccoli-badge-wrap #headerBroccoliIcon {
      font-size: 21px !important;
      line-height: 1 !important;
    }
    body.dark-theme .header-broccoli-overlay-badge {
      background: #1E293B !important;
      border-color: #0F172A !important;
    }

    /* 2. Topo da Aba Dieta: Iniciais à esquerda, Título centralizado, + Nova à direita */

    /* 3. Cards de Dietas com Swipe para Esquerda & 3 Pontinhos */
    .diet-plan-swipe-wrapper {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      margin-bottom: 12px;
      touch-action: pan-y;
      user-select: none;
    }
    .diet-plan-swipe-actions {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      width: 84px;
      background: #EF4444;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      font-size: 12px;
      font-weight: 800;
      gap: 4px;
      cursor: pointer;
      border-radius: 18px;
      z-index: 1;
      transition: background 0.15s ease;
    }
    .diet-plan-swipe-actions:active {
      background: #DC2626;
    }
    .diet-plan-swipe-item {
      position: relative;
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: 18px;
      padding: 16px;
      z-index: 2;
      transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.2s ease;
      cursor: pointer;
      box-shadow: var(--shadow-sm);
    }
    .diet-plan-swipe-item:active {
      background: var(--surface-subtle);
    }
    .diet-plan-more-btn {
      background: none;
      border: none;
      padding: 6px 8px;
      color: var(--text-secondary);
      border-radius: 8px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      line-height: 1;
      transition: background 0.15s ease;
    }
    .diet-plan-more-btn:hover {
      background: var(--surface-subtle);
      color: var(--text);
    }

    /* 4. Badges de Atividade com Texto e Cores Exclusivas */
    .post-activity-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3.5px 8px;
      border-radius: 99px;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: -0.1px;
      line-height: 1.2;
    }
    .post-badge-swimming {
      background: rgba(14, 165, 233, 0.12);
      color: #0284C7;
      border: 1px solid rgba(14, 165, 233, 0.28);
    }
    .post-badge-running {
      background: rgba(249, 115, 22, 0.12);
      color: #EA580C;
      border: 1px solid rgba(249, 115, 22, 0.28);
    }
    .post-badge-gym {
      background: rgba(139, 92, 246, 0.12);
      color: #7C3AED;
      border: 1px solid rgba(139, 92, 246, 0.28);
    }
    .post-badge-cycling {
      background: rgba(6, 182, 212, 0.12);
      color: #0891B2;
      border: 1px solid rgba(6, 182, 212, 0.28);
    }
    .post-badge-meal {
      background: rgba(16, 185, 129, 0.12);
      color: #059669;
      border: 1px solid rgba(16, 185, 129, 0.28);
    }

    /* 5. Ações do Post: Área do Coração Separada da Contagem */

    /* 6. Inline Caption Editor */

    /* 7. Recompensa de Brócolis no Post */

    /* 8. Garrafa d'Água: Botão Reiniciar Circular sem texto */
    .water-reset-circle-btn {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
      transition: all 0.15s ease;
    }
    .water-reset-circle-btn:hover {
      color: var(--text);
      border-color: var(--text-secondary);
      transform: rotate(-45deg);
    }

    /* 9. Calculadora de Equivalência Didática */
    .equiv-side-by-side {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 14px;
    }
    .equiv-side-box {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 12px;
    }
    .equiv-side-title {
      font-size: 12px;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .equiv-side-macros {
      font-size: 11px;
      color: #64748B;
      line-height: 1.45;
    }

    /* 10. Desafios Premium */

    /* 11. Modal Apple-style Dialog Confirm */
    .vibe-dialog-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 22px;
      width: 90%;
      max-width: 340px;
      box-shadow: 0 16px 40px rgba(0,0,0,0.3);
      text-align: center;
      animation: modalSlideUp 0.25s ease;
    }
    .vibe-dialog-actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-top: 18px;
    }
    .vibe-dialog-btn-cancel {
      padding: 11px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 13px;
      background: var(--surface-subtle);
      color: var(--text);
      border: 1px solid var(--border);
      cursor: pointer;
    }
    .vibe-dialog-btn-danger {
      padding: 11px;
      border-radius: 12px;
      font-weight: 800;
      font-size: 13px;
      background: #EF4444;
      color: #FFFFFF;
      border: none;
      cursor: pointer;
    }

    /* 12. Modal Likers List */

    /* ==========================================================================
       TELA INICIAL DE ENTRADA ESTILO NIKE RUN CLUB (VÍDEO DE FUNDO + AÇÕES)
       ========================================================================== */
    .welcome-auth-screen {
      position: relative;
      top: 0;
      left: 0;
      right: 0;
      width: 100vw;
      max-width: 100vw;
      height: 100dvh;
      min-height: 100vh;
      max-height: 100dvh;
      z-index: 9995;
      background: transparent;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: visible !important;
      overscroll-behavior: auto !important;
      touch-action: none;
      user-select: none;
      -webkit-user-select: none;
      opacity: 1;
      visibility: visible;
      transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
    }
    .welcome-auth-screen.hidden {
      display: none !important;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    .welcome-video-overlay {
      position: absolute;
      top: -120px;
      left: 0;
      right: 0;
      bottom: -120px;
      width: 100vw;
      height: calc(100% + 240px);
      z-index: 2;
      background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.0) 0%,
        rgba(0, 0, 0, 0.0) 46%,
        rgba(12, 18, 15, 0.36) 72%,
        rgba(12, 18, 15, 0.60) 100%
      );
      pointer-events: none;
    }
    .welcome-top-bar {
      position: relative;
      z-index: 3;
      padding: calc(env(safe-area-inset-top, 44px) + 8px) 24px 0;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .welcome-clean-brand {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.6px;
      color: #FFFFFF;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
      display: inline-flex;
      align-items: center;
      gap: 2px;
      user-select: none;
      -webkit-user-select: none;
    }
    .welcome-clean-brand .brand-accent {
      color: #00E676;
    }

    /* Slideshow Estilo Nike Run Club (Zoom Profundo + Transição Limpa Zero Dupla Exposição) */
    .welcome-bg-slides {
      position: absolute !important;
      top: -120px !important;
      left: 0 !important;
      right: 0 !important;
      bottom: -120px !important;
      width: 100vw !important;
      max-width: 100vw !important;
      height: calc(100% + 240px) !important;
      background: url('/static/images/welcome_scene1_food.jpg?v=9') 52% center / cover no-repeat !important;
      z-index: 1;
      overflow: hidden;
      pointer-events: none;
    }
    .welcome-slide-img {
      position: absolute !important;
      inset: 0 !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100% !important;
      height: 100% !important;
      background-size: cover !important;
      background-position: 50% center !important;
      background-repeat: no-repeat !important;
      opacity: 0;
      z-index: 1;
      transition: opacity 0.6s ease-in-out;
      will-change: opacity, transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform: translate3d(0, 0, 0) scale(1.12);
      pointer-events: none;
      transform-origin: center center;
    }
    .welcome-slide-img.is-active {
      opacity: 1;
      z-index: 2;
    }
    @media (min-width: 768px) {
      .welcome-slide-img {
        background-position: center !important;
      }
    }
    .welcome-slide-img.slide-1 {
      background-image: url('/static/images/welcome_scene1_food.jpg?v=9');
      background-position: 52% center !important;
      animation: nikeZoomSlide1 12s ease-in-out infinite alternate;
    }
    .welcome-slide-img.slide-2 {
      background-image: url('/static/images/welcome_scene2_phone.jpg?v=9');
      background-position: 50% center !important;
      animation: nikeZoomSlide2 12s ease-in-out infinite alternate;
    }
    .welcome-slide-img.slide-3 {
      background-image: url('/static/images/welcome_scene3_wellness.jpg?v=9');
      background-position: 50% center !important;
      animation: nikeZoomSlide3 12s ease-in-out infinite alternate;
    }

    @keyframes nikeZoomSlide1 {
      0% {
        transform: translate3d(3.2%, 1.8%, 0) scale(1.10);
      }
      100% {
        transform: translate3d(-3.2%, -1.8%, 0) scale(1.36);
      }
    }

    @keyframes nikeZoomSlide2 {
      0% {
        transform: translate3d(-3.2%, 1.6%, 0) scale(1.12);
      }
      100% {
        transform: translate3d(3.2%, -1.8%, 0) scale(1.38);
      }
    }

    @keyframes nikeZoomSlide3 {
      0% {
        transform: translate3d(2.4%, -2.4%, 0) scale(1.10);
      }
      100% {
        transform: translate3d(-2.8%, 2.4%, 0) scale(1.36);
      }
    }

    .welcome-title-accent {
      background: linear-gradient(135deg, #00E676 0%, #34D399 50%, #A7F3D0 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .welcome-btn-primary {
      flex: 1.15;
      padding: 16px 20px;
      background: #FFFFFF !important;
      color: #0A0D14 !important;
      border: none !important;
      border-radius: 999px !important;
      font-size: 15px !important;
      font-weight: 800 !important;
      cursor: pointer !important;
      box-shadow: 0 6px 24px rgba(255, 255, 255, 0.22) !important;
      text-align: center;
      transition: transform 0.15s ease, opacity 0.15s ease;
      white-space: nowrap;
      position: relative;
      z-index: 10;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    .welcome-btn-primary:active {
      transform: scale(0.97);
      opacity: 0.92;
    }
    .welcome-btn-secondary {
      flex: 0.95;
      padding: 15px 18px;
      background: rgba(255, 255, 255, 0.10) !important;
      color: #FFFFFF !important;
      border: 1px solid rgba(255, 255, 255, 0.25) !important;
      border-radius: 999px !important;
      font-size: 14.5px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
      text-align: center;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      transition: transform 0.15s ease, background 0.15s ease;
      white-space: nowrap;
      position: relative;
      z-index: 10;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
    }
    .welcome-btn-secondary:active {
      transform: scale(0.97);
      background: rgba(255, 255, 255, 0.20) !important;
    }
    #authSheetModal {
      z-index: 210000 !important;
      touch-action: pan-y !important;
      overscroll-behavior: none !important;
    }

    .welcome-bottom-content {
      position: relative;
      z-index: 3;
      padding: 0 24px calc(env(safe-area-inset-bottom, 20px) + 58px) !important;
      margin-top: auto !important;
      margin-bottom: 0 !important;
      display: flex;
      flex-direction: column;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      box-sizing: border-box;
    }
    .welcome-title {
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 34px;
      font-weight: 900;
      color: #FFFFFF;
      letter-spacing: -0.8px;
      line-height: 1.1;
      text-shadow: 0 3px 14px rgba(0,0,0,0.7);
    }
    .welcome-subtitle {
      font-size: 15px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.88);
      margin-top: 8px;
      margin-bottom: 24px;
      line-height: 1.45;
      text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    }
    .welcome-actions-row {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
    }

    /* MODAL DE AUTENTICAÇÃO, TERMOS LGPD & WIZARD STEP-BY-STEP GLASSMORPHISM */
    #legalComplianceModal,
    #professionalHubModal,
    #linkNutriModal {
      z-index: 350000 !important;
      background: rgba(9, 13, 22, 0.56) !important;
      backdrop-filter: blur(14px) !important;
      -webkit-backdrop-filter: blur(14px) !important;
    }
    #professionalHubModal .modal-sheet,
    #linkNutriModal .modal-sheet {
      background: #FFFFFF !important;
      color: #09090B !important;
      border-top: 1px solid #E2E8F0 !important;
      border-radius: 32px 32px 0 0 !important;
      padding: 20px 22px calc(env(safe-area-inset-bottom, 16px) + 24px) !important;
      box-shadow: 0 -14px 44px rgba(15, 23, 42, 0.14) !important;
    }
    #legalComplianceModal .modal-sheet {
      display: flex !important;
      flex-direction: column !important;
      overflow: hidden !important;
      background: #FFFFFF !important;
      color: #09090B !important;
      border-top: 1px solid #E4E4E7 !important;
      border-radius: 32px 32px 0 0 !important;
      padding: 0 !important;
      max-height: min(86dvh, calc(100dvh - max(env(safe-area-inset-top, 0px), 48px))) !important;
      box-shadow: 0 -18px 48px rgba(9, 9, 11, 0.22) !important;
    }
    .vd-legal-seg-bar {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 4px;
      padding: 4px;
      margin-top: 12px;
      background: #F4F4F5;
      border-radius: 12px;
    }
    .vd-legal-seg-pill {
      border: none;
      background: transparent;
      color: #71717A;
      font-size: 11.5px;
      font-weight: 700;
      padding: 7px 6px;
      border-radius: 9px;
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .vd-legal-seg-pill.active {
      background: #FFFFFF;
      color: #09090B;
      font-weight: 800;
      box-shadow: 0 2px 6px rgba(9, 9, 11, 0.08);
    }
    #legalComplianceModal .legal-doc-section {
      border-radius: 16px;
      padding: 13px 14px !important;
      margin-bottom: 10px !important;
      border: 1px solid #F1F5F9 !important;
      background: #FAFAFA;
      transition: border-color 0.2s ease, background 0.2s ease;
    }
    #legalComplianceModal .legal-doc-section.vd-legal-sec-active {
      background: #FFFFFF;
      border-color: #D4D4D8 !important;
      box-shadow: 0 4px 14px rgba(9, 9, 11, 0.04);
    }
    .auth-segmented-nav {
      display: flex;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      padding: 4px;
      margin-bottom: 18px;
    }
    .auth-seg-btn {
      flex: 1;
      padding: 10px 0;
      border-radius: 999px;
      border: none;
      background: transparent;
      color: rgba(255, 255, 255, 0.58);
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .auth-seg-btn.active {
      background: #FFFFFF;
      color: #05070B;
      font-weight: 800;
      box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    }
    .auth-role-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 16px;
    }
    .auth-role-card {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
      padding: 13px 13px 12px;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.04);
      border: 1.5px solid rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.72);
      cursor: pointer;
      text-align: left;
      transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .auth-role-card:hover {
      background: rgba(255, 255, 255, 0.07);
      border-color: rgba(255, 255, 255, 0.22);
    }
    .auth-role-card.active {
      background: #FFFFFF;
      border-color: #23352D;
      color: #23352D;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
    .auth-role-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .auth-role-icon {
      width: 32px;
      height: 32px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.08);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      transition: all 0.2s ease;
    }
    .auth-role-card.active .auth-role-icon {
      background: #23352D;
      color: #FFFFFF;
    }
    .auth-role-check {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.25);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      color: transparent;
      transition: all 0.2s ease;
    }
    .auth-role-card.active .auth-role-check {
      background: #23352D;
      border-color: #23352D;
      color: #FFFFFF;
      font-weight: 900;
    }
    .auth-role-title {
      font-size: 13px;
      font-weight: 800;
      color: #FFFFFF;
      letter-spacing: -0.2px;
      line-height: 1.2;
      margin-top: 2px;
    }
    .auth-role-sub {
      font-size: 10.5px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.56);
      line-height: 1.32;
    }
    .auth-input-group {
      margin-bottom: 12px;
    }
    .auth-input-label {
      display: block;
      font-size: 10.5px;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.62);
      margin-bottom: 5px;
      text-transform: uppercase;
      letter-spacing: 0.6px;
    }
    .auth-input-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }
    .auth-input-icon {
      position: absolute;
      left: 13px;
      color: rgba(255, 255, 255, 0.45);
      pointer-events: none;
      display: flex;
      align-items: center;
    }
    .auth-field-input {
      width: 100%;
      padding: 13px 14px;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.055);
      border: 1px solid rgba(255, 255, 255, 0.13);
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 600;
      outline: none;
      transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    }
    .auth-field-input.has-icon {
      padding-left: 40px;
    }
    .auth-field-input::placeholder {
      color: rgba(255, 255, 255, 0.34);
      font-weight: 500;
    }
    .auth-field-input:focus {
      border-color: #23352D;
      background: rgba(255, 255, 255, 0.09);
      box-shadow: 0 0 0 3px rgba(35, 53, 45, 0.10);
    }
    .auth-field-input option {
      background: #0F172A;
      color: #FFFFFF;
    }
    .auth-password-toggle {
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
      padding: 6px;
      display: flex;
      align-items: center;
    }
    .auth-submit-btn {
      width: 100%;
      padding: 15px 18px;
      border-radius: 999px;
      background: #FFFFFF;
      color: #05070B;
      border: none;
      font-size: 14.5px;
      font-weight: 800;
      cursor: pointer;
      margin-top: 8px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
      transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .auth-submit-btn:active {
      transform: scale(0.98);
      opacity: 0.92;
    }

    /* ESTILOS B2B PROFISSIONAL, COMPLIANCE LGPD & ISENÇÃO MÉDICA */
    .diet-compliance-badge {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 12px;
      padding: 10px 14px;
      margin-bottom: 14px;
      font-size: 11px;
      line-height: 1.45;
      color: #94A3B8;
    }
    .diet-compliance-badge svg {
      flex-shrink: 0;
      color: rgba(255, 255, 255, 0.85);
    }
    .prof-metric-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin-bottom: 16px;
    }
    .prof-metric-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 12px 8px;
      text-align: center;
    }
    .prof-metric-val {
      font-size: 18px;
      font-weight: 900;
      color: #FFFFFF;
      letter-spacing: -0.5px;
    }
    .prof-metric-lbl {
      font-size: 10px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.5);
      text-transform: uppercase;
      letter-spacing: 0.3px;
      margin-top: 3px;
    }
    .prof-patient-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 16px;
      padding: 14px;
      margin-bottom: 10px;
      transition: border-color 0.15s ease;
    }
    .prof-patient-card:hover {
      border-color: rgba(255, 255, 255, 0.25);
    }
    .prof-patient-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }
    .prof-patient-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid rgba(255, 255, 255, 0.2);
    }
    .prof-patient-thumbs {
      display: flex;
      gap: 6px;
      margin-top: 8px;
      overflow-x: auto;
    }
    .prof-patient-thumb {
      width: 48px;
      height: 48px;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid rgba(255, 255, 255, 0.15);
      flex-shrink: 0;
    }
    .legal-doc-section {
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }
    .legal-doc-title {
      font-size: 13.5px;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 6px;
    }
    .legal-doc-p {
      font-size: 12.5px;
      line-height: 1.6;
      color: #CBD5E1;
    }

    /* CONSTRUTOR DE DIETA STEP-BY-STEP (PLANO C: CAL AI + APPLE CLEAN 120HZ EM QUARTZO FRIO #F4F5F8 E PRETO OBSIDIANA #09090B) */
    #vibeDietOnboardingWizard {
      position: fixed;
      inset: 0;
      width: 100%;
      max-width: 100%;
      z-index: 260000 !important;
      background: #F4F5F8 !important;
      background-color: #F4F5F8 !important;
      color: #09090B;
      isolation: isolate;
      overscroll-behavior: contain;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      padding: max(48px, calc(env(safe-area-inset-top, 0px) + 32px)) 20px 0 !important;
      overflow-y: auto;
      overflow-x: hidden !important;
      scrollbar-width: none;
      -ms-overflow-style: none;
      font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Plus Jakarta Sans", "Inter", sans-serif;
      -webkit-font-smoothing: antialiased;
    }
    #vibeDietOnboardingWizard::-webkit-scrollbar {
      width: 0 !important;
      height: 0 !important;
      display: none !important;
    }
    #vibeDietOnboardingWizard.closing-smooth {
      pointer-events: none !important;
    }
    #vibeDietOnboardingWizard::before {
      display: none !important;
    }
    #vibeDietOnboardingWizard.active {
      display: flex !important;
      opacity: 1 !important;
      background: #F4F5F8 !important;
      visibility: visible !important;
      pointer-events: auto !important;
    }
    @keyframes wizFadeIn {
      from { opacity: 1; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .wiz-container {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 410px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      justify-content: space-between;
      background: transparent !important;
    }
    .wiz-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 20px;
    }
    .wiz-back-btn {
      width: 40px;
      height: 40px;
      border-radius: 999px;
      background: #FFFFFF;
      border: 1px solid rgba(9, 9, 11, 0.06);
      color: #09090B;
      box-shadow: 0 2px 8px rgba(9, 9, 11, 0.04);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.18s cubic-bezier(0.32, 0.72, 0, 1), background 0.18s ease;
    }
    .wiz-back-btn:active {
      transform: scale(0.92);
      background: #ECEEF3;
    }
    .wiz-progress-segments {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
    }
    .wiz-seg {
      height: 5px;
      border-radius: 999px;
      background: #E4E4E7;
      overflow: hidden;
      position: relative;
    }
    .wiz-seg-fill {
      position: absolute;
      inset: 0;
      width: 0%;
      background: #09090B;
      border-radius: 999px;
      transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .wiz-seg.done .wiz-seg-fill {
      width: 100%;
    }
    .wiz-step-badge {
      font-size: 12px;
      font-weight: 800;
      color: #09090B;
      background: #FFFFFF;
      border: 1px solid rgba(9, 9, 11, 0.06);
      padding: 6px 12px;
      border-radius: 999px;
      letter-spacing: -0.01em;
      font-variant-numeric: tabular-nums;
      box-shadow: 0 2px 8px rgba(9, 9, 11, 0.03);
      flex-shrink: 0;
    }
    .wiz-step-panel {
      display: none;
      flex-direction: column;
      gap: 12px;
      padding-bottom: 18px;
      background: transparent !important;
      animation: wizSlideStep 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .wiz-step-panel.active {
      display: flex;
      background: transparent !important;
    }
    @keyframes wizSlideStep {
      from { opacity: 0.35; transform: translateX(18px); }
      to { opacity: 1; transform: translateX(0); }
    }
    .wiz-eyebrow {
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #71717A !important;
      margin-bottom: -4px;
    }
    #wizStep1 .wiz-eyebrow {
      color: #71717A !important;
    }
    .wiz-title {
      font-size: 26px;
      font-weight: 800;
      color: #09090B;
      letter-spacing: -0.035em;
      line-height: 1.15;
    }
    .wiz-sub {
      font-size: 13.5px;
      color: #71717A;
      font-weight: 500;
      line-height: 1.45;
      margin-bottom: 4px;
    }
    .wiz-option-card {
      position: relative;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 44px 16px 16px;
      border-radius: 22px;
      background: #FFFFFF;
      border: 1.5px solid rgba(9, 9, 11, 0.06);
      box-shadow: 0 4px 18px -4px rgba(9, 9, 11, 0.03) !important;
      cursor: pointer;
      transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .wiz-option-card:hover {
      border-color: rgba(9, 9, 11, 0.14);
    }
    /* Estilo Cal AI + Apple Clean 120Hz nos Cards Selecionados (Preto Obsidiana #09090B) */
    .wiz-option-card.selected,
    #wizStep1 .wiz-option-card.selected {
      background: #09090B !important;
      border-color: #09090B !important;
      color: #FFFFFF !important;
      box-shadow: 0 10px 26px -6px rgba(9, 9, 11, 0.22) !important;
    }
    .wiz-option-card.selected div,
    #wizStep1 .wiz-option-card.selected div {
      color: #FFFFFF !important;
    }
    .wiz-option-card.selected div div:last-child,
    #wizStep1 .wiz-option-card.selected div div:last-child {
      color: rgba(255, 255, 255, 0.72) !important;
    }
    .wiz-option-card::after,
    #wizStep1 .wiz-option-card::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 16px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1.5px solid #D4D4D8;
      background: transparent;
      color: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 900;
      opacity: 1;
      transform: translateY(-50%) scale(1);
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-sizing: border-box;
    }
    .wiz-option-card.selected::after,
    #wizStep1 .wiz-option-card.selected::after {
      content: "✓";
      content: "✓" / "";
      background: #FFFFFF;
      border-color: #FFFFFF;
      color: #09090B;
      opacity: 1;
      transform: translateY(-50%) scale(1);
    }
    .wiz-option-icon {
      width: 44px;
      height: 44px;
      border-radius: 14px;
      background: #F4F5F8;
      border: none;
      color: #09090B;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 19px;
      flex-shrink: 0;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .wiz-option-card.selected .wiz-option-icon,
    #wizStep1 .wiz-option-card.selected .wiz-option-icon {
      background: rgba(255, 255, 255, 0.14) !important;
      color: #FFFFFF !important;
      border: none !important;
      box-shadow: none !important;
    }
    .wiz-metric-box {
      background: #FFFFFF;
      border: 1px solid rgba(9, 9, 11, 0.06) !important;
      border-radius: 22px;
      padding: 16px;
      box-shadow: 0 4px 18px -4px rgba(9, 9, 11, 0.03) !important;
      transition: border-color 0.2s ease;
    }
    .wiz-metric-box:focus-within {
      border-color: rgba(9, 9, 11, 0.22) !important;
    }
    .wiz-metric-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      gap: 8px;
    }
    .wiz-metric-lbl {
      font-size: 14px;
      font-weight: 700;
      color: #09090B !important;
      letter-spacing: normal;
    }
    .wiz-metric-val {
      font-size: 15.5px;
      font-weight: 800;
      color: #09090B;
      letter-spacing: -0.02em;
      min-width: 74px;
      text-align: center;
      font-variant-numeric: tabular-nums;
      background: #F4F5F8;
      border: none;
      border-radius: 11px;
      padding: 7px 11px;
    }
    .wiz-stepper-cluster {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    .wiz-stepper-btn {
      width: 34px;
      height: 34px;
      border-radius: 11px;
      border: none;
      background: #F4F5F8;
      color: #09090B;
      font-size: 17px;
      font-weight: 700;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
      transition: transform 0.14s ease, background 0.18s ease, color 0.18s ease;
      flex-shrink: 0;
    }
    .wiz-stepper-btn:hover {
      background: #E4E4E7;
    }
    .wiz-stepper-btn:active {
      transform: scale(0.92);
      background: #09090B;
      color: #FFFFFF;
    }
    .wiz-range {
      width: 100%;
      accent-color: #09090B;
      height: 6px;
      border-radius: 999px;
      cursor: pointer;
    }
    .wiz-chip-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
    }
    .wiz-chip {
      padding: 8px 6px;
      border-radius: 12px;
      background: #F4F5F8;
      border: 1px solid transparent;
      color: #18181B;
      font-size: 11.4px;
      letter-spacing: normal;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: none !important;
      display: inline-flex;
      align-items: center;
      justify-content: flex-start;
      gap: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.2;
    }
    /* Compactação Cirúrgica Mobile (390x844) para Passo 2 (IMC visível sem scroll) e Passo 4 (Restrições visíveis acima da dobra) */
    #wizStep2 {
      gap: 8px !important;
      padding-bottom: 10px !important;
    }
    #wizStep2 .wiz-title,
    #wizStep4 .wiz-title {
      font-size: 22px !important;
      line-height: 1.12 !important;
    }
    #wizStep2 .wiz-sub,
    #wizStep4 .wiz-sub {
      font-size: 12.5px !important;
      line-height: 1.32 !important;
      margin-bottom: 2px !important;
    }
    #wizStep2 .wiz-metric-box {
      padding: 10px 13px !important;
      border-radius: 18px !important;
    }
    #wizStep2 .wiz-metric-top {
      margin-bottom: 6px !important;
    }
    #wizStep4 {
      gap: 8px !important;
      padding-bottom: 12px !important;
    }
    #wizStep4 .wiz-metric-box {
      padding: 11px 13px !important;
      border-radius: 18px !important;
    }
    @media (max-width: 768px) {
      input[type="text"],
      input[type="email"],
      input[type="password"],
      input[type="number"],
      input[type="tel"],
      input[type="search"],
      select,
      textarea {
        font-size: 16px !important;
      }
    }
    .wiz-chip.selected {
      background: #09090B !important;
      border-color: #09090B !important;
      color: #FFFFFF !important;
      font-weight: 700 !important;
      box-shadow: 0 4px 12px rgba(9, 9, 11, 0.14) !important;
    }
    .wiz-restriction-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .wiz-restriction-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 4px;
      padding: 12px 13px;
      border-radius: 16px;
      background: #F4F5F8;
      border: 1.5px solid transparent;
      text-align: left;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
      position: relative;
    }
    .wiz-restriction-card .wiz-rest-title {
      font-size: 12.5px;
      font-weight: 700;
      color: #09090B;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      letter-spacing: normal;
    }
    .wiz-restriction-card .wiz-rest-sub {
      font-size: 11px;
      color: #71717A;
      line-height: 1.32;
      font-weight: 500;
    }
    .wiz-restriction-card .wiz-rest-check {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1.5px solid #D4D4D8;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      color: transparent;
      flex-shrink: 0;
      transition: all 0.18s ease;
    }
    .wiz-restriction-card.selected {
      background: #09090B !important;
      border-color: #09090B !important;
      box-shadow: 0 6px 16px -4px rgba(9, 9, 11, 0.2) !important;
    }
    .wiz-restriction-card.selected .wiz-rest-title {
      color: #FFFFFF !important;
    }
    .wiz-restriction-card.selected .wiz-rest-sub {
      color: rgba(255, 255, 255, 0.72) !important;
    }
    .wiz-restriction-card.selected .wiz-rest-check {
      background: #FFFFFF !important;
      border-color: #FFFFFF !important;
      color: #09090B !important;
      font-weight: 900;
    }
    .wiz-footer {
      position: sticky;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 25;
      margin-top: 16px;
      margin-left: -20px;
      margin-right: -20px;
      padding: 12px 20px calc(env(safe-area-inset-bottom, 12px) + 12px);
      background: rgba(244, 245, 248, 0.92);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-top: 1px solid rgba(9, 9, 11, 0.06);
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: stretch;
    }
    .wiz-next-btn {
      width: 100%;
      height: 54px;
      padding: 0 22px;
      border-radius: 999px;
      background: #09090B !important;
      color: #FFFFFF !important;
      border: none !important;
      font-size: 15.5px;
      font-weight: 700;
      letter-spacing: -0.015em;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 10px 24px -6px rgba(9, 9, 11, 0.28) !important;
      transition: transform 0.15s ease, box-shadow 0.2s ease;
    }
    #vibeDietOnboardingWizard #wizAgeInput::placeholder {
      color: #A1A1AA !important;
      font-weight: 600 !important;
    }
    .wiz-next-btn:active:not(:disabled) {
      transform: scale(0.98);
    }
    .wiz-next-btn:disabled,
    .wiz-next-btn.wiz-btn-disabled {
      opacity: 0.5 !important;
      cursor: not-allowed !important;
      box-shadow: none !important;
      transform: none !important;
    }
    #wizAgeInput.input-error {
      border-color: #EF4444 !important;
      background: #FEF2F2 !important;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16) !important;
    }
    /* TRAVA APPLE ANTI-SAMBADA LATERAL EM DIETA / PLANOS E FÍSICA DE MOLA EM NOTIFICAÇÕES */
    #tabDiet,
    #dietDiaryMainSectionView,
    #dietAdvancedToolsContainer,
    #dietSubTabPlan,
    #dietPlansListView,
    #dietBuilderSetupView,
    #dietGeneratedPlanView {
      overflow-x: hidden !important;
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      touch-action: pan-y !important;
    }
    #tabDiet,
    #dietDiaryMainSectionView {
      padding-bottom: calc(112px + env(safe-area-inset-bottom, 16px)) !important;
    }
    .notif-sheet {
      will-change: transform, height;
    }

    /* RESPIRO SUPERIOR NAS TELAS DE PLANOS, PROGRESSO, PERFIL E SCANNER (QUANDO #mainAppHeader ESTÁ OCULTO) */
    #dietAdvancedToolsContainer {
      padding-top: max(38px, calc(env(safe-area-inset-top, 0px) + 24px)) !important;
      position: relative;
      z-index: 10;
    }
    #tabGoals,
    #tabProfile,
    #tabScanner {
      padding-top: max(36px, calc(env(safe-area-inset-top, 0px) + 22px)) !important;
    }
    #progressPhotosFullScreenModal > div:first-child {
      padding-top: max(42px, calc(env(safe-area-inset-top, 0px) + 28px)) !important;
    }

    /* ==========================================================================
       PROTEÇÃO UNIVERSAL DE SAFE AREA NO IPHONE (TODAS AS TELAS, ABAS E MODAIS)
       Evita qualquer colisão com Relógio (00:32), Dynamic Island, Sinal e Bateria
       ========================================================================== */
    @media (max-width: 600px) {
      .app-header {
        padding-top: max(calc(12px + env(safe-area-inset-top, 0px)), 52px) !important;
      }
      #dietAdvancedToolsContainer {
        padding-top: max(calc(20px + env(safe-area-inset-top, 0px)), 56px) !important;
      }
      #tabProfile,
      #tabScanner {
        padding-top: max(calc(18px + env(safe-area-inset-top, 0px)), 54px) !important;
      }
      #tabGoals {
        padding-top: max(calc(12px + env(safe-area-inset-top, 0px)), 40px) !important;
      }
      #progressPhotosFullScreenModal > div:first-child {
        padding-top: max(calc(20px + env(safe-area-inset-top, 0px)), 56px) !important;
      }
      #tabProfile .insta-profile-top-bar {
        padding-top: max(calc(12px + env(safe-area-inset-top, 0px)), 52px) !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
        padding-bottom: 12px !important;
        margin: -16px -16px 14px -16px !important;
        top: -16px !important;
        position: sticky !important;
      }
      #tabLeaderboard .club-header-top-row {
        padding-top: max(calc(10px + env(safe-area-inset-top, 0px)), 42px) !important;
      }
      #streakModal .modal-sheet {
        padding-top: 16px !important;
      }
      #postDetailSheetEl {
        padding-top: 10px !important;
      }
      #vibeDietOnboardingWizard {
        padding-top: max(calc(24px + env(safe-area-inset-top, 0px)), 60px) !important;
      }
      .modal-overlay:not(#streakModal):not(#postDetailModal) .modal-sheet {
        max-height: calc(100dvh - max(env(safe-area-inset-top, 0px), 54px)) !important;
      }
    }

    /* ==========================================================================
       ARGON 20x — WARM ORGANIC MINIMALIST UI SYSTEM (HEADER, FEED & DESCOBRIR)
       ========================================================================== */
    .app-header {
      background: transparent !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border-bottom: none !important;
      padding: 12px 16px 8px 16px !important;
    }
    .header-profile-btn {
      width: 36px !important;
      height: 36px !important;
      border-radius: 12px !important;
      background: #18181B !important;
      border: 1px solid rgba(255, 255, 255, 0.14) !important;
      box-shadow: 0 4px 12px rgba(24, 24, 27, 0.16) !important;
    }
    .brand-logo {
      font-size: 21px !important;
      font-weight: 800 !important;
      letter-spacing: -0.03em !important;
      line-height: 1 !important;
      color: #09090B !important;
      transform: translate3d(0, 0, 0);
      backface-visibility: hidden;
      -webkit-font-smoothing: antialiased;
      white-space: nowrap;
    }
    .brand-logo span {
      color: #09090B !important;
    }
    body.dark-theme .brand-logo,
    body.dark-theme .brand-logo span,
    [data-theme="dark"] .brand-logo,
    [data-theme="dark"] .brand-logo span {
      color: #FAFAFA !important;
    }
    .argon-header-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      padding: 5px 11px;
      border-radius: 9999px;
    }
    .argon-header-pill-divider {
      width: 1px;
      height: 13px;
      background: var(--border);
    }
    .argon-header-circle-btn {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--surface-subtle);
      border: 1px solid var(--border);
      color: var(--text);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      transition: transform 0.15s ease, background 0.15s ease;
      flex-shrink: 0;
    }
    .argon-header-circle-btn:active {
      transform: scale(0.92);
    }

    /* Seção "Compromisso do Dia • Quem tá no foco hoje" */
    .commitment-section {
      margin: 4px 0 14px 0;
    }
    .commitment-section-title {
      font-size: 13.5px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
      margin-bottom: 9px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .commitment-rail {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding: 2px 2px 6px 2px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .commitment-rail::-webkit-scrollbar {
      display: none;
    }
    .commitment-micro-card {
      display: flex;
      align-items: center;
      gap: 10px;
      height: 58px;
      padding: 8px 14px 8px 10px;
      border-radius: 18px;
      background: var(--surface);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      flex-shrink: 0;
      cursor: pointer;
      transition: transform 0.16s ease, border-color 0.16s ease;
      user-select: none;
    }
    .commitment-micro-card:active {
      transform: scale(0.96);
      border-color: var(--primary);
    }
    .commitment-avatar-wrap {
      position: relative;
      width: 38px;
      height: 38px;
      flex-shrink: 0;
    }
    .commitment-avatar-img {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid #D4C5A9;
    }
    .commitment-flame-mini {
      position: absolute;
      bottom: -3px;
      right: -3px;
      width: 17px;
      height: 17px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      font-size: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }
    .commitment-text-col {
      display: flex;
      flex-direction: column;
      gap: 1px;
    }
    .commitment-name {
      font-size: 12.5px;
      font-weight: 800;
      color: var(--text);
      line-height: 1.15;
      white-space: nowrap;
    }
    .commitment-status {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--text-secondary);
      line-height: 1.15;
      white-space: nowrap;
    }

    /* Cards de Publicação Argon 20x (Warm Organic Minimalist) */
    .argon-post-card {
      background: var(--surface) !important;
      border: 1px solid var(--border) !important;
      border-radius: 24px !important;
      padding: 16px !important;
      margin-bottom: 16px !important;
      box-shadow: var(--shadow-sm) !important;
    }
    .argon-post-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .argon-author-cluster {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
    }
    .argon-author-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 1.5px solid var(--border);
      flex-shrink: 0;
    }
    .argon-author-name {
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.02em;
      line-height: 1.2;
    }
    .argon-author-handle {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
      line-height: 1.2;
      margin-top: 2px;
    }
    .argon-caption-top-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin: 6px 0 11px 0;
      flex-wrap: wrap;
    }
    .argon-caption-top-text {
      font-size: 14px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.4;
      flex: 1;
      min-width: 160px;
    }
    .argon-broc-reward-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: var(--primary-soft);
      color: var(--primary-dark);
      font-size: 11.5px;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 9999px;
      cursor: pointer;
      white-space: nowrap;
      border: 1px solid rgba(16, 185, 129, 0.22);
    }
    .argon-post-media-box {
      position: relative;
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      background: var(--surface-subtle);
      margin-bottom: 12px;
      aspect-ratio: 4 / 3.4;
      max-height: 360px;
      cursor: pointer;
    }
    .argon-post-media-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .argon-vibelens-overlay-tag {
      position: absolute;
      bottom: 10px;
      left: 10px;
      background: rgba(24, 34, 29, 0.78);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 5px 10px;
      border-radius: 9999px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      font-variant-numeric: tabular-nums;
      z-index: 3;
    }
    .argon-engagement-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }
    .argon-engagement-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .argon-support-pill-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      height: 38px;
      padding: 0 14px;
      border-radius: 9999px;
      background: var(--primary-soft);
      border: 1px solid rgba(16, 185, 129, 0.25);
      color: var(--primary-dark);
      font-size: 13px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.16s ease, background 0.16s ease;
    }
    .argon-support-pill-btn.liked {
      background: #10B981;
      color: #FFFFFF;
      border-color: #059669;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
    }
    .argon-support-pill-btn:active {
      transform: scale(0.92);
    }
    .argon-circle-soft-btn {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--primary-soft);
      border: 1px solid rgba(16, 185, 129, 0.2);
      color: var(--text);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    .argon-circle-soft-btn:active {
      transform: scale(0.92);
    }
    .argon-social-proof-row {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding-top: 2px;
    }
    .argon-stacked-avatars {
      display: flex;
      align-items: center;
    }
    .argon-stacked-avatars img {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--surface);
      margin-left: -6px;
    }
    .argon-stacked-avatars img:first-child {
      margin-left: 0;
    }
    .argon-social-proof-text {
      font-size: 12.5px;
      color: var(--text-secondary);
      font-weight: 500;
    }
    .argon-social-proof-text b {
      color: var(--text);
      font-weight: 800;
    }
    .bottom-nav {
      background: var(--nav-bg) !important;
      backdrop-filter: blur(12px) !important;
      -webkit-backdrop-filter: blur(12px) !important;
      border-top: 1px solid var(--border) !important;
    }
    .bottom-nav .nav-item.active {
      color: #10B981 !important;
    }
    .vb-fab-btn {
      background: linear-gradient(145deg, #2A4036 0%, #1F3028 100%) !important;
      border: 2px solid rgba(255, 255, 255, 0.9) !important;
      box-shadow: 0 6px 16px rgba(31, 48, 40, 0.22) !important;
      color: #FFFFFF !important;
    }
    body.dark-theme .vb-fab-btn {
      background: linear-gradient(145deg, #2B4237 0%, #1E2E26 100%) !important;
      border-color: #365043 !important;
      color: #FFFFFF !important;
    }

    /* Respiro inferior compacto e harmônico em todas as 5 abas e modais */
    .screen-body {
      padding-bottom: 16px !important;
    }
    .tab-content {
      padding-bottom: 68px !important;
    }
    .modal-sheet {
      padding-bottom: max(calc(24px + env(safe-area-inset-bottom, 0px)), 48px) !important;
    }

    /* Card 2 Hidratação sem borda/alerta vermelho — Branco puro #FFFFFF com borda #E8E4DC */
    .water-bottle-card,
    .water-bottle-card.pending,
    .water-bottle-card.completed {
      background: var(--surface) !important;
      border: 1px solid var(--border) !important;
      border-radius: 24px !important;
      box-shadow: var(--shadow-sm) !important;
    }

    /* Barra Superior do Perfil (#tabProfile) alinhada exatamente à altura e largura do Cabeçalho Principal */
    #tabProfile .insta-profile-top-bar {
      position: sticky !important;
      top: -16px !important;
      margin: -16px -16px 14px -16px !important;
      padding: 14px 18px 12px 18px !important;
      background: var(--nav-bg) !important;
      backdrop-filter: blur(12px) !important;
      -webkit-backdrop-filter: blur(12px) !important;
      border-bottom: 1px solid var(--border) !important;
      z-index: 35 !important;
    }
    @media (max-width: 600px) {
      #tabProfile .insta-profile-top-bar {
        padding-top: max(calc(12px + env(safe-area-inset-top, 0px)), 52px) !important;
      }
    }
    #tabProfile .nike-profile-hero {
      padding-top: 8px !important;
      margin-top: 2px !important;
    }

    /* Estilo das Pílulas de Filtro do Pódio (iPhone 26 Liquid Glass) */
    .podium-cat-btn {
      background: transparent !important;
      color: #64748B !important;
      border: 1px solid transparent !important;
      border-radius: 9999px !important;
      padding: 8px 10px !important;
      font-size: 12px !important;
      font-weight: 700 !important;
      box-shadow: none !important;
      transition: all 0.28s cubic-bezier(0.22, 1.35, 0.36, 1) !important;
    }
    .podium-cat-btn.active {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.52) 100%) !important;
      backdrop-filter: blur(16px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
      color: #1D1D1F !important;
      border: 1px solid rgba(255, 255, 255, 0.94) !important;
      font-weight: 800 !important;
      box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08), inset 0 1.5px 0 rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(28, 25, 23, 0.05) !important;
    }
    body.dark-theme .podium-cat-btn.active {
      background: #10B981 !important;
      color: #0D1310 !important;
      border-color: #10B981 !important;
    }

    /* ==========================================================================
       TELA INICIAL & MODAL DE LOGIN/CADASTRO EM ESTÉTICA CLARA ("WARM ORGANIC MINIMALIST")
       Substitui o fundo preto/dark antigo por Creme Orgânico (#FAF8F5) e luz natural
       ========================================================================== */
    /* BLINDAGEM DEFINITIVA LOGIN FULL-BLEED IOS SAFARI (FUNDO BRANCO PURO #FFFFFF ESTILO CAL AI) */
    html:has(#welcomeAuthScreen:not(.hidden)),
    body:has(#welcomeAuthScreen:not(.hidden)) {
      background: #FFFFFF !important;
      background-color: #FFFFFF !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
      overflow-y: visible !important;
      overscroll-behavior: auto !important;
      height: 100dvh !important;
      max-height: 100dvh !important;
      min-height: calc(100vh + 2px) !important;
      position: static !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    body:has(#welcomeAuthScreen:not(.hidden)) .phone-container,
    body:has(#welcomeAuthScreen:not(.hidden)) .desktop-toolbar {
      display: none !important;
    }
    .welcome-auth-screen {
      background: #FFFFFF !important;
      background-color: #FFFFFF !important;
      position: relative !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100vw !important;
      max-width: 100vw !important;
      height: 100dvh !important;
      min-height: 100vh !important;
      max-height: 100dvh !important;
      padding-top: 0 !important;
      overflow: visible !important;
    }
    .welcome-bg-slides {
      background: #FFFFFF !important;
      background-image: none !important;
    }
    .welcome-slide-img {
      display: none !important;
      filter: brightness(1.03) saturate(1.06) !important;
    }
    .welcome-video-overlay {
      display: none !important;
      position: absolute !important;
      top: -120px !important;
      left: 0 !important;
      right: 0 !important;
      bottom: -120px !important;
      width: 100vw !important;
      height: calc(100% + 240px) !important;
      background: #FFFFFF !important;
    }
    .welcome-clean-brand {
      background: #F4F4F6 !important;
      border: 1px solid rgba(9, 9, 11, 0.06) !important;
      padding: 6px 14px !important;
      border-radius: 999px !important;
      color: #09090B !important;
      text-shadow: none !important;
      box-shadow: none !important;
    }
    .welcome-clean-brand .brand-accent {
      color: #09090B !important;
    }
    .welcome-bottom-content {
      position: relative !important;
      z-index: 5 !important;
      padding: 0 24px calc(env(safe-area-inset-bottom, 16px) + 18px) !important;
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      max-width: 430px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    .welcome-title {
      color: #09090B !important;
      text-shadow: none !important;
      font-size: clamp(27px, 7.4vw, 32px) !important;
      font-weight: 800 !important;
      line-height: 1.16 !important;
      letter-spacing: -0.03em !important;
      text-align: center !important;
      margin-bottom: 22px !important;
    }
    .welcome-title-accent {
      background: none !important;
      -webkit-background-clip: initial !important;
      -webkit-text-fill-color: #09090B !important;
      color: #09090B !important;
      filter: none !important;
    }
    .welcome-subtitle {
      display: none !important;
      color: #52525B !important;
      text-shadow: none !important;
      font-weight: 500 !important;
    }
    .welcome-actions-row {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      gap: 14px !important;
      width: 100% !important;
    }
    /* Botões de Boas-Vindas em Paleta Cal AI (Preto Puro #09090B sobre Fundo Branco #FFFFFF) */
    .welcome-btn-primary {
      width: 100% !important;
      flex: none !important;
      height: 56px !important;
      padding: 0 24px !important;
      background: #09090B !important;
      color: #FFFFFF !important;
      border: none !important;
      border-radius: 999px !important;
      font-size: 16.5px !important;
      font-weight: 700 !important;
      box-shadow: none !important;
    }
    .welcome-btn-secondary {
      flex: none !important;
      width: auto !important;
      padding: 4px 12px !important;
      background: transparent !important;
      color: #52525B !important;
      border: none !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      font-size: 14.5px !important;
      font-weight: 500 !important;
      gap: 4px !important;
    }

    /* Vitrine Central do Vídeo iPhone Escaneando o Prato Centralizado no Meio (Estética Cal AI) */
    .welcome-phone-showcase-wrap {
      position: relative;
      z-index: 4;
      flex: 1;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: auto 0;
      padding: 4px 16px;
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    .welcome-floating-iphone {
      position: relative;
      width: 226px;
      height: 368px;
      background: #18181B;
      border-radius: 38px;
      padding: 8px;
      box-shadow: 0 24px 54px -10px rgba(0, 0, 0, 0.55), 0 0 0 1.5px rgba(255, 255, 255, 0.22);
      transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
      animation: welcomePhoneFloat 5.2s ease-in-out infinite;
    }
    @keyframes welcomePhoneFloat {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-6px); }
    }
    @keyframes welcomeScanLaserSweep {
      0%, 100% { top: 14%; opacity: 0.5; }
      50% { top: 82%; opacity: 1; }
    }
    .welcome-scan-laser {
      position: absolute;
      left: 10%;
      right: 10%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #FFFFFF, #38BDF8, #FFFFFF, transparent);
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
      animation: welcomeScanLaserSweep 2.1s ease-in-out infinite;
      pointer-events: none;
    }

    /* Modal Slide-Up de Login & Cadastro em Estética Clara iOS / Cal AI (substitui rgba(10, 15, 28, 0.75) antigo por véu translúcido suave rgba(15, 23, 42, 0.28) sobre fundo claro #FFFFFF, zero breu preto e zero faixa de overscroll) */
    #authSheetModal {
      background-color: rgba(15, 23, 42, 0.28) !important;
      backdrop-filter: blur(14px) !important;
      -webkit-backdrop-filter: blur(14px) !important;
      touch-action: pan-y !important;
      overscroll-behavior: none !important;
    }
    .welcome-top-bar,
    .welcome-phone-showcase-wrap,
    .welcome-bottom-content {
      transition: opacity 0.2s ease, visibility 0.2s ease;
    }
    body.auth-modal-open .welcome-top-bar,
    body.auth-modal-open .welcome-phone-showcase-wrap,
    body.auth-modal-open .welcome-bottom-content,
    body:has(#authSheetModal.active) .welcome-top-bar,
    body:has(#authSheetModal.active) .welcome-phone-showcase-wrap,
    body:has(#authSheetModal.active) .welcome-bottom-content {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      transition: none !important;
    }
    body.auth-modal-open #welcomeAuthScreen,
    body:has(#authSheetModal.active) #welcomeAuthScreen {
      background: #FFFFFF !important;
      box-shadow: 0 -180px 0 180px #FFFFFF, 0 180px 0 180px #FFFFFF !important;
    }
    #authSheetModal .modal-sheet {
      position: relative !important;
      display: flex !important;
      flex-direction: column !important;
      overflow: visible !important;
      background: #F7F6F0 !important;
      color: #18221D !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border-top: 1px solid rgba(255, 255, 255, 0.75) !important;
      border-radius: 32px 32px 0 0 !important;
      box-shadow: 0 -14px 44px rgba(24, 34, 29, 0.16) !important;
      padding: 0 !important;
      height: auto !important;
      max-height: 90dvh !important;
      margin-bottom: 0 !important;
      will-change: transform !important;
    }
    #authSheetModal .modal-sheet::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -240px;
      height: 244px;
      background: #F7F6F0;
      pointer-events: none;
      z-index: 0;
    }
    #authSheetModal .modal-sheet {
      max-height: 88dvh !important;
    }
    #authSheetModal .auth-organic-hero-backdrop {
      display: none !important;
    }
    /* Garantir digitação fluida e seleção nativa em todos os inputs no iOS Safari / Android */
    input,
    textarea,
    select,
    [contenteditable="true"] {
      user-select: text !important;
      -webkit-user-select: text !important;
      touch-action: manipulation !important;
      pointer-events: auto !important;
    }
    #authSheetModal .auth-sheet-inner {
      position: relative;
      z-index: 1;
      flex: 0 1 auto;
      min-height: 0;
      max-height: 88dvh;
      border-radius: 32px 32px 0 0;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      overscroll-behavior: contain !important;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y !important;
      scroll-padding-top: 68px;
      scroll-padding-bottom: 140px;
      padding: 12px 24px calc(env(safe-area-inset-bottom, 16px) + 18px) !important;
      box-sizing: border-box;
    }
    /* Elevação Apple sólida e estável quando o teclado virtual do celular abre (zero redimensionamento ao trocar de input) */
    .modal-overlay.keyboard-active {
      align-items: flex-end !important;
    }
    .modal-overlay.active.keyboard-active:not(.is-sheet-dragging) .modal-sheet:not(.is-sheet-dragging) {
      transform: translateY(0);
      border-radius: 32px 32px 0 0 !important;
    }
    .modal-drag-bar,
    .modal-sheet-drag-header,
    .modal-title {
      touch-action: none;
      user-select: none;
      -webkit-user-select: none;
      cursor: grab;
    }
    .modal-drag-bar:active,
    .modal-sheet-drag-header:active {
      cursor: grabbing;
    }
    .modal-sheet {
      overscroll-behavior-y: contain;
      -webkit-overflow-scrolling: touch;
    }
    #vibeDietOnboardingWizard.keyboard-active {
      padding-bottom: 0 !important;
      scroll-padding-bottom: 24px;
    }
    #vibeDietOnboardingWizard.keyboard-active .wiz-footer,
    #vibeDietOnboardingWizard:has(#wizAgeInput:focus) .wiz-footer {
      position: relative !important;
      bottom: auto !important;
      transform: none !important;
    }
    body.keyboard-open:not(:has(.modal-overlay.active)) .screen-body:focus-within {
      padding-bottom: calc(var(--vibe-kb-pad, 220px) + 90px) !important;
      scroll-padding-bottom: 180px;
    }
    #authSheetModal .auth-top-brand-bar {
      position: sticky;
      top: -20px;
      z-index: 20;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: -20px -24px 14px -24px;
      padding: 10px 24px 10px 24px;
      min-height: 48px;
      background: rgba(247, 246, 240, 0.95);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(232, 228, 220, 0.55);
      touch-action: none !important;
      cursor: grab;
    }
    #authSheetModal .auth-header-block {
      touch-action: pan-y;
    }
    #authSheetModal .auth-brand-logo {
      font-size: 23px;
      font-weight: 900;
      letter-spacing: -0.6px;
      color: #18221D;
      line-height: 1;
    }
    #authSheetModal .auth-brand-logo span {
      color: #23352D;
    }
    #authSheetModal .sheet-close-btn {
      position: absolute !important;
      right: 20px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      width: 34px !important;
      height: 34px !important;
      border-radius: 50% !important;
      color: #18221D !important;
      background: rgba(255, 255, 255, 0.88) !important;
      backdrop-filter: blur(8px) !important;
      -webkit-backdrop-filter: blur(8px) !important;
      border: 1px solid rgba(232, 228, 220, 0.9) !important;
      box-shadow: 0 4px 12px rgba(24, 34, 29, 0.08) !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      cursor: pointer !important;
    }
    #authSheetModal .auth-header-block {
      text-align: center;
      margin-bottom: 10px !important;
      min-height: 46px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    #authSheetModal #authModalHeaderTitle {
      font-size: 21px !important;
      font-weight: 900 !important;
      color: #18221D !important;
      letter-spacing: -0.45px !important;
      line-height: 1.18 !important;
      margin-bottom: 2px !important;
      transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1), transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #authSheetModal #authModalHeaderSub {
      font-size: 12.5px !important;
      color: #555555 !important;
      font-weight: 500 !important;
      margin-top: 2px !important;
      line-height: 1.35 !important;
      transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1), transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #authSheetModal .auth-segmented-nav {
      position: relative !important;
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      align-items: center !important;
      background: rgba(232, 227, 217, 0.72) !important;
      backdrop-filter: blur(14px) !important;
      -webkit-backdrop-filter: blur(14px) !important;
      border: 1px solid rgba(214, 208, 196, 0.92) !important;
      border-radius: 999px !important;
      padding: 4px !important;
      margin-bottom: 12px !important;
      box-shadow: inset 0 1px 2px rgba(24, 34, 29, 0.06) !important;
      overflow: hidden !important;
    }
    #authSheetModal .auth-segmented-nav::before {
      content: "";
      position: absolute;
      top: 4px;
      bottom: 4px;
      left: 4px;
      width: calc(50% - 4px);
      border-radius: 999px;
      background: #FFFFFF;
      box-shadow: 0 4px 14px rgba(24, 34, 29, 0.11), 0 1px 2px rgba(24, 34, 29, 0.06);
      transform: translate3d(0%, 0, 0);
      transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
      z-index: 0;
    }
    #authSheetModal[data-auth-mode="login"] .auth-segmented-nav::before {
      transform: translate3d(100%, 0, 0);
    }
    #authSheetModal .auth-seg-btn {
      position: relative !important;
      z-index: 1 !important;
      background: transparent !important;
      box-shadow: none !important;
      color: #647067 !important;
      border-radius: 999px !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      padding: 8px 14px !important;
      transition: color 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #authSheetModal .auth-seg-btn.active {
      background: transparent !important;
      color: #18221D !important;
      font-weight: 800 !important;
      box-shadow: none !important;
    }
    #authSheetModal .auth-role-card {
      background: #FFFFFF !important;
      border: 1.5px solid #E5E2D9 !important;
      border-radius: 18px !important;
      color: #18221D !important;
      box-shadow: 0 4px 14px rgba(24, 34, 29, 0.04) !important;
    }
    #authSheetModal .auth-role-card .auth-role-icon {
      background: #F2EFE9 !important;
      color: #555555 !important;
    }
    #authSheetModal .auth-role-card.active {
      background: #FFFFFF !important;
      border-color: #23352D !important;
      border-width: 1.5px !important;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    }
    #authSheetModal .auth-role-card.active .auth-role-icon {
      background: #23352D !important;
      color: #FFFFFF !important;
    }
    #authSheetModal .auth-role-card.active .auth-role-check {
      background: #23352D !important;
      border-color: #23352D !important;
      color: #FFFFFF !important;
    }
    #authSheetModal .auth-role-title {
      color: #18221D !important;
    }
    #authSheetModal .auth-role-sub {
      color: #555555 !important;
    }
    #authSheetModal .auth-input-label {
      color: #334155 !important;
      font-size: 10.5px !important;
      font-weight: 800 !important;
      letter-spacing: 0.55px !important;
    }
    #authSheetModal .auth-field-input {
      background: #FFFFFF !important;
      color: #18221D !important;
      border: 1.5px solid #E5E2D9 !important;
      border-radius: 16px !important;
      padding: 14px 15px !important;
      box-shadow: 0 4px 14px rgba(24, 34, 29, 0.04) !important;
    }
    #authSheetModal .auth-field-input.has-icon {
      padding-left: 42px !important;
    }
    #authSheetModal .auth-field-input::placeholder {
      color: #94A3B8 !important;
      font-weight: 500 !important;
    }
    #authSheetModal .auth-field-input:focus {
      border-color: #23352D !important;
      box-shadow: 0 0 0 3px rgba(35, 53, 45, 0.08) !important;
    }
    #authSheetModal .auth-input-icon,
    #authSheetModal .auth-password-toggle {
      color: #94A3B8 !important;
    }
    #authRegSubmitBtn,
    #authLoginSubmitBtn,
    #authVerifySubmitBtn,
    #authForgotSubmitBtn {
      background: #23352D !important;
      color: #FFFFFF !important;
      border: none !important;
      border-radius: 999px !important;
      padding: 16px 20px !important;
      font-size: 15.5px !important;
      font-weight: 800 !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22) !important;
    }
    #authSheetModal a {
      color: #23352D;
    }
    @keyframes vdAuthPaneInFromRight {
      0% {
        opacity: 0;
        transform: translate3d(18px, 4px, 0) scale(0.992);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
      }
    }
    @keyframes vdAuthPaneInFromLeft {
      0% {
        opacity: 0;
        transform: translate3d(-18px, 4px, 0) scale(0.992);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
      }
    }
    @keyframes vdAuthHeaderGlide {
      0% {
        opacity: 0.25;
        transform: translate3d(0, 4px, 0);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
    }
    @keyframes vdAuthShake {
      0%, 100% { transform: translateX(0); }
      20%, 60% { transform: translateX(-6px); }
      40%, 80% { transform: translateX(6px); }
    }
    @keyframes vdSpin {
      to { transform: rotate(360deg); }
    }
    .vd-auth-pane-animate {
      animation: vdAuthPaneInFromRight 0.50s cubic-bezier(0.22, 1, 0.36, 1) both;
      will-change: opacity, transform;
    }
    .vd-auth-pane-animate.from-left {
      animation: vdAuthPaneInFromLeft 0.50s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .vd-auth-header-animate {
      animation: vdAuthHeaderGlide 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .vd-auth-shake {
      animation: vdAuthShake 0.36s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    }
    .vd-btn-spinner {
      width: 16px;
      height: 16px;
      border: 2.2px solid rgba(255,255,255,0.35);
      border-top-color: #FFFFFF;
      border-radius: 50%;
      display: inline-block;
      animation: vdSpin 0.65s linear infinite;
      flex-shrink: 0;
    }
    #authSheetModal .auth-field-input.input-error {
      border-color: #EF4444 !important;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14) !important;
    }
    .auth-input-wrap:focus-within .auth-field-input {
      border-color: #23352D !important;
      background: #FFFFFF !important;
      box-shadow: 0 0 0 3.5px rgba(35, 53, 45, 0.10) !important;
    }
    .auth-input-wrap:focus-within .auth-input-icon {
      color: #23352D !important;
      transform: translateY(-50%) scale(1.06);
    }
    .auth-submit-btn, .wiz-next-btn {
      transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, opacity 0.2s ease !important;
    }
    .auth-submit-btn:active, .wiz-next-btn:active {
      transform: scale(0.98);
    }
    .wiz-step-panel.active {
      opacity: 1 !important;
      background: transparent !important;
    }
    @media (max-width: 768px) {
      #authSheetModal .auth-field-input {
        font-size: 16px !important;
      }
    }
    .vibe-splash-screen {
      background: #FFFFFF !important;
    }
    .vibe-splash-screen .splash-brand-text {
      color: #09090B !important;
      font-size: 31px !important;
      font-weight: 800 !important;
      letter-spacing: -0.035em !important;
      line-height: 36px !important;
      transform: translateZ(0);
    }
    .vibe-splash-screen .splash-brand-text span,
    .vibe-splash-screen .splash-footer-brand {
      color: #09090B !important;
    }
    .vibe-splash-screen .splash-from-text {
      color: #64748B !important;
    }

    /* ==========================================================================
       VIBELENS™ INTERACTIVE AR STUDIO & CLUB CHALLENGES ARGON 20x (RICH, CLEAN & ANIMATED)
       ========================================================================== */
    @keyframes vibeLensLaserSweep {
      0% { top: 12%; opacity: 0; }
      15% { opacity: 0.85; }
      50% { top: 84%; opacity: 0.95; }
      85% { opacity: 0.85; }
      100% { top: 12%; opacity: 0; }
    }
    @keyframes vibeLensPinFloat {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-3px); }
    }
    @keyframes vibeLensCardPop {
      0% { opacity: 0; transform: translateY(8px) scale(0.98); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    .vibelens-laser-line {
      position: absolute;
      left: 8%;
      right: 8%;
      height: 1.5px;
      background: linear-gradient(90deg, transparent 0%, rgba(255, 252, 245, 0.85) 20%, #FFFFFF 50%, rgba(255, 252, 245, 0.85) 80%, transparent 100%);
      box-shadow: 0 0 12px rgba(255, 255, 255, 0.75), 0 0 24px rgba(245, 240, 230, 0.45);
      pointer-events: none;
      z-index: 4;
      animation: vibeLensLaserSweep 4.2s ease-in-out infinite;
    }
    :root {
      --vd-calai-spring-easing: linear(0, 0.018 0.6%, 0.072 1.4%, 0.278 3.2%, 0.892 7.8%, 1.184 11.4%, 1.242 13.5%, 1.216 15.8%, 1.078 21.2%, 0.974 26.8%, 0.956 30.2%, 0.986 38.4%, 1.008 46.5%, 0.998 62%, 1);
    }
    @keyframes vdCalAiPillSpringLift {
      0% {
        translate: 0px 8px;
        scale: 0.94;
      }
      36% {
        translate: 0px -10px;
        scale: 1.04;
      }
      70% {
        translate: 0px 1.5px;
        scale: 0.995;
      }
      100% {
        translate: 0px 0px;
        scale: 1;
      }
    }
    @keyframes vdArRadarPulse {
      0% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.78;
      }
      70% {
        transform: translate(-50%, -50%) scale(1.68);
        opacity: 0;
      }
      100% {
        transform: translate(-50%, -50%) scale(1.68);
        opacity: 0;
      }
    }
    .vibelens-ar-pin-dot {
      position: relative;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: rgba(9, 9, 11, 0.78);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1.75px solid rgba(255, 255, 255, 0.95);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      transform: translate(-50%, -50%);
      transition: transform 0.24s cubic-bezier(0.22, 1.35, 0.36, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      -webkit-tap-highlight-color: transparent;
    }
    .vibelens-ar-pin-dot::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 50%;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.75);
      pointer-events: none;
      animation: vdArRadarPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    }
    .vibelens-ar-pin-dot::after {
      content: "";
      position: absolute;
      inset: 4px;
      border-radius: 50%;
      border: 1px dashed rgba(255, 255, 255, 0.36);
      pointer-events: none;
    }
    .vibelens-ar-pin-dot.is-active {
      background: rgba(16, 185, 129, 0.94);
      border-color: #FFFFFF;
      box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.28), 0 8px 22px rgba(0, 0, 0, 0.48);
      transform: translate(-50%, -50%) scale(1.1);
    }
    .vibelens-ar-pin-dot.is-active::before {
      border-color: rgba(16, 185, 129, 0.92);
    }
    .vibelens-ar-pin-core {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #FFFFFF;
      box-shadow: 0 0 8px rgba(255, 255, 255, 0.96);
      pointer-events: none;
    }
    #vibeLensHudStage:not(.vd-live-camera-mode) {
      height: 248px !important;
      transition: height 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .vibelens-ar-pill {
      position: relative;
      z-index: 45;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.95);
      border-radius: 999px;
      padding: 6px 8px 6px 12px;
      box-shadow: 0 14px 34px rgba(9, 9, 11, 0.28), 0 2px 8px rgba(0, 0, 0, 0.12);
      color: #09090B;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      user-select: none;
      width: auto;
      max-width: 100%;
      box-sizing: border-box;
      white-space: nowrap;
      pointer-events: auto;
      translate: 0px 0px;
      scale: 1;
      will-change: translate, scale;
    }
    .vibelens-ar-pill:hover,
    .vibelens-ar-pill.active-pin,
    .vibelens-ar-pill.is-active {
      background: rgba(255, 255, 255, 0.98);
      border-color: #FFFFFF;
      box-shadow: 0 16px 36px rgba(9, 9, 11, 0.30), 0 0 0 1.5px rgba(255, 255, 255, 0.65);
      z-index: 45;
      animation: vdCalAiPillSpringLift 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      animation-timing-function: var(--vd-calai-spring-easing, cubic-bezier(0.22, 1, 0.36, 1));
    }
    .vibelens-ar-pill:active {
      opacity: 0.96;
    }
    .vibelens-ar-step-btn {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 1px solid #E4E4E7;
      background: #FFFFFF;
      color: #09090B;
      font-size: 13px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      line-height: 1;
      transition: background 0.15s ease, transform 0.12s ease;
    }
    .vibelens-ar-step-btn:active {
      transform: scale(0.88);
      background: #F4F4F5;
    }
    .vibelens-ing-card {
      background: #FFFFFF;
      border: 1px solid #E6E1D6;
      border-radius: 20px;
      padding: 13px 14px;
      box-shadow: 0 4px 16px rgba(28, 25, 23, 0.04);
      transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
      animation: vibeLensCardPop 0.28s ease backwards;
    }
    .vibelens-ing-card.expanded,
    .vibelens-ing-card.is-expanded {
      border-color: #CFC8BC;
      box-shadow: 0 10px 26px rgba(28, 25, 23, 0.08);
      background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
    }
    .vibelens-portion-chip {
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid #E4DFD5;
      background: #FAF8F5;
      color: #78756E;
      font-size: 11px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.16s ease;
    }
    .vibelens-portion-chip.active {
      background: #EFECE6;
      color: #1D1D1F;
      border-color: #CFC8BC;
      box-shadow: 0 2px 8px rgba(28, 25, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    .vibelens-portion-chip:active {
      transform: scale(0.92);
    }

    /* ESTILOS DA NOVA MINHA GALERIA VISUAL (APPLE PHOTOS GRID & CAMERA DOCK) */
    .vd-gallery-mosaic-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 14px;
    }
    .vd-gallery-tile {
      position: relative;
      aspect-ratio: 1 / 1.06;
      border-radius: 20px;
      overflow: hidden;
      background: #EFECE6;
      border: 1px solid rgba(28, 25, 23, 0.08);
      box-shadow: 0 8px 22px -6px rgba(28, 25, 23, 0.10), 0 2px 6px rgba(28, 25, 23, 0.04);
      cursor: pointer;
      isolation: isolate;
      transition: transform 0.28s cubic-bezier(0.22, 1.35, 0.36, 1), box-shadow 0.25s ease;
    }
    .vd-gallery-tile.featured-wide {
      grid-column: span 2;
      aspect-ratio: 16 / 9.5;
    }
    .vd-gallery-tile:active {
      transform: scale(0.975);
    }
    .vd-gallery-tile img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .vd-gallery-tile:hover img {
      transform: scale(1.04);
    }
    .vd-gallery-tile-scrim {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(20, 18, 15, 0.22) 0%, rgba(20, 18, 15, 0.04) 42%, rgba(18, 16, 14, 0.82) 100%);
      pointer-events: none;
      z-index: 1;
    }
    .vd-gallery-tile-top {
      position: absolute;
      top: 9px;
      left: 9px;
      right: 9px;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }
    .vd-gallery-glass-tag {
      background: rgba(255, 255, 255, 0.22);
      backdrop-filter: blur(14px) saturate(180%);
      -webkit-backdrop-filter: blur(14px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.36);
      color: #FFFFFF;
      font-size: 10px;
      font-weight: 800;
      padding: 3.5px 9px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      letter-spacing: -0.01em;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    }
    .vd-gallery-tile-bottom {
      position: absolute;
      left: 10px;
      right: 10px;
      bottom: 10px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }
    .vd-gallery-tile-title {
      font-size: 12.5px;
      font-weight: 800;
      color: #FFFFFF;
      letter-spacing: -0.015em;
      line-height: 1.2;
      text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .vd-gallery-tile-meta {
      font-size: 10.5px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.86);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }
    /* Cards Editoriais & Pílulas Liquid Glass iOS 26 da Aba Desafios do Clube (Arthur 120Hz) */
    @keyframes vdChallengeGlassSpringIn {
      0% {
        opacity: 1;
        transform: translate3d(0, 8px, 0) scale(0.99);
      }
      68% {
        opacity: 1;
        transform: translate3d(0, -2px, 0) scale(1.006);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
      }
    }
    .argon-challenge-card {
      background: #FFFFFF;
      border: 1px solid #E2E8F0;
      border-radius: 24px;
      padding: 16px;
      margin-bottom: 12px;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
      transition:
        transform 0.36s cubic-bezier(0.22, 1.35, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
      cursor: pointer;
      overflow: hidden;
      position: relative;
      will-change: transform;
    }
    .argon-challenge-card.vd-ch-spring-in {
      animation: vdChallengeGlassSpringIn 0.48s cubic-bezier(0.22, 1.35, 0.36, 1) both;
      animation-delay: calc(var(--ch-idx, 0) * 55ms);
    }
    .argon-challenge-card:active {
      transform: scale(0.978);
    }
    .argon-challenge-card.expanded {
      border-color: #CFC8B8;
      box-shadow:
        0 16px 34px -10px rgba(28, 25, 23, 0.11),
        0 4px 10px rgba(28, 25, 23, 0.04),
        inset 0 1.5px 0 rgba(255, 255, 255, 1);
    }
    .vd-challenge-drawer-wrap {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      margin-top: 0;
      transition:
        grid-template-rows 0.42s cubic-bezier(0.22, 1.35, 0.36, 1),
        opacity 0.28s ease,
        margin-top 0.36s cubic-bezier(0.22, 1.35, 0.36, 1);
    }
    .vd-challenge-drawer-inner {
      overflow: hidden;
      min-height: 0;
      transform: translateY(-6px);
      transition: transform 0.38s cubic-bezier(0.22, 1.35, 0.36, 1);
    }
    .argon-challenge-card.expanded .vd-challenge-drawer-wrap,
    .argon-challenge-card.is-completed .vd-challenge-drawer-wrap {
      grid-template-rows: 1fr;
      opacity: 1;
      margin-top: 12px;
    }
    .argon-challenge-card.expanded .vd-challenge-drawer-inner,
    .argon-challenge-card.is-completed .vd-challenge-drawer-inner {
      transform: translateY(0);
    }
    .vd-challenge-chevron {
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: #F8FAFC;
      border: 1px solid #E2E8F0;
      color: #64748B;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform 0.38s cubic-bezier(0.22, 1.35, 0.36, 1), background 0.25s ease;
    }
    .argon-challenge-card.expanded .vd-challenge-chevron {
      transform: rotate(180deg);
      background: #F1F5F9;
      color: #09090B;
    }
    .argon-challenge-filter-pill {
      padding: 8px 6px;
      border-radius: 999px;
      border: 1px solid transparent;
      background: transparent;
      color: #64748B;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.22s ease;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      box-shadow: none;
    }
    .argon-challenge-filter-pill.active {
      background: #09090B !important;
      color: #FFFFFF !important;
      border: 1px solid #09090B !important;
      font-weight: 800 !important;
      box-shadow: 0 4px 12px rgba(9, 9, 11, 0.16) !important;
    }

    /* ==========================================================================
       CORREÇÃO DEFINITIVA DE SAFE-AREA TOP NO HEADER (EVITA SOBREPOSIÇÃO COM 00:32 / BATERIA NO IPHONE)
       Deve ficar no final do <style> para prevalecer sobre qualquer padding anterior
       ========================================================================== */
    @media (max-width: 600px) {
      .app-header {
        padding-top: max(calc(14px + env(safe-area-inset-top, 0px)), 54px) !important;
        padding-bottom: 12px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
      }
    }
    @media all and (display-mode: standalone) {
      .app-header {
        padding-top: max(calc(14px + env(safe-area-inset-top, 0px)), 54px) !important;
      }
    }

    /* ==========================================================================
       BLINDAGEM VIEWPORT iOS / IPHONE SE (375px), 14/15/16 (390/393px) E PRO MAX (430px)
       ========================================================================== */
    @media (max-width: 600px), (hover: none) and (pointer: coarse) {
      html, body, #root {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
      }
      .tab-content {
        overflow-x: hidden !important;
        max-width: 100% !important;
      }
      .modal-sheet {
        max-width: 100% !important;
        width: 100% !important;
      }
      .settings-top-nav-bar {
        padding-top: max(calc(10px + env(safe-area-inset-top, 0px)), 48px) !important;
        height: auto !important;
        min-height: calc(52px + max(env(safe-area-inset-top, 0px), 38px)) !important;
        padding-bottom: 10px !important;
      }
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
      select,
      textarea {
        font-size: 16px !important;
      }
      body.keyboard-open:not(:has(.modal-overlay.active)):has(.screen-body:focus-within) .bottom-nav {
        transform: translateY(calc(100% + 28px + env(safe-area-inset-bottom, 34px))) !important;
        opacity: 0 !important;
        pointer-events: none !important;
      }
    }
    @supports (-webkit-touch-callout: none) {
      input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
      select,
      textarea {
        font-size: 16px !important;
      }
    }

    /* ==========================================================================
       MOTOR DE FLUIDEZ APPLE iOS 18 — SPRING PHYSICS, CASCATA, SCALE-BACK E TOQUE ELÁSTICO
       Deve ficar no final do <style> para prevalecer sobre transições anteriores.
       ========================================================================== */
    :root {
      --ios-spring: cubic-bezier(0.32, 0.72, 0, 1);
      --ios-spring-bouncy: cubic-bezier(0.34, 1.56, 0.64, 1);
      --ios-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* 2. Troca de abas: transição estável no eixo Y (sem salto/tremidinha vertical para cima). */
    .tab-content.active {
      animation: none;
    }
    @keyframes iosTabEnter {
      0% { opacity: 1; transform: none; }
      100% { opacity: 1; transform: none; }
    }
    .tab-content { opacity: 1; }
    .tab-content.active > *:not(.modal-overlay):not(.ptr-slot),
    .tab-content.active .club-screen-wrap > *,
    .tab-content.active #feedList > * {
      animation: none;
    }
    @keyframes iosCardRise {
      0% { opacity: 1; transform: none; }
      100% { opacity: 1; transform: none; }
    }

    /* 3. Gavetas: curva exata do UIKit + fechamento ultra-ágil (0.14s) sem lag */
    .modal-overlay {
      overflow: hidden;
      overscroll-behavior: contain;
      transition: opacity 0.14s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.14s;
    }
    .modal-overlay.active {
      transition: opacity 0.24s var(--ios-spring), visibility 0s;
    }
    .modal-sheet {
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .modal-overlay.active .modal-sheet {
      transition: transform 0.28s var(--ios-spring);
    }

    /* 3b. Sem repaint de filter:brightness ou scale global para garantir 0ms de atraso ao fechar modais */
    .screen-body, .app-header {
      transform-origin: 50% 0%;
      will-change: auto;
    }

    /* 3c. Fluidez Apple na Tela de Login (#welcomeAuthScreen), Gaveta (#authSheetModal) e Wizard (#vibeDietOnboardingWizard) */
    #welcomeAuthScreen {
      transition: opacity 0.45s var(--ios-ease-out);
    }
    body:has(#vibeDietOnboardingWizard.active) #welcomeAuthScreen,
    body:has(#vibeDietOnboardingWizard.active) .phone-container,
    body:has(#vibeDietOnboardingWizard.active) .desktop-toolbar,
    body.wizard-modal-open #welcomeAuthScreen,
    body.wizard-modal-open .phone-container,
    body.wizard-modal-open .desktop-toolbar {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
    #authSheetModal .auth-seg-btn {
      transition: color 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #authSheetModal .auth-field-input {
      transform: none !important;
      transition: border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #authSheetModal .auth-input-icon {
      transition: color 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    #authSheetModal .auth-field-input:focus {
      transform: none !important;
    }

    /* 4. Barra de navegação viva + toque elástico em tudo que é clicável */
    .nav-item {
      transition: color 0.18s ease, opacity 0.18s ease;
    }
    .nav-item:active { transform: none; }
    .nav-item.active span:first-child,
    .nav-item.active svg {
      transform: none;
    }
    .nav-item span:first-child, .nav-item svg {
      transform: none;
    }
    button, .clean-card, .diary-meal-card-item, .argon-challenge-card, .vibelens-portion-chip,
    .vibelens-ing-card, .wiz-option-card, .header-stat-item, .bio3d-region-btn, .argon-challenge-filter-pill {
      transition-timing-function: var(--ios-spring);
    }
    button:not(:disabled):not(.nav-item):active,
    .diary-meal-card-item:active,
    .vibelens-portion-chip:active,
    .wiz-option-card:active,
    .bio3d-region-btn:active,
    .argon-challenge-filter-pill:active {
      transform: scale(0.94);
      transition: transform 0.12s var(--ios-ease-out);
    }
    .diary-meal-card-item { transition: transform 0.4s var(--ios-spring-bouncy), box-shadow 0.3s var(--ios-ease-out) !important; }
    .diary-meal-card-item:active { transform: scale(0.97); }

    /* 4b. Preenchimentos com curva contínua sem oscilação/rebote na borda (sobrepõe estilos inline por !important) */
    #bottleLiquidFill, .bottle-liquid {
      transition: height 0.52s cubic-bezier(0.22, 1, 0.36, 1), background 0.45s var(--ios-ease-out) !important;
    }
    #waterHorizontalBarFill,
    #dietWaterProgressBarFill,
    #homeQuickWaterBar {
      transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease !important;
    }
    #dietMacroProtBar, #dietMacroCarbBar, #dietMacroFatBar,
    #vibeLensBarProt, #vibeLensBarCarbs, #vibeLensBarFat {
      transition: width 0.65s var(--ios-spring) !important;
    }
    #dietMacroRingCircle, #inicioActiveDayRingArc, .day-ring-arc, #vibeLensLiveCalRing,
    #progressoWeightRingCircle, #calAiResultRingArc, #calAiManualExRingArc, #calAiMealManualRingArc, #calAiMealResultRingArc {
      transition: stroke 0.40s ease !important;
    }
    body.vd-cal-ai-motion #dietMacroRingCircle,
    body.vd-cal-ai-motion #dietMacroProtRingCircle,
    body.vd-cal-ai-motion #dietMacroCarbRingCircle,
    body.vd-cal-ai-motion #dietMacroFatRingCircle,
    body.vd-cal-ai-motion #dietExerciseBurnRingCircle,
    body.vd-cal-ai-motion .day-ring-arc,
    body.vd-cal-ai-motion #inicioActiveDayRingArc,
    body.vd-cal-ai-motion #vibeLensLiveCalRing,
    body.vd-cal-ai-motion #progressoWeightRingCircle,
    body.vd-cal-ai-motion #calAiResultRingArc,
    body.vd-cal-ai-motion #calAiManualExRingArc,
    body.vd-cal-ai-motion #calAiMealManualRingArc,
    body.vd-cal-ai-motion #calAiMealResultRingArc {
      transition: stroke 0.40s ease !important;
    }

    @media (prefers-reduced-motion: reduce) {
      .tab-content.active, .tab-content.active > *,
      #vibeDietOnboardingWizard.active, .wiz-step-panel.active, .wiz-step-panel.active > *,
      #authViewRegister, #authViewLogin, #authViewForgot, #authViewVerify,
      .vd-slot-char, .vd-slot-char-glide, .vd-word-cross-anim,
      .vd-word-cross-anim::before, .vd-word-cross-anim::after,
      .day-item.active.vd-day-pill-glide::before {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        -webkit-filter: none !important;
      }
      .screen-body, .app-header, #dietMacroTopHeroCard, #vdInicioCarouselPage1 > .vibe-card, .ring-spring {
        transition: none !important;
        transform: none !important;
        filter: none !important;
      }
      .modal-sheet, .modal-overlay { transition-duration: 0.01ms !important; }
    }

    /* ==========================================================================
       FEED EDITORIAL (Apple HIG / Instagram / Strava Clean)
       Topo minimalista, Stories de foco, segmented control iOS, card com foto protagonista,
       ações neutras, prova social real e legenda abaixo da foto.
       ========================================================================== */
    :root {
      --feed-chip-bg: #F4F2EC;
      --feed-chip-border: #E6E2D8;
      --feed-segment-bg: #EFECE6;
      --feed-primary-btn-bg: #18221D;
      --feed-primary-btn-fg: #FFFFFF;
    }
    body.dark-theme {
      --feed-chip-bg: #1F2D26;
      --feed-chip-border: #2C4036;
      --feed-segment-bg: #151F1A;
      --feed-primary-btn-bg: #F2F5F3;
      --feed-primary-btn-fg: #0D1310;
    }

    /* Topo: título curto + botão Publicar */
    .commitment-section { margin: 2px 0 12px 0; }
    .commitment-section-title {
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 10px;
    }
    .feed-publish-btn {
      background: var(--feed-primary-btn-bg);
      color: var(--feed-primary-btn-fg);
      border: none;
      border-radius: 999px;
      min-height: 40px;
      padding: 0 16px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: -0.01em;
      cursor: pointer;
      transition: transform 0.38s var(--ios-spring-bouncy), opacity 0.2s var(--ios-ease-out);
    }
    .feed-publish-btn:active { transform: scale(0.94); opacity: 0.9; }

    /* Trilho de Stories (avatar com anel + selo de ofensiva) */
    .commitment-rail { gap: 14px; padding: 2px 2px 10px 2px; }
    .story-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 64px;
      flex-shrink: 0;
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
      transition: transform 0.4s var(--ios-spring-bouncy);
    }
    .story-item:active { transform: scale(0.94); }
    .story-ring {
      position: relative;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      padding: 2.5px;
      background: var(--feed-chip-border);
    }
    .story-ring.active {
      background: linear-gradient(135deg, #10B981 0%, #34D399 45%, #F59E0B 100%);
    }
    .story-avatar {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      border: 2.5px solid var(--bg);
      background: var(--surface-subtle);
    }
    .story-streak-badge {
      position: absolute;
      bottom: -7px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--surface);
      border: 1px solid var(--feed-chip-border);
      border-radius: 999px;
      padding: 1px 6px;
      font-size: 10px;
      font-weight: 800;
      line-height: 1.35;
      color: var(--text);
      white-space: nowrap;
      box-shadow: 0 2px 6px rgba(24, 34, 29, 0.10);
    }
    .story-name {
      margin-top: 11px;
      max-width: 64px;
      font-size: 11.5px;
      font-weight: 600;
      color: var(--text);
      text-align: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* Segmented Control iOS (Comunidade | Seguindo) com pílula deslizante */
    .feed-segmented {
      position: relative;
      display: flex;
      padding: 3px;
      margin: 2px 0 14px 0;
      background: var(--feed-segment-bg);
      border-radius: 999px;
    }
    .feed-seg-thumb {
      position: absolute;
      top: 3px;
      bottom: 3px;
      left: 3px;
      width: calc(50% - 3px);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.48) 100%);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.92);
      border-radius: 999px;
      box-shadow: 0 4px 12px rgba(28, 25, 23, 0.08), inset 0 1.5px 0 rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(28, 25, 23, 0.05);
      transition: transform 0.45s var(--ios-spring);
      pointer-events: none;
    }
    .feed-segmented[data-mode="seguindo"] .feed-seg-thumb { transform: translateX(100%); }
    .feed-seg-btn {
      position: relative;
      z-index: 1;
      flex: 1;
      min-height: 40px;
      border: none;
      background: transparent;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: -0.01em;
      cursor: pointer;
      border-radius: 999px;
      transition: color 0.3s var(--ios-spring), transform 0.3s var(--ios-spring-bouncy);
    }
    .feed-seg-btn.active { color: var(--text); font-weight: 700; }

    /* Card de publicação */
    .argon-post-card {
      padding: 14px 14px 12px 14px !important;
      border-radius: 22px !important;
      margin-bottom: 18px !important;
    }
    .argon-post-header { align-items: center; margin-bottom: 11px; }
    .argon-author-avatar { width: 40px; height: 40px; }
    .argon-author-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
    .argon-author-handle { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-top: 1px; }
    .argon-post-header .post-activity-badge {
      background: var(--feed-chip-bg) !important;
      color: var(--text-secondary) !important;
      border: 1px solid var(--feed-chip-border) !important;
      font-size: 10.5px;
      font-weight: 700;
      padding: 3px 8px;
    }
    .argon-post-header .post-more-btn {
      width: 40px;
      height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      margin-right: -8px;
    }

    /* Foto protagonista */
    .argon-post-media-box {
      border-radius: 18px;
      aspect-ratio: 4 / 3.6;
      max-height: 380px;
      margin-bottom: 10px;
      box-shadow: 0 6px 18px rgba(24, 34, 29, 0.10);
    }
    .argon-vibelens-overlay-tag {
      bottom: 10px;
      left: 10px;
      background: rgba(15, 23, 20, 0.62);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      font-size: 11.5px;
      font-weight: 600;
      padding: 6px 11px;
      letter-spacing: -0.01em;
    }
    .argon-reward-chip {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      background: rgba(15, 23, 20, 0.5);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 999px;
      padding: 4px 9px;
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.38s var(--ios-spring-bouncy);
    }
    .argon-reward-chip:active { transform: scale(0.92); }

    /* Barra de ações neutra */
    .argon-engagement-bar { margin: 2px 0 8px 0; }
    .argon-support-pill-btn {
      height: 40px;
      padding: 0 14px;
      background: var(--feed-chip-bg);
      border: 1px solid var(--feed-chip-border);
      color: var(--text);
      font-weight: 700;
      box-shadow: none;
      transition: transform 0.4s var(--ios-spring-bouncy), background 0.3s var(--ios-spring), color 0.3s var(--ios-spring), border-color 0.3s var(--ios-spring);
    }
    .argon-support-pill-btn.liked {
      background: #10B981;
      color: #FFFFFF;
      border-color: #059669;
      box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
      animation: kudoPulse 0.55s var(--ios-spring-bouncy);
    }
    @keyframes kudoPulse {
      0% { transform: scale(0.9); }
      55% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }
    .argon-circle-soft-btn {
      width: auto;
      min-width: 40px;
      height: 40px;
      padding: 0 8px;
      background: transparent;
      border: none;
      border-radius: 999px;
      color: var(--text);
      transition: transform 0.4s var(--ios-spring-bouncy), background 0.25s var(--ios-ease-out);
    }
    .argon-circle-soft-btn:active { background: var(--feed-chip-bg); }

    /* Prova social real + legenda abaixo da foto */
    .argon-social-proof-row { padding: 0 2px 4px 2px; }
    .argon-social-proof-text { font-size: 12.5px; font-weight: 600; color: var(--text); }
    .argon-caption-row {
      padding: 2px 2px 2px 2px;
      font-size: 14px;
      line-height: 1.45;
      color: var(--text);
    }
    .argon-caption-handle { font-weight: 700; margin-right: 4px; letter-spacing: -0.01em; }
    .argon-caption-text { font-weight: 400; word-break: break-word; }

    @media (prefers-reduced-motion: reduce) {
      .argon-support-pill-btn.liked { animation: none !important; }
      .feed-seg-thumb { transition-duration: 0.01ms !important; }
    }

    /* ==========================================================================
       SKELETON SHIMMER NATIVO, BARRA ULTRA-COMPACTA #homeDailyQuickStrip & HEADER <=380px
       ========================================================================== */
    @keyframes vdSkeletonPulse {
      0% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    .vd-skeleton-shimmer {
      background: linear-gradient(90deg, #EFECE6 25%, #FAF8F5 50%, #EFECE6 75%);
      background-size: 220% 100%;
      animation: vdSkeletonPulse 1.4s ease-in-out infinite;
    }
    @keyframes vdDietSlideFromRight {
      0% { opacity: 0.86; transform: translate3d(8px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdDietSlideFromLeft {
      0% { opacity: 0.86; transform: translate3d(-8px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    .vd-diet-slide-right {
      animation: vdDietSlideFromRight 0.20s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }
    .vd-diet-slide-left {
      animation: vdDietSlideFromLeft 0.20s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }
    #homeDailyQuickStrip {
      display: none !important;
    }
    .home-quick-left {
      display: flex;
      flex-direction: column;
      gap: 4px;
      flex: 1;
      min-width: 0;
      cursor: pointer;
    }
    .home-quick-metrics-line {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 11.5px;
      font-weight: 600;
      color: #475569;
      white-space: nowrap;
      overflow: hidden;
    }
    .home-quick-metrics-line b {
      color: #18221D;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }
    .home-quick-bars-row {
      display: flex;
      align-items: center;
      gap: 6px;
      width: 100%;
      max-width: 165px;
    }
    .home-quick-mini-track {
      flex: 1;
      height: 3.5px;
      border-radius: 999px;
      background: #EFECE6;
      overflow: hidden;
    }
    .home-quick-mini-fill {
      height: 100%;
      border-radius: 999px;
      transition: width 0.55s var(--ios-spring);
    }
    .home-quick-actions {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
    }
    .home-quick-pill-btn {
      border: 1px solid rgba(24, 34, 29, 0.08);
      background: #FAF8F5;
      color: #18221D;
      font-size: 11px;
      font-weight: 700;
      padding: 5px 8px;
      border-radius: 999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      white-space: nowrap;
    }
    .home-quick-pill-btn.scan-accent {
      background: #18221D;
      color: #FFFFFF;
      border-color: #18221D;
    }
    #bio3DRegionAnalysisPanel:empty {
      display: none !important;
    }
    body.dark-theme .vd-skeleton-shimmer {
      background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.05) 75%) !important;
      background-size: 220% 100% !important;
    }
    body.dark-theme #homeDailyQuickStrip,
    body.dark-theme #dietMacroTopHeroCard,
    body.dark-theme #dietWaterTrackerCard,
    body.dark-theme #goalsDailyHabitProgressBanner,
    body.dark-theme #waterCardWrapper,
    body.dark-theme #vibeLensSummaryCard,
    body.dark-theme #profClinicalEcosystemCard,
    body.dark-theme #vibeExploreHubPanel .vd-apple-glass-search,
    body.dark-theme #vibeExploreHubPanel .vd-apple-glass-card,
    body.dark-theme #bioimpedance3DModal .modal-sheet,
    body.dark-theme #bioimpedance3DModal #bio3DRegionAnalysisPanel,
    body.dark-theme #bioimpedance3DModal .modal-sheet > div[style*="background: #FFFFFF"] {
      background: var(--surface) !important;
      border-color: var(--border) !important;
      color: var(--text) !important;
    }
    body.dark-theme #homeDailyQuickStrip .home-quick-metrics-line {
      color: var(--text-secondary) !important;
    }
    body.dark-theme #homeDailyQuickStrip .home-quick-metrics-line b,
    body.dark-theme #dietMacroTopHeroCard span,
    body.dark-theme #dietWaterTrackerCard span,
    body.dark-theme #vibeExploreHubPanel .vd-apple-glass-card div,
    body.dark-theme #profClinicalEcosystemCard div,
    body.dark-theme #bioimpedance3DModal div,
    body.dark-theme #bioimpedance3DModal label {
      color: var(--text) !important;
    }
    body.dark-theme #homeDailyQuickStrip .home-quick-mini-track,
    body.dark-theme #dietQuickFeaturesBar {
      background: var(--surface-subtle) !important;
      border-color: var(--border) !important;
    }
    body.dark-theme #homeDailyQuickStrip .home-quick-pill-btn:not(.scan-accent),
    body.dark-theme #bioimpedance3DModal input,
    body.dark-theme .bio3d-region-btn {
      background: var(--surface-subtle) !important;
      border-color: var(--border) !important;
      color: var(--text) !important;
    }
    body.dark-theme .bio3d-region-btn.active {
      background: rgba(16, 185, 129, 0.16) !important;
      border-color: #10B981 !important;
      color: #34D399 !important;
    }
    body.dark-theme #bioimpedance3DModal .bio3d-fat-val {
      color: #34D399 !important;
    }
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-exercises {
      background: rgba(255, 255, 255, 0.05) !important;
      border-color: var(--border) !important;
      color: #F8FAFC !important;
    }
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-exercises div,
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-exercises ul,
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-exercises li {
      color: #F8FAFC !important;
    }
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-taco {
      background: rgba(16, 185, 129, 0.14) !important;
      border-color: rgba(52, 211, 153, 0.35) !important;
      color: #A7F3D0 !important;
    }
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-taco div,
    body.dark-theme #bioimpedance3DModal .bio3d-subbox-taco strong {
      color: #A7F3D0 !important;
    }
    body.dark-theme #homeDailyQuickStrip .home-quick-pill-btn.scan-accent {
      background: var(--primary) !important;
      border-color: var(--primary) !important;
      color: #08120E !important;
    }
    /* 4. Polimento Final Dark Mode (#tabScanner e #diaryMealDetailModal) + Compactação Mobile (#authSheetModal) */
    body.dark-theme #tabScanner h1,
    body.dark-theme #tabScanner h2,
    body.dark-theme #tabScanner > div:first-of-type span:first-child {
      color: #F1F5F9 !important;
    }
    body.dark-theme #vibeLensSummaryCard,
    body.dark-theme #vibeLensInlineAddDrawer,
    body.dark-theme #tabScanner > div:nth-of-type(6),
    body.dark-theme #tabScanner .vibelens-ing-card {
      background: #141E19 !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeLensDishNameInput,
    body.dark-theme #vibeLensSummaryCals,
    body.dark-theme #vibeLensCalorieRingValue,
    body.dark-theme #tabScanner .hud-ing-name,
    body.dark-theme #tabScanner .hud-ing-weight,
    body.dark-theme #vibeLensSummaryCard div[style*="color: #18221D"],
    body.dark-theme #tabScanner div[style*="color: #18221D"],
    body.dark-theme #tabScanner div[style*="color: #0F172A"] {
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeLensDynamicTagsContainer > div,
    body.dark-theme #vibeLensIngredientsList,
    body.dark-theme #vibeLensTacoBtn,
    body.dark-theme #tabScanner button[aria-label="Abrir Tabela TACO"],
    body.dark-theme #tabScanner .vibelens-period-pill:not(.active),
    body.dark-theme #tabScanner .vibelens-ing-card div[style*="background: #F8FAFC"],
    body.dark-theme #tabScanner .vibelens-ing-card div[style*="background: #FCFBF9"] {
      background: #141E19 !important;
      color: #E2E8F0 !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
    }
    .vl-quick-fb-btn {
      min-block-size: 38px;
      min-inline-size: 38px;
      border-radius: 999px;
      border: 1px solid #E2E8F0;
      background: #FFFFFF;
      color: #475569;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      transition: transform 0.14s ease, background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
    }
    @media (pointer: coarse) {
      .vl-quick-fb-btn {
        min-block-size: 44px;
        min-inline-size: 44px;
      }
    }
    @media (hover: hover) and (pointer: fine) {
      .vl-quick-fb-btn:hover {
        border-color: #94A3B8;
        color: #0F172A;
      }
    }
    .vl-quick-fb-btn:focus-visible {
      outline: 2px solid #18181B;
      outline-offset: 2px;
    }
    .vl-quick-fb-btn[data-vote="up"][aria-pressed="true"] {
      background: #16A34A !important;
      border-color: #16A34A !important;
      color: #FFFFFF !important;
    }
    .vl-quick-fb-btn[data-vote="down"][aria-pressed="true"] {
      background: #DC2626 !important;
      border-color: #DC2626 !important;
      color: #FFFFFF !important;
    }
    body.dark-theme #vibeLensQuickFeedbackBar {
      background: rgba(255, 255, 255, 0.04) !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
    }
    body.dark-theme #vibeLensQuickFeedbackTitle {
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeLensQuickFeedbackSub {
      color: #94A3B8 !important;
    }
    body.dark-theme .vl-quick-fb-btn:not([aria-pressed="true"]) {
      background: #1B2822 !important;
      border-color: rgba(255, 255, 255, 0.14) !important;
      color: #E2E8F0 !important;
    }
    body.dark-theme #vibeLensHudFeedbackBox {
      background: rgba(16, 185, 129, 0.14) !important;
      border-color: rgba(52, 211, 153, 0.35) !important;
      color: #F1F5F9 !important;
    }
    body.dark-theme #diaryMealDetailModal > div {
      background: #111915 !important;
      color: #F1F5F9 !important;
      border-color: rgba(255, 255, 255, 0.1) !important;
    }
    body.dark-theme #diaryMealDetailModal > div > div[style*="background: #FFFFFF"],
    body.dark-theme #diaryMealDetailModal .diary-food-row-item,
    body.dark-theme #diaryMealDetailModal .diary-food-row-item div[style*="background: #FAF8F5"],
    body.dark-theme #diaryMealDetailModal .diary-food-row-item button[style*="background: #FFFFFF"],
    body.dark-theme #diaryMealDetailModal input,
    body.dark-theme #diaryMealDetailModal select,
    body.dark-theme #diaryModalCloseBtn {
      background: #18241E !important;
      color: #F1F5F9 !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
    }
    body.dark-theme #diaryMealDetailModal div[style*="color: #18221D"],
    body.dark-theme #diaryMealDetailModal strong[style*="color: #18221D"],
    body.dark-theme #diaryMealDetailModal .diary-food-item-name {
      color: #F1F5F9 !important;
    }
    /* Geometria única e 100% constante em todas as alturas de tela: nunca redimensiona fontes, paddings ou margens quando o teclado abre ou troca de campo */
    #authSheetModal .auth-top-brand-bar {
      padding: 10px 24px 8px 24px !important;
      margin-bottom: 8px !important;
      min-height: 38px !important;
    }
    #authSheetModal .auth-role-grid {
      margin-bottom: 8px !important;
      gap: 8px !important;
    }
    #authSheetModal .auth-role-card {
      padding: 8px 8px !important;
    }
    #authSheetModal .auth-role-card-top {
      margin-bottom: 3px !important;
    }
    #authSheetModal .auth-input-group {
      margin-bottom: 8px !important;
    }
    #authSheetModal .auth-field-input {
      padding: 11px 13px !important;
    }
    #authSheetModal .auth-field-input.has-icon {
      padding-left: 38px !important;
    }
    #authSheetModal #authPatientCodeToggleWrap {
      margin: 2px 0 6px 0 !important;
    }
    #authSheetModal #authViewRegister > div[style*="margin: 12px 0 16px 0"] {
      margin: 6px 0 10px 0 !important;
      padding: 7px 10px !important;
    }
    #authRegSubmitBtn {
      padding: 13px 18px !important;
    }
    /* Elevação de teclado iOS/Android: empurra a aba Entrar (compacta) e a aba Cadastro 275px+safe-area para cima do teclado virtual (294px no iOS c/ barra QuickType), sem deixar o teclado cobrir os campos ou o botão */
    #authSheetModal.modal-overlay.keyboard-active .modal-sheet,
    #authSheetModal.modal-overlay.keyboard-active .auth-sheet-inner {
      max-height: 92dvh !important;
    }
    #authSheetModal.modal-overlay.keyboard-active .auth-sheet-inner {
      padding-bottom: calc(var(--vibe-kb-pad, 275px) + env(safe-area-inset-bottom, 20px)) !important;
    }
    /* Blindagem no Compositor Nativo (iOS Safari UIKit / Chrome Mobile) contra Pull-to-Refresh ("abinha branca" no topo)
       nas abas compactas sem teclado aberto, permitindo scroll vertical seguro quando há banner de erro (maxScroll > 2)
       enquanto initWelcomeScrollLock bloqueia overscroll quando maxScroll <= 2. */
    @media (min-height: 560px) {
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-sheet-inner,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] .auth-sheet-inner {
        overflow-y: auto !important;
        overscroll-behavior-y: none !important;
        touch-action: pan-y !important;
      }
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-input-group,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-input-label,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-login-options-row,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-login-footer-links,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] .auth-input-group,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] .auth-input-label,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-input-wrap,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] .auth-field-input,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] button,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="login"] a,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] .auth-input-wrap,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] .auth-field-input,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] button,
      #authSheetModal:not(.keyboard-active)[data-auth-mode="verify"] a {
        touch-action: pan-y !important;
      }
    }

    /* ==========================================================================
       MODAL DE LOGIN CLEAN ESTILO CAL AI / APPLE iOS 18 (FLUIDO & CHIQUE 120HZ)
       Escopado à visualização de Login (#authSheetModal[data-auth-mode="login"] e #authViewLogin)
       ========================================================================== */
    #authSheetModal .auth-brand-logo {
      font-size: 22px !important;
      font-weight: 800 !important;
      letter-spacing: -0.03em !important;
      color: #09090B !important;
      line-height: 1.1 !important;
    }
    #authSheetModal .auth-brand-logo span {
      color: #16A34A !important;
    }
    #authSheetModal .sheet-close-btn {
      right: 14px !important;
      width: 44px !important;
      height: 44px !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      color: #52525B !important;
    }
    #authSheetModal .sheet-close-btn::before {
      content: "";
      position: absolute;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #F4F4F6;
      transition: background-color 0.18s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
      z-index: 0;
    }
    #authSheetModal .sheet-close-btn svg {
      position: relative;
      z-index: 1;
    }
    #authSheetModal .sheet-close-btn:hover::before {
      background: #E4E4E7;
    }
    #authSheetModal .modal-sheet,
    #authSheetModal .modal-sheet::after {
      background: #FFFFFF !important;
      border-radius: 36px 36px 0 0 !important;
    }
    @media (min-width: 601px) {
      #authSheetModal .modal-sheet {
        border-radius: 34px !important;
      }
    }
    #authSheetModal .auth-sheet-inner {
      padding-top: 0 !important;
    }
    #authSheetModal .auth-top-brand-bar {
      top: 0 !important;
      margin: 0 -24px 6px -24px !important;
      background: #FFFFFF !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border-bottom: none !important;
      padding: 12px 24px 6px 24px !important;
      min-height: 44px !important;
    }
    #authSheetModal .modal-drag-bar {
      background: #E4E4E7 !important;
      width: 36px !important;
      height: 5px !important;
    }
    #authSheetModal #authSegmentedNav,
    #authViewRegister #authPilotInviteWrap,
    #authViewRegister #authPilotWaitlistTriggerRow,
    #authViewRegister #authPilotWaitlistBox {
      display: none !important;
    }
    #authSheetModal .auth-header-block {
      margin: 4px 0 18px 0 !important;
      min-height: 50px;
    }
    .auth-pro-mode-pill {
      display: none;
      align-items: center;
      gap: 5px;
      margin: 0 auto 8px auto;
      padding: 4px 10px;
      border-radius: 999px;
      background: #F4F5F8;
      color: #3F3F46;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      width: fit-content;
    }
    #authSheetModal[data-auth-mode="login"][data-login-role="professional"] .auth-pro-mode-pill,
    #authSheetModal[data-auth-mode="register"][data-register-role="professional"] .auth-pro-mode-pill {
      display: inline-flex;
    }
    #authSheetModal #authModalHeaderTitle {
      font-size: 27px !important;
      font-weight: 800 !important;
      color: #09090B !important;
      letter-spacing: -0.035em !important;
      line-height: 1.15 !important;
      margin: 0 0 6px 0 !important;
    }
    #authSheetModal #authModalHeaderSub {
      font-size: 15px !important;
      font-weight: 500 !important;
      color: #71717A !important;
      letter-spacing: normal !important;
      line-height: 1.4 !important;
      margin: 0 !important;
    }
    #authViewLogin .auth-input-group,
    #authViewRegister .auth-input-group,
    #authViewVerify .auth-input-group,
    #authViewForgot .auth-input-group {
      margin-bottom: 13px !important;
    }
    #authViewLogin .auth-input-label,
    #authViewRegister .auth-input-label,
    #authViewVerify .auth-input-label,
    #authViewForgot .auth-input-label {
      display: block !important;
      font-size: 13px !important;
      font-weight: 600 !important;
      color: #09090B !important;
      text-transform: none !important;
      letter-spacing: normal !important;
      margin-bottom: 6px !important;
      padding-left: 2px !important;
    }
    #authViewRegister .auth-label-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
      min-height: 18px;
      flex-wrap: nowrap;
    }
    #authViewRegister .auth-label-row .auth-input-label {
      margin-bottom: 0 !important;
      flex-shrink: 0;
    }
    #authViewLogin .auth-field-input,
    #authViewRegister .auth-field-input,
    #authViewVerify .auth-field-input,
    #authViewForgot .auth-field-input {
      width: 100% !important;
      height: 54px !important;
      padding: 0 16px !important;
      font-size: 16px !important;
      font-weight: 500 !important;
      letter-spacing: normal !important;
      color: #09090B !important;
      background: #F4F5F8 !important;
      border: 1.5px solid transparent !important;
      border-radius: 18px !important;
      box-shadow: none !important;
      transition: background-color 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.32, 0.72, 0, 1) !important;
    }
    #authViewLogin .auth-field-input.has-trailing-btn,
    #authViewRegister .auth-field-input.has-trailing-btn {
      padding-right: 50px !important;
    }
    #authViewRegister .auth-field-input.has-at-prefix {
      padding-left: 34px !important;
    }
    #authViewRegister .auth-at-prefix {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 15px;
      font-weight: 600;
      color: #71717A;
      pointer-events: none;
      z-index: 2;
      user-select: none;
    }
    #authViewLogin .auth-field-input::placeholder,
    #authViewRegister .auth-field-input::placeholder,
    #authViewVerify .auth-field-input::placeholder,
    #authViewForgot .auth-field-input::placeholder {
      color: #A1A1AA !important;
      font-weight: 400 !important;
    }
    #authViewLogin .auth-field-input:hover:not(:disabled):not(:focus),
    #authViewRegister .auth-field-input:hover:not(:disabled):not(:focus),
    #authViewVerify .auth-field-input:hover:not(:disabled):not(:focus),
    #authViewForgot .auth-field-input:hover:not(:disabled):not(:focus) {
      background: #ECEEF3 !important;
    }
    #authViewLogin .auth-input-wrap:focus-within .auth-field-input,
    #authViewLogin .auth-field-input:focus,
    #authViewRegister .auth-input-wrap:focus-within .auth-field-input,
    #authViewRegister .auth-field-input:focus,
    #authViewVerify .auth-field-input:focus,
    #authViewForgot .auth-field-input:focus {
      background: #FFFFFF !important;
      border-color: #09090B !important;
      box-shadow: 0 8px 22px -6px rgba(9, 9, 11, 0.08), 0 0 0 3.5px rgba(9, 9, 11, 0.06) !important;
      outline: none !important;
    }
    #authViewLogin .auth-field-input.input-error,
    #authViewLogin .auth-field-input[aria-invalid="true"],
    #authViewRegister .auth-field-input.input-error,
    #authViewRegister .auth-field-input[aria-invalid="true"],
    #authViewVerify .auth-field-input.input-error,
    #authViewForgot .auth-field-input.input-error {
      background: #FFFBFB !important;
      border-color: #EF4444 !important;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
    }
    #authViewLogin .field-inline-error,
    #authViewRegister .field-inline-error {
      display: none;
      margin-top: 6px;
      padding-left: 4px;
      font-size: 12.5px;
      font-weight: 600;
      color: #DC2626;
      line-height: 1.35;
    }
    #authViewLogin .field-inline-error.visible,
    #authViewRegister .field-inline-error.visible {
      display: block;
    }
    #authViewLogin .auth-password-toggle,
    #authViewRegister .auth-password-toggle {
      position: absolute !important;
      right: 4px !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      width: 44px !important;
      height: 44px !important;
      border: none !important;
      background: transparent !important;
      color: #71717A !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      border-radius: 14px !important;
      padding: 0 !important;
    }
    #authViewLogin .auth-password-toggle:hover,
    #authViewRegister .auth-password-toggle:hover {
      color: #09090B !important;
    }
    #authViewLogin .auth-login-options-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin: 2px 0 18px 0;
      min-height: 44px;
    }
    #authViewLogin .auth-remember-label {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-size: 13.5px;
      font-weight: 500;
      color: #71717A;
      cursor: pointer;
      min-height: 44px;
      padding: 4px 2px;
      user-select: none;
    }
    #authViewLogin .auth-remember-label:hover {
      color: #09090B;
    }
    #authViewLogin .auth-remember-label input[type="checkbox"],
    #authViewRegister #authRegTermsCheck {
      appearance: none;
      -webkit-appearance: none;
      width: 20px !important;
      height: 20px !important;
      margin: 0 !important;
      border-radius: 6.5px !important;
      border: 1.5px solid #D4D4D8 !important;
      background: #F4F5F8 !important;
      cursor: pointer;
      flex-shrink: 0;
      display: inline-grid !important;
      place-content: center !important;
      transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    #authViewLogin .auth-remember-label input[type="checkbox"]::before,
    #authViewRegister #authRegTermsCheck::before {
      content: "";
      width: 11px;
      height: 11px;
      background-color: #FFFFFF;
      transform: scale(0);
      transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
      clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    }
    #authViewLogin .auth-remember-label input[type="checkbox"]:checked,
    #authViewRegister #authRegTermsCheck:checked {
      background: #09090B !important;
      border-color: #09090B !important;
    }
    #authViewLogin .auth-remember-label input[type="checkbox"]:checked::before,
    #authViewRegister #authRegTermsCheck:checked::before {
      transform: scale(1);
    }
    #authViewRegister #authRegTermsWrap {
      display: flex !important;
      align-items: flex-start !important;
      gap: 10px !important;
      margin: 10px 0 16px 0 !important;
      padding: 8px 4px !important;
      border-radius: 14px !important;
      background: transparent !important;
      border: 1.5px solid transparent !important;
      font-size: 12.5px !important;
      color: #71717A !important;
      line-height: 1.45 !important;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
    }
    #authViewRegister #authRegTermsWrap a {
      color: #09090B !important;
      font-weight: 700 !important;
      text-decoration: underline !important;
      text-underline-offset: 2px !important;
    }
    #authViewRegister #authPatientCodeToggleBtn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      background: #F4F5F8 !important;
      border: 1.5px solid transparent !important;
      border-radius: 16px !important;
      padding: 11px 14px !important;
      font-size: 13px !important;
      font-weight: 600 !important;
      color: #3F3F46 !important;
      cursor: pointer;
      box-shadow: none !important;
      text-align: left;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
    #authViewRegister #authPatientCodeToggleBtn:hover {
      background: #ECEEF3 !important;
      color: #09090B !important;
    }
    #authViewRegister .auth-nutri-pill-badge {
      background: #FFFFFF;
      color: #09090B;
      border: 1px solid rgba(9, 9, 11, 0.08);
      border-radius: 999px;
      padding: 3px 10px;
      font-size: 11px;
      font-weight: 700;
      flex-shrink: 0;
    }
    #authViewRegister #authPatientCodeWrap {
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      margin-bottom: 13px !important;
    }
    #authViewRegister #authProfFieldsWrap {
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      margin-bottom: 6px !important;
    }
    /* Proporção calibrada para #authViewRegister caber integralmente na viewport iPhone (844px) */
    #authSheetModal[data-auth-mode="register"] .auth-header-block {
      margin: 0 0 12px 0 !important;
      min-height: 44px !important;
    }
    #authSheetModal[data-auth-mode="register"] #authModalHeaderTitle {
      font-size: 25px !important;
      margin: 0 0 3px 0 !important;
    }
    #authSheetModal[data-auth-mode="register"] #authModalHeaderSub {
      font-size: 14px !important;
    }
    #authViewRegister .auth-input-group {
      margin-bottom: 10px !important;
    }
    #authViewRegister .auth-input-label {
      margin-bottom: 4px !important;
    }
    #authViewRegister .auth-label-row {
      margin-bottom: 4px !important;
      min-height: 16px !important;
    }
    #authViewRegister .auth-field-input {
      height: 48px !important;
      border-radius: 16px !important;
    }
    #authViewRegister #authRegTermsWrap {
      margin: 4px 0 12px 0 !important;
      padding: 6px 4px !important;
    }
    #authViewRegister #authPatientCodeToggleBtn {
      padding: 9px 13px !important;
      border-radius: 14px !important;
    }
    #authViewRegister #authRegSubmitBtn {
      height: 52px !important;
      min-height: 52px !important;
    }
    #authViewRegister .auth-login-footer-links {
      margin-top: 10px !important;
      gap: 2px !important;
    }
    #authViewRegister .auth-login-register-prompt,
    #authViewRegister .auth-login-register-link {
      min-height: 36px !important;
      padding-top: 4px !important;
      padding-bottom: 4px !important;
    }
    #authViewRegister .auth-login-pro-switch-wrap {
      padding-top: 4px !important;
      margin-top: 2px !important;
    }
    #authViewRegister .auth-login-pro-switch-btn {
      min-height: 36px !important;
      padding: 5px 12px !important;
    }
    #authViewLogin .auth-login-secondary-action {
      appearance: none;
      border: none;
      background: transparent;
      color: #71717A;
      font-size: 13.5px;
      font-weight: 600;
      letter-spacing: normal;
      cursor: pointer;
      min-height: 44px;
      padding: 0 4px;
      display: inline-flex;
      align-items: center;
      border-radius: 8px;
      transition: color 0.18s ease;
    }
    #authViewLogin .auth-login-secondary-action:hover {
      color: #09090B;
    }
    #authViewLogin #authLoginErrorBanner,
    #authViewRegister #authRegErrorBanner,
    #authViewVerify #authVerifyErrorBanner {
      margin-bottom: 14px !important;
      padding: 12px 14px !important;
      border-radius: 16px !important;
      background: #FFF5F5 !important;
      border: 1px solid rgba(239, 68, 68, 0.26) !important;
      color: #DC2626 !important;
      font-size: 13px !important;
      font-weight: 600 !important;
      line-height: 1.4 !important;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }
    #authViewLogin .auth-retry-btn {
      appearance: none;
      border: 1px solid rgba(239, 68, 68, 0.30);
      background: #FFFFFF;
      color: #09090B;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 13px;
      min-height: 36px;
      border-radius: 999px;
      cursor: pointer;
      flex-shrink: 0;
    }
    #authViewLogin #authLoginSubmitBtn,
    #authViewRegister #authRegSubmitBtn,
    #authViewVerify #authVerifySubmitBtn,
    #authViewForgot #authForgotSubmitBtn,
    #authViewForgot #authResetSubmitBtn {
      width: 100% !important;
      height: 56px !important;
      min-height: 56px !important;
      padding: 0 24px !important;
      border: none !important;
      border-radius: 999px !important;
      background: #09090B !important;
      color: #FFFFFF !important;
      font-size: 16.5px !important;
      font-weight: 700 !important;
      letter-spacing: -0.015em !important;
      box-shadow: 0 12px 26px -6px rgba(9, 9, 11, 0.22) !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 10px !important;
    }
    #authViewLogin #authLoginSubmitBtn:disabled,
    #authViewRegister #authRegSubmitBtn:disabled,
    #authViewVerify #authVerifySubmitBtn:disabled,
    #authViewForgot #authForgotSubmitBtn:disabled,
    #authViewForgot #authResetSubmitBtn:disabled {
      opacity: 0.68 !important;
      box-shadow: none !important;
    }
    #authViewLogin .auth-login-footer-links,
    #authViewRegister .auth-login-footer-links {
      margin-top: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      text-align: center;
    }
    #authViewLogin .auth-login-register-prompt,
    #authViewRegister .auth-login-register-prompt {
      font-size: 14.5px;
      font-weight: 500;
      color: #71717A;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      min-height: 44px;
    }
    #authViewLogin .auth-login-register-link,
    #authViewRegister .auth-login-register-link {
      appearance: none;
      border: none;
      background: transparent;
      color: #09090B;
      font-size: 14.5px;
      font-weight: 700;
      padding: 8px 4px;
      min-height: 44px;
      cursor: pointer;
      letter-spacing: normal;
    }
    #authViewLogin .auth-login-register-link:hover,
    #authViewRegister .auth-login-register-link:hover {
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    #authViewLogin .auth-login-pro-switch-wrap,
    #authViewRegister .auth-login-pro-switch-wrap {
      width: 100%;
      padding-top: 8px;
      margin-top: 2px;
      border-top: 1px solid rgba(9, 9, 11, 0.06);
      display: flex;
      justify-content: center;
    }
    #authViewLogin .auth-login-pro-switch-btn,
    #authViewRegister .auth-login-pro-switch-btn {
      appearance: none;
      border: none;
      background: transparent;
      color: #71717A;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: normal;
      min-height: 44px;
      padding: 8px 14px;
      border-radius: 999px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: color 0.2s ease, background-color 0.2s ease;
    }
    #authViewLogin .auth-login-pro-switch-btn:hover,
    #authViewRegister .auth-login-pro-switch-btn:hover {
      color: #09090B;
      background: #F4F5F8;
    }
    /* Suporte completo ao Tema Escuro (body.dark-theme) no Modal de Autenticação Cal AI */
    body.dark-theme #authSheetModal .modal-sheet,
    body.dark-theme #authSheetModal .modal-sheet::after {
      background: #111114 !important;
      border-top-color: rgba(255, 255, 255, 0.09) !important;
    }
    body.dark-theme #authSheetModal .auth-top-brand-bar {
      background: rgba(17, 17, 20, 0.96) !important;
    }
    body.dark-theme #authSheetModal .auth-brand-logo {
      color: #FAFAFA !important;
    }
    body.dark-theme #authSheetModal .auth-brand-logo span {
      color: #22C55E !important;
    }
    body.dark-theme #authSheetModal .sheet-close-btn {
      color: #A1A1AA !important;
    }
    body.dark-theme #authSheetModal .sheet-close-btn::before {
      background: #1C1C21 !important;
    }
    body.dark-theme #authSheetModal .modal-drag-bar {
      background: #27272A !important;
    }
    body.dark-theme .auth-pro-mode-pill {
      background: #1C1C21;
      color: #D4D4D8;
    }
    body.dark-theme #authSheetModal #authModalHeaderTitle,
    body.dark-theme #authViewLogin .auth-input-label,
    body.dark-theme #authViewRegister .auth-input-label,
    body.dark-theme #authViewVerify .auth-input-label,
    body.dark-theme #authViewForgot .auth-input-label,
    body.dark-theme #authViewLogin .auth-login-register-link,
    body.dark-theme #authViewRegister .auth-login-register-link,
    body.dark-theme #authViewRegister #authRegTermsWrap a {
      color: #FAFAFA !important;
    }
    body.dark-theme #authSheetModal #authModalHeaderSub,
    body.dark-theme #authViewLogin .auth-remember-label,
    body.dark-theme #authViewLogin .auth-login-secondary-action,
    body.dark-theme #authViewLogin .auth-login-register-prompt,
    body.dark-theme #authViewRegister .auth-login-register-prompt,
    body.dark-theme #authViewLogin .auth-login-pro-switch-btn,
    body.dark-theme #authViewRegister .auth-login-pro-switch-btn,
    body.dark-theme #authViewRegister #authRegTermsWrap {
      color: #A1A1AA !important;
    }
    body.dark-theme #authViewLogin .auth-field-input,
    body.dark-theme #authViewRegister .auth-field-input,
    body.dark-theme #authViewVerify .auth-field-input,
    body.dark-theme #authViewForgot .auth-field-input {
      background: #1A1A1F !important;
      border-color: rgba(255, 255, 255, 0.06) !important;
      color: #FAFAFA !important;
    }
    body.dark-theme #authViewLogin .auth-input-wrap:focus-within .auth-field-input,
    body.dark-theme #authViewLogin .auth-field-input:focus,
    body.dark-theme #authViewRegister .auth-input-wrap:focus-within .auth-field-input,
    body.dark-theme #authViewRegister .auth-field-input:focus,
    body.dark-theme #authViewVerify .auth-field-input:focus,
    body.dark-theme #authViewForgot .auth-field-input:focus {
      background: #141418 !important;
      border-color: #FAFAFA !important;
      box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.5), 0 0 0 3.5px rgba(250, 250, 250, 0.10) !important;
    }
    body.dark-theme #authViewLogin .auth-remember-label input[type="checkbox"],
    body.dark-theme #authViewRegister #authRegTermsCheck {
      background: #1A1A1F !important;
      border-color: #3F3F46 !important;
    }
    body.dark-theme #authViewLogin .auth-remember-label input[type="checkbox"]:checked,
    body.dark-theme #authViewRegister #authRegTermsCheck:checked {
      background: #FAFAFA !important;
      border-color: #FAFAFA !important;
    }
    body.dark-theme #authViewLogin .auth-remember-label input[type="checkbox"]::before,
    body.dark-theme #authViewRegister #authRegTermsCheck::before {
      background-color: #09090B !important;
    }
    body.dark-theme #authViewRegister #authPatientCodeToggleBtn {
      background: #1A1A1F !important;
      color: #D4D4D8 !important;
    }
    body.dark-theme #authViewRegister .auth-nutri-pill-badge {
      background: #27272A;
      color: #FAFAFA;
      border-color: rgba(255, 255, 255, 0.1);
    }
    body.dark-theme #authViewLogin #authLoginSubmitBtn,
    body.dark-theme #authViewRegister #authRegSubmitBtn,
    body.dark-theme #authViewVerify #authVerifySubmitBtn,
    body.dark-theme #authViewForgot #authForgotSubmitBtn,
    body.dark-theme #authViewForgot #authResetSubmitBtn {
      background: #FAFAFA !important;
      color: #09090B !important;
      box-shadow: 0 12px 26px -6px rgba(255, 255, 255, 0.12) !important;
    }
    body.dark-theme #authViewLogin .auth-login-pro-switch-wrap,
    body.dark-theme #authViewRegister .auth-login-pro-switch-wrap {
      border-top-color: rgba(255, 255, 255, 0.08);
    }
    body.dark-theme #authViewLogin .auth-login-pro-switch-btn:hover,
    body.dark-theme #authViewRegister .auth-login-pro-switch-btn:hover {
      background: #1A1A1F;
      color: #FAFAFA !important;
    }
    /* Tema Escuro para Gerenciar Meus Planos (#dietPlansListView) e Modais Cal AI */
    body.dark-theme #dietPlansListView .calai-plans-Set-title,
    body.dark-theme #dietPlansListView .calai-plan-card-title,
    body.dark-theme #dietPlansListView .calai-plan-kcal,
    body.dark-theme #dietPlansListView .calai-compliance-strong {
      color: #FAFAFA !important;
    }
    body.dark-theme #dietPlansListView .calai-plans-back-btn,
    body.dark-theme #dietPlansListView .calai-plan-more-btn,
    body.dark-theme #dietPlansListView .calai-plan-metrics-strip,
    body.dark-theme #dietPlansListView .calai-plans-compliance,
    body.dark-theme #dietPlansListView .calai-plan-goal-pill {
      background: #1A1A1F !important;
      color: #D4D4D8 !important;
    }
    body.dark-theme #dietPlansListView .calai-plans-new-btn,
    body.dark-theme #dietPlansListView .calai-plan-active-pill {
      background: #FAFAFA !important;
      color: #09090B !important;
    }
    body.dark-theme #dietPlansListView .calai-plan-card {
      background: #111114 !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme #dietPlansListView .calai-plan-card.is-active-plan {
      border-color: #FAFAFA !important;
    }
    body.dark-theme .calai-clean-sheet {
      background: #111114 !important;
    }
    body.dark-theme .calai-clean-sheet .calai-sheet-action-btn:not(.danger) {
      background: #1A1A1F !important;
      color: #FAFAFA !important;
    }
    @media (max-width: 380px) {
      .argon-header-pill {
        padding: 4px 8px !important;
      }
      .header-actions {
        gap: 4px !important;
      }
    }

    /* ==========================================================================
       BLINDAGEM DE LAYOUT RESPONSIVO, OVERFLOW HORIZONTAL E ENGAJAMENTO (ARGON 20x)
       ========================================================================== */
    .screen-body {
      overflow-x: hidden !important;
      overflow-y: auto !important;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    .tab-content,
    #tabFeed,
    #tabDiet,
    #tabScanner,
    #tabGoals,
    #tabLeaderboard,
    #tabProfile {
      overflow-x: clip !important;
      overflow-y: visible !important;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    @media (min-width: 601px) {
      html, body {
        height: 100vh !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
      }
      .phone-container {
        width: 393px !important;
        min-width: 393px !important;
        max-width: 393px !important;
        height: min(824px, calc(100vh - 76px)) !important;
        min-height: 660px !important;
        max-height: calc(100vh - 76px) !important;
        flex-shrink: 0 !important;
        margin: 0 auto !important;
      }
    }
    .tab-content {
      padding-bottom: calc(116px + env(safe-area-inset-bottom, 12px)) !important;
    }
    #podiumBox {
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      gap: 8px !important;
      padding: 14px 6px 10px !important;
      overflow-x: hidden !important;
    }
    #podiumBox .podium-step {
      min-width: 0 !important;
      max-width: 32% !important;
      flex: 1 1 0 !important;
      box-sizing: border-box !important;
    }
    #homeDailyQuickStrip .home-quick-mini-track {
      height: 6px !important;
      border-radius: 99px !important;
    }
    .welcome-sim-goal-btn {
      margin-top: 10px;
      width: 100%;
      padding: 11px 14px;
      border-radius: 999px;
      border: 1.5px solid #23352D;
      background: #23352D;
      color: #FFFFFF;
      font-size: 12.5px;
      font-weight: 800;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.2s ease;
      box-shadow: 0 6px 18px rgba(35, 53, 45, 0.16);
    }
    .welcome-sim-goal-btn:hover {
      background: #2C4238;
      border-color: #23352D;
    }
    .argon-taco-post-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 6px;
      padding: 9px 12px;
      margin: -4px 0 8px 0;
      background: #FAF8F5;
      border: 1px solid #E8E4DC;
      border-radius: 14px;
      font-size: 11.5px;
      font-weight: 800;
      color: #18221D;
    }
    .argon-taco-macro-badges {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-wrap: wrap;
    }
    .argon-taco-badge {
      padding: 3px 8px;
      border-radius: 999px;
      font-size: 10.5px;
      font-weight: 800;
    }
    .argon-taco-badge.prot {
      background: #FEE2E2;
      color: #B91C1C;
    }
    .argon-taco-badge.carb {
      background: #FEF3C7;
      color: #B45309;
    }
    .argon-taco-badge.fat {
      background: #DCFCE7;
      color: #15803D;
    }
    .argon-replicate-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 6px 11px;
      border-radius: 999px;
      border: 1px solid #A7F3D0;
      background: #ECFDF5;
      color: #059669;
      font-size: 11.5px;
      font-weight: 800;
      cursor: pointer;
      transition: transform 0.15s ease, background 0.15s ease;
    }
    .argon-replicate-btn:active {
      transform: scale(0.96);
    }
    .emerald-avatar-ring {
      box-shadow: none !important;
      border-color: #D4C5A9 !important;
    }
    .nike-avatar-container {
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      background: transparent !important;
    }
    .nike-avatar-img {
      border: none !important;
      outline: none !important;
      box-shadow: 0 10px 26px rgba(24, 34, 29, 0.08), 0 2px 6px rgba(24, 34, 29, 0.04) !important;
    }
    body.dark-theme .argon-taco-post-bar,
    body.dark-theme #dietPocketCoachBanner,
    body.dark-theme #dietWeeklyAiReportCard,
    body.dark-theme #vibeLensVoiceTextPanel,
    body.dark-theme #clubLeagueDivisionBanner,
    body.dark-theme #broccoliStoreSection .broccoli-store-item,
    body.dark-theme #dietMacroTopHeroCard,
    body.dark-theme #dietWaterTrackerCard,
    body.dark-theme #dietEmptyStateBox,
    body.dark-theme #tabDiet .diary-meal-card-item {
      background: var(--surface) !important;
      color: var(--text) !important;
      border-color: var(--border) !important;
    }
    body.dark-theme #dietQuickFeaturesBar {
      background: var(--surface-subtle) !important;
      border-color: var(--border) !important;
    }
    body.dark-theme #btnNewManualMealTop,
    body.dark-theme #btnAddMealVibeLens {
      background: var(--surface) !important;
      color: var(--text) !important;
      border-color: var(--border) !important;
    }
    body.dark-theme #tabDiet .diary-meal-title,
    body.dark-theme #tabDiet .diary-meal-kcal,
    body.dark-theme #dietRemainingKcalText,
    body.dark-theme #dietMacroTopHeroCard span[style*="#18221D"],
    body.dark-theme #dietWaterTrackerCard span[style*="#18221D"],
    body.dark-theme #dietDiaryMainSectionView > div:first-child > div:first-child {
      color: var(--text) !important;
    }
    body.dark-theme #tabDiet .diary-broc-btn.pending {
      background: rgba(255, 255, 255, 0.08) !important;
      color: #F2F5F3 !important;
      border-color: rgba(255, 255, 255, 0.28) !important;
    }
    body.dark-theme #tabDiet .diary-broc-btn.claimed {
      background: #10B981 !important;
      color: #0D1310 !important;
      border-color: #10B981 !important;
    }
    body.dark-theme .argon-replicate-btn {
      background: rgba(16, 185, 129, 0.16) !important;
      color: #34D399 !important;
      border-color: rgba(16, 185, 129, 0.35) !important;
    }

    /* ==========================================================================
       APPLE MOTION POLISH v3 — SwiftUI Real Spring Physics & 120fps iOS Kinetic Engine
       Curvas de mola (spring), transições direcionais, física de gaveta, contagem
       animada e micro-interações (iOS 18 / Apple Health).
       Regras: nunca usar !important em opacity/transform animados (importante vence @keyframes),
       fill-mode "backwards" em elementos clicáveis (não congela :active).
       ========================================================================== */
    :root {
      --vd-spring: cubic-bezier(0.32, 0.72, 0, 1);
      --vd-spring-soft: cubic-bezier(0.22, 1, 0.36, 1);
      --vd-spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
      --vd-cal-ai-decel: cubic-bezier(0.16, 1, 0.3, 1);
      --vd-cal-ai-spring-linear: linear(0, 0.19 5.5%, 0.504 12.8%, 0.751 20.6%, 0.908 28.8%, 0.985 37.5%, 1.011 46.8%, 1.008 58%, 1.002 74%, 1);
    }
    @keyframes vdCalAiTabDissolve {
      0% { opacity: 0.01; transform: translate3d(0, 2.5px, 0) scale(0.996); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes vdTabSlideFwd {
      0% { opacity: 0.86; transform: translate3d(8px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdTabSlideBack {
      0% { opacity: 0.86; transform: translate3d(-8px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    .tab-content.active.vd-tab-fwd {
      animation: vdTabSlideFwd 0.20s var(--vd-spring) backwards;
    }
    .tab-content.active.vd-tab-back {
      animation: vdTabSlideBack 0.20s var(--vd-spring) backwards;
    }
    .vd-subview-enter-fwd,
    .vd-diet-slide-right {
      animation: vdTabSlideFwd 0.20s var(--vd-spring) backwards;
    }
    .vd-subview-enter-back,
    .vd-diet-slide-left {
      animation: vdTabSlideBack 0.20s var(--vd-spring) backwards;
    }
    body.vd-cal-ai-motion .tab-content.active.vd-cal-tab-enter,
    body.vd-cal-ai-motion .tab-content.active.vd-tab-fwd,
    body.vd-cal-ai-motion .tab-content.active.vd-tab-back,
    body.vd-cal-ai-motion .vd-subview-enter-fwd,
    body.vd-cal-ai-motion .vd-diet-slide-right,
    body.vd-cal-ai-motion .vd-subview-enter-back,
    body.vd-cal-ai-motion .vd-diet-slide-left {
      animation: vdCalAiTabDissolve 0.165s var(--vd-spring-soft) backwards;
    }
    .feed-segmented.vd-thumb-stretch .feed-seg-thumb {
      transform: scaleX(1.06);
    }
    .feed-segmented[data-mode="seguindo"].vd-thumb-stretch .feed-seg-thumb {
      transform: translateX(100%) scaleX(1.06);
    }
    @keyframes vdPodiumRise {
      0% { opacity: 0; transform: translate3d(0, 18px, 0) scaleY(0.86); transform-origin: bottom center; }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scaleY(1); transform-origin: bottom center; }
    }
    #podiumBox .podium-step.step-2 {
      animation: vdPodiumRise 0.38s var(--vd-spring-bounce) 30ms backwards;
    }
    #podiumBox .podium-step.step-3 {
      animation: vdPodiumRise 0.38s var(--vd-spring-bounce) 80ms backwards;
    }
    #podiumBox .podium-step.step-1 {
      animation: vdPodiumRise 0.42s var(--vd-spring-bounce) 130ms backwards;
    }
    @keyframes vdArPinPop {
      0% { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.84); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    .vibelens-ar-pill {
      animation: vdArPinPop 0.34s var(--vd-spring-bounce) backwards;
    }
    .vd-touch-pressed:not(.vd-cal-haptic-btn-shake):not(.vd-cal-haptic-surface-shake):not(.vd-cal-water-card-shake) {
      transform: scale(0.972) !important;
      transition: transform 0.09s ease-out !important;
    }
    @keyframes vdWizIn {
      0% { opacity: 1; transform: translate3d(0, 12px, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdWizOut {
      0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
      100% { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.972); }
    }
    @keyframes vdStepInFwd {
      0% { opacity: 1; transform: translate3d(18px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdStepInBack {
      0% { opacity: 1; transform: translate3d(-18px, 0, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdChildRise {
      0% { opacity: 0; transform: translate3d(0, 12px, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdPop {
      0% { transform: scale(0.9); }
      55% { transform: scale(1.07); }
      100% { transform: scale(1); }
    }
    @keyframes vdPulse {
      0% { transform: scale(1); }
      35% { transform: scale(1.045); }
      100% { transform: scale(1); }
    }
    @keyframes vdPillPop {
      0% { transform: scale(1); }
      30% { transform: scale(0.88); }
      64% { transform: scale(1.14); }
      100% { transform: scale(1); }
    }
    @keyframes vdNotifRise {
      0% { opacity: 0; transform: translate3d(0, 18px, 0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes vdChevDrop {
      0% { opacity: 0; transform: translateY(-9px) scale(0.78); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes vdCardIn {
      0% { opacity: 0; transform: translate3d(0, 22px, 0) scale(0.97); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes vdFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }
    @keyframes vdBannerIn {
      0% { opacity: 0; transform: translate3d(0, -14px, 0) scale(0.97); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes vdFlameIgnite {
      0% { transform: scale(0.55) rotate(-10deg); }
      40% { transform: scale(1.42) rotate(7deg); }
      62% { transform: scale(0.94) rotate(-3deg); }
      82% { transform: scale(1.14) rotate(1deg); }
      100% { transform: scale(1.08) rotate(0deg); }
    }

    /* Wizard: entrada/saída com mola e passos direcionais (avançar → direita, voltar → esquerda) */
    #vibeDietOnboardingWizard.active.closing-smooth {
      animation: vdWizOut 0.44s var(--vd-spring) forwards;
    }
    #vibeDietOnboardingWizard .wiz-step-panel.active.dir-fwd {
      animation: vdStepInFwd 0.28s var(--vd-spring);
    }
    #vibeDietOnboardingWizard .wiz-step-panel.active.dir-back {
      animation: vdStepInBack 0.28s var(--vd-spring);
    }
    #vibeDietOnboardingWizard .wiz-step-panel.active > * {
      opacity: 1;
      transform: none;
    }
    .wiz-seg-fill {
      transition: width 0.7s var(--vd-spring);
    }
    .wiz-option-card {
      transition: transform 0.45s var(--vd-spring-bounce), box-shadow 0.35s var(--vd-spring), border-color 0.3s ease, background 0.3s ease;
    }
    .wiz-option-card::after {
      transition: opacity 0.2s ease, transform 0.5s var(--vd-spring-bounce);
    }
    .wiz-option-card.selected .wiz-option-icon {
      animation: vdPop 0.5s var(--vd-spring-bounce);
    }
    .wiz-chip {
      transition: transform 0.4s var(--vd-spring-bounce), background 0.28s ease, border-color 0.28s ease, color 0.2s ease, box-shadow 0.3s ease;
    }
    .wiz-chip.selected,
    .wiz-restriction-card.selected {
      animation: vdPop 0.42s var(--vd-spring-bounce);
    }
    .wiz-restriction-card.selected .wiz-rest-check {
      animation: vdPop 0.46s var(--vd-spring-bounce);
    }
    #wizLiveBmiTag,
    #wizWeightDeltaBadge,
    #wizStep5RestrictionsBadge {
      transition: color 0.4s ease, opacity 0.3s ease;
    }
    #wizLiveMetabolicStrip b {
      font-variant-numeric: tabular-nums;
      font-weight: 900;
    }
    .wiz-next-btn {
      transition: transform 0.5s var(--vd-spring-bounce), box-shadow 0.3s ease, opacity 0.25s ease !important;
    }
    button.wiz-next-btn:not(:disabled):active,
    button.auth-submit-btn:not(:disabled):active {
      transform: scale(0.972);
      transition: transform 0.14s ease-out, box-shadow 0.2s ease !important;
    }
    .wiz-next-btn:disabled {
      opacity: 0.8;
    }
    /* Foco em preto clean dentro do Wizard e do cadastro (sem anel verde do navegador) */
    #vibeDietOnboardingWizard :focus-visible,
    #vibeDietOnboardingWizard input:focus,
    #authSheetModal :focus-visible {
      outline: 2px solid #09090B !important;
      outline-offset: 2px !important;
    }
    #vibeDietOnboardingWizard .auth-field-input:focus {
      border-color: rgba(9, 9, 11, 0.22) !important;
      box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.06) !important;
    }
    body.dark-theme #vibeDietOnboardingWizard,
    body.dark-theme #vibeDietOnboardingWizard.active {
      background: #09090B !important;
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-title {
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-sub,
    body.dark-theme #vibeDietOnboardingWizard .wiz-eyebrow {
      color: #A1A1AA !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-back-btn,
    body.dark-theme #vibeDietOnboardingWizard .wiz-step-badge,
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card:not(.selected),
    body.dark-theme #vibeDietOnboardingWizard .wiz-metric-box {
      background: #141417 !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card:not(.selected) div {
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card:not(.selected) div div:last-child {
      color: #A1A1AA !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card:not(.selected) .wiz-option-icon,
    body.dark-theme #vibeDietOnboardingWizard .wiz-metric-val,
    body.dark-theme #vibeDietOnboardingWizard .wiz-stepper-btn,
    body.dark-theme #vibeDietOnboardingWizard .wiz-chip:not(.selected),
    body.dark-theme #vibeDietOnboardingWizard .wiz-restriction-card:not(.selected) {
      background: #1F1F23 !important;
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-restriction-card:not(.selected) .wiz-rest-title,
    body.dark-theme #vibeDietOnboardingWizard .wiz-metric-lbl {
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-footer {
      background: rgba(9, 9, 11, 0.92) !important;
      border-top-color: rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-next-btn,
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card.selected,
    body.dark-theme #vibeDietOnboardingWizard .wiz-chip.selected,
    body.dark-theme #vibeDietOnboardingWizard .wiz-restriction-card.selected {
      background: #FFFFFF !important;
      border-color: #FFFFFF !important;
      color: #09090B !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card.selected div,
    body.dark-theme #vibeDietOnboardingWizard .wiz-restriction-card.selected .wiz-rest-title {
      color: #09090B !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card.selected div div:last-child,
    body.dark-theme #vibeDietOnboardingWizard .wiz-restriction-card.selected .wiz-rest-sub {
      color: rgba(9, 9, 11, 0.68) !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card.selected .wiz-option-icon {
      background: rgba(9, 9, 11, 0.08) !important;
      color: #09090B !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-option-card.selected::after,
    body.dark-theme #vibeDietOnboardingWizard .wiz-restriction-card.selected .wiz-rest-check {
      background: #09090B !important;
      border-color: #09090B !important;
      color: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-seg {
      background: #27272A !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-seg-fill {
      background: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-status-pill {
      background: #141417 !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
      color: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-card-title,
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-val {
      color: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-pill,
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-cell,
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-icon-well {
      background: #1F1F23 !important;
      color: #F4F5F8 !important;
    }
    body.dark-theme #vibeDietOnboardingWizard #wizRingKcal {
      stroke: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-kcal-flame {
      fill: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-ring-track {
      stroke: #27272A !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-btn-minus {
      background: #141417 !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      color: #FFFFFF !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-btn-plus {
      background: #FFFFFF !important;
      color: #09090B !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-bar-track {
      background: #27272A !important;
    }
    body.dark-theme #vibeDietOnboardingWizard .wiz-s5-bar-fill {
      background: #FFFFFF !important;
    }

    /* Gaveta de Notificações: física de mola na abertura e fechamento ultra-ágil (0.14s) */
    #notificationsModal {
      transition: opacity 0.14s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.14s;
    }
    #notificationsModal.active {
      transition: opacity 0.24s var(--vd-spring), visibility 0.24s;
    }
    .modal-sheet.notif-sheet {
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), height 0.24s var(--vd-spring);
    }
    .modal-overlay.active .modal-sheet.notif-sheet {
      transition: transform 0.28s var(--vd-spring), height 0.28s var(--vd-spring);
    }
    .notif-expand-toggle-btn.vd-chev-enter svg {
      animation: vdChevDrop 0.62s var(--vd-spring) 0.2s backwards;
    }
    .notif-scroll-list.vd-enter > * {
      animation: vdNotifRise 0.58s var(--vd-spring) backwards;
    }
    .notif-scroll-list.vd-enter > *:nth-child(1) { animation-delay: 120ms; }
    .notif-scroll-list.vd-enter > *:nth-child(2) { animation-delay: 165ms; }
    .notif-scroll-list.vd-enter > *:nth-child(3) { animation-delay: 210ms; }
    .notif-scroll-list.vd-enter > *:nth-child(4) { animation-delay: 255ms; }
    .notif-scroll-list.vd-enter > *:nth-child(5) { animation-delay: 300ms; }
    .notif-scroll-list.vd-enter > *:nth-child(6) { animation-delay: 345ms; }
    .notif-scroll-list.vd-enter > *:nth-child(n+7) { animation-delay: 390ms; }
    .notif-swipe-container {
      transition: max-height 0.46s var(--vd-spring), margin 0.46s var(--vd-spring), opacity 0.34s ease, transform 0.46s var(--vd-spring);
      transform-origin: 50% 0%;
    }
    .notif-swipe-container.removing {
      transform: scale(0.95);
    }
    .notif-swipe-item {
      transition: transform 0.5s var(--vd-spring);
    }

    /* Micro-interações: botão +250ml, banner do dia, estado vazio do feed e ignição da chama */
    .vd-pulse { animation: vdPulse 0.5s var(--vd-spring); }
    .vd-pill-pop { animation: vdPillPop 0.52s var(--vd-spring-bounce); }
    #vibeInAppReminderBanner {
      animation: vdBannerIn 0.6s var(--vd-spring) backwards;
    }
    .empty-feed-card {
      animation: vdCardIn 0.65s var(--vd-spring) backwards;
    }
    .empty-feed-icon {
      animation: vdFloat 3.8s ease-in-out infinite;
    }
    .header-stat-icon.flame-ignite {
      animation: vdFlameIgnite 0.9s var(--vd-spring-bounce) both;
    }
    .streak-hero-fire.flame-active.flame-ignite {
      animation: vdFlameIgnite 0.9s var(--vd-spring-bounce) backwards, flameDanceChic 1.8s ease-in-out 0.9s infinite !important;
    }

    /* ==========================================================================
       SWIFTUI SPRING PHYSICS — PUBLICAÇÃO DO FEED, DESCOBRIR & NOVO REGISTRO DE ATIVIDADE
       ========================================================================== */
    @keyframes vdDetailImgZoom {
      0% { opacity: 0.65; transform: scale(0.955); }
      100% { opacity: 1; transform: scale(1); }
    }
    /* 1) Publicação do Feed (#postDetailModal / #postDetailSheetEl) */
    #postDetailModal,
    #postDetailModal.active {
      transition: opacity 0.44s var(--vd-spring), visibility 0.44s, backdrop-filter 0.48s var(--vd-spring), -webkit-backdrop-filter 0.48s var(--vd-spring);
    }
    #postDetailSheetEl {
      transition: transform 0.52s var(--vd-spring);
    }
    #postDetailModal.active .post-detail-header {
      animation: vdChildRise 0.4s var(--vd-spring) 35ms backwards;
    }
    #postDetailModal.active #detailMediaWrap {
      animation: vdCardIn 0.46s var(--vd-spring) 65ms backwards;
    }
    #postDetailModal.active #detailPostImage {
      animation: vdDetailImgZoom 0.54s var(--vd-spring) 80ms backwards;
    }
    #postDetailModal.active #detailMacroPillContainer > * {
      animation: vdArPinPop 0.44s var(--vd-spring-bounce) 170ms backwards;
    }
    #postDetailModal.active .post-detail-actions {
      animation: vdChildRise 0.42s var(--vd-spring) 115ms backwards;
    }
    #postDetailModal.active .post-detail-likes-line {
      animation: vdChildRise 0.42s var(--vd-spring) 145ms backwards;
    }
    #postDetailModal.active #detailCaption {
      animation: vdChildRise 0.44s var(--vd-spring) 175ms backwards;
    }
    #postDetailModal.active .post-detail-comments-section {
      animation: vdChildRise 0.46s var(--vd-spring) 205ms backwards;
    }
    #detailCommentsList .detail-comment-item {
      animation: vdChildRise 0.42s var(--vd-spring) backwards;
      transition: transform 0.32s var(--vd-spring-bounce), background 0.25s ease;
    }
    #detailCommentsList .detail-comment-item:nth-child(1) { animation-delay: 40ms; }
    #detailCommentsList .detail-comment-item:nth-child(2) { animation-delay: 85ms; }
    #detailCommentsList .detail-comment-item:nth-child(3) { animation-delay: 130ms; }
    #detailCommentsList .detail-comment-item:nth-child(4) { animation-delay: 175ms; }
    #detailCommentsList .detail-comment-item:nth-child(5) { animation-delay: 220ms; }
    #detailCommentsList .detail-comment-item:nth-child(n+6) { animation-delay: 260ms; }
    #postDetailModal .social-btn,
    #postDetailModal .detail-send-btn,
    #postDetailModal [data-comment-like-btn] {
      transition: transform 0.36s var(--vd-spring-bounce), opacity 0.2s ease;
    }
    #postDetailModal .social-btn:active,
    #postDetailModal .detail-send-btn:active,
    #postDetailModal [data-comment-like-btn]:active {
      transform: scale(0.88);
    }

    /* 2) Descobrir (#vibeExploreHubPanel — Busca, Pílulas, Receitas/Treinos, Bento Grid & Pessoas) */
    #vibeExploreHubPanel > div:nth-child(1) {
      animation: vdCardIn 0.38s var(--vd-spring) 15ms backwards;
    }
    #vibeExploreCatPills button[data-cat-pill] {
      animation: vdArPinPop 0.42s var(--vd-spring-bounce) backwards;
      transition: transform 0.38s var(--vd-spring-bounce), background 0.25s var(--vd-spring), color 0.2s ease, border-color 0.25s ease, box-shadow 0.25s var(--vd-spring) !important;
    }
    #vibeExploreCatPills button[data-cat-pill]:nth-child(1) { animation-delay: 35ms; }
    #vibeExploreCatPills button[data-cat-pill]:nth-child(2) { animation-delay: 70ms; }
    #vibeExploreCatPills button[data-cat-pill]:nth-child(3) { animation-delay: 105ms; }
    #vibeExploreCatPills button[data-cat-pill]:nth-child(4) { animation-delay: 140ms; }
    #vibeExploreCatPills button[data-cat-pill]:active {
      transform: scale(0.92) !important;
    }
    #vibeExploreCategoryViewContainer > div > div,
    #vibeExploreCategoryViewContainer > div {
      animation: vdCardIn 0.44s var(--vd-spring) backwards;
      transition: transform 0.38s var(--vd-spring-bounce), box-shadow 0.3s var(--vd-spring);
    }
    #vibeExploreCategoryViewContainer > div > div:nth-child(1) { animation-delay: 20ms; }
    #vibeExploreCategoryViewContainer > div > div:nth-child(2) { animation-delay: 65ms; }
    #vibeExploreCategoryViewContainer > div > div:nth-child(3) { animation-delay: 110ms; }
    #vibeExploreCategoryViewContainer > div > div:nth-child(4) { animation-delay: 155ms; }
    #vibeExploreCategoryViewContainer > div > div:active {
      transform: scale(0.98);
    }
    #vibeExploreTrendsGrid [data-explore-cat] {
      animation: vdCardIn 0.48s var(--vd-spring-bounce) backwards;
      transition: transform 0.4s var(--vd-spring-bounce), box-shadow 0.3s var(--vd-spring), border-color 0.25s ease;
    }
    #vibeExploreTrendsGrid > [data-explore-cat] { animation-delay: 110ms; }
    #vibeExploreTrendsGrid > div > [data-explore-cat]:nth-child(1) { animation-delay: 155ms; }
    #vibeExploreTrendsGrid > div > [data-explore-cat]:nth-child(2) { animation-delay: 200ms; }
    #vibeExploreTrendsGrid [data-explore-cat]:active {
      transform: scale(0.965);
    }
    #vibeExploreTrendsGrid [data-explore-cat] img {
      transition: transform 0.55s var(--vd-spring);
    }
    #vibeExploreTrendsGrid [data-explore-cat]:active img {
      transform: scale(1.04);
    }
    #vibeExplorePeopleList > div {
      animation: vdCardIn 0.44s var(--vd-spring) backwards;
      transition: transform 0.38s var(--vd-spring-bounce), box-shadow 0.28s var(--vd-spring);
    }
    #vibeExplorePeopleList > div:nth-child(1) { animation-delay: 150ms; }
    #vibeExplorePeopleList > div:nth-child(2) { animation-delay: 195ms; }
    #vibeExplorePeopleList > div:nth-child(3) { animation-delay: 240ms; }
    #vibeExplorePeopleList > div:nth-child(4) { animation-delay: 285ms; }
    #vibeExplorePeopleList > div:nth-child(n+5) { animation-delay: 325ms; }
    #vibeExplorePeopleList > div:active {
      transform: scale(0.978);
    }

    /* 3) Novo Registro de Atividade (#activityComposerModal) */
    #activityComposerModal,
    #activityComposerModal.active {
      transition: opacity 0.44s var(--vd-spring), visibility 0.44s, backdrop-filter 0.48s var(--vd-spring), -webkit-backdrop-filter 0.48s var(--vd-spring);
    }
    #activityComposerModal .modal-sheet {
      transition: transform 0.52s var(--vd-spring);
    }
    #activityComposerModal.active .activity-selector-grid .activity-card-option {
      animation: vdCardIn 0.46s var(--vd-spring-bounce) backwards;
    }
    #activityComposerModal.active .activity-selector-grid .activity-card-option:nth-child(1) { animation-delay: 40ms; }
    #activityComposerModal.active .activity-selector-grid .activity-card-option:nth-child(2) { animation-delay: 75ms; }
    #activityComposerModal.active .activity-selector-grid .activity-card-option:nth-child(3) { animation-delay: 110ms; }
    #activityComposerModal.active .activity-selector-grid .activity-card-option:nth-child(4) { animation-delay: 145ms; }
    #activityComposerModal.active .activity-selector-grid .activity-card-option:nth-child(5) { animation-delay: 180ms; }
    #activityComposerModal.active .activity-selector-grid .activity-card-option:nth-child(6) { animation-delay: 215ms; }
    .activity-card-option {
      transition: transform 0.42s var(--vd-spring-bounce), border-color 0.25s var(--vd-spring), box-shadow 0.3s var(--vd-spring) !important;
    }
    .activity-card-option:active {
      transform: scale(0.94) !important;
    }
    .activity-card-option .activity-card-bg {
      transition: transform 0.55s var(--vd-spring), filter 0.3s ease !important;
    }
    .activity-card-option.selected {
      border-color: #23352D !important;
      box-shadow: 0 8px 22px rgba(35, 53, 45, 0.22), 0 0 0 2.5px #23352D !important;
    }
    .activity-card-option.selected .activity-card-bg {
      transform: scale(1.06);
      filter: brightness(0.84);
    }
    #activityMealFieldsWrap,
    #activityWorkoutFieldsWrap {
      animation: vdCardIn 0.38s var(--vd-spring) backwards;
    }
    #activityComposerModal.active .activity-composer-submit-btn {
      animation: vdChildRise 0.46s var(--vd-spring) 240ms backwards;
      transition: transform 0.4s var(--vd-spring-bounce), box-shadow 0.25s ease !important;
    }
    .composer-metric-preset-chip {
      padding: 6px 12px;
      border-radius: 999px;
      border: 1px solid #DFDBD2;
      background: #FFFFFF;
      color: #18221D;
      font-size: 11.5px;
      font-weight: 800;
      white-space: nowrap;
      cursor: pointer;
      transition: transform 0.36s var(--vd-spring-bounce), background 0.22s ease, color 0.2s ease, border-color 0.22s ease;
    }
    .composer-metric-preset-chip.active {
      background: linear-gradient(180deg, #F6F3EC 0%, #EBE6DC 100%);
      color: #1D1D1F;
      border-color: #CFC8B8;
      box-shadow: 0 2px 8px rgba(28, 25, 23, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }
    .composer-metric-preset-chip:active {
      transform: scale(0.92);
    }
    @media (prefers-reduced-motion: reduce) {
      #vibeDietOnboardingWizard.active,
      #vibeDietOnboardingWizard .wiz-step-panel.active,
      #vibeDietOnboardingWizard .wiz-step-panel.active > *,
      .tab-content.active.vd-tab-fwd,
      .tab-content.active.vd-tab-back,
      .vd-subview-enter-fwd,
      .vd-subview-enter-back,
      .vd-diet-slide-right,
      .vd-diet-slide-left,
      #podiumBox .podium-step.step-1,
      #podiumBox .podium-step.step-2,
      #podiumBox .podium-step.step-3,
      .vibelens-ar-pill,
      .wiz-chip.selected,
      .wiz-restriction-card.selected,
      .wiz-option-card.selected .wiz-option-icon,
      .notif-scroll-list.vd-enter > *,
      .notif-expand-toggle-btn.vd-chev-enter svg,
      .vd-pulse, .vd-pill-pop,
      #vibeInAppReminderBanner,
      .empty-feed-card, .empty-feed-icon,
      .header-stat-icon.flame-ignite,
      .streak-hero-fire.flame-active.flame-ignite {
        animation: none !important;
      }
      .modal-sheet.notif-sheet,
      .notif-swipe-container,
      .notif-swipe-item,
      .wiz-seg-fill {
        transition-duration: 0.01ms !important;
      }
    }

    #vibeLensDishNameInput {
      font-size: 15.5px !important;
    }
    body.dark-theme #homeDailyQuickStrip div,
    body.dark-theme #homeDailyQuickStrip span:not([style*="#0284C7"]),
    body.dark-theme #homeDailyQuickStrip b#homeQuickRemainingKcal,
    body.dark-theme #dietEmptyStateBox div[style*="#18221D"],
    body.dark-theme #dietEmptyStateBox div[style*="#0F172A"],
    body.dark-theme #goalsDailyHabitTotalText,
    body.dark-theme #waterProgressText,
    body.dark-theme #clubLeagueDivisionBanner div[style*="#0F172A"],
    body.dark-theme #clubLeagueDivisionBanner div[style*="#18221D"],
    body.dark-theme #dailyCommitmentRail div {
      color: var(--text) !important;
    }
    body.dark-theme #vibeLensEstimationBadge {
      background: rgba(20, 30, 25, 0.92) !important;
      border-color: rgba(255, 255, 255, 0.16) !important;
      color: #F8FAFC !important;
    }
    body.dark-theme #vibeLensEstimationBadge span {
      color: #F8FAFC !important;
    }
    body.dark-theme #tabScanner > div[style*="background: #FFFFFF"],
    body.dark-theme #tabGoals .clean-card,
    body.dark-theme #goalsDailyMovementCard,
    body.dark-theme #bodyEvolutionCard4,
    body.dark-theme #goalsDailyHabitProgressBanner,
    body.dark-theme #waterCardWrapper,
    body.dark-mode #tabGoals .clean-card,
    body.dark-mode #goalsDailyMovementCard,
    body.dark-mode #bodyEvolutionCard4,
    body.dark-mode #goalsDailyHabitProgressBanner,
    body.dark-mode #waterCardWrapper,
    [data-theme="dark"] #tabGoals .clean-card,
    [data-theme="dark"] #goalsDailyMovementCard,
    [data-theme="dark"] #bodyEvolutionCard4,
    [data-theme="dark"] #goalsDailyHabitProgressBanner,
    [data-theme="dark"] #waterCardWrapper,
    body.dark-theme .empty-feed-card,
    body.dark-theme #podiumBox > div,
    body.dark-theme #leaderboardList > div {
      background: var(--surface, #1E2421) !important;
      border-color: var(--border, #2E3833) !important;
      color: #f8fafc !important;
    }
    body.dark-theme #tabGoals .clean-card div[style*="#18221D"],
    body.dark-theme #tabGoals .clean-card span[style*="#18221D"],
    body.dark-theme #tabGoals .clean-card div[style*="#0F172A"],
    body.dark-theme #goalsDailyMovementCard #dailyMovementCardTitle,
    body.dark-theme #goalsDailyMovementCard span[style*="#18221D"],
    body.dark-theme #goalsDailyHabitProgressBanner span[style*="#18221D"],
    body.dark-mode #tabGoals .clean-card div[style*="#18221D"],
    body.dark-mode #tabGoals .clean-card span[style*="#18221D"],
    body.dark-mode #goalsDailyMovementCard #dailyMovementCardTitle,
    body.dark-mode #goalsDailyMovementCard span[style*="#18221D"],
    [data-theme="dark"] #tabGoals .clean-card div[style*="#18221D"],
    [data-theme="dark"] #tabGoals .clean-card span[style*="#18221D"],
    [data-theme="dark"] #goalsDailyMovementCard #dailyMovementCardTitle,
    [data-theme="dark"] #goalsDailyMovementCard span[style*="#18221D"],
    body.dark-theme #podiumBox div[style*="#0F172A"],
    body.dark-theme #leaderboardList div[style*="#18221D"],
    body.dark-theme #leaderboardList div[style*="#0F172A"] {
      color: #f8fafc !important;
    }
    body.dark-theme #dailyMovementCardSub,
    body.dark-theme #goalsWeeklyStreakSub,
    body.dark-theme #bodyEvolutionSummaryText,
    body.dark-theme #bodyEvolutionSubHint,
    body.dark-theme #waterProgressSub,
    body.dark-mode #dailyMovementCardSub,
    body.dark-mode #goalsWeeklyStreakSub,
    body.dark-mode #bodyEvolutionSummaryText,
    body.dark-mode #bodyEvolutionSubHint,
    body.dark-mode #waterProgressSub,
    [data-theme="dark"] #dailyMovementCardSub,
    [data-theme="dark"] #goalsWeeklyStreakSub,
    [data-theme="dark"] #bodyEvolutionSummaryText,
    [data-theme="dark"] #bodyEvolutionSubHint,
    [data-theme="dark"] #waterProgressSub {
      color: #94a3b8 !important;
    }
    body.dark-theme #card4WeightCurrentBadge,
    body.dark-theme #card4WeightInitialBadge,
    body.dark-theme #card4WeightTargetBadge,
    body.dark-theme #bodyEvolutionKpiStrip > div,
    body.dark-mode #card4WeightCurrentBadge,
    body.dark-mode #card4WeightInitialBadge,
    body.dark-mode #card4WeightTargetBadge,
    body.dark-mode #bodyEvolutionKpiStrip > div,
    [data-theme="dark"] #card4WeightCurrentBadge,
    [data-theme="dark"] #card4WeightInitialBadge,
    [data-theme="dark"] #card4WeightTargetBadge,
    [data-theme="dark"] #bodyEvolutionKpiStrip > div {
      background: rgba(30, 41, 59, 0.85) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    body.dark-theme #card4WeightCurrentLbl,
    body.dark-theme #card4WeightInitialLbl,
    body.dark-theme #card4WeightTargetLbl,
    body.dark-theme #bodyEvolutionKpiStrip > div > div:first-child,
    body.dark-mode #card4WeightCurrentLbl,
    body.dark-mode #card4WeightInitialLbl,
    body.dark-mode #card4WeightTargetLbl,
    body.dark-mode #bodyEvolutionKpiStrip > div > div:first-child,
    [data-theme="dark"] #card4WeightCurrentLbl,
    [data-theme="dark"] #card4WeightInitialLbl,
    [data-theme="dark"] #card4WeightTargetLbl,
    [data-theme="dark"] #bodyEvolutionKpiStrip > div > div:first-child {
      color: #94a3b8 !important;
    }
    body.dark-theme #card4WeightCurrentVal,
    body.dark-mode #card4WeightCurrentVal,
    [data-theme="dark"] #card4WeightCurrentVal {
      color: #f8fafc !important;
    }
    body.dark-theme #card4WeightInitialVal,
    body.dark-mode #card4WeightInitialVal,
    [data-theme="dark"] #card4WeightInitialVal {
      color: #cbd5e1 !important;
    }
    body.dark-theme #card4WeightTargetVal,
    body.dark-mode #card4WeightTargetVal,
    [data-theme="dark"] #card4WeightTargetVal {
      color: #10b981 !important;
    }
    body.dark-theme #dailyMovementBurnKcalEst,
    body.dark-theme #bodyEvolutionModeBadge,
    body.dark-theme #goalsWeeklyStreakBadge,
    body.dark-mode #dailyMovementBurnKcalEst,
    body.dark-mode #bodyEvolutionModeBadge,
    body.dark-mode #goalsWeeklyStreakBadge,
    [data-theme="dark"] #dailyMovementBurnKcalEst,
    [data-theme="dark"] #bodyEvolutionModeBadge,
    [data-theme="dark"] #goalsWeeklyStreakBadge {
      background: rgba(30, 41, 59, 0.85) !important;
      border-color: rgba(255, 255, 255, 0.14) !important;
      color: #f8fafc !important;
    }
    body.dark-theme #goalsDailyMovementCard .movement-quick-pill:not(.active),
    body.dark-theme #dailyMovementDurationChips button,
    body.dark-theme #dailyMovementKmChips button,
    body.dark-theme #card4WeightMiniChartContainer,
    body.dark-mode #goalsDailyMovementCard .movement-quick-pill:not(.active),
    body.dark-mode #dailyMovementDurationChips button,
    body.dark-mode #dailyMovementKmChips button,
    body.dark-mode #card4WeightMiniChartContainer,
    [data-theme="dark"] #goalsDailyMovementCard .movement-quick-pill:not(.active),
    [data-theme="dark"] #dailyMovementDurationChips button,
    [data-theme="dark"] #dailyMovementKmChips button,
    [data-theme="dark"] #card4WeightMiniChartContainer {
      background: rgba(30, 41, 59, 0.72) !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      color: #cbd5e1 !important;
    }
    body.dark-theme #healthWatchSyncCard,
    body.dark-mode #healthWatchSyncCard,
    [data-theme="dark"] #healthWatchSyncCard {
      background: #141C18 !important;
      border-color: rgba(255, 255, 255, 0.09) !important;
    }
    body.dark-theme #healthWatchSyncCard .hw-kpi-box,
    body.dark-mode #healthWatchSyncCard .hw-kpi-box,
    [data-theme="dark"] #healthWatchSyncCard .hw-kpi-box {
      background: #1B2520 !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme #healthWatchSyncModal .modal-sheet,
    body.dark-mode #healthWatchSyncModal .modal-sheet,
    [data-theme="dark"] #healthWatchSyncModal .modal-sheet {
      background: #121916 !important;
      color: #F1F5F9 !important;
    }
    body.dark-theme #healthWatchSyncModal .hw-surface-box,
    body.dark-mode #healthWatchSyncModal .hw-surface-box,
    [data-theme="dark"] #healthWatchSyncModal .hw-surface-box {
      background: #1A2420 !important;
      border-color: rgba(255, 255, 255, 0.09) !important;
      color: #F1F5F9 !important;
    }
    body.dark-theme #goalsDailyMovementCard .movement-quick-pill.active,
    body.dark-mode #goalsDailyMovementCard .movement-quick-pill.active,
    [data-theme="dark"] #goalsDailyMovementCard .movement-quick-pill.active {
      background: #10b981 !important;
      border-color: #10b981 !important;
      color: #08120e !important;
    }
    #vibePrintPrescriptionSheet {
      display: none;
    }
    @page {
      size: A4 portrait;
      margin: 14mm 15mm;
    }
    @media print {
      html,
      body {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        background: #FFFFFF !important;
        color: #1D1D1F !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }
      body > *:not(#vibePrintPrescriptionSheet) {
        display: none !important;
      }
      #vibePrintPrescriptionSheet,
      #vibePrintPrescriptionSheet * {
        visibility: visible !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
      }
      #vibePrintPrescriptionSheet {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #FFFFFF !important;
        color: #1D1D1F !important;
        box-sizing: border-box !important;
      }
      .vd-print-meal-card {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
      }
    }
    body.dark-theme .composer-metric-preset-chip {
      background: var(--surface-subtle) !important;
      color: var(--text) !important;
      border-color: var(--border) !important;
    }
    body.dark-theme .composer-metric-preset-chip.active {
      background: #10B981 !important;
      color: #08120E !important;
      border-color: #10B981 !important;
    }
    body.dark-theme .activity-card-option.selected {
      border-color: #10B981 !important;
      box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28), 0 0 0 2.5px #10B981 !important;
    }

    /* Modo Diário Pessoal (Single-Player): foco em utilidade nutricional, galeria própria e evolução pessoal */
    body.single-player-mode #dailyCommitmentSection,
    body.single-player-mode .argon-support-pill-btn,
    body.single-player-mode [id^="commentBtn_"],
    body.single-player-mode [id^="shareBtn_"],
    body.single-player-mode [id^="socialProofRow_"],
    body.single-player-mode [id^="previewComments_"],
    body.single-player-mode [id^="viewCommentsBtn_"],
    body.single-player-mode .insta-heart-pop,
    body.single-player-mode .post-detail-actions,
    body.single-player-mode .post-detail-likes-line,
    body.single-player-mode .post-detail-comments-section,
    body.single-player-mode .post-detail-input-bar,
    body.single-player-mode [data-cat-pill="dicas"],
    body.single-player-mode [data-cat-pill="tribos"],
    body.single-player-mode #vibeExplorePeopleSectionHeader,
    body.single-player-mode #vibeExplorePeopleList,
    body.single-player-mode .club-segmented-tabs,
    body.single-player-mode #clubSubTabLeaderboard,
    body.single-player-mode #profFriendsTile,
    body.single-player-mode #profFriendsSection,
    body.single-player-mode .notif-btn {
      display: none !important;
    }

    body.single-player-mode .profile-quick-nav-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Apple iOS 18 / visionOS Liquid Glass & Bento Editorial System para o Descobrir (Arthur 120Hz) */
    #vibeExploreHubPanel {
      position: relative;
      padding: 2px 0 18px 0;
      background: transparent;
    }
    .vd-apple-glass-search {
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 242, 235, 0.85) 100%) !important;
      backdrop-filter: blur(24px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
      border: 1px solid #E4DFD5 !important;
      box-shadow:
        0 6px 18px -6px rgba(28, 25, 23, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
      transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    }
    .vd-apple-glass-search:focus-within {
      border-color: #C8C1B4 !important;
      box-shadow:
        0 10px 24px -6px rgba(28, 25, 23, 0.09),
        0 0 0 3px rgba(214, 208, 196, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    }
    .vd-apple-glass-card {
      background: #FFFFFF !important;
      border: 1px solid #E2E8F0 !important;
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    }
    .vd-apple-glass-btn {
      background: #F8FAFC !important;
      color: #09090B !important;
      border: 1px solid #E2E8F0 !important;
      box-shadow:
        0 3px 10px -2px rgba(28, 25, 23, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
      transition: transform 0.28s cubic-bezier(0.22, 1.35, 0.36, 1), box-shadow 0.22s ease, background 0.2s ease !important;
    }
    .vd-apple-glass-btn:active {
      transform: scale(0.975) !important;
      background: #E5DFD3 !important;
    }
    .vd-bento-hero-card {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid rgba(28, 25, 23, 0.10);
      box-shadow:
        0 14px 30px -10px rgba(28, 25, 23, 0.18),
        0 4px 10px rgba(28, 25, 23, 0.06);
      cursor: pointer;
      isolation: isolate;
    }
    .vd-bento-hero-card > img.vd-bento-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
      transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .vd-bento-hero-card:active > img.vd-bento-bg {
      transform: scale(1.06);
    }
    .vd-bento-scrim {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }
    .vd-bento-glass-dock {
      position: relative;
      z-index: 2;
      background: linear-gradient(145deg, rgba(36, 33, 29, 0.64) 0%, rgba(22, 20, 18, 0.78) 100%);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.22);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 20px rgba(0, 0, 0, 0.20);
      border-radius: 17px;
      padding: 10px 11px;
    }
    .vd-bento-glass-pill {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(28, 25, 23, 0.52);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      color: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.26);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 12px rgba(0, 0, 0, 0.14);
      border-radius: 999px;
      padding: 4px 10px;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.01em;
    }

    /* ==========================================================================
       PLANO C — ESTILOS MINIMALISTAS COOL QUARTZ & CAL AI
       ========================================================================== */
    .vibe-card {
      background: #FFFFFF;
      border-radius: 24px;
      box-shadow: none !important;
      border: 1px solid #E2E8F0;
    }
    /* BOXES VIDRADOS E MAIORES DO DIÁRIO ("Enviado recentemente" — Frosted Liquid Glass SwiftUI) */
    #dietDiaryMainSectionView {
      position: relative;
      isolation: isolate;
    }
    #dietDiaryMainSectionView::before {
      content: "";
      position: absolute;
      inset: 28px -8px 0 -8px;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(circle at 16% 18%, rgba(219, 234, 254, 0.55) 0%, rgba(219, 234, 254, 0) 52%),
        radial-gradient(circle at 86% 48%, rgba(254, 226, 226, 0.42) 0%, rgba(254, 226, 226, 0) 54%),
        radial-gradient(circle at 28% 84%, rgba(224, 231, 255, 0.46) 0%, rgba(224, 231, 255, 0) 55%);
      filter: blur(18px);
    }
    .vd-diary-glass-box {
      position: relative;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(244, 247, 252, 0.62) 52%, rgba(255, 255, 255, 0.82) 100%) !important;
      backdrop-filter: blur(28px) saturate(195%) !important;
      -webkit-backdrop-filter: blur(28px) saturate(195%) !important;
      border: 1.5px solid rgba(255, 255, 255, 0.96) !important;
      box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 1), inset 0 -1px 0 rgba(226, 232, 240, 0.65) !important;
      border-radius: 22px !important;
      overflow: hidden;
      transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.18s ease !important;
    }
    .vd-diary-glass-box:active {
      transform: scale(0.985);
    }
    :where(*):has(> .vd-ios-haptic-switch-overlay) {
      position: relative;
    }
    .vd-ios-haptic-switch-overlay {
      position: absolute !important;
      inset: 0 !important;
      width: 100% !important;
      height: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      cursor: pointer !important;
      z-index: 6 !important;
      pointer-events: auto !important;
      touch-action: manipulation !important;
      -webkit-tap-highlight-color: transparent !important;
    }
    .screen-body .vd-ios-haptic-switch-overlay {
      touch-action: pan-y !important;
    }
    #vdInicioSwipeTrack .vd-ios-haptic-switch-overlay,
    #inicioWeekStripContainer .vd-ios-haptic-switch-overlay {
      touch-action: pan-x pan-y !important;
    }
    #dietDiaryMainSectionView .vd-ios-haptic-switch-overlay {
      pointer-events: none !important;
      touch-action: pan-y !important;
    }
    .vd-ios-haptic-switch-overlay > input[type="checkbox"] {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      margin: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
    .vd-cal-haptic-btn-shake,
    .vd-cal-haptic-surface-shake,
    .vd-cal-water-card-shake,
    .vd-cal-water-drop-pop {
      animation: none !important;
    }
    .hero-cal-clean {
      background: #FFFFFF;
      border-radius: 26px;
      border: 1px solid #E2E8F0;
      box-shadow: none !important;
      position: relative;
      overflow: hidden;
      transform: none !important;
      transition: none !important;
    }
    .hero-cal-clean:active,
    #dietMacroTopHeroCard,
    #dietMacroTopHeroCard:active,
    #vdInicioCarouselPage1 > .vibe-card,
    #vdInicioCarouselPage1 > .vibe-card:active {
      transform: none !important;
      transition: none !important;
    }
    .ring-spring {
      transition: stroke-dashoffset 0.44s cubic-bezier(0.32, 0.08, 0.24, 1), stroke 0.26s ease !important;
    }
    body.vd-cal-ai-motion .ring-spring {
      transition: stroke-dashoffset 0.38s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.24s ease !important;
    }
    @supports (transition-timing-function: linear(0, 1)) {
      body.vd-cal-ai-motion .ring-spring {
        transition: stroke-dashoffset 0.40s var(--vd-cal-ai-spring-linear), stroke 0.24s ease !important;
      }
    }
    #dietMacroRingCircle,
    #dietMacroProtRingCircle,
    #dietMacroCarbRingCircle,
    #dietMacroFatRingCircle,
    #dietExerciseBurnRingCircle,
    .day-ring-arc,
    #inicioActiveDayRingArc,
    #vibeLensLiveCalRing,
    #progressoWeightRingCircle,
    #calAiResultRingArc,
    #calAiManualExRingArc,
    #calAiMealManualRingArc,
    #calAiMealResultRingArc,
    body.vd-cal-ai-motion #dietMacroRingCircle,
    body.vd-cal-ai-motion #dietMacroProtRingCircle,
    body.vd-cal-ai-motion #dietMacroCarbRingCircle,
    body.vd-cal-ai-motion #dietMacroFatRingCircle,
    body.vd-cal-ai-motion #dietExerciseBurnRingCircle,
    body.vd-cal-ai-motion .day-ring-arc,
    body.vd-cal-ai-motion #inicioActiveDayRingArc,
    body.vd-cal-ai-motion #vibeLensLiveCalRing,
    body.vd-cal-ai-motion #progressoWeightRingCircle,
    body.vd-cal-ai-motion #calAiResultRingArc,
    body.vd-cal-ai-motion #calAiManualExRingArc,
    body.vd-cal-ai-motion #calAiMealManualRingArc,
    body.vd-cal-ai-motion #calAiMealResultRingArc {
      transition: stroke 0.40s ease !important;
    }
    @keyframes vdSwiftUiTimelineIn {
      0% {
        opacity: 0.72;
        transform: translate3d(0, var(--vd-timeline-in-from-y, 6px), 0);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
      }
    }
    .vd-timeline-day-switch-in {
      position: relative;
      z-index: 2;
      animation: vdSwiftUiTimelineIn 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
      will-change: transform, opacity;
    }
    .vd-timeline-ghost-layer {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      pointer-events: none;
      z-index: 1;
      display: flex !important;
      flex-direction: column;
      gap: 14px;
      clip-path: inset(8px -16px -220px -16px);
      animation: vdSwiftUiTimelineGhostOut 0.34s cubic-bezier(0.26, 0.54, 0.26, 1) both;
      will-change: transform, opacity, filter;
    }
    #dietHeroExerciseBonusPill {
      transition: opacity 0.32s cubic-bezier(0.26, 0.54, 0.26, 1), transform 0.34s cubic-bezier(0.26, 0.54, 0.26, 1);
      transform-origin: left center;
    }
    @keyframes vdSwiftUiCharOutUp {
      0% {
        opacity: 1;
        transform: translate3d(0, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
      45% {
        opacity: 0.34;
        -webkit-filter: blur(1.8px);
        filter: blur(1.8px);
      }
      100% {
        opacity: 0;
        transform: translate3d(0, -56%, 0) scale(0.74);
        -webkit-filter: blur(3.6px);
        filter: blur(3.6px);
      }
    }
    @keyframes vdSwiftUiCharInUp {
      0% {
        opacity: 0;
        transform: translate3d(0, 44%, 0) scale(0.76);
        -webkit-filter: blur(3.4px);
        filter: blur(3.4px);
      }
      46% {
        opacity: 0.78;
        -webkit-filter: blur(0.8px);
        filter: blur(0.8px);
      }
      78% {
        opacity: 0.97;
        -webkit-filter: blur(0.15px);
        filter: blur(0.15px);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
    }
    @keyframes vdSwiftUiCharGlideOutUp {
      0% {
        opacity: 1;
        transform: translate3d(0px, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
      40% {
        opacity: 0.28;
        -webkit-filter: blur(1.8px);
        filter: blur(1.8px);
      }
      100% {
        opacity: 0;
        transform: translate3d(var(--vd-glide-out-x, -6px), -52%, 0) scale(0.74);
        -webkit-filter: blur(3.6px);
        filter: blur(3.6px);
      }
    }
    @keyframes vdSwiftUiCharGlideX {
      0% {
        transform: translate3d(var(--vd-glide-from-x, 0px), 0%, 0) scale(1);
      }
      100% {
        transform: translate3d(0px, 0%, 0) scale(1);
      }
    }
    @keyframes vdSwiftUiSlashExitDrift {
      0% {
        transform: translate3d(0px, 0%, 0);
      }
      100% {
        transform: translate3d(var(--vd-slash-exit-drift-x, 28px), 0%, 0);
      }
    }
    @keyframes vdSwiftUiSlashIn {
      0% {
        opacity: 0;
        transform: translate3d(0, 28%, 0) scale(0.84);
        -webkit-filter: blur(2.4px);
        filter: blur(2.4px);
      }
      55% {
        opacity: 0.84;
        -webkit-filter: blur(0.4px);
        filter: blur(0.4px);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
    }
    @keyframes vdSwiftUiSlashOut {
      0% {
        opacity: 1;
        transform: translate3d(0, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
      45% {
        opacity: 0.34;
        -webkit-filter: blur(1.5px);
        filter: blur(1.5px);
      }
      100% {
        opacity: 0;
        transform: translate3d(0, -38%, 0) scale(0.82);
        -webkit-filter: blur(2.8px);
        filter: blur(2.8px);
      }
    }
    @keyframes vdSwiftUiWordOut {
      0% {
        opacity: 1;
        transform: translate3d(0, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
      100% {
        opacity: 0;
        transform: translate3d(0, -5%, 0) scale(0.985);
        -webkit-filter: blur(1.1px);
        filter: blur(1.1px);
      }
    }
    @keyframes vdSwiftUiWordIn {
      0% {
        opacity: 0;
        transform: translate3d(0, 5%, 0) scale(0.985);
        -webkit-filter: blur(1.1px);
        filter: blur(1.1px);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0%, 0) scale(1);
        -webkit-filter: blur(0px);
        filter: blur(0px);
      }
    }
    .vd-swiftui-numeric-stage {
      position: absolute;
      inset: 0;
      pointer-events: none;
      user-select: none;
      -webkit-user-select: none;
      overflow: visible;
      z-index: 3;
      contain: layout style;
    }
    .vd-swiftui-numeric-layer {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      display: inline-flex;
      align-items: baseline;
      white-space: nowrap;
      pointer-events: none;
    }
    .vd-slot-char {
      display: inline-block;
      will-change: transform, opacity, filter;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform-origin: 50% 55%;
    }
    @keyframes vdSwiftUiWordWidthGlide {
      0% {
        margin-right: var(--vd-word-delta-w, 0px);
      }
      100% {
        margin-right: 0px;
      }
    }
    .vd-slot-char-out {
      animation: vdSwiftUiCharOutUp 0.25s cubic-bezier(0.30, 0.06, 0.24, 1) both;
    }
    .vd-slot-char-in {
      animation: vdSwiftUiCharInUp 0.32s cubic-bezier(0.25, 0.92, 0.32, 1) both;
    }
    .vd-slot-char-glide-out {
      animation: vdSwiftUiCharGlideOutUp 0.17s cubic-bezier(0.30, 0.06, 0.24, 1) both;
    }
    .vd-slot-char-glide {
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      animation: vdSwiftUiCharGlideX 0.38s cubic-bezier(0.26, 0.54, 0.26, 1) both;
    }
    .vd-slot-slash-exit-drift {
      will-change: transform;
      animation: vdSwiftUiSlashExitDrift 0.32s cubic-bezier(0.26, 0.54, 0.26, 1) both;
    }
    .vd-slot-slash-in {
      display: inline-block;
      will-change: transform, opacity, filter;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      animation: vdSwiftUiSlashIn 0.26s cubic-bezier(0.25, 0.92, 0.32, 1) both;
    }
    .vd-slot-slash-out {
      display: inline-block;
      will-change: transform, opacity, filter;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      animation: vdSwiftUiSlashOut 0.22s cubic-bezier(0.30, 0.06, 0.24, 1) both;
    }
    .vd-word-cross-anim {
      position: relative;
      display: inline-block;
      color: transparent !important;
      animation: vdSwiftUiWordWidthGlide 0.34s cubic-bezier(0.32, 0.08, 0.24, 1) both;
    }
    .vd-word-cross-anim::before,
    .vd-word-cross-anim::after {
      position: absolute;
      left: 0;
      top: 0;
      color: var(--vd-word-color, #64748B);
      white-space: nowrap;
      pointer-events: none;
      will-change: transform, opacity, filter;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .vd-word-cross-anim::before {
      content: attr(data-vd-prev);
      animation: vdSwiftUiWordOut 0.24s cubic-bezier(0.30, 0.06, 0.24, 1) both;
    }
    .vd-word-cross-anim::after {
      content: attr(data-vd-next);
      animation: vdSwiftUiWordIn 0.28s cubic-bezier(0.32, 0.08, 0.24, 1) 0.03s both;
    }
    @keyframes flamePulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.12); }
    }
    .pulse-icon {
      animation: flamePulse 2.4s ease-in-out infinite;
    }
    .day-circle {
      width: 38px;
      height: 38px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15.5px;
      font-weight: 600;
      border: none;
      color: #18181B;
      background: transparent;
      transition: color 0.2s ease, background-color 0.2s ease;
      position: relative;
      isolation: isolate;
      box-sizing: border-box;
    }
    .day-circle > svg {
      z-index: 0;
    }
    .day-circle > span {
      position: relative;
      z-index: 2;
      display: inline-block;
    }
    .day-item {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      flex: 1 1 0%;
      width: 44px;
      max-width: 46px;
      min-width: 0;
      gap: 6px;
      cursor: pointer;
      padding: 8px 0 7px 0;
      border: 1px solid transparent;
      border-radius: 23px;
      box-sizing: border-box;
      user-select: none;
      -webkit-user-select: none;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.vd-cal-ai-motion .day-item {
      transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .day-item:active {
      transform: scale(0.92);
    }
    .day-item .day-lbl {
      position: relative;
      z-index: 2;
      font-size: 13px;
      font-weight: 600;
      line-height: 15px;
      height: 15px;
      color: #71717A;
      letter-spacing: -0.01em;
      transition: color 0.18s ease, transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .day-item .day-circle {
      z-index: 2;
    }
    .day-item.day-future:not(.active) .day-lbl {
      color: #9CA3AF !important;
      font-weight: 600 !important;
    }
    .day-item.day-future:not(.active) .day-circle {
      color: #A1A1AA !important;
      font-weight: 600 !important;
      background: transparent;
    }
    @keyframes vdDayPillGlideIn {
      0% {
        transform: translate3d(var(--vd-day-pill-from-x, 0px), 0, 0) scale(0.97);
      }
      100% {
        transform: translate3d(0px, 0, 0) scale(1);
      }
    }
    .day-item.active {
      background: #FFFFFF;
      border: 1px solid rgba(15, 23, 42, 0.08);
      box-shadow: 0 4px 14px rgba(15, 23, 42, 0.085), 0 1px 3px rgba(15, 23, 42, 0.05);
      padding: 8px 0 7px 0;
      z-index: 2;
    }
    @media (prefers-reduced-motion: no-preference) {
      body.vd-cal-ai-motion .day-item.active.vd-day-pill-glide {
        isolation: isolate;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        padding: 8px 0 7px 0;
        z-index: 2;
      }
      body.vd-cal-ai-motion .day-item.active.vd-day-pill-glide::before {
        content: "";
        position: absolute;
        inset: -1px;
        border-radius: 23px;
        box-sizing: border-box;
        background: #FFFFFF;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.085), 0 1px 3px rgba(15, 23, 42, 0.05);
        z-index: -1;
        pointer-events: none;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        animation: vdDayPillGlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
      }
      @supports (animation-timing-function: linear(0, 1)) {
        body.vd-cal-ai-motion .day-item.active.vd-day-pill-glide::before {
          animation: vdDayPillGlideIn 0.30s var(--vd-cal-ai-spring-linear) both;
        }
      }
    }
    .day-item.day-today:not(.active) {
      background: rgba(255, 255, 255, 0.36);
      border: 1px solid rgba(15, 23, 42, 0.09);
      box-shadow: 0 3px 10px rgba(15, 23, 42, 0.065), 0 1px 3px rgba(15, 23, 42, 0.04);
      padding: 8px 0 7px 0;
    }
    .day-item.day-today:not(.active) .day-lbl {
      color: #18181B !important;
      font-weight: 700 !important;
    }
    .inicio-week-spring-pill {
      display: none !important;
    }
    .day-item.active .day-circle {
      width: 38px;
      height: 38px;
      border: none !important;
      background: transparent !important;
      color: #18181B !important;
      font-size: 15.5px;
      font-weight: 700;
      box-shadow: none !important;
      transform: none;
    }
    .day-item.active .day-lbl {
      color: #18181B !important;
      font-weight: 700 !important;
    }
    #tabDiet { overflow-x: visible !important; }
    .vd-week-strip-track {
      display: flex;
      align-items: center;
      width: 100%;
      gap: 28px;
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .vd-week-page {
      min-width: 100%;
      width: 100%;
      flex: 0 0 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
      box-sizing: border-box;
    }
    .vd-week-glide-next,
    .vd-week-glide-prev {
      animation: none;
    }
    #dietExerciseMathFormulaNote {
      display: none !important;
    }
    body.vd-equiv-calc-open .bottom-nav {
      display: none !important;
    }
    .diet-cheat-card .vd-cheat-slot-btn {
      padding: 10px 12px !important;
      font-size: 12.5px !important;
      font-weight: 700 !important;
      border-radius: 999px !important;
      cursor: pointer !important;
      border: 1px solid #E2E8F0 !important;
      background: #F4F5F8 !important;
      color: #475569 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 5px !important;
      transition: all 0.18s ease !important;
    }
    .diet-cheat-card .vd-cheat-slot-btn.active {
      border: 1.5px solid #09090B !important;
      background: #09090B !important;
      color: #FFFFFF !important;
      font-weight: 800 !important;
      box-shadow: 0 4px 12px rgba(9, 9, 11, 0.18) !important;
    }
    #editProfileModal .modal-sheet {
      border: none !important;
      outline: none !important;
    }
    #vibeLensCameraFallbackNotice,
    #vibeLensHudStage:not(.vd-live-camera-mode) #vibeLensCameraFallbackNotice,
    #vibeLensHudStage.vd-camera-stream-active #vibeLensCameraFallbackNotice {
      display: none !important;
    }
    #vibeLensHudStage.vd-live-camera-mode.vd-camera-fallback-visible:not(.vd-camera-stream-active) #vibeLensCameraFallbackNotice {
      display: flex !important;
      pointer-events: auto !important;
      z-index: 55 !important;
    }
    .vd-meal-weight-pill:focus-within {
      outline: 2px solid #111827;
      outline-offset: 2px;
    }
    .bottom-nav {
      background: linear-gradient(to top, rgba(244, 245, 247, 0.94) 34%, rgba(244, 245, 247, 0) 100%) !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border-top: none !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 10px !important;
      padding: 12px 14px max(16px, calc(env(safe-area-inset-bottom, 0px) * 0.72 + 10px)) 14px !important;
      position: absolute !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      pointer-events: none !important;
      z-index: 45 !important;
      box-sizing: border-box !important;
    }
    .bottom-nav-pill-dock {
      pointer-events: auto !important;
      position: relative !important;
      flex: 1 1 auto !important;
      height: 58px !important;
      min-height: 58px !important;
      max-height: 58px !important;
      box-sizing: border-box !important;
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      align-items: center !important;
      background: rgba(255, 255, 255, 0.90) !important;
      backdrop-filter: blur(24px) saturate(190%) !important;
      -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
      border: 1px solid rgba(255, 255, 255, 0.96) !important;
      border-radius: 999px !important;
      padding: 3px !important;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.11), 0 2px 8px rgba(15, 23, 42, 0.05) !important;
      overflow: hidden !important;
      touch-action: pan-y !important;
      user-select: none !important;
      -webkit-user-select: none !important;
    }
    .bottom-nav-spring-pill {
      position: absolute !important;
      top: 3px !important;
      bottom: 3px !important;
      left: 3px !important;
      height: 50px !important;
      width: calc((100% - 6px) / 3) !important;
      border-radius: 999px !important;
      background: rgba(226, 228, 233, 0.92) !important;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 2px 8px rgba(15, 23, 42, 0.05) !important;
      z-index: 0 !important;
      pointer-events: none !important;
      will-change: transform !important;
      backface-visibility: hidden !important;
      -webkit-backface-visibility: hidden !important;
      transform-origin: center center !important;
      transform: translate3d(0%, 0, 0);
      transition: transform 0.30s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease, box-shadow 0.18s ease !important;
    }
    @supports (transition-timing-function: linear(0, 1)) {
      body.vd-cal-ai-motion .bottom-nav-spring-pill:not(.vd-pill-dragging):not(.vd-pill-instant) {
        transition: transform 0.32s var(--vd-cal-ai-spring-linear), background 0.18s ease, box-shadow 0.18s ease !important;
      }
    }
    body.vd-cal-ai-motion .bottom-nav::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: calc(-14px - env(safe-area-inset-bottom, 0px));
      height: calc(92px + env(safe-area-inset-bottom, 0px));
      background: linear-gradient(to top, rgba(244, 247, 251, 0.99) 0%, rgba(244, 247, 251, 0.92) 38%, rgba(244, 247, 251, 0.56) 68%, rgba(244, 247, 251, 0) 100%);
      pointer-events: none !important;
      z-index: -1;
    }
    .bottom-nav-spring-pill.vd-pill-dragging,
    .bottom-nav-spring-pill.vd-pill-instant {
      transition: background 0.18s ease, box-shadow 0.18s ease !important;
    }
    .bottom-nav-spring-pill.vd-pill-dragging,
    .bottom-nav-spring-pill.vd-pill-traveling {
      background: rgba(220, 223, 230, 0.96) !important;
      box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.96), 0 4px 14px rgba(15, 23, 42, 0.09) !important;
    }
    .bottom-nav .nav-item {
      position: relative !important;
      z-index: 1 !important;
      color: #71717A !important;
      font-weight: 600 !important;
      font-size: 11px !important;
      line-height: 12px !important;
      letter-spacing: -0.01em !important;
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 100% !important;
      height: 50px !important;
      min-height: 50px !important;
      max-height: 50px !important;
      padding: 4px 2px !important;
      margin: 0 !important;
      box-sizing: border-box !important;
      border-radius: 999px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 2.5px !important;
      transform: none !important;
      transition: color 0.18s ease !important;
      -webkit-tap-highlight-color: transparent !important;
    }
    .bottom-nav .nav-item svg {
      width: 22.5px !important;
      height: 22.5px !important;
    }
    .bottom-nav .nav-item.active {
      color: #09090B !important;
      font-weight: 700 !important;
      transform: none !important;
    }
    .bottom-nav .nav-item:active {
      transform: none !important;
    }
    .bottom-nav .nav-item.active svg,
    .bottom-nav .nav-item.active span:first-child {
      transform: none !important;
    }
    .bottom-nav .nav-item.active .nav-home-fill {
      fill: currentColor !important;
    }
    .bottom-nav .nav-item.vd-nav-spring-bounce svg,
    .bottom-nav .nav-item.vd-nav-spring-bounce .nav-profile-avatar-wrap {
      transform: none !important;
      animation: none !important;
    }
    .bottom-nav .vb-fab-btn {
      pointer-events: auto !important;
      position: relative !important;
      right: auto !important;
      top: auto !important;
      flex: 0 0 58px !important;
      width: 58px !important;
      height: 58px !important;
      border-radius: 999px !important;
      background: #18181B !important;
      color: #FFFFFF !important;
      border: none !important;
      box-shadow: 0 12px 28px rgba(24, 24, 27, 0.28) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      margin: 0 !important;
      transform: none !important;
      transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    .bottom-nav .vb-fab-btn:active {
      transform: scale(0.90) !important;
    }

    /* MENU DE AÇÕES RÁPIDAS DO BOTÃO "+" (ESTILO CAL AI — 2 CARDS: REGISTRAR EXERCÍCIO | ESCANEAR ALIMENTO) */
    .fab-quick-actions-overlay {
      position: absolute;
      inset: 0;
      z-index: 88;
      background: rgba(15, 23, 42, 0.42);
      backdrop-filter: blur(1.5px);
      -webkit-backdrop-filter: blur(1.5px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.15s ease;
    }
    .fab-quick-actions-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
    .fab-quick-actions-grid {
      position: absolute;
      left: 16px;
      right: 16px;
      bottom: 102px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      transform: translateY(14px) scale(0.96);
      opacity: 0;
      transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.16s ease;
    }
    .fab-quick-actions-overlay.active .fab-quick-actions-grid {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
    .fab-quick-action-card {
      background: #FFFFFF;
      border: 1px solid rgba(255, 255, 255, 0.9);
      border-radius: 22px;
      padding: 22px 12px 20px 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      cursor: pointer;
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18), 0 2px 8px rgba(15, 23, 42, 0.06);
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background 0.14s ease;
    }
    .fab-quick-action-card.fab-card-wide {
      grid-column: 1 / -1;
      flex-direction: row;
      padding: 18px 18px;
      gap: 12px;
    }
    .fab-quick-action-card:active {
      transform: scale(0.96);
      background: #F8FAFC;
    }
    .fab-quick-action-card-label {
      font-size: 14px;
      font-weight: 600;
      color: #18181B;
      letter-spacing: -0.015em;
      line-height: 1.2;
      text-align: center;
      white-space: nowrap;
    }
    /* Estilos Monocromáticos P&B para Registrar Refeição (Mesma Estética de Registrar Exercício) */
    .cal-meal-opt-card {
      width: 100%;
      background: #F8F9FB;
      border: 1px solid #F1F3F7;
      border-radius: 18px;
      padding: 22px 18px;
      display: flex;
      align-items: center;
      gap: 16px;
      text-align: left;
      cursor: pointer;
      transition: transform 0.14s ease, background 0.14s ease;
    }
    .cal-meal-opt-card:active {
      transform: scale(0.985);
      background: #F1F3F7;
    }
    @media (hover: hover) and (pointer: fine) {
      .cal-meal-opt-card:hover {
        background: #F3F4F8;
      }
    }
    .cal-meal-unit-pill {
      padding: 8px 14px;
      border-radius: 999px;
      border: 1.5px solid #111827;
      background: #FFFFFF;
      color: #111827;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
    }
    .cal-meal-unit-pill.is-active {
      background: #111827;
      color: #FFFFFF;
    }
    .cal-meal-seg-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: #F1F2F6;
      padding: 4px;
      border-radius: 14px;
      gap: 4px;
      margin-bottom: 16px;
    }
    .cal-meal-seg-btn {
      border: none;
      border-radius: 11px;
      padding: 10px 12px;
      font-size: 13.5px;
      font-weight: 700;
      background: transparent;
      color: #6B7280;
      cursor: pointer;
      transition: background 0.14s ease, color 0.14s ease;
    }
    .cal-meal-seg-btn.is-active {
      background: #FFFFFF;
      color: #111827;
      box-shadow: 0 2px 6px rgba(17, 24, 39, 0.06);
    }
    .fab-quick-actions-close-btn {
      position: absolute;
      right: 22px;
      bottom: 26px;
      width: 56px;
      height: 56px;
      border-radius: 999px;
      background: #18181B;
      color: #FFFFFF;
      border: none;
      box-shadow: 0 14px 28px rgba(24, 24, 27, 0.34);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .fab-quick-actions-close-btn:active {
      transform: scale(0.93);
    }
    .fab-quick-actions-close-btn svg {
      transform: rotate(0deg);
      transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    .fab-quick-actions-overlay.active .fab-quick-actions-close-btn svg {
      transform: rotate(45deg);
    }

    /* ANIMAÇÃO COMPLETA DE CÂMERA ESTILO CAL AI / iOS 18 (ENTRADA EM MOLA + MIRA AUTO-FOCUS + OBTURADOR + POP DOS PINS) */
    @keyframes vdCameraStageEnter {
      0% { transform: scale(0.94) translateY(10px); opacity: 0.4; }
      65% { transform: scale(1.012) translateY(-2px); opacity: 1; }
      100% { transform: scale(1) translateY(0); opacity: 1; }
    }
    @keyframes vdCameraLensSettle {
      0% { transform: translate3d(0, 0, 0) scale(1.04); opacity: 0.88; }
      100% { transform: translate3d(0, 0, 0) scale(var(--vd-cam-zoom, 1)); opacity: 1; }
    }
    @keyframes vdCameraFocusFrameLock {
      0% { translate: 0px 0px; scale: 1; }
      35% { translate: 0px -8px; scale: 1.03; }
      100% { translate: 0px 0px; scale: 1; }
    }
    @keyframes vdCameraScanPulse {
      0% { translate: 0px 0px; scale: 1; }
      35% { translate: 0px -8px; scale: 1.03; }
      100% { translate: 0px 0px; scale: 1; }
    }
    @keyframes vdShutterFlashAnim {
      0% { opacity: 0.78; }
      100% { opacity: 0; }
    }
    @keyframes vdArPinPop {
      0% { translate: 0px 8px; scale: 0.86; }
      38% { translate: 0px -9px; scale: 1.12; }
      72% { translate: 0px 1px; scale: 0.99; }
      100% { translate: 0px 0px; scale: 1; }
    }
    @keyframes vdCalAiPinTargetLift {
      0% { translate: 0px 0px; scale: 1; }
      34% { translate: 0px -12px; scale: 1.18; }
      68% { translate: 0px 1.5px; scale: 0.98; }
      100% { translate: 0px 0px; scale: 1; }
    }
    @keyframes vdPureOpticalBreathe {
      0%, 100% { scale: 1; opacity: 0.88; }
      50% { scale: 1.012; opacity: 1; }
    }
    @keyframes vdSilkScanSweep {
      0% { transform: translate3d(0, -18%, 0); opacity: 0; }
      14% { opacity: 1; }
      86% { opacity: 1; }
      100% { transform: translate3d(0, 560%, 0); opacity: 0; }
    }
    @keyframes vdScanPhotoOpticalLock {
      0% { transform: scale(1.048); opacity: 0.92; }
      100% { transform: scale(1); opacity: 1; }
    }
    @keyframes vdScanSheetRise {
      0% { transform: translate3d(0, 32px, 0); opacity: 0.86; }
      100% { transform: translate3d(0, 0, 0); opacity: 1; }
    }
    @keyframes vdAppleSkeletonPulse {
      0%, 100% { opacity: 0.44; }
      50% { opacity: 0.92; }
    }
    @keyframes vdElevenHarmonicBar {
      0%, 100% { transform: scaleY(0.36); opacity: 0.55; }
      50% { transform: scaleY(1); opacity: 1; }
    }
    @keyframes vdOpticalNodeRipple {
      0% { transform: scale(0.95); opacity: 0.78; }
      100% { transform: scale(2.45); opacity: 0; }
    }
    @keyframes vdCenterTapFocusFade {
      0% { transform: translate(-50%, -50%) scale(1.18); opacity: 0; }
      22% { transform: translate(-50%, -50%) scale(1); opacity: 0.96; }
      78% { transform: translate(-50%, -50%) scale(1); opacity: 0.88; }
      100% { transform: translate(-50%, -50%) scale(0.96); opacity: 0; }
    }
    @keyframes vdRevealPhotoSettle {
      0% { transform: scale(1.036); }
      100% { transform: none; }
    }
    @keyframes vdRevealSheetLift {
      0% { opacity: 0; transform: translate3d(0, 18px, 0); }
      100% { opacity: 1; transform: none; }
    }
    @keyframes vdLuxuryItemReveal {
      0% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.988); }
      100% { opacity: 1; transform: none; }
    }

    /* ==========================================================================
       BASE DO SCANNER VIBELENS (PADRÃO ESTÁVEL PARA O PILOTO: !vd-cal-ai-canary)
       ========================================================================== */
    body:not(.vd-cal-ai-canary) .vd-vl-canary-only {
      display: none !important;
    }
    body.vd-cal-ai-canary .vd-vl-legacy-only {
      display: none !important;
    }

    #vibeLensHudStage.vd-camera-entering {
      animation: vdCameraStageEnter 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    #vibeLensHudStage.vd-camera-entering #scannedPhotoPreview,
    #vibeLensHudStage.vd-camera-entering #vibeLensLiveCameraVideo {
      animation: vdCameraLensSettle 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    #tabScanner:not(.active) #vibeLensHudStage {
      display: none !important;
    }
    #tabScanner.active,
    #tabScanner.active.vd-tab-fwd,
    #tabScanner.active.vd-tab-back,
    #vibeLensHudStage.vd-live-camera-mode,
    #vibeLensHudStage.vd-live-camera-mode.vd-camera-entering {
      animation: none !important;
      transform: none !important;
    }
    body:not(.vd-cal-ai-canary) #tabScanner.active > *:not(.modal-overlay):not(.ptr-slot) {
      animation: none !important;
      transform: none !important;
    }
    #tabScanner.active #vibeLensHudStage.vd-live-camera-mode {
      position: fixed !important;
      inset: 0 !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100vw !important;
      height: 100dvh !important;
      min-height: 100dvh !important;
      max-height: 100dvh !important;
      border-radius: 0 !important;
      border: none !important;
      margin: 0 !important;
      z-index: 99990 !important;
      background: #000000 !important;
      box-shadow: none !important;
    }
    body.vd-scanner-camera-fullscreen .bottom-nav,
    body.vd-scanner-camera-fullscreen #bottomNavScannerBtn,
    body.vd-scanner-camera-fullscreen #fabPlusBtn,
    body.vd-scanner-camera-fullscreen #tabScanner.active:has(#vibeLensHudStage.vd-live-camera-mode) #tabScannerTopHeaderBar,
    body:has(#tabScanner.active #vibeLensHudStage.vd-live-camera-mode) .bottom-nav,
    body:has(#tabScanner.active #vibeLensHudStage.vd-live-camera-mode) #bottomNavScannerBtn,
    body:has(#tabScanner.active #vibeLensHudStage.vd-live-camera-mode) #tabScannerTopHeaderBar {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
    #vibeLensPostScanActionsBar {
      display: none !important;
    }
    #vibeLensHudStage.vd-live-camera-mode #scannedPhotoPreview {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
    #vibeLensHudStage.vd-live-camera-mode #vibeLensLiveCameraVideo {
      display: block !important;
      opacity: 1 !important;
      transform: scale(var(--vd-cam-zoom, 1));
      transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #vibeLensHudStage:not(.vd-live-camera-mode) #vibeLensLiveCameraVideo {
      display: none !important;
    }
    #vibeLensHudStage.vd-live-camera-mode #vibeLensToggleArPinsBtn,
    #vibeLensHudStage.scan-active #vibeLensToggleArPinsBtn,
    #vibeLensHudStage.vd-live-camera-mode #vibeLensPostScanActionsBar,
    #vibeLensHudStage.vd-live-camera-mode #vibeLensRuleOfThirdsGrid,
    #vibeLensHudStage.vd-live-camera-mode #vibeLensLaserBeam {
      display: none !important;
    }
    #vibeLensHudStage:not(.vd-live-camera-mode) #vibeLensCameraShutterDock,
    #vibeLensHudStage:not(.vd-live-camera-mode) #vibeLensCameraReadyHint,
    #vibeLensHudStage:not(.vd-live-camera-mode) #vibeLensLiveCameraTopBar {
      display: none !important;
    }
    #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-frame {
      inset: calc(108px + env(safe-area-inset-top, 14px)) 34px calc(242px + env(safe-area-inset-bottom, 16px)) 34px;
    }
    #vibeLensHudStage.vd-live-camera-mode.vd-focus-preset-macro .vibelens-focus-frame {
      inset: calc(132px + env(safe-area-inset-top, 14px)) 52px calc(264px + env(safe-area-inset-bottom, 16px)) 52px;
    }
    #vibeLensHudStage.vd-live-camera-mode.vd-focus-preset-macro .vibelens-focus-corner {
      border-color: #FACC15;
    }
    #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner {
      width: 44px;
      height: 44px;
      border-color: rgba(255, 255, 255, 0.96);
    }
    #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.tl { border-top-width: 3.5px; border-left-width: 3.5px; border-top-left-radius: 18px; }
    #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.tr { border-top-width: 3.5px; border-right-width: 3.5px; border-top-right-radius: 18px; }
    #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.bl { border-bottom-width: 3.5px; border-left-width: 3.5px; border-bottom-left-radius: 18px; }
    #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.br { border-bottom-width: 3.5px; border-right-width: 3.5px; border-bottom-right-radius: 18px; }
    .vibelens-focus-frame {
      position: absolute;
      inset: 48px 18px 62px 18px;
      pointer-events: none;
      z-index: 6;
      translate: 0px 0px;
      scale: 1;
      transition: inset 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    #vibeLensHudStage.vd-camera-entering .vibelens-focus-frame,
    #vibeLensHudStage.vd-focus-locking .vibelens-focus-frame,
    #vibeLensHudStage.scan-active .vibelens-focus-frame {
      animation: vdCameraFocusFrameLock 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      animation-timing-function: var(--vd-calai-spring-easing, cubic-bezier(0.22, 1, 0.36, 1));
    }
    .vibelens-focus-corner {
      position: absolute;
      width: 24px;
      height: 24px;
      border-color: rgba(255, 255, 255, 0.94);
      border-style: solid;
      border-width: 0;
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
      transition: border-color 0.25s ease, width 0.25s ease, height 0.25s ease;
    }
    #vibeLensHudStage.scan-active .vibelens-focus-corner {
      border-color: #34D399;
      width: 28px;
      height: 28px;
    }
    .vibelens-focus-corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 10px; }
    .vibelens-focus-corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 10px; }
    .vibelens-focus-corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 10px; }
    .vibelens-focus-corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 10px; }
    .vibelens-center-focus-reticle {
      position: absolute;
      top: 47%;
      left: 50%;
      width: 66px;
      height: 66px;
      border: 2px solid #FACC15;
      border-radius: 14px;
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
      pointer-events: none;
      z-index: 10;
      box-shadow: 0 0 22px rgba(250, 204, 21, 0.35), inset 0 0 10px rgba(250, 204, 21, 0.14);
      will-change: transform, opacity, left, top;
    }
    .vibelens-center-focus-reticle::before {
      content: "";
      display: none;
    }
    .vibelens-center-focus-reticle::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 7px;
      height: 7px;
      border-radius: 99px;
      background: #FACC15;
      box-shadow: 0 0 8px rgba(250, 204, 21, 0.85);
      transform: translate(-50%, -50%);
    }
    #vibeLensHudStage.vd-camera-entering .vibelens-center-focus-reticle,
    #vibeLensHudStage.vd-focus-locking .vibelens-center-focus-reticle {
      animation: vdCenterReticleLock 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .vibelens-focus-control-bar {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(24, 24, 27, 0.68);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      padding: 4px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
    }
    .vibelens-focus-pill {
      height: 30px;
      padding: 0 12px;
      border-radius: 999px;
      border: none;
      background: transparent;
      color: rgba(255, 255, 255, 0.82);
      font-size: 11.5px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      white-space: nowrap;
      transition: background 0.18s ease, color 0.18s ease, transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
      -webkit-tap-highlight-color: transparent;
    }
    .vibelens-focus-pill.active {
      background: #FACC15;
      color: #111827;
      font-weight: 800;
      box-shadow: 0 2px 10px rgba(250, 204, 21, 0.34);
    }
    .vibelens-focus-pill:active {
      transform: scale(0.94);
    }
    .vibelens-shutter-flash {
      position: absolute;
      inset: 0;
      background: #FFFFFF;
      opacity: 0;
      pointer-events: none;
      z-index: 15;
    }
    .vibelens-shutter-flash.firing {
      animation: vdShutterFlashAnim 0.24s ease-out forwards;
    }
    body:not(.vd-cal-ai-canary) #vibeLensCenterFocusReticle,
    #vibeLensCameraReadyHint,
    #vibeLensFocusControlBar {
      display: none !important;
    }
    .vibelens-ar-pin-dot {
      translate: 0px 0px;
      scale: 1;
      will-change: translate, scale;
    }
    .vibelens-ar-pin-dot.is-scan-entering {
      animation: vdArPinPop 0.44s cubic-bezier(0.22, 1, 0.36, 1) backwards;
      animation-timing-function: var(--vd-calai-spring-easing, cubic-bezier(0.22, 1, 0.36, 1));
    }
    .vibelens-ar-pin-dot.is-target-bouncing {
      animation: vdCalAiPinTargetLift 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      animation-timing-function: var(--vd-calai-spring-easing, cubic-bezier(0.22, 1, 0.36, 1));
    }
    .vibelens-ar-pin-dot::after {
      display: none !important;
    }

    /* ==========================================================================
       MODO CANARY EXCLUSIVO FUNDADOR (body.vd-cal-ai-canary):
       FLUXO EM 3 ATOS APPLE × CAL AI × ELEVENLABS (Minimal 01 + Scan 1A + Reveal)
       ========================================================================== */
    body.vd-cal-ai-canary #vibeLensHudStage.scan-active {
      animation: none !important;
      transform: none !important;
    }
    body.vd-cal-ai-canary #tabScanner.active:has(#vibeLensHudStage.vd-live-camera-mode) > *:not(.modal-overlay):not(.ptr-slot):not(#vibeLensHudStage),
    body.vd-cal-ai-canary #tabScanner.active:has(#vibeLensHudStage.scan-active) > *:not(.modal-overlay):not(.ptr-slot):not(#vibeLensHudStage) {
      animation: none !important;
      transform: none !important;
    }
    body.vd-cal-ai-canary #tabScanner.active #vibeLensHudStage.scan-active {
      position: fixed !important;
      inset: 0 !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100vw !important;
      height: 100dvh !important;
      min-height: 100dvh !important;
      max-height: 100dvh !important;
      border-radius: 0 !important;
      border: none !important;
      margin: 0 !important;
      z-index: 99990 !important;
      background: #000000 !important;
      box-shadow: none !important;
    }
    body.vd-cal-ai-canary.vd-scanner-camera-fullscreen #tabScanner.active:has(#vibeLensHudStage.scan-active) #tabScannerTopHeaderBar,
    body.vd-cal-ai-canary:has(#tabScanner.active #vibeLensHudStage.scan-active) .bottom-nav,
    body.vd-cal-ai-canary:has(#tabScanner.active #vibeLensHudStage.scan-active) #bottomNavScannerBtn,
    body.vd-cal-ai-canary:has(#tabScanner.active #vibeLensHudStage.scan-active) #fabPlusBtn,
    body.vd-cal-ai-canary:has(#tabScanner.active #vibeLensHudStage.scan-active) #tabScannerTopHeaderBar {
      display: none !important;
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.scan-active #scannedPhotoPreview {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      width: 100% !important;
      height: 57dvh !important;
      object-fit: cover !important;
      object-position: center !important;
      opacity: 1 !important;
      visibility: visible !important;
      filter: none !important;
      animation: vdScanPhotoOpticalLock 0.52s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.scan-active #vibeLensRuleOfThirdsGrid,
    body.vd-cal-ai-canary #vibeLensRuleOfThirdsGrid,
    body.vd-cal-ai-canary #vibeLensScanOpticalNodes,
    #vibeLensScanOpticalNodes,
    body.vd-cal-ai-canary #vibeLensHudStage:not(.scan-active) #vibeLensLaserBeam,
    body.vd-cal-ai-canary #vibeLensHudStage:not(.scan-active) #vibeLensScanTopCancelBtn {
      display: none !important;
    }
    body.vd-cal-ai-canary #vibeLensLiveCameraTopBar {
      top: max(54px, calc(env(safe-area-inset-top, 20px) + 20px)) !important;
      left: 22px !important;
      right: 22px !important;
      filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.44));
    }
    .vd-pure-optical-icon-btn,
    body.vd-cal-ai-canary #vibeLensLiveCameraCloseBtn {
      width: 44px !important;
      height: 44px !important;
      border-radius: 999px !important;
      background: transparent !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border: none !important;
      box-shadow: none !important;
      color: #FFFFFF !important;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0 !important;
      pointer-events: auto;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease, color 0.18s ease;
    }
    body.vd-cal-ai-canary #vibeLensLiveCameraCloseBtn {
      margin-left: -8px !important;
    }
    .vd-pure-optical-icon-btn:active,
    body.vd-cal-ai-canary #vibeLensLiveCameraCloseBtn:active {
      transform: scale(0.90);
      opacity: 0.78;
    }
    body.vd-cal-ai-canary #vibeLensCanaryTopTorchBtn.is-torch-on {
      color: #FFD60A !important;
    }
    body.vd-cal-ai-canary #vibeLensCanaryTopQuota {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      padding: 4px 10px;
      color: rgba(255, 255, 255, 0.88);
      font-size: 13.5px;
      font-weight: 600;
      letter-spacing: 0.04em;
      font-variant-numeric: tabular-nums;
      user-select: none;
      -webkit-user-select: none;
      pointer-events: none;
      transition: color 0.2s ease, opacity 0.2s ease;
    }
    body.vd-cal-ai-canary #vibeLensCanaryTopQuota.is-low {
      color: rgba(255, 255, 255, 0.98);
    }
    body.vd-cal-ai-canary #vibeLensCanaryTopQuota.is-empty {
      color: #FF6961;
    }
    /* Dock Inferior Minimal 01 em Canary (Galeria Squircle 48px à esquerda · Obturador Apple 74px ao centro · Simetria 48px à direita) */
    body.vd-cal-ai-canary #vibeLensCameraShutterDock {
      left: 34px !important;
      right: 34px !important;
      bottom: max(30px, calc(env(safe-area-inset-bottom, 16px) + 18px)) !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 0 !important;
    }
    body.vd-cal-ai-canary #vibeLensCalAiModeBar {
      display: flex !important;
      width: 48px !important;
      max-width: 48px !important;
      flex: 0 0 48px !important;
      gap: 0 !important;
    }
    body.vd-cal-ai-canary #vibeLensAddPhotoMenuPopover {
      left: 0 !important;
      right: auto !important;
    }
    body.vd-cal-ai-canary #vibeLensAddPhotoBtn {
      width: 48px !important;
      height: 48px !important;
      border-radius: 14px !important;
      background: rgba(255, 255, 255, 0.14) !important;
      backdrop-filter: blur(18px) !important;
      -webkit-backdrop-filter: blur(18px) !important;
      border: 1.5px solid rgba(255, 255, 255, 0.78) !important;
      color: #FFFFFF !important;
      padding: 0 !important;
      gap: 0 !important;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    body.vd-cal-ai-canary #vibeLensAddPhotoBtn svg {
      width: 20px !important;
      height: 20px !important;
    }
    body.vd-cal-ai-canary #vibeLensAddPhotoBtn:active {
      transform: scale(0.92);
    }
    body.vd-cal-ai-canary #vibeLensLegacyShutterRow {
      width: auto !important;
      max-width: none !important;
      flex: 0 0 auto !important;
      justify-content: center !important;
    }
    body.vd-cal-ai-canary #vibeLensShutterCaptureBtn {
      width: 74px !important;
      height: 74px !important;
      border: 3px solid #FFFFFF !important;
      box-shadow: 0 8px 26px rgba(0, 0, 0, 0.36) !important;
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    body.vd-cal-ai-canary #vibeLensShutterCaptureBtn:active {
      transform: scale(0.94);
    }
    body.vd-cal-ai-canary #vibeLensShutterCaptureBtn:active > span {
      transform: scale(0.88) !important;
    }
    /* Mira Óptica Ultrafina Apple (2.2px, sempre branca pura — zero verde neon em Canary) */
    body.vd-cal-ai-canary .vibelens-focus-frame {
      inset: 44px 20px 52px 20px;
      transition: inset 0.36s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    }
    body.vd-cal-ai-canary #vibeLensHudStage:not(.vd-live-camera-mode):not(.scan-active) .vibelens-focus-frame {
      opacity: 0;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-frame {
      inset: calc(146px + env(safe-area-inset-top, 14px)) 36px calc(184px + env(safe-area-inset-bottom, 16px)) 36px;
      animation: vdPureOpticalBreathe 3.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.scan-active .vibelens-focus-frame {
      inset: max(98px, calc(env(safe-area-inset-top, 18px) + 64px)) 34px calc(47.5dvh + 22px) 34px;
      border-radius: 20px;
      overflow: hidden;
      animation: vdCameraFocusFrameLock 0.44s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    body.vd-cal-ai-canary .vibelens-focus-corner,
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner {
      width: 36px;
      height: 36px;
      border-color: rgba(255, 255, 255, 0.92);
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
      transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), height 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.scan-active .vibelens-focus-corner {
      border-color: rgba(255, 255, 255, 0.96);
      width: 34px;
      height: 34px;
    }
    body.vd-cal-ai-canary .vibelens-focus-corner.tl,
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.tl { border-top-width: 2.2px; border-left-width: 2.2px; border-top-left-radius: 18px; }
    body.vd-cal-ai-canary .vibelens-focus-corner.tr,
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.tr { border-top-width: 2.2px; border-right-width: 2.2px; border-top-right-radius: 18px; }
    body.vd-cal-ai-canary .vibelens-focus-corner.bl,
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.bl { border-bottom-width: 2.2px; border-left-width: 2.2px; border-bottom-left-radius: 18px; }
    body.vd-cal-ai-canary .vibelens-focus-corner.br,
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode .vibelens-focus-corner.br { border-bottom-width: 2.2px; border-right-width: 2.2px; border-bottom-right-radius: 18px; }

    /* Cortina de Luz de Seda Monocromática + Nós Ópticos (Scan 1A em Canary) */
    body.vd-cal-ai-canary #vibeLensHudStage.scan-active #vibeLensLaserBeam {
      display: block !important;
      position: absolute !important;
      top: max(98px, calc(env(safe-area-inset-top, 18px) + 64px)) !important;
      left: 34px !important;
      right: 34px !important;
      height: 54px !important;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.11) 62%, rgba(255, 255, 255, 0.42) 100%) !important;
      border-bottom: 1.5px solid rgba(255, 255, 255, 0.96) !important;
      box-shadow: 0 6px 20px rgba(255, 255, 255, 0.20) !important;
      border-radius: 0 !important;
      z-index: 9 !important;
      pointer-events: none !important;
      animation: vdSilkScanSweep 2.35s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
    }
    body.vd-cal-ai-canary #vibeLensScanOpticalNodes {
      position: absolute;
      inset: max(98px, calc(env(safe-area-inset-top, 18px) + 64px)) 34px calc(47.5dvh + 22px) 34px;
      pointer-events: none;
      z-index: 10;
    }
    .vd-scan-opt-node {
      position: absolute;
      width: 10px;
      height: 10px;
      transform: translate(-50%, -50%);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .vd-scan-opt-node.is-lit {
      opacity: 1;
    }
    .vd-scan-opt-node-core {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #FFFFFF;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
    }
    .vd-scan-opt-node-ring {
      position: absolute;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.82);
      animation: vdOpticalNodeRipple 1.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    }
    body.vd-cal-ai-canary .vibelens-center-focus-reticle {
      width: 56px;
      height: 56px;
      border: 1.2px solid rgba(255, 255, 255, 0.90);
      box-shadow: none;
      will-change: transform, opacity;
    }
    body.vd-cal-ai-canary .vibelens-center-focus-reticle::after {
      display: none !important;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.vd-camera-entering .vibelens-center-focus-reticle {
      animation: none !important;
      opacity: 0 !important;
    }
    body.vd-cal-ai-canary #vibeLensHudStage.vd-live-camera-mode.vd-focus-locking .vibelens-center-focus-reticle {
      animation: vdCenterTapFocusFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    body.vd-cal-ai-canary .vibelens-shutter-flash {
      z-index: 65;
    }
    body.vd-cal-ai-canary .vibelens-shutter-flash.firing {
      animation: vdShutterFlashAnim 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Folha Monocromática iOS 18 + ElevenLabs Harmonic Pulse (Scan 1A em Canary) */
    body.vd-cal-ai-canary #vibeLensUploadProgressOverlay {
      position: absolute !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      top: auto !important;
      inset: auto 0 0 0 !important;
      min-height: 47.5dvh !important;
      z-index: 55 !important;
      background: #FFFFFF !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border-radius: 32px 32px 0 0 !important;
      box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.18) !important;
      padding: 12px 20px max(26px, calc(env(safe-area-inset-bottom, 14px) + 14px)) 20px !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: space-between !important;
      text-align: left !important;
      color: #1C1C1E !important;
      animation: vdScanSheetRise 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    body.vd-cal-ai-canary #vibeLensProgressCardInner {
      position: relative !important;
      width: 100% !important;
      max-width: none !important;
      background: transparent !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      border: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      box-shadow: none !important;
      flex: 1 1 auto !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
      justify-content: space-between !important;
    }
    body.vd-cal-ai-canary .vd-scan-header-row {
      position: relative;
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: flex-start !important;
      gap: 11px !important;
      padding-right: 52px !important;
      margin-bottom: 12px !important;
      text-align: left !important;
    }
    body.vd-cal-ai-canary #vibeLensProgressTitle {
      font-size: 16.5px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.022em !important;
      line-height: 1.2 !important;
      margin-bottom: 0 !important;
    }
    body.vd-cal-ai-canary #vibeLensProgressSub {
      font-size: 12.5px !important;
      font-weight: 400 !important;
      color: #8E8E93 !important;
      letter-spacing: -0.01em !important;
      margin-top: 2px !important;
      margin-bottom: 0 !important;
      line-height: 1.3 !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
    }
    body.vd-cal-ai-canary #vibeLensProgressTrack {
      height: 3px !important;
      background: #EFEFF4 !important;
      margin-bottom: 16px !important;
    }
    body.vd-cal-ai-canary #vibeLensProgressBarFill {
      background: #1C1C1E !important;
      transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    body.vd-cal-ai-canary #vibeLensProgressPctText {
      position: absolute !important;
      top: 28px !important;
      right: 0 !important;
      margin-top: 0 !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      color: #636366 !important;
      letter-spacing: -0.015em !important;
    }
    .vd-eleven-wave {
      display: inline-flex;
      align-items: center;
      gap: 2.5px;
      height: 16px;
      flex-shrink: 0;
    }
    .vd-eleven-wave span {
      width: 2.5px;
      border-radius: 999px;
      background: #1C1C1E;
      transform-origin: center;
      animation: vdElevenHarmonicBar 1.15s ease-in-out infinite;
    }
    .vd-eleven-wave span:nth-child(1) { height: 8px; animation-delay: 0s; }
    .vd-eleven-wave span:nth-child(2) { height: 14px; animation-delay: 0.14s; }
    .vd-eleven-wave span:nth-child(3) { height: 16px; animation-delay: 0.28s; }
    .vd-eleven-wave span:nth-child(4) { height: 12px; animation-delay: 0.42s; }
    .vd-eleven-wave span:nth-child(5) { height: 7px; animation-delay: 0.56s; }
    .vd-scan-skeleton-card {
      background: #F5F5F7;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08);
      border-radius: 18px;
      padding: 11px 14px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .vd-scan-skeleton-bar {
      height: 17px;
      width: 58px;
      border-radius: 6px;
      background: #E5E5EA;
      animation: vdAppleSkeletonPulse 1.55s ease-in-out infinite;
    }
    body.vd-cal-ai-canary #vibeLensCancelAnalysisBtn {
      width: 100% !important;
      min-height: 50px !important;
      height: 50px !important;
      margin-top: 14px !important;
      padding: 0 18px !important;
      border-radius: 16px !important;
      border: none !important;
      background: #F2F2F7 !important;
      color: #1C1C1E !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      letter-spacing: -0.015em !important;
      cursor: pointer;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.15s ease;
    }
    body.vd-cal-ai-canary #vibeLensCancelAnalysisBtn:active {
      transform: scale(0.975);
      background: #E5E5EA !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensUploadProgressOverlay {
      background: #161618 !important;
      color: #F5F5F7 !important;
      box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.55) !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensProgressTitle {
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensProgressSub,
    body.dark-theme.vd-cal-ai-canary #vibeLensProgressPctText {
      color: #98989D !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-eleven-wave span,
    body.dark-theme.vd-cal-ai-canary #vibeLensProgressBarFill {
      background: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensProgressTrack {
      background: #2C2C2E !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-scan-skeleton-card {
      background: #242426 !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-scan-skeleton-bar {
      background: #3A3A3C !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensCancelAnalysisBtn {
      background: #2C2C2E !important;
      color: #F5F5F7 !important;
    }

    /* ==========================================================================
       ATO III EM CANARY (v9.94): TELA "NUTRIÇÃO" + DIÁRIO UNIFICADO + SHEETS APPLE
       (Canvas #FFFFFF / #161618 · Pins AR Vision · Health Score Semântico · Macros Coloridos)
       ========================================================================== */
    @keyframes vdSlimPinBloom {
      0% {
        opacity: 0;
        transform: translate(-50%, -42%) scale(0.92);
      }
      100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
      }
    }
    @keyframes vdActivePinMorph {
      0% {
        opacity: 0.88;
        transform: translate(-50%, -50%) scale(0.93);
      }
      100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
      }
    }

    /* A1 — Eliminação de sobra de fundo inferior nas abas e no Scanner em Canary */
    body.vd-cal-ai-canary #tabScanner:not(:has(#vibeLensHudStage.vd-live-camera-mode)) {
      padding-bottom: 4px !important;
    }
    body.vd-cal-ai-canary #dietMealDiaryTimeline.vd-has-today-entries {
      padding-bottom: calc(108px + env(safe-area-inset-bottom, 14px)) !important;
    }
    body.vd-cal-ai-canary #dietEmptyStateBox {
      margin-bottom: calc(74px + env(safe-area-inset-bottom, 8px)) !important;
    }
    #btnBackToTodayBottomWrap,
    body.vd-cal-ai-canary #btnBackToTodayBottomWrap {
      margin-bottom: 0px !important;
      padding-bottom: calc(108px + env(safe-area-inset-bottom, 14px)) !important;
    }
    body.vd-cal-ai-canary #tabGoals,
    body.vd-cal-ai-canary #tabLeaderboard,
    body.vd-cal-ai-canary #tabProfile {
      padding-bottom: calc(72px + env(safe-area-inset-bottom, 6px)) !important;
    }

    body.vd-cal-ai-canary:not(.dark-theme) .phone-container:has(#tabScanner.active),
    body.vd-cal-ai-canary:not(.dark-theme) .screen-body:has(#tabScanner.active),
    body.vd-cal-ai-canary:not(.dark-theme) #tabScanner {
      background: #FFFFFF !important;
      background-color: #FFFFFF !important;
    }
    body.dark-theme.vd-cal-ai-canary .phone-container:has(#tabScanner.active),
    body.dark-theme.vd-cal-ai-canary .screen-body:has(#tabScanner.active),
    body.dark-theme.vd-cal-ai-canary #tabScanner {
      background: #161618 !important;
      background-color: #161618 !important;
    }
    body.vd-cal-ai-canary #tabScannerTopHeaderBar {
      position: relative !important;
      margin: 0 0 12px 0 !important;
      min-height: 36px !important;
      padding: 0 2px !important;
    }
    body.vd-cal-ai-canary #vibeLensTopBackBtn {
      width: 36px !important;
      height: 36px !important;
      border-radius: 12px !important;
      background: #F2F2F7 !important;
      border: none !important;
      box-shadow: none !important;
      color: #1C1C1E !important;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.14s ease !important;
    }
    body.vd-cal-ai-canary #vibeLensTopBackBtn svg {
      width: 17px !important;
      height: 17px !important;
      stroke-width: 2.05 !important;
    }
    body.vd-cal-ai-canary #vibeLensTopBackBtn:active {
      transform: scale(0.92);
      background: #E5E5EA !important;
    }
    body.vd-cal-ai-canary #vibeLensTopNavTitle {
      position: absolute !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      font-size: 16px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.02em !important;
      pointer-events: none;
    }

    /* Alertas Flutuantes iOS 18 — Sair sem Salvar & Limite Diário Atingido (Canary) */
    #vibeLensUnsavedExitModal.modal-overlay,
    #vibeLensDailyLimitModal.modal-overlay,
    #planDuplicateMealGuardModal.modal-overlay {
      background: rgba(0, 0, 0, 0.36);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      align-items: flex-end;
      justify-content: center;
      padding: 0 14px max(14px, env(safe-area-inset-bottom, 14px)) 14px;
      box-sizing: border-box;
    }
    .vd-vl-unsaved-sheet {
      width: 100%;
      max-width: 366px;
      margin: 0 auto;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      border-radius: 26px;
      padding: 20px 18px 14px 18px;
      box-sizing: border-box;
      box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18), inset 0 0 0 0.5px rgba(60, 60, 67, 0.10);
      color: #1C1C1E;
      text-align: center;
      transform: translate3d(0, 22px, 0) scale(0.98);
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }
    #vibeLensUnsavedExitModal.modal-overlay.active .vd-vl-unsaved-sheet,
    #vibeLensDailyLimitModal.modal-overlay.active .vd-vl-unsaved-sheet,
    #planDuplicateMealGuardModal.modal-overlay.active .vd-vl-unsaved-sheet {
      transform: none;
      transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .vd-vl-unsaved-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      background: #F2F2F7;
      color: #636366;
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: -0.01em;
      font-variant-numeric: tabular-nums;
      padding: 4px 10px;
      border-radius: 999px;
      margin-bottom: 10px;
    }
    .vd-vl-unsaved-title {
      font-size: 17.5px;
      font-weight: 600;
      letter-spacing: -0.022em;
      line-height: 1.25;
      color: #1C1C1E;
      margin: 0 0 6px 0;
    }
    .vd-vl-unsaved-sub {
      font-size: 13px;
      font-weight: 400;
      line-height: 1.42;
      letter-spacing: -0.008em;
      color: #8E8E93;
      margin: 0 0 16px 0;
    }
    .vd-vl-unsaved-actions {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .vd-vl-unsaved-btn-primary,
    .vd-vl-unsaved-btn-secondary,
    .vd-vl-unsaved-btn-discard {
      width: 100%;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: inherit;
      font-variant-numeric: tabular-nums;
      letter-spacing: -0.014em;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.14s ease, opacity 0.14s ease;
    }
    .vd-vl-unsaved-btn-primary {
      min-height: 48px;
      height: 48px;
      border-radius: 14px;
      background: #1C1C1E;
      color: #FFFFFF;
      font-size: 14.5px;
      font-weight: 600;
      padding: 0 16px;
    }
    .vd-vl-unsaved-btn-secondary {
      min-height: 46px;
      height: 46px;
      border-radius: 14px;
      background: #F2F2F7;
      color: #1C1C1E;
      font-size: 14.5px;
      font-weight: 600;
      padding: 0 16px;
    }
    .vd-vl-unsaved-btn-discard {
      min-height: 44px;
      height: 44px;
      border-radius: 12px;
      background: transparent;
      color: #FF3B30;
      font-size: 14px;
      font-weight: 500;
      padding: 0 12px;
      margin-top: 2px;
    }
    .vd-vl-unsaved-btn-primary:active,
    .vd-vl-unsaved-btn-secondary:active,
    .vd-vl-unsaved-btn-discard:active {
      transform: scale(0.98);
    }
    .vd-vl-unsaved-btn-secondary:active {
      background: #E5E5EA;
    }
    @media (prefers-reduced-motion: reduce) {
      .vd-vl-unsaved-sheet,
      #vibeLensUnsavedExitModal.modal-overlay.active .vd-vl-unsaved-sheet,
      #vibeLensDailyLimitModal.modal-overlay.active .vd-vl-unsaved-sheet,
      #planDuplicateMealGuardModal.modal-overlay.active .vd-vl-unsaved-sheet {
        transition-duration: 0.01ms !important;
        transform: none !important;
      }
    }

    body.vd-cal-ai-canary #vibeLensHudStage:not(.vd-live-camera-mode):not(.scan-active) {
      height: 224px !important;
      border-radius: 24px !important;
      border: none !important;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
      margin-bottom: 14px !important;
    }
    body.vd-cal-ai-canary #vibeLensHudStage:not(.vd-live-camera-mode):not(.scan-active) #vibeLensStageVignette {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.22) 100%) !important;
    }
    body.vd-cal-ai-canary #vibeLensToggleArPinsBtn {
      height: 23px !important;
      padding: 0 9.5px !important;
      border-radius: 999px !important;
      background: rgba(28, 28, 30, 0.82) !important;
      backdrop-filter: blur(20px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16), 0 2px 10px rgba(0, 0, 0, 0.16) !important;
      font-size: 10.5px !important;
      font-weight: 500 !important;
      letter-spacing: -0.008em !important;
      color: rgba(255, 255, 255, 0.92) !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease !important;
    }
    body.vd-cal-ai-canary #vibeLensToggleArPinsBtn.is-pins-off {
      opacity: 0.68 !important;
    }
    body.vd-cal-ai-canary #vibeLensToggleArPinsBtn:active {
      transform: scale(0.95);
    }

    /* A2 — Pin AR Slim + Cápsula Ativa Ultra-Clean Estilo Apple VisionOS */
    .vd-vl-slim-ar-pill {
      position: absolute;
      transform: translate(-50%, -50%);
      min-height: 24px;
      padding: 3px 9.5px;
      border-radius: 999px;
      border: none;
      background: rgba(255, 255, 255, 0.90);
      backdrop-filter: blur(22px) saturate(185%);
      -webkit-backdrop-filter: blur(22px) saturate(185%);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13), inset 0 0 0 0.5px rgba(255, 255, 255, 0.72);
      color: #1C1C1E;
      font-size: 11px;
      font-weight: 500;
      letter-spacing: -0.01em;
      line-height: 1.2;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
      cursor: pointer;
      pointer-events: auto;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease, box-shadow 0.18s ease;
    }
    .vd-vl-slim-ar-pill.is-scan-entering {
      animation: vdSlimPinBloom 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .vd-vl-slim-ar-pill:active {
      transform: translate(-50%, -50%) scale(0.95);
    }
    .vd-vl-slim-ar-pill.is-active {
      z-index: 46;
      min-height: 30px;
      padding: 3px 6px 3px 11px;
      gap: 6px;
      background: rgba(22, 22, 24, 0.90);
      backdrop-filter: blur(26px) saturate(190%);
      -webkit-backdrop-filter: blur(26px) saturate(190%);
      color: #FFFFFF;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 0 0 0.5px rgba(255, 255, 255, 0.22);
      animation: vdActivePinMorph 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .vd-vl-slim-ar-divider {
      width: 1px;
      height: 12px;
      background: rgba(255, 255, 255, 0.18);
      flex-shrink: 0;
    }
    .vd-vl-slim-ar-controls {
      display: inline-flex;
      align-items: center;
      gap: 1px;
    }
    .vd-vl-slim-ar-step-btn {
      width: 24px;
      height: 24px;
      border-radius: 999px;
      border: none;
      background: transparent;
      color: rgba(255, 255, 255, 0.92);
      font-size: 13.5px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      padding: 0;
      flex-shrink: 0;
      transition: background-color 0.12s ease, transform 0.12s ease;
    }
    .vd-vl-slim-ar-step-btn:active {
      background: rgba(255, 255, 255, 0.16);
      transform: scale(0.90);
    }

    body.vd-cal-ai-canary #vibeLensSummaryCard {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      padding: 2px 2px 4px 2px !important;
    }
    body.vd-cal-ai-canary #vibeLensSummaryGrabber,
    body.vd-cal-ai-canary #vibeLensLegacyMetaRow,
    body.vd-cal-ai-canary #vibeLensNutritionScoreBadgeIcon,
    body.vd-cal-ai-canary #vibeLensQuickFeedbackSub,
    body.vd-cal-ai-canary #btnVibeLensPorTextoCanary {
      display: none !important;
    }
    body.vd-cal-ai-canary #vibeLensDishTitleRow {
      margin-bottom: 12px !important;
      align-items: center !important;
      gap: 8px !important;
    }
    body.vd-cal-ai-canary #vibeLensDishNameInput {
      font-size: 19px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.022em !important;
      padding: 0 !important;
    }
    body.vd-cal-ai-canary #vibeLensCanaryWeightBadge,
    body.vd-cal-ai-canary #diaryModalCanaryWeightBadge {
      display: inline-flex !important;
      align-items: center !important;
      font-size: 12.5px !important;
      font-weight: 500 !important;
      color: #8E8E93 !important;
      letter-spacing: -0.01em !important;
      cursor: pointer;
      flex-shrink: 0;
      white-space: nowrap;
    }
    body.vd-cal-ai-canary #vibeLensPortionStepperWrap,
    body.vd-cal-ai-canary #diaryModalCanaryPortionWrap {
      display: inline-flex !important;
      align-items: center !important;
      border: none !important;
      background: #F2F2F7 !important;
      border-radius: 10px !important;
      padding: 3px 8px !important;
      gap: 6px !important;
      flex-shrink: 0;
    }
    body.vd-cal-ai-canary #vibeLensPortionStepperWrap button,
    body.vd-cal-ai-canary #vibeLensPortionMultiplierVal,
    body.vd-cal-ai-canary #diaryModalCanaryPortionWrap button,
    body.vd-cal-ai-canary #diaryModalCanaryPortionVal {
      color: #1C1C1E !important;
      font-weight: 600 !important;
      font-size: 12px !important;
    }

    /* B8 — Grade 2x2 de Macros Unificada (Nutrição + Diário) com Ícones/Cores de Identificação */
    body.vd-cal-ai-canary #vibeLensMacrosGrid,
    body.vd-cal-ai-canary #diaryModalCanaryMacrosGrid {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px !important;
      margin-bottom: 10px !important;
    }
    body.vd-cal-ai-canary #vibeLensSummaryCard .vd-vl-macro-card,
    body.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-macro-card {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 18px !important;
      padding: 11px 12px !important;
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      gap: 10px !important;
      cursor: pointer;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.14s ease !important;
    }
    body.vd-cal-ai-canary #vibeLensSummaryCard .vd-vl-macro-card:active,
    body.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-macro-card:active {
      transform: scale(0.98) !important;
      background: #EBEBF0 !important;
    }
    body.vd-cal-ai-canary .vd-vl-macro-icon-box {
      display: flex !important;
      width: 32px !important;
      height: 32px !important;
      border-radius: 10px !important;
      border: none !important;
      align-items: center !important;
      justify-content: center !important;
      flex-shrink: 0 !important;
    }
    body.vd-cal-ai-canary .vd-vl-macro-icon-box.is-cals {
      background: rgba(28, 28, 30, 0.07) !important;
      color: #1C1C1E !important;
    }
    body.vd-cal-ai-canary .vd-vl-macro-icon-box.is-prot {
      background: rgba(239, 68, 68, 0.12) !important;
      color: #E05646 !important;
    }
    body.vd-cal-ai-canary .vd-vl-macro-icon-box.is-carbs {
      background: rgba(245, 158, 11, 0.13) !important;
      color: #D9823B !important;
    }
    body.vd-cal-ai-canary .vd-vl-macro-icon-box.is-fat {
      background: rgba(59, 130, 246, 0.12) !important;
      color: #3B82F6 !important;
    }
    body.vd-cal-ai-canary .vd-vl-macro-label {
      font-size: 11.5px !important;
      font-weight: 500 !important;
      color: #8E8E93 !important;
      letter-spacing: -0.008em !important;
      margin-bottom: 1px !important;
      line-height: 1.2 !important;
    }
    body.vd-cal-ai-canary #vibeLensSummaryCals,
    body.vd-cal-ai-canary #vibeLensSummaryCarbs,
    body.vd-cal-ai-canary #vibeLensSummaryProt,
    body.vd-cal-ai-canary #vibeLensSummaryFat,
    body.vd-cal-ai-canary #diaryMealDetailModal .vd-canary-macro-val {
      font-size: 18.5px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.022em !important;
      line-height: 1.18 !important;
    }

    /* A3 — Health Score Semântico & Ampliável (Verde / Âmbar / Vermelho Apple System) */
    #vibeLensNutritionScoreCard,
    #diaryModalHealthScoreCard {
      cursor: pointer;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.2s ease;
    }
    #vibeLensNutritionScoreCard:active,
    #diaryModalHealthScoreCard:active {
      transform: scale(0.988);
    }
    #vibeLensNutritionScoreCard:focus-visible,
    #diaryModalHealthScoreCard:focus-visible {
      outline: 2px solid #09090B;
      outline-offset: 2px;
    }
    body.dark-theme #vibeLensNutritionScoreCard:focus-visible,
    body.dark-theme #diaryModalHealthScoreCard:focus-visible {
      outline-color: #F4F4F5;
    }
    .vd-health-score-chevron {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 16px;
      height: 16px;
      color: #8E8E93;
      transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
      flex-shrink: 0;
    }
    #vibeLensNutritionScoreCard[aria-expanded="true"] .vd-health-score-chevron,
    #diaryModalHealthScoreCard[aria-expanded="true"] .vd-health-score-chevron {
      transform: rotate(180deg);
      color: #1D1D1F;
    }
    body.dark-theme #vibeLensNutritionScoreCard[aria-expanded="true"] .vd-health-score-chevron,
    body.dark-theme #diaryModalHealthScoreCard[aria-expanded="true"] .vd-health-score-chevron {
      color: #F4F4F5;
    }
    .vd-health-score-disclosure {
      display: grid;
      grid-template-rows: 0fr;
      opacity: 0;
      margin-top: 0;
      transition: grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, margin-top 0.24s ease;
    }
    #vibeLensNutritionScoreCard[aria-expanded="true"] .vd-health-score-disclosure,
    #vibeLensNutritionScoreCard.is-expanded .vd-health-score-disclosure,
    #diaryModalHealthScoreCard[aria-expanded="true"] .vd-health-score-disclosure,
    #diaryModalHealthScoreCard.is-expanded .vd-health-score-disclosure {
      grid-template-rows: 1fr;
      opacity: 1;
      margin-top: 9px;
    }
    #vibeLensNutritionScoreCard.is-expand-settled .vd-health-score-disclosure,
    #diaryModalHealthScoreCard.is-expand-settled .vd-health-score-disclosure {
      transition: none;
    }
    .vd-health-score-disclosure-inner {
      overflow: hidden;
      min-height: 0;
    }
    .vd-health-meal-desc {
      font-size: 12px;
      font-weight: 600;
      color: #1D1D1F;
      line-height: 1.42;
      padding-top: 8px;
      border-top: 0.5px solid rgba(60, 60, 67, 0.12);
      margin-bottom: 4px;
    }
    body.dark-theme .vd-health-meal-desc {
      color: #F4F4F5;
      border-top-color: rgba(255, 255, 255, 0.12);
    }
    #diaryModalFloatingTopBar {
      transition: background-color 0.22s ease, border-color 0.22s ease, backdrop-filter 0.22s ease, -webkit-backdrop-filter 0.22s ease;
    }
    #diaryModalFloatingTopBar.is-scrolled {
      background: rgba(255, 255, 255, 0.92) !important;
      backdrop-filter: blur(18px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
      border-bottom: 0.5px solid rgba(15, 23, 42, 0.08) !important;
    }
    body.dark-theme #diaryModalFloatingTopBar.is-scrolled {
      background: rgba(22, 22, 24, 0.90) !important;
      border-bottom: 0.5px solid rgba(255, 255, 255, 0.10) !important;
    }
    .vd-story-theme-seg {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: #F4F4F5;
      padding: 4px;
      border-radius: 999px;
      margin: 0 auto 12px auto;
    }
    body.dark-theme .vd-story-theme-seg {
      background: rgba(255, 255, 255, 0.08);
    }
    .vd-story-theme-pill {
      border: none;
      background: transparent;
      color: #71717A;
      font-size: 11.5px;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 999px;
      cursor: pointer;
      transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
      white-space: nowrap;
    }
    .vd-story-theme-pill.active {
      background: #09090B;
      color: #FFFFFF;
      box-shadow: 0 2px 8px rgba(9, 9, 11, 0.18);
    }
    body.dark-theme .vd-story-theme-pill.active {
      background: #FFFFFF;
      color: #09090B;
    }
    body.vd-cal-ai-canary #vibeLensNutritionScoreCard,
    body.vd-cal-ai-canary #diaryModalHealthScoreCard {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 16px !important;
      padding: 11px 14px !important;
      margin-bottom: 12px !important;
    }
    body.vd-cal-ai-canary #vibeLensNutritionScoreLabelWrap,
    body.vd-cal-ai-canary #diaryModalHealthScoreLabelWrap {
      font-size: 12px !important;
      font-weight: 500 !important;
      color: #636366 !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 6px !important;
    }
    body.vd-cal-ai-canary #vibeLensNutritionScoreTag,
    body.vd-cal-ai-canary #diaryModalHealthScoreTag {
      display: inline-flex !important;
      align-items: center !important;
      font-size: 10.5px !important;
      font-weight: 600 !important;
      padding: 2px 7.5px !important;
      border-radius: 999px !important;
      letter-spacing: -0.008em !important;
    }
    body.vd-cal-ai-canary #vibeLensNutritionScoreVal,
    body.vd-cal-ai-canary #diaryModalHealthScoreVal {
      font-size: 13px !important;
      font-weight: 700 !important;
      letter-spacing: -0.015em !important;
    }
    body.vd-cal-ai-canary #vibeLensNutritionScoreTrack,
    body.vd-cal-ai-canary #diaryModalHealthScoreTrack {
      height: 4.5px !important;
      background: #E5E5EA !important;
      border-radius: 999px !important;
      overflow: hidden !important;
    }
    body.vd-cal-ai-canary #vibeLensNutritionScoreReason,
    body.vd-cal-ai-canary #diaryModalHealthScoreReason {
      font-size: 11.5px !important;
      font-weight: 400 !important;
      color: #8E8E93 !important;
      margin-top: 3px !important;
      line-height: 1.38 !important;
    }

    /* A4 & A5 — Botões Clean Apple (Renomear / Trocar / Remover) & Animação de Mola em "+ Ingrediente" */
    body.vd-cal-ai-canary #vibeLensIngredientsHeaderRow,
    body.vd-cal-ai-canary #diaryModalIngredientsHeaderRow {
      margin: 2px 0 8px 0 !important;
    }
    body.vd-cal-ai-canary #vibeLensIngredientsTitle,
    body.vd-cal-ai-canary #diaryModalIngredientsHeaderRow .vd-diary-ing-hdr-title {
      font-size: 12.5px !important;
      font-weight: 500 !important;
      color: #8E8E93 !important;
      letter-spacing: -0.008em !important;
    }
    body.vd-cal-ai-canary .vd-vl-ing-action-pill {
      height: 29px !important;
      padding: 0 11px !important;
      border-radius: 999px !important;
      background: #F2F2F7 !important;
      border: none !important;
      color: #1C1C1E !important;
      font-size: 11.5px !important;
      font-weight: 600 !important;
      letter-spacing: -0.01em !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 4px !important;
      cursor: pointer;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.14s ease !important;
    }
    body.vd-cal-ai-canary .vd-vl-ing-action-pill:active {
      transform: scale(0.95);
      background: #E5E5EA !important;
    }
    body.vd-cal-ai-canary .vd-canary-ing-btn-neutral {
      padding: 6px 11px !important;
      border-radius: 10px !important;
      border: none !important;
      background: rgba(60, 60, 67, 0.07) !important;
      color: #1C1C1E !important;
      font-size: 11.5px !important;
      font-weight: 500 !important;
      letter-spacing: -0.008em !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 4.5px !important;
      cursor: pointer;
      transition: transform 0.13s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.13s ease !important;
    }
    body.vd-cal-ai-canary .vd-canary-ing-btn-danger {
      padding: 6px 11px !important;
      border-radius: 10px !important;
      border: none !important;
      background: rgba(255, 59, 48, 0.08) !important;
      color: #FF3B30 !important;
      font-size: 11.5px !important;
      font-weight: 500 !important;
      letter-spacing: -0.008em !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 4.5px !important;
      cursor: pointer;
      transition: transform 0.13s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.13s ease !important;
    }
    body.vd-cal-ai-canary .vd-canary-ing-btn-neutral:active,
    body.vd-cal-ai-canary .vd-canary-ing-btn-danger:active {
      transform: scale(0.96);
    }
    body.vd-cal-ai-canary #tabScanner .vibelens-ing-card.is-pin-focused {
      box-shadow: inset 0 0 0 1.25px rgba(28, 28, 30, 0.28) !important;
    }
    body.vd-cal-ai-canary #vibeLensDynamicTagsContainer {
      gap: 6px !important;
      margin-bottom: 12px !important;
    }

    /* Gaveta Inline Suave com Mola Apple (+ Ingrediente no Scanner e no Diário) */
    @keyframes vdAppleDrawerSlideIn {
      0% {
        opacity: 0;
        transform: translate3d(0, -8px, 0) scale(0.985);
      }
      100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
      }
    }
    @keyframes vdAppleDrawerSlideOut {
      0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
      }
      100% {
        opacity: 0;
        transform: translate3d(0, -6px, 0) scale(0.985);
      }
    }
    body.vd-cal-ai-canary #vibeLensInlineAddDrawer,
    body.vd-cal-ai-canary #diaryAddIngredientDrawer {
      margin-top: 0 !important;
      margin-bottom: 10px !important;
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.09) !important;
      border-radius: 18px !important;
      padding: 12px 13px !important;
      animation: vdAppleDrawerSlideIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both !important;
      transform-origin: top center;
    }
    body.vd-cal-ai-canary #vibeLensInlineAddDrawer.is-drawer-closing,
    body.vd-cal-ai-canary #diaryAddIngredientDrawer.is-drawer-closing {
      animation: vdAppleDrawerSlideOut 0.15s cubic-bezier(0.4, 0, 1, 1) both !important;
      pointer-events: none;
    }
    body.vd-cal-ai-canary #vibeLensInlineAddDrawer input,
    body.vd-cal-ai-canary #diaryAddIngredientDrawer input,
    body.vd-cal-ai-canary #diaryAddIngredientDrawer select {
      background: #FFFFFF !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.12) !important;
      border-radius: 11px !important;
      font-size: 14px !important;
      font-weight: 500 !important;
      color: #1C1C1E !important;
    }
    body.vd-cal-ai-canary #vibeLensErrorRecoveryBanner,
    body.vd-cal-ai-canary #vibeLensVoiceTextPanel {
      margin-top: 0 !important;
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 20px !important;
    }

    body.vd-cal-ai-canary #vibeLensQuickFeedbackBar,
    body.vd-cal-ai-canary #diaryModalFeedbackCard {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 14px !important;
      padding: 7px 12px !important;
      margin-bottom: 10px !important;
      margin-top: 4px !important;
    }
    body.vd-cal-ai-canary #vibeLensQuickFeedbackTitle,
    body.vd-cal-ai-canary #diaryModalFeedbackTitle {
      font-size: 12px !important;
      font-weight: 500 !important;
      color: #8E8E93 !important;
    }
    body.vd-cal-ai-canary #vibeLensQuickFeedbackBar .vl-quick-fb-btn,
    body.vd-cal-ai-canary #diaryModalFeedbackCard .vl-quick-fb-btn {
      min-block-size: 30px !important;
      min-inline-size: 30px !important;
      width: 30px !important;
      height: 30px !important;
      border-radius: 10px !important;
      border: none !important;
      background: #EBEBF0 !important;
      color: #636366 !important;
    }
    body.vd-cal-ai-canary #vibeLensQuickFeedbackBar .vl-quick-fb-btn[aria-pressed="true"],
    body.vd-cal-ai-canary #diaryModalFeedbackCard .vl-quick-fb-btn[aria-pressed="true"] {
      background: #1C1C1E !important;
      color: #FFFFFF !important;
    }
    body.vd-cal-ai-canary #tabScanner .vd-vl-ing-expand-drawer,
    body.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-ing-expand-drawer {
      background: transparent !important;
      border-top: 0.5px solid rgba(60, 60, 67, 0.10) !important;
    }
    body.vd-cal-ai-canary #tabScanner .vibelens-portion-chip,
    body.vd-cal-ai-canary #diaryMealDetailModal .vibelens-portion-chip {
      background: #FFFFFF !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.12) !important;
      border-radius: 9px !important;
      color: #1C1C1E !important;
      font-size: 11px !important;
      font-weight: 500 !important;
      padding: 4px 10px !important;
    }
    body.vd-cal-ai-canary #tabScanner .vibelens-portion-chip.active,
    body.vd-cal-ai-canary #diaryMealDetailModal .vibelens-portion-chip.active {
      background: #1C1C1E !important;
      color: #FFFFFF !important;
      box-shadow: none !important;
    }
    body.vd-cal-ai-canary #vibeLensBottomActionsRow {
      position: sticky !important;
      bottom: 0 !important;
      z-index: 28 !important;
      margin-top: 4px !important;
      padding: 10px 0 max(8px, env(safe-area-inset-bottom, 8px)) 0 !important;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 24%, #FFFFFF 46%) !important;
    }
    body.vd-cal-ai-canary #btnConfirmVibeLensMeal {
      width: 100% !important;
      flex: 1 1 100% !important;
      height: 50px !important;
      min-height: 50px !important;
      border-radius: 16px !important;
      background: #1C1C1E !important;
      color: #FFFFFF !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      letter-spacing: -0.015em !important;
      box-shadow: none !important;
      padding: 0 18px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease !important;
    }
    body.vd-cal-ai-canary #btnConfirmVibeLensMeal:not(:disabled):active {
      transform: scale(0.98);
    }

    /* B8 — MODAL DO DIÁRIO UNIFICADO COM "NUTRIÇÃO" (FOTO FULL-BLEED SEM BORDA + ESTRUTURA NOVA) */
    body.vd-cal-ai-canary #diaryMealDetailModal > .modal-sheet {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
    }
    body.vd-cal-ai-canary #diaryModalFloatingTopBar {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      z-index: 35 !important;
      padding: max(16px, calc(env(safe-area-inset-top, 0px) + 12px)) 16px 12px 16px !important;
      pointer-events: none !important;
    }
    body.vd-cal-ai-canary #diaryModalCloseBtn,
    body.vd-cal-ai-canary #diaryModalFloatingTopBar .vd-diary-top-icon-btn {
      pointer-events: auto !important;
      width: 42px !important;
      height: 42px !important;
      border-radius: 999px !important;
      background: rgba(255, 255, 255, 0.86) !important;
      backdrop-filter: blur(16px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
      border: 1px solid rgba(255, 255, 255, 0.92) !important;
      box-shadow: 0 4px 14px rgba(15, 23, 42, 0.09) !important;
      color: #111827 !important;
    }
    body.vd-cal-ai-canary #diaryModalTopStatusLabel {
      position: absolute !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      background: rgba(255, 255, 255, 0.88) !important;
      backdrop-filter: blur(16px) saturate(180%) !important;
      -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
      border: 1px solid rgba(255, 255, 255, 0.94) !important;
      box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
      padding: 6px 18px !important;
      border-radius: 999px !important;
      font-size: 15px !important;
      font-weight: 700 !important;
      color: #09090B !important;
      letter-spacing: -0.015em !important;
      pointer-events: none !important;
    }
    body.vd-cal-ai-canary #diaryModalHeroPhotoWrap {
      width: 100% !important;
      margin: 0 !important;
      height: 295px;
      border-radius: 0 !important;
      border: none !important;
      box-shadow: none !important;
    }
    body.vd-cal-ai-canary #diaryModalWhiteSheetCard {
      background: #FFFFFF !important;
      border-radius: 30px 30px 0 0 !important;
      margin-top: -32px !important;
      position: relative !important;
      z-index: 10 !important;
      min-height: calc(100dvh - 263px) !important;
      padding: 20px 16px calc(88px + env(safe-area-inset-bottom, 8px)) 16px !important;
    }
    body.vd-cal-ai-canary #diaryModalMetaCharacteristicsRow {
      margin-bottom: 10px !important;
      gap: 8px !important;
    }
    body.vd-cal-ai-canary #diaryModalBookmarkBtn {
      background: #F2F2F7 !important;
      border-radius: 999px !important;
      padding: 5px 11px !important;
      gap: 5px !important;
      color: #1C1C1E !important;
      font-size: 11.5px !important;
      font-weight: 600 !important;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.14s ease !important;
    }
    body.vd-cal-ai-canary #diaryModalBookmarkBtn[aria-pressed="true"] {
      background: #1C1C1E !important;
      color: #FFFFFF !important;
    }
    body.vd-cal-ai-canary #diaryModalTimePillWrap,
    body.vd-cal-ai-canary #diaryModalRepeatTodayBtn {
      background: #F2F2F7 !important;
      border: none !important;
      border-radius: 999px !important;
      padding: 5px 11px !important;
      color: #1C1C1E !important;
      font-size: 11.5px !important;
      font-weight: 600 !important;
      box-shadow: none !important;
    }
    body.vd-cal-ai-canary #diaryModalDishTitleRow {
      align-items: center !important;
      margin-bottom: 12px !important;
      gap: 8px !important;
    }
    body.vd-cal-ai-canary #diaryModalDishTitleDisplay {
      font-size: 19px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.022em !important;
    }
    body.vd-cal-ai-canary #diaryModalPortionBtn,
    body.vd-cal-ai-canary .vd-diary-legacy-macros-only,
    body.vd-cal-ai-canary #diaryModalFixProblemBtn {
      display: none !important;
    }
    body.vd-cal-ai-canary #diaryModalBottomActionsBar {
      grid-template-columns: 1fr !important;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.94) 24%, #FFFFFF 48%) !important;
      border-top: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 8px)) 16px !important;
    }
    body.vd-cal-ai-canary #diaryModalClaimBrocBtn {
      height: 50px !important;
      min-height: 50px !important;
      padding: 0 18px !important;
      border-radius: 16px !important;
      border: none !important;
      background: #1C1C1E !important;
      color: #FFFFFF !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      letter-spacing: -0.015em !important;
      box-shadow: none !important;
    }
    #diaryMealDetailModal.is-diary-readonly #diaryMealMoreMenuBtn,
    #diaryMealDetailModal.is-diary-readonly #diaryMealMoreMenuPopover,
    #diaryMealDetailModal.is-diary-readonly #diaryModalIngredientsHeaderRow .vd-vl-ing-action-pill,
    #diaryMealDetailModal.is-diary-readonly #diaryAddIngredientDrawer,
    #diaryMealDetailModal.is-diary-readonly #diaryModalCanaryPortionWrap button,
    #diaryMealDetailModal.is-diary-readonly #diaryModalPortionBtn svg,
    #diaryMealDetailModal.is-diary-readonly #diaryModalFixProblemBtn {
      display: none !important;
    }
    #diaryMealDetailModal.is-diary-readonly #diaryModalBottomActionsBar {
      grid-template-columns: 1fr !important;
    }

    /* C10 — PESAGEM DIÁRIA & BIOMETRIA CLEAN APPLE HEALTH EM CANARY */
    body.vd-cal-ai-canary #weightEvolutionModal .modal-sheet,
    body.vd-cal-ai-canary #biometriaBottomSheetModal .modal-sheet {
      background: #FFFFFF !important;
      border-radius: 28px 28px 0 0 !important;
      padding: 14px 18px calc(22px + env(safe-area-inset-bottom, 10px)) 18px !important;
    }
    body.vd-cal-ai-canary #weightEvolutionModal .modal-title,
    body.vd-cal-ai-canary #biometriaBottomSheetModal .modal-title {
      font-size: 18px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.022em !important;
    }
    body.vd-cal-ai-canary #weightEvolutionModal .vd-sheet-close-btn,
    body.vd-cal-ai-canary #biometriaBottomSheetModal .vd-sheet-close-btn {
      width: 32px !important;
      height: 32px !important;
      border-radius: 999px !important;
      background: #F2F2F7 !important;
      color: #636366 !important;
      font-size: 13px !important;
    }
    body.vd-cal-ai-canary #weightEvolutionModal .vd-weight-quick-delta-row,
    body.vd-cal-ai-canary #biometriaBottomSheetModal .vd-bio-legacy-sub {
      display: none !important;
    }
    body.vd-cal-ai-canary #weightEvolutionModal .vd-weight-dial-card {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 22px !important;
      padding: 18px 16px 14px 16px !important;
      margin-bottom: 10px !important;
    }
    body.vd-cal-ai-canary #weightEvolutionModal .vd-weight-step-circle {
      width: 40px !important;
      height: 40px !important;
      border-radius: 12px !important;
      border: none !important;
      background: #FFFFFF !important;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
      color: #1C1C1E !important;
      font-size: 20px !important;
      font-weight: 500 !important;
    }
    body.vd-cal-ai-canary #weightLogInputVal {
      font-size: 40px !important;
      font-weight: 700 !important;
      color: #1C1C1E !important;
      letter-spacing: -0.035em !important;
    }
    body.vd-cal-ai-canary #weightEvolutionModal .vd-weight-date-row {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 14px !important;
      padding: 10px 14px !important;
    }
    body.vd-cal-ai-canary #btnSaveWeightLog,
    body.vd-cal-ai-canary #btnSaveBiometriaSheet {
      height: 50px !important;
      min-height: 50px !important;
      border-radius: 16px !important;
      background: #1C1C1E !important;
      color: #FFFFFF !important;
      font-size: 15px !important;
      font-weight: 600 !important;
      letter-spacing: -0.015em !important;
      box-shadow: none !important;
      border: none !important;
    }
    body.vd-cal-ai-canary #biometriaCardPanel .vd-bio-sec-lbl {
      display: none !important;
    }
    body.vd-cal-ai-canary #biometriaCardPanel .vd-bio-seg-wrap {
      background: #EFEFF4 !important;
      padding: 3px !important;
      border-radius: 12px !important;
      margin-bottom: 12px !important;
    }
    body.vd-cal-ai-canary #biometriaCardPanel .goal-focus-btn {
      border-radius: 9.5px !important;
      padding: 8px 4px !important;
      font-size: 12px !important;
      font-weight: 500 !important;
      border: none !important;
      background: transparent !important;
      color: #636366 !important;
      box-shadow: none !important;
    }
    body.vd-cal-ai-canary #biometriaCardPanel .goal-focus-btn.active {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
      font-weight: 600 !important;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    }
    body.vd-cal-ai-canary #biometriaCardPanel .vd-bio-field-card {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 16px !important;
      padding: 11px 13px !important;
    }
    body.vd-cal-ai-canary #biometriaCardPanel .vd-bio-field-card label {
      text-transform: none !important;
      letter-spacing: -0.008em !important;
      font-size: 11.5px !important;
      font-weight: 500 !important;
      color: #8E8E93 !important;
    }
    body.vd-cal-ai-canary #tabGoalWeight,
    body.vd-cal-ai-canary #tabGoalTargetWeight {
      font-size: 22px !important;
      font-weight: 600 !important;
      color: #1C1C1E !important;
    }
    body.vd-cal-ai-canary #bioActivityPillsGrid {
      background: #EFEFF4 !important;
      padding: 3px !important;
      border-radius: 12px !important;
      gap: 2px !important;
    }
    body.vd-cal-ai-canary #bioActivityPillsGrid .bio-act-pill {
      border: none !important;
      background: transparent !important;
      border-radius: 9px !important;
      padding: 7px 2px !important;
      font-size: 11px !important;
      font-weight: 500 !important;
      color: #636366 !important;
      box-shadow: none !important;
    }
    body.vd-cal-ai-canary #bioActivityPillsGrid .bio-act-pill > div:last-child {
      display: none !important;
    }
    body.vd-cal-ai-canary #bioActivityPillsGrid .bio-act-pill.active {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
      font-weight: 600 !important;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
    }
    body.vd-cal-ai-canary #biometriaCustomMacrosEditor {
      background: #F5F5F7 !important;
      border: none !important;
      box-shadow: inset 0 0 0 0.5px rgba(60, 60, 67, 0.08) !important;
      border-radius: 18px !important;
      padding: 13px 14px !important;
      margin-bottom: 12px !important;
    }
    body.vd-cal-ai-canary #biometriaCustomMacrosEditor:not(.is-macros-expanded) .vd-bio-macros-edit-grid {
      display: none !important;
    }
    body.vd-cal-ai-canary #biometriaCustomMacrosEditor .vd-bio-macro-summary-row {
      display: flex !important;
    }
    body.vd-cal-ai-canary #biometriaCustomMacrosEditor.is-macros-expanded .vd-bio-macro-summary-row {
      margin-bottom: 8px !important;
    }

    /* Dark Mode Nativo iOS 18 para Tela Nutrição + Diário Unificado + Pesagem & Biometria em Canary */
    body.dark-theme.vd-cal-ai-canary #vibeLensTopNavTitle,
    body.dark-theme.vd-cal-ai-canary #vibeLensDishNameInput,
    body.dark-theme.vd-cal-ai-canary #vibeLensSummaryCals,
    body.dark-theme.vd-cal-ai-canary #vibeLensSummaryCarbs,
    body.dark-theme.vd-cal-ai-canary #vibeLensSummaryProt,
    body.dark-theme.vd-cal-ai-canary #vibeLensSummaryFat,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vd-canary-macro-val,
    body.dark-theme.vd-cal-ai-canary #diaryModalTopStatusLabel,
    body.dark-theme.vd-cal-ai-canary #diaryModalDishTitleDisplay,
    body.dark-theme.vd-cal-ai-canary #tabScanner .hud-ing-name,
    body.dark-theme.vd-cal-ai-canary #tabScanner .hud-ing-weight,
    body.dark-theme.vd-cal-ai-canary #tabScanner .vd-vl-ing-expand-weight-val,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .hud-ing-name,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .hud-ing-weight,
    body.dark-theme.vd-cal-ai-canary #weightEvolutionModal .modal-title,
    body.dark-theme.vd-cal-ai-canary #biometriaBottomSheetModal .modal-title,
    body.dark-theme.vd-cal-ai-canary #weightLogInputVal,
    body.dark-theme.vd-cal-ai-canary #weightLogInputDate,
    body.dark-theme.vd-cal-ai-canary #tabGoalWeight,
    body.dark-theme.vd-cal-ai-canary #tabGoalTargetWeight,
    body.dark-theme.vd-cal-ai-canary #tabGoalSex,
    body.dark-theme.vd-cal-ai-canary #tabGoalAge,
    body.dark-theme.vd-cal-ai-canary #tabGoalHeight,
    body.dark-theme.vd-cal-ai-canary #tabGoalProtInput,
    body.dark-theme.vd-cal-ai-canary #tabGoalCarbsInput,
    body.dark-theme.vd-cal-ai-canary #tabGoalFatInput,
    body.dark-theme.vd-cal-ai-canary #goalSummaryCals {
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #biometriaCustomMacrosEditor .vd-bio-macros-edit-grid label {
      background: #1C1C1E !important;
      border-color: transparent !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.10) !important;
    }
    body.dark-theme.vd-cal-ai-canary #btnToggleBioMacrosEditor,
    body.dark-theme.vd-cal-ai-canary #goalSummaryWater {
      color: #0A84FF !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-macro-icon-box.is-cals {
      background: rgba(255, 255, 255, 0.12) !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-macro-icon-box.is-prot {
      background: rgba(248, 113, 113, 0.16) !important;
      color: #F87171 !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-macro-icon-box.is-carbs {
      background: rgba(251, 191, 36, 0.16) !important;
      color: #FBBF24 !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-macro-icon-box.is-fat {
      background: rgba(96, 165, 250, 0.16) !important;
      color: #60A5FA !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensTopBackBtn,
    body.dark-theme.vd-cal-ai-canary #vibeLensPortionStepperWrap,
    body.dark-theme.vd-cal-ai-canary .vd-vl-ing-action-pill,
    body.dark-theme.vd-cal-ai-canary #diaryModalBookmarkBtn:not([aria-pressed="true"]),
    body.dark-theme.vd-cal-ai-canary #diaryModalTimePillWrap,
    body.dark-theme.vd-cal-ai-canary #diaryModalRepeatTodayBtn,
    body.dark-theme.vd-cal-ai-canary #diaryModalCanaryPortionWrap,
    body.dark-theme.vd-cal-ai-canary #weightEvolutionModal .vd-sheet-close-btn,
    body.dark-theme.vd-cal-ai-canary #biometriaBottomSheetModal .vd-sheet-close-btn {
      background: #2C2C2E !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #diaryModalCloseBtn,
    body.dark-theme.vd-cal-ai-canary #diaryModalFloatingTopBar .vd-diary-top-icon-btn,
    body.dark-theme.vd-cal-ai-canary #diaryModalTopStatusLabel {
      background: rgba(28, 28, 30, 0.80) !important;
      border: 1px solid rgba(255, 255, 255, 0.14) !important;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.32) !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #diaryModalBookmarkBtn[aria-pressed="true"] {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
    }
    body.dark-theme.vd-cal-ai-canary #diaryModalMealTimeInput {
      background: transparent !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme #vibeLensUnsavedExitModal.modal-overlay,
    body.dark-theme #vibeLensDailyLimitModal.modal-overlay,
    body.dark-theme #planDuplicateMealGuardModal.modal-overlay {
      background: rgba(0, 0, 0, 0.58);
    }
    body.dark-theme .vd-vl-unsaved-sheet {
      background: rgba(36, 36, 38, 0.96);
      box-shadow: 0 22px 54px rgba(0, 0, 0, 0.56), inset 0 0 0 0.5px rgba(255, 255, 255, 0.10);
      color: #F5F5F7;
    }
    body.dark-theme .vd-vl-unsaved-badge {
      background: #2C2C2E;
      color: #98989D;
    }
    body.dark-theme .vd-vl-unsaved-title {
      color: #F5F5F7;
    }
    body.dark-theme .vd-vl-unsaved-sub {
      color: #98989D;
    }
    body.dark-theme .vd-vl-unsaved-btn-primary {
      background: #FFFFFF;
      color: #1C1C1E;
    }
    body.dark-theme .vd-vl-unsaved-btn-secondary {
      background: #2C2C2E;
      color: #F5F5F7;
    }
    body.dark-theme .vd-vl-unsaved-btn-secondary:active {
      background: #3A3A3C;
    }
    body.dark-theme .vd-vl-unsaved-btn-discard {
      color: #FF453A;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensPortionStepperWrap button,
    body.dark-theme.vd-cal-ai-canary #vibeLensPortionMultiplierVal,
    body.dark-theme.vd-cal-ai-canary #diaryModalCanaryPortionWrap button,
    body.dark-theme.vd-cal-ai-canary #diaryModalCanaryPortionVal {
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner > #vibeLensSummaryCard,
    body.dark-theme.vd-cal-ai-canary #vibeLensSummaryCard {
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }
    body.dark-theme.vd-cal-ai-canary #diaryModalWhiteSheetCard {
      background: #161618 !important;
      border: none !important;
      box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal > .modal-sheet,
    body.dark-theme.vd-cal-ai-canary #weightEvolutionModal .modal-sheet,
    body.dark-theme.vd-cal-ai-canary #biometriaBottomSheetModal .modal-sheet {
      background: #161618 !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensSummaryCard .vd-vl-macro-card,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-macro-card,
    body.dark-theme.vd-cal-ai-canary #vibeLensNutritionScoreCard,
    body.dark-theme.vd-cal-ai-canary #diaryModalHealthScoreCard,
    body.dark-theme.vd-cal-ai-canary #vibeLensQuickFeedbackBar,
    body.dark-theme.vd-cal-ai-canary #diaryModalFeedbackCard,
    body.dark-theme.vd-cal-ai-canary #tabScanner .vibelens-ing-card,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .diary-food-row-item,
    body.dark-theme.vd-cal-ai-canary #vibeLensErrorRecoveryBanner,
    body.dark-theme.vd-cal-ai-canary #vibeLensInlineAddDrawer,
    body.dark-theme.vd-cal-ai-canary #diaryAddIngredientDrawer,
    body.dark-theme.vd-cal-ai-canary #vibeLensVoiceTextPanel,
    body.dark-theme.vd-cal-ai-canary #weightEvolutionModal .vd-weight-dial-card,
    body.dark-theme.vd-cal-ai-canary #weightEvolutionModal .vd-weight-date-row,
    body.dark-theme.vd-cal-ai-canary #biometriaCardPanel .vd-bio-field-card,
    body.dark-theme.vd-cal-ai-canary #biometriaCustomMacrosEditor {
      background: #242426 !important;
      border-color: transparent !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08) !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vibelens-ing-card.is-pin-focused {
      box-shadow: inset 0 0 0 1.25px rgba(255, 255, 255, 0.34) !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensInlineAddDrawer input,
    body.dark-theme.vd-cal-ai-canary #diaryAddIngredientDrawer input,
    body.dark-theme.vd-cal-ai-canary #diaryAddIngredientDrawer select,
    body.dark-theme.vd-cal-ai-canary #weightEvolutionModal .vd-weight-step-circle {
      background: #1C1C1E !important;
      color: #F5F5F7 !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12) !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-canary-ing-btn-neutral {
      background: rgba(255, 255, 255, 0.10) !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-canary-ing-btn-danger {
      background: rgba(255, 69, 58, 0.15) !important;
      color: #FF453A !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-macro-label,
    body.dark-theme.vd-cal-ai-canary #vibeLensCanaryWeightBadge,
    body.dark-theme.vd-cal-ai-canary #diaryModalCanaryWeightBadge,
    body.dark-theme.vd-cal-ai-canary #vibeLensNutritionScoreLabelWrap,
    body.dark-theme.vd-cal-ai-canary #diaryModalHealthScoreLabelWrap,
    body.dark-theme.vd-cal-ai-canary #vibeLensNutritionScoreReason,
    body.dark-theme.vd-cal-ai-canary #diaryModalHealthScoreReason,
    body.dark-theme.vd-cal-ai-canary #vibeLensIngredientsTitle,
    body.dark-theme.vd-cal-ai-canary #diaryModalIngredientsHeaderRow .vd-diary-ing-hdr-title,
    body.dark-theme.vd-cal-ai-canary #vibeLensQuickFeedbackTitle,
    body.dark-theme.vd-cal-ai-canary #diaryModalFeedbackTitle,
    body.dark-theme.vd-cal-ai-canary #tabScanner .vd-vl-ing-meta-line,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-ing-meta-line {
      color: #98989D !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensNutritionScoreTrack,
    body.dark-theme.vd-cal-ai-canary #diaryModalHealthScoreTrack,
    body.dark-theme.vd-cal-ai-canary #biometriaCardPanel .vd-bio-seg-wrap,
    body.dark-theme.vd-cal-ai-canary #bioActivityPillsGrid {
      background: #2C2C2E !important;
    }
    body.dark-theme.vd-cal-ai-canary #biometriaCardPanel .goal-focus-btn.active,
    body.dark-theme.vd-cal-ai-canary #bioActivityPillsGrid .bio-act-pill.active {
      background: #3A3A3C !important;
      color: #FFFFFF !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vd-vl-active-ing-dot {
      background: #FFFFFF !important;
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-slim-ar-pill {
      background: rgba(28, 28, 30, 0.88);
      color: #F5F5F7;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.38), inset 0 0 0 0.5px rgba(255, 255, 255, 0.16);
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-slim-ar-pill.is-active {
      background: rgba(245, 245, 247, 0.96);
      color: #1C1C1E;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.48), inset 0 0 0 0.5px rgba(255, 255, 255, 0.85);
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-slim-ar-divider {
      background: rgba(28, 28, 30, 0.16);
    }
    body.dark-theme.vd-cal-ai-canary .vd-vl-slim-ar-step-btn {
      background: transparent;
      color: #1C1C1E;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vd-vl-canary-ing-stepper,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-canary-ing-stepper {
      background: #1C1C1E !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.10) !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vd-vl-canary-ing-stepper button,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-canary-ing-stepper button {
      background: #2C2C2E !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vd-vl-ing-expand-drawer,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vd-vl-ing-expand-drawer {
      background: transparent !important;
      border-top-color: rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vibelens-portion-chip,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vibelens-portion-chip {
      background: #2C2C2E !important;
      box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.10) !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme.vd-cal-ai-canary #tabScanner .vibelens-portion-chip.active,
    body.dark-theme.vd-cal-ai-canary #diaryMealDetailModal .vibelens-portion-chip.active {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
      box-shadow: none !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensQuickFeedbackBar .vl-quick-fb-btn,
    body.dark-theme.vd-cal-ai-canary #diaryModalFeedbackCard .vl-quick-fb-btn {
      background: #2C2C2E !important;
      color: #98989D !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensQuickFeedbackBar .vl-quick-fb-btn[aria-pressed="true"],
    body.dark-theme.vd-cal-ai-canary #diaryModalFeedbackCard .vl-quick-fb-btn[aria-pressed="true"] {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
    }
    body.dark-theme.vd-cal-ai-canary #vibeLensBottomActionsRow,
    body.dark-theme.vd-cal-ai-canary #diaryModalBottomActionsBar {
      background: linear-gradient(180deg, rgba(22, 22, 24, 0) 0%, rgba(22, 22, 24, 0.94) 24%, #161618 46%) !important;
    }
    body.dark-theme.vd-cal-ai-canary #btnConfirmVibeLensMeal,
    body.dark-theme.vd-cal-ai-canary #diaryModalClaimBrocBtn,
    body.dark-theme.vd-cal-ai-canary #btnSaveWeightLog,
    body.dark-theme.vd-cal-ai-canary #btnSaveBiometriaSheet {
      background: #FFFFFF !important;
      color: #1C1C1E !important;
    }

    /* Coreografia Chique Pós-Scan em Canary (Apple × Cal AI × ElevenLabs Staggered Reveal) */
    body.vd-cal-ai-canary #tabScanner.vd-vl-reveal-entering #vibeLensHudStage:not(.vd-live-camera-mode):not(.scan-active) #scannedPhotoPreview {
      animation: vdRevealPhotoSettle 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    body.vd-cal-ai-canary #tabScanner.vd-vl-reveal-entering #vibeLensSummaryCard {
      animation: vdRevealSheetLift 0.44s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    body.vd-cal-ai-canary #tabScanner.vd-vl-reveal-entering .vd-vl-stagger-item {
      animation: vdLuxuryItemReveal 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-delay: var(--vd-stagger-delay, 0ms);
    }
    body.vd-cal-ai-canary #tabScanner #vibeLensDynamicTagsContainer .vibelens-ing-card {
      animation: none !important;
      padding: 0 !important;
    }
    body.vd-cal-ai-canary #tabScanner #vibeLensDynamicTagsContainer .vibelens-ing-card.is-fresh-ing-reveal {
      animation: vdLuxuryItemReveal 0.46s cubic-bezier(0.16, 1, 0.3, 1) both !important;
      animation-delay: var(--vd-ing-delay, 260ms) !important;
    }

    body.vd-cal-ai-canary .vd-canary-weight-hist-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #F5F5F7;
      border: 0.5px solid rgba(60, 60, 67, 0.08);
      border-radius: 14px;
      padding: 11px 13px;
      cursor: pointer;
      transition: background 0.16s ease, transform 0.14s ease;
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-row.is-editing {
      background: #EBEBF0;
      border-color: #1C1C1E;
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-row:active {
      transform: scale(0.99);
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-kg {
      font-size: 14.5px;
      font-weight: 600;
      color: #1C1C1E;
      letter-spacing: -0.015em;
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-date {
      font-size: 12.5px;
      font-weight: 500;
      color: #8E8E93;
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-delta {
      font-size: 10.5px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 999px;
      background: rgba(118, 118, 128, 0.12);
      color: #6E6E73;
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-delta.is-loss {
      background: rgba(52, 199, 89, 0.14);
      color: #248A3D;
    }
    body.vd-cal-ai-canary .vd-canary-weight-hist-del {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: transparent;
      border: none;
      color: #AEAEB2;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-row {
      background: #242426;
      border-color: rgba(255, 255, 255, 0.08);
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-row.is-editing {
      background: #2C2C2E;
      border-color: #F5F5F7;
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-kg {
      color: #F5F5F7;
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-date {
      color: #98989D;
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-delta {
      background: rgba(118, 118, 128, 0.24);
      color: #98989D;
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-delta.is-loss {
      background: rgba(48, 209, 88, 0.18);
      color: #30D158;
    }
    html[data-theme="dark"] body.vd-cal-ai-canary .vd-canary-weight-hist-del {
      color: #636366;
    }

    @media (prefers-reduced-motion: reduce) {
      .vibelens-focus-frame,
      #vibeLensLaserBeam,
      .vd-scan-opt-node-ring,
      .vd-eleven-wave span,
      .vd-scan-skeleton-bar,
      #vibeLensUploadProgressOverlay,
      body.vd-cal-ai-canary #tabScanner.vd-vl-reveal-entering #vibeLensSummaryCard,
      body.vd-cal-ai-canary #tabScanner.vd-vl-reveal-entering .vd-vl-stagger-item,
      body.vd-cal-ai-canary #tabScanner #vibeLensDynamicTagsContainer .vibelens-ing-card.is-fresh-ing-reveal,
      body.vd-cal-ai-canary #vibeLensInlineAddDrawer,
      body.vd-cal-ai-canary #diaryAddIngredientDrawer,
      .vd-vl-slim-ar-pill,
      .vibelens-ar-pin-dot,
      .vibelens-ar-pill {
        animation: none !important;
        transition: none !important;
      }
    }

    /* ==========================================================================
       CAL AI DEFINIR INTENSIDADE — EFEITO DE MOLA 120HZ + ARRASTE VERTICAL
       ========================================================================== */
    @keyframes calAiIntRowSpringPop {
      0% {
        transform: translate3d(0, 0, 0) scale(0.96);
      }
      45% {
        transform: translate3d(5px, -1.5px, 0) scale(1.045);
      }
      75% {
        transform: translate3d(-1px, 0.5px, 0) scale(0.992);
      }
      100% {
        transform: translate3d(2px, 0, 0) scale(1.015);
      }
    }
    @keyframes calAiThumbSpringPop {
      0% {
        transform: translate(-50%, 50%) scale(0.88);
      }
      50% {
        transform: translate(-50%, 50%) scale(1.28);
      }
      78% {
        transform: translate(-50%, 50%) scale(0.95);
      }
      100% {
        transform: translate(-50%, 50%) scale(1);
      }
    }
    .cal-ai-int-row {
      cursor: pointer;
      user-select: none;
      -webkit-user-select: none;
      transform-origin: left center;
      transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.24s ease;
      will-change: transform;
      padding: 4px 6px 4px 2px;
      margin: -4px -6px -4px -2px;
      border-radius: 12px;
    }
    .cal-ai-int-row:active,
    .cal-ai-int-row.vd-touch-pressed {
      transform: scale(0.95) translateX(2px) !important;
      transition: transform 0.1s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }
    .cal-ai-int-row.is-selected {
      transform: translate3d(2px, 0, 0) scale(1.015);
    }
    .cal-ai-int-row.cal-ai-int-spring-pop {
      animation: calAiIntRowSpringPop 0.46s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    }
    .cal-ai-int-row > div:first-child {
      transform-origin: left center;
      transition: font-size 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
                  transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
                  color 0.22s ease !important;
    }
    .cal-ai-int-row > div:last-child {
      transition: color 0.25s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    }
    #calAiIntensityCard {
      transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
      will-change: transform;
    }
    #calAiIntensityCard.is-slider-dragging {
      transform: scale(1.01);
      box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
    }
    @keyframes vdAppleGlassPillPop {
      0% {
        opacity: 0;
        transform: scale(0.86) translate3d(8px, -6px, 0);
      }
      65% {
        opacity: 1;
        transform: scale(1.02) translate3d(-1px, 1px, 0);
      }
      100% {
        opacity: 1;
        transform: scale(1) translate3d(0, 0, 0);
      }
    }
    .vd-apple-liquid-delete-pill {
      position: absolute;
      top: -4px;
      right: 0;
      z-index: 65;
      min-width: 236px;
      padding: 15px 28px;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.52) 100%);
      backdrop-filter: blur(18px) saturate(195%);
      -webkit-backdrop-filter: blur(18px) saturate(195%);
      border: 1.25px solid rgba(255, 255, 255, 0.94);
      box-shadow: 0 12px 32px rgba(15, 23, 42, 0.11),
                  0 2px 8px rgba(15, 23, 42, 0.04),
                  inset 0 1.5px 1px rgba(255, 255, 255, 0.98),
                  inset 0 -1px 1px rgba(255, 255, 255, 0.6);
      color: #DC2626;
      font-size: 16.5px;
      font-weight: 500;
      letter-spacing: -0.015em;
      text-align: left;
      cursor: pointer;
      transform-origin: top right;
      animation: vdAppleGlassPillPop 0.26s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s ease;
    }
    .vd-apple-liquid-delete-pill:active {
      transform: scale(0.965) !important;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.66) 100%);
    }
    #calAiVerticalSliderTrack {
      touch-action: none;
      user-select: none;
      -webkit-user-select: none;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    /* Área de toque expandida (44px) para puxar a bolinha/barra com o dedo facilmente */
    #calAiVerticalSliderTrack::before {
      content: "";
      position: absolute;
      top: -16px;
      bottom: -16px;
      left: -18px;
      right: -18px;
      z-index: 1;
      cursor: grab;
    }
    #calAiVerticalSliderTrack.is-dragging {
      transform: scaleX(1.18);
      cursor: grabbing;
    }
    #calAiVerticalSliderTrack.is-dragging::before {
      cursor: grabbing;
    }
    #calAiVerticalSliderThumb {
      z-index: 2;
      cursor: grab;
      will-change: bottom, transform;
      transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
                  box-shadow 0.25s ease,
                  border-color 0.25s ease !important;
    }
    #calAiVerticalSliderTrack.is-dragging #calAiVerticalSliderThumb,
    #calAiVerticalSliderThumb:active {
      cursor: grabbing;
      transform: translate(-50%, 50%) scale(1.26) !important;
      box-shadow: 0 6px 16px rgba(17, 24, 39, 0.28) !important;
      border-color: #9CA3AF !important;
    }
    #calAiVerticalSliderThumb.cal-ai-thumb-spring-pop {
      animation: calAiThumbSpringPop 0.44s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    #calAiDurationPillsRow button[data-mins] {
      transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
                  background-color 0.22s ease,
                  color 0.22s ease !important;
    }
    #calAiDurationPillsRow button[data-mins]:active {
      transform: scale(0.92) !important;
    }
    /* ==========================================================================
       APPLE iOS 18 CLEAN (MODELO 01) — ABA DE PERFIL (#tabProfile) & MODAIS (120HZ)
       ========================================================================== */
    #tabProfile .vd-prof-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 12px;
      padding: 2px 2px 0;
    }
    #tabProfile .vd-prof-back-btn {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      background: #FFFFFF;
      border: 1px solid rgba(24, 24, 27, 0.07);
      box-shadow: 0 2px 8px -2px rgba(24, 24, 27, 0.05);
      color: #09090B;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.18s ease;
    }
    #tabProfile .vd-prof-back-btn:hover {
      background: #F4F3EF;
    }
    #tabProfile .vd-prof-back-btn:active {
      transform: scale(0.91);
      background: #ECEAE4;
    }
    #tabProfile .vd-prof-header-pill {
      background: #F2EFE9;
      border: 1px solid rgba(24, 24, 27, 0.06);
      color: #09090B;
      font-size: 12.5px;
      font-weight: 700;
      letter-spacing: -0.01em;
      padding: 7px 13px;
      min-height: 34px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.18s ease;
    }
    #tabProfile .vd-prof-hero-card {
      background: #FFFFFF;
      border: 1px solid rgba(24, 24, 27, 0.065);
      border-radius: 22px;
      padding: 14px 15px 12px;
      margin-bottom: 13px;
      box-shadow: 0 6px 20px -8px rgba(24, 24, 27, 0.06);
    }
    #tabProfile .vd-prof-acc-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 11px;
      padding-bottom: 12px;
      border-bottom: 1px solid rgba(24, 24, 27, 0.065);
    }
    #tabProfile .vd-prof-edit-pill {
      background: #F2EFE9;
      border: 1px solid rgba(24, 24, 27, 0.04);
      color: #09090B;
      font-size: 12px;
      font-weight: 700;
      padding: 6px 12.5px;
      border-radius: 999px;
      cursor: pointer;
      flex-shrink: 0;
      transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.18s ease;
    }
    #tabProfile .vd-prof-edit-pill:active {
      transform: scale(0.94);
    }
    #tabProfile .vd-prof-card {
      background: #FFFFFF;
      border: 1px solid rgba(24, 24, 27, 0.065);
      border-radius: 20px;
      padding: 0;
      margin-bottom: 12px;
      overflow: hidden;
      box-shadow: 0 6px 20px -8px rgba(24, 24, 27, 0.055);
    }
    #tabProfile .vd-prof-avatar-wrap {
      position: relative;
      width: 56px;
      height: 56px;
      flex-shrink: 0;
      cursor: pointer;
      transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    #tabProfile .vd-prof-avatar-wrap:active {
      transform: scale(0.94);
    }
    #tabProfile .vd-prof-bento-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      padding-top: 10px;
      align-items: center;
    }
    #tabProfile .vd-prof-bento-well {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 2px 6px;
      text-align: center;
      cursor: default;
      user-select: none;
      -webkit-user-select: none;
      position: relative;
    }
    #tabProfile .vd-prof-bento-well:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 1px;
      height: 22px;
      background: rgba(24, 24, 27, 0.07);
    }
    #tabProfile .vd-prof-metric-val {
      font-size: 14px;
      font-weight: 800;
      color: #09090B;
      letter-spacing: -0.02em;
      line-height: 1.2;
      font-variant-numeric: tabular-nums;
    }
    #tabProfile .vd-prof-metric-lbl {
      font-size: 10.5px;
      font-weight: 600;
      color: #8E8E93;
      margin-top: 1.5px;
      line-height: 1.2;
    }
    #tabProfile .vd-prof-section-label {
      font-size: 11px;
      font-weight: 700;
      color: #8E8E93;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 2px 6px 6px 6px;
    }
    #tabProfile .vd-prof-row {
      width: 100%;
      min-height: 46px;
      background: transparent;
      border: none;
      padding: 9px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      text-align: left;
      cursor: pointer;
      position: relative;
      transition: background-color 0.16s ease, transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);
    }
    #tabProfile .vd-prof-row.is-static-row {
      cursor: default;
    }
    #tabProfile .vd-prof-row + .vd-prof-row::before {
      content: "";
      position: absolute;
      top: 0;
      left: 44px;
      right: 14px;
      height: 1px;
      background: rgba(24, 24, 27, 0.065);
      pointer-events: none;
    }
    #tabProfile button.vd-prof-row:active {
      background: rgba(24, 24, 27, 0.035);
    }
    #tabProfile .vd-prof-ico {
      width: 19px;
      height: 19px;
      color: #52525B;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    #tabProfile .vd-prof-row-title {
      font-size: 14px;
      font-weight: 600;
      color: #09090B;
      letter-spacing: -0.015em;
      line-height: 1.25;
    }
    #tabProfile .vd-prof-row-right {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }
    #tabProfile .vd-prof-row-val {
      font-size: 13px;
      font-weight: 600;
      color: #8E8E93;
      font-variant-numeric: tabular-nums;
    }
    #tabProfile .vd-prof-row-val.is-accent {
      color: #16A34A;
    }
    #tabProfile .vd-prof-chevron {
      color: #A1A1AA;
      opacity: 0.8;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1), color 0.18s ease;
    }
    #tabProfile button.vd-prof-row:active .vd-prof-chevron {
      transform: translateX(2px);
      color: #09090B;
    }
    /* Pílula Segmentada Claro | Escuro em 1 Toque */
    #tabProfile .vd-prof-seg-pill {
      display: inline-flex;
      align-items: center;
      padding: 2.5px;
      border-radius: 999px;
      background: #EFECE6;
      gap: 2px;
    }
    #tabProfile .vd-prof-seg-opt {
      border: none;
      background: transparent;
      padding: 4.5px 10px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 700;
      color: #8E8E93;
      display: inline-flex;
      align-items: center;
      gap: 4.5px;
      cursor: pointer;
      font-family: inherit;
      transition: background-color 0.2s cubic-bezier(0.32, 0.72, 0, 1), color 0.2s ease, box-shadow 0.2s ease;
    }
    body:not(.dark-theme) #tabProfile .vd-prof-seg-opt[data-theme-opt="light"] {
      background: #FFFFFF;
      color: #09090B;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    }
    body.dark-theme #tabProfile .vd-prof-seg-opt[data-theme-opt="dark"],
    [data-theme="dark"] #tabProfile .vd-prof-seg-opt[data-theme-opt="dark"] {
      background: #2C303B;
      color: #FAFAFA;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.38);
    }
    #tabProfile .vd-prof-logout-btn {
      width: 100%;
      height: 44px;
      border-radius: 16px;
      background: #FFFFFF;
      border: 1px solid rgba(24, 24, 27, 0.065);
      box-shadow: 0 4px 14px -6px rgba(24, 24, 27, 0.05);
      color: #09090B;
      font-size: 13.5px;
      font-weight: 700;
      font-family: inherit;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      cursor: pointer;
      margin-top: 2px;
      transition: transform 0.18s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.16s ease;
    }
    #tabProfile .vd-prof-logout-btn:active {
      transform: scale(0.985);
      background: #F4F3EF;
    }
    #tabProfile .vd-prof-clean-footer {
      margin-top: 10px;
      padding-bottom: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 11.5px;
      font-weight: 600;
      color: #8E8E93;
    }
    #tabProfile .vd-prof-ver-link,
    #tabProfile .vd-prof-del-link {
      border: none;
      background: transparent;
      padding: 4px 2px;
      font-family: inherit;
      font-size: 11.5px;
      cursor: pointer;
    }
    #tabProfile .vd-prof-ver-link {
      font-weight: 600;
      color: #8E8E93;
    }
    #tabProfile .vd-prof-del-link {
      font-weight: 700;
      color: #DC2626;
    }
    @media (pointer: coarse) {
      #tabProfile button:focus-visible {
        outline: none !important;
      }
    }
    /* Inputs Cal AI Quartz para #editProfileModal */
    #editProfileModal .vd-edit-prof-input,
    #editProfileModal .vd-edit-prof-textarea {
      width: 100%;
      background: #F4F5F8;
      border: 1.5px solid transparent;
      border-radius: 16px;
      padding: 13px 15px;
      font-size: 15px;
      font-weight: 600;
      color: #09090B;
      outline: none;
      transition: background-color 0.2s cubic-bezier(0.32, 0.72, 0, 1),
                  border-color 0.2s cubic-bezier(0.32, 0.72, 0, 1),
                  box-shadow 0.2s cubic-bezier(0.32, 0.72, 0, 1);
      box-sizing: border-box;
      font-family: inherit;
    }
    #editProfileModal .vd-edit-prof-input:focus,
    #editProfileModal .vd-edit-prof-textarea:focus {
      background: #FFFFFF;
      border-color: #09090B;
      box-shadow: 0 4px 18px -4px rgba(9, 9, 11, 0.08);
    }
    /* Suporte a Tema Escuro (Dark Mode: body.dark-theme e [data-theme="dark"]) */
    body.dark-theme #tabProfile .vd-prof-hero-card,
    body.dark-theme #tabProfile .vd-prof-card,
    body.dark-theme #tabProfile .vd-prof-logout-btn,
    body.dark-theme #profClinicalEcosystemCard,
    [data-theme="dark"] #tabProfile .vd-prof-hero-card,
    [data-theme="dark"] #tabProfile .vd-prof-card,
    [data-theme="dark"] #tabProfile .vd-prof-logout-btn,
    [data-theme="dark"] #profClinicalEcosystemCard {
      background: #15171C !important;
      border-color: rgba(255, 255, 255, 0.075) !important;
      box-shadow: none !important;
    }
    body.dark-theme #tabProfile .vd-prof-acc-top,
    [data-theme="dark"] #tabProfile .vd-prof-acc-top {
      border-bottom-color: rgba(255, 255, 255, 0.075) !important;
    }
    body.dark-theme #tabProfile .vd-prof-bento-well:not(:last-child)::after,
    body.dark-theme #tabProfile .vd-prof-row + .vd-prof-row::before,
    [data-theme="dark"] #tabProfile .vd-prof-bento-well:not(:last-child)::after,
    [data-theme="dark"] #tabProfile .vd-prof-row + .vd-prof-row::before {
      background: rgba(255, 255, 255, 0.075) !important;
    }
    body.dark-theme #tabProfile .vd-prof-back-btn,
    body.dark-theme #tabProfile .vd-prof-edit-pill,
    body.dark-theme #tabProfile .vd-prof-header-pill,
    body.dark-theme #tabProfile .vd-prof-seg-pill,
    [data-theme="dark"] #tabProfile .vd-prof-back-btn,
    [data-theme="dark"] #tabProfile .vd-prof-edit-pill,
    [data-theme="dark"] #tabProfile .vd-prof-header-pill,
    [data-theme="dark"] #tabProfile .vd-prof-seg-pill {
      background: #1E2028 !important;
      color: #F4F4F5 !important;
      border-color: rgba(255, 255, 255, 0.07) !important;
    }
    body.dark-theme #tabProfile button.vd-prof-row:active,
    [data-theme="dark"] #tabProfile button.vd-prof-row:active {
      background: rgba(255, 255, 255, 0.04) !important;
    }
    body.dark-theme #tabProfile .vd-prof-ico,
    [data-theme="dark"] #tabProfile .vd-prof-ico {
      color: #A1A1AA !important;
    }
    body.dark-theme #tabProfile .vd-prof-row-val.is-accent,
    [data-theme="dark"] #tabProfile .vd-prof-row-val.is-accent {
      color: #22C55E !important;
    }
    body.dark-theme #tabProfile #profAvatarPlusBadgeBtn,
    [data-theme="dark"] #tabProfile #profAvatarPlusBadgeBtn {
      background: #F4F4F5 !important;
      color: #09090B !important;
      border-color: #15171C !important;
    }
    body.dark-theme #tabProfile .vd-prof-del-link,
    [data-theme="dark"] #tabProfile .vd-prof-del-link {
      color: #F87171 !important;
    }
    body.dark-theme #tabProfile h2,
    body.dark-theme #tabProfile #profDisplayName,
    body.dark-theme #tabProfile .vd-prof-metric-val,
    body.dark-theme #tabProfile .vd-prof-row-title,
    body.dark-theme #tabProfile .vd-prof-logout-btn,
    [data-theme="dark"] #tabProfile h2,
    [data-theme="dark"] #tabProfile #profDisplayName,
    [data-theme="dark"] #tabProfile .vd-prof-metric-val,
    [data-theme="dark"] #tabProfile .vd-prof-row-title,
    [data-theme="dark"] #tabProfile .vd-prof-logout-btn {
      color: #F4F4F5 !important;
    }
    [data-theme="dark"] #editProfileModal .modal-sheet {
      background: #18181B !important;
    }
    [data-theme="dark"] #editProfileModal .vd-edit-prof-input,
    [data-theme="dark"] #editProfileModal .vd-edit-prof-textarea {
      background: #27272A !important;
      color: #FAFAFA !important;
    }
    [data-theme="dark"] #editProfileModal .vd-edit-prof-input:focus,
    [data-theme="dark"] #editProfileModal .vd-edit-prof-textarea:focus {
      background: #18181B !important;
      border-color: #FAFAFA !important;
    }


#biometriaCustomMacrosEditor input:focus,
    #biometriaCustomMacrosEditor input:focus-visible {
      outline: none !important;
      box-shadow: none !important;
    }
    #biometriaCustomMacrosEditor label:focus-within {
      border-color: #09090B !important;
      box-shadow: 0 0 0 2px rgba(9, 9, 11, 0.08);
    }

    /* ==========================================================================
       CAL AI SPRING SCROLL PHYSICS, 8-SPOKE SPINNER & SOLID PHOTO SHEET DISMISS
       ========================================================================== */
    .ptr-slot, #ptrSlot {
      height: 0px !important;
      max-height: 0px !important;
      padding: 0 !important;
      margin: 0 !important;
      overflow: hidden !important;
      display: none !important;
      align-items: center !important;
      justify-content: center !important;
      width: 100% !important;
      flex-shrink: 0 !important;
      box-sizing: border-box !important;
      will-change: height;
      transition: height 0.36s cubic-bezier(0.22, 1, 0.36, 1), padding-top 0.28s cubic-bezier(0.22, 1, 0.36, 1);
      z-index: 65 !important;
      position: relative !important;
    }
    .ptr-bubble {
      width: 32px !important;
      height: 32px !important;
      margin: 0 !important;
      border-radius: 50% !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      opacity: 0;
      visibility: visible !important;
      transform: scale(0.85);
      transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.14s ease;
    }
    .ptr-spinner-circle {
      width: 28px !important;
      height: 28px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      background: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }
    .ptr-spinner-svg.cal-ai-8spoke-svg {
      width: 26px !important;
      height: 26px !important;
      display: block !important;
      overflow: visible !important;
      transform-origin: 50% 50% !important;
      transform: rotate(0deg);
    }
    .ptr-spinner-svg circle.ptr-track,
    .ptr-spinner-svg circle.ptr-fill {
      stroke: none !important;
      display: none !important;
    }
    .ptr-bubble.refreshing .cal-ai-8spoke-svg {
      animation: ptrRotateCalAiSteps 0.64s steps(8, end) infinite !important;
    }
    body.dark-theme .cal-ai-8spoke-svg .cal-ai-spoke {
      stroke: #CBD5E1 !important;
    }
    @keyframes ptrRotateCalAiSteps {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    /* Remove folga tripla de padding-bottom mantendo a molinha elástica natural do Cal AI + Safe Area Inferior justa */
    .screen-body {
      padding-bottom: 0px !important;
      overscroll-behavior-y: contain !important;
    }
    #tabDiet {
      padding-bottom: 0px !important;
    }
    #dietDiaryMainSectionView {
      padding-bottom: 0px !important;
    }
    #btnBackToTodayBottomWrap {
      margin-bottom: 0px !important;
      padding-bottom: calc(108px + env(safe-area-inset-bottom, 14px)) !important;
    }
    #btnAddMealVibeLens {
      display: none !important;
      margin-bottom: calc(84px + env(safe-area-inset-bottom, 8px)) !important;
    }
    #dietMealDiaryTimeline.vd-has-today-entries {
      padding-bottom: calc(112px + env(safe-area-inset-bottom, 14px)) !important;
    }
    #dietEmptyStateBox {
      margin-bottom: calc(82px + env(safe-area-inset-bottom, 10px)) !important;
    }
    #dietAdvancedToolsContainer {
      padding-bottom: calc(88px + env(safe-area-inset-bottom, 8px)) !important;
    }
    #dietGeneratedPlanView,
    #dietPlansListView,
    #dietBuilderSetupView {
      padding-bottom: 0px !important;
    }
    #tabGoals,
    #tabLeaderboard,
    #tabProfile {
      padding-bottom: calc(86px + env(safe-area-inset-bottom, 8px)) !important;
    }
    #progressoGallerySection {
      margin-bottom: 4px !important;
    }
    .profile-member-footer {
      margin-bottom: 4px !important;
      padding-bottom: 4px !important;
    }

    /* ==========================================================================
       AUDITORIA MOBILE UX, TOUCH TARGETS (44px), SAFE AREAS, ACESSIBILIDADE & DARK MODE
       ========================================================================== */
    body, .phone-container, .cal-shell, button, [role="button"] {
      -webkit-user-select: none;
      user-select: none;
      -webkit-touch-callout: none;
    }
    input, textarea, [contenteditable="true"] {
      -webkit-user-select: text;
      user-select: text;
    }

    /* Safe Area na Barra Flutuante Inferior (Início | Plano | Progresso + Botão +) e Topo Mobile */
    .bottom-nav {
      bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
      padding: 0 14px !important;
      background: transparent !important;
    }
    .screen-body.vd-has-inline-header,
    .screen-body:has(> #mainAppHeader:not([style*="display: none"])) {
      padding-top: 0px !important;
    }
    .screen-body > #mainAppHeader {
      margin: 0 -16px 10px -16px;
      width: calc(100% + 32px);
      max-width: calc(100% + 32px);
      box-sizing: border-box;
    }
    @media (max-width: 768px) {
      #mainAppHeader {
        padding-top: max(16px, env(safe-area-inset-top, 0px)) !important;
      }
    }

    /* Áreas de Toque Mínimas (Apple HIG & Material Design >= 40px-44px) */
    .header-profile-btn,
    #headerProfileBtn {
      width: 42px !important;
      height: 42px !important;
      min-width: 42px !important;
      max-width: 42px !important;
      flex: 0 0 42px !important;
    }
    .sheet-close-btn:not(#authCloseModalBtn),
    #tabProfile .vd-prof-back-btn,
    #btnPlanMoreMenu {
      width: 42px !important;
      height: 42px !important;
      min-width: 42px !important;
      min-height: 42px !important;
    }
    .calai-plans-back-btn,
    .calai-plans-new-btn {
      min-height: 42px !important;
      height: 42px !important;
    }
    #btnResetDietWater {
      width: 40px !important;
      height: 40px !important;
      min-width: 40px !important;
      min-height: 40px !important;
    }
    #btnAddDietWater250,
    #btnAddDietWater500 {
      min-height: 40px !important;
      padding: 8px 13px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .vd-carousel-dot-btn {
      width: 28px !important;
      height: 28px !important;
      min-width: 28px !important;
      min-height: 28px !important;
      padding: 0 !important;
      margin: 0 !important;
      background: transparent !important;
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      transform: none !important;
      transition: none !important;
      -webkit-tap-highlight-color: transparent !important;
      user-select: none !important;
      -webkit-user-select: none !important;
    }
    .vd-carousel-dot-btn:active,
    .vd-carousel-dot-btn:focus,
    .vd-carousel-dot-btn:focus-visible,
    .vd-carousel-dot-btn:hover {
      transform: none !important;
      transition: none !important;
      outline: none !important;
      box-shadow: none !important;
      background: transparent !important;
      opacity: 1 !important;
    }
    #vdInicioDot1.vd-carousel-dot-btn {
      justify-content: flex-end !important;
      padding-right: 3.5px !important;
    }
    #vdInicioDot2.vd-carousel-dot-btn {
      justify-content: flex-start !important;
      padding-left: 3.5px !important;
    }
    .vd-carousel-dot-inner {
      display: block;
      border-radius: 999px;
      transition: background-color 0.16s ease, width 0.16s ease, height 0.16s ease;
      pointer-events: none;
      flex-shrink: 0;
    }

    /* Acessibilidade: Impede foco em #authRegTermsCheck quando o modal de autenticação está fechado */
    #authSheetModal:not(.active) {
      visibility: hidden;
      pointer-events: none;
    }
    #authSheetModal:not(.active) #authRegTermsCheck {
      display: none !important;
    }

    /* Modo Escuro Completo dentro do App (.phone-container / .cal-shell / Início / Plano / Progresso / Perfil) */
    body.dark-theme,
    body.dark-mode,
    [data-theme="dark"] {
      --bg: #0D1117;
      --surface: #1A1D21;
      --surface-subtle: #22262C;
      --surface-glass: rgba(26, 29, 33, 0.92);
      --border: rgba(255, 255, 255, 0.08);
      --text: #F3F4F6;
      --text-secondary: #9CA3AF;
      --text-muted: #6B7280;
    }
    body.dark-theme .phone-container,
    body.dark-mode .phone-container,
    [data-theme="dark"] .phone-container,
    body.dark-theme .cal-shell,
    body.dark-mode .cal-shell,
    [data-theme="dark"] .cal-shell,
    body.dark-theme .screen-body,
    body.dark-mode .screen-body,
    [data-theme="dark"] .screen-body,
    body.dark-theme #tabDiet,
    body.dark-mode #tabDiet,
    [data-theme="dark"] #tabDiet,
    body.dark-theme #tabGoals,
    body.dark-mode #tabGoals,
    [data-theme="dark"] #tabGoals,
    body.dark-theme #tabProfile,
    body.dark-mode #tabProfile,
    [data-theme="dark"] #tabProfile {
      background: #0D1117 !important;
      background-color: #0D1117 !important;
      color: #F3F4F6 !important;
      transition: none !important;
    }
    body.dark-theme #dietDiaryMainSectionView::before,
    body.dark-mode #dietDiaryMainSectionView::before,
    [data-theme="dark"] #dietDiaryMainSectionView::before {
      opacity: 0.08 !important;
    }
    body.dark-theme .vibe-card,
    body.dark-mode .vibe-card,
    [data-theme="dark"] .vibe-card,
    body.dark-theme .hero-cal-clean,
    body.dark-mode .hero-cal-clean,
    [data-theme="dark"] .hero-cal-clean,
    body.dark-theme .vd-diary-glass-box,
    body.dark-mode .vd-diary-glass-box,
    [data-theme="dark"] .vd-diary-glass-box,
    body.dark-theme .diet-builder-card,
    body.dark-mode .diet-builder-card,
    [data-theme="dark"] .diet-builder-card,
    body.dark-theme .equiv-calc-card,
    body.dark-mode .equiv-calc-card,
    [data-theme="dark"] .equiv-calc-card,
    body.dark-theme .calai-plan-meal-card,
    body.dark-mode .calai-plan-meal-card,
    [data-theme="dark"] .calai-plan-meal-card,
    body.dark-theme .fab-quick-action-card,
    body.dark-mode .fab-quick-action-card,
    [data-theme="dark"] .fab-quick-action-card,
    body.dark-theme .modal-overlay:not(#authSheetModal) .modal-sheet,
    body.dark-mode .modal-overlay:not(#authSheetModal) .modal-sheet,
    [data-theme="dark"] .modal-overlay:not(#authSheetModal) .modal-sheet {
      background: #1A1D21 !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
      color: #F3F4F6 !important;
    }
    body.dark-theme .phone-container h2,
    body.dark-mode .phone-container h2,
    [data-theme="dark"] .phone-container h2,
    body.dark-theme #mainAppHeader .brand-logo,
    body.dark-mode #mainAppHeader .brand-logo,
    [data-theme="dark"] #mainAppHeader .brand-logo,
    body.dark-theme #dietDiaryTimelineSectionTitle,
    body.dark-mode #dietDiaryTimelineSectionTitle,
    [data-theme="dark"] #dietDiaryTimelineSectionTitle,
    body.dark-theme .phone-container [style*="color: #09090B"],
    body.dark-theme .phone-container [style*="color:#09090B"],
    body.dark-theme .phone-container [style*="color: #111827"],
    body.dark-theme .phone-container [style*="color:#111827"],
    body.dark-theme .phone-container [style*="color: #0F172A"],
    body.dark-theme .phone-container [style*="color:#0F172A"],
    body.dark-theme .phone-container [style*="color: #18181B"],
    body.dark-theme .phone-container [style*="color:#18181B"] {
      color: #F3F4F6 !important;
    }
    body.dark-theme .phone-container [style*="color: #64748B"],
    body.dark-theme .phone-container [style*="color:#64748B"],
    body.dark-theme .phone-container [style*="color: #71717A"],
    body.dark-theme .phone-container [style*="color:#71717A"],
    body.dark-theme .phone-container [style*="color: #475569"],
    body.dark-theme .phone-container [style*="color:#475569"],
    body.dark-theme .phone-container [style*="color: #94A3B8"],
    body.dark-theme .phone-container [style*="color:#94A3B8"] {
      color: #9CA3AF !important;
    }
    body.dark-theme .phone-container div[style*="background: #FFFFFF"]:not(.vd-carousel-dot-inner),
    body.dark-theme .phone-container div[style*="background:#FFFFFF"]:not(.vd-carousel-dot-inner),
    body.dark-theme .phone-container div[style*="background: #F8FAFC"],
    body.dark-theme .phone-container div[style*="background:#F8FAFC"],
    body.dark-theme .phone-container div[style*="background: #F4F5F8"],
    body.dark-theme .phone-container div[style*="background:#F4F5F8"],
    body.dark-theme .phone-container div[style*="background: #F1F5F9"],
    body.dark-theme .phone-container div[style*="background:#F1F5F9"] {
      background: #22262C !important;
      border-color: rgba(255, 255, 255, 0.08) !important;
    }
    body.dark-theme .day-item .day-circle,
    body.dark-theme .day-item .day-lbl {
      color: #9CA3AF !important;
    }
    body.dark-theme .day-item.active {
      background: #1A1D21 !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
    }
    @media (prefers-reduced-motion: no-preference) {
      body.vd-cal-ai-motion.dark-theme .day-item.active.vd-day-pill-glide,
      body.vd-cal-ai-motion.dark-mode .day-item.active.vd-day-pill-glide,
      [data-theme="dark"] body.vd-cal-ai-motion .day-item.active.vd-day-pill-glide {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
      }
      body.vd-cal-ai-motion.dark-theme .day-item.active.vd-day-pill-glide::before,
      body.vd-cal-ai-motion.dark-mode .day-item.active.vd-day-pill-glide::before,
      [data-theme="dark"] body.vd-cal-ai-motion .day-item.active.vd-day-pill-glide::before {
        background: #1A1D21 !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38) !important;
      }
    }
    body.vd-cal-ai-motion.dark-theme .bottom-nav::before,
    body.vd-cal-ai-motion.dark-mode .bottom-nav::before,
    [data-theme="dark"] body.vd-cal-ai-motion .bottom-nav::before {
      background: linear-gradient(to top, rgba(13, 17, 23, 0.99) 0%, rgba(13, 17, 23, 0.92) 38%, rgba(13, 17, 23, 0.56) 68%, rgba(13, 17, 23, 0) 100%) !important;
    }
    body.dark-theme .day-item.active .day-circle,
    body.dark-theme .day-item.active .day-lbl,
    body.dark-theme .day-item.day-today:not(.active) .day-lbl {
      color: #F3F4F6 !important;
    }
    body.dark-theme .bottom-nav-pill-dock {
      background: rgba(26, 29, 33, 0.92) !important;
      border-color: rgba(255, 255, 255, 0.10) !important;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
    }
    body.dark-theme .bottom-nav-spring-pill {
      background: rgba(255, 255, 255, 0.12) !important;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
    }
    body.dark-theme .bottom-nav .nav-item {
      color: #9CA3AF !important;
    }
    body.dark-theme .bottom-nav .nav-item.active {
      color: #F3F4F6 !important;
    }
    body.dark-theme .bottom-nav .vb-fab-btn {
      background: #F3F4F6 !important;
      color: #0D1117 !important;
    }
    /* Alto contraste nos textos do eixo X e Y do gráfico da aba Progresso no modo escuro */
    body.dark-theme #card4WeightMiniChartContainer,
    body.dark-mode #card4WeightMiniChartContainer,
    [data-theme="dark"] #card4WeightMiniChartContainer {
      background: transparent !important;
    }
    body.dark-theme #vdWeightInteractiveSvg line[stroke="#E2E8F0"],
    body.dark-mode #vdWeightInteractiveSvg line[stroke="#E2E8F0"],
    [data-theme="dark"] #vdWeightInteractiveSvg line[stroke="#E2E8F0"] {
      stroke: rgba(255, 255, 255, 0.12) !important;
    }
    body.dark-theme #vdWeightInteractiveSvg text,
    body.dark-mode #vdWeightInteractiveSvg text,
    [data-theme="dark"] #vdWeightInteractiveSvg text {
      fill: #E5E7EB !important;
    }
    body.dark-theme #vdWeightInteractiveSvg text.vd-weight-pt-lbl[font-weight="800"],
    body.dark-mode #vdWeightInteractiveSvg text.vd-weight-pt-lbl[font-weight="800"],
    [data-theme="dark"] #vdWeightInteractiveSvg text.vd-weight-pt-lbl[font-weight="800"] {
      fill: #FFFFFF !important;
    }
    /* Blindagem Definitiva da Foto de Progresso (#postDetailModal & #postDetailSheetEl):
       - Abertura 100% sólida desde 0ms (sem foto invisível/fade atrasado)
       - Fechamento ao arrastar para baixo 100% contínuo e sem piscada no final */
    #postDetailModal {
      opacity: 0 !important;
      visibility: hidden !important;
      pointer-events: none !important;
      background: rgba(15, 23, 42, 0) !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      transition: none !important;
    }
    #postDetailModal.active {
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: auto !important;
      background: rgba(15, 23, 42, 0.22);
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      transition: background-color 0.24s ease !important;
    }
    #postDetailSheetEl {
      border-radius: 0;
      opacity: 1 !important;
      visibility: visible !important;
      transform: translate3d(0, 102%, 0);
      transition: transform 0.30s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: transform;
    }
    #postDetailModal.active #postDetailSheetEl {
      transform: translate3d(0, 0, 0);
      opacity: 1 !important;
      visibility: visible !important;
    }
    #postDetailModal.active .post-detail-header,
    #postDetailModal.active #detailMediaWrap,
    #postDetailModal.active #detailPostImage,
    #postDetailModal.active #detailMacroPillContainer > *,
    #postDetailModal.active .post-detail-actions,
    #postDetailModal.active .post-detail-likes-line,
    #postDetailModal.active #detailCaption,
    #postDetailModal.active .post-detail-comments-section {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
    #postDetailModal.is-sheet-dragging,
    #postDetailModal.is-sheet-closing {
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      transition: background-color 0.22s ease !important;
    }
    #postDetailModal.is-sheet-closing {
      background: rgba(15, 23, 42, 0) !important;
    }
    #postDetailModal.is-sheet-dragging #postDetailSheetEl,
    #postDetailModal.is-sheet-closing #postDetailSheetEl {
      opacity: 1 !important;
      visibility: visible !important;
      border-radius: 28px 28px 0 0 !important;
      box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.16) !important;
    }
    #calAiViewerPreviousStrip::-webkit-scrollbar {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
    }
    .cal-ai-strip-thumb {
      --thumb-prog: 0;
      width: calc(36px + 12px * var(--thumb-prog, 0));
      height: calc(56px + 10px * var(--thumb-prog, 0));
      border-radius: calc(8.5px + 1.5px * var(--thumb-prog, 0));
      flex-shrink: 0;
      cursor: pointer;
      box-sizing: border-box;
      background: #FFFFFF;
      border: 1.5px solid rgba(9, 9, 11, calc(0.10 + 0.90 * var(--thumb-prog, 0)));
      padding: calc(1.5px * var(--thumb-prog, 0));
      opacity: calc(0.56 + 0.44 * var(--thumb-prog, 0));
      overflow: hidden;
      user-select: none;
      -webkit-user-select: none;
      will-change: width, height, opacity;
      transform: translateZ(0);
    }
    .cal-ai-strip-thumb.active {
      --thumb-prog: 1;
      width: calc(36px + 12px * var(--thumb-prog, 1));
      height: calc(56px + 10px * var(--thumb-prog, 1));
      border-radius: 10px;
      border: 2px solid #09090B;
      padding: 1.5px;
      opacity: 1;
    }
    .cal-ai-strip-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 7px;
      display: block;
      pointer-events: none;
      user-select: none;
      -webkit-user-drag: none;
    }
    .cal-ai-strip-thumb.active img {
      border-radius: 7px;
    }
    #calAiViewerWeightText,
    #calAiViewerDateText {
      transition: opacity 0.14s ease, transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }
  


    /* Campos com fonte < 16px fazem o Safari do iPhone dar zoom ao tocar */
    #vibeLensDishNameInput, #equivSrcWeight, #equivSrcSelect, #equivTgtSelect { font-size: 16px !important; }

    /* Contador diário de análises do VibeLens (Pílula padrão para o Piloto + ocultação acessível em Canary, onde o 10/10 fica no topo) */
    .vd-sr-only {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }
    #vibeLensDailyQuotaPill { display: none; align-self: center; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: rgba(24, 24, 27, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 12px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
    #vibeLensDailyQuotaPill.is-visible { display: inline-flex; }
    #vibeLensDailyQuotaPill .vd-quota-dot { width: 6px; height: 6px; border-radius: 50%; background: #34C759; }
    #vibeLensDailyQuotaPill.is-low .vd-quota-dot { background: #FF9F0A; }
    #vibeLensDailyQuotaPill.is-empty .vd-quota-dot { background: #FF453A; }
    body.vd-cal-ai-canary #vibeLensDailyQuotaPill {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
      pointer-events: none !important;
    }
    /* Modo Análise IA desativado na entrada durante o Piloto (retornará em atualizações futuras) */
    #welcomeAiDirectLoginBtn, #authRegAiDirectBtn, #authLoginAiDirectBtn { display: none !important; }

    /* ==========================================================================
       MODELO 01 — APPLE HEALTH CLEAN (SAÚDE iOS 18 ENXUTO) NA ABA PROGRESSO
       ========================================================================== */
    #tabGoals .vibe-card {
      border-radius: 22px;
      border: 0.5px solid rgba(60, 60, 67, 0.09);
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.03);
    }
    body.dark-theme #tabGoals .vibe-card,
    body.dark-mode #tabGoals .vibe-card,
    [data-theme="dark"] #tabGoals .vibe-card {
      border-color: rgba(255, 255, 255, 0.09) !important;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32) !important;
    }
    .vd-m1-telemetry-card {
      background: #FFFFFF;
      border-radius: 22px;
      border: 0.5px solid rgba(60, 60, 67, 0.09);
      padding: 15px 16px 13px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.03);
      margin-bottom: 10px;
      position: relative;
      overflow: hidden;
    }
    .vd-m1-hdr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .vd-m1-eyebrow {
      font-size: 15px;
      font-weight: 700;
      color: #1C1C1E;
      letter-spacing: -0.022em;
      line-height: 1.2;
    }
    .vd-m1-hero-row {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-top: 2px;
      flex-wrap: nowrap;
      position: relative;
    }
    .vd-m1-hero-weight,
    .vd-m1-hero-unit {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      clip-path: inset(50%);
      white-space: nowrap;
      border: 0;
    }
    .vd-m1-delta-pill {
      display: inline-flex;
      align-items: center;
      gap: 2.5px;
      padding: 0;
      border-radius: 0;
      background: transparent;
      color: #248A3D;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: -0.012em;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .vd-m1-delta-pill.is-neutral {
      background: transparent;
      color: #8E8E93;
      font-weight: 500;
    }
    .vd-m1-delta-pill.is-warn {
      background: transparent;
      color: #C93400;
    }
    .vd-m1-delta-period {
      font-size: 12px;
      font-weight: 500;
      color: #8E8E93;
      letter-spacing: -0.01em;
      white-space: nowrap;
    }
    .vd-m1-seg {
      display: inline-flex;
      background: rgba(118, 118, 128, 0.12);
      padding: 2px;
      border-radius: 9px;
      gap: 1px;
      flex-shrink: 0;
      position: relative;
      z-index: 3;
    }
    .vd-m1-seg button {
      position: relative;
      border: none;
      background: transparent;
      color: #6E6E73;
      font-size: 11px;
      font-weight: 600;
      padding: 4px 8.5px;
      min-height: 28px;
      min-width: 34px;
      border-radius: 7px;
      cursor: pointer;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
    }
    .vd-m1-seg button.active,
    .vd-m1-seg button[aria-selected="true"] {
      background: #FFFFFF;
      color: #1C1C1E;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0.5px 1px rgba(0, 0, 0, 0.06);
    }
    @media (forced-colors: active) {
      .vd-m1-seg button[aria-selected="true"]::after {
        content: "";
        position: absolute;
        inset: auto 5px 2px;
        border-block-end: 2px solid currentColor;
      }
    }
    .vd-m1-scrub-pill {
      position: absolute;
      top: 0;
      transform: translate3d(-50%, 3px, 0) scale(0.96);
      opacity: 0;
      background: rgba(28, 28, 30, 0.88);
      color: #FFFFFF;
      border: 0.5px solid rgba(255, 255, 255, 0.14);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
      white-space: nowrap;
      pointer-events: none;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
      letter-spacing: -0.012em;
      z-index: 6;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: opacity 0.14s ease, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), left 0.05s linear;
    }
    #vdWeightInteractiveStage.is-scrubbing .vd-m1-scrub-pill {
      opacity: 1;
      transform: translate3d(-50%, 0, 0) scale(1);
    }
    #vdWeightScrubLine {
      opacity: 0;
      transition: opacity 0.14s ease;
    }
    #vdWeightInteractiveStage.is-scrubbing #vdWeightScrubLine {
      opacity: 1;
    }
    .vd-m1-scrub-sep {
      opacity: 0.55;
      font-weight: 500;
    }
    .vd-m1-target-tag {
      display: none !important;
    }
    .vd-m1-axis-dates {
      display: flex;
      justify-content: space-between;
      margin-top: 5px;
      padding: 0 11% 0 1%;
      font-size: 10.5px;
      font-weight: 500;
      color: #8E8E93;
      font-variant-numeric: tabular-nums;
    }
    .vd-m1-axis-dates.is-7d {
      padding: 0 11.5% 0 1%;
    }
    .vd-m1-axis-dates > span[data-scrub-idx] {
      cursor: pointer;
      padding: 3px 2px;
      border-radius: 6px;
      -webkit-tap-highlight-color: transparent;
      transition: color 0.14s ease;
    }
    .vd-m1-seg button:focus-visible,
    .vd-m1-axis-dates > span[data-scrub-idx]:focus-visible {
      outline: 2px solid #007AFF;
      outline-offset: 2px;
    }
    body.dark-theme .vd-m1-seg button:focus-visible,
    body.dark-mode .vd-m1-seg button:focus-visible,
    [data-theme="dark"] .vd-m1-seg button:focus-visible,
    body.dark-theme .vd-m1-axis-dates > span[data-scrub-idx]:focus-visible,
    body.dark-mode .vd-m1-axis-dates > span[data-scrub-idx]:focus-visible,
    [data-theme="dark"] .vd-m1-axis-dates > span[data-scrub-idx]:focus-visible {
      outline-color: #0A84FF;
    }
    .vd-m1-axis-dates > span.is-scrub-active,
    .vd-m1-axis-dates.is-7d > span[data-scrub-idx].is-scrub-active {
      color: #1C1C1E;
      font-weight: 600;
    }
    body.dark-theme .vd-m1-axis-dates > span.is-scrub-active,
    body.dark-theme .vd-m1-axis-dates.is-7d > span[data-scrub-idx].is-scrub-active {
      color: #F5F5F7;
    }
    .vd-m1-footer-stats,
    .vd-m1-weigh-cta-row {
      display: none !important;
    }
    body.dark-theme .vd-m1-telemetry-card,
    body.dark-mode .vd-m1-telemetry-card,
    [data-theme="dark"] .vd-m1-telemetry-card {
      background: #1A1D21 !important;
      border-color: rgba(255, 255, 255, 0.09) !important;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    }
    body.dark-theme .vd-m1-eyebrow,
    body.dark-mode .vd-m1-eyebrow,
    [data-theme="dark"] .vd-m1-eyebrow,
    body.dark-theme .vd-m1-hero-weight,
    body.dark-mode .vd-m1-hero-weight,
    [data-theme="dark"] .vd-m1-hero-weight {
      color: #F5F5F7 !important;
    }
    body.dark-theme .vd-m1-delta-pill,
    body.dark-mode .vd-m1-delta-pill,
    [data-theme="dark"] .vd-m1-delta-pill {
      background: transparent !important;
      color: #30D158 !important;
    }
    body.dark-theme .vd-m1-delta-pill.is-neutral,
    body.dark-mode .vd-m1-delta-pill.is-neutral,
    [data-theme="dark"] .vd-m1-delta-pill.is-neutral,
    body.dark-theme .vd-m1-delta-period,
    body.dark-mode .vd-m1-delta-period,
    [data-theme="dark"] .vd-m1-delta-period {
      background: transparent !important;
      color: #98989D !important;
    }
    body.dark-theme .vd-m1-delta-pill.is-warn,
    body.dark-mode .vd-m1-delta-pill.is-warn,
    [data-theme="dark"] .vd-m1-delta-pill.is-warn {
      background: transparent !important;
      color: #FF9F0A !important;
    }
    body.dark-theme .vd-m1-seg,
    body.dark-mode .vd-m1-seg,
    [data-theme="dark"] .vd-m1-seg {
      background: rgba(118, 118, 128, 0.24) !important;
    }
    body.dark-theme .vd-m1-seg button,
    body.dark-mode .vd-m1-seg button,
    [data-theme="dark"] .vd-m1-seg button {
      color: #A1A1A6 !important;
    }
    body.dark-theme .vd-m1-seg button.active,
    body.dark-mode .vd-m1-seg button.active,
    [data-theme="dark"] .vd-m1-seg button.active,
    body.dark-theme .vd-m1-seg button[aria-selected="true"],
    body.dark-mode .vd-m1-seg button[aria-selected="true"],
    [data-theme="dark"] .vd-m1-seg button[aria-selected="true"] {
      background: #3A3A3C !important;
      color: #F5F5F7 !important;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
    }
    body.dark-theme .vd-m1-scrub-pill,
    body.dark-mode .vd-m1-scrub-pill,
    [data-theme="dark"] .vd-m1-scrub-pill {
      background: rgba(245, 245, 247, 0.94) !important;
      color: #1C1C1E !important;
      border-color: rgba(255, 255, 255, 0.4) !important;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    }
    body.dark-theme #vdWeightInteractiveSvg text.vd-m1-target-axis-lbl,
    body.dark-mode #vdWeightInteractiveSvg text.vd-m1-target-axis-lbl,
    [data-theme="dark"] #vdWeightInteractiveSvg text.vd-m1-target-axis-lbl {
      fill: #30D158 !important;
    }
    body.dark-theme #progressoWeightRingCircle,
    body.dark-mode #progressoWeightRingCircle,
    [data-theme="dark"] #progressoWeightRingCircle {
      stroke: #F5F5F7 !important;
    }
    body.dark-theme #tabGoals svg circle[stroke="#F1F5F9"],
    body.dark-mode #tabGoals svg circle[stroke="#F1F5F9"],
    [data-theme="dark"] #tabGoals svg circle[stroke="#F1F5F9"] {
      stroke: rgba(255, 255, 255, 0.10) !important;
    }
    body.dark-theme #tabGoals svg[stroke="#18181B"],
    body.dark-mode #tabGoals svg[stroke="#18181B"],
    [data-theme="dark"] #tabGoals svg[stroke="#18181B"] {
      stroke: #F5F5F7 !important;
    }
    body.dark-theme #tabGoals span[style*="background: #F1F5F9"],
    body.dark-mode #tabGoals span[style*="background: #F1F5F9"],
    [data-theme="dark"] #tabGoals span[style*="background: #F1F5F9"],
    body.dark-theme #tabGoals button[style*="background: #F4F5F8"],
    body.dark-mode #tabGoals button[style*="background: #F4F5F8"],
    [data-theme="dark"] #tabGoals button[style*="background: #F4F5F8"] {
      background: #24282E !important;
      border-color: rgba(255, 255, 255, 0.12) !important;
      color: #F5F5F7 !important;
    }
    body.dark-theme #tabGoals span[style*="background: #ECFDF5"],
    body.dark-mode #tabGoals span[style*="background: #ECFDF5"],
    [data-theme="dark"] #tabGoals span[style*="background: #ECFDF5"] {
      background: rgba(48, 209, 88, 0.16) !important;
      color: #30D158 !important;
    }
    body.dark-theme #tabGoals button[style*="background: #18181B"],
    body.dark-mode #tabGoals button[style*="background: #18181B"],
    [data-theme="dark"] #tabGoals button[style*="background: #18181B"] {
      background: #F5F5F7 !important;
      color: #1C1C1E !important;
    }

    /* ==========================================================================
       CLEAN 01 · PURE APPLE MINIMAL — ABA "MEU PLANO" (CANARY @VINICIUS)
       ========================================================================== */
    :root {
      --vd-c1-card: #FFFFFF;
      --vd-c1-soft: #F4F4F6;
      --vd-c1-ink: #1D1D1F;
      --vd-c1-sub: #6E6E73;
      --vd-c1-muted: #8E8E93;
      --vd-c1-hairline: rgba(60, 60, 67, 0.08);
      --vd-c1-hairline-strong: rgba(60, 60, 67, 0.15);
      --vd-c1-seg-track: rgba(118, 118, 128, 0.10);
      --vd-c1-seg-thumb: #FFFFFF;
      --vd-c1-cta-bg: #1D1D1F;
      --vd-c1-cta-fg: #FFFFFF;
      --vd-c1-green: #34C759;
      --vd-c1-prot: #D9483B;
      --vd-c1-carb: #C9731E;
      --vd-c1-fat: #3478F6;
      --vd-c1-shadow-card: 0 2px 12px rgba(0, 0, 0, 0.035);
      --vd-c1-shadow-thumb: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    body.dark-theme,
    body.dark-mode,
    [data-theme="dark"] {
      --vd-c1-card: #1C1C1E;
      --vd-c1-soft: #2C2C2E;
      --vd-c1-ink: #F5F5F7;
      --vd-c1-sub: #98989D;
      --vd-c1-muted: #636366;
      --vd-c1-hairline: rgba(255, 255, 255, 0.085);
      --vd-c1-hairline-strong: rgba(255, 255, 255, 0.16);
      --vd-c1-seg-track: rgba(118, 118, 128, 0.24);
      --vd-c1-seg-thumb: #3A3A3C;
      --vd-c1-cta-bg: #F5F5F7;
      --vd-c1-cta-fg: #1D1D1F;
      --vd-c1-green: #30D158;
      --vd-c1-prot: #FF6961;
      --vd-c1-carb: #FFB340;
      --vd-c1-fat: #64D2FF;
      --vd-c1-shadow-card: 0 8px 24px rgba(0, 0, 0, 0.36);
      --vd-c1-shadow-thumb: 0 2px 8px rgba(0, 0, 0, 0.35);
    }

    .vd-c1-only {
      display: none !important;
    }
    body.vd-plan-clean-canary .vd-c1-only {
      display: block !important;
    }
    body.vd-plan-clean-canary button.vd-c1-only,
    body.vd-plan-clean-canary span.vd-c1-only {
      display: inline-flex !important;
    }
    body.vd-plan-clean-canary div.vd-c1-only.vd-c1-flex-col {
      display: flex !important;
      flex-direction: column;
    }
    body.vd-plan-clean-canary .vd-c1-legacy-only {
      display: none !important;
    }

    body.vd-plan-clean-canary #dietGeneratedPlanView .vd-c1-plan-top-hdr {
      align-items: center !important;
      margin-bottom: 12px !important;
    }
    body.vd-plan-clean-canary #dietGeneratedPlanView .vd-c1-plan-top-hdr h2 {
      font-size: 26px !important;
      font-weight: 800 !important;
      letter-spacing: -0.035em !important;
      line-height: 1.05 !important;
      color: var(--vd-c1-ink) !important;
    }
    body.vd-plan-clean-canary .vd-c1-hdr-pill {
      appearance: none;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: var(--vd-c1-card);
      color: var(--vd-c1-ink);
      min-height: 36px;
      padding: 0 13px;
      border-radius: 999px;
      font-size: 12.5px;
      font-weight: 600;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      box-shadow: var(--vd-c1-shadow-card);
      max-width: 196px;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease;
    }
    body.vd-plan-clean-canary .vd-c1-hdr-pill:active {
      transform: scale(0.96);
    }
    body.vd-plan-clean-canary #vdClean01PlanBadgeText {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    body.vd-plan-clean-canary .vd-c1-hdr-dots {
      color: var(--vd-c1-muted);
      font-weight: 700;
      letter-spacing: 0.02em;
      flex-shrink: 0;
    }

    /* Barra de Dias Slim Estilo Apple Nativo (modern-web-guidance: tabs) */
    body.vd-plan-clean-canary .vd-c1-week-wrap {
      margin: 0 0 12px !important;
    }
    body.vd-plan-clean-canary #dietDaysBar.vd-c1-week-seg {
      display: grid !important;
      grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
      gap: 2px !important;
      padding: 3px !important;
      border-radius: 13px !important;
      background: var(--vd-c1-seg-track) !important;
    }
    body.vd-plan-clean-canary .vd-c1-day-btn {
      position: relative;
      appearance: none;
      border: none;
      background: transparent;
      color: var(--vd-c1-sub);
      height: 36px;
      min-width: 0;
      padding: 0;
      margin: 0;
      border-radius: 10px;
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }
    /* Indicador do Dia de Hoje (Ideia 01: Sombrinha Suave + Tracinho Cápsula Persistente) */
    body.vd-plan-clean-canary .vd-c1-day-btn.is-today:not([aria-selected="true"]) {
      background: rgba(255, 255, 255, 0.56);
      color: var(--vd-c1-ink);
      box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.065), inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
    }
    body.dark-theme.vd-plan-clean-canary .vd-c1-day-btn.is-today:not([aria-selected="true"]),
    body.dark-mode.vd-plan-clean-canary .vd-c1-day-btn.is-today:not([aria-selected="true"]),
    [data-theme="dark"] body.vd-plan-clean-canary .vd-c1-day-btn.is-today:not([aria-selected="true"]) {
      background: rgba(255, 255, 255, 0.075);
      color: var(--vd-c1-ink);
      box-shadow: 0 1.5px 6px rgba(0, 0, 0, 0.32), inset 0 0 0 0.5px rgba(255, 255, 255, 0.11);
    }
    body.vd-plan-clean-canary .vd-c1-day-btn.is-today:not([aria-selected="true"])::before {
      content: "";
      position: absolute;
      inset: auto 13px 3.5px;
      border-block-end: 2px solid var(--vd-c1-sub);
      border-radius: 2px;
      opacity: 0.78;
    }
    body.vd-plan-clean-canary .vd-c1-day-btn[aria-selected="true"] {
      background: var(--vd-c1-seg-thumb);
      color: var(--vd-c1-ink);
      box-shadow: var(--vd-c1-shadow-thumb);
    }
    body.vd-plan-clean-canary .vd-c1-day-btn.is-today[aria-selected="true"] {
      box-shadow: 0 2.5px 10px rgba(0, 0, 0, 0.11), 0 1px 2px rgba(0, 0, 0, 0.06);
    }
    body.dark-theme.vd-plan-clean-canary .vd-c1-day-btn.is-today[aria-selected="true"],
    body.dark-mode.vd-plan-clean-canary .vd-c1-day-btn.is-today[aria-selected="true"],
    [data-theme="dark"] body.vd-plan-clean-canary .vd-c1-day-btn.is-today[aria-selected="true"] {
      box-shadow: 0 3px 12px rgba(0, 0, 0, 0.48), inset 0 0 0 0.5px rgba(255, 255, 255, 0.14);
    }
    body.vd-plan-clean-canary .vd-c1-day-btn[aria-selected="true"]::after {
      content: "";
      position: absolute;
      inset: auto 11px 3.5px;
      border-block-end: 2px solid currentColor;
      border-radius: 2px;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-dot {
      width: 4.5px;
      height: 4.5px;
      border-radius: 50%;
      background: #FF9500;
      flex-shrink: 0;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-dot.is-muted {
      opacity: 0.62;
    }

    /* Superfície Apple Minimal: Resumo de 1 Linha & Cards de Refeição */
    body.vd-plan-clean-canary .vd-c1-card {
      background: var(--vd-c1-card);
      color: var(--vd-c1-ink);
      border-radius: 20px;
      border: 0.5px solid var(--vd-c1-hairline);
      box-shadow: var(--vd-c1-shadow-card);
    }
    body.vd-plan-clean-canary .vd-c1-summary-card {
      padding: 13px 16px;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-variant-numeric: tabular-nums;
    }
    body.vd-plan-clean-canary .vd-c1-sum-left {
      display: inline-flex;
      align-items: baseline;
      gap: 5px;
      min-width: 0;
    }
    body.vd-plan-clean-canary .vd-c1-sum-kcal {
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1;
      color: var(--vd-c1-ink);
      text-box: trim-both cap alphabetic;
    }
    body.vd-plan-clean-canary .vd-c1-sum-unit {
      font-size: 12.5px;
      font-weight: 500;
      line-height: 1;
      color: var(--vd-c1-sub);
      text-box: trim-both cap alphabetic;
    }
    body.vd-plan-clean-canary .vd-c1-sum-macros {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    body.vd-plan-clean-canary .vd-c1-mac-item {
      display: inline-flex;
      align-items: center;
      gap: 5.5px;
      font-size: 13px;
      font-weight: 650;
      letter-spacing: -0.015em;
      color: var(--vd-c1-ink);
    }
    body.vd-plan-clean-canary .vd-c1-mac-val {
      line-height: 1;
      text-box: trim-both cap alphabetic;
    }
    body.vd-plan-clean-canary .vd-c1-mac-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
      display: inline-block;
    }
    body.vd-plan-clean-canary .vd-c1-mac-dot.p { background: var(--vd-c1-prot); }
    body.vd-plan-clean-canary .vd-c1-mac-dot.c { background: var(--vd-c1-carb); }
    body.vd-plan-clean-canary .vd-c1-mac-dot.f { background: var(--vd-c1-fat); }
    body.vd-plan-clean-canary .vd-c1-mac-p { color: var(--vd-c1-prot); }
    body.vd-plan-clean-canary .vd-c1-mac-c { color: var(--vd-c1-carb); }
    body.vd-plan-clean-canary .vd-c1-mac-f { color: var(--vd-c1-fat); }
    body.vd-plan-clean-canary .vd-c1-sr-only {
      position: absolute !important;
      clip-path: inset(50%) !important;
      overflow: hidden !important;
      width: 1px !important;
      height: 1px !important;
      margin: -1px !important;
      padding: 0 !important;
      border: 0 !important;
      white-space: nowrap !important;
    }
    @media (forced-colors: active) {
      body.vd-plan-clean-canary .vd-c1-mac-dot {
        forced-color-adjust: none;
      }
    }
    @media (max-width: 360px) {
      body.vd-plan-clean-canary .vd-c1-sum-macros {
        gap: 8px;
      }
      body.vd-plan-clean-canary .vd-c1-mac-item {
        font-size: 12px;
        gap: 4px;
      }
    }

    body.vd-plan-clean-canary .vd-c1-meals-stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    body.vd-plan-clean-canary .vd-c1-meal-card {
      padding: 14px 16px;
    }
    body.vd-plan-clean-canary .vd-c1-meal-hdr {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    body.vd-plan-clean-canary .vd-c1-meal-hdr-main {
      min-width: 0;
      flex: 1;
    }
    body.vd-plan-clean-canary .vd-c1-meal-hdr-main.is-tappable {
      cursor: pointer;
    }
    body.vd-plan-clean-canary .vd-c1-meal-title {
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--vd-c1-ink);
      line-height: 1.2;
    }
    body.vd-plan-clean-canary .vd-c1-meal-sub {
      font-size: 12px;
      font-weight: 500;
      color: var(--vd-c1-sub);
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-variant-numeric: tabular-nums;
    }
    body.vd-plan-clean-canary .vd-c1-check-hit {
      appearance: none;
      border: none;
      background: transparent;
      width: 44px;
      height: 44px;
      margin: -9px -9px -9px 0;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent;
    }
    body.vd-plan-clean-canary .vd-c1-apple-check {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      border: 1.8px solid var(--vd-c1-hairline-strong);
      background: transparent;
      color: transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    }
    body.vd-plan-clean-canary .vd-c1-check-hit:active .vd-c1-apple-check {
      transform: scale(0.9);
    }
    body.vd-plan-clean-canary .vd-c1-apple-check.done {
      background: var(--vd-c1-green);
      border-color: var(--vd-c1-green);
      color: #FFFFFF;
    }
    body.vd-plan-clean-canary .vd-c1-apple-check.other-day {
      opacity: 0.45;
    }

    body.vd-plan-clean-canary .vd-c1-foods-list {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
    }
    body.vd-plan-clean-canary .vd-c1-food-row {
      width: 100%;
      appearance: none;
      border: none;
      border-top: 0.5px solid var(--vd-c1-hairline);
      background: transparent;
      color: var(--vd-c1-ink);
      min-height: 44px;
      padding: 10px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      text-align: left;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: opacity 0.15s ease;
    }
    body.vd-plan-clean-canary .vd-c1-food-row:active {
      opacity: 0.58;
    }
    body.vd-plan-clean-canary .vd-c1-food-row.is-locked {
      cursor: default;
      opacity: 0.78;
    }
    body.vd-plan-clean-canary .vd-c1-food-name {
      font-size: 14px;
      font-weight: 500;
      letter-spacing: -0.01em;
      color: var(--vd-c1-ink);
      line-height: 1.3;
      min-width: 0;
      flex: 1;
      overflow-wrap: anywhere;
    }
    body.vd-plan-clean-canary .vd-c1-food-right {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      color: var(--vd-c1-sub);
      flex-shrink: 0;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }

    /* Dia Livre Clean 01 (Ativo & Linha Discreta Simétrica ao Desativar) */
    body.vd-plan-clean-canary .vd-c1-cheat-collapsed-row {
      min-height: 40px;
      padding: 6px 10px 6px 14px;
      margin-bottom: 10px;
      border-radius: 16px;
      background: var(--vd-c1-card);
      border: 0.5px solid var(--vd-c1-hairline);
      box-shadow: var(--vd-c1-shadow-card);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-collapsed-lbl {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12.5px;
      font-weight: 600;
      letter-spacing: -0.01em;
      color: var(--vd-c1-sub);
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-card {
      padding: 13px 15px;
      margin-bottom: 10px;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-title {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13.5px;
      font-weight: 700;
      letter-spacing: -0.015em;
      color: var(--vd-c1-ink);
    }
    body.vd-plan-clean-canary .vd-c1-cheat-off-btn,
    body.vd-plan-clean-canary .vd-c1-cheat-on-btn {
      appearance: none;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: var(--vd-c1-soft);
      color: var(--vd-c1-sub);
      min-height: 28px;
      padding: 0 11px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-on-btn {
      color: var(--vd-c1-ink);
    }
    body.vd-plan-clean-canary .vd-c1-cheat-off-btn:active,
    body.vd-plan-clean-canary .vd-c1-cheat-on-btn:active {
      transform: scale(0.96);
    }
    @media (pointer: coarse) {
      body.vd-plan-clean-canary .vd-c1-cheat-off-btn,
      body.vd-plan-clean-canary .vd-c1-cheat-on-btn {
        min-height: 32px;
        padding: 0 12px;
      }
    }
    body.vd-plan-clean-canary .vd-c1-cheat-hint {
      font-size: 12px;
      font-weight: 500;
      color: var(--vd-c1-sub);
      margin-top: 5px;
      line-height: 1.35;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-seg {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6px;
      margin-top: 9px;
    }
    body.vd-plan-clean-canary .vd-c1-cheat-pill {
      appearance: none;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: var(--vd-c1-soft);
      color: var(--vd-c1-ink);
      min-height: 36px;
      border-radius: 999px;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.16s ease, color 0.16s ease, transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.vd-plan-clean-canary .vd-c1-cheat-pill.active {
      background: var(--vd-c1-cta-bg);
      color: var(--vd-c1-cta-fg);
      border-color: transparent;
    }

    /* Meus Planos Clean 01 (#dietPlansListView — Zero Poluição Visual) */
    body.vd-plan-clean-canary #dietPlansListView .calai-plans-header-row {
      margin-bottom: 14px !important;
    }
    body.vd-plan-clean-canary #dietPlansListView .calai-plans-main-title {
      font-size: 24px !important;
      font-weight: 800 !important;
      color: var(--vd-c1-ink) !important;
      letter-spacing: -0.035em !important;
    }
    body.vd-plan-clean-canary #dietPlansListView .calai-plans-back-btn {
      background: var(--vd-c1-card) !important;
      color: var(--vd-c1-ink) !important;
      border: 0.5px solid var(--vd-c1-hairline-strong) !important;
      box-shadow: var(--vd-c1-shadow-card) !important;
      height: 36px !important;
      padding: 0 12px !important;
      font-size: 12.5px !important;
      font-weight: 600 !important;
    }
    body.vd-plan-clean-canary #dietPlansListView .calai-plans-new-btn {
      background: var(--vd-c1-cta-bg) !important;
      color: var(--vd-c1-cta-fg) !important;
      height: 36px !important;
      padding: 0 14px !important;
      font-size: 12.5px !important;
      font-weight: 650 !important;
      box-shadow: none !important;
    }
    body.vd-plan-clean-canary #dietPlansListView #dietPlansCardsContainer {
      gap: 9px !important;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-card {
      background: var(--vd-c1-card) !important;
      color: var(--vd-c1-ink) !important;
      border: 0.5px solid var(--vd-c1-hairline) !important;
      border-radius: 20px !important;
      padding: 15px 16px !important;
      box-shadow: var(--vd-c1-shadow-card) !important;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.18s ease;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-card.is-active-plan {
      border: 1.5px solid var(--vd-c1-ink) !important;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-main {
      min-width: 0;
      flex: 1;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-title-row {
      display: flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-title {
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--vd-c1-ink);
      line-height: 1.25;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 8px;
      border-radius: 999px;
      background: rgba(52, 199, 89, 0.14);
      color: var(--vd-c1-green);
      font-size: 10.5px;
      font-weight: 700;
      flex-shrink: 0;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-badge-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--vd-c1-green);
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-meta {
      margin-top: 3px;
      font-size: 12.5px;
      font-weight: 500;
      color: var(--vd-c1-sub);
      font-variant-numeric: tabular-nums;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    body.vd-plan-clean-canary .vd-c1-plan-list-more {
      appearance: none;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: none;
      background: var(--vd-c1-soft);
      color: var(--vd-c1-sub);
      font-size: 15px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent;
    }

    /* Aba Discreta de Aviso Médico & Fontes Científicas (<details> — accordion & content-first-noise-reduction) */
    body.vd-plan-clean-canary details.vd-c1-only.vd-c1-taco-details {
      display: block !important;
      margin-top: 14px;
      padding: 7px 12px;
      border-radius: 14px;
      background: transparent;
      border: 0.5px solid var(--vd-c1-hairline);
      color: var(--vd-c1-sub);
      font-size: 11.5px;
      line-height: 1.45;
      transition: background-color 0.18s ease, padding 0.18s ease;
    }
    body.vd-plan-clean-canary details.vd-c1-only.vd-c1-taco-details[open] {
      background: var(--vd-c1-soft);
      padding: 10px 14px;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details summary {
      cursor: pointer;
      font-weight: 500;
      font-size: 11.5px;
      color: var(--vd-c1-sub);
      list-style: none;
      display: flex;
      align-items: center;
      gap: 0.55ch;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details summary::-webkit-details-marker {
      display: none;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details summary::before {
      content: "";
      inline-size: 1em;
      block-size: 1em;
      flex-shrink: 0;
      background-color: currentColor;
      -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
      mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
      rotate: -90deg;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details summary:dir(rtl)::before {
      rotate: 90deg;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details[open] > summary::before {
      rotate: 0deg;
    }
    @media (prefers-reduced-motion: no-preference) {
      body.vd-plan-clean-canary .vd-c1-taco-details summary::before {
        transition: rotate 0.2s;
      }
      body.vd-plan-clean-canary .vd-c1-taco-details::details-content {
        transition: block-size 0.24s ease-in-out, content-visibility 0.24s ease-in-out, display 0.24s ease-in-out;
        transition-behavior: allow-discrete;
      }
    }
    body.vd-plan-clean-canary .vd-c1-taco-details::details-content {
      interpolate-size: allow-keywords;
      overflow: clip;
      contain: layout;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details:not([open])::details-content {
      block-size: 0;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details p {
      margin: 8px 0 0;
    }
    body.vd-plan-clean-canary .vd-c1-taco-details a {
      color: var(--vd-c1-ink);
      font-weight: 600;
      text-decoration: underline;
    }

    /* Gavetas Clean 01: Troca em 1 Toque, Menu do Plano, Opções do Cardápio e IA em 2 Cliques */
    body.vd-plan-clean-canary #foodSwapModal .modal-sheet,
    body.vd-plan-clean-canary #planHeaderMoreModal .modal-sheet,
    body.vd-plan-clean-canary #dietPlanActionModal .modal-sheet,
    #planClean01AISheetModal .vd-c1-sheet-panel {
      background: var(--vd-c1-card) !important;
      color: var(--vd-c1-ink) !important;
      border: none !important;
      outline: none !important;
      box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.22), 0 -0.5px 0 var(--vd-c1-hairline-strong) !important;
      border-radius: 30px 30px 0 0 !important;
      padding: 12px 20px calc(26px + env(safe-area-inset-bottom, 0px)) !important;
      overscroll-behavior: contain;
    }
    body.vd-plan-clean-canary #dietPlanActionModal #dietPlanActionTitle {
      color: var(--vd-c1-ink) !important;
    }
    body.vd-plan-clean-canary #dietPlanActionModal .calai-sheet-action-btn:not(#btnDietActionActivate):not(.danger) {
      background: var(--vd-c1-soft) !important;
      color: var(--vd-c1-ink) !important;
    }
    body.vd-plan-clean-canary #dietPlanActionModal #btnDietActionActivate {
      background: var(--vd-c1-cta-bg) !important;
      color: var(--vd-c1-cta-fg) !important;
    }
    body.vd-plan-clean-canary #foodSwapModal .modal-drag-bar,
    body.vd-plan-clean-canary #planHeaderMoreModal .modal-drag-bar {
      background: var(--vd-c1-hairline-strong) !important;
    }
    body.vd-plan-clean-canary #foodSwapModal .sheet-close-btn,
    body.vd-plan-clean-canary #planHeaderMoreModal .sheet-close-btn {
      width: 34px !important;
      height: 34px !important;
      background: var(--vd-c1-soft) !important;
      color: var(--vd-c1-sub) !important;
      border: none !important;
    }
    body.vd-plan-clean-canary #foodSwapModal #foodSwapModalTitle,
    body.vd-plan-clean-canary #planHeaderMoreModal .vd-c1-sheet-title,
    #planClean01AISheetModal .vd-c1-sheet-title {
      font-size: 18px !important;
      font-weight: 700 !important;
      letter-spacing: -0.025em !important;
      color: var(--vd-c1-ink) !important;
    }
    body.vd-plan-clean-canary .vd-c1-swap-sub {
      font-size: 13px;
      font-weight: 500;
      color: var(--vd-c1-sub);
      margin: -4px 0 14px;
    }
    body.vd-plan-clean-canary .vd-c1-swap-opt-btn {
      width: 100%;
      appearance: none;
      min-height: 48px;
      padding: 13px 15px;
      border-radius: 16px;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: var(--vd-c1-soft);
      color: var(--vd-c1-ink);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      text-align: left;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease;
    }
    body.vd-plan-clean-canary .vd-c1-swap-opt-btn:active {
      transform: scale(0.98);
      opacity: 0.82;
    }
    body.vd-plan-clean-canary .vd-c1-swap-opt-name {
      font-size: 14px;
      font-weight: 600;
      color: var(--vd-c1-ink);
      min-width: 0;
      flex: 1;
    }
    body.vd-plan-clean-canary .vd-c1-swap-opt-grams {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--vd-c1-sub);
      font-variant-numeric: tabular-nums;
      flex-shrink: 0;
    }

    body.vd-plan-clean-canary .vd-c1-more-list {
      gap: 8px;
    }
    body.vd-plan-clean-canary .vd-c1-menu-row {
      width: 100%;
      appearance: none;
      min-height: 48px;
      padding: 13px 16px;
      border-radius: 16px;
      border: none;
      background: var(--vd-c1-soft);
      color: var(--vd-c1-ink);
      font-size: 14.5px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      text-align: left;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.15s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.vd-plan-clean-canary .vd-c1-menu-row:active {
      transform: scale(0.985);
    }
    body.vd-plan-clean-canary .vd-c1-menu-row-chev {
      color: var(--vd-c1-muted);
      font-size: 16px;
      flex-shrink: 0;
    }
    body.vd-plan-clean-canary .vd-c1-more-utils {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      margin-top: 4px;
    }
    body.vd-plan-clean-canary .vd-c1-util-pill {
      appearance: none;
      min-height: 38px;
      padding: 0 8px;
      border-radius: 12px;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: transparent;
      color: var(--vd-c1-sub);
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
    }

    /* Sheet de IA em 2 Cliques (#planClean01AISheetModal) */
    #planClean01AISheetModal .vd-c1-sheet-close {
      appearance: none;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: none;
      background: var(--vd-c1-soft);
      color: var(--vd-c1-sub);
      font-size: 14px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    #planClean01AISheetModal .vd-c1-ai-lbl {
      font-size: 12px;
      font-weight: 600;
      color: var(--vd-c1-sub);
      margin-bottom: 7px;
    }
    #planClean01AISheetModal .vd-c1-ai-goals-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
      margin-bottom: 14px;
    }
    #planClean01AISheetModal .vd-c1-ai-styles-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 14px;
    }
    #planClean01AISheetModal .vd-c1-chip-opt {
      appearance: none;
      min-height: 38px;
      padding: 8px 12px;
      border-radius: 999px;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: var(--vd-c1-soft);
      color: var(--vd-c1-ink);
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.16s ease, color 0.16s ease;
    }
    #planClean01AISheetModal .vd-c1-chip-opt:active {
      transform: scale(0.96);
    }
    #planClean01AISheetModal .vd-c1-chip-opt.active {
      background: var(--vd-c1-cta-bg);
      color: var(--vd-c1-cta-fg);
      border-color: transparent;
    }
    #planClean01AISheetModal .vd-c1-ai-input {
      width: 100%;
      height: 44px;
      padding: 0 14px;
      border-radius: 14px;
      border: 0.5px solid var(--vd-c1-hairline-strong);
      background: var(--vd-c1-soft);
      color: var(--vd-c1-ink);
      font-size: 16px;
      outline: none;
      margin-bottom: 14px;
      box-sizing: border-box;
    }
    #planClean01AISheetModal .vd-c1-ai-input::placeholder {
      color: var(--vd-c1-muted);
      font-size: 13px;
    }
    #planClean01AISheetModal .vd-c1-ai-submit {
      width: 100%;
      min-height: 48px;
      border-radius: 999px;
      border: none;
      background: var(--vd-c1-cta-bg);
      color: var(--vd-c1-cta-fg);
      font-size: 14.5px;
      font-weight: 700;
      cursor: pointer;
      transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.16s ease;
    }
    #planClean01AISheetModal .vd-c1-ai-submit:active {
      transform: scale(0.98);
    }
    #planClean01AISheetModal .vd-c1-ai-err {
      display: none;
      margin-bottom: 12px;
      padding: 10px 13px;
      border-radius: 13px;
      background: rgba(239, 68, 68, 0.10);
      color: #DC2626;
      font-size: 12.5px;
      font-weight: 600;
      line-height: 1.4;
    }
    body.dark-theme #planClean01AISheetModal .vd-c1-ai-err,
    body.dark-mode #planClean01AISheetModal .vd-c1-ai-err,
    [data-theme="dark"] #planClean01AISheetModal .vd-c1-ai-err {
      color: #F87171;
      background: rgba(248, 113, 113, 0.14);
    }
    .vd-c1-eleven-wave {
      display: inline-flex;
      align-items: center;
      gap: 2.5px;
      height: 16px;
    }
    .vd-c1-eleven-wave span {
      width: 2.4px;
      height: 14px;
      border-radius: 99px;
      background: currentColor;
      animation: vdC1WavePulse 1s ease-in-out infinite;
    }
    .vd-c1-eleven-wave span:nth-child(2) { animation-delay: 0.14s; }
    .vd-c1-eleven-wave span:nth-child(3) { animation-delay: 0.28s; }
    .vd-c1-eleven-wave span:nth-child(4) { animation-delay: 0.14s; }
    @keyframes vdC1WavePulse {
      0%, 100% { transform: scaleY(0.35); opacity: 0.5; }
      50% { transform: scaleY(1); opacity: 1; }
    }

    @media (hover: hover) and (pointer: fine) {
      body.vd-plan-clean-canary .vd-c1-food-row:not(.is-locked):hover {
        opacity: 0.78;
      }
      body.vd-plan-clean-canary .vd-c1-swap-opt-btn:hover,
      body.vd-plan-clean-canary .vd-c1-menu-row:hover {
        filter: brightness(0.97);
      }
    }
    /* Card Unificado de Canary (Experiência Apple & Meu Plano — Switch Único iOS) */
    #vdUnifiedAppleCanaryCard {
      background: rgba(16, 185, 129, 0.08);
      border: 1px solid rgba(16, 185, 129, 0.24);
      border-radius: 14px;
      padding: 12px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.16s ease, border-color 0.16s ease;
    }
    #vdUnifiedAppleCanaryCard.is-off {
      background: var(--surface-subtle, #F4F5F8);
      border-color: rgba(29, 29, 31, 0.12);
    }
    #vdUnifiedAppleCanaryCard .vd-uac-title {
      font-size: 13px;
      font-weight: 800;
      color: #065F46;
    }
    #vdUnifiedAppleCanaryCard.is-off .vd-uac-title {
      color: var(--text);
    }
    #vdUnifiedAppleCanaryCard .vd-uac-sub {
      font-size: 11px;
      color: #047857;
      margin-top: 2px;
      line-height: 1.35;
    }
    #vdUnifiedAppleCanaryCard.is-off .vd-uac-sub {
      color: var(--text-secondary);
    }
    body.dark-theme #vdUnifiedAppleCanaryCard:not(.is-off),
    body.dark-mode #vdUnifiedAppleCanaryCard:not(.is-off),
    [data-theme="dark"] #vdUnifiedAppleCanaryCard:not(.is-off) {
      background: rgba(16, 185, 129, 0.14);
      border-color: rgba(52, 211, 153, 0.28);
    }
    body.dark-theme #vdUnifiedAppleCanaryCard:not(.is-off) .vd-uac-title,
    body.dark-mode #vdUnifiedAppleCanaryCard:not(.is-off) .vd-uac-title,
    [data-theme="dark"] #vdUnifiedAppleCanaryCard:not(.is-off) .vd-uac-title {
      color: #6EE7B7;
    }
    body.dark-theme #vdUnifiedAppleCanaryCard:not(.is-off) .vd-uac-sub,
    body.dark-mode #vdUnifiedAppleCanaryCard:not(.is-off) .vd-uac-sub,
    [data-theme="dark"] #vdUnifiedAppleCanaryCard:not(.is-off) .vd-uac-sub {
      color: #A7F3D0;
    }
    body.dark-theme #vdUnifiedAppleCanaryCard.is-off,
    body.dark-mode #vdUnifiedAppleCanaryCard.is-off,
    [data-theme="dark"] #vdUnifiedAppleCanaryCard.is-off {
      border-color: rgba(255, 255, 255, 0.14);
    }
    #vdToggleFounderCanaryBtn {
      appearance: none;
      position: relative;
      width: 50px;
      height: 30px;
      min-width: 50px;
      padding: 2px;
      border-radius: 999px;
      border: none;
      background: #34C759;
      cursor: pointer;
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      -webkit-tap-highlight-color: transparent;
      transition: background-color 0.18s ease;
    }
    #vdToggleFounderCanaryBtn[aria-checked="false"] {
      background: #D4D4D8;
    }
    body.dark-theme #vdToggleFounderCanaryBtn[aria-checked="false"],
    body.dark-mode #vdToggleFounderCanaryBtn[aria-checked="false"],
    [data-theme="dark"] #vdToggleFounderCanaryBtn[aria-checked="false"] {
      background: #3F3F46;
    }
    #vdToggleFounderCanaryBtn:focus-visible {
      outline: 2.5px solid #0077ED;
      outline-offset: 2px;
    }
    #vdToggleFounderCanaryBtn .vd-uac-knob {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: #FFFFFF;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.20), 0 0 1px rgba(0, 0, 0, 0.08);
      transform: translate3d(20px, 0, 0);
      transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
      pointer-events: none;
    }
    #vdToggleFounderCanaryBtn[aria-checked="false"] .vd-uac-knob {
      transform: translate3d(0, 0, 0);
    }

    @media (prefers-reduced-motion: reduce) {
      body.vd-plan-clean-canary .vd-c1-hdr-pill,
      body.vd-plan-clean-canary .vd-c1-day-btn,
      body.vd-plan-clean-canary .vd-c1-apple-check,
      body.vd-plan-clean-canary .vd-c1-swap-opt-btn,
      #planClean01AISheetModal .vd-c1-chip-opt,
      #vdUnifiedAppleCanaryCard,
      #vdToggleFounderCanaryBtn,
      #vdToggleFounderCanaryBtn .vd-uac-knob,
      .vd-c1-eleven-wave span {
        transition: none !important;
        animation: none !important;
      }
    }

    /* =========================================================================
       CRONÓGRAFO ALIMENTAR DA SEMANA · MODELO 02 OURA 240° (CANARY -> GLOBAL)
       ========================================================================= */
    body:not(.vd-weekly-score-canary) #vdWeeklyScoreInicioBanner,
    body:not(.vd-weekly-score-canary) #vdWeeklyChronoCard,
    body:not(.vd-weekly-score-canary) #vdBottomNavGoalsUnreadDot {
      display: none !important;
    }

    .vd-wc-sr-progress {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Pílula Editorial iOS Unificada (In-App Reminders & Nota Semanal — Estilo Sora / iOS 18) */
    .vd-ios-editorial-pill,
    #vdWeeklyScoreInicioBanner {
      background: #FFFFFF;
      color: #09090B;
      border-radius: 24px;
      padding: 13px 15px 13px 13px;
      border: 1px solid rgba(24, 24, 27, 0.07);
      box-shadow: 0 14px 34px -8px rgba(9, 9, 11, 0.11), 0 2px 6px rgba(9, 9, 11, 0.04);
      box-sizing: border-box;
    }
    #vibeInAppReminderBanner {
      margin: 0 20px 10px 20px;
      position: relative;
      z-index: 30;
      cursor: pointer;
      transition: transform 0.18s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.18s ease;
    }
    #vibeInAppReminderBanner:active {
      transform: scale(0.985);
    }
    #vdWeeklyScoreInicioBanner {
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 2px 0 11px 0;
      opacity: 1;
      translate: 0 0;
      position: relative;
      transition:
        display 0.16s,
        opacity 0.16s ease-out,
        translate 0.16s cubic-bezier(0.32, 0.72, 0, 1),
        transform 0.16s cubic-bezier(0.32, 0.72, 0, 1);
      transition-behavior: allow-discrete;
    }
    #vdWeeklyScoreInicioBanner:active {
      transform: scale(0.985);
    }
    #vdWeeklyScoreInicioBanner.is-visible {
      display: flex;
    }
    @starting-style {
      #vdWeeklyScoreInicioBanner.is-visible {
        opacity: 0;
        translate: 0 -6px;
      }
    }
    #vdWeeklyScoreInicioBanner:where(:not(.is-visible), [data-closing]) {
      opacity: 0;
      translate: 0 -6px;
      pointer-events: none;
    }
    body.dark-theme .vd-ios-editorial-pill,
    body.dark-mode .vd-ios-editorial-pill,
    [data-theme="dark"] .vd-ios-editorial-pill,
    body.dark-theme #vdWeeklyScoreInicioBanner,
    body.dark-mode #vdWeeklyScoreInicioBanner,
    [data-theme="dark"] #vdWeeklyScoreInicioBanner {
      background: #181A20 !important;
      color: #F5F5F7 !important;
      border-color: rgba(255, 255, 255, 0.09) !important;
      box-shadow: 0 18px 38px rgba(0, 0, 0, 0.52) !important;
    }
    .vd-ios-pill-squircle {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      background: #09090B;
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    }
    .vd-ios-pill-squircle img {
      width: 21px;
      height: 21px;
      object-fit: contain;
      filter: brightness(0) invert(1);
      display: block;
    }
    .vd-ios-pill-main {
      flex: 1;
      min-width: 0;
      text-align: left;
    }
    .vd-ios-pill-top {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 2px;
    }
    .vd-ios-pill-title,
    .vd-wsb-title {
      font-size: 14.5px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #09090B;
      line-height: 1.22;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    body.dark-theme .vd-ios-pill-title,
    body.dark-theme .vd-wsb-title,
    [data-theme="dark"] .vd-ios-pill-title,
    [data-theme="dark"] .vd-wsb-title {
      color: #F5F5F7 !important;
    }
    .vd-ios-pill-time {
      font-size: 12px;
      font-weight: 400;
      color: #8E8E93;
      flex-shrink: 0;
    }
    .vd-ios-pill-body,
    .vd-wsb-sub {
      font-size: 13.2px;
      font-weight: 400;
      letter-spacing: -0.01em;
      color: #3F3F46;
      line-height: 1.32;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      white-space: normal;
      margin-top: 1px;
    }
    body.dark-theme .vd-ios-pill-body,
    body.dark-theme .vd-wsb-sub,
    [data-theme="dark"] .vd-ios-pill-body,
    [data-theme="dark"] .vd-wsb-sub {
      color: #A1A1AA !important;
    }
    .vd-wsb-hit-btn {
      flex: 1;
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 12px;
      border: none;
      background: transparent;
      padding: 0;
      margin: 0;
      cursor: pointer;
      font-family: inherit;
      color: inherit;
      text-align: left;
    }
    .vd-wsb-close-btn {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Ponto Esmeralda Discreto na Aba Progresso */
    #bottomNavGoalsBtn {
      position: relative;
    }
    #vdBottomNavGoalsUnreadDot {
      display: none;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #10B981;
      box-shadow: 0 0 0 2px #FFFFFF;
      margin-left: 3px;
      vertical-align: middle;
    }
    #vdBottomNavGoalsUnreadDot.is-visible {
      display: inline-block;
    }
    body.dark-theme #vdBottomNavGoalsUnreadDot,
    body.dark-mode #vdBottomNavGoalsUnreadDot,
    [data-theme="dark"] #vdBottomNavGoalsUnreadDot {
      box-shadow: 0 0 0 2px #16181D;
    }

    /* Passo 3: Card Cronógrafo Oura 240° na Aba Progresso */
    #vdWeeklyChronoCard {
      display: none;
      position: relative;
      background: #FFFFFF;
      border-radius: 22px;
      padding: 14px 15px 12px 15px;
      margin-bottom: 10px;
      border: 1px solid rgba(15, 23, 42, 0.06);
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.045);
      box-sizing: border-box;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }
    #vdWeeklyChronoCard.is-visible {
      display: block;
    }
    #vdWeeklyChronoCard.is-fresh-reveal {
      border-color: rgba(16, 185, 129, 0.38);
      box-shadow: 0 8px 26px rgba(16, 185, 129, 0.11);
    }
    body.dark-theme #vdWeeklyChronoCard,
    body.dark-mode #vdWeeklyChronoCard,
    [data-theme="dark"] #vdWeeklyChronoCard {
      background: #16181D;
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
    }
    body.dark-theme #vdWeeklyChronoCard.is-fresh-reveal,
    body.dark-mode #vdWeeklyChronoCard.is-fresh-reveal,
    [data-theme="dark"] #vdWeeklyChronoCard.is-fresh-reveal {
      border-color: rgba(16, 185, 129, 0.42);
    }

    .vd-wc-reveal-ribbon {
      display: none;
      align-items: center;
      gap: 6px;
      background: #ECFDF5;
      color: #047857;
      font-size: 10.5px;
      font-weight: 800;
      padding: 5px 10px;
      border-radius: 999px;
      margin-bottom: 10px;
      width: fit-content;
    }
    #vdWeeklyChronoCard.is-fresh-reveal .vd-wc-reveal-ribbon {
      display: inline-flex;
    }
    body.dark-theme .vd-wc-reveal-ribbon,
    body.dark-mode .vd-wc-reveal-ribbon,
    [data-theme="dark"] .vd-wc-reveal-ribbon {
      background: rgba(16, 185, 129, 0.14);
      color: #34D399;
    }

    .vd-wc-main-row {
      display: flex;
      align-items: center;
      gap: 13px;
    }
    .vd-wc-gauge-wrap {
      position: relative;
      width: 94px;
      height: 88px;
      flex-shrink: 0;
    }
    .vd-wc-gauge-center {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 33px;
      pointer-events: none;
    }
    .vd-wc-score-num {
      font-size: 23px;
      font-weight: 800;
      letter-spacing: -0.045em;
      line-height: 1;
      color: #09090B;
      font-variant-numeric: tabular-nums;
    }
    .vd-wc-score-num.is-calibrating {
      font-size: 19px;
      color: #52525B;
    }
    body.dark-theme .vd-wc-score-num,
    body.dark-mode .vd-wc-score-num,
    [data-theme="dark"] .vd-wc-score-num {
      color: #F8FAFC;
    }
    body.dark-theme .vd-wc-score-num.is-calibrating,
    body.dark-mode .vd-wc-score-num.is-calibrating,
    [data-theme="dark"] .vd-wc-score-num.is-calibrating {
      color: #A1A1AA;
    }
    .vd-wc-gauge-badge {
      font-size: 8.5px;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-top: 16px;
      color: #059669;
      white-space: nowrap;
    }
    .vd-wc-gauge-badge.tier-good {
      color: #18181B;
    }
    .vd-wc-gauge-badge.tier-adjust {
      color: #D97706;
    }
    .vd-wc-gauge-badge.tier-calibrating {
      color: #71717A;
    }
    body.dark-theme .vd-wc-gauge-badge.tier-good,
    body.dark-mode .vd-wc-gauge-badge.tier-good,
    [data-theme="dark"] .vd-wc-gauge-badge.tier-good {
      color: #E4E4E7;
    }

    .vd-wc-right-col {
      flex: 1;
      min-width: 0;
    }
    .vd-wc-head-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      margin-bottom: 8px;
    }
    .vd-wc-title {
      font-size: 14px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: #09090B;
    }
    body.dark-theme .vd-wc-title,
    body.dark-mode .vd-wc-title,
    [data-theme="dark"] .vd-wc-title {
      color: #F8FAFC;
    }
    .vd-wc-delta-pill {
      font-size: 10.5px;
      font-weight: 800;
      padding: 2.5px 8px;
      border-radius: 999px;
      background: #ECFDF5;
      color: #047857;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .vd-wc-delta-pill.is-neutral {
      background: #F4F4F5;
      color: #52525B;
    }
    body.dark-theme .vd-wc-delta-pill,
    body.dark-mode .vd-wc-delta-pill,
    [data-theme="dark"] .vd-wc-delta-pill {
      background: rgba(16, 185, 129, 0.15);
      color: #34D399;
    }
    body.dark-theme .vd-wc-delta-pill.is-neutral,
    body.dark-mode .vd-wc-delta-pill.is-neutral,
    [data-theme="dark"] .vd-wc-delta-pill.is-neutral {
      background: rgba(255, 255, 255, 0.08);
      color: #A1A1AA;
    }

    /* Barras Semânticas Nativas <progress> (Modern Web Guidance) */
    .vd-wc-pillar-item {
      margin-bottom: 6px;
    }
    .vd-wc-pillar-item:last-child {
      margin-bottom: 0;
    }
    .vd-wc-pillar-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      margin-bottom: 3px;
    }
    .vd-wc-pillar-lbl {
      color: #71717A;
      font-weight: 600;
    }
    .vd-wc-pillar-val {
      color: #09090B;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
    }
    body.dark-theme .vd-wc-pillar-lbl,
    body.dark-mode .vd-wc-pillar-lbl,
    [data-theme="dark"] .vd-wc-pillar-lbl {
      color: #A1A1AA;
    }
    body.dark-theme .vd-wc-pillar-val,
    body.dark-mode .vd-wc-pillar-val,
    [data-theme="dark"] .vd-wc-pillar-val {
      color: #F8FAFC;
    }

    progress.vd-wc-pillar-bar {
      appearance: none;
      -webkit-appearance: none;
      border: 0 solid;
      overflow: clip;
      display: block;
      width: 100%;
      height: 5px;
      --vd-pb-radius: 999px;
      --vd-pb-track: #F1F5F9;
      --vd-pb-fill: #18181B;
      border-radius: var(--vd-pb-radius);
      background: var(--vd-pb-track);
    }
    progress.vd-wc-pillar-bar.is-protein {
      --vd-pb-fill: #10B981;
    }
    progress.vd-wc-pillar-bar.is-hydration {
      --vd-pb-fill: #3B82F6;
    }
    body.dark-theme progress.vd-wc-pillar-bar,
    body.dark-mode progress.vd-wc-pillar-bar,
    [data-theme="dark"] progress.vd-wc-pillar-bar {
      --vd-pb-track: rgba(255, 255, 255, 0.09);
      --vd-pb-fill: #F8FAFC;
    }
    body.dark-theme progress.vd-wc-pillar-bar.is-protein,
    body.dark-mode progress.vd-wc-pillar-bar.is-protein,
    [data-theme="dark"] progress.vd-wc-pillar-bar.is-protein {
      --vd-pb-fill: #10B981;
    }
    body.dark-theme progress.vd-wc-pillar-bar.is-hydration,
    body.dark-mode progress.vd-wc-pillar-bar.is-hydration,
    [data-theme="dark"] progress.vd-wc-pillar-bar.is-hydration {
      --vd-pb-fill: #3B82F6;
    }
    progress.vd-wc-pillar-bar::-webkit-progress-bar {
      background: transparent;
    }
    progress.vd-wc-pillar-bar::-webkit-progress-value {
      background: var(--vd-pb-fill);
      border-radius: var(--vd-pb-radius);
      transition: inline-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }
    progress.vd-wc-pillar-bar::-moz-progress-bar {
      background: var(--vd-pb-fill);
      border-radius: var(--vd-pb-radius);
      transition: inline-size 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .vd-wc-calibrating-desc {
      font-size: 11.5px;
      color: #71717A;
      line-height: 1.38;
      margin-bottom: 8px;
    }
    body.dark-theme .vd-wc-calibrating-desc,
    body.dark-mode .vd-wc-calibrating-desc,
    [data-theme="dark"] .vd-wc-calibrating-desc {
      color: #A1A1AA;
    }
    .vd-wc-calib-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
    }
    .vd-wc-calib-chip {
      font-size: 10px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 999px;
      background: #F4F4F5;
      color: #71717A;
    }
    .vd-wc-calib-chip.is-done {
      background: #18181B;
      color: #FFFFFF;
    }
    .vd-wc-calib-chip.is-today {
      background: #EEF2FF;
      color: #3730A3;
    }
    body.dark-theme .vd-wc-calib-chip,
    body.dark-mode .vd-wc-calib-chip,
    [data-theme="dark"] .vd-wc-calib-chip {
      background: rgba(255, 255, 255, 0.07);
      color: #A1A1AA;
    }
    body.dark-theme .vd-wc-calib-chip.is-done,
    body.dark-mode .vd-wc-calib-chip.is-done,
    [data-theme="dark"] .vd-wc-calib-chip.is-done {
      background: #F8FAFC;
      color: #09090B;
    }

    .vd-wc-foot-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-top: 11px;
      padding-top: 9px;
      border-top: 1px solid rgba(15, 23, 42, 0.06);
    }
    body.dark-theme .vd-wc-foot-row,
    body.dark-mode .vd-wc-foot-row,
    [data-theme="dark"] .vd-wc-foot-row {
      border-top-color: rgba(255, 255, 255, 0.08);
    }
    .vd-wc-foot-tip {
      font-size: 11px;
      font-weight: 600;
      color: #52525B;
      min-width: 0;
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    body.dark-theme .vd-wc-foot-tip,
    body.dark-mode .vd-wc-foot-tip,
    [data-theme="dark"] .vd-wc-foot-tip {
      color: #A1A1AA;
    }
    .vd-wc-xray-btn {
      min-height: 32px;
      padding: 4px 10px;
      margin: -4px -6px -4px 0;
      border: none;
      border-radius: 999px;
      background: transparent;
      color: #059669;
      font-size: 11.5px;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
    }
    body.dark-theme .vd-wc-xray-btn,
    body.dark-mode .vd-wc-xray-btn,
    [data-theme="dark"] .vd-wc-xray-btn {
      color: #34D399;
    }

    /* Gaveta Nativa <dialog> Raio-X da Semana (Top Layer Fluido 120Hz, Zero Lock em html/body) */
    dialog#vdWeeklyChronoXrayDialog {
      border: none;
      padding: 0;
      background: transparent;
      color: inherit;
      max-width: min(430px, 100vw);
      width: 100%;
      max-height: 88dvh;
      margin: auto auto 0 auto;
      overflow: visible;
      outline: none;
      opacity: 0;
      transition-property: opacity, display, overlay;
      transition-duration: 0.18s;
      transition-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
      transition-behavior: allow-discrete;
    }
    dialog#vdWeeklyChronoXrayDialog[open] {
      display: flex;
      flex-direction: column;
    }
    dialog#vdWeeklyChronoXrayDialog[open]:where(:not([data-closing])) {
      opacity: 1;
      @starting-style {
        opacity: 0;
      }
    }
    dialog#vdWeeklyChronoXrayDialog:modal {
      overscroll-behavior: contain;
    }
    dialog#vdWeeklyChronoXrayDialog::backdrop {
      background-color: rgba(9, 9, 11, 0);
      overflow: hidden;
      overscroll-behavior: contain;
      transition-property: background-color, display, overlay;
      transition-duration: 0.18s;
      transition-timing-function: ease-out;
      transition-behavior: allow-discrete;
    }
    dialog#vdWeeklyChronoXrayDialog[open]:where(:not([data-closing]))::backdrop {
      background-color: rgba(9, 9, 11, 0.5);
      @starting-style {
        background-color: rgba(9, 9, 11, 0);
      }
    }
    .vd-wcx-sheet {
      background: #FAF8F5;
      color: #09090B;
      border-radius: 26px 26px 0 0;
      padding: 12px 18px calc(22px + env(safe-area-inset-bottom, 12px)) 18px;
      box-shadow: 0 -12px 36px rgba(9, 9, 11, 0.2);
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: none;
      -ms-overflow-style: none;
      max-height: 86dvh;
      box-sizing: border-box;
      will-change: transform;
      @media (prefers-reduced-motion: no-preference) {
        transform: translate3d(0, 100%, 0);
        transition: transform 0.2s cubic-bezier(0.32, 0.72, 0, 1);
      }
    }
    .vd-wcx-sheet::-webkit-scrollbar {
      display: none;
    }
    dialog#vdWeeklyChronoXrayDialog[open]:where(:not([data-closing])) .vd-wcx-sheet {
      @media (prefers-reduced-motion: no-preference) {
        transform: translate3d(0, 0, 0);
        @starting-style {
          transform: translate3d(0, 100%, 0);
        }
      }
    }
    .vd-wcx-close-btn {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(113, 113, 122, 0.2);
      background: rgba(113, 113, 122, 0.1);
      color: inherit;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      transition: transform 0.12s ease, background-color 0.12s ease;
    }
    .vd-wcx-close-btn:active {
      transform: scale(0.92);
      background: rgba(113, 113, 122, 0.18);
    }
    .vd-wcx-close-btn:focus-visible,
    #vdWeeklyChronoXrayBtn:focus-visible,
    #vdWeeklyScoreBannerCloseBtn:focus-visible,
    #vdWeeklyScoreBannerRevealBtn:focus-visible {
      outline: 2px solid rgba(24, 24, 27, 0.34) !important;
      outline-offset: 2px !important;
    }
    body.dark-theme .vd-wcx-close-btn:focus-visible,
    body.dark-theme #vdWeeklyChronoXrayBtn:focus-visible,
    body.dark-mode .vd-wcx-close-btn:focus-visible,
    body.dark-mode #vdWeeklyChronoXrayBtn:focus-visible,
    [data-theme="dark"] .vd-wcx-close-btn:focus-visible,
    [data-theme="dark"] #vdWeeklyChronoXrayBtn:focus-visible {
      outline-color: rgba(255, 255, 255, 0.45) !important;
    }
    #vdWeeklyChronoXrayBtn[data-closed-by-pointer="1"]:focus,
    #vdWeeklyChronoXrayBtn[data-closed-by-pointer="1"]:focus-visible {
      outline: none !important;
    }
    @media (hover: none) and (pointer: coarse) {
      .vd-wcx-close-btn:focus,
      .vd-wcx-close-btn:focus-visible,
      #vdWeeklyChronoXrayBtn:focus,
      #vdWeeklyChronoXrayBtn:focus-visible,
      #vdWeeklyScoreBannerCloseBtn:focus,
      #vdWeeklyScoreBannerCloseBtn:focus-visible {
        outline: none !important;
      }
    }
    body.dark-theme .vd-wcx-sheet,
    body.dark-mode .vd-wcx-sheet,
    [data-theme="dark"] .vd-wcx-sheet {
      background: #121418;
      color: #F8FAFC;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .vd-wcx-days-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 6px;
      margin: 12px 0;
    }
    .vd-wcx-day-col {
      background: #FFFFFF;
      border: 1px solid rgba(15, 23, 42, 0.06);
      border-radius: 14px;
      padding: 8px 4px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      text-align: center;
    }
    body.dark-theme .vd-wcx-day-col,
    body.dark-mode .vd-wcx-day-col,
    [data-theme="dark"] .vd-wcx-day-col {
      background: #1A1D24;
      border-color: rgba(255, 255, 255, 0.08);
    }
    .vd-wcx-bar-track {
      width: 8px;
      height: 38px;
      border-radius: 999px;
      background: #F1F5F9;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }
    body.dark-theme .vd-wcx-bar-track,
    body.dark-mode .vd-wcx-bar-track,
    [data-theme="dark"] .vd-wcx-bar-track {
      background: rgba(255, 255, 255, 0.08);
    }
    .vd-wcx-bar-fill {
      width: 100%;
      border-radius: 999px;
      background: #18181B;
    }
    .vd-wcx-bar-fill.is-free {
      background: #D97706;
    }
    .vd-wcx-bar-fill.is-adjust {
      background: #94A3B8;
    }
    body.dark-theme .vd-wcx-bar-fill,
    body.dark-mode .vd-wcx-bar-fill,
    [data-theme="dark"] .vd-wcx-bar-fill {
      background: #10B981;
    }
    body.dark-theme .vd-wcx-bar-fill.is-free,
    body.dark-mode .vd-wcx-bar-fill.is-free,
    [data-theme="dark"] .vd-wcx-bar-fill.is-free {
      background: #F59E0B;
    }

    @media (hover: hover) and (pointer: fine) {
      .vd-wsb-cta-btn:hover {
        opacity: 0.92;
      }
      .vd-wc-xray-btn:hover {
        background: rgba(16, 185, 129, 0.08);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      progress.vd-wc-pillar-bar::-webkit-progress-value {
        transition: none;
      }
      progress.vd-wc-pillar-bar::-moz-progress-bar {
        transition: none;
      }
      dialog#vdWeeklyChronoXrayDialog,
      dialog#vdWeeklyChronoXrayDialog::backdrop,
      #vdWeeklyScoreInicioBanner {
        translate: none;
        transition-duration: 0.08s;
      }
      .vd-wsb-cta-btn,
      .vd-wcx-close-btn,
      #vdWeeklyChronoCard {
        transition: none !important;
      }
    }
