.bolita-calc{
  margin:24px 0;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#10131a;
  color:#fff;
}

.bolita-calc h2{
  margin:0 0 10px;
}

.bolita-calc .muted{
  opacity:.75;
}

.bolita-calc-disclaimer{
  margin:10px 0 0;
  padding:8px 10px;
  border-left:3px solid rgba(255,212,59,.55);
  color:rgba(255,255,255,.72);
  font-size:12px;
}

.bolita-calc-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  margin-top:16px;
}

.bolita-calc-card{
  background:#171b24;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}

.bolita-calc-card--featured{
  background:linear-gradient(180deg,#171b24 0%, #121722 100%);
  border-color:rgba(255,212,59,.14);
}

.bolita-calc-badge{
  display:inline-block;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,212,59,.12);
  color:#ffd43b;
  font-weight:700;
  font-size:12px;
  margin-bottom:10px;
}

.bolita-calc-kv{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:6px 10px;
  font-size:14px;
  margin-top:10px;
}

.bolita-calc-pyramid-wrap{
  margin:12px 0;
  padding:10px 12px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  overflow:auto;
}

.bolita-calc-pyramid-row{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height:1.7;
  letter-spacing:.5px;
  opacity:.95;
  white-space:nowrap;
}

.bolita-calc-tag{
  display:inline-block;
  margin:4px 6px 0 0;
  padding:5px 8px;
  border-radius:10px;
  background:rgba(96,165,250,.12);
  color:#93c5fd;
  font-weight:700;
  font-size:13px;
}

.bolita-calc-tag.ok{
  background:rgba(52,211,153,.12);
  color:#86efac;
}

.bolita-calc-tag.warn{
  background:rgba(248,113,113,.12);
  color:#fca5a5;
}

.bolita-calc-family-block{
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.06);
}

.bolita-calc-family-block:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:0;
}

.bolita-calc-table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  font-size:14px;
}

.bolita-calc-table td,
.bolita-calc-table th{
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:8px 6px;
  text-align:left;
  vertical-align:top;
}

.bolita-calc-top5{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
  margin-top:10px;
}

.bolita-calc-top5-item{
  padding:14px;
  border-radius:14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
}

.bolita-calc-top5-num{
  font-size:28px;
  font-weight:900;
  color:#ffd43b;
  line-height:1;
  margin-bottom:8px;
}

.bolita-calc-top5-score{
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
}

.bolita-calc-top5-src{
  font-size:12px;
  opacity:.78;
  line-height:1.45;
}

/* ================================
BASE HISTÓRICA
================================ */

.bolita-calc-base{
  margin:10px 0 14px;
  font-size:14px;
  opacity:.9;
}

.bolita-calc-badge-historic{
  display:inline-block;
  margin-left:8px;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  background:rgba(255,193,7,.15);
  color:#ffd43b;
}

.bolita-calc-badge-ok{
  display:inline-block;
  margin-left:8px;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  background:rgba(52,211,153,.15);
  color:#86efac;
}

.bolita-calc-historic-warning{
  margin:8px 0 12px;
  padding:8px 10px;
  border-radius:10px;
  font-size:12px;
  background:rgba(255,193,7,.08);
  border:1px solid rgba(255,193,7,.18);
  color:#ffd43b;
}

/* ================================
HOT / COLD
================================ */

.bolita-calc-card .bolita-calc-tag.ok,
.bolita-calc-card .bolita-calc-tag.warn{
  margin-top:6px;
}

/* Responsive */
@media (max-width: 640px){
  .bolita-calc{
    padding:14px;
  }

  .bolita-calc-card{
    padding:14px;
  }

  .bolita-calc-top5{
    grid-template-columns:1fr;
  }

  .bolita-calc-kv{
    grid-template-columns:1fr;
    gap:4px 0;
  }
}
.bolita-calc-family-block p{
  margin:0 0 8px;
}

.bolita-calc-family-block .bolita-calc-tag{
  margin-top:6px;
}

