/* ============================================================
   KEY POINTS — Estilos de cuenta.html y perfil.html
   (rangos, progresión, recompensas, baúl, historial)
   ============================================================ */

/* ---------- CUENTA (login / registro / recuperar) ---------- */
.lk-auth-hero { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; padding-block: 7rem 4rem; }
.lk-auth-box { position: relative; z-index: 2; width: min(480px, 92vw); margin-inline: auto;
  background: linear-gradient(165deg, rgba(22,22,26,.92), rgba(10,10,11,.94));
  border: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 2.8rem); backdrop-filter: blur(10px); }
.lk-auth-box .eyebrow { justify-content: center; }
.lk-auth-title { text-align: center; font-size: clamp(2rem, 6vw, 2.8rem); margin: .8rem 0 1.6rem; }
.lk-auth-tabs { display: flex; border: 1px solid var(--line); margin-bottom: 1.6rem; }
.lk-auth-tab { flex: 1; padding: .8em .4em; background: none; color: var(--ivory-dim); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.lk-auth-tab.active { background: var(--gold); color: #0a0a0b; }
.lk-auth-panel { display: none; }
.lk-auth-panel.active { display: block; animation: lkpIn .45s var(--ease) both; }
@keyframes lkpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lk-auth-panel label { display: block; color: var(--ivory-mute); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; margin: 1rem 0 .35rem; }
.lk-auth-panel input { width: 100%; background: #101013; border: 1px solid var(--line); color: var(--ivory); padding: .85em 1em; font-family: var(--sans); font-size: .95rem; }
.lk-auth-panel input:focus { outline: none; border-color: var(--gold); }
.lk-auth-panel button[type=submit] { width: 100%; margin-top: 1.6rem; padding: 1em; background: var(--gold); border: none; color: #0a0a0b; font-family: var(--sans); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; cursor: pointer; transition: background .3s; }
.lk-auth-panel button[type=submit]:hover { background: var(--gold-soft); }
.lk-auth-panel button[disabled] { opacity: .45; cursor: not-allowed; }
.lk-auth-alt { text-align: center; margin-top: 1.2rem; font-size: .8rem; color: var(--ivory-mute); }
.lk-auth-alt a { color: var(--gold-soft); cursor: pointer; }
.lk-auth-soon { display: none; text-align: center; border: 1px solid rgba(200,162,75,.4); background: rgba(200,162,75,.07); color: var(--gold-soft); padding: .9em 1.2em; font-size: .82rem; margin-bottom: 1.4rem; }
.lk-auth-logged { display: none; text-align: center; }
.lk-auth-logged strong { color: var(--gold-soft); }
/* Verificación con código (campo único premium) */
.lk-otp-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 5vw, 2.3rem); color: var(--ivory); margin: .4rem 0 .6rem; }
.lk-code-input {
  display: block; width: 100%; max-width: 340px; margin: .6rem auto 0; text-align: center;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 7vw, 2.5rem);
  letter-spacing: .42em; text-indent: .42em;
  color: var(--ivory); -webkit-text-fill-color: var(--ivory); /* a prueba del relleno transparente heredado */
  background: #101013; border: 1px solid var(--line); border-radius: 10px;
  padding: .5em .3em; caret-color: var(--gold);
  transition: border-color .25s, box-shadow .25s;
}
.lk-code-input::placeholder { color: #4a463f; -webkit-text-fill-color: #4a463f; letter-spacing: .28em; }
.lk-code-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 22px rgba(200,162,75,.28); }
.lk-code-input.error { border-color: #d98b6f; -webkit-text-fill-color: #f0c3b3; color: #f0c3b3; animation: lkShake .4s; }
.lk-code-input.ok { border-color: #8fce9a; -webkit-text-fill-color: #bfe6c6; color: #bfe6c6; box-shadow: 0 0 18px rgba(143,206,154,.32); }
@keyframes lkShake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-6px)} 75%{transform:translateX(6px)} }

