/* SC-0053 · static legal links, centered legal modal and OpenLigaDB/ODbL attribution */
.appLegalFooter{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px 18px;
  width:min(1120px,calc(100% - 32px));
  margin:26px auto 18px;
  padding:14px 16px;
  border-top:1px solid rgba(100,115,138,.22);
  color:#64738a;
  font:600 11px/1.4 Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.appLegalFooter nav{display:flex;align-items:center;gap:14px}
.appLegalFooter a,.authLegalLinks a,.sportsDataAttribution a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.appLegalFooter a:hover,.appLegalFooter a:focus-visible,.authLegalLinks a:hover,.authLegalLinks a:focus-visible,.sportsDataAttribution a:hover,.sportsDataAttribution a:focus-visible{color:#ff1858}
.authLegalLinks{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:12px;
  color:#64738a;
  font:650 11px/1.4 Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.sportsDataAttribution{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 7px;
  margin:10px 0 14px;
  padding:9px 11px;
  border:1px solid rgba(100,115,138,.24);
  border-radius:10px;
  background:rgba(246,248,251,.92);
  color:#526077;
  font:650 12px/1.45 Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.sportsDataAttribution strong{color:#344158;font-weight:800}
.legalModal{
  width:min(780px,calc(100vw - 32px));
  max-width:780px;
  height:min(82dvh,760px);
  max-height:calc(100dvh - 32px);
  margin:auto;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(100,115,138,.24);
  border-radius:20px;
  background:#fff;
  color:#172033;
  box-shadow:0 28px 80px rgba(7,17,31,.32);
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.legalModal::backdrop{background:rgba(7,17,31,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.legalModalPanel{display:flex;flex-direction:column;height:100%;min-height:0}
.legalModalHeader{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex:0 0 auto;
  padding:18px 20px;
  border-bottom:1px solid rgba(100,115,138,.18);
  background:#fff;
}
.legalModalHeader h2{margin:0;color:#172033;font-size:18px;line-height:1.25;font-weight:800}
.legalModalClose{
  display:inline-grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(100,115,138,.22);
  border-radius:12px;
  background:#f6f8fb;
  color:#172033;
  font:700 24px/1 system-ui,sans-serif;
  cursor:pointer;
}
.legalModalClose:hover,.legalModalClose:focus-visible{border-color:#ff1858;color:#ff1858;outline:none}
.legalModalScroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:20px 22px 26px;
  scroll-behavior:smooth;
}
.legalModalScroll:focus-visible{outline:2px solid #ff1858;outline-offset:-3px}
.legalModalDocument{max-width:70ch;margin:0 auto;font-size:13px;line-height:1.62;color:#334057}
.legalModalDocument h1,.legalModalDocument h2,.legalModalDocument h3{color:#172033;line-height:1.3}
.legalModalDocument h1{margin:0 0 18px;font-size:22px}
.legalModalDocument h2{margin:24px 0 8px;font-size:16px}
.legalModalDocument h3{margin:18px 0 6px;font-size:14px}
.legalModalDocument p,.legalModalDocument ul,.legalModalDocument ol{margin:0 0 12px}
.legalModalDocument ul,.legalModalDocument ol{padding-left:20px}
.legalModalDocument a{color:#d70d49;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.legalModalDocument .meta{color:#748197;font-size:11px}
.legalModalDocument[hidden]{display:none!important}
body.auth-locked>.appLegalFooter{display:none}
@media(max-width:700px){
  .appLegalFooter{width:calc(100% - 24px);margin:20px auto 12px;padding:12px;gap:8px 14px;text-align:center}
  .sportsDataAttribution{margin:9px 0 12px;padding:9px 10px;font-size:11.5px}
  .legalModal{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px);border-radius:16px}
  .legalModalHeader{padding:14px 14px 14px 16px}
  .legalModalHeader h2{font-size:17px}
  .legalModalScroll{padding:18px 16px 24px}
  .legalModalDocument{font-size:12.5px;line-height:1.6}
}
