/* Recorrido 360° de ejemplo (Leomak.Soft). Visor honesto: panorama CC0 de Poly Haven,
   etiquetado como ejemplo — NO es la propiedad real. Usa las variables de la demo. */
.fx-ver-360 { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 4px 0; margin-top: 2px; border: 0; background: none; color: var(--oro); font: 600 .95rem/1 var(--texto); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1.5px; cursor: pointer; }
.fx-ver-360:hover { opacity: .78; }
.fx-ver-360 svg { width: 17px; height: 17px; flex: none; }

.fx-360-panel { width: min(960px, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; border-radius: var(--radio, 6px); background: var(--blanco, #fff); color: var(--tinta, #111); overflow: hidden; }
.fx-360-panel::backdrop { background: rgb(8 12 24 / .66); }
.fx-360-panel[open] { animation: fx-panel .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes fx-panel { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.fx-360-panel-cab { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; background: var(--navy, #141d38); color: #fff; }
.fx-360-panel-cab h2 { margin: 0; font: 400 clamp(1.25rem, 3vw, 1.6rem)/1.15 var(--display, serif); }
.fx-360-cerrar { min-width: 44px; min-height: 44px; border: 0; background: none; color: inherit; font: 600 1rem var(--texto); cursor: pointer; }
.fx-360-cerrar:hover { opacity: .8; }

.fx-360-visor { position: relative; background: #0b0f1c; }
.fx-360-rotulo { position: absolute; z-index: 1; left: .75rem; top: .75rem; margin: 0; padding: .3rem .6rem; background: rgb(0 0 0 / .72); color: #fff; font-size: .8rem; border-radius: 3px; pointer-events: none; }
.fx-360-marco { position: relative; height: min(62svh, 520px); overflow: hidden; cursor: grab; touch-action: none; }
.fx-360-marco:focus-visible { outline: 3px solid var(--oro, #2b4a78); outline-offset: -3px; }
.fx-360-marco.fx-arrastrando { cursor: grabbing; }
.fx-360-marco canvas { display: block; width: 100%; height: 100%; }
.fx-360-tira { position: absolute; top: -30%; left: 0; height: 160%; display: flex; will-change: transform; }
.fx-360-tira img { height: 100%; width: auto; display: block; flex: none; user-select: none; -webkit-user-drag: none; }
.fx-360-marco::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 90px rgb(0 0 0 / .4); }

.fx-360-ayuda { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin: 0; padding: .7rem 1.1rem; font-size: .85rem; color: var(--gris, #666); }
.fx-360-credito { font-size: inherit; opacity: .85; }
.fx-360-rumbo { font-weight: 700; color: var(--oro, #2b4a78); min-width: 4ch; text-align: right; }
@media (prefers-reduced-motion: reduce) { .fx-360-panel[open] { animation: none; } }
