.ch-wrap{--ch-ink:#37352f;--ch-muted:#77736b;--ch-paper:#fbf8f2;--ch-accent:#7253a5;color:var(--ch-ink);font-family:inherit;max-width:1180px;margin:0 auto;padding:16px}.ch-wrap *{box-sizing:border-box}.ch-hero{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:34px;background:linear-gradient(135deg,#f7f0e5,#f1e9f7);border-radius:26px;overflow:hidden;padding:clamp(24px,5vw,64px);min-height:360px}.ch-hero h1{font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.03;margin:.2em 0;color:#3c3543}.ch-lead{font-size:1.13rem;line-height:1.7;max-width:600px}.ch-hero-art{align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:240px}.ch-hero-art img{width:100%;height:320px;object-fit:cover;object-position:center 40%;border-radius:20px;box-shadow:0 12px 32px #443b3518}.ch-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:#806a9c;margin:0 0 10px}.ch-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.ch-button{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:999px;background:#7253a5;color:#fff!important;padding:12px 20px;text-decoration:none;font-weight:650;cursor:pointer;line-height:1.25}.ch-button:hover{background:#5e428d;color:#fff}.ch-button-light{background:#fff;color:#59447a!important;border:1px solid #ded4e9}.ch-section{padding:clamp(28px,5vw,56px) 0}.ch-section-head{display:flex;justify-content:space-between;gap:28px;align-items:end;margin-bottom:22px}.ch-section-head h2,.ch-section h2{font-size:clamp(1.6rem,3vw,2.35rem);margin:.1em 0 .4em}.ch-section-head>p{max-width:460px;color:var(--ch-muted);line-height:1.6}.ch-section-head .ch-eyebrow{margin-bottom:8px}#ch-map{height:440px;border-radius:20px;overflow:hidden;background:#eee}.ch-muted{font-size:.88rem;color:var(--ch-muted);line-height:1.5}.ch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ch-grid article{background:#fbf8f2;border:1px solid #eee7dd;border-radius:18px;padding:24px}.ch-grid article>span{font-size:1.7rem}.ch-grid h3{margin:.7em 0 .35em}.ch-grid p,.ch-forum p{line-height:1.65;color:var(--ch-muted)}.ch-forum{background:#f8f3fb;border-radius:22px;padding:30px}.ch-join{display:grid;grid-template-columns:.8fr 1.2fr;gap:38px;align-items:start;background:#fbf8f2;border-radius:22px;padding:clamp(24px,4vw,44px)}.ch-form{display:grid;gap:15px}.ch-form label{display:grid;gap:7px;font-weight:600;font-size:.94rem}.ch-form input:not([type=checkbox]),.ch-form select,.ch-form textarea{width:100%;min-width:0;border:1px solid #d9d2c8;border-radius:10px;background:#fff;padding:12px 13px;font:inherit;color:#37352f}.ch-form input:focus,.ch-form select:focus,.ch-form textarea:focus{outline:2px solid #c9b7e4;outline-offset:1px}.ch-form small{font-weight:400;color:var(--ch-muted)}.ch-check{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:9px!important;font-weight:400!important;line-height:1.5}.ch-check input{margin-top:5px}.ch-alert{border-radius:12px;background:#edf7ed;border:1px solid #cde5ce;padding:14px 18px;margin:18px 0}.ch-error{background:#fff0ef;border-color:#f0c5c1}.ch-profile-card{display:flex;align-items:flex-start;gap:22px;background:#fbf8f2;border-radius:18px;padding:24px;margin:24px 0}.ch-avatar{width:104px;height:104px;object-fit:cover;border-radius:50%}.ch-profile-card h2{margin:.15em 0 .5em}.ch-tag{display:inline-block;vertical-align:middle;border-radius:999px;background:#eee6f7;color:#604587;padding:5px 10px;font-size:.75rem;font-weight:700}.ch-meta{margin:.35em 0;color:#666158}.ch-location-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ch-footer{border-top:1px solid #eee7dd;padding:22px 0;color:var(--ch-muted);font-size:.88rem}.ch-logout{margin:0 0 24px}.leaflet-popup-content{line-height:1.45;margin:13px 16px;min-width:190px}.ch-popup-card{display:flex;flex-direction:column;gap:10px;min-width:190px;max-width:230px}.ch-popup-avatar{display:block;width:100%;height:112px;object-fit:cover;object-position:center;border-radius:10px;background:#f5f0e8}.ch-popup-details{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.ch-popup-name{font-weight:700;font-size:1.02rem;color:#37352f}.ch-popup-location{font-size:.9rem;color:#77736b}.ch-popup-level{font-size:.88rem;color:#5f594f}.ch-popup-link{display:inline-block;margin-top:5px;color:#7253a5!important;font-weight:700;text-decoration:underline!important}.leaflet-popup-content-wrapper{border-radius:14px;box-shadow:0 5px 20px rgba(35,30,25,.18)}@media(max-width:760px){.ch-wrap{padding:10px}.ch-hero{grid-template-columns:1fr;gap:20px;padding:26px 22px;border-radius:20px}.ch-hero-art{min-height:180px}.ch-hero-art img{height:230px;max-width:420px}.ch-section-head{display:block}.ch-section-head>p{margin-top:8px}.ch-grid{grid-template-columns:1fr;gap:12px}.ch-grid article{padding:20px}.ch-join{grid-template-columns:1fr;gap:22px;padding:24px 18px}.ch-profile-card{padding:18px;gap:14px}.ch-avatar{width:76px;height:76px}.ch-location-fields{grid-template-columns:1fr}#ch-map{height:350px}.ch-actions .ch-button{flex:1 1 150px}.ch-profile-card h2{font-size:1.35rem}}
.ch-main-nav{position:sticky;top:0;z-index:500;display:flex;gap:6px;align-items:center;flex-wrap:nowrap;overflow-x:auto;margin:16px 0 4px;padding:10px;background:rgba(255,255,255,.94);border:1px solid #eee7dd;border-radius:16px;box-shadow:0 5px 18px rgba(50,40,30,.05);scrollbar-width:thin}
.ch-main-nav a{flex:0 0 auto;display:inline-flex;align-items:center;padding:10px 13px;border-radius:999px;color:#5a4b68!important;text-decoration:none!important;font-size:13px;font-weight:650;white-space:nowrap;transition:background .18s,color .18s}
.ch-main-nav a:hover,.ch-main-nav a:focus{background:#7253a5;color:#fff!important}
.ch-directory{background:#fbf8f2;border-radius:20px;padding:clamp(24px,4vw,38px)}
.ch-directory p:not(.ch-eyebrow){max-width:760px;line-height:1.7;color:var(--ch-muted)}
.ch-text-link{display:inline-block;margin-top:8px;color:#7253a5!important;font-weight:700;text-decoration:none!important}
.ch-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ch-link-grid article{scroll-margin-top:90px;border:1px solid #eee7dd;border-radius:18px;background:#fff;padding:clamp(20px,3vw,30px)}
.ch-link-grid article>span{font-size:1.5rem;color:#7253a5}
.ch-link-grid article h2{font-size:1.35rem;margin:.4em 0}
.ch-link-grid article p:last-child{color:var(--ch-muted);line-height:1.65;margin-bottom:0}
.ch-section[id]{scroll-margin-top:100px}
@media(max-width:760px){.ch-main-nav{margin:12px 0 0;border-radius:12px;padding:7px;gap:3px}.ch-main-nav a{font-size:12px;padding:9px 11px}.ch-link-grid{grid-template-columns:1fr}.ch-directory{padding:23px 18px}}


/* Cabecera y navegación propias; solo en páginas con [comunidad_handpan] */
body.ch-community-page .site-header,
body.ch-community-page .main-navigation,
body.ch-community-page .site-footer,
body.ch-community-page .site-info,
body.ch-community-page .footer-widgets,
body.ch-community-page .footer-bar,
body.ch-community-page #site-navigation,
body.ch-community-page .inside-site-info,
body.ch-community-page .inside-footer-widgets{display:none!important}
body.ch-community-page .site-content,
body.ch-community-page .content-area,
body.ch-community-page .site-main,
body.ch-community-page .inside-article,
body.ch-community-page .entry-content{margin-top:0!important;padding-top:0!important}
body.ch-community-page .site-content .content-area{width:100%!important;float:none!important}
body.ch-community-page .entry-header{display:none!important}
body.ch-community-page .grid-container{max-width:100%!important}
.ch-community-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px clamp(18px,4vw,46px);margin:0 0 14px;background:#fffdf9;border:1px solid #eee7dd;border-radius:16px}
.ch-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:#3c3543!important}
.ch-brand-mark{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:#f1e3d3;color:#a86537;font-size:25px}
.ch-brand-text{display:flex;flex-direction:column;gap:3px;line-height:1.2}
.ch-brand-text strong{font-size:13px;letter-spacing:.045em}
.ch-brand-text small{font-size:10px;letter-spacing:.15em;color:#806a9c}
.ch-back-home{font-size:13px;font-weight:600;color:#7253a5!important;text-decoration:none!important;white-space:nowrap}
.ch-main-nav{position:sticky;top:8px;z-index:900;display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:rgba(255,255,255,.96);border:1px solid #eee5dc;border-radius:16px;padding:8px;margin:0 0 24px;box-shadow:0 7px 22px rgba(55,43,32,.06);backdrop-filter:blur(12px)}
.ch-main-nav a{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:999px;color:#5b4c68!important;text-decoration:none!important;font-size:12px;font-weight:650;white-space:nowrap}
.ch-main-nav a:first-child,.ch-main-nav a:hover{background:#7253a5;color:#fff!important}
.ch-wrap{max-width:1280px}
.ch-hero{margin-top:0}
@media(max-width:760px){
 .ch-community-header{padding:12px 14px;border-radius:14px}
 .ch-brand-mark{width:36px;height:36px;flex-basis:36px}
 .ch-brand-text strong{font-size:11px}
 .ch-brand-text small{font-size:9px}
 .ch-back-home{font-size:11px}
 .ch-main-nav{position:relative;top:auto;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:7px;margin-bottom:18px}
 .ch-main-nav a{flex:0 0 auto;padding:10px 12px}
}
/* Comunidad Handpan 0.4.0: subpáginas independientes y marca oficial */
.ch-community-header{background:#fff!important;border-radius:0!important;border-width:0 0 1px!important;border-color:#eee7dd!important;margin:0 0 12px!important;padding:14px clamp(18px,4vw,46px)!important}
.ch-brand .custom-logo-link{display:inline-flex;align-items:center;line-height:0}
.ch-brand .custom-logo{display:block;width:auto;max-width:230px;max-height:66px;object-fit:contain}
.ch-brand-text{display:flex;flex-direction:column;gap:3px;line-height:1.2}
.ch-main-nav a.is-active,.ch-main-nav a:hover,.ch-main-nav a:focus{background:#7253a5;color:#fff!important}
.ch-main-nav a:not(:first-child).is-active{background:#7253a5;color:#fff!important}
.ch-home-intro{padding-top:34px}
.ch-link-grid a.ch-section-tile{display:block;text-decoration:none!important;color:inherit!important;border:1px solid #eee7dd;border-radius:18px;background:#fff;padding:clamp(20px,3vw,30px);transition:transform .18s,box-shadow .18s}
.ch-link-grid a.ch-section-tile:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(55,43,32,.08)}
.ch-section-tile>span{font-size:1.6rem;color:#7253a5}.ch-section-tile h2{font-size:1.3rem!important;margin:.35em 0}.ch-section-tile p:not(.ch-eyebrow){color:var(--ch-muted);line-height:1.6}.ch-section-tile strong{display:inline-block;color:#7253a5;margin-top:8px}
.ch-section-landing{min-height:55vh;padding-top:clamp(35px,6vw,75px)}
.ch-section-landing h1{font-size:clamp(2rem,4vw,3.4rem);margin:.2em 0}.ch-coming-soon{margin-top:30px;padding:clamp(24px,4vw,42px);border-radius:22px;background:#fbf8f2;border:1px solid #eee7dd;max-width:760px}.ch-coming-soon>span{font-size:2rem;color:#7253a5}.ch-coming-soon p{color:var(--ch-muted);line-height:1.7}
.ch-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.ch-member-card{padding:24px;border:1px solid #eee7dd;background:#fff;border-radius:18px}.ch-member-card h2{font-size:1.25rem;margin:.7em 0 .4em}.ch-empty{margin-top:26px;padding:32px;border-radius:20px;background:#fbf8f2}.ch-footer{margin-top:30px}
@media(max-width:760px){.ch-brand .custom-logo{max-width:175px;max-height:52px}.ch-member-grid{grid-template-columns:1fr}.ch-link-grid{grid-template-columns:1fr}}

/* Comunidad Handpan 0.4.1: logo oficial transparente, compacto y alineado */
.ch-community-header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:88px!important;padding:10px clamp(18px,4vw,46px)!important;background:#fff!important;border:0!important;border-bottom:1px solid #eee7dd!important;border-radius:0!important;margin:0 0 12px!important;gap:20px!important}
.ch-brand{display:flex!important;align-items:center!important;flex:0 1 auto!important;min-width:0!important;line-height:0!important}
.ch-brand .ch-community-logo{display:block!important;width:auto!important;height:auto!important;max-width:min(280px,42vw)!important;max-height:72px!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ch-back-home{margin-left:auto!important;font-size:13px!important;font-weight:600!important;color:#7253a5!important;text-decoration:none!important;white-space:nowrap!important}
@media(max-width:760px){.ch-community-header{min-height:68px!important;padding:8px 14px!important;gap:10px!important}.ch-brand .ch-community-logo{max-width:185px!important;max-height:54px!important}.ch-back-home{font-size:11px!important}}


/* Comunidad Handpan 0.4.2: logo y menú en una única fila */
.ch-community-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;min-height:88px!important;padding:10px clamp(16px,3vw,34px)!important;background:#fff!important;border:0!important;border-bottom:1px solid #eee7dd!important;border-radius:0!important;margin:0 0 24px!important}
.ch-brand{flex:0 0 auto!important;max-width:230px!important}
.ch-brand .ch-community-logo{display:block!important;width:auto!important;height:auto!important;max-width:220px!important;max-height:64px!important;object-fit:contain!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ch-main-nav{position:static!important;flex:1 1 auto!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:3px!important;overflow-x:auto!important;margin:0!important;padding:7px!important;background:#fff!important;border:1px solid #eee7dd!important;border-radius:14px!important;box-shadow:0 5px 18px rgba(50,40,30,.045)!important;scrollbar-width:thin!important}
.ch-main-nav a{flex:0 0 auto!important;padding:9px 11px!important;font-size:12px!important}
.ch-main-nav a:first-child:not(.is-active):not(:hover){background:transparent!important;color:#5b4c68!important}
.ch-main-nav a.is-active,.ch-main-nav a:hover,.ch-main-nav a:focus{background:#7253a5!important;color:#fff!important}
.ch-main-nav a.ch-back-home{margin-left:5px!important;padding-left:13px!important;border-left:1px solid #eee7dd!important;border-radius:0 999px 999px 0!important;color:#7253a5!important;background:transparent!important}
.ch-main-nav a.ch-back-home:hover,.ch-main-nav a.ch-back-home:focus{background:#f3edf8!important;color:#5e428d!important}
@media(max-width:1050px){.ch-community-header{align-items:flex-start!important;flex-direction:column!important;gap:10px!important;padding:12px 16px!important}.ch-brand .ch-community-logo{max-width:190px!important;max-height:52px!important}.ch-main-nav{width:100%!important;justify-content:flex-start!important}.ch-main-nav a{padding:9px 10px!important}}
@media(max-width:760px){.ch-community-header{gap:9px!important;margin-bottom:16px!important}.ch-brand .ch-community-logo{max-width:170px!important;max-height:48px!important}.ch-main-nav{position:relative!important;top:auto!important;flex-wrap:nowrap!important}.ch-main-nav a{font-size:11px!important;padding:9px 10px!important}.ch-main-nav a.ch-back-home{margin-left:2px!important}}


/* Portada principal de Comunidad Handpan 0.4.4 */
.ch-hero-home{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:clamp(28px,5vw,66px);min-height:430px;padding:clamp(30px,5vw,64px);background:linear-gradient(115deg,#f8f2e8 0%,#f5edf6 100%)}
.ch-hero-home .ch-hero-copy{max-width:650px}
.ch-hero-home h1{font-size:clamp(2.65rem,5.4vw,4.75rem);letter-spacing:-.045em;line-height:.99;margin:.18em 0 .28em;font-weight:700}
.ch-hero-home h1 em{font-style:italic;color:#9a641d;font-weight:600}
.ch-hero-home .ch-lead{font-size:clamp(1.05rem,1.5vw,1.2rem);line-height:1.65;max-width:590px;margin:18px 0 0}
.ch-hero-home .ch-actions{margin-top:27px;gap:12px}
.ch-hero-home .ch-button{padding:14px 21px;font-size:.97rem}
.ch-hero-home .ch-button-light{background:rgba(255,255,255,.72);border-color:#e3d7e9}
.ch-hero-note{font-size:.82rem;color:#777067;line-height:1.5;margin:17px 0 0}
.ch-hero-map-card{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:340px;overflow:hidden;border-radius:22px;text-decoration:none!important;color:#153a40!important;background:#b8dce4;border:1px solid rgba(255,255,255,.7);box-shadow:0 18px 45px rgba(51,74,78,.12);isolation:isolate}
.ch-hero-map{position:absolute;inset:0;z-index:0;background:#b8dce4}
.ch-hero-map .leaflet-control-zoom{margin-top:58px!important}
.ch-hero-map .leaflet-control-attribution{font-size:9px}
.ch-map-kicker{position:absolute;z-index:500;top:18px;left:20px;background:rgba(255,255,255,.9);color:#966016;border:1px solid rgba(150,96,22,.15);border-radius:999px;padding:7px 11px;font-size:.68rem;font-weight:750;letter-spacing:.1em;pointer-events:none}
.ch-map-card-caption{position:relative;z-index:500;display:flex;flex-direction:column;gap:5px;margin-top:auto;padding:52px 22px 22px;color:#fff!important;text-decoration:none!important;background:linear-gradient(transparent,rgba(13,55,63,.88));transition:background .2s ease}
.ch-map-card-caption:hover{background:linear-gradient(transparent,rgba(13,55,63,.96));color:#fff!important}
.ch-map-card-caption strong{font-family:Georgia,serif;font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.2}
.ch-map-card-caption small{font-size:.88rem;line-height:1.45}
.ch-hero-home .ch-button{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,border-color .2s ease}
.ch-hero-home .ch-button:hover{transform:translateY(-3px);box-shadow:0 9px 20px rgba(92,67,35,.2);background:#8f5d18;color:#fff!important}
.ch-hero-home .ch-button-light:hover{background:#f1e7d8;border-color:#c9b18e;color:#68471f!important}
@media(prefers-reduced-motion:reduce){.ch-hero-home .ch-button,.ch-map-card-caption{transition:none}.ch-hero-home .ch-button:hover{transform:none}}
@media(max-width:760px){.ch-hero-home{grid-template-columns:1fr;gap:24px;min-height:0;padding:28px 22px}.ch-hero-home h1{font-size:clamp(2.5rem,11vw,3.6rem)}.ch-hero-map-card{min-height:260px}.ch-hero-home .ch-actions .ch-button{flex:1 1 180px;text-align:center}.ch-hero-note{font-size:.78rem}}

/* Ajuste de jerarquía visual de portada 0.4.5: titular principal explícito */
.ch-wrap .ch-hero-home .ch-main-headline{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  position:relative;
  z-index:2;
  color:#12353c !important;
  font-size:clamp(3rem,5.7vw,5rem) !important;
  font-weight:700 !important;
  letter-spacing:-.045em !important;
  line-height:.98 !important;
  margin:.16em 0 .28em !important;
  max-width:690px;
}
.ch-wrap .ch-hero-home .ch-main-headline em{
  display:inline-block;
  color:#a86c17 !important;
  font-style:italic !important;
  font-weight:600 !important;
}
.ch-wrap .ch-hero-home .ch-hero-copy{align-self:center}
@media(max-width:760px){
  .ch-wrap .ch-hero-home .ch-main-headline{font-size:clamp(2.65rem,10.5vw,3.8rem) !important;line-height:1.0 !important}
}

/* 0.4.6: titular definitivo de portada */
.ch-wrap .ch-hero-home .ch-main-headline{
  font-size:clamp(3.5rem,6.4vw,5.6rem) !important;
  line-height:.91 !important;
  letter-spacing:-.055em !important;
  margin:.12em 0 .3em !important;
  max-width:660px !important;
  color:#12353c !important;
  font-weight:750 !important;
}
.ch-wrap .ch-hero-home .ch-main-headline em{
  color:#a86c17 !important;
  display:inline-block !important;
  font-style:italic !important;
  font-weight:650 !important;
}
@media(max-width:760px){
 .ch-wrap .ch-hero-home .ch-main-headline{font-size:clamp(3rem,12vw,4.2rem) !important;line-height:.96 !important}
}

/* 0.4.7: forzar la visibilidad del titular principal y darle jerarquía */
.ch-wrap .ch-hero.ch-hero-home .ch-hero-copy h1.ch-main-headline{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  height:auto !important;
  overflow:visible !important;
  clip:auto !important;
  clip-path:none !important;
  text-indent:0 !important;
  position:relative !important;
  z-index:5 !important;
  width:auto !important;
  max-width:700px !important;
  font-size:clamp(58px,6.3vw,88px) !important;
  line-height:.93 !important;
  letter-spacing:-.055em !important;
  margin:0 0 24px !important;
  padding:0 !important;
  color:#12353c !important;
  font-weight:750 !important;
}
.ch-wrap .ch-hero.ch-hero-home .ch-hero-copy h1.ch-main-headline em{
  display:inline !important;
  visibility:visible !important;
  color:#a86c17 !important;
  font-style:italic !important;
  font-weight:650 !important;
}
.ch-wrap .ch-hero-home .ch-actions .ch-button:first-child{
  background:#a86c17 !important;
  color:#fff !important;
}
@media(max-width:760px){
  .ch-wrap .ch-hero.ch-hero-home .ch-hero-copy h1.ch-main-headline{
    font-size:clamp(46px,11.5vw,68px) !important;
    line-height:.97 !important;
    margin-bottom:20px !important;
  }
}


/* Mapa mundial y chinchetas de la comunidad (v0.4.9) */
#ch-map{width:100%;height:clamp(360px,62vh,620px);min-height:360px;background:#eaf0f2}
#ch-map .ch-marker-container,#ch-hero-map .ch-marker-container{background:transparent;border:0}
#ch-map .ch-pin,#ch-hero-map .ch-pin{position:relative;display:block;width:25px;height:25px;background:#e53935;border:2px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 6px rgba(0,0,0,.38)}
#ch-map .ch-pin>span,#ch-hero-map .ch-pin>span{position:absolute;left:6px;top:6px;width:9px;height:9px;background:#fff;border-radius:50%}
#ch-map .ch-pin-admin,#ch-hero-map .ch-pin-admin{width:31px;height:31px;border:3px solid #2477d4;box-shadow:0 2px 8px rgba(0,0,0,.42),0 0 0 2px #fff}
#ch-map .ch-pin-admin>span,#ch-hero-map .ch-pin-admin>span{left:8px;top:8px;width:9px;height:9px}
@media(max-width:760px){#ch-map{height:58vh;min-height:350px}}


/* Comunidad Handpan 0.5.1: acceso unificado y botón principal de cabecera */
.ch-main-nav a.ch-entry-button{
  margin-left:4px!important;
  padding:11px 17px!important;
  border-radius:10px!important;
  background:#986019!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:700!important;
  border:1px solid #986019!important;
}
.ch-main-nav a.ch-entry-button:hover,
.ch-main-nav a.ch-entry-button:focus{
  background:#7d4c12!important;color:#fff!important;
}
.ch-main-nav a.ch-entry-button.is-active{background:#986019!important;color:#fff!important}
.ch-auth-page{max-width:980px;margin:28px auto 64px;padding:clamp(12px,3vw,28px)}
.ch-auth-intro{text-align:center;max-width:690px;margin:0 auto 28px}
.ch-auth-intro h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;margin:.25em 0 .4em;color:#123139}
.ch-auth-intro>p:last-child{font-size:1.08rem;line-height:1.65;color:#5d7072}
.ch-auth-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.ch-auth-card{background:#fffdf8;border:1px solid #e7ddce;border-radius:20px;padding:clamp(20px,3vw,32px);box-shadow:0 10px 30px rgba(64,48,28,.055);min-width:0}
.ch-auth-card h2{font-size:1.5rem;color:#123139;margin:.3em 0 .45em}
.ch-auth-card>p{color:#5d7072;line-height:1.6}
.ch-auth-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f5e8d6;color:#986019;font-size:1.5rem}
.ch-auth-card #ch-loginform{display:grid;gap:12px;margin-top:20px}
.ch-auth-card #ch-loginform p{margin:0;display:grid;gap:6px}
.ch-auth-card #ch-loginform label{font-weight:600;font-size:.9rem}
.ch-auth-card #ch-loginform input[type=text],
.ch-auth-card #ch-loginform input[type=password]{width:100%;box-sizing:border-box;border:1px solid #d9d2c8;border-radius:10px;background:#fff;padding:12px 13px;font:inherit}
.ch-auth-card #ch-loginform p.login-remember{display:flex;align-items:center;gap:8px}
.ch-auth-card #ch-loginform p.login-remember label{font-weight:400}
.ch-auth-card #ch-loginform p.login-submit input{width:100%;border:0;border-radius:10px;background:#986019;color:#fff;font:inherit;font-weight:700;padding:13px;cursor:pointer}
.ch-auth-card .ch-form{margin-top:20px}
.ch-auth-foot{text-align:center;color:#657577;font-size:.9rem;margin-top:24px;line-height:1.6}
@media(max-width:760px){
 .ch-auth-columns{grid-template-columns:1fr}
 .ch-auth-page{padding:8px;margin-top:18px}
 .ch-main-nav a.ch-entry-button{font-size:13px!important;padding:10px 13px!important}
}


/* Comunidad Handpan 0.5.2: menú más legible y pantalla de acceso cuidada */
.ch-community-page .ch-main-nav a{
  font-size:16px!important;
  line-height:1.35!important;
  padding:12px 13px!important;
}
.ch-community-page .ch-main-nav a.ch-entry-button{
  font-size:16px!important;
  padding:13px 18px!important;
  white-space:nowrap!important;
}
.ch-community-page .ch-auth-page{
  max-width:1080px!important;
  margin:42px auto 76px!important;
  padding:clamp(18px,3vw,34px)!important;
}
.ch-community-page .ch-auth-intro{
  max-width:720px!important;
  margin:0 auto 34px!important;
  text-align:center!important;
}
.ch-community-page .ch-auth-intro .ch-eyebrow{
  color:#986019!important;
  letter-spacing:.14em!important;
  font-size:.78rem!important;
  font-weight:700!important;
}
.ch-community-page .ch-auth-intro h1{
  color:#123139!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(2.2rem,4.5vw,3.35rem)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
  margin:12px 0 14px!important;
}
.ch-community-page .ch-auth-intro>p:last-child{
  max-width:620px!important;
  margin:0 auto!important;
  color:#586e70!important;
  font-size:1.08rem!important;
  line-height:1.7!important;
}
.ch-community-page .ch-auth-columns{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
  max-width:920px!important;
  margin:0 auto!important;
}
.ch-community-page .ch-auth-card{
  box-sizing:border-box!important;
  background:linear-gradient(145deg,#fffdf8 0%,#fbf5eb 100%)!important;
  border:1px solid #e6d7c3!important;
  border-radius:22px!important;
  padding:clamp(22px,3vw,34px)!important;
  box-shadow:0 12px 34px rgba(58,45,28,.07)!important;
}
.ch-community-page .ch-auth-card h2{
  color:#123139!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:1.7rem!important;
  line-height:1.2!important;
  margin:12px 0 10px!important;
}
.ch-community-page .ch-auth-card>p{
  color:#586e70!important;
  font-size:.98rem!important;
  line-height:1.65!important;
}
.ch-community-page .ch-auth-card .ch-auth-icon{
  width:48px!important;height:48px!important;
  border-radius:15px!important;
  background:#f2e3cd!important;
  color:#986019!important;
  font-size:1.7rem!important;
}
.ch-community-page .ch-auth-card #ch-loginform{
  display:flex!important;
  flex-direction:column!important;
  gap:15px!important;
  margin:24px 0 0!important;
}
.ch-community-page .ch-auth-card #ch-loginform p{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
  margin:0!important;
  width:100%!important;
}
.ch-community-page .ch-auth-card #ch-loginform label{
  display:block!important;
  color:#24464b!important;
  font-size:.92rem!important;
  font-weight:600!important;
}
.ch-community-page .ch-auth-card #ch-loginform input[type=text],
.ch-community-page .ch-auth-card #ch-loginform input[type=password]{
  display:block!important;
  width:100%!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  border:1px solid #d9cdbb!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#24383b!important;
  padding:12px 14px!important;
  font:inherit!important;
  box-shadow:none!important;
}
.ch-community-page .ch-auth-card #ch-loginform input:focus,
.ch-community-page .ch-auth-card .ch-form input:focus,
.ch-community-page .ch-auth-card .ch-form select:focus{
  outline:2px solid rgba(152,96,25,.2)!important;
  border-color:#986019!important;
}
.ch-community-page .ch-auth-card #ch-loginform p.login-remember{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:8px!important;
}
.ch-community-page .ch-auth-card #ch-loginform p.login-remember label{
  font-weight:400!important;
}
.ch-community-page .ch-auth-card #ch-loginform p.login-submit input{
  width:100%!important;
  min-height:49px!important;
  border:0!important;
  border-radius:11px!important;
  background:#986019!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:700!important;
  padding:13px 18px!important;
  cursor:pointer!important;
  transition:background .2s ease,transform .2s ease!important;
}
.ch-community-page .ch-auth-card #ch-loginform p.login-submit input:hover{
  background:#7d4c12!important;
  transform:translateY(-1px)!important;
}
.ch-community-page .ch-auth-card .ch-form{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  margin:22px 0 0!important;
}
.ch-community-page .ch-auth-card .ch-form label:not(.ch-check){
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  color:#24464b!important;
  font-size:.92rem!important;
  font-weight:600!important;
}
.ch-community-page .ch-auth-card .ch-form input:not([type=checkbox]),
.ch-community-page .ch-auth-card .ch-form select{
  width:100%!important;
  min-height:48px!important;
  box-sizing:border-box!important;
  border:1px solid #d9cdbb!important;
  border-radius:11px!important;
  background:#fff!important;
  padding:12px 14px!important;
  color:#24383b!important;
  font:inherit!important;
}
.ch-community-page .ch-auth-card .ch-form .ch-button{
  width:100%!important;
  min-height:49px!important;
  border:0!important;
  border-radius:11px!important;
  background:#986019!important;
  color:#fff!important;
  font-size:1rem!important;
  font-weight:700!important;
  padding:13px 18px!important;
}
.ch-community-page .ch-auth-card a:not(.ch-button){
  color:#986019!important;
  text-underline-offset:3px!important;
}
.ch-community-page .ch-auth-foot{
  max-width:700px!important;
  margin:26px auto 0!important;
  text-align:center!important;
  color:#647577!important;
  line-height:1.65!important;
}
@media(max-width:760px){
  .ch-community-page .ch-main-nav a{font-size:15px!important;padding:10px 9px!important}
  .ch-community-page .ch-main-nav a.ch-entry-button{font-size:14px!important;padding:10px 12px!important}
  .ch-community-page .ch-auth-columns{grid-template-columns:1fr!important;gap:18px!important}
  .ch-community-page .ch-auth-page{margin:20px auto 44px!important;padding:12px!important}
  .ch-community-page .ch-auth-card{padding:23px!important}
}


/* Comunidad Handpan 0.5.3: rediseño completo de la pantalla de acceso */
.ch-community-page .ch-auth-redesign{
  max-width:100%!important;
  width:100%!important;
  margin:0!important;
  padding:54px 22px 76px!important;
  box-sizing:border-box!important;
  background:radial-gradient(ellipse at 50% 0%,#fffaf0 0%,#f8f5ed 58%,#f6f2e9 100%)!important;
}
.ch-community-page .ch-auth-shell{max-width:1040px!important;margin:0 auto!important}
.ch-community-page .ch-auth-redesign .ch-auth-intro{
  max-width:740px!important;margin:0 auto 30px!important;text-align:center!important
}
.ch-community-page .ch-auth-redesign .ch-auth-intro h1{
  font-family:Georgia,"Times New Roman",serif!important;
  color:#0d3037!important;font-size:clamp(2.25rem,4.6vw,3.45rem)!important;
  line-height:1.05!important;letter-spacing:-.035em!important;margin:12px 0 16px!important
}
.ch-community-page .ch-auth-redesign .ch-auth-intro h1 em{
  color:#a86b17!important;font-weight:500!important
}
.ch-community-page .ch-auth-redesign .ch-auth-intro>p:last-child{
  max-width:600px!important;margin:0 auto!important;color:#526c70!important;
  font-size:1.08rem!important;line-height:1.7!important
}
.ch-community-page .ch-auth-redesign .ch-auth-single{
  max-width:510px!important;width:100%!important;box-sizing:border-box!important;
  margin:0 auto!important;padding:clamp(25px,4vw,38px)!important;
  background:rgba(255,254,250,.96)!important;border:1px solid #e7ddcd!important;
  border-radius:25px!important;box-shadow:0 18px 48px rgba(55,43,28,.09)!important
}
.ch-community-page .ch-auth-tabs{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;
  padding:5px!important;background:#f3eee4!important;border-radius:13px!important;margin:0 0 26px!important
}
.ch-community-page .ch-auth-tab{
  appearance:none!important;border:1px solid transparent!important;background:transparent!important;
  color:#53696b!important;border-radius:10px!important;padding:12px 8px!important;
  font:600 14px/1.3 inherit!important;cursor:pointer!important;transition:all .18s ease!important
}
.ch-community-page .ch-auth-tab.is-active{
  background:#fffdfa!important;color:#123139!important;border-color:#e8dece!important;
  box-shadow:0 2px 8px rgba(50,38,22,.06)!important
}
.ch-community-page .ch-auth-panel h2{
  font-family:Georgia,"Times New Roman",serif!important;color:#103139!important;
  text-align:center!important;font-size:1.8rem!important;line-height:1.15!important;margin:0 0 8px!important
}
.ch-community-page .ch-auth-subtitle{
  color:#607477!important;text-align:center!important;font-size:.96rem!important;line-height:1.55!important;
  margin:0 0 22px!important
}
.ch-community-page .ch-auth-card #ch-loginform{
  display:flex!important;flex-direction:column!important;gap:14px!important;margin:0!important
}
.ch-community-page .ch-auth-card #ch-loginform p{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;
  margin:0!important;width:100%!important
}
.ch-community-page .ch-auth-card #ch-loginform label{
  display:block!important;color:#29494d!important;font-size:.9rem!important;font-weight:600!important
}
.ch-community-page .ch-auth-card #ch-loginform input[type=text],
.ch-community-page .ch-auth-card #ch-loginform input[type=password]{
  width:100%!important;min-height:49px!important;box-sizing:border-box!important;
  border:1px solid #ded4c5!important;border-radius:11px!important;background:#fff!important;
  padding:12px 14px!important;font:inherit!important;color:#203b3f!important;box-shadow:none!important
}
.ch-community-page .ch-auth-card #ch-loginform p.login-remember{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important
}
.ch-community-page .ch-auth-card #ch-loginform p.login-remember label{font-weight:400!important}
.ch-community-page .ch-auth-card #ch-loginform p.login-submit input{
  width:100%!important;min-height:49px!important;border:0!important;border-radius:11px!important;
  background:#a5670d!important;color:#fff!important;padding:13px 18px!important;
  font-size:1rem!important;font-weight:700!important;cursor:pointer!important
}
.ch-community-page .ch-auth-forgot{text-align:center!important;margin:15px 0 0!important;font-size:.9rem!important}
.ch-community-page .ch-auth-forgot a{color:#986019!important;text-decoration:none!important}
.ch-community-page .ch-auth-divider{
  display:flex!important;align-items:center!important;gap:12px!important;color:#8a9290!important;
  font-size:.82rem!important;margin:24px 0 17px!important
}
.ch-community-page .ch-auth-divider:before,.ch-community-page .ch-auth-divider:after{
  content:""!important;flex:1!important;height:1px!important;background:#e8dfd1!important
}
.ch-community-page .ch-auth-google{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  width:100%!important;min-height:49px!important;border:1px solid #e2d8c8!important;border-radius:11px!important;
  background:#fffdfa!important;color:#29464a!important;font-size:.96rem!important;font-weight:600!important;
  padding:12px 14px!important;opacity:.8!important;cursor:not-allowed!important
}
.ch-community-page .ch-google-mark{font-size:1.1rem!important;font-weight:800!important;color:#4285f4!important}
.ch-community-page .ch-auth-google small{font-size:.7rem!important;font-weight:500!important;color:#986019!important}
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form{
  display:flex!important;flex-direction:column!important;gap:13px!important;margin:0!important
}
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form label:not(.ch-check){
  display:flex!important;flex-direction:column!important;gap:7px!important;color:#29494d!important;font-size:.9rem!important;font-weight:600!important
}
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form input:not([type=checkbox]),
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form select{
  width:100%!important;min-height:47px!important;box-sizing:border-box!important;
  border:1px solid #ded4c5!important;border-radius:11px!important;background:#fff!important;
  padding:11px 13px!important;color:#203b3f!important;font:inherit!important
}
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form .ch-button{
  width:100%!important;min-height:49px!important;border:0!important;border-radius:11px!important;
  background:#a5670d!important;color:#fff!important;font-weight:700!important;font-size:1rem!important;padding:13px!important
}
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form .ch-check{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;
  font-weight:400!important;line-height:1.5!important;font-size:.86rem!important
}
.ch-community-page .ch-auth-redesign .ch-auth-foot{
  max-width:460px!important;margin:22px auto 0!important;text-align:center!important;
  color:#697b7b!important;font-size:.83rem!important;line-height:1.6!important
}
.ch-community-page .ch-auth-redesign [hidden]{display:none!important}
@media(max-width:640px){
 .ch-community-page .ch-auth-redesign{padding:28px 14px 48px!important}
 .ch-community-page .ch-auth-redesign .ch-auth-single{padding:22px!important;border-radius:20px!important}
 .ch-community-page .ch-auth-tab{font-size:13px!important}
}


/* Comunidad Handpan 0.5.4: Salir al final del menú y evitar recortes */
.ch-community-page .ch-main-nav{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.ch-community-page .ch-main-nav a{
  flex:0 0 auto!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.ch-community-page .ch-main-nav a.ch-back-home{
  order:99!important;
  margin-left:4px!important;
}
.ch-community-page .ch-main-nav a.ch-entry-button{
  order:98!important;
}
@media(max-width:760px){
 .ch-community-page .ch-main-nav{
   gap:4px!important;padding:7px!important;
 }
 .ch-community-page .ch-main-nav a{
   white-space:normal!important;
   text-align:center!important;
   overflow-wrap:anywhere!important;
 }
 .ch-community-page .ch-main-nav a.ch-back-home{
   margin-left:0!important;
 }
}


/* Comunidad Handpan 0.5.5: consentimientos claros y separados */
.ch-community-page .ch-consent-group{
  display:flex!important;flex-direction:column!important;gap:13px!important;
  margin:3px 0 5px!important;padding:15px!important;background:#f8f4ec!important;
  border:1px solid #e9dfd0!important;border-radius:12px!important
}
.ch-community-page .ch-consent-group .ch-check{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;
  color:#42595b!important;font-size:.84rem!important;line-height:1.55!important;font-weight:400!important
}
.ch-community-page .ch-consent-group .ch-check input[type=checkbox]{
  flex:0 0 auto!important;margin:4px 0 0!important;accent-color:#a5670d!important
}
.ch-community-page .ch-consent-group .ch-check strong{
  display:inline!important;font-size:.78rem!important;color:#8a6a3c!important;font-weight:700!important
}
.ch-community-page .ch-consent-group .ch-check a{
  color:#986019!important;text-decoration:underline!important;text-underline-offset:2px!important
}


/* Comunidad Handpan 0.5.6: consentimientos compactos y fáciles de leer */
.ch-community-page .ch-consent-group{
  gap:10px!important;padding:14px 15px!important;margin:2px 0 4px!important;
}
.ch-community-page .ch-consent-group .ch-check{
  display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;
  align-items:start!important;column-gap:9px!important;row-gap:0!important;
  font-size:.87rem!important;line-height:1.48!important;
}
.ch-community-page .ch-consent-group .ch-check input[type=checkbox]{
  grid-column:1!important;grid-row:1!important;margin:3px 0 0!important;
  width:15px!important;height:15px!important;
}
.ch-community-page .ch-consent-group .ch-check strong{
  grid-column:2!important;display:inline!important;margin-top:3px!important;
  font-size:.73rem!important;line-height:1.35!important;color:#8a6a3c!important;
}
.ch-community-page .ch-consent-group .ch-check a{white-space:normal!important}
.ch-community-page .ch-auth-redesign .ch-auth-card .ch-form .ch-muted{
  font-size:.82rem!important;line-height:1.45!important;margin:0!important;
}


/* Comunidad Handpan 0.5.11: menú de cuenta y página de perfil independiente */
.ch-account-menu{position:relative;flex:0 0 auto;margin-left:5px}
.ch-account-toggle{display:inline-flex;align-items:center;gap:9px;border:1px solid #e8dfd2;background:#fffdf9;color:#17343a;border-radius:999px;padding:9px 13px;font:600 13px/1.2 inherit;cursor:pointer;white-space:nowrap;transition:background .18s,border-color .18s}
.ch-account-toggle:hover,.ch-account-toggle[aria-expanded="true"]{background:#f8f3e9;border-color:#d9c7aa}
.ch-account-symbol{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f1e7d6;color:#986019;font-size:17px}
.ch-account-chevron{font-size:17px;color:#8a775d}
.ch-account-dropdown{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;min-width:220px;padding:8px;background:#fffdf8;border:1px solid #e8dfd2;border-radius:14px;box-shadow:0 14px 36px rgba(48,39,26,.14)}
.ch-account-dropdown[hidden]{display:none!important}
.ch-account-dropdown a{display:block!important;padding:11px 13px!important;border-radius:9px!important;color:#263f43!important;text-decoration:none!important;font-size:13px!important;font-weight:550!important;background:transparent!important}
.ch-account-dropdown a:hover,.ch-account-dropdown a:focus{background:#f5efe4!important;color:#986019!important}
.ch-account-dropdown .ch-account-logout{border-top:1px solid #eee7dd;border-radius:0 0 9px 9px!important;margin-top:5px;padding-top:13px!important;color:#80624a!important}
.ch-profile-page{min-height:65vh;padding:clamp(30px,5vw,64px) 20px 80px;background:radial-gradient(ellipse at 50% 0%,#fffaf1 0%,#f8f5ed 65%,#f6f2e9 100%)}
.ch-profile-shell{max-width:1180px;margin:0 auto}
.ch-profile-heading{text-align:center;margin:0 auto 28px;max-width:650px}
.ch-profile-heading h1,.ch-profile-login h1{font:500 clamp(2.2rem,4vw,3rem)/1.1 Georgia,"Times New Roman",serif;color:#12343a;margin:8px 0 12px}
.ch-profile-heading>p:last-child,.ch-profile-login>p:not(.ch-eyebrow){color:#627477;line-height:1.65}
.ch-profile-panel{background:rgba(255,254,250,.97);border:1px solid #e7ddcd;border-radius:24px;padding:clamp(24px,4vw,40px);box-shadow:0 18px 48px rgba(55,43,28,.08)}
.ch-profile-panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;padding-bottom:18px;border-bottom:1px solid #eee7dd}
.ch-profile-panel-head h2{font:500 1.55rem Georgia,"Times New Roman",serif;color:#12343a;margin:0 0 6px}
.ch-profile-panel-head p{color:#718083;margin:0;font-size:.92rem;line-height:1.5}
.ch-profile-panel-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:#f5ead8;color:#986019;font-size:25px}
.ch-profile-panel .ch-form{gap:18px}
.ch-profile-panel .ch-form .ch-button{background:#a86b17;border-radius:10px;justify-self:start;min-width:190px}
.ch-profile-login{text-align:center;max-width:560px;margin:30px auto}
.ch-profile-login .ch-button{margin-top:14px;background:#a86b17;border-radius:10px}
.ch-profile-page .ch-alert{margin:0 0 18px}
@media(max-width:760px){.ch-account-label{display:none}.ch-account-toggle{padding:6px 9px}.ch-account-dropdown{right:0;min-width:205px}.ch-profile-page{padding:28px 13px 55px}.ch-profile-panel{border-radius:19px;padding:22px 18px}.ch-profile-panel-head{align-items:flex-start}.ch-profile-panel-head h2{font-size:1.35rem}}


/* Comunidad Handpan 0.5.12: navegación alineada a la derecha */
.ch-community-header{gap:26px!important}
.ch-main-nav{flex:1 1 auto!important;min-width:0!important;justify-content:flex-end!important;margin-left:auto!important}
.ch-main-nav .ch-back-home{margin-left:12px!important;padding-left:15px!important;border-left:1px solid #eee7dd!important}
@media(max-width:760px){.ch-community-header{align-items:flex-start!important;flex-wrap:wrap!important}.ch-main-nav{flex:1 1 100%!important;justify-content:flex-start!important;margin-left:0!important}.ch-main-nav .ch-back-home{margin-left:4px!important;padding-left:10px!important}}


/* Comunidad Handpan 0.5.13: forzar alineación derecha de todos los elementos del menú */
.ch-community-page .ch-community-header{display:flex!important;align-items:center!important;justify-content:space-between!important}
.ch-community-page .ch-community-header .ch-main-nav{flex:1 1 auto!important;width:auto!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;margin-left:auto!important}
.ch-community-page .ch-main-nav .ch-back-home{margin-left:12px!important;padding-left:15px!important;border-left:1px solid #eee7dd!important}
@media(max-width:1050px){.ch-community-page .ch-community-header{align-items:flex-start!important;flex-direction:column!important}.ch-community-page .ch-community-header .ch-main-nav{width:100%!important;justify-content:flex-end!important}}
@media(max-width:760px){.ch-community-page .ch-community-header{align-items:flex-start!important;flex-wrap:wrap!important}.ch-community-page .ch-community-header .ch-main-nav{flex:1 1 100%!important;justify-content:flex-start!important;margin-left:0!important}}


/* Comunidad Handpan 0.5.15: aprovechar mejor el ancho disponible */
.ch-community-page .ch-wrap{
  width:min(1840px, calc(100% - 32px))!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:760px){
  .ch-community-page .ch-wrap{width:calc(100% - 20px)!important;padding:10px!important}
}


/* Comunidad Handpan 0.5.16: portada más ancha y mapa-preview como enlace */
.ch-community-page .ch-hero-map-card{cursor:pointer}
.ch-community-page .ch-hero-map-preview-static,.ch-community-page #ch-hero-map.ch-map-preview-static{pointer-events:none!important}
.ch-community-page .ch-map-card-link{position:absolute;inset:0;z-index:450;display:block;border-radius:inherit;text-decoration:none!important}
.ch-community-page .ch-map-kicker,.ch-community-page .ch-map-card-caption{pointer-events:none!important}
.ch-community-page .ch-map-card-caption{z-index:500}
.ch-community-page .ch-map-card-link:focus-visible{outline:3px solid #a8752a;outline-offset:-5px}
@media(max-width:760px){.ch-community-page .ch-wrap{width:calc(100% - 16px)!important}}


/* Comunidad Handpan 0.5.17: contraste claro del botón de cuenta */
.ch-community-page .ch-account-toggle{
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
.ch-community-page .ch-account-toggle:hover,
.ch-community-page .ch-account-toggle:focus-visible,
.ch-community-page .ch-account-toggle[aria-expanded="true"]{
  background:#087f91!important;
  border-color:#087f91!important;
  color:#fff!important;
  box-shadow:0 6px 16px rgba(8,127,145,.24)!important;
  transform:translateY(-2px);
  outline:none;
}
.ch-community-page .ch-account-toggle:hover .ch-account-symbol,
.ch-community-page .ch-account-toggle:focus-visible .ch-account-symbol,
.ch-community-page .ch-account-toggle[aria-expanded="true"] .ch-account-symbol{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
}
.ch-community-page .ch-account-toggle:hover .ch-account-chevron,
.ch-community-page .ch-account-toggle:focus-visible .ch-account-chevron,
.ch-community-page .ch-account-toggle[aria-expanded="true"] .ch-account-chevron{
  color:#fff!important;
}
.ch-community-page .ch-account-dropdown a:hover,
.ch-community-page .ch-account-dropdown a:focus-visible{
  background:#e5f3f4!important;
  color:#087f91!important;
}
@media(prefers-reduced-motion:reduce){.ch-community-page .ch-account-toggle{transition:none!important}.ch-community-page .ch-account-toggle:hover{transform:none}}

/* Gestión de fotografías del perfil */
.ch-photo-manager{padding:20px;background:#fbf8f2;border:1px solid #eee4d7;border-radius:16px;display:grid;gap:12px}
.ch-photo-manager h3{margin:0;color:#17383d;font-family:Georgia,serif;font-size:1.2rem}
.ch-photo-manager .ch-muted{margin:0}
.ch-photo-manager input[type=file]{background:#fff;border:1px dashed #cdbda7;border-radius:10px;padding:12px;width:100%;font:inherit}
.ch-photo-preview{width:132px;height:132px;object-fit:cover;border-radius:16px;border:3px solid #fff;box-shadow:0 4px 16px rgba(40,30,20,.12)}
.ch-gallery-preview{display:flex;flex-wrap:wrap;gap:10px}
.ch-gallery-preview img{width:86px;height:86px;object-fit:cover;border-radius:12px;border:2px solid #fff;box-shadow:0 3px 10px rgba(40,30,20,.1)}
/* Nuevos miembros: tarjetas homogéneas en la portada */
.ch-new-members{padding-top:18px}
.ch-new-members .ch-section-head{align-items:end}
.ch-new-members .ch-section-head h2{font-family:Georgia,serif;color:#15383d;font-size:clamp(1.8rem,3vw,2.35rem)}
.ch-new-intro{margin:6px 0 0;color:#65777a;max-width:620px;line-height:1.55}
.ch-new-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px;align-items:stretch}
.ch-new-member-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-decoration:none!important;color:#15383d!important;background:#fff;border:1px solid #e9e0d4;border-radius:18px;box-shadow:0 8px 24px rgba(56,43,28,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;height:100%}
.ch-new-member-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(56,43,28,.13);border-color:#d5bd98}
.ch-new-member-photo{position:relative;height:260px;overflow:hidden;background:linear-gradient(135deg,#d8e9e8,#f4eadb);display:flex;align-items:center;justify-content:center}
.ch-new-member-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.ch-new-member-photo.ch-placeholder-photo{background:#f7f0e2}
.ch-new-member-photo.ch-placeholder-photo img{object-fit:contain;object-position:center;width:100%;height:100%;transform:none!important}
.ch-new-member-card:hover .ch-new-member-photo.ch-placeholder-photo img{transform:none}
.ch-new-member-card:hover .ch-new-member-photo img{transform:scale(1.035)}
.ch-new-member-placeholder{font-size:4rem;color:#9a8b78}
.ch-new-member-type{position:absolute;top:14px;right:14px;padding:7px 11px;border-radius:999px;background:#d99018;color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.04em;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.ch-new-member-info{padding:19px 21px 22px;display:flex;flex-direction:column;flex:1}
.ch-new-member-info h3{font-family:Georgia,serif;font-size:1.3rem;line-height:1.25;margin:0 0 7px;color:#15383d}
.ch-new-member-place{font-size:.85rem;color:#687b7e;margin:0 0 10px;line-height:1.4}
.ch-new-member-bio{font-size:.91rem;color:#53676a;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.82em}
@media(max-width:900px){.ch-new-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ch-new-member-photo{height:230px}}
@media(max-width:600px){.ch-new-member-grid{grid-template-columns:1fr;gap:14px}.ch-new-member-photo{height:260px}.ch-new-members .ch-section-head{display:block}.ch-new-members .ch-section-head>.ch-button{margin-top:12px}.ch-photo-manager{padding:16px}}
.ch-public-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ch-public-gallery img{width:112px;height:112px;object-fit:cover;border-radius:12px;border:2px solid #fff;box-shadow:0 3px 12px rgba(30,40,35,.1)}

/* Avatar predeterminado: mostrar la ilustracion completa, sin recorte circular */
.ch-avatar.ch-avatar-placeholder{
  width:104px!important;
  height:104px!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:16px!important;
  background:#fbf3e4!important;
  padding:4px!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .ch-avatar.ch-avatar-placeholder{width:76px!important;height:76px!important;border-radius:14px!important}
}

/* Comunidad Handpan 0.5.28: cinco espacios de fotografía en una sola fila */
.ch-photo-manager-grid{padding:22px;background:#fbf8f2;border:1px solid #eee4d7;border-radius:16px;display:grid;gap:16px}
.ch-photo-manager-heading h3{margin:0 0 6px;color:#17383d;font-family:Georgia,serif;font-size:1.25rem}
.ch-photo-manager-heading .ch-muted{margin:0}
.ch-photo-slots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.ch-photo-slot{min-width:0;display:grid;align-content:start;gap:9px}
.ch-photo-slot-image{position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:13px;background:#f3eadb;border:1px solid #e8ddce}
.ch-photo-slot-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.ch-photo-slot-badge{position:absolute;left:7px;right:7px;bottom:7px;padding:5px 7px;border-radius:20px;background:#a86b17;color:#fff;text-align:center;font-size:.68rem;font-weight:700;letter-spacing:.03em}
.ch-photo-slot label{display:grid;gap:6px;font-size:.82rem;font-weight:650;color:#514b43}
.ch-photo-slot label input[type=file]{display:block;width:100%;min-width:0;max-width:100%;padding:7px;background:#fff;border:1px dashed #cdbda7;border-radius:9px;font-size:.72rem}
.ch-photo-limit{margin:0;color:#77736b;font-size:.8rem}
@media(max-width:900px){.ch-photo-slots{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.ch-photo-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ch-photo-manager-grid{padding:15px}.ch-photo-slot label input[type=file]{font-size:.68rem}}

.ch-photo-selection-status{display:none;font-size:.68rem;line-height:1.35;color:#52705d;font-weight:500}.ch-photo-selection-status:not(:empty){display:block}.ch-photo-selection-status.is-error{color:#a33b2f}

/* Guardado individual de cada fotografía (0.5.30) */
.ch-photo-save{display:block;width:100%;padding:8px 10px;border:0;border-radius:8px;background:#a86b17;color:#fff;font-size:.76rem;font-weight:700;cursor:pointer;transition:background .18s ease,transform .18s ease,opacity .18s ease}.ch-photo-save:hover:not(:disabled){background:#7e4b0c;transform:translateY(-1px)}.ch-photo-save:disabled{opacity:.38;cursor:not-allowed}

/* 0.5.34: mapa de explorar más arriba y sin texto auxiliar */
.ch-map-section{padding-top:12px!important}
.ch-map-section .ch-section-head{margin-bottom:12px!important}
.ch-map-section .ch-section-head .ch-eyebrow{margin-bottom:0!important}


/* Comunidad Handpan 0.5.35: igualar el ancho de Inicio con Explorar y Directorio */
body.ch-community-page .ch-wrap.ch-view-home{
  width:min(1840px, calc(100% - 32px))!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:760px){
  body.ch-community-page .ch-wrap.ch-view-home{width:calc(100% - 16px)!important;padding:10px!important}
}

/* Comunidad Handpan 0.5.36: selección correcta del menú y ancho real de Inicio */
.ch-community-page .ch-main-nav a.is-active{
  background:#7253a5!important;
  color:#fff!important;
}
.ch-community-page .ch-main-nav a:not(.is-active){
  background:transparent!important;
  color:#5b4b67!important;
}
.ch-community-page .ch-main-nav a:not(.is-active):hover,
.ch-community-page .ch-main-nav a:not(.is-active):focus-visible{
  background:#7253a5!important;
  color:#fff!important;
}
/* La portada debe poder ocupar el mismo ancho que las páginas interiores,
   aunque GeneratePress limite el contenedor del contenido. */
.ch-community-page:has(.ch-wrap.ch-view-home) .site-content,
.ch-community-page:has(.ch-wrap.ch-view-home) .content-area,
.ch-community-page:has(.ch-wrap.ch-view-home) .inside-article,
.ch-community-page:has(.ch-wrap.ch-view-home) .entry-content{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.ch-community-page .ch-wrap.ch-view-home{
  width:min(1840px,calc(100% - 32px))!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:760px){
  .ch-community-page .ch-wrap.ch-view-home{
    width:calc(100% - 16px)!important;
  }
}

/* Comunidad Handpan 0.5.37: ancho común tomando Inicio como referencia */
body.ch-community-page .ch-wrap{
  width:min(1194px,calc(100% - 32px))!important;
  max-width:1194px!important;
  box-sizing:border-box!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:760px){
  body.ch-community-page .ch-wrap{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    padding:10px!important;
  }
}
/* Solo la sección actual queda seleccionada; el resto solo cambia al pasar el ratón */
body.ch-community-page .ch-main-nav a,
body.ch-community-page .ch-main-nav a:first-child{
  background:transparent!important;
  color:#5b4c68!important;
}
body.ch-community-page .ch-main-nav a.is-active{
  background:#7253a5!important;
  color:#fff!important;
}
body.ch-community-page .ch-main-nav a:hover,
body.ch-community-page .ch-main-nav a:focus-visible{
  background:#7253a5!important;
  color:#fff!important;
}

/* Comunidad Handpan 0.5.38: ningún elemento del menú queda seleccionado */
body.ch-community-page .ch-main-nav a,
body.ch-community-page .ch-main-nav a:first-child,
body.ch-community-page .ch-main-nav a.is-active,
body.ch-community-page .ch-main-nav a[aria-current="page"]{
  background:transparent!important;
  color:#5b4c68!important;
  box-shadow:none!important;
}
body.ch-community-page .ch-main-nav a:hover,
body.ch-community-page .ch-main-nav a:focus-visible{
  background:#7253a5!important;
  color:#fff!important;
}
/* Liberar el ancho del contenedor de GeneratePress en todas las páginas
   de Comunidad y aplicar el ancho de referencia de Inicio (1194 px). */
body.ch-community-page .site.grid-container,
body.ch-community-page .grid-container,
body.ch-community-page .site-content,
body.ch-community-page .content-area,
body.ch-community-page .inside-article,
body.ch-community-page .entry-content{
  width:100%!important;
  max-width:none!important;
  float:none!important;
  box-sizing:border-box!important;
}
body.ch-community-page .inside-article{
  padding-left:0!important;
  padding-right:0!important;
}
body.ch-community-page .entry-content{
  margin:0!important;
}
body.ch-community-page .ch-wrap{
  width:min(1194px,calc(100% - 32px))!important;
  max-width:1194px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  body.ch-community-page .ch-wrap{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    padding:10px!important;
  }
}

/* Comunidad Handpan 0.5.39: lienzo común exacto para cabecera, separador y contenido */
body.ch-community-page .ch-wrap{
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(1194px,calc(100vw - 48px))!important;
  max-width:1194px!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
/* Cabecera y línea inferior ocupan exactamente el mismo lienzo que el contenido */
body.ch-community-page .ch-wrap > .ch-community-header{
  display:flex!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.ch-community-page .ch-wrap > .ch-community-header::after{
  box-sizing:border-box!important;
}
body.ch-community-page .ch-wrap #ch-map,
body.ch-community-page .ch-wrap .ch-map-section,
body.ch-community-page .ch-wrap .ch-directory,
body.ch-community-page .ch-wrap .ch-hero-home{
  max-width:100%!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  body.ch-community-page .ch-wrap{
    left:50%!important;
    transform:translateX(-50%)!important;
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    padding:10px!important;
  }
}

/* Comunidad Handpan 0.5.40: ficha pública individual de cada músico */
.ch-public-profile-page{width:100%;padding:28px 0 56px}
.ch-public-profile-shell{width:min(100%,1100px);margin:0 auto}
.ch-public-profile-topline{margin:0 0 14px}
.ch-public-profile-back{color:#7653a5;text-decoration:none;font-weight:600}
.ch-public-profile-card{overflow:hidden;border:1px solid #e9e0d3;border-radius:22px;background:#fffdfa;box-shadow:0 12px 34px rgba(47,37,24,.07)}
.ch-public-profile-header{padding:28px 24px 22px;text-align:center;background:#fffdfa}
.ch-public-profile-title h1{margin:0 0 8px;color:#17383d;font-family:Georgia,serif;font-size:clamp(27px,4vw,38px);line-height:1.15}
.ch-public-profile-title .ch-tag{display:inline-block;margin:0 auto 8px;padding:5px 12px;border-radius:20px;background:#eee5f7;color:#6f4c99;font-size:12px;font-weight:700}
.ch-public-profile-location{margin:2px 0;color:#5d6d6b;font-size:14px}
.ch-public-profile-date{margin:8px 0 0;color:#8b8277;font-size:12px}
.ch-public-profile-cover{height:240px;background-color:#eee7db;background-size:cover;background-position:center 48%;border-top:1px solid #eee5d9;border-bottom:1px solid #eee5d9}
.ch-public-profile-cover-empty{background:linear-gradient(120deg,#f5efe4,#eee8f3 55%,#e8f0ec)}
.ch-public-profile-body{position:relative;padding:0 28px 34px}
.ch-public-profile-avatar-wrap{position:relative;margin-top:-58px;width:116px;height:116px;padding:5px;border-radius:18px;background:#fffdfa;box-shadow:0 5px 20px rgba(35,30,25,.12)}
.ch-public-profile-avatar{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:14px}
.ch-public-profile-content{max-width:900px;margin:16px auto 0}
.ch-public-profile-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.ch-public-profile-actions .ch-button{min-height:42px}
.ch-public-profile-stats{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}
.ch-public-profile-stats span{display:inline-flex;align-items:center;gap:5px;padding:9px 13px;border:1px solid #e9e0d3;border-radius:12px;background:#fbf8f2;color:#5d625c;font-size:14px}
.ch-public-profile-section{margin:24px 0 0;padding:22px 0 0;border-top:1px solid #eee6da}
.ch-public-profile-section h2{margin:0 0 12px;color:#17383d;font-family:Georgia,serif;font-size:23px}
.ch-public-profile-section p{color:#4d5c5a;line-height:1.75}
.ch-public-profile-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ch-public-profile-gallery a{display:block;overflow:hidden;aspect-ratio:1/1;border-radius:14px;background:#f2eee8}
.ch-public-profile-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.ch-public-profile-gallery a:hover img{transform:scale(1.04)}
.ch-profile-map{width:100%;height:260px;border-radius:15px;overflow:hidden;border:1px solid #e5ddd1;background:#eee}
.ch-public-profile-empty{padding:44px 28px;text-align:center;border:1px solid #e9e0d3;border-radius:18px;background:#fffdfa}
.ch-public-profile-empty h1{font-family:Georgia,serif;color:#17383d}
.ch-member-card-link{display:block;color:inherit;text-decoration:none}
.ch-member-card-link:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(40,32,20,.1)}
.ch-member-card-cta{display:inline-block;margin-top:10px;color:#7653a5;font-weight:700;font-size:14px}
@media(max-width:700px){
 .ch-public-profile-page{padding:16px 0 36px}
 .ch-public-profile-header{padding:22px 16px 18px}
 .ch-public-profile-cover{height:160px}
 .ch-public-profile-body{padding:0 16px 24px}
 .ch-public-profile-avatar-wrap{width:94px;height:94px;margin-top:-46px}
 .ch-public-profile-actions{justify-content:flex-start;margin-top:8px}
 .ch-public-profile-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ch-profile-map{height:220px}
}

/* Comunidad Handpan 0.5.41 — ficha pública editorial inspirada en perfiles de World Handpan Map */
.ch-public-profile-page-v2{padding:24px 0 64px}
.ch-public-profile-page-v2 .ch-public-profile-shell{width:min(100% - 32px,1100px)}
.ch-public-profile-page-v2 .ch-public-profile-topline{margin-bottom:16px}
.ch-public-profile-page-v2 .ch-public-profile-card{border-radius:24px;background:#fffdfa;border:1px solid #e8dfd1;box-shadow:0 16px 44px rgba(54,43,27,.08)}
.ch-public-profile-header-v2{padding:30px 24px 25px;background:linear-gradient(110deg,#fbf6ed 0%,#f4eff6 58%,#edf3ef 100%)}
.ch-public-profile-header-v2 .ch-profile-eyebrow,.ch-profile-section-kicker{display:block;color:#9b6b2a;font-size:10px;letter-spacing:2px;font-weight:800;margin-bottom:9px}
.ch-public-profile-header-v2 .ch-public-profile-title h1{font-size:clamp(30px,4vw,42px);letter-spacing:-.7px;margin-bottom:10px}
.ch-public-profile-header-v2 .ch-tag{margin-bottom:8px}
.ch-public-profile-header-v2 .ch-public-profile-date{margin-top:7px}
.ch-public-profile-cover-v2{height:300px;position:relative;background-size:cover;background-position:center 48%;border:0}
.ch-public-profile-cover-v2 .ch-profile-cover-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(24,43,43,.24),transparent 55%)}
.ch-public-profile-body-v2{padding:0 34px 42px}
.ch-public-profile-identity-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-top:-62px;position:relative;z-index:2;min-height:126px}
.ch-public-profile-avatar-wrap-v2{width:132px;height:132px;margin:0;padding:6px;border-radius:20px;background:#fff;box-shadow:0 8px 26px rgba(37,30,22,.17);flex:0 0 auto}
.ch-public-profile-avatar-wrap-v2 .ch-public-profile-avatar{border-radius:15px}
.ch-public-profile-actions-v2{margin:0 0 8px;align-items:center}
.ch-public-profile-actions-v2 .ch-button{min-height:43px;border-radius:13px;padding:11px 18px}
.ch-public-profile-content-v2{max-width:none;margin:18px 0 0}
.ch-public-profile-stats-v2{gap:12px;margin:0 0 28px}
.ch-public-profile-stats-v2 span{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:145px;padding:13px 17px;border-radius:14px;background:#faf6ee;border-color:#e9dfd0}
.ch-public-profile-stats-v2 span small{font-size:9px;letter-spacing:1.5px;color:#9a8060;font-weight:800}
.ch-public-profile-stats-v2 span strong{font-size:15px;color:#334b49}
.ch-public-profile-section.ch-profile-about{padding:26px 0 4px}
.ch-public-profile-page-v2 .ch-public-profile-section h2{font-size:27px;margin-bottom:12px}
.ch-profile-about p{max-width:850px;font-size:16px;line-height:1.85;margin:0}
.ch-profile-gallery-section{padding-top:30px}
.ch-public-profile-gallery-v2{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ch-public-profile-gallery-v2 a{aspect-ratio:4/3;border-radius:16px;border:1px solid #e9dfd2;box-shadow:0 5px 16px rgba(50,40,28,.05)}
.ch-public-profile-gallery-v2 img{object-position:center}
.ch-profile-details-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);gap:18px;border-top:0;padding-top:28px}
.ch-profile-location-card,.ch-profile-community-card{padding:22px;border:1px solid #e8dfd1;border-radius:18px;background:#fffefa;min-width:0}
.ch-profile-location-card h2,.ch-profile-community-card h2{font-size:23px;margin-bottom:9px}
.ch-profile-location-name{margin:0 0 12px;color:#596b68}
.ch-profile-map{height:235px;margin-top:12px}
.ch-profile-location-card .ch-muted{font-size:11px;margin:9px 0 0}
.ch-profile-no-map{margin:12px 0 0;padding:20px;border-radius:12px;background:#f8f4ec;color:#777064;font-size:14px;line-height:1.6}
.ch-profile-community-card{background:linear-gradient(145deg,#fbf5e9,#f3eef7 75%,#edf3ef);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.ch-profile-community-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#fff8e9;color:#a66a17;font-family:Georgia,serif;font-size:27px;margin-bottom:18px;box-shadow:0 4px 14px rgba(80,55,20,.08)}
.ch-profile-community-card p{color:#5e6965;line-height:1.7;font-size:14px}
.ch-profile-text-link{display:inline-block;margin-top:8px;color:#7653a5;font-weight:700;text-decoration:none}
.ch-profile-text-link:hover{text-decoration:underline}
@media(max-width:760px){
 .ch-public-profile-page-v2{padding:16px 0 40px}
 .ch-public-profile-page-v2 .ch-public-profile-shell{width:min(100% - 22px,1100px)}
 .ch-public-profile-header-v2{padding:24px 16px 20px}
 .ch-public-profile-cover-v2{height:190px}
 .ch-public-profile-body-v2{padding:0 16px 26px}
 .ch-public-profile-identity-row{align-items:flex-start;flex-direction:column;gap:12px;margin-top:-48px}
 .ch-public-profile-avatar-wrap-v2{width:104px;height:104px}
 .ch-public-profile-actions-v2{justify-content:flex-start;margin:0}
 .ch-public-profile-actions-v2 .ch-button{padding:10px 13px;font-size:13px}
 .ch-public-profile-stats-v2 span{min-width:calc(50% - 6px);flex:1}
 .ch-public-profile-gallery-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .ch-profile-details-grid{grid-template-columns:1fr;gap:12px;padding-top:20px}
 .ch-profile-location-card,.ch-profile-community-card{padding:18px}
 .ch-public-profile-page-v2 .ch-public-profile-section h2{font-size:23px}
}

/* Comunidad Handpan 0.5.42: ficha pública ajustada a las capturas de referencia */
.ch-public-profile-header-v2 .ch-profile-eyebrow,
.ch-public-profile-header-v2 .ch-public-profile-title .ch-tag{display:none!important}
.ch-public-profile-header-v2 .ch-public-profile-title h1{
  display:block!important;visibility:visible!important;opacity:1!important;
  color:#17383d!important;font-family:Georgia,serif!important;
  font-size:clamp(36px,5vw,54px)!important;line-height:1.08!important;
  font-weight:700!important;letter-spacing:-1px!important;margin:0 0 9px!important
}
.ch-public-profile-header-v2{padding:34px 24px 26px!important}
.ch-public-profile-cover-v2{background-size:cover!important;background-position:center 48%!important}
.ch-profile-contact-card{justify-content:center!important}
.ch-profile-contact-card .ch-button{margin-top:8px;align-self:flex-start}
.ch-profile-private-note{margin:16px 0 0!important;padding-top:12px;border-top:1px solid #e8dfd1;font-size:12px!important;color:#777064!important}
.ch-profile-nearby-section{margin-top:32px!important}
.ch-profile-section-intro{margin:-2px 0 16px!important;color:#66736f;font-size:14px}
.ch-profile-nearby-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ch-profile-nearby-card{display:flex;flex-direction:column;overflow:hidden;min-width:0;border:1px solid #e8dfd1;border-radius:16px;background:#fffdfa;text-decoration:none;color:#17383d;transition:transform .2s ease,box-shadow .2s ease}
.ch-profile-nearby-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(45,35,22,.09)}
.ch-profile-nearby-card>img{display:block;width:100%;height:150px;object-fit:cover;object-position:center;background:#f4b52f}
.ch-profile-nearby-info{display:flex;flex-direction:column;gap:6px;padding:14px}
.ch-profile-nearby-info strong{font-family:Georgia,serif;font-size:17px}
.ch-profile-nearby-info span,.ch-profile-nearby-info small{font-size:12px;color:#66736f}
.ch-profile-conversation{margin-top:28px!important;padding:22px!important;border:1px solid #e8dfd1!important;border-radius:18px;background:#fffdfa}
.ch-profile-conversation-heading h2{margin:0!important}
.ch-profile-conversation>p{margin:8px 0 22px;color:#63716e;font-size:14px}
.ch-profile-conversation-empty{padding:22px 14px;border-top:1px solid #e8dfd1;text-align:center;color:#687570;font-size:14px}
@media(max-width:760px){
 .ch-public-profile-header-v2{padding:26px 16px 20px!important}
 .ch-public-profile-header-v2 .ch-public-profile-title h1{font-size:clamp(30px,8vw,42px)!important}
 .ch-profile-nearby-grid{grid-template-columns:1fr;gap:10px}
 .ch-profile-nearby-card{flex-direction:row;align-items:stretch}
 .ch-profile-nearby-card>img{width:112px;height:112px;flex:0 0 112px}
 .ch-profile-nearby-info{justify-content:center}
}

/* 0.5.43: fallback visual de portada sin usar el avatar genérico */
.ch-public-profile-cover-v2.ch-public-profile-cover-empty{
  background:linear-gradient(115deg,#f5eee3 0%,#eee8f2 56%,#e8efeb 100%)!important;
}

/* 0.5.44: cabecera de nombre y mapa de ubicación regional */
.ch-public-profile-header-v2 .ch-public-profile-title{
  display:block!important;visibility:visible!important;opacity:1!important;
  width:100%!important;text-align:center!important;
}
.ch-public-profile-header-v2 .ch-public-profile-title h1{
  display:block!important;visibility:visible!important;opacity:1!important;
  min-height:1.08em;color:#17383d!important;
}
.ch-profile-location-card>.ch-profile-section-kicker{display:none!important}
.ch-profile-location-card .ch-profile-map{height:270px}
@media(max-width:760px){
  .ch-profile-location-card .ch-profile-map{height:230px}
}


/* 0.5.46 — ficha pública reorganizada según la referencia */
.ch-public-profile-page-v2 .ch-public-profile-header-v2{
  padding:34px 24px 28px!important;
  text-align:center!important;
  background:linear-gradient(110deg,#fbf6ed 0%,#f4eff6 58%,#edf3ef 100%)!important;
}
.ch-public-profile-page-v2 .ch-profile-display-name{
  display:block!important;visibility:visible!important;opacity:1!important;
  width:100%!important;min-height:1.1em!important;margin:0!important;
  color:#17383d!important;font-family:Georgia,serif!important;
  font-size:clamp(38px,5vw,58px)!important;line-height:1.08!important;
  font-weight:700!important;letter-spacing:-1px!important;text-align:center!important;
}
.ch-public-profile-page-v2 .ch-public-profile-cover-v2{
  width:100%!important;height:320px!important;border-radius:0!important;
  background-size:cover!important;background-position:center 48%!important;
}
.ch-public-profile-page-v2 .ch-public-profile-identity-row{
  display:flex!important;align-items:flex-end!important;justify-content:flex-start!important;
  min-height:86px!important;margin-top:-62px!important;
}
.ch-public-profile-page-v2 .ch-profile-information-card{
  display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;
  margin:18px 0 26px;padding:20px 22px;border:1px solid #e8dfd1;border-radius:18px;
  background:linear-gradient(120deg,#fbf6ed 0%,#f5f0f6 58%,#eff4f0 100%);
}
.ch-public-profile-page-v2 .ch-profile-information-location{
  display:flex;align-items:center;gap:26px;flex-wrap:wrap;
}
.ch-public-profile-page-v2 .ch-profile-information-item{
  display:flex;flex-direction:column;gap:5px;min-width:130px;
}
.ch-public-profile-page-v2 .ch-profile-information-item small{
  color:#9a8060;font-size:9px;font-weight:800;letter-spacing:1.5px;
}
.ch-public-profile-page-v2 .ch-profile-information-item strong{
  color:#29464a;font-size:14px;font-weight:650;
}
.ch-public-profile-page-v2 .ch-profile-information-stats{
  display:flex!important;gap:10px!important;margin:0!important;
}
.ch-public-profile-page-v2 .ch-profile-information-stats span{
  min-width:120px!important;margin:0!important;
}
.ch-public-profile-page-v2 .ch-profile-location-card>.ch-profile-section-kicker{display:none!important}
.ch-public-profile-page-v2 .ch-profile-location-card h2{margin-top:0}
.ch-public-profile-page-v2 .ch-profile-map{height:260px!important;min-height:260px!important;border-radius:13px;overflow:hidden}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-public-profile-header-v2{padding:25px 14px 20px!important}
  .ch-public-profile-page-v2 .ch-profile-display-name{font-size:clamp(32px,8vw,44px)!important}
  .ch-public-profile-page-v2 .ch-public-profile-cover-v2{height:200px!important}
  .ch-public-profile-page-v2 .ch-profile-information-card{align-items:flex-start;padding:16px;gap:15px}
  .ch-public-profile-page-v2 .ch-profile-information-location{gap:14px}
  .ch-public-profile-page-v2 .ch-profile-information-stats{flex-wrap:wrap}
}


/* 0.5.47 — ficha: portada primero, nombre debajo y tarjetas compactas */
.ch-public-profile-page-v2 .ch-public-profile-header-after-cover{
  display:block!important;
  position:relative!important;
  padding:22px 24px 12px!important;
  margin:0!important;
  min-height:0!important;
  text-align:center!important;
  background:#fffdfa!important;
  border:0!important;
}
.ch-public-profile-page-v2 .ch-public-profile-header-after-cover .ch-public-profile-title,
.ch-public-profile-page-v2 .ch-public-profile-header-after-cover .ch-profile-display-name{
  display:block!important;visibility:visible!important;opacity:1!important;
}
.ch-public-profile-page-v2 .ch-public-profile-header-after-cover .ch-profile-display-name{
  margin:0!important;padding:0!important;
  color:#17383d!important;
  font-family:Georgia,serif!important;
  font-size:clamp(34px,4.4vw,50px)!important;
  line-height:1.12!important;font-weight:700!important;
  text-align:center!important;
}
.ch-public-profile-page-v2 .ch-public-profile-cover-v2{
  display:block!important;width:100%!important;height:340px!important;
  margin:0!important;border-radius:0!important;
  background-size:cover!important;background-position:center 48%!important;
}
.ch-public-profile-page-v2 .ch-profile-information-card{
  max-width:100%!important;
  margin:12px 0 20px!important;
  padding:13px 17px!important;
  min-height:0!important;
  gap:14px!important;
  border-radius:14px!important;
}
.ch-public-profile-page-v2 .ch-profile-information-location{gap:18px!important}
.ch-public-profile-page-v2 .ch-profile-information-item{min-width:105px!important;gap:3px!important}
.ch-public-profile-page-v2 .ch-profile-information-item small,
.ch-public-profile-page-v2 .ch-profile-information-stats small{font-size:8px!important;letter-spacing:1.25px!important}
.ch-public-profile-page-v2 .ch-profile-information-item strong,
.ch-public-profile-page-v2 .ch-profile-information-stats strong{font-size:13px!important}
.ch-public-profile-page-v2 .ch-profile-information-stats>span{
  padding:9px 12px!important;border-radius:11px!important;
}
.ch-public-profile-page-v2 .ch-profile-about{
  margin:0 0 24px!important;
  padding:22px 24px!important;
  border:1px solid #e8dfd1!important;
  border-radius:16px!important;
  background:#fffefa!important;
  box-shadow:0 5px 18px rgba(50,40,28,.035)!important;
}
.ch-public-profile-page-v2 .ch-profile-about h2{margin:4px 0 10px!important}
.ch-public-profile-page-v2 .ch-profile-about p{max-width:none!important;margin:0!important}

/* El icono personalizado también debe tener estilos dentro del mapa del perfil */
#ch-profile-map .ch-marker-container{
  background:transparent!important;border:0!important;
  box-shadow:none!important;
}
#ch-profile-map .ch-pin{
  position:relative!important;display:block!important;
  width:27px!important;height:27px!important;
  background:#e53935!important;border:3px solid #fff!important;
  border-radius:50% 50% 50% 0!important;
  transform:rotate(-45deg)!important;
  box-shadow:0 2px 7px rgba(0,0,0,.4)!important;
}
#ch-profile-map .ch-pin>span{
  position:absolute!important;left:7px!important;top:7px!important;
  width:9px!important;height:9px!important;
  background:#fff!important;border-radius:50%!important;
}
#ch-profile-map .leaflet-marker-pane{z-index:650!important}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-public-profile-cover-v2{height:220px!important}
  .ch-public-profile-page-v2 .ch-public-profile-header-after-cover{padding:17px 14px 8px!important}
  .ch-public-profile-page-v2 .ch-profile-information-card{padding:12px!important;gap:10px!important}
  .ch-public-profile-page-v2 .ch-profile-about{padding:18px!important}
}


/* 0.5.48 — nombre grande junto al avatar, en la franja bajo la portada */
.ch-public-profile-page-v2 .ch-public-profile-identity-row-named{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:28px!important;
  min-height:104px!important;
  margin-top:-25px!important;
  margin-bottom:12px!important;
  position:relative!important;
  z-index:3!important;
}
.ch-public-profile-page-v2 .ch-public-profile-identity-row-named .ch-public-profile-avatar-wrap{
  flex:0 0 116px!important;
  width:116px!important;
  margin:0!important;
}
.ch-public-profile-page-v2 .ch-public-profile-identity-name{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  min-height:100px!important;
  padding:8px 18px 8px 0!important;
  text-align:left!important;
}
.ch-public-profile-page-v2 .ch-public-profile-identity-name .ch-profile-display-name{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#17383d!important;
  font-family:Georgia,serif!important;
  font-size:clamp(34px,4.4vw,52px)!important;
  font-weight:700!important;
  line-height:1.08!important;
  letter-spacing:-.7px!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-public-profile-identity-row-named{
    gap:15px!important;min-height:82px!important;margin-top:-18px!important;
  }
  .ch-public-profile-page-v2 .ch-public-profile-identity-row-named .ch-public-profile-avatar-wrap{
    flex-basis:88px!important;width:88px!important;
  }
  .ch-public-profile-page-v2 .ch-public-profile-identity-name{
    min-height:80px!important;padding-right:10px!important;
  }
  .ch-public-profile-page-v2 .ch-public-profile-identity-name .ch-profile-display-name{
    font-size:clamp(26px,7vw,38px)!important;
  }
}


/* 0.5.49 — restaurar tamaño original del avatar y asegurar visibilidad del nombre */
.ch-public-profile-page-v2 .ch-public-profile-identity-row-named{
  gap:24px!important;
  min-height:142px!important;
  margin-top:-62px!important;
  margin-bottom:12px!important;
}
.ch-public-profile-page-v2 .ch-public-profile-identity-row-named .ch-public-profile-avatar-wrap-v2{
  flex:0 0 132px!important;
  width:132px!important;
  height:132px!important;
  min-width:132px!important;
  min-height:132px!important;
  margin:0!important;
}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-public-profile-identity-row-named{
    gap:15px!important;min-height:112px!important;margin-top:-48px!important;
  }
  .ch-public-profile-page-v2 .ch-public-profile-identity-row-named .ch-public-profile-avatar-wrap-v2{
    flex-basis:104px!important;width:104px!important;height:104px!important;
    min-width:104px!important;min-height:104px!important;
  }
  .ch-public-profile-page-v2 .ch-public-profile-identity-name{min-height:104px!important}
  .ch-public-profile-page-v2 .ch-public-profile-identity-name .ch-profile-display-name{
    font-size:clamp(26px,7vw,38px)!important;
  }
}


/* 0.5.51 — nombre público independiente, justo debajo de la portada */
.ch-public-profile-page-v2 .ch-public-profile-name-heading{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:22px 0 8px!important;
  color:#17383d!important;
  font-family:Georgia,serif!important;
  font-size:clamp(34px,4.4vw,52px)!important;
  font-weight:700!important;
  line-height:1.08!important;
  letter-spacing:-.7px!important;
  text-align:left!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:5!important;
}
.ch-public-profile-page-v2 .ch-public-profile-identity-row-named{
  margin-top:0!important;
}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-public-profile-name-heading{
    font-size:clamp(28px,7vw,40px)!important;
    padding:18px 0 6px!important;
  }
}


/* 0.5.54 — subir la foto de perfil sobre la portada y reducir el hueco inferior */
.ch-public-profile-page-v2 .ch-public-profile-identity-row{
  margin-top:-110px!important;
  min-height:132px!important;
  align-items:flex-end!important;
  position:relative!important;
  z-index:3!important;
}
.ch-public-profile-page-v2 .ch-public-profile-avatar-wrap-v2{
  width:132px!important;
  height:132px!important;
  flex:0 0 132px!important;
}
.ch-public-profile-page-v2 .ch-profile-information-card{
  margin-top:18px!important;
}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-public-profile-identity-row{
    margin-top:-78px!important;
    min-height:104px!important;
  }
  .ch-public-profile-page-v2 .ch-public-profile-avatar-wrap-v2{
    width:104px!important;
    height:104px!important;
    flex-basis:104px!important;
  }
}


/* 0.5.55 — presentación directa y galería en tarjeta */
.ch-public-profile-page-v2 .ch-profile-about h2{
  display:none!important;
}
.ch-public-profile-page-v2 .ch-profile-gallery-section{
  margin:0 0 24px!important;
  padding:22px 24px!important;
  border:1px solid #e8dfd1!important;
  border-top:1px solid #e8dfd1!important;
  border-radius:16px!important;
  background:#fffefa!important;
  box-shadow:0 5px 18px rgba(50,40,28,.035)!important;
}
.ch-public-profile-page-v2 .ch-profile-gallery-section .ch-profile-section-kicker{
  margin:0 0 14px!important;
}
@media (max-width:640px){
  .ch-public-profile-page-v2 .ch-profile-gallery-section{
    padding:18px!important;
  }
}


/* Acciones del perfil: guardar y eliminar cuenta */
.ch-profile-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ch-button.ch-button-danger{background:#fff;border:1px solid #d9a3a0;color:#a33b35}
.ch-button.ch-button-danger:hover{background:#fff0ef;border-color:#bd7771;color:#8f2d28}
@media(max-width:600px){.ch-profile-actions{align-items:stretch}.ch-profile-actions>.ch-button{width:100%}}


/* Comunidad Handpan 0.5.60: formulario de perfil compacto y organizado */
.ch-profile-page{padding-top:10px!important}
.ch-profile-panel-compact{margin-top:0!important}
.ch-profile-panel-compact .ch-profile-panel-head{margin-bottom:18px!important}
.ch-profile-panel .ch-form{grid-template-columns:repeat(6,minmax(0,1fr));column-gap:16px;row-gap:15px}
.ch-profile-panel .ch-form>.ch-photo-manager{grid-column:1/-1}
.ch-profile-panel .ch-form>.ch-field-name,
.ch-profile-panel .ch-form>.ch-field-level,
.ch-profile-panel .ch-form>.ch-field-experience{grid-column:span 2}
.ch-profile-panel .ch-form>.ch-field-bio{grid-column:1/-1}
.ch-profile-panel .ch-form>.ch-field-location{grid-column:span 3}
.ch-profile-panel .ch-form>.ch-field-map,
.ch-profile-panel .ch-form>.ch-field-actions,
.ch-profile-panel .ch-form>.ch-muted{grid-column:1/-1}
.ch-profile-panel .ch-form>.ch-field-actions{margin-top:2px}
.ch-profile-panel .ch-form .ch-button-danger{background:#fff!important;border:1px solid #d9a3a0!important;color:#a33b35!important}
.ch-profile-panel .ch-form .ch-button-danger:hover{background:#fff0ef!important;border-color:#bd7771!important;color:#8f2d28!important}
@media(max-width:760px){
 .ch-profile-panel .ch-form{grid-template-columns:1fr;gap:14px}
 .ch-profile-panel .ch-form>.ch-photo-manager,
 .ch-profile-panel .ch-form>.ch-field-name,
 .ch-profile-panel .ch-form>.ch-field-level,
 .ch-profile-panel .ch-form>.ch-field-experience,
 .ch-profile-panel .ch-form>.ch-field-bio,
 .ch-profile-panel .ch-form>.ch-field-location,
 .ch-profile-panel .ch-form>.ch-field-map,
 .ch-profile-panel .ch-form>.ch-field-actions,
 .ch-profile-panel .ch-form>.ch-muted{grid-column:1/-1}
}

.ch-photo-slot-image{position:relative}
.ch-photo-delete{position:absolute;top:7px;right:7px;z-index:3;width:29px;height:29px;display:flex;align-items:center;justify-content:center;padding:0;border:2px solid #fff;border-radius:50%;background:#a33b2f;color:#fff;font-size:21px;line-height:1;font-weight:700;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.22);transition:background .18s ease,transform .18s ease}
.ch-photo-delete:hover{background:#7f261f;transform:scale(1.08)}

/* Comunidad Handpan 0.5.62: selector de afinación junto a ubicación */
.ch-profile-panel .ch-form>.ch-field-tuning{grid-column:span 3}
@media(max-width:760px){.ch-profile-panel .ch-form>.ch-field-tuning{grid-column:1/-1}}

/* 0.5.63 — afinación del instrumento en tarjeta propia dentro de la ficha pública */
.ch-public-profile-page-v2 .ch-profile-information-model{
  display:flex;flex-direction:column;justify-content:center;gap:4px;
  min-width:132px;margin:0;padding:9px 13px;
  border:1px solid #e8dfd1;border-radius:11px;background:#fbf8f2;
  color:#29464a;
}
.ch-public-profile-page-v2 .ch-profile-information-model small{
  color:#9a8060;font-size:8px;font-weight:800;letter-spacing:1.25px;
}
.ch-public-profile-page-v2 .ch-profile-information-model strong{
  color:#29464a;font-size:13px;font-weight:650;
}
@media(max-width:760px){
  .ch-public-profile-page-v2 .ch-profile-information-model{min-width:0;flex:1 1 100%;}
}


/* 0.5.64 — cinco datos del perfil en tarjetas homogéneas */
.ch-public-profile-page-v2 .ch-profile-information-card-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:initial!important;
  gap:10px!important;
  margin:12px 0 20px!important;
  padding:13px 14px!important;
}
.ch-public-profile-page-v2 .ch-profile-information-tile{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  gap:4px!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:1px solid #e9dfd0!important;
  border-radius:11px!important;
  background:#faf6ee!important;
}
.ch-public-profile-page-v2 .ch-profile-information-tile small{
  color:#9a8060!important;font-size:8px!important;font-weight:800!important;letter-spacing:1.2px!important;line-height:1.3!important;
}
.ch-public-profile-page-v2 .ch-profile-information-tile strong{
  color:#29464a!important;font-size:13px!important;font-weight:650!important;line-height:1.35!important;overflow-wrap:anywhere!important;
}
@media(max-width:900px){
  .ch-public-profile-page-v2 .ch-profile-information-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:600px){
  .ch-public-profile-page-v2 .ch-profile-information-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:11px!important;gap:8px!important}
  .ch-public-profile-page-v2 .ch-profile-information-tile{padding:9px!important}
}


/* 0.5.65 — selector de fotografía principal desde la ficha pública */
.ch-avatar-change{position:absolute;left:50%;bottom:-13px;transform:translateX(-50%);z-index:8;width:max-content;max-width:260px;font-size:.72rem}
.ch-avatar-change>summary{list-style:none;cursor:pointer;padding:6px 11px;border:1px solid #e8ddce;border-radius:20px;background:#fffdfa;color:#76502a;font-weight:700;box-shadow:0 3px 12px rgba(35,30,25,.13);white-space:nowrap}
.ch-avatar-change>summary::-webkit-details-marker{display:none}
.ch-avatar-change[open]>summary{background:#a86b17;color:#fff;border-color:#a86b17}
.ch-avatar-change-form{position:absolute;top:calc(100% + 9px);left:50%;transform:translateX(-50%);width:248px;padding:12px;background:#fffdfa;border:1px solid #e8ddce;border-radius:14px;box-shadow:0 8px 28px rgba(35,30,25,.18)}
.ch-avatar-change-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:10px}
.ch-avatar-change-option{position:relative;display:block;cursor:pointer}
.ch-avatar-change-option input{position:absolute;top:5px;left:5px;z-index:2;accent-color:#a86b17}
.ch-avatar-change-option img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border:2px solid #e8ddce;border-radius:9px}
.ch-avatar-change-option input:checked+img{border-color:#a86b17;box-shadow:0 0 0 2px rgba(168,107,23,.2)}
.ch-avatar-change-submit{width:100%;border:0;border-radius:8px;padding:8px 10px;background:#a86b17;color:#fff;font-size:.78rem;font-weight:700;cursor:pointer}
.ch-avatar-change-submit:hover{background:#7e4b0c}
@media(max-width:600px){.ch-avatar-change-form{width:220px}.ch-avatar-change{bottom:-15px}}

/* 0.5.67 — selector de foto visible y anclado a la miniatura */
.ch-public-profile-page-v2 .ch-public-profile-avatar-wrap-v2{
  position:relative!important;
  overflow:visible!important;
}
.ch-public-profile-page-v2 .ch-avatar-change{
  position:absolute!important;
  left:50%!important;
  bottom:-39px!important;
  transform:translateX(-50%)!important;
  z-index:20!important;
}
.ch-public-profile-page-v2 .ch-avatar-change-empty{
  position:absolute;
  top:calc(100% + 8px);
  left:50%;
  transform:translateX(-50%);
  width:220px;
  padding:10px 12px;
  border:1px solid #e8ddce;
  border-radius:10px;
  background:#fffdfa;
  color:#665b4d;
  box-shadow:0 8px 24px rgba(35,30,25,.14);
  font-size:12px;
  line-height:1.45;
}


/* 0.5.68 — edición de portada y avatar mediante icono de lápiz */
.ch-public-profile-page-v2 .ch-public-profile-cover-v2{
  position:relative!important;
  overflow:visible!important;
}
.ch-public-profile-page-v2 .ch-photo-edit{
  position:absolute!important;
  z-index:40!important;
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-cover{
  top:14px!important;
  right:14px!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-avatar{
  top:7px!important;
  right:7px!important;
}
.ch-public-profile-page-v2 .ch-photo-edit>summary{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:36px!important;
  height:36px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:50%!important;
  background:rgba(255,253,250,.96)!important;
  color:#8b5718!important;
  box-shadow:0 3px 12px rgba(25,20,15,.2)!important;
  cursor:pointer!important;
  list-style:none!important;
  font-size:21px!important;
  line-height:1!important;
}
.ch-public-profile-page-v2 .ch-photo-edit>summary::-webkit-details-marker{display:none!important}
.ch-public-profile-page-v2 .ch-photo-edit>summary:hover{
  background:#fff!important;
  color:#5f3a0d!important;
  transform:scale(1.05);
}
.ch-public-profile-page-v2 .ch-photo-edit-panel{
  position:absolute!important;
  top:calc(100% + 10px)!important;
  right:0!important;
  width:min(310px, calc(100vw - 36px))!important;
  padding:15px!important;
  border:1px solid #e8ddce!important;
  border-radius:14px!important;
  background:#fffdfa!important;
  color:#51483d!important;
  box-shadow:0 12px 32px rgba(35,30,25,.2)!important;
  text-align:left!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-panel>strong{
  display:block!important;
  margin:0 0 12px!important;
  color:#17383d!important;
  font-size:14px!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-options{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
  margin:0 0 12px!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-option{
  display:block!important;
  position:relative!important;
  margin:0!important;
  cursor:pointer!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-option input{
  position:absolute!important;
  top:4px!important;
  left:4px!important;
  z-index:2!important;
  width:14px!important;
  height:14px!important;
  margin:0!important;
  accent-color:#a86b17!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-option img{
  display:block!important;
  width:100%!important;
  aspect-ratio:1!important;
  object-fit:cover!important;
  border:2px solid transparent!important;
  border-radius:8px!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-option:has(input:checked) img{
  border-color:#a86b17!important;
  box-shadow:0 0 0 2px rgba(168,107,23,.15)!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-submit{
  display:block!important;
  width:100%!important;
  border:0!important;
  border-radius:8px!important;
  padding:10px 12px!important;
  background:#a86b17!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-submit:hover{background:#7e4b0c!important}
.ch-public-profile-page-v2 .ch-photo-edit-panel p{
  margin:0!important;
  font-size:12px!important;
  line-height:1.45!important;
}
@media(max-width:600px){
  .ch-public-profile-page-v2 .ch-photo-edit-cover{top:10px!important;right:10px!important}
  .ch-public-profile-page-v2 .ch-photo-edit-panel{width:min(290px, calc(100vw - 30px))!important}
}


/* 0.5.69 — selector del avatar hacia la derecha y lápiz más discreto */
.ch-public-profile-page-v2 .ch-photo-edit-avatar>summary{
  width:27px!important;
  height:27px!important;
  font-size:16px!important;
  border-width:1px!important;
  box-shadow:0 2px 7px rgba(25,20,15,.16)!important;
}
.ch-public-profile-page-v2 .ch-photo-edit-avatar .ch-photo-edit-panel{
  left:0!important;
  right:auto!important;
  width:min(290px, calc(100vw - 30px))!important;
}


/* 0.5.70 — menú compacto: solo Inicio, Explorar y Directorio */
body.ch-community-page .ch-community-header .ch-main-nav{
  flex:0 1 auto!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:auto!important;
  justify-content:flex-end!important;
  gap:12px!important;
}
@media(max-width:1050px){
  body.ch-community-page .ch-community-header .ch-main-nav{
    width:100%!important;
    max-width:100%!important;
  }
}


/* 0.5.71 — navegación móvil compacta con botón desplegable */
.ch-mobile-menu-toggle{
  display:none!important;
  appearance:none!important;
  border:1px solid #eadfce!important;
  border-radius:11px!important;
  background:#fffdf9!important;
  width:44px!important;height:42px!important;
  padding:10px!important;
  align-items:center!important;justify-content:center!important;
  flex-direction:column!important;gap:4px!important;
  cursor:pointer!important;
  box-shadow:0 2px 8px rgba(50,40,28,.06)!important;
}
.ch-mobile-menu-toggle span{
  display:block!important;width:19px!important;height:2px!important;
  border-radius:2px!important;background:#5b4b67!important;
}
@media(max-width:760px){
  body.ch-community-page .ch-community-header{
    display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
    align-items:center!important;justify-content:space-between!important;
    gap:10px!important;padding:12px 16px!important;
  }
  body.ch-community-page .ch-community-header .ch-brand{
    flex:1 1 auto!important;min-width:0!important;
  }
  body.ch-community-page .ch-community-header .ch-community-logo{
    width:170px!important;height:auto!important;max-width:100%!important;
  }
  body.ch-community-page .ch-mobile-menu-toggle{
    display:flex!important;flex:0 0 44px!important;margin-left:auto!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav{
    display:none!important;flex:1 1 100%!important;width:100%!important;
    max-width:100%!important;min-width:0!important;
    flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;gap:5px!important;
    margin:4px 0 0!important;padding:10px!important;
    border:1px solid #eee7dd!important;border-radius:13px!important;
    background:#fffdf9!important;overflow:visible!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav.is-mobile-open{
    display:flex!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav>a,
  body.ch-community-page .ch-community-header .ch-main-nav .ch-account-menu{
    display:flex!important;width:100%!important;max-width:none!important;
    min-height:42px!important;box-sizing:border-box!important;
    align-items:center!important;justify-content:flex-start!important;
    padding:10px 12px!important;border-radius:9px!important;
    white-space:normal!important;text-align:left!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav .ch-account-menu{
    padding:0!important;flex-direction:column!important;align-items:stretch!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav .ch-account-toggle{
    width:100%!important;min-height:42px!important;justify-content:flex-start!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav .ch-account-dropdown{
    position:static!important;width:100%!important;box-shadow:none!important;
    border:0!important;border-top:1px solid #eee7dd!important;
    border-radius:0!important;margin-top:5px!important;
  }
  body.ch-community-page .ch-community-header .ch-main-nav .ch-back-home{
    margin:3px 0 0!important;padding:10px 12px!important;
    border-left:0!important;border-top:1px solid #eee7dd!important;
  }
}

/* 0.5.72 — registro directo, sin bloque introductorio ni CTA duplicado */
.ch-join{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
.ch-join-form{width:100%;min-width:0;max-width:100%}
.ch-join-form .ch-form{width:100%;min-width:0}
.ch-join-form .ch-check{width:100%;min-width:0;overflow-wrap:break-word;word-break:normal}
.ch-join-form .ch-check a{display:inline!important;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
@media(max-width:760px){
  .ch-join{display:block!important;padding:22px 18px!important}
  .ch-join-form{width:100%!important}
}


/* Mensajería privada 0.5.75 */
.ch-message-start{margin:10px 10px 8px 0;cursor:pointer}
.ch-chat-open{overflow:hidden}
.ch-chat-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px}
.ch-chat-modal[hidden]{display:none!important}
.ch-chat-backdrop{position:absolute;inset:0;background:rgba(22,30,31,.58);backdrop-filter:blur(3px)}
.ch-chat-window{position:relative;display:flex;flex-direction:column;width:min(100%,560px);height:min(720px, calc(100dvh - 36px));background:#fffdfa;border:1px solid #eadfce;border-radius:22px;box-shadow:0 24px 80px rgba(30,25,20,.25);overflow:hidden}
.ch-chat-header{display:flex;align-items:center;gap:12px;padding:15px 18px;background:#faf6ef;border-bottom:1px solid #eee3d4}
.ch-chat-avatar{width:44px;height:44px;border-radius:50%;object-fit:cover;background:#eee}
.ch-chat-heading{display:flex;flex:1;flex-direction:column;gap:3px;color:#17383d}
.ch-chat-heading small{font-size:12px;color:#7b817f}
.ch-chat-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;padding:0!important;margin:0 0 0 auto!important;box-sizing:border-box!important;border:0!important;border-radius:50%!important;background:#eee5d8!important;color:#594c40!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:400!important;line-height:1!important;text-align:center!important;vertical-align:middle!important;cursor:pointer;appearance:none!important;-webkit-appearance:none!important;transform:none!important}
.ch-chat-messages{flex:1;overflow-y:auto;padding:18px;background:linear-gradient(135deg,#fffdfa,#f8f5ef)}
.ch-chat-row{display:flex;margin:8px 0}
.ch-chat-row.is-mine{justify-content:flex-end}
.ch-chat-bubble{max-width:82%;padding:11px 14px;border-radius:16px;background:#f0ebe3;color:#34494b;line-height:1.5;overflow-wrap:anywhere}
.ch-chat-row.is-mine .ch-chat-bubble{background:#eee3f4;color:#453654;border-bottom-right-radius:5px}
.ch-chat-row.is-theirs .ch-chat-bubble{border-bottom-left-radius:5px}
.ch-chat-bubble small{display:block;margin-top:5px;text-align:right;font-size:10px;opacity:.65}
.ch-chat-compose{display:flex;align-items:flex-end;gap:10px;padding:12px 14px;border-top:1px solid #eee3d4;background:#fffdfa}
.ch-chat-compose textarea{flex:1;min-height:44px;max-height:120px;resize:vertical;border:1px solid #e3d7c8;border-radius:14px;padding:11px 13px;font:inherit;font-size:14px;background:white;color:#34494b}
.ch-chat-compose button{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:#a96b16;color:white;font-size:21px;cursor:pointer}
.ch-chat-compose button:disabled{opacity:.5;cursor:wait}
.ch-chat-error{min-height:0;margin:0;padding:0 15px 8px;color:#a33b30;font-size:12px}
.ch-chat-empty,.ch-chat-loading{text-align:center;color:#7b817f;padding:24px 8px}
.ch-inbox-list{display:grid;gap:10px;max-width:850px;margin-top:24px}
.ch-inbox-item{display:flex;align-items:center;gap:13px;width:100%;padding:14px 16px;text-align:left;background:#fffdfa;border:1px solid #eadfce;border-radius:16px;cursor:pointer;color:#34494b}
.ch-inbox-item:hover{border-color:#c69a60;box-shadow:0 7px 22px rgba(70,50,25,.07)}
.ch-inbox-item>img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.ch-inbox-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.ch-inbox-copy strong{color:#17383d}
.ch-inbox-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#737b79;font-size:13px}
.ch-inbox-meta{display:flex;align-items:flex-end;flex-direction:column;gap:7px;color:#858078;font-size:11px}
.ch-inbox-meta b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:20px;background:#a96b16;color:white;font-size:11px}
@media(max-width:600px){
 .ch-chat-modal{padding:0}
 .ch-chat-window{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}
 .ch-chat-header{padding:14px 16px}
 .ch-chat-messages{padding:14px}
 .ch-chat-compose{padding-bottom:max(12px,env(safe-area-inset-bottom))}
}

/* 0.5.77: centra exactamente el icono de enviar en el botón circular del chat. */
.ch-chat-compose button{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important;text-align:center!important;box-sizing:border-box!important;font-family:Arial,sans-serif!important;}
.ch-chat-compose button:focus{outline-offset:3px}


/* 0.5.79 — tarjeta de novedades próximas en la portada */
.ch-community-updates{margin-top:28px!important}
.ch-community-updates .ch-updates-card{
  position:relative;overflow:hidden;
  padding:clamp(22px,3vw,34px);
  border:1px solid #eadfce;border-radius:22px;
  background:linear-gradient(135deg,#fffdf8 0%,#f8f1e7 58%,#f5eff7 100%);
  box-shadow:0 8px 26px rgba(69,52,31,.055);
}
.ch-community-updates .ch-updates-heading{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  margin-bottom:24px;
}
.ch-community-updates .ch-updates-heading .ch-eyebrow{margin:0 0 8px;color:#a36e27;font-size:11px;font-weight:800;letter-spacing:.13em}
.ch-community-updates .ch-updates-heading h2{
  margin:0 0 9px;color:#21464a;font-family:Georgia,serif;
  font-size:clamp(23px,3vw,31px);line-height:1.15;
}
.ch-community-updates .ch-updates-heading p:not(.ch-eyebrow){
  max-width:680px;margin:0;color:#71685d;font-size:14px;line-height:1.65;
}
.ch-community-updates .ch-updates-sparkle{
  flex:0 0 48px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;
  border-radius:50%;background:#f1e5d2;color:#a36e27;font-size:27px;
}
.ch-community-updates .ch-updates-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;
}
.ch-community-updates .ch-update-item{
  display:flex;align-items:flex-start;gap:11px;min-width:0;
  padding:16px 13px;border:1px solid rgba(220,205,183,.8);border-radius:14px;
  background:rgba(255,255,255,.68);
}
.ch-community-updates .ch-update-icon{
  flex:0 0 34px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;
  border-radius:10px;background:#f4eadb;color:#a36e27;font-size:20px;
}
.ch-community-updates .ch-update-item h3{margin:1px 0 5px;color:#29484a;font-size:14px;font-weight:700}
.ch-community-updates .ch-update-item p{margin:0;color:#766e63;font-size:12px;line-height:1.5}
.ch-community-updates .ch-updates-footer{
  margin:20px 0 0;padding-top:15px;border-top:1px solid #e9ddcc;
  color:#94764e;text-align:center;font-size:12px;font-weight:600;letter-spacing:.02em;
}
@media(max-width:900px){
 .ch-community-updates .ch-updates-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
 .ch-community-updates{margin-top:20px!important}
 .ch-community-updates .ch-updates-card{padding:20px 16px;border-radius:17px}
 .ch-community-updates .ch-updates-heading{gap:10px;margin-bottom:17px}
 .ch-community-updates .ch-updates-sparkle{flex-basis:38px;width:38px;height:38px;font-size:22px}
 .ch-community-updates .ch-updates-grid{grid-template-columns:1fr;gap:9px}
 .ch-community-updates .ch-update-item{padding:13px 12px}
}
