/* ══════════════════════════════════════════════════
   Perfil de usuario (rediseño D, sep-2026) — pages/profile.js
   y Ajustes — pages/settings.js
══════════════════════════════════════════════════ */

/* Sin tope, en 2K todo se estiraba: banner larguísimo y tarjetas enormes. Mismos
   escalones que .lol-page-wrap, algo más contenidos porque aquí hay dos columnas. */
.pf-root { display: flex; flex-direction: column; padding-bottom: 40px; width: 100%; max-width: 1400px; margin: 0 auto; }
@media (min-width: 1920px) { .pf-root { max-width: 1560px; } }
@media (min-width: 2560px) { .pf-root { max-width: 1680px; } }
.pf-muted { color: var(--text3); }

.pf-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  min-width: 0;
}
.pf-card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 12px;
}
.pf-card-title {
  display: flex; align-items: center; gap: 6px; min-width: 0;
  font-family: var(--font-d); font-size: 12px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--text2);
  margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pf-card-title .ti { font-size: 14px; color: var(--accent); flex-shrink: 0; }
/* Pie de tarjeta: la acción a la izquierda, el aviso (si lo hay) a la derecha. */
.pf-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border);
}
.pf-empty { font-size: 13px; color: var(--text3); padding: 2px 0; }
.pf-empty-big { padding: 40px 12px; text-align: center; border: 1px dashed var(--border2); border-radius: 12px; }
.pf-link {
  display: inline-flex; align-items: center; gap: 5px; text-decoration: none;
  background: none; border: none; padding: 0; color: var(--accent); font-size: 12px; cursor: pointer; font-family: var(--font-b);
}
.pf-link .ti { font-size: 14px; }
.pf-link:hover { text-decoration: underline; }
.pf-btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap; }

