/* portal/public/styles.css — Estética Altair (idéntica a web-altair-systems.html) */

:root {
  --black: #050505;
  --navy: #061A40;
  --blue: #0A84FF;
  --cosmic: #3A8DFF;
  --cyan: #69C9FF;
  --white: #FFFFFF;
  --ink: #e8eefc;
  --muted: #8aa0c8;
  --line: rgba(120, 160, 230, 0.14);
  --card: rgba(12, 22, 46, 0.55);
  --card-solid: #0b1530;
  --ok: #21c45a;
  --warn: #ffb020;
  --err: #ef4444;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(10, 132, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 8%, rgba(58, 141, 255, 0.10), transparent 55%),
    linear-gradient(180deg, #04060f 0%, var(--black) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Campo de estrellas sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 70% 60%, rgba(255, 255, 255, 0.40), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.3px 1.3px at 85% 20%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 55% 15%, rgba(255, 255, 255, 0.30), transparent);
  opacity: 0.5;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.4em;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 32px 0 80px;
}

/* ===== Cabecera ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.brandrow { display: flex; align-items: center; gap: 14px; }
.brandrow img { height: 38px; width: auto; }
.brandrow .negocio { font-family: var(--display); font-size: 20px; font-weight: 600; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan);
  background: rgba(10, 132, 255, 0.10);
}

/* ===== Tarjetas / secciones ===== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.card > h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ===== Barra de estado (fases) ===== */
.phases { display: flex; gap: 8px; flex-wrap: wrap; }
.phase {
  flex: 1 1 0;
  min-width: 120px;
  text-align: center;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}
.phase.active {
  color: var(--white);
  border-color: rgba(10, 132, 255, 0.6);
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.28), rgba(10, 132, 255, 0.10));
  box-shadow: 0 0 24px rgba(10, 132, 255, 0.25);
}
.phase.done { color: var(--cyan); border-color: rgba(105, 201, 255, 0.4); }

/* ===== Listas (hitos, entregables, documentos, actualizaciones) ===== */
.list { list-style: none; margin: 0; padding: 0; }
.list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.list li:last-child { border-bottom: 0; }
.list .meta { color: var(--muted); font-size: 13px; }
.list .name { font-weight: 500; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 18px 22px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(10, 132, 255, 0.7);
}
.timeline .fecha { color: var(--muted); font-size: 12px; }
.timeline .autor { color: var(--cyan); font-size: 12px; }

/* ===== Etiquetas de estado ===== */
.tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-listo { color: var(--ok); background: rgba(33, 196, 90, 0.12); }
.tag-curso { color: var(--warn); background: rgba(255, 176, 32, 0.12); }
.tag-proximo { color: var(--muted); background: rgba(138, 160, 200, 0.12); }
.tag-pendiente { color: var(--warn); background: rgba(255, 176, 32, 0.12); }
.tag-pagada { color: var(--ok); background: rgba(33, 196, 90, 0.12); }

/* ===== Botones ===== */
.btn {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  color: var(--white);
  background: linear-gradient(180deg, var(--cosmic), var(--blue));
  transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-sm { padding: 7px 13px; font-size: 13px; }

/* ===== Factura ===== */
.factura-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.importe { font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--white); }
.pago-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  white-space: pre-wrap;
}
.hidden { display: none !important; }

/* ===== Sello de seguridad ===== */
.seal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
  justify-content: center;
}
.seal::before { content: "🔒"; }

/* ===== Login ===== */
.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(420px, 92vw);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  text-align: center;
}
.login-card img.logo { height: 46px; margin-bottom: 18px; }
.login-card h1 { font-size: 22px; }
.field { text-align: left; margin: 14px 0; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.18); }
.login-card .btn { width: 100%; margin-top: 8px; }
.msg { min-height: 20px; font-size: 13px; margin-top: 12px; }
.msg.error { color: var(--err); }
.msg.ok { color: var(--ok); }
.cf-turnstile { margin: 14px 0; display: flex; justify-content: center; }

