.my-obl-cookie-consent.is-debug-preview::before {
	content: '调试预览';
	position: absolute;
	top: 0;
	right: 16px;
	transform: translateY(-100%);
	padding: 3px 10px;
	border-radius: 4px 4px 0 0;
	background: #111111;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.my-obl-cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	padding: 0;
	pointer-events: none;
	font-family: inherit;
}

.my-obl-cookie-consent.is-open {
	pointer-events: auto;
}

.my-obl-cookie-consent__panel {
	max-width: none;
	margin: 0;
	background: var(--my-obl-cc-bg, #ffffff);
	color: var(--my-obl-cc-text, #111111);
	border-top: 1px solid #e5e5e5;
	border-radius: 0;
	box-shadow: 0 -8px 32px rgba(17, 17, 17, 0.08);
	padding: 20px clamp(16px, 2.4vw, 40px);
}

.my-obl-cookie-consent__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: clamp(16px, 2vw, 32px);
	row-gap: 8px;
	align-items: center;
	max-width: 1600px;
	margin: 0 auto;
}

.my-obl-cookie-consent__title {
	grid-column: 1;
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--my-obl-cc-text, #111111) !important;
}

.my-obl-cookie-consent__message {
	grid-column: 1;
	margin: 0;
	max-width: 920px;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 400;
	color: var(--my-obl-cc-message-text, var(--my-obl-cc-text, #111111)) !important;
}

.my-obl-cookie-consent__links {
	grid-column: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	font-size: 15px;
}

.my-obl-cookie-consent__links a {
	color: var(--my-obl-cc-message-text, var(--my-obl-cc-text, #111111)) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(17, 17, 17, 0.35);
	transition: text-decoration-color 0.2s ease;
}

.my-obl-cookie-consent__links a:hover {
	text-decoration-color: #111111;
}

.my-obl-cookie-consent__actions {
	grid-column: 2;
	grid-row: 1 / span 3;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	align-self: center;
}

.my-obl-cookie-consent__btn {
	appearance: none;
	box-shadow: none;
	background-image: none;
	text-shadow: none;
	border: 1px solid transparent;
	border-radius: 5px;
	padding: 13px 26px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: filter 0.2s ease, border-color 0.2s ease;
}

.my-obl-cookie-consent__btn:hover {
	opacity: 1;
}

.my-obl-cookie-consent__btn--primary {
	background-color: var(--my-obl-cc-btn-primary-bg, #111111) !important;
	color: var(--my-obl-cc-btn-primary-text, #ffffff) !important;
	border-color: var(--my-obl-cc-btn-primary-bg, #111111) !important;
}

.my-obl-cookie-consent__btn--primary:hover {
	filter: brightness(0.92);
	color: var(--my-obl-cc-btn-primary-text, #ffffff) !important;
}

.my-obl-cookie-consent__btn--reject {
	background-color: var(--my-obl-cc-btn-reject-bg, #ffffff) !important;
	color: var(--my-obl-cc-btn-reject-text, #111111) !important;
	border-color: var(--my-obl-cc-btn-reject-text, #111111) !important;
}

.my-obl-cookie-consent__btn--reject:hover {
	filter: brightness(0.96);
	color: var(--my-obl-cc-btn-reject-text, #111111) !important;
	background-color: var(--my-obl-cc-btn-reject-bg, #ffffff) !important;
}

.my-obl-cookie-consent__btn--secondary {
	background-color: var(--my-obl-cc-btn-secondary-bg, #ffffff) !important;
	color: var(--my-obl-cc-btn-secondary-text, #111111) !important;
	border-color: var(--my-obl-cc-btn-secondary-text, #111111) !important;
}

.my-obl-cookie-consent__btn--secondary:hover {
	filter: brightness(0.96);
	color: var(--my-obl-cc-btn-secondary-text, #111111) !important;
	background-color: var(--my-obl-cc-btn-secondary-bg, #ffffff) !important;
}

.my-obl-cookie-consent__preferences {
	margin-top: 14px;
	padding-top: 16px;
	border-top: 1px solid #ececec;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
}

.my-obl-cookie-consent__categories {
	display: grid;
	gap: 10px;
	margin-bottom: 14px;
}

.my-obl-cookie-consent__category {
	padding: 12px 14px;
	border-radius: 8px;
	background: #fafafa;
	border: 1px solid #ececec;
}

.my-obl-cookie-consent__category-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 4px;
}

.my-obl-cookie-consent__category-head strong {
	font-size: 15px;
	font-weight: 600;
	color: #111111;
}

.my-obl-cookie-consent__category p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #666666;
}

.my-obl-cookie-consent__switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.my-obl-cookie-consent__switch input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.my-obl-cookie-consent__switch-ui {
	width: 42px;
	height: 24px;
	border-radius: 999px;
	background: #d9d9d9;
	position: relative;
	transition: background 0.2s ease;
}

.my-obl-cookie-consent__switch-ui::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	transition: transform 0.2s ease;
}

.my-obl-cookie-consent__switch input:checked + .my-obl-cookie-consent__switch-ui {
	background: var(--my-obl-cc-btn-primary-bg, #111111);
}

.my-obl-cookie-consent__switch input:checked + .my-obl-cookie-consent__switch-ui::after {
	transform: translateX(18px);
}

.my-obl-cookie-consent__switch input:disabled + .my-obl-cookie-consent__switch-ui {
	opacity: 0.55;
}

.my-obl-cookie-consent__actions--preferences {
	justify-content: flex-start;
}

html.my-obl-cookie-consent-active {
	scroll-padding-bottom: 110px;
}

@media (max-width: 849px) {
	.my-obl-cookie-consent__panel {
		padding: 16px;
	}

	.my-obl-cookie-consent__main {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}

	.my-obl-cookie-consent__actions {
		grid-column: 1;
		grid-row: auto;
		justify-content: stretch;
	}

	.my-obl-cookie-consent__btn {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
		padding: 12px 18px;
	}
}

@media (max-width: 549px) {
	.my-obl-cookie-consent__title {
		font-size: 17px;
	}

	.my-obl-cookie-consent__message,
	.my-obl-cookie-consent__links {
		font-size: 14px;
	}

	.my-obl-cookie-consent__btn {
		flex: 1 1 100%;
	}
}
