:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #fff2f8;
  background: #150f18;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100svh;
  background: radial-gradient(ellipse at top, #3b2038, #150f18 60%);
}
main {
  width: min(100%, 29rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 6vw, 2.5rem);
  text-align: center;
}
h1 {
  font: 500 clamp(2.5rem, 10vw, 4.5rem)/1 Georgia, serif;
  margin: 0 0 1.2rem;
  overflow-wrap: anywhere;
}
.portrait {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid #80546e;
}
.placeholder {
  display: grid;
  place-items: center;
  color: #e2c3d6;
  background: linear-gradient(150deg, #573149, #2d1e31);
}
h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); }
h3 { margin-top: 0; }
p { color: #ead6e1; line-height: 1.55; }
section, #denied {
  margin-top: 1.35rem;
  padding: 1rem;
  border: 1px solid #65445a;
  border-radius: 1.1rem;
  background: #241925;
}
.small { font-size: .85rem; }
button, input {
  width: 100%;
  min-height: 3rem;
  padding: .65rem .85rem;
  font: inherit;
  border-radius: .7rem;
}
button {
  border: 1px solid transparent;
  background: #ffadd4;
  color: #251021;
  font-weight: 700;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: default; }
.secondary {
  margin-top: .6rem;
  border-color: #a47694;
  background: transparent;
  color: inherit;
}
input { margin-top: .6rem; }
:focus-visible { outline: 3px solid #ffdaed; outline-offset: 4px; }
.cover {
  aspect-ratio: 2 / 1;
  margin-bottom: 1.25rem;
}
dialog {
  width: min(calc(100% - 2rem), 24rem);
  padding: 1.25rem;
  border: 1px solid #80546e;
  border-radius: 1rem;
  background: #241925;
  color: inherit;
}
dialog::backdrop { background: #110b13c9; }