.lk-auth-toast { position: fixed; left: 50%; bottom: 2.2rem; transform: translate(-50%, 150%); z-index: 9900; background: var(--bg-3); border: 1px solid var(--gold); color: var(--ivory); padding: .9em 1.5em; font-size: .85rem; max-width: 90vw; transition: transform .45s var(--ease); }
.lk-auth-toast.show { transform: translate(-50%, 0); }
.lk-auth-toast.err { border-color: #d98b6f; }

/* ---------- PERFIL · HERO ---------- */
.lkp-hero { position: relative; overflow: hidden; padding: clamp(7rem, 14vh, 10rem) 0 clamp(3rem, 6vw, 5rem); }
.lkp-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.lkp-demo-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; text-align: center; background: linear-gradient(90deg, #0a0a0b, #181308 50%, #0a0a0b); border-bottom: 1px solid rgba(200,162,75,.35); color: var(--gold-soft); font-size: .74rem; letter-spacing: .08em; padding: .6em 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lkp-demo-banner a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
body.lk-demo-on .header { top: 32px; }
body.lk-demo-on .mobile-nav { padding-top: 7rem; }

/* Insignia grande con anillo de progreso */
.lkp-medal { position: relative; width: clamp(220px, 30vw, 300px); aspect-ratio: 1; margin-inline: auto; }
.lkp-ring { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--lkp-c, var(--gold)) calc(var(--lkp-p, 0) * 1%), rgba(236,230,218,.09) 0);
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 65.5%, #000 100%);
          mask: radial-gradient(circle, transparent 64%, #000 65.5%, #000 100%);
  filter: drop-shadow(0 0 12px var(--lkp-glow, rgba(200,162,75,.35))); }
.lkp-medal .ins { position: absolute; inset: 9%; display: flex; align-items: center; justify-content: center; }
.lkp-medal .ins svg { width: 100%; height: 100%; filter: drop-shadow(0 14px 30px rgba(0,0,0,.55)); }
.lkp-medal .halo { position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(circle, var(--lkp-glow, rgba(200,162,75,.4)) 0%, transparent 62%); filter: blur(26px); z-index: -1; animation: lkpHalo 5.5s ease-in-out infinite alternate; }
@keyframes lkpHalo { from { opacity: .5; transform: scale(.96); } to { opacity: 1; transform: scale(1.05); } }
.lkp-pct { position: absolute; bottom: -6%; left: 50%; transform: translateX(-50%); background: var(--bg-2); border: 1px solid var(--lkp-c, var(--gold)); border-radius: 999px; padding: .35em 1.1em; font-size: .72rem; letter-spacing: .14em; color: var(--ivory); white-space: nowrap; }

.lkp-rank-name { font-family: "Cinzel", var(--display); font-weight: 600; letter-spacing: .12em; font-size: clamp(1.5rem, 4vw, 2.4rem); color: var(--lkp-c, var(--gold)); text-shadow: 0 0 24px var(--lkp-glow, transparent); }
.lkp-rank-lema { font-family: var(--display); font-style: italic; color: var(--ivory-dim); margin-top: .3rem; }
.lkp-user { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-mute); margin-bottom: 1rem; }
.lkp-points-label { font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--ivory-mute); margin-top: 1.8rem; }
.lkp-points-num { font-family: var(--display); font-size: clamp(3.4rem, 9vw, 6rem); line-height: 1;
  background: linear-gradient(100deg, #9a7a32, #e6cf94 45%, #f7ecc4 55%, #c8a24b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lkp-points-num small { font-size: .3em; -webkit-text-fill-color: var(--ivory-mute); letter-spacing: .2em; }

/* Próxima recompensa / siguiente nivel */
.lkp-next { display: grid; gap: .9rem; margin-top: 1.8rem; max-width: 560px; }
.lkp-next-card { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(22,22,26,.8), rgba(10,10,11,.6)); padding: 1rem 1.2rem; }
.lkp-next-card .ico { font-size: 1.5rem; }
.lkp-next-card h4 { font-family: var(--sans); font-weight: 400; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-mute); }
.lkp-next-card p { color: var(--ivory); font-size: .92rem; margin-top: .25rem; }
.lkp-next-card p b { color: var(--gold-soft); font-weight: 500; }
.lkp-next-card .bar { height: 3px; background: rgba(236,230,218,.1); margin-top: .6rem; overflow: hidden; border-radius: 2px; }
.lkp-next-card .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); border-radius: 2px; transition: width 1.2s var(--ease); }

