/* Extrait de communaute.html le 20260823-203619 — bloc <style id="all-links-drawer-style">.
   Posé ici pour que le navigateur le garde en cache au lieu de le
   retélécharger à chaque visite. L'ordre de cascade est conservé :
   le <link> occupe exactement la place de l'ancien <style>. */

/* === Arbre à Liens v2 — rebuild léger, theme-aware === */
.tll-overlay{position:fixed;inset:0;z-index:99950;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .14s ease-out;will-change:opacity;}
.tll-overlay.open{opacity:1;pointer-events:auto;}
.tll-drawer{position:fixed!important;top:0!important;left:0!important;height:100vh!important;height:100dvh!important;width:min(340px,92vw)!important;z-index:99951!important;background:var(--bg2,#0b0b18)!important;border-right:1px solid color-mix(in srgb,var(--g,#7c5cff) 35%,transparent)!important;box-shadow:4px 0 18px rgba(0,0,0,.45)!important;transform:translate3d(-105%,0,0);transition:transform .16s cubic-bezier(.25,.46,.45,.94);display:flex!important;flex-direction:column!important;overflow:hidden;will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden;}
.tll-drawer.open{transform:translate3d(0,0,0)!important;}
.tll-head{flex:0 0 auto;padding:16px 16px 14px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--border,rgba(255,255,255,.08));background:linear-gradient(180deg,color-mix(in srgb,var(--g,#7c5cff) 8%,transparent),transparent);}
.tll-head-orb{width:34px;height:34px;border-radius:50%;background:var(--gg,linear-gradient(135deg,#7c5cff,#38e8d0));display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;box-shadow:0 0 14px color-mix(in srgb,var(--g,#7c5cff) 45%,transparent);}
.tll-head-txt{flex:1;min-width:0;}
.tll-head-title{font-family:'Cinzel',serif;font-size:13px;letter-spacing:.18em;color:var(--t,#fff);font-weight:500;text-transform:uppercase;}
.tll-head-sub{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--tm,#8b8fb5);margin-top:2px;}
.tll-close{margin-left:auto;background:transparent;border:none;color:var(--tm,#8b8fb5);font-size:22px;cursor:pointer;padding:4px 8px;line-height:1;border-radius:8px;transition:background .15s ease,color .15s ease;}
.tll-close:hover{background:color-mix(in srgb,var(--g,#7c5cff) 12%,transparent);color:var(--t,#fff);}
.tll-body{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;padding:8px 12px 14px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--g,#7c5cff) 40%,transparent) transparent;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.tll-body::-webkit-scrollbar{width:5px;}
.tll-body::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--g,#7c5cff) 40%,transparent);border-radius:3px;}
.tll-cat{font-family:'Cinzel',serif;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--tm,#8b8fb5);margin:14px 4px 6px;padding-bottom:5px;border-bottom:1px solid var(--border,rgba(255,255,255,.06));}
.tll-cat:first-child{margin-top:6px;}
.tll-link{display:flex;align-items:center;gap:11px;padding:9px 10px;margin:2px 0;border-radius:9px;text-decoration:none;color:var(--t,#eef0ff);transition:background .15s ease,transform .12s ease;border:1px solid transparent;-webkit-tap-highlight-color:transparent;}
.tll-link-soon{cursor:default;opacity:.72;}
.tll-link-soon:hover{background:transparent;transform:none;}
.tll-soon-badge{display:inline-block;margin-left:8px;padding:2px 8px;font-size:9.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#e8c75a;background:rgba(232,201,118,.10);border:1px solid rgba(232,201,118,.35);border-radius:999px;vertical-align:middle;}
.tll-link:hover,.tll-link:focus-visible{background:color-mix(in srgb,var(--g,#7c5cff) 10%,transparent);border-color:color-mix(in srgb,var(--g,#7c5cff) 25%,transparent);outline:none;}
.tll-link:active{transform:scale(.98);}
.tll-link-ico{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--g,#7c5cff) 14%,transparent);font-size:15px;flex-shrink:0;}
.tll-link-txt{flex:1;min-width:0;}
.tll-link-name{font-size:13px;font-weight:600;color:var(--t,#eef0ff);letter-spacing:.1px;}
.tll-link-sub{font-size:10.5px;color:var(--td,#5f648c);margin-top:1px;}
.tll-foot{flex:0 0 auto;padding:12px 14px 16px;border-top:1px solid var(--border,rgba(255,255,255,.08));background:linear-gradient(0deg,color-mix(in srgb,var(--accent,#38e8d0) 6%,transparent),transparent);}
.tll-assist{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;text-decoration:none;background:color-mix(in srgb,var(--accent,#38e8d0) 14%,transparent);border:1px solid color-mix(in srgb,var(--accent,#38e8d0) 38%,transparent);color:var(--accent,#38e8d0);transition:background .15s ease,border-color .15s ease;}
.tll-assist:hover{background:color-mix(in srgb,var(--accent,#38e8d0) 22%,transparent);border-color:var(--accent,#38e8d0);}
.tll-assist-ico{font-size:17px;}
.tll-assist-txt{flex:1;min-width:0;}
.tll-assist-name{font-size:13px;font-weight:600;color:var(--accent,#38e8d0);letter-spacing:.1px;}
.tll-assist-sub{font-size:10.5px;color:color-mix(in srgb,var(--accent,#38e8d0) 65%,var(--tm,#8b8fb5));margin-top:1px;}
.tll-assist-arrow{font-size:16px;color:var(--accent,#38e8d0);}
@media (max-width:480px){.tll-drawer{width:min(320px,90vw)!important;}}
@media (prefers-reduced-motion:reduce){.tll-drawer,.tll-overlay{transition:none!important;}}
/* ===== Bouton Arbre à Liens — harmonisé style sn-tab (neon-night) ===== */
.space-nav{position:relative;}
.arbreliens-btn{
  display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
  margin:0 8px 0 0;padding:7px 14px;
  position:sticky;left:6px;z-index:3;
  background:var(--bg,#06060e);
  border:1px solid color-mix(in srgb,var(--g,#7c5cff) 28%,transparent);
  border-radius:22px;
  cursor:pointer;
  font-family:inherit;font-size:.78rem;font-weight:500;letter-spacing:.02em;
  color:var(--tm,#8b8fb5);
  white-space:nowrap;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.arbreliens-btn:hover{
  background:color-mix(in srgb,var(--g,#7c5cff) 10%,transparent);
  border-color:color-mix(in srgb,var(--g,#7c5cff) 55%,transparent);
  color:var(--t,#eef0ff);
}
.arbreliens-btn.open{
  background:linear-gradient(120deg,color-mix(in srgb,var(--g,#7c5cff) 26%,transparent),color-mix(in srgb,var(--accent,#38e8d0) 14%,transparent));
  border-color:color-mix(in srgb,var(--g,#7c5cff) 55%,transparent);
  color:var(--t,#eef0ff);
}
.arbreliens-orb{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;font-size:1rem;line-height:1;}
.arbreliens-orb img{display:none!important;}
.arbreliens-orb::before{content:"🌳";font-size:.95rem;}
.arbreliens-label{font-family:inherit!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;-webkit-text-fill-color:currentColor!important;color:inherit!important;text-shadow:none!important;font-weight:500;}
.arbreliens-chev{font-size:.9rem;line-height:1;color:inherit;opacity:.7;transition:transform .18s ease;}
.arbreliens-btn:hover .arbreliens-chev{transform:translateX(2px);opacity:1;}
.arbreliens-btn.open .arbreliens-chev{transform:rotate(90deg);opacity:1;}
@media(max-width:720px){
  .arbreliens-btn{padding:5px 10px;font-size:.7rem;border-radius:16px;gap:4px;}
  .arbreliens-orb{width:14px;height:14px;}
  .arbreliens-orb::before{font-size:.8rem;}
}

/* ====================================================================== */
/* === ARBRE À LIENS — Encart sidebar premium (planche bois doré) v2 === */
/* ====================================================================== */
.sb-arbre-card{
  position:relative;
  margin:12px 10px 14px;
  padding:14px 14px 14px 16px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-rows:auto auto;
  gap:2px 14px;
  align-items:center;
  cursor:pointer;
  border-radius:16px;
  background:
    linear-gradient(135deg, rgba(212,168,83,0.10) 0%, rgba(212,168,83,0.03) 45%, rgba(124,92,255,0.06) 100%),
    linear-gradient(180deg, rgba(20,15,10,0.55), rgba(12,10,18,0.85));
  border:1px solid rgba(212,168,83,0.28);
  box-shadow:
    0 1px 0 rgba(255,235,180,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 6px 22px rgba(0,0,0,0.45),
    0 0 0 1px rgba(212,168,83,0.04);
  overflow:hidden;
  isolation:isolate;
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s ease;
  -webkit-tap-highlight-color:transparent;
  user-select:none;
}
.sb-arbre-card::before{
  content:"";
  position:absolute;inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(212,168,83,0.025) 0 1px, transparent 1px 3px),
    radial-gradient(120% 80% at 50% -10%, rgba(212,168,83,0.10), transparent 60%);
  pointer-events:none;
  z-index:0;
  border-radius:inherit;
  opacity:.7;
  mix-blend-mode:screen;
}
.sb-arbre-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, rgba(255,222,150,0.55), rgba(212,168,83,0.05) 35%, rgba(124,92,255,0.45) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;
  pointer-events:none;
  z-index:1;
  opacity:.85;
}
.sb-arbre-card:hover{
  transform:translateY(-2px);
  border-color:rgba(212,168,83,0.55);
  box-shadow:
    0 1px 0 rgba(255,235,180,0.10) inset,
    0 -1px 0 rgba(0,0,0,0.4) inset,
    0 14px 36px rgba(0,0,0,0.55),
    0 0 24px rgba(212,168,83,0.18);
}
.sb-arbre-card:active{ transform:translateY(0); }
.sb-arbre-card:focus-visible{ outline:2px solid rgba(212,168,83,0.7); outline-offset:3px; }

/* halo doré pulsé en fond */
.sb-arbre-glow{
  position:absolute;
  top:-30%; left:-10%;
  width:60%; height:160%;
  background:radial-gradient(closest-side, rgba(255,210,130,0.18), transparent 70%);
  filter:blur(8px);
  z-index:0;
  pointer-events:none;
  animation:sbArbreHalo 5.5s ease-in-out infinite alternate;
}
@keyframes sbArbreHalo{
  0%   { transform:translateX(-10%) scale(0.95); opacity:.55; }
  100% { transform:translateX(20%)  scale(1.08); opacity:.95; }
}

/* étincelles flottantes */
.sb-arbre-leaves{
  position:absolute; inset:0;
  pointer-events:none; z-index:0;
}
.sb-leaf{
  position:absolute;
  font-size:9px;
  color:rgba(255,225,160,.85);
  text-shadow:0 0 6px rgba(255,210,130,.7);
  animation:sbLeafFloat 4.5s ease-in-out infinite;
}
.sb-leaf-1{ top:14%; left:18%;  animation-delay:0s;   font-size:8px; }
.sb-leaf-2{ top:55%; left:8%;   animation-delay:1.2s; font-size:10px; color:rgba(255,255,255,.7);}
.sb-leaf-3{ top:30%; left:28%;  animation-delay:2.4s; font-size:7px; }
@keyframes sbLeafFloat{
  0%,100% { transform:translateY(0)    rotate(0deg);   opacity:.3; }
  50%     { transform:translateY(-6px) rotate(15deg);  opacity:1; }
}

/* Orbe arbre */
.sb-arbre-orb-wrap{
  position:relative;
  width:46px; height:46px;
  grid-row:1 / span 2;
  display:flex; align-items:center; justify-content:center;
  z-index:2;
}
.sb-arbre-orb-ring{
  position:absolute; inset:0;
  border-radius:50%;
  background:
    conic-gradient(from 0deg, #d4a853, #f4d488, #7c5cff, #d4a853);
  padding:1.5px;
  -webkit-mask:radial-gradient(circle, transparent 56%, #000 57%);
          mask:radial-gradient(circle, transparent 56%, #000 57%);
  animation:sbArbreSpin 9s linear infinite;
  opacity:.85;
}
.sb-arbre-orb-tree{
  position:relative;
  width:38px; height:38px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
  line-height:1;
  background:radial-gradient(circle at 30% 30%, rgba(255,225,160,.35), rgba(20,15,10,.9) 70%);
  box-shadow:
    inset 0 0 10px rgba(0,0,0,.7),
    0 0 14px rgba(212,168,83,.45);
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.5));
}
@keyframes sbArbreSpin{ to{ transform:rotate(360deg); } }

/* Texte */
.sb-arbre-txt{ position:relative; z-index:2; min-width:0; grid-column:2; }
.sb-arbre-eyebrow{
  font-family:'Cinzel',serif;
  font-size:8.5px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(212,168,83,.85);
  margin-bottom:2px;
  white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;
}
.sb-arbre-title{
  font-family:'Cormorant Garamond',serif;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.1;
  letter-spacing:.4px;
  background:linear-gradient(120deg, #fff3cf 0%, #f4d488 35%, #d4a853 65%, #fff3cf 100%);
  background-size:200% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:sbArbreShimmer 6s ease-in-out infinite;
  text-shadow:0 0 14px rgba(212,168,83,.18);
  white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;
}
@keyframes sbArbreShimmer{
  0%,100% { background-position:0% 50%; }
  50%     { background-position:100% 50%; }
}
.sb-arbre-sub{
  font-size:.68rem;
  color:rgba(220,210,200,.62);
  margin-top:3px;
  letter-spacing:.02em;
  white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis;
}

/* CTA bouton */
.sb-arbre-cta{
  position:relative; z-index:2;
  grid-column:3; grid-row:1 / span 2;
  display:inline-flex; align-items:center; gap:5px;
  padding:7px 11px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(212,168,83,.22), rgba(124,92,255,.15));
  border:1px solid rgba(212,168,83,.45);
  color:#fff3cf;
  font-size:.66rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  box-shadow:0 0 14px rgba(212,168,83,.12);
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.sb-arbre-cta-arrow{ display:inline-block; transition:transform .25s cubic-bezier(.2,.8,.2,1); }
.sb-arbre-card:hover .sb-arbre-cta{
  background:linear-gradient(135deg, rgba(212,168,83,.42), rgba(124,92,255,.28));
  border-color:rgba(255,222,150,.85);
  box-shadow:0 0 18px rgba(212,168,83,.35);
}
.sb-arbre-card:hover .sb-arbre-cta-arrow{ transform:translateX(4px); }

/* Mobile compact */
@media(max-width:480px){
  .sb-arbre-card{
    margin:10px 8px 12px;
    padding:12px 12px 12px 14px;
    gap:2px 11px;
    border-radius:14px;
  }
  .sb-arbre-orb-wrap{ width:40px; height:40px; }
  .sb-arbre-orb-tree{ width:34px; height:34px; font-size:19px; }
  .sb-arbre-title{ font-size:.98rem; }
  .sb-arbre-sub{ font-size:.64rem; }
  .sb-arbre-eyebrow{ font-size:8px; letter-spacing:.2em; }
  .sb-arbre-cta-txt{ display:none; }
  .sb-arbre-cta{ padding:7px 9px; }
}

/* Reduce motion */
@media(prefers-reduced-motion:reduce){
  .sb-arbre-glow, .sb-leaf, .sb-arbre-orb-ring, .sb-arbre-title{ animation:none!important; }
}

/* ====================================================================== */
/* === BARRE DU HAUT MOBILE — chaleureuse, doree, premium (2026-06-26) === */
/* ====================================================================== */
@media (max-width:720px){
  .ch-header{
    position:relative;
    padding:11px 12px 11px 12px !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    background:
      radial-gradient(120% 140% at 0% 50%, rgba(212,168,83,0.10), transparent 55%),
      linear-gradient(180deg, rgba(20,15,10,0.55) 0%, rgba(12,10,18,0.85) 100%) !important;
    border-bottom:1px solid transparent !important;
    box-shadow:
      0 1px 0 rgba(255,235,180,0.06) inset,
      0 -1px 0 rgba(0,0,0,0.4) inset,
      0 6px 18px rgba(0,0,0,0.35) !important;
  }
  .ch-header::before{
    content:"";
    position:absolute; left:8px; right:8px; bottom:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(212,168,83,0.55) 25%, rgba(124,92,255,0.45) 65%, transparent);
    opacity:.75;
    pointer-events:none;
  }
  .ch-header::after{
    content:"";
    position:absolute; left:8px; right:8px; bottom:-2px;
    height:6px;
    background:radial-gradient(closest-side, rgba(212,168,83,0.18), transparent 70%);
    filter:blur(3px);
    pointer-events:none;
  }

  /* Bouton menu burger — chaleureux */
  .ch-header .mobile-toggle{
    width:38px !important; height:38px !important;
    border-radius:11px !important;
    background:linear-gradient(135deg, rgba(212,168,83,0.18), rgba(124,92,255,0.10)) !important;
    border:1px solid rgba(212,168,83,0.32) !important;
    color:#fff3cf !important;
    box-shadow:
      0 1px 0 rgba(255,235,180,0.10) inset,
      0 0 12px rgba(212,168,83,0.12) !important;
    transition:transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
  }
  .ch-header .mobile-toggle:hover,
  .ch-header .mobile-toggle:active{
    background:linear-gradient(135deg, rgba(212,168,83,0.32), rgba(124,92,255,0.18)) !important;
    border-color:rgba(255,222,150,0.7) !important;
    box-shadow:0 0 18px rgba(212,168,83,0.32) !important;
    transform:translateY(-1px);
  }

  /* Icone salon + nom : pastille douce */
  .ch-header .ch-icon{
    width:34px; height:34px;
    display:inline-flex; align-items:center; justify-content:center;
    font-size:1.15rem !important;
    border-radius:50%;
    background:radial-gradient(circle at 30% 30%, rgba(255,225,160,.18), rgba(20,15,10,.85) 75%);
    box-shadow:
      inset 0 0 8px rgba(0,0,0,.55),
      0 0 10px rgba(212,168,83,.28);
    flex-shrink:0;
  }
  .ch-header .ch-info{ flex:1; min-width:0; }
  .ch-header .ch-name{
    font-family:'Cormorant Garamond', serif !important;
    font-size:1.05rem !important;
    font-weight:700 !important;
    line-height:1.15 !important;
    letter-spacing:.3px !important;
    background:linear-gradient(120deg, #fff3cf 0%, #f4d488 45%, #d4a853 100%);
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:0 0 12px rgba(212,168,83,.15);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .ch-header .ch-desc{
    font-size:.62rem !important;
    line-height:1.2 !important;
    color:rgba(220,210,200,.6) !important;
    letter-spacing:.02em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:48vw;
  }

  /* Boutons d'action droite (pin, DM, membres) : ronds dores */
  .ch-header .ch-icon-btn,
  .ch-header .mobile-members-btn{
    width:38px !important; height:38px !important;
    padding:0 !important;
    border-radius:11px !important;
    background:linear-gradient(135deg, rgba(212,168,83,0.10), rgba(124,92,255,0.06)) !important;
    border:1px solid rgba(212,168,83,0.22) !important;
    color:rgba(255,243,207,.9) !important;
    box-shadow:
      0 1px 0 rgba(255,235,180,0.06) inset,
      0 2px 8px rgba(0,0,0,0.35) !important;
    transition:transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    flex-shrink:0 !important;
  }
  .ch-header .ch-icon-btn:hover,
  .ch-header .ch-icon-btn:active,
  .ch-header .mobile-members-btn:hover,
  .ch-header .mobile-members-btn:active{
    background:linear-gradient(135deg, rgba(212,168,83,0.28), rgba(124,92,255,0.14)) !important;
    border-color:rgba(255,222,150,0.65) !important;
    color:#fff3cf !important;
    box-shadow:
      0 0 16px rgba(212,168,83,0.30),
      0 2px 10px rgba(0,0,0,0.45) !important;
    transform:translateY(-1px);
  }
  .ch-header .ch-icon-btn svg,
  .ch-header .mobile-members-btn svg{
    width:18px !important; height:18px !important;
    stroke:currentColor;
  }

  /* Boutons d'action existants (.ch-actions) si presents */
  .ch-header .ch-actions{ gap:6px !important; }
  .ch-header .ch-actions button{
    padding:6px 10px !important;
    border-radius:10px !important;
    background:linear-gradient(135deg, rgba(212,168,83,0.10), rgba(124,92,255,0.06)) !important;
    border:1px solid rgba(212,168,83,0.22) !important;
    color:rgba(255,243,207,.9) !important;
    box-shadow:0 1px 0 rgba(255,235,180,0.06) inset !important;
    font-weight:600 !important;
    letter-spacing:.02em !important;
  }
  .ch-header .ch-actions button:hover,
  .ch-header .ch-actions button:active{
    background:linear-gradient(135deg, rgba(212,168,83,0.28), rgba(124,92,255,0.14)) !important;
    border-color:rgba(255,222,150,0.65) !important;
    color:#fff3cf !important;
  }
}

/* ====================================================================== */
/* === MAHA-MODE 2026-06-26 : Fix thèmes clairs (overrides HTML inline) === */
/* === Source : audit visuel automatique cohorte-scenarios.js             */
/* ====================================================================== */

/* --- Arbre à Liens encart : version theme clair --- */
[data-theme="aube"] .sb-arbre-card,
[data-theme="sable"] .sb-arbre-card,
[data-theme="marbre"] .sb-arbre-card,
[data-theme="glacier"] .sb-arbre-card,
[data-theme="lotus"] .sb-arbre-card{
  background:
    linear-gradient(135deg, var(--glow-strong,rgba(184,134,11,.2)) 0%, transparent 45%, var(--glow,rgba(184,134,11,.1)) 100%),
    linear-gradient(180deg, var(--bg2,#f4f0e8), var(--bg,#faf7f2));
  border:1px solid var(--g, #b8860b);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 -1px 0 rgba(0,0,0,0.06) inset,
    0 6px 22px rgba(0,0,0,0.10);
}
[data-theme="aube"] .sb-arbre-eyebrow,
[data-theme="sable"] .sb-arbre-eyebrow,
[data-theme="marbre"] .sb-arbre-eyebrow,
[data-theme="glacier"] .sb-arbre-eyebrow,
[data-theme="lotus"] .sb-arbre-eyebrow{
  color:var(--gd, #8b6508);
  opacity:1;
}
[data-theme="aube"] .sb-arbre-title,
[data-theme="sable"] .sb-arbre-title,
[data-theme="marbre"] .sb-arbre-title,
[data-theme="glacier"] .sb-arbre-title,
[data-theme="lotus"] .sb-arbre-title{
  background:linear-gradient(120deg, var(--gd, #8b6508) 0%, var(--g, #b8860b) 50%, var(--gd, #8b6508) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:none;
}
[data-theme="aube"] .sb-arbre-sub,
[data-theme="sable"] .sb-arbre-sub,
[data-theme="marbre"] .sb-arbre-sub,
[data-theme="glacier"] .sb-arbre-sub,
[data-theme="lotus"] .sb-arbre-sub{
  color:var(--t, #2c2416);
  opacity:.75;
}
[data-theme="aube"] .sb-arbre-cta,
[data-theme="sable"] .sb-arbre-cta,
[data-theme="marbre"] .sb-arbre-cta,
[data-theme="glacier"] .sb-arbre-cta,
[data-theme="lotus"] .sb-arbre-cta{
  background:linear-gradient(135deg, var(--gd, #8b6508), #5a3f04);
  border:1px solid var(--gd, #8b6508);
  color:#fff;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
[data-theme="aube"] .sb-arbre-orb-tree,
[data-theme="sable"] .sb-arbre-orb-tree,
[data-theme="marbre"] .sb-arbre-orb-tree,
[data-theme="glacier"] .sb-arbre-orb-tree,
[data-theme="lotus"] .sb-arbre-orb-tree{
  background:radial-gradient(circle at 30% 30%, var(--gl, #daa520), var(--gd, #8b6508) 70%);
  box-shadow:inset 0 0 10px rgba(0,0,0,.4), 0 0 14px var(--glow-strong, rgba(184,134,11,.3));
}

/* --- Barre du haut mobile theme clair --- */
@media (max-width:720px){
  [data-theme="aube"] .ch-header,
  [data-theme="sable"] .ch-header,
  [data-theme="marbre"] .ch-header,
  [data-theme="glacier"] .ch-header,
  [data-theme="lotus"] .ch-header{
    background:
      radial-gradient(120% 140% at 0% 50%, var(--glow,rgba(184,134,11,.1)), transparent 55%),
      linear-gradient(180deg, var(--bg2,#f4f0e8), var(--bg,#faf7f2));
    box-shadow:
      0 1px 0 rgba(255,255,255,0.5) inset,
      0 -1px 0 rgba(0,0,0,0.06) inset,
      0 4px 12px rgba(0,0,0,0.08);
  }
  [data-theme="aube"] .ch-header .mobile-toggle,
  [data-theme="sable"] .ch-header .mobile-toggle,
  [data-theme="marbre"] .ch-header .mobile-toggle,
  [data-theme="glacier"] .ch-header .mobile-toggle,
  [data-theme="lotus"] .ch-header .mobile-toggle,
  [data-theme="aube"] .ch-header .ch-icon-btn,
  [data-theme="sable"] .ch-header .ch-icon-btn,
  [data-theme="marbre"] .ch-header .ch-icon-btn,
  [data-theme="glacier"] .ch-header .ch-icon-btn,
  [data-theme="lotus"] .ch-header .ch-icon-btn,
  [data-theme="aube"] .ch-header .mobile-members-btn,
  [data-theme="sable"] .ch-header .mobile-members-btn,
  [data-theme="marbre"] .ch-header .mobile-members-btn,
  [data-theme="glacier"] .ch-header .mobile-members-btn,
  [data-theme="lotus"] .ch-header .mobile-members-btn,
  [data-theme="aube"] .ch-header .ch-act-btn,
  [data-theme="sable"] .ch-header .ch-act-btn,
  [data-theme="marbre"] .ch-header .ch-act-btn,
  [data-theme="glacier"] .ch-header .ch-act-btn,
  [data-theme="lotus"] .ch-header .ch-act-btn{
    background:linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.3));
    border:1px solid var(--border-hover, rgba(184,134,11,.25));
    color:var(--gd, #8b6508);
    box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 1px 3px rgba(0,0,0,.08);
  }
  [data-theme="aube"] .ch-header .ch-icon,
  [data-theme="sable"] .ch-header .ch-icon,
  [data-theme="marbre"] .ch-header .ch-icon,
  [data-theme="glacier"] .ch-header .ch-icon,
  [data-theme="lotus"] .ch-header .ch-icon{
    background:radial-gradient(circle at 30% 30%, var(--glow-strong, rgba(184,134,11,.2)), var(--bg3, #ede8de) 75%);
    box-shadow:inset 0 0 6px rgba(0,0,0,.08), 0 0 8px var(--glow, rgba(184,134,11,.1));
  }
  [data-theme="aube"] .ch-header .ch-name,
  [data-theme="sable"] .ch-header .ch-name,
  [data-theme="marbre"] .ch-header .ch-name,
  [data-theme="glacier"] .ch-header .ch-name,
  [data-theme="lotus"] .ch-header .ch-name{
    background:linear-gradient(120deg, var(--gd, #8b6508), var(--g, #b8860b) 50%, var(--gd, #8b6508));
    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;
    text-shadow:none;
  }
  [data-theme="aube"] .ch-header .ch-desc,
  [data-theme="sable"] .ch-header .ch-desc,
  [data-theme="marbre"] .ch-header .ch-desc,
  [data-theme="glacier"] .ch-header .ch-desc,
  [data-theme="lotus"] .ch-header .ch-desc{
    color:var(--tm, #7a7060);
  }
}

/* === C.25 — Arbre à Liens : tiroirs déployables === */
.tll-section{margin:0;padding:0;border:none;background:transparent}
.tll-section summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-family:'Cinzel',serif;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--tm,#8b8fb5);margin:14px 4px 6px;padding:5px 6px 5px 4px;border-bottom:1px solid var(--border,rgba(255,255,255,.06));user-select:none;transition:color .15s ease,background .15s ease;border-radius:6px 6px 0 0}
.tll-section summary:hover{color:var(--t,#fff);background:color-mix(in srgb,var(--g,#7c5cff) 6%,transparent)}
.tll-section summary::-webkit-details-marker{display:none}
.tll-section summary::after{content:'';display:inline-block;width:7px;height:7px;margin-left:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);transition:transform .18s ease;opacity:.7;flex-shrink:0}
.tll-section[open] summary::after{transform:rotate(225deg) translate(-2px,-2px);opacity:1}
.tll-section[open] summary{color:var(--t,#fff)}
.tll-section > .tll-link:first-of-type{margin-top:4px}
.tll-section > .tll-link:last-child{margin-bottom:6px}

