.community-overview{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:0 0 22px;color:var(--muted,#a5b3bc)}
.community-layout{display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:22px;align-items:start}
.community-menu{padding:16px}.community-menu input{width:100%;margin:8px 0 14px}
.community-module{display:block;width:100%;text-align:left;background:transparent;color:inherit;border:1px solid transparent;border-radius:10px;padding:12px;margin:3px 0;cursor:pointer}
.community-module small{display:block;color:var(--muted,#a5b3bc);margin-top:4px}.community-module:hover,.community-module.selected{background:#f1b44c13;border-color:#f1b44c66}
.community-rows{grid-column:1/-1;border:1px solid #ffffff25;border-radius:10px;padding:15px;min-width:0}.community-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0;border-bottom:1px solid #ffffff1a;margin-bottom:12px}.community-row>button{align-self:end;justify-self:start}
.community-layout .field textarea,.community-layout .field select,.community-layout .field input{width:100%;min-width:0}.community-layout textarea{resize:vertical}.community-warning{border-left:3px solid #f1b44c}.community-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.community-history{margin-top:22px}.community-history summary{cursor:pointer;font-weight:700;margin-bottom:14px}.community-history small{display:block;margin-top:4px}.community-history .note{margin:10px 0}
@media(max-width:850px){.community-layout{grid-template-columns:1fr}.community-menu #community-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:350px;overflow:auto}.community-row{grid-template-columns:1fr}.community-layout .form-grid{grid-template-columns:1fr}}
.community-menu{position:sticky;top:20px}.community-menu #community-modules{max-height:70vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#62707a transparent}.community-menu input{background:#0b141b;border:1px solid #3a4c56;border-radius:8px;color:inherit;padding:12px;font:inherit}.community-module{font:inherit}
@media(max-width:850px){.community-menu{position:static}.community-menu #community-modules{max-height:350px}}

.community-picker{position:relative;min-width:0}.community-picker-menu{position:absolute;top:100%;left:0;right:0;z-index:30;max-height:280px;overflow:auto;background:#15191f;border:1px solid #646b78;border-radius:8px;box-shadow:0 10px 28px #0009}.community-picker-menu[hidden]{display:none}.community-picker-menu button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;border:0;border-radius:0;background:transparent;color:inherit;padding:10px}.community-picker-menu button:hover,.community-picker-menu button.focused{background:#394558}.community-picker-menu button[aria-selected=true]{color:#70e3ae}.community-picker-menu img{width:24px;height:24px;object-fit:contain}.community-picker-menu p{padding:8px}.community-picker-chips{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:4px}.community-picker-chips:empty{display:none}.community-picker-chips button{font-size:12px;padding:4px 7px}.community-row,.community-rows{overflow:visible}

.welcome-config{grid-column:1/-1;min-width:0}.welcome-tools{padding:16px;background:#ffffff06;border:1px solid #ffffff14;border-radius:12px;margin:0 0 20px}.welcome-tools p{font-size:13px;color:var(--muted)}.welcome-tools .community-picker{max-width:400px}.welcome-variables{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.welcome-section{border:1px solid #ffffff20;border-radius:12px;margin:12px 0;background:#10141a40;overflow:visible}.welcome-section summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:18px;font-weight:600}.welcome-section summary small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:6px}.welcome-section summary>.badge{align-self:center;white-space:nowrap}.welcome-section-body{padding:0 18px 20px}.welcome-section-body>.form-grid{padding-top:15px;border-top:1px solid #ffffff14}.welcome-section-body [hidden]{display:none!important}.welcome-preview{margin:18px 0;padding:14px;border:1px dashed #ffffff26;border-radius:10px}.welcome-preview>small{display:block;color:var(--muted);margin:8px 0}.welcome-message-preview{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}.welcome-message-preview.is-embed{padding:14px;border-left:4px solid;border-radius:5px;background:#0003}.welcome-message-preview p{margin:5px 0}.welcome-card-preview{position:relative;aspect-ratio:5/2;max-width:650px;background-size:cover;background-position:center;border-radius:8px;overflow:hidden;margin:14px 0}.welcome-card-overlay{position:absolute;inset:0;background:#000}.welcome-card-content{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:14px}.welcome-card-content img{width:15%;aspect-ratio:1;object-fit:cover;border:3px solid currentColor;border-radius:50%;margin-bottom:10px}.welcome-card-content strong{font-size:clamp(16px,2.5vw,28px);max-width:94%;overflow-wrap:anywhere;line-height:1.25}.welcome-card-content span{font-size:clamp(12px,1.5vw,18px);max-width:94%;overflow-wrap:anywhere}.welcome-final-preview{width:100%;max-width:700px;border-radius:8px;margin:12px 0}.welcome-upload{padding:12px 0}.welcome-upload small{display:block;color:var(--muted)}.welcome-upload input{display:block;margin:8px 0;max-width:100%}.welcome-section .field input[type=color]{width:100%;height:42px;padding:4px}.welcome-section .form-grid>div{min-width:0}
@media(max-width:650px){.welcome-section summary{padding:12px}.welcome-section-body{padding:0 12px 16px}.welcome-card-content{gap:4px}.welcome-card-content img{margin-bottom:3px}}

.welcome-section summary{color:var(--text,#e8edf2)}.welcome-section summary small{color:var(--muted,#a5b3bc)}.welcome-section-body [data-welcome-image-info]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:10px}.welcome-discord-preview{margin-top:16px;padding:18px;background:#303136;border:1px solid #ffffff1a;border-radius:10px;color:#dbdee1}.welcome-discord-preview>small{display:block;margin-bottom:15px;color:#aeb4be}.welcome-discord-message{display:flex;gap:14px}.welcome-discord-avatar{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover}.welcome-discord-body{flex:1;min-width:0}.welcome-discord-body>strong{color:#f2f3f5}.welcome-discord-badge{display:inline-block;margin-left:7px;padding:2px 4px;font-size:10px;color:#fff;background:#5865f2;border-radius:3px;vertical-align:middle}.welcome-discord-content{margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.welcome-discord-content p{margin:7px 0}.welcome-discord-embed{padding:14px;background:#232428;border-left:4px solid;border-radius:5px;display:flow-root}.welcome-discord-embed>strong{color:#fff}.welcome-discord-thumbnail{float:right;width:64px;height:64px;border-radius:5px;object-fit:cover;margin:0 0 12px 16px}.welcome-discord-embed .welcome-final-preview{display:block;clear:both}.welcome-card-content img{flex-shrink:0}


.welcome-preview-emoji{width:24px;height:24px;object-fit:contain;vertical-align:middle}
.studio-editor{grid-column:1/-1;min-width:0}.studio-templates{padding:16px;background:#ffffff05;border:1px solid #ffffff18;border-radius:12px;margin-bottom:18px}.studio-templates .toolbar{margin-top:14px}.studio-rows{min-width:0;padding:14px;border:1px solid #ffffff20;border-radius:12px;margin:16px 0}.studio-row{display:block!important;border:1px solid #ffffff20;border-radius:10px;margin:12px 0!important;background:#11161c40}.studio-row>summary{display:flex;justify-content:space-between;gap:12px;padding:15px;font-weight:650;color:var(--text,#e8edf2)}.studio-row>summary small{color:var(--muted,#a5b3bc)}.studio-row-body{padding:0 15px 18px}.studio-row-tools{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.studio-row-body .form-grid{margin:0;align-items:start}.studio-row-body .form-grid>[data-studio-field]{min-width:0}.studio-editor [hidden]{display:none!important}.studio-image img{display:block;max-width:100%;max-height:150px;object-fit:contain;border-radius:7px;margin:10px 0}.studio-image small{display:block;margin:8px 0;color:var(--muted)}.studio-editor .field input[type=color]{width:100%;height:42px;padding:4px}.studio-choice-preview{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.studio-preview-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;clear:both;margin-top:14px;white-space:pre-wrap}.studio-preview-columns>div{min-width:0;overflow-wrap:anywhere}.studio-rows .studio-rows{background:#ffffff03}.studio-row>.studio-row-body>.form-grid>[data-studio-field=choices],.studio-row>.studio-row-body>.form-grid>[data-studio-field=embeds],.studio-row>.studio-row-body>.form-grid>[data-studio-field=conditions],.studio-row>.studio-row-body>.form-grid>[data-studio-field=actions],.studio-row>.studio-row-body>.form-grid>[data-studio-field=emojis]{grid-column:1/-1}@media(max-width:650px){.studio-row-body{padding:0 10px 15px}.studio-rows{padding:9px}.studio-preview-columns{grid-template-columns:1fr}}


/* Alertes sociales : connexion de compte */
.social-connect .toolbar{margin-top:12px}.social-account{font-weight:700;margin:0 0 6px}.social-soon{border-left:3px solid #f1b44c;padding-left:12px}.social-connect button[disabled]{opacity:.6;cursor:not-allowed}
.welcome-crop-dialog{width:min(860px,94vw);max-height:94vh;overflow:auto;border:1px solid #ffffff26;border-radius:14px;background:var(--x-surface,#151a21);color:var(--text,#e8edf2);padding:18px}.welcome-crop-dialog::backdrop{background:#000b}.welcome-crop-stage{position:relative;border-radius:10px;overflow:hidden;background:repeating-conic-gradient(#333 0% 25%,#222 0% 50%) 0/20px 20px;outline:2px solid var(--accent,#e0472f);outline-offset:-2px}.welcome-crop-stage canvas{display:block;width:100%;aspect-ratio:5/2;cursor:grab;touch-action:none}.welcome-crop-stage canvas.is-dragging{cursor:grabbing}.welcome-crop-stage canvas:focus-visible{outline:3px solid #fff;outline-offset:-3px}.welcome-crop-zoom{display:flex;align-items:center;gap:12px;margin:12px 0 4px}.welcome-crop-zoom input{flex:1}.welcome-crop-zoom output{min-width:56px;text-align:right;font-variant-numeric:tabular-nums}.welcome-crop-live{margin-top:10px}.welcome-crop-live>small{display:block;color:var(--muted,#a5b3bc)}.welcome-crop-live .welcome-card-preview{max-width:100%}
