.tph-gdpr[hidden], .tph-gdpr [hidden] { display: none !important; }
.tph-gdpr { position: fixed; inset: 0; z-index: 2147483646; display: flex; justify-content: center; background: color-mix(in srgb, var(--tph-overlay, #171923) 68%, transparent); padding: 24px; box-sizing: border-box; color: var(--tph-text, #202020); font: 15px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; opacity: 0; transition: opacity .2s ease; }
.tph-gdpr--bottom { align-items: flex-end; }
.tph-gdpr--center { align-items: center; }
.tph-gdpr__panel { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 44px); box-sizing: border-box; width: min(100%, 860px); max-height: min(88vh, 780px); overflow: auto; padding: clamp(24px, 4vw, 46px); background: var(--tph-surface, #fff); color: var(--tph-text, #202020); border: 1px solid rgba(30, 40, 50, .08); border-radius: 22px; box-shadow: 0 24px 90px rgba(0,0,0,.28); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.tph-gdpr--bottom .tph-gdpr__panel { transform: translateY(18px); }
.tph-gdpr--center .tph-gdpr__panel { transform: translateY(8px) scale(.985); }
.tph-gdpr--shown { opacity: 1; }
.tph-gdpr--shown .tph-gdpr__panel { opacity: 1; transform: translateY(0) scale(1); }
.tph-gdpr__art { display: flex; justify-content: center; align-items: center; min-width: 0; }
.tph-gdpr__art img { display: block; width: 100%; max-width: 190px; max-height: 280px; object-fit: contain; }
.tph-gdpr__content { min-width: 0; }
.tph-gdpr__eyebrow { margin: 0 0 7px; color: var(--tph-accent, #a32320); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.tph-gdpr h2 { margin: 0 0 12px; color: var(--tph-text, #202020); font-size: clamp(23px, 3vw, 32px); line-height: 1.16; letter-spacing: -.025em; }
.tph-gdpr p { margin: 0 0 14px; }
.tph-gdpr a { color: var(--tph-accent, #a32320); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tph-gdpr__policy { display: inline-block; margin: 0 0 20px; font-size: 13px; font-weight: 650; }
.tph-gdpr__legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; max-width: 100%; margin-top: 20px; font-size: 13px; }
.tph-gdpr__legal-links a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.tph-gdpr__settings-intro { color: color-mix(in srgb, var(--tph-text, #202020) 76%, transparent); }
.tph-gdpr__options { display: grid; gap: 8px; margin: 20px 0 24px; }
.tph-gdpr__option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 15px; border: 1px solid rgba(32,32,32,.12); border-radius: 12px; background: color-mix(in srgb, var(--tph-surface, #fff) 96%, var(--tph-text, #202020)); cursor: pointer; }
.tph-gdpr__option strong { display: block; margin: 0 0 2px; font-size: 14px; }
.tph-gdpr__option p { margin: 0; font-size: 12px; opacity: .75; }
.tph-gdpr__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tph-gdpr__switch { flex: 0 0 42px; height: 24px; border-radius: 20px; background: #a8afb8; transition: background .18s ease; }
.tph-gdpr__switch::after { display: block; content: ""; width: 18px; height: 18px; margin: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; transition: transform .18s ease; }
.tph-gdpr__option input:checked + .tph-gdpr__switch { background: var(--tph-accent, #a32320); }
.tph-gdpr__option input:checked + .tph-gdpr__switch::after { transform: translateX(18px); }
.tph-gdpr__option input:focus-visible + .tph-gdpr__switch { outline: 3px solid #2463eb; outline-offset: 3px; }
.tph-gdpr__option--locked { cursor: default; }
.tph-gdpr__locked { flex: 0 0 auto; color: #596273; font-size: 11px; font-weight: 700; }
.tph-gdpr__actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(12px, 2vw, 20px); row-gap: 4px; min-width: 0; max-width: 100%; }
.tph-gdpr__button { box-sizing: border-box; max-width: 100%; min-height: 44px; margin: 0; cursor: pointer; border: 1px solid rgba(32,32,32,.25); border-radius: 999px; padding: 10px 18px; background: transparent; color: var(--tph-text, #202020); font: inherit; font-weight: 650; line-height: 1.35; text-transform: none; letter-spacing: normal; white-space: normal; overflow-wrap: anywhere; transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.tph-gdpr__button:hover { transform: translateY(-1px); }
.tph-gdpr__button--accept, .tph-gdpr__button--save { min-height: 48px; padding-inline: 23px; background: var(--tph-accent, #a32320); color: #fff; border: 2px solid var(--tph-accent, #a32320); box-shadow: 0 4px 12px color-mix(in srgb, var(--tph-accent, #a32320) 28%, transparent); font-weight: 750; }
.tph-gdpr .tph-gdpr__button--reject, .tph-gdpr .tph-gdpr__button--customize { min-width: 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--tph-text, #202020); text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.tph-gdpr .tph-gdpr__button--reject:focus-visible { outline: none; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tph-gdpr__button:focus-visible, #tph-gdpr-reopen:focus-visible { outline: 3px solid #2463eb; outline-offset: 3px; }
#tph-gdpr-reopen { position: fixed; left: 16px; bottom: 16px; z-index: 2147483645; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; border: 1px solid rgba(32,32,32,.12); border-radius: 999px; padding: 6px 13px 6px 7px; background: var(--tph-surface, #fff); color: var(--tph-text, #202020); box-shadow: 0 4px 18px #0002; font: 650 13px/1 system-ui, sans-serif; }
#tph-gdpr-reopen img { display: block; width: 32px; height: 32px; object-fit: contain; }
#tph-gdpr-reopen.tph-gdpr__reopen--icon { width: 48px; height: 48px; justify-content: center; padding: 7px; }
#tph-gdpr-reopen.tph-gdpr__reopen--icon .tph-gdpr__reopen-label { display: none; }
#tph-gdpr-reopen.tph-gdpr__reopen--inline { position: static; left: auto; bottom: auto; z-index: auto; margin: 0; vertical-align: middle; box-shadow: none; }
#tph-gdpr-error { color: #a31616; margin-top: 12px; }
.tph-gdpr__blocked-video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: clamp(24px, 5vw, 40px); border: 1px dashed rgba(32, 32, 32, 0.18); border-radius: 16px; background: color-mix(in srgb, var(--tph-surface, #fff) 96%, var(--tph-text, #202020)); text-align: center; margin: 20px 0; }
.tph-gdpr__blocked-video p { margin: 0; font-size: 14px; font-weight: 500; color: var(--tph-text, #202020); }
.tph-gdpr__button--unblock { min-height: 40px; padding: 8px 20px; border-radius: 999px; background: var(--tph-accent, #a32320); color: #fff; border: none; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .15s ease, opacity .15s ease; box-shadow: 0 4px 12px color-mix(in srgb, var(--tph-accent, #a32320) 24%, transparent); }
.tph-gdpr__button--unblock:hover { transform: translateY(-1px); opacity: .94; }
.tph-gdpr__blocked-video a { font-size: 12px; color: var(--tph-accent, #a32320); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
 .tph-gdpr { padding: 12px; }
 .tph-gdpr__panel { display: block; width: 100%; max-height: 92vh; padding: 22px 20px; border-radius: 18px; }
 .tph-gdpr__art { float: right; width: 74px; height: 82px; margin: -6px -3px 8px 12px; }
 .tph-gdpr__art img { max-width: 74px; max-height: 82px; }
 .tph-gdpr h2 { font-size: 24px; }
 .tph-gdpr__actions { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.12fr); gap: 6px; }
 .tph-gdpr__button { min-width: 0; padding: 9px 7px; font-size: 12px; }
 .tph-gdpr__button--accept, .tph-gdpr__button--save { min-height: 46px; padding-inline: 7px; }
 .tph-gdpr--bottom { padding-bottom: 0; }
 .tph-gdpr--bottom .tph-gdpr__panel { border-radius: 18px 18px 0 0; max-height: 92vh; }
}
@media (max-width: 420px) {
 .tph-gdpr__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .tph-gdpr__button--accept, .tph-gdpr__button--save { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .tph-gdpr, .tph-gdpr *, #tph-gdpr-reopen { transition: none !important; } }
