@charset "utf-8";

/* ==========================================================================
   平台页 Cookie / 隐私授权弹窗（底部通栏 + 居中偏好弹层）。

   由公共片段 fragments/cookie-consent.html 引入，各平台页只需 th:replace 该片段一行。

   为什么自成一份、不并进 platform.css：
   片段要在「平台页壳」与「厂商展位页壳」两种页面里通用，而两种壳的 :root 令牌
   与全局 reset 并不一致（展位页有 * { margin:0; padding:0 } 的 reset，平台页没有）。
   因此本文件里所有取值写成常量、所有元素显式给 box-sizing，不引用任何页面令牌。
   片段插在 </body> 之前，本文件在页面自己的 CSS 之后加载，同权重冲突由本文件胜出。

   取值来源（与 platform.css 的顶栏、页脚同一套）：
     #0D6AED 主色 / #0A57C4 主色 hover / #202933 正文 / #6B7280 次要
     #7E8790 弱化 / #E5E7EB 边框 / #F3F4F6 灰按钮底 / #C9CDD6 关闭态轨道
     圆角 6px（按钮）、12px（弹层）/ 阴影 rgba(30,60,120,.12)
   宽断点与平台页一致：基数 1440，@media (max-width:1500px) 转 1200，
   @media (max-width:1023px) 转移动端单列（与 platform-wap.css 同一条断点）。
   ========================================================================== */

/* ===== 1. 底部通栏 ===== */

.ckc-bar20261021 {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	box-sizing: border-box;
	background: #FFFFFF;
	border-top: 1px solid #E5E7EB;
	box-shadow: 0 -8px 24px rgba(30, 60, 120, .12);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
	color: #202933;
	line-height: normal;
}

/* hidden 由脚本控制：没有有效同意才移除，已选过的访客不会看到一闪而过 */
.ckc-bar20261021[hidden] {
	display: none;
}

/* 通栏是 fixed，不占文档流。脚本把它的高度写进 --ckc-bar-h，
   页面底部据此留白，页脚内容才不会被压在通栏下面。
   仅在有通栏的首次访问生效（html.ckc-bar-on 由脚本加、表态后移除）。
   此规则权重高于各页 body.has-sticky 的留白：通栏 z-index 高于手机端吸底操作条，
   两条同时存在时只见通栏，留白按通栏高度即可，表态后自动恢复原留白。 */
html.ckc-bar-on body {
	padding-bottom: var(--ckc-bar-h, 0px);
}

.ckc-bar-in20261021 {
	/* 用 width:100% + max-width：1024～1199px 视口下若写死 1200px 会撑出横向滚动条 */
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 18px 0;
	display: flex;
	align-items: center;
	gap: 32px;
}

.ckc-bar-txt20261021 {
	flex: 1 1 auto;
	min-width: 0;
}

.ckc-bar-title20261021 {
	margin: 0 0 6px;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 22px;
	color: #202933;
}

/* 说明段默认 3 行截断。只写 -webkit- 前缀属性：
   同时声明标准 line-clamp 会让 Chrome 把该元素 blockify，行高与折行都会变。 */
.ckc-bar-body20261021 {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 22px;
	color: #6B7280;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.ckc-bar-body20261021.ckc-open20261021 {
	display: block;
	overflow: visible;
}

.ckc-more20261021 {
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 13px;
	line-height: 20px;
	color: #0D6AED;
	text-decoration: underline;
	cursor: pointer;
}

.ckc-more20261021:hover {
	color: #0A57C4;
}

