/* Momento de oración: una franja abajo, para que arriba se vea al personaje rezando. */
#orar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 0 10px calc(12px + var(--sab)); pointer-events: none; background: linear-gradient(to top, rgba(8, 30, 45, .78) 55%, rgba(8, 30, 45, 0)); padding-top: 60px; animation: orarIn .6s ease both; }
#orar[hidden] { display: none; }
#orarIn { pointer-events: auto; width: min(520px, 100%); background: rgba(244, 233, 216, .97); border-radius: 16px; border-top: 4px solid var(--gold); padding: 14px 16px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); text-align: center; color: var(--ink); max-height: 62vh; overflow: auto; }
#orarIn .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a6d2f; font-weight: 700; }
#orarIn .por { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.35; color: var(--navy); margin: 6px 0 10px; font-weight: 700; }
#orarIn .lin { min-height: 24px; }
#orarIn .lin p { margin: 0 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.4; font-style: italic; animation: orarLin .9s ease both; }
#orarIn .lin p.ya { opacity: .55; }
#orarIn .pts { display: flex; gap: 7px; justify-content: center; margin: 8px 0 10px; }
#orarIn .pts i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--gold); transition: background .4s; }
#orarIn .pts i.on { background: var(--gold); }
#orarIn button { min-height: 48px; min-width: 190px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font-size: 16px; font-weight: 700; padding: 0 26px; transition: opacity .3s; }
#orarIn button:disabled { opacity: .35; }
#orarIn button.amen { background: var(--gold); color: var(--navy); }
@keyframes orarIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes orarLin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-height: 520px) { #orarIn .por { font-size: 15px; } #orarIn .lin p { font-size: 14px; } }

/* Elegir tu muñeco */
.me.avs { flex-direction: column; align-items: stretch; gap: 14px; }
.me.avs label { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #8a6a24; font-weight: 700; display: grid; gap: 6px; }
.me.avs input { font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 400; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(11, 46, 68, .25); background: #fff; color: #0B2E44; min-width: 0; }
.avGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.av { padding: 0; border-radius: 14px; border: 3px solid transparent; background: #fff; overflow: hidden; aspect-ratio: 3 / 4; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 176, 106, .35); }
@media (max-width: 420px) { .avGrid { gap: 7px; } }

/* Botones de cámara, bajo el minimapa */
#camBtns { position: absolute; top: calc(52px + 132px + 10px + var(--sat)); right: 10px; width: 132px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
#camBtns[hidden] { display: none; }
#camBtns button { height: 30px; border-radius: 9px; border: 1px solid var(--gold); background: rgba(244, 233, 216, .93); padding: 0; display: grid; place-items: center; touch-action: none; }
#camBtns svg { width: 16px; height: 16px; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { #camBtns { top: calc(52px + 88px + 8px + var(--sat)); width: 88px; grid-template-columns: repeat(2, minmax(0, 1fr)); } #camBtns button { height: 34px; } }
