/* BetTipMax navigation cards — shared across public, account and admin pages. */
body :is(nav>a,.btm-guide-links>a,.btm-legal-footer>a,.contact-nav>a,.bg-share>a,.btm-home-shortcuts>a,.account-access-help>a){display:inline-flex;align-items:center;gap:14px;box-sizing:border-box;min-height:56px;max-width:100%;padding:15px 20px;border:1px solid #30424e;border-radius:15px;background:#172127;color:#b8cde0;font:500 16px/1.45 system-ui,sans-serif;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:none;transition:background-color .15s,border-color .15s,color .15s}
body :is(nav>a,.btm-guide-links>a,.btm-legal-footer>a,.contact-nav>a,.bg-share>a,.btm-home-shortcuts>a,.account-access-help>a):hover,body nav>a:is([aria-current=page],.active){background:#202f31;border-color:#758a46;color:#d0ef79}
body :is(nav>a,.btm-guide-links>a,.btm-legal-footer>a,.contact-nav>a,.bg-share>a,.btm-home-shortcuts>a,.account-access-help>a):focus-visible{outline:3px solid #d0ef79;outline-offset:4px}
body :is(nav>a,.btm-guide-links>a) img{flex-shrink:0;object-fit:contain}
body :is(main>nav,.language-nav,nav.languages,.btm-guide-links,.btm-home-shortcuts,.contact-nav,.btm-legal-footer,.account-access-help){display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
body :is(main>nav,.language-nav,nav.languages,.btm-guide-links,.btm-home-shortcuts,.contact-nav,.btm-legal-footer,.account-access-help)>a{flex:1 1 240px}
body nav.btm-nav>a{display:flex;width:100%;margin-block:6px}
body nav.discovery-nav{display:grid}
body nav.pagination>a{flex:0 1 auto;min-width:48px;justify-content:center}
@media(max-width:600px){body :is(main>nav,.language-nav,nav.languages,.btm-guide-links,.btm-home-shortcuts,.contact-nav,.btm-legal-footer,.account-access-help)>a{flex-basis:100%;width:100%;min-height:64px;padding:18px 22px}body nav.pagination>a{flex-basis:auto;width:auto}body nav.discovery-nav{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body :is(nav>a,.btm-guide-links>a,.btm-legal-footer>a,.contact-nav>a,.bg-share>a,.btm-home-shortcuts>a,.account-access-help>a){transition:none}}
@media print{body :is(nav,.btm-guide-links,.btm-legal-footer,.contact-nav,.btm-home-shortcuts){display:none!important}}

/* Compact homepage shortcuts: keep the four existing links in two mobile rows. */
@media screen and (max-width:640px){
 body nav.btm-home-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
 body nav.btm-home-shortcuts>a{display:flex;align-items:center;justify-content:flex-start;min-width:0;width:100%;max-width:100%;min-height:48px;height:auto;margin:0;padding:8px 10px;border-radius:10px;gap:6px;font-size:13px;line-height:1.3;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
}

/* Compact related-page links and consistent standalone-page back navigation. */
.btm-explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.btm-explore-grid>a,body .btm-page-back{display:flex;align-items:center;gap:12px;min-width:0;min-height:48px;box-sizing:border-box;padding:12px 16px;border:1px solid #344a58;border-radius:13px;background:#172127;color:#bed1e2;text-decoration:none;font:600 14px/1.4 system-ui,sans-serif;overflow-wrap:anywhere;transition:background-color .15s,border-color .15s}
.btm-explore-grid>a:after{content:'→';margin-inline-start:auto;color:#cfed87;font-size:20px;flex-shrink:0}
.btm-explore-grid>a:hover,body .btm-page-back:hover{background:#223134;border-color:#78924e;color:#dbf49a}
.btm-explore-grid>a:focus-visible,body .btm-page-back:focus-visible{outline:3px solid #d0ef79;outline-offset:3px}
.btm-page-back-row{display:flex;margin:0 0 18px;clear:both}
body .btm-page-back{display:inline-flex;width:auto;min-height:42px;padding:9px 15px;flex:none}
.btm-page-back-arrow{color:#cfed87;font-size:21px;line-height:1}
[dir=rtl] .btm-page-back-arrow{transform:scaleX(-1)}
[dir=rtl] .btm-explore-grid>a:after{content:'←'}
@media(max-width:700px){.btm-explore-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.btm-explore-grid>a{padding:10px 12px;font-size:13px;gap:8px}.btm-page-back-row{margin-bottom:12px}}
@media(max-width:340px){.btm-explore-grid{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.btm-explore-grid>a,body .btm-page-back{transition:none}}
@media print{.btm-page-back-row,.btm-explore-grid{display:none!important}}