/* Estadísticas públicas */
.bolita-stats{
  margin:24px 0;
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:#10131a;
  color:#fff;
}

.bolita-stats h2{
  margin:0 0 10px;
}

.bolita-stats-intro,
.bolita-stats-note{
  color:rgba(255,255,255,.72);
  font-size:13px;
}

.bolita-stats-sample{
  display:inline-block;
  margin-left:8px;
  padding:3px 8px;
  border-radius:999px;
  background:rgba(255,193,7,.15);
  color:#ffd43b;
  font-size:11px;
  font-weight:700;
}

.bolita-stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:14px;
  margin-top:16px;
}

.bolita-stats-section{
  margin-top:22px;
}

.bolita-stats-section-title{
  margin:0 0 12px;
  color:#fff;
  font-size:17px;
}

.bolita-stats-highlights{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:10px;
}

.bolita-stats-highlights > div{
  padding:14px;
  border:1px solid rgba(255,212,59,.12);
  border-radius:14px;
  background:rgba(255,212,59,.04);
}

.bolita-stats-highlights strong,
.bolita-stats-highlights span{
  display:block;
}

.bolita-stats-highlights strong{
  margin-bottom:6px;
  color:#ffd43b;
  font-size:24px;
  line-height:1;
}

.bolita-stats-highlights span{
  color:rgba(255,255,255,.68);
  font-size:12px;
}

.bolita-stats-card{
  padding:16px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:#171b24;
}

.bolita-stats-card h3{
  margin:0 0 10px;
  font-size:15px;
}

.bolita-stats-best{
  display:inline-block;
  margin-bottom:9px;
  padding:3px 7px;
  border-radius:999px;
  background:rgba(52,211,153,.12);
  color:#86efac;
  font-size:10px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.bolita-stats-rate{
  margin-bottom:14px;
  color:#ffd43b;
  font-size:30px;
  font-weight:900;
  line-height:1;
}

.bolita-stats-confidence{
  margin:-7px 0 12px;
  color:rgba(255,255,255,.62);
  font-size:11px;
}

.bolita-stats-evidence{
  display:inline-block;
  margin:-2px 0 12px;
  padding:3px 7px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
}

.bolita-stats-evidence--positive{
  background:rgba(52,211,153,.12);
  color:#86efac;
}

.bolita-stats-evidence--neutral{
  background:rgba(255,193,7,.12);
  color:#ffd43b;
}

.bolita-stats-evidence--negative{
  background:rgba(248,113,113,.12);
  color:#fca5a5;
}

.bolita-stats-card dl,
.bolita-stats-card dl div{
  margin:0;
}

.bolita-stats-card dl div{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:6px 0;
  border-top:1px solid rgba(255,255,255,.06);
  font-size:12px;
}

.bolita-stats-card dt{
  color:rgba(255,255,255,.68);
}

.bolita-stats-card dd{
  margin:0;
  font-weight:700;
}

.bolita-stats-note{
  margin:16px 0 0;
}

.bolita-stats-trend{
  margin-top:14px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.08);
}

.bolita-stats-trend-row{
  display:grid;
  grid-template-columns:70px 1fr 42px;
  align-items:center;
  gap:7px;
  margin-top:7px;
  font-size:10px;
}

.bolita-stats-trend-row > span{
  color:rgba(255,255,255,.62);
}

.bolita-stats-trend-row > strong{
  text-align:right;
}

.bolita-stats-trend-track{
  height:6px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(255,255,255,.08);
}

.bolita-stats-trend-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#f59e0b,#ffd43b);
}

.bolita-stats--empty{
  color:rgba(255,255,255,.72);
}

