.shell-header {
  min-height: 0;
  padding: calc(clamp(1.25rem, 4vw, 2.25rem) + env(safe-area-inset-top)) max(1rem, calc((100% - 40rem) / 2)) 1rem;
  border-color: var(--shell-line);
}

.shell-header .shell-title {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.shell-content {
  width: min(100%, 42rem);
  padding-inline: clamp(1rem, 3vw, 1.25rem);
}

.shell-content .shell-section {
  margin-block-end: 1.5rem;
  font-size: 0.875rem;
}

.shell-content > .shell-meta {
  font-size: 0.875rem;
}

.shell-content > .shell-rule {
  margin: 1.25rem 0 1.5rem;
}

.shell-content > .shell-button[data-quiet='true'] {
  color: var(--shell-accent);
}

.updates-profile {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem) 0 1.25rem;
  border-bottom: 1px solid var(--shell-line);
}

.updates-profile-name {
  margin: 0;
  text-align: center;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  line-height: 1.2;
  font-weight: 600;
}

.updates-portrait {
  display: grid;
  place-items: center;
  inline-size: 7rem;
  block-size: 7rem;
  border: 1px solid var(--shell-border);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #203047, #10151d 75%);
  color: #eef5ff;
  font-size: 2rem;
  font-weight: 600;
  object-fit: cover;
}

.updates-profile-bio.shell-markdown-preview {
  max-inline-size: min(100%, 42ch);
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--shell-muted);
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.6;
}

.updates-photo-field {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  margin-block-end: 1rem;
}

.updates-photo-field label {
  font-size: 0.875rem;
}

.updates-photo-input {
  max-inline-size: 100%;
  color: inherit;
  font: inherit;
}

.updates-photo-input::file-selector-button {
  min-block-size: 44px;
  margin-inline-end: 0.75rem;
}

.shell-content textarea {
  min-height: 10rem;
  font-size: 1rem;
  line-height: 1.6;
}
