/* DJ SET Studio V4 : styles complémentaires ; le jeu original V6 reste intact. */
[hidden]{display:none!important}
:root{color-scheme:dark}
/* La carte garde exactement le montage SECRET d'origine, couleur définie par l'éditeur. */
.setcard .num,.setcard h3,.setcard .mystery-copy{color:var(--cardColor,var(--accent))!important}
.setcard.mystery .mystery-copy{color:var(--cardColor,var(--accent))!important}
.setcard:not(.mystery){border-color:color-mix(in srgb,var(--cardColor) 32%,transparent)!important}
.setcard.unavailable:not(.mystery){opacity:.48}
.editor-entry{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:24px}
.editor-entry button{background:var(--ghost);border:1px solid rgba(255,255,255,.11);color:var(--txt);font-weight:700}
.editor-entry span{font-size:12px;color:var(--muted)}
/* Youtube en dehors de playarea et des contrôles originaux : aucune réduction du vinyle/des indices. */
.youtube-pane{display:flex;align-items:center;gap:20px;padding:18px 28px;background:rgba(0,0,0,.12);border-top:1px solid rgba(255,255,255,.075);min-height:240px}
.yt-shell{width:356px;height:200px;min-width:356px;border-radius:14px;overflow:hidden;background:#08090b;border:1px solid rgba(255,255,255,.15)}
.yt-mount{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.yt-mount iframe{width:100%!important;height:100%!important;border:0;min-height:200px}
.yt-placeholder{text-align:center;color:#8c9f8e;font-size:13px;padding:18px}
.yt-information{min-width:0;max-width:660px;flex:1}
.yt-label{font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--accent);margin-bottom:9px}
.yt-status{font-size:13px;line-height:1.45;color:var(--txt);min-height:34px}
.yt-status.warn{color:#ffcb7a}
.yt-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:12px 0}
.yt-actions .ghost{padding:9px 11px;font-size:12px;border:1px solid rgba(255,255,255,.18)}
.yt-actions a{color:var(--accent);font-size:12px;text-decoration:underline}
.yt-note{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
#studio{display:none}
@media(max-width:900px){.youtube-pane{flex-direction:column;align-items:stretch}.yt-shell{width:min(100%,460px);min-width:0;align-self:center;height:230px}.yt-information{max-width:none}}
/* Editor */
#studio{padding:30px 34px 45px;min-height:760px}
.studio-top{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:22px}
.studio-overline,.studio-top h1{color:var(--accent)}
.studio-overline{font-weight:1000;font-size:11px;letter-spacing:.19em}
.studio-top h1{font-size:36px;letter-spacing:.04em;margin:6px 0}
.studio-top p{margin:0;color:var(--muted);line-height:1.4}
.studio-project{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0 25px;padding:18px;background:rgba(255,255,255,.025);border-radius:18px;border:1px solid rgba(255,255,255,.07)}
.studio-project>label{min-width:210px;flex:1}
.studio-project-actions,.editor-actions,.song-editor-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#studio button{cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
#studio button:disabled{opacity:.35;cursor:not-allowed}
#studio button:focus-visible,#studio input:focus-visible,#studio textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
#studio input:not([type="color"]),#studio textarea{width:100%;background:#080f0b;border:1px solid #3d5645;border-radius:12px;color:white;padding:12px;font:inherit;font-size:14px;outline:none}
#studio textarea{resize:vertical;min-height:82px}
#studio label{color:#b8cbbd;font-size:12px;font-weight:800;display:grid;gap:7px}
#studio .studio-project-actions button,#studio .studio-secondary,#studio .studio-add,#studio .studio-primary,#studio .studio-danger{font-size:12px;font-weight:900;border-radius:10px;padding:10px 12px;border:1px solid #46634e;background:#192c20;color:#e3ffe8}
#studio .studio-primary,#studio .studio-add{background:#8fff62;color:#10210f;border-color:#8fff62}
#studio .studio-danger{background:#351b20;border-color:#7a3949;color:#ffbfc9}
#studio .studio-secondary.selected{background:#b0eb89;color:#10210f}
#studio .studio-project-actions button:hover,#studio .studio-secondary:hover{border-color:var(--accent)}
.studio-columns{display:grid;grid-template-columns:minmax(230px,31%) minmax(0,1fr);gap:24px}
.studio-sidebar,.studio-content{background:rgba(255,255,255,.02);border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:19px;min-width:0}
.studio-block-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.studio-block-heading h2{font-size:21px;margin:0}
.studio-help{color:var(--muted);font-size:12px;line-height:1.5;margin:8px 0 17px}
.editor-list,.editor-song-list{display:grid;gap:7px}
.ed-row{width:100%;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);color:white;border-radius:13px;padding:11px 10px;display:flex;align-items:center;gap:8px;text-align:left;min-width:0}
.ed-row:hover{border-color:#55715d}
.ed-row.selected{background:rgba(145,255,90,.10);border-color:var(--accent)}
.ed-row.dragging{opacity:.36}
.drag-grip{font-size:21px;line-height:1;color:#718775;cursor:grab}
.ed-dot{width:15px;height:15px;border-radius:5px;flex:0 0 15px}
.ed-copy{display:flex;flex:1;flex-direction:column;gap:4px;overflow:hidden}
.ed-copy strong{font-size:13px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.ed-copy small{color:var(--muted);font-size:11px;line-height:1.3}
.editor-form{display:grid;gap:12px;border-top:1px solid rgba(255,255,255,.1);margin-top:20px;padding-top:18px}
.editor-form h3{margin:0;font-size:17px}
.editor-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.color-row{display:flex;align-items:center;gap:12px}
.color-row input{height:41px;width:58px;padding:0;border:0;background:transparent;cursor:pointer}
.color-row span{font-family:ui-monospace,monospace;color:#e6fbe8}
.find-video{display:flex;flex-direction:column;justify-content:end;gap:7px}
.find-video label{display:block}
.studio-tip{margin-top:22px;background:rgba(255,220,125,.06);border:1px solid rgba(255,210,115,.18);border-radius:13px;padding:14px;font-size:12px;line-height:1.5;color:#e9cf98}

@media (max-width:780px){
 .studio-columns{grid-template-columns:1fr}#studio{padding:20px 15px}.studio-top h1{font-size:27px}.editor-field-grid{grid-template-columns:1fr}#studio .studio-project{padding:12px}
}
