/* BRASA 0.1 · R34 · repaso visual con el lenguaje de juego (REF-13…22; candidato ?visualR34=1). Sólo composición: sin reglas ni datos. */
/* ---------- Invocar «Normal» (REF-14/15/16) ---------- */
.vi-invocar { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 0; max-width: 620px; margin-inline: auto; width: 100%; }
.vi-seccion { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px 10px 4px; }
.vi-bolsa, .vi-tiradas, .vi-carrusel { flex: none; }
.vi-bolsa { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 26px; font-size: 14px; color: #fff3d6; }
.vi-bolsa .cst .ico { width: 18px; height: 18px; }
.vi-garantia { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
.vi-arte.png .bannerglow { display: none; }
.vi-garantia > .ico { width: 18px; height: 18px; flex: none; }
.vi-garantia > b { flex: none; font-size: 15px; color: #c9a4ff; text-shadow: 0 1px 0 #000; }
.vi-barra { position: relative; flex: 1; height: 14px; border: 2px solid #8a6a3a; border-radius: 8px; background: #1a150e; overflow: hidden; }
.vi-barra i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#f2cf8a, #c99a4a); }
.vi-barra em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1; color: #fff3d6; text-shadow: 0 1px 0 #000, 0 0 3px #000; }
.vi-arte.artbox { flex: 1; min-height: 170px; border: 2px solid #8a6a3a; border-radius: 12px; box-shadow: inset 0 0 0 2px #1a150e, 0 4px 0 #0006; background-size: cover; background-position: 50% 55%; }
/* El fondo lo pone .artbox de style.css (las url() de --art/--fb se resuelven desde allí): aquí sólo se encuadra. */
.vi-arte h2 { position: absolute; left: 12px; right: 12px; bottom: 10px; margin: 0; text-align: center; font-size: clamp(17px, 4.6vw, 24px); line-height: 1.15; color: #fff3d6; text-shadow: 0 2px 0 #000, 0 0 8px #000; }
.vi-lados { position: absolute; top: 12px; right: 6px; display: grid; gap: 6px; }
.vi-tiradas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vi-tiradas button { min-height: 52px; padding: 4px 8px; font-size: 16px; }
.vi-tiradas button small { font-size: 12px; opacity: 1; }
.vi-tiradas button small .cst .ico { width: 15px; height: 15px; }
.vi-tiradas button:disabled { filter: grayscale(.6) brightness(.8); }
.vi-tiradas .vi-billete { border-style: dashed; min-height: 44px; }
.vi-tiradas button:nth-child(3):last-child { grid-column: 1 / -1; }
.vi-carrusel { display: flex; justify-content: center; gap: 8px; }
.vi-carrusel button { width: 84px; height: 48px; padding: 0; border: 2px solid #5a3d1c; border-radius: 8px; background: var(--mini) center / cover no-repeat, #15241f; image-rendering: pixelated; opacity: .7; }
.vi-carrusel button.active { border-color: var(--gold2); opacity: 1; box-shadow: 0 0 0 2px #1a150e, 0 0 10px #f2cf8a66; }
.vi-invocar .am-modos { padding-bottom: 6px; }
@media (max-height: 520px) {
  .vi-seccion { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 10px; }
  .vi-arte.artbox { grid-column: 1; grid-row: 1 / -1; min-height: 0; }
  .vi-bolsa, .vi-tiradas, .vi-carrusel { grid-column: 2; }
  .vi-tiradas { align-self: end; }
  .vi-lados { grid-auto-flow: column; }
}
@media (min-width: 900px) { .vi-invocar { max-width: 760px; } .vi-tiradas { max-width: 520px; width: 100%; margin-inline: auto; } .vi-bolsa { max-width: 520px; width: 100%; margin-inline: auto; } }
/* ---------- Misiones diarias, semanales y viaje (REF-17/18) ---------- */
.vq-panel { min-height: 0; padding-top: 6px; }
.vq-cab { min-height: 44px; }
.vq-reloj { font-size: 12px; font-weight: 700; color: #e6d5ab; }
.vq-pista { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 6px 10px; border: 1px solid #6a5230; border-radius: 12px; background: linear-gradient(#4a3a26, #3a2d1d); }
.vq-n { flex: none; min-width: 34px; text-align: center; font-size: 14px; color: #a6e08c; }
.vq-riel { position: relative; flex: 1; height: 10px; border: 2px solid #8a6a3a; border-radius: 7px; background: #1a150e; }
.vq-riel > span { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: linear-gradient(#f2cf8a, #c99a4a); }
.vq-riel > i { position: absolute; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%) rotate(45deg); border: 2px solid #8a6a3a; background: #1a150e; }
.vq-riel > i.on { border-color: #fff3d6; background: #f2cf8a; }
.vq-riel > i:last-of-type { display: none; }
.vq-cofre { flex: none; display: grid; justify-items: center; gap: 0; min-width: 64px; min-height: 52px; padding: 2px 4px; border: 2px solid #6a5230; border-radius: 10px; background: #2a2419; color: #e6d5ab; grid-template-columns: none; }
.vq-cofre.quest { opacity: 1; }
.vq-cofre-ico { display: grid; place-items: center; width: 28px; height: 28px; font-size: 18px; font-weight: 800; color: #a6e08c; }
.vq-cofre-ico svg { width: 26px; height: 26px; image-rendering: pixelated; }
.vq-cofre small { display: flex; gap: 6px; font-size: 11px; color: inherit; }
.vq-cofre.ready { border-color: #fff3d6; background: linear-gradient(#f2cf8a, #c99a4a); color: #2a1d08; box-shadow: 0 2px 0 #5d4015, 0 0 12px #f2cf8a88; }
.vq-cofre.claimed { filter: grayscale(.6); }
.vq-lista { overflow: visible; }
.vq-fila.quest { display: flex; grid-template-columns: none; opacity: 1; padding: 6px 10px; border: 1px solid #6a5230; background: linear-gradient(#55472f, #463a27); }
.vq-fila.ready { border-color: #f2cf8a; }
.vq-fila.claimed { filter: grayscale(.5) brightness(.85); }
.vq-premio { flex: none; display: grid; justify-items: center; align-content: center; gap: 2px; width: 58px; min-height: 46px; padding: 2px; border: 2px solid #c99a4a; border-radius: 8px; background: #1c2f3a; font-size: 12px; color: #fff3d6; }
.vq-premio .cst .ico { width: 18px; height: 18px; }
.vq-dato { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vq-dato b { font-size: 12.5px; line-height: 1.25; color: #fff3d6; }
.vq-dato .hbar { margin-top: 2px; }
.vq-fila .am-accion { min-width: 72px; }
.vq-ir { border-color: #6a4a22; background: linear-gradient(#f2cf8a, #c99a4a); color: #2a1d08; box-shadow: 0 2px 0 #5d4015; }
.vq-hecho { flex: none; display: grid; place-items: center; width: 72px; min-height: 44px; font-size: 20px; font-weight: 800; color: #a6e08c; }
/* ---------- Regalos y Ajustes ---------- */
.vr-panel { min-height: 0; padding-bottom: 10px; }
.vr-titulo { font-size: 13px; font-weight: 800; color: #e6d5ab; }
.vr-panel .am-lista { display: grid; gap: 6px; }
.vr-fila { margin: 0; }
.vr-fila.b1-diaria { margin-block: 0; border-radius: 10px; }
.vr-fila h3 { margin: 0; font-size: 14px; color: #fff3d6; font-family: inherit; letter-spacing: 0; text-transform: none; }
.vr-fila .am-nombre p { margin: 0; font-size: 10.5px; color: #cbb98a; }
.vr-fila .am-nombre p:empty { display: none; }
.vr-fila .am-accion { margin: 0; min-width: 84px; max-width: 132px; white-space: normal; line-height: 1.1; }
.vr-fila.claimed { filter: grayscale(.5) brightness(.85); }
.vr-fila .vq-premio .ico { width: 20px; height: 20px; }
.vr-panel .am-contador { margin-top: 6px; }
.vr-ayuda button { min-height: 48px; }
/* ---------- Taller: la frase de cabecera queda para lectores de pantalla; las reglas siguen tras «?» ---------- */
.visual-r34 .wsbar { justify-content: space-between; }
.visual-r34 .wsbar > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Apaisado bajo: el banner queda pequeño; el título pasa a ser sólo accesible para no chocar con los accesos. */
@media (max-height: 520px) { .vi-arte h2 { position: absolute; width: 1px; height: 1px; left: 0; bottom: 0; overflow: hidden; clip-path: inset(50%); } }
/* Ajustes: tres botones de copia en una fila sin cortar el texto, también a 320 px. */
.visual-r34 .panel:has(> .actions #exportSave) .actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.visual-r34 .panel:has(> .actions #exportSave) .actions button { min-width: 0; min-height: 44px; padding-inline: 2px; font-size: 13px; }
.vr-fila .am-nombre b, .vr-fila h3 { white-space: normal; overflow: visible; line-height: 1.15; }
@media (max-width: 359px) { .vr-fila { gap: 6px; padding-inline: 6px; } .vr-fila .vq-premio { width: 50px; } .vr-fila .am-nombre b, .vr-fila h3 { font-size: 12.5px; } .vr-fila .am-accion { min-width: 72px; padding-inline: 8px; } }
