.legal-document { overflow-wrap: anywhere; }
.legal-document p { margin: 0 0 16px; }
.legal-document ul { padding-left: 1.4em; margin: 0 0 20px; }
.legal-document li { margin-bottom: 10px; }
.legal-document h2[id] { scroll-margin-top: calc(var(--header-height) + 56px); }
.legal-document-meta { color: #b1b1bd; font-size: .85rem; }
.legal-document-lead { font-size: 1.1rem; }
.legal-document a { color: #8dc3ff; text-underline-offset: 3px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 20px 0; border-block: 1px solid #363640; margin: 28px 0; }
.legal-note { padding: 20px; border: 1px solid #454550; background: #1c1c23; margin: 24px 0; }
.legal-note p:last-child { margin-bottom: 0; }
.legal-definitions dt { color: #fff; font-weight: 650; margin-top: 22px; }
.legal-definitions dd { margin: 8px 0 0; line-height: 1.65; }
.legal-table-wrap { overflow-x: auto; margin: 24px 0; }
.legal-table-wrap table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.legal-table-wrap caption { text-align: left; margin-bottom: 12px; }
.legal-table-wrap th, .legal-table-wrap td { text-align: left; padding: 12px; border: 1px solid #454550; vertical-align: top; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 20px; }
.legal-links a, .legal-links button { color: #c5c5ce; font: inherit; font-size: .85rem; line-height: 1.5; padding: 9px 0; }
.legal-links button { border: 0; background: none; text-decoration: underline; cursor: pointer; }
.legal-links a:hover, .legal-links button:hover { color: #fff; }
.checkout-purchase-note { color: #c5c5ce; font-size: .86rem; line-height: 1.6; margin: 0 0 20px; }
.checkout-purchase-note a, .checkout-consent a { color: #8dc3ff; }
.checkout-consent input:focus-visible { outline: 3px solid #8dc3ff; outline-offset: 4px; }
.legal-settings-button, .cookie-banner button { font: inherit; font-size: .92rem; color: #fff; border: 1px solid #777783; background: #26262f; border-radius: 8px; min-height: 44px; padding: 11px 16px; cursor: pointer; }
.legal-settings-button:hover, .cookie-banner button:hover { background: #3c3c48; }
.cookie-banner { position: fixed; z-index: 100000; bottom: max(20px, env(safe-area-inset-bottom)); right: 20px; width: min(540px, calc(100% - 40px)); padding: 24px; color: #eeeef2; background: #17171f; border: 1px solid #626272; border-radius: 14px; max-height: calc(100dvh - 120px); overflow-y: auto; }
.cookie-banner h2 { font-size: 1.2rem; margin: 0 0 12px; color: #fff; }
.cookie-banner p { font-size: .9rem; line-height: 1.6; margin: 0 0 12px; }
.cookie-banner a { color: #8dc3ff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner-actions button { flex: 1 1 190px; }
.cookie-banner :focus-visible, .legal-links :focus-visible, .legal-document :focus-visible { outline: 3px solid #8dc3ff; outline-offset: 4px; }
.cookie-banner .cookie-choice-status:empty { display: none; }
.cookie-banner[hidden], [data-cookie-settings][hidden] { display: none !important; }
@media (max-width: 540px) { .cookie-banner { bottom: 12px; right: 12px; width: calc(100% - 24px); padding: 18px; } .legal-links { gap: 0 14px; } }
@media (max-width: 992px) {
    .cookie-banner { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); max-height: calc(100dvh - var(--header-height) - 32px); overscroll-behavior: contain; }
    .cookie-banner-actions button { min-height: 48px; }
    .legal-links a, .legal-links button { display: inline-flex; align-items: center; min-height: 44px; }
}