/* Stats */
.lkp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: clamp(2rem, 5vw, 3rem); }
.lkp-stats > div { background: var(--bg); padding: 1.4rem 1rem; text-align: center; }
.lkp-stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ivory); }
.lkp-stats span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-mute); }

/* ---------- Línea de progresión de rangos ---------- */
.lkp-timeline { display: flex; align-items: flex-start; justify-content: space-between; position: relative; margin-top: 2.5rem; }
.lkp-timeline::before { content: ""; position: absolute; top: 26px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line) 70%); }
.lkp-tl-item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 12%; }
.lkp-tl-item .dot { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease); }
.lkp-tl-item span { font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-mute); text-align: center; }
.lkp-tl-item.done .dot { border-color: var(--gold); }
.lkp-tl-item.current .dot { transform: scale(1.25); border-color: var(--lkp-c, var(--gold)); box-shadow: 0 0 22px var(--lkp-glow, rgba(200,162,75,.4)); }
.lkp-tl-item.current span { color: var(--ivory); }
.lkp-tl-item.locked { opacity: .42; }

/* ---------- Galería de rangos ---------- */
.lkp-ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.5vw, 1.2rem); margin-top: 2.5rem; }
.lkp-rank-card { position: relative; border: 1px solid var(--line); background: linear-gradient(170deg, var(--bg-2), var(--bg)); padding: 1.6rem 1.2rem; text-align: center; overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.lkp-rank-card:hover { transform: translateY(-4px); }
.lkp-rank-card .glowbg { position: absolute; inset: -40% -40% auto; height: 130%; background: radial-gradient(circle, var(--rc-glow) 0%, transparent 65%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.lkp-rank-card:hover .glowbg, .lkp-rank-card.current .glowbg { opacity: .45; }
.lkp-rank-card.current { border-color: var(--rc-color); box-shadow: 0 0 28px var(--rc-glow); }
.lkp-rank-card.locked { opacity: .55; }
.lkp-rank-card .ins { position: relative; width: 84px; margin: 0 auto .9rem; }
.lkp-rank-card h3 { font-family: "Cinzel", var(--display); font-size: .82rem; font-weight: 600; letter-spacing: .12em; color: var(--rc-color); }
.lkp-rank-card .min { font-size: .62rem; letter-spacing: .16em; color: var(--ivory-mute); text-transform: uppercase; margin-top: .3rem; }
.lkp-rank-card ul { margin-top: .9rem; text-align: left; }
.lkp-rank-card li { position: relative; color: var(--ivory-dim); font-size: .78rem; padding: .25rem 0 .25rem 1.1rem; }
.lkp-rank-card li::before { content: "✦"; position: absolute; left: 0; color: var(--rc-color); font-size: .6rem; top: .45rem; }
.lkp-rank-card .estado { position: absolute; top: .7rem; right: .7rem; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; padding: .3em .7em; border-radius: 999px; border: 1px solid var(--line); color: var(--ivory-mute); }
.lkp-rank-card.current .estado { border-color: var(--rc-color); color: var(--rc-color); }

/* ---------- Recompensas ---------- */
.lkp-rewards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.5vw, 1.2rem); margin-top: 2.5rem; }
.lkp-rw { border: 1px solid var(--line); background: linear-gradient(165deg, var(--bg-2), var(--bg)); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; transition: border-color .4s, transform .5s var(--ease); }
.lkp-rw:hover { border-color: var(--gold); transform: translateY(-3px); }
.lkp-rw .ico { font-size: 1.7rem; }
.lkp-rw h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; color: var(--ivory); }
.lkp-rw .costo { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.lkp-rw .falta { font-size: .72rem; color: var(--ivory-mute); }
.lkp-rw button { margin-top: auto; padding: .8em; border: 1px solid var(--gold); background: none; color: var(--ivory); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.lkp-rw button:hover:not([disabled]) { background: var(--gold); color: #0a0a0b; }
.lkp-rw button[disabled] { opacity: .35; cursor: not-allowed; }

/* ---------- Canjear código ---------- */
.lkp-code { display: flex; gap: .7rem; max-width: 480px; margin: 2rem auto 0; }
.lkp-code input { flex: 1; background: #101013; border: 1px solid var(--line); color: var(--ivory); padding: .9em 1.1em; font-family: var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.lkp-code input:focus { outline: none; border-color: var(--gold); }
.lkp-code button { padding: .9em 1.6em; background: var(--gold); border: none; color: #0a0a0b; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.lkp-code button:hover { background: var(--gold-soft); }

/* ---------- Baúl ---------- */
.lkp-baul { position: relative; border: 1px solid var(--line); background:
  radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--lkp-c, #c8a24b) 9%, transparent), transparent 55%),
  linear-gradient(180deg, var(--bg-2), var(--bg)); padding: clamp(1.6rem, 4vw, 3rem); margin-top: 2.5rem; box-shadow: inset 0 0 60px rgba(0,0,0,.45); }
.lkp-baul-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem; }
.lkp-baul-item { text-align: center; }
.lkp-baul-item .ph-img { position: relative; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--lkp-c, #c8a24b) 14%, transparent), transparent 75%); border: 1px solid var(--line-soft); }
.lkp-baul-item img { max-height: 82%; max-width: 80%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.5)); }
.lkp-baul-item b { display: block; font-family: var(--display); font-weight: 400; color: var(--ivory); margin-top: .6rem; font-size: .95rem; }
.lkp-baul-item span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory-mute); }
.lkp-baul-empty { text-align: center; color: var(--ivory-mute); padding: 2.5rem 1rem; font-family: var(--display); font-style: italic; font-size: 1.15rem; }

/* ---------- Historial ---------- */
.lkp-hist { margin-top: 2rem; border-top: 1px solid var(--line); }
.lkp-hist-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: baseline; padding: .9rem .2rem; border-bottom: 1px solid var(--line-soft); }
.lkp-hist-row .delta { font-family: var(--display); font-size: 1.15rem; min-width: 4.5ch; }
.lkp-hist-row .delta.pos { color: var(--gold-soft); }
.lkp-hist-row .delta.neg { color: var(--ivory-mute); }
.lkp-hist-row .det { color: var(--ivory-dim); font-size: .9rem; }
.lkp-hist-row .fecha { color: var(--ivory-mute); font-size: .72rem; letter-spacing: .06em; white-space: nowrap; }

