.bola-redesign{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 16% 48%,#4b236d80,transparent 46%),radial-gradient(ellipse at 90% 0%,#33365466,transparent 45%),#141320;border-top:2px solid #bca0ff}
.bola-layout{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"art intro" "art explore" "bottom bottom";column-gap:clamp(32px,5vw,84px);padding-block:clamp(52px,6vw,86px) 30px}
.bola-intro{grid-area:intro;align-self:end;min-width:0}
.bola-intro .eyebrow{font-size:11px;letter-spacing:.1em;gap:9px}
.bola-intro h2{font:italic 900 clamp(64px,6.7vw,100px)/.88 var(--display);letter-spacing:-.025em;margin:24px 0}
.bola-intro h2 em{font-style:inherit;color:#c7afff}
.bola-connector{font-size:.4em;letter-spacing:0;text-transform:none;white-space:nowrap}
.bola-lead{font-weight:800;font-size:clamp(20px,2vw,27px);line-height:1.25;margin:0 0 12px}
.bola-summary{font-size:15px;line-height:1.65;color:#d3cadd;max-width:490px;margin:0 0 29px}
.bola-mage{grid-area:art;position:relative;isolation:isolate;align-self:center;min-width:0;margin:0;padding:12px 0 10px;text-align:center}
.bola-aura{position:absolute;z-index:-1;inset:20% -10% 0;background:radial-gradient(ellipse,#a23eac33,transparent 68%);filter:blur(12px)}
.bola-spell{position:relative;isolation:isolate;aspect-ratio:1/1.18;width:min(100%,560px);margin:0 auto}
.bola-sprite{position:absolute;aspect-ratio:1;background-image:url("media/bola-turbante-original.webp");background-repeat:no-repeat;background-size:200% 200%;pointer-events:none}
.bola-head{width:100%;left:0;top:-6%;background-image:url("media/bola-turbante-original.webp");background-position:0 0;z-index:2;transform-origin:50% 80%;animation:bola-head-drift 7s ease-in-out infinite}
.bola-crystal{width:70%;left:15%;top:51%;background-image:url("media/bola-turbante-original.webp");background-position:100% 100%;z-index:3;filter:drop-shadow(0 0 13px #ad6bff66);animation:bola-crystal-float 5s ease-in-out infinite}
.bola-spell-glow{position:absolute;left:10%;top:53%;width:80%;height:44%;background:radial-gradient(ellipse,#b24be84d,transparent 68%);animation:bola-magic-glow 5s ease-in-out infinite;pointer-events:none}
.bola-spark{position:absolute;display:block;z-index:6;width:4px;height:4px;border-radius:50%;background:#a4ffdc;box-shadow:0 0 8px #a4ffdc;pointer-events:none;animation:bola-magic-spark 3.4s ease-in-out infinite}
.bola-spark-one{left:37%;top:64%;animation-delay:-.8s}.bola-spark-two{right:35%;top:63%;animation-delay:-1.9s}.bola-spark-three{left:49%;top:73%;animation-delay:-2.5s}


.bola-spell-paused .bola-spell *{animation-play-state:paused!important}
@keyframes bola-head-drift{0%,100%{transform:rotate(-.7deg) translateY(0)}50%{transform:rotate(.7deg) translateY(2px)}}
@keyframes bola-crystal-float{0%,100%{transform:translateY(2px)}50%{transform:translateY(-6px)}}
@keyframes bola-magic-glow{0%,100%{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}
@keyframes bola-magic-spark{0%,100%{opacity:0;transform:translateY(6px) scale(.65)}50%{opacity:.9;transform:translateY(-7px) scale(1)}}
@media(prefers-reduced-motion:reduce){.bola-spell *{animation:none!important}}

.bola-explore{grid-area:explore;min-width:0}
.bola-tabs{display:flex;border-bottom:1px solid #736181;margin-bottom:23px;gap:24px}
.bola-tabs button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;flex:1;padding:12px 0 15px;font:800 13px/1.2 var(--body);border:0;background:transparent;color:#c0b2ce;cursor:pointer}
.bola-tabs button span{font:italic 900 18px/1 var(--display);color:#8f78a6}
.bola-tabs button::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:transparent}
.bola-tabs button[aria-selected=true]{color:#fff3dc}.bola-tabs button[aria-selected=true]::after{background:#acffdf}.bola-tabs button[aria-selected=true] span{color:#acffdf}
.bola-tabs button:hover{color:#fff}.bola-tabs button:focus-visible,.bola-cta:focus-visible,.bola-panel:focus-visible{outline:2px solid #acffdf;outline-offset:5px}
.bola-panels{min-height:222px}
.bola-panel h3{font:italic 900 clamp(28px,2.8vw,41px)/1 var(--display);margin:0 0 12px;letter-spacing:.015em;color:#fff3dc}
.bola-panel>p{font-size:14px;line-height:1.65;color:#d3cadd;margin:0;max-width:520px}
.bola-history{display:flex;align-items:center;gap:20px;margin:22px 0 0}.bola-history>span{font-size:10px;letter-spacing:.06em;text-transform:uppercase;max-width:88px;color:#b9a4ce}.bola-history>div{display:flex;gap:26px}.bola-history b{display:flex;gap:5px;align-items:baseline;font:italic 900 34px/1 var(--display);color:#acffdf}.bola-history small{font:600 11px/1 var(--body);color:#d3cadd}
.bola-signal,.bola-news{display:flex;align-items:center;gap:20px;margin-top:24px}.bola-signal strong,.bola-news strong{display:block;font-size:16px;color:#acffdf;line-height:1.3}.bola-signal div>span,.bola-news div>span{display:block;font-size:11px;color:#c3b2d0;margin-top:4px}
.bola-lights{display:flex;gap:7px;padding:11px;background:#080711;border:1px solid #554362;border-radius:30px;flex-shrink:0}.bola-lights i{width:13px;height:13px;border-radius:50%;background:#91e1ba}.bola-lights i:nth-child(2){background:#f4c36b}.bola-lights i:nth-child(3){background:#e5799b}
.bola-news strong{font:italic 900 32px/1 var(--display)}.bola-clock{position:relative;display:block;flex:0 0 42px;height:42px;border:2px solid #acffdf;border-radius:50%}.bola-clock::before{content:"";position:absolute;width:2px;height:12px;left:18px;top:7px;background:#acffdf}.bola-clock::after{content:"";position:absolute;width:10px;height:2px;left:18px;top:18px;background:#acffdf}
.pred-app-benefits {margin:18px 0 0;color:#e5d8ed;font-size:.95rem;line-height:1.45}
.bola-cta{display:inline-flex;align-items:center;gap:25px;border-bottom:1px solid #c7afff;color:#fff3dc;padding:7px 0;text-decoration:none;font-size:12px;font-weight:800;margin-top:10px}.bola-cta span{font-size:21px;color:#acffdf}.bola-cta:hover{color:#acffdf;border-color:#acffdf}
.bola-bottom{grid-area:bottom;display:flex;gap:35px;align-items:center;border-top:1px solid #64516f;margin-top:42px;padding-top:21px}.bola-bottom p:first-child{font-size:11px;font-weight:800;white-space:nowrap;color:#e2d2f2}.bola-bottom p:first-child span{color:#acffdf;margin-right:6px}.bola-bottom p{margin:0;font-size:10px;line-height:1.6;color:#bfb1ce}.bola-bottom p:last-child{margin-left:auto;max-width:570px}
@media(max-width:1050px){.bola-layout{column-gap:30px;grid-template-columns:.9fr 1.1fr}.bola-tabs{gap:12px}.bola-panels{min-height:245px}.bola-intro h2{font-size:70px}.bola-history{gap:13px}.bola-history>div{gap:20px}}
@media(max-width:750px){.bola-layout{grid-template-columns:1fr;grid-template-areas:"intro" "art" "explore" "bottom";padding-top:45px}.bola-intro h2{font-size:clamp(60px,13vw,84px);margin:21px 0}.bola-summary{font-size:14px;max-width:480px;margin-bottom:0}.bola-mage{width:min(100%,460px);justify-self:center;padding-top:20px;margin-bottom:28px}.bola-mage img{max-height:420px}.bola-tabs{gap:12px}.bola-tabs button{font-size:12px;gap:7px}.bola-panels{min-height:230px}.bola-panel>p{font-size:13px}.bola-panel h3{font-size:31px}.bola-history>div{gap:24px}.bola-cta{margin-top:0}.bola-bottom{display:block;margin-top:29px;padding-top:19px}.bola-bottom p:last-child{margin:10px 0 0;max-width:500px}.bola-intro .eyebrow{font-size:10px;letter-spacing:.06em}}
@media(max-width:380px){.bola-tabs{gap:6px}.bola-tabs button{font-size:11px;gap:5px}.bola-history>div{gap:18px}.bola-history b{font-size:31px}.bola-panels{min-height:250px}.bola-signal{gap:12px}.bola-signal strong{font-size:14px}}

.pred-live {margin:20px 0 24px;padding:16px;background:#231b30;border:1px solid #665674;border-radius:12px}
.pred-controls {display:flex;gap:7px;flex-wrap:wrap}
.pred-controls button {font:700 14px var(--body);padding:8px 14px;min-height:44px;background:transparent;color:var(--bone);border:1px solid #8e759e;border-radius:30px;cursor:pointer}
.pred-controls [aria-pressed=true] {background:#ddc6ff;color:#24152f}
.pred-reading {display:flex;align-items:center;gap:12px;margin:17px 0 7px}
.pred-reading strong,.pred-reading small,.pred-reading span:not(.pred-light) {display:block}
.pred-reading strong {font-size:clamp(20px,2.4vw,27px);line-height:1.15;margin:4px 0}
.pred-reading small,.pred-reading [data-pred-date],[data-pred-history] small,[data-pred-news] small {font-size:12px;color:#dacfe2}
.pred-light {flex:none;display:flex;flex-direction:column;gap:5px;border:1px solid #796c87;border-radius:18px;background:#100e16;padding:7px}
.pred-light i {width:13px;height:13px;border-radius:50%;background:#494453}
.pred-light[data-color=green] i:last-child {background:#69faba;box-shadow:0 0 8px #69faba90}
.pred-light[data-color=amber] i:nth-child(2) {background:#ffc150;box-shadow:0 0 8px #ffc15090}
.pred-light[data-color=red] i:first-child {background:#ff7381;box-shadow:0 0 8px #ff738190}
[data-pred-change] {font-size:18px;font-weight:800;margin:10px 0 0}
[data-pred-change]:empty {display:none}


[data-pred-news] {list-style:none;padding:0}
[data-pred-news] li {margin:10px 0}
[data-pred-news] small {display:block}
.hist-ayuda-tactil {display:none}
@media (max-width:850px), (pointer:coarse) {
  .hist-ayuda-tactil {display:inline}
  .hist-ayuda-escritorio {display:none}
}
.hist-plot {margin-top:12px;padding:10px clamp(8px,2vw,18px);background:#201c2b;border:1px solid #655371;border-radius:10px}
.hist-plot svg {display:block;width:100%;height:auto;touch-action:pan-y;cursor:crosshair}
.hist-plot svg:focus-visible {outline:2px solid var(--mint);outline-offset:2px}
.hist-grid {stroke:#5a4b64;stroke-width:.7}.hist-axis {fill:#dccfe5;font:12px system-ui,sans-serif}
.hist-line {fill:none;stroke:var(--mint);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.hist-dot {fill:var(--mint)}.hist-guia {stroke:#d6b9ff;stroke-dasharray:3 3}
.hist-activo {fill:#fff0ff;stroke:#9974c2;stroke-width:3}
.hist-burbuja {fill:#ddc8fc}.hist-leyenda {fill:#251431;font:700 12px system-ui,sans-serif}
.hist-detalle {border-top:1px solid #534459;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:8px}
.hist-detalle strong,.hist-detalle small,.hist-detalle span {display:block}.hist-detalle strong {color:#a7f4df;font:800 1.2rem/1.35 var(--body)}
.hist-detalle span {color:#f4e8f9;font-size:.88rem}.hist-detalle small {color:#d8c9e2}

html:has(#predicciones:target),html:has(#la-bola:target) {scroll-behavior:auto}

@media (max-width:750px) {
  .bola-layout {grid-template-areas:"intro" "explore" "art" "bottom";padding-top:24px}
  .bola-intro h2 {font-size:clamp(38px,9vw,66px);margin:12px 0}
  .bola-intro h2 br {display:none}
  .bola-connector {margin-left:.22em}
  .bola-lead {font-size:18px;margin:0}
  .bola-summary {display:none}
  .pred-live {margin:14px 0 16px;padding:12px}
  .pred-reading {margin:12px 0 4px}
  .bola-tabs {margin-bottom:14px}
  .bola-panel h3 {font-size:26px;margin:0 0 6px}
  .bola-mage {width:min(68%,250px);margin:18px auto 0}
}

@media (max-width:850px) {
  #predicciones .bola-layout {width:100%;grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "explore" "art" "bottom"}
  #predicciones :is(.bola-intro,.bola-panel > h3,.bola-panel > p,.bola-bottom,.pred-app-benefits) {padding-inline:12px}
  #predicciones .bola-cta {margin-inline:12px}
  #predicciones .bola-mage {justify-self:center;width:min(68%,250px)}
}