@media (max-width: 560px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .importe { font-size: 28px; }
}

/* ============================================================
   DASHBOARD PREMIUM — rejilla de tarjetas + animaciones
   (aditivo; no afecta a login ni a la lógica existente)
   ============================================================ */

/* La vista de dashboard usa un contenedor más ancho */
.wrap.dash-wrap { width: min(1240px, 94vw); }

/* Rejilla tipo bento (12 columnas) */
.dash {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.dash > .card { margin-bottom: 0; height: 100%; }
.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }

/* Animación de entrada (se ejecuta también en móvil → sensación premium) */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* Tarjeta interactiva: entrada + hover con elevación y brillo */
.card.tilt {
  position: relative;
  overflow: hidden;
  animation: riseIn 0.55s cubic-bezier(0.22, 0.7, 0.2, 1) both;
  transition: transform 0.28s cubic-bezier(0.22, 0.7, 0.2, 1),
              box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}
.card.tilt:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(10, 132, 255, 0.12),
              0 0 44px rgba(10, 132, 255, 0.18);
}
.card.tilt:active { transform: translateY(-2px) scale(0.995); }

/* Línea de luz superior que se despliega al pasar el cursor */
.card.tilt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cosmic), var(--cyan), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card.tilt:hover::after { transform: scaleX(1); }

/* Escalonado de la entrada por posición */
.dash > .card:nth-child(1) { animation-delay: 0.04s; }
.dash > .card:nth-child(2) { animation-delay: 0.10s; }
.dash > .card:nth-child(3) { animation-delay: 0.16s; }
.dash > .card:nth-child(4) { animation-delay: 0.22s; }
.dash > .card:nth-child(5) { animation-delay: 0.28s; }
.dash > .card:nth-child(6) { animation-delay: 0.34s; }
.dash > .card:nth-child(7) { animation-delay: 0.40s; }

/* ===== Centro de control del ADMIN: tarjetas de cliente ===== */
.clientes-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.cli-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  cursor: pointer;
  animation: riseIn 0.5s cubic-bezier(0.22, 0.7, 0.2, 1) both;
  transition: transform 0.28s cubic-bezier(0.22, 0.7, 0.2, 1),
              box-shadow 0.28s ease, border-color 0.28s ease;
}
.cli-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(10, 132, 255, 0.2);
}
.cli-card:active { transform: translateY(-2px) scale(0.995); }
.cli-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cosmic), var(--cyan), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.cli-card:hover::after { transform: scaleX(1); }
.cli-card .cli-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cli-card .cli-nombre { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--white); }
.cli-card .cli-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.cli-card .cli-avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--white);
  background: linear-gradient(160deg, var(--cosmic), var(--blue));
  box-shadow: 0 0 22px rgba(10, 132, 255, 0.35);
}
.cli-card .cli-cta { margin-top: auto; font-size: 13px; color: var(--cyan); font-weight: 600; }

/* Escalonado de las tarjetas de cliente */
.clientes-grid .cli-card:nth-child(2) { animation-delay: 0.05s; }
.clientes-grid .cli-card:nth-child(3) { animation-delay: 0.10s; }
.clientes-grid .cli-card:nth-child(4) { animation-delay: 0.15s; }
.clientes-grid .cli-card:nth-child(5) { animation-delay: 0.20s; }
.clientes-grid .cli-card:nth-child(6) { animation-delay: 0.25s; }

/* En pantallas medianas/pequeñas, todo a una columna */
@media (max-width: 820px) {
  .col-12, .col-8, .col-6, .col-4 { grid-column: span 12; }
}

/* Respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .card.tilt, .cli-card { animation: none; }
  .card.tilt:hover, .cli-card:hover { transform: none; }
}

/* ============================================================
   TOGGLE DE IDIOMA (ES / EN)
   ============================================================ */
