/*! © 2026 ObsidianMU (obsidianmu.net). Todos los derechos reservados. Código y diseño propios: prohibida su copia, venta o redistribución sin autorización. OBSMU-D781-0884-73E1 */
/* 12/11: estilo común de profundidad para toda la web (pedido del dueño):
   - una sola sombra para paneles y tarjetas;
   - brillo fino en el borde de arriba de cada tarjeta;
   - resplandor sutil al pasar el mouse por tarjetas y botones;
   - sombra en los números grandes;
   - animaciones al bajar (las activa js/ob.js agregando .ob-anim al <html>; sin JS todo se ve igual). */
:root {
	--ob-depth: 0 1px 0 rgb(255 255 255 / .03) inset, 0 14px 34px -14px rgb(0 0 0 / .85), 0 2px 6px rgb(0 0 0 / .35);
	--ob-depth-hover: 0 1px 0 rgb(255 255 255 / .05) inset, 0 20px 44px -16px rgb(0 0 0 / .9), 0 0 26px -6px rgb(var(--ob-o) / .32);
	--ob-cards: .hv-panel, .hv-tile, .hv-perk, .hv-news, .hv-start, .hv-intro, .obv-card, .obv-sell, .obi-sh, .obi-stat, .obi-reset-cost, .obi-reset-facts li, .mk-win, .r2-panel, .r2-hcard, .obc-card, .om-panel, .om-sale-panel, .obt-card, .obtd-client, .obtd-tool, .obtd-req-col, .obtd-steps li, .obt-steps li, .obe-meta-item, .obe-coin;
}

/* Profundidad pareja */
:is(.hv-panel, .hv-tile, .hv-perk, .hv-news, .hv-start, .obv-card, .obv-sell, .obi-sh, .obi-stat, .obi-reset-cost, .mk-win, .r2-panel, .r2-hcard, .obc-card, .om-panel, .om-sale-panel, .obt-card, .obtd-client, .obtd-tool, .obtd-req-col, .obe-meta-item) { box-shadow: var(--ob-depth) !important; }

/* Brillo fino en el borde superior */
:is(.hv-panel, .hv-tile, .hv-perk, .hv-news, .obv-card, .obi-sh, .obi-stat, .r2-hcard, .obt-card, .obtd-client, .obtd-tool, .obe-meta-item) { position: relative; }
/* (quedan afuera los que ya usan ::before para su arte o su propio brillo: obv-card, r2-hcard, hv-tile-xl, hv-panel, obtd-client) */
:is(.hv-tile:not(.hv-tile-xl), .hv-perk, .hv-news, .obi-sh, .obi-stat, .obt-card, .obtd-tool, .obe-meta-item)::before {
	content: ""; position: absolute; z-index: 3; left: 12%; right: 12%; top: -1px; height: 1px; border-radius: 1px; pointer-events: none;
	background: linear-gradient(90deg, transparent, rgb(255 214 140 / .55), transparent);
}

/* Resplandor al pasar el mouse (tarjetas que son enlaces o interactivas) */
@media (hover: hover) {
	:is(a.obv-card, .hv-tile, .hv-perk, .obi-sh, .obi-stat, a.obt-card, .obt-card, a.obtd-tool, .obtd-client, .r2-hcard) { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s !important; }
	:is(a.obv-card, .hv-tile, .hv-perk, .obi-sh, .obi-stat, a.obt-card, .obt-card, a.obtd-tool, .obtd-client, .r2-hcard):hover { transform: translateY(-3px); box-shadow: var(--ob-depth-hover) !important; border-color: rgb(var(--ob-o) / .5) !important; }
	:is(.ob-btn, .mk-btn, a.ob-btn, button.ob-btn):hover { box-shadow: 0 0 18px -4px rgb(var(--ob-o) / .55) !important; }
}

/* Números grandes con sombra y un brillo cálido */
:is(.hv-num, .obi-stat b, .obi-stat strong, .obe-coin b, .obe-meta-item b, .hv-count b, .hv-cd b) { text-shadow: 0 2px 0 rgb(0 0 0 / .7), 0 0 18px rgb(242 155 44 / .28); }

/* ===== Animaciones al bajar ===== */
html.ob-anim .ob-rv { opacity: 0; transform: translateY(26px) scale(.985); }
html.ob-anim .ob-rv.ob-rv-l { transform: translateX(-30px); }
html.ob-anim .ob-rv.ob-rv-r { transform: translateX(30px); }
html.ob-anim .ob-rv.is-in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0s); }
/* Títulos de sección: las líneas con rombo se abren hacia los costados */
html.ob-anim .hv-head.ob-rv .hv-title > i { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1) .15s; }
html.ob-anim .hv-head.ob-rv .hv-title > i:first-child { transform-origin: right; }
html.ob-anim .hv-head.ob-rv .hv-title > i:last-child { transform-origin: left; }
html.ob-anim .hv-head.ob-rv.is-in .hv-title > i { transform: none; }
@media (prefers-reduced-motion: reduce) {
	html.ob-anim .ob-rv, html.ob-anim .ob-rv.is-in, html.ob-anim .hv-head.ob-rv .hv-title > i { opacity: 1 !important; transform: none !important; transition: none !important; }
	:is(a.obv-card, .hv-tile, .hv-perk, .obi-sh, .obi-stat, .obt-card, .obtd-client, .r2-hcard):hover { transform: none; }
}

/* 12/11: los números con degradé recortado (texto transparente) no llevan text-shadow: se ve a través de las letras y las ensucia ("6 Clases" de la portada). */
.hv-tile-cls .hv-num, .hv-tile-xl .hv-num, .hv-step-ring b, .hv-intro-t em { text-shadow: none !important; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 4px rgb(0 0 0 / .65)); }
