/* Landline Man Cookie Consent */
.ucc-root, .ucc-embed, .ucc-policy {
	--ucc-bg: #fff;
	--ucc-text: #1f2933;
	--ucc-accent: #f89732;
	--ucc-accent-text: #182838;
	--ucc-radius: 10px;
}
.ucc-root, .ucc-root *, .ucc-embed, .ucc-embed * { box-sizing: border-box; }
.ucc-root {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ucc-text);
}
.ucc-root [hidden] { display: none !important; }
.ucc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Banner */
.ucc-banner {
	position: fixed;
	z-index: 2147483000;
	background: var(--ucc-bg);
	color: var(--ucc-text);
	box-shadow: 0 -2px 24px rgba(0, 0, 0, 0.18);
}
.ucc-pos-bottom { left: 0; right: 0; bottom: 0; }
.ucc-pos-bottom .ucc-banner-inner {
	max-width: 1160px; margin: 0 auto; padding: 18px 20px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
}
.ucc-pos-bottom .ucc-banner-text { flex: 1 1 420px; }
.ucc-pos-box-left, .ucc-pos-box-right { bottom: 16px; width: 400px; max-width: calc(100vw - 32px); border-radius: var(--ucc-radius); }
.ucc-pos-box-left { left: 16px; }
.ucc-pos-box-right { right: 16px; }
.ucc-pos-box-left .ucc-banner-inner, .ucc-pos-box-right .ucc-banner-inner { padding: 20px; }
.ucc-pos-box-left .ucc-actions, .ucc-pos-box-right .ucc-actions { margin-top: 14px; }

.ucc-root .ucc-title { margin: 0 0 4px; padding: 0; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--ucc-text); font-family: inherit; letter-spacing: 0; text-transform: none; }
.ucc-root p { margin: 0 0 8px; color: var(--ucc-text); font-size: 15px; }
.ucc-banner p:last-child { margin-bottom: 0; }
.ucc-root .ucc-link { color: inherit; text-decoration: underline; }

.ucc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ucc-root .ucc-btn, .ucc-embed .ucc-btn, .ucc-policy .ucc-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 18px; margin: 0;
	border-radius: 8px; border: 2px solid var(--ucc-accent);
	font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
	cursor: pointer; text-decoration: none; text-transform: none; letter-spacing: 0;
	box-shadow: none;
}
.ucc-btn-primary { background: var(--ucc-accent); color: var(--ucc-accent-text); }
.ucc-btn-secondary { background: transparent; color: inherit; border-color: currentColor !important; }
.ucc-btn:hover { filter: brightness(1.06); }
.ucc-root button:focus-visible, .ucc-root input:focus-visible, .ucc-root summary:focus-visible, .ucc-root a:focus-visible, .ucc-embed button:focus-visible {
	outline: 3px solid #1d70b8; outline-offset: 2px;
}

/* Floating settings button */
.ucc-fab {
	position: fixed; bottom: 16px; z-index: 2147482000;
	width: 44px; height: 44px; padding: 0; margin: 0;
	border-radius: 50%; border: 0;
	background: var(--ucc-accent); color: var(--ucc-accent-text);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.ucc-fab-left { left: 16px; }
.ucc-fab-right { right: 16px; }

/* Preferences dialog */
html.ucc-noscroll { overflow: hidden; }
.ucc-overlay {
	position: fixed; inset: 0; z-index: 2147483001;
	background: rgba(15, 23, 32, 0.55);
	display: flex; align-items: center; justify-content: center; padding: 16px;
}
.ucc-dialog {
	background: var(--ucc-bg); color: var(--ucc-text);
	width: 640px; max-width: 100%; max-height: calc(100vh - 32px);
	border-radius: var(--ucc-radius); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	display: flex; flex-direction: column;
}
.ucc-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 8px; }
.ucc-dialog-body { padding: 0 20px; overflow-y: auto; }
.ucc-dialog-actions { padding: 16px 20px 20px; border-top: 1px solid rgba(127, 127, 127, 0.25); }
.ucc-root .ucc-close {
	width: 40px; height: 40px; margin: -6px -8px 0 0; padding: 0; border: 0; background: transparent;
	color: var(--ucc-text); font-size: 28px; line-height: 1; cursor: pointer;
}
.ucc-status-line { font-size: 13px !important; opacity: 0.8; word-break: break-all; }
.ucc-cat { padding: 14px 0; border-top: 1px solid rgba(127, 127, 127, 0.25); }
.ucc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ucc-cat-label { font-weight: 700; font-size: 16px; cursor: pointer; }
.ucc-cat-desc { margin: 6px 0 4px !important; font-size: 14px !important; }
.ucc-always { font-size: 13px; font-weight: 700; opacity: 0.75; white-space: nowrap; }
.ucc-details summary { cursor: pointer; font-size: 14px; text-decoration: underline; }
.ucc-details[open] summary { margin-bottom: 6px; }

/* Switch */
.ucc-switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: none; }
.ucc-root .ucc-switch-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ucc-switch-ui { position: absolute; inset: 0; border-radius: 28px; background: #9aa5b1; transition: background 0.15s; }
.ucc-switch-ui::after {
	content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
	border-radius: 50%; background: #fff; transition: transform 0.15s;
}
.ucc-switch-input:checked + .ucc-switch-ui { background: var(--ucc-accent); }
.ucc-switch-input:checked + .ucc-switch-ui::after { transform: translateX(20px); }
.ucc-switch-input:focus-visible + .ucc-switch-ui { outline: 3px solid #1d70b8; outline-offset: 2px; }

/* Tables */
.ucc-table-wrap { overflow-x: auto; }
.ucc-cookie-table, .ucc-policy-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0 0 8px; }
.ucc-cookie-table th, .ucc-cookie-table td, .ucc-policy-table th, .ucc-policy-table td {
	text-align: left; vertical-align: top; padding: 6px 8px; border: 1px solid rgba(127, 127, 127, 0.3);
}
.ucc-cookie-table code, .ucc-policy-table code { font-size: 12px; word-break: break-all; }
.ucc-policy-table { font-size: 14px; }
.ucc-policy .ucc-note { font-size: 14px; opacity: 0.8; }

/* Blocked embed placeholder */
.ucc-embed {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 200px; padding: 20px; margin: 0 0 1em;
	background: #eef1f4; color: #1f2933; border-radius: 8px; text-align: center;
	font-family: inherit; font-size: 15px;
}
.ucc-embed p { margin: 0; }

@media (max-width: 600px) {
	.ucc-pos-bottom .ucc-banner-inner { padding: 16px; }
	.ucc-actions .ucc-btn { flex: 1 1 100%; }
	.ucc-pos-box-left, .ucc-pos-box-right { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; }
	.ucc-overlay { padding: 0; align-items: flex-end; }
	.ucc-dialog { max-height: 92vh; border-radius: var(--ucc-radius) var(--ucc-radius) 0 0; }
	.ucc-banner { max-height: 80vh; overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.ucc-switch-ui, .ucc-switch-ui::after { transition: none; }
}
@media print {
	.ucc-root { display: none !important; }
}
