:root { color-scheme: dark; }
#haven-startpagina {
  position: fixed; inset: 0; z-index: 2147483000;
  display: grid; grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(8px, 2vh, 20px); padding: clamp(12px, 2.5vw, 28px);
  background: radial-gradient(ellipse at 50% 30%, #152846, #080f25 75%);
  color: #edf6ff; font: 17px/1.4 "Segoe UI", system-ui, sans-serif;
  box-sizing: border-box;
}
#haven-startpagina * { box-sizing: border-box; }
.haven-startbeeld { display: flex; min-height: 0; align-items: center; justify-content: center; }
.haven-startbeeld img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 14px; }
.haven-startbediening { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-bottom: env(safe-area-inset-bottom, 0px); }
.haven-startbediening h1 { margin: 0; font-size: clamp(17px, 2vw, 23px); font-weight: 650; letter-spacing: .02em; }
#haven-startknop { min-width: 220px; min-height: 50px; padding: 12px 28px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #5ce3e5, #32b8dd); color: #07192a; font: 750 19px/1.25 "Segoe UI", system-ui, sans-serif; cursor: pointer; box-shadow: 0 4px 0 #12647c; }
#haven-startknop:hover:enabled { filter: brightness(1.1); }
#haven-startknop:focus-visible { outline: 3px solid #ffcb5c; outline-offset: 5px; }
#haven-startknop:disabled { opacity: .55; cursor: wait; }
#haven-startstatus { margin: 0; min-height: 24px; color: #b5c9dd; font-size: 15px; }
@media (max-height: 500px) and (min-width: 650px) {
  #haven-startpagina { grid-template-columns: minmax(0, 1fr) minmax(220px, .38fr); grid-template-rows: minmax(0, 1fr); gap: 20px; padding: 12px; }
  .haven-startbediening { justify-content: center; }
}
