.ark-preview { height: 100vh; height: 100svh; min-height: 400px; overflow: hidden; background: #030509; position: relative; isolation: isolate; }
.ark-still, .ark-view { position: absolute; inset: 0; width: 100%; height: 100%; }
.ark-still { background: url('./assets/ark/ark-07-render.png?v=engines-3') center / contain no-repeat, linear-gradient(#05070be0,#05070be0), url('./assets/tlo.png') center / cover; }
.ark-view { opacity: 0; transition: opacity .6s ease; touch-action: none; cursor: grab; }
.ark-ready .ark-view { opacity: 1; }
.ark-view:active { cursor: grabbing; }
.ark-view:focus-visible { outline: 1px solid #dcc09a; outline-offset: -4px; }
.ark-title { position: absolute; left: 38px; top: 110px; pointer-events: none; }
.ark-title p { margin: 0 0 12px; font-size: 10px; letter-spacing: .27em; color: #ad9b81; }
.ark-title h1 { margin: 0; font-size: clamp(26px, 3.6vw, 50px); font-weight: 300; letter-spacing: .22em; color: #edddc5; }
.ark-footer { position: absolute; bottom: 30px; left: 38px; right: 38px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; pointer-events: none; }
.ark-help { margin: 0 0 12px; font-size: 12px; color: #a99c89; line-height: 1.7; }
.ark-actions { display: flex; gap: 8px; pointer-events: auto; }
.ark-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; pointer-events: auto; }
.ark-deck { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid #ac85523d; border-radius: 3px; background: #0b0a088c; color: #d9c4a1; font-size: 12px; letter-spacing: .13em; }
.ark-deck:hover { color: #ffe3b4; border-color: #d8ab6977; background: #2920169c; }
.ark-status { position: absolute; top: 50%; left: 0; right: 0; text-align: center; font-size: 12px; color: #d5c1a2; letter-spacing: .08em; }
.ark-status:empty { display: none; }
@media(max-width: 900px) { .ark-footer { flex-direction: column; align-items: start; gap: 4px; } }
@media(max-width: 600px) {
  .ark-title { left: 20px; top: 110px; }
  .ark-title p { font-size: 9px; }
  .ark-title h1 { font-size: 28px; }
  .ark-footer { left: 20px; right: 20px; bottom: max(22px, env(safe-area-inset-bottom)); }
  .ark-help { max-width: 280px; font-size: 11px; }
  .ark-actions { width: 100%; justify-content: space-between; gap: 5px; }
  .ark-navigation { width: 100%; }
  .ark-deck { width: 100%; padding: 10px 9px; font-size: 10px; }
  .ark-actions button { padding: 10px 9px; font-size: 10px; }
  .ark-still { background-size: 140% auto, cover, cover; }
}
@media(prefers-reduced-motion:reduce) { .ark-view { transition: none; } }

/* The parent already crossfades two aligned 3D views. Do not fade a still
   image over the newly aligned vessel a second time. */
html[data-ark-embedded="ark"] .ark-view { transition: none; }
