/* RED REP CLUB V9 — identité Julia + catégories de progression */

.exercise-library-filters{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(190px,.7fr);gap:10px}
.exercise-library-filters .field{margin:0}
.exercise-card-labels{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:9px}
.category-pill{display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;border:1px solid color-mix(in srgb,var(--accent) 28%,transparent);background:color-mix(in srgb,var(--accent) 10%,transparent);color:color-mix(in srgb,var(--accent) 74%,white);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.category-rule-card{display:grid;gap:14px;margin-bottom:16px;padding:16px;border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line-soft));border-radius:18px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 9%,var(--card-2)),var(--card-2));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.category-rule-card>div:first-child>span{display:block;color:color-mix(in srgb,var(--accent) 76%,white);font-size:9px;font-weight:900;letter-spacing:.15em}
.category-rule-card>div:first-child>strong{display:block;margin-top:6px;font:600 21px/1.1 Oswald,sans-serif;text-transform:uppercase}
.category-rule-card p{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.55}
.category-rule-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.category-rule-metrics span{display:grid;gap:2px;padding:10px;border:1px solid var(--line-soft);border-radius:13px;background:rgba(255,255,255,.025);color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.05em}
.category-rule-metrics b{color:var(--text);font-size:12px;letter-spacing:0}
.form-hint{margin:-2px 0 14px;color:var(--muted);font-size:10px;line-height:1.55}

