/* TV Cookie Consent – popup + preferences modal. Colours come from Settings → Cookie Consent → Colors. */
.tvcc-root, .tvcc-blocked {
	/* fallbacks (the plugin overrides these from the Colors tab) */
	--tvcc-bg: #FFC70A; --tvcc-border: #FFC70A; --tvcc-text: #212121; --tvcc-link: #212121;
	--tvcc-b1-bg: #e1e1e1; --tvcc-b1-text: #363636; --tvcc-b1-border: #e1e1e1;
	--tvcc-b2-bg: #e1e1e1; --tvcc-b2-text: #363636; --tvcc-b2-border: #e1e1e1;
	--tvcc-b3-bg: #900000; --tvcc-b3-text: #ffffff; --tvcc-b3-border: #900000;
	--tvcc-d-bg: #f7f7f7; --tvcc-d-text: #212121; --tvcc-m-bg: #FFC70A; --tvcc-m-border: #FFC70A; --tvcc-m-text: #212121; --tvcc-toggle: #900000;
	--tvcc-revisit-bg: #900000; --tvcc-revisit-bgh: #760000; --tvcc-revisit-fg: #ffffff; --tvcc-link-hover: #000000;
	--tvcc-b1-bgh: #cfcfcf; --tvcc-b1-texth: #363636; --tvcc-b1-borderh: #cfcfcf;
	--tvcc-b2-bgh: #cfcfcf; --tvcc-b2-texth: #363636; --tvcc-b2-borderh: #cfcfcf;
	--tvcc-b3-bgh: #760000; --tvcc-b3-texth: #ffffff; --tvcc-b3-borderh: #760000;
	--tvcc-blocked-bg: #f4f4f4; --tvcc-blocked-bd: #d0d0d0; --tvcc-blocked-fg: #212121;
	--tvcc-radius: 6px;
	--tvcc-line: rgba(127, 127, 127, .3);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.tvcc-root *, .tvcc-root *::before, .tvcc-root *::after { box-sizing: border-box; }
.tvcc-root [hidden] { display: none !important; }
html.tvcc-lock { overflow: hidden; }

.tvcc-dialog:focus { outline: none; }
.tvcc-overlay { position: fixed; inset: 0; z-index: 2147483640; background: rgba(0, 0, 0, .55); }

.tvcc-dialog {
	position: fixed; z-index: 2147483641;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: calc(100% - 24px);
	border-radius: var(--tvcc-radius);
	box-shadow: 0 12px 48px rgba(0, 0, 0, .28);
	max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
}

/* ----- first-visit popup ----- */
.tvcc-banner { max-width: 520px; padding: 28px 30px; background: var(--tvcc-bg); color: var(--tvcc-text); border: 1px solid var(--tvcc-border); }
.tvcc-text { margin: 0 0 24px; font-size: 15px; line-height: 1.8; color: var(--tvcc-text); }
.tvcc-banner .tvcc-link { color: var(--tvcc-link); text-decoration: underline; }
.tvcc-link:hover { text-decoration: none; }
.tvcc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tvcc-banner-x { position: absolute; top: 8px; right: 10px; color: var(--tvcc-text); }

/* ----- preferences modal ----- */
.tvcc-modal { max-width: 634px; display: flex; flex-direction: column; overflow: hidden; height: min(484px, calc(100dvh - 24px)); background: var(--tvcc-m-bg); color: var(--tvcc-m-text); border: 1px solid var(--tvcc-m-border); }
.tvcc-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 8px; flex: 0 0 auto; min-height: 56px; }
.tvcc-modal-title { margin: 0; font-size: 16px; font-weight: 700; color: var(--tvcc-m-text); }
.tvcc-x { cursor: pointer; font-size: 26px; line-height: 1; }

.tvcc-body { flex: 1 1 auto; overflow-y: auto; padding: 8px 18px; scrollbar-width: thin; scrollbar-color: rgba(127,127,127,.6) transparent; outline-offset: -2px; }
.tvcc-body::-webkit-scrollbar { width: 8px; }
.tvcc-body::-webkit-scrollbar-thumb { background: rgba(127,127,127,.6); border-radius: 8px; }
.tvcc-intro { margin: 8px 0 14px; font-size: 13px; }
.tvcc-modal .tvcc-link { color: inherit; font-weight: 600; text-decoration: underline; }

