.soWrap{ max-width: 900px; padding-bottom: 96px; }
.soTabs{ display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.soTab{ display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font: 700 15px/1 var(--font-body, inherit); cursor: pointer; }
.soTab[hidden]{ display: none; }
.soTab.active{ background: var(--lav-900); border-color: var(--lav-900); color: #fff; box-shadow: 0 4px 0 var(--lav-950); }
.soEmpty{ display: grid; justify-items: center; gap: 12px; padding: 56px 20px; border-radius: 26px; background: #fff; border: 1px solid var(--line); text-align: center; color: var(--ink-2); font-weight: 600; }
.soEmpty i{ font-size: 32px; color: var(--lav-400); }
.soEmpty p{ margin: 0; max-width: 460px; line-height: 1.6; }
.soEmpty .btn{ display: inline-flex; }
.soRar{ padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.soRar.r1{ background: #DCEBFF; color: #2F5FB7; }
.soRar.r2{ background: var(--lav-300); color: var(--lav-800); }
.soRar.r3{ background: linear-gradient(120deg, #EEF0F5, #C9CDD8 50%, #F5F6FA); color: #4C5266; }

/* actividad */
.feedList{ display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.feedItem{ display: flex; gap: 14px; padding: 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 5px 0 var(--lav-100); }
.feedItem.isSpecial{ border-color: #F4D78A; box-shadow: 0 5px 0 #F7E7B6; }
.feedImg{ flex: none; width: 82px; aspect-ratio: 3 / 4; }
.feedImg img{ width: 100%; height: 100%; object-fit: contain; }
.feedText{ display: grid; align-content: center; gap: 3px; min-width: 0; }
.feedText p{ margin: 0; font-size: 15px; }
.feedText em{ font-style: normal; color: var(--muted); font-weight: 600; }
.feedText small{ color: var(--muted); }
.feedWho{ display: flex; align-items: center; gap: 7px; min-width: 0; color: #7B3FE4; text-decoration: none; font-size: 14px; }
.feedWho img, .feedWho span{ width: 22px; height: 22px; border-radius: 7px; object-fit: cover; display: grid; place-items: center; background: var(--lav-200); font-size: 11px; }
.feedWho b{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedMeta{ display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 12px; color: var(--muted); }
.feedMeta .tag{ font-size: 10px; padding: 3px 8px; }

/* personas */
.userList{ display: grid; gap: 8px; }
.userRow{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.userLink{ display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--ink); }
.userAv{ flex: none; width: 46px; height: 46px; border-radius: 14px; overflow: hidden; }
.userAv img, .userAv span{ display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; background: var(--lav-200); color: var(--lav-800); font-weight: 800; }
.userName{ display: grid; min-width: 0; }
.userName b, .userName small{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userName small{ color: var(--muted); }
.soFollow{ flex: none; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--lav-900); color: #fff; font: 800 13px/1 var(--font-body, inherit); cursor: pointer; }
.soFollow.is-on{ background: #fff; color: var(--lav-800); border: 1px solid var(--line-2); }

/* lista de deseos */
.wsList{ display: grid; gap: 14px; }
.wsItem{ display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 16px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 0 var(--lav-100); }
.wsCard img{ width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.wsHead{ display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.wsHead h3{ margin: 0; font: 800 20px/1.2 var(--font-display); color: var(--ink); }
.wsHead em{ font-style: normal; color: var(--muted); font-weight: 700; font-size: 15px; }
.wsHead small{ color: var(--muted); margin-right: 6px; }
.wsRemove{ flex: none; width: 38px; height: 38px; border-radius: 12px; border: 1px solid #F6C6D6; background: #fff; color: #E0558A; cursor: pointer; }
.wsRemove:hover{ background: #FFF0F5; }
.wsWho{ margin: 14px 0 8px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.wsOwners{ display: grid; gap: 8px; }
.wsOwner{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 16px; background: var(--lav-50); }
.wsOwner a{ display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: var(--ink); }
.wsOwner a img, .wsOwner a span{ flex: none; width: 30px; height: 30px; border-radius: 10px; object-fit: cover; display: grid; place-items: center; background: var(--lav-200); font-weight: 800; font-size: 13px; }
.wsOwner b{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wsOwner small{ color: var(--muted); }
.wsAsk{ flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: #5865F2; color: #fff; font: 800 13px/1 var(--font-body, inherit); cursor: pointer; }
.wsAsk.is-sent{ background: #2C8A69; }
.wsAsk.is-error{ background: #B9B3D6; }
@media (max-width: 560px){
  .wsItem{ grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .wsHead h3{ font-size: 17px; }
}

/* ranking entre amigos */
.rkMetrics{ display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 14px; }
.rkChip{ display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); font: 700 14px/1 var(--font-body, inherit); cursor: pointer; transition: transform .12s ease; }
.rkChip i{ color: var(--lav-600); }
.rkChip:active{ transform: scale(.96); }
.rkChip.active{ background: #F1E8FF; border-color: #B79BFF; color: #6A35D0; }
.rkMine{ margin: 0 0 12px; text-align: center; color: var(--ink-2); }
.rkMine b{ color: #6A35D0; }
.rkList{ list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 8px; max-width: 620px; }
.rkRow{ display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 0 var(--lav-100); }
.rkRow.isMe{ background: #F6F0FF; border-color: #C9B2FF; box-shadow: 0 4px 0 #E1D2FF; }
.rkRow.top1{ border-color: #F4D78A; box-shadow: 0 4px 0 #F7E7B6; }
.rkPos{ display: grid; place-items: center; height: 40px; font: 800 18px/1 var(--font-display, inherit); color: var(--muted); }
.rkRow[class*="top"] .rkPos{ font-size: 24px; }
.rkWho{ display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
.rkWho img, .rkWho span{ flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; object-fit: cover; background: var(--lav-200); color: var(--lav-800); font-weight: 800; }
.rkWho b{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rkWho em{ flex: none; padding: 2px 8px; border-radius: 999px; background: #8A4FF0; color: #fff; font: 800 11px/1.4 var(--font-body, inherit); font-style: normal; }
.rkVal{ font: 800 17px/1 var(--font-display, inherit); color: #6A35D0; white-space: nowrap; }
@media (max-width: 560px){ .rkRow{ grid-template-columns: 34px minmax(0, 1fr) auto; padding: 8px 12px 8px 6px; } .rkVal{ font-size: 15px; } }
.rkIco{ width: 22px; height: 22px; object-fit: contain; vertical-align: -5px; }
.rkChip .rkIco{ width: 20px; height: 20px; }
.rkVal{ display: inline-flex; align-items: center; gap: 6px; }