/* La carte Julia annonce sa couleur avant même la connexion. */
.duo-profile-card[data-slot="2"]{border-color:rgba(255,87,191,.3);background:radial-gradient(circle at 84% 4%,rgba(255,73,186,.17),transparent 38%),linear-gradient(145deg,#1b0d19,#0f0b11)}
.duo-profile-card[data-slot="2"]:after{background:rgba(255,67,179,.2);box-shadow:0 0 65px rgba(255,68,180,.22)}
.duo-profile-card[data-slot="2"] .duo-avatar,.duo-auth-card.duo-slot-2 .duo-avatar{background:linear-gradient(145deg,#ff8bd8,#ff3aaf 52%,#bb126f);box-shadow:0 0 0 1px rgba(255,173,224,.34),0 0 26px rgba(255,61,177,.42),0 14px 36px rgba(158,7,92,.3);color:#fff}
.duo-profile-card[data-slot="2"] .duo-profile-slot,.duo-auth-card.duo-slot-2 .duo-auth-profile span{color:#ff7bce}
.duo-profile-card[data-slot="2"]:hover,.duo-profile-card[data-slot="2"]:focus-visible,.duo-profile-card[data-slot="2"].is-current{border-color:#ff55bd;box-shadow:0 20px 55px rgba(0,0,0,.35),0 0 0 1px rgba(255,89,194,.2),0 0 38px rgba(255,45,164,.2)}
.duo-auth-card.duo-slot-2{border-color:rgba(255,91,194,.25);background:radial-gradient(circle at 95% 0,rgba(255,67,179,.12),transparent 38%),#120c13}
.duo-auth-card.duo-slot-2 .primary-button{background:linear-gradient(180deg,#ff74cc,#f33aaa 48%,#c10e73);box-shadow:0 0 26px rgba(255,54,171,.3),inset 0 1px 0 rgba(255,255,255,.28)}
.duo-auth-card.duo-slot-2 input:focus{border-color:#ff60c1;box-shadow:0 0 0 3px rgba(255,62,176,.14)}
.duo-julia-gate:before{background:linear-gradient(90deg,transparent,#ff62c3 30%,#ff9bd9 70%,transparent);box-shadow:0 0 25px rgba(255,62,176,.42)}
.duo-julia-gate .duo-gate-copy>span,.duo-julia-gate .duo-onboarding-profile span{color:#ff81d0}
.duo-julia-gate .duo-gate-brand img{filter:hue-rotate(305deg) saturate(1.55) brightness(1.16) drop-shadow(0 0 15px rgba(255,64,179,.55))}
.duo-julia-gate .primary-button{background:linear-gradient(180deg,#ff74cc,#f33aaa 48%,#c10e73);box-shadow:0 0 26px rgba(255,54,171,.3),inset 0 1px 0 rgba(255,255,255,.28)}
.duo-julia-gate .duo-choice-list button:hover,.duo-julia-gate .duo-choice-list button:focus-visible{border-color:#ff58bd;background:#180f19}
.duo-julia-gate .duo-setup-icon{background:rgba(255,69,179,.14);color:#ff67c4}

/* Profil 2 : thème sombre rose bonbon LED, indépendant du thème d’Antoine. */
html[data-profile-theme="julia"]{
  color-scheme:dark;
  --bg:#09050a;
  --bg-soft:#100912;
  --card:#160e18;
  --card-2:#1d1320;
  --card-3:#2a1a2d;
  --text:#fff7fc;
  --muted:#c3a9ba;
  --faint:#806979;
  --line:rgba(255,191,230,.18);
  --line-soft:rgba(255,184,225,.1);
  --accent:#ff59bd;
  --accent-2:#d61688;
  --red:#ff75c8;
  --green:#62e6b2;
  --orange:#ffc06b;
  --blue:#d0a5ff;
  --shadow:0 24px 70px rgba(23,0,17,.46);
  --shadow-red:0 0 0 1px rgba(255,113,202,.3),0 0 30px rgba(255,47,169,.31),0 22px 70px rgba(31,0,23,.45);
}
html[data-profile-theme="julia"][data-theme="light"]{
  --bg:#09050a;--bg-soft:#100912;--card:#160e18;--card-2:#1d1320;--card-3:#2a1a2d;--text:#fff7fc;--muted:#c3a9ba;--faint:#806979;--line:rgba(255,191,230,.18);--line-soft:rgba(255,184,225,.1)
}
html[data-profile-theme="julia"] body{background:radial-gradient(circle at 14% -10%,rgba(255,67,179,.24),transparent 30rem),radial-gradient(circle at 102% 18%,rgba(255,126,210,.15),transparent 26rem),radial-gradient(circle at 62% 105%,rgba(190,18,112,.13),transparent 30rem),linear-gradient(180deg,#080509,#100812 100%)}
html[data-profile-theme="julia"] body:after{background:radial-gradient(circle,rgba(255,64,179,.2),rgba(255,64,179,0) 68%);box-shadow:0 0 80px rgba(255,43,166,.12)}
html[data-profile-theme="julia"] .topbar{background:linear-gradient(180deg,rgba(9,5,10,.98) 58%,rgba(9,5,10,.84),transparent);border-bottom-color:rgba(255,123,204,.08)}
html[data-profile-theme="julia"] .desktop-sidebar{background:linear-gradient(180deg,#100812,#0b070d);border-right-color:rgba(255,126,207,.12)}
html[data-profile-theme="julia"] .bottom-nav{background:rgba(13,7,14,.92)!important;border-top-color:rgba(255,126,207,.15)}
html[data-profile-theme="julia"] button:focus-visible,html[data-profile-theme="julia"] input:focus-visible,html[data-profile-theme="julia"] select:focus-visible,html[data-profile-theme="julia"] textarea:focus-visible{outline-color:rgba(255,99,193,.9)}
html[data-profile-theme="julia"] .eyebrow,html[data-profile-theme="julia"] .section-link,html[data-profile-theme="julia"] .hero-label{color:#ff8fd6}
html[data-profile-theme="julia"] .primary-button,html[data-profile-theme="julia"] .session-finish-quick{background:linear-gradient(180deg,#ff77ce,#f23dab 48%,#bd0d70);color:#fff;box-shadow:0 0 22px rgba(255,55,172,.25),0 13px 30px rgba(165,7,94,.32),inset 0 1px 0 rgba(255,255,255,.28)}
html[data-profile-theme="julia"] .avatar-button,html[data-profile-theme="julia"] .week-chip.current,html[data-profile-theme="julia"] .set-done.completed,html[data-profile-theme="julia"] .rating-buttons button.selected,html[data-profile-theme="julia"] .duo-account-avatar{background:linear-gradient(145deg,#ff88d7,#ff42b2 48%,#b80b6c);color:#fff;box-shadow:0 0 0 1px rgba(255,178,224,.28),0 0 25px rgba(255,55,172,.34),0 13px 34px rgba(128,5,74,.3)}
html[data-profile-theme="julia"] .brand-mark img,html[data-profile-theme="julia"] .boot-mark img{filter:hue-rotate(305deg) saturate(1.55) brightness(1.16) drop-shadow(0 0 13px rgba(255,64,179,.55))}
html[data-profile-theme="julia"] .nav-button.active{color:#fff;background:linear-gradient(135deg,rgba(255,65,178,.19),rgba(255,126,208,.08));box-shadow:inset 0 0 0 1px rgba(255,100,195,.2),0 0 22px rgba(255,53,170,.09)}
html[data-profile-theme="julia"] .hero-card:before{background:rgba(255,73,183,.18)}
html[data-profile-theme="julia"] .hero-card:after{border-left-color:rgba(255,85,188,.86);box-shadow:-6px 0 24px rgba(255,56,173,.18)}
html[data-profile-theme="julia"] .live-session-banner{border-color:rgba(255,95,193,.34);background:linear-gradient(125deg,rgba(255,58,174,.17),var(--card));box-shadow:0 0 26px rgba(255,46,166,.08)}
html[data-profile-theme="julia"] .live-dot{background:#ff6ac7;box-shadow:0 0 16px rgba(255,79,186,.8)}
html[data-profile-theme="julia"] .set-row input:focus,html[data-profile-theme="julia"] .field input:focus,html[data-profile-theme="julia"] .field select:focus,html[data-profile-theme="julia"] .field textarea:focus{border-color:#ff5cbe;box-shadow:0 0 0 3px rgba(255,68,178,.14),0 0 17px rgba(255,54,171,.08)}
html[data-profile-theme="julia"] .cue-box{border-left-color:#ff58ba;background:rgba(255,73,181,.075)}
html[data-profile-theme="julia"] .chart-area{fill:rgba(255,65,176,.12)}
html[data-profile-theme="julia"] .chart-line,html[data-profile-theme="julia"] .chart-dot{stroke:#ff64c3}
html[data-profile-theme="julia"] .progress-bar>i{background:linear-gradient(90deg,#bd0d70,#ff55bb,#ff9bdd);box-shadow:0 0 20px rgba(255,67,178,.48)}
html[data-profile-theme="julia"] .duo-account-card{border-color:rgba(255,91,191,.29);background:radial-gradient(circle at 0 0,rgba(255,68,179,.14),transparent 42%),linear-gradient(135deg,#1d0d1b,var(--card));box-shadow:0 0 32px rgba(255,47,166,.07)}
html[data-profile-theme="julia"] .duo-account-card span{color:#ff87d2}
html[data-profile-theme="julia"] .anatomy-module,html[data-profile-theme="julia"] .anatomy-image-module .anatomy-image-shell{border-color:rgba(255,97,194,.2);background-color:var(--card)}
html[data-profile-theme="julia"] .anatomy-image-module .anatomy-static-badge{border-color:rgba(255,97,194,.28);background:rgba(255,69,178,.12);color:#ffd6ef}
html[data-profile-theme="julia"] .coach-preview-banner,html[data-profile-theme="julia"] .session-coach-card,html[data-profile-theme="julia"] .coach-hero,html[data-profile-theme="julia"] .coach-panel.next{border-color:rgba(255,89,190,.23);background:linear-gradient(145deg,rgba(255,65,177,.1),var(--card))}
html[data-profile-theme="julia"] .coach-preview-mark{background:linear-gradient(180deg,#ff77ce,#c90f79);box-shadow:0 0 23px rgba(255,53,171,.31)}
html[data-profile-theme="julia"] .coach-list-item i{background:#ff61c0;box-shadow:0 0 14px rgba(255,62,177,.58)}
html[data-profile-theme="julia"] .category-rule-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 0 25px rgba(255,48,168,.08)}

@keyframes juliaLedPulse{0%,100%{filter:brightness(1);box-shadow:0 0 0 1px rgba(255,178,224,.25),0 0 20px rgba(255,55,172,.28)}50%{filter:brightness(1.08);box-shadow:0 0 0 1px rgba(255,197,233,.38),0 0 34px rgba(255,55,172,.48)}}
html[data-profile-theme="julia"] .avatar-button{animation:juliaLedPulse 3.4s ease-in-out infinite}

@media(max-width:700px){.exercise-library-filters{grid-template-columns:1fr}.category-rule-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){html[data-profile-theme="julia"] .avatar-button{animation:none}}
