* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #fff9eb; background: #153c40; }
body { margin: 0; height: 100svh; min-height: 480px; overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 2px solid #ffc78d; outline-offset: 5px; }
#ocean { position: fixed; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; }
#ocean:active { cursor: grabbing; }
body::after { content: ""; position: fixed; inset: 0; background: linear-gradient(90deg, #082c345c, transparent 65%), linear-gradient(0deg, #06282eae, transparent 24%, transparent 80%, #153c403d); pointer-events: none; }
.topbar, .intro, .bottom-bar { position: fixed; z-index: 1; }
.topbar { top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 32px 48px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; letter-spacing: .2em; color: inherit; text-decoration: none; }
.brand svg { width: 33px; height: 33px; }
.scene-label { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .18em; color: #f6f3e5cc; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #f4bd8b; box-shadow: 0 0 12px #f4bd8b66; }
.intro { top: 26%; left: 7%; pointer-events: none; }
.eyebrow { margin: 0; font-size: 9px; letter-spacing: .22em; font-weight: 500; color: #f5dfc1; }
h1 { margin: 22px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.1vw, 82px); line-height: 1.06; font-weight: 400; letter-spacing: -.04em; }
h1 em { font-weight: 400; color: #f4bf91; }
.description { font-size: 13px; line-height: 1.9; color: #fff9ebc9; }
.bottom-bar { bottom: 0; left: 0; right: 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 30px 48px; }
.vessel-info { display: grid; gap: 10px; }
.vessel-info .eyebrow { font-size: 8px; color: #fff9eb9c; }
.vessel-name { font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.vessel-name span { margin-left: 12px; font-family: sans-serif; font-size: 10px; color: #f4bf91; }
.instructions { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font-size: 10px; color: #fff9ebb8; }
.instructions svg { width: 15px; height: 21px; margin-right: 2px; }
.instructions span { color: #fff9eb66; }
.controls { display: flex; gap: 8px; }
button { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 16px; min-height: 44px; border: 1px solid #fff9eb38; border-radius: 99px; color: #fff9eb; background: #0c303845; backdrop-filter: blur(10px); font: inherit; font-size: 10px; cursor: pointer; transition: background .2s, border-color .2s; }
button:hover { background: #fff9eb18; border-color: #fff9eb80; }
button:disabled { opacity: .4; cursor: wait; }
button svg { width: 16px; height: 16px; }
.status { position: fixed; z-index: 2; left: 50%; top: 65%; transform: translateX(-50%); padding: 14px 22px; border: 1px solid #fff9eb33; border-radius: 12px; background: #153c40e6; color: #fff9eb; font-size: 12px; line-height: 1.6; text-align: center; max-width: min(90vw, 460px); }
.status[hidden] { display: none; }
@media (max-width: 800px) {
  .topbar { padding: 24px; }
  .brand { font-size: 11px; gap: 9px; }
  .scene-label { font-size: 8px; }
  .intro { top: 17%; left: 7%; }
  h1 { font-size: clamp(42px, 8vw, 62px); margin: 14px 0; }
  .description { font-size: 12px; }
  .bottom-bar { padding: 24px; }
  .instructions { display: none; }
}
@media (max-width: 480px) {
  .scene-label { font-size: 0; gap: 0; }
  .intro { top: 15%; }
  .eyebrow { font-size: 8px; }
  .bottom-bar { align-items: center; padding: 20px; gap: 8px; }
  .vessel-name { font-size: 18px; }
  button { padding: 11px 12px; }
  .controls { gap: 6px; }
  #reset span { display: none; }
}
@media (max-height: 540px) and (min-width: 600px) {
  .topbar { padding: 16px 28px; }
  .intro { top: 23%; left: 6%; }
  h1 { font-size: 42px; margin: 12px 0; }
  .bottom-bar { padding: 16px 28px; }
}
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
