/* Mi aprendizaje · cacao con cristal, progreso en champagne y notas en Cormorant. */
.ln-page { position: relative; isolation: isolate; overflow: hidden; min-height: 80vh; background: radial-gradient(circle at 12% 8%, rgba(120, 128, 113, 0.16), transparent 28%), radial-gradient(circle at 92% 60%, rgba(184, 150, 114, 0.14), transparent 30%), var(--y-night); color: var(--y-ink); }
.ln-in { padding: 128px 0 96px; }
.ln-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 32px; margin-bottom: 36px; }
.ln-head h1 { font-size: clamp(50px, 6.4vw, 84px); line-height: 0.92; margin: 20px 0 0; overflow-wrap: anywhere; }
.ln-head p { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: rgba(247, 241, 234, 0.72); }
.ln-head-side { display: grid; justify-items: end; gap: 16px; }
.ln-back { display: inline-block; margin-bottom: 22px; font-size: 14px; color: rgba(247, 241, 234, 0.74); }
@media (hover: hover) and (pointer: fine) { .ln-back:hover { color: var(--y-champagne-soft); } }

/* Tarjetas de curso */
.ln-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; margin-bottom: 20px; }
.ln-grid > :only-child { grid-column: 1 / -1; }
.ln-card { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 440px; border-radius: var(--y-r-lg); background: rgba(255, 255, 255, 0.1); box-shadow: var(--y-shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.18); color: var(--y-ink); }
.ln-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.76; transform: scale(1.04); }
.ln-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.3) 38%, rgba(17, 17, 17, 0.86)); }
.ln-card-copy { position: relative; z-index: 1; width: 100%; padding: 30px; display: grid; gap: 14px; }
.ln-card-copy h2 { font-size: clamp(42px, 4.6vw, 54px); line-height: 0.96; margin: 0; }
.ln-card-copy p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(247, 241, 234, 0.76); }
.ln-bonus { padding: 34px; display: grid; align-content: space-between; gap: 22px; min-height: 440px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); }
.ln-bonus h3 { font-size: clamp(40px, 4vw, 52px); line-height: 0.96; margin: 18px 0 12px; }
.ln-bonus p { margin: 0; color: rgba(247, 241, 234, 0.7); line-height: 1.7; max-width: 380px; }
.ln-more { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 32px; }
.ln-more h3 { font-size: 32px; margin: 0 0 6px; }
.ln-more p { margin: 0; font-size: 13px; color: rgba(247, 241, 234, 0.64); }

/* Cuenta nueva y curso terminado */
.ln-empty { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 50px; align-items: center; padding: 40px 54px; }
.ln-empty-im { display: grid; place-items: center; height: 320px; border-radius: 26px; background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)); }
.ln-empty-im img { width: 260px; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.35)); animation: floatingCard 6.5s ease-in-out infinite; }
.ln-empty h2 { font-size: clamp(40px, 4.4vw, 52px); line-height: 0.96; margin: 0 0 16px; }
.ln-empty p { margin: 0; color: rgba(247, 241, 234, 0.72); line-height: 1.7; max-width: 460px; }
.ln-celebrate { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; padding: 24px 40px 24px 24px; align-items: center; margin-bottom: 20px; }
.ln-arch { height: 360px; border-radius: 200px 200px 22px 22px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.03)); }
.ln-arch img { width: 80%; height: auto; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, 0.35)); }
.ln-celebrate > div:last-child { display: grid; gap: 16px; justify-items: start; }
.ln-celebrate h2 { font-size: clamp(42px, 5vw, 64px); line-height: 0.94; margin: 0; }
.ln-celebrate h2 em { color: var(--y-champagne-soft); }
.ln-celebrate p { margin: 0; color: rgba(247, 241, 234, 0.74); line-height: 1.7; max-width: 480px; }
.ln-celebrate .y-pbar, .ln-celebrate .y-pmeta { max-width: 480px; }

