/* Tema · Onda Cerebral. Identidad propia: la tapa del producto en el VSL es azul profundo con un cerebro que brilla.
   Azul noche #0C1236 → violeta #5B3FD6, acento dorado #D9A43A. Fraunces para títulos, Nunito Sans para el texto. */
:root {
  --f-texto: "Nunito Sans", Helvetica, Arial, sans-serif;
  --f-titulo: Fraunces, Georgia, serif;
  --w-titulo: 700; --tt-titulo: none; --ls-titulo: -.01em;
  --fondo: #F3F2FA; --superficie: #FFFFFF; --tinta: #121633; --gris: #4A4F66; --tenue: #9298B0;
  --linea: #E3E5F0; --linea-fuerte: #C9CCDD;
  --acento: #5B3FD6; --acento-claro: #E4DCFF;
  --ok: #1E9E6A; --ok-fondo: #E6F6EF;
  --cab-fondo: radial-gradient(120% 140% at 90% 0%, #3A2A9E 0%, #1B2470 45%, #0C1236 100%);
  --ico-fondo: #EEEAFE; --ico-color: #5B3FD6;
  --bloq-fondo: #F6F6FB; --lector-fondo: #0C1236;
  --radio: 16px; --radio-g: 22px;
  --sombra: 0 10px 30px rgba(12,18,54,.14); --sombra-chica: 0 1px 0 rgba(12,18,54,.04), 0 2px 12px rgba(12,18,54,.07);
  --sombra-btn: 0 6px 18px rgba(91,63,214,.32);
}
body { font-size: 17px; }
.cab { position: relative; overflow: hidden; }
.cab .marca { color: #D9A43A; }
.cab:after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 4px; height: 26px; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q25 8 50 30 T100 30 T150 30 T200 30 T250 30 T300 30 T350 30 T400 30 T450 30 T500 30 T550 30 T600 30' fill='none' stroke='%23D9A43A' stroke-width='2'/%3E%3Cpath d='M0 30 Q37 52 75 30 T150 30 T225 30 T300 30 T375 30 T450 30 T525 30 T600 30' fill='none' stroke='%23B9A8FF' stroke-width='1.4'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.cab h1 span, .login h1 span { color: #D9A43A; font-style: italic; }
.tj:not(.bloq) .vis.ico { background: linear-gradient(150deg, #1B2470, #5B3FD6); color: #D9A43A; }
.hoy .cont b { color: var(--acento); }

/* reproductor de la Onda Cerebral */
.onda { background: linear-gradient(160deg, #0C1236 0%, #1B2470 60%, #3A2A9E 100%); color: #fff; border-radius: var(--radio-g); padding: 18px 18px 20px; margin-bottom: 20px; box-shadow: var(--sombra); }
.otabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.otabs button { border: 0; background: none; color: #C9CCF0; font: 800 15px/1 var(--f-texto); padding: 12px 6px; border-radius: 11px; }
.otabs button.on { background: #D9A43A; color: #0C1236; }
.oplayer { display: flex; align-items: center; gap: 16px; }
.oanillo { position: relative; width: 118px; height: 118px; flex: 0 0 auto; }
.oanillo > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.oanillo circle { fill: none; stroke-width: 7; } .obase { stroke: rgba(255,255,255,.14); } .oprog { stroke: #D9A43A; stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.oplay { position: absolute; inset: 14px; border-radius: 50%; border: 0; background: #fff; color: #0C1236; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 0 rgba(217,164,58,.6); }
.oplay svg { width: 44px; height: 44px; fill: currentColor; }
.oplay.on { animation: latido 1.6s ease-in-out infinite; }
@keyframes latido { 0%,100% { box-shadow: 0 0 0 0 rgba(217,164,58,.55); } 50% { box-shadow: 0 0 0 12px rgba(217,164,58,0); } }
.otx b { display: block; font: 700 22px/1.15 var(--f-titulo); color: #fff; }
.otx span { display: block; color: #C9CCF0; font-size: 14.5px; margin-top: 4px; line-height: 1.35; }
.otiempo { white-space: nowrap; margin-top: 10px; font: 800 18px/1 var(--f-texto); color: #D9A43A; }
#obarra { width: 100%; margin: 16px 0 8px; accent-color: #D9A43A; height: 28px; }
.oinst { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 7px; font-size: 15.5px; color: #E4E6F7; }
.oinst b { color: #fff; }
.ocont { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.ocont b { font: 700 30px/1 var(--f-titulo); color: #D9A43A; } .ocont span { color: #C9CCF0; font-size: 15px; }
.onda .acc { margin-bottom: 0; }
.onda .btn.sec { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
#extra { margin-bottom: 6px; }

/* cuaderno */
textarea { width: 100%; font: 400 17px/1.5 var(--f-texto); padding: 12px 14px; border-radius: var(--radio); border: 2px solid var(--linea-fuerte); color: var(--tinta); resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.chipr input { position: absolute; opacity: 0; pointer-events: none; }
.chipr span { display: inline-block; padding: 9px 13px; border-radius: 20px; border: 1.5px solid var(--linea-fuerte); font-weight: 800; font-size: 15px; }
.chipr input:checked + span { background: var(--acento); border-color: var(--acento); color: #fff; }
.borrar { border: 0; background: none; color: var(--tenue); font: 700 13px var(--f-texto); padding: 6px 0 0; text-decoration: underline; }
.tabla span { white-space: pre-wrap; }

.cab.chica { padding-bottom: 40px; }
.oplay.cargando { opacity: .55; }
