#cover.customDesign{background:var(--design-bg) var(--design-image) center/cover no-repeat;color:var(--design-color)}
#cover.customDesign .heroCopy{text-align:var(--design-align)}
#cover.customDesign h1{color:var(--design-accent);font-size:calc(clamp(42px,9.7vw,164px) * var(--design-scale));overflow-wrap:anywhere}
#cover.customDesign p{color:var(--design-color)}
#cover.customDesign #explore{display:inline-flex}
#project .about-hero.customDesign,#collection.customDesign{background:linear-gradient(108deg,color-mix(in srgb,var(--design-bg) 96%,transparent),color-mix(in srgb,var(--design-bg) 66%,transparent)),var(--design-image) center/cover,var(--design-bg);color:var(--design-color);text-align:var(--design-align)}
#project .about-hero.customDesign h2,#collection.customDesign h2,#collection.customDesign #regionName{color:var(--design-accent)}
#project .about-hero.customDesign h2,#collection.customDesign h2{font-size:calc(clamp(34px,5.2vw,78px) * var(--design-scale))}
#collection.customDesign h2{padding-inline:18px}
#collection.customDesign #regionDescription,#collection.customDesign #hint{color:var(--design-color)}
.customDesign h2{overflow-wrap:anywhere}
#project .about-hero.customDesign p{display:inline-block}
#editor[open]{position:fixed;inset:0;box-sizing:border-box;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0;background:#f3f4ef;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;align-items:stretch;gap:0;animation:none;overflow:hidden}
.studioBar{display:flex;align-items:center;gap:13px;padding:12px 18px;background:#262626;color:#fff}
.studioBar b{font:600 9px Poppins;letter-spacing:.15em;color:#c7d4ad}
#editor .studioBar h2{margin:0;font:800 20px Aileron;letter-spacing:0}
#editor .studioBar .dismiss{position:static;background:#42463e;color:#fff;border-radius:7px;width:37px;height:35px;font-size:19px}
#studioActions{display:flex;gap:6px;margin-left:auto}
#editor #publish{background:#c4d4a7;color:#262626;font-weight:600;white-space:nowrap}
.studioBody{display:grid;grid-template-columns:162px minmax(0,1fr) minmax(250px,306px);overflow:hidden}
.studioNav,.studioInspector{background:#fff;padding:15px;overflow:auto;font-size:13px}
.studioNav{border-right:1px solid #daddd4}
.studioInspector{border-left:1px solid #daddd4}
#editTabs{display:grid;margin-top:12px}
.studioSlide{width:100%;padding:12px 8px;background:#f5f6f1;color:#333;text-align:left;border:1px solid #d8ded0;border-radius:7px;font-size:12px}
.studioSlide[aria-pressed=true]{background:#e6edd9;border-color:#75874c;font-weight:600}
.studioWorkspace{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;background:#e3e6dd}
#canvasBar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 15px;background:#f6f7f3;font-size:13px;border-bottom:1px solid #d5d9cf}
.studioViews{display:flex;gap:5px}
#studioCanvas{container-type:inline-size;min-width:0;overflow:auto;padding:clamp(12px,3vw,38px)}
.studioSheet{margin:auto;width:min(100%,890px);min-height:390px;border-radius:4px;box-shadow:0 7px 25px #272c2430;overflow:hidden;text-align:var(--design-align);color:var(--design-color);overflow-wrap:anywhere}
.studioSheet.mobile{width:min(100%,350px);min-height:535px}
.studioSheet h1{font:800 calc(clamp(30px,8.5cqi,78px) * var(--design-scale))/.95 Aileron;letter-spacing:-.055em;color:var(--design-accent);margin:16px 0}
.studioSheet.mobile h1{font-size:calc(clamp(28px,7.5cqi,37px) * var(--design-scale))}
.studioSheet p{font-size:13px;white-space:pre-wrap}
.studioSheet [contenteditable]{border:1px dashed transparent;padding:4px;min-width:0;cursor:text}
.studioSheet [contenteditable]:hover{border-color:#75874c}
.studioSheet [contenteditable]:focus{outline:2px solid #a3c878;background:#75874c27}
.studioSheet [contenteditable]:empty::before{content:attr(data-placeholder);opacity:.65}
.sheet-cover{background:var(--design-bg) var(--design-image) center/cover;display:flex;flex-direction:column;justify-content:center;padding:8%}
.sheet-cover>img{width:72px;margin:0 auto 20px}
.sheet-cover h2,.sheetDJ h2{font:800 24px Aileron}
.mockCta{display:inline-block;margin:16px auto 0;padding:8px 16px;background:#262626;color:#fff;border-radius:99px;font-size:12px}
.sheetAboutHero,.sheet-regions{padding:6%;background:linear-gradient(108deg,color-mix(in srgb,var(--design-bg) 96%,transparent),color-mix(in srgb,var(--design-bg) 66%,transparent)),var(--design-image) center/cover,var(--design-bg)}
.sheetGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px;background:#e8ebdf;color:#262626;text-align:left}
.sheetGrid h3{font:800 17px Aileron}
.sheetGrid img,.sheetDJ img{width:100%;height:110px;object-fit:cover;display:block}
.sheetBlocks{background:#262626;color:#f5f7ec}
.studioSheet.mobile .sheetGrid{grid-template-columns:1fr}
.studioFlag{font-size:10px;letter-spacing:.12em}
.studioCast{padding:10px;margin:10px 0;background:#2226;border-radius:6px}
.studioCast button,.sheetMedia button{background:#eef0e8;color:#262626;border:1px solid transparent;border-radius:6px;padding:6px;font-size:12px}
.studioCast button[aria-pressed=true],.sheetMedia button[aria-pressed=true]{background:#cad9ac;border-color:#75874c}
.sheetDJ{background:#e9ebdf;color:#262626;border-radius:8px;padding:10px;margin-top:14px}
.sheetMedia{display:flex;gap:4px;flex-wrap:wrap;justify-content:center;margin:8px 0}
#editor #editFields{overflow:visible}
.studioColors{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.studioColors input{height:33px;padding:1px}
#editor #saveStatus{margin:0;padding:7px 18px;background:#f4f6ef;border-top:1px solid #d2d8ca;min-height:30px}
#editor button:disabled{opacity:.48;cursor:default}
@media(max-width:800px){
.studioBody{grid-template-columns:minmax(0,1fr) minmax(190px,35%);grid-template-rows:auto minmax(0,1fr)}
.studioNav{grid-column:1/-1;border-right:0;padding:6px 10px}
.studioNav>strong{display:none}
#editTabs{display:flex;margin:0}
.studioSlide{padding:6px}
}
@media(max-width:560px){
.studioBody{display:flex;flex-direction:column;overflow:auto}
.studioWorkspace{min-height:320px;max-height:55dvh}
.studioInspector{overflow:visible}
.studioBar{gap:5px;padding:6px}
.studioBar b{display:none}
#editor .studioBar h2{font-size:15px}
#studioActions .minor,#editor #publish{padding:5px;font-size:10px}
#studioCanvas{padding:9px}
.sheetGrid{grid-template-columns:1fr}
}
#mapScene.customDesign{background:var(--design-bg)}
#mapScene.customDesign::before{background:linear-gradient(90deg,transparent,var(--design-bg) 65%),var(--design-image) left 60%/46% auto no-repeat}
#mapScene.customDesign .region.available{fill:var(--design-accent)}
#mapScene.customDesign .region.locked{stroke:color-mix(in srgb,var(--design-color) 58%,var(--design-bg))}
#mapScene.customDesign #home{background:var(--design-bg);color:var(--design-color)}
.sheet-map{position:relative;background:linear-gradient(90deg,transparent,var(--design-bg) 75%),var(--design-image) left center/60% auto no-repeat,var(--design-bg)}
.sheet-map svg{display:block;margin-left:auto;width:57%;height:435px}
.sheet-map img{position:absolute;bottom:10%;left:8%;width:65px;filter:invert(1)}
.studioMapOpen{fill:var(--design-accent);stroke:var(--design-color)}
.studioMapLocked{fill:#353a31;stroke:var(--design-color);stroke-width:.4}
.studioHandle{cursor:grab;font-size:10px;display:block;color:#c4d4a7;padding:4px 0}

/* La misma fotografía cubre el mapa publicado y el lienzo del editor. */
#mapScene.customDesign::before{
  background:linear-gradient(180deg,#26262660,#26262694),var(--design-image) center/cover no-repeat;
  opacity:1;
}
.sheet-map{
  background:linear-gradient(180deg,#26262660,#26262694),var(--design-image) center/cover no-repeat,var(--design-bg);
}

#detail[open]{width:min(1200px,96vw);grid-template-columns:minmax(210px,1fr) minmax(0,2.2fr);gap:clamp(12px,3vw,32px)}
#detail #large .art{height:auto;min-height:100px;display:block}
#detail #large .art img,.mediaPane img{display:block;width:100%;height:auto;max-height:52svh;object-fit:contain}
#detail #large .card p{display:block}
.youtubePlayer{display:block;width:100%;aspect-ratio:16/9;border:0;background:#181818;border-radius:8px;margin:12px 0}
.hot[aria-disabled=true]{cursor:default}
@media(max-width:620px){#detail[open]{grid-template-columns:minmax(0,1fr)}#detail #large .art img{max-height:34svh}}
.placeResults{display:grid;gap:6px;margin:10px 0}
.placeResults button{text-align:left}

.djProfile{display:grid;gap:12px}
.djProfile h4,.djProfile p{margin:0}
.profileGroup{display:grid;gap:10px;text-align:left}
.profileGroup h5{font:800 19px Aileron;margin:3px 0}
.profileTrack{border:1px solid #a9b29a;border-radius:8px;padding:12px;display:grid;gap:10px;background:#f4f5ef}
.profileTrack audio{display:block;width:100%;max-width:100%}
.profileLinks{display:flex;gap:6px;flex-wrap:wrap}
.profileLinks a{border:1px solid #a9b29a;border-radius:999px;padding:6px 11px;font-size:12px;text-decoration:none}
.profileLinks a:hover{background:#dce8cb}