/* ---------- Motor de actividad (protección de puntos) ---------- */
.lka-card { position: relative; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(165deg, #131217, #0a0a0b); padding: clamp(1.5rem,3.5vw,2.4rem);
  --lka-c: #8fce9a; }
.lka-card::before { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 4px; background: var(--lka-c);
  box-shadow: 0 0 18px var(--lka-c); }
.lka-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.lka-eyebrow { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lka-c); }
.lka-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem,3vw,1.7rem); color: var(--ivory); margin-top: .35rem; line-height: 1.2; }
.lka-days { text-align: right; flex: none; }
.lka-days b { font-family: var(--display); font-size: clamp(2rem,5vw,2.8rem); color: var(--lka-c); line-height: 1; font-variant-numeric: lining-nums; }
.lka-days span { display: block; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-mute); }
.lka-bar { height: 8px; background: rgba(255,255,255,.07); border-radius: 5px; overflow: hidden; margin: 1.2rem 0 1rem; }
.lka-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, color-mix(in srgb, var(--lka-c) 55%, #000), var(--lka-c));
  box-shadow: 0 0 12px var(--lka-c); transition: width 1.2s var(--ease), background .5s; }
.lka-msg { color: var(--ivory-dim); font-size: .92rem; line-height: 1.6; }
.lka-msg b { color: var(--ivory); }
.lka-card.frozen { --lka-c: #9ce4ff; }
.lka-recompra { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.lka-recompra a { display: inline-flex; align-items: center; gap: .5em; border: 1px solid var(--line); padding: .6em 1.1em;
  font-size: .72rem; color: var(--ivory); transition: border-color .3s, color .3s; }
.lka-recompra a:hover { border-color: var(--gold); color: var(--gold-soft); }
@media (max-width: 480px){ .lka-top { flex-direction: column; } .lka-days { text-align: left; } }

/* ---------- Invita amigos (referidos) ---------- */
.lkr-card { position: relative; overflow: hidden; text-align: center; border: 1px solid rgba(200,162,75,.4);
  background: linear-gradient(165deg, #141318, #0a0a0b); padding: clamp(2rem,5vw,3.5rem); }
.lkr-card::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); }
.lkr-glow { position: absolute; inset: -40% -20% auto; height: 120%; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(200,162,75,.16), transparent 70%); }
.lkr-code { position: relative; font-family: var(--display); font-size: clamp(1.8rem, 6vw, 3rem); letter-spacing: .15em;
  color: var(--gold-soft); border: 1px dashed rgba(200,162,75,.55); padding: .6em 1em; display: inline-block;
  margin-bottom: 1.6rem; cursor: pointer; transition: box-shadow .3s, border-color .3s; }
.lkr-code:hover { border-color: var(--gold-soft); box-shadow: 0 0 24px rgba(200,162,75,.25); }
.lkr-btns { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; position: relative; }
.lkr-btns button, .lkr-btns a { padding: .8em 1.4em; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  color: var(--ivory); font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; transition: border-color .3s, color .3s, background .3s; }
.lkr-btns button:hover, .lkr-btns a:hover { border-color: var(--gold); color: var(--gold-soft); background: rgba(200,162,75,.06); }
.lkr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); margin-top: 2.2rem; position: relative; }
.lkr-stats > div { background: #0e0d11; padding: 1.2rem .8rem; }
.lkr-stats b { display: block; font-family: var(--display); font-size: clamp(1.5rem,3.5vw,2.1rem); color: var(--gold-soft); font-variant-numeric: lining-nums; }
.lkr-stats span { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-mute); }
@media (max-width: 560px){ .lkr-stats { grid-template-columns: 1fr 1fr 1fr; } .lkr-btns button, .lkr-btns a { flex: 1 1 40%; } }

