/* Shared privacy controls; independent of page and destination themes. */
.tripsy-privacy-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; width: 100%; margin-top: 16px; font-size: .85rem; }
.tripsy-privacy-links a, .tripsy-privacy-links button, .tripsy-consent-links a, .tripsy-consent-links button { display: inline-flex; align-items: center; min-height: 44px; color: inherit; background: transparent; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.tripsy-consent, .tripsy-consent * { box-sizing: border-box; }
.tripsy-consent { color: #17212b; background: #fffdf8; border: 1px solid #e7e1d8; border-radius: 16px; padding: 24px; font: 16px/1.6 system-ui, sans-serif; text-align: left; box-shadow: 0 8px 40px #17212b20; }
.tripsy-consent[hidden] { display: none; }
.tripsy-consent-banner { position: fixed; z-index: 1000; bottom: 16px; right: 16px; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; }
.tripsy-consent h2 { margin: 0 0 12px; color: #17212b; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.02em; }
.tripsy-consent h3 { margin: 0 0 6px; font-size: 1rem; color: #17212b; }
.tripsy-consent p { margin: 0; color: #17212b; font-size: .95rem; line-height: 1.65; }
.tripsy-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tripsy-consent .tripsy-consent-button { flex: 1 1 200px; min-height: 48px; border: 1px solid #17212b; border-radius: 8px; padding: 12px 16px; color: #17212b; background: transparent; font: inherit; font-size: .95rem; font-weight: 650; line-height: 1.4; cursor: pointer; }
.tripsy-consent .tripsy-consent-accept { background: #e96b4c; border-color: #e96b4c; color: #17212b; }
.tripsy-consent-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 12px; font-size: .85rem; }
.tripsy-consent-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; overflow-y: auto; }
.tripsy-consent-dialog::backdrop { background: #17212b66; }
.tripsy-consent-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.tripsy-consent .tripsy-consent-close { flex-shrink: 0; min-width: 44px; min-height: 44px; margin-top: -8px; border: 1px solid #e7e1d8; border-radius: 6px; background: transparent; color: #17212b; font: 24px/1 system-ui, sans-serif; cursor: pointer; }
.tripsy-consent-category { border-top: 1px solid #e7e1d8; padding-block: 20px; }
.tripsy-consent-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; font-weight: 650; cursor: pointer; }
.tripsy-consent-toggle input { width: 24px; height: 24px; margin: 0; accent-color: #b9472e; }
.tripsy-consent :focus-visible, .tripsy-privacy-links :focus-visible { outline: 3px solid #17212b; outline-offset: 4px; }
.tripsy-consent-status:empty { display: none; }
.tripsy-consent-status:not(:empty) { position: fixed; z-index: 1001; bottom: 16px; left: 16px; max-width: calc(100% - 32px); margin: 0; padding: 16px; background: #fffdf8; color: #17212b; border: 1px solid #e7e1d8; font: 14px/1.5 system-ui, sans-serif; }
