﻿/* ============================================================
   BE SKILLZ ACADEMY — SPA Ableton Live 12
   Toda la web vive dentro del DAW. Sin scroll. Sidebar es nav.
   ============================================================ */

/* ---------- TOKENS — Ableton 12 real ---------- */
:root {
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --font-ui: 'Inter', system-ui, sans-serif;

    --bg-deep: #1a1a1a;
    --bg-0:    #1f1f1f;
    --bg-1:    #2a2a2a;
    --bg-2:    #323232;
    --bg-3:    #3d3d3d;
    --bg-4:    #4a4a4a;
    --bg-5:    #5a5a5a;
    --bg-hover:#404040;

    --tx-0: #ffffff;
    --tx-1: #e8e8e8;
    --tx-2: #a7a7a7;
    /* #8a8a8a daba 4.16:1 sobre el fondo del body (#2a2a2a) y no llegaba al
       mínimo AA de 4.5:1. Se usa en 102 lugares, entre ellos los labels del
       formulario de inscripción y los títulos del menú. #a1a1a1 da 5.58:1. */
    --tx-3: #a1a1a1;
    /* Solo decorativo (2.15:1): nunca usar para texto que haya que leer. */
    --tx-4: #5c5c5c;

    /* Dorado de marca — el mismo del logo, el favicon y el pack de marca.
       Antes convivían dos amarillos: este token valía #f8d263 y en paralelo
       había 101 literales #f8a900 sueltos. Ahora hay UNO solo, acá. */
    --c-yellow:  #f8a900;
    --c-orange:  #f0916d;
    --c-salmon:  #ff847c;
    --c-pink:    #f289bb;
    --c-purple:  #b786d9;
    --c-blue:    #6fa8ff;
    --c-cyan:    #5ccded;
    --c-mint:    #5dd3b8;
    --c-green:   #85d43c;
    --c-lime:    #b6e84a;

    --glow-yellow: rgba(248,169,0,.35);
    --glow-pink:   rgba(242,137,187,.35);
    --glow-cyan:   rgba(92,205,237,.35);
    --glow-mint:   rgba(93,211,184,.35);
    --glow-green:  rgba(133,212,60,.35);
    --glow-purple: rgba(183,134,217,.35);

    --rec: #ff3b3b;

    --ease: cubic-bezier(.16,1,.3,1);
    --ease-soft: cubic-bezier(.19,1,.22,1);

    /* ============================================================
       ESCALA — tipografía y espaciado
       ------------------------------------------------------------
       No es una escala teórica: cada escalón está donde el sitio YA
       tenía un pico de uso (el número al lado son las veces que se usa).
       Por eso el espaciado va de a 2px hasta 16 y no en grilla de 4:
       6px, 10px y 14px son picos reales y forzarlos movería 419
       declaraciones ±2px, descuadrando toda la UI de controles.

       CÓMO USARLA: en código NUEVO usá siempre los tokens. Lo viejo se
       migra de a poco; migrar los 828 valores de una es más riesgo que
       beneficio (el 60% de los `px` del archivo NO son escala: son
       border-radius, box-shadow y transform).
       ============================================================ */

    /* Tipografía — cubre el 91,7% de los font-size en px */
    --fs-3xs:   9px;   /*  35 · micro-labels, timers, chips mono   */
    --fs-2xs:  10px;   /*  84 · kickers mono, badges, tags         */
    --fs-xs:   11px;   /* 116 · el tamaño de UI del sitio          */
    --fs-sm:   12px;   /*  87 · texto secundario, metadatos        */
    --fs-md:   13px;   /* 119 · cuerpo de tarjetas y listas        */
    --fs-base: 14px;   /*  46 · cuerpo de lectura larga            */
    --fs-lg:   15px;   /*  22 · leads y subtítulos                 */
    --fs-xl:   18px;   /*  13 · títulos de sección                 */
    --fs-2xl:  20px;
    --fs-3xl:  26px;
    --fs-4xl:  32px;

    /* ⚠️ NO es un escalón: es el mínimo que evita que Safari iOS haga
       zoom al enfocar un input. Vive solo en inputs dentro de
       @media (max-width:600px). Si baja a 15px, CADA formulario del
       portal hace zoom en iPhone. No lo toques. */
    --fs-input-ios: 16px;

    /* Espaciado — cubre el 91,4% de padding/margin/gap */
    --sp-2:   2px;   --sp-4:   4px;   --sp-6:   6px;   --sp-8:   8px;
    --sp-10: 10px;   --sp-12: 12px;   --sp-14: 14px;   --sp-16: 16px;
    --sp-20: 20px;   --sp-24: 24px;   --sp-32: 32px;   --sp-48: 48px;

    /* ============================================================
       Z-INDEX — escala semántica
       ------------------------------------------------------------
       Antes: 24 valores sueltos entre 0 y 10000. Esta escala respeta
       EXACTAMENTE el orden de apilamiento que ya tenía el sitio,
       incluidas dos rarezas que se conservan a propósito:
       el bot Skilly y el botón flotante quedan POR ENCIMA de los
       modales de la tienda. Es lo que hay en producción hoy: si te
       parece mal, cambialo a conciencia, no "de prolijo".
       ============================================================ */
    --z-sticky:  100;  /* barras internas, cabeceras de lista       */
    --z-nav:     200;  /* sidebar, transport, hamburguesa           */
    --z-float:   300;  /* tooltips, hints, FABs, CTA de acceso      */
    --z-overlay: 400;  /* paneles deslizables: carrito, zoom, perfil */
    --z-modal:   500;  /* modales, anuncios, el bot Skilly          */
    --z-max:     700;  /* skip-link y modal de artista              */
    --z-boot:    800;  /* pantalla de arranque                      */
    /* Los +1..+5 sobre estos tokens ordenan lo de adentro de cada capa. */
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    background: var(--bg-deep);
    overflow: hidden;
    height: 100%;
}
body {
    background: var(--bg-1);
    color: var(--tx-1);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    cursor: default;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--c-yellow); color: var(--bg-0); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-5); }

:focus-visible {
    outline: 1px solid var(--c-yellow);
    outline-offset: 1px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: -100px; left: 12px;
    z-index: var(--z-max);
    padding: 8px 12px;
    background: var(--c-yellow);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    border-radius: 3px;
    transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

main { height: 100vh; }

/* ============================================================
   BOOT LOADER
   ============================================================ */
body.is-booting { overflow: hidden; }
.boot-loader {
    position: fixed; inset: 0; z-index: var(--z-boot);
    display: grid; place-items: center;
    background: var(--bg-deep);
    transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.boot-loader::before {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,.018) 0 1px, transparent 1px 6px);
    pointer-events: none;
}
.boot-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.boot-card {
    width: min(460px, 88vw);
    padding: 30px 30px 26px;
    background: var(--bg-1);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(0,0,0,.55);
    font-family: var(--font-mono);
    animation: bootCardIn .7s var(--ease) both;
}
.boot-row-top {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 16px; margin-bottom: 20px;
    border-bottom: 1px solid var(--bg-5);
    font-size: 11px; letter-spacing: .15em; color: var(--tx-2);
}
.boot-logo-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--c-yellow); box-shadow: 0 0 8px var(--glow-yellow); }
.boot-logo-name {
    font-family: var(--font-ui); font-weight: 900;
    font-size: 13px; color: var(--tx-0); letter-spacing: .14em;
}
.boot-meta { margin-left: auto; color: var(--tx-3); font-size: 10px; letter-spacing: .12em; }

.boot-stage {
    display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px;
}
.boot-stage-label { font-size: 10px; letter-spacing: .25em; color: var(--tx-3); text-transform: uppercase; }
.boot-counter {
    margin-left: auto;
    font-family: var(--font-ui); font-weight: 900;
    font-size: 40px; line-height: 1;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.85) 50%, var(--c-yellow) 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    letter-spacing: -.02em;
}
.boot-percent { font-family: var(--font-ui); font-weight: 700; font-size: 18px; color: var(--c-yellow); }
.boot-bar { width: 100%; height: 3px; background: var(--bg-3); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.boot-bar-fill {
    display: block; height: 100%; width: 62%;
    background: linear-gradient(90deg, var(--c-mint), var(--c-yellow), var(--c-orange));
    animation: bootBarFill 2.8s var(--ease-soft) both;
}
.boot-log { list-style: none; font-size: 10px; color: var(--tx-3); letter-spacing: .1em; line-height: 1.95; }
.boot-log li {
    display: flex; align-items: center; gap: 6px;
    opacity: 0; transform: translateX(-6px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.boot-log li.is-active { opacity: 1; transform: translateX(0); }
.boot-log-arrow { color: var(--c-yellow); }
.boot-log em { margin-left: auto; font-style: normal; color: var(--bg-4); font-weight: 700; }
.boot-log li.is-active em { color: var(--c-mint); }

@keyframes bootCardIn {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bootBarFill { from { width: 62%; } to { width: 100%; } }

/* ============================================================
   ABLETON WINDOW
   ============================================================ */
.hero-ableton {
    position: relative;
    height: 100vh;
    background: var(--bg-deep);
    overflow: hidden;
}

.ab-window {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 40px 1fr auto 22px;
    background: var(--bg-1);
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--tx-1);
    user-select: none;
}

/* ----- Menubar ----- */
.ab-menubar {
    display: flex; align-items: center;
    gap: 16px;
    padding: 0 14px 0 12px;
    background: var(--bg-0);
    border-bottom: 1px solid var(--bg-deep);
    font-size: 12px;
    color: var(--tx-2);
}
.ab-window-dots { display: flex; gap: 7px; margin-right: 8px; }
.ab-window-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.ab-window-dots i:nth-child(1) { background: #ff5f57; }
.ab-window-dots i:nth-child(2) { background: #febc2e; }
.ab-window-dots i:nth-child(3) { background: #28c840; }
.ab-menu { cursor: default; transition: color .15s; }
.ab-menu:hover { color: var(--tx-0); }
.ab-menu-spacer { flex: 1; }
.ab-menu-project {
    color: var(--tx-3);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
}
a.ab-menu--registro {
    color: var(--c-yellow);
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .15s var(--ease);
}
a.ab-menu--registro:hover { color: var(--tx-0); }

/* ----- Transport ----- */
.ab-transport {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    padding: 0 14px;
    background: var(--bg-1);
    border-bottom: 1px solid var(--bg-deep);
    overflow-x: auto;
    scrollbar-width: none;
}
.ab-transport::-webkit-scrollbar { display: none; }
.ab-tp-group { display: flex; align-items: center; gap: 7px; color: var(--tx-2); font-size: 11px; }
.ab-tp-icon i { display: inline-block; width: 14px; height: 14px; background: var(--bg-3); border: 1px solid var(--bg-5); border-radius: 2px; }
.ab-tp-pill {
    padding: 2px 7px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    font-size: 10px;
    color: var(--tx-1);
}
.ab-tp-pill.active { background: var(--c-yellow); color: var(--bg-0); border-color: var(--c-yellow); }
.ab-tp-num {
    padding: 2px 8px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    color: var(--tx-0);
    font-family: var(--font-mono);
    font-size: 11px;
    min-width: 50px;
    text-align: center;
}
.ab-tp-meter {
    display: flex; gap: 1px; align-items: flex-end;
    width: 28px; height: 14px;
    padding: 1px;
    background: var(--bg-deep);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
}
.ab-tp-meter i { flex: 1; height: 30%; background: var(--c-yellow); display: block; }
.ab-tp-meter i:nth-child(1) { height: 80%; }
.ab-tp-meter i:nth-child(2) { height: 60%; }
.ab-tp-meter i:nth-child(3) { height: 40%; }
.ab-tp-meter i:nth-child(4) { height: 70%; }
.ab-tp-text { color: var(--tx-1); font-size: 11px; padding: 0 4px; }
.ab-tp-text-sm { color: var(--tx-2); font-size: 10px; font-family: var(--font-mono); }
.ab-tp-pair { display: flex; gap: 2px; }
.ab-circle {
    width: 12px; height: 12px; border-radius: 50%;
    border: 1px solid var(--bg-5);
    background: var(--bg-3);
}
.ab-circle.filled { background: var(--tx-1); border-color: var(--tx-1); }

.ab-tp-center { gap: 5px; }
.ab-tp-key {
    padding: 2px 8px;
    background: var(--c-purple);
    color: #fff;
    border-radius: 2px;
    font-weight: 600;
    font-size: 11px;
}
.ab-tp-key-text { color: var(--tx-1); font-size: 11px; padding: 0 6px; }
.ab-divider { width: 1px; height: 16px; background: var(--bg-5); margin: 0 4px; }
.ab-tp-arrow { color: var(--tx-2); font-size: 12px; }
.ab-tp-time {
    font-family: var(--font-mono);
    color: var(--tx-1);
    font-size: 11px;
    padding: 2px 8px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    min-width: 50px;
    text-align: center;
}
.ab-play, .ab-stop, .ab-rec {
    width: 22px; height: 20px;
    display: grid; place-items: center;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    cursor: default;
}
.ab-play svg, .ab-stop svg, .ab-rec svg { width: 11px; height: 11px; }
.ab-play { color: var(--c-green); }
.ab-play.active { background: var(--c-green); color: var(--bg-0); border-color: var(--c-green); }
.ab-stop { color: var(--tx-1); }
.ab-rec { color: var(--rec); }
.ab-tp-plus, .ab-tp-loop { color: var(--c-yellow); font-size: 12px; padding: 0 4px; }
.ab-tp-right { margin-left: auto; gap: 6px; }

/* ============================================================
   BODY: Sidebar + Browser + Stage
   ============================================================ */
.ab-body {
    display: grid;
    grid-template-columns: 200px 200px 1fr;
    background: var(--bg-1);
    overflow: hidden;
    min-height: 0;
}

/* ----- Sidebar (nav del sitio) ----- */
.ab-sidebar {
    background: var(--bg-1);
    border-right: 1px solid var(--bg-deep);
    overflow-y: auto;
    padding-bottom: 16px;
}
.ab-search {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px;
    margin: 8px 10px 14px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    font-size: 11px;
    color: var(--tx-3);
    transition: border-color .15s var(--ease);
}
.ab-search:focus-within {
    border-color: var(--c-yellow);
    box-shadow: 0 0 0 1px rgba(248,169,0,.25);
}
.ab-search-icon { color: var(--tx-3); font-size: 10px; flex-shrink: 0; }
.ab-search-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--tx-0);
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 2px 0;
    min-width: 0;
}
.ab-search-input::placeholder { color: var(--tx-3); }
.ab-search-tools { color: var(--tx-3); font-size: 10px; flex-shrink: 0; }

.ab-side-section { margin-bottom: 14px; }
.ab-side-title {
    padding: 4px 14px;
    font-size: 11px;
    color: var(--tx-3);
    font-weight: 400;
    margin-bottom: 2px;
}
.ab-side-section ul { list-style: none; margin: 0; padding: 0; }
.ab-side-section li {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--tx-1);
    cursor: default;
    transition: background .12s var(--ease), color .12s var(--ease);
}
.ab-side-section li:hover { background: var(--bg-2); }

/* Items de la nav del sitio (clickeables) */
.ab-nav-section .ab-side-title { color: var(--c-yellow); font-weight: 600; letter-spacing: .12em; font-size: 10px; text-transform: uppercase; }
.ab-nav-list li {
    cursor: pointer;
    padding: 6px 14px;
}
.ab-nav-list li:hover { background: var(--bg-2); }
.ab-nav-list li.active {
    background: var(--bg-3);
    color: var(--tx-0);
    box-shadow: inset 2px 0 0 var(--c-yellow);
}

.ab-col-dot { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.ab-cat-ico {
    width: 14px; height: 14px;
    display: grid; place-items: center;
    color: var(--tx-3); font-size: 11px; flex-shrink: 0;
}

/* ----- Browser content ----- */
.ab-browser {
    background: var(--bg-1);
    border-right: 1px solid var(--bg-deep);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.ab-browser-head {
    padding: 8px 14px;
    border-bottom: 1px solid var(--bg-deep);
    font-size: 11px;
    color: var(--tx-2);
}
.ab-browser-list {
    padding: 4px 0;
    flex: 1;
    overflow-y: auto;
    font-size: 11px;
}
.ab-browser-row {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 12px;
    color: var(--tx-1);
}
.ab-browser-row:hover { background: var(--bg-2); }
.ab-folder { color: var(--tx-3); font-size: 9px; }
.ab-folder-name { flex: 1; color: var(--tx-1); font-weight: 600; letter-spacing: .02em; }
.ab-folder-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ============================================================
   STAGE (centro): track tops + clip grid + views
   ============================================================ */
.ab-stage {
    position: relative;
    display: grid;
    grid-template-rows: 22px 44px 1fr;
    background: var(--bg-1);
    overflow: hidden;
    min-width: 0;
}

/* Track tops */
.ab-track-tops {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1fr repeat(2, 90px) 110px;
    background: var(--bg-deep);
}
.ab-track-top {
    padding: 5px 10px;
    font-size: 11px;
    color: var(--bg-0);
    font-weight: 600;
    border-right: 1px solid var(--bg-deep);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.ab-track-top-spacer { background: var(--bg-1); }

/* Clip grid mini (siempre arriba — decorativo) */
.ab-clip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1fr repeat(2, 90px) 110px;
    grid-template-rows: repeat(4, 1fr);
    background: var(--bg-1);
    overflow: hidden;
}
.ab-clip-col {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    border-right: 1px solid var(--bg-deep);
    grid-row: 1 / 5;
}
.ab-clip-col:nth-child(1) { grid-column: 1; }
.ab-clip-col:nth-child(2) { grid-column: 2; }
.ab-clip-col:nth-child(3) { grid-column: 3; }
.ab-clip-col:nth-child(4) { grid-column: 4; }

.ab-slot {
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid var(--bg-deep);
    background: var(--bg-2);
    position: relative;
    cursor: pointer;
    transition: background .12s var(--ease);
}
.ab-slot:hover { background: var(--bg-3); }
/* Clip activo toma color de la columna (Ableton real) */
.ab-slot.active {
    background: var(--slot-c, var(--c-yellow));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.ab-stop-mini {
    width: 6px; height: 6px;
    background: var(--bg-4);
    border-radius: 1px;
}
.ab-clip-mini {
    position: absolute;
    inset: 3px;
    background: var(--slot-c, var(--c-yellow));
    border-radius: 1px;
    border: 1px solid rgba(0,0,0,.25);
}

.ab-dropzone-mini {
    grid-column: 5;
    grid-row: 1 / 5;
    background: var(--bg-1);
    border-right: 1px solid var(--bg-deep);
}

.ab-scenes-mini {
    grid-column: 8;
    grid-row: 1 / 5;
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    background: var(--bg-2);
    border-left: 1px solid var(--bg-deep);
}
.ab-scene-mini {
    display: flex; align-items: center; gap: 6px;
    padding: 0 12px;
    border-bottom: 1px solid var(--bg-deep);
    font-size: 10px;
    color: var(--tx-2);
    font-family: var(--font-mono);
    cursor: default;
}
.ab-scene-play {
    width: 0; height: 0;
    border-left: 5px solid var(--tx-2);
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
}
.ab-scene-mini span:last-child { margin-left: auto; }

/* ============================================================
   VIEWS — área central que cambia (arrangement area)
   ============================================================ */
.ab-views {
    position: relative;
    background: var(--bg-1);
    overflow: hidden;
    border-top: 1px solid var(--bg-deep);
}
.ab-view {
    position: absolute;
    inset: 0;
    padding: 36px 48px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .32s var(--ease), transform .32s var(--ease);
    /* Las vistas ocultas siguen en inset:0, o sea DENTRO del viewport: para el
       navegador sus imágenes están visibles y las descarga todas al arrancar
       (la home se bajaba 2,8 MB de fotos de la tienda sin abrirla). Con esto
       saltea el render del subárbol y el loading="lazy" por fin difiere de verdad. */
    content-visibility: hidden;
}
.ab-view.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    content-visibility: visible;
}

.view-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 12px;
    margin-bottom: 20px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .18em;
    color: var(--tx-2);
    text-transform: uppercase;
}
.view-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--c-yellow);
    box-shadow: 0 0 6px var(--glow-yellow);
}

.view-title {
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1;
    letter-spacing: -.025em;
    color: var(--tx-0);
    margin-bottom: 16px;
}
.view-title .yellow { color: var(--c-yellow); }
.view-title .green { color: var(--c-green); }
.view-title .cyan { color: var(--c-cyan); }
.view-title .purple { color: var(--c-purple); }
.view-title .orange { color: var(--c-orange); }
.view-title .pink { color: var(--c-pink); }
.view-title .mint { color: var(--c-mint); }

.view-desc {
    font-size: 15px;
    color: var(--tx-1);
    line-height: 1.65;
    max-width: 620px;
    margin-bottom: 24px;
}

.view-instruction {
    margin: 24px 0;
    padding: 12px 16px;
    background: var(--bg-2);
    border-left: 2px solid var(--c-yellow);
    border-radius: 0 4px 4px 0;
}
.view-instruction .vi-mono {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-yellow);
    letter-spacing: .12em;
}

.view-cta-row {
    display: flex; gap: 10px; flex-wrap: wrap;
    margin-top: 24px;
}
.view-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 18px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .15em;
    border-radius: 3px;
    transition: all .2s var(--ease);
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
}
.view-btn.primary {
    background: var(--c-yellow);
    color: var(--bg-0);
}
.view-btn.primary:hover {
    background: #fff;
    box-shadow: 0 0 18px var(--glow-yellow);
    transform: translateY(-1px);
}
.view-btn.ghost {
    background: var(--bg-2);
    border-color: var(--bg-5);
    color: var(--tx-1);
}
.view-btn.ghost:hover {
    border-color: var(--c-yellow);
    color: var(--c-yellow);
    background: rgba(248,169,0,.05);
}
.view-btn span { transition: transform .2s var(--ease); display: inline-block; }
.view-btn:hover span { transform: translateX(2px); }

/* CARDS dentro de las views (cursos) */
.view-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.view-card {
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.view-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--vc-color) 0%, transparent 60%);
    opacity: .08;
    pointer-events: none;
}
.view-card:hover { transform: translateY(-2px); border-color: var(--vc-color); box-shadow: 0 0 24px var(--vc-glow); }
.view-card.inicial { --vc-color: var(--c-green); --vc-glow: var(--glow-green); }
.view-card.avanzado { --vc-color: var(--c-purple); --vc-glow: var(--glow-purple); }

