.ct-profile {
  box-sizing: border-box;
  width: min(32rem, calc(100% - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
  overflow: auto;
  margin: auto;
  padding: clamp(1rem, 4vw, 1.5rem);
  border: 1px solid #a8c5ad;
  border-radius: 1rem;
  background: #13372c;
  color: #fff2ce;
  font: 1rem/1.4 system-ui, sans-serif;
  color-scheme: dark;
}
.ct-profile::backdrop { background: #07140ed9 }
.ct-profile header { display: flex; justify-content: space-between; align-items: start; gap: .75rem }
.ct-profile h2 { font: 700 1.35rem/1.2 system-ui, sans-serif; margin: .25rem 0 }
.ct-profile h3 { font: 600 1.1rem/1.3 system-ui, sans-serif; margin: 1.15rem 0 .55rem }
.ct-profile p { margin: .65rem 0 }
.ct-profile form { display: grid; gap: .45rem }
.ct-profile input, .ct-profile button, .ct-profile a { font: inherit }
.ct-profile input { width: 100%; box-sizing: border-box; padding: .55rem .7rem; background: #0d281f; color: inherit; border: 1px solid #a8c5ad; border-radius: .55rem }
.ct-profile button { box-sizing: border-box; min-height: 44px; padding: .45rem .8rem; border: 1px solid #a8c5ad; border-radius: .55rem; background: #235340; color: inherit; cursor: pointer }
.ct-profile a { color: #ffdf9a }
.ct-profile :focus-visible { outline: 3px solid #ffd475; outline-offset: 3px }
.ct-profile [hidden] { display: none }
.ct-profile dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0 }
.ct-profile dl div { padding: .5rem .65rem; border-radius: .5rem; background: #0d281f }
.ct-profile dt { font-size: .9rem }
.ct-profile dd { margin: 0; font-size: 1.15rem; font-weight: 700 }
.ct-profile footer { margin-top: 1rem }
