/* Rezilta V7.0.6 global hand-drawn public theme.
   Presentation only. No data access, hooks, plugin boot or application logic. */
:root{--v7-bg:#0f1419;--v7-surface:#151b21;--v7-surface2:#11171d;--v7-ink:#f4f6f8;--v7-muted:#aab4be;--v7-line:#64717c;--v7-softline:#35404a;--v7-blue:#72b8ff;--v7-yellow:#e8c85a;--v7-orange:#efa658;--v7-purple:#c2a2e8;--v7-red:#ff7f7f;--v7-hand:"Segoe Print","Bradley Hand","Comic Sans MS",cursive}
body{background:#0f1419;color:var(--v7-ink)}
.site-header{background:#11171d!important;border-bottom:1px dashed #46515c!important;box-shadow:none!important;backdrop-filter:none!important}
.site-header .brand span,.desktop-mega-nav a,.desktop-mega-nav button,.mobile-bottom-nav .nav-label{font-family:var(--v7-hand)!important}
.site-header .brand span{color:var(--v7-blue)!important;letter-spacing:-.035em}
.desktop-mega-nav a,.desktop-mega-nav button{border-radius:9px 6px 10px 7px!important}
.desktop-mega-nav a:hover,.desktop-mega-nav button:hover{color:var(--v7-blue)!important;background:rgba(114,184,255,.06)!important}

/* Shared public surfaces: sketch borders without expensive filters/textures. */
main :where(.event-card,.group-preview-card,.acca-template-card,.panel,.hf-panel,.hf-racecard,.rh-card,.v5-ft-card,.coh-card,.hp-card){background:linear-gradient(178deg,var(--v7-surface),var(--v7-surface2))!important;border:1px dashed #53606b!important;box-shadow:0 8px 22px rgba(0,0,0,.14)!important;border-radius:15px 10px 17px 12px!important}
main :where(h1,h2,.section-title,.panel-title){text-wrap:balance}
main :where(h1,h2,.section-title,.panel-title,.card-title){font-family:var(--v7-hand)}
main :where(.btn,.button,a.btn,button:not(.plain-button)){border-radius:10px 7px 11px 8px}

/* Hand-drawn footer - shared by every public page. */
.site-footer.standard-footer.responsible-footer{position:relative;background:#0e1318!important;border-top:2px dashed #59646e!important;box-shadow:none!important;margin-top:42px!important}
.site-footer.standard-footer.responsible-footer:before{content:"✎  play smart · check results · 18+";display:block;width:max-content;max-width:calc(100% - 28px);margin:-14px auto 0;padding:4px 12px;background:#0e1318;color:var(--v7-yellow);font:800 12px/1.2 var(--v7-hand);letter-spacing:.01em;transform:rotate(-1deg)}
.responsible-footer-inner{gap:18px!important;padding-top:26px!important}
.responsible-gambling-panel,.footer-trust-panel{position:relative;background:linear-gradient(178deg,#151b21,#11171d)!important;border:1.5px dashed #59646e!important;border-radius:17px 11px 19px 13px!important;box-shadow:0 7px 18px rgba(0,0,0,.12)!important}
.responsible-gambling-panel:after,.footer-trust-panel:after{content:"";position:absolute;inset:5px -2px -2px 5px;border:1px solid rgba(235,240,244,.055);border-radius:12px 17px 11px 16px;pointer-events:none}
.responsible-age-row strong,.footer-brand .brand span{font-family:var(--v7-hand)!important}
.responsible-age-row strong{color:#f4f6f8!important;font-size:1.02rem!important}
.responsible-age-row span,.responsible-gambling-panel p,.footer-trust-panel p,.footer-accuracy,.rz-footer-speed{color:#aab4be!important}
.age-badge{background:transparent!important;border:2px solid var(--v7-yellow)!important;color:var(--v7-yellow)!important;font-family:var(--v7-hand)!important;transform:rotate(-4deg);box-shadow:none!important}
.responsible-links,.footer-network{gap:9px 15px!important}
.responsible-links a,.footer-network a{position:relative;color:#dce4eb!important;font-family:var(--v7-hand);text-decoration:none!important}
.responsible-links a:after,.footer-network a:after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;background:var(--v7-blue);transform:scaleX(0) rotate(-1deg);transform-origin:left;transition:transform .14s ease}
.responsible-links a:hover,.footer-network a:hover{color:var(--v7-blue)!important}
.responsible-links a:hover:after,.footer-network a:hover:after{transform:scaleX(1) rotate(-1deg)}
.footer-brand .brand span{color:var(--v7-blue)!important;font-size:1.15rem}
.footer-copy{font-family:var(--v7-hand);color:#eef2f5!important}
.rezilta-theme-credit{display:inline-block;padding:4px 8px;border:1px dashed #4f5d68;border-radius:8px 5px 9px 6px!important;color:#9eabb6!important;transform:rotate(.3deg)}
.gpwa-block{padding:8px;border:1px dashed #3d4852;border-radius:12px 8px 13px 9px}
.footer-odds-inline,.affiliate-disclosure{border-left:3px solid var(--v7-orange);padding-left:10px}

/* Shared ads and mobile chrome follow the paper/pen language. */
.rezilta-ad-frame{border-radius:11px 7px 12px 8px!important}
.rezilta-ad-label{font-family:var(--v7-hand)!important;color:#8996a1!important}
.mobile-bottom-nav{background:#11171d!important;border-top:1px dashed #59646e!important;box-shadow:none!important}
.mobile-bottom-nav a,.mobile-bottom-nav button{color:#dce4eb!important}
.mobile-bottom-nav .nav-icon{color:var(--v7-blue)!important}

@media(max-width:700px){
 .site-footer.standard-footer.responsible-footer:before{font-size:10px}
 .responsible-gambling-panel,.footer-trust-panel{border-radius:13px 9px 15px 10px!important}
 .responsible-links,.footer-network{grid-template-columns:1fr 1fr!important}
}
@media(prefers-reduced-motion:reduce){.responsible-links a:after,.footer-network a:after{transition:none!important}}

/* Rezilta V7.0.7 — selective handwriting + simplified public navigation. */
body.rz-public-v7,body.rz-public-v7 :where(p,li,table,input,select,textarea,.desktop-mega-nav,.v5-mobile-nav){font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
body.rz-public-v7 :where(h1,h2,.th-top-pick-label,.th-bod-growth-kicker,.section-title,.panel-title,.rezilta-theme-credit){font-family:var(--v7-hand)}
body.rz-public-v7 .desktop-mega-nav .mega-nav-trigger,body.rz-public-v7 .desktop-mega-nav a{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;font-weight:750!important}
body.rz-public-v7 .desktop-mega-nav{gap:3px!important}
body.rz-public-v7 .desktop-mega-nav .mega-nav-trigger{padding:9px 10px!important;font-size:.78rem!important}
body.rz-public-v7 .desktop-mega-nav .mega-nav-trigger>span{opacity:.65;font-size:.78em}
body.rz-public-v7 .mega-nav-panel{background:#151b21!important;border:1px dashed #52606b!important;border-radius:14px 9px 15px 10px!important;box-shadow:0 18px 38px rgba(0,0,0,.28)!important}
body.rz-public-v7 .mega-nav-panel-head strong{font-family:var(--v7-hand);color:#cfe5fb}
body.rz-public-v7 .mega-nav-links a{font-size:.77rem!important}

/* Mobile top chrome: content first, drawer on demand. */
@media(max-width:900px){
 body.rz-public-v7 .site-header{min-height:58px!important;padding:7px 10px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:8px!important}
 body.rz-public-v7 .site-header .brand{justify-self:start!important}
 body.rz-public-v7 .site-header .brand span{font-size:1.02rem!important}
 body.rz-public-v7 .v5-mobile-menu-button{display:inline-flex!important;grid-column:3!important;grid-row:1!important;justify-self:end!important;min-width:44px!important;min-height:44px!important;align-items:center!important;justify-content:center!important;border:1px dashed #52606b!important;border-radius:10px 7px 11px 8px!important;background:#151b21!important;color:#eef4f8!important;font-size:0!important}
 body.rz-public-v7 .v5-mobile-menu-button:before{content:"☰";font-size:1.15rem!important}
 body.rz-public-v7 .selectors{grid-column:2!important;grid-row:1!important;justify-self:end!important;margin-right:52px!important}
 body.rz-public-v7 .selectors select{max-width:62px!important;min-height:38px!important}
 body.rz-public-v7 .rz-pwa-header-btn{display:none!important}
 body.rz-public-v7 .v5-mobile-nav{background:#10161c!important}
 body.rz-public-v7 .v5-mobile-nav-body{padding-bottom:90px!important}
 body.rz-public-v7 .rz-mobile-primary{position:sticky;top:0;z-index:2;background:#10161c!important;padding:8px 0 12px!important;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:6px!important}
 body.rz-public-v7 .rz-mobile-primary a{min-height:44px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border:1px dashed #394550!important;border-radius:10px 7px 11px 8px!important;font-size:.68rem!important}
 body.rz-public-v7 .v5-mobile-nav details{border-bottom:1px dashed #303b45!important}
 body.rz-public-v7 .v5-mobile-nav summary{min-height:48px!important;font-weight:800!important}
}

/* Practical touch targets + visible keyboard focus. */
body.rz-public-v7 :where(a,button,input[type="button"],input[type="submit"]):focus-visible{outline:3px solid #72b8ff!important;outline-offset:3px!important}
@media(pointer:coarse){body.rz-public-v7 :where(.bet-now,.rz-follow-btn,.th-actions a,.th-section-head>a,.mobile-bottom-nav a,.mobile-bottom-nav button){min-height:44px}}