.vc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.vc-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .15em; color: var(--vc-color); font-weight: 700; }
.vc-led { width: 8px; height: 8px; border-radius: 50%; background: var(--vc-color); box-shadow: 0 0 6px var(--vc-glow); }
.vc-title { font-family: var(--font-ui); font-weight: 900; font-size: 28px; color: var(--tx-0); line-height: 1; margin-bottom: 4px; letter-spacing: -.02em; }
.vc-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--vc-color); margin-bottom: 14px; }
.vc-desc { font-size: 13px; color: var(--tx-2); line-height: 1.6; margin-bottom: 16px; }
.vc-meta {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 12px 0; margin-bottom: 16px;
    border-top: 1px solid var(--bg-5); border-bottom: 1px solid var(--bg-5);
    font-family: var(--font-mono); font-size: 9px; letter-spacing: .15em;
    color: var(--tx-2);
}
.vc-meta span { padding: 2px 8px; background: var(--bg-1); border-radius: 2px; }
.vc-cta {
    width: 100%;
    padding: 10px;
    background: var(--vc-color);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .15em;
    border-radius: 3px;
    transition: all .2s var(--ease);
    text-transform: uppercase;
}
.vc-cta:hover { background: #fff; box-shadow: 0 0 16px var(--vc-glow); }

/* STEPS (workflow) */
.view-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.view-step {
    padding: 18px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    position: relative;
}
.view-step::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px; background: var(--c-cyan);
}
.vs-num { font-family: var(--font-mono); font-size: 11px; color: var(--c-cyan); letter-spacing: .15em; font-weight: 700; display: block; margin-bottom: 6px; }
.view-step h4 { font-family: var(--font-ui); font-weight: 900; font-size: 16px; color: var(--tx-0); margin-bottom: 8px; letter-spacing: .04em; }
.view-step p { font-size: 12px; color: var(--tx-2); line-height: 1.55; }

/* BIO (about) */
.view-bio { max-width: 680px; margin-bottom: 24px; }
.view-bio p { font-size: 14px; color: var(--tx-1); line-height: 1.75; margin-bottom: 12px; }
.view-bio strong { color: var(--tx-0); font-weight: 600; }
.view-bio em { color: var(--c-purple); font-style: normal; }

.view-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vt {
    padding: 5px 10px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .12em;
    color: var(--tx-2);
}
.vt.hot { color: var(--c-yellow); border-color: var(--c-yellow); }

/* PERKS (comunidad) */
.view-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 24px 0;
}
.view-perk {
    display: flex; align-items: center; gap: 10px;
    padding: 12px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
    font-size: 12px;
    color: var(--tx-1);
}
.vp-icon {
    width: 26px; height: 26px;
    background: var(--bg-3);
    border-radius: 3px;
    display: grid; place-items: center;
    color: var(--c-orange);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

/* FORMS dentro de views */
.view-form, .view-form-grid {
    max-width: 520px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.view-form-grid { max-width: 680px; gap: 14px; }
.vf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vf-field { display: flex; flex-direction: column; gap: 5px; }
.vf-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; color: var(--tx-3); }
.vf-lbl .req { color: var(--rec); }

.view-input {
    background: var(--bg-deep);
    border: 1px solid var(--bg-5);
    color: var(--tx-0);
    padding: 11px 14px;
    font-size: 13px;
    border-radius: 3px;
    outline: none;
    transition: all .15s var(--ease);
    font-family: var(--font-ui);
    width: 100%;
}
.view-input::placeholder { color: var(--tx-3); }
.view-input:focus {
    border-color: var(--c-yellow);
    box-shadow: 0 0 0 2px rgba(248,169,0,.18);
    background: var(--bg-2);
}
.view-input.is-error {
    border-color: var(--rec);
    box-shadow: 0 0 0 2px rgba(255,59,59,.15);
}
textarea.view-input { min-height: 80px; resize: vertical; }
select.view-input {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a7a7a7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 32px;
}

.field-error {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--rec);
    letter-spacing: .1em;
    min-height: 14px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.field-error.is-shown { opacity: 1; transform: translateY(0); }

.view-form-foot {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-3);
    letter-spacing: .08em;
    margin-top: 6px;
}

/* ============================================================
   DEVICE CHAIN abajo (cambia con cada vista)
   ============================================================ */
.ab-device-chain {
    background: var(--bg-2);
    border-top: 1px solid var(--bg-deep);
    padding: 8px 14px;
    overflow: hidden;
    position: relative;
}
.ab-dc-row {
    display: none;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}
.ab-dc-row.is-active { display: flex; }

.ab-dc-info {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-3);
    letter-spacing: .08em;
}
.ab-dc-icon {
    display: inline-grid; place-items: center;
    width: 14px; height: 14px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 50%;
    color: var(--c-yellow);
    font-size: 9px;
    font-style: italic;
    font-weight: 700;
}
.ab-dc-text { color: var(--tx-2); }

.ab-dc-devices {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    overflow-x: auto;
}
.ab-dc-device {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    background: var(--bg-1);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-2);
    letter-spacing: .08em;
    white-space: nowrap;
    cursor: default;
    transition: all .15s var(--ease);
}
.ab-dc-device:hover { border-color: var(--c-yellow); }
.ab-dc-device.on { background: var(--bg-3); color: var(--tx-1); }
.ab-dc-led {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--bg-5);
    flex-shrink: 0;
}
.ab-dc-device.on .ab-dc-led {
    background: var(--c-yellow);
    box-shadow: 0 0 5px var(--glow-yellow);
}
.ab-dc-name { font-weight: 700; color: var(--tx-1); }
.ab-dc-val { color: var(--tx-3); font-size: 10px; }
.ab-dc-device.on .ab-dc-val { color: var(--c-yellow); }

/* ============================================================
   FOOTER
   ============================================================ */
.ab-footer {
    display: flex; align-items: center;
    padding: 0 14px;
    background: var(--bg-0);
    border-top: 1px solid var(--bg-deep);
    font-size: 10px;
    color: var(--tx-3);
    gap: 16px;
}
.ab-footer-dropzone {
    flex: 1;
    text-align: center;
    color: var(--tx-3);
    font-size: 11px;
}
.ab-footer-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ab-footer-btn {
    padding: 2px 10px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    color: var(--tx-1);
    font-size: 10px;
}
.ab-footer-track { color: var(--c-yellow); font-size: 11px; }
.ab-footer-mini {
    padding: 2px 8px;
    background: var(--c-yellow);
    color: var(--bg-0);
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-toggle {
    display: none;
    position: fixed;
    top: 12px; right: 14px;
    z-index: calc(var(--z-nav) + 2);
    /* 44px es el mínimo táctil recomendado: con 32px de alto se erraba el toque. */
    width: 44px; height: 44px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    cursor: pointer;
}
.nav-toggle span {
    position: absolute;
    left: 9px; right: 9px;
    height: 2px;
    border-radius: 99px;
    background: var(--tx-0);
    transition: transform .35s var(--ease-soft), top .35s var(--ease-soft), opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 9px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .ab-window { grid-template-rows: 40px 1fr auto 22px; }
    .ab-body { grid-template-columns: 180px 1fr; }
    .ab-browser { display: none; }
    .ab-view { padding: 28px 32px; }
    .view-cards { grid-template-columns: 1fr; }
    .view-steps { grid-template-columns: 1fr; }
    .view-perks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    html, body { overflow-y: auto; height: auto; }
    main { height: auto; }

    /* Targets táctiles: en el escritorio 30px de alto está bien porque se
       apunta con el mouse, pero con el dedo hacen errar el toque. Acá arriba
       del móvil los llevamos a 44px sin tocar el diseño de desktop. */
    .ab-nav-list li,
    .ab-nav-list li > a,
    .ab-nav-parent-btn,
    .pk-nav-link,
    .ab-foot-links li > a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .view-back { min-height: 44px; }
    .ab-window {
        position: relative;
        min-height: 100vh;
        grid-template-rows: 40px auto auto 22px;
    }
    .ab-body {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    /* Sidebar como drawer mobile */
    .ab-sidebar {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        left: auto;
        width: min(280px, 80vw);
        z-index: calc(var(--z-nav) + 1);
        background: var(--bg-1);
        border-left: 1px solid var(--bg-5);
        box-shadow: -20px 0 50px rgba(0,0,0,.55);
        transform: translateX(100%);
        transition: transform .42s var(--ease-soft);
        padding-top: 60px;
    }
    .ab-sidebar.is-open { transform: translateX(0); }

    body.nav-open { overflow: hidden; }
    body.nav-open::before {
        content: '';
        position: fixed; inset: 0;
        background: rgba(0,0,0,.55);
        z-index: var(--z-nav);
        animation: navOverlayIn .3s ease forwards;
    }
    @keyframes navOverlayIn { from { opacity: 0; } to { opacity: 1; } }

    .nav-toggle { display: block; }

    .ab-stage { grid-template-rows: 20px 32px auto; }
    .ab-views { min-height: 60vh; }
    .ab-view { padding: 24px 20px; }
    .view-title { font-size: clamp(24px, 8vw, 36px); }
    .view-desc { font-size: 14px; }
    .view-perks { grid-template-columns: 1fr; }
    .vf-row { grid-template-columns: 1fr; }

    .ab-device-chain { padding: 8px 12px; }
    .ab-dc-devices { padding-bottom: 4px; }

    .ab-track-tops { grid-template-columns: repeat(4, 1fr); }
    .ab-track-tops > *:nth-child(n+5) { display: none; }
    .ab-clip-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 1fr); }
    .ab-clip-grid > .ab-clip-col { grid-row: 1 / 4; }
    .ab-dropzone-mini, .ab-scenes-mini { display: none; }

    .ab-transport { gap: 8px; padding: 0 10px; }
    .ab-tp-text-sm:nth-child(n+3) { display: none; }
    .ab-menubar { gap: 12px; padding: 0 10px; }
    .ab-menu:nth-child(n+6) { display: none; }
    .ab-menu-project { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .boot-loader { display: none; }
}

/* ============================================================
   SUB-VISTAS (dentro de cada vista)
   ============================================================ */
.view-sub {
    display: none;
    animation: subFadeIn .25s var(--ease) both;
}
.view-sub.is-active { display: block; }
@keyframes subFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.view-back {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 10px;
    margin-bottom: 20px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-2);
    letter-spacing: .1em;
    cursor: pointer;
    transition: all .15s var(--ease);
}
.view-back:hover {
    background: var(--bg-3);
    color: var(--c-yellow);
    border-color: var(--c-yellow);
}

.view-h3 {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    color: var(--tx-0);
    letter-spacing: .04em;
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.view-list {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.view-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13px;
    color: var(--tx-1);
    line-height: 1.6;
}
.view-list li::before {
    content: '◆';
    color: var(--c-yellow);
    font-size: 8px;
    flex-shrink: 0;
    margin-top: 6px;
}
.view-list-clean li::before { content: '·'; color: var(--c-yellow); font-size: 14px; margin-top: 0; }

.view-spec-list {
    display: flex; flex-direction: column;
    gap: 1px;
    margin: 20px 0;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
    overflow: hidden;
}
.vsl-row {
    display: flex; justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-1);
    font-family: var(--font-mono);
    font-size: 12px;
}
.vsl-lbl {
    color: var(--tx-3);
    letter-spacing: .15em;
    font-size: 10px;
    text-transform: uppercase;
}
.vsl-val {
    color: var(--tx-0);
    font-weight: 600;
}
.vsl-val.green { color: var(--c-green); }
.vsl-val.purple { color: var(--c-purple); }
.vsl-val.orange { color: var(--c-orange); }
.vsl-val.cyan { color: var(--c-cyan); }
.vsl-val.warn {
    color: var(--c-orange);
    background: rgba(240,145,109,.1);
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
}

/* ============================================================
   PROGRAMAS — Device Cards (estilo plugin Ableton)
   ============================================================ */
.device-rack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}
.ab-device-card {
    background: var(--bg-1);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s var(--ease);
    position: relative;
}
.ab-device-card::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: var(--device-c);
}
.ab-device-card[data-color="#85d43c"] { --device-c: #85d43c; --device-glow: var(--glow-green); }
.ab-device-card[data-color="#b786d9"] { --device-c: #b786d9; --device-glow: var(--glow-purple); }
.ab-device-card[data-color="#f0916d"] { --device-c: #f0916d; --device-glow: rgba(240,145,109,.35); }
.ab-device-card[data-color="#5ccded"] { --device-c: #5ccded; --device-glow: var(--glow-cyan); }
.ab-device-card:hover {
    border-color: var(--device-c);
    box-shadow: 0 0 18px var(--device-glow);
    transform: translateY(-1px);
}

.adc-header {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px 8px 14px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--bg-deep);
    font-family: var(--font-mono);
}
.adc-led {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--device-c);
    box-shadow: 0 0 6px var(--device-glow);
    flex-shrink: 0;
}
.adc-name {
    flex: 1;
    font-size: 11px;
    color: var(--tx-0);
    letter-spacing: .1em;
    font-weight: 700;
}
.adc-actions {
    font-size: 11px;
    color: var(--tx-3);
    letter-spacing: .15em;
}

.adc-body {
    padding: 14px;
    display: flex; flex-direction: column;
    gap: 12px;
    background: var(--bg-1);
}
.adc-knob-row {
    display: flex; gap: 16px;
    align-items: flex-start;
}
.adc-knob {
    display: flex; flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}
.adc-knob-circle {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--bg-4), var(--bg-deep));
    border: 1px solid var(--bg-5);
    position: relative;
    transform: rotate(var(--rot, 0deg));
}
.adc-knob-circle::after {
    content: '';
    position: absolute;
    top: 2px; left: 50%;
    transform: translateX(-50%);
    width: 2px; height: 7px;
    background: var(--device-c);
    border-radius: 1px;
    box-shadow: 0 0 4px var(--device-glow);
}
.adc-knob-lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-2);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.adc-knob-val {
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--device-c);
    font-weight: 700;
}

.adc-mode {
    display: flex; align-items: center; gap: 6px;
    padding: 8px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
}
.adc-mode-lbl {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--tx-3);
    letter-spacing: .15em;
    margin-right: 4px;
}
.adc-mode-btn {
    padding: 3px 9px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-2);
    letter-spacing: .08em;
}
.adc-mode-btn.active {
    background: var(--device-c);
    color: var(--bg-0);
    border-color: var(--device-c);
    font-weight: 700;
}
.adc-mode-btn.warn {
    background: var(--c-orange);
    color: var(--bg-0);
    border-color: var(--c-orange);
    font-weight: 700;
    box-shadow: 0 0 6px rgba(240,145,109,.4);
}

.adc-desc {
    font-size: 12px;
    color: var(--tx-2);
    line-height: 1.55;
    margin: 4px 0 0;
}

/* ============================================================
   HOME — Highlights
   ============================================================ */
.view-highlights {
    display: flex; flex-direction: column;
    gap: 10px;
    margin: 20px 0 24px;
    padding: 16px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
}
.vh-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px;
    color: var(--tx-1);
}
.vh-num {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-yellow);
    font-weight: 700;
    letter-spacing: .12em;
    padding: 4px 8px;
    background: rgba(248,169,0,.12);
    border-radius: 2px;
    flex-shrink: 0;
}
.vh-text { color: var(--tx-1); }

/* ============================================================
   PACK — Callout (texto sobre alumnos)
   ============================================================ */
.view-callout {
    margin-top: 28px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(242,137,187,.08), rgba(248,169,0,.04));
    border: 1px solid rgba(242,137,187,.35);
    border-radius: 4px;
}
.vc-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--c-pink);
    letter-spacing: .2em;
    margin-bottom: 8px;
}
.view-callout p {
    font-size: 13px;
    color: var(--tx-1);
    line-height: 1.65;
    margin-bottom: 12px;
}
.view-callout strong { color: var(--c-pink); font-weight: 600; }

/* ============================================================
   INSCRIPCIÓN — Process steps
   ============================================================ */
.view-process {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0 26px;
}
.vp-step {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
    font-size: 13px;
    color: var(--tx-1);
}
.vp-num {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--c-mint);
    font-weight: 700;
    letter-spacing: .12em;
    padding: 3px 8px;
    background: rgba(93,211,184,.12);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ============================================================
   BIO (sobre be skillz)
   ============================================================ */
.view-bio { margin: 16px 0 24px; }

/* ============================================================
   BROWSER row hover (clickeable)
   ============================================================ */
.ab-browser-row {
    cursor: pointer;
}
.ab-browser-row:hover {
    background: var(--bg-3);
}
.ab-browser-row:hover .ab-folder { color: var(--c-yellow); }
.ab-browser-row:focus-visible {
    background: var(--bg-3);
    outline: 1px solid var(--c-yellow);
}

/* ============================================================
   Responsive extras para devices
   ============================================================ */
@media (max-width: 1100px) {
    .device-rack { grid-template-columns: 1fr; }
    .view-process { grid-template-columns: 1fr; }
}

/* ============================================================
   ABLE-STYLE BUTTONS (metrónomo + tap) FUNCIONALES
   ============================================================ */
.ab-tp-icon {
    display: inline-block;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    line-height: 0;
}
.ab-tp-icon i {
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 2px;
    transition: all .15s var(--ease);
}
.ab-tp-icon:hover i { border-color: var(--c-yellow); }
.ab-tp-icon[aria-pressed="true"] i {
    background: var(--c-yellow);
    border-color: var(--c-yellow);
    box-shadow: 0 0 8px var(--glow-yellow);
}
.ab-tp-icon[aria-pressed="true"] {
    animation: metroPulse var(--metro-interval, 500ms) steps(2) infinite;
}
@keyframes metroPulse {
    0%, 49% { filter: brightness(1); }
    50%, 100% { filter: brightness(1.4); }
}

button.ab-tp-pill {
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all .12s var(--ease);
}
button.ab-tp-pill:hover {
    background: var(--c-yellow);
    color: var(--bg-0);
    border-color: var(--c-yellow);
}
button.ab-tp-pill.flash {
    background: var(--c-yellow);
    color: var(--bg-0);
    border-color: var(--c-yellow);
    transform: scale(.94);
}

/* Slot interaction: ya no son clickeables */
.ab-slot {
    cursor: default;
}
.ab-slot:hover { background: var(--bg-2); }

/* ============================================================
   ONBOARDING — view-howto (en INICIO)
   ============================================================ */
.view-howto {
    margin: 22px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(248,169,0,.07), rgba(93,211,184,.04));
    border: 1px solid rgba(248,169,0,.3);
    border-radius: 4px;
}
.vh-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--c-yellow);
    margin-bottom: 6px;
}
.vh-title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 16px;
    color: var(--tx-0);
    margin-bottom: 14px;
}
.vh-list {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 10px;
}
.vh-list li {
    display: flex; align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--tx-1);
    line-height: 1.55;
}
.vh-step {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    display: grid; place-items: center;
}
.vh-list strong { color: var(--c-yellow); font-weight: 600; }

/* HINT flotante (apunta al sidebar) */
.onboard-hint {
    position: fixed;
    top: 130px;
    left: 215px;
    z-index: var(--z-float);
    display: flex; align-items: center; gap: 8px;
    padding: 10px 36px 10px 14px;
    background: var(--c-yellow);
    color: var(--bg-0);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .04em;
    box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.2);
    animation: hintBob 2s ease-in-out infinite;
    max-width: 280px;
}
.onboard-hint[hidden] { display: none; }
.oh-arrow {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.oh-text { line-height: 1.4; }
.oh-text strong { font-weight: 700; }
.oh-close {
    position: absolute;
    top: 4px; right: 6px;
    background: none;
    border: 0;
    color: var(--bg-0);
    font-size: 16px;
    line-height: 1;
    padding: 4px;
    cursor: pointer;
    opacity: .6;
}
.oh-close:hover { opacity: 1; }
@keyframes hintBob {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-6px); }
}

/* ============================================================
   MODAL — Pack Gratis al cargar
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal) + 5);
    background: rgba(0,0,0,.78);
    display: grid;
    place-items: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: min(460px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px 30px 26px;
    background: var(--bg-1);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    box-shadow:
        0 30px 80px rgba(0,0,0,.55),
        0 0 60px rgba(242,137,187,.08),
        inset 0 1px 0 rgba(255,255,255,.04);
    transform: translateY(20px) scale(.96);
    transition: transform .4s var(--ease-soft);
}
.modal-overlay.is-open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 10px; right: 12px;
    width: 28px; height: 28px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    color: var(--tx-2);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all .15s var(--ease);
}
.modal-close:hover { background: var(--bg-3); color: var(--tx-0); border-color: var(--c-yellow); }

.modal-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 11px;
    margin-bottom: 18px;
    background: rgba(242,137,187,.1);
    border: 1px solid rgba(242,137,187,.4);
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--c-pink);
}
.me-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-pink);
    box-shadow: 0 0 6px var(--glow-pink);
}

.modal-title {
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--tx-0);
    margin-bottom: 14px;
}
.modal-title .pink { color: var(--c-pink); }

.modal-text {
    font-size: 14px;
    color: var(--tx-1);
    line-height: 1.6;
    margin-bottom: 16px;
}

.modal-list {
    list-style: none;
    display: flex; flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
}
.modal-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 12px;
    color: var(--tx-1);
    font-family: var(--font-mono);
    letter-spacing: .03em;
}
.modal-list li::before {
    content: '✓';
    color: var(--c-mint);
    font-weight: 700;
    flex-shrink: 0;
}

.modal-form {
    display: flex; flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.modal-input {
    background: var(--bg-deep);
    border: 1px solid var(--bg-5);
    color: var(--tx-0);
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 3px;
    outline: none;
    transition: all .15s var(--ease);
    width: 100%;
}
.modal-input::placeholder { color: var(--tx-3); }
.modal-input:focus {
    border-color: var(--c-pink);
    box-shadow: 0 0 0 2px rgba(242,137,187,.18);
}
.modal-input.is-error {
    border-color: var(--rec);
    box-shadow: 0 0 0 2px rgba(255,59,59,.15);
}

.modal-submit {
    padding: 14px 18px;
    background: var(--c-pink);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .15em;
    border-radius: 3px;
    cursor: pointer;
    transition: all .2s var(--ease);
}
.modal-submit:hover {
    background: #fff;
    box-shadow: 0 0 18px var(--glow-pink);
    transform: translateY(-1px);
}
.modal-submit span {
    display: inline-block;
    transition: transform .2s var(--ease);
}
.modal-submit:hover span { transform: translateX(3px); }

.modal-later {
    padding: 8px;
    background: none;
    border: 0;
    color: var(--tx-3);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .08em;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s var(--ease);
}
.modal-later:hover { color: var(--tx-1); }

.modal-foot {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-3);
    letter-spacing: .06em;
    line-height: 1.5;
    text-align: center;
}

body.modal-open { overflow: hidden; }

/* En mobile el hint se posiciona diferente */
@media (max-width: 820px) {
    .onboard-hint {
        top: 70px;
        left: 14px;
        right: 14px;
        max-width: none;
    }
    .modal-card { padding: 26px 22px 22px; }
    .modal-title { font-size: 24px; }
}

