.page-shell {
  min-height: auto;
  place-items: start center;
  padding-top: clamp(28px, 6vh, 72px);
}

.banner-wrap {
  position: relative;
  aspect-ratio: 1536 / 652;
  background: rgba(7, 0, 2, 0.76);
  overflow: hidden;
}

.banner {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,0,5,0.05), rgba(18,0,5,0.88)), radial-gradient(circle at 50% 100%, rgba(255, 72, 20, 0.38), transparent 42%);
}

.profile-content {
  margin-top: -72px;
  position: relative;
  z-index: 1;
  padding: 0 clamp(22px, 6vw, 54px) 42px;
  text-align: center;
}

.avatar {
  width: 142px;
  height: 142px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 230, 190, 0.86);
  box-shadow: 0 0 0 8px rgba(86, 8, 14, 0.72), 0 12px 36px rgba(0,0,0,0.46), 0 0 38px rgba(255, 92, 30, 0.5);
}

.eyebrow {
  margin: 24px 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.2rem, 9vw, 4.8rem);
  line-height: 0.95;
  text-shadow: 0 2px 20px rgba(255, 111, 43, 0.28);
}

.tagline {
  max-width: 520px;
  margin: 18px auto 28px;
  color: var(--muted);
  line-height: 1.65;
}

.brand-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.donate { background: linear-gradient(135deg, rgba(255, 91, 32, 0.24), rgba(255,255,255,0.035)); }

.paypal-sdk-button {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 760px); padding: 18px 0; }
  .profile-card { border-radius: 26px; }
  .banner-wrap { aspect-ratio: 1536 / 652; }
  .profile-content { margin-top: -58px; padding-bottom: 28px; }
  .avatar { width: 118px; height: 118px; }
  .link-button { min-height: 72px; padding-right: 46px; }
}

body.modal-open {
  overflow: hidden;
}

.sensitive-modal[hidden] {
  display: none;
}

.sensitive-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.sensitive-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 0, 2, 0.78);
  backdrop-filter: blur(8px);
}

.sensitive-modal__dialog {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(26px, 6vw, 38px);
  text-align: center;
  border: 1px solid rgba(255, 202, 144, 0.34);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(62, 4, 13, 0.98), rgba(22, 1, 6, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58), 0 0 46px rgba(255, 75, 22, 0.2);
}

.sensitive-modal__eyebrow {
  margin: 0 0 12px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sensitive-modal h2 {
  margin: 0;
  color: var(--cream);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  line-height: 1;
}

.sensitive-modal p {
  color: var(--muted);
  line-height: 1.6;
}

.sensitive-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.sensitive-modal__button {
  min-height: 52px;
  color: var(--cream);
  font: inherit;
  font-weight: 800;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.sensitive-modal__button:hover,
.sensitive-modal__button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 216, 158, 0.7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.sensitive-modal__button--cancel {
  background: rgba(255, 255, 255, 0.08);
}

.sensitive-modal__button--continue {
  background: linear-gradient(135deg, rgba(255, 91, 32, 0.82), rgba(105, 9, 22, 0.9));
}

@media (max-width: 420px) {
  .sensitive-modal__actions {
    grid-template-columns: 1fr;
  }
}
