/* ============================================================
   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;
    --tx-3: #8a8a8a;
    --tx-4: #5c5c5c;

    --c-yellow:  #f8d263;
    --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,210,99,.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);
}

/* ---------- 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: 9999;
    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: 10000;
    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,210,99,.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, #f8d263);
    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, #f8d263);
    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);
}
.ab-view.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.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,210,99,.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,210,99,.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: 200;
    width: 38px; height: 32px;
    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; }
    .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: 150;
        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: 140;
        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,210,99,.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,210,99,.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: 900px) {
    .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,210,99,.07), rgba(93,211,184,.04));
    border: 1px solid rgba(248,210,99,.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: 500;
    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: 9500;
    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: 800;
}
[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,210,99,.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,210,99,0);
    transition: all .2s var(--ease);
}
.view-btn.primary:hover {
    box-shadow: 0 6px 18px rgba(248,210,99,.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,210,99,.10), rgba(248,210,99,.02));
    border: 1px solid rgba(248,210,99,.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);
}

.ab-alumnos-nav .ab-nav-parent {
    display: block;
    padding: 0;
    cursor: default;
}
.ab-alumnos-nav .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;
}
.ab-nav-sub > li a {
    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 {
    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: 900px) {
    .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: 900px) {
    .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: 720px) {
    .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: 720px) {
    .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: 560px) {
    .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: 9000;
    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,210,99,.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,210,99,.45); background: rgba(248,210,99,.18); }
    60%  { box-shadow: inset 2px 0 0 var(--c-yellow), 0 0 18px 2px rgba(248,210,99,.25); }
    100% { box-shadow: inset 2px 0 0 var(--c-yellow), 0 0 0 0 rgba(248,210,99,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,210,99,.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: 40;
    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:rgba(133,212,60,.16);color:#85d43c;border:1px solid rgba(133,212,60,.4);}
.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,210,99,.16);color:#f8d263;border:1px solid rgba(248,210,99,.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,#f8d263);box-shadow:0 0 0 2px rgba(248,210,99,.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,#f8d263);background:rgba(248,210,99,.12);border:1px solid rgba(248,210,99,.4);border-radius:99px;padding:2px 8px;}

/* Popup de perfil de artista (web pública) */
.art-modal{position:fixed;inset:0;z-index:9999;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,#f8d263);background:rgba(248,210,99,.12);border:1px solid rgba(248,210,99,.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-name{flex:1;min-width:120px;font-size:14px;font-weight:600;color:var(--tx-0,#eee);}
.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,#f8d263);font-weight:700;}
.cls-slot.is-add:hover{background:rgba(248,210,99,.12);}
.cls-slot.is-empty{cursor:default;opacity:.4;}
.cls-count{min-width:34px;text-align:right;font-weight:700;font-size:13px;color:var(--tx-1,#aaa);}

/* Palabra resaltada dentro de los titulos de vista (faltaba la regla) */
.view-title .blue, .blue { color: var(--c-cyan); }

/* ---------- CTA FIJO DE ACCESO (Registrate / Loguearte) ---------- */
.acceso-cta {
    position: fixed;
    top: auto;
    bottom: 56px;
    right: 18px;
    z-index: 950;
    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;
    padding: 9px 14px;
    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;
    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; }
}

/* ---------- 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: 640px) {
    .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: 640px) {
    .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: #f8a900; }   /* dorado de la marca */
.view-title .gold, .gold { color: #f8a900; }
.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, #f8a900); 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, #f8a900); }
.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, #f8a900); }
.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: 720px) {
    .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, #f8a900); color: var(--c-yellow, #f8a900); }
.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, #f8a900, #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, #f8a900); color: #fff; }

body.tp-noscroll { overflow: hidden; }

/* ---------- Ficha de producto (modal) ---------- */
.tp-modal { position: fixed; inset: 0; z-index: 1200; 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, #f8a900); }
.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, #f8a900); }
.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, #f8a900); font-size: 10.5px; }

/* ---------- FABs (carrito + WhatsApp), solo en la tienda ---------- */
.tp-cart-fab, .tp-wa-fab { position: fixed; left: 18px; z-index: 900; 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; }
.tp-wa-fab { bottom: 18px; background: #25d366; color: #fff; text-decoration: none; }
.tp-cart-fab { bottom: 82px; background: linear-gradient(135deg, #f8a900, #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: 1300; }
.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, #f8a900); }
.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, #f8a900); cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }

@media (max-width: 680px) {
    .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; }
}
