body { padding-bottom: 60px; }
.spacer { width: 40px; }

/* tarjeta de perfil en vino */
.profile {
  position: relative;
  margin-top: 6px;
  padding: 28px 24px 24px;
  border-radius: 32px;
  background: #8b2c2a;
  color: #f6d6e3;
  overflow: hidden;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f2c14e;
  color: #2a1416;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 34px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.profile .script {
  position: absolute;
  top: 34px;
  right: 22px;
  color: #f2c14e;
  font-size: 46px;
}
.profile h1 {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 300;
  overflow-wrap: anywhere;
}
.since { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 8px; }

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border-top: 1px solid rgba(246,214,227,.25);
  padding-top: 18px;
}
.numbers div { display: grid; gap: 2px; }
.numbers div + div { padding-left: 16px; border-left: 1px solid rgba(246,214,227,.25); }
.numbers b { font-family: var(--display); font-weight: 300; font-size: 30px; line-height: 1; }
.numbers span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

.section-title { font-size: 26px; font-weight: 300; margin: 34px 0 12px; }

/* lista tipo ajustes */
.list {
  background: rgba(255,255,255,.55);
  border-radius: 24px;
  overflow: hidden;
}
.item { display: block; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }

.item > summary, .item.link {
  display: grid;
  grid-template-columns: 40px 1fr 16px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: background .15s;
}
.item > summary::-webkit-details-marker { display: none; }
.item > summary:hover, .item.link:hover { background: rgba(255,255,255,.5); }

.ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ebb8d0;
}
.ico svg { width: 18px; height: 18px; }
.ico[data-icon="phone"] { background: #f2c14e; }
.ico[data-icon="download"] { background: #a9d8b8; }
.ico[data-icon="upload"] { background: #a8d0f0; }
label.item { cursor: pointer; }
.item[hidden] { display: none; }

.privacy { color: var(--ink-soft); font-size: 13px; font-weight: 300; line-height: 1.6; margin: 16px 6px 0; }

.txt { display: grid; min-width: 0; }
.txt b { font-weight: 500; font-size: 15px; }
.txt small { color: var(--ink-soft); font-size: 13px; font-weight: 300; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chev {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(-45deg);
  transition: transform .2s;
}
details[open] .chev { transform: rotate(45deg); }

.panel {
  display: grid;
  gap: 10px;
  padding: 0 18px 20px 72px;
  animation: fadeIn .25s ease;
}
.panel .pill { height: 46px; }
.hint { color: var(--ink-soft); font-size: 13px; font-weight: 300; }

/* zona de peligro, discreta */
.danger { margin-top: 30px; text-align: center; }
.danger summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  color: #c23a4b;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.danger summary::-webkit-details-marker { display: none; }
.danger .panel { padding: 16px 0 0; text-align: left; }
.danger-btn { background: #c23a4b; color: #f7ebd8; }

@media (max-width: 380px) {
  .panel { padding-left: 18px; }
  .profile .script { font-size: 38px; }
}
.ico[data-icon="globe"] { background: #f08a3c; }
.lang-panel { display: flex; flex-wrap: wrap; gap: 8px; }
.ico[data-icon="import"] { background: #d7a6e8; }
.ico[data-icon="chat"] { background: #ebb8d0; }
.ico[data-icon="cloud"] { background: #c8b6f0; }
