/* =====================================================================
   LuciClass · Tema área estudiante v2 ("nuevo diseño estudiantes")
   Sistema de diseño portado de los mockups, scopeado bajo .lcx para no
   colisionar con Tailwind/global del resto de la app (docente/UTP).
   Híbrido: estética nueva (Plus Jakarta + Space Mono, paleta morado/lima)
   manteniendo a Lucero como mascota (no pingüino).
   ===================================================================== */

/* Fuentes del área estudiante (runtime, scope .lcx — no usa next/font para no
   bloquear el build global del resto de la app). */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

.lcx {
  --bg: #f4f4f2;
  --card: #ffffff;
  --ink: #1c1c1e;
  --ink-soft: #6b6b72;
  --ink-dim: #a3a3ab;
  --line: #ececea;
  --line-2: #e3e3e0;

  --black: #15151a;
  --lime: #d6f24a;
  --lime-d: #bfe21f;
  --amber: #ffc94d;

  --mat: #7c5cff;  --mat-s: #efeaff;
  --lec: #ff6f61;  --lec-s: #ffeae7;
  --cien: #2bb6a8; --cien-s: #e2f6f3;
  --hist: #ff9f43; --hist-s: #fff0df;

  --r: 22px; --r-s: 14px;
  --mono: 'Space Mono', ui-monospace, monospace;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --sh: 0 8px 24px -14px rgba(20, 20, 30, .35);

  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
}
.lcx *, .lcx *::before, .lcx *::after { box-sizing: border-box; }
.lcx ::selection { background: var(--lime); }
.lcx a { text-decoration: none; color: inherit; }
.lcx .micro {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-dim);
}

/* ===== APP GRID ===== */
.lcx .app { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }

/* ===== SIDEBAR ===== */
.lcx .side {
  background: var(--card); border-right: 1px solid var(--line); padding: 22px 16px;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.lcx .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
.lcx .brand .mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--black);
  display: grid; place-items: center; overflow: hidden;
}
.lcx .brand .mark img { width: 100%; height: 100%; object-fit: cover; }
.lcx .brand b { font-weight: 800; font-size: 18px; }
.lcx .nav { display: flex; flex-direction: column; gap: 4px; }
.lcx .nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px;
  color: var(--ink-soft); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: .18s;
}
.lcx .nav a svg { width: 19px; height: 19px; stroke-width: 2; }
.lcx .nav a:hover { background: var(--bg); }
.lcx .nav a.on { background: var(--black); color: #fff; }
.lcx .nav a .pill {
  margin-left: auto; background: var(--lec); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center;
}
.lcx .side .foot {
  margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px;
  border-top: 1px solid var(--line);
}
.lcx .ava {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mat), var(--lec));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.lcx .foot .nm { font-weight: 700; font-size: 13px; line-height: 1.2; }
.lcx .foot .sb { font-size: 11px; color: var(--ink-dim); }
.lcx .side form { margin-top: 6px; }
.lcx .side-logout {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 11px 14px; border: none; background: transparent; cursor: pointer;
  color: var(--ink-dim); font-weight: 600; font-size: 14px; font-family: inherit;
  border-radius: 13px; transition: .18s;
}
.lcx .side-logout svg { width: 18px; height: 18px; stroke-width: 2; }
.lcx .side-logout:hover { background: var(--bg); color: var(--ink); }

/* ===== TOPBAR ===== */
.lcx .main { padding: 22px 30px 60px; }
.lcx .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.lcx .top .hi { font-size: 15px; color: var(--ink-soft); }
.lcx .top .hi b { color: var(--ink); font-weight: 800; }
.lcx .chips { display: flex; gap: 10px; align-items: center; }
.lcx .chip {
  display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 99px; font-weight: 700; font-size: 13px; box-shadow: var(--sh);
}
.lcx .chip.lv { color: var(--mat); } .lcx .chip.xp { color: var(--hist); } .lcx .chip.fire { color: var(--lec); }
.lcx .bell {
  width: 38px; height: 38px; border-radius: 50%; background: var(--card); border: 1px solid var(--line);
  display: grid; place-items: center; box-shadow: var(--sh); cursor: pointer; position: relative;
}
.lcx .bell .ndot {
  position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--lec); border: 2px solid var(--card);
}

/* ===== HERO ===== */
.lcx .hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.lcx .hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.lcx .hero h1 span { background: var(--lime); padding: 0 8px; border-radius: 8px; }
.lcx .hero p { color: var(--ink-soft); margin-top: 4px; font-size: 14px; }

