/* lite.css · botón «Modo ligero» + reglas de html.lite (sin WebGL, sin backdrop-filter, sin animaciones continuas) */
.lite-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:0 .85rem;border-radius:999px;border:1px solid var(--glass-brd);background:rgba(255,255,255,.05);color:var(--ink-2);font:500 .72rem var(--f-mono);letter-spacing:.04em;white-space:nowrap;transition:border-color .25s,color .25s,background .25s}
.lite-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.lite-btn:hover{border-color:var(--glass-hi);color:var(--ink)}
.lite-btn[aria-pressed=true]{border-color:var(--gold);color:var(--gold-2);background:var(--gold-soft)}
@media (max-width:1180px){.lite-nav span{display:none}.lite-nav{padding:0;width:44px}}
@media (max-width:820px){
  .lite-nav{display:none}
  .dock{grid-template-columns:repeat(5,1fr)}
  .dock .lite-dock{flex-direction:column;border:0;background:none;padding:0;min-height:52px;gap:3px;border-radius:20px;font:500 .64rem/1 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
  .dock .lite-dock[aria-pressed=true]{color:var(--gold-2)}
}
@media (min-width:821px){.lite-dock{display:none}}
.lite-toast{position:fixed;left:50%;bottom:max(18px,env(safe-area-inset-bottom));z-index:90;display:flex;align-items:center;gap:.4rem;padding:.55rem .6rem .55rem 1rem;border-radius:999px;background:rgba(24,27,38,.96);border:1px solid rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.3);font:500 .74rem var(--f-mono);color:var(--ink);transform:translate(-50%,20px);opacity:0;transition:opacity .35s,transform .35s var(--ease);max-width:calc(100vw - 24px)}
.lite-toast.on{opacity:1;transform:translate(-50%,0)}
.lite-toast button{min-height:40px;padding:0 1rem;border-radius:999px;background:var(--gold);color:#14110a;font:700 .72rem var(--f-body);white-space:nowrap}
@media (max-width:820px){.lite-toast{bottom:calc(86px + env(safe-area-inset-bottom))}}

/* ===== html.lite ===== */
html.lite *,html.lite *::before,html.lite *::after{animation-iteration-count:1!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;text-shadow:none!important;will-change:auto!important}
html.lite{scroll-behavior:auto}
/* fondo: degradados CSS baratos (solo transform, sin repintar) en lugar del fluido */
html.lite #fluidbg.fb::before{animation:lgFloat 60s ease-in-out infinite alternate!important;animation-iteration-count:infinite!important;opacity:.62}
html.lite #fluidbg::after{background:linear-gradient(180deg,rgba(7,8,12,.4),rgba(7,8,12,.55) 60%,rgba(7,8,12,.66))}
/* cristal: fondos semiopacos con borde de luz, sin blur ni sombras grandes */
html.lite .glass,html.lite .nav-in,html.lite .dock,html.lite .chip,html.lite .btn.glassbtn,html.lite .gyro,html.lite .console,html.lite .st-demo,html.lite .creds li,html.lite .form,html.lite .pcard,html.lite .wcard,html.lite .ex-row,html.lite .pilar{
  background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.02)),rgba(20,23,34,.9)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.07)!important}
html.lite .layer,html.lite .layer:first-child{background:linear-gradient(150deg,rgb(52,57,80),rgb(30,32,46))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.35)!important}
html.lite .layer-lbl{background:rgba(20,23,34,.92)!important}
html.lite .nav-in{background:rgba(14,16,24,.92)!important}
html.lite .w-layers-wrap::before,html.lite #capas .stage::before,html.lite #capas .stage::after{display:none}
html.lite .console{transform:none!important}
/* piezas del laboratorio: sin partículas, destellos ni mezclas */
html.lite .sw-dust,html.lite .sw-sun,html.lite .dp-cv.dp-morph::after{display:none}
html.lite .sw-nav,html.lite .sw-copy,html.lite .sw-book,html.lite .sw-rc,html.lite .pl-card,html.lite .dp-tip,html.lite .lc-nav,html.lite .lc-cp,html.lite .sw-grid figcaption{background:rgba(12,14,24,.84)!important;box-shadow:none!important}
html.lite .sw,html.lite .sw-grid figure,html.lite .dp-k,html.lite .lc-rich,html.lite .pl-ring .rg{box-shadow:none!important;filter:none!important}
html.lite .sw-bg,html.lite .sw-copy,html.lite .sw-book,html.lite .sw-nav,html.lite .sw-rc,html.lite .sw-map-svg,html.lite .sw-grid figure{transform:none!important}
html.lite .sw-gal figure{opacity:1}
html.lite .pl-stage{transform:none!important}
html.lite .pl-svg .ag-ring{display:none}