.tvcc-cat { padding: 10px 0 12px; border-bottom: 1px solid var(--tvcc-line); }
.tvcc-cat:last-child { border-bottom: 0; }
.tvcc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
button.tvcc-cat-toggle { appearance: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.tvcc-chev { width: 7px; height: 7px; flex: 0 0 auto; margin: 0 3px 0 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; }
.tvcc-cat-toggle[aria-expanded="true"] .tvcc-chev { transform: rotate(45deg); }
.tvcc-cat-desc { margin: 6px 0 0 23px; font-size: 13px; }
.tvcc-always { font-size: 13px; font-weight: 700; white-space: nowrap; }

/* dropdown content (cookie details): off-white box like CookieYes – colours are settings */
#tvcc-root .tvcc-cookies { display: none !important; margin: 10px 0 0 23px; padding: 12px 14px 4px; border: 0; border-radius: 4px; background: var(--tvcc-d-bg) !important; color: var(--tvcc-d-text) !important; }
#tvcc-root .tvcc-cookies.tvcc-open { display: block !important; }
#tvcc-root .tvcc-cookies dt, #tvcc-root .tvcc-cookies dd, #tvcc-root .tvcc-cookies p { color: var(--tvcc-d-text) !important; }
.tvcc-cookie { margin: 0 0 10px; display: grid; grid-template-columns: 84px 1fr; gap: 4px 12px; font-size: 12px; }
.tvcc-cookie dt { font-weight: 700; }
.tvcc-cookie dd { margin: 0; word-break: break-word; }
.tvcc-none { margin: 0 0 8px; font-size: 12px; font-style: italic; }
.tvcc-cookie + .tvcc-cookie { border-top: 1px solid rgba(0, 0, 0, .1); padding-top: 10px; }

/* toggle switch */
.tvcc-switch { position: relative; display: inline-block; width: 32px; height: 18px; flex: 0 0 auto; cursor: pointer; }
.tvcc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.tvcc-slider { position: absolute; inset: 0; background: rgba(0, 0, 0, .28); border-radius: 18px; transition: background .15s ease; }
.tvcc-slider::before { content: ""; position: absolute; width: 14px; height: 14px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: transform .15s ease; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.tvcc-switch input:checked + .tvcc-slider { background: var(--tvcc-toggle); }
.tvcc-switch input:checked + .tvcc-slider::before { transform: translateX(14px); }
.tvcc-switch input:focus-visible + .tvcc-slider { outline: 2px solid currentColor; outline-offset: 2px; }

/* ============ interactive states ============
   Selectors start with #tvcc-root (an ID) so ordinary theme rules like `button:hover` or `.elementor button:hover`
   can never out-rank them. Colours (normal + hover) come from Settings → Cookie Consent → Colors. */
#tvcc-root button.tvcc-btn,
.tvcc-blocked.tvcc-blocked button.tvcc-btn {
	appearance: none !important; -webkit-appearance: none !important;
	display: inline-block; cursor: pointer; margin: 0; min-height: 38px; padding: 8px 14px !important;
	border-width: 1px !important; border-style: solid !important; border-radius: 2px !important;
	font: inherit; font-size: 13px !important; font-weight: 600 !important; line-height: 1.2 !important;
	letter-spacing: normal !important; text-transform: none !important; text-shadow: none !important; text-decoration: none !important;
	box-shadow: none !important; opacity: 1 !important; filter: none !important; transform: none !important;
	transition: background-color .15s ease, color .15s ease !important;
}
#tvcc-root button.tvcc-btn.tvcc-btn-1,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-1,
#tvcc-root button.tvcc-btn.tvcc-btn-1:focus,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-1:focus {
	background: var(--tvcc-b1-bg) !important; color: var(--tvcc-b1-text) !important; border-color: var(--tvcc-b1-border) !important; opacity: 1 !important; filter: none !important;
}
#tvcc-root button.tvcc-btn.tvcc-btn-1:hover,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-1:hover,
#tvcc-root button.tvcc-btn.tvcc-btn-1:active,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-1:active {
	background: var(--tvcc-b1-bgh) !important; color: var(--tvcc-b1-texth) !important; border-color: var(--tvcc-b1-borderh) !important; opacity: 1 !important; filter: none !important;
}
#tvcc-root button.tvcc-btn.tvcc-btn-2,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-2,
#tvcc-root button.tvcc-btn.tvcc-btn-2:focus,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-2:focus {
	background: var(--tvcc-b2-bg) !important; color: var(--tvcc-b2-text) !important; border-color: var(--tvcc-b2-border) !important; opacity: 1 !important; filter: none !important;
}
#tvcc-root button.tvcc-btn.tvcc-btn-2:hover,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-2:hover,
#tvcc-root button.tvcc-btn.tvcc-btn-2:active,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-2:active {
	background: var(--tvcc-b2-bgh) !important; color: var(--tvcc-b2-texth) !important; border-color: var(--tvcc-b2-borderh) !important; opacity: 1 !important; filter: none !important;
}
#tvcc-root button.tvcc-btn.tvcc-btn-3,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-3,
#tvcc-root button.tvcc-btn.tvcc-btn-3:focus,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-3:focus {
	background: var(--tvcc-b3-bg) !important; color: var(--tvcc-b3-text) !important; border-color: var(--tvcc-b3-border) !important; opacity: 1 !important; filter: none !important;
}
#tvcc-root button.tvcc-btn.tvcc-btn-3:hover,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-3:hover,
#tvcc-root button.tvcc-btn.tvcc-btn-3:active,
.tvcc-blocked.tvcc-blocked button.tvcc-btn.tvcc-btn-3:active {
	background: var(--tvcc-b3-bgh) !important; color: var(--tvcc-b3-texth) !important; border-color: var(--tvcc-b3-borderh) !important; opacity: 1 !important; filter: none !important;
}
#tvcc-root button.tvcc-btn:focus-visible, .tvcc-blocked.tvcc-blocked button.tvcc-btn:focus-visible { outline: 2px solid #000 !important; outline-offset: 2px !important; }