/* ===== CARDS / BTN ===== */
.lcx .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
.lcx .ch { font-weight: 800; font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.lcx .btn {
  border: 0; cursor: pointer; padding: 13px 18px; border-radius: 14px; font-family: var(--sans);
  font-weight: 800; font-size: 14px; background: var(--lime); color: var(--black); transition: .18s;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.lcx .btn:hover { background: var(--lime-d); transform: translateY(-2px); }
.lcx .btn.dark { background: var(--black); color: #fff; }
.lcx .btn.dark:hover { background: #000; }
.lcx .btn.soft { background: var(--bg); color: var(--ink); }
.lcx .btn.soft:hover { background: var(--line); }

/* ===== animaciones ===== */
@keyframes lcx-pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes lcx-spin { to { transform: rotate(360deg); } }
@keyframes lcx-pulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.lcx .rise { animation: lcx-pop .5s both; }
@media (prefers-reduced-motion: reduce) { .lcx .rise { animation: none; } }

@media (max-width: 760px) {
  .lcx .app { grid-template-columns: 1fr; }
  .lcx .side { display: none; }
}

/* =====================================================================
   INICIO
   ===================================================================== */
.lcx .grid-home { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }

.lcx .mission { position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.lcx .mission::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: var(--lec-s); right: -90px; top: -90px;
}
.lcx .mission .micro b { color: var(--lec); }
.lcx .mission h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 4px; position: relative; }
.lcx .mission .sub { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); position: relative; }
.lcx .badges { display: flex; gap: 7px; flex-wrap: wrap; margin: 16px 0; position: relative; }
.lcx .bdg { font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px; }
.lcx .bdg.mat { background: var(--mat-s); color: var(--mat); }
.lcx .bdg.lec { background: var(--lec-s); color: var(--lec); }
.lcx .bdg.cien { background: var(--cien-s); color: var(--cien); }
.lcx .bdg.hist { background: var(--hist-s); color: var(--hist); }
.lcx .bdg.oa { background: var(--bg); color: var(--ink-soft); font-family: var(--mono); }
.lcx .bdg.dif { background: var(--hist-s); color: var(--hist); }
.lcx .rewards { display: flex; gap: 14px; margin-bottom: auto; position: relative; flex-wrap: wrap; }
.lcx .rw { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 5px; }
.lcx .rw.xp { color: var(--mat); } .lcx .rw.st { color: var(--hist); } .lcx .rw.fr { color: var(--lec); }
.lcx .mission .actions { display: flex; gap: 10px; margin-top: 22px; position: relative; flex-wrap: wrap; }

.lcx .streak { background: linear-gradient(135deg, var(--lec), var(--hist)); color: #fff; position: relative; overflow: hidden; }
.lcx .streak .fire { font-size: 30px; }
.lcx .streak .big { font-size: 38px; font-weight: 800; line-height: 1; margin: 6px 0 4px; }
.lcx .streak .txt { font-size: 13px; opacity: .95; margin-bottom: 16px; }
.lcx .days { display: flex; gap: 6px; }
.lcx .day {
  flex: 1; aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, .25);
  display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff;
}
.lcx .day.on { background: #fff; color: var(--lec); }
.lcx .day.today { background: var(--black); color: #fff; }

.lcx .next-list { margin-top: 18px; }
.lcx .nx { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.lcx .nx:last-child { border: 0; }
.lcx .nx .tg { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0; }
.lcx .nx .nt { font-weight: 700; font-size: 14px; }
.lcx .nx .ns { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); }
.lcx .nx .ar { margin-left: auto; color: var(--ink-dim); }
.lcx .empty-soft { color: var(--ink-dim); font-size: 13px; padding: 10px 0; }

.lcx .goal-band {
  background: var(--black); color: #fff; border-radius: var(--r); padding: 24px 26px; margin-top: 22px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; position: relative; overflow: hidden;
}
.lcx .goal-band::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: #22221f; right: 120px; bottom: -90px; }
.lcx .gp { width: 74px; height: 74px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; font-size: 38px; border: 3px solid var(--lime); overflow: hidden; }
.lcx .goal-mid { position: relative; }
.lcx .goal-mid .micro { color: #8a8a92; }
.lcx .goal-mid .gt { font-weight: 800; font-size: 22px; margin: 4px 0 12px; }
.lcx .goal-mid .gt b { color: var(--lime); }
.lcx .gbar { height: 10px; border-radius: 99px; background: #2c2c33; overflow: hidden; max-width: 480px; }
.lcx .gbar i { display: block; height: 100%; background: var(--lime); }
.lcx .gpills { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.lcx .gpill { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: #26262d; }
.lcx .gpill.a { color: var(--lime); } .lcx .gpill.b { color: var(--amber); } .lcx .gpill.c { color: var(--lec); }
.lcx .goal-rw { position: relative; text-align: right; border-left: 1px solid #2c2c33; padding-left: 26px; }
.lcx .goal-rw .micro { color: var(--lime); }
.lcx .goal-rw .rn { font-weight: 800; font-size: 15px; margin: 6px 0; }
.lcx .goal-rw .cls { font-family: var(--mono); font-size: 11px; color: #8a8a92; }

.lcx .simce-h { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em; margin: 30px 0 14px; }
.lcx .simce { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcx .sc { border-top: 4px solid; padding-top: 18px; }
.lcx .sc.mat { border-color: var(--mat); } .lcx .sc.lec { border-color: var(--lec); } .lcx .sc.cien { border-color: var(--cien); } .lcx .sc.hist { border-color: var(--hist); }
.lcx .sc .nm { font-weight: 800; font-size: 16px; display: flex; align-items: center; gap: 7px; }
.lcx .sc .dot { width: 11px; height: 11px; border-radius: 50%; }
.lcx .sc.mat .dot { background: var(--mat); } .lcx .sc.lec .dot { background: var(--lec); } .lcx .sc.cien .dot { background: var(--cien); } .lcx .sc.hist .dot { background: var(--hist); }
.lcx .sc .score { font-size: 40px; font-weight: 800; margin: 10px 0 2px; }
.lcx .sc.mat .score { color: var(--mat); } .lcx .sc.lec .score { color: var(--lec); } .lcx .sc.cien .score { color: var(--cien); } .lcx .sc.hist .score { color: var(--hist); }
.lcx .sc .score small { font-size: 15px; color: var(--ink-dim); font-weight: 700; }
.lcx .sc .band { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); display: flex; justify-content: space-between; align-items: center; }
.lcx .sc .trend.up { color: var(--cien); } .lcx .sc .trend.down { color: var(--lec); }
.lcx .sc .track { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-top: 12px; }
.lcx .sc .track i { display: block; height: 100%; border-radius: 99px; }
.lcx .sc.mat .track i { background: var(--mat); } .lcx .sc.lec .track i { background: var(--lec); } .lcx .sc.cien .track i { background: var(--cien); } .lcx .sc.hist .track i { background: var(--hist); }

@media (max-width: 1080px) {
  .lcx .grid-home { grid-template-columns: 1fr; }
  .lcx .goal-band { grid-template-columns: 1fr; }
  .lcx .simce { grid-template-columns: 1fr; }
  .lcx .goal-rw { border: 0; padding: 0; text-align: left; }
}

/* =====================================================================
   RUTAS (camino de estaciones por asignatura). Color por materia vía --accent.
   ===================================================================== */
.lcx .goal {
  background: var(--black); color: #fff; border-radius: var(--r); padding: 16px 20px;
  min-width: 300px; box-shadow: var(--sh);
}
.lcx .goal .micro { color: #8a8a92; }
.lcx .goal .gt { font-weight: 700; font-size: 15px; margin: 6px 0 10px; }
.lcx .goal .gt b { color: var(--lime); }
.lcx .goal .gbar { height: 9px; }
.lcx .goal .gn { font-family: var(--mono); font-size: 12px; color: #8a8a92; margin-top: 7px; text-align: right; }

.lcx .tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.lcx .tab {
  display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 13px; cursor: pointer;
  font-weight: 700; font-size: 14px; border: 1px solid var(--line); background: var(--card); transition: .18s;
}
.lcx .tab .ic { width: 18px; height: 18px; border-radius: 6px; background: var(--accent, var(--mat)); }
.lcx .tab:hover { transform: translateY(-2px); }
.lcx .tab.on { color: #fff; background: var(--accent, var(--mat)); border-color: var(--accent, var(--mat)); }
.lcx .tab.on .ic { background: rgba(255, 255, 255, .85); }

.lcx .ruta-grid { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.lcx .route { position: relative; overflow: hidden; padding: 26px 20px 34px; }
.lcx .route::after {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: var(--accent-s, var(--mat-s)); right: -90px; top: -90px; z-index: 0;
}
.lcx .rhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; position: relative; z-index: 1; }
.lcx .rhead .rt { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.lcx .rhead .rt .b { width: 20px; height: 20px; border-radius: 6px; background: var(--accent, var(--mat)); }
.lcx .rhead .pc {
  font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--accent, var(--mat));
  background: var(--accent-s, var(--mat-s)); padding: 4px 10px; border-radius: 99px;
}

.lcx .path { position: relative; margin-top: 26px; padding-bottom: 6px; z-index: 1; }
.lcx .path::before {
  content: ""; position: absolute; left: 50%; top: 46px; bottom: 60px; width: 4px; transform: translateX(-50%);
  border-radius: 99px; background: repeating-linear-gradient(180deg, var(--line-2) 0 9px, transparent 9px 20px);
}
.lcx .node { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; margin: 14px 0; animation: lcx-pop .5s both; }
.lcx .node .stop { grid-column: 2; justify-self: center; }
.lcx .node:nth-child(odd) .lbl { grid-column: 1; justify-self: end; text-align: right; }
.lcx .node:nth-child(even) .lbl { grid-column: 3; justify-self: start; text-align: left; }
.lcx .stop {
  width: 80px; height: 80px; border-radius: 24px; display: grid; place-items: center; cursor: pointer; position: relative;
  transition: transform .2s; background: var(--bg); border: 2px solid var(--line-2); font-size: 30px; z-index: 2;
  appearance: none; -webkit-appearance: none; font-family: inherit; color: inherit; padding: 0; text-decoration: none;
}
.lcx .stop:hover { transform: translateY(-3px) scale(1.04); }
.lcx div.stop { cursor: default; }
.lcx div.stop:hover { transform: none; }
.lcx .stop.done { background: var(--accent, var(--mat)); border-color: var(--accent, var(--mat)); box-shadow: 0 10px 20px -8px var(--accent, var(--mat)); }
.lcx .stop.done::after {
  content: "✓"; position: absolute; right: -7px; bottom: -7px; width: 26px; height: 26px; background: var(--lime);
  color: var(--black); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; border: 3px solid #fff;
}
.lcx .stop.now { background: var(--black); border-color: var(--black); box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .5); }
.lcx .stop.now::before { content: ""; position: absolute; inset: -9px; border-radius: 30px; border: 2px dashed var(--accent, var(--mat)); animation: lcx-spin 10s linear infinite; }
.lcx .pulse { position: absolute; inset: -14px; border-radius: 30px; border: 2px solid var(--accent, var(--mat)); animation: lcx-pulse 2s ease-out infinite; pointer-events: none; }
.lcx .stop.lock { opacity: .5; filter: grayscale(.5); }
.lcx .stop.lock::after { content: "🔒"; position: absolute; right: -6px; bottom: -6px; font-size: 15px; }
.lcx .stop.boss { width: 96px; height: 96px; border-radius: 28px; background: var(--black); border: 2px solid var(--lime); font-size: 40px; box-shadow: 0 0 0 5px rgba(214, 242, 74, .18); }
.lcx .lbl { white-space: nowrap; padding: 0 18px; }
.lcx .lbl .lt { font-weight: 700; font-size: 15px; }
.lcx .lbl .ls { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-top: 1px; }
.lcx .lbl .stars { font-size: 13px; letter-spacing: 1px; margin-top: 3px; }
.lcx .so { color: var(--amber); } .lcx .sf { color: var(--line-2); }

.lcx .col { display: flex; flex-direction: column; gap: 18px; }
.lcx .next { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.lcx .next::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: #26262d; right: -60px; bottom: -70px; }
.lcx .next .micro { color: var(--lime); }
.lcx .next .nn { font-weight: 800; font-size: 22px; margin: 8px 0 4px; position: relative; }
.lcx .next .nm2 { font-family: var(--mono); font-size: 12px; color: #9a9aa2; display: flex; gap: 14px; margin-bottom: 16px; position: relative; }
.lcx .next .go { position: relative; width: 100%; }
.lcx .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lcx .st-b { background: var(--bg); border-radius: var(--r-s); padding: 13px 14px; }
.lcx .st-b .v { font-weight: 800; font-size: 22px; }
.lcx .st-b.a .v { color: var(--mat); } .lcx .st-b.b .v { color: var(--hist); } .lcx .st-b.c .v { color: var(--cien); } .lcx .st-b.d .v { color: var(--lec); }
.lcx .st-b .k { font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); text-transform: uppercase; margin-top: 2px; }
.lcx .lb { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.lcx .lb:last-child { border: 0; padding-bottom: 0; }
.lcx .lb .p { font-family: var(--mono); font-weight: 700; width: 18px; color: var(--ink-dim); font-size: 13px; }
.lcx .lb.me .p { color: var(--accent, var(--mat)); }
.lcx .lb .a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0; }
.lcx .lb .n { flex: 1; font-weight: 600; font-size: 13.5px; } .lcx .lb.me .n { color: var(--accent, var(--mat)); font-weight: 800; }
.lcx .lb .pt { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .lcx .ruta-grid { grid-template-columns: 1fr; }
  .lcx .col { flex-direction: row; flex-wrap: wrap; }
  .lcx .col > * { flex: 1; min-width: 240px; }
}

/* =====================================================================
   ENSAYOS SIMCE
   ===================================================================== */
.lcx .feature {
  background: var(--black); color: #fff; border-radius: var(--r); padding: 28px 30px; display: grid;
  grid-template-columns: 1fr auto; gap: 30px; align-items: center; box-shadow: var(--sh); margin-bottom: 24px;
  position: relative; overflow: hidden;
}
.lcx .feature::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: #22221f; right: 200px; bottom: -130px; z-index: 0; }
.lcx .feature > * { position: relative; z-index: 1; }
.lcx .feature .micro { color: var(--lime); }
.lcx .feature h2 { font-size: 28px; font-weight: 800; margin: 8px 0 6px; letter-spacing: -.01em; }
.lcx .feature .ftags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; }
.lcx .feature .ft { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: #26262d; color: #cfcfd6; }
.lcx .feature .ft.lime { background: var(--lime); color: var(--black); }
.lcx .feature .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.lcx .feature .ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.lcx .feature .ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.lcx .feature .ring .rv { font-size: 28px; font-weight: 800; line-height: 1; }
.lcx .feature .ring .rk { font-family: var(--mono); font-size: 10px; color: #8a8a92; text-transform: uppercase; }

.lcx .sech { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em; margin: 28px 0 14px; display: flex; align-items: center; gap: 10px; }
.lcx .sech .count { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; color: var(--ink-soft); }

.lcx .essays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lcx .essay { position: relative; overflow: hidden; display: flex; flex-direction: column; border-top: 4px solid; transition: .2s; }
.lcx .essay:hover { transform: translateY(-4px); }
.lcx .essay.mat { border-color: var(--mat); } .lcx .essay.lec { border-color: var(--lec); } .lcx .essay.cien { border-color: var(--cien); } .lcx .essay.hist { border-color: var(--hist); }
.lcx .essay .etop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lcx .essay .subj { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.lcx .essay .dot { width: 11px; height: 11px; border-radius: 50%; }
.lcx .essay.mat .dot { background: var(--mat); } .lcx .essay.lec .dot { background: var(--lec); } .lcx .essay.cien .dot { background: var(--cien); } .lcx .essay.hist .dot { background: var(--hist); }
.lcx .essay .state { font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; }
.lcx .state.ok { background: var(--cien-s); color: var(--cien); }
.lcx .state.go { background: var(--lime); color: var(--black); }
.lcx .state.prog { background: var(--hist-s); color: var(--hist); }
.lcx .state.lock { background: var(--bg); color: var(--ink-dim); }
.lcx .essay .nm { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.lcx .essay .meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); display: flex; gap: 12px; margin-bottom: 16px; }
.lcx .essay .scoreline { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; }
.lcx .essay .scoreline .sc { font-size: 34px; font-weight: 800; line-height: 1; }
.lcx .essay.mat .sc { color: var(--mat); } .lcx .essay.lec .sc { color: var(--lec); } .lcx .essay.cien .sc { color: var(--cien); } .lcx .essay.hist .sc { color: var(--hist); }
.lcx .essay .scoreline .max { font-family: var(--mono); font-size: 13px; color: var(--ink-dim); margin-bottom: 3px; }
.lcx .essay .scoreline .band { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.lcx .essay .track { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-bottom: 16px; }
.lcx .essay .track i { display: block; height: 100%; border-radius: 99px; }
.lcx .essay.mat .track i { background: var(--mat); } .lcx .essay.lec .track i { background: var(--lec); } .lcx .essay.cien .track i { background: var(--cien); } .lcx .essay.hist .track i { background: var(--hist); }
.lcx .essay .efoot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lcx .essay .progtxt { font-family: var(--mono); font-size: 11.5px; color: var(--ink-dim); }
.lcx .ebtn { border: 0; cursor: pointer; padding: 9px 16px; border-radius: 11px; font-family: var(--sans); font-weight: 800; font-size: 13px; background: var(--lime); color: var(--black); transition: .18s; }
.lcx .ebtn:hover { background: var(--lime-d); }
.lcx .ebtn.ghost { background: var(--bg); color: var(--ink); }
.lcx .ebtn.lock { background: var(--bg); color: var(--ink-dim); cursor: default; }

.lcx .grid-h { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; margin-top: 6px; }
.lcx .hrow { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lcx .hrow:last-child { border: 0; padding-bottom: 0; }
.lcx .hrow .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.lcx .hrow.mat .ic { background: var(--mat-s); } .lcx .hrow.lec .ic { background: var(--lec-s); } .lcx .hrow.cien .ic { background: var(--cien-s); } .lcx .hrow.hist .ic { background: var(--hist-s); }
.lcx .hrow .hn { font-weight: 700; font-size: 14px; }
.lcx .hrow .hd { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); }
.lcx .hrow .hsc { margin-left: auto; text-align: right; }
.lcx .hrow .hsc .v { font-weight: 800; font-size: 18px; }
.lcx .hrow.mat .v { color: var(--mat); } .lcx .hrow.lec .v { color: var(--lec); } .lcx .hrow.cien .v { color: var(--cien); } .lcx .hrow.hist .v { color: var(--hist); }
.lcx .hrow .hsc .d { font-family: var(--mono); font-size: 11px; font-weight: 700; }
.lcx .hrow .d.up { color: var(--cien); } .lcx .hrow .d.down { color: var(--lec); }

.lcx .bands { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.lcx .band-row { display: flex; align-items: center; gap: 12px; }
.lcx .band-row .bl { width: 90px; font-weight: 700; font-size: 12.5px; }
.lcx .band-row .bbar { flex: 1; height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.lcx .band-row .bbar i { display: block; height: 100%; border-radius: 99px; }
.lcx .band-row .bv { font-family: var(--mono); font-size: 12px; font-weight: 700; width: 46px; text-align: right; }
.lcx .tip { background: var(--mat-s); border-radius: var(--r-s); padding: 14px 16px; margin-top: 16px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.lcx .tip b { color: var(--mat); }

@media (max-width: 1080px) {
  .lcx .essays { grid-template-columns: 1fr; }
  .lcx .feature { grid-template-columns: 1fr; }
  .lcx .grid-h { grid-template-columns: 1fr; }
}

/* =====================================================================
   TIENDA
   ===================================================================== */
.lcx .wallet {
  background: var(--black); color: #fff; border-radius: var(--r); padding: 20px 24px; display: flex;
  align-items: center; gap: 24px; box-shadow: var(--sh); margin-bottom: 24px; position: relative; overflow: hidden;
}
.lcx .wallet::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #22221f; right: 30px; bottom: -90px; }
.lcx .wallet .w { display: flex; align-items: center; gap: 10px; position: relative; }
.lcx .wallet .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--amber); }
.lcx .wallet .v { font-size: 26px; font-weight: 800; line-height: 1; }
.lcx .wallet .k { font-family: var(--mono); font-size: 11px; color: #8a8a92; text-transform: uppercase; }
.lcx .wallet .sep { width: 1px; height: 40px; background: #2c2c33; position: relative; }
.lcx .wallet .wcol { flex: 1; min-width: 200px; position: relative; }
.lcx .wallet .wcol-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lcx .wallet .wcol-v { font-family: var(--mono); font-weight: 700; font-size: 18px; color: #fff; }
.lcx .wallet .wcol-of { color: #8a8a92; font-size: 14px; }
.lcx .wallet .wcol-k { font-family: var(--mono); font-size: 11px; color: #8a8a92; text-transform: uppercase; letter-spacing: .08em; }
.lcx .wallet .wbar { height: 8px; border-radius: 99px; background: #2c2c33; overflow: hidden; }
.lcx .wallet .wbar i { display: block; height: 100%; background: var(--lime); border-radius: 99px; }
.lcx .wallet .wcol-sub { font-family: var(--mono); font-size: 11px; color: #8a8a92; margin-top: 7px; }
.lcx .wallet .wcol-sub b { color: var(--lime); }

.lcx .filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.lcx .flt {
  padding: 8px 15px; border-radius: 12px; font-weight: 700; font-size: 13.5px; border: 1px solid var(--line);
  background: var(--card); cursor: pointer; transition: .18s; display: inline-flex; align-items: center; gap: 7px;
}
.lcx .flt:hover { transform: translateY(-2px); }
.lcx .flt.on { background: var(--black); color: #fff; border-color: var(--black); }
.lcx .flt .ct { font-family: var(--mono); font-size: 11px; background: var(--bg); color: var(--ink-dim); padding: 1px 7px; border-radius: 99px; }
.lcx .flt.on .ct { background: rgba(255, 255, 255, .2); color: #fff; }

.lcx .shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lcx .item { position: relative; overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.lcx .item:hover { transform: translateY(-4px); }
.lcx .item .thumb {
  height: 120px; border-radius: var(--r-s); display: grid; place-items: center; font-size: 52px;
  margin-bottom: 14px; position: relative; background: var(--bg);
}
.lcx .item .tag {
  position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .05em;
}
.lcx .tag.new { background: var(--lime); color: var(--black); }
.lcx .tag.hot { background: var(--lec); color: #fff; }
.lcx .tag.epic { background: var(--mat); color: #fff; }
.lcx .tag.legend { background: var(--hist); color: #fff; }
.lcx .tag.rare { background: var(--cien); color: #fff; }
.lcx .item .nm { font-weight: 800; font-size: 15px; }
.lcx .item .ds { font-size: 12px; color: var(--ink-soft); margin: 3px 0 14px; min-height: 32px; }
.lcx .item .buy { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.lcx .item .price { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 5px; color: var(--hist); white-space: nowrap; }
.lcx .pbtn {
  border: 0; cursor: pointer; padding: 9px 16px; border-radius: 11px; font-family: var(--sans); font-weight: 800;
  font-size: 13px; background: var(--lime); color: var(--black); transition: .18s;
}
.lcx .pbtn:hover { background: var(--lime-d); }
.lcx .pbtn:disabled { background: var(--bg); color: var(--ink-dim); cursor: not-allowed; }
.lcx .pbtn.owned { background: var(--bg); color: var(--ink-dim); cursor: default; }
.lcx form.buyf { margin: 0; }

.lcx .t-mat { background: var(--mat-s); } .lcx .t-lec { background: var(--lec-s); }
.lcx .t-cien { background: var(--cien-s); } .lcx .t-hist { background: var(--hist-s); }
.lcx .t-dark { background: var(--black); }

@media (max-width: 1080px) { .lcx .shop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .lcx .shop { grid-template-columns: 1fr; } }

/* =====================================================================
   LOGROS
   ===================================================================== */
.lcx .banner {
  background: linear-gradient(135deg, var(--mat), var(--lec)); color: #fff; border-radius: var(--r);
  padding: 26px 28px; display: flex; align-items: center; gap: 24px; box-shadow: var(--sh);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.lcx .banner::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); right: -60px; top: -80px; }
.lcx .banner > * { position: relative; }
.lcx .banner .trophy { width: 74px; height: 74px; border-radius: 20px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 40px; }
.lcx .banner .big { font-size: 30px; font-weight: 800; line-height: 1; }
.lcx .banner .bsub { font-size: 14px; opacity: .95; margin-top: 4px; }
.lcx .banner .bright { margin-left: auto; text-align: right; }
.lcx .banner .pct { font-size: 34px; font-weight: 800; }
.lcx .banner .pl { font-family: var(--mono); font-size: 11px; opacity: .9; text-transform: uppercase; }

.lcx .grid-a { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lcx .ach { text-align: center; position: relative; transition: .2s; }
.lcx .ach:hover { transform: translateY(-4px); }
.lcx .ach .medal { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; font-size: 42px; margin: 0 auto 14px; position: relative; }
.lcx .ach.got .medal { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .4); }
.lcx .ach.got .medal::after { content: "✓"; position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; background: var(--lime); color: var(--black); border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; border: 3px solid #fff; }
.lcx .ach.locked { opacity: .55; }
.lcx .ach.locked .medal { background: var(--bg) !important; filter: grayscale(1); }
.lcx .m-oro { background: var(--hist-s); } .lcx .m-plata { background: var(--cien-s); } .lcx .m-bronce { background: var(--lec-s); }
.lcx .ach .nm { font-weight: 800; font-size: 14px; }
.lcx .ach .ds { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; min-height: 30px; }
.lcx .ach .prog { height: 6px; border-radius: 99px; background: var(--bg); overflow: hidden; margin-top: 10px; }
.lcx .ach .prog i { display: block; height: 100%; border-radius: 99px; background: var(--mat); }
.lcx .ach .pt { font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); margin-top: 5px; }

@media (max-width: 1080px) { .lcx .grid-a { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .lcx .grid-a { grid-template-columns: 1fr; } }

/* =====================================================================
   MI PROGRESO
   ===================================================================== */
.lcx .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.lcx .kpi { position: relative; overflow: hidden; }
.lcx .kpi .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.lcx .kpi.a .ic { background: var(--mat-s); } .lcx .kpi.b .ic { background: var(--hist-s); } .lcx .kpi.c .ic { background: var(--lec-s); } .lcx .kpi.d .ic { background: var(--cien-s); }
.lcx .kpi .v { font-size: 30px; font-weight: 800; line-height: 1; }
.lcx .kpi .k { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); text-transform: uppercase; margin-top: 5px; }
.lcx .kpi .tr { font-size: 12px; font-weight: 700; margin-top: 6px; }
.lcx .tr.up { color: var(--cien); } .lcx .tr.down { color: var(--lec); } .lcx .tr.flat { color: var(--ink-dim); }

.lcx .grid-p { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.lcx .chart svg .grid-line { stroke: var(--line); stroke-width: 1; }
.lcx .chart svg text { font-family: var(--mono); font-size: 11px; fill: var(--ink-dim); }
.lcx .legend { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.lcx .lg { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.lcx .lg .dot { width: 12px; height: 4px; border-radius: 99px; }

.lcx .bars { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.lcx .bar-row .bl { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.lcx .bar-row .bl .sc { font-family: var(--mono); }
.lcx .bar2 { height: 12px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.lcx .bar2 i { display: block; height: 100%; border-radius: 99px; }

.lcx .heat { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; margin-top: 8px; }
.lcx .hc { aspect-ratio: 1; border-radius: 5px; background: var(--bg); }
.lcx .hc.l1 { background: var(--mat-s); } .lcx .hc.l2 { background: #cdbcff; } .lcx .hc.l3 { background: #a98cff; } .lcx .hc.l4 { background: var(--mat); }
.lcx .heat-foot { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-dim); }
.lcx .heat-foot .hc { width: 13px; height: 13px; border-radius: 4px; aspect-ratio: auto; }

@media (max-width: 1080px) {
  .lcx .kpis { grid-template-columns: repeat(2, 1fr); }
  .lcx .grid-p { grid-template-columns: 1fr; }
}

/* =====================================================================
   MI CURSO
   ===================================================================== */
.lcx .course-band {
  background: var(--black); color: #fff; border-radius: var(--r); padding: 24px 28px; display: flex;
  align-items: center; gap: 22px; box-shadow: var(--sh); margin-bottom: 24px; position: relative; overflow: hidden;
}
.lcx .course-band::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: #22221f; left: 42%; bottom: -120px; z-index: 0; }
.lcx .course-band > * { position: relative; z-index: 1; }
.lcx .course-band .cic { width: 64px; height: 64px; border-radius: 18px; background: var(--mat); display: grid; place-items: center; font-size: 32px; }
.lcx .course-band .big { font-size: 24px; font-weight: 800; }
.lcx .course-band .csub { font-family: var(--mono); font-size: 12px; color: #8a8a92; margin-top: 4px; }
.lcx .course-band .cright { margin-left: auto; display: flex; gap: 28px; position: relative; flex-wrap: wrap; }
.lcx .course-band .cstat .v { font-size: 24px; font-weight: 800; }
.lcx .course-band .cstat .v.lime { color: var(--lime); }
.lcx .course-band .cstat .k { font-family: var(--mono); font-size: 10.5px; color: #8a8a92; text-transform: uppercase; }

.lcx .grid-c { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; align-items: start; }
.lcx .podium { display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin: 10px 0 4px; }
.lcx .pod { text-align: center; flex: 1; max-width: 120px; }
.lcx .pod .av { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; border: 3px solid #fff; box-shadow: var(--sh); }
.lcx .pod .nm { font-weight: 700; font-size: 13px; }
.lcx .pod .pt { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.lcx .pod .stand { border-radius: 14px 14px 0 0; margin-top: 10px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; }
.lcx .pod.p1 .stand { background: var(--amber); height: 100px; } .lcx .pod.p1 .av { width: 64px; height: 64px; font-size: 22px; }
.lcx .pod.p2 .stand { background: var(--ink-dim); height: 72px; }
.lcx .pod.p3 .stand { background: var(--hist); height: 56px; }

/* Montaña del curso (reemplaza el podio) */
.lcx .mountain { margin: 6px 0 2px; }
.lcx .mountain svg { width: 100%; height: auto; display: block; max-height: 280px; }
.lcx .mtn-cap { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-top: 4px; }

.lcx .crow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.lcx .crow:last-child { border: 0; }
.lcx .crow .p { font-family: var(--mono); font-weight: 700; width: 22px; text-align: center; color: var(--ink-dim); font-size: 14px; }
.lcx .crow.me { background: var(--mat-s); margin: 0 -20px; padding: 11px 20px; border-radius: 12px; border: 0; }
.lcx .crow.me .p { color: var(--mat); }
.lcx .crow .a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0; }
.lcx .crow .info { flex: 1; min-width: 0; }
.lcx .crow .n { font-weight: 700; font-size: 14px; } .lcx .crow.me .n { color: var(--mat); }
.lcx .crow .lv { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); }
.lcx .crow .pt { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--ink-soft); }

.lcx .cstats-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.lcx .cstat-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; }
.lcx .cstat-row .v { font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--mat); }

@media (max-width: 1080px) {
  .lcx .grid-c { grid-template-columns: 1fr; }
  .lcx .course-band { flex-wrap: wrap; }
}

/* =====================================================================
   MI PERFIL
   ===================================================================== */
.lcx .prof-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lcx .prof-ava {
  width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(140deg, var(--mat), var(--lec));
  display: grid; place-items: center; flex-shrink: 0; border: 3px solid #fff; box-shadow: var(--sh);
}
.lcx .prof-meta .nm { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.lcx .prof-meta .ttl { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mat); font-weight: 700; margin-top: 5px; }
.lcx .prof-meta .sub { font-family: var(--mono); font-size: 12px; color: var(--ink-dim); margin-top: 5px; }
.lcx .prof-xp { margin-top: 18px; }
.lcx .prof-xp .xl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); margin-bottom: 6px; }
.lcx .prof-xp .xl b { color: var(--ink); }

.lcx .pbtn.on { background: var(--cien-s); color: var(--cien); }
.lcx .cfg-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lcx .cfg-row:last-child { border: 0; }
.lcx .cfg-row .ct2 { font-weight: 700; font-size: 14px; }
.lcx .cfg-row .cs { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.lcx .logout-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--card);
  color: var(--lec); font-family: var(--sans); font-weight: 700; font-size: 14px; padding: 11px 18px;
  border-radius: 13px; cursor: pointer;
}
.lcx .logout-btn:hover { background: var(--lec-s); }
.lcx .side .foot { cursor: pointer; transition: background .15s; border-radius: 0 0 4px 4px; }
.lcx .side .foot:hover { background: var(--bg); }

.lcx .prof-ava .animal { font-size: 48px; line-height: 1; }
.lcx .animal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 10px; }
.lcx .animal-pick {
  aspect-ratio: 1; border: 2px solid var(--line); border-radius: 14px; background: var(--card);
  font-size: 26px; cursor: pointer; display: grid; place-items: center; transition: .15s; padding: 0;
}
.lcx .animal-pick:hover { transform: translateY(-2px); border-color: var(--ink-dim); }
.lcx .animal-pick.on { border-color: var(--mat); background: var(--mat-s); box-shadow: 0 0 0 3px var(--mat-s); }
.lcx form.animal-f { display: contents; }
.lcx .dato { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lcx .dato:last-child { border: 0; }
.lcx .dato .dl { font-size: 12.5px; color: var(--ink-soft); }
.lcx .dato .dv { font-weight: 700; font-size: 14px; text-align: right; }
.lcx .dato .dv.mono { font-family: var(--mono); font-weight: 700; }

/* =====================================================================
   QUIZ (responder) · pantalla de pregunta + alternativas (focus mode)
   ===================================================================== */
.lcx.quiz { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.lcx .qtop {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px;
  background: var(--card); border-bottom: 1px solid var(--line); padding: 12px 20px;
}
.lcx .qx {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line); cursor: pointer; transition: .15s;
}
.lcx .qx:hover { background: var(--lec-s); color: var(--lec); }
.lcx .qtag {
  font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px;
  background: var(--mat-s); color: var(--mat);
}
.lcx .qtag.dif { background: var(--hist-s); color: var(--hist); }
.lcx .qtag.xp { background: var(--mat-s); color: var(--mat); }
.lcx .qtag.coin { background: var(--hist-s); color: var(--hist); }
.lcx .qdots { display: flex; align-items: center; gap: 5px; margin: 0 auto; }
.lcx .qdots i { display: block; height: 6px; border-radius: 99px; background: var(--line-2); transition: .2s; }
.lcx .qdots i.done { width: 22px; background: var(--cien); }
.lcx .qdots i.now { width: 30px; background: var(--ink); }
.lcx .qdots i.todo { width: 14px; }
.lcx .qtimer {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 700;
  font-size: 13px; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: 10px; flex-shrink: 0;
}
.lcx .qhead-tags { display: flex; align-items: center; gap: 7px; }

.lcx .qstage { flex: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 30px 22px 80px; }
.lcx .qgrid { display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
.lcx .qgrid.with-texto { grid-template-columns: 1fr 1fr 280px; }

.lcx .qhk { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.lcx .qenun { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.015em; line-height: 1.3; margin-top: 12px; }
.lcx .qimg { margin-top: 18px; }
.lcx .qalts { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.lcx .alt {
  position: relative;
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; border-radius: var(--r-s);
  border: 2px solid var(--line); background: var(--card); cursor: pointer; transition: .15s;
}
.lcx .alt:hover { border-color: var(--ink-dim); transform: translateY(-1px); }
.lcx .alt:has(input:checked) { border-color: var(--ink); background: var(--bg); box-shadow: var(--sh); }
.lcx .alt .lt {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px; background: var(--bg); color: var(--ink-soft);
  border: 1px solid var(--line); transition: .15s;
}
.lcx .alt:has(input:checked) .lt { background: var(--ink); color: #fff; border-color: var(--ink); }
.lcx .alt .tx { flex: 1; font-size: 15px; line-height: 1.5; }
.lcx .alt .alt-img { max-width: 240px; margin-bottom: 8px; }
.lcx .alt input { position: absolute; opacity: 0; pointer-events: none; }

.lcx .qfoot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.lcx .qfoot .hint { font-size: 12.5px; color: var(--ink-soft); }
.lcx .qfoot .hint b { color: var(--ink); font-weight: 700; }

.lcx .qside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 78px; }
.lcx .qcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 16px; box-shadow: var(--sh); }
.lcx .qwho { display: flex; align-items: center; gap: 11px; }
.lcx .qwho .ava {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(140deg, var(--mat), var(--cien)); flex-shrink: 0;
}
.lcx .qwho .nm { font-weight: 700; font-size: 14px; line-height: 1.2; }
.lcx .qwho .lv { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); margin-top: 2px; }
.lcx .qstat .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.lcx .qstat .v { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.lcx .qstat .v small { font-size: 12px; font-weight: 700; color: var(--ink-dim); margin-left: 4px; }
.lcx .qstat .hint { font-size: 12px; color: var(--ink-soft); margin-top: 7px; line-height: 1.4; }
.lcx .qansgrid { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lcx .qansgrid span {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 11px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-dim);
}
.lcx .qansgrid span.done { background: var(--cien-s); color: var(--cien); border-color: var(--cien-s); }
.lcx .qansgrid span.now { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 1080px) {
  .lcx .qgrid, .lcx .qgrid.with-texto { grid-template-columns: 1fr; }
  .lcx .qside { display: none; }
}

/* =====================================================================
   RESULTADO (final del ensayo)
   ===================================================================== */
.lcx.res { min-height: 100vh; background: var(--bg); }
.lcx .res-wrap { max-width: 920px; margin: 0 auto; padding: 30px 22px 90px; }
.lcx .res-close {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px;
  color: var(--ink-soft); margin-bottom: 18px;
}
.lcx .res-close:hover { color: var(--ink); }

.lcx .res-hero {
  background: var(--black); color: #fff; border-radius: var(--r); padding: 38px 30px; text-align: center;
  position: relative; overflow: hidden;
}
.lcx .res-hero::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: #22221f; right: -90px; bottom: -110px; }
.lcx .res-emoji { font-size: 60px; line-height: 1; position: relative; }
.lcx .res-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-top: 10px; position: relative; }
.lcx .res-hero .sub { font-family: var(--mono); font-size: 12.5px; color: #9a9aa2; margin-top: 10px; position: relative; }
.lcx .res-scorebox {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 14px;
  margin-top: 24px; background: #1f1f26; border: 1px solid #2c2c33; border-radius: var(--r); padding: 22px 34px;
}
.lcx .res-score { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lcx .res-score small { font-size: 28px; color: #9a9aa2; }
.lcx .res-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.lcx .res-marks span {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 13px;
}
.lcx .res-marks span.ok { background: var(--lime); color: var(--black); }
.lcx .res-marks span.no { background: var(--lec); color: #fff; }
.lcx .res-levelup {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; position: relative;
  background: #1f1f26; border: 1px solid var(--lime); border-radius: var(--r-s); padding: 12px 18px; text-align: left;
}
.lcx .res-levelup .lu-t { font-weight: 800; font-size: 15px; }
.lcx .res-levelup .lu-s { font-family: var(--mono); font-size: 10.5px; color: var(--lime); margin-top: 2px; }

.lcx .res-rw { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lcx .res-rw:last-child { border: 0; }
.lcx .res-rw .ic {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; flex-shrink: 0;
}
.lcx .res-rw .ic.xp { background: var(--mat-s); }
.lcx .res-rw .ic.coin { background: var(--hist-s); }
.lcx .res-rw .ic.fire { background: var(--lec-s); }
.lcx .res-rw .ic.bolt { background: var(--cien-s); }
.lcx .res-rw .t { font-weight: 700; font-size: 14px; }
.lcx .res-rw .s { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.lcx .res-rw .amt { margin-left: auto; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.lcx .res-rw .amt.xp { color: var(--mat); } .lcx .res-rw .amt.coin { color: var(--hist); }
.lcx .res-rw .amt.fire { color: var(--lec); } .lcx .res-rw .amt.bolt { color: var(--cien); }

.lcx .res-bar { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lcx .res-bar:last-child { border: 0; }
.lcx .res-bar .bl { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.lcx .res-bar .bl .name { font-weight: 700; font-size: 13.5px; }
.lcx .res-bar .bl .pct { font-family: var(--mono); font-weight: 700; font-size: 12px; color: var(--ink-soft); }
.lcx .res-bar .track { height: 9px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.lcx .res-bar .track i { display: block; height: 100%; border-radius: 99px; }
.lcx .res-bar .track i.hi { background: var(--cien); }
.lcx .res-bar .track i.mid { background: var(--hist); }
.lcx .res-bar .track i.lo { background: var(--lec); }

.lcx .res-logro {
  display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-radius: var(--r-s);
  border: 2px solid var(--amber); background: var(--hist-s); margin-bottom: 8px;
}
.lcx .res-logro .em { font-size: 24px; }
.lcx .res-logro .lt { font-weight: 800; font-size: 14px; }
.lcx .res-logro .ls { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.lcx .res-logro .tier { margin-left: auto; font-family: var(--mono); font-weight: 700; font-size: 11px; color: var(--hist); text-transform: uppercase; }

.lcx .res-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.lcx .res-actions .btn { width: 100%; padding: 14px; }

/* Review (revisa tus respuestas) */
.lcx .rev-card { border: 2px solid var(--line); border-radius: var(--r-s); overflow: hidden; background: var(--card); margin-bottom: 12px; }
.lcx .rev-card.ok { border-color: var(--cien); }
.lcx .rev-card.no { border-color: var(--lec); }
.lcx .rev-head {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 700; font-size: 12.5px;
}
.lcx .rev-card.ok .rev-head { background: var(--cien-s); color: var(--cien); }
.lcx .rev-card.no .rev-head { background: var(--lec-s); color: var(--lec); }
.lcx .rev-head .oa { margin-left: auto; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; opacity: .8; }
.lcx .rev-body { padding: 16px; }
.lcx .rev-body .enun { font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; }
.lcx .rev-alt {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); margin-bottom: 7px; font-size: 13.5px;
}
.lcx .rev-alt.correcta { border-color: var(--cien); background: var(--cien-s); }
.lcx .rev-alt.elegida-mal { border-color: var(--lec); background: var(--lec-s); }
.lcx .rev-alt .lt {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 700; font-size: 11px; background: var(--card); color: var(--ink-soft); border: 1px solid var(--line);
}
.lcx .rev-alt.correcta .lt { background: var(--cien); color: #fff; border-color: var(--cien); }
.lcx .rev-alt.elegida-mal .lt { background: var(--lec); color: #fff; border-color: var(--lec); }
.lcx .rev-alt .tx { flex: 1; line-height: 1.45; }
.lcx .rev-alt .tag { flex-shrink: 0; font-family: var(--mono); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.lcx .rev-alt.correcta .tag { color: var(--cien); }
.lcx .rev-alt.elegida-mal .tag { color: var(--lec); }
.lcx .rev-note {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 11px 13px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.5;
}
.lcx .rev-note.err { background: var(--hist-s); }
.lcx .rev-note.err b { color: var(--hist); }
.lcx .rev-note.exp { background: var(--mat-s); }
.lcx .rev-note.exp b { color: var(--mat); }

/* ===== ENSAYOS · filtros (asignatura + estado) ===== */
.lcx .efclear { margin-left: auto; font-family: var(--mono); font-size: 11px; text-transform: none; letter-spacing: 0; color: var(--mat); }
.lcx .efclear:hover { text-decoration: underline; }
.lcx .efilters { display: flex; flex-direction: column; gap: 12px; margin: 2px 0 20px; }
.lcx .efrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lcx .efrow > .micro { margin-right: 4px; }
.lcx .efchip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 11px; cursor: pointer;
  font-weight: 700; font-size: 13px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); transition: .15s;
}
.lcx .efchip:hover { transform: translateY(-1px); border-color: var(--ink-dim); }
.lcx .efchip .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent, var(--mat)); }
.lcx .efchip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.lcx .efchip.on .dot { background: #fff; }

/* =====================================================================
   REFUERZO (cápsula del estudiante) · scope .refuerzo. El shell aporta
   sidebar/topbar; aquí solo el contenido de la lección.
   ===================================================================== */
.refuerzo .back {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); transition: .18s; margin-bottom: 18px;
}
.refuerzo .back:hover { background: var(--bg); color: var(--ink); }

/* header lección */
.refuerzo .lhead { background: linear-gradient(135deg, #7c5cff, #9d7bff 55%, #b18cff); color: #fff; border-radius: var(--r); padding: 26px 28px; position: relative; overflow: hidden; box-shadow: 0 14px 30px -16px rgba(124, 92, 255, .7); margin-bottom: 22px; }
.refuerzo .lhead::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, .12); right: -40px; top: -80px; }
.refuerzo .lhead::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .08); right: 120px; bottom: -90px; }
.refuerzo .lhead .row { display: flex; align-items: center; gap: 16px; position: relative; }
.refuerzo .lhead .ico { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); display: grid; place-items: center; font-size: 30px; flex: none; }
.refuerzo .lhead h1 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.refuerzo .lhead .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.refuerzo .lhead .t { font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .18); color: #fff; }
.refuerzo .lhead .t.lime { background: var(--lime); color: var(--black); }
.refuerzo .lhead .oa { position: relative; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 13.5px; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.refuerzo .lhead .oa b { color: #fff; font-family: var(--mono); font-size: 12px; }

/* layout dos columnas */
.refuerzo .rgrid { display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start; }
@media (max-width: 1080px) { .refuerzo .rgrid { grid-template-columns: 1fr; } .refuerzo .toc { display: none; } }

/* índice lateral */
.refuerzo .toc { position: sticky; top: 90px; }
.refuerzo .toc .ch { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.refuerzo .toc a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; font-weight: 600; font-size: 13.5px; color: var(--ink-soft); transition: .15s; }
.refuerzo .toc a:hover { background: var(--card); }
.refuerzo .toc a.on { background: var(--mat-s); color: var(--mat); }
.refuerzo .toc a .n { width: 22px; height: 22px; border-radius: 7px; background: var(--bg); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.refuerzo .toc a.on .n { background: var(--mat); color: #fff; }

/* secciones */
.refuerzo .sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); margin-bottom: 20px; scroll-margin-top: 90px; }
.refuerzo .sec-tt { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.refuerzo .sec-tt .badge { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--mat); background: var(--mat-s); padding: 4px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.refuerzo .sec p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 10px 0; }
.refuerzo .sec p b, .refuerzo .sec li b { color: var(--ink); }
.refuerzo .sec ul { margin: 10px 0 10px 4px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.refuerzo .sec ul li { position: relative; padding-left: 24px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.refuerzo .sec ul li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--mat); }

.refuerzo .formula { background: var(--bg); border-radius: var(--r-s); padding: 12px 18px; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; margin: 4px 6px 4px 0; line-height: 1; flex-wrap: wrap; }
.refuerzo .frac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; margin: 0 2px; font-weight: 600; }
.refuerzo .frac .num { padding: 0 6px; font-size: 14px; }
.refuerzo .frac .den { padding: 2px 6px 0; font-size: 14px; border-top: 2px solid currentColor; }
.refuerzo .mixed { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; font-weight: 700; }
.refuerzo .op { font-weight: 700; color: var(--ink-soft); margin: 0 2px; }
.refuerzo .eq { font-weight: 800; margin: 0 4px; }

.refuerzo .subhead { font-weight: 800; font-size: 15px; margin: 18px 0 6px; display: flex; align-items: center; gap: 8px; }
.refuerzo .subhead .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lec); }

.refuerzo .visual { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--bg); padding: 16px; margin: 14px 0; }
.refuerzo .visual .vcap { font-size: 12px; color: var(--ink-dim); text-align: center; margin-top: 8px; line-height: 1.4; }

/* idea clave */
.refuerzo .key { background: var(--lime); border-radius: var(--r); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; margin-top: 6px; }
.refuerzo .key .ki { font-size: 30px; flex: none; }
.refuerzo .key .kt { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.refuerzo .key .kd { font-size: 14px; line-height: 1.5; color: #3a3a1a; }

/* práctica (cuestionario interactivo) */
.refuerzo .rqz-prog { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 18px; margin-bottom: 16px; position: sticky; top: 14px; z-index: 5; box-shadow: var(--sh); }
.refuerzo .rqz-prog .lbl { font-weight: 700; font-size: 14px; }
.refuerzo .rqz-prog .track { flex: 1; height: 10px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.refuerzo .rqz-prog .track i { display: block; height: 100%; width: 0%; border-radius: 99px; background: linear-gradient(90deg, var(--lime), var(--lime-d)); transition: width .4s; }
.refuerzo .rqz-prog .cnt { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ink-soft); }

.refuerzo .rqz-q { border: 1px solid var(--line); border-radius: var(--r-s); padding: 18px; margin-bottom: 14px; }
.refuerzo .rqz-q .qh { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.refuerzo .rqz-q .qnum { width: 26px; height: 26px; border-radius: 8px; background: var(--black); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.refuerzo .rqz-q .qt { font-weight: 700; font-size: 15px; line-height: 1.4; flex: 1; }
.refuerzo .rqz-q .skill { font-family: var(--mono); font-size: 9.5px; font-weight: 700; padding: 4px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .04em; background: var(--mat-s); color: var(--mat); flex: none; white-space: nowrap; }
.refuerzo .rqz-alts { display: flex; flex-direction: column; gap: 9px; }
.refuerzo .rqz-alt { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 11px; padding: 12px 14px; cursor: pointer; transition: .15s; font: inherit; text-align: left; background: var(--card); width: 100%; }
.refuerzo .rqz-alt:hover:not(.dis) { border-color: var(--mat); }
.refuerzo .rqz-alt .k { width: 28px; height: 28px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.refuerzo .rqz-alt .tx { font-weight: 600; font-size: 14.5px; flex: 1; }
.refuerzo .rqz-alt .m { margin-left: auto; font-weight: 800; font-size: 16px; }
.refuerzo .rqz-alt.correct { border-color: var(--cien); background: var(--cien-s); }
.refuerzo .rqz-alt.correct .k { background: var(--cien); color: #fff; }
.refuerzo .rqz-alt.wrong { border-color: var(--lec); background: var(--lec-s); }
.refuerzo .rqz-alt.wrong .k { background: var(--lec); color: #fff; }
.refuerzo .rqz-alt.dis { cursor: default; }
.refuerzo .rqz-fb { margin-top: 12px; border-radius: 11px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; animation: rf-fade .3s both; }
.refuerzo .rqz-fb.ok { background: var(--cien-s); color: var(--cien); }
.refuerzo .rqz-fb.bad { background: var(--lec-s); color: var(--lec); }
.refuerzo .rqz-fb b { font-weight: 800; }

.refuerzo .rqz-finish { background: var(--black); color: #fff; border-radius: var(--r); padding: 24px; text-align: center; box-shadow: var(--sh); margin-top: 6px; animation: rf-fade .4s both; }
.refuerzo .rqz-finish .fe { font-size: 44px; }
.refuerzo .rqz-finish .ft { font-size: 22px; font-weight: 800; margin: 6px 0; }
.refuerzo .rqz-finish .ft span { background: var(--lime); color: var(--black); padding: 0 8px; border-radius: 8px; }
.refuerzo .rqz-finish .fs { color: #b8b8c0; font-size: 14px; margin-bottom: 16px; }
.refuerzo .rqz-finish .fx { background: #26262d; border-radius: var(--r-s); padding: 12px; font-weight: 800; font-size: 15px; display: inline-block; }
.refuerzo .rqz-finish .fx b { color: var(--lime); }
.refuerzo .rqz-finish .acts { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.refuerzo .rqz-finish .btn { border: 0; cursor: pointer; padding: 13px 24px; border-radius: 13px; font-family: var(--sans); font-weight: 800; font-size: 14px; transition: .18s; }
.refuerzo .rqz-finish .btn.p { background: var(--lime); color: var(--black); }
.refuerzo .rqz-finish .btn.p:hover { background: var(--lime-d); }
.refuerzo .rqz-finish .btn.s { background: #26262d; color: #fff; }
.refuerzo .rqz-finish .btn.s:hover { background: #33333b; }

@keyframes rf-fade { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .refuerzo .rqz-fb, .refuerzo .rqz-finish { animation: none; } }