/* Espacio del curso */
.ln-tabs { display: inline-flex; padding: 6px; gap: 4px; border-radius: var(--y-r-pill); background: rgba(255, 255, 255, 0.1); box-shadow: 0 18px 54px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.16); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.ln-tabs a { flex: none; min-height: 42px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: var(--y-r-pill); font-size: 13px; font-weight: 600; color: rgba(247, 241, 234, 0.74); transition: background 240ms ease, color 240ms ease, transform var(--y-dur-fast) ease; }
.ln-tabs a:active { transform: scale(0.96); }
.ln-tabs a[aria-current="page"] { background: rgba(247, 241, 234, 0.88); color: var(--y-night); }
@media (hover: hover) and (pointer: fine) { .ln-tabs a:not([aria-current]):hover { color: #fff; background: rgba(255, 255, 255, 0.08); } }
.ln-resume { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; color: var(--y-ink); }
.ln-resume-media { position: relative; min-height: 340px; overflow: hidden; }
.ln-resume-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.86; }
.ln-resume-copy { padding: 40px 44px; display: grid; gap: 14px; align-content: center; }
.ln-resume-copy .courses-kicker { margin: 0; }
.ln-resume-copy h2 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; margin: 0; }
.ln-resume-copy p { margin: 0; font-size: 14px; color: rgba(247, 241, 234, 0.7); line-height: 1.6; }
.ln-resume-done { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 28px 32px; }
.ln-resume-done > svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(158, 169, 147, 0.24); color: #dde4d3; }
.ln-resume-done h2 { font-size: 32px; margin: 0 0 6px; }
.ln-resume-done p { margin: 0; font-size: 14px; color: rgba(247, 241, 234, 0.7); }
.ln-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ln-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.ln-panel { padding: 28px 30px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.ln-panel h3 { font-size: 32px; line-height: 1; margin: 0 0 12px; }
.ln-panel > .courses-link { margin-top: 14px; justify-self: start; }
.ln-mat { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 12px 10px; margin: 0 -10px; border-radius: 16px; transition: background 200ms ease; }
.ln-mat b { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.ln-mat small { display: block; font-size: 12px; color: rgba(247, 241, 234, 0.58); margin-top: 2px; }
.ln-mat svg { width: 18px; height: 18px; color: rgba(247, 241, 234, 0.6); }
@media (hover: hover) and (pointer: fine) { .ln-mat:hover { background: rgba(255, 255, 255, 0.06); } }
.ln-doc { width: 40px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: rgba(247, 241, 234, 0.9); color: var(--y-cacao); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.ln-note { padding: 22px; border-radius: 22px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(247, 241, 234, 0.1); display: grid; gap: 10px; align-content: start; }
.ln-note .courses-kicker { margin: 0; font-size: 10px; }
.ln-note p { margin: 0; font: 400 22px/1.5 var(--y-font-serif); color: var(--y-ink); overflow-wrap: anywhere; }
.ln-note .courses-link { font-size: 12px; }
.ln-empty-note { display: flex; gap: 12px; align-items: center; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); font-size: 13px; line-height: 1.6; color: rgba(247, 241, 234, 0.64); }
.ln-empty-note .y-flower { width: 22px; height: 22px; color: var(--y-champagne); }
.ln-segs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.ln-segs > div { display: grid; gap: 10px; font-size: 12px; color: rgba(247, 241, 234, 0.62); font-weight: 600; line-height: 1.35; }
.ln-segs b { color: var(--y-ink); font-weight: 600; }
.ln-rec { display: grid; gap: 14px; }
.ln-rec-m { padding: 22px 22px 14px; }
.ln-rec-m h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 28px; margin: 0 8px 10px; }
.ln-rec-m h3 small { font: 600 12px var(--y-font-sans); color: rgba(247, 241, 234, 0.58); white-space: nowrap; }
.ln-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto 60px; gap: 14px; align-items: center; padding: 12px 10px; border-radius: 16px; font-size: 14px; transition: background 200ms ease; }
.ln-st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.1); color: var(--y-champagne-soft); }
.ln-st svg { width: 13px; height: 13px; }
.ln-row.is-done .ln-st { background: #9ea993; color: #1d1916; }
.ln-row.is-now { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.ln-row.is-now .ln-st { background: var(--y-pillar-cursos); color: var(--y-night); }
.ln-row.is-locked { color: rgba(247, 241, 234, 0.42); }
.ln-min { font-size: 12px; color: rgba(247, 241, 234, 0.56); text-align: right; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { a.ln-row:hover { background: rgba(255, 255, 255, 0.07); } }
.ln-matgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ln-matcard { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; }
.ln-matcard .ln-doc { width: 56px; height: 68px; font-size: 11px; }
.ln-matcard h4 { margin: 0 0 6px; font: 500 24px/1.1 var(--y-font-serif); }
.ln-matcard p { margin: 0 0 14px; font-size: 13px; color: rgba(247, 241, 234, 0.62); }
.ln-private { max-width: 560px; margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: rgba(247, 241, 234, 0.64); }
.ln-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ln-notes-next { display: grid; place-items: center; text-align: center; gap: 12px; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(247, 241, 234, 0.14); font-size: 13px; line-height: 1.6; color: rgba(247, 241, 234, 0.64); }
.ln-notes-next .y-flower { width: 28px; height: 28px; color: var(--y-champagne); }

@media (hover: hover) and (pointer: fine) {
  .ln-card > img, .ln-resume-media img { transition: transform 900ms ease, opacity 300ms ease; }
  .ln-card:hover > img, .ln-resume:hover .ln-resume-media img { transform: scale(1.09); opacity: 0.9; }
}
@media (max-width: 960px) {
  .ln-grid, .ln-two, .ln-celebrate, .ln-empty, .ln-resume { grid-template-columns: 1fr; }
  .ln-segs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ln-bonus, .ln-card { min-height: 360px; }
  .ln-empty-im { height: 240px; }
  .ln-celebrate { padding: 16px 16px 28px; }
  .ln-arch { height: 260px; }
}
@media (max-width: 700px) {
  .ln-in { padding: 104px 0 70px; }
  .ln-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .ln-head-side { justify-items: start; width: 100%; }
  .ln-empty { padding: 22px; gap: 22px; }
  .ln-resume-copy, .ln-panel { padding: 24px; }
  .ln-resume-media { min-height: 200px; }
  .ln-more { flex-direction: column; align-items: flex-start; padding: 24px; }
  .ln-row { grid-template-columns: 26px minmax(0, 1fr) 50px; }
  .ln-row .y-chip { display: none; }
  .ln-matgrid, .ln-notes { grid-template-columns: 1fr; }
  .ln-resume-done { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ln-empty-im img { animation: none; }
  .ln-card > img, .ln-resume-media img, .ln-tabs a, .ln-row, .ln-mat { transition: none !important; }
  .ln-card:hover > img, .ln-resume:hover .ln-resume-media img { transform: none !important; }
}