/* category titles (Necessary, Functional, ...) */
#tvcc-root button.tvcc-cat-toggle {
	appearance: none !important; background: none !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important;
	opacity: 1 !important; filter: none !important; text-transform: none !important; letter-spacing: normal !important; padding: 0 !important; margin: 0;
}
#tvcc-root button.tvcc-cat-toggle, #tvcc-root button.tvcc-cat-toggle:focus { background: none !important; color: var(--tvcc-cat-title, var(--tvcc-m-text)) !important; }
#tvcc-root button.tvcc-cat-toggle:hover, #tvcc-root button.tvcc-cat-toggle:active { background: none !important; color: var(--tvcc-cat-hover, var(--tvcc-m-text)) !important; }
#tvcc-root button.tvcc-cat-toggle:focus-visible { outline: 2px solid #000 !important; outline-offset: 2px !important; }
#tvcc-root button.tvcc-cat-toggle .tvcc-chev { border-color: currentColor !important; }

/* close × */
#tvcc-root button.tvcc-x { appearance: none !important; background: none !important; border: 0 !important; box-shadow: none !important; color: inherit !important; opacity: .75 !important; padding: 0 4px !important; margin: 0; filter: none !important; }
#tvcc-root button.tvcc-x:hover, #tvcc-root button.tvcc-x:focus, #tvcc-root button.tvcc-x:active { background: none !important; color: inherit !important; opacity: 1 !important; }
#tvcc-root button.tvcc-x:focus-visible { outline: 2px solid #000 !important; outline-offset: 2px !important; }

/* links */
#tvcc-root a.tvcc-link, #tvcc-root a.tvcc-link:visited, #tvcc-root a.tvcc-link:focus { color: inherit !important; opacity: 1 !important; }
#tvcc-root a.tvcc-link:hover { color: inherit !important; text-decoration: none !important; opacity: 1 !important; }
#tvcc-root .tvcc-banner a.tvcc-link, #tvcc-root .tvcc-banner a.tvcc-link:visited, #tvcc-root .tvcc-banner a.tvcc-link:focus { color: var(--tvcc-link) !important; }
#tvcc-root .tvcc-banner a.tvcc-link:hover { color: var(--tvcc-link-hover) !important; }
#tvcc-root a.tvcc-link:focus-visible { outline: 2px solid #000 !important; outline-offset: 2px !important; }

/* floating revisit button */
#tvcc-root button.tvcc-revisit { appearance: none !important; position: fixed !important; bottom: 16px; z-index: 2147483639; width: 44px; height: 44px; border-radius: 50% !important; border: 0 !important; padding: 0 !important; margin: 0; cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3) !important; opacity: 1 !important; filter: none !important; }
#tvcc-root button.tvcc-revisit[hidden] { display: none !important; }
#tvcc-root button.tvcc-revisit, #tvcc-root button.tvcc-revisit:focus { background: var(--tvcc-revisit-bg) !important; color: var(--tvcc-revisit-fg) !important; opacity: 1 !important; }
#tvcc-root button.tvcc-revisit:hover, #tvcc-root button.tvcc-revisit:active { background: var(--tvcc-revisit-bgh) !important; color: var(--tvcc-revisit-fg) !important; opacity: 1 !important; }
#tvcc-root button.tvcc-revisit:focus-visible { outline: 2px solid #000 !important; outline-offset: 2px !important; }
#tvcc-root button.tvcc-revisit.tvcc-left { left: 16px; }
#tvcc-root button.tvcc-revisit.tvcc-right { right: 16px; }

.tvcc-modal-foot { display: flex; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--tvcc-line); flex: 0 0 auto; }
.tvcc-modal-foot .tvcc-btn { flex: 1 1 0; }


/* placeholder for blocked embeds */
.tvcc-blocked { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; min-height: 200px; padding: 24px; margin: 0 0 1em; border: 1px solid var(--tvcc-blocked-bd); background: var(--tvcc-blocked-bg); color: var(--tvcc-blocked-fg); font-family: inherit; font-size: 14px; }
.tvcc-blocked p { margin: 0; }

@media (max-width: 520px) {
	.tvcc-banner { padding: 22px 20px; }
	.tvcc-modal-foot, .tvcc-actions { flex-direction: column; }
	.tvcc-modal { height: calc(100dvh - 24px); max-height: 560px; }
	.tvcc-cookie { grid-template-columns: 1fr; gap: 0; }
	.tvcc-cookie dd { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .tvcc-root *, .tvcc-blocked { transition: none !important; } }
