* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; background: #000; overflow: hidden; }
body { font-family: Arial, sans-serif; }
.deck { position: fixed; inset: 0 0 64px 0; display: grid; place-items: center; }
.slide { display: none; position: relative; width: min(100vw, calc((100vh - 64px) * 16 / 9)); aspect-ratio: 16 / 9; }
.slide.active { display: block; }
.slide > img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.controls { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 8px 22px; background: #15191d; border-top: 1px solid rgba(255,255,255,.16); }
.nav { min-width: 124px; height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: #242a30; color: #fff; font: 600 15px/1 Arial,sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
.nav:hover { background: #303840; border-color: rgba(255,255,255,.45); }
.nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.prev { justify-self: end; }
.next { justify-self: start; }
.counter { min-width: 58px; text-align: center; color: rgba(255,255,255,.82); font: 600 14px/1 Arial,sans-serif; }
.architecture-link { position: absolute; left: 6.788%; top: 60.666%; width: 9.853%; height: 4.590%; z-index: 15; cursor: pointer; }
.machine-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: normal !important; border: 0 !important; }
@media (max-width: 600px) {
  .deck { inset-bottom: 58px; }
  .slide { width: min(100vw, calc((100vh - 58px) * 16 / 9)); }
  .controls { height: 58px; gap: 10px; padding: 7px 10px; }
  .nav { min-width: 92px; height: 42px; padding: 0 12px; font-size: 14px; }
  .counter { min-width: 48px; font-size: 13px; }
}