/* ============================================================
   TOOLTIPS (hover sobre sidebar items + browser rows)
   ============================================================ */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::before,
[data-tooltip]::after {
    pointer-events: none;
    opacity: 0;
    transition: opacity .18s var(--ease) .25s, transform .18s var(--ease) .25s;
    z-index: calc(var(--z-float) + 1);
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translate(-4px, -50%);
    padding: 9px 13px;
    width: 240px;
    background: var(--c-yellow);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .03em;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.18);
    white-space: normal;
}
[data-tooltip]::before {
    content: '';
    position: absolute;
    left: calc(100% + 6px);
    top: 50%;
    transform: translate(-4px, -50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--c-yellow);
}
[data-tooltip]:hover::before,
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::before,
[data-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
}

/* Si el tooltip está cerca del borde derecho (browser column), va a la izquierda */
.ab-browser-row[data-tooltip]::after {
    left: auto;
    right: calc(100% + 14px);
    transform: translate(4px, -50%);
}
.ab-browser-row[data-tooltip]::before {
    left: auto;
    right: calc(100% + 6px);
    transform: translate(4px, -50%);
    border-right: 0;
    border-left: 8px solid var(--c-yellow);
}
.ab-browser-row[data-tooltip]:hover::before,
.ab-browser-row[data-tooltip]:hover::after {
    transform: translate(0, -50%);
}

/* Mobile: los tooltips ocultos para no romper la UI */
@media (max-width: 820px) {
    [data-tooltip]::before,
    [data-tooltip]::after { display: none; }
}

/* ============================================================
   ANIMACIONES SUTILES — polish
   ============================================================ */

/* Sidebar BE SKILLZ items: pequeño slide al hover */
.ab-nav-list li {
    transition: background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease), padding-left .2s var(--ease);
}
.ab-nav-list li:hover:not(.active) {
    padding-left: 18px;
}
.ab-nav-list li .ab-col-dot {
    transition: transform .2s var(--ease-soft), box-shadow .2s var(--ease);
}
.ab-nav-list li:hover .ab-col-dot,
.ab-nav-list li.active .ab-col-dot {
    transform: scale(1.15);
    box-shadow: 0 0 8px currentColor;
}

/* Browser rows: slide y highlight si es el sub-vista activa */
.ab-browser-row {
    transition: background .15s var(--ease), padding-left .2s var(--ease);
}
.ab-browser-row:hover {
    padding-left: 16px;
}
.ab-browser-row.is-current {
    background: var(--bg-3);
    box-shadow: inset 2px 0 0 var(--c-yellow);
}
.ab-browser-row.is-current .ab-folder { color: var(--c-yellow); }
.ab-browser-row.is-current .ab-folder-name { color: var(--tx-0); font-weight: 600; }

/* Track tops: pulso suave al hover */
.ab-track-top {
    transition: filter .2s var(--ease), transform .2s var(--ease-soft);
    cursor: default;
}
.ab-track-top:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

/* Device chain items: glow al hover */
.ab-dc-device {
    transition: all .18s var(--ease);
}
.ab-dc-device.on:hover {
    border-color: var(--c-yellow);
    box-shadow: 0 0 10px rgba(248,169,0,.2);
    transform: translateY(-1px);
}
.ab-dc-device.on:hover .ab-dc-led {
    box-shadow: 0 0 10px var(--glow-yellow);
}

/* CTAs principales en views: lift sutil */
.view-btn {
    will-change: transform;
}
.view-btn.primary {
    box-shadow: 0 0 0 rgba(248,169,0,0);
    transition: all .2s var(--ease);
}
.view-btn.primary:hover {
    box-shadow: 0 6px 18px rgba(248,169,0,.25);
}

/* Device cards (programas): lift + glow más expresivo */
.ab-device-card {
    transition: transform .25s var(--ease-soft), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.ab-device-card:hover .adc-led {
    animation: ledThrob 1.2s ease-in-out infinite;
}
@keyframes ledThrob {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}
.ab-device-card:hover .adc-knob-circle {
    transition: transform .4s var(--ease);
    transform: rotate(calc(var(--rot, 0deg) + 12deg));
}

/* Highlight del track activo en el sidebar — pulso del dot */
.ab-nav-list li.active .ab-col-dot {
    animation: navDotPulse 2.2s ease-in-out infinite;
}
@keyframes navDotPulse {
    0%, 100% { box-shadow: 0 0 8px currentColor; }
    50% { box-shadow: 0 0 14px currentColor, 0 0 22px currentColor; }
}

/* Sub-vista cambia con un slide más cinematográfico */
.view-sub {
    animation: subFadeSlide .35s var(--ease) both;
}
@keyframes subFadeSlide {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* View-back: hover con flecha que se mueve */
.view-back {
    transition: all .15s var(--ease), padding-left .2s var(--ease);
}
.view-back:hover {
    padding-left: 14px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .ab-nav-list li.active .ab-col-dot,
    .ab-device-card:hover .adc-led {
        animation: none !important;
    }
}

/* ============================================================
   BANNER ACADEMIA SKILLZ (arriba del sidebar)
   ============================================================ */
.ab-academy-banner {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px 10px;
    margin: 4px 10px 6px;
    background: linear-gradient(135deg, rgba(248,169,0,.10), rgba(248,169,0,.02));
    border: 1px solid rgba(248,169,0,.32);
    border-radius: 4px;
}
.aab-mark {
    width: 8px; height: 24px;
    background: linear-gradient(180deg, var(--c-yellow), var(--c-orange));
    border-radius: 2px;
    box-shadow: 0 0 8px var(--glow-yellow);
}
.aab-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aab-name {
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--tx-0);
    line-height: 1;
}
.aab-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--tx-3);
}

/* ============================================================
   ALUMNOS — sección sidebar + desplegable
   ============================================================ */
.ab-side-title--alumnos {
    color: var(--c-orange);
    font-weight: 600;
    letter-spacing: .12em;
    font-size: 10px;
    text-transform: uppercase;
}

.ab-alumnos-section {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-deep);
}

/* Vale para CUALQUIER grupo plegable del menú (Miembros, Herramientas de DJ,
   Guía de Ableton), no solo el de alumnos.
   OJO CON LA ESPECIFICIDAD: arriba hay un `.ab-side-section li { display:flex }`
   que vale 0-1-1. Un `.ab-nav-parent` pelado vale 0-1-0 y PIERDE, así que el
   <li> se queda en flex, el submenú se acomoda AL COSTADO del botón en una
   columna angosta y parece que los ítems no estuvieran. Por eso va calificado
   con el <li>: 0-2-1, gana. */
.ab-side-section li.ab-nav-parent {
    display: block;
    padding: 0;
    cursor: default;
}
.ab-side-section li.ab-nav-parent:hover { background: transparent; }

.ab-nav-parent-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 6px 14px;
    text-align: left;
    font: inherit;
    font-size: 12px;
    color: var(--tx-1);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background .12s var(--ease), padding-left .2s var(--ease);
}
.ab-nav-parent-btn:hover,
.ab-nav-parent.is-open > .ab-nav-parent-btn {
    background: var(--bg-2);
    padding-left: 18px;
}
.ab-nav-label { flex: 1; }
.ab-nav-chevron {
    font-size: 9px;
    color: var(--tx-3);
    transition: transform .2s var(--ease), color .15s;
}
.ab-nav-parent.is-open .ab-nav-chevron {
    transform: rotate(90deg);
    color: var(--c-orange);
}

.ab-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
}
.ab-nav-sub[hidden] { display: none; }
.ab-nav-sub > li {
    display: block;
    padding: 0;
}
/* Los ítems del submenú pueden ser un <a> (herramientas, acceso) o el propio
   <li> con data-view (guía de Ableton, que navega por JS). Los dos tienen que
   verse igual de indentados: si no, los que no son link quedan al mismo nivel
   que el botón y no se leen como submenú. */
.ab-nav-sub > li a,
.ab-nav-sub > li[data-view] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 32px;
    font-size: 12px;
    color: var(--tx-2);
    transition: background .12s var(--ease), color .12s, padding-left .2s;
}
.ab-nav-sub > li a:hover,
.ab-nav-sub > li[data-view]:hover {
    background: var(--bg-2);
    color: var(--tx-0);
    padding-left: 36px;
}
.ab-nav-sub .ab-col-dot {
    width: 8px;
    height: 8px;
}

/* ============================================================
   VST CHIPS (servicios)
   ============================================================ */
.vst-grid {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 12px 0 18px;
}
.vst-chip {
    padding: 6px 12px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 99px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--tx-1);
    letter-spacing: .04em;
    transition: all .15s var(--ease);
}
.vst-chip:hover {
    border-color: var(--c-blue);
    color: var(--c-blue);
    transform: translateY(-1px);
}
.vst-chip.more {
    background: rgba(111,168,255,.08);
    border-color: var(--c-blue);
    color: var(--c-blue);
    font-style: italic;
}

/* ============================================================
   TRIÁNGULO DE PRIORIDADES
   ============================================================ */
.triangle-method {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    margin: 20px 0 16px;
    padding: 18px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
}
.triangle-svg { width: 100%; max-width: 280px; height: auto; }
.triangle-info { display: flex; flex-direction: column; gap: 14px; }
.ti-row { display: flex; gap: 12px; align-items: flex-start; }
.ti-num {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
}
.ti-title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    color: var(--tx-0);
    margin-bottom: 4px;
    letter-spacing: .04em;
}
.ti-row p { font-size: 12px; color: var(--tx-1); line-height: 1.6; margin: 0; }

@media (max-width: 1100px) {
    .triangle-method { grid-template-columns: 1fr; }
    .triangle-svg { margin: 0 auto 12px; }
}

/* ============================================================
   PLUG-INS (AU/VST2/VST3)
   ============================================================ */
.plugins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}
.plugin-card {
    padding: 20px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    transition: all .2s var(--ease);
}
.plugin-card:hover {
    border-color: var(--c-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.4), 0 0 18px var(--glow-green);
}
.pc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pc-tag {
    padding: 4px 10px;
    background: var(--c-green);
    color: var(--bg-0);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .15em;
    border-radius: 2px;
}
.pc-os {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-3);
    letter-spacing: .08em;
}
.pc-title {
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: 22px;
    color: var(--tx-0);
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.pc-desc { font-size: 12px; color: var(--tx-2); line-height: 1.6; margin-bottom: 12px; }
.pc-meta {
    display: flex; flex-direction: column;
    gap: 5px;
    padding-top: 10px;
    border-top: 1px solid var(--bg-5);
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-3);
}
.pc-meta strong { color: var(--tx-1); font-weight: 600; }

@media (max-width: 1100px) {
    .plugins-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DRUM CARDS (con waveform y play)
   ============================================================ */
.drum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.drum-card {
    padding: 14px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s var(--ease);
}
.drum-card:hover {
    border-color: var(--c, var(--c-orange));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.drum-card-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 10px;
}
.drum-led {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c, var(--c-orange));
    box-shadow: 0 0 6px var(--c, var(--c-orange));
    flex-shrink: 0;
}
.drum-name {
    flex: 1;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    color: var(--tx-0);
}
.drum-play-btn {
    width: 28px; height: 28px;
    background: var(--bg-3);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    color: var(--c, var(--c-orange));
    font-size: 12px;
    cursor: pointer;
    transition: all .15s var(--ease);
    line-height: 1;
}
.drum-play-btn:hover {
    background: var(--c, var(--c-orange));
    color: var(--bg-0);
    border-color: var(--c, var(--c-orange));
    box-shadow: 0 0 12px var(--c, var(--c-orange));
}
.drum-play-btn.is-playing {
    background: var(--c, var(--c-orange));
    color: var(--bg-0);
    transform: scale(.9);
}
.drum-wave {
    display: block;
    width: 100%; height: 60px;
    background: var(--bg-deep);
    border: 1px solid var(--bg-5);
    border-radius: 3px;
    margin-bottom: 10px;
}
.drum-card-desc {
    font-size: 11px;
    color: var(--tx-2);
    line-height: 1.55;
    margin: 0;
}

/* Drum detail */
.drum-detail-panel {
    display: flex; align-items: center; gap: 16px;
    margin: 16px 0 20px;
    padding: 16px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
}
.drum-play-large {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    width: 90px; height: 90px;
    background: var(--c-yellow);
    color: var(--bg-0);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s var(--ease);
    box-shadow: 0 6px 18px var(--glow-yellow);
}
.drum-play-large:hover {
    transform: scale(1.04);
    background: #fff;
    box-shadow: 0 8px 24px var(--glow-yellow);
}
.drum-play-large.is-playing {
    transform: scale(.94);
}
.dpl-icon { font-size: 22px; line-height: 1; }
.dpl-text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .15em;
    font-weight: 700;
}
.drum-wave-large {
    flex: 1; height: 120px;
    background: var(--bg-deep);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
    min-width: 0;
}

/* ============================================================
   NATIVE CARDS (instruments, audiofx, midifx)
   ============================================================ */
.ab-native-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 18px;
}
.native-card {
    padding: 14px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 5px;
    cursor: pointer;
    transition: all .18s var(--ease);
}
.native-card:hover {
    border-color: var(--c);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,.32);
}
.nc-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
}
.nc-icon {
    width: 20px; height: 20px;
    color: var(--c);
    flex-shrink: 0;
    display: inline-grid; place-items: center;
}
.nc-icon svg { width: 100%; height: 100%; }
.nc-icon.big {
    width: 48px; height: 48px;
}
.nc-name {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 13px;
    color: var(--tx-0);
}
.nc-desc {
    font-size: 11px;
    color: var(--tx-2);
    line-height: 1.55;
    margin: 0;
}

.item-detail-head {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 820px) {
    .drum-grid, .ab-native-grid { grid-template-columns: 1fr; }
    .drum-detail-panel { flex-direction: column; }
    .drum-wave-large { width: 100%; }
}

/* ============================================================
   ANIMACIONES PLUS — reveal escalonado, VU vivo, sheen
   (todo bajo no-preference para respetar reduce-motion)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

    /* Reveal escalonado del contenido al cambiar de vista/sub */
    .ab-view.is-active .view-sub.is-active > * {
        animation: viewChildRise .5s var(--ease, ease) both;
    }
    .ab-view.is-active .view-sub.is-active > *:nth-child(1) { animation-delay: .03s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(2) { animation-delay: .07s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(3) { animation-delay: .11s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(4) { animation-delay: .15s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(5) { animation-delay: .19s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(6) { animation-delay: .23s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(7) { animation-delay: .27s; }
    .ab-view.is-active .view-sub.is-active > *:nth-child(n+8) { animation-delay: .31s; }
    @keyframes viewChildRise {
        from { opacity: 0; transform: translateY(12px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Stagger de cards dentro de las grillas */
    .device-rack > .ab-device-card,
    .drum-grid > .drum-card,
    .ab-native-grid > .native-card,
    .plugins-grid > .plugin-card {
        animation: cardRise .5s var(--ease, ease) both;
    }
    .device-rack > *:nth-child(1), .drum-grid > *:nth-child(1),
    .ab-native-grid > *:nth-child(1), .plugins-grid > *:nth-child(1) { animation-delay: .06s; }
    .device-rack > *:nth-child(2), .drum-grid > *:nth-child(2),
    .ab-native-grid > *:nth-child(2), .plugins-grid > *:nth-child(2) { animation-delay: .12s; }
    .device-rack > *:nth-child(3), .drum-grid > *:nth-child(3),
    .ab-native-grid > *:nth-child(3), .plugins-grid > *:nth-child(3) { animation-delay: .18s; }
    .device-rack > *:nth-child(4), .drum-grid > *:nth-child(4),
    .ab-native-grid > *:nth-child(4) { animation-delay: .24s; }
    .drum-grid > *:nth-child(5), .ab-native-grid > *:nth-child(5) { animation-delay: .30s; }
    .drum-grid > *:nth-child(6), .ab-native-grid > *:nth-child(6) { animation-delay: .36s; }
    .drum-grid > *:nth-child(n+7), .ab-native-grid > *:nth-child(n+7) { animation-delay: .42s; }
    @keyframes cardRise {
        from { opacity: 0; transform: translateY(16px) scale(.98); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }

    /* VU meter vivo en el transport */
    .ab-tp-meter i { animation: vuBar 1.1s ease-in-out infinite; transform-origin: bottom; }
    .ab-tp-meter i:nth-child(1) { animation-delay: 0s; }
    .ab-tp-meter i:nth-child(2) { animation-delay: .18s; }
    .ab-tp-meter i:nth-child(3) { animation-delay: .36s; }
    .ab-tp-meter i:nth-child(4) { animation-delay: .54s; }
    @keyframes vuBar {
        0%, 100% { transform: scaleY(.45); opacity: .8; }
        50%      { transform: scaleY(1);   opacity: 1; }
    }

    /* Pulso suave del play activo */
    .ab-play.active { animation: playGlow 2.4s ease-in-out infinite; }
    @keyframes playGlow {
        0%, 100% { box-shadow: 0 0 0 rgba(133,212,60,0); }
        50%      { box-shadow: 0 0 12px rgba(133,212,60,.55); }
    }
}

/* Sheen (brillo que barre) en botones primarios */
.view-btn.primary, .auth-submit:not(.auth-submit--ghost) {
    position: relative;
    overflow: hidden;
}
.view-btn.primary::after, .auth-submit:not(.auth-submit--ghost)::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
    .view-btn.primary:hover::after,
    .auth-submit:not(.auth-submit--ghost):hover::after {
        animation: btnSheen .7s var(--ease, ease) forwards;
    }
    @keyframes btnSheen {
        from { left: -120%; }
        to   { left: 130%; }
    }
}

/* ============================================================
   ESTUDIO — foto + grilla de equipos (Metodología)
   ============================================================ */
.studio-photo {
    margin: 8px 0 24px;
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-2);
}
.studio-svg { display: block; width: 100%; height: auto; }
.studio-photo figcaption {
    padding: 8px 12px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--tx-3);
    letter-spacing: .04em;
    border-top: 1px solid var(--bg-5);
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 16px 0 8px;
}
.gear-card {
    padding: 16px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 6px;
    transition: transform .2s var(--ease, ease), border-color .2s, box-shadow .2s;
}
.gear-card:hover {
    transform: translateY(-2px);
    border-color: var(--c-cyan);
    box-shadow: 0 6px 18px rgba(0,0,0,.4), 0 0 16px var(--glow-cyan);
}
.gear-img {
    display: grid; place-items: center;
    height: 72px;
    margin-bottom: 12px;
    color: var(--c-cyan);
    background: var(--bg-deep);
    border: 1px solid var(--bg-5);
    border-radius: 4px;
}
.gear-svg { width: 56px; height: 56px; }
.gear-card:hover .gear-svg { animation: gearFloat 1.4s ease-in-out infinite; }
@keyframes gearFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.gear-name { font-family: var(--font-ui); font-weight: 800; font-size: 14px; color: var(--tx-0); margin-bottom: 6px; }
.gear-info { font-size: 12px; color: var(--tx-2); line-height: 1.55; margin: 0; }
.gear-info strong { color: var(--c-cyan); font-weight: 600; }

/* Hub Servicios PRO: tarjetas GRANDES en el centro (2x2) */
.pro-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 760px;
    margin: 26px auto 8px;
}
.pro-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border-radius: 12px;
    min-height: 210px;
}
.pro-card:hover { transform: translateY(-4px); }
.pro-card .gear-img {
    height: 104px;
    margin-bottom: 18px;
    color: inherit;
    background: linear-gradient(180deg, var(--bg-deep), var(--bg-2));
}
.pro-ico { font-size: 48px; line-height: 1; }
.pro-card .gear-name { font-size: 20px; margin-bottom: 8px; }
.pro-card .gear-info { font-size: 14px; line-height: 1.6; }
.pro-card-go {
    margin-top: 16px; font-family: var(--font-ui); font-weight: 800; font-size: 13px;
    letter-spacing: .02em; color: var(--c-cyan); align-self: flex-start;
    transition: transform .15s ease;
}
.pro-card:hover .pro-card-go { transform: translateX(4px); }
.pro-card:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 2px; }

@media (max-width: 820px) {
    .pro-cards { grid-template-columns: 1fr; max-width: 100%; }
    .pro-card { min-height: 0; }
}

/* "Tu página oficial": caja de ejemplo real */
.pagina-ejemplo {
    margin: 18px 0 4px;
    padding: 18px 20px;
    border: 1px solid var(--c-cyan);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(92,205,237,.08), transparent);
}
.pagina-ejemplo-tag {
    display: inline-block;
    font-family: var(--font-mono, monospace);
    font-size: 11px; letter-spacing: .06em;
    color: var(--c-cyan); margin-bottom: 8px;
}
.pagina-ejemplo-txt { font-size: 14px; line-height: 1.6; color: var(--tx-1); margin: 0 0 14px; }
.pagina-ejemplo-txt strong { color: var(--tx-0); }
.pagina-ejemplo .view-btn { margin: 0; }

/* ============================================================
   SERVICIOS — instalador animado (una sola opción)
   ============================================================ */
.srv-install {
    margin: 16px 0 8px;
    padding: 20px;
    background: var(--bg-1);
    border: 1px solid var(--bg-5);
    border-left: 3px solid var(--c-blue);
    border-radius: 6px;
}
.srv-install-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
}
.srv-install-name {
    flex: 1;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 16px;
    color: var(--tx-0);
}
.srv-install-os {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--tx-3);
}
.srv-install .adc-led { background: var(--c-blue); box-shadow: 0 0 8px rgba(111,168,255,.6); }