/* Dashboard estadístico 1.6.2 */
.bolita-stats--dashboard{
  --evbc-gold:#d9a441;
  --evbc-gold-bright:#ffd66b;
  --evbc-red:#c73535;
  --evbc-red-bright:#ef4444;
  --evbc-cream:#eee4d2;
  --evbc-panel:#15171b;
  --evbc-panel-soft:#1a1d22;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:28px;
  border-color:rgba(217,164,65,.22);
  border-radius:22px;
  background:
    radial-gradient(circle at 100% 0,rgba(199,53,53,.10),transparent 32%),
    radial-gradient(circle at 0 100%,rgba(217,164,65,.08),transparent 34%),
    linear-gradient(180deg,#101216 0%,#0c0e11 100%);
  box-shadow:0 22px 60px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.025);
  color:#f8f7f4;
  font-variant-numeric:tabular-nums;
}

.bolita-stats--dashboard::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:.16;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,black,transparent 48%);
}

.bolita-stats-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.bolita-stats--dashboard h2{
  margin:4px 0 7px;
  color:#fff;
  font-size:clamp(25px,3vw,38px);
  line-height:1.08;
  letter-spacing:-.03em;
}

.bolita-stats-eyebrow,
.bolita-stats-panel-kicker{
  display:block;
  color:var(--evbc-gold-bright);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.bolita-stats--dashboard .bolita-stats-intro{
  max-width:760px;
  margin:0;
  color:rgba(255,255,255,.66);
  line-height:1.55;
}

.bolita-stats--dashboard .bolita-stats-sample{
  margin-left:8px;
  border:1px solid rgba(217,164,65,.25);
  background:rgba(217,164,65,.11);
  color:var(--evbc-gold-bright);
}

.bolita-stats-review{
  flex:0 0 220px;
  padding:15px 16px;
  border:1px solid rgba(217,164,65,.18);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
}

.bolita-stats-review > div:first-child{
  display:flex;
  align-items:baseline;
  gap:5px;
}

.bolita-stats-review strong{
  color:var(--evbc-gold-bright);
  font-size:25px;
  line-height:1;
}

.bolita-stats-review span,
.bolita-stats-review small{
  color:rgba(255,255,255,.58);
  font-size:11px;
}

.bolita-stats-review-track{
  height:5px;
  margin:10px 0 7px;
  overflow:hidden;
  border-radius:20px;
  background:rgba(255,255,255,.08);
}

.bolita-stats-review-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--evbc-red),var(--evbc-gold-bright));
  box-shadow:0 0 12px rgba(217,164,65,.35);
}

.bolita-stats-overview{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);
  gap:16px;
  margin-top:20px;
}

.bolita-stats-panel{
  min-width:0;
  padding:21px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(28,30,34,.98),rgba(18,20,23,.98));
  box-shadow:0 12px 24px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.025);
}

.bolita-stats-panel--ranking{
  border-color:rgba(217,164,65,.22);
}

.bolita-stats-panel-heading,
.bolita-stats-section-heading,
.bolita-stats-card-header,
.bolita-stats-card-status{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}

.bolita-stats-panel h3,
.bolita-stats--dashboard .bolita-stats-section-title{
  margin:4px 0 0;
  color:#fff;
  font-size:18px;
  line-height:1.2;
}

.bolita-stats-panel-badge{
  padding:5px 9px;
  border-radius:99px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.58);
  font-size:10px;
  white-space:nowrap;
}

.bolita-stats-rank-bars{
  display:grid;
  gap:16px;
  margin:25px 0 21px;
}

.bolita-stats-rank-row{
  display:grid;
  grid-template-columns:52px minmax(80px,1fr) 64px;
  align-items:center;
  gap:12px;
}

.bolita-stats-rank-row > span{
  color:rgba(255,255,255,.68);
  font-size:12px;
  font-weight:700;
}

.bolita-stats-rank-row > strong{
  color:var(--evbc-gold-bright);
  font-size:18px;
  text-align:right;
}

.bolita-stats-rank-track{
  height:10px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(255,255,255,.075);
  box-shadow:inset 0 1px 2px rgba(0,0,0,.5);
}

