/* LCD portrait header, with labelled profile pills. */
html[data-theme] .maker-dialog {
  width: min(520px, calc(100vw - 32px)); padding: 0;
  border: 0; border-radius: 24px; background: var(--ui-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24), 0 4px 16px rgba(0, 0, 0, .12);
  -webkit-font-smoothing: antialiased;
}
html[data-theme] .maker-dialog-top {
  position: sticky; top: 0; z-index: 2; justify-content: flex-end;
  min-height: 64px; height: 64px; margin-bottom: -64px; padding: 10px 12px;
  border: 0; background: linear-gradient(rgba(0, 0, 0, .22), transparent);
}
html[data-theme] .maker-dialog-top button {
  flex: 0 0 44px; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; color: #fff;
  background: rgba(0, 0, 0, .48); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background-color 160ms ease, scale 160ms cubic-bezier(.2, 0, 0, 1);
}
html[data-theme] .maker-dialog-top button:hover { background: rgba(0, 0, 0, .7); }
html[data-theme] .maker-dialog-top button:active { scale: .96; }
.maker-dialog-top button svg { width: 18px; height: 18px; }
.maker-photo { aspect-ratio: 1672 / 941; overflow: hidden; background: #a9b678; }
.maker-photo img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px;
}
html[data-theme="day"] .maker-photo img { outline-color: rgba(0, 0, 0, .1); }
html[data-theme] .maker-dialog-body { padding: 24px 28px 28px; }
html[data-theme] .maker-overline { margin: 0 0 8px; font-size: 10px; letter-spacing: .08em; }
html[data-theme] .maker-dialog h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.15; text-wrap: balance; }
html[data-theme] .maker-dialog-body > p:not(.maker-overline) {
  max-width: none; color: var(--ui-muted); font-size: 14px; line-height: 1.55; text-wrap: pretty;
}
html[data-theme] .maker-dialog-body > p.maker-message { margin-top: 10px; color: var(--ui-muted); }
html[data-theme] .maker-contact { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; max-width: 350px; margin-top: 22px; }
html[data-theme] .maker-contact a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: var(--ui-raised); color: var(--ui-ink);
  font: 400 13px/1.2 var(--ui-font); white-space: nowrap; text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  transition: background-color 160ms ease, box-shadow 160ms ease, scale 160ms cubic-bezier(.2, 0, 0, 1);
}
html[data-theme] .maker-contact a:hover {
  background: var(--ui-floating); color: var(--ui-ink); text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
html[data-theme] .maker-contact a:active { scale: .96; }
.maker-contact svg { flex: 0 0 16px; width: 16px; height: 16px; }
html[data-theme] .maker-contact a:focus-visible { outline: 2px solid var(--ui-accent); outline-offset: 3px; }
html[data-theme] .maker-dialog-top button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 700px) {
  html[data-theme] .maker-dialog { width: 100%; max-width: 100%; border-radius: 24px 24px 0 0; }
  html[data-theme] .maker-dialog-top { height: 72px; min-height: 72px; margin-bottom: -72px; padding: 18px 12px 10px; }
  html[data-theme] .maker-dialog-top::before { background: #fff; opacity: .65; }
  html[data-theme] .maker-dialog-body { padding: 22px 24px max(28px, env(safe-area-inset-bottom)); }
  html[data-theme] .maker-contact a { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] .maker-dialog-top button, html[data-theme] .maker-contact a { transition: none; }
  html[data-theme] .maker-dialog-top button:active, html[data-theme] .maker-contact a:active { scale: 1; }
}
