.profile-two-panel {
  min-height: 100vh;
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, #f7fbfc 0%, #edf7f9 52%, #f6f1e8 100%);
  color: #071622;
}

.profile-two-panel,
.profile-two-panel * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.profile-two-panel__hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--safe-top, 1.375rem) + var(--navigation-bar-height, 2.75rem) + .375rem) .875rem 1.25rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(114, 225, 209, .24), transparent 32%),
    radial-gradient(circle at 8% 84%, rgba(215, 192, 155, .28), transparent 34%),
    linear-gradient(145deg, #041421, #0a263d 54%, #155276);
  color: #fff;
}

.profile-two-panel__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-right: var(--menu-safe-right, 16px);
}

.profile-two-panel__brand strong,
.profile-two-panel__brand span {
  display: block;
}

.profile-two-panel__brand strong {
  font-size: .875rem;
  font-weight: 650;
}

.profile-two-panel__brand span {
  color: rgba(255, 255, 255, .54);
  font-size: .5rem;
}

.profile-two-panel__identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .6875rem;
  align-items: center;
  margin-top: 1.125rem;
  padding: .9375rem;
  border: .03125rem solid rgba(255, 255, 255, .28);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, .17), rgba(114, 197, 232, .08));
  box-shadow: 0 .875rem 2.25rem rgba(0, 12, 24, .24), inset 0 .03125rem rgba(255, 255, 255, .32);
}

.profile-two-panel__avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: .875rem .375rem .875rem .875rem;
  background: linear-gradient(145deg, #72e1d1, #d7c09b);
  color: #041421;
  font-size: 1.125rem;
  font-weight: 700;
}

.profile-two-panel__avatar--empty {
  border: .03125rem dashed rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .62);
}

.profile-two-panel__avatar-image {
  object-fit: cover;
}

.profile-two-panel__identity h1 {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  line-height: 1.35;
}

.profile-two-panel__identity p {
  margin: .25rem 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: .625rem;
  line-height: 1.55;
}

.profile-two-panel__status {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-top: .875rem;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 .5625rem;
  border: .03125rem solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .86);
  font-size: .5625rem;
  white-space: nowrap;
}

.profile-chip--warm {
  border-color: rgba(215, 192, 155, .42);
  background: rgba(215, 192, 155, .16);
  color: #f6e2bd;
}

.profile-two-panel__body {
  padding: .875rem .75rem 0;
}

.profile-section {
  margin-top: .875rem;
  padding: .9375rem;
  border: .03125rem solid rgba(128, 175, 198, .2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 .625rem 1.625rem rgba(24, 83, 112, .08);
}

.profile-section--locked {
  background: linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(237, 247, 249, .74));
}

.profile-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.profile-section__head h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 650;
}

.profile-section__head p {
  margin: .1875rem 0 0;
  color: #718694;
  font-size: .625rem;
  line-height: 1.55;
}

.profile-section__badge {
  flex: none;
  padding: .3125rem .5rem;
  border-radius: 999px;
  background: #edf7f9;
  color: #155276;
  font-size: .53125rem;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.profile-field {
  min-height: 3.625rem;
  padding: .625rem;
  border: .03125rem solid rgba(128, 175, 198, .16);
  border-radius: .75rem;
  background: #f7fbfc;
}

.profile-field span,
.profile-field strong {
  display: block;
}

.profile-field span {
  color: #718694;
  font-size: .53125rem;
}

.profile-field strong {
  margin-top: .25rem;
  font-size: .78125rem;
  line-height: 1.35;
  font-weight: 620;
}

.profile-field--wide {
  grid-column: 1 / -1;
}

.profile-field--accent {
  background: linear-gradient(145deg, #071d30, #155276);
  color: #fff;
}

.profile-field--empty strong {
  color: #a9b8c1;
  font-weight: 500;
}

.profile-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4375rem;
  padding: .875rem;
  border: .03125rem dashed rgba(128, 175, 198, .34);
  border-radius: .75rem;
  background: rgba(237, 247, 249, .68);
}

.profile-empty-state strong {
  font-size: .8125rem;
  font-weight: 620;
}

.profile-empty-state span {
  color: #718694;
  font-size: .625rem;
  line-height: 1.6;
}

.profile-empty-state .profile-action {
  width: 100%;
  margin-top: .25rem;
}

.profile-field--accent span {
  color: rgba(255, 255, 255, .58);
}

.profile-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .75rem;
}

.profile-action {
  min-height: 2.5rem;
  border: 0;
  border-radius: .75rem;
  background: #071d30;
  color: #fff;
  font-size: .6875rem;
}

.profile-action--secondary {
  border: .03125rem solid rgba(128, 175, 198, .22);
  background: #fff;
  color: #155276;
}

@media (max-width: 360px) {
  .profile-two-panel__hero {
    padding-right: .75rem;
    padding-left: .75rem;
  }

  .profile-two-panel__brand {
    align-items: flex-start;
  }

  .profile-two-panel__brand span {
    max-width: 5rem;
    text-align: right;
  }

  .profile-info-grid,
  .profile-action-row {
    grid-template-columns: 1fr;
  }

}
