/* Entry from the create form and the host's lobby settings. */
#roomCreateForm button.room-groom-call-entry,
#roomStartForm button.room-groom-call-entry {
  --groom-call-phone: url('/brand/groom-call-original-question.webp');
  --groom-call-bg: linear-gradient(105deg, #42212f, #311820);
  --groom-call-rim: #bf8e6d;
  --groom-call-ink: #fff1db;
  --groom-call-muted: #efd0b8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 53px 15px;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  min-height: 63px;
  gap: 5px;
  margin: 8px 0 0;
  padding: 7px 10px 7px 12px;
  border: 1px solid var(--groom-call-rim);
  border-radius: 12px;
  background: var(--groom-call-bg);
  box-shadow: 0 3px 10px #1b0a172b, inset 0 1px #fff2dd25;
  color: var(--groom-call-ink);
  text-align: left;
  line-height: 1;
  cursor: pointer;
  transition: filter 160ms ease;
}

html[data-brand=clean] #roomCreateForm button.room-groom-call-entry,
html[data-brand=clean] #roomStartForm button.room-groom-call-entry {
  --groom-call-phone: url('/brand/groom-call-clean-question.webp');
  --groom-call-bg: linear-gradient(105deg, #fff4e6, #f0d0c2);
  --groom-call-rim: #ac7557;
  --groom-call-ink: #522330;
  --groom-call-muted: #672e37;
}

#roomStartForm button.room-groom-call-entry { margin: 0 0 5px; }

#roomCreateForm .room-groom-call-copy,
#roomStartForm .room-groom-call-copy { display: grid; gap: 4px; }

:is(#roomCreateForm, #roomStartForm) .room-groom-call-copy strong {
  color: var(--groom-call-ink);
  font: 650 clamp(19px, 2.2vw, 23px)/1 'Cormorant Garamond', Georgia, serif;
}

:is(#roomCreateForm, #roomStartForm) .room-groom-call-copy small {
  color: var(--groom-call-muted);
  font: 660 11px/1.2 Manrope, sans-serif;
}

:is(#roomCreateForm, #roomStartForm) .room-groom-call-phone {
  width: 53px;
  height: 47px;
  background: var(--groom-call-phone) center / contain no-repeat;
  pointer-events: none;
}

:is(#roomCreateForm, #roomStartForm) .room-groom-call-arrow {
  color: var(--groom-call-muted);
  font: 600 13px/1 Manrope, sans-serif;
  pointer-events: none;
}

@media (hover:hover) {
  :is(#roomCreateForm, #roomStartForm) button.room-groom-call-entry:not(:disabled):hover { filter: brightness(1.09); }
}

:is(#roomCreateForm, #roomStartForm) button.room-groom-call-entry:focus-visible {
  outline: 2px solid var(--groom-call-rim);
  outline-offset: 3px;
}

/* Room styles hide body siblings. The open native dialog belongs to the top layer. */
body.room-open > dialog.groom-call-dialog[open]:modal { visibility: visible !important; }
