/* WebFantast 2.0: progressive enhancement; no schema changes */
.wf20-scenes-trigger{position:fixed;z-index:65;left:max(14px,env(safe-area-inset-left));bottom:calc(105px + env(safe-area-inset-bottom));border:1px solid #ffffff44;border-radius:13px;padding:11px 15px;background:#111827ed;color:white;box-shadow:0 8px 30px #0005;font:600 13px/1.2 system-ui,sans-serif;cursor:pointer;backdrop-filter:blur(12px)}
.wf20-scenes-panel[hidden]{display:none!important}.wf20-scenes-panel{position:fixed;z-index:100;inset:0;background:#030712aa;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;color:#fff;backdrop-filter:blur(8px)}
.wf20-scenes-panel>.wf20-scenes-heading,.wf20-scenes-panel>input,.wf20-scenes-list{width:min(560px,100%);box-sizing:border-box;background:#161e2d}.wf20-scenes-heading{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 10px;border-radius:18px 18px 0 0}.wf20-scenes-heading strong{font:700 18px system-ui}.wf20-scenes-heading button{color:#fff;background:#ffffff20;border:0;border-radius:8px;min-width:38px;min-height:38px;cursor:pointer}.wf20-scenes-panel>input{border:0;border-bottom:1px solid #ffffff24;color:#fff;padding:15px 20px;font:15px system-ui;outline-offset:-3px}.wf20-scenes-list{max-height:min(65vh,580px);overflow:auto;padding:10px 14px 18px;border-radius:0 0 18px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wf20-scene-item{display:flex;align-items:center;gap:10px;min-width:0;text-align:left;border:1px solid #ffffff22;border-radius:12px;background:#ffffff0b;color:#fff;padding:7px;cursor:pointer}.wf20-scene-item img{width:70px;height:48px;flex-shrink:0;object-fit:cover;border-radius:8px}.wf20-scene-item span{overflow-wrap:anywhere;font:600 13px system-ui}.wf20-scene-item:hover,.wf20-scene-item:focus-visible{background:#ffffff25;outline:2px solid #fff;outline-offset:1px}
@media(max-width:700px){.wf20-scenes-trigger{left:12px;bottom:calc(120px + env(safe-area-inset-bottom));padding:9px 12px;font-size:12px}.wf20-scenes-panel{padding:12px}.wf20-scenes-list{grid-template-columns:1fr;max-height:68dvh}.wf20-scene-item img{width:80px;height:52px}.viewer-body .pnlm-hotspot-base{max-width:28vw;max-height:28vw}.viewer-body .pnlm-hotspot-base img{max-width:min(84px,24vw)!important;max-height:min(84px,24vw)!important;object-fit:contain}.viewer-body .viewer-scene-menu{max-width:100%;min-width:0;overflow-x:auto}.viewer-body .viewer-dock{max-width:calc(100vw - 24px)!important}.viewer-body .viewer-header{max-width:calc(100vw - 20px)}.viewer-body .viewer-identity-copy strong{max-width:48vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:380px){.wf20-scenes-trigger{bottom:calc(133px + env(safe-area-inset-bottom))}.viewer-body .viewer-cta{max-width:120px}}
@media(prefers-reduced-motion:reduce){.wf20-scenes-panel,.wf20-scenes-trigger{scroll-behavior:auto;transition:none!important}}