/* ---------- CTA crear cuenta ---------- */
.lkp-join { text-align: center; border: 1px solid rgba(200,162,75,.35); background: linear-gradient(160deg, rgba(200,162,75,.08), transparent); padding: clamp(2rem, 5vw, 3.4rem); margin-top: 3rem; }
.lkp-join h3 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.lkp-join p { color: var(--ivory-dim); max-width: 46ch; margin: 1rem auto 1.8rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .lkp-hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lkp-next { margin-inline: auto; }
  .lkp-ranks { grid-template-columns: repeat(2, 1fr); }
  .lkp-rewards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lkp-timeline { flex-wrap: wrap; gap: 1.2rem 0; justify-content: center; }
  .lkp-timeline::before { display: none; }
  .lkp-tl-item { width: 25%; }
  .lkp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .lkp-ranks { grid-template-columns: 1fr; }
  .lkp-rewards { grid-template-columns: 1fr; }
  .lkp-code { flex-direction: column; }
}

/* ----- Mis reseñas (perfil) ----- */
.lkp-resenas { display: grid; gap: 0.8rem; margin-top: 1.2rem; }
.lkp-rs-row { display: block; text-decoration: none; color: inherit; border: 1px solid rgba(236,230,218,0.10); border-radius: 6px; padding: 1rem 1.1rem; background: rgba(236,230,218,0.015); transition: border-color 0.3s, background 0.3s; }
.lkp-rs-row:hover { border-color: rgba(200,162,75,0.4); background: rgba(200,162,75,0.04); }
.lkp-rs-top { display: flex; align-items: center; gap: 0.7rem; }
.lkp-rs-stars { display: inline-flex; gap: 1px; }
.lkp-rs-badge { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2em 0.7em; border-radius: 999px; margin-left: auto; }
.lkp-rs-badge.pend { color: #d9b25c; background: rgba(217,178,92,0.12); }
.lkp-rs-badge.ok { color: #6fbf83; background: rgba(111,191,131,0.12); }
.lkp-rs-badge.no { color: #d08a7a; background: rgba(208,138,122,0.12); }
.lkp-rs-name { display: block; color: var(--ivory); font-weight: 500; margin-top: 0.6rem; }
.lkp-rs-t { display: block; color: var(--ivory); margin-top: 0.3rem; }
.lkp-rs-x { display: block; color: var(--ivory-dim); font-size: 0.9rem; line-height: 1.5; margin-top: 0.3rem; white-space: pre-line; }
