/* =====================================================================
   BetV1 · Deportes (sportsbook): inicio, en vivo, evento, mis apuestas, cupón
   Prefijo .sp-  ·  Usa tokens y componentes de betv1.css
   ===================================================================== */

/* ---------- Layout con cupón lateral ---------- */
.sp-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
.sp-main{display:flex;flex-direction:column;gap:30px;min-width:0}

/* ---------- Escudos (generados con CSS, sin imágenes) ---------- */
.crest{--c1:#7c5cff;--c2:#2be0ff;--tx:#fff;position:relative;width:30px;height:34px;flex:none;display:grid;place-items:center;padding-bottom:2px;
  font:800 9px/1 var(--font-ui);letter-spacing:.03em;color:var(--tx);text-shadow:0 1px 2px rgba(0,0,0,.45);
  background:linear-gradient(135deg,var(--c1) 0 56%,var(--c2) 56% 100%);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36'><path d='M16 1 30 5.5V17c0 9-6.5 15.5-14 18C8.5 32.5 2 26 2 17V5.5z'/></svg>") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 36'><path d='M16 1 30 5.5V17c0 9-6.5 15.5-14 18C8.5 32.5 2 26 2 17V5.5z'/></svg>") center/100% 100% no-repeat}
.crest::after{content:"";position:absolute;inset:0;background:radial-gradient(120% 60% at 30% 0%,rgba(255,255,255,.45),transparent 55%),linear-gradient(0deg,rgba(0,0,0,.18),transparent 45%)}
.crest.dark{--tx:#141414;text-shadow:none}
.crest.round{border-radius:50%;-webkit-mask:none;mask:none;width:30px;height:30px;padding:0;background:linear-gradient(140deg,var(--c1),var(--c2))}
.crest.md{width:44px;height:50px;font-size:12px}
.crest.md.round{height:44px}
.crest.lg{width:76px;height:86px;font-size:20px;letter-spacing:.02em}
.crest.lg.round{height:76px}
.crest.lg::before{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 3px rgba(255,255,255,.18)}

/* ---------- Botón de cuota ---------- */
.odd{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;height:50px;padding:0 8px;border-radius:14px;
  background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);transition:background .2s,box-shadow .25s,transform .2s}
.odd small{font-size:10.5px;font-weight:600;color:var(--dim);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.1}
.odd b{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.1;transition:color .3s}
.odd:hover{background:rgba(255,255,255,.1)}
.odd:active{transform:scale(.96)}
.odd.is-sel{background:linear-gradient(140deg,rgba(124,92,255,.5),rgba(43,224,255,.2));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 0 0 1.5px rgba(160,175,255,.8),0 10px 22px -12px rgba(124,92,255,1)}
.odd.is-sel small{color:#dcd5ff}
.odd.up b{color:var(--ok-text)}
.odd.down b{color:var(--err-text)}
.odd.up::after,.odd.down::after{content:"";position:absolute;top:7px;right:8px;width:0;height:0;border:4px solid transparent}
.odd.up::after{border-bottom:5px solid var(--mint);border-top:0}
.odd.down::after{border-top:5px solid var(--danger);border-bottom:0}
.odd.flash-up{animation:spFlashUp 1.6s ease}
.odd.flash-down{animation:spFlashDown 1.6s ease}
@keyframes spFlashUp{0%,40%{box-shadow:inset 0 0 0 1.5px rgba(61,245,167,.9),0 0 22px -6px rgba(61,245,167,.8);background:rgba(61,245,167,.12)}}
@keyframes spFlashDown{0%,40%{box-shadow:inset 0 0 0 1.5px rgba(255,90,122,.9),0 0 22px -6px rgba(255,90,122,.8);background:rgba(255,90,122,.12)}}
.odd.is-locked{pointer-events:none;opacity:.5}
.odd.is-locked b{font-size:0}
.odd.is-locked b::before{content:"";display:block;width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='4.5' y='10.5' width='15' height='10' rx='2.5'/><path d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/></svg>") center/contain no-repeat;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='4.5' y='10.5' width='15' height='10' rx='2.5'/><path d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/></svg>") center/contain no-repeat}
.odd.wide{flex-direction:row;justify-content:space-between;padding:0 14px;height:46px}
.odd.wide small{font-size:12.5px;color:var(--muted)}
.odd.boost b{color:#ffd98a}
.odd .was{font-size:11px;color:var(--dim);text-decoration:line-through;font-weight:600}

/* ---------- Hero deportes ---------- */
.sp-hero{border-radius:var(--r-xl);overflow:hidden;padding:30px 34px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:24px;align-items:center;min-height:300px}
.sp-hero::after{background:radial-gradient(70% 90% at 82% 30%,rgba(255,255,255,.08),transparent 60%),radial-gradient(50% 80% at 70% 110%,rgba(43,224,255,.18),transparent 60%),radial-gradient(40% 60% at 95% 0%,rgba(165,0,68,.35),transparent 70%),radial-gradient(40% 70% at 50% 0%,rgba(201,165,74,.22),transparent 70%)!important}
.sp-lights{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.sp-lights i{position:absolute;top:-30%;width:2px;height:120%;background:linear-gradient(180deg,rgba(255,255,255,.35),transparent 70%);filter:blur(1px);transform-origin:top;opacity:.5}
.sp-lights i:nth-child(1){left:58%;transform:rotate(18deg)}
.sp-lights i:nth-child(2){left:72%;transform:rotate(6deg)}
.sp-lights i:nth-child(3){left:86%;transform:rotate(-8deg)}
.sp-lights i:nth-child(4){left:98%;transform:rotate(-20deg)}
.sp-hero h1{font-family:var(--font-display);font-weight:800;font-size:clamp(26px,2.4vw,38px);line-height:1.03;letter-spacing:-.035em;text-wrap:balance}
.sp-hero p{color:var(--muted);max-width:44ch}
.sp-hero .copy{display:flex;flex-direction:column;gap:14px;min-width:0}
.sp-duel{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;text-align:center}
.sp-duel .tm{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}
.sp-duel .tm b{font-family:var(--font-display);font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sp-duel .tm small{color:var(--dim);font-size:12px}
.sp-duel .vs{display:flex;flex-direction:column;align-items:center;gap:6px}
.sp-duel .vs b{font-family:var(--font-display);font-size:13px;letter-spacing:.2em;color:var(--dim)}
.sp-duel .vs .score{font-family:var(--font-display);font-size:44px;font-weight:800;letter-spacing:-.02em;color:var(--text);line-height:1;font-variant-numeric:tabular-nums}
.sp-boost{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:linear-gradient(120deg,rgba(255,201,92,.16),rgba(255,95,207,.08));box-shadow:inset 0 0 0 1px rgba(255,201,92,.22)}
.sp-boost .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sp-boost .tx b{font-size:13.5px}
.sp-boost .tx small{color:var(--muted);font-size:12px}
.sp-boost .odd{min-width:92px}
.sp-art{display:flex;flex-direction:column;gap:16px;min-width:0}

/* ---------- Deportes (tiles) ---------- */
.sp-sports{display:flex;gap:10px;overflow-x:auto;padding:2px;margin:-2px}
.sp-tile{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:98px;height:92px;border-radius:20px;color:var(--muted);font-weight:600;font-size:12.5px;
  background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transition:background .2s,color .2s,transform .35s var(--ease-liquid)}
.sp-tile:hover{color:var(--text);background:rgba(255,255,255,.08);transform:translateY(-2px)}
.sp-tile .ic{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:#d6ceff}
.sp-tile small{font-size:11px;color:var(--dim);font-weight:600}
.sp-tile[aria-current="page"]{color:var(--text);background:linear-gradient(150deg,rgba(124,92,255,.32),rgba(43,224,255,.1));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.08),0 10px 24px -12px rgba(124,92,255,.9)}
.sp-tile[aria-current="page"] .ic{background:var(--grad);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.sp-tile .live{position:absolute}

/* ---------- Tarjeta destacada ---------- */
.sp-track{grid-auto-columns:minmax(300px,340px)}
.sp-fc{scroll-snap-align:start;border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:14px;min-width:0}
.sp-fc-h{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--dim)}
.sp-fc-h .lg{display:inline-flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-fc-m{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;text-align:center}
.sp-fc-m .tm{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.sp-fc-m .tm b{font-size:13.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.sp-fc-m .mid{display:flex;flex-direction:column;align-items:center;gap:2px}
.sp-fc-m .mid b{font-size:15px;font-weight:700}
.sp-fc-m .mid small{font-size:11px;color:var(--dim)}
.sp-fc-m .mid .sc{font-family:var(--font-display);font-size:28px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.sp-odds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sp-odds.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-fc-f{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--dim)}
.sp-fc-f a{color:#b9c6ff;font-weight:600}

/* ---------- Etiquetas de estado ---------- */
.sp-live{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.06em;color:#ff9fb3;text-transform:uppercase}
.sp-min{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 8px;border-radius:999px;font-size:11.5px;font-weight:800;color:#fff;background:rgba(255,90,122,.2);box-shadow:inset 0 0 0 1px rgba(255,90,122,.35);font-variant-numeric:tabular-nums;white-space:nowrap}
.sp-time{font-size:12px;color:var(--muted);font-weight:600;white-space:nowrap}
.sp-boost-tag{font-size:10px;font-weight:800;letter-spacing:.08em;padding:3px 8px;border-radius:999px;background:var(--grad-gold);color:#2a1a00}

/* ---------- Lista de partidos por liga ---------- */
.sp-league{border-radius:var(--r-lg);padding:14px;display:flex;flex-direction:column;gap:8px}
.sp-lg-h{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,minmax(64px,84px)) 46px;gap:8px;align-items:center;padding:2px 4px 6px}
.sp-league.c2 .sp-lg-h,.sp-row.c2{grid-template-columns:minmax(0,1fr) repeat(2,minmax(64px,84px)) 46px}
.sp-lg-h .nm{display:flex;align-items:center;gap:10px;min-width:0}
.sp-lg-h .nm .ic{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.07);color:#d6ceff;flex:none}
.sp-lg-h .nm b{font-size:14.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-lg-h .nm small{font-size:11.5px;color:var(--dim);display:block}
.sp-lg-h .col{text-align:center;font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--dim)}
.sp-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,minmax(64px,84px)) 46px;gap:8px;align-items:center;padding:10px 10px 10px 12px;border-radius:18px;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);transition:background .2s}
.sp-row:hover{background:rgba(255,255,255,.05)}
.sp-ev{display:flex;flex-direction:column;gap:6px;min-width:0}
.sp-ev .meta{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--dim);min-width:0}
.sp-ev .meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-team{display:flex;align-items:center;gap:9px;min-width:0;font-size:13.5px;font-weight:600}
.sp-team .crest{width:22px;height:25px;font-size:7px}
.sp-team .crest.round{height:22px}
.sp-team .n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-team .sc{font-weight:800;font-variant-numeric:tabular-nums;color:var(--text);min-width:18px;text-align:right}
.sp-team.lead .n{color:var(--text)}
.sp-team.trail .n{color:var(--muted)}
.sp-more{height:50px;border-radius:14px;display:grid;place-items:center;font-size:11.5px;font-weight:700;color:#b9c6ff;background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);transition:background .2s}
.sp-more:hover{background:rgba(255,255,255,.08)}
.sp-sec-anchor{scroll-margin-top:calc(var(--hdr-h) + 48px)}

/* ---------- En vivo (tarjetas) ---------- */
.sp-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sp-lc{border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:14px;min-width:0}
.sp-lc-h{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--dim);min-width:0}
.sp-lc-h .lg{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-board{display:flex;flex-direction:column;gap:8px}
.sp-board .sp-team{font-size:15px}
.sp-board .sp-team .crest{width:28px;height:32px;font-size:8.5px}
.sp-board .sp-team .crest.round{height:28px}
.sp-board .sp-team .sc{font-size:18px;min-width:26px}
.sp-board .sets{display:flex;gap:4px}
.sp-board .sets i{font-style:normal;min-width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:12px;font-weight:700;background:rgba(255,255,255,.06);color:var(--muted);font-variant-numeric:tabular-nums}
.sp-board .sets i.cur{background:rgba(255,201,92,.16);color:#ffe2a0}
.sp-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sp-mini > div{border-radius:14px;padding:8px 10px;background:var(--well);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);display:flex;flex-direction:column;gap:6px;min-width:0}
.sp-mini small{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.sp-mini .v{display:flex;justify-content:space-between;font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
.sp-dual{display:flex;height:5px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.08)}
.sp-dual i{display:block;height:100%}
.sp-dual i:first-child{background:linear-gradient(90deg,#7c5cff,#3d6bff)}
.sp-dual i:last-child{background:linear-gradient(90deg,#2be0ff,#3df5a7);margin-left:auto}
.sp-mom{display:flex;flex-direction:column;gap:6px}
.sp-mom .lbl{display:flex;justify-content:space-between;font-size:11px;color:var(--dim)}
.sp-mom-bar{position:relative;height:30px;border-radius:10px;overflow:hidden;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);display:flex;align-items:center;gap:2px;padding:0 4px}
.sp-mom-bar i{flex:1;border-radius:2px;min-height:2px;transition:height .6s var(--ease-liquid)}
.sp-mom-bar i.h{background:linear-gradient(0deg,rgba(124,92,255,.35),#8b6cff);align-self:flex-end;margin-bottom:15px}
.sp-mom-bar i.a{background:linear-gradient(180deg,rgba(43,224,255,.35),#2be0ff);align-self:flex-start;margin-top:15px}
.sp-mom-bar::after{content:"";position:absolute;left:4px;right:4px;top:50%;height:1px;background:rgba(255,255,255,.12)}
.sp-lc .sp-odds-l{display:flex;flex-direction:column;gap:6px}
.sp-lc .sp-odds-l > small{font-size:11px;color:var(--dim);font-weight:600}

/* ---------- Combinadas del día ---------- */
.sp-combos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sp-combo{border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0}
.sp-combo-h{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sp-combo-h b{font-family:var(--font-display);font-size:15px;font-weight:700}
.sp-legs{display:flex;flex-direction:column;gap:8px}
.sp-leg{display:flex;align-items:center;gap:10px;font-size:13px;min-width:0}
.sp-leg .crest{width:20px;height:23px;font-size:6.5px}
.sp-leg .crest.round{height:20px}
.sp-leg .tx{flex:1;min-width:0;display:flex;flex-direction:column}
.sp-leg .tx b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-leg .tx small{font-size:11.5px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-leg .o{font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted)}
.sp-combo-f{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid var(--line)}
.sp-combo-f .tot{display:flex;flex-direction:column}
.sp-combo-f .tot small{font-size:11px;color:var(--dim)}
.sp-combo-f .tot b{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}

/* ---------- Cupón ---------- */
.sp-slip{position:sticky;top:calc(var(--hdr-h) + var(--edge) * 2 + 4px);border-radius:28px;display:flex;flex-direction:column;max-height:calc(100vh - var(--hdr-h) - var(--edge) * 3 - 8px);z-index:3}
.sp-slip-h{display:flex;align-items:center;gap:10px;padding:18px 18px 12px}
.sp-slip-h h2{font-family:var(--font-display);font-size:18px;font-weight:700;display:flex;align-items:center;gap:8px;flex:1}
.sp-slip-h .cnt{min-width:22px;height:22px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;font-size:12px;font-weight:800;background:var(--grad);color:#fff}
.sp-slip-x{display:none}
.sp-slip .tabs{margin:0 18px}
.sp-slip-b{flex:1;min-height:0;overflow-y:auto;padding:14px 18px 18px;display:flex;flex-direction:column;gap:12px}
.sp-sels{display:flex;flex-direction:column;gap:8px}
.sp-sel{position:relative;border-radius:16px;padding:12px 12px 12px 14px;background:rgba(255,255,255,.045);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:start}
.sp-sel .pk{font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:6px;min-width:0}
.sp-sel .pk span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-sel .mkt{font-size:12px;color:var(--muted);grid-column:1}
.sp-sel .ev{font-size:11.5px;color:var(--dim);grid-column:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-sel .od{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.sp-sel .od b{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.sp-sel .od s{font-size:11px;color:var(--dim)}
.sp-sel .rm{grid-column:2;justify-self:end;width:26px;height:26px;border-radius:9px;display:grid;place-items:center;color:var(--dim)}
.sp-sel .rm:hover{background:rgba(255,255,255,.08);color:var(--text)}
.sp-sel .rm .i{width:14px;height:14px}
.sp-sel.changed{box-shadow:inset 0 0 0 1.5px rgba(255,201,92,.6);background:rgba(255,201,92,.07)}
.sp-sel.changed.up .od b{color:var(--ok-text)}
.sp-sel.changed.down .od b{color:var(--err-text)}
.sp-sel .live{width:7px;height:7px}
.sp-sel .stake{grid-column:1/-1;margin-top:6px}
.sp-sel .stake .control{height:40px;border-radius:12px}
.sp-stakebox{display:flex;flex-direction:column;gap:12px}
.sp-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.sp-quick .amt{height:36px;font-size:12.5px;border-radius:12px}
.sp-slip .summary .total b{font-size:18px}
.sp-slip .empty{padding:26px 10px}
.sp-slip .empty .ico{width:56px;height:56px;border-radius:18px}
.sp-ticket-id{display:flex;align-items:center;gap:8px;justify-content:center;font-size:12.5px;color:var(--muted)}
.sp-ticket-id b{color:var(--text);font-variant-numeric:tabular-nums}
.sp-fab{position:fixed;z-index:47;display:none;align-items:center;gap:10px;height:50px;padding:0 8px 0 16px;border-radius:999px;font-weight:700;font-size:14px;color:#fff;
  right:calc(var(--edge) + 6px + env(safe-area-inset-right,0px));bottom:calc(76px + env(safe-area-inset-bottom,0px));
  background:var(--grad);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 16px 34px -12px rgba(109,77,255,1),0 0 0 1px rgba(255,255,255,.08)}
.sp-fab .n{min-width:24px;height:24px;padding:0 7px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.95);color:#2b1d86;font-size:12px;font-weight:800}
.sp-fab .od{height:34px;padding:0 12px;border-radius:999px;display:grid;place-items:center;background:rgba(5,6,15,.28);font-variant-numeric:tabular-nums}
.sp-fab.bump{animation:spBump .5s var(--ease-liquid)}
@keyframes spBump{40%{transform:scale(1.08)}}
.sp-slip-scrim{position:fixed;inset:0;z-index:93;background:rgba(3,4,10,.55);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .3s}
.sp-slip-scrim.show{opacity:1;pointer-events:auto}

/* ---------- Evento ---------- */
.sp-ev-hero{border-radius:var(--r-xl);overflow:hidden;padding:24px 28px 26px;display:flex;flex-direction:column;gap:20px}
.sp-ev-hero::after{background:radial-gradient(60% 90% at 15% 0%,rgba(201,165,74,.22),transparent 60%),radial-gradient(60% 90% at 85% 0%,rgba(165,0,68,.32),transparent 60%),radial-gradient(70% 70% at 50% 120%,rgba(43,224,255,.12),transparent 70%)!important}
.sp-ev-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12.5px;color:var(--muted)}
.sp-ev-top .spacer{flex:1}
.sp-score{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.sp-score .tm{display:flex;align-items:center;gap:16px;min-width:0}
.sp-score .tm.away{flex-direction:row-reverse;text-align:right}
.sp-score .tm b{font-family:var(--font-display);font-size:clamp(17px,1.8vw,24px);font-weight:700;letter-spacing:-.02em}
.sp-score .tm small{display:block;color:var(--dim);font-size:12px;margin-top:2px}
.sp-score .res{display:flex;flex-direction:column;align-items:center;gap:6px}
.sp-score .res .n{font-family:var(--font-display);font-size:clamp(40px,4.4vw,60px);font-weight:800;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums;display:flex;gap:14px;align-items:center}
.sp-score .res .n i{font-style:normal;color:var(--dim);font-size:.6em}
.sp-score .res small{color:var(--dim);font-size:12px}
.sp-ev-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px}
.sp-pitch{border-radius:22px;overflow:hidden;position:relative;background:linear-gradient(90deg,#0d3b2a 0 10%,#0f4430 10% 20%,#0d3b2a 20% 30%,#0f4430 30% 40%,#0d3b2a 40% 50%,#0f4430 50% 60%,#0d3b2a 60% 70%,#0f4430 70% 80%,#0d3b2a 80% 90%,#0f4430 90%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),inset 0 0 60px rgba(0,0,0,.45);aspect-ratio:16/9}
.sp-pitch svg{position:absolute;inset:0;width:100%;height:100%}
.sp-pitch .ball{position:absolute;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;background:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.18),0 0 24px 6px rgba(255,255,255,.45);transition:left 1.6s cubic-bezier(.45,0,.2,1),top 1.6s cubic-bezier(.45,0,.2,1);left:62%;top:44%}
.sp-pitch .zone{position:absolute;top:0;bottom:0;width:34%;transition:left 1.4s ease,background 1s;background:linear-gradient(90deg,transparent,rgba(124,92,255,.32));left:66%}
.sp-pitch .zone.away{background:linear-gradient(270deg,transparent,rgba(43,224,255,.3))}
.sp-pitch .lbl{position:absolute;left:14px;bottom:12px;display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;font-size:12px;font-weight:700;background:rgba(5,6,15,.6);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.sp-pitch .top{position:absolute;right:12px;top:12px;font-size:11px;font-weight:700;color:rgba(255,255,255,.75);letter-spacing:.08em}
.sp-stats{display:flex;flex-direction:column;gap:12px}
.sp-stat .r{display:flex;justify-content:space-between;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;margin-bottom:6px}
.sp-stat .r span{color:var(--muted);font-weight:500;font-size:12px}
.sp-stat .sp-dual{height:6px}
.sp-tl{display:flex;flex-direction:column;gap:2px;position:relative}
.sp-tl-i{display:grid;grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr);align-items:center;gap:10px;font-size:13px;padding:6px 0}
.sp-tl-i .m{justify-self:center;width:40px;height:26px;border-radius:999px;display:grid;place-items:center;font-size:11.5px;font-weight:800;background:rgba(255,255,255,.07);font-variant-numeric:tabular-nums}
.sp-tl-i .h{text-align:right;display:flex;align-items:center;justify-content:flex-end;gap:8px}
.sp-tl-i .a{display:flex;align-items:center;gap:8px}
.sp-tl-i small{color:var(--dim)}
.sp-tl-i .ic{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;flex:none}
.sp-tl-i .ic .i{width:14px;height:14px}
.sp-tl-i .ic.goal{background:var(--ok-soft);color:var(--mint)}
.sp-tl-i .ic.yel{background:rgba(255,201,92,.15);color:var(--gold)}
.sp-tl-i .ic.red{background:var(--err-soft);color:var(--danger)}
.sp-tl-i .ic.sub{background:var(--info-soft);color:var(--cyan)}
.sp-tl-i.ht{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.sp-tl-i.ht .m{width:auto;padding:0 12px;color:var(--muted);white-space:nowrap}
.sp-mk-filters{display:flex;gap:8px;overflow-x:auto}
.sp-mk .acc-b{display:flex;flex-direction:column;gap:8px}
.sp-mk summary .n{font-size:11.5px;font-weight:600;color:var(--dim);margin-left:auto;margin-right:10px}
.sp-mk-g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sp-mk-g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sp-mk-row{display:grid;grid-template-columns:minmax(56px,.4fr) repeat(2,minmax(0,1fr));gap:8px;align-items:center}
.sp-mk-row > span{font-size:13px;font-weight:600;color:var(--muted)}
.sp-mk-h{display:grid;grid-template-columns:minmax(56px,.4fr) repeat(2,minmax(0,1fr));gap:8px;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--dim);text-align:center}
.sp-mk-h span:first-child{text-align:left}
.sp-builder{display:flex;flex-direction:column;gap:10px}
.sp-bb{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:18px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.sp-bb .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sp-bb .tx b{font-size:13.5px}
.sp-bb .tx small{font-size:12px;color:var(--dim)}
.sp-bb .odd{min-width:86px}
.sp-chips-bb{display:flex;flex-wrap:wrap;gap:8px}

/* ---------- Mis apuestas ---------- */
.page-bets .auth-scope{display:flex;flex-direction:column;gap:28px;min-width:0}
.tk-list{display:flex;flex-direction:column;gap:14px}
.tk{border-radius:24px;padding:18px;display:flex;flex-direction:column;gap:14px;min-width:0}
.tk-h{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tk-h .t{font-family:var(--font-display);font-size:16px;font-weight:700}
.tk-h .id{font-size:12px;color:var(--dim);font-variant-numeric:tabular-nums}
.tk-h .spacer{flex:1}
.tk-legs{display:flex;flex-direction:column;gap:6px}
.tk-leg{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:16px;background:rgba(255,255,255,.035);box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.tk-st{width:28px;height:28px;border-radius:10px;display:grid;place-items:center}
.tk-st .i{width:15px;height:15px}
.tk-st.won{background:var(--ok-soft);color:var(--mint)}
.tk-st.lost{background:var(--err-soft);color:var(--danger)}
.tk-st.pend{background:rgba(255,255,255,.07);color:var(--muted)}
.tk-st.live{background:rgba(255,90,122,.14);color:#ff9fb3}
.tk-st.void{background:rgba(255,255,255,.05);color:var(--dim)}
.tk-leg .tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.tk-leg .tx b{font-size:13.5px;font-weight:600}
.tk-leg .tx small{font-size:12px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tk-leg .o{font-weight:800;font-variant-numeric:tabular-nums}
.tk-f{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:center;padding-top:14px;border-top:1px solid var(--line)}
.tk-f > div{display:flex;flex-direction:column;gap:2px;min-width:0}
.tk-f small{font-size:11px;color:var(--dim);letter-spacing:.06em;text-transform:uppercase}
.tk-f b{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.tk-f .acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.tk.is-won{box-shadow:inset 0 0 0 1px rgba(61,245,167,.18),0 24px 60px -24px rgba(0,0,0,.7)}
.tk.is-lost{opacity:.86}
.tk-co{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:linear-gradient(120deg,rgba(61,245,167,.1),rgba(43,224,255,.06));box-shadow:inset 0 0 0 1px rgba(61,245,167,.2)}
.tk-co .tx{flex:1;min-width:0;font-size:12.5px;color:var(--muted)}
.tk-co .tx b{display:block;color:var(--text);font-size:14px}
.tk-co .bar{height:5px;margin-top:6px}

/* ---------- Responsive ---------- */
@media (max-width:1400px){ .sp-combos{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:1240px){
  .sp-layout{grid-template-columns:minmax(0,1fr)}
  .sp-slip-scrim{z-index:110}
  .sp-slip{position:fixed;z-index:111;top:calc(var(--edge) + env(safe-area-inset-top,0px));bottom:calc(var(--edge) + env(safe-area-inset-bottom,0px));right:calc(var(--edge) + env(safe-area-inset-right,0px));width:min(400px,calc(100% - 2 * var(--edge)));max-height:none;transform:translateX(calc(100% + 40px));transition:transform .55s var(--ease-liquid)}
  .sp-slip.open{transform:none}
  .sp-slip-x{display:inline-grid}
  .sp-fab{display:flex}
  .sp-fab[hidden]{display:none}
  .sp-ev-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:1100px){ .sp-live-grid{grid-template-columns:minmax(0,1fr)} }
@media (max-width:900px){
  .sp-hero{grid-template-columns:minmax(0,1fr);padding:24px}
  .sp-combos{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:767px){
  .sp-main{gap:24px}
  .sp-hero{padding:20px;gap:18px;border-radius:26px}
  .sp-duel .vs .score{font-size:34px}
  .crest.lg{width:60px;height:68px;font-size:16px}
  .sp-tile{width:84px;height:82px;font-size:12px;border-radius:18px}
  .sp-tile .ic{width:34px;height:34px}
  .sp-lg-h{grid-template-columns:minmax(0,1fr)}
  .sp-lg-h .col{display:none}
  .sp-league{padding:10px}
  .sp-row,.sp-row.c2{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sp-row.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sp-row .sp-ev{grid-column:1/-1}
  .sp-row .sp-more{display:none}
  .odd{height:46px}
  .sp-mini{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sp-slip{top:auto;left:0;right:0;bottom:0;width:100%;max-height:88dvh;border-radius:28px 28px 0 0;transform:translateY(105%)}
  .sp-slip.open{transform:none}
  .sp-fab{right:auto;left:50%;transform:translateX(-50%);bottom:calc(94px + env(safe-area-inset-bottom,0px));height:46px}
  .sp-fab.bump{animation:none}
  .sp-ev-hero{padding:18px;border-radius:26px}
  .sp-score{gap:10px}
  .sp-score .tm{flex-direction:column;gap:8px;text-align:center}
  .sp-score .tm.away{flex-direction:column}
  .sp-score .crest.lg{width:52px;height:59px;font-size:13px}
  .sp-mk-g3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sp-mk-row,.sp-mk-h{grid-template-columns:minmax(44px,.35fr) repeat(2,minmax(0,1fr))}
  .tk{padding:14px;border-radius:22px}
  .tk-f{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tk-f .acts{grid-column:1/-1;flex-direction:row;justify-content:stretch}
  .tk-f .acts .btn{flex:1}
  .tk-co{flex-wrap:wrap}
  .tk-co .tx{min-width:calc(100% - 60px)}
  .tk-co .btn{width:100%}
  .sp-score .tm.away{text-align:center}
  .sp-score .tm b{font-size:15px;line-height:1.15}
  .sp-boost{flex-wrap:wrap}
  .sp-boost .odd{flex:1}
}
