/*
 * Global Training Industry — detalle público del curso /course/{slug} (rediseño 2026-11)
 * Se carga solo desde resources/views/web/default/course/index.blade.php.
 * Todo vive bajo .uc y usa el prefijo uc- para no chocar con Bootstrap, app.css ni redesign.css.
 * Maqueta de referencia: docs/design/propuesta-curso.html
 */

.uc {
    --uc-navy-950: #071a29;
    --uc-navy-900: #0b2436;
    --uc-navy-800: #11334c;
    --uc-navy-700: #1a4664;
    --uc-teal-700: #087a89;
    --uc-teal-600: #0b91a2;
    --uc-teal-500: #14a9ba;
    --uc-teal-100: #e2f5f7;
    --uc-teal-50: #f0fafb;
    --uc-green-700: #15803f;
    --uc-green-600: #1e9e57;
    --uc-green-500: #28c76f;
    --uc-green-100: #e5f8ed;
    --uc-blue-600: #2563eb;
    --uc-blue-100: #e8f0fe;
    --uc-amber-600: #d98a0b;
    --uc-amber-500: #f5a524;
    --uc-amber-100: #fff4dc;
    --uc-rose-500: #e5484d;
    --uc-rose-100: #fdecec;
    --uc-ink: #0f2236;
    --uc-text: #3d5063;
    --uc-muted: #63768a;
    --uc-line: #e3eaf0;
    --uc-line-strong: #cfdbe4;
    --uc-bg: #f4f7fa;
    --uc-r-lg: 20px;
    --uc-r-xl: 28px;
    --uc-sh-sm: 0 2px 6px rgba(11, 36, 54, .05), 0 1px 2px rgba(11, 36, 54, .04);
    --uc-sh-md: 0 12px 32px -12px rgba(11, 36, 54, .18), 0 2px 6px rgba(11, 36, 54, .05);
    --uc-sh-lg: 0 30px 60px -20px rgba(11, 36, 54, .28);
    --uc-ease: cubic-bezier(.2, .7, .2, 1);
    --uc-top: 0px; /* alto de la navegación fija; lo ajusta course-redesign.js */

    background: var(--uc-bg);
    color: var(--uc-text);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.55;
    padding-bottom: 64px;
    -webkit-font-smoothing: antialiased;
}
/* app.css aplica body{overflow:hidden}, que convierte a body en contenedor de desplazamiento y anula
   position:sticky (pestañas y tarjeta de compra). En esta vista se recorta en horizontal sin crear ese contenedor. */
