@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&family=DM+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&family=Syne:wght@500;600;700;800&family=Unbounded:wght@400;600;800&display=swap');
/* 4 / STUDIO — sculptural type, asymmetry, electric blue and paper. */
html[data-design="4"]{--d-bg:#EDEFF3;--d-paper:#FFFFFF;--d-ink:#161B2A;--d-muted:#566074;--d-primary:#254CE9;--d-soft:#E0E6FE;--d-accent:#254CE9;--d-line:#C3CBDB;--d-tint:#E1E6F0;--d-header:#edeff3eb;--d-shadow:0 12px 35px #1625500b;--d-radius:30px;--bold-heading:'Syne',sans-serif}
/* 5 / AFTER HOURS — a warm listening room after dark. */
html[data-design="5"]{--d-bg:#191D26;--d-paper:#252A35;--d-ink:#FFF1DD;--d-muted:#C2BCC1;--d-primary:#F4A261;--d-soft:#3F3540;--d-accent:#F8AAC1;--d-line:#51444D;--d-tint:#34303B;--d-header:#191d26e8;--d-shadow:0 16px 40px #00000020;--d-radius:22px;--bold-heading:'Bricolage Grotesque',sans-serif}
/* 6 / FRÉQUENCE LIBRE — a vivid, graphic music poster. */
html[data-design="6"]{--d-bg:#F3F2DC;--d-paper:#FFFDF4;--d-ink:#242327;--d-muted:#56534C;--d-primary:#632BC8;--d-soft:#E5DAF6;--d-accent:#B82C69;--d-line:#242327;--d-tint:#E2EF8B;--d-header:#f3f2dce8;--d-shadow:5px 5px 0 #242327;--d-radius:6px;--bold-heading:'Unbounded',sans-serif}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) body{font-family:'DM Sans',system-ui,sans-serif}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) #main h1,html:is([data-design="4"],[data-design="5"],[data-design="6"]) dialog.fullscreen h1{font-family:var(--bold-heading);font-size:clamp(34px,4.3vw,58px);font-weight:800;line-height:1.08;letter-spacing:-.045em}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) h2,html:is([data-design="4"],[data-design="5"],[data-design="6"]) h3,html:is([data-design="4"],[data-design="5"],[data-design="6"]) .event summary strong,html:is([data-design="4"],[data-design="5"],[data-design="6"]) .admin-compact-head strong{font-family:var(--bold-heading);font-weight:600;line-height:1.25;letter-spacing:-.025em}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) .logo{font-family:var(--bold-heading);font-weight:800;letter-spacing:-.04em}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) .tag{display:inline-block;font-family:'Space Mono',monospace;font-size:11px;letter-spacing:.1em;line-height:1.6}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) button{font-family:'DM Sans',system-ui,sans-serif;font-weight:600}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) .hero{gap:38px}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) .hero>div:first-child>p:not(.muted){max-width:480px;font-size:17px}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) .event summary small,html:is([data-design="4"],[data-design="5"],[data-design="6"]) .admin-compact-head small{font-family:'Space Mono',monospace;font-size:12px;letter-spacing:0}
html:is([data-design="4"],[data-design="5"],[data-design="6"]) .media-slider button,html:is([data-design="4"],[data-design="5"],[data-design="6"]) .account-slider button{font-family:'DM Sans',sans-serif}
/* Studio */
html[data-design="4"] .hero{grid-template-columns:1.3fr 1fr}
html[data-design="4"] .hero>.audio-art{background:#CFD9FF;border-radius:110px 28px 110px 28px;padding:30px 8px;transform:rotate(-3deg);box-shadow:12px 14px 0 #DFE4EF}
html[data-design="4"] .hero .tag{background:#161B2A;color:white;padding:6px 11px;border-radius:4px}
html[data-design="4"] .hero button{border-radius:12px;padding:15px 22px;box-shadow:0 5px 0 #162e9c}
html[data-design="4"] .hero h1{color:#1C35A9}
html[data-design="4"] .event>summary,html[data-design="4"] .admin-event>.admin-compact-head{padding-top:24px;padding-bottom:24px}
html[data-design="4"] .event .expand,html[data-design="4"] .admin-compact-head>.expand{background:#E0E6FE;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;color:#254CE9}
html[data-design="4"] .bottom-nav{border-radius:20px;background:#fff;box-shadow:0 12px 36px #16347520}
html[data-design="4"] .bottom-nav .nav-indicator{border-radius:14px}
html[data-design="4"] .media-slider{border-radius:16px;background:#fff}
html[data-design="4"] .media-thumb{border-radius:11px}
/* After Hours */
html[data-design="5"] .hero{grid-template-columns:1.15fr 1fr}
html[data-design="5"] .hero h1{color:#F8AAC1;letter-spacing:-.05em}
html[data-design="5"] .hero>.audio-art{background:#F4D8B8;border-radius:50% 50% 24px 24px;padding:28px 8px;box-shadow:0 0 60px #f4a2610e}
html[data-design="5"] .hero .tag{color:#F4A261;border-bottom:2px solid #F4A261;padding-bottom:7px}
html[data-design="5"] button:not(.secondary),html[data-design="5"] .media-download{color:#191D26}
html[data-design="5"] .bottom-nav .nav-indicator,html[data-design="5"] .media-thumb{background:#F4A261}
html[data-design="5"] .bottom-nav>button[aria-current="page"],html[data-design="5"] .media-slider button[aria-selected="true"]{color:#191D26}
html[data-design="5"] .bottom-nav{background:#252A35;border-color:#66505B}
html[data-design="5"] .bottom-nav>button{color:#D2C6CC}
html[data-design="5"] .media-slider{background:#252A35}
html[data-design="5"] .event[open],html[data-design="5"] .admin-event[open]{border-color:#F4A261}
html[data-design="5"] .event .expand,html[data-design="5"] .admin-compact-head>.expand{color:#F4A261}
html[data-design="5"] .event-photo{border-color:#F4A261}
html[data-design="5"] .event-key-info dd{color:#FFF1DD}
html[data-design="5"] .profile-button{background:#39313F;color:#F8AAC1}
html[data-design="5"] .bell-button{background:transparent;color:#F8AAC1}
html[data-design="5"] .member-details,html[data-design="5"] .empty-state{background:#252A35;color:#FFF1DD}
html[data-design="5"] .count,html[data-design="5"] .enrolled-badge{background:#513D35;color:#FFC897}
html[data-design="5"] .media-card-top,html[data-design="5"] .media-file-current{color:#F4A261}
/* Fréquence libre */
html[data-design="6"] #main h1,html[data-design="6"] dialog.fullscreen h1{font-size:clamp(30px,3.6vw,48px);letter-spacing:-.055em;line-height:1.15}
html[data-design="6"] .hero{grid-template-columns:1.3fr 1fr}
html[data-design="6"] .hero h1{color:#632BC8}
html[data-design="6"] .hero .tag{background:#E2EF8B;color:#242327;padding:7px 11px;border:1.5px solid #242327;transform:rotate(-2deg)}
html[data-design="6"] .hero>.audio-art{background:#E2EF8B;border:2px solid #242327;border-radius:6px;padding:22px 4px;box-shadow:9px 9px 0 #F2A8C6;transform:rotate(3deg)}
html[data-design="6"] .audio-art .speaker>path:first-child{fill:#F2A8C6}
html[data-design="6"] .audio-art svg>g{stroke:#4B286F}
html[data-design="6"] .audio-art .sound-wave,html[data-design="6"] .audio-art .notes{stroke:#8426BA}
html[data-design="6"] button:not(.profile-button),html[data-design="6"] .media-download{border-radius:6px}
html[data-design="6"] .hero button{border:2px solid #242327;box-shadow:4px 4px 0 #242327}
html[data-design="6"] .event,html[data-design="6"] .admin-event,html[data-design="6"] .card{border:2px solid #242327}
html[data-design="6"] .event summary strong,html[data-design="6"] .admin-compact-head strong{font-size:clamp(18px,2vw,23px)}
html[data-design="6"] .event>summary,html[data-design="6"] .admin-compact-head{background:#FFFDF4}
html[data-design="6"] .event[open]>.event-body{border-top:2px solid #242327;padding-top:15px}
html[data-design="6"] .bottom-nav{border:2px solid #242327;border-radius:12px;background:#fffdf4;box-shadow:5px 5px 0 #242327}
html[data-design="6"] .bottom-nav .nav-indicator{border-radius:6px;background:#632BC8}
html[data-design="6"] .media-slider,html[data-design="6"] .account-slider{border:2px solid #242327;border-radius:8px;background:#E2EF8B}
html[data-design="6"] .media-thumb{border-radius:3px}
html[data-design="6"] .note{border:1.5px solid #242327;border-radius:6px;background:#F2A8C6;color:#242327}
html[data-design="6"] input,html[data-design="6"] textarea,html[data-design="6"] select{border-radius:6px}
@media(max-width:700px){html:is([data-design="4"],[data-design="5"],[data-design="6"]) .hero{grid-template-columns:1fr;gap:30px}html:is([data-design="4"],[data-design="5"],[data-design="6"]) .hero>.audio-art{max-width:440px;justify-self:center;width:95%}html:is([data-design="4"],[data-design="5"],[data-design="6"]) .logo{font-size:20px}html[data-design="6"] .logo{font-size:17px}html:is([data-design="4"],[data-design="5"],[data-design="6"]) .hero>div:first-child>p:not(.muted){font-size:16px}}
/* Dark surfaces retain clear contrast for utility controls. */
html[data-design="5"] header button.profile-button{color:#F8AAC1}
html[data-design="5"] .account-slider button[aria-selected="true"]{color:#191D26}
@media(max-width:400px){html:is([data-design="4"],[data-design="5"],[data-design="6"]) .logo{font-size:17px}html[data-design="6"] .logo{font-size:15px}}
html[data-design="5"] .media-slider button,html[data-design="5"] .account-slider button{color:#F4A261}
html[data-design="5"] .media-slider button[aria-selected="true"],html[data-design="5"] .account-slider button[aria-selected="true"]{color:#191D26}
