

/* v118 — Fallback real y ajustes globales; no se cambian rutas, Firebase ni pagos */
html body#ssRacingPage:has(#mainContainer>.ssw118-boot){background:#f4f5f8!important;background-image:none!important}
html body#ssRacingPage:has(#mainContainer>.ssw118-boot) #ssRacingHero{display:none!important}
html body#ssRacingPage #mainContainer:has(>.ssw118-boot){max-width:970px!important;background:#fff!important;border-radius:0 0 24px 24px!important;min-height:calc(100dvh - 92px)!important;padding:22px 26px 75px!important;box-shadow:none!important}
html body#ssRacingPage .ssw118-boot{padding:0!important;display:flex;flex-direction:column;gap:20px;color:#17212d;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;box-sizing:border-box}
html body#ssRacingPage .ssw118-boot *{box-sizing:border-box}
html body#ssRacingPage .ssw118-boot-location{display:flex;gap:12px;align-items:center;padding:4px 0 0}
html body#ssRacingPage .ssw118-boot-location>span:first-child{width:36px;height:36px;display:grid;place-items:center;font-size:28px;color:#161e2a}
html body#ssRacingPage .ssw118-boot-location>span:last-child{display:flex;flex-direction:column;gap:3px}
html body#ssRacingPage .ssw118-boot-location small{font-size:12px;color:#7b8696;font-weight:600}
html body#ssRacingPage .ssw118-boot-location strong{font-size:15px;font-weight:800}
html body#ssRacingPage .ssw118-boot-hero{display:flex!important;align-items:center;justify-content:space-between;background:#ffdb00!important;border:0;border-radius:22px;padding:28px 25px!important;color:#101317!important;box-shadow:none!important;min-height:136px!important;gap:10px}
html body#ssRacingPage .ssw118-boot-hero h1{font-size:clamp(24px,3vw,34px);line-height:1.12;letter-spacing:-.9px;font-weight:900;margin:0 0 7px;color:#101317!important}
html body#ssRacingPage .ssw118-boot-hero p{font-size:14px;color:#574800;margin:0}
html body#ssRacingPage .ssw118-shop-icon{font-size:63px;color:#cba900;line-height:1;opacity:.58;padding-right:12px}
html body#ssRacingPage .ssw118-boot-search{min-height:55px!important;display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #dae1ea;border-radius:15px;padding:6px 14px!important;box-shadow:0 4px 12px rgba(10,20,30,.04)}
html body#ssRacingPage .ssw118-boot-search>span:first-child{font-size:28px;color:#7b8796}
html body#ssRacingPage #ssw109Search{flex:1;width:100%;min-width:0;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;font-size:14px!important;color:#697586!important;padding:8px 0!important;font-weight:500!important}
html body#ssRacingPage .ssw118-search-wait{font-size:11px;white-space:nowrap;color:#667284;background:#f4f5f8;border-radius:999px;padding:6px 10px}
html body#ssRacingPage .ssw118-type-heading{font-weight:850;font-size:17px;margin-bottom:-6px}
html body#ssRacingPage .ssw118-type-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
html body#ssRacingPage .ssw118-type{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid #e6eaf0;border-radius:14px;min-width:0;min-height:64px;padding:11px 10px;color:#303b4b;font-size:13px;font-weight:750}
html body#ssRacingPage .ssw118-type-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:12px;background:#f4f5f8;color:#495b70;font-size:22px}
html body#ssRacingPage .ssw118-type:first-child{background:#fff9df;border-color:#f5e6ab;color:#171b23}
html body#ssRacingPage .ssw118-type:first-child .ssw118-type-icon{background:#ffdf54;color:#20252d}
html body#ssRacingPage .ssw118-boot-notice{border:1px solid #eee3b3;background:#fffdf3;color:#423d28;border-radius:15px;padding:15px 17px;display:flex;gap:6px;flex-direction:column;line-height:1.45}
html body#ssRacingPage .ssw118-boot-notice strong{font-size:14px}
html body#ssRacingPage .ssw118-boot-notice span{font-size:13px;color:#686048}
html body#ssRacingPage .ssw118-boot-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:0}
html body#ssRacingPage .ssw118-boot-actions button{font:inherit;font-size:13px;font-weight:800;cursor:pointer;border:1px solid #ffda00;border-radius:12px;background:#ffda00;color:#1a1c21;min-height:46px;padding:10px 17px;flex:1}
html body#ssRacingPage #ssw109Reload{background:#15181e;color:white;border-color:#15181e}
/* Older rescue variants: remove the red visual shell even when an older rescue is invoked */
html body#ssRacingPage:has(.ssw104-fallback){background:#f4f5f8!important;background-image:none!important}
html body#ssRacingPage .ssw104-hero{background:#ffdb00!important;color:#14171c!important;box-shadow:none!important;min-height:120px!important;border-radius:20px!important}
html body#ssRacingPage .ssw104-hero:after{display:none!important}
html body#ssRacingPage .ssw104-search{background:#fff!important;border:1px solid #e5e9ef!important;box-shadow:none!important}
html body#ssRacingPage .ssw104-alert{background:#fff9de!important;border:1px solid #f3dfa2!important;color:#594b27!important}
html body#ssRacingPage .ssw104-btn{background:#ffda00!important;color:#181c25!important;border-color:#ffda00!important}
html body#ssRacingPage .ssw104-btn.secondary{background:#15181e!important;color:#fff!important;border-color:#15181e!important}
/* Build token lets the person confirm what Netlify is serving; subtle and not overlaying app controls. */
html body#ssRacingPage #ssv118-build{position:fixed;bottom:8px;left:9px;z-index:999;display:block;font:600 10px/1.1 Inter,system-ui,sans-serif;color:#667085;background:#fff;border:1px solid #e5e7eb;border-radius:7px;padding:5px 7px;pointer-events:none;opacity:.8}
@media(max-width:690px){
  html body#ssRacingPage #mainContainer:has(>.ssw118-boot){padding:16px 14px 80px!important}
  html body#ssRacingPage .ssw118-boot{gap:15px}
  html body#ssRacingPage .ssw118-boot-hero{padding:20px 18px!important;min-height:112px!important;border-radius:18px}
  html body#ssRacingPage .ssw118-shop-icon{font-size:40px;padding-right:0}
  html body#ssRacingPage .ssw118-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  html body#ssRacingPage .ssw118-type{min-height:58px;justify-content:flex-start;padding:10px}
  html body#ssRacingPage .ssw118-search-wait{display:none}
}