.bolita-stats-rank-track i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#9b6b1f,var(--evbc-gold-bright));
}

.bolita-stats-rank-row--red .bolita-stats-rank-track i{
  background:linear-gradient(90deg,#791f27,var(--evbc-red-bright));
}

.bolita-stats-rank-row--cream .bolita-stats-rank-track i{
  background:linear-gradient(90deg,#9f8e73,var(--evbc-cream));
}

.bolita-stats-number-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
}

.bolita-stats-number-strip > div{
  padding:11px 10px;
  border:1px solid rgba(217,164,65,.28);
  border-radius:11px;
  background:rgba(0,0,0,.22);
  text-align:center;
}

.bolita-stats-number-strip > div:nth-child(2){border-color:rgba(199,53,53,.45)}

.bolita-stats-number-strip strong,
.bolita-stats-number-strip span{
  display:block;
}

.bolita-stats-number-strip strong{
  color:var(--evbc-gold-bright);
  font-size:22px;
  line-height:1;
}

.bolita-stats-number-strip span{
  margin-top:4px;
  color:rgba(255,255,255,.48);
  font-size:9px;
  text-transform:uppercase;
}

.bolita-stats-kpis{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:17px;
}

.bolita-stats-kpis > div{
  min-height:74px;
  padding:11px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:11px;
  background:rgba(0,0,0,.17);
}

.bolita-stats-kpis strong,
.bolita-stats-kpis span{
  display:block;
}

.bolita-stats-kpis strong{
  color:var(--evbc-gold-bright);
  font-size:20px;
  line-height:1;
}

.bolita-stats-kpis span{
  margin-top:6px;
  color:rgba(255,255,255,.53);
  font-size:9px;
  line-height:1.3;
}

.bolita-stats-last-hit{
  position:relative;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:2px 14px;
  margin-top:9px;
  padding:11px 13px;
  overflow:hidden;
  border:1px solid rgba(199,53,53,.34);
  border-radius:11px;
  background:linear-gradient(90deg,rgba(199,53,53,.13),rgba(217,164,65,.06));
}

.bolita-stats-last-hit > span:first-child{
  color:rgba(255,255,255,.7);
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bolita-stats-last-hit strong{
  grid-row:1 / 3;
  grid-column:2;
  color:var(--evbc-gold-bright);
  font-size:32px;
  line-height:1;
}

.bolita-stats-last-hit p{
  margin:0;
  color:rgba(255,255,255,.58);
  font-size:10px;
}

.bolita-stats-last-hit-legacy{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
}

.bolita-stats--dashboard .bolita-stats-section{
  margin-top:28px;
}

.bolita-stats-section-heading{
  align-items:flex-end;
  margin-bottom:14px;
}

.bolita-stats-legend{
  color:rgba(255,255,255,.45);
  font-size:10px;
  white-space:nowrap;
}

.bolita-stats-legend i{
  display:inline-block;
  width:7px;
  height:7px;
  margin:0 4px 0 9px;
  border-radius:50%;
  background:var(--evbc-red-bright);
}

.bolita-stats-legend i + i{background:var(--evbc-gold)}

.bolita-stats--dashboard .bolita-stats-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:0;
}

.bolita-stats--dashboard .bolita-stats-card{
  position:relative;
  min-width:0;
  padding:17px;
  overflow:hidden;
  border-color:rgba(255,255,255,.09);
  border-radius:15px;
  background:linear-gradient(145deg,#1a1d22,#131519);
  box-shadow:0 10px 22px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.025);
}

.bolita-stats--dashboard .bolita-stats-card::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  left:0;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--evbc-gold),transparent);
  opacity:.55;
}

