/* sheet.css — Panel lateral de detalle (sheet) y piezas de ficha */
.sheet {
  position: absolute; top: 0; right: 0; height: 100%; width: 420px; max-width: 100vw; z-index: 40;
  background: var(--fondo); border-left: 1px solid var(--line); color: var(--txt);
  transform: translateX(105%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; box-shadow: -18px 0 50px rgba(22, 48, 36, .16);
}
.sheet.open { transform: translateX(0); }
.sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.sheet-head h2 { font-size: 18px; margin: 0; font-weight: 800; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-body { padding: 16px 18px; overflow-y: auto; flex: 1; }
.x { background: var(--campo); border: none; color: var(--txt-2); font-size: 16px; cursor: pointer; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: background .15s, color .15s; }
.x:hover { background: var(--tinte-2); color: var(--txt); }
.x .ico { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .sheet { width: 100vw; border-left: 0; }
}

/* Avatar grande (foto o inicial) — lo genera avatarHtml() en cualquier panel */
.av-lg {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-family: var(--f-titulo); font-size: 26px; font-weight: 800; color: var(--lima-txt);
  background: var(--lima); border: 3px solid var(--panel); box-shadow: var(--sh-md); overflow: hidden;
}
.prof-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.prof-top .name { font-size: 20px; font-weight: 800; margin: 0; }
.prof-top .handle, .handle { color: var(--mut); font-size: 13px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.badge { font-size: 11.5px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--panel); border: 1px solid var(--line-2); color: var(--txt-2); font-weight: 600; }
.badge.rank { background: color-mix(in srgb, var(--violeta) 10%, var(--panel)); border-color: color-mix(in srgb, var(--violeta) 30%, transparent); color: var(--violeta); }
.badge.verif { color: var(--azul); border-color: color-mix(in srgb, var(--azul) 30%, transparent); background: var(--marca-suave); }
.stars { color: #e3a008; letter-spacing: 2px; }
.row2 { display: flex; gap: 8px; margin: 12px 0; }
.row2 .btn { padding: 11px; font-size: 13.5px; }
.meta { font-size: 14px; line-height: 1.65; color: var(--txt-2); }
.meta b { color: var(--txt); font-weight: 650; }
.name { font-weight: 800; }
.interests { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip2 { font-size: 12px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--panel); border: 1px solid var(--line-2); color: var(--txt-2); }
.review { border-top: 1px solid var(--line); padding: 12px 2px; font-size: 13.5px; }
.review .who { color: var(--mut); font-size: 12.5px; }
.section-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1.3px; color: var(--mut); margin: 20px 2px 9px; font-weight: 700; }
.sheet-head h2 { display: flex; align-items: center; gap: 10px; }
.sheet-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--marca-suave); color: var(--azul); flex: 0 0 auto; }
.sheet-ico .ico { width: 18px; height: 18px; }
