.footer-legal { display: flex; align-items: center; flex-wrap: nowrap; gap: 18px; min-width: 0; }
.session-checking #main { visibility: hidden; }
.compact-footer { font-size: 11px; }
.footer-legal a, .footer-legal button { display: inline-flex; align-items: center; min-height: 28px; }
.footer-legal a, .footer-legal button { white-space: nowrap; color: var(--muted); font: inherit; }
.footer-legal button { border: 0; padding: 0; background: none; }
.footer-legal :is(a,button):hover { color: var(--ink); text-decoration: underline; }
.legal-page { gap: 14px; }
.legal-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; flex-shrink: 0; }
.legal-heading h1 { font-family: var(--body); font-weight: 700; font-size: clamp(22px,2.4vw,34px); letter-spacing: -.025em; line-height: 1.2; margin: 0; }
.legal-heading > span { font-size: 12px; color: var(--muted); }
.legal-nav { display: flex; justify-content: flex-start; align-items: center; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); flex: 0 0 auto; margin: 0; padding: 0; }
.legal-nav a { display: block; padding: 8px 0 10px; color: var(--muted); font-size: 13px; }
.legal-nav a[aria-current=page] { color: var(--ink); border-bottom: 2px solid var(--accent); }
.legal-content { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 24px 0; font-size: 14px; line-height: 1.75; }
.legal-content section, .legal-content > p { max-width: 75ch; }
.legal-content h2 { font: 600 20px/1.35 var(--body); margin: 28px 0 10px; }
.legal-content p { margin: 10px 0; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-operator { color: var(--muted); }
.cookie-notice { position: fixed; z-index: 45; left: 24px; bottom: 130px; width: min(510px,calc(100% - 48px)); padding: 20px; background: var(--surface); color: var(--ink); border: 1px solid #65717c; box-shadow: 0 10px 28px #0005; }
.cookie-notice strong { display: block; font-size: 15px; line-height: 1.4; }
.cookie-notice p { margin: 8px 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cookie-notice-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookie-notice-actions > a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions .button { min-height: 42px; padding: 8px 20px; }
@media (max-width:760px) {
  .footer-legal { gap: 12px; }
  .cookie-notice { bottom: 118px; left: 16px; width: calc(100% - 32px); padding: 16px; }
  .legal-page { gap: 10px; }
  .legal-nav { gap: 16px; }
  .legal-content { font-size: 13px; padding-right: 10px; }
}
@media (max-width:440px) { .compact-footer { font-size: 10px; } .footer-legal { gap: 9px; } }
@media (max-height:600px) {
  .cookie-notice { bottom: 96px; padding: 12px 16px; }
  .cookie-notice p { margin: 5px 0 10px; }
  .legal-heading h1 { font-size: 22px; }
}
