/* Rezilta V7.0.4 — SofaScore-inspired neutral dark hand-drawn homepage skin.
   Presentation only: no data, settlement, affiliate or snapshot logic lives here. */
:root{
  --v7-paper:#0f1419;--v7-sheet:#171d23;--v7-sheet2:#141a20;--v7-ink:#f4f6f8;
  --v7-muted:#98a4af;--v7-pencil:rgba(224,231,237,.52);--v7-blue:#5aa7ff;
  --v7-blue2:#7bb8ff;--v7-orange:#f3a64a;--v7-red:#ff7373;--v7-purple:#b993e6;--v7-yellow:#e8c85a;
  --v7-hand:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;
}
body.rz-public-v7{
  /* Override legacy green theme tokens only inside V7. */
  --bg:var(--v7-paper);--surface:var(--v7-sheet);--surface2:#1b222a;--text:var(--v7-ink);--muted:var(--v7-muted);
  --green:var(--v7-blue);--green2:#398bdc;--border:#29323b;--shadow:0 12px 30px rgba(0,0,0,.22);
  background:var(--v7-paper);color:var(--v7-ink)
}
/* Keep the background flat and cheap to paint; no fixed full-screen texture layer. */
body.rz-public-v7:before{content:none!important}
body.rz-public-v7 .th-home{background:transparent}
body.rz-public-v7 .th-shell{width:min(1440px,calc(100% - 26px));padding-top:12px}
body.rz-public-v7 .site-header{background:#11171d;border-bottom:1px solid #29323b;box-shadow:none;backdrop-filter:none}
body.rz-public-v7 .site-header .brand span{font-family:var(--v7-hand);font-weight:900;letter-spacing:-.04em;color:var(--v7-blue2)}
body.rz-public-v7 .desktop-mega-nav .mega-nav-trigger,body.rz-public-v7 .desktop-mega-nav a{font-family:var(--v7-hand)}
body.rz-public-v7 .desktop-mega-nav a:hover,body.rz-public-v7 .desktop-mega-nav .mega-nav-trigger:hover{color:var(--v7-blue2)}
body.rz-public-v7 .th-panel,body.rz-public-v7 .rz-retention-bar,body.rz-public-v7 .rz-followed-panel{
  position:relative;background:linear-gradient(178deg,var(--v7-sheet),var(--v7-sheet2));
  border:1.5px solid var(--v7-pencil);border-radius:16px 12px 18px 13px;box-shadow:0 8px 22px rgba(0,0,0,.16)
}
body.rz-public-v7 .th-panel:after{content:"";position:absolute;inset:4px -2px -2px 5px;border:1px solid rgba(255,255,255,.055);border-radius:13px 17px 12px 16px;pointer-events:none;z-index:0}
body.rz-public-v7 .th-panel>*{position:relative;z-index:1}
body.rz-public-v7 .th-section-head h2,body.rz-public-v7 .th-card h2,body.rz-public-v7 .th-events h2,body.rz-public-v7 .th-performance-home h2,body.rz-public-v7 .th-news-card h2{font-family:var(--v7-hand);letter-spacing:-.02em}
body.rz-public-v7 .th-section-head h2:after{content:"";display:block;width:52%;max-width:132px;height:3px;margin-top:4px;border-radius:50%;background:linear-gradient(90deg,var(--v7-blue),transparent);transform:rotate(-1deg);opacity:.78}
body.rz-public-v7 .th-hero{overflow:visible;background:linear-gradient(155deg,#181f26,#12181e)}
body.rz-public-v7 .th-hero-copy>span{font-family:var(--v7-hand);color:var(--v7-yellow);transform:rotate(-1deg);display:inline-block}
/* Compact hero headline: prominent, but no longer dominates the first viewport. */
body.rz-public-v7 .th-hero h1,body.rz-public-v7 .th-hero-copy .rz-css-typewriter{font-family:var(--v7-hand);font-size:clamp(1.55rem,3.2vw,3rem);line-height:1.04;letter-spacing:-.045em;text-shadow:none;margin:.35rem 0 .55rem}
body.rz-public-v7 .th-hero h1:after{content:"↗";display:inline-block;margin-left:.18em;color:var(--v7-orange);font-size:.44em;transform:rotate(-11deg)}
body.rz-public-v7 .th-hero-deck{color:#c2cad1;font-weight:700;font-size:clamp(.86rem,1.35vw,1.05rem)}
body.rz-public-v7 .th-hero-copy p:not(.th-hero-deck){color:var(--v7-muted)}
body.rz-public-v7 .th-actions a,body.rz-public-v7 .th-section-head>a,body.rz-public-v7 .th-mma-head-actions>a{border-radius:10px 8px 11px 9px;border:1px solid #44505b;box-shadow:none;transition:transform .14s ease,background .14s ease,border-color .14s ease}
body.rz-public-v7 .th-actions a:hover,body.rz-public-v7 .th-section-head>a:hover,body.rz-public-v7 .th-mma-head-actions>a:hover{transform:translateY(-1px);border-color:#697783}
body.rz-public-v7 .th-actions .primary{background:#1e78c8;color:#fff;border:1px solid #4199e8}
body.rz-public-v7 .th-actions .primary:hover{background:#2687dc}
body.rz-public-v7 .th-actions .secondary{background:#1b2229;color:#cfe6ff;border:1px solid #3d668c}
body.rz-public-v7 .rz-live-today strong,body.rz-public-v7 .th-performance-kicker{font-family:var(--v7-hand);color:var(--v7-blue2)}
body.rz-public-v7 .rz-live-today span{border-style:dashed;border-color:#38434d}
body.rz-public-v7 .th-main-grid{gap:14px}
body.rz-public-v7 .th-match-row,body.rz-public-v7 .th-race-row,body.rz-public-v7 .th-mma-tip,body.rz-public-v7 .th-news-list>a,body.rz-public-v7 .rz-settled-list>a{border-bottom:1px dashed #35404a;border-radius:0;background:transparent}
body.rz-public-v7 .th-match-row:hover,body.rz-public-v7 .th-race-row:hover,body.rz-public-v7 .th-mma-tip:hover,body.rz-public-v7 .th-news-list>a:hover{background:rgba(255,255,255,.026)}
body.rz-public-v7 .th-match-pick,body.rz-public-v7 .th-mma-tip span b:last-child{font-family:var(--v7-hand);color:var(--v7-blue2);font-weight:900}
body.rz-public-v7 .th-section-count{font-family:var(--v7-hand);color:#d7dde2;border:1px dashed #53606b;border-radius:999px;padding:.18rem .5rem}
body.rz-public-v7 .th-bod-card{border-color:rgba(243,166,74,.72);transform:none}
body.rz-public-v7 .th-bod-card .th-section-head h2,body.rz-public-v7 .th-bod-card h3{color:#f0b462}
body.rz-public-v7 .th-bod-card:before{content:"★ editor pick";position:absolute;right:17px;top:-12px;padding:4px 9px;background:#e5c65a;color:#181b1e;font:800 11px var(--v7-hand);transform:rotate(2deg);z-index:4;border-radius:3px 7px 4px 6px}
body.rz-public-v7 .th-performance-home{border-color:#3e6a91}
body.rz-public-v7 .th-performance-metrics span{border:1px dashed #39454f;border-radius:10px 7px 12px 8px;background:#151b21}
body.rz-public-v7 .th-mma-card{border-color:rgba(185,147,230,.52)}
body.rz-public-v7 .th-mma-card .th-section-head h2{color:#c4a6e8}
body.rz-public-v7 .th-racing-card{border-color:rgba(243,166,74,.52)}
body.rz-public-v7 .th-racing-card .th-section-head h2{color:#efb46e}
body.rz-public-v7 .th-lotto-card{border:1px dashed #46515c;background:#151b21;border-radius:14px 9px 17px 11px;color:#f4f6f8!important;-webkit-text-fill-color:#f4f6f8!important}
body.rz-public-v7 .th-lotto-card :where(h3,strong,b){color:#f4f6f8!important;-webkit-text-fill-color:#f4f6f8!important}
body.rz-public-v7 .th-lotto-card :where(small,.th-lotto-extra){color:#b6c0c9!important;-webkit-text-fill-color:#b6c0c9!important;opacity:1!important}
body.rz-public-v7 .th-balls i{border:2px solid #c5ccd2;box-shadow:none;background:#eef2f5!important;color:#111820!important;-webkit-text-fill-color:#111820!important;text-shadow:none!important;font-family:var(--v7-hand);font-weight:900;opacity:1!important}
body.rz-public-v7 .th-news-card{border-color:#3b6389}
body.rz-public-v7 .th-news-card .th-section-head h2{color:var(--v7-blue2)}
body.rz-public-v7 .th-market-sweep{border:1.5px solid #4782b8;background:#172330;box-shadow:none;transform:none}
body.rz-public-v7 .th-market-sweep :where(h2,a,.th-market-sweep-icon){color:#a8d1f7}
body.rz-public-v7 .th-ad-card,body.rz-public-v7 .th-home-ad,body.rz-public-v7 .th-home-gap-ad{border-style:dashed;background:#12181e}
body.rz-public-v7 .th-ad-title{font-family:var(--v7-hand);opacity:.62}
body.rz-public-v7 footer{border-top:1px dashed #35404a;background:#10161b}
body.rz-public-v7 .footer-brand .brand span{font-family:var(--v7-hand);color:var(--v7-blue2)}
body.rz-public-v7 a:focus-visible,body.rz-public-v7 button:focus-visible{outline:3px solid #69adf1;outline-offset:3px}
/* Neutralise common green-coded legacy homepage elements in V7 without touching core/classic. */
body.rz-public-v7 .badge.green,body.rz-public-v7 .status-published,body.rz-public-v7 .result-won,body.rz-public-v7 .ok{background:rgba(90,167,255,.12)!important;color:#8dc5ff!important}
body.rz-public-v7 .tip-badge,body.rz-public-v7 .leg-number{background:rgba(90,167,255,.10)!important;color:#8dc5ff!important}
body.rz-public-v7 .confidence span,body.rz-public-v7 .progress span,body.rz-public-v7 .mini-progress span{background:#4f9fe9!important}
@media(max-width:1080px){body.rz-public-v7 .th-shell{width:min(100% - 20px,1440px)}body.rz-public-v7 .th-main-grid{grid-template-columns:1fr 1fr}body.rz-public-v7 .th-match-card{grid-column:1/-1}}
@media(max-width:720px){
 body.rz-public-v7 .th-shell{width:calc(100% - 12px);padding-top:7px}
 body.rz-public-v7 .th-main-grid,body.rz-public-v7 .th-lower,body.rz-public-v7 .rz-retention-lower{grid-template-columns:1fr}
 body.rz-public-v7 .th-match-card{grid-column:auto}
 body.rz-public-v7 .th-panel{border-radius:13px 9px 15px 11px}
 body.rz-public-v7 .th-hero h1,body.rz-public-v7 .th-hero-copy .rz-css-typewriter{font-size:clamp(1.45rem,7.4vw,2.35rem);line-height:1.08}
 body.rz-public-v7 .th-hero{padding:16px 13px}
 body.rz-public-v7 .th-bod-card:before{right:12px;top:-9px;font-size:9px}
 body.rz-public-v7 .th-section-head{align-items:flex-start;gap:8px}
}
@media(prefers-reduced-motion:reduce){body.rz-public-v7 *,body.rz-public-v7 *:before,body.rz-public-v7 *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* V7.0.4 — exact homepage Lotto readability fix.
   The homepage renders lottery digits in <i> elements and date/CTA copy in
   .th-lotto-country / .th-lotto-link.  Keep these independent of legacy
   icon/text-fill rules so every digit and label remains readable. */
body.rz-public-v7 .th-lotto-card .th-lotto-country{
  color:#c8d1da!important;
  -webkit-text-fill-color:#c8d1da!important;
  opacity:1!important;
  visibility:visible!important;
}
body.rz-public-v7 .th-lotto-card .th-lotto-link,
body.rz-public-v7 .th-lotto-card .th-lotto-link i{
  color:#93c9ff!important;
  -webkit-text-fill-color:#93c9ff!important;
  opacity:1!important;
  visibility:visible!important;
}
body.rz-public-v7 .th-lotto-card .th-lotto-extra{
  color:#d5dde5!important;
  -webkit-text-fill-color:#d5dde5!important;
  opacity:1!important;
  visibility:visible!important;
}
body.rz-public-v7 .th-lotto-card .th-balls{
  opacity:1!important;
  visibility:visible!important;
}
body.rz-public-v7 .th-lotto-card .th-balls i{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:38px!important;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  border:2px solid #c5ccd2!important;
  border-radius:50%!important;
  background:#eef2f5!important;
  color:#0b1117!important;
  -webkit-text-fill-color:#0b1117!important;
  opacity:1!important;
  visibility:visible!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-style:normal!important;
  font-size:1rem!important;
  font-weight:900!important;
  line-height:1!important;
  text-indent:0!important;
  text-shadow:none!important;
  box-shadow:none!important;
}
html[data-theme="light"] body.rz-public-v7 .th-lotto-card .th-balls i{
  background:#ffffff!important;
  color:#0b1117!important;
  -webkit-text-fill-color:#0b1117!important;
}

/* V7.0.6 cache-busted Lotto fix.
   Numbers are semantic spans now, so icon-font rules cannot recolour or hide them. */
body.rz-public-v7 .th-lotto-card .th-balls .th-ball-number{
 display:inline-grid!important;place-items:center!important;box-sizing:border-box!important;
 width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;margin:0!important;
 border:2px solid #d9e0e6!important;border-radius:50%!important;
 background:#f7f9fb!important;color:#0a1118!important;-webkit-text-fill-color:#0a1118!important;
 font-family:Arial,Helvetica,sans-serif!important;font-style:normal!important;font-size:14px!important;font-weight:900!important;
 line-height:1!important;opacity:1!important;visibility:visible!important;text-shadow:none!important;box-shadow:none!important;
 isolation:isolate!important;
}
body.rz-public-v7 .th-lotto-card .th-balls .th-ball-number:nth-child(2n){transform:rotate(1.5deg)}
body.rz-public-v7 .th-lotto-card .th-balls .th-ball-number:nth-child(2n+1){transform:rotate(-1deg)}
html[data-theme="light"] body.rz-public-v7 .th-lotto-card .th-balls .th-ball-number{background:#fff!important;color:#071019!important;-webkit-text-fill-color:#071019!important;border-color:#28333d!important}

/* Complete the hand-drawn language across homepage components. */
body.rz-public-v7 .th-quick-scroll a,body.rz-public-v7 .th-events-list a,body.rz-public-v7 .th-mini-row,body.rz-public-v7 .th-mma-tip,body.rz-public-v7 .th-news-list>a{border-radius:11px 7px 12px 8px!important}
body.rz-public-v7 .th-match-tabs span,body.rz-public-v7 .market-label,body.rz-public-v7 .th-section-count{font-family:var(--v7-hand)}
body.rz-public-v7 .th-lotto-card header h3{font-family:var(--v7-hand)!important;letter-spacing:-.02em}
body.rz-public-v7 .th-lotto-link{font-family:var(--v7-hand)!important}
body.rz-public-v7 .th-lotto-card:nth-child(2n){transform:rotate(.15deg)}
body.rz-public-v7 .th-lotto-card:nth-child(2n+1){transform:rotate(-.12deg)}
body.rz-public-v7 .th-card>a,body.rz-public-v7 .th-panel>a,body.rz-public-v7 .th-section-head>a{font-family:var(--v7-hand)}