.srv-bar {
    height: 6px;
    background: var(--bg-3);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 16px;
}
.srv-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--c-blue), var(--c-cyan));
    border-radius: 99px;
}
.srv-steps {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin: 0 0 14px;
}
.srv-step {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px;
    color: var(--tx-2);
}
.srv-check {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 1px solid var(--bg-5);
    background: var(--bg-3);
    flex-shrink: 0;
    position: relative;
}
.srv-step .srv-check::after {
    content: '✓';
    position: absolute; inset: 0;
    display: grid; place-items: center;
    font-size: 10px; font-weight: 700;
    color: var(--bg-0);
    opacity: 0;
}
.srv-install-desc { font-size: 13px; color: var(--tx-2); line-height: 1.6; margin: 0; }

@media (prefers-reduced-motion: no-preference) {
    /* La barra llena en loop */
    .srv-bar-fill { animation: srvFill 3.2s ease-in-out infinite; }
    @keyframes srvFill { 0% { width: 0; } 60%,100% { width: 100%; } }
    /* Los checks se encienden en secuencia */
    .srv-step .srv-check { animation: srvCheck 3.2s ease-in-out infinite; }
    .srv-step:nth-child(1) .srv-check { animation-delay: .4s; }
    .srv-step:nth-child(2) .srv-check { animation-delay: 1.1s; }
    .srv-step:nth-child(3) .srv-check { animation-delay: 1.8s; }
    .srv-step:nth-child(4) .srv-check { animation-delay: 2.5s; }
    @keyframes srvCheck {
        0%, 100% { background: var(--bg-3); border-color: var(--bg-5); }
        50%, 95% { background: var(--c-green); border-color: var(--c-green); box-shadow: 0 0 8px rgba(133,212,60,.5); }
    }
    .srv-step:nth-child(1) .srv-check::after { animation: srvTick 3.2s ease-in-out infinite; animation-delay: .4s; }
    .srv-step:nth-child(2) .srv-check::after { animation: srvTick 3.2s ease-in-out infinite; animation-delay: 1.1s; }
    .srv-step:nth-child(3) .srv-check::after { animation: srvTick 3.2s ease-in-out infinite; animation-delay: 1.8s; }
    .srv-step:nth-child(4) .srv-check::after { animation: srvTick 3.2s ease-in-out infinite; animation-delay: 2.5s; }
    @keyframes srvTick { 0%, 40% { opacity: 0; } 50%, 100% { opacity: 1; } }
}
/* Sin animación: mostrar todo completo */
@media (prefers-reduced-motion: reduce) {
    .srv-bar-fill { width: 100%; }
    .srv-step .srv-check { background: var(--c-green); border-color: var(--c-green); }
    .srv-step .srv-check::after { opacity: 1; }
}

@media (max-width: 600px) {
    .srv-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   PIRÁMIDE — Triángulo de Prioridades (producción)
   ============================================================ */
.pyramid-wrap {
    display: grid;
    place-items: center;
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-radius: 8px;
}
.pyramid-svg { width: 100%; max-width: 440px; height: auto; }
.pyr-layer {
    stroke: rgba(0,0,0,.25);
    stroke-width: 1;
    transition: opacity .2s var(--ease, ease), transform .2s var(--ease, ease);
    transform-origin: center;
}
.pyramid-svg text { pointer-events: none; paint-order: stroke; }
@media (prefers-reduced-motion: no-preference) {
    .pyramid-svg:hover .pyr-layer { opacity: .55; }
    .pyramid-svg .pyr-layer:hover { opacity: 1; transform: translateY(-1px) scale(1.01); }
}

/* ============================================================
   BOTÓN FLOTANTE — Samples gratis (reabre el pack)
   ============================================================ */
.pack-reopen {
    position: fixed;
    right: 16px;
    bottom: 34px;
    z-index: calc(var(--z-modal) + 4);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--c-pink);
    color: var(--bg-0);
    border: none;
    border-radius: 99px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.2);
}
.pack-reopen-ico { font-size: 15px; line-height: 1; }
.pack-reopen:hover { background: #fff; box-shadow: 0 10px 28px var(--glow-pink); transform: translateY(-1px); }
@media (prefers-reduced-motion: no-preference) {
    .pack-reopen { animation: packBob 2.6s ease-in-out infinite; }
    @keyframes packBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
}
@media (max-width: 820px) {
    .pack-reopen { right: 12px; bottom: 12px; padding: 9px 13px; font-size: 11px; }
}

/* ============================================================
   NOTICIAS (RSS) en el Inicio
   ============================================================ */
.news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    max-width: 640px;
}
.news-item { margin: 0; }
.news-link {
    display: block;
    padding: 12px 14px;
    background: var(--bg-2);
    border: 1px solid var(--bg-5);
    border-left: 2px solid var(--c-yellow);
    border-radius: 0 4px 4px 0;
    color: var(--tx-1);
    font-size: 13px;
    line-height: 1.45;
    transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease-soft), color .15s var(--ease);
}
.news-link:hover {
    background: rgba(248,169,0,.06);
    border-color: var(--c-yellow);
    color: var(--c-yellow);
    transform: translateX(4px);
}

/* ============================================================
   V2 REFINEMENTS — adorno sutil, hints, flash de nav, scroll cue
   ============================================================ */

/* --- Contenido legible en monitores anchos: nada se estira al infinito --- */
.view-sub { max-width: 960px; }
.view-howto,
.view-highlights { max-width: 720px; }

/* --- Track tops + clip grid más sutiles (menos altura, menos ruido) --- */
.ab-track-top {
    padding: 3px 8px;
    font-size: 10px;
    filter: saturate(.75) brightness(.92);
}

/* Los tres tracks de la derecha ahora son navegación real (Registrate / Loguearte / Mi portal) */
.ab-track-link {
    color: var(--bg-0);
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    filter: saturate(.9);
}
.ab-track-link:hover {
    filter: saturate(1.1) brightness(1.18);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,.35);
}
.ab-clip-grid { grid-template-rows: repeat(2, 1fr); }
.ab-clip-col { grid-template-rows: repeat(2, 1fr); grid-row: 1 / 3; }
.ab-clip-col .ab-slot:nth-child(n+3) { display: none; }
.ab-dropzone-mini { grid-row: 1 / 3; }
.ab-scenes-mini { grid-row: 1 / 3; grid-template-rows: repeat(2, 1fr); }
.ab-scene-mini:nth-child(n+3) { display: none; }
.ab-stop-mini { width: 5px; height: 5px; }

@media (max-width: 820px) {
    .ab-clip-grid { grid-template-rows: repeat(2, 1fr); }
    .ab-clip-grid > .ab-clip-col { grid-row: 1 / 3; }
}

/* --- Device chain: oculta en Inicio (ahí no aporta data) --- */
.ab-device-chain.is-empty { display: none; }

/* --- Hint 1 reposicionado: apunta al menú, no al transport --- */
.onboard-hint { top: 226px; }
/* JS lo ancla al elemento real; esto es solo fallback sin JS */

/* --- Hint 2: apunta a bienvenida.als en el browser --- */
.onboard-hint--browser { top: 196px; left: 415px; }
@media (max-width: 1100px) {
    /* el browser no existe en pantallas chicas */
    .onboard-hint--browser { display: none !important; }
}
@media (max-width: 820px) {
    /* En mobile el menu vive detras del boton (arriba a la derecha):
       el cartel se pega a ese lado y la flecha apunta hacia el boton */
    .onboard-hint { top: 56px; left: auto; right: 14px; max-width: 78vw; }
    .onboard-hint .oh-arrow { order: 2; transform: rotate(135deg); margin-right: 16px; }
}

/* --- Flash al clickear una opción del menú --- */
@keyframes navFlash {
    0%   { box-shadow: inset 2px 0 0 var(--c-yellow), 0 0 0 0 rgba(248,169,0,.45); background: rgba(248,169,0,.18); }
    60%  { box-shadow: inset 2px 0 0 var(--c-yellow), 0 0 18px 2px rgba(248,169,0,.25); }
    100% { box-shadow: inset 2px 0 0 var(--c-yellow), 0 0 0 0 rgba(248,169,0,0); background: var(--bg-3); }
}
@keyframes navSweep {
    from { transform: translateX(-100%); opacity: .9; }
    to   { transform: translateX(220%); opacity: 0; }
}
.ab-nav-list li { position: relative; overflow: hidden; }
.ab-nav-list li.is-clicked { animation: navFlash .55s var(--ease) both; }
.ab-nav-list li.is-clicked::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 55%;
    background: linear-gradient(105deg, transparent, rgba(248,169,0,.35) 45%, rgba(255,255,255,.25) 50%, transparent 60%);
    animation: navSweep .55s var(--ease) both;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .ab-nav-list li.is-clicked,
    .ab-nav-list li.is-clicked::after { animation: none; }
}

/* --- Scroll cue: flecha amarilla que invita a deslizar (Inicio) --- */
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: var(--z-sticky);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    background: var(--c-yellow);
    color: var(--bg-0);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.2);
    pointer-events: none;
    animation: cueBob 1.6s ease-in-out infinite;
    transition: opacity .3s var(--ease);
}
.scroll-cue[hidden] { display: none; }
.scroll-cue.is-leaving { opacity: 0; }
.sc-arrow { font-size: 15px; line-height: 1; }
@keyframes cueBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
    .scroll-cue { animation: none; }
}