.top-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lang-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
  font-family: var(--display);
}
.lang-toggle button {
  background: none; border: none; color: var(--muted);
  font-size: 12.5px; font-weight: 600; padding: 7px 13px;
  cursor: pointer; transition: 0.25s; letter-spacing: 0.04em;
}
.lang-toggle button:hover { color: var(--ink); }
.lang-toggle button.active { background: var(--blue); color: #fff; }

/* ============================================================
   MOSTRAR / OCULTAR CONTRASEÑA (botón de ojo)
   ============================================================ */
.pwd-wrap { position: relative; display: block; }
.pwd-wrap input { padding-right: 46px; } /* hueco para el botón */
.pwd-toggle {
  position: absolute; top: 0; right: 0;
  height: 100%; width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; margin: 0;
  color: var(--muted); cursor: pointer; transition: color 0.2s;
}
.pwd-toggle:hover { color: var(--ink); }
.pwd-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 9px; }
.pwd-toggle svg { width: 20px; height: 20px; display: block; }

/* ---- Alta de 2FA: QR + pasos + clave manual ---- */
.login-card.enrol-wide { width: min(640px, 94vw); }
.enrol-grid {
  display: flex; gap: 24px; align-items: center;
  text-align: left; margin: 10px 0 6px;
}
.enrol-qr-col { flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.enrol-steps {
  margin: 0; padding-left: 1.4em;
  display: flex; flex-direction: column; gap: 13px;
  font-size: 0.95rem; color: var(--ink); line-height: 1.35;
}
.enrol-steps li { padding-left: 4px; }
.enrol-steps li::marker { color: var(--blue); font-weight: 700; }
.enrol-qr-box {
  display: flex; justify-content: center;
  margin: 0;
}
.enrol-qr {
  width: 200px; height: 200px;
  background: #fff; padding: 12px; border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  image-rendering: pixelated; /* módulos nítidos al escalar */
}
.enrol-manual { margin: 4px 0 10px; }
.enrol-manual > summary {
  cursor: pointer; color: var(--muted); font-size: 0.9rem;
  list-style: none; user-select: none;
}
.enrol-manual > summary:hover { color: var(--ink); }
.enrol-manual[open] > summary { margin-bottom: 8px; }
.enrol-key {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: 0.12em; word-break: break-all;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px; padding: 10px 12px; margin: 6px 0; font-size: 0.95rem;
}
.enrol-mobile {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 4px 0 14px;
}
.enrol-or { color: var(--muted); font-size: 0.9rem; }
.enrol-open {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; box-sizing: border-box;
  text-decoration: none; text-align: center;
}
.enrol-open::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E") center/contain no-repeat;
}
/* En móvil el QR y los pasos se apilan en vertical. */
@media (max-width: 560px) {
  .login-card.enrol-wide { width: min(420px, 92vw); }
  .enrol-grid { flex-direction: column; align-items: center; gap: 18px; }
  .enrol-steps { align-self: stretch; }
}

