/* Interaction frames stay on the picture; inventory stays below it. */
.image-interactions .hotspot-target{fill:#eadab512!important;stroke:#f4dfaa!important;stroke-width:2px!important;stroke-dasharray:6 5;vector-effect:non-scaling-stroke;animation:none!important}
.image-interactions .hotspot-outline{display:block!important;fill:none!important;stroke:#201c18bb!important;stroke-width:4px!important;vector-effect:non-scaling-stroke}
.image-interactions .hotspot-target:hover,.image-interactions .hotspot-target:focus-visible{fill:#ffe8b333!important;stroke:#fff2cc!important;stroke-width:3px!important}
.scene-viewpoints[hidden]{display:none!important}
.inline-inventory{margin:.45rem 0;padding:.25rem .7rem;border:1px solid #b9a68166;background:#1c2025;color:#eee4d0;border-radius:4px}
.inline-inventory summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:.9rem}.inline-inventory .inventory-tally{margin:.3rem 0;font-size:.95rem;font-variant-numeric:tabular-nums}.inline-inventory ul{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;padding:0}.inline-inventory li{padding:.35rem .5rem;border:1px solid #b9a68144;font-size:.8rem}.inline-inventory button{min-height:44px}
#trial-game-over{width:100vw;max-width:none;height:100dvh;max-height:none;box-sizing:border-box;margin:0;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 15%,#252c38,#06080d 70%);color:#eee3ce;padding:clamp(30px,10vh,110px) 20px;text-align:center;overflow:auto}
#trial-game-over::backdrop{background:#06080d}#trial-game-over h1{letter-spacing:.16em;font:clamp(36px,9vw,86px)/1.15 monospace;color:#edc89a}#trial-game-over p{max-width:520px;margin:1.5rem auto;line-height:1.6}#trial-game-over ul{list-style:none;padding:0;line-height:2;font-family:monospace}#trial-game-over button{padding:1rem 1.5rem;background:#dac69f;color:#151b24;border:1px solid #dac69f;font-weight:bold;cursor:pointer}
[data-pose=sword].planb-strike .planb-actor{animation:none!important;transform:none!important}.planb-actor.articulated-combo{object-fit:contain!important;width:59%!important;height:92%!important;left:0!important;bottom:0!important;animation:none!important;transform:none!important}
.combo-count{position:absolute;left:4%;top:3%;z-index:12;padding:.4rem;background:#141b21e8;color:#ffe5b1;font:13px monospace}.combo-slash{position:absolute;z-index:8;pointer-events:none;left:20%;top:20%;width:47%;height:45%;border-right:3px solid #ffe6a7;border-radius:50%;transform:rotate(45deg)}.combo-slash.slash-2{transform:rotate(-75deg)}.combo-slash.slash-3{transform:rotate(165deg)}
.automaten-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:1.2rem 0}.automat-machine{min-width:0;text-align:left;border:1px solid #8c8678;border-radius:9px 9px 3px 3px;padding:10px;background:linear-gradient(110deg,#444c50,#242d32 50%,#51565a);box-shadow:4px 7px 0 #151a1c;color:#f3e7ce;cursor:pointer}.automat-machine h2{font:17px/1.3 Georgia,serif;margin:5px 0 12px;color:#f6e5c1}.automat-glass{display:flex;flex-direction:column;justify-content:center;min-height:145px;background:linear-gradient(135deg,#a9c9cf1f,#060d14 70%);border:4px solid #0e1518;padding:10px;gap:9px;box-shadow:inset 0 0 15px #000}.automat-glass span{font:13px/1.35 monospace;padding:8px 4px;border-bottom:1px solid #a4987e}.automat-screen{display:block;font:11px/1.6 monospace;letter-spacing:.08em;color:#b4d5ba;padding:10px 0}.automat-slot{display:block;padding:12px 0;text-align:center;border:3px solid #11191d;background:#0b1115;font-size:12px}.automat-machine:hover,.automat-machine:focus-visible{outline:2px solid #e0c38d;outline-offset:3px}
.automat-panel{padding:16px;border:1px solid #9f947866;margin:1rem 0;background:#171e24;color:#eadfc6}.automat-panel h2{margin:0 0 12px;font-size:20px}.automat-panel label{display:block;margin:12px 0}.automat-panel input{max-width:100%;box-sizing:border-box}.automat-panel output{display:block;padding:12px;background:#090f13;border-left:2px solid #aa9a75;line-height:1.7}.automat-chat-nav{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.automat-panel button{min-height:44px}.handgriffe48{margin:1rem 0;padding:1rem;border:1px solid #af9d7955}.handgriffe48 li{margin:0 0 1rem;line-height:1.6}.handgriffe48 strong{display:block}.handgriffe48 p{line-height:1.6}
@media(max-width:600px){.automaten-row{gap:7px}.automat-machine{padding:6px}.automat-machine h2{font-size:13px}.automat-glass{padding:4px;min-height:145px}.automat-glass span{font-size:10px;overflow-wrap:anywhere}.automat-screen{font-size:9px;letter-spacing:0}.automat-slot{font-size:10px}.play-story .image-zoom-tools{width:auto!important}.play-story .scene-viewpoints{width:auto!important}.inline-inventory{padding:.25rem .55rem}.planb-actor.articulated-combo{width:65%!important;height:93%!important}}
.automaten-row,.automat-machine{box-sizing:border-box;max-width:100%}.automat-machine h2{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}.automat-screen{white-space:normal!important;overflow-wrap:anywhere}
@media(max-width:600px){#siemens-content .automat-machine h2{font-size:12px!important;line-height:1.3!important;letter-spacing:0!important}#siemens-content .automat-machine{min-width:0!important;padding:6px!important}#siemens-content .automat-machine .automat-glass span{font-size:10px!important;line-height:1.35!important}}
.documentary-scene .scene-image-plane>img{aspect-ratio:auto;height:auto;max-height:70svh;object-fit:contain}.play-story .documentary-actions{position:static!important;inset:auto!important;display:flex;flex-wrap:wrap;gap:.4rem;transform:none!important;padding:.4rem 0}.play-story .documentary-actions button{position:static!important;transform:none!important;min-height:44px!important;max-width:100%!important}.play-story .documentary-actions button::before{display:none}.documentary-scene .stage-progress{position:static!important;display:block;background:#171b1e}
