:root { color-scheme: dark; font-family: system-ui, -apple-system, sans-serif; background: #092830; }
* { box-sizing: border-box; }
html, body, main { width: 100%; height: 100%; margin: 0; }
main { position: relative; isolation: isolate; overflow: hidden; background: #092830; }
[hidden] { display: none !important; }
#poster, #view { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#poster { object-fit: cover; object-position: 51% 51%; }
#view { cursor: grab; touch-action: none; }
#view:active { cursor: grabbing; }
#view:focus-visible { outline: 3px solid #fff0b9; outline-offset: -4px; }
button { min-height: 44px; border: 1px solid #8ba5a5; border-radius: 5px; padding: 0 12px; background: #0b2a31; color: #fffaf0; font: 650 14px/1 system-ui, -apple-system, sans-serif; cursor: pointer; }
button:hover { background: #17454b; }
button:focus-visible { outline: 3px solid #fff1af; outline-offset: 3px; }
.start, #controls, .brand, #status { position: absolute; z-index: 1; }
.start, #controls { right: 12px; bottom: 12px; }
.start { background: #fff3d6; border-color: #fff3d6; color: #092d35; box-shadow: 0 2px 12px #001c2b77; }
.start:hover { background: #fffafa; }
.start span { margin-left: 5px; }
#controls { display: flex; align-items: center; gap: 6px; }
.turn { width: 44px; padding: 0 0 4px; font-size: 30px; line-height: 1; }
.brand { top: 12px; left: 12px; padding: 6px 10px; border: 1px solid #d4b780; border-radius: 4px; background: #082a30ed; color: #fff1c7; font: 600 18px/1.1 Georgia, serif; }
#status { left: 12px; top: 12px; max-width: calc(100% - 24px); margin: 0; padding: 8px 12px; border-radius: 4px; background: #082a30; color: white; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (max-width: 450px) {
  .start, #controls { right: 8px; bottom: 8px; }
  .brand { top: 8px; left: 8px; }
}
