html:has(#cm-start-welcome[open]), body:has(> #cm-start-welcome[open]) { overflow: hidden; }
.cm-start-welcome[open] {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  background: #fcfcfa;
  color: #0b2545;
  overflow: hidden;
}
.cm-start-welcome::backdrop { background: #fcfcfa; }
.cm-start-welcome video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.cm-start-welcome__actions {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cm-start-welcome__actions button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #d7e1e8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #0b2545;
  font: 600 14px/1.4 system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.cm-start-welcome__actions button:focus-visible { outline: 3px solid #245df4; outline-offset: 3px; }
@media (max-width: 430px) {
  .cm-start-welcome__actions { right: max(16px, env(safe-area-inset-right)); left: max(16px, env(safe-area-inset-left)); }
}
