:root{font-family:'DM Sans',sans-serif;color:#ebedf3;background:#0b0c12;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid #beff62;outline-offset:3px}.studio{height:100dvh;min-height:650px;display:grid;grid-template-columns:354px minmax(0,1fr);overflow:hidden}.sidebar{position:relative;z-index:3;display:flex;flex-direction:column;background:#121319;border-right:1px solid #292b34;min-height:0;box-shadow:9px 0 30px #00000019}.brandline{height:95px;padding:28px 30px 20px;display:flex;align-items:center;gap:15px;border-bottom:1px solid #2a2b32}.brandline b{font:700 20px/1 'Space Grotesk',sans-serif;letter-spacing:.13em}.brandline small{display:block;color:#8b8e9b;font-size:10px;font-weight:700;letter-spacing:.24em;margin-top:7px}.brandline i{color:#cfed7d;font-style:normal}.brand-mark{width:35px;height:37px;display:flex;align-items:center;justify-content:center;gap:3px}.brand-mark span{height:15px;width:4px;border-radius:9px;background:#cdf777}.brand-mark span:nth-child(2),.brand-mark span:nth-child(4){height:25px}.brand-mark span:nth-child(3){height:36px}.workspace-head{padding:26px 29px 23px;border-bottom:1px solid #272832}.eyebrow{font-size:10px;letter-spacing:.22em;color:#c8ec89;font-weight:700}.workspace-head h1{font:600 26px/1.17 'Space Grotesk',sans-serif;letter-spacing:-.07em;margin:12px 0 10px}.workspace-head h1 em{font-style:normal;color:#c7f77e}.workspace-head p{font-size:12px;line-height:1.65;color:#9294a3;margin:0}.panel-scroll{padding:23px 26px 16px;overflow:auto;scrollbar-width:thin;scrollbar-color:#40414b transparent;flex:1;min-height:0}.section-label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;letter-spacing:.1em;font-weight:800;color:#828695;margin-bottom:12px}.section-label>span:last-child{font-weight:500;color:#707585;letter-spacing:0}.template-picker{display:grid;gap:9px}.template-option{width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:8px;min-height:69px;background:#1a1b23;border:1px solid #32333c;border-radius:11px;color:#fff;transition:.2s}.template-option:hover{background:#22242d;border-color:#6e736d}.template-option.active{border-color:#c1e981;background:#24291e;box-shadow:inset 0 0 0 1px #c1e98133}.template-photo{height:51px;width:63px;flex:none;border-radius:6px;background-position:center;background-size:cover;position:relative;overflow:hidden}.urban-photo{background-image:linear-gradient(120deg,#10101033,#131612aa),url('https://images.unsplash.com/photo-1758684519770-de01e4ffa4de?w=250&q=70')}.stage-photo{background-image:linear-gradient(120deg,#a6412333,#1d0c0a33),url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?w=250&q=70')}.neon-photo{background-image:linear-gradient(120deg,#752bef33,#09041366),url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?w=250&q=70')}.template-copy{display:flex;flex:1;flex-direction:column;gap:4px}.template-copy strong{font:800 13px 'Space Grotesk',sans-serif;letter-spacing:.07em}.template-copy small{font-size:11px;color:#9293a0}.choice-dot{display:block;border:1.5px solid #60646b;width:15px;height:15px;border-radius:50%;margin-right:8px}.template-option.active .choice-dot{background:#c5ef86;border-color:#c5ef86;box-shadow:inset 0 0 0 3px #24291e}.edit-label{margin-top:31px}.saved-indicator{font-size:10px!important;color:#a3d688!important}.tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #33343e;gap:4px}.tab{padding:0 2px 13px;border:0;border-bottom:2px solid transparent;background:none;color:#85899a;font-size:11px;font-weight:700}.tab.active{color:#e4ffad;border-color:#caef8c}.form-area{padding:18px 0 7px;min-height:310px}.field{margin:0 0 16px}.field label,.group-title{display:block;color:#bcc0cc;font-size:11px;font-weight:700;margin-bottom:8px}.field input,.field textarea{width:100%;border:1px solid #3a3d49;background:#20212a;padding:11px 12px;color:#f6f6fa;border-radius:8px;font-size:12px;transition:.2s}.field input:focus,.field textarea:focus{border-color:#b3db79;outline:none}.field input::placeholder,.field textarea::placeholder{color:#71737e}.field textarea{min-height:82px;resize:vertical;line-height:1.5}.field small,.hint{display:block;color:#777b88;font-size:10px;line-height:1.5;margin-top:6px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.label-line{display:flex;justify-content:space-between;align-items:center}.field input[type=color]{padding:4px;height:44px;cursor:pointer}.upload-picture{width:100%;display:flex;align-items:center;gap:12px;border:1px dashed #51545c;border-radius:9px;padding:10px;color:#d9e0d0;background:#242831;cursor:pointer;font-size:12px}.upload-picture:hover{border-color:#b8d78b}.upload-picture .upload-icon{width:33px;height:33px;display:grid;place-items:center;background:#313b2c;border-radius:7px;color:#cdf28f;font-size:18px}.upload-picture small{color:#8e929a;display:block;margin-top:3px}.reassure{padding:10px 12px;background:#19251b;border:1px solid #35523a;color:#b7dcad;font-size:11px;line-height:1.5;border-radius:8px;margin:10px 0}.hint-box{padding:11px 13px;border-radius:10px;background:#202128;border:1px solid #393944;font-size:11px;line-height:1.6;color:#a2a4ae}.event-card{background:#1d1e26;border:1px solid #373943;border-radius:10px;padding:13px;margin:0 0 11px}.event-card-top{display:flex;justify-content:space-between;align-items:center;color:#d5d5e0;font-size:12px;font-weight:800;margin-bottom:12px}.icon-button{border:0;color:#f6a3a3;background:#402b30;border-radius:5px;padding:4px 8px}.add-button{width:100%;padding:12px;border:1px dashed #788b60;border-radius:9px;background:#252b22;color:#b9ed90;font-size:12px;font-weight:700}.sidebar-footer{border-top:1px solid #292a35;padding:18px 27px;background:#14151d}.small-info{display:flex;align-items:center;gap:8px;color:#898c9b;font-size:10px}.pulse-dot{width:7px;height:7px;background:#bbef7c;border-radius:50%;box-shadow:0 0 9px #b9fa7b}.footer-actions{display:flex;gap:10px;margin-top:14px}.subtle-btn{display:flex;align-items:center;justify-content:center;flex:1;font-size:11px;font-weight:700;color:#b4b9c9;background:#1c1e28;border:1px solid #363844;border-radius:8px;padding:9px 10px;cursor:pointer}.subtle-btn:hover{background:#2b2d38}.workspace{background:radial-gradient(ellipse at 45% 24%,#272a2f 0%,#191b21 35%,#111217 90%);min-width:0;display:flex;flex-direction:column}.topbar{height:80px;flex:none;border-bottom:1px solid #ffffff16;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 39px}.topbar-title{display:flex;align-items:center;gap:17px;color:#d9dbe4;font:700 12px 'Space Grotesk',sans-serif;letter-spacing:.03em}.livebadge{display:flex;align-items:center;gap:7px;color:#c2e48d;font-size:10px;letter-spacing:.13em}.livebadge span{height:7px;width:7px;border-radius:50%;background:#b0ed83}.topbar-divider{width:1px;height:17px;background:#4a4b56}.topbar-buttons{display:flex;align-items:center;gap:15px}.device-switch{display:flex;gap:3px;border:1px solid #3d4148;border-radius:9px;padding:4px;background:#1b1d23}.device-switch button{color:#9da1ad;border:0;background:transparent;border-radius:6px;padding:8px 11px;font-size:11px;display:flex;gap:6px;align-items:center}.device-switch button.active{background:#35383e;color:#fff}.device-switch button:first-letter{font-size:17px}.open-preview{background:#c8f38b;color:#161b12;border:0;border-radius:9px;font-weight:800;padding:12px 15px;font-size:12px;white-space:nowrap}.open-preview:hover{background:#e0ffaa}.workstage{flex:1;min-height:0;display:flex;flex-direction:column;padding:20px 32px 12px;overflow:hidden}.stage-guidance{display:flex;justify-content:space-between;align-items:center;margin:0 3px 15px;gap:12px;color:#858b93;font-size:11px}.stage-guidance strong{font-family:'Space Grotesk',sans-serif;font-size:13px;color:#dce3e1;letter-spacing:.16em;margin-left:8px}.stage-guidance #designTagline{margin-left:8px}.info-spark{color:#c3f38e;font-size:17px}.guide-right{color:#7c808a}.guide-right span{color:#c7ee8f;font-size:18px}.preview-container{min-height:0;flex:1;display:flex;align-items:stretch;justify-content:center;overflow:hidden;border-radius:13px;background:#111;box-shadow:0 18px 42px #0009,0 0 0 1px #ffffff21;position:relative}.site-frame{height:100%;width:100%;transition:width .35s ease,border-radius .35s ease;overflow:hidden;background:#0a0a0c}.site-frame iframe{height:100%;width:100%;display:block;border:0;background:#0a0a0c}.preview-container.mobile-view{background:repeating-linear-gradient(45deg,#1b1c21,#1b1c21 8px,#202127 8px,#202127 16px);padding:8px}.preview-container.mobile-view .site-frame{width:min(390px,100%);border:5px solid #29292f;border-radius:27px;box-shadow:0 0 0 1px #6d6c77,0 12px 25px #0009}.preview-container.mobile-view .site-frame iframe{border-radius:22px}.stage-bottom{display:flex;align-items:center;justify-content:space-between;padding:13px 4px 3px;gap:10px;font-size:9px;letter-spacing:.1em;color:#777d85;font-weight:700}.stage-bottom>div{display:flex;gap:8px;align-items:center}.small-orb{height:6px;width:6px;border-radius:50%;background:#bde889}.stage-bottom button{background:none;border:0;color:#9296a2;font-size:10px}.stage-bottom button:hover{color:#c7f391}#toast{position:fixed;bottom:24px;left:50%;z-index:40;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:12px 20px;background:#d4f99e;border:1px solid #fff;color:#1e2913;border-radius:11px;font-size:13px;font-weight:700;box-shadow:0 14px 35px #0008;transition:.3s}#toast.visible{opacity:1;transform:translate(-50%,0)}.empty-events{text-align:center;padding:25px 15px;color:#888d98;font-size:12px}.tiny-caption{font-size:10px;color:#858895;padding:4px 0 13px;line-height:1.6}@media(max-width:1080px){.studio{grid-template-columns:320px minmax(0,1fr)}.sidebar .brandline{padding-left:23px}.workspace-head{padding-left:23px}.panel-scroll{padding-left:21px;padding-right:21px}.topbar{padding:0 22px}.workstage{padding:17px 19px 10px}.guide-right{display:none}}@media(max-width:760px){.studio{height:auto;min-height:100dvh;display:flex;flex-direction:column;overflow:visible}.sidebar{height:auto;box-shadow:none}.brandline{height:76px;padding:18px 22px}.workspace-head{padding:17px 22px}.workspace-head h1{font-size:23px}.panel-scroll{overflow:visible;padding:21px 20px}.template-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.template-option{display:block;min-height:0;padding:7px;text-align:center}.template-photo{width:100%;height:66px;display:block}.template-copy strong{font-size:11px;margin-top:6px}.template-copy small{font-size:9px}.choice-dot{display:none}.form-area{min-height:0}.sidebar-footer{padding:13px 19px}.workspace{height:680px}.topbar{height:66px;padding:0 14px;gap:8px}.topbar-title{gap:8px;font-size:11px}.topbar-divider,#currentSiteName,.device-switch button span{display:none}.topbar-buttons{gap:7px}.device-switch button{padding:7px 9px}.open-preview{padding:10px;font-size:11px}.workstage{padding:13px 10px 10px}.stage-guidance{margin-bottom:10px}.preview-container{flex:1}.stage-bottom{font-size:8px;letter-spacing:.02em}}@media(max-width:385px){.template-photo{height:50px}.template-copy small{display:none}.stage-bottom>div{max-width:180px}.topbar{padding-left:10px;padding-right:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


/* V0.3 : l'éditeur reste utilisable sur téléphone étroit. */
.studio,.sidebar,.workspace,.topbar,.workstage,.preview-container{max-width:100%;min-width:0}
.template-option,.template-copy,.stage-guidance>div,.topbar-title{min-width:0}
@media(max-width:760px){
 .studio{width:100%;overflow-x:clip}
 .workspace{min-width:0;height:650px}
 .stage-guidance #designTagline{display:none}
 .stage-guidance strong{margin-left:5px}
 .stage-bottom{flex-wrap:wrap}
 .stage-bottom button{text-align:right}
 .panel-scroll{padding-inline:16px}
 .template-picker{gap:6px}
 .template-option{padding:6px;overflow:hidden}
 .template-copy{overflow:hidden}
 .template-copy strong,.template-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .tabs{gap:0}
 .tab{font-size:clamp(10px,2.6vw,12px)}
 .field-row{grid-template-columns:minmax(0,1fr)}
 .footer-actions{flex-wrap:wrap}
}
@media(max-width:370px){
 .topbar-title .livebadge{font-size:9px;letter-spacing:0}
 .topbar{gap:5px}
 .topbar-buttons{gap:3px}
 .open-preview{font-size:10px;padding:10px 7px}
 .device-switch{padding:2px}
 .device-switch button{padding:8px}
 .workspace{height:590px}
 .template-photo{height:54px}
}

/* V0.4 — espace artiste et authentification. Ne remplace pas les règles responsive V0.3. */
.account-bar{margin:0 18px 0;padding:12px 9px 14px;border-bottom:1px solid #32343e;display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between}
.account-identity{display:flex;align-items:center;gap:7px;color:#aeb3c1;font-size:10px;line-height:1.35;min-width:0;word-break:break-word;flex:1}
.account-status-dot{height:8px;width:8px;flex:none;border-radius:50%;background:#a98dff;box-shadow:0 0 10px #a98dff77}
.account-bar.online .account-status-dot{background:#bcef8a;box-shadow:0 0 10px #bcef8a77}
.account-button{border:1px solid #596951;border-radius:8px;background:#262f24;color:#d7ffa6;padding:9px 10px;font-size:10px;font-weight:800;max-width:100%}
.account-button:hover{background:#344331}
.auth-dialog{width:min(440px,calc(100vw - 26px));max-height:calc(100dvh - 30px);overflow:auto;border:1px solid #3d4154;border-radius:19px;background:linear-gradient(145deg,#1a1c28,#0e1119);color:#f3f5f8;padding:24px;box-shadow:0 30px 90px #000b}
.auth-dialog::backdrop{background:#05060dda;backdrop-filter:blur(5px)}
.auth-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.auth-kicker{font:800 10px 'Space Grotesk',sans-serif;letter-spacing:.16em;color:#c6ed94}.auth-close{background:#282b38;color:#d0d2db;border:1px solid #50515c;border-radius:9px;padding:8px 12px}
.auth-dialog h2{font:700 clamp(24px,5vw,31px) 'Space Grotesk',sans-serif;margin:20px 0 8px;letter-spacing:-.04em}.auth-subtitle{color:#a4a9b8;font-size:12px;line-height:1.7;margin:0 0 22px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border:1px solid #383a45;border-radius:10px;background:#191b25;margin-bottom:20px}.auth-tabs button{background:transparent;border:0;border-radius:7px;color:#9b9daa;padding:11px 5px;font-size:12px;font-weight:800}.auth-tabs button.active{background:#353c34;color:#c9f5a0}
.auth-form label,.slug-field{display:block;font-size:12px;color:#bcc1cf;margin:0 0 15px;font-weight:700}.auth-form input,.slug-field input{display:block;width:100%;border:1px solid #454958;border-radius:9px;padding:12px 13px;margin-top:8px;color:white;background:#202431;font-size:14px;min-width:0}.auth-form input:focus,.slug-field input:focus{border-color:#c4f28c;outline:none}.auth-form input::placeholder{color:#7f8593}
.auth-submit{width:100%;background:#c7ef8c;color:#1c2219;border:0;border-radius:10px;padding:14px;font-weight:900;font-size:13px}.auth-submit:disabled,.auth-secondary:disabled{opacity:.55;cursor:wait}.auth-error{font-size:12px;color:#ffaaaa;margin:4px 0 14px;line-height:1.5;min-height:0}.auth-error:empty{display:none}.auth-account p{font-size:12px;color:#b2b9c8;line-height:1.75}.auth-account strong{color:#f5f6f9;word-break:break-all}.slug-edit{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.slug-edit input{flex:1;min-width:125px}.slug-edit span{color:#acb7c6;font-size:12px;margin-top:8px}.auth-secondary{width:100%;padding:12px;background:#293a26;border:1px solid #7cab66;color:#d8ffa5;border-radius:9px;font-weight:800}.auth-info{background:#222734;border-radius:9px;padding:10px 12px;border:1px solid #3b4452}.logout{border:1px solid #88565b;background:#39262b;color:#ffd3d6;border-radius:9px;padding:10px 14px;width:100%;margin-top:10px}
@media(max-width:760px){.account-bar{margin:0 12px;padding:12px 9px}.auth-dialog{padding:19px}.account-button{font-size:10px}}
