/* V168 — homepage derived from the supplied reference. Result screens stay unchanged. */
body.public-app:not(.has-result){background:#f6fafc!important}
body.public-app .app-topbar{background:rgba(255,255,255,.97)!important;border-bottom:1px solid #e4edf1!important;box-shadow:none!important}
body.public-app .brand-lockup{padding:0!important;background:none!important;box-shadow:none!important}
body.public-app .topbar-inner{width:min(1440px,calc(100% - 48px));gap:20px;min-height:80px!important}
body.public-app .topbar-actions{gap:10px}
body.public-app #toggleSearch{background:#0c293e!important;border-color:#0c293e!important;color:#fff!important;min-height:42px;font-size:14px;white-space:nowrap}
body.public-app #helpPopover .calendar-update-note{font-size:14px!important;line-height:1.5!important;color:#526c7f}
body.public-app:not(.has-result) .shell{max-width:1440px!important;padding-top:0!important}
body.public-app #searchCard{display:block!important;position:relative!important;isolation:isolate;min-height:0!important;max-width:none!important;width:100%!important;margin:0 0 28px!important;padding:42px 0 22px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body.public-app #searchCard.hidden,body.public-app.analysis-loading #searchCard{display:none!important}
body.public-app #searchCard::before{content:""!important;display:block!important;position:absolute!important;z-index:-1!important;inset:0 auto 0 50%!important;width:100vw!important;height:auto!important;max-width:none!important;transform:translateX(-50%)!important;border-radius:0!important;background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.02) 75%,#f6fafc),url('/assets/home-stadium-v168.png') center center/cover no-repeat!important;pointer-events:none}
body.public-app #searchCard::after{display:none!important}
body.public-app #searchCard .search-copy{text-align:center;padding:0 12px!important}
body.public-app #homeTitle{margin:0!important;font-size:clamp(29px,3vw,46px)!important;font-weight:850;line-height:1.15;letter-spacing:-.035em;color:#102d43}
body.public-app #searchCard .search-copy p{margin:12px auto 0!important;font-size:17px!important;line-height:1.5!important;color:#5b7085;max-width:750px}
body.public-app #searchCard .homepage-search-form{margin:32px auto 0!important;padding:25px 30px 18px!important;border:1px solid #dfe9ee;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 12px 28px rgba(17,61,81,.12)}
body.public-app #searchCard .homepage-search-grid{display:grid!important;grid-template-columns:minmax(165px,.85fr) minmax(0,2.25fr) minmax(200px,.86fr)!important;gap:24px!important;align-items:end}
body.public-app #searchCard .home-search-field{grid-column:auto!important;background:none!important;border:0!important;padding:0!important;font-size:14px!important;gap:9px}
body.public-app #searchCard .home-search-field>span{margin:0!important;color:#15364e;font-size:14px!important;font-weight:700}
body.public-app #searchCard .home-search-field select,body.public-app #searchCard .fixture-selection-visual{height:64px!important;border:1px solid #cedee7!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;color:#15364e;font-size:16px!important}
body.public-app #searchCard .home-search-field select:focus-visible,body.public-app #searchCard .fixture-field-home:focus-within .fixture-selection-visual{outline:3px solid rgba(7,156,125,.26);outline-offset:2px}
body.public-app #searchCard .fixture-field-home>select{height:64px!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;opacity:0!important}
body.public-app #searchCard .fixture-selection-visual{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto 16px!important;gap:10px!important;padding:0 15px!important}
body.public-app #searchCard .fixture-visual-team{gap:9px}
body.public-app #searchCard .fixture-visual-team img{width:36px!important;height:36px!important}
body.public-app #searchCard .fixture-visual-team b{font-size:14px!important;font-weight:650}
body.public-app #searchCard .fixture-selection-visual>em{display:block!important;font-size:12px!important;background:#edf9f3;color:#0b9863}
body.public-app #searchCard .fixture-selection-visual>svg{display:block!important;width:16px;height:16px;stroke:#315875}
body.public-app #searchCard .home-analyze-button{grid-column:auto!important;justify-self:stretch!important;width:100%!important;min-height:64px!important;height:64px!important;padding:0 18px!important;border:0!important;border-radius:12px!important;background:linear-gradient(110deg,#0bb552,#10c568)!important;font-size:16px!important;gap:14px;box-shadow:0 7px 20px rgba(11,181,82,.2)!important}
body.public-app #searchCard .home-search-footer{min-height:0!important;margin-top:16px;padding:0!important;border:0!important;align-items:baseline!important;font-size:13px!important;color:#738699}
body.public-app #searchCard .home-search-footer .matchcast-secondary-option{background:none!important;box-shadow:none!important}
body.public-app #searchCard .home-search-footer .matchcast-secondary-option summary{font-size:13px!important}
body.public-app #searchCard #fixtureStatus{min-height:0!important;margin:12px 0 0!important;padding:0!important;font-size:14px!important;font-weight:500;color:#506e80!important}
body.public-app #searchCard #fixtureStatus.hidden{display:none!important}
.home-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1000px;margin:20px auto 0;padding:14px 24px;border:1px solid #e2edf0;border-radius:17px;background:rgba(255,255,255,.93);list-style:none;box-shadow:0 4px 16px rgba(32,79,91,.03)}
.home-benefits li{display:flex;align-items:center;gap:14px;min-width:0}
.home-benefits strong,.home-benefits small{display:block}
.home-benefits strong{font-size:14px;font-weight:700;color:#1c3c55}
.home-benefits small{margin-top:4px;font-size:12px;line-height:1.4;color:#61798d}
.home-benefit-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;color:#fff}
.home-benefit-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.benefit-free{background:#0ab958}.benefit-time{background:#087ffa}.benefit-sources{background:#ff785e}
body.public-app #weekendHighlights{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:0;margin:0 0 32px!important;padding:0!important}
body.public-app #weekendHighlights.hidden{display:none!important}
.weekend-main{min-width:0;padding:0}
body.public-app #weekendHighlights .weekend-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;margin:0 0 12px!important}
body.public-app #weekendTitle{margin:0;font-size:24px!important;line-height:1.2;letter-spacing:-.025em;font-weight:800;color:#102f48}
body.public-app #weekendPause{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:7px 10px!important;border:1px solid #d9e5eb;border-radius:9px;background:#fff;color:#4e6b80;font-size:13px;font-weight:600;cursor:pointer}
body.public-app #weekendPause:disabled{opacity:.7;cursor:default}
body.public-app #weekendHighlights .weekend-carousel-shell{position:relative;margin:0!important}
body.public-app #weekendTrack{display:grid!important;width:100%!important;max-width:100%!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3)!important;grid-template-columns:none;gap:16px!important;padding:3px 1px 10px!important;overflow-x:auto;overflow-y:hidden;scroll-behavior:auto!important;scroll-snap-type:x proximity;overscroll-behavior-x:contain}
body.public-app #weekendHighlights .weekend-match-card{display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-width:0;min-height:248px!important;padding:18px 16px!important;border:1px solid #dce6ed!important;border-radius:16px!important;background:#fff!important;box-shadow:0 4px 12px rgba(21,65,89,.045)!important;text-align:left;cursor:pointer;scroll-snap-align:start}
body.public-app #weekendHighlights .weekend-match-card:hover{border-color:#85cbb0!important;box-shadow:0 8px 20px rgba(21,65,89,.08)!important;transform:translateY(-2px)}
body.public-app #weekendHighlights .weekend-card-meta{display:flex!important;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}
body.public-app #weekendHighlights .weekend-competition-logo{width:68px!important;height:30px!important;display:inline-flex;align-items:center;justify-content:flex-start}
body.public-app #weekendHighlights .weekend-competition-logo img,body.public-app #weekendHighlights .weekend-competition-logo svg{width:auto!important;max-width:68px!important;height:30px!important;object-fit:contain}
body.public-app #weekendHighlights .weekend-card-meta time{margin-left:auto;padding:5px 8px!important;border-radius:20px;background:#edf9f3;color:#079c65;font-size:12px!important;font-weight:650;white-space:nowrap}
body.public-app #weekendHighlights .weekend-teams{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);gap:8px;align-items:start;margin:0!important}
body.public-app #weekendHighlights .weekend-teams>span{display:flex;flex-direction:column;gap:14px;align-items:center;min-width:0}
body.public-app #weekendHighlights .weekend-teams img{width:62px!important;height:62px!important;object-fit:contain}
body.public-app #weekendHighlights .weekend-teams strong{display:block;text-align:center;font-size:13px!important;line-height:1.3!important;white-space:normal;overflow-wrap:anywhere;color:#173b54}
body.public-app #weekendHighlights .weekend-teams em{align-self:start;margin-top:25px;font-size:13px;font-style:normal;color:#0f2d45;text-align:center}
.weekend-card-cta{display:flex;align-items:center;justify-content:center;gap:8px;align-self:center;padding:7px 12px;border-radius:22px;background:#eff9f4;color:#099b65;font-size:12px;font-weight:700;white-space:nowrap}
body.public-app #weekendHighlights .weekend-arrow{display:flex!important;align-items:center;justify-content:center;width:40px!important;height:40px!important;top:50%!important;background:#fff!important;border:1px solid #dce6ed!important;color:#087ffa!important;box-shadow:0 3px 12px rgba(12,63,93,.09)!important}
body.public-app #weekendHighlights .weekend-arrow.prev{left:-19px!important}
body.public-app #weekendHighlights .weekend-arrow.next{right:-19px!important}
body.public-app #weekendHighlights .weekend-arrow:disabled{opacity:.35!important}
body.public-app #weekendHighlights .weekend-dots{margin-top:8px;min-height:6px}
body.public-app #weekendHighlights .weekend-dots i{width:6px;height:6px;border-radius:50%;background:#cbdfe2}
body.public-app #weekendHighlights .weekend-dots i.active{width:18px;border-radius:8px;background:#12ae78}
body.public-app #weekendTrack.is-empty{display:block!important}
.weekend-empty{display:flex;align-items:center;min-height:240px;padding:24px;margin:0;border:1px solid #dfe8ef;border-radius:16px;background:#fff;font-size:16px;line-height:1.6;color:#526d81}
.weekend-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px 20px;margin-top:16px}
.upcoming-availability{flex:1 1 240px;font-size:14px;line-height:1.5;color:#6d8294;margin:0}
.upcoming-availability:empty{display:none}
body.public-app #weekendViewAll{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:auto;max-width:100%;min-height:44px;padding:8px 4px;border:0;border-radius:6px;background:transparent;color:#087c89;font-size:14px;font-weight:650;line-height:1.4;text-align:left;cursor:pointer;box-shadow:none}
body.public-app #weekendViewAll:hover{text-decoration:underline}
body.public-app #weekendViewAll:focus-visible{outline:2px solid #087c89;outline-offset:3px}
body.public-app #weekendHighlights.is-expanded #weekendTrack{grid-auto-flow:row!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:auto!important;overflow:visible;scroll-snap-type:none}
body.public-app #weekendHighlights.is-expanded .weekend-arrow,body.public-app #weekendHighlights.is-expanded #weekendPause{display:none!important}
@media(min-width:1001px) and (max-width:1250px){
  body.public-app #weekendTrack{grid-auto-columns:calc((100% - 16px)/2)!important}
  body.public-app #weekendHighlights.is-expanded #weekendTrack{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:1000px){
  body.public-app .topbar-inner{gap:12px}
  body.public-app #searchCard .homepage-search-grid{grid-template-columns:minmax(150px,.65fr) minmax(0,1.5fr)!important;gap:18px!important}
  body.public-app #searchCard .home-analyze-button{grid-column:1/-1!important;height:54px!important;min-height:54px!important}
  body.public-app #weekendHighlights{grid-template-columns:minmax(0,1fr);gap:18px}
}
@media(min-width:701px) and (max-width:1100px){body.public-app .topbar-actions .home-action-button{display:none!important}body.public-app .home-nav{gap:16px!important}}
@media(max-width:700px){
  body.public-app .topbar-inner{width:100%!important;min-height:0!important}
  body.public-app #toggleSearch{font-size:0!important}
  body.public-app #searchCard{padding:28px 0 18px!important;margin-bottom:20px!important}
  body.public-app #homeTitle{font-size:clamp(28px,6vw,38px)!important;max-width:520px;margin:0 auto!important}
  body.public-app #searchCard .search-copy p{font-size:15px!important;max-width:460px}
  body.public-app #searchCard .homepage-search-form{margin-top:22px!important;padding:18px 16px 14px!important}
  body.public-app #searchCard .homepage-search-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  body.public-app #searchCard .fixture-selection-visual{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 16px!important;gap:8px!important;padding:0 10px!important}
  body.public-app #searchCard .fixture-selection-visual>em{display:none!important}
  body.public-app #searchCard .fixture-visual-team img{width:30px!important;height:30px!important}
  body.public-app #searchCard .fixture-visual-team b{font-size:13px!important}
  body.public-app #searchCard .home-search-footer{flex-direction:row!important;flex-wrap:wrap!important}
  .home-benefits{gap:12px;margin-top:16px;padding:12px;border-radius:12px}
  .home-benefits li{flex-direction:column;text-align:center;gap:7px}
  .home-benefits strong{font-size:13px}.home-benefits small{display:none}.home-benefit-icon{width:32px;height:32px;flex-basis:32px}.home-benefit-icon svg{width:21px;height:21px}
  body.public-app #weekendTitle{font-size:21px!important}
  body.public-app #weekendHighlights{padding:0 6px!important}
  body.public-app #weekendTrack{grid-auto-columns:minmax(250px,84%)!important}
  body.public-app #weekendHighlights .weekend-arrow{width:34px!important;height:34px!important}
  body.public-app #weekendHighlights .weekend-arrow.prev{left:-10px!important}body.public-app #weekendHighlights .weekend-arrow.next{right:-10px!important}
  body.public-app #weekendHighlights.is-expanded #weekendTrack{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){body.public-app #weekendHighlights .weekend-match-card{transition:none!important;transform:none!important}}
