/* 04/10 — NUTRITION · RÉSERVE « effets du formulaire repas + police/dégradé » (A choisira la direction visuelle AVANT mise en service).
 * Fichier AJOUTÉ, chargé en dernier, entièrement derrière l'interrupteur localStorage nutri.cristal.plus = '1' (nutrition-frise.js pose html[data-nutri-cristal-plus="1"]).
 * ÉTEINT PAR DÉFAUT : sans l'interrupteur, aucune règle d'ici ne s'applique (rendu identique au lot livré). Charte noir et or ; police Barlow Condensed (déjà auto-hébergée, aucun CDN). */
html[data-nutri-cristal-plus="1"] .tr-nutri .nf-f, html[data-nutri-cristal-plus="1"] .tr-nutri .nf-ch {
  background: var(--cr-reflet), #121115;
  border: 1px solid rgba(255, 233, 184, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .4);
}
html[data-nutri-cristal-plus="1"] .tr-nutri .nf-f input { caret-color: #FFE3A3; }
html[data-nutri-cristal-plus="1"] .tr-nutri .nf-f:focus-within { border-color: rgba(255, 214, 140, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(255, 214, 140, .55); }
html[data-nutri-cristal-plus="1"] .tr-nutri .nf-eau-b { font-family: 'Barlow Condensed', 'Barlow', sans-serif; }

/* ── 3. Le jaune orangé dégradé → cristal (police Barlow Condensed, déjà auto-hébergée : aucun CDN) ── */
@media (prefers-contrast: no-preference), (prefers-contrast: less) {
  @media (forced-colors: none) {
    html[data-nutri-cristal-plus="1"]:root:root .tr-nutri.tr-nutri :is(.tr-cta:not(.tr-cta-sombre):not(.tr-cta-contour), .tr-plan-btn, .nf-tab.on, .nf-cta.or),
    html[data-nutri-cristal-plus="1"]:root:root .tr-nutri.tr-nutri .nf-lien-carnet {
      background-image: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08) 46%, rgba(255, 255, 255, .02) 100%) !important;
      background-color: rgba(34, 29, 20, .78) !important;
      border: 1px solid rgba(255, 233, 184, .62);
      color: #FFEFC9 !important; text-shadow: 0 1px 0 rgba(0, 0, 0, .55) !important;
      font-family: 'Barlow Condensed', 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 700 !important; letter-spacing: .035em;
      box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(0, 0, 0, .4), 0 0 14px -4px rgba(212, 160, 74, .45) !important;
    }
    html[data-nutri-cristal-plus="1"]:root:root .tr-nutri.tr-nutri :is(.tr-cta:not(.tr-cta-sombre):not(.tr-cta-contour), .tr-plan-btn, .nf-cta.or) { font-size: 17px; }
  }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (prefers-contrast: no-preference), (prefers-contrast: less) {
    html[data-nutri-cristal-plus="1"]:root:root .tr-nutri.tr-nutri :is(.tr-cta:not(.tr-cta-sombre):not(.tr-cta-contour), .tr-plan-btn, .nf-tab.on, .nf-cta.or) { -webkit-backdrop-filter: blur(8px) saturate(1.3); backdrop-filter: blur(8px) saturate(1.3); }
  }
}