.bolita-stats--dashboard .bolita-stats-card--positive::before{background:linear-gradient(90deg,transparent,#4bd69b,transparent)}
.bolita-stats--dashboard .bolita-stats-card--negative::before{background:linear-gradient(90deg,transparent,var(--evbc-red-bright),transparent)}
.bolita-stats--dashboard .bolita-stats-card--best{border-color:rgba(217,164,65,.29)}

.bolita-stats--dashboard .bolita-stats-card h3{
  margin:5px 0 0;
  color:#fff;
  font-size:15px;
}

.bolita-stats--dashboard .bolita-stats-best{
  margin:0;
  border:1px solid rgba(75,214,155,.22);
  background:rgba(75,214,155,.10);
  color:#73e2b1;
  font-size:8px;
}

.bolita-stats--dashboard .bolita-stats-rate{
  margin:0;
  color:var(--evbc-gold-bright);
  font-size:28px;
  text-align:right;
  white-space:nowrap;
}

.bolita-stats-observed{
  display:grid;
  grid-template-columns:1fr;
  gap:5px;
  margin:15px 0 13px;
}

.bolita-stats-observed > div:not([class]){
  display:flex;
  justify-content:space-between;
  color:rgba(255,255,255,.52);
  font-size:9px;
}

.bolita-stats-observed > div:not([class]) strong{
  color:rgba(255,255,255,.78);
}

.bolita-stats-observed-track{
  height:6px;
  margin-bottom:3px;
  overflow:hidden;
  border-radius:99px;
  background:rgba(255,255,255,.07);
}

.bolita-stats-observed-track i{
  display:block;
  min-width:2px;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#7e2026,var(--evbc-red-bright));
}

.bolita-stats-observed-track--expected i{
  background:linear-gradient(90deg,#816322,var(--evbc-gold-bright));
}

.bolita-stats-card-status{
  align-items:center;
}

.bolita-stats--dashboard .bolita-stats-evidence{
  margin:0;
  max-width:68%;
  font-size:8px;
  line-height:1.3;
}

.bolita-stats-quality{
  color:rgba(255,255,255,.55);
  font-size:9px;
  font-weight:700;
  white-space:nowrap;
}

.bolita-stats--dashboard .bolita-stats-confidence{
  margin:10px 0 11px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:rgba(255,255,255,.48);
  font-size:9px;
}

.bolita-stats--dashboard .bolita-stats-card dl{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 13px;
}

.bolita-stats--dashboard .bolita-stats-card dl div{
  display:block;
  min-width:0;
  padding:7px 0;
  border-top:0;
  border-bottom:1px solid rgba(255,255,255,.055);
}

.bolita-stats--dashboard .bolita-stats-card dt{
  margin-bottom:2px;
  color:rgba(255,255,255,.43);
  font-size:9px;
}

.bolita-stats--dashboard .bolita-stats-card dd{
  overflow-wrap:anywhere;
  color:rgba(255,255,255,.88);
  font-size:11px;
}

.bolita-stats--dashboard .bolita-stats-trend{
  margin-top:12px;
  padding-top:7px;
  border-top:0;
}

.bolita-stats--dashboard .bolita-stats-trend-row{
  grid-template-columns:65px 1fr 40px;
  gap:6px;
  margin-top:6px;
  font-size:9px;
}

.bolita-stats--dashboard .bolita-stats-trend-track{
  height:5px;
  background:rgba(255,255,255,.07);
}

.bolita-stats--dashboard .bolita-stats-trend-track i{
  min-width:1px;
  background:linear-gradient(90deg,var(--evbc-red),var(--evbc-gold-bright));
}

.bolita-stats--dashboard .bolita-stats-note{
  margin:18px 0 0;
  padding:13px 15px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:11px;
  background:rgba(255,255,255,.025);
  color:rgba(255,255,255,.55);
  line-height:1.55;
}

@media (max-width:1080px){
  .bolita-stats--dashboard .bolita-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:780px){
  .bolita-stats--dashboard{padding:19px}
  .bolita-stats-header{align-items:stretch;flex-direction:column;gap:16px}
  .bolita-stats-review{flex-basis:auto}
  .bolita-stats-overview{grid-template-columns:1fr}
  .bolita-stats--dashboard .bolita-stats-grid{grid-template-columns:1fr}
  .bolita-stats-section-heading{align-items:flex-start;flex-direction:column}
}

@media (max-width:480px){
  .bolita-stats--dashboard{padding:14px;border-radius:16px}
  .bolita-stats-panel{padding:15px}
  .bolita-stats-panel-heading{align-items:flex-start;flex-direction:column}
  .bolita-stats-rank-row{grid-template-columns:45px minmax(70px,1fr) 54px;gap:8px}
  .bolita-stats-kpis{grid-template-columns:1fr 1fr}
  .bolita-stats--dashboard .bolita-stats-card dl{grid-template-columns:1fr 1fr}
  .bolita-stats-legend{white-space:normal}
}

/* Aciertos verificados */
.bolita-hits{
  --evbc-hit-gold:#ffd66b;
  --evbc-hit-red:#ef4444;
  margin:24px 0;
  padding:26px;
  border:1px solid rgba(217,164,65,.22);
  border-radius:22px;
  background:
    radial-gradient(circle at 100% 0,rgba(199,53,53,.09),transparent 34%),
    linear-gradient(180deg,#101216,#0c0e11);
  color:#fff;
  box-shadow:0 18px 45px rgba(0,0,0,.24);
}

.bolita-hits--embedded{
  margin-top:18px;
}

.bolita-hits-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:17px;
}

.bolita-hits-eyebrow{
  color:var(--evbc-hit-gold);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.bolita-hits h2,
.bolita-hits h3{
  margin:4px 0 5px;
  color:#fff;
  line-height:1.15;
}

.bolita-hits h2{font-size:clamp(24px,3vw,34px)}
.bolita-hits h3{font-size:22px}

.bolita-hits-header p{
  margin:0;
  color:rgba(255,255,255,.6);
  font-size:12px;
}

.bolita-hits-count{
  flex:0 0 auto;
  padding:5px 9px;
  border:1px solid rgba(217,164,65,.20);
  border-radius:99px;
  background:rgba(217,164,65,.09);
  color:var(--evbc-hit-gold);
  font-size:10px;
  font-weight:700;
}

.bolita-hits-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.bolita-hit-card{
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.09);
  border-radius:15px;
  background:linear-gradient(145deg,#1a1d22,#131519);
}

.bolita-hit-result{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:3px 14px;
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.07);
  background:linear-gradient(90deg,rgba(199,53,53,.10),rgba(217,164,65,.05));
}

.bolita-hit-result > span{
  color:rgba(255,255,255,.55);
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.bolita-hit-result strong{
  grid-column:2;
  grid-row:1 / 3;
  color:var(--evbc-hit-gold);
  font-size:31px;
  line-height:1;
}

.bolita-hit-result time{
  color:rgba(255,255,255,.48);
  font-size:10px;
}

.bolita-hit-methods{
  padding:5px 15px;
}

.bolita-hit-method{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.055);
}

.bolita-hit-method:last-child{border-bottom:0}

.bolita-hit-method > div{
  min-width:0;
}

.bolita-hit-method strong,
.bolita-hit-method span{
  display:block;
}

.bolita-hit-method strong{
  color:rgba(255,255,255,.92);
  font-size:11px;
}

.bolita-hit-method span{
  margin-top:2px;
  color:rgba(255,255,255,.48);
  font-size:9px;
}

.bolita-hit-method small{
  flex:0 0 auto;
  padding:4px 7px;
  border-radius:99px;
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.55);
  font-size:8px;
}

.bolita-hit-method--predictor strong{color:var(--evbc-hit-gold)}
.bolita-hit-method--predictor small{
  border:1px solid rgba(239,68,68,.23);
  background:rgba(239,68,68,.08);
}

.bolita-hit-card footer{
  padding:9px 15px;
  border-top:1px solid rgba(255,255,255,.055);
  color:rgba(255,255,255,.35);
  font-size:8px;
  text-align:right;
}

.bolita-hits--empty{
  color:rgba(255,255,255,.7);
}

/* Cinta móvil del último resultado */
.bolita-cinta{
  margin:12px 0 18px !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:14px !important;
  background:#12151b !important;
  box-shadow:0 12px 30px rgba(0,0,0,.45) !important;
}

.bolita-cinta__link{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:12px 14px !important;
  color:#fff !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  text-decoration:none !important;
}

.bolita-cinta__link:hover,
.bolita-cinta__link:focus-visible{
  background:rgba(255,255,255,.04) !important;
}

.bolita-cinta__link:focus-visible{
  outline:2px solid #ffd43b;
  outline-offset:-2px;
}

.bolita-cinta__dot{
  width:10px !important;
  height:10px !important;
  flex:0 0 auto !important;
  border-radius:999px !important;
  background:#ff2a2a !important;
  box-shadow:0 0 0 6px rgba(255,42,42,.18) !important;
  animation:bolitaPulse 1.2s infinite !important;
}

@keyframes bolitaPulse{
  0%,100%{transform:scale(1);opacity:1}
  50%{transform:scale(1.15);opacity:.75}
}

.bolita-cinta__text{
  color:#fff !important;
  font-weight:900 !important;
  letter-spacing:.2px !important;
  white-space:nowrap !important;
  opacity:.92 !important;
}

.bolita-cinta__strong{
  flex:0 0 auto !important;
  padding:6px 10px !important;
  border:1px solid rgba(255,212,59,.25) !important;
  border-radius:12px !important;
  background:rgba(255,212,59,.14) !important;
  color:#ffd43b !important;
  font-size:16px !important;
  font-weight:900 !important;
  letter-spacing:1px !important;
}

.bolita-cinta__meta{
  overflow:hidden !important;
  color:rgba(255,255,255,.8) !important;
  font-weight:700 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

.bolita-cinta__cta{
  flex:0 0 auto !important;
  margin-left:auto !important;
  padding:8px 10px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:12px !important;
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  font-weight:900 !important;
}

@media (min-width:768px){
  .bolita-cinta{display:none !important}
}

@media (max-width:420px){
  .bolita-cinta__cta{display:none !important}
}

@media (max-width:360px){
  .bolita-cinta__meta{display:none !important}
}

@media (prefers-reduced-motion:reduce){
  .bolita-cinta__dot{animation:none !important}
}

/* Resultados y cuenta regresiva: [bolita_tiradas] */
.bolita-widget{
  --bolita-gold:#ffd43b;
  --bolita-red:#ef3535;
  margin:24px 0;
  padding:24px;
  overflow:hidden;
  border:1px solid rgba(255,212,59,.16);
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0,rgba(239,53,53,.09),transparent 31%),
    linear-gradient(180deg,#11141a,#0d1015);
  color:#fff;
  box-shadow:0 18px 48px rgba(0,0,0,.28);
  font-variant-numeric:tabular-nums;
}

.bolita-widget .bolita-title{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(24px,3vw,34px);
  line-height:1.1;
}

.bolita-countdown{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
  padding:14px 16px;
  border:1px solid rgba(255,212,59,.18);
  border-radius:14px;
  background:linear-gradient(90deg,rgba(255,212,59,.07),rgba(239,53,53,.07));
}

.bolita-countdown-left{
  display:flex;
  align-items:baseline;
  gap:8px;
  min-width:0;
}

.bolita-countdown-kicker{
  color:rgba(255,255,255,.56);
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.bolita-countdown-which{
  color:var(--bolita-gold);
  font-size:15px;
}

.bolita-countdown-note{
  color:rgba(255,255,255,.43);
  font-size:10px;
}

.bolita-countdown-time{
  flex:0 0 auto;
  color:var(--bolita-gold);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  font-size:clamp(22px,4vw,34px);
  font-weight:900;
  letter-spacing:.04em;
  line-height:1;
}

.bolita-featured{
  margin-bottom:14px;
}

.bolita-featured-card{
  padding:20px;
  border:1px solid rgba(255,212,59,.24);
  border-radius:17px;
  background:
    radial-gradient(circle at 90% 20%,rgba(255,212,59,.11),transparent 27%),
    linear-gradient(145deg,#1b1f28,#151820);
  box-shadow:0 12px 26px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.025);
}

.bolita-featured-top,
.bolita-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.bolita-featured-badge{
  padding:5px 9px;
  border-radius:99px;
  background:rgba(239,53,53,.13);
  color:#ff8c8c;
  font-size:10px;
  font-weight:800;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.bolita-featured-time,
.bolita-top span{
  color:rgba(255,255,255,.52);
  font-size:11px;
}

.bolita-featured-label{
  margin-top:16px;
  color:rgba(255,255,255,.45);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-align:center;
  text-transform:uppercase;
}

.bolita-featured-number{
  margin:3px 0 16px;
  color:var(--bolita-gold);
  font-size:clamp(54px,9vw,82px);
  font-weight:950;
  letter-spacing:.05em;
  line-height:1;
  text-align:center;
  text-shadow:0 8px 30px rgba(255,212,59,.12);
}

.bolita-featured-mini{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}

.bolita-featured-mini span{
  padding:9px 8px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:rgba(0,0,0,.16);
  color:rgba(255,255,255,.48);
  font-size:9px;
  text-align:center;
}

.bolita-featured-mini b{
  display:block;
  margin-top:3px;
  color:#fff;
  font-size:13px;
}

.bolita-featured-date,
.bolita-date{
  display:block;
  margin-top:12px;
  color:rgba(255,255,255,.4);
  font-size:9px;
  text-align:right;
}

.bolita-widget .bolita-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.bolita-widget .bolita-card{
  min-width:0;
  padding:15px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:linear-gradient(145deg,#191d25,#13161c);
}

.bolita-top strong{
  color:rgba(255,255,255,.82);
  font-size:11px;
}

.bolita-fijo{
  margin:13px 0;
  padding:10px;
  border:1px solid rgba(255,212,59,.13);
  border-radius:11px;
  background:rgba(255,212,59,.045);
  text-align:center;
}

.bolita-fijo .lbl{
  display:block;
  color:rgba(255,255,255,.42);
  font-size:8px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.bolita-fijo .val{
  display:block;
  margin-top:2px;
  color:var(--bolita-gold);
  font-size:31px;
  letter-spacing:.04em;
  line-height:1;
}

.bolita-mini{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px 10px;
}

.bolita-mini > div{
  display:flex;
  justify-content:space-between;
  gap:7px;
  padding-bottom:5px;
  border-bottom:1px solid rgba(255,255,255,.05);
  font-size:9px;
}

.bolita-mini .lbl{color:rgba(255,255,255,.42)}
.bolita-mini b{color:rgba(255,255,255,.85)}

.bolita-error{
  margin:16px 0;
  padding:12px 14px;
  border:1px solid rgba(239,68,68,.2);
  border-radius:12px;
  background:rgba(239,68,68,.08);
  color:#fca5a5;
}

@media (max-width:900px){
  .bolita-widget .bolita-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bolita-featured-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:620px){
  .bolita-widget{padding:14px;border-radius:16px}
  .bolita-countdown{align-items:flex-start;flex-direction:column;gap:9px}
  .bolita-countdown-left{flex-wrap:wrap}
  .bolita-widget .bolita-grid{grid-template-columns:1fr}
  .bolita-featured-card{padding:16px}
  .bolita-featured-mini{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:780px){
  .bolita-hits{padding:18px}
  .bolita-hits-grid{grid-template-columns:1fr}
}

@media (max-width:480px){
  .bolita-hits{padding:14px;border-radius:16px}
  .bolita-hits-header{align-items:flex-start;flex-direction:column}
}
