/* Temas vectoriales livianos para los perfiles de Eikove.App.
   12 fondos con gradientes CSS + SVG en data-URI (livianos) y animaciones sutiles.
   Los temas festivos (cumpleaños / aniversario) se aplican automáticamente. */
.perfil-portada {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--tp-bg, linear-gradient(135deg, #6B53D1, #4C3AA0));
  color: #fff;
  isolation: isolate;
}
.perfil-portada::before {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: -2;
  background-image: var(--tp-patron, none);
  background-size: var(--tp-size, 180px);
  opacity: var(--tp-op, .38);
  animation: var(--tp-anim, none);
  pointer-events: none;
}
.perfil-portada::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 12, 24, .55) 100%);
  pointer-events: none;
}
.tema-opcion {
  position: relative;
  overflow: hidden;
  background: var(--tp-bg, linear-gradient(135deg, #6B53D1, #4C3AA0));
}
.tema-opcion::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: var(--tp-patron, none);
  background-size: var(--tp-size, 90px);
  opacity: .5;
  pointer-events: none;
}
.tema-aquatico {
  --tp-bg: linear-gradient(155deg, #052a44, #075985 55%, #0e7490);
  --tp-patron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='90'%3E%3Cpath d='M0 58c22-18 44 18 66 0s44 18 66 0 44 18 66 0' fill='none' stroke='%2367e8f9' stroke-width='4' opacity='.55'/%3E%3Cpath d='M-20 34c22-18 44 18 66 0s44 18 66 0 44 18 66 0' fill='none' stroke='%2338bdf8' stroke-width='3' opacity='.4'/%3E%3C/svg%3E");
  --tp-size: 220px 110px; --tp-anim: tp-wave 16s linear infinite;
}
.tema-aquatico { --tp-paso: 220px; }
@keyframes tp-sway { 0%,100% { background-position: 0 0; } 50% { background-position: calc(var(--tp-paso, 220px) * -0.5) 0; } }
@keyframes tp-wave { from { background-position: 0 0; } to { background-position: calc(var(--tp-paso, 220px) * -1) 0; } }
@keyframes tp-twinkle { 0%,100% { opacity: .25; } 50% { opacity: .7; } }
@keyframes tp-pan { from { background-position: 0 0; } to { background-position: calc(var(--tp-paso, 220px) * -1) 0; } }
@keyframes tp-pulse { 0%,100% { transform: scale(1); opacity: .3; } 50% { transform: scale(1.03); opacity: .55; } }
@keyframes tp-float { 0%,100% { background-position: 0 0; } 50% { background-position: 0 calc(var(--tp-paso, 220px) * -0.12); } }
@keyframes tp-drift { from { background-position: 0 0; } to { background-position: calc(var(--tp-paso, 220px) * -1) 0; } }
@media (prefers-reduced-motion: reduce) {
  .perfil-portada::before { animation: none !important; }
}

/* ESCENAS:BEGIN — generado por escenas.py: cada tema es una escena completa (sin azulejos). */
@keyframes tp-deriva { 0%,100% { transform: translate3d(0,0,0) scale(1.04); } 50% { transform: translate3d(-.9%,.7%,0) scale(1.04); } }
@keyframes tp-marea { 0%,100% { transform: translate3d(0,0,0) scale(1.03); } 50% { transform: translate3d(.6%,-1.1%,0) scale(1.03); } }
.tema-aquatico, [data-tema-preview="aquatico"] {
  --tp-bg: linear-gradient(180deg,#11456f 0%,#0c3558 28%,#0a2342 60%,#061225 100%);
  --tp-patron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E %3ClinearGradient id='r' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23d6fff6' stop-opacity='.42'/%3E%3Cstop offset='.7' stop-color='%2364ffda' stop-opacity='.10'/%3E%3Cstop offset='1' stop-color='%2364ffda' stop-opacity='0'/%3E%3C/linearGradient%3E %3CradialGradient id='g' cx='.5' cy='.5' r='.5'%3E%3Cstop offset='0' stop-color='%23bffcf0' stop-opacity='.30'/%3E%3Cstop offset='1' stop-color='%23bffcf0' stop-opacity='0'/%3E%3C/radialGradient%3E %3ClinearGradient id='w' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%231a5f8f'/%3E%3Cstop offset='1' stop-color='%2308203d'/%3E%3C/linearGradient%3E %3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='16'/%3E%3C/filter%3E %3Cfilter id='b2'%3E%3CfeGaussianBlur stdDeviation='3'/%3E%3C/filter%3E %3C/defs%3E%3Ccircle cx='1180' cy='-120' r='620' fill='url(%23g)'/%3E%3Cg filter='url(%23b)' opacity='1'%3E%3Cpath d='M900 -40 L1010 -40 L560 920 L420 920Z' fill='url(%23r)' opacity='0.7'/%3E%3Cpath d='M1040 -40 L1130 -40 L900 920 L720 920Z' fill='url(%23r)' opacity='0.7'/%3E%3Cpath d='M760 -40 L840 -40 L380 920 L260 920Z' fill='url(%23r)' opacity='0.9'/%3E%3Cpath d='M1160 -40 L1250 -40 L1180 920 L1010 920Z' fill='url(%23r)' opacity='0.7'/%3E%3Cpath d='M620 -40 L690 -40 L230 920 L120 920Z' fill='url(%23r)' opacity='0.7'/%3E%3C/g%3E%3Cpath d='M-900 520 Q-740 496 -580 520 T-260 520 T60 520 T380 520 T700 520 T1020 520 T1340 520 T1660 520 T1980 520 T2300 520 T2620 520 L1760 920 L-160 920 Z' fill='url(%23w)' opacity='0.3'/%3E%3Cpath d='M-900 520 Q-740 496 -580 520 T-260 520 T60 520 T380 520 T700 520 T1020 520 T1340 520 T1660 520 T1980 520 T2300 520 T2620 520' fill='none' stroke='%2364ffda' stroke-width='1.3' opacity='0.22'/%3E%3Cpath d='M-760 600 Q-620 570 -480 600 T-200 600 T80 600 T360 600 T640 600 T920 600 T1200 600 T1480 600 T1760 600 T2040 600 T2320 600 L1760 920 L-160 920 Z' fill='url(%23w)' opacity='0.4'/%3E%3Cpath d='M-760 600 Q-620 570 -480 600 T-200 600 T80 600 T360 600 T640 600 T920 600 T1200 600 T1480 600 T1760 600 T2040 600 T2320 600' fill='none' stroke='%2364ffda' stroke-width='1.3' opacity='0.26'/%3E%3Cpath d='M-840 690 Q-665 656 -490 690 T-140 690 T210 690 T560 690 T910 690 T1260 690 T1610 690 T1960 690 T2310 690 T2660 690 L1760 920 L-160 920 Z' fill='url(%23w)' opacity='0.5'/%3E%3Cpath d='M-840 690 Q-665 656 -490 690 T-140 690 T210 690 T560 690 T910 690 T1260 690 T1610 690 T1960 690 T2310 690 T2660 690' fill='none' stroke='%2364ffda' stroke-width='1.3' opacity='0.28'/%3E%3Cpath d='M-640 780 Q-510 750 -380 780 T-120 780 T140 780 T400 780 T660 780 T920 780 T1180 780 T1440 780 T1700 780 T1960 780 T2220 780 T2480 780 L1760 920 L-160 920 Z' fill='url(%23w)' opacity='0.62'/%3E%3Cpath d='M-640 780 Q-510 750 -380 780 T-120 780 T140 780 T400 780 T660 780 T920 780 T1180 780 T1440 780 T1700 780 T1960 780 T2220 780 T2480 780' fill='none' stroke='%2364ffda' stroke-width='1.3' opacity='0.3'/%3E%3Cpath d='M-890 860 Q-730 836 -570 860 T-250 860 T70 860 T390 860 T710 860 T1030 860 T1350 860 T1670 860 T1990 860 T2310 860 T2630 860 L1760 920 L-160 920 Z' fill='url(%23w)' opacity='0.78'/%3E%3Ccircle cx='929.3' cy='183.4' r='7.1' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M925.4 182.7 a4.6 4.6 0 0 1 3.5 -3.2' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1233.6' cy='132.7' r='5.4' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M1230.6 132.2 a3.5 3.5 0 0 1 2.7 -2.4' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1258.3' cy='468.3' r='3.3' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M1256.4 468 a2.2 2.2 0 0 1 1.7 -1.5' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1487.8' cy='446.2' r='7.9' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M1483.5 445.4 a5.2 5.2 0 0 1 4 -3.6' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='82.2' cy='375.9' r='3.5' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M80.3 375.5 a2.3 2.3 0 0 1 1.7 -1.6' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='418.1' cy='96.8' r='6.7' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M414.4 96.2 a4.4 4.4 0 0 1 3.4 -3' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1306.8' cy='370.7' r='8.1' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M1302.3 369.9 a5.3 5.3 0 0 1 4.1 -3.7' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1040.4' cy='336.1' r='5.2' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M1037.6 335.6 a3.4 3.4 0 0 1 2.6 -2.4' fill='none' stroke='%23fff' stroke-opacity='0.4' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1533.6' cy='550.5' r='8.7' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M1528.9 549.7 a5.6 5.6 0 0 1 4.3 -3.9' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='399.9' cy='241.9' r='3.6' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M397.9 241.5 a2.3 2.3 0 0 1 1.8 -1.6' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='652.6' cy='554.1' r='6.1' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M649.2 553.5 a4 4 0 0 1 3 -2.7' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1314' cy='80.3' r='4.7' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M1311.4 79.8 a3 3 0 0 1 2.3 -2.1' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='755.6' cy='629' r='6.2' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M752.2 628.4 a4 4 0 0 1 3.1 -2.8' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='991.6' cy='516' r='5.2' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M988.8 515.5 a3.4 3.4 0 0 1 2.6 -2.3' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='552.2' cy='619.9' r='9.1' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M547.2 619 a5.9 5.9 0 0 1 4.5 -4.1' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='424.7' cy='136.6' r='3.5' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M422.7 136.2 a2.3 2.3 0 0 1 1.7 -1.6' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='323' cy='393.2' r='6.6' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M319.3 392.5 a4.3 4.3 0 0 1 3.3 -3' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1143.2' cy='153.3' r='8.1' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M1138.7 152.5 a5.3 5.3 0 0 1 4.1 -3.7' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='682.7' cy='199.2' r='5.2' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M679.9 198.7 a3.4 3.4 0 0 1 2.6 -2.3' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1249' cy='250.3' r='10.1' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M1243.5 249.3 a6.6 6.6 0 0 1 5 -4.5' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='643.5' cy='558.5' r='8.1' fill='%23bffcf0' fill-opacity='0' stroke='%23d6fff6' stroke-opacity='0.2' stroke-width='1'/%3E%3Cpath d='M639.1 557.6 a5.3 5.3 0 0 1 4.1 -3.7' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='1524.2' cy='199.4' r='5.1' fill='%23bffcf0' fill-opacity='0.1' stroke='%23d6fff6' stroke-opacity='0.3' stroke-width='1'/%3E%3Cpath d='M1521.4 198.9 a3.3 3.3 0 0 1 2.5 -2.3' fill='none' stroke='%23fff' stroke-opacity='0.3' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --tp-size: cover; --tp-op: 1; --tp-anim: tp-marea 38s ease-in-out infinite;
}
html body.tema-aquatico[data-tema-activo] { --feed-fondo: linear-gradient(180deg,#11456f 0%,#0c3558 28%,#0a2342 60%,#061225 100%); }
body.tema-tokio-violeta .feed-tabs, body.tema-tokio-rojo .feed-tabs, body.tema-tokio-cruce .feed-tabs{ background: color-mix(in srgb, var(--perfil-bg,#000) 72%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 12px; padding: 4px 12px; width: fit-content; }
@media (prefers-reduced-motion: reduce) { .social-body[data-tema-activo]::before, .vista-perfil-full::before { animation: none !important; } }
/* ESCENAS:END */
