:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; color: #173b3d; background: #eaf5f3; }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body { overflow: hidden; }
button { font: inherit; }
.window { position: relative; width: 100%; height: 100vh; height: 100dvh; overflow: hidden; background: linear-gradient(#73bcb8, #187b83 55%, #084e59); }
#camera, #sea { position: absolute; inset: 0; width: 100%; height: 100%; }
#camera { object-fit: cover; }
#sea { touch-action: none; }
.interface { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.header, .panel { pointer-events: auto; }
.header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: white; text-shadow: 0 1px 12px #003b49; }
h1 { margin: 2px 0 0; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -.04em; line-height: 1.1; }
.eyebrow { margin: 0; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.spacer { flex: 1; pointer-events: none; }
.panel { align-self: flex-start; width: min(100%, 560px); padding: 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 12px 40px rgba(0,40,45,.18); }
.status { margin: 0 0 12px; font-size: .95rem; font-weight: 650; line-height: 1.4; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; }
button { min-height: 44px; padding: 10px 15px; border: 1px solid #b8d0ce; border-radius: 10px; color: #17494b; background: #fff; cursor: pointer; font-weight: 650; }
button:hover { background: #edf8f6; }
button:focus-visible { outline: 3px solid #e6ae40; outline-offset: 3px; }
button:disabled { opacity: .6; cursor: wait; }
button.primary { border-color: #126c6d; background: #126c6d; color: white; }
button.primary:hover { background: #0b5556; }
.icon-button { width: 44px; padding: 0; font-size: 1.5rem; line-height: 1; border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.94); }
.note { margin: 12px 0 0; color: #526b6a; font-size: .76rem; line-height: 1.45; }
@media (max-width: 420px) { .interface { padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); } .panel { padding: 14px; } .controls button { flex: 1 1 auto; padding-inline: 10px; font-size: .85rem; } }