/* ── Visibilidad ─────────────────────────────────── */
.pf-vis {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none;
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border2); color: var(--text3);
  font-family: var(--font-b);
}
.pf-vis .ti { font-size: 12px; }
.pf-vis-friends { color: var(--accent2); border-color: color-mix(in srgb, var(--accent2) 40%, transparent); }
.pf-vis-me      { color: var(--accent);  border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.pf-vis-select {
  background: var(--bg2); color: var(--text); border: 1px solid var(--border2);
  border-radius: 7px; padding: 4px 8px; font-size: 12px; font-family: var(--font-b);
  max-width: 100%;
}
.pf-icon-btn {
  background: none; border: 1px solid var(--border2); color: var(--text2);
  width: 28px; height: 28px; border-radius: 7px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pf-icon-btn:hover:not(:disabled) { background: var(--bg4); color: var(--text); }
.pf-icon-btn:disabled { opacity: .35; cursor: default; }

/* ── Banner e identidad ──────────────────────────── */
.pf-banner {
  position: relative; height: 210px; border-radius: 14px; overflow: hidden;
  background: var(--bg3);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px);
  border: 1px solid var(--border);
}
.pf-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-banner-tools { position: absolute; right: 14px; top: 14px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pf-banner-tools .btn-secondary { background: rgba(13,13,15,0.7); color: var(--text); cursor: pointer; }

/* Solo el avatar se monta sobre el banner; el texto empieza siempre debajo,
   así crecer la bio al editar no lo empuja encima de la imagen. */
.pf-identity {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 0 24px; position: relative;
}
.pf-avatar {
  position: relative; flex-shrink: 0; margin-top: -54px;
  width: 120px; height: 120px; border-radius: 50%;
  border: 5px solid var(--bg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 46px; font-weight: 700; color: #fff;
}
.pf-avatar > img { width: 100%; height: 100%; object-fit: cover; }
.pf-avatar-edit {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(13,13,15,0.55); color: #fff; font-size: 26px; cursor: pointer;
}
.pf-id-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.pf-name-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pf-name { font-family: var(--font-d); font-size: 30px; font-weight: 700; line-height: 1.05; margin: 0; overflow-wrap: anywhere; }
.pf-role { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.pf-bio { color: var(--text2); font-size: 13px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.pf-bio-input {
  background: var(--bg4); border: 1px solid var(--accent); border-radius: 8px; color: var(--text);
  font-family: var(--font-b); font-size: 13px; padding: 8px 10px; resize: vertical; min-height: 56px; outline: none;
  width: 100%; max-width: 560px;
}
.pf-colors { display: flex; gap: 8px; }
.pf-color-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.pf-color-dot.selected { border-color: var(--text); }
.pf-since { font-size: 12px; color: var(--text3); }
.pf-actions { display: flex; gap: 8px; padding-top: 16px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Destacados ──────────────────────────────────── */
.pf-highlights {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  margin-top: 24px;
}
.pf-hl { display: flex; flex-direction: column; gap: 4px; }
.pf-hl-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pf-hl-label { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text3); min-width: 0; }
.pf-hl-label .ti { color: var(--accent); font-size: 13px; }
.pf-hl-val { font-family: var(--font-d); font-size: 22px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.pf-hl-val.sm { font-size: 17px; }
.pf-hl-sub { font-size: 12px; color: var(--text2); }
.pf-bar { height: 5px; border-radius: 3px; background: var(--bg5); margin-top: 6px; overflow: hidden; }
.pf-bar > div { height: 100%; border-radius: 3px; background: var(--accent3); }
.pf-bar.kappa > div { background: var(--accent); }
.pf-add { display: flex; align-items: center; justify-content: center; border-style: dashed; background: none; }
.pf-add-wide { grid-column: 1 / -1; }
.pf-add-select {
  background: none; border: none; color: var(--text2); font-size: 13px; font-family: var(--font-b);
  cursor: pointer; padding: 6px; max-width: 100%;
}
.pf-add-select option { background: var(--bg2); color: var(--text); }

/* ── Cuerpo ──────────────────────────────────────── */
.pf-body { display: flex; gap: 20px; margin-top: 24px; align-items: flex-start; }
.pf-side { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.pf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.pf-friends-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 6px; }
.pf-friend { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: inherit; min-width: 0; }
.pf-friend-av {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 15px;
}
.pf-friend-av img { width: 100%; height: 100%; object-fit: cover; }
.pf-friend-name { font-size: 11px; color: var(--text2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-friend:hover .pf-friend-name { color: var(--accent2); }
.pf-pending { color: var(--accent2); }

.pf-lol-row, .pf-lol-feature, .pf-lol-card {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: none; color: inherit; text-align: left; font-family: var(--font-b);
  padding: 6px 0; cursor: pointer;
}
.pf-lol-card { border: 1px solid var(--border); padding: 14px; background: var(--bg3); }
.pf-lol-row + .pf-lol-row { border-top: 1px solid var(--border); }
.pf-lol-row:hover .pf-lol-name, .pf-lol-feature:hover .pf-lol-name, .pf-lol-card:hover .pf-lol-name { color: var(--accent3); }
.pf-lol-icon {
  width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  background: var(--bg5); display: flex; align-items: center; justify-content: center; color: var(--text3);
}
.pf-lol-icon.lg { width: 52px; height: 52px; border-radius: 12px; }
.pf-lol-icon img { width: 100%; height: 100%; object-fit: cover; }
.pf-lol-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pf-lol-name { font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-lol-rank { font-size: 12px; color: var(--text2); }
.pf-verified { color: var(--accent3); font-size: 16px; }
.pf-rank-emblem { flex-shrink: 0; display: flex; }
.pf-lol-icon { position: relative; }
.pf-lol-main {
  position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg3); color: var(--accent); font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.pf-lol-card { align-items: flex-start; }
.pf-lol-card .pf-lol-text { gap: 3px; }
.pf-kappa-list { max-height: 150px; overflow-y: auto; margin: 4px 0 6px; }
.pf-kappa-row { font-size: 12px; color: var(--text2); padding: 3px 0; border-bottom: 1px solid var(--border); }
.pf-row-vis { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; font-size: 11px; color: var(--text3); }
.pf-champs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf-champ {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  padding: 3px 8px 3px 3px; border-radius: 999px; background: var(--bg4); color: var(--text2);
}
.pf-champ img { width: 20px; height: 20px; border-radius: 50%; }
.pf-champ b { color: var(--text); font-weight: 500; }

.pf-comm-row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 5px 0; text-decoration: none; color: var(--text); }
.pf-comm-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-comm-row:hover span:first-child { color: var(--accent); }

/* ── Pestañas ────────────────────────────────────── */
.pf-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); overflow-x: auto; scrollbar-width: none; }
.pf-tabs::-webkit-scrollbar { display: none; }
.pf-tab {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 16px; border: none; background: none; color: var(--text3);
  font-size: 13px; font-weight: 500; font-family: var(--font-b); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.pf-tab:hover { color: var(--text); }
.pf-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.pf-tabs-vis { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 13px; }
.pf-tabs-vis-item { display: inline-flex; align-items: center; gap: 6px; }
.pf-tabs-vis-hint { flex-basis: 100%; font-size: 12px; }

/* ── Vitrinas ────────────────────────────────────── */
.pf-showcases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pf-sc-tools { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 4px; flex-shrink: 1; min-width: 0; }
.pf-editing .pf-card-head, .pf-editing .pf-hl-head { align-items: flex-start; }
.pf-editing .pf-card-title { padding-top: 5px; }
.pf-sc-tools .pf-vis-select { max-width: 160px; }
/* Las vitrinas de una fila miden lo mismo: los pósters crecen con el alto
   disponible en vez de dejar un hueco debajo. _pfFitPosters() oculta los que
   no caben enteros a lo ancho. */
.pf-sc { display: flex; flex-direction: column; }
.pf-posters { flex: 1 1 auto; min-height: 130px; max-height: 190px; display: flex; gap: 6px; margin-bottom: 8px; overflow: hidden; }
.pf-poster { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--bg5); }
.pf-poster.is-clipped { display: none; }
.pf-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-poster-ph {
  display: flex; align-items: flex-end; height: 100%; padding: 4px;
  font-size: 9px; line-height: 1.2; color: var(--text3); overflow: hidden;
}
.pf-poster-score {
  position: absolute; left: 3px; bottom: 3px; font-size: 10px; font-weight: 600;
  padding: 1px 4px; border-radius: 4px; background: rgba(13,13,15,0.75); color: var(--accent);
}
.pf-reviews { display: flex; flex-direction: column; gap: 12px; }
.pf-review { display: flex; gap: 12px; }
.pf-review img, .pf-review-ph { width: 44px; aspect-ratio: 2 / 3; border-radius: 5px; object-fit: cover; flex-shrink: 0; background: var(--bg5); }
.pf-review-title { font-weight: 500; font-size: 13px; }
.pf-review-text { font-size: 12px; color: var(--text2); line-height: 1.5; margin-top: 3px; overflow-wrap: anywhere; }
.pf-review-text.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-score { color: var(--accent); font-weight: 400; }
.pf-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 3px 0; }
.pf-kv span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-kv .ti { color: var(--accent); }
.pf-kv-link { text-decoration: none; color: var(--text); }
.pf-kv-link:hover span:first-child { color: var(--accent); }
.pf-rows { display: flex; flex-direction: column; gap: 4px; }

/* ── Contenido de pestañas ───────────────────────── */
.pf-sub-title {
  font-family: var(--font-d); font-size: 12px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text2); margin: 22px 0 10px;
}
.pf-grid-top { align-items: start; }
.pf-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pf-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--bg3); border: 1px solid var(--border); text-decoration: none; color: var(--text);
}
.pf-row:hover { border-color: var(--accent); }
.pf-row > .ti { color: var(--accent); font-size: 16px; }
.pf-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }

/* ── Ajustes ─────────────────────────────────────── */
.st-root { max-width: 720px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 40px; }
.st-section { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.st-hint { font-size: 12px; color: var(--text3); line-height: 1.5; margin: 0; }
.st-toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.st-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.st-toggle-track {
  position: relative; flex-shrink: 0; width: 38px; height: 22px; border-radius: 999px;
  background: var(--bg5); transition: background .15s; margin-top: 1px;
}
.st-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--text2); transition: transform .15s, background .15s;
}
.st-toggle input:checked + .st-toggle-track { background: color-mix(in srgb, var(--accent3) 55%, var(--bg5)); }
.st-toggle input:checked + .st-toggle-track .st-toggle-thumb { transform: translateX(16px); background: #fff; }
.st-toggle input:focus-visible + .st-toggle-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-toggle-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1100px) {
  .pf-body { flex-direction: column; align-items: stretch; }
  .pf-side { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 720px) {
  .pf-banner { height: 140px; }
  .pf-identity { flex-direction: column; gap: 4px; padding: 0 12px; }
  .pf-avatar { width: 96px; height: 96px; font-size: 36px; margin-top: -48px; }
  .pf-id-text { padding-top: 4px; }
  .pf-name { font-size: 24px; }
  .pf-actions { justify-content: flex-start; padding-top: 8px; }
  .pf-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-showcases, .pf-grid-2 { grid-template-columns: minmax(0, 1fr); }
  .pf-side { grid-template-columns: minmax(0, 1fr); }
}

/* ── Actividad reciente (Fase 2) ─────────────────── */
.pf-activity { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.pf-act-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pf-act-filters { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.pf-act-filter {
  font-size: 12px; font-family: var(--font-b); padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border2); background: none; color: var(--text3); cursor: pointer;
}
.pf-act-filter:hover { color: var(--text); }
.pf-act-filter.active { color: var(--text); border-color: var(--text3); background: var(--bg4); }
.pf-act-list { padding: 0; }
.pf-act-empty { padding: 18px; }
.pf-act-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; }
.pf-act-item + .pf-act-item { border-top: 1px solid var(--border); }
.pf-act-icon {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  background: color-mix(in srgb, var(--text3) 15%, transparent); color: var(--text2);
}
.pf-act-icon.is-gaming  { background: color-mix(in srgb, var(--accent2) 16%, transparent); color: var(--accent2); }
.pf-act-icon.is-down    { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.pf-act-icon.is-ent     { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.pf-act-icon.is-forum   { background: color-mix(in srgb, var(--accent3) 16%, transparent); color: var(--accent3); }
.pf-act-icon.is-friends { background: color-mix(in srgb, var(--accent2) 16%, transparent); color: var(--accent2); }
.pf-act-poster { width: 32px; aspect-ratio: 2 / 3; border-radius: 5px; object-fit: cover; flex-shrink: 0; background: var(--bg5); }
.pf-act-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pf-act-text { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.pf-act-text a { color: inherit; text-decoration: none; }
.pf-act-text a:hover strong { color: var(--accent); }
.pf-act-sub { font-size: 12px; color: var(--text2); line-height: 1.45; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-act-time { font-size: 12px; color: var(--text3); white-space: nowrap; flex-shrink: 0; }
.pf-act-more { display: flex; justify-content: center; padding: 12px; border-top: 1px solid var(--border); }

/* ── Ajustes: privacidad ─────────────────────────── */
.st-rows { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (max-width: 720px) {
  .pf-act-filters { margin-left: 0; }
  .st-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Vitrinas con más información ────────────────── */
.pf-spark { margin-top: 12px; }
.pf-spark svg { width: 100%; height: 56px; display: block; overflow: visible; }
.pf-spark-line { fill: none; stroke: var(--accent2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.pf-spark-area { fill: color-mix(in srgb, var(--accent2) 12%, transparent); stroke: none; }
.pf-spark-dot { fill: var(--accent2); }
.pf-spark-up .pf-spark-line   { stroke: var(--accent3); }
.pf-spark-up .pf-spark-area   { fill: color-mix(in srgb, var(--accent3) 12%, transparent); }
.pf-spark-up .pf-spark-dot    { fill: var(--accent3); }
.pf-spark-down .pf-spark-line { stroke: var(--red); }
.pf-spark-down .pf-spark-area { fill: color-mix(in srgb, var(--red) 10%, transparent); }
.pf-spark-down .pf-spark-dot  { fill: var(--red); }
.pf-spark-legend { display: flex; justify-content: space-between; font-size: 11px; color: var(--text3); margin-top: 4px; }
.pf-spark-diff { font-weight: 600; color: var(--text2); }
.pf-spark-up .pf-spark-diff { color: var(--accent3); }
.pf-spark-down .pf-spark-diff { color: var(--red); }

.pf-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--text2); }
.pf-sum-total b { color: var(--text); font-size: 13px; }
.pf-sum-chip { padding: 2px 8px; border-radius: 999px; background: var(--bg4); white-space: nowrap; }
.pf-sum-score { color: var(--accent); }
.pf-sum-chip b { color: var(--text); font-weight: 600; }

/* ── Cuentas de LoL en la columna ────────────────── */
/* El icono mide lo mismo que las tres líneas de al lado, así quedan alineados. */
.pf-lol-icon.md { width: 56px; height: 56px; border-radius: 10px; }
.pf-lol-row { align-items: center; padding: 8px 0; }
.pf-lol-row .pf-lol-name { display: flex; align-items: center; gap: 4px; }
.pf-lol-row .pf-lol-rank { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text); }
.pf-rank-mini { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; }
.pf-rank-mini img, .pf-rank-mini .ti { width: 20px !important; height: 20px !important; font-size: 16px !important; object-fit: contain; }
.pf-lol-wl { font-size: 11px; color: var(--text3); }

/* ── Vitrinas: más datos ─────────────────────────── */
.pf-traders { display: flex; flex-direction: column; gap: 5px; margin: 10px 0 6px; }
.pf-traders-title { font-size: 11px; color: var(--text3); }
.pf-trader { display: grid; grid-template-columns: 90px 1fr 26px; align-items: center; gap: 8px; font-size: 12px; }
.pf-trader-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-trader-bar { margin-top: 0; height: 6px; }
.pf-trader-bar > span { display: block; height: 100%; border-radius: 3px; background: var(--accent3); }
.pf-trader .pf-muted { text-align: right; }
.pf-pos { color: var(--accent); font-weight: 600; }
.pf-kv-block { align-items: baseline; }
.pf-kv-block > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.pf-thread-meta { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pf-thread-meta .ti { font-size: 13px; color: var(--text3) !important; }