/* ============================================================
   LOADER DE ENTRADA — interruptor ON→OFF + estrella que explota
   (mismo motivo de marca que web-altair-systems.html)
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: #050505;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#loader.gone { opacity: 0; visibility: hidden; }
/* Fase A 0–2.2s: interruptor ON→OFF + tagline; Fase B 2.3–4.4s: estrella zoom + clic + explosión */
.loader-toggle {
  opacity: 0; transform: scale(0.86);
  animation: togIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards, togFade 0.5s ease forwards 2.15s;
}
@keyframes togIn { to { opacity: 1; transform: scale(1); } }
@keyframes togFade { to { opacity: 0; transform: scale(0.82); filter: blur(3px); } }
.tog-track {
  position: relative; width: 236px; height: 98px; border-radius: 60px;
  background: #21c45a;
  box-shadow: 0 18px 46px rgba(0,0,0,0.5), inset 0 3px 8px rgba(255,255,255,0.28), inset 0 -4px 10px rgba(0,0,0,0.18);
  animation: togColor 0.55s ease forwards 0.75s;
}
.tog-on, .tog-off {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 700; font-size: 31px; letter-spacing: 0.04em; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.22);
}
.tog-on { left: 34px; animation: togFadeOut 0.3s ease forwards 0.8s; }
.tog-off { right: 30px; opacity: 0; animation: togFadeIn 0.3s ease forwards 1.05s; }
.tog-knob {
  position: absolute; top: 9px; left: 147px; width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffffff, #eef3f8 70%);
  box-shadow: 0 8px 18px rgba(0,0,0,0.4), inset 0 -2px 5px rgba(0,0,0,0.12);
  animation: togKnob 0.55s cubic-bezier(0.7,0,0.3,1) forwards 0.75s;
}
@keyframes togColor { to { background: #ef4444; } }
@keyframes togKnob { to { left: 9px; } }
@keyframes togFadeOut { to { opacity: 0; } }
@keyframes togFadeIn { to { opacity: 1; } }
.loader-tagline {
  font-family: var(--display); font-weight: 700; color: #fff;
  font-size: clamp(26px,4.4vw,40px); letter-spacing: 0.01em; margin-top: 42px; opacity: 0;
  animation: tagZoomIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards 1.15s, tagFadeOut 0.45s ease forwards 2.15s;
}
@keyframes tagZoomIn {
  0% { opacity: 0; transform: scale(0.55); filter: blur(5px); }
  60% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes tagFadeOut { to { opacity: 0; transform: scale(1.32); filter: blur(3px); } }
/* La estrella de Altair: zoom in, espera el clic del cursor y estalla como burbuja */
.loader-logo {
  position: absolute; top: 50%; left: 50%; width: 190px; height: 190px; margin: -95px 0 0 -95px;
  object-fit: contain; opacity: 0; transform: scale(0.18); pointer-events: none;
  animation: logoZoomIn 0.6s cubic-bezier(0.16,1,0.3,1) forwards 2.4s, starPop 0.8s ease-in forwards 3.6s;
}
@keyframes logoZoomIn {
  0% { opacity: 0; transform: scale(0.18); filter: blur(10px) drop-shadow(0 0 0 rgba(10,132,255,0)); }
  55% { opacity: 1; filter: blur(0) drop-shadow(0 0 22px rgba(10,132,255,0.55)); }
  100% { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 0 34px rgba(10,132,255,0.75)); }
}
@keyframes starPop {
  0% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 34px rgba(10,132,255,0.75)) brightness(1); }
  16% { transform: scale(0.86); filter: drop-shadow(0 0 28px rgba(10,132,255,0.7)) brightness(1.1); }
  46% { opacity: 1; transform: scale(1.28); filter: drop-shadow(0 0 66px rgba(160,214,255,1)) brightness(2); }
  100% { opacity: 0; transform: scale(3); filter: drop-shadow(0 0 100px rgba(200,230,255,0)) brightness(2.6); }
}
/* Cursor simulado que entra y hace clic en la estrella */
.loader-cursor {
  position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -3px 0 0 -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 2.2 L19.5 12.5 L11.7 13.2 L8.6 20.6 Z' fill='%23ffffff' stroke='%230a1224' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6)); pointer-events: none;
  opacity: 0; transform: translate(46vw,44vh) scale(1.1);
  animation: curMove 0.85s cubic-bezier(0.22,1,0.36,1) forwards 2.7s,
             curClick 0.26s ease-in-out forwards 3.55s,
             curFade 0.3s ease forwards 3.82s;
}
@keyframes curMove { 0% { opacity: 0; transform: translate(46vw,44vh) scale(1.1); } 18% { opacity: 1; } 100% { opacity: 1; transform: translate(7px,10px) scale(1); } }
@keyframes curClick { 0% { transform: translate(7px,10px) scale(1); } 45% { transform: translate(7px,10px) scale(0.78); } 100% { transform: translate(7px,10px) scale(1); } }
@keyframes curFade { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .loader-toggle, .loader-tagline, .loader-logo, .loader-cursor, .tog-track, .tog-knob, .tog-on, .tog-off { animation: none !important; }
}