body.ui-public-shell:has(#ucCourse) { overflow-x: clip; overflow-y: visible; }
.uc *, .uc *::before, .uc *::after { box-sizing: border-box; }
.uc h1, .uc h2, .uc h3, .uc h4, .uc h5 {
    font-family: Montserrat, Inter, sans-serif;
    color: var(--uc-ink);
    margin: 0;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.uc p { margin: 0; }
.uc a { text-decoration: none; }
.uc a:not([class]) { color: var(--uc-teal-700); }
.uc img { max-width: 100%; }
.uc button { font: inherit; cursor: pointer; }
.uc svg.feather { flex: none; }
.uc [hidden], .uc .uc-hide { display: none !important; }
.uc-container { width: min(100% - 48px, 1280px); margin-inline: auto; }

/* ---------- Botones ---------- */
.uc .uc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent;
    font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; text-decoration: none;
    transition: transform .2s var(--uc-ease), box-shadow .2s var(--uc-ease), background .2s, border-color .2s, color .2s;
}
.uc .uc-btn:hover { transform: translateY(-2px); text-decoration: none; }
.uc .uc-btn:focus-visible { outline: 3px solid rgba(20, 169, 186, .45); outline-offset: 2px; }
.uc .uc-btn svg { width: 18px; height: 18px; }
.uc .uc-btn-primary { background: linear-gradient(135deg, var(--uc-green-500), var(--uc-green-600)); color: #fff; box-shadow: 0 10px 22px -8px rgba(30, 158, 87, .6); }
.uc .uc-btn-primary:hover { color: #fff; box-shadow: 0 14px 28px -8px rgba(30, 158, 87, .7); }
.uc .uc-btn-teal { background: linear-gradient(135deg, var(--uc-teal-500), var(--uc-teal-700)); color: #fff; box-shadow: 0 10px 22px -8px rgba(8, 122, 137, .55); }
.uc .uc-btn-teal:hover { color: #fff; }
.uc .uc-btn-dark { background: var(--uc-navy-900); color: #fff; }
.uc .uc-btn-dark:hover { color: #fff; }
.uc .uc-btn-white { background: #fff; color: var(--uc-navy-900); }
.uc .uc-btn-white:hover { color: var(--uc-navy-900); }
.uc .uc-btn-ghost { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); color: #fff; }
.uc .uc-btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.uc .uc-btn-outline { background: #fff; border-color: var(--uc-line-strong); color: var(--uc-ink); }
.uc .uc-btn-outline:hover { border-color: var(--uc-teal-600); color: var(--uc-teal-700); }
.uc .uc-btn-wa { background: #fff; border-color: #bfe9cf; color: #13924a; }
.uc .uc-btn-wa:hover { background: #effbf3; border-color: #25d366; color: #13924a; }
.uc .uc-btn-locked, .uc .uc-btn-muted { background: var(--uc-bg); border-color: var(--uc-line); color: var(--uc-muted); box-shadow: none; }
.uc .uc-btn-locked:hover, .uc .uc-btn-muted:hover { transform: none; color: var(--uc-muted); border-color: var(--uc-line-strong); }
.uc .uc-btn-muted { cursor: default; }
.uc .uc-btn[disabled], .uc .uc-btn.disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; pointer-events: none; }
.uc .uc-btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.uc .uc-btn-xs { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; gap: 6px; }
.uc .uc-btn-xs svg { width: 15px; height: 15px; }
.uc .uc-btn-block { width: 100%; }
.uc .uc-icon-btn {
    width: 38px; height: 38px; border-radius: 10px; display: inline-grid; place-items: center;
    border: 1px solid var(--uc-line); background: #fff; color: var(--uc-ink); transition: .2s; padding: 0;
}
.uc .uc-icon-btn:hover { border-color: var(--uc-teal-600); color: var(--uc-teal-700); }
.uc .uc-icon-btn svg { width: 17px; height: 17px; }
.uc .uc-link { display: inline-flex; align-items: center; gap: 6px; color: var(--uc-teal-700); font-weight: 600; font-size: 14px; background: none; border: 0; padding: 0; }
.uc .uc-link:hover { color: var(--uc-teal-600); }
.uc .uc-link svg { width: 16px; height: 16px; transition: transform .3s var(--uc-ease); }

/* ---------- Chips y estados ---------- */
.uc .uc-chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.uc .uc-chip svg { width: 15px; height: 15px; }
.uc .uc-chip-glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e3f1f5; }
.uc .uc-chip-live { background: rgba(229, 72, 77, .16); border: 1px solid rgba(229, 72, 77, .35); color: #ffd4d5; }
.uc .uc-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.uc .uc-chip-live .uc-dot { background: #ff6b6f; animation: ucPulse 2s infinite; }
@keyframes ucPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 111, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 107, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 107, 111, 0); } }
.uc .uc-st { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; font-family: Inter, sans-serif; letter-spacing: 0; }
.uc .uc-st svg { width: 13px; height: 13px; }
.uc .uc-st-soon { background: var(--uc-blue-100); color: #1d5fd0; }
.uc .uc-st-live { background: var(--uc-rose-100); color: #c4282d; }
.uc .uc-st-live .uc-dot { animation: ucPulse 2s infinite; }
.uc .uc-st-done, .uc .uc-st-lock { background: #eef2f6; color: var(--uc-muted); }
.uc .uc-st-ok { background: var(--uc-green-100); color: var(--uc-green-700); }
.uc .uc-st-warn { background: var(--uc-amber-100); color: #a76400; }
.uc .uc-st-bad { background: var(--uc-rose-100); color: #c4282d; }
.uc .uc-t-teal { background: var(--uc-teal-100); color: var(--uc-teal-700); }
.uc .uc-t-green { background: var(--uc-green-100); color: var(--uc-green-700); }
.uc .uc-t-blue { background: var(--uc-blue-100); color: var(--uc-blue-600); }
.uc .uc-t-amber { background: var(--uc-amber-100); color: #b86e00; }
.uc .uc-t-rose { background: var(--uc-rose-100); color: #c4282d; }
.uc .uc-t-navy { background: #e7edf3; color: var(--uc-navy-700); }

/* ---------- Avatares y estrellas ---------- */
.uc .uc-avatar {
    width: 40px; height: 40px; border-radius: 50%; flex: none; position: relative;
    display: grid; place-items: center; background: linear-gradient(135deg, var(--uc-teal-500), var(--uc-navy-700));
    color: #fff; font: 700 14px Montserrat, sans-serif;
}
.uc .uc-avatar > img, .uc .uc-avatar > .ui-avatar-initials {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center;
    background: transparent; color: inherit; font: inherit;
}
.uc .uc-vbadge {
    position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--uc-green-500); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--uc-navy-950); color: #fff;
}
.uc .uc-vbadge svg { width: 12px; height: 12px; stroke-width: 3; }
.uc .uc-vbadge.is-off { background: var(--uc-amber-500); }
.uc .uc-stars { display: inline-flex; gap: 2px; color: var(--uc-amber-500); }
.uc .uc-stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.uc .uc-stars .off { color: #c9d3dc; }

/* ---------- Portada ---------- */
.uc-hero { position: relative; overflow: hidden; color: #cfe0ea; padding: 28px 0 128px; background: var(--uc-navy-950); }
.uc-hero-bg { position: absolute; inset: 0; background-position: right center; background-size: cover; filter: blur(3px) saturate(1.1); transform: scale(1.04); opacity: .4; }
.uc-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 70% 20%, rgba(20, 169, 186, .28), transparent 60%),
        radial-gradient(700px 420px at 0% 110%, rgba(40, 199, 111, .18), transparent 60%),
        linear-gradient(95deg, rgba(7, 26, 41, .99) 38%, rgba(7, 26, 41, .9) 62%, rgba(7, 26, 41, .72));
}
.uc-hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 90%); mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
}
.uc-hero .uc-container { position: relative; z-index: 1; }
.uc-hero-inner { max-width: calc(100% - 440px); }
.uc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #8fa9bb; }
.uc .uc-crumbs a { color: #8fa9bb; display: inline-flex; align-items: center; gap: 6px; }
.uc .uc-crumbs a:hover { color: #fff; }
.uc-crumbs svg { width: 15px; height: 15px; }
.uc-crumbs .sep { opacity: .5; }
.uc-crumbs .cur { color: #e3f1f5; font-weight: 600; }
.uc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.uc .uc-hero h1 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; margin-top: 16px; line-height: 1.1; letter-spacing: -.03em; }
.uc-lead { font-size: 17px; color: #b4c9d6; max-width: 680px; margin-top: 14px; }
.uc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; font-size: 14px; }
.uc-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.uc-meta > span > svg { width: 17px; height: 17px; color: var(--uc-teal-500); }
.uc-meta .uc-rate b { font: 800 18px Montserrat, sans-serif; color: var(--uc-amber-500); }
.uc-hero .uc-stars .off { color: rgba(255, 255, 255, .25); }
.uc .uc-meta a.uc-rv { color: #d9eaf1; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.uc-meta .uc-new { color: #8fd8e1; font-weight: 600; }
.uc-teach { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.uc-teach .uc-avatar { width: 48px; height: 48px; font-size: 16px; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); }
.uc-teach small { display: block; font-size: 12px; color: #8fa9bb; }
.uc .uc-teach a { color: #fff; font-weight: 600; }
.uc .uc-teach a:hover { color: #5fe0ee; }
.uc-teach .sep { width: 1px; height: 34px; background: rgba(255, 255, 255, .14); margin: 0 6px; }
.uc-panel-status {
    margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    padding: 16px 18px 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.uc-panel-status .lbl { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8fd8e1; }
.uc-panel-status .ttl { color: #fff; font-weight: 600; margin-top: 2px; }
.uc-panel-status .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.uc-cd { display: flex; gap: 8px; }
.uc-cd > div { min-width: 58px; padding: 8px 6px 6px; border-radius: 12px; background: rgba(7, 26, 41, .6); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.uc-cd b { display: block; font: 800 22px Montserrat, sans-serif; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.uc-cd small { font-size: 11px; color: #8fa9bb; }

/* Anillos */
.uc .uc-ring { width: 64px; height: 64px; flex: none; position: relative; }
.uc .uc-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.uc .uc-ring .tr { stroke: var(--uc-line); fill: none; stroke-width: 7; }
.uc .uc-ring .pr { fill: none; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--uc-ease); }
.uc .uc-ring em { position: absolute; inset: 0; display: grid; place-items: center; font: 800 15px Montserrat, sans-serif; font-style: normal; color: var(--uc-ink); }
.uc .uc-ring-dark .tr { stroke: rgba(255, 255, 255, .14); }
.uc .uc-ring-dark em { color: #fff; }

/* ---------- Distribución ---------- */
.uc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.uc-main { min-width: 0; }
.uc-aside { position: sticky; top: calc(var(--uc-top) + 20px); z-index: 20; margin-top: var(--uc-aside-pull, -468px); }

/* ---------- Datos clave ---------- */
.uc-facts {
    position: relative; z-index: 5; margin-top: -84px; display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--uc-r-lg); box-shadow: var(--uc-sh-lg); border: 1px solid var(--uc-line); overflow: hidden;
}
.uc-facts.is-3 { grid-template-columns: repeat(3, 1fr); }
.uc-fact { padding: 22px 20px; display: flex; gap: 14px; align-items: flex-start; position: relative; min-width: 0; }
.uc-fact + .uc-fact::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: var(--uc-line); }
.uc-fact .fi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.uc-fact .fi svg { width: 20px; height: 20px; }
.uc-fact small { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--uc-muted); }
.uc-fact b { display: block; font: 700 17px Montserrat, sans-serif; color: var(--uc-ink); margin-top: 3px; letter-spacing: -.01em; }
.uc-fact span { display: block; font-size: 13px; color: var(--uc-muted); }

/* ---------- Tarjetas y bloques ---------- */
.uc .uc-card { background: #fff; border: 1px solid var(--uc-line); border-radius: var(--uc-r-lg); box-shadow: var(--uc-sh-sm); }
.uc-block { padding: 26px 28px; margin-bottom: 20px; }
.uc-block-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.uc .uc-block-h h2 { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.uc-block-h h2 .hi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.uc-block-h h2 .hi svg { width: 19px; height: 19px; }
.uc-block-h h2 .cnt { color: var(--uc-muted); font-weight: 600; }
.uc-block-h p { font-size: 14px; color: var(--uc-muted); margin-top: 4px; }
.uc-lock-note {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
    background: linear-gradient(135deg, var(--uc-teal-50), #fff); border: 1px dashed #a9dde4; margin-bottom: 18px; font-size: 14px;
}
.uc-lock-note .li { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--uc-teal-700); box-shadow: var(--uc-sh-sm); flex: none; }
.uc-lock-note .li svg { width: 18px; height: 18px; }
.uc-lock-note b { color: var(--uc-ink); }
.uc-lock-note .uc-btn { margin-left: auto; }
.uc-alert { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; }
.uc-alert svg { width: 20px; height: 20px; flex: none; }
.uc-empty { padding: 36px 20px; text-align: center; color: var(--uc-muted); font-size: 14px; }
.uc-empty .ei { width: 64px; height: 64px; border-radius: 20px; background: var(--uc-bg); display: grid; place-items: center; margin: 0 auto 12px; color: var(--uc-teal-600); }
.uc-empty .ei svg { width: 26px; height: 26px; }

/* ---------- Ruta de aprendizaje ---------- */
.uc-route { margin-top: 24px; padding: 22px 24px; }
.uc-route-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.uc .uc-route-head h2 { font-size: 18px; }
.uc-route-head .pct { font-size: 13px; color: var(--uc-muted); }
.uc-route-head .pct b { color: var(--uc-green-700); font: 800 15px Montserrat, sans-serif; }
.uc-steps { display: grid; grid-template-columns: repeat(var(--uc-steps, 5), 1fr); position: relative; }
.uc-steps::before, .uc-steps .fill {
    content: ""; position: absolute; top: 23px; left: calc(50% / var(--uc-steps, 5)); right: calc(50% / var(--uc-steps, 5));
    height: 4px; border-radius: 4px; background: var(--uc-line);
}
.uc-steps .fill { right: auto; width: 0; background: linear-gradient(90deg, var(--uc-teal-500), var(--uc-green-500)); transition: width 1s var(--uc-ease); }
.uc .uc-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: none; border: 0; padding: 0 6px; color: inherit; }
.uc-step .sc { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 2px solid var(--uc-line); color: var(--uc-muted); transition: .3s var(--uc-ease); }
.uc-step .sc svg { width: 20px; height: 20px; }
.uc-step:hover .sc { border-color: var(--uc-teal-500); color: var(--uc-teal-700); transform: translateY(-3px); }
.uc-step b { font-size: 14px; color: var(--uc-ink); font-weight: 600; }
.uc-step small { font-size: 12px; color: var(--uc-muted); line-height: 1.35; }
.uc-step.done .sc { background: var(--uc-green-500); border-color: var(--uc-green-500); color: #fff; }
.uc-step.cur .sc { background: var(--uc-navy-900); border-color: var(--uc-navy-900); color: #fff; box-shadow: 0 0 0 6px rgba(20, 169, 186, .18); }

/* ---------- Pestañas ---------- */
.uc-tabs-wrap { position: sticky; top: var(--uc-top); z-index: 15; margin-top: 24px; background: linear-gradient(var(--uc-bg) 70%, rgba(244, 247, 250, 0)); padding-top: 10px; }
.uc-tabs { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: #fff; border: 1px solid var(--uc-line); border-radius: 16px; padding: 6px; box-shadow: var(--uc-sh-sm); margin: 0; list-style: none; }
.uc-tabs::-webkit-scrollbar { display: none; }
.uc .uc-tab {
    position: relative; z-index: 1; flex: 1 0 auto; min-width: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; height: 62px; padding: 0 10px; border: 0; border-radius: 11px; background: none; font-weight: 600; font-size: 13px;
    color: var(--uc-text); white-space: nowrap; transition: color .2s;
}
.uc .uc-tab > svg { width: 19px; height: 19px; }
.uc-tab .n {
    position: absolute; top: 5px; left: calc(50% + 8px); display: inline-flex; align-items: center; gap: 2px; height: 18px; padding: 0 6px;
    border-radius: 999px; background: var(--uc-teal-100); color: var(--uc-teal-700); font-size: 10.5px; font-weight: 700; transition: .2s;
}
.uc-tab .n svg { width: 10px; height: 10px; stroke-width: 2.6; }
.uc .uc-tab:hover { color: var(--uc-teal-700); }
.uc .uc-tab.on { color: #fff; }
.uc-tab.on .n { background: var(--uc-green-500); color: #fff; }
.uc-tab-ind { position: absolute; top: 6px; left: 6px; height: 62px; width: 0; border-radius: 11px; background: linear-gradient(135deg, var(--uc-navy-800), var(--uc-navy-900)); transition: left .35s var(--uc-ease), width .35s var(--uc-ease); box-shadow: 0 8px 18px -8px rgba(11, 36, 54, .5); }
.uc-panels { margin-top: 16px; }
.uc-pane { display: none; }
.uc-pane.on { display: block; animation: ucFadeUp .35s var(--uc-ease); }
@keyframes ucFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Información ---------- */
.uc-desc { position: relative; max-height: 210px; overflow: hidden; transition: max-height .5s var(--uc-ease); color: var(--uc-text); font-size: 15.5px; }
.uc-desc.is-short { max-height: none; }
.uc-desc.open { max-height: 6000px; }
.uc-desc:not(.open):not(.is-short)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.uc-desc p + p, .uc-desc ul, .uc-desc ol { margin-top: 12px; }
.uc-desc ul { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.uc-desc ul li { position: relative; padding-left: 28px; }
.uc-desc ul li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--uc-green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.uc-desc img { height: auto; border-radius: 12px; }
.uc-desc table { width: 100%; }
.uc-more-btn { margin-top: 12px; }
.uc-more-btn.open svg { transform: rotate(180deg); }
.uc-inc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.uc-inc > div { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--uc-line); background: linear-gradient(180deg, #fff, #fbfdfe); transition: .25s var(--uc-ease); }
.uc-inc > div:hover { border-color: #b9e3e9; transform: translateY(-2px); box-shadow: var(--uc-sh-md); }
.uc-inc .ii { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.uc-inc .ii svg { width: 20px; height: 20px; }
.uc-inc b { display: block; font-size: 14px; color: var(--uc-ink); font-weight: 600; line-height: 1.3; }
.uc-inc small { font-size: 12px; color: var(--uc-muted); }
.uc .uc-pre { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--uc-line); border-radius: 14px; transition: .2s; color: inherit; }
.uc .uc-pre + .uc-pre { margin-top: 10px; }
.uc .uc-pre:hover { border-color: var(--uc-teal-500); color: inherit; }
.uc-pre img { width: 120px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.uc .uc-pre h4 { font-size: 15px; }
.uc-pre small { color: var(--uc-muted); font-size: 13px; }
.uc-pre .uc-icon-btn { margin-left: auto; flex: none; }
.uc-faq { border: 1px solid var(--uc-line); border-radius: 14px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.uc-faq + .uc-faq { margin-top: 10px; }
.uc-faq.open { border-color: #b9e3e9; box-shadow: var(--uc-sh-md); }
.uc .uc-faq > button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 0; text-align: left; font-weight: 600; color: var(--uc-ink); font-size: 15px; }
.uc-faq .q { width: 30px; height: 30px; border-radius: 9px; background: var(--uc-teal-50); color: var(--uc-teal-700); display: grid; place-items: center; font: 800 13px Montserrat, sans-serif; flex: none; }
.uc-faq > button > svg { margin-left: auto; width: 20px; height: 20px; transition: transform .3s var(--uc-ease); color: var(--uc-muted); flex: none; }
.uc-faq.open > button > svg { transform: rotate(180deg); color: var(--uc-teal-700); }
.uc-faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--uc-ease); }
.uc-faq.open .a { grid-template-rows: 1fr; }
.uc-faq .a > div { overflow: hidden; }
.uc-faq .a p { padding: 0 18px 18px 62px; color: var(--uc-text); font-size: 14.5px; white-space: pre-line; }
.uc-teachers { display: grid; gap: 14px; }
.uc-teacher { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px; border: 1px solid var(--uc-line); border-radius: 16px; background: linear-gradient(135deg, #fff, var(--uc-teal-50)); }
.uc-teacher + .uc-teacher { background: #fff; }
.uc-teacher .uc-avatar { width: 76px; height: 76px; font-size: 24px; }
.uc-teacher .uc-vbadge { right: 0; bottom: 2px; width: 24px; height: 24px; box-shadow: 0 0 0 3px #fff; }
.uc .uc-teacher h4 { font-size: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.uc-teacher .role { font-size: 13px; color: var(--uc-teal-700); font-weight: 600; margin-top: 2px; }
.uc-teacher p { font-size: 14px; color: var(--uc-text); margin-top: 8px; max-width: 560px; }
.uc-teacher .kpis { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--uc-muted); }
.uc-teacher .kpis span { display: inline-flex; align-items: center; gap: 6px; }
.uc-teacher .kpis svg { width: 15px; height: 15px; color: var(--uc-teal-600); }
.uc-teacher .badges { display: flex; gap: 6px; margin-top: 10px; }
.uc-teacher .badges img { width: 28px; height: 28px; object-fit: contain; }
.uc-teacher .acts { display: flex; flex-direction: column; gap: 8px; }
.uc-org-tag { display: inline-flex; align-items: center; gap: 6px; font: 700 11px Inter, sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--uc-muted); background: #fff; border: 1px solid var(--uc-line); padding: 3px 8px; border-radius: 999px; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.uc .uc-tags a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--uc-line); background: #fff; font-size: 13px; font-weight: 500; color: var(--uc-text); transition: .2s; }
.uc .uc-tags a:hover { border-color: var(--uc-teal-500); color: var(--uc-teal-700); background: var(--uc-teal-50); }
.uc-tags svg { width: 14px; height: 14px; color: var(--uc-teal-600); }

/* Comentarios */
.uc-composer { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.uc-composer .box { border: 1px solid var(--uc-line-strong); border-radius: 14px; transition: border-color .2s, box-shadow .2s; background: #fff; }
.uc-composer .box:focus-within { border-color: var(--uc-teal-500); box-shadow: 0 0 0 4px rgba(20, 169, 186, .12); }
.uc-composer textarea { width: 100%; border: 0; outline: 0; resize: none; font: inherit; font-size: 15px; padding: 14px 16px 6px; min-height: 52px; color: var(--uc-ink); background: transparent; border-radius: 14px; display: block; }
.uc-composer .bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; font-size: 12px; color: var(--uc-muted); }
.uc-composer .invalid-feedback { padding: 0 16px 8px; }
.uc-cmt { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--uc-line); }
.uc-cmt-list { margin-top: 18px; }
.uc-cmt .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-cmt .head b { color: var(--uc-ink); font-size: 14px; }
.uc-cmt .head small { color: var(--uc-muted); font-size: 12px; }
.uc .uc-role-b { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--uc-teal-100); color: var(--uc-teal-700); }
.uc-cmt .txt { margin-top: 6px; font-size: 14.5px; color: var(--uc-text); }
.uc-cmt .acts { display: flex; gap: 16px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--uc-muted); }
.uc .uc-cmt .acts button, .uc .uc-cmt .acts a { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--uc-muted); }
.uc .uc-cmt .acts button:hover, .uc .uc-cmt .acts a:hover { color: var(--uc-teal-700); }
.uc-cmt .acts svg { width: 15px; height: 15px; }
.uc-cmt .reply { margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--uc-bg); display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.uc-cmt .reply .uc-avatar { width: 32px; height: 32px; font-size: 12px; }
.uc-cmt form textarea, .uc-rv-card form textarea { border-radius: 12px; }

/* ---------- Clases ---------- */
.uc-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.uc-pills span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--uc-bg); font-size: 13px; font-weight: 600; color: var(--uc-ink); }
.uc-pills svg { width: 15px; height: 15px; color: var(--uc-teal-600); }
.uc-chap { border: 1px solid var(--uc-line); border-radius: 16px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.uc-chap + .uc-chap { margin-top: 12px; }
.uc-chap.open { border-color: #c4e6eb; box-shadow: var(--uc-sh-md); }
.uc .uc-chap-h { width: 100%; display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 0; text-align: left; color: inherit; }
.uc-chap-h .num { width: 42px; height: 42px; border-radius: 12px; background: var(--uc-navy-900); color: #fff; display: grid; place-items: center; font: 800 15px Montserrat, sans-serif; }
.uc .uc-chap-h h4 { font-size: 16px; }
.uc-chap-h small { font-size: 13px; color: var(--uc-muted); }
.uc-chap-h .mini { width: 120px; }
.uc-chap-h .mini small { display: flex; justify-content: space-between; }
.uc-chap-h > svg { width: 20px; height: 20px; transition: transform .3s var(--uc-ease); color: var(--uc-muted); }
.uc-chap.open .uc-chap-h > svg { transform: rotate(180deg); color: var(--uc-teal-700); }
.uc-chap-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--uc-ease); }
.uc-chap.open .uc-chap-b { grid-template-rows: 1fr; }
.uc-chap-b > div { overflow: hidden; }
.uc-bar { height: 6px; border-radius: 6px; background: var(--uc-line); overflow: hidden; margin-top: 6px; }
.uc-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--uc-teal-500), var(--uc-green-500)); transition: width 1s var(--uc-ease); }
.uc-ses-list { padding: 4px 18px 16px; position: relative; }
.uc-ses { position: relative; display: grid; grid-template-columns: 62px 1fr auto; gap: 16px; align-items: center; padding: 12px; border-radius: 14px; transition: background .2s; }
.uc-ses:hover { background: var(--uc-bg); }
.uc-ses + .uc-ses::before { content: ""; position: absolute; left: 42px; top: -12px; height: 24px; width: 2px; background: var(--uc-line); }
.uc-ses .date { width: 62px; height: 62px; border-radius: 14px; background: #fff; border: 1px solid var(--uc-line); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; position: relative; z-index: 1; }
.uc-ses .date b { font: 800 22px Montserrat, sans-serif; color: var(--uc-ink); }
.uc-ses .date small { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--uc-teal-700); margin-top: 3px; letter-spacing: .05em; }
.uc-ses .date svg { width: 22px; height: 22px; color: var(--uc-teal-700); }
.uc-ses.s-done .date { background: var(--uc-bg); }
.uc-ses.s-done .date b { color: var(--uc-muted); }
.uc-ses.s-live .date { border-color: #f3b6b8; background: var(--uc-rose-100); }
.uc-ses.s-live .date small { color: #c4282d; }
.uc .uc-ses h5 { margin: 0; font: 600 15px Inter, sans-serif; color: var(--uc-ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; letter-spacing: 0; }
.uc-ses .sm { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 13px; color: var(--uc-muted); margin-top: 4px; }
.uc-ses .sm > span { display: inline-flex; align-items: center; gap: 6px; }
.uc-ses .sm svg { width: 14px; height: 14px; }
.uc-ses .sm .uc-link { font-size: 13px; }
.uc-ses.exp .sm .uc-link svg { transform: rotate(180deg); }
.uc-ses .acts { display: flex; align-items: center; gap: 8px; }
.uc-ses .more { grid-column: 2 / -1; display: none; font-size: 14px; color: var(--uc-text); padding: 4px 0 2px; }
.uc-ses.exp .more { display: block; }

/* Interruptor «ya tomé esta clase» (se conserva el input del JS actual) */
.uc .uc-watched { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--uc-ink); margin: 10px 0 0; cursor: pointer; position: relative; }
.uc .uc-watched input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.uc .uc-watched .sw { width: 38px; height: 22px; border-radius: 999px; background: var(--uc-line-strong); position: relative; transition: .2s; flex: none; }
.uc .uc-watched .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--uc-sh-sm); transition: .2s var(--uc-ease); }
.uc .uc-watched input:checked + .sw { background: var(--uc-green-500); }
.uc .uc-watched input:checked + .sw::after { left: 19px; }
.uc .uc-watched input:focus-visible + .sw { box-shadow: 0 0 0 3px rgba(20, 169, 186, .35); }
.uc .uc-watched input:disabled + .sw { opacity: .5; }

/* ---------- Grabaciones ---------- */
.uc-chap-label { font: 700 13px Montserrat, sans-serif; color: var(--uc-muted); text-transform: uppercase; letter-spacing: .08em; margin: 24px 0 12px; display: flex; align-items: center; gap: 10px; }
.uc-chap-label::after { content: ""; flex: 1; height: 1px; background: var(--uc-line); }
.uc-chap-label:first-child { margin-top: 0; }
.uc-vid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uc-vid { border: 1px solid var(--uc-line); border-radius: 16px; overflow: hidden; background: #fff; transition: .25s var(--uc-ease); display: flex; flex-direction: column; }
.uc-vid:hover { transform: translateY(-4px); box-shadow: var(--uc-sh-md); }
.uc .uc-vid-th { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--uc-navy-800), var(--uc-teal-700)); overflow: hidden; display: block; width: 100%; border: 0; padding: 0; color: #fff; }
.uc-vid-th img { width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: luminosity; transition: transform .5s var(--uc-ease); display: block; }
.uc-vid:hover .uc-vid-th img { transform: scale(1.06); }
.uc-vid-th .play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: var(--uc-navy-900); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .25s var(--uc-ease); }
.uc-vid:hover .uc-vid-th .play { transform: scale(1.1); }
.uc-vid-th .play svg { fill: currentColor; width: 20px; height: 20px; margin-left: 3px; }
.uc-vid-th .dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(7, 26, 41, .8); color: #fff; font-size: 12px; font-weight: 600; }
.uc-vid-th .ep { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.uc-vid-th .seen { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--uc-green-500); }
.uc-vid-th .lockov { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7, 26, 41, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); color: #fff; text-align: center; font-size: 13px; font-weight: 600; }
.uc-vid-th .lockov span { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.uc-vid-th .lockov svg { width: 26px; height: 26px; }
.uc-vid .bd { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.uc .uc-vid h5 { margin: 0; font: 600 14.5px/1.35 Inter, sans-serif; color: var(--uc-ink); letter-spacing: 0; }
.uc-vid .bd small { display: block; font-size: 12px; color: var(--uc-muted); margin-top: 4px; }
.uc-vid .bd .uc-watched { margin-top: auto; padding-top: 10px; }

/* ---------- Documentos ---------- */
.uc-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--uc-line-strong); border-radius: 10px; background: #fff; min-width: 220px; margin: 0; }
.uc-search input { border: 0; outline: 0; font: inherit; font-size: 14px; flex: 1; min-width: 0; color: var(--uc-ink); background: transparent; }
.uc-search svg { width: 17px; height: 17px; color: var(--uc-muted); }
.uc-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.uc .uc-filters button { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--uc-line); background: #fff; font-size: 13px; font-weight: 600; color: var(--uc-text); }
.uc .uc-filters button.on { background: var(--uc-navy-900); border-color: var(--uc-navy-900); color: #fff; }
.uc-doc { display: grid; grid-template-columns: auto 1fr auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--uc-line); border-radius: 14px; transition: .2s; }
.uc-doc + .uc-doc { margin-top: 10px; }
.uc-doc:hover { border-color: #b9e3e9; background: var(--uc-teal-50); }
.uc-ft { width: 44px; height: 52px; border-radius: 8px 14px 8px 8px; display: grid; place-items: end center; padding-bottom: 7px; font: 800 10px Montserrat, sans-serif; color: #fff; position: relative; background: linear-gradient(160deg, #7c8ea0, #4a5d70); text-transform: uppercase; }
.uc-ft::before { content: ""; position: absolute; top: 0; right: 0; width: 14px; height: 14px; background: rgba(255, 255, 255, .35); border-radius: 0 0 0 6px; }
.uc-ft.pdf { background: linear-gradient(160deg, #ef5a5f, #c4282d); }
.uc-ft.xls { background: linear-gradient(160deg, #2fbf71, #15803f); }
.uc-ft.ppt { background: linear-gradient(160deg, #f7a046, #d9690b); }
.uc-ft.doc { background: linear-gradient(160deg, #4f8ff7, #1d5fd0); }
.uc-ft.img { background: linear-gradient(160deg, #a07cf0, #6b46c1); }
.uc-ft.vid { background: linear-gradient(160deg, var(--uc-teal-500), var(--uc-teal-700)); }
.uc .uc-doc h5 { margin: 0; font: 600 15px Inter, sans-serif; color: var(--uc-ink); letter-spacing: 0; }
.uc-doc small { font-size: 13px; color: var(--uc-muted); }
.uc-doc .size { font-size: 13px; color: var(--uc-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.uc-doc .acts { display: flex; align-items: center; gap: 10px; }
.uc-doc .more { grid-column: 2 / -1; font-size: 14px; color: var(--uc-text); }
.uc-doc .uc-watched { margin-top: 4px; }

/* ---------- Exámenes ---------- */
.uc-quiz { display: grid; grid-template-columns: auto 1fr auto auto; gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--uc-line); border-radius: 16px; background: linear-gradient(135deg, #fff, #fbfdfe); }
.uc-quiz + .uc-quiz { margin-top: 14px; }
.uc-quiz .qi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.uc-quiz .qi svg { width: 26px; height: 26px; }
.uc .uc-quiz h4 { font-size: 17px; }
.uc-quiz .qm { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 13px; color: var(--uc-muted); }
.uc-quiz .qm span { display: inline-flex; align-items: center; gap: 6px; }
.uc-quiz .qm svg { width: 15px; height: 15px; color: var(--uc-teal-600); }
.uc-quiz .stat { display: flex; gap: 18px; align-items: center; }
.uc-quiz .stat > div { text-align: center; }
.uc-quiz .stat small { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--uc-muted); margin-top: 4px; }
.uc-att { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-content: center; height: 64px; max-width: 96px; margin: 0 auto; align-items: center; }
.uc-att i { width: 12px; height: 12px; border-radius: 50%; background: var(--uc-line); }
.uc-att i.u { background: var(--uc-teal-600); }
.uc-att b { font: 800 22px Montserrat, sans-serif; color: var(--uc-ink); }
.uc-quiz-res { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.uc-quiz-res svg { width: 20px; height: 20px; flex: none; }
.uc-quiz-res.ok { background: var(--uc-green-100); color: var(--uc-green-700); }
.uc-quiz-res.bad { background: var(--uc-rose-100); color: #c4282d; }
.uc-quiz-res.wait { background: var(--uc-amber-100); color: #a76400; }
.uc-quiz-res.info { background: var(--uc-blue-100); color: #1d5fd0; }

/* ---------- Certificados ---------- */
.uc-cert-quiz + .uc-cert-quiz { margin-top: 22px; }
.uc-cert-quiz > h4 { font-size: 15px; color: var(--uc-muted); margin-bottom: 12px; font-weight: 700; }
.uc-certs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.uc-certs.is-1 { grid-template-columns: minmax(0, 420px); }
.uc-cert { border: 1px solid var(--uc-line); border-radius: 18px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.uc-cert .pv { position: relative; padding: 22px; background: linear-gradient(135deg, var(--uc-teal-50), #eef6f3); display: grid; place-items: center; }
.uc-paper { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1.414 / 1; background: #fff; border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(11, 36, 54, .35); padding: 14px; transition: transform .4s var(--uc-ease); }
.uc-cert:hover .uc-paper { transform: rotate(-1.5deg) scale(1.03); }
.uc-paper .fr { position: absolute; inset: 8px; border: 2px solid var(--uc-teal-600); border-radius: 4px; }
.uc-paper .fr::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(11, 145, 162, .35); border-radius: 2px; }
.uc-paper .in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px; }
.uc-paper img.lg { height: 16px; width: auto; }
.uc-paper .t { font: 800 13px Montserrat, sans-serif; letter-spacing: .2em; color: var(--uc-navy-900); margin-top: 4px; }
.uc-paper .ln { height: 5px; border-radius: 3px; background: #e2e9ef; }
.uc-paper .nm { font: 700 11px Montserrat, sans-serif; color: var(--uc-teal-700); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-paper .seal { position: absolute; right: 16px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from 0deg, var(--uc-amber-500), #ffd27a, var(--uc-amber-500), #ffd27a, var(--uc-amber-500)); box-shadow: 0 0 0 3px #fff, 0 0 0 4px #f1d18f; }
.uc-paper.dc3 { padding: 12px 14px; }
.uc-paper.dc3 .hd { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--uc-navy-900); padding-bottom: 5px; }
.uc-paper.dc3 .hd img { height: 18px; width: auto; }
.uc-paper.dc3 .hd b { font: 800 9px Montserrat, sans-serif; color: var(--uc-navy-900); letter-spacing: .04em; text-align: right; line-height: 1.2; }
.uc-paper.dc3 .rows { display: grid; gap: 5px; margin-top: 8px; }
.uc-paper.dc3 .rows div { display: grid; grid-template-columns: 1fr 2fr; gap: 6px; }
.uc-paper.dc3 .rows i { height: 9px; border-radius: 2px; background: #eef2f6; border: 1px solid #dfe6ec; }
.uc-paper.dc3 .rows i:first-child { background: #dfe9f0; }
.uc-paper.dc3 .sig { display: flex; justify-content: space-around; margin-top: 12px; }
.uc-paper.dc3 .sig i { width: 30%; height: 1px; background: #9fb0bf; }
.uc-cert .ov-lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(240, 250, 251, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.uc-cert .ov-lock span { width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--uc-sh-md); color: var(--uc-navy-900); }
.uc-cert .ov-lock svg { width: 22px; height: 22px; }
.uc-cert .bd { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.uc .uc-cert h4 { font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.uc-cert p.d { font-size: 14px; color: var(--uc-muted); }
.uc-req { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.uc-req li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--uc-text); }
.uc-req .rc { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--uc-line-strong); flex: none; color: #fff; }
.uc-req .rc svg { width: 12px; height: 12px; stroke-width: 3; opacity: 0; }
.uc-req li.ok .rc { background: var(--uc-green-500); border-color: var(--uc-green-500); }
.uc-req li.ok .rc svg { opacity: 1; }
.uc-req li.ok { color: var(--uc-ink); }
.uc-cert .uc-btn { margin-top: auto; }

/* ---------- Reseñas ---------- */
.uc-rv-sum { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.uc-rv-big { text-align: center; padding: 20px; border-radius: 18px; background: linear-gradient(160deg, var(--uc-navy-900), var(--uc-navy-800)); color: #cfe0ea; }
.uc-rv-big b { font: 800 56px Montserrat, sans-serif; color: #fff; line-height: 1; letter-spacing: -.04em; display: block; }
.uc-rv-big .uc-stars { justify-content: center; margin: 8px 0 6px; }
.uc-rv-big .uc-stars svg { width: 20px; height: 20px; }
.uc-rv-big .uc-stars .off { color: rgba(255, 255, 255, .25); }
.uc-rv-big small { font-size: 13px; }
.uc-crit { display: grid; gap: 14px; }
.uc-crit-row { display: grid; grid-template-columns: 170px 1fr 40px; gap: 14px; align-items: center; font-size: 14px; }
.uc-crit-row span { color: var(--uc-ink); font-weight: 500; }
.uc-crit-row .uc-bar { height: 10px; margin: 0; }
.uc-crit-row .uc-bar i { background: linear-gradient(90deg, var(--uc-amber-500), #ffc65c); }
.uc-crit-row b { font: 700 14px Montserrat, sans-serif; color: var(--uc-ink); text-align: right; }
.uc-rv-form { margin-top: 24px; padding: 20px; border-radius: 16px; background: var(--uc-bg); border: 1px solid var(--uc-line); }
.uc .uc-rv-form h4 { font-size: 16px; }
.uc-pickers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.uc-picker { background: #fff; border: 1px solid var(--uc-line); border-radius: 12px; padding: 12px; text-align: center; transition: border-color .2s; }
.uc-picker.is-missing { border-color: var(--uc-rose-500); }
.uc-picker small { display: block; font-size: 12px; font-weight: 600; color: var(--uc-muted); margin-bottom: 6px; }
.uc-picker .pk { display: inline-flex; gap: 2px; }
.uc .uc-picker .pk button { background: none; border: 0; padding: 2px; color: #cfd8e0; transition: transform .15s; line-height: 0; }
.uc .uc-picker .pk button:hover { transform: scale(1.2); }
.uc .uc-picker .pk button.on { color: var(--uc-amber-500); }
.uc-picker .pk svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.uc .uc-rv-form textarea { width: 100%; border: 1px solid var(--uc-line-strong); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 14.5px; min-height: 90px; resize: vertical; outline: 0; background: #fff; color: var(--uc-ink); display: block; }
.uc .uc-rv-form textarea:focus { border-color: var(--uc-teal-500); box-shadow: 0 0 0 4px rgba(20, 169, 186, .12); }
.uc-rv-form .foot { display: flex; justify-content: flex-end; margin-top: 10px; }
.uc-rv-list { margin-top: 12px; }
.uc-rv-card { padding: 18px 0; border-top: 1px solid var(--uc-line); display: grid; grid-template-columns: auto 1fr auto; gap: 14px; }
.uc-rv-card:first-child { border-top: 0; }
.uc-rv-card .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.uc-rv-card .head b { color: var(--uc-ink); font-size: 14px; }
.uc-rv-card .head small { color: var(--uc-muted); font-size: 12px; }
.uc-rv-card .txt { margin-top: 6px; font-size: 14.5px; }
.uc-rv-card > div:nth-child(2) { min-width: 0; }
.uc .uc-kebab .dropdown-menu { border: 1px solid var(--uc-line); border-radius: 12px; box-shadow: var(--uc-sh-md); padding: 6px; min-width: 160px; }
.uc .uc-kebab .dropdown-menu > a, .uc .uc-kebab .dropdown-menu > button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--uc-text); background: none; border: 0; text-align: left; margin: 0 !important; }
.uc .uc-kebab .dropdown-menu > a:hover, .uc .uc-kebab .dropdown-menu > button:hover { background: var(--uc-bg); color: var(--uc-teal-700); }
.uc .uc-kebab .dropdown-toggle::after { display: none; }
.uc .uc-kebab .uc-icon-btn { border-color: transparent; }

/* ---------- Tarjeta de compra ---------- */
.uc-buy { background: #fff; border: 1px solid var(--uc-line); border-radius: 22px; box-shadow: var(--uc-sh-lg); overflow: hidden; }
.uc-buy-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; background: var(--uc-navy-900); }
.uc-buy-media.has-video { cursor: pointer; }
.uc-buy-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--uc-ease); display: block; }
.uc-buy-media.has-video:hover img { transform: scale(1.05); }
.uc-buy-media.has-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 41, 0) 40%, rgba(7, 26, 41, .75)); }
.uc-buy-media .pbtn { position: absolute; inset: 0; margin: auto; width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; color: var(--uc-navy-900); z-index: 1; animation: ucRing 2.4s infinite; }
@keyframes ucRing { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.uc-buy-media .pbtn svg { fill: currentColor; width: 24px; height: 24px; margin-left: 4px; }
.uc-buy-media .mcap { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #fff; font-size: 13px; font-weight: 600; z-index: 1; }
.uc-buy-body { padding: 20px 22px 22px; }
.uc-offer { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: linear-gradient(120deg, #fff3dc, #ffe9c2); color: #8a5200; font-size: 13px; margin-bottom: 16px; }
.uc-offer svg { width: 18px; height: 18px; color: var(--uc-amber-600); flex: none; }
.uc-offer b { color: #6b3f00; }
.uc-offer .t { margin-left: auto; white-space: nowrap; font: 800 14px Montserrat, sans-serif; font-variant-numeric: tabular-nums; color: #6b3f00; }
.uc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.uc .uc-price .now { font: 800 38px Montserrat, sans-serif; color: var(--uc-ink); letter-spacing: -.03em; line-height: 1; }
.uc .uc-price .cur { font-size: 14px; font-weight: 600; color: var(--uc-muted); }
.uc .uc-price #realPrice, .uc .uc-price .old { font-size: 16px !important; font-weight: 400 !important; color: var(--uc-muted) !important; text-decoration: line-through; margin: 0 !important; }
.uc .uc-price .off { height: 24px; padding: 0 8px; border-radius: 7px; background: var(--uc-rose-100); color: #c4282d; font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; }
.uc-price-note { font-size: 13px; color: var(--uc-muted); margin-top: 6px; }
.uc-cap { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(135deg, #fffaf0, #fff); border: 1px solid #f6e3bb; }
.uc .uc-cap .uc-ring { width: 46px; height: 46px; }
.uc .uc-cap .uc-ring em { font-size: 11px; }
.uc-cap b { display: block; font-size: 14px; color: var(--uc-ink); }
.uc-cap b.urg { color: #b86e00; }
.uc-cap span { display: block; font-size: 12px; color: var(--uc-muted); }
.uc-opt-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--uc-muted); margin: 18px 0 8px; }
.uc-payopt { display: grid; gap: 8px; }
.uc .uc-po { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--uc-line); border-radius: 14px; cursor: pointer; transition: .2s; background: #fff; margin: 0; font-weight: 400; }
.uc .uc-po:hover { border-color: #a9dde4; }
.uc-po .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--uc-line-strong); display: grid; place-items: center; transition: .2s; }
.uc-po .rd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--uc-teal-600); transform: scale(0); transition: .2s var(--uc-ease); }
.uc-po b { display: block; font-size: 14px; color: var(--uc-ink); }
.uc-po small { display: block; font-size: 12px; color: var(--uc-muted); line-height: 1.35; }
.uc-po .amt { font: 700 15px Montserrat, sans-serif; color: var(--uc-ink); text-align: right; white-space: nowrap; }
.uc .uc-po.on { border-color: var(--uc-teal-600); background: var(--uc-teal-50); box-shadow: 0 0 0 3px rgba(11, 145, 162, .1); }
.uc-po.on .rd { border-color: var(--uc-teal-600); }
.uc-po.on .rd::after { transform: scale(1); }
.uc-po input { position: absolute; opacity: 0; pointer-events: none; }
.uc-tix { display: flex; flex-wrap: wrap; gap: 6px; }
.uc .uc-tix label { cursor: pointer; margin: 0; position: relative; }
.uc-tix input { position: absolute; opacity: 0; pointer-events: none; }
.uc-tix span { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px; border: 1.5px dashed var(--uc-line-strong); font-size: 12.5px; font-weight: 600; color: var(--uc-text); transition: .2s; }
.uc-tix span svg { width: 14px; height: 14px; color: var(--uc-teal-600); }
.uc-tix input:checked + span { border-style: solid; border-color: var(--uc-green-500); background: var(--uc-green-100); color: var(--uc-green-700); }
.uc-tix input:focus-visible + span { box-shadow: 0 0 0 3px rgba(20, 169, 186, .3); }
.uc-tix input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.uc .uc-cta { margin-top: 16px; height: 54px; font-size: 16px; border-radius: 14px; }
.uc-cta-note { margin-top: 8px; font-size: 13px; color: #b86e00; font-weight: 600; text-align: center; }
.uc-guar { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--uc-muted); margin-top: 12px; line-height: 1.45; }
.uc-guar svg { width: 18px; height: 18px; color: var(--uc-green-600); margin-top: 1px; flex: none; }
.uc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.uc-duo.is-1 { grid-template-columns: 1fr; }
.uc .uc-duo .uc-btn { height: 44px; font-size: 14px; }
.uc-quick { display: grid; grid-template-columns: repeat(var(--uc-q, 3), 1fr); margin-top: 14px; border: 1px solid var(--uc-line); border-radius: 14px; overflow: hidden; }
.uc .uc-quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 11px 4px; font-size: 12px; font-weight: 600; color: var(--uc-text); background: #fff; border: 0; transition: .2s; }
.uc .uc-quick > * + * { border-left: 1px solid var(--uc-line); }
.uc .uc-quick a:hover { background: var(--uc-teal-50); color: var(--uc-teal-700); }
.uc-quick svg { width: 19px; height: 19px; }
.uc #favoriteToggle svg.favorite-active { color: var(--uc-rose-500); fill: currentColor; animation: ucPop .4s var(--uc-ease); }
@keyframes ucPop { 50% { transform: scale(1.35); } }
.uc .uc-report { margin: 14px auto 0; background: none; border: 0; font-size: 12.5px; color: var(--uc-muted); display: flex; align-items: center; gap: 6px; justify-content: center; }
.uc .uc-report:hover { color: var(--uc-rose-500); }
.uc-report svg { width: 14px; height: 14px; }
.uc-enr { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--uc-green-100); color: var(--uc-green-700); font-weight: 600; font-size: 14px; }
.uc-enr .bi { width: 34px; height: 34px; border-radius: 10px; background: var(--uc-green-500); color: #fff; display: grid; place-items: center; flex: none; }
.uc-enr .bi svg { stroke-width: 3; width: 18px; height: 18px; }
.uc-enr small { display: block; font-weight: 500; color: #2b7a4b; font-size: 12px; }
.uc-enr.is-off { background: var(--uc-rose-100); color: #c4282d; }
.uc-enr.is-off .bi { background: var(--uc-rose-500); }
.uc-paybar { margin-top: 16px; padding: 16px; border-radius: 14px; border: 1px solid var(--uc-line); }
.uc-paybar .r { display: flex; justify-content: space-between; font-size: 13px; color: var(--uc-muted); }
.uc-paybar .r b { font: 700 16px Montserrat, sans-serif; color: var(--uc-ink); }
.uc-paybar .uc-bar { height: 10px; margin: 10px 0; }
.uc-paybar .uc-bar i { background: linear-gradient(90deg, var(--uc-green-500), var(--uc-teal-500)); }
.uc-paybar .due { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--uc-line-strong); }
.uc-paybar .due span { font-size: 13px; color: var(--uc-muted); }
.uc-paybar .due b { font: 800 22px Montserrat, sans-serif; color: #b86e00; }
.uc-paybar .due b.ok { color: var(--uc-green-700); }
.uc-abono { display: flex; gap: 8px; margin-top: 12px; }
.uc .uc-abono .in { flex: 1; display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 12px; border: 1px solid var(--uc-line-strong); border-radius: 12px; background: #fff; margin: 0; min-width: 0; }
.uc-abono .in:focus-within { border-color: var(--uc-teal-500); box-shadow: 0 0 0 4px rgba(20, 169, 186, .12); }
.uc-abono .in span { font-weight: 700; color: var(--uc-muted); }
.uc .uc-abono input { border: 0; outline: 0; font: 600 16px Inter, sans-serif; color: var(--uc-ink); width: 100%; min-width: 0; background: transparent; }
.uc-prog { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--uc-navy-900), var(--uc-navy-800)); color: #cfe0ea; }
.uc .uc-prog .uc-ring { width: 72px; height: 72px; }
.uc-prog b { display: block; color: #fff; font-size: 15px; }
.uc-prog small { font-size: 13px; }
.uc-offline { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--uc-amber-100); border: 1px solid #f6dca3; font-size: 13px; color: #7a4b00; }
.uc-offline svg { color: var(--uc-amber-600); width: 20px; height: 20px; flex: none; }
.uc-offline b { display: block; color: #5e3a00; font-size: 14px; }
.uc .uc-side-ad { margin-top: 16px; border-radius: 18px; overflow: hidden; box-shadow: var(--uc-sh-sm); display: block; }
.uc-side-ad img { width: 100%; display: block; transition: transform .5s var(--uc-ease); }
.uc-side-ad:hover img { transform: scale(1.04); }

/* ---------- Ayuda y anuncios ---------- */
.uc-help { margin: 36px 0 0; border-radius: var(--uc-r-xl); background: linear-gradient(120deg, var(--uc-teal-700), var(--uc-teal-600) 45%, var(--uc-green-600)); padding: 34px 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; color: #e6f6f4; box-shadow: var(--uc-sh-lg); position: relative; overflow: hidden; }
.uc-help::after { content: ""; position: absolute; right: -60px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); pointer-events: none; }
.uc-help .hi { width: 68px; height: 68px; border-radius: 20px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; color: #fff; }
.uc-help .hi svg, .uc-help .hi i { width: 32px; height: 32px; font-size: 30px; }
.uc .uc-help h3 { color: #fff; font-size: 24px; font-weight: 800; }
.uc-help p { margin-top: 6px; }
.uc-help .acts { display: flex; gap: 10px; position: relative; z-index: 1; flex-wrap: wrap; }
.uc-bottom-ads { display: grid; gap: 16px; margin-top: 28px; }
.uc .uc-bottom-ads a { border-radius: var(--uc-r-lg); overflow: hidden; box-shadow: var(--uc-sh-sm); display: block; }
.uc-bottom-ads img { width: 100%; display: block; }

/* ---------- Barra fija móvil ---------- */
.uc-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--uc-line); box-shadow: 0 -10px 30px -10px rgba(11, 36, 54, .2); padding: 10px 16px; display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .35s var(--uc-ease); }
.uc-mbar.show { transform: none; }
.uc-mbar .p b { font: 800 20px Montserrat, sans-serif; color: var(--uc-ink); display: block; line-height: 1.1; }
.uc-mbar .p small { font-size: 12px; color: var(--uc-muted); }
.uc .uc-mbar .uc-btn { margin-left: auto; flex: 1; max-width: 220px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .uc-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
    .uc-hero-inner { max-width: calc(100% - 388px); }
    .uc-facts, .uc-facts.is-3 { grid-template-columns: repeat(2, 1fr); }
    .uc-fact:nth-child(3)::before { display: none; }
    .uc-fact:nth-child(n+3) { border-top: 1px solid var(--uc-line); }
    .uc-vid-grid { grid-template-columns: repeat(2, 1fr); }
    .uc-inc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
    .uc-hero { padding-bottom: 110px; }
    .uc-hero-inner { max-width: none; }
    .uc-layout { display: flex; flex-direction: column; gap: 0; }
    .uc-main { display: contents; }
    .uc-facts { order: 1; width: 100%; }
    .uc-aside { order: 2; margin-top: 20px; position: static; width: 100%; }
    .uc-rest { order: 3; width: 100%; }
    .uc-mbar { display: flex; }
    .uc { padding-bottom: 96px; }
    .uc-help { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 760px) {
    .uc-container { width: calc(100% - 32px); }
    .uc-facts, .uc-facts.is-3 { grid-template-columns: 1fr 1fr; }
    .uc-fact { padding: 16px 14px; gap: 10px; }
    .uc-fact .fi { width: 36px; height: 36px; border-radius: 10px; }
    .uc-fact b { font-size: 15px; }
    .uc-panel-status { gap: 14px; }
    .uc-panel-status .acts { margin-left: 0; width: 100%; }
    .uc-panel-status .acts .uc-btn { flex: 1; }
    .uc-cd > div { min-width: 52px; }
    .uc-steps { grid-template-columns: repeat(var(--uc-steps, 5), 86px); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .uc-steps::before, .uc-steps .fill { left: 43px; right: auto; width: calc(86px * (var(--uc-steps, 5) - 1)); }
    .uc-steps .fill { width: 0; }
    .uc-step b { font-size: 12px; line-height: 1.25; }
    .uc-step small { display: none; }
    .uc-route-head { flex-direction: column; align-items: flex-start; gap: 4px; }
    .uc-block { padding: 20px 18px; }
    .uc-inc, .uc-vid-grid, .uc-certs, .uc-pickers { grid-template-columns: 1fr 1fr; }
    .uc-desc ul { grid-template-columns: 1fr; }
    .uc-rv-sum { grid-template-columns: 1fr; }
    .uc-crit-row { grid-template-columns: 120px 1fr 32px; font-size: 13px; }
    .uc-ses { grid-template-columns: 52px 1fr; gap: 12px; }
    .uc-ses .date { width: 52px; height: 52px; }
    .uc-ses .acts { grid-column: 2; flex-wrap: wrap; }
    .uc-ses + .uc-ses::before { left: 37px; }
    .uc-chap-h { grid-template-columns: auto 1fr auto; }
    .uc .uc-chap-h { gap: 12px; padding: 14px; }
    .uc-chap-h .mini { display: none; }
    .uc-quiz { grid-template-columns: auto 1fr; }
    .uc-quiz .stat, .uc-quiz > .uc-btn { grid-column: 1 / -1; }
    .uc-quiz .stat { justify-content: space-around; }
    .uc-doc { grid-template-columns: auto 1fr; }
    .uc-doc .size { display: none; }
    .uc-doc .acts { grid-column: 1 / -1; justify-content: flex-end; }
    .uc-teacher { grid-template-columns: auto 1fr; }
    .uc-teacher .acts { grid-column: 1 / -1; flex-direction: row; }
    .uc-teacher .acts .uc-btn { flex: 1; }
    .uc-help { padding: 28px 22px; }
    .uc-help .acts { flex-direction: column; width: 100%; }
    .uc-search { min-width: 0; flex: 1; }
    .uc-lock-note { flex-wrap: wrap; }
    .uc-lock-note .uc-btn { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
    .uc-inc, .uc-vid-grid, .uc-certs { grid-template-columns: 1fr; }
    .uc-pickers { grid-template-columns: 1fr 1fr; }
    .uc-cd > div { min-width: 0; flex: 1; }
    .uc-cd { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .uc *, .uc *::before, .uc *::after { animation: none !important; transition: none !important; }
}

/* Formularios de respuesta que inserta comment.min.js dentro de .comments-card */
.uc-rv-card > form { grid-column: 1 / -1; margin-top: 0 !important; }
.uc-cmt > form { grid-column: 2; margin-top: 12px !important; }
.uc-rv-card > form .form-control, .uc-cmt > form .form-control { border-radius: 12px; border-color: var(--uc-line-strong); }
.uc-rv-big .uc-stars { display: flex; }
.uc-rv-big small { display: block; }
.uc-desc h1, .uc-desc h2, .uc-desc h3, .uc-desc h4 { font-size: 17px; margin: 18px 0 8px; }
.uc-desc > :first-child { margin-top: 0; }
