/* Public UX refinement v3.6.6. Layout only; preserve existing slider and form JS. */
.front-home{font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.front-home .wrap{max-width:1100px}
.front-home .hero-info-v331 .hero-panel{padding:18px 20px!important;border-radius:14px!important;box-shadow:none!important}
.front-home .hero-info-v331 h1{font-size:clamp(23px,3vw,34px)!important;font-weight:780!important;line-height:1.22!important;letter-spacing:-.025em!important}
.front-home .hero-info-v331 p{font-size:12px!important;line-height:1.6!important}
.front-home .hero-info-v331 .hero-steps-v329 span{font-size:10px!important}
.front-home .match-section,.front-home .prediction-form-section{padding:18px!important;border-radius:15px!important;box-shadow:none!important}
.front-home .section-heading-row h2,.front-home .form-section-head h2{font-size:clamp(18px,2.2vw,23px)!important;line-height:1.25!important;font-weight:750!important}
.front-home .section-heading-row .sub,.front-home .form-section-head .sub{font-size:11.5px!important;line-height:1.55!important}
.front-home .match-list{gap:11px!important}
.front-home .match-card{border-radius:13px!important;padding:13px!important;min-height:0!important;box-shadow:none!important;transition:border-color .15s ease!important}
.front-home .match-card:hover{transform:none!important;box-shadow:none!important;border-color:color-mix(in srgb,var(--c1) 40%,transparent)!important}
.front-home .match-card .team-img{width:43px!important;height:43px!important;padding:4px!important;box-shadow:none!important}
.front-home .match-card b{font-size:12.5px!important;font-weight:730!important;line-height:1.3!important;margin-top:5px!important}
.front-home .match-card p,.front-home .match-card small{font-size:10.5px!important}
.front-home .match-card .match-footer{padding-top:11px!important;margin-top:9px!important}
.front-home .match-card .predict-link{min-height:32px!important;font-size:10.5px!important;padding:7px 10px!important;border-radius:8px!important;box-shadow:none!important}
.front-home .history-link{min-height:34px!important;font-size:11px!important;padding:7px 11px!important;border-radius:9px!important;box-shadow:none!important}
.front-home .prediction-form-section .form-shell{border-radius:12px!important;padding:15px!important;box-shadow:none!important}
.front-home .prediction-form-section input,.front-home .prediction-form-section select{min-height:40px!important;padding:9px 11px!important;border-radius:9px!important;font-size:12px!important}
.front-home .prediction-form-section .submit{min-height:42px!important;padding:10px 14px!important;border-radius:10px!important;font-size:12px!important;box-shadow:none!important}
/* New terms panel, intentionally before the active match section. */
.front-home .home-rules-compact{margin:15px 0 14px!important;padding:16px 18px!important;background:var(--card)!important;border:1px solid color-mix(in srgb,var(--c1) 19%,transparent)!important;border-radius:14px!important;box-shadow:none!important;min-height:0!important;overflow:hidden}
.front-home .home-rules-compact::before,.front-home .home-rules-compact::after{display:none!important}
.front-home .home-rules-header{display:flex;justify-content:space-between;align-items:center;gap:13px;margin:0 0 12px}
.front-home .home-rules-header h2{font-size:17px!important;line-height:1.25!important;margin:3px 0 3px!important;font-weight:760!important;color:var(--text)!important}
.front-home .home-rules-header p{font-size:11px!important;line-height:1.5!important;margin:0!important;color:var(--muted)!important}
.front-home .home-rules-more{font-size:10.5px!important;font-weight:700!important;white-space:nowrap;color:var(--c2)!important;text-decoration:none!important;background:color-mix(in srgb,var(--c1) 7%,transparent)!important;border:1px solid color-mix(in srgb,var(--c1) 22%,transparent)!important;border-radius:9px!important;padding:8px 10px!important}
.front-home .home-rules-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;list-style:none!important;gap:8px 16px!important;padding:0!important;margin:0!important}
.front-home .home-rules-list li{display:flex!important;align-items:flex-start!important;gap:9px!important;min-width:0!important;border-top:1px solid color-mix(in srgb,var(--c1) 12%,transparent)!important;padding:9px 0 0!important;background:transparent!important;color:var(--text)!important;font-size:11.5px!important;line-height:1.5!important;font-weight:500!important}
.front-home .home-rule-no{display:grid;place-items:center;flex:none;width:21px;height:21px;border-radius:6px;color:var(--c2);background:color-mix(in srgb,var(--c1) 13%,transparent);font-weight:750;font-size:10px}
/* Terms detail page is also compact. */
body:has(.rules-page-wrap) .rules-page-wrap{max-width:900px;padding-top:17px!important}
body:has(.rules-page-wrap) .rules-hero{padding:18px 20px!important;border-radius:13px!important;box-shadow:none!important}
body:has(.rules-page-wrap) .rules-hero h1{font-size:clamp(22px,3vw,29px)!important;margin:6px 0!important}
body:has(.rules-page-wrap) .rules-hero p{font-size:12px!important}
body:has(.rules-page-wrap) .rules-list{gap:8px!important}
body:has(.rules-page-wrap) .rule-item{grid-template-columns:29px 1fr!important;gap:10px!important;padding:11px 12px!important;border-radius:11px!important}
body:has(.rules-page-wrap) .rule-num{height:25px!important;width:25px!important;border-radius:7px!important;font-size:11px!important}
body:has(.rules-page-wrap) .rule-copy{font-size:12px!important;line-height:1.55!important;font-weight:550!important}
@media(max-width:760px){.front-home .home-rules-compact{padding:13px!important;margin:10px 0!important}.front-home .home-rules-header{align-items:flex-start;flex-wrap:wrap;gap:8px;margin-bottom:8px}.front-home .home-rules-header h2{font-size:16px!important}.front-home .home-rules-more{padding:6px 8px!important}.front-home .home-rules-list{grid-template-columns:1fr!important;gap:6px!important}.front-home .home-rules-list li{font-size:11px!important;padding-top:7px!important}.front-home .hero-info-v331 .hero-panel{padding:15px!important}.front-home .match-section,.front-home .prediction-form-section{padding:12px!important}.front-home .match-card{padding:11px!important}.front-home .match-card .team-img{width:38px!important;height:38px!important}.front-home .prediction-form-section .form-shell{padding:11px!important}}
@media(prefers-reduced-motion:reduce){.front-home .match-card{transition:none!important}}

.front-home .home-rules-list a{color:var(--c2)!important;text-decoration:underline!important;text-underline-offset:2px}
