#ttc-consent-root { --consent-bg: #171923; --consent-border: #4a4e61; --consent-text: #f4f4fa; color: var(--consent-text); font: 14px/1.5 Inter, system-ui, sans-serif; }
#ttc-consent-root [hidden] { display: none !important; }
#ttc-consent-root h2 { margin: 0 0 6px; font: 600 17px/1.3 Inter, system-ui, sans-serif; color: var(--consent-text); }
#ttc-consent-root p { margin: 0; color: #e1e2ec; font-size: 14px; }
#ttc-consent-root a { color: #c9bbff; text-decoration: underline; text-underline-offset: 3px; }
#ttc-consent-root button { appearance: none; min-height: 44px; padding: 9px 14px; border: 1px solid #777b90; border-radius: 8px; background: #252839; color: #fff; font: 600 13px/1.4 Inter, system-ui, sans-serif; cursor: pointer; white-space: normal; }
#ttc-consent-root button:hover { background: #34384e; border-color: #aaaec1; }
#ttc-consent-root :is(button, a, input):focus-visible { outline: 3px solid #c9bbff; outline-offset: 3px; }
.ttc-consent-banner { position: fixed; inset: auto 16px calc(16px + env(safe-area-inset-bottom)); z-index: 10001; display: flex; align-items: center; gap: 20px; max-width: 1040px; max-height: 50dvh; overflow-y: auto; margin: 0 auto; padding: 18px; border: 1px solid var(--consent-border); border-radius: 12px; background: var(--consent-bg); box-shadow: 0 8px 40px #0008; }
.ttc-consent-copy { flex: 1; min-width: 0; }
.ttc-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.ttc-consent-banner .ttc-consent-actions { flex: 0 1 420px; }
#ttc-consent-root .ttc-consent-status:not(:empty) { margin-top: 10px; color: #ffd68b; }
.ttc-consent-dialog { box-sizing: border-box; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; position: fixed; inset: 0; margin: auto; padding: 24px; border: 1px solid var(--consent-border); border-radius: 14px; color: var(--consent-text); background: var(--consent-bg); box-shadow: 0 12px 60px #000a; }
.ttc-consent-dialog::backdrop { background: #080914b8; }
.ttc-consent-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
#ttc-consent-root .ttc-consent-dialog-heading h2 { margin: 0; }
#ttc-consent-root [data-consent-close] { flex: 0 0 44px; width: 44px; font-size: 24px; padding: 0; }
.ttc-consent-option { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0; cursor: pointer; }
.ttc-consent-option input { flex: 0 0 20px; width: 20px; height: 20px; margin: 3px 0 0; accent-color: #a88eff; }
.ttc-consent-option strong { display: block; font-size: 14px; margin-bottom: 3px; }
.ttc-consent-option span span { display: block; color: #d3d5e3; font-size: 13px; }
.ttc-consent-dialog .ttc-consent-actions { margin-top: 20px; }
.ttc-consent-policy { display: inline-block; margin-top: 16px; }
@media (max-width: 700px) {
  .ttc-consent-banner { inset-inline: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); padding: 14px; flex-direction: column; align-items: stretch; gap: 12px; max-height: 55dvh; }
  .ttc-consent-banner .ttc-consent-actions { flex: auto; }
  .ttc-consent-actions button { flex: 1 1 130px; }
  .ttc-consent-dialog { padding: 18px; }
}