.ckc-bar-act20261021 {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

/* ===== 2. 按钮 ===== */

.ckc-btn20261021 {
	box-sizing: border-box;
	height: 40px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 6px;
	font-family: inherit;
	font-size: 14px;
	line-height: 38px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s;
}

.ckc-btn-primary20261021 {
	background: #0D6AED;
	color: #FFFFFF;
}

.ckc-btn-primary20261021:hover {
	background: #0A57C4;
}

.ckc-btn-gray20261021 {
	background: #F3F4F6;
	color: #202933;
	border-color: #E5E7EB;
}

.ckc-btn-gray20261021:hover {
	background: #E5E7EB;
}

.ckc-link20261021 {
	box-sizing: border-box;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	color: #0D6AED;
	text-decoration: underline;
	cursor: pointer;
}

.ckc-link20261021:hover {
	color: #0A57C4;
}

/* 键盘可见焦点：只给本弹窗内的控件，不动页面现有样式 */
.ckc-bar20261021 :focus-visible,
.ckc-mask20261021 :focus-visible {
	outline: 2px solid #0D6AED;
	outline-offset: 2px;
}

/* ===== 3. 偏好弹层 ===== */

.ckc-mask20261021 {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 901;
	box-sizing: border-box;
	padding: 24px;
	background: rgba(16, 24, 40, .5);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
	color: #202933;
}

.ckc-mask20261021[hidden] {
	display: none;
}

.ckc-modal20261021 {
	width: 880px;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	box-sizing: border-box;
	background: #FFFFFF;
	border-radius: 12px;
	box-shadow: 0 24px 64px rgba(16, 24, 40, .24);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ckc-modal-hd20261021 {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 24px 16px;
	border-bottom: 1px solid #E5E7EB;
}

.ckc-modal-title20261021 {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	color: #202933;
}

.ckc-close20261021 {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	font-family: inherit;
	font-size: 20px;
	line-height: 28px;
	color: #7E8790;
	cursor: pointer;
}

.ckc-close20261021:hover {
	background: #F3F4F6;
	color: #202933;
}

.ckc-modal-bd20261021 {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 16px 24px 8px;
}

.ckc-modal-desc20261021 {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 22px;
	color: #6B7280;
}

/* ===== 4. 类别折叠面板 ===== */

.ckc-acc20261021 {
	margin-top: 16px;
	border-top: 1px solid #E5E7EB;
}

.ckc-acc-item20261021 {
	border-bottom: 1px solid #E5E7EB;
}

.ckc-acc-hd-row20261021 {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
}

/* 标题按钮占满剩余宽度，点标题只做展开/收起，不碰开关 */
.ckc-acc-hd20261021 {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: #202933;
	cursor: pointer;
	text-align: left;
}

.ckc-acc-name20261021 {
	flex: 0 1 auto;
}

.ckc-acc-flag20261021 {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	color: #7E8790;
}

/* 展开箭头：边框画的两条边，收起时朝右，展开时朝下 */
.ckc-acc-arrow20261021 {
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #7E8790;
	border-bottom: 1.5px solid #7E8790;
	transform: rotate(-45deg);
	transition: transform .2s;
}

.ckc-acc-hd20261021[aria-expanded="true"] .ckc-acc-arrow20261021 {
	transform: rotate(45deg);
}

.ckc-acc-bd20261021 {
	padding: 0 0 16px;
}

.ckc-acc-bd20261021[hidden] {
	display: none;
}

.ckc-acc-bd20261021 p {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 22px;
	color: #6B7280;
}

/* ===== 5. 类别开关（必要 Cookie 没有开关，只显示 Always Active） ===== */

.ckc-sw20261021 {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 22px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #C9CDD6;
	cursor: pointer;
	transition: background .2s;
}

.ckc-sw20261021 > i {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .2);
	transition: left .2s;
}

.ckc-sw20261021[aria-checked="true"] {
	background: #0D6AED;
}

.ckc-sw20261021[aria-checked="true"] > i {
	left: 20px;
}

/* ===== 6. 弹层底栏按钮 ===== */

.ckc-modal-ft20261021 {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	padding: 16px 24px;
	border-top: 1px solid #E5E7EB;
	background: #FFFFFF;
}

/* ===== 7. 1200 模式 ===== */

@media screen and (max-width: 1500px) {
	.ckc-bar-in20261021 {
		max-width: 1200px;
	}
}

/* 1024～1219px：容器已无定宽余量，补左右内边距，文字不贴屏幕边缘 */
@media screen and (max-width: 1219px) {
	.ckc-bar-in20261021 {
		padding: 18px 20px;
	}
}

/* ===== 8. 移动端（与 platform-wap.css 的 1023px 断点一致） ===== */

@media screen and (max-width: 1023px) {
	.ckc-bar-in20261021 {
		width: auto;
		padding: 14px 16px;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.ckc-bar-act20261021 {
		flex-wrap: wrap;
		gap: 10px;
	}

	.ckc-bar-act20261021 .ckc-btn20261021 {
		flex: 1 1 45%;
	}

	.ckc-bar-act20261021 .ckc-link20261021 {
		flex: 1 1 100%;
		padding: 4px 0;
		text-align: center;
	}

	.ckc-mask20261021 {
		padding: 0;
	}

	.ckc-modal20261021 {
		width: 100%;
		height: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.ckc-modal-ft20261021 {
		flex-wrap: wrap;
		gap: 10px;
	}

	.ckc-modal-ft20261021 .ckc-btn20261021 {
		flex: 1 1 100%;
	}
}