/* Aviso modo lectura (Registrado, todavía no habilitado para publicar) */
.dash-aviso-lectura{
  margin:0 0 16px;padding:12px 16px;border-radius:10px;
  background:linear-gradient(90deg,rgba(111,168,255,.14),rgba(183,134,217,.14));
  border:1px solid rgba(183,134,217,.35);
  color:var(--tx-0,#eaeaea);font-size:13.5px;line-height:1.5;
}
.dash-aviso-lectura strong{color:var(--c-purple,#b786d9);}

/* ===== Insignias de rango ===== */
.rk-badge{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.04em;
  padding:1px 7px;border-radius:999px;vertical-align:middle;line-height:1.6;}
.rk-miembro{background:var(--bg-2,#323232);color:var(--tx-3,#8a8a8a);border:1px solid var(--bg-4,#4a4a4a);} /* neutral, sin gritar */
.rk-moderador{background:rgba(92,205,237,.16);color:#5ccded;border:1px solid rgba(92,205,237,.4);}
.rk-profesor{background:rgba(183,134,217,.16);color:#b786d9;border:1px solid rgba(183,134,217,.4);}
.rk-fundador{background:rgba(248,169,0,.16);color:var(--c-yellow);border:1px solid rgba(248,169,0,.4);}

/* ===== Chip de género + filtro ===== */
.mat-genero-chip{display:inline-block;margin-left:8px;font-size:11px;font-weight:600;
  padding:1px 8px;border-radius:999px;background:rgba(111,168,255,.14);
  color:#6fa8ff;border:1px solid rgba(111,168,255,.35);}
.mat-filtro-row{display:flex;align-items:center;gap:10px;margin:8px 0 14px;flex-wrap:wrap;}
.mat-filtro-lbl{font-size:13px;color:var(--tx-1,#aaa);}

/* ===== Debates (panel) ===== */
.deb-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;}
.deb-item{padding:14px 16px;border-radius:12px;background:var(--bg-1,#2a2a2a);
  border:1px solid var(--bg-3,#3d3d3d);}
.deb-item-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.deb-titulo{font-weight:700;font-size:15px;color:var(--tx-0,#eee);}
.deb-pin{font-size:13px;}
.deb-cerrado{font-size:10.5px;text-transform:uppercase;letter-spacing:.05em;
  padding:1px 7px;border-radius:999px;background:rgba(255,132,124,.15);color:#ff847c;}
.deb-meta{font-size:12.5px;color:var(--tx-1,#aaa);margin:4px 0 0;}
.deb-cuerpo{font-size:13.5px;color:var(--tx-0,#ddd);margin:8px 0 0;line-height:1.5;}
.deb-acc{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;}
.deb-respuestas{margin-top:12px;border-top:1px solid var(--bg-3,#3d3d3d);padding-top:10px;}
.deb-resp-list{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:8px;}
.deb-resp{background:var(--bg-0,#1f1f1f);border-radius:8px;padding:8px 10px;}
.deb-resp-who{font-size:12px;font-weight:600;color:var(--c-cyan,#5ccded);}
.deb-resp-txt{font-size:13.5px;color:var(--tx-0,#ddd);margin:3px 0 0;line-height:1.45;}
.deb-resp-form{display:flex;gap:8px;align-items:center;}
.deb-resp-form input{flex:1;}

/* ===== Debates en la home pública ===== */
.home-debates{margin-top:22px;padding-top:16px;border-top:1px solid var(--bg-3,#3d3d3d);}
.home-deb-list{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:8px;}
.home-deb-item{font-size:13.5px;color:var(--tx-0,#ddd);background:var(--bg-1,#1f1f1f);border:1px solid var(--bg-3,#3d3d3d);border-radius:7px;overflow:hidden;transition:border-color .15s ease;}
.home-deb-item.is-open{border-color:var(--c-purple,#b786d9);}
.home-deb-head{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:none;border:0;color:inherit;font:inherit;padding:10px 12px;cursor:pointer;}
.home-deb-head:hover{background:rgba(255,255,255,.03);}
.home-deb-titulo{font-weight:700;color:#fff;flex:0 1 auto;}
.home-deb-meta{color:var(--tx-1,#9a9a9a);font-size:12.5px;flex:1 1 auto;}
.home-deb-caret{color:var(--c-purple,#b786d9);font-size:12px;margin-left:auto;}
.home-deb-panel{padding:0 12px 12px;border-top:1px solid var(--bg-3,#3d3d3d);}
.home-deb-panel[hidden]{display:none;}
.home-deb-body{margin:10px 0 12px;color:var(--tx-0,#ddd);line-height:1.5;white-space:pre-wrap;}
.home-deb-respuestas{display:flex;flex-direction:column;gap:8px;}
.home-deb-resp{background:var(--bg-2,#2a2a2a);border-left:2px solid var(--bg-4,#4d4d4d);border-radius:4px;padding:7px 10px;}
.home-deb-resp-meta{display:block;font-family:var(--font-mono,monospace);font-size:11px;color:var(--tx-2,#7a7a7a);margin-bottom:3px;}
.home-deb-resp-cuerpo{margin:0;color:var(--tx-0,#ddd);line-height:1.45;white-space:pre-wrap;}
.home-deb-vacio{color:var(--tx-2,#7a7a7a);font-size:12.5px;font-style:italic;margin:4px 0;}
.home-deb-reply{margin-top:12px;padding-top:10px;border-top:1px dashed var(--bg-3,#3d3d3d);}
.home-deb-gate{color:var(--tx-1,#9a9a9a);font-size:13px;margin:0;}
.home-deb-link{color:var(--c-cyan,#5ccded);text-decoration:underline;}
.home-deb-ta{width:100%;box-sizing:border-box;resize:vertical;background:var(--bg-0,#141414);color:#fff;border:1px solid var(--bg-4,#4d4d4d);border-radius:5px;padding:8px 10px;font:inherit;font-size:13px;}
.home-deb-ta:focus{outline:none;border-color:var(--c-cyan,#5ccded);}
.home-deb-reply-row{display:flex;align-items:center;gap:10px;margin-top:8px;}
.home-deb-fb{font-size:12px;color:var(--c-cyan,#5ccded);}
.home-deb-reacc{display:flex;gap:6px;padding:0 12px 10px;}
.home-reacc-btn{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;background:var(--bg-0,#141414);border:1px solid var(--bg-4,#4d4d4d);cursor:pointer;transition:transform .1s ease,border-color .1s ease,background .1s ease;}
.home-reacc-btn:hover{transform:translateY(-1px);border-color:var(--c-cyan,#5ccded);}
.home-reacc-btn:active{transform:scale(.92);}
.home-reacc-btn.is-mia{background:rgba(92,205,237,.16);border-color:var(--c-cyan,#5ccded);}
.home-reacc-emoji{font-size:14px;line-height:1;}
.home-reacc-cnt{font-family:var(--font-mono,monospace);font-size:11px;color:var(--tx-1,#9a9a9a);min-width:.5rem;}

/* Artistas — grilla de alumnos (foto + Instagram) */
.home-artistas{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:14px;margin:18px 0 6px;}
.home-artistas[hidden]{display:none;}
.home-artistas-msg{font-style:italic;opacity:.8;}
.artista-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:14px 10px;background:var(--bg-1,#1f1f1f);border:1px solid var(--bg-3,#3d3d3d);border-radius:12px;text-decoration:none;color:inherit;font:inherit;cursor:pointer;transition:transform .12s ease,border-color .15s ease;}
.artista-card:hover{transform:translateY(-3px);border-color:var(--c-pink,#f289bb);}
.artista-ver{font-family:var(--font-mono,monospace);font-size:10px;letter-spacing:.04em;color:var(--c-pink,#f289bb);opacity:.85;}
.artista-foto{width:74px;height:74px;border-radius:50%;overflow:hidden;background:var(--bg-3,#3d3d3d);display:flex;align-items:center;justify-content:center;border:2px solid var(--bg-4,#4d4d4d);}
.artista-foto img{width:100%;height:100%;object-fit:cover;display:block;}
.artista-foto.is-ini{font-size:28px;font-weight:800;color:var(--c-pink,#f289bb);}
.artista-nom{font-size:13px;font-weight:700;color:#fff;line-height:1.2;}
.artista-ig{font-family:var(--font-mono,monospace);font-size:10px;letter-spacing:.04em;color:var(--c-pink,#f289bb);}
.artista-card.is-alumno .artista-foto{border-color:var(--c-yellow,var(--c-yellow));box-shadow:0 0 0 2px rgba(248,169,0,.25);}
.artista-badge{font-family:var(--font-mono,monospace);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c-yellow,var(--c-yellow));background:rgba(248,169,0,.12);border:1px solid rgba(248,169,0,.4);border-radius:99px;padding:2px 8px;}

/* Popup de perfil de artista (web pública) */
.art-modal{position:fixed;inset:0;z-index: var(--z-max);display:flex;align-items:center;justify-content:center;padding:16px;}
.art-modal[hidden]{display:none;}
.art-modal-bg{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(3px);}
.art-modal-card{position:relative;width:100%;max-width:440px;max-height:88vh;overflow-y:auto;background:var(--bg-1,#1a1a1a);border:1px solid var(--bg-4,#4d4d4d);border-top:3px solid var(--c-pink,#f289bb);border-radius:16px;padding:26px 24px;}
.art-modal-x{position:absolute;top:12px;right:14px;background:none;border:0;color:var(--tx-1,#9a9a9a);font-size:18px;cursor:pointer;line-height:1;}
.art-modal-x:hover{color:#fff;}
.art-modal-head{display:flex;align-items:center;gap:16px;margin-bottom:12px;}
.art-modal .art-foto{width:80px;height:80px;border-radius:50%;overflow:hidden;background:var(--bg-3,#3d3d3d);display:flex;align-items:center;justify-content:center;border:2px solid var(--bg-4,#4d4d4d);flex:0 0 auto;}
.art-modal .art-foto img{width:100%;height:100%;object-fit:cover;display:block;}
.art-modal .art-foto.is-ini{font-size:30px;font-weight:800;color:var(--c-pink,#f289bb);}
.art-nombre{margin:0;font-size:22px;color:#fff;line-height:1.15;}
.art-badge-modal{display:inline-block;margin-top:6px;font-family:var(--font-mono,monospace);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c-yellow,var(--c-yellow));background:rgba(248,169,0,.12);border:1px solid rgba(248,169,0,.4);border-radius:99px;padding:3px 9px;}
.art-badge-modal[hidden]{display:none;}
.art-generos{font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:.04em;color:var(--c-pink,#f289bb);text-transform:uppercase;margin:0 0 10px;}
.art-generos[hidden]{display:none;}
.art-bio{color:var(--tx-0,#ddd);font-size:14px;line-height:1.6;margin:0 0 16px;white-space:pre-wrap;}
.art-redes{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
.art-red{font-family:var(--font-mono,monospace);font-size:11px;letter-spacing:.03em;color:var(--tx-1,#bbb);background:var(--bg-2,#2a2a2a);border:1px solid var(--bg-4,#4d4d4d);border-radius:99px;padding:6px 12px;text-decoration:none;transition:border-color .15s,color .15s;}
.art-red:hover{border-color:var(--c-pink,#f289bb);color:var(--c-pink,#f289bb);}
.art-sin-redes{color:var(--tx-2,#7a7a7a);font-size:12.5px;font-style:italic;margin:0;}
.art-presskit{display:block;text-align:center;margin:0;}
.art-presskit[hidden]{display:none;}

/* Tienda — cartel "en construcción" */
.tienda-soon{margin-top:18px;padding:28px 22px;text-align:center;background:var(--bg-1,#1f1f1f);border:1px dashed var(--c-cyan,#5ccded);border-radius:12px;}
.tienda-soon-ico{font-size:46px;line-height:1;display:block;margin-bottom:10px;}
.tienda-soon-tit{font-size:20px;font-weight:800;color:#fff;margin:0 0 10px;letter-spacing:.02em;}
.tienda-soon .view-desc{margin:0 auto 14px;max-width:34ch;}
.tienda-soon-msg{font-family:var(--font-mono,monospace);font-size:13px;color:var(--c-cyan,#5ccded);margin:0 0 16px;}

/* ===== Admin · Clases del mes (grilla) ===== */
.clases-head{display:flex;align-items:center;gap:10px;margin-bottom:6px;flex-wrap:wrap;}
.cls-row{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;
  border:1px solid var(--bg-3,#3d3d3d);margin-bottom:8px;background:var(--bg-1,#2a2a2a);}
.cls-info{flex:1;min-width:120px;display:flex;flex-direction:column;gap:2px;}
.cls-name{font-size:14px;font-weight:600;color:var(--tx-0,#eee);}
/* De qué pack se trata y cuándo arrancó: es lo que antes se perdía al cambiar de mes. */
.cls-meta{font-size:11.5px;color:var(--tx-2,#8a8a8a);}
.cls-meta.is-cobrar{color:#85d43c;font-weight:700;}
.cls-row.is-completo{border-color:rgba(133,212,60,.45);background:rgba(133,212,60,.06);}
/* Selector Pack abierto / Historial por mes */
.cls-modo{display:inline-flex;gap:4px;padding:3px;border-radius:10px;background:var(--bg-0,#1f1f1f);border:1px solid var(--bg-3,#3d3d3d);}
.cls-modo-btn{padding:7px 12px;border:0;border-radius:8px;background:transparent;color:var(--tx-1,#aaa);
  font-size:12.5px;font-weight:600;cursor:pointer;min-height:34px;}
.cls-modo-btn:hover{color:var(--tx-0,#eee);}
.cls-modo-btn.is-sel{background:var(--c-yellow,#f8a900);color:#1a1300;}
.cls-mes-lbl{font-weight:700;font-size:14px;color:var(--tx-0,#eee);min-width:130px;text-align:center;}
/* Resumen de arriba: a quién hay que cobrarle hoy. */
.cls-resumen{padding:12px 14px;margin-bottom:12px;border-radius:10px;font-size:13.5px;line-height:1.5;
  border:1px solid var(--bg-3,#3d3d3d);background:var(--bg-1,#232326);color:var(--tx-1,#bbb);}
.cls-resumen.is-cobrar{border-color:rgba(133,212,60,.5);background:rgba(133,212,60,.08);color:#c9e8a8;font-weight:600;}
.cls-slots{display:flex;gap:6px;}
.cls-slot{width:46px;height:40px;border-radius:8px;border:1px solid var(--bg-4,#4a4a4a);
  background:var(--bg-0,#1f1f1f);color:var(--tx-1,#999);font-size:15px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;padding:0;}
.cls-slot small{font-size:9px;color:inherit;opacity:.85;margin-top:2px;}
.cls-slot.is-on{background:rgba(133,212,60,.18);border-color:rgba(133,212,60,.5);color:#85d43c;font-weight:700;}
.cls-slot.is-falta{background:rgba(255,59,59,.18);border-color:rgba(255,59,59,.5);color:#ff5b5b;font-weight:700;}
.cls-slot.is-add{border-style:dashed;color:var(--c-yellow,var(--c-yellow));font-weight:700;}
.cls-slot.is-add:hover{background:rgba(248,169,0,.12);}
.cls-slot.is-empty{cursor:default;opacity:.4;}
/* flex-shrink:0 — el contador es el dato, no puede ser lo primero que se achica. */
.cls-count{flex:0 0 auto;min-width:34px;text-align:right;font-weight:700;font-size:13px;color:var(--tx-1,#aaa);}

/* En celular la fila no entra en una sola línea: el nombre pide 120px, los 4
   casilleros 202px y el contador 34px = 380px mínimo, más de lo que mide la
   pantalla. Antes el "X/4" quedaba cortado afuera. Ahora se parte en dos:
   arriba nombre + contador, abajo los casilleros a lo ancho (más fáciles de
   tocar con el pulgar). */
@media (max-width: 600px) {
  .cls-row { flex-wrap: wrap; gap: 8px 10px; padding: 10px; }
  .cls-info { flex: 1 1 auto; min-width: 0; }
  .cls-name { overflow-wrap: anywhere; }
  .cls-count { order: 2; font-size: 14px; }
  .cls-slots { order: 3; flex: 1 0 100%; gap: 8px; }
  .cls-slot { flex: 1 1 0; width: auto; min-width: 0; height: 44px; }
  .clases-head { gap: 8px; }
  .cls-modo { width: 100%; }
  .cls-modo-btn { flex: 1 1 0; }
}

/* Palabra resaltada dentro de los titulos de vista (faltaba la regla) */
.view-title .blue, .blue { color: var(--c-cyan); }

/* ---------- ACCESO EN EL TRANSPORT BAR (desktop, siempre a la vista) ---------- */
.ab-tp-acceso { font-family: var(--font-mono); font-size: 11px; color: var(--tx-1); text-decoration: none; padding: 4px 10px; border: 1px solid var(--bg-5); border-radius: 999px; white-space: nowrap; margin-left: 4px; }
.ab-tp-acceso:hover { border-color: var(--c-cyan); color: var(--c-cyan); }
.ab-tp-acceso--reg { color: var(--c-yellow); border-color: rgba(248,169,0,.45); font-weight: 700; }
.ab-tp-acceso--reg:hover { background: rgba(248,169,0,.12); border-color: var(--c-yellow); color: var(--c-yellow); }
/* ---------- CTA FIJO DE ACCESO (Registrate / Loguearte) — solo mobile ---------- */
.acceso-cta {
    position: fixed;
    top: auto;
    bottom: 56px;
    right: 18px;
    z-index: calc(var(--z-float) + 3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
}
a.acceso-login {
    color: var(--tx-1);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    /* 44px de alto: es el CTA de acceso en mobile, tiene que ser fácil de tocar. */
    padding: 9px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--bg-5);
    border-radius: 999px;
    background: rgba(31,31,31,.85);
    backdrop-filter: blur(6px);
    transition: border-color .2s var(--ease), color .2s var(--ease);
}
.acceso-login:hover { border-color: var(--c-cyan); color: var(--c-cyan); }
a.acceso-registro {
    color: var(--c-yellow);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 9px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(248,169,0,.45);
    background: rgba(28,28,30,.82);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,.35);
    transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.acceso-registro:hover {
    border-color: var(--c-yellow);
    background: rgba(248,169,0,.12);
}
/* En el celu el CTA se va ABAJO a la derecha: arriba está el menú ☰ y lo tapaba. */
@media (max-width: 820px) {
    .acceso-cta { top: auto; bottom: 14px; right: 10px; left: auto; gap: 7px; }
    .acceso-login { padding: 8px 11px; font-size: 11px; }
    .acceso-registro { padding: 9px 13px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .acceso-registro { animation: none; }
}

/* ============================================================
   QUÉ ACCESO SE MUESTRA — va acá abajo A PROPÓSITO
   Estas reglas tienen que ganarle a los `display:inline-flex` de arriba
   (los que dan el alto táctil de 44px). Como empatan en especificidad,
   lo que decide es el orden: si suben, dejan de aplicar y se ven los
   DOS pares de botones a la vez.
   ============================================================ */

/* Escritorio: manda la barra de transporte, se esconde el CTA flotante. */
@media (min-width: 821px) {
    .acceso-cta { display: none; }
}
/* Celular: al revés — manda el CTA flotante y se esconde el de la barra. */
@media (max-width: 820px) {
    .ab-tp-right a.ab-tp-acceso { display: none; }
}

/* Con sesión iniciada, index.auth.js oculta "Loguearte" poniéndole el
   atributo hidden. Sin esto, el display de arriba le ganaba y el botón
   seguía a la vista al lado de "Mi portal". */
.acceso-login[hidden],
.acceso-registro[hidden],
.ab-tp-acceso[hidden] { display: none !important; }

/* ---------- Footer del sitio en el sidebar (legal + contacto) ---------- */
.ab-side-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--bg-3); }
.ab-foot-links a { display: flex; align-items: center; gap: 8px; color: var(--tx-2); text-decoration: none; font-size: 11px; padding: 3px 0; transition: color .15s var(--ease); }
.ab-foot-links a:hover { color: var(--tx-0); }
.ab-foot-copy { font-family: var(--font-mono); font-size: 9.5px; color: var(--tx-4); letter-spacing: .04em; margin-top: 8px; }

/* ---------- Caras del inicio (prueba social en la portada) ---------- */
.home-caras { margin: 4px 0 20px; }
.caras-lbl { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--tx-3); text-transform: uppercase; margin-bottom: 10px; }
.caras-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cara-chip { background: none; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 68px; }
.cara-foto { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: var(--bg-3); border: 2px solid var(--bg-4); transition: border-color .2s var(--ease), transform .2s var(--ease); display: flex; align-items: center; justify-content: center; }
.cara-foto img { width: 100%; height: 100%; object-fit: cover; }
.cara-foto.is-ini { color: var(--tx-2); font-weight: 700; font-size: 20px; }
.cara-chip:hover .cara-foto { border-color: var(--c-green); transform: translateY(-2px); }
.cara-nom { font-size: 11px; color: var(--tx-2); text-align: center; max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cara-chip:hover .cara-nom { color: var(--tx-0); }

/* ---------- Foto del fundador en "Sobre BE SKILLZ" ---------- */
.about-intro { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: start; margin-bottom: 4px; }
.about-foto {
    width: 100%; height: auto; display: block; border-radius: 12px;
    border: 1px solid var(--bg-4); object-fit: cover; aspect-ratio: 4 / 5;
    box-shadow: 0 10px 28px rgba(0,0,0,.5);
}
.about-intro .view-desc { margin: 0; }
@media (max-width: 600px) {
    .about-intro { grid-template-columns: 130px 1fr; gap: 16px; }
}

/* ---------- Galería del estudio (fotos reales, flexible) ---------- */
.studio-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; }
.studio-gal img {
    width: 100%; height: 170px; object-fit: cover; border-radius: 10px;
    border: 1px solid var(--bg-4); display: block;
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.studio-gal img:first-child { grid-column: 1 / -1; height: 260px; }
.studio-gal img:hover { transform: scale(1.015); border-color: var(--c-cyan); }
@media (max-width: 600px) {
    .studio-gal { grid-template-columns: 1fr; }
    .studio-gal img, .studio-gal img:first-child { height: 190px; }
}

/* ============================================================
   TIENDA — catálogo de equipos (Pioneer DJ + sintes)
   ============================================================ */
.ab-view[data-view="tienda"] { --tienda-acc: var(--c-yellow); }   /* dorado de la marca */
.view-title .gold, .gold { color: var(--c-yellow); }
.tienda-pasos {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 4px;
}
.tienda-paso {
    display: flex; align-items: flex-start; gap: 10px; padding: 14px 15px;
    background: var(--bg-1, #1f1f1f); border: 1px solid var(--bg-4, #3a3a3a); border-radius: 10px;
    font-size: 13px; color: var(--tx-1, #e8e8e8);
}
.tienda-paso b { color: var(--tx-0, #fff); font-weight: 700; }
.tienda-paso-n {
    flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center; font-family: var(--font-mono, monospace);
    font-weight: 800; font-size: 13px; color: #2a1c00; background: var(--tienda-acc);
}

.tienda-alu {
    display: flex; align-items: center; gap: 14px; margin: 16px 0;
    padding: 14px 18px; border-radius: 12px;
    background: linear-gradient(100deg, rgba(133,212,60,.12), rgba(133,212,60,.03));
    border: 1px solid rgba(133,212,60,.35);
}
.tienda-alu-ico { font-size: 32px; line-height: 1; }
.tienda-alu-tit { margin: 0; font-weight: 800; color: var(--tx-0, #fff); font-size: 15px; }
.tienda-alu-txt { margin: 2px 0 0; font-size: 13px; color: var(--tx-2, #a7a7a7); }

.tienda-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.tienda-chip {
    font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 600;
    padding: 8px 14px; border-radius: 999px; cursor: pointer;
    background: var(--bg-2, #2a2a2a); border: 1px solid var(--bg-5, #444); color: var(--tx-2, #a7a7a7);
    transition: border-color .15s, color .15s, transform .15s;
}
.tienda-chip:hover { transform: translateY(-1px); color: var(--tx-0, #fff); border-color: var(--tx-3); }
.tienda-chip.is-active { background: rgba(248,169,0,.14); color: var(--tienda-acc); border-color: var(--tienda-acc); }

.tienda-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px;
}
.tp-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--bg-1, #1f1f1f); border: 1px solid var(--bg-4, #3a3a3a); border-radius: 14px;
    transition: transform .2s var(--ease-soft, ease), border-color .2s, box-shadow .2s;
}
.tp-card:hover { transform: translateY(-4px); border-color: var(--tp-acc, #5ccded); box-shadow: 0 14px 34px rgba(0,0,0,.5); }
.tp-card.is-destacado { border-color: color-mix(in srgb, var(--tp-acc) 55%, #3a3a3a); }

.tp-media {
    position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
    background:
        radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--tp-acc) 16%, transparent), transparent 60%),
        linear-gradient(180deg, #202024, #131315);
    border-bottom: 1px solid var(--bg-4, #3a3a3a);
}
.tp-media img { width: 100%; height: 100%; object-fit: cover; }
.tp-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.tp-art { display: block; width: 68%; color: var(--tp-acc, var(--c-yellow)); opacity: .85; filter: drop-shadow(0 6px 16px rgba(0,0,0,.55)); }
.tp-art svg { width: 100%; height: auto; display: block; }
.tp-card:hover .tp-art { opacity: 1; }
.tp-badge-dst {
    position: absolute; top: 10px; left: 10px;
    font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px; color: #0c1400; background: var(--tp-acc, #5ccded);
}

.tp-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 15px 15px; flex: 1; }
.tp-cat { font-family: var(--font-mono, monospace); font-size: 9.5px; letter-spacing: .14em; color: var(--tp-acc, #5ccded); }
.tp-name { margin: 0; font-size: 17px; font-weight: 800; color: var(--tx-0, #fff); line-height: 1.15; }
.tp-spec { margin: 0; font-size: 12px; color: var(--tx-2, #a7a7a7); flex: 1; }
.tp-price-row { display: flex; flex-direction: column; margin: 6px 0 2px; }
.tp-price { font-size: 22px; font-weight: 800; color: var(--tx-0, #fff); letter-spacing: .01em; }
.tp-alu { font-size: 11px; color: var(--c-green, #85d43c); font-weight: 600; }
.tp-price--ask { font-size: 15px; font-weight: 700; color: var(--c-yellow, var(--c-yellow)); }
.tp-btn {
    margin-top: 8px; text-align: center; text-decoration: none;
    font-family: var(--font-mono, monospace); font-size: 12px; font-weight: 700;
    padding: 11px 12px; border-radius: 9px; color: #0c1400;
    background: linear-gradient(135deg, #3fa62a, #7ed94a);
    border: 1px solid #cff59a; transition: transform .15s, filter .15s;
}
.tp-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }

.tienda-trust {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px;
    margin: 24px 0 8px; padding: 16px; border-radius: 12px;
    background: var(--bg-1, #1f1f1f); border: 1px solid var(--bg-4, #3a3a3a);
}
.tienda-trust-item { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; color: var(--tx-2, #a7a7a7); line-height: 1.5; }
.tienda-trust-item > span { font-size: 20px; line-height: 1; flex-shrink: 0; }
.tienda-trust-item b { display: block; color: var(--tx-0, #fff); font-size: 13px; margin-bottom: 2px; }

/* Respaldo de la academia (prueba de confianza arriba del catálogo) */
.tienda-respaldo {
    display: flex; align-items: flex-start; gap: 14px; margin: 18px 0 6px;
    padding: 15px 18px; border-radius: 12px;
    background: rgba(248,169,0,.06); border: 1px solid rgba(248,169,0,.28);
}
.tienda-respaldo-ico { font-size: 26px; line-height: 1; flex-shrink: 0; }
.tienda-respaldo p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--tx-1, #e8e8e8); }
.tienda-respaldo strong { color: var(--tienda-acc, var(--c-yellow)); }
.tienda-h3 { margin: 26px 0 12px; }
.tienda-nota { font-size: 11px; color: var(--tx-3, #8a8a8a); margin: 6px 0 14px; line-height: 1.5; }

@media (max-width: 820px) {
    .tienda-pasos { grid-template-columns: 1fr; }
    .tienda-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tp-name { font-size: 15px; }
    .tp-price { font-size: 19px; }
}

/* ============================================================
   TIENDA — Ficha de producto + Carrito + Buscador + FABs (2026-07-27)
   ============================================================ */

/* Buscador */
.tienda-buscador { display: flex; align-items: center; gap: 9px; margin: 4px 0 14px; padding: 0 14px; height: 44px;
    border-radius: 11px; background: var(--bg-1, #1f1f1f); border: 1px solid var(--bg-4, #3a3a3a); color: var(--tx-3, #8a8a8a); }
.tienda-buscador:focus-within { border-color: var(--c-yellow, var(--c-yellow)); color: var(--c-yellow, var(--c-yellow)); }
.tienda-buscador input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--tx-0, #fff); font-family: inherit; font-size: 14px; }
.tienda-buscador input::placeholder { color: var(--tx-3, #8a8a8a); }

/* Card: media clickeable + badge por encargo */
.tp-media--click { cursor: pointer; }
.tp-encargo { position: absolute; bottom: 8px; left: 8px; z-index: 2; font-family: var(--font-mono, monospace);
    font-size: 9px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; color: var(--tx-1, #ddd);
    background: rgba(12,12,14,.78); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }

/* Botones de acción (redefine el .tp-btn viejo con modificadores) */
.tp-acts { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.tp-btn { margin-top: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-align: center;
    text-decoration: none; cursor: pointer; border: 1px solid transparent; font-family: var(--font-mono, monospace);
    font-size: 12px; font-weight: 700; padding: 11px 14px; border-radius: 10px;
    transition: transform .15s, filter .15s, background .15s, border-color .15s, color .15s; }
.tp-btn:hover { transform: translateY(-1px); }
.tp-btn--add { color: #1a1300; background: linear-gradient(135deg, var(--c-yellow), #ffca4d); border-color: #ffdf9e; }
.tp-btn--add:hover { filter: brightness(1.05); }
.tp-btn--ghost { color: var(--tx-1, #ddd); background: transparent; border-color: var(--bg-4, #3a3a3a); }
.tp-btn--ghost:hover { border-color: var(--c-yellow, var(--c-yellow)); color: #fff; }

body.tp-noscroll { overflow: hidden; }

/* ---------- Ficha de producto (modal) ---------- */
.tp-modal { position: fixed; inset: 0; z-index: calc(var(--z-overlay) + 2); display: grid; place-items: center; padding: 20px; opacity: 0;
    transition: opacity .2s var(--ease, ease); }
.tp-modal.is-open { opacity: 1; }
.tp-modal[hidden] { display: none; }
.tp-modal__bd { position: absolute; inset: 0; background: rgba(6,6,8,.78); backdrop-filter: blur(3px); }
.tp-modal__panel { position: relative; z-index: 1; width: min(920px, 100%); max-height: 88vh; overflow: auto;
    display: grid; grid-template-columns: 1.05fr 1fr; background: var(--bg-1, #1c1c1e); border: 1px solid var(--bg-4, #3a3a3a);
    border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: translateY(12px) scale(.985);
    transition: transform .22s var(--ease, ease); }
.tp-modal.is-open .tp-modal__panel { transform: none; }
.tp-modal__x { position: absolute; top: 10px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--bg-4, #3a3a3a); background: rgba(20,20,22,.85); color: var(--tx-1, #ddd); font-size: 20px; line-height: 1; cursor: pointer; }
.tp-modal__x:hover { color: #fff; border-color: var(--c-yellow, var(--c-yellow)); }
.tp-modal__media { position: relative; min-height: 280px; border-right: 1px solid var(--bg-4, #3a3a3a);
    background: linear-gradient(180deg, #202024, #131315); }
.tp-media--big { height: 100%; aspect-ratio: auto; }
.tp-media--big .tp-photo { object-fit: contain; }
.tp-modal__info { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.tp-modal__name { margin: 2px 0 0; font-size: 26px; font-weight: 800; color: var(--tx-0, #fff); line-height: 1.1; }
.tp-modal__tag { margin: 0; font-size: 13px; font-weight: 600; color: var(--tp-acc, var(--c-yellow)); }
.tp-modal__pitch { margin: 4px 0; font-size: 14px; line-height: 1.55; color: var(--tx-1, #cfcfcf); }
.tp-specs { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 1px; border-radius: 10px; overflow: hidden; }
.tp-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--bg-2, #262629); font-size: 12.5px; }
.tp-specs li span { color: var(--tx-3, #8a8a8a); }
.tp-specs li b { color: var(--tx-0, #fff); font-weight: 600; text-align: right; }
.tp-modal__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.tp-modal__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.tp-encargo--full { position: static; align-self: flex-start; background: rgba(248,169,0,.1); border-color: rgba(248,169,0,.35);
    color: var(--c-yellow, var(--c-yellow)); font-size: 10.5px; }

/* ---------- FABs (carrito + WhatsApp), solo en la tienda ---------- */
.tp-cart-fab, .tp-wa-fab { position: fixed; left: 18px; z-index: calc(var(--z-float) + 2); width: 54px; height: 54px; border-radius: 50%;
    display: none; align-items: center; justify-content: center; cursor: pointer; border: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .15s, box-shadow .15s; }
body.tp-en-tienda .tp-cart-fab, body.tp-en-tienda .tp-wa-fab { display: inline-flex; }
/* Se apilan ARRIBA del botón del bot Skilly (.gb-btn, que vive en bottom:18px
   con más z-index). Si el WhatsApp quedaba en 18px, el bot lo tapaba y el dedo
   caía siempre en el bot. */
.tp-wa-fab { bottom: 82px; background: #25d366; color: #fff; text-decoration: none; }
.tp-cart-fab { bottom: 146px; background: linear-gradient(135deg, var(--c-yellow), #ffca4d); color: #1a1300; }
.tp-cart-fab:hover, .tp-wa-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.tp-cart-fab.is-pulse { animation: tpPulse .5s ease; }
@keyframes tpPulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.14); } }
.tp-cart-fab__badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 800; display: flex;
    align-items: center; justify-content: center; border: 2px solid var(--bg-0, #141416); }
@media (prefers-reduced-motion: reduce) { .tp-cart-fab.is-pulse { animation: none; } }

/* ---------- Carrito (drawer lateral) ---------- */
.tp-cart { position: fixed; inset: 0; z-index: calc(var(--z-overlay) + 3); }
.tp-cart[hidden] { display: none; }
.tp-cart__bd { position: absolute; inset: 0; background: rgba(6,6,8,.6); opacity: 0; transition: opacity .22s; }
.tp-cart.is-open .tp-cart__bd { opacity: 1; }
.tp-cart__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 100%); display: flex; flex-direction: column;
    background: var(--bg-1, #1c1c1e); border-left: 1px solid var(--bg-4, #3a3a3a); transform: translateX(100%);
    transition: transform .24s var(--ease, ease); }
.tp-cart.is-open .tp-cart__panel { transform: none; }
.tp-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px; border-bottom: 1px solid var(--bg-4, #3a3a3a); }
.tp-cart__head h3 { margin: 0; font-size: 17px; color: var(--tx-0, #fff); }
.tp-cart__x { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--bg-4, #3a3a3a); background: none; color: var(--tx-1, #ddd); font-size: 20px; cursor: pointer; }
.tp-cart__body { flex: 1; overflow: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.tp-cart__foot { padding: 14px 16px 18px; border-top: 1px solid var(--bg-4, #3a3a3a); }
.tp-cart-empty { text-align: center; color: var(--tx-2, #a7a7a7); padding: 40px 10px; }
.tp-cart-empty__sub { font-size: 12px; color: var(--tx-3, #8a8a8a); margin-top: 6px; }
.tp-ci { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; position: relative; padding: 8px; border-radius: 10px; background: var(--bg-2, #242427); }
.tp-ci__thumb { width: 54px; height: 44px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, #202024, #131315); color: var(--tp-acc, var(--c-yellow)); }
.tp-ci__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-ci__thumb svg { width: 70%; }
.tp-ci__info strong { display: block; font-size: 13px; color: var(--tx-0, #fff); line-height: 1.2; }
.tp-ci__u { font-size: 11px; color: var(--tx-3, #8a8a8a); }
.tp-ci__qty { display: inline-flex; align-items: center; gap: 8px; }
.tp-ci__qty button { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--bg-4, #3a3a3a); background: var(--bg-1, #1c1c1e); color: var(--tx-0, #fff); font-size: 15px; cursor: pointer; line-height: 1; }
.tp-ci__qty span { min-width: 16px; text-align: center; font-size: 13px; color: var(--tx-0, #fff); }
.tp-ci__rm { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--tx-3, #8a8a8a); font-size: 15px; cursor: pointer; line-height: 1; }
.tp-ci__rm:hover { color: #e5484d; }
.tp-cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.tp-cart-total span { font-size: 13px; color: var(--tx-2, #a7a7a7); }
.tp-cart-total strong { font-size: 20px; color: var(--tx-0, #fff); }
.tp-cart-hint { font-size: 11px; color: var(--tx-3, #8a8a8a); margin: 0 0 12px; line-height: 1.4; }
.tp-cart-cta { width: 100%; padding: 13px; border-radius: 11px; border: 0; cursor: pointer; font-family: var(--font-mono, monospace); font-weight: 700; font-size: 13px; color: #fff; background: #25d366; }
.tp-cart-cta:hover { filter: brightness(1.06); }
.tp-cart-seguir { width: 100%; padding: 10px; margin-top: 8px; border-radius: 11px; cursor: pointer; background: none; border: 1px solid var(--bg-4, #3a3a3a); color: var(--tx-2, #a7a7a7); font-size: 12px; }

.tienda-vacio { grid-column: 1 / -1; text-align: center; color: var(--tx-2, #a7a7a7); padding: 30px 10px; font-size: 14px; }
.tp-link { background: none; border: 0; color: var(--c-yellow, var(--c-yellow)); cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }

/* Zoom (lightbox) de la foto del producto */
.tp-modal__media { cursor: zoom-in; }
.tp-zoom-hint { position: absolute; top: 8px; left: 8px; z-index: 2; pointer-events: none; font-family: var(--font-mono, monospace);
    font-size: 9px; font-weight: 700; letter-spacing: .03em; padding: 3px 8px; border-radius: 999px; color: #fff;
    background: rgba(12,12,14,.72); border: 1px solid rgba(255,255,255,.15); }
.tp-zoom { position: fixed; inset: 0; z-index: calc(var(--z-overlay) + 4); display: grid; place-items: center; cursor: zoom-out; opacity: 0;
    transition: opacity .2s var(--ease, ease); }
.tp-zoom.is-open { opacity: 1; }
.tp-zoom[hidden] { display: none; }
.tp-zoom__bd { position: absolute; inset: 0; background: rgba(4,4,6,.93); }
.tp-zoom__inner { position: relative; z-index: 1; display: grid; place-items: center; max-width: 94vw; max-height: 92vh; }
.tp-zoom__inner img { max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: 10px; }
.tp-zoom__art { width: min(70vw, 620px); color: var(--tp-acc, var(--c-yellow)); }
.tp-zoom__x { position: fixed; top: 16px; right: 18px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25); background: rgba(20,20,22,.7); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.tp-zoom__x:hover { background: rgba(40,40,42,.9); }

/* ============================================================
   ANUNCIO DEL FUNDADOR — pop-up interactivo para la comunidad
   ============================================================ */
body.anuncio-pop-open { overflow: hidden; }
.anuncio-pop { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s var(--ease, ease); }
.anuncio-pop.is-open { opacity: 1; }
.anuncio-pop__bd { position: absolute; inset: 0; background: rgba(6,6,10,.82); backdrop-filter: blur(5px); }
.anuncio-pop__card { position: relative; z-index: 1; width: min(440px, 100%); text-align: center; padding: 42px 30px 28px; border-radius: 22px; overflow: hidden;
    background: radial-gradient(120% 90% at 50% -10%, color-mix(in srgb, var(--acc, var(--c-yellow)) 26%, #16161a), #131316 62%);
    border: 1px solid color-mix(in srgb, var(--acc, var(--c-yellow)) 45%, #3a3a3a);
    box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 60px -20px var(--acc, var(--c-yellow));
    transform: translateY(18px) scale(.93); transition: transform .34s cubic-bezier(.2,1.1,.3,1); }
.anuncio-pop.is-open .anuncio-pop__card { transform: none; }
.anuncio-pop__x { position: absolute; top: 12px; right: 14px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.anuncio-pop__x:hover { background: rgba(0,0,0,.55); }
.anuncio-pop__emoji { position: relative; z-index: 2; font-size: 62px; line-height: 1; margin-bottom: 4px; animation: anEmoji 2.4s ease-in-out infinite; }
@keyframes anEmoji { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-9px) rotate(4deg); } }
.anuncio-pop__eyebrow { position: relative; z-index: 2; display: inline-block; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc, var(--c-yellow)); padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--acc, var(--c-yellow)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc, var(--c-yellow)) 40%, transparent); margin-bottom: 12px; }
.anuncio-pop__tit { position: relative; z-index: 2; margin: 0 0 10px; font-size: 24px; font-weight: 800; color: #fff; line-height: 1.15; }
.anuncio-pop__msg { position: relative; z-index: 2; margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--tx-1, #d6d6d6); white-space: pre-line; }
.anuncio-pop__cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-mono, monospace); font-weight: 700; font-size: 14px; color: #14100a; padding: 13px 26px; border-radius: 999px; background: var(--acc, var(--c-yellow)); box-shadow: 0 8px 24px -6px var(--acc, var(--c-yellow)); animation: anPulse 1.8s ease-in-out infinite; transition: transform .15s; }
.anuncio-pop__cta:hover { transform: translateY(-2px); }
.anuncio-pop__cta span { transition: transform .15s; }
.anuncio-pop__cta:hover span { transform: translateX(3px); }
@keyframes anPulse { 0%,100% { box-shadow: 0 8px 24px -6px var(--acc, var(--c-yellow)); } 50% { box-shadow: 0 10px 36px 0 var(--acc, var(--c-yellow)); } }
.anuncio-pop__marca { position: relative; z-index: 2; display: block; margin-top: 18px; font-family: var(--font-mono, monospace); font-size: 9.5px; letter-spacing: .18em; color: var(--tx-4, #6a6a6a); }
.anuncio-pop__conf { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.anuncio-pop__conf i { position: absolute; top: -14px; left: calc(var(--i) * 3.85%); width: 8px; height: 12px; border-radius: 2px; background: var(--acc, var(--c-yellow)); opacity: 0; animation: anConf 2.8s linear infinite; animation-delay: calc(var(--i) * -.11s); }
.anuncio-pop__conf i:nth-child(3n) { background: #fff; }
.anuncio-pop__conf i:nth-child(3n+1) { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--acc, var(--c-yellow)) 55%, #fff); }
.anuncio-pop.is-open .anuncio-pop__conf i { opacity: 1; }
@keyframes anConf { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(520px) rotate(560deg); opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .anuncio-pop__emoji, .anuncio-pop__cta, .anuncio-pop__conf i { animation: none; } .anuncio-pop__conf { display: none; } }

/* --- Tipos de anuncio (festivo = por defecto, arriba) --- */
/* ALERTA: sin confeti, anillo pulsante y emoji que tiembla */
.anuncio-pop--alerta .anuncio-pop__conf { display: none; }
.anuncio-pop--alerta .anuncio-pop__card { animation: anAlertRing 1.5s ease-in-out infinite; }
@keyframes anAlertRing {
    0%, 100% { box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 0 0 color-mix(in srgb, var(--acc, #e5484d) 60%, transparent); }
    50%      { box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 0 12px color-mix(in srgb, var(--acc, #e5484d) 0%, transparent); }
}
.anuncio-pop--alerta .anuncio-pop__emoji { animation: anShake .55s ease-in-out infinite; }
@keyframes anShake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-11deg); } 60% { transform: rotate(11deg); } }
/* CHILL: las piezas flotan suave hacia arriba como burbujas */
.anuncio-pop--chill .anuncio-pop__conf i {
    top: auto; bottom: -16px; width: 11px; height: 11px; border-radius: 50%;
    animation-name: anFloat; animation-duration: 4.6s; animation-timing-function: ease-in;
}
@keyframes anFloat { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .55; } 100% { transform: translateY(-560px); opacity: 0; } }
.anuncio-pop--chill .anuncio-pop__emoji { animation-duration: 3.6s; }

/* Panel del fundador para publicar anuncios (admin) */
.anuncio-admin { display: grid; gap: 10px; }
.anuncio-admin .an-tipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.an-tipo { padding: 9px 6px; border-radius: 9px; border: 1px solid var(--bg-4, #3a3a3a); background: var(--bg-1, #1c1c1e); color: var(--tx-2, #b8b8b8); font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.an-tipo:hover { border-color: var(--c-yellow, var(--c-yellow)); }
.an-tipo.is-sel { border-color: var(--c-yellow, var(--c-yellow)); background: color-mix(in srgb, var(--c-yellow, var(--c-yellow)) 16%, var(--bg-1, #1c1c1e)); color: #fff; }
.anuncio-admin .an-destino-lbl { font-size: 10px; color: var(--tx-3, #8a8a8a); margin: 2px 0 -5px; font-family: var(--font-mono, monospace); text-transform: uppercase; letter-spacing: .08em; }
.anuncio-admin .an-destino { width: 100%; padding: 9px 10px; border-radius: 9px; background: var(--bg-2, #262629); border: 1px solid var(--bg-4, #3a3a3a); color: var(--tx-1, #ddd); font-size: 13px; }
.an-item .an-item-dest { font-family: var(--font-mono, monospace); font-size: 10px; color: var(--tx-4, #6a6a6a); flex-shrink: 0; }
.anuncio-admin .an-row { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.anuncio-admin input, .anuncio-admin textarea { width: 100%; }
.anuncio-admin .an-color { display: flex; align-items: center; gap: 8px; }
.anuncio-admin .an-color input[type="color"] { width: 42px; height: 34px; padding: 2px; border-radius: 8px; background: var(--bg-2, #262629); border: 1px solid var(--bg-4, #3a3a3a); cursor: pointer; }
.an-lista { display: grid; gap: 6px; margin-top: 4px; }
.an-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; background: var(--bg-2, #242427); font-size: 12.5px; }
.an-item.is-off { opacity: .55; }
.an-item .an-item-tit { flex: 1; color: var(--tx-0, #fff); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-item button { border: 1px solid var(--bg-4, #3a3a3a); background: var(--bg-1, #1c1c1e); color: var(--tx-1, #ddd); border-radius: 7px; padding: 4px 9px; font-size: 11px; cursor: pointer; }
.an-item button:hover { border-color: var(--c-yellow, var(--c-yellow)); }

/* Asesoramiento de equipos (bloque destacado de la tienda) */
.tienda-asesor { margin: 18px 0 6px; padding: 18px 20px; border-radius: 14px;
    background: linear-gradient(120deg, rgba(248,169,0,.10), rgba(248,169,0,.02));
    border: 1px solid rgba(248,169,0,.32); }
.tienda-asesor--mini { display: flex; align-items: center; gap: 12px; padding: 10px 14px; margin: 12px 0 4px; }
.tienda-asesor--mini p { margin: 0; flex: 1; font-size: 13px; line-height: 1.5; color: var(--tx-2, #a7a7a7); }
.tienda-asesor--mini p strong { color: var(--tx-0, #fff); }
.tienda-asesor--mini .view-btn { flex-shrink: 0; }
.tienda-asesor-head { display: flex; align-items: flex-start; gap: 14px; }
.tienda-asesor-ico { font-size: 30px; line-height: 1; flex-shrink: 0; }
.tienda-asesor-tit { margin: 0; font-size: 18px; font-weight: 800; color: var(--tx-0, #fff); line-height: 1.15; }
.tienda-asesor-sub { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: var(--tx-1, #e8e8e8); }
.tienda-asesor-list { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; }
.tienda-asesor-list li { position: relative; padding-left: 20px; font-size: 12.5px; line-height: 1.5; color: var(--tx-2, #a7a7a7); }
.tienda-asesor-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--c-yellow, var(--c-yellow)); font-weight: 800; }
.tienda-asesor-list b { color: var(--tx-0, #fff); font-weight: 700; }
.tienda-asesor-cta { margin-top: 14px; }
@media (max-width: 820px) { .tienda-asesor-list { grid-template-columns: 1fr; } }
.tp-asesor-chip { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
    font-family: var(--font-mono, monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .03em;
    padding: 4px 9px; border-radius: 999px; color: var(--c-yellow, var(--c-yellow));
    background: rgba(248,169,0,.10); border: 1px solid rgba(248,169,0,.32); }
.tp-asesor-chip--modal { font-size: 10.5px; margin: 2px 0 4px; }

@media (max-width: 820px) {
    .tp-modal__panel { grid-template-columns: 1fr; }
    .tp-modal__media { border-right: 0; border-bottom: 1px solid var(--bg-4, #3a3a3a); }
    .tp-media--big { aspect-ratio: 16 / 10; height: auto; }
    .tp-modal__acts { grid-template-columns: 1fr; }
    .tp-modal__name { font-size: 22px; }
}

/* ============================================================
   CREÁ TU PRESS KIT — herramienta gratis (presskit.html)
   ============================================================ */
.pk-body { background: var(--bg-deep, #141414); color: var(--tx-1, #e8e8e8); }
.pk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--bg-3, #3d3d3d);
    position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(20,20,20,.86); backdrop-filter: blur(8px); }
.pk-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; color: var(--tx-0, #fff); }
.pk-brand b { color: var(--c-yellow); font-weight: 800; }
.pk-brand-mark { color: var(--c-yellow); font-size: 15px; }
/* Wordmark real de BE SKILLZ en el header de las herramientas */
.pk-brand-wm { height: 15px; width: auto; display: block; }
.pk-brand-tag { color: var(--c-yellow); font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 700; letter-spacing: .14em; padding-top: 1px; }
/* Wordmark en el pie del sidebar de la home */
.ab-side-logo { width: 112px; height: auto; display: block; margin: 2px 0 6px; opacity: .92; }
.pk-top-back { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--tx-2, #a7a7a7); }
.pk-top-back:hover { color: var(--c-yellow); }

.pk-intro { text-align: center; padding: 34px 20px 6px; max-width: 720px; margin: 0 auto; }
.pk-h1 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; color: var(--tx-0, #fff); line-height: 1.08; margin: 8px 0 10px; }
.pk-h1 .yellow { color: var(--c-yellow); }
.pk-intro-desc { font-size: 14px; line-height: 1.6; color: var(--tx-2, #a7a7a7); }

.pk-app { display: grid; grid-template-columns: minmax(320px, 400px) 1fr; gap: 26px;
    align-items: start; padding: 24px clamp(16px, 4vw, 40px) 40px; max-width: 1240px; margin: 0 auto; }

/* ---- Editor ---- */
.pk-editor { display: grid; gap: 16px; }
.pk-group { background: var(--bg-0, #1f1f1f); border: 1px solid var(--bg-3, #3d3d3d); border-radius: 14px; padding: 16px 16px 18px; }
.pk-group-tit { font-size: 14px; font-weight: 800; color: var(--tx-0, #fff); margin: 0 0 12px; display: flex; align-items: center; gap: 9px; }
.pk-group-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-yellow); color: #14100a; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.pk-field { display: grid; gap: 5px; margin-bottom: 11px; }
.pk-field > span { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tx-3, #8a8a8a); }
.pk-field input, .pk-field textarea, .pk-field select {
    width: 100%; padding: 9px 11px; border-radius: 9px; background: var(--bg-1, #2a2a2a);
    border: 1px solid var(--bg-4, #4a4a4a); color: var(--tx-0, #fff); font-size: 13px; }
.pk-field input:focus, .pk-field textarea:focus, .pk-field select:focus { outline: none; border-color: var(--c-yellow); }
.pk-field textarea { resize: vertical; line-height: 1.5; }
.pk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pk-row--mid { align-items: end; }
.pk-count { font-family: var(--font-mono, monospace); font-size: 10px; color: var(--tx-4, #5c5c5c); text-align: right; }
.pk-lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tx-3, #8a8a8a); margin: 4px 0 8px; }
.pk-hint { font-size: 11px; color: var(--tx-3, #8a8a8a); margin-top: 2px; }

.pk-upload { display: grid; place-items: center; padding: 14px 10px; border-radius: 9px; text-align: center;
    border: 1.5px dashed var(--bg-5, #5a5a5a); background: var(--bg-1, #2a2a2a); color: var(--tx-2, #a7a7a7);
    font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.pk-upload:hover { border-color: var(--c-yellow); color: var(--c-yellow); }

.pk-tpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 14px; }
.pk-tpl { padding: 9px 6px; border-radius: 9px; border: 1px solid var(--bg-4, #4a4a4a); background: var(--bg-1, #2a2a2a);
    color: var(--tx-2, #a7a7a7); font-size: 12px; font-weight: 700; cursor: pointer; transition: .15s; }
.pk-tpl:hover { border-color: var(--c-yellow); }
.pk-tpl.is-sel { border-color: var(--c-yellow); background: rgba(248,169,0,.16); color: #fff; }

.pk-pals { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
.pk-pal { width: 34px; height: 34px; border-radius: 9px; cursor: pointer; position: relative;
    background: var(--b); border: 2px solid var(--bg-4, #4a4a4a); transition: transform .12s, border-color .12s; }
.pk-pal::after { content: ''; position: absolute; inset: 6px 6px auto auto; width: 12px; height: 12px; border-radius: 50%; background: var(--a); }
.pk-pal:hover { transform: translateY(-2px); }
.pk-pal.is-sel { border-color: #fff; }
.pk-field input[type="color"] { height: 38px; padding: 3px; cursor: pointer; }

.pk-group--pro { background: linear-gradient(150deg, rgba(248,169,0,.08), rgba(248,169,0,.01)); border-color: rgba(248,169,0,.3); }
.pk-pro-badge { font-family: var(--font-mono, monospace); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #14100a; background: var(--c-yellow); padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.pk-pro-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.pk-pro-list li { font-size: 12.5px; color: var(--tx-2, #a7a7a7); }
.pk-pro-cta { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono, monospace); font-weight: 700; font-size: 12.5px; color: #14100a; background: var(--c-yellow); padding: 10px 18px; border-radius: 999px; }
.pk-pro-cta:hover { filter: brightness(1.05); }

.pk-reset { justify-self: start; font-family: var(--font-mono, monospace); font-size: 12px; color: var(--tx-3, #8a8a8a); padding: 8px 4px; }
.pk-reset:hover { color: var(--rec, #ff3b3b); }

/* ---- Stage / preview ---- */
.pk-stage { position: sticky; top: 78px; }
.pk-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pk-toolbar-tit { font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3, #8a8a8a); }
.pk-dl { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px; color: #14100a; background: var(--c-yellow); padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(248,169,0,.7); transition: transform .15s; }
.pk-dl:hover { transform: translateY(-2px); }
.pk-paper { display: flex; justify-content: center; }

/* ---- La tarjeta (press kit) ---- */
.pk-card {
    --pk-accent: var(--c-yellow); --pk-bg: #0d0d0f; --pk-text: #ffffff; --pk-font: var(--font-ui);
    width: 100%; max-width: 520px; aspect-ratio: 1 / 1.414; overflow: hidden;
    background: var(--pk-bg); color: var(--pk-text); font-family: var(--pk-font);
    border-radius: 16px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); display: flex; flex-direction: column;
    print-color-adjust: exact; -webkit-print-color-adjust: exact; }

.pk-hero { position: relative; flex: 0 0 46%; min-height: 200px; background-size: cover; background-position: center;
    background-color: color-mix(in srgb, var(--pk-accent) 22%, var(--pk-bg));
    display: flex; align-items: flex-end; }
.pk-card:not(.has-foto) .pk-hero { background-image: radial-gradient(120% 90% at 30% 10%, color-mix(in srgb, var(--pk-accent) 40%, var(--pk-bg)), var(--pk-bg)); }
.pk-hero-grad { position: absolute; inset: 0; background: linear-gradient(to top, var(--pk-bg) 4%, transparent 60%); }
.pk-hero-txt { position: relative; z-index: 1; padding: 22px 26px; width: 100%; }
.pk-eyebrow { display: inline-block; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700; letter-spacing: .18em; color: var(--pk-accent); margin-bottom: 6px; }
.pk-name { font-size: clamp(26px, 7.5vw, 40px); font-weight: 800; line-height: .98; letter-spacing: -.01em; text-transform: uppercase; color: var(--pk-text); word-break: break-word; }
.pk-tagline { margin-top: 7px; font-size: 12.5px; color: color-mix(in srgb, var(--pk-text) 75%, transparent); }

.pk-content { flex: 1; padding: 8px 26px 4px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; }
.pk-sec { }
.pk-sec-tit { font-family: var(--font-mono, monospace); font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pk-accent); margin-bottom: 6px; padding-bottom: 5px; border-bottom: 1px solid color-mix(in srgb, var(--pk-text) 14%, transparent); }
.pk-bio-txt { font-size: 12px; line-height: 1.62; color: color-mix(in srgb, var(--pk-text) 82%, transparent); white-space: pre-line; }
.pk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-tag { font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--pk-accent); background: color-mix(in srgb, var(--pk-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--pk-accent) 40%, transparent); }
.pk-links { display: flex; flex-wrap: wrap; gap: 7px; }
.pk-link { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 8px; color: var(--pk-text); background: color-mix(in srgb, var(--pk-text) 8%, transparent); border: 1px solid color-mix(in srgb, var(--pk-text) 16%, transparent); }
.pk-contact { display: flex; flex-direction: column; gap: 5px; }
.pk-contact-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: color-mix(in srgb, var(--pk-text) 85%, transparent); }

.pk-cardfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 26px 16px; margin-top: auto; border-top: 1px solid color-mix(in srgb, var(--pk-text) 12%, transparent); }
.pk-logo-img { max-height: 30px; max-width: 46%; object-fit: contain; }
.pk-madeby { font-family: var(--font-mono, monospace); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--pk-text) 45%, transparent); margin-left: auto; }
.pk-madeby b { color: var(--pk-accent); }

/* Tarjeta clara (paleta marfil) */
.pk-card--light .pk-hero-grad { background: linear-gradient(to top, var(--pk-bg) 8%, transparent 55%); }

/* Plantilla MINIMAL: más aire, sin uppercase pesado */
.pk-card[data-tpl="minimal"] .pk-hero { flex-basis: 38%; }
.pk-card[data-tpl="minimal"] .pk-name { text-transform: none; font-weight: 700; letter-spacing: -.02em; }
.pk-card[data-tpl="minimal"] .pk-sec-tit { border-bottom: none; letter-spacing: .22em; }
.pk-card[data-tpl="minimal"] .pk-content { gap: 15px; padding-top: 14px; }

/* Plantilla NEÓN: glow del acento */
.pk-card[data-tpl="neon"] { --pk-bg: #08080d; }
.pk-card[data-tpl="neon"] .pk-name { text-shadow: 0 0 22px color-mix(in srgb, var(--pk-accent) 65%, transparent); }
.pk-card[data-tpl="neon"] .pk-eyebrow { text-shadow: 0 0 12px var(--pk-accent); }
.pk-card[data-tpl="neon"] .pk-tag { box-shadow: 0 0 14px -4px var(--pk-accent); }
.pk-card[data-tpl="neon"] .pk-hero { box-shadow: inset 0 -60px 60px -30px color-mix(in srgb, var(--pk-accent) 30%, transparent); }

.pk-foot { text-align: center; padding: 8px 20px 48px; max-width: 620px; margin: 0 auto; display: grid; gap: 14px; justify-items: center; }
.pk-foot p { font-size: 14px; color: var(--tx-2, #a7a7a7); }

@media (max-width: 820px) {
    .pk-app { grid-template-columns: 1fr; }
    .pk-stage { position: static; order: -1; }
    .pk-card { max-width: 420px; margin: 0 auto; }
}

/* ---- Impresión: solo la tarjeta, a página completa ---- */
@media print {
    .pk-top, .pk-intro, .pk-editor, .pk-toolbar, .pk-foot { display: none !important; }
    .pk-body { background: #fff; }
    .pk-app { display: block; padding: 0; margin: 0; max-width: none; }
    .pk-stage { position: static; }
    /* Carilla (portrait) */
    .pk-stage[data-format="portrait"] .pk-deck { display: none !important; }
    .pk-stage[data-format="portrait"] .pk-paper { display: block; }
    .pk-stage[data-format="portrait"] .pk-card { max-width: none; width: 100%; aspect-ratio: auto; min-height: 100vh; border-radius: 0; box-shadow: none; }
    /* Deck (landscape, una slide por página) */
    .pk-stage[data-format="deck"] .pk-paper { display: none !important; }
    .pk-stage[data-format="deck"] .pk-deck { display: block; max-width: none; margin: 0; }
    .pk-stage[data-format="deck"] .pk-slide { width: 100%; height: 100vh; aspect-ratio: auto; margin: 0; border-radius: 0; box-shadow: none; break-after: page; page-break-after: always; }
    .pk-stage[data-format="deck"] .pk-slide:last-child { break-after: auto; page-break-after: auto; }
    /* @page (orientación) se setea dinámicamente en presskit.js antes de imprimir */
}

/* ---- Press kit v2: encuadre de foto, filtros, secciones extra ---- */
.pk-frame { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--bg-4, #4a4a4a); }
.pk-field input[type="range"] { -webkit-appearance: none; appearance: none; height: 5px; border-radius: 999px; background: var(--bg-4, #4a4a4a); padding: 0; }
.pk-field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c-yellow); cursor: pointer; }
.pk-field input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--c-yellow); cursor: pointer; }
.pk-extra { border-top: 1px solid var(--bg-3, #3d3d3d); padding-top: 11px; margin-top: 11px; }
.pk-extra:first-of-type { border-top: none; padding-top: 2px; margin-top: 2px; }
.pk-switch { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--tx-1, #e8e8e8); cursor: pointer; }
.pk-switch input { width: 16px; height: 16px; accent-color: var(--c-yellow); cursor: pointer; }
.pk-extra-body { margin-top: 9px; }
.pk-extra-body textarea, .pk-extra-body input { width: 100%; padding: 9px 11px; border-radius: 9px; background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-4, #4a4a4a); color: #fff; font-size: 13px; resize: vertical; line-height: 1.5; }
.pk-extra-body textarea:focus, .pk-extra-body input:focus { outline: none; border-color: var(--c-yellow); }

/* Foto (img) con encuadre */
.pk-hero { overflow: hidden; }
.pk-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pk-pos, 50% 30%); transform: scale(var(--pk-zoom, 1)); }
.pk-hero-tint { position: absolute; inset: 0; display: none; }
.pk-hero.is-gris .pk-hero-img { filter: grayscale(1); }
.pk-hero.is-oscuro .pk-hero-img { filter: brightness(.6); }
.pk-hero.is-duo .pk-hero-img { filter: grayscale(1) contrast(1.05); }
.pk-hero.is-duo .pk-hero-tint { display: block; background: var(--pk-accent, var(--c-yellow)); mix-blend-mode: color; opacity: .6; }

/* Tamaño del nombre + alineación */
.pk-card[data-ns="s"] .pk-name { font-size: clamp(20px, 6vw, 30px); }
.pk-card[data-ns="l"] .pk-name { font-size: clamp(32px, 9vw, 52px); }
.pk-card[data-align="center"] .pk-hero-txt { text-align: center; }

/* Frase destacada + listas de secciones extra en la tarjeta */
.pk-quote { margin: 0; padding: 2px 0 4px 14px; border-left: 3px solid var(--pk-accent, var(--c-yellow)); font-size: 14.5px; font-weight: 600; font-style: italic; line-height: 1.36; color: var(--pk-text, #fff); }
.pk-list { list-style: none; display: grid; gap: 5px; margin: 0; padding: 0; }
.pk-list li { position: relative; padding-left: 15px; font-size: 12px; line-height: 1.5; color: color-mix(in srgb, var(--pk-text, #fff) 82%, transparent); }
.pk-list li::before { content: '▸'; position: absolute; left: 0; color: var(--pk-accent, var(--c-yellow)); }
.pk-list--gear li b { color: var(--pk-text, #fff); font-weight: 700; }
.pk-list--gear li span { color: color-mix(in srgb, var(--pk-text, #fff) 55%, transparent); }

/* ===== Press kit v3: formato DECK (slides 16:9, tipo YORIS) ===== */
.pk-paper[hidden], .pk-deck[hidden], .pk-slide[hidden], .pk-frame[hidden] { display: none !important; }

.pk-format { display: inline-flex; background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-4, #4a4a4a); border-radius: 999px; padding: 3px; }
.pk-fmt { padding: 6px 15px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--tx-2, #a7a7a7); transition: .15s; }
.pk-fmt.is-sel { background: var(--c-yellow); color: #14100a; }
.pk-actions { display: inline-flex; gap: 8px; }
.pk-dl--ghost { background: transparent; color: var(--c-yellow); border: 1px solid rgba(248,169,0,.5); box-shadow: none; }
.pk-dl--ghost:hover { background: rgba(248,169,0,.12); transform: none; }
.pk-stage[data-format="deck"] { position: static; }

.pk-deck { display: grid; gap: 16px; max-width: 680px; margin: 0 auto; --pk-accent: var(--c-yellow); --pk-bg: #0d0d0f; --pk-text: #fff; --pk-font: var(--font-ui); }
.pk-slide { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
    background: var(--pk-bg); color: var(--pk-text); font-family: var(--pk-font);
    box-shadow: 0 20px 50px -24px rgba(0,0,0,.8); container-type: inline-size;
    print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.pk-deck:not(.has-foto) .pk-slide { background-image: radial-gradient(120% 100% at 30% 10%, color-mix(in srgb, var(--pk-accent) 32%, var(--pk-bg)), var(--pk-bg) 65%); }
.pk-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pk-pos, 50% 30%); transform: scale(var(--pk-zoom, 1)); }
.pk-deck.is-gris .pk-slide-img { filter: grayscale(1); }
.pk-deck.is-oscuro .pk-slide-img { filter: brightness(.6); }
.pk-deck.is-duo .pk-slide-img { filter: grayscale(1) contrast(1.05); }
.pk-slide-scrim { position: absolute; inset: 0; z-index: 1; }
.pk-slide-scrim--l { background: linear-gradient(90deg, var(--pk-bg) 34%, color-mix(in srgb, var(--pk-bg) 40%, transparent) 55%, transparent 76%); }
.pk-slide-scrim--r { background: linear-gradient(270deg, var(--pk-bg) 34%, color-mix(in srgb, var(--pk-bg) 40%, transparent) 55%, transparent 76%); }
.pk-slide-scrim--full { background: radial-gradient(120% 90% at 50% 40%, color-mix(in srgb, var(--pk-bg) 12%, transparent), var(--pk-bg) 82%); }

.pk-slide-pad { position: absolute; inset: 0; z-index: 2; padding: 8cqw; display: flex; flex-direction: column; justify-content: center; }
.pk-slide-pad--center { align-items: center; text-align: center; }
.pk-slide-pad--right { align-items: flex-end; text-align: right; }

.pk-slide-eyebrow { font-family: var(--font-mono, monospace); font-size: 1.6cqw; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; color: color-mix(in srgb, var(--pk-text) 60%, transparent); }
.pk-slide-name { font-size: 11cqw; font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; margin: 1cqw 0; word-break: break-word; }
.pk-slide--cover .pk-slide-name { font-size: 12.5cqw; }
.pk-slide-accent { width: 14cqw; height: .55cqw; background: var(--pk-accent); border-radius: 2px; margin: .6cqw 0 1.4cqw; }
.pk-slide-pad--right .pk-slide-accent { margin-left: auto; }
.pk-slide-pad--center .pk-slide-accent { margin-left: auto; margin-right: auto; }
.pk-slide-sub { font-size: 1.7cqw; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: color-mix(in srgb, var(--pk-text) 70%, transparent); }
.pk-slide-tit { font-size: 5cqw; font-weight: 300; letter-spacing: .28em; text-transform: uppercase; line-height: 1; margin-bottom: 1.4cqw; }
.pk-slide-body { font-size: 1.72cqw; line-height: 1.5; max-width: 52cqw; color: color-mix(in srgb, var(--pk-text) 88%, transparent); }
.pk-slide-info { display: flex; gap: 4cqw; margin-top: 2.4cqw; }
.pk-il { display: block; font-family: var(--font-mono, monospace); font-size: 1.15cqw; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pk-accent); margin-bottom: .5cqw; }
.pk-iv { font-size: 1.5cqw; font-weight: 600; }
.pk-slide-genres { font-size: 2.2cqw; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 2.4cqw; }
.pk-slide-quote { font-size: 4cqw; font-weight: 200; line-height: 1.18; max-width: 78cqw; }
.pk-slide-quote:empty { display: none; }
.pk-gear { width: 74cqw; height: 22cqw; margin: 2cqw 0 2.6cqw; color: var(--pk-text); }
.pk-gear .gear-acc { color: var(--pk-accent); stroke: var(--pk-accent); }
.pk-slide-riderlist { list-style: none; display: flex; flex-wrap: wrap; gap: 1cqw 4cqw; justify-content: center; padding: 0; margin: 0; }
.pk-slide--split .pk-slide-riderlist { flex-direction: column; justify-content: flex-start; gap: 1cqw; }
.pk-slide-riderlist li { font-size: 1.6cqw; line-height: 1.4; color: color-mix(in srgb, var(--pk-text) 88%, transparent); }
.pk-slide--rider .pk-slide-riderlist li { text-align: center; }
.pk-slide-riderlist li b { font-weight: 700; display: block; }
.pk-slide-riderlist li span { color: color-mix(in srgb, var(--pk-text) 55%, transparent); font-size: .88em; }
.pk-slide-email { font-size: 2.6cqw; font-weight: 600; margin-top: 1.2cqw; word-break: break-all; }
.pk-slide-socials { display: flex; gap: 1.2cqw; margin-top: 2cqw; flex-wrap: wrap; }
.pk-slide-pad--right .pk-slide-socials { justify-content: flex-end; }
.pk-slide-social { display: inline-flex; align-items: center; gap: .5ch; font-size: 1.3cqw; font-weight: 600; padding: .7cqw 1.4cqw; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--pk-text) 22%, transparent); color: var(--pk-text); }
.pk-slide-foot { position: absolute; left: 8cqw; bottom: 5cqw; z-index: 3; font-family: var(--font-mono, monospace); font-size: 1.1cqw; letter-spacing: .3em; text-transform: uppercase; color: color-mix(in srgb, var(--pk-text) 45%, transparent); }
.pk-slide--right .pk-slide-foot { left: auto; right: 8cqw; }

/* ---- Plantillas extra de la carilla ---- */
/* Revista (editorial): nombre en caja alta/baja, filo de acento en el contenido */
.pk-card[data-tpl="revista"] .pk-name { text-transform: none; font-weight: 800; letter-spacing: -.02em; }
.pk-card[data-tpl="revista"] .pk-eyebrow { border: none; background: none; padding: 0 0 3px; border-bottom: 2px solid var(--pk-accent); border-radius: 0; }
.pk-card[data-tpl="revista"] .pk-content { border-left: 2px solid color-mix(in srgb, var(--pk-accent) 60%, transparent); padding-left: 20px; }
.pk-card[data-tpl="revista"] .pk-sec-tit { color: color-mix(in srgb, var(--pk-text) 55%, transparent); border: none; letter-spacing: .12em; padding-bottom: 2px; }
/* Cartel (póster): nombre enorme, hero más chico, eyebrow como resaltador */
.pk-card[data-tpl="cartel"] .pk-hero { flex-basis: 42%; }
.pk-card[data-tpl="cartel"] .pk-name { font-size: clamp(34px, 12vw, 62px); line-height: .88; }
.pk-card[data-tpl="cartel"] .pk-hero-txt { padding-bottom: 16px; }
.pk-card[data-tpl="cartel"] .pk-eyebrow { background: var(--pk-accent); color: #14100a; border: none; }
.pk-card[data-tpl="cartel"] .pk-sec-tit { border-bottom: none; }

/* ---- Gate por niveles / desbloqueos ---- */
.pk-gate { background: linear-gradient(150deg, rgba(248,169,0,.10), rgba(248,169,0,.02)); border: 1px solid rgba(248,169,0,.34); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.pk-gate--flash { animation: pkGateFlash .9s ease; }
@keyframes pkGateFlash { 0%,100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 4px rgba(248,169,0,.55); } }
.pk-gate-head { display: flex; align-items: flex-start; gap: 12px; }
.pk-gate-ico { font-size: 26px; line-height: 1; }
.pk-gate-tit { font-size: 15px; font-weight: 800; color: var(--tx-0,#fff); margin: 0; line-height: 1.2; }
.pk-gate-sub { font-size: 12px; color: var(--tx-2,#a7a7a7); margin: 3px 0 0; line-height: 1.5; }
.pk-gate-list { list-style: none; display: grid; gap: 7px; margin: 0; padding: 0; }
.pk-gate-item { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; }
.pk-gate-check { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--bg-2,#323232); color: var(--tx-3,#8a8a8a); }
.pk-gate-item.is-done .pk-gate-check { background: var(--c-yellow); color: #14100a; }
.pk-gate-txt { display: grid; }
.pk-gate-txt b { color: var(--tx-1,#e8e8e8); font-weight: 700; }
.pk-gate-item.is-done .pk-gate-txt b { color: var(--tx-0,#fff); }
.pk-gate-txt span { color: var(--tx-3,#8a8a8a); font-size: 11.5px; }
.pk-gate-cta { justify-self: start; font-family: var(--font-mono,monospace); font-weight: 700; font-size: 12.5px; color: #14100a; background: var(--c-yellow); padding: 9px 16px; border-radius: 999px; }
.pk-gate-cta:hover { filter: brightness(1.05); }

/* Botones bloqueados */
.pk-fmt.is-locked, .pk-tpl.is-locked { opacity: .5; }
.pk-fmt.is-locked::after, .pk-tpl.is-locked::after { content: ' 🔒'; font-size: .9em; }

/* Grupo bloqueado (secciones extra) */
.pk-group.pk-locked { position: relative; }
.pk-group.pk-locked > *:not(.pk-lock-ov):not(.pk-group-tit) { opacity: .4; filter: grayscale(.4); pointer-events: none; }
.pk-lock-ov { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; padding: 10px 12px; border-radius: 10px; font-size: 12px; font-weight: 600; text-align: center; color: var(--c-yellow); background: rgba(20,16,10,.92); border: 1px solid rgba(248,169,0,.4); cursor: pointer; }
.pk-lock-ov:hover { background: rgba(20,16,10,.99); }

/* Logros / números (carilla + deck) */
.pk-stat { display: grid; }
.pk-stat b { font-weight: 800; color: var(--pk-accent); line-height: 1; }
.pk-stat span { text-transform: uppercase; letter-spacing: .08em; color: color-mix(in srgb, var(--pk-text) 60%, transparent); }
.pk-stats { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.pk-stats .pk-stat b { font-size: 20px; }
.pk-stats .pk-stat span { font-size: 10px; margin-top: 3px; }
.pk-slide-stats { display: flex; flex-wrap: wrap; gap: 3cqw 6cqw; justify-content: center; }
.pk-slide-stats .pk-stat { text-align: center; }
.pk-slide-stats .pk-stat b { font-size: 5.5cqw; }
.pk-slide-stats .pk-stat span { font-size: 1.4cqw; margin-top: .4cqw; }

/* Toggle press kit PRO en el panel del alumno (admin) */
#form-presskit { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--bg-3, #3d3d3d); }
.pp-toggle { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--tx-1, #e8e8e8); cursor: pointer; line-height: 1.4; }
.pp-toggle input { width: 16px; height: 16px; accent-color: var(--c-yellow); margin-top: 1px; flex-shrink: 0; cursor: pointer; }
.pp-toggle b { color: var(--c-yellow); }

/* ===== Promo del press kit gratis (home): pop-up + pastilla flotante ===== */
body.pkp-open { overflow: hidden; }
.pkp-pop { position: fixed; inset: 0; z-index: calc(var(--z-modal) + 3); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s ease; }
.pkp-pop.is-open { opacity: 1; }
.pkp-bd { position: absolute; inset: 0; background: rgba(6,6,10,.82); backdrop-filter: blur(5px); }
.pkp-card { position: relative; z-index: 1; width: min(430px, 100%); text-align: center; padding: 40px 30px 26px; border-radius: 22px; overflow: hidden;
    background: radial-gradient(120% 90% at 50% -10%, rgba(248,169,0,.28), #16161a 62%);
    border: 1px solid rgba(248,169,0,.45);
    box-shadow: 0 24px 70px rgba(0,0,0,.6), 0 0 60px -20px rgba(248,169,0,.6);
    transform: translateY(18px) scale(.93); transition: transform .34s cubic-bezier(.2,1.1,.3,1); }
.pkp-pop.is-open .pkp-card { transform: none; }
.pkp-x { position: absolute; top: 12px; right: 14px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.28); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.pkp-x:hover { background: rgba(0,0,0,.55); }
.pkp-emoji { position: relative; z-index: 2; font-size: 60px; line-height: 1; margin-bottom: 6px; animation: pkpBounce 2.4s ease-in-out infinite; }
@keyframes pkpBounce { 0%,100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
.pkp-eyebrow { position: relative; z-index: 2; display: inline-block; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-yellow); padding: 4px 12px; border-radius: 999px; background: rgba(248,169,0,.14); border: 1px solid rgba(248,169,0,.4); margin-bottom: 12px; }
.pkp-tit { position: relative; z-index: 2; margin: 0 0 12px; font-size: 26px; font-weight: 800; color: #fff; line-height: 1.12; }
.pkp-gold { color: var(--c-yellow); }
.pkp-msg { position: relative; z-index: 2; margin: 0 0 22px; font-size: 14.5px; line-height: 1.6; color: #d6d6d6; }
.pkp-msg b { color: #fff; }
.pkp-cta { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 15px; color: #14100a; padding: 14px 28px; border-radius: 999px; background: var(--c-yellow); box-shadow: 0 8px 24px -6px rgba(248,169,0,.8); animation: pkpPulse 1.8s ease-in-out infinite; transition: transform .15s; }
.pkp-cta:hover { transform: translateY(-2px); }
.pkp-cta span { transition: transform .15s; }
.pkp-cta:hover span { transform: translateX(3px); }
@keyframes pkpPulse { 0%,100% { box-shadow: 0 8px 24px -6px rgba(248,169,0,.8); } 50% { box-shadow: 0 10px 36px 0 rgba(248,169,0,.9); } }
.pkp-no { position: relative; z-index: 2; display: block; margin: 14px auto 0; font-size: 12px; color: #8a8a8a; background: none; border: none; cursor: pointer; }
.pkp-no:hover { color: #d6d6d6; }
.pkp-marca { position: relative; z-index: 2; display: block; margin-top: 16px; font-family: var(--font-mono, monospace); font-size: 9px; letter-spacing: .18em; color: #6a6a6a; }
.pkp-conf { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pkp-conf i { position: absolute; top: -14px; left: calc(var(--i) * 4.3%); width: 8px; height: 12px; border-radius: 2px; background: var(--c-yellow); opacity: 0; animation: pkpConf 2.8s linear infinite; animation-delay: calc(var(--i) * -.12s); }
.pkp-conf i:nth-child(3n) { background: #fff; }
.pkp-conf i:nth-child(3n+1) { width: 6px; height: 6px; border-radius: 50%; }
.pkp-pop.is-open .pkp-conf i { opacity: 1; }
@keyframes pkpConf { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(500px) rotate(560deg); opacity: .15; } }
.pkp-pill { position: fixed; right: 18px; bottom: 18px; z-index: calc(var(--z-modal) + 1); display: flex; align-items: stretch; border-radius: 999px; overflow: hidden; box-shadow: 0 10px 30px -8px rgba(248,169,0,.6), 0 6px 20px rgba(0,0,0,.4); transform: translateY(90px); opacity: 0; transition: transform .4s cubic-bezier(.2,1.1,.3,1), opacity .4s; }
.pkp-pill.is-in { transform: none; opacity: 1; }
.pkp-pill-btn { background: var(--c-yellow); color: #14100a; border: none; font-weight: 800; font-size: 13.5px; padding: 12px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pkp-pill-btn b { font-weight: 900; }
.pkp-pill-btn:hover { filter: brightness(1.05); }
.pkp-pill-x { background: #d99400; color: #14100a; border: none; width: 30px; font-size: 15px; cursor: pointer; }
.pkp-pill-x:hover { background: #c98a00; }
@media (max-width: 380px) { .pkp-pill { right: 12px; bottom: 12px; } .pkp-pill-btn { font-size: 12.5px; padding: 11px 13px; } }
@media (prefers-reduced-motion: reduce) { .pkp-emoji, .pkp-cta, .pkp-conf i { animation: none; } .pkp-conf { display: none; } }

/* ===== Rider / hospitality interactivos (chips) + hook de venta ===== */
.pk-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pk-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--tx-2, #a7a7a7); background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-4, #4a4a4a); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pk-chip:hover { border-color: var(--c-yellow); }
.pk-chip:has(input:checked) { border-color: var(--c-yellow); background: rgba(248,169,0,.14); color: #fff; }
.pk-chip input { accent-color: var(--c-yellow); width: 14px; height: 14px; cursor: pointer; }
.pk-rb-row { display: grid; grid-template-columns: 1fr 92px; gap: 10px; }

/* Diagrama de cabina dinámico (deck) */
.pk-gear-wrap { width: 82cqw; margin: 1.4cqw auto 1.8cqw; display: grid; place-items: center; }
.pk-gear-wrap .pk-gear { width: 100%; height: auto; margin: 0; }

/* Hook de venta: diseño a medida */
.pk-hook { background: linear-gradient(150deg, rgba(92,205,237,.10), rgba(92,205,237,.02)); border-color: rgba(92,205,237,.34); text-align: center; }
.pk-hook-tit { font-size: 17px; font-weight: 800; color: var(--tx-0, #fff); margin: 0 0 6px; }
.pk-hook-sub { font-size: 13px; color: var(--tx-2, #a7a7a7); line-height: 1.55; margin: 0 0 14px; }
.pk-hook-sub b { color: #fff; }
.pk-hook-cta { display: inline-block; font-weight: 800; font-size: 13.5px; color: #052a33; background: var(--c-cyan, #5ccded); padding: 11px 20px; border-radius: 999px; box-shadow: 0 8px 24px -8px rgba(92,205,237,.7); transition: transform .15s; }
.pk-hook-cta:hover { transform: translateY(-2px); }

/* ===== Marca de agua + posición del logo ===== */
.pk-card { position: relative; }
.pk-card.pk-wm::after, .pk-slide.pk-wm::after {
  content: 'Skillz academy'; position: absolute; z-index: 5; pointer-events: none;
  top: 14px; right: 16px;
  font-family: var(--font-mono, monospace); font-size: 8.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pk-text, #fff); opacity: .34;
  print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.pk-slide.pk-wm::after { top: 4cqw; right: 5cqw; font-size: 1.35cqw; }
.pk-wm-hint { font-size: 11px; color: var(--tx-3, #8a8a8a); margin: 8px 0 0; text-align: center; }
.pk-wm-hint b { color: var(--c-yellow); }

/* Logo posicionable (carilla) */
.pk-card[data-logopos="tl"] .pk-logo-img, .pk-card[data-logopos="tr"] .pk-logo-img,
.pk-card[data-logopos="bl"] .pk-logo-img, .pk-card[data-logopos="br"] .pk-logo-img {
  position: absolute; z-index: 6; max-height: 34px; max-width: 42%; margin: 0;
}
.pk-card[data-logopos="tl"] .pk-logo-img { top: 16px; left: 18px; }
.pk-card[data-logopos="tr"] .pk-logo-img { top: 16px; right: 18px; }
.pk-card[data-logopos="bl"] .pk-logo-img { bottom: 16px; left: 18px; }
.pk-card[data-logopos="br"] .pk-logo-img { bottom: 16px; right: 18px; }

/* Logo en la portada del deck */
.pk-slide-logo { position: absolute; z-index: 4; max-height: 9cqw; max-width: 30cqw; bottom: 6cqw; right: 8cqw; }
.pk-deck[data-logopos="tl"] #dk-cover .pk-slide-logo { top: 6cqw; bottom: auto; left: 8cqw; right: auto; }
.pk-deck[data-logopos="tr"] #dk-cover .pk-slide-logo { top: 6cqw; bottom: auto; right: 8cqw; left: auto; }
.pk-deck[data-logopos="bl"] #dk-cover .pk-slide-logo { bottom: 6cqw; top: auto; left: 8cqw; right: auto; }
.pk-deck[data-logopos="br"] #dk-cover .pk-slide-logo, .pk-deck[data-logopos="pie"] #dk-cover .pk-slide-logo { bottom: 6cqw; top: auto; right: 8cqw; left: auto; }

/* ===== Herramientas: ejemplo, proyecto, fondo, paleta, idioma ===== */
.pk-mini-btn { font-size: 12px; font-weight: 700; color: var(--tx-1, #e8e8e8); background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-4, #4a4a4a); border-radius: 9px; padding: 10px 12px; cursor: pointer; text-align: center; transition: border-color .15s, color .15s; }
.pk-mini-btn:hover { border-color: var(--c-yellow); color: #fff; }
.pk-upload--sm { padding: 9px 10px; font-size: 12px; }
.pk-switch--wide { margin-top: 12px; }
.pk-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pk-tools .pk-mini-btn { flex: 1; min-width: 110px; }
.pk-card.has-fondo { background-image: linear-gradient(color-mix(in srgb, var(--pk-bg) 80%, transparent), color-mix(in srgb, var(--pk-bg) 92%, transparent)), var(--pk-fondo); background-size: cover; background-position: center; }

/* ===== Reproductor + QR + galería ===== */
.pk-player { border-radius: 10px; overflow: hidden; }
.pk-player iframe { display: block; width: 100%; }
.pk-qr { position: absolute; bottom: 14px; left: 16px; z-index: 6; width: 62px; height: 62px; background: #fff; padding: 5px; border-radius: 7px; }
.pk-qr svg { display: block; width: 100%; height: 100%; }
.pk-gal-list { display: grid; gap: 7px; margin-top: 8px; }
.pk-gal-item { display: flex; align-items: center; gap: 8px; }
.pk-gal-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; border: 1px solid var(--bg-4, #4a4a4a); flex-shrink: 0; }
.pk-gal-item select { flex: 1; padding: 7px 9px; border-radius: 8px; background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-4, #4a4a4a); color: #fff; font-size: 12.5px; }
.pk-gal-del { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--bg-4, #4a4a4a); background: var(--bg-1, #2a2a2a); color: var(--tx-3, #8a8a8a); cursor: pointer; flex-shrink: 0; }
.pk-gal-del:hover { border-color: var(--rec, #ff3b3b); color: var(--rec, #ff3b3b); }

/* ===== Orden de las secciones (drag & drop) ===== */
.pk-orden { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pk-orden-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-4, #4a4a4a); cursor: grab; transition: border-color .15s, transform .15s; }
.pk-orden-item:hover { border-color: var(--c-yellow); }
.pk-orden-item.is-drag { opacity: .45; cursor: grabbing; }
.pk-orden-item.is-over { border-color: var(--c-yellow); transform: translateY(2px); box-shadow: 0 -2px 0 0 var(--c-yellow); }
.pk-orden-grip { font-size: 11px; letter-spacing: -2px; color: var(--tx-4, #5c5c5c); cursor: grab; }
.pk-orden-lbl { flex: 1; font-size: 12.5px; font-weight: 600; color: var(--tx-1, #e8e8e8); }
.pk-orden-btn { width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--bg-4, #4a4a4a); background: var(--bg-0, #1f1f1f); color: var(--tx-2, #a7a7a7); font-size: 13px; cursor: pointer; }
.pk-orden-btn:hover { border-color: var(--c-yellow); color: var(--c-yellow); }

/* ===== Badge "Kit oficial" (alumnos / PRO) — premium y discreto, última página ===== */
.pk-card.pk-oficial::after, .pk-slide.pk-oficial::after {
  content: '✓ KIT OFICIAL · SKILLZ ACADEMY'; position: absolute; bottom: 14px; right: 16px; z-index: 5; pointer-events: none;
  font-family: var(--font-mono, monospace); font-size: 8px; font-weight: 700; letter-spacing: .14em;
  color: var(--pk-accent, var(--c-yellow)); padding: 4px 11px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pk-accent, var(--c-yellow)) 45%, transparent);
  background: color-mix(in srgb, var(--pk-accent, var(--c-yellow)) 9%, transparent);
  opacity: .9; print-color-adjust: exact; -webkit-print-color-adjust: exact;
}
.pk-card.pk-oficial::after { bottom: 52px; } /* arriba del pie de la carilla, sin pisar el logo */
.pk-slide.pk-oficial::after { bottom: 4cqw; right: 5cqw; font-size: 1.25cqw; padding: .55cqw 1.4cqw; }

/* Honeypot anti-spam: fuera de pantalla, nunca visible para una persona.
   No usamos display:none porque algunos bots lo detectan y lo saltean. */
.vf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ===== Skilly, el bot guía (botón flotante + panel) ===== */
.gb-btn { position: fixed; left: 18px; bottom: 18px; z-index: calc(var(--z-modal) + 2); width: 46px; height: 46px; border-radius: 50%;
    background: var(--bg-1, #2a2a2a); border: 1.5px solid rgba(248,169,0,.55); color: var(--c-yellow);
    font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 26px rgba(0,0,0,.5);
    display: grid; place-items: center; transition: transform .15s, background .15s; }
.gb-btn:hover { transform: translateY(-2px); background: rgba(248,169,0,.14); }
.gb-btn.is-open { background: var(--c-yellow); color: #14100a; }
.gb-panel { position: fixed; left: 18px; bottom: 74px; z-index: calc(var(--z-modal) + 2); width: min(340px, calc(100vw - 36px));
    background: var(--bg-0, #1f1f1f); border: 1px solid var(--bg-4, #4a4a4a); border-radius: 16px; padding: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .22s var(--ease, ease), transform .22s var(--ease, ease); max-height: 72vh; overflow: auto; }
.gb-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.gb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gb-tit { font-family: var(--font-mono, monospace); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-yellow); }
.gb-x { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--bg-4, #4a4a4a); background: none; color: var(--tx-2, #a7a7a7); font-size: 15px; cursor: pointer; }
.gb-x:hover { color: #fff; }
.gb-ctx { background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-3, #3d3d3d); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.gb-ctx b { color: var(--tx-0, #fff); font-size: 13px; }
.gb-ctx p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--tx-2, #a7a7a7); }
.gb-lbl { font-family: var(--font-mono, monospace); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-3, #8a8a8a); margin: 0 0 6px; }
.gb-faq { border-bottom: 1px solid var(--bg-2, #323232); }
.gb-q { width: 100%; text-align: left; background: none; border: none; padding: 8px 2px; font-size: 12.5px; font-weight: 600; color: var(--tx-1, #e8e8e8); cursor: pointer; }
.gb-q::before { content: '▸ '; color: var(--c-yellow); }
.gb-q.is-open::before { content: '▾ '; }
.gb-a { padding: 0 2px 10px 14px; font-size: 12px; line-height: 1.55; color: var(--tx-2, #a7a7a7); }
.gb-wa { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 12.5px; color: #14100a; background: var(--c-yellow); padding: 10px 14px; border-radius: 999px; }
.gb-wa:hover { filter: brightness(1.05); }
@media (max-width: 600px) { .gb-btn { left: 12px; bottom: 12px; } .gb-panel { left: 12px; bottom: 66px; } }

/* ===== Métricas de visitas (panel del fundador) ===== */
.rs-metricas { margin-top: 18px; }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 10px 0 14px; }
.mt-card { background: var(--bg-1, #2a2a2a); border: 1px solid var(--bg-3, #3d3d3d); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.mt-card b { font-size: 20px; font-weight: 800; color: var(--c-yellow, var(--c-yellow)); line-height: 1; }
.mt-card span { font-family: var(--font-mono, monospace); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-3, #8a8a8a); }
.mt-paginas { display: grid; gap: 5px; }
.mt-row { display: grid; grid-template-columns: minmax(90px, 180px) 1fr 40px; align-items: center; gap: 10px; font-size: 12px; }
.mt-pag { font-family: var(--font-mono, monospace); color: var(--tx-2, #a7a7a7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-bar { height: 8px; border-radius: 999px; background: var(--bg-2, #323232); overflow: hidden; }
.mt-bar i { display: block; height: 100%; border-radius: 999px; background: var(--c-yellow, var(--c-yellow)); }
.mt-row b { text-align: right; color: var(--tx-0, #fff); }

/* ============================================================
   CREÁ TU FLYER — herramienta #4 del estudio (flyers.html)
   ============================================================ */
.fl-paper { display: grid; place-items: center; }
.fl-paper canvas { max-width: 100%; max-height: 68vh; width: auto; height: auto; border-radius: 14px;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); border: 1px solid var(--bg-3, #3d3d3d); background: #111; }

/* ============================================================
   CREÁ TU CARÁTULA — herramienta #3 del estudio (caratulas.html)
   ============================================================ */
.cv-paper { display: grid; place-items: center; }
.cv-paper canvas { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1; border-radius: 14px;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); border: 1px solid var(--bg-3, #3d3d3d); background: #111; }

/* ============================================================
   CREÁ TU LOGO — herramienta #2 del estudio (logos.html)
   ============================================================ */
.lg-paper { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 5 / 3; border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); border: 1px solid var(--bg-3, #3d3d3d); }
.lg-paper[data-bg="transparente"] { background: repeating-conic-gradient(#242428 0% 25%, #1c1c20 0% 50%) 0 0 / 26px 26px; }
.lg-paper[data-bg="oscuro"] { background: #0d0d0f; }
.lg-paper[data-bg="claro"] { background: #f4f1ea; }
.lg-logo { --lg-c: var(--c-yellow); --lg-c2: #ff2d9b; display: grid; justify-items: center; gap: 8px; padding: 34px 40px; text-align: center; max-width: 92%; }
.lg-line { display: flex; align-items: center; gap: 18px; }
.lg-name { font-size: clamp(34px, 7.5vw, 74px); line-height: 1; color: var(--lg-c); white-space: nowrap; }
.lg-tag { font-family: var(--font-mono, monospace); font-size: clamp(11px, 1.6vw, 15px); font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--lg-c); opacity: .8; margin-top: 2px; }
.lg-paper[data-bg="oscuro"] .lg-tag { color: rgba(255,255,255,.75); }
.lg-paper[data-bg="claro"] .lg-tag { color: #33302a; }
.lg-sym, .lg-sym-side { font-size: clamp(18px, 3.4vw, 34px); line-height: 1; color: var(--lg-c); }
/* Efectos */
.lg-fx--contorno .lg-name { color: transparent; -webkit-text-stroke: 2.5px var(--lg-c); }
.lg-fx--neon .lg-name { color: #fff; text-shadow: 0 0 14px var(--lg-c), 0 0 42px var(--lg-c), 0 0 74px color-mix(in srgb, var(--lg-c) 70%, transparent); }
.lg-fx--neon .lg-sym, .lg-fx--neon .lg-sym-side { text-shadow: 0 0 16px var(--lg-c); }
.lg-fx--sombra .lg-name { text-shadow: 5px 5px 3px rgba(0,0,0,.55); }
.lg-fx--degrade .lg-name { background: linear-gradient(100deg, var(--lg-c), var(--lg-c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Marcos */
.lg-marco--caja { border: 3px solid var(--lg-c); }
.lg-marco--circulo { border: 3px solid var(--lg-c); border-radius: 50%; aspect-ratio: 1; display: grid; place-content: center; padding: 48px; }
.lg-marco--lineas .lg-line { position: relative; }
.lg-marco--lineas::before, .lg-marco--lineas::after { content: ''; width: min(300px, 64%); height: 3px; background: var(--lg-c); justify-self: center; }

/* Acceso premium al press kit en el menú lateral (brillo sutil) */
.pk-nav-link { position: relative; overflow: hidden; border-radius: 7px; }
.pk-nav-link::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 34%, rgba(248,169,0,.18) 50%, transparent 66%); transform: translateX(-130%); animation: pkNavSheen 6s ease-in-out infinite; }
@keyframes pkNavSheen { 0%, 72% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
.pk-nav-link .ab-col-dot { animation: pkNavGlow 2.8s ease-in-out infinite; }
@keyframes pkNavGlow { 0%, 100% { box-shadow: 0 0 3px 0 rgba(248,169,0,.45); } 50% { box-shadow: 0 0 10px 2px rgba(248,169,0,.9); } }
@media (prefers-reduced-motion: reduce) { .pk-nav-link::before, .pk-nav-link .ab-col-dot { animation: none; } }


/* ===== Convertidor a MP3 (herramienta #6) ===== */
.cv3-app { max-width: 720px; margin: 0 auto; padding: 0 18px 40px; }
.cv3-drop { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 20px;
  border: 2px dashed var(--bg-4, #4a4a4a); border-radius: 16px; background: var(--bg-1, #232326);
  cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.cv3-drop:hover, .cv3-drop.is-over { border-color: var(--c-yellow, #f8a900); background: rgba(248, 169, 0, .06); }
.cv3-drop-ico { font-size: 34px; }
.cv3-drop-txt { font-size: 15px; color: var(--tx-0, #eee); line-height: 1.5; }
.cv3-drop-fmt { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--c-cyan, #5ccded); letter-spacing: .08em; }
.cv3-aviso { min-height: 20px; margin: 10px 2px 0; font-size: 13px; color: var(--c-red, #ff5c5c); }
.cv3-panel { margin-top: 6px; }
.cv3-lista { list-style: none; margin: 0 0 14px; padding: 0; }
.cv3-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center;
  padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--bg-3, #3d3d3d); border-radius: 12px;
  background: var(--bg-1, #232326); }
.cv3-item.is-ok { border-color: rgba(133, 212, 60, .5); }
.cv3-item.is-error { border-color: rgba(255, 92, 92, .55); }
.cv3-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cv3-item-nombre { font-weight: 600; font-size: 14px; color: var(--tx-0, #eee); overflow-wrap: anywhere; }
.cv3-item-det { font-size: 12px; color: var(--tx-2, #8a8a8a); }
.cv3-item.is-error .cv3-item-det { color: var(--c-red, #ff5c5c); }
.cv3-item-accion { justify-self: end; }
.cv3-dl { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px;
  background: var(--c-yellow, #f8a900); color: #1a1300; font-weight: 700; font-size: 13px; text-decoration: none; }
.cv3-dl:hover { filter: brightness(1.08); }
.cv3-barra { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--bg-3, #3d3d3d); overflow: hidden; }
.cv3-barra-fill { height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--c-yellow, #f8a900), #ffca4d); transition: width .25s; }
.cv3-ctrl { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.cv3-kbps-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; font-size: 13px; color: var(--tx-1, #aaa); }
.cv3-kbps-field select { padding: 11px 12px; border-radius: 10px; border: 1px solid var(--bg-4, #4a4a4a);
  background: var(--bg-0, #1a1a1d); color: var(--tx-0, #eee); font-size: 16px; /* 16px: guard anti-zoom de Safari iOS */ }
.cv3-go { flex: 0 0 auto; }
.cv3-nota { margin: 12px 2px 0; font-size: 12.5px; color: var(--tx-2, #8a8a8a); }
.cv3-tips { margin-top: 34px; }
.cv3-tips-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cv3-tips-list li { padding: 12px 14px; border-left: 3px solid var(--c-yellow, #f8a900); border-radius: 0 10px 10px 0;
  background: var(--bg-1, #232326); font-size: 13.5px; line-height: 1.55; color: var(--tx-1, #bbb); }
.cv3-tips-list li strong { color: var(--tx-0, #eee); }
@media (max-width: 600px) {
  .cv3-item { grid-template-columns: 1fr; }
  .cv3-item-accion { justify-self: stretch; }
  .cv3-dl { width: 100%; justify-content: center; }
  .cv3-go { width: 100%; }
}


/* ===== Ficha del alumno (portal) ===== */
.ficha-card { border: 1px solid rgba(248,169,0,.42); background: linear-gradient(180deg, rgba(248,169,0,.07), transparent 62%); }
.ficha-card.is-completa { border-color: rgba(133,212,60,.45); background: linear-gradient(180deg, rgba(133,212,60,.07), transparent 62%); }
.ficha-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ficha-pct { font-weight: 800; font-size: 18px; color: var(--c-yellow, #f8a900); }
.ficha-card.is-completa .ficha-pct { color: #85d43c; }
.ficha-barra { height: 7px; border-radius: 4px; background: var(--bg-3, #3d3d3d); overflow: hidden; margin: 10px 0 12px; }
.ficha-barra-fill { height: 100%; width: 0; border-radius: 4px; transition: width .35s ease;
  background: linear-gradient(90deg, var(--c-yellow, #f8a900), #ffca4d); }
.ficha-card.is-completa .ficha-barra-fill { background: linear-gradient(90deg, #85d43c, #b6e88a); }
.ficha-grupo { margin: 20px 0 4px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--c-cyan, #5ccded); font-family: var(--font-mono, monospace); }
.ficha-grupo:first-of-type { margin-top: 10px; }
.ficha-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .ficha-row { grid-template-columns: 1fr; gap: 0; } }

/* ===== Ficha del alumno (panel del profe) ===== */
.ad-ficha { margin-top: 14px; }
.ad-ficha-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 10px; }
.ad-ficha-item { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--bg-3, #3d3d3d); background: var(--bg-1, #232326); }
.ad-ficha-lbl { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-2, #8a8a8a); }
.ad-ficha-val { display: block; margin-top: 3px; font-size: 14px; color: var(--tx-0, #eee); overflow-wrap: anywhere; }
.ad-ficha-val a { color: var(--c-cyan, #5ccded); }
.ad-ficha-item.is-falta { border-style: dashed; border-color: rgba(255,92,92,.45); }
.ad-ficha-item.is-falta .ad-ficha-val { color: #ff8080; font-style: italic; }
.ad-ficha-vacia { padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(255,92,92,.45);
  background: rgba(255,92,92,.06); color: #ffb0b0; font-size: 13.5px; }
