/* ============ EMPODERAMIENTO ============ */
#seccion-empoderamiento { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #56414A; }
.pd-pagina { max-width: 620px; margin: 0 auto; padding: .4rem .9rem 6rem; box-sizing: border-box; }

/* portada con nivel */
.pd-hero { position: relative; text-align: center; border-radius: 28px; padding: 1.1rem 1rem 1.1rem; margin-bottom: 1rem; overflow: hidden;
    background: radial-gradient(120% 80% at 50% 0%, #FFF6F9 0%, #FDE9F1 55%, #F6E6F2 100%); border: 1px solid #F3DDE7; box-shadow: 0 10px 28px rgba(139,71,137,.10); }
.pd-hero::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -60px; top: -70px; background: #F4E3C9; opacity: .6; }
.pd-hero > * { position: relative; }
.pd-hero .vb-titulo { margin-bottom: .6rem; }
.pd-nivel { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 0 auto .7rem; }
.pd-anillo { position: relative; width: 84px; height: 84px; flex: 0 0 84px; }
.pd-anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-anillo span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; animation: mt-mecer 4s ease-in-out infinite; }
.pd-anillo-fondo { fill: rgba(255,255,255,.85); stroke: #F3D7E4; stroke-width: 7; }
.pd-anillo-prog { fill: none; stroke: #B4569A; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.3,.8,.3,1); }
.pd-nivel-info { text-align: left; }
.pd-nivel-info small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: #C39A3B; font-weight: 600; }
.pd-nivel-info b { display: block; font-family: 'Lora', Georgia, serif; font-size: 1.45rem; color: #8B4789; line-height: 1.15; }
.pd-nivel-info p { margin: .15rem 0 0; font-size: .82rem; color: #8F7D84; max-width: 190px; }
.pd-nivel-info i { font-style: normal; color: #8B4789; font-weight: 600; }
.pd-stats { flex-wrap: wrap; justify-content: center; font-size: .8rem; }

/* reto del día */
.pd-reto { position: relative; border-radius: 26px; padding: 1.1rem 1.15rem 1.15rem; margin-bottom: 1.4rem; color: #fff; overflow: hidden;
    background: radial-gradient(130% 100% at 100% 0%, #B4569A 0%, #8B4789 45%, #5E2F60 100%); box-shadow: 0 14px 30px rgba(94,47,96,.28); }
.pd-reto::after { content: '✦'; position: absolute; right: 18px; bottom: 10px; font-size: 4.5rem; color: rgba(255,255,255,.07); pointer-events: none; }
.pd-reto.pd-gira { animation: pd-voltear .5s ease; }
.pd-reto-cab { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.pd-reto-etq { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #F2D28A; font-weight: 600; }
.pd-cat { font-size: .78rem; background: rgba(255,255,255,.16); padding: .25rem .7rem; border-radius: 999px; }
.pd-reto-txt { margin: .75rem 0 1rem; font-family: 'Lora', Georgia, serif; font-size: 1.25rem; line-height: 1.35; }
.pd-reto-btns { display: flex; gap: .6rem; }
.pd-btn-hice { flex: 1; padding: .9rem; border: 0; border-radius: 16px; background: #fff; color: #8B4789; font-size: 1.02rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(0,0,0,.15); transition: transform .15s; }
.pd-btn-hice:active, .pd-btn-otro:active { transform: scale(.96); }
.pd-btn-otro { padding: .9rem 1rem; border: 1.5px solid rgba(255,255,255,.45); border-radius: 16px; background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.pd-reto.hecho { background: radial-gradient(130% 100% at 100% 0%, #D18BB5 0%, #A0558F 50%, #6E3A6C 100%); }
.pd-reto-ok { margin: 0 0 .55rem; font-weight: 600; color: #F2D28A; }
.pd-sentir { display: grid; grid-template-columns: repeat(2, 1fr); gap: .45rem; }
.pd-sentir button { display: flex; align-items: center; gap: .45rem; padding: .55rem .7rem; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: .82rem; cursor: pointer; text-align: left; }
.pd-sentir button span { font-size: 1.2rem; }
.pd-sentir button.sel { background: #fff; color: #8B4789; border-color: #fff; font-weight: 600; }
.pd-reto-man { margin: .7rem 0 0; font-size: .8rem; opacity: .75; }

/* herramientas */
.pd-subt { font-family: 'Lora', Georgia, serif; font-size: 1.15rem; color: #6E3A6C; margin: 0 0 .7rem .2rem; font-weight: 600; }
.pd-herrs { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-bottom: 1.5rem; }
.pd-herr { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .95rem .85rem .85rem; border-radius: 22px; border: 1px solid #F1E2E8; cursor: pointer; text-align: left; font: inherit; color: #56414A; box-shadow: 0 6px 16px rgba(139,71,137,.07); transition: transform .15s; animation: mt-aparecer .4s ease both; }
.pd-herr:active { transform: scale(.97); }
.pd-h-voz { background: linear-gradient(160deg, #FFF4F8, #FBDDE9); }
.pd-h-lim { background: linear-gradient(160deg, #F7F3FF, #E3D6F5); }
.pd-h-pod { background: linear-gradient(160deg, #FFFAF0, #F7E3BF); }
.pd-h-pose { background: linear-gradient(160deg, #F2FBF7, #CFEADF); }
.pd-herr-ico { font-size: 1.7rem; margin-bottom: .3rem; }
.pd-herr b { font-size: .95rem; color: #5E3A57; line-height: 1.2; }
.pd-herr small { font-size: .76rem; color: #8F7D84; line-height: 1.25; }
.pd-herr i { margin-top: .5rem; font-style: normal; font-size: .74rem; font-weight: 600; color: #8B4789; background: rgba(255,255,255,.75); padding: .2rem .6rem; border-radius: 999px; }

/* frasco */
.pd-frasco-caja { border-radius: 26px; background: #fff; border: 1px solid #F1E2E8; padding: 1rem 1rem .6rem; box-shadow: 0 6px 18px rgba(139,71,137,.07); }
.pd-frasco-fila { display: flex; align-items: center; gap: 1rem; }
.pd-frasco { flex: 0 0 118px; }
.pd-frasco-svg { width: 118px; height: auto; display: block; }
.pd-bola { animation: pd-caer .6s cubic-bezier(.3,1.4,.5,1) both; transform-box: fill-box; }
.pd-frasco-lado p { margin: 0 0 .8rem; font-size: .9rem; color: #8F7D84; line-height: 1.4; }
.pd-frasco-lado p b { font-family: 'Lora', Georgia, serif; font-size: 1.6rem; color: #8B4789; display: block; line-height: 1; }
.pd-btn-valiente { padding: .7rem 1rem; border: 0; border-radius: 14px; background: linear-gradient(135deg, #B4569A, #8B4789); color: #fff; font-weight: 600; cursor: pointer; box-shadow: 0 6px 16px rgba(139,71,137,.25); }
.pd-logros { list-style: none; margin: .9rem 0 0; padding: 0; }
.pd-logros li { display: flex; align-items: center; gap: .6rem; padding: .6rem .1rem; border-top: 1px solid #F6EAF0; font-size: .88rem; }
.pd-log-ico { font-size: 1.1rem; }
.pd-log-t { flex: 1; min-width: 0; }
.pd-log-t em { font-style: normal; }
.pd-logros small { color: #B3A0AA; font-size: .74rem; white-space: nowrap; }
.pd-ver-todos { justify-content: center; }
.pd-ver-todos button { border: 0; background: none; color: #8B4789; font-weight: 600; cursor: pointer; font: inherit; font-size: .85rem; }
.pd-logros-todos li:first-child { border-top: 0; }

/* hojas */
.pd-form { display: flex; flex-direction: column; gap: .55rem; }
.pd-form label { font-size: .82rem; font-weight: 600; color: #6E3A6C; }
.pd-form label small { font-weight: 400; color: #A893A0; }
.pd-form .vb-campo { margin-top: .25rem; }
.pd-vista { margin: .9rem 0 .2rem; padding: .9rem 1rem; border-radius: 18px; background: linear-gradient(160deg, #FFF4F8, #F9E3EE); border: 1px dashed #E7C9D7; }
.pd-vista small { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: #C39A3B; font-weight: 600; }
.pd-vista p { margin: .35rem 0 0; font-family: 'Lora', Georgia, serif; font-style: italic; color: #5E3A57; font-size: 1.02rem; line-height: 1.45; }
.pd-guion, .pd-limite { padding: .8rem .9rem; border-radius: 16px; background: #FFF9FB; border: 1px solid #F3E3EA; margin-bottom: .55rem; }
.pd-guion p { margin: 0 0 .5rem; font-family: 'Lora', Georgia, serif; font-style: italic; color: #5E3A57; line-height: 1.4; }
.pd-guion.dicho { background: #F3FAF6; border-color: #D3EBDD; }
.pd-limite b { display: block; font-size: .92rem; color: #5E3A57; }
.pd-limite small { display: block; margin-top: .2rem; font-style: italic; color: #8F7D84; }
.pd-guion-btns { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .45rem; }
.pd-guion-btns button { padding: .4rem .75rem; border-radius: 999px; border: 1.5px solid #E7C9D7; background: #fff; color: #8B4789; font-size: .8rem; font-weight: 600; cursor: pointer; }
.pd-guion-btns .pd-x { margin-left: auto; border-color: transparent; color: #B3A0AA; }
.pd-dicho { font-size: .8rem; color: #3F8A63; font-weight: 600; }
.pd-poderes { display: flex; flex-direction: column; gap: .55rem; margin-top: .6rem; }
.pd-poder { position: relative; padding: .9rem 2rem .9rem 1rem; border-radius: 18px; background: linear-gradient(160deg, #FFFAF0, #F7E8CC); }
.pd-poder p { margin: 0; font-family: 'Great Vibes', cursive; font-size: 1.45rem; color: #8B4789; line-height: 1.2; }
.pd-poder .pd-x { position: absolute; top: .35rem; right: .45rem; border: 0; background: none; color: #B3A0AA; font-size: 1.1rem; cursor: pointer; }
.pd-pasos { margin: 0 0 .8rem; padding-left: 1.2rem; color: #6E5A64; font-size: .9rem; line-height: 1.55; }
.pd-pose { position: relative; width: 170px; height: 170px; margin: .4rem auto; }
.pd-pose svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-pose .pd-anillo-prog { transition: stroke-dashoffset .2s linear; }
.pd-pose-centro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pd-pose-centro b { font-family: 'Lora', Georgia, serif; font-size: 2.6rem; color: #8B4789; line-height: 1; }
.pd-pose-centro small { color: #A893A0; font-size: .78rem; }
.pd-pose-frase { text-align: center; font-family: 'Great Vibes', cursive; font-size: 1.9rem; color: #8B4789; margin: .3rem 0 .6rem; min-height: 2.4rem; }
.pd-aparece { animation: mt-aparecer .6s ease; }

/* chispas */
.pd-chispa { position: fixed; z-index: 4000; pointer-events: none; font-size: 1.1rem; transform: translate(-50%, -50%); animation: pd-chispa 1s ease-out forwards; }
@keyframes pd-chispa { 0% { opacity: 1; transform: translate(-50%, -50%) scale(.5); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.15); } }
@keyframes pd-caer { from { transform: translateY(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pd-voltear { 0% { transform: rotateX(0); } 50% { transform: rotateX(80deg); opacity: .6; } 100% { transform: rotateX(0); } }
@keyframes mt-mecer { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

/* Escúchate */
.pd-reto-der { display: inline-flex; align-items: center; gap: .4rem; }
.pd-oir { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 1rem; cursor: pointer; }
.pd-escuchar { border-radius: 26px; padding: 1rem 1rem 1.05rem; margin-bottom: 1.4rem; background: linear-gradient(165deg, #FFF7FA 0%, #FBE6EF 60%, #F5E4D6 100%); border: 1px solid #F3DDE7; box-shadow: 0 10px 26px rgba(139,71,137,.10); }
.pd-escuchar .pd-reto-etq { color: #C39A3B; }
.pd-esc-cab { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .6rem; }
.pd-esc-sub { font-family: 'Great Vibes', cursive; font-size: 1.5rem; color: #8B4789; line-height: 1; }
.pd-esc-chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin: 0 -.2rem .8rem; padding: 0 .2rem; }
.pd-esc-chips::-webkit-scrollbar { display: none; }
.pd-esc-chips button { flex: 0 0 auto; padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid #EED3E0; background: rgba(255,255,255,.8); color: #6E3A6C; font-size: .8rem; cursor: pointer; }
.pd-esc-chips button.sel { background: #8B4789; border-color: #8B4789; color: #fff; font-weight: 600; }
.pd-esc-centro { display: flex; align-items: center; gap: .9rem; }
.pd-play { position: relative; flex: 0 0 66px; height: 66px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, #B4569A, #8B4789); color: #fff; box-shadow: 0 8px 20px rgba(139,71,137,.32); }
.pd-play b { position: relative; z-index: 1; font-size: 1.35rem; }
.pd-ondas i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #C77BB0; opacity: 0; }
.pd-play.sonando .pd-ondas i { animation: pd-onda 2.1s ease-out infinite; }
.pd-play.sonando .pd-ondas i:nth-child(2) { animation-delay: .7s; }
.pd-play.sonando .pd-ondas i:nth-child(3) { animation-delay: 1.4s; }
@keyframes pd-onda { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.pd-esc-txt { margin: 0; font-family: 'Lora', Georgia, serif; font-style: italic; font-size: .95rem; line-height: 1.5; color: #8F7D84; }
.pd-esc-txt span { transition: color .3s; }
.pd-esc-txt span.ahora { color: #6E3A6C; font-weight: 600; }
.pd-esc-otro { display: block; margin: .7rem auto 0; border: 0; background: none; color: #8B4789; font-weight: 600; font-size: .85rem; cursor: pointer; }
.pd-pose-voz { display: block; margin: 0 auto .7rem; padding: .35rem .9rem; border-radius: 999px; border: 1.5px solid #E7C9D7; background: #fff; color: #8B4789; font-size: .82rem; cursor: pointer; }

/* Mi voz en Escúchate */
.pd-esc-der { flex: 1; min-width: 0; }
.pd-tu-voz { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: #C2577E; padding: .15rem .55rem; border-radius: 999px; margin-bottom: .3rem; }
.pd-play-mia { background: linear-gradient(135deg, #D9A441, #C2577E); }
.pd-esc-barra { height: 4px; border-radius: 4px; background: #F0D6E2; margin-top: .55rem; overflow: hidden; }
.pd-esc-barra i { display: block; height: 100%; width: 0; background: #C2577E; transition: width .25s linear; }
.pd-esc-pie { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem .9rem; margin-top: .7rem; }
.pd-esc-pie .pd-esc-otro { margin: 0; }
.pd-esc-grabar { background: #fff !important; border: 1.5px solid #E7C9D7 !important; border-radius: 999px; padding: .4rem .9rem !important; }
.pd-gris { color: #A893A0 !important; font-weight: 500 !important; }
.pd-chip-mio { border-color: #E5C27A !important; }
.pd-esc-chips .pd-chip-mio.sel { background: linear-gradient(135deg, #D9A441, #C2577E); border-color: transparent !important; }
.pd-mio-intro { margin: 0 0 .7rem; font-family: 'Lora', Georgia, serif; font-style: italic; color: #8F7D84; font-size: .92rem; }
.pd-mios { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .7rem; }
.pd-mio { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 18px; background: rgba(255,255,255,.85); border: 1px solid #F1DCE6; }
.pd-play-chico { flex: 0 0 46px; height: 46px; box-shadow: 0 5px 12px rgba(139,71,137,.25); }
.pd-play-chico b { font-size: 1rem; }
.pd-mio-info { flex: 1; min-width: 0; }
.pd-mio-info b { display: block; font-size: .92rem; color: #5E3A57; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-mio-info small { color: #A893A0; font-size: .76rem; }
.pd-mio .pd-x { border: 0; background: none; color: #B3A0AA; cursor: pointer; font-size: .85rem; }
.pd-btn-grabar { display: block; width: 100%; padding: .85rem; border: 0; border-radius: 16px; cursor: pointer; font-weight: 700; font-size: .98rem; color: #fff; background: linear-gradient(135deg, #D9A441, #C2577E); box-shadow: 0 8px 18px rgba(194,87,126,.28); }

/* pantalla para grabar */
.mv-capa { position: fixed; inset: 0; z-index: 3500; background: rgba(46,25,52,.55); display: flex; align-items: flex-end; justify-content: center; animation: mt-aparecer .2s ease; }
.mv-hoja { position: relative; width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; box-sizing: border-box; text-align: center; padding: 1.3rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; color: #fff;
    background: radial-gradient(130% 90% at 50% 0%, #8B4789 0%, #5E2F60 60%, #3E1F42 100%); animation: mt-subir .32s cubic-bezier(.2,.9,.3,1.1); }
.mv-cerrar { position: absolute; top: .7rem; right: .8rem; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.3rem; cursor: pointer; }
.mv-sup { margin: 0; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #F2D28A; font-weight: 600; }
.mv-h { margin: .3rem 0 .8rem; font-family: 'Lora', Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.mv-titulo { margin: .7rem 0 .8rem; text-align: center; }
.mv-guion { text-align: left; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: .9rem 1rem; max-height: 34dvh; overflow-y: auto; }
.mv-guion small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #F2D28A; }
.mv-guion p { margin: .4rem 0 0; font-family: 'Lora', Georgia, serif; font-size: 1.12rem; line-height: 1.6; }
.mv-ayuda { font-family: 'Lora', Georgia, serif; font-style: italic; opacity: .85; margin: .2rem 0 .4rem; }
.mv-medidor { display: flex; align-items: center; justify-content: center; gap: 3px; height: 46px; margin: 1rem 0 .2rem; }
.mv-medidor i { width: 5px; height: 100%; border-radius: 3px; background: #F2B8CB; transform: scaleY(.12); transition: transform .08s; }
.mv-tiempo { margin: .2rem 0 .7rem; font-variant-numeric: tabular-nums; font-size: 1.05rem; opacity: .85; }
.mv-rec { width: 78px; height: 78px; border-radius: 50%; border: 4px solid rgba(255,255,255,.85); background: transparent; cursor: pointer; display: inline-grid; place-items: center; }
.mv-rec span { width: 56px; height: 56px; border-radius: 50%; background: #E8557F; transition: all .25s; }
.mv-capa.grabando .mv-rec span { width: 30px; height: 30px; border-radius: 8px; }
.mv-capa.grabando .mv-rec { animation: mv-latir 1.4s ease-in-out infinite; }
@keyframes mv-latir { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,85,127,.5); } 50% { box-shadow: 0 0 0 14px rgba(232,85,127,0); } }
.mv-estado { margin: .7rem 0 0; font-size: .88rem; opacity: .85; min-height: 1.2em; }
.mv-final { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .9rem; }
.mv-final .mv-guardar { grid-column: 1 / -1; }
.mv-final .vb-btn-sec { background: rgba(255,255,255,.14); color: #fff; border-color: transparent; }
.mv-final[hidden], .mv-botones[hidden] { display: none; }
