@charset "utf-8";
/* ============================================================
   三国征服 · 官网样式
   基于原站素材（页头图 / 纸纹底 / 棕色系）重制
   注：全部使用字面色值，不依赖 CSS 变量，兼容旧浏览器
   ============================================================ */

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	padding: 0;
	background: #fff;
	color: #56362E;
	font-family: "Microsoft YaHei", "微软雅黑", "宋体", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.8;
}

img { border: 0; max-width: 100%; }

a { color: #C31C00; text-decoration: none; }
a:hover { color: #9A1500; text-decoration: underline; }

/* ---------- 顶部页头图 ---------- */
/* 页头图下三分之一是大片白色云雾，按 46vw 裁掉，避免页面顶部留白过多 */
.banner {
	position: relative;
	width: 100%;
	height: 46vw;
	max-height: 900px;
	overflow: hidden;
	line-height: 0;
	background: #FBF7F2;
}
.banner img {
	display: block;
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
}
.banner:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 160px;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 80%, #fff 100%);
	pointer-events: none;
}

/* ---------- 主体容器 ---------- */
.wrap {
	width: 96%;
	max-width: 980px;
	margin: 0 auto;
	padding-bottom: 30px;
}

/* ---------- 主视觉区 ---------- */
.hero {
	position: relative;
	margin-top: -190px;
	text-align: center;
	z-index: 3;
}
.hero .server-name {
	margin: 0;
	font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
	font-size: 68px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 10px;
	text-indent: 10px;
	color: #FFE08A;
	text-shadow:
		0 1px 0 #A8752A,
		0 2px 0 #8C5C12,
		0 3px 0 #6B4410,
		0 5px 3px rgba(60,20,0,.45),
		0 0 26px rgba(255,180,40,.65);
}
.hero .slogan {
	margin: 14px 0 0;
	font-size: 17px;
	color: #5A3A22;
	letter-spacing: 2px;
}
.hero .slogan b { color: #C31C00; }

.open-time {
	display: inline-block;
	margin: 18px 0 0;
	padding: 8px 34px;
	border: 2px solid #C8912B;
	border-radius: 40px;
	background: linear-gradient(180deg, #FFF6DC 0%, #FBE7B4 100%);
	font-size: 22px;
	font-weight: 700;
	color: #B02400;
	letter-spacing: 1px;
	box-shadow: 0 4px 14px rgba(184,134,63,.30), inset 0 1px 0 #fff;
}
.open-time em { font-style: normal; font-size: 30px; color: #E22E00; }

/* ---------- 按钮 ---------- */
.btns {
	margin: 26px 0 0;
	text-align: center;
}
.btn {
	display: inline-block;
	min-width: 190px;
	height: 50px;
	line-height: 50px;
	margin: 7px 7px 0;
	padding: 0 26px;
	vertical-align: middle;
	border-radius: 8px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	outline: none;
	border: 1px solid rgba(0,0,0,.18);
	box-shadow: 0 4px 0 rgba(0,0,0,.20), 0 6px 16px rgba(0,0,0,.16);
	transition: transform .12s, box-shadow .12s, filter .12s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.20); }
.btn-dl { background: linear-gradient(180deg, #F2A23A 0%, #D9761A 55%, #B85810 100%); }
.btn-qq { background: linear-gradient(180deg, #5BB25B 0%, #2F8A3A 55%, #1F6B2B 100%); }

/* ---------- 提示条 ---------- */
.notice {
	margin: 22px auto 0;
	max-width: 820px;
	padding: 12px 20px;
	border: 1px dashed #E0A9A0;
	border-radius: 8px;
	background: #FFF5F3;
	color: #A81700;
	font-size: 14px;
	line-height: 1.7;
	text-align: left;
}
.notice b { color: #C31C00; }

/* ---------- 面板 ---------- */
.panel {
	margin: 34px auto 0;
	max-width: 862px;
	background: #FFFDF9;
	border: 1px solid #D8C6B0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 14px rgba(90,60,30,.10);
}
.panel-title {
	position: relative;
	height: 48px;
	line-height: 48px;
	padding-left: 46px;
	background: linear-gradient(180deg, #8A5E3C 0%, #6B452B 46%, #462B19 100%);
	border-bottom: 1px solid #2A1A10;
	font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #FFE9B8;
	letter-spacing: 3px;
	text-shadow: 0 1px 0 #000, 0 0 12px rgba(255,190,80,.45);
}
.panel-title:before {
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	width: 8px;
	height: 22px;
	margin-top: -11px;
	border-radius: 2px;
	background: linear-gradient(180deg, #FFE9B8, #C8912B);
	box-shadow: 0 0 10px rgba(255,200,90,.9);
}
.panel-title:after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: rgba(255,225,170,.55);
}
.panel-body { padding: 22px 30px 26px; }

/* ---------- 开区公告表 ---------- */
table.ann {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
table.ann th,
table.ann td {
	border: 1px solid #D8C6B0;
	padding: 12px 10px;
	text-align: center;
	vertical-align: middle;
}
table.ann th {
	background: linear-gradient(180deg, #A8806F 0%, #8E6A5C 100%);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
}
table.ann td.server {
	font-size: 19px;
	font-weight: 900;
	color: #C31C00;
	letter-spacing: 1px;
}
table.ann td.time { color: #C31C00; font-weight: 700; font-size: 17px; }
table.ann td.closed { color: #9A9A9A; font-weight: 700; }
table.ann a { color: #C31C00; font-weight: 700; text-decoration: underline; }
table.ann tbody tr td { background: #FDF7EF; }
table.ann .qq {
	font-family: Consolas, Monaco, monospace;
	font-size: 17px;
	font-weight: 700;
	color: #1F6B2B;
	letter-spacing: .5px;
}
table.ann .qq.gq { color: #A8450F; }      /* 群号用暖橙，和 QQ 号区分开 */
table.ann .copy-btn { display: inline-block; }
.copy-btn {
	margin-left: 6px;
	padding: 1px 8px;
	border: 1px solid #B8863F;
	border-radius: 4px;
	background: #FFF6DC;
	color: #8C5C12;
	font-family: inherit;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	cursor: pointer;
	outline: none;
}
.copy-btn:hover { background: #FBE7B4; }

/* 窄屏时表格可横向滚动，避免 6 列被挤变形 */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 亮点卡片 ---------- */
.features {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.feature {
	box-sizing: border-box;
	width: 244px;
	margin: 0 8px 16px;
	padding: 18px 16px;
	border: 1px solid #D8C6B0;
	border-radius: 8px;
	background: linear-gradient(180deg, #FFF9EF 0%, #FBF1E1 100%);
	text-align: center;
	box-shadow: inset 0 1px 0 #fff;
}
.feature .fi { font-size: 30px; line-height: 1; color: #C8912B; }
.feature h4 {
	margin: 10px 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: #3E2413;
	letter-spacing: 1px;
}
.feature p { margin: 0; font-size: 13px; color: #7A5A44; line-height: 1.7; text-align: left; }
.feature p b { color: #C31C00; }

.intro-list {
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.intro-list li {
	position: relative;
	padding: 7px 0 7px 22px;
	border-bottom: 1px dashed #E7DACA;
	font-size: 14px;
}
.intro-list li:last-child { border-bottom: 0; }
.intro-list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #FFE9B8, #C8912B 70%);
}
.intro-list li b { color: #C31C00; }
.intro-list li em { font-style: normal; color: #8C5C12; font-weight: 700; }

/* ---------- 洗练展示图区 ---------- */
.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.shot {
	box-sizing: border-box;
	width: 248px;
	margin: 0 8px 16px;
	padding: 6px;
	border: 1px solid #D8C6B0;
	border-radius: 8px;
	background: #FCF7EE;
	box-shadow: 0 2px 6px rgba(90,60,30,.10);
	cursor: zoom-in;
	transition: transform .15s, box-shadow .15s, border-color .15s;
}
.shot:hover {
	transform: translateY(-4px);
	border-color: #B8863F;
	box-shadow: 0 10px 22px rgba(90,50,20,.26);
}
.shot img { display: block; width: 100%; height: auto; border-radius: 5px; }
.shot figcaption {
	padding-top: 7px;
	text-align: center;
	font-size: 12px;
	color: #7A5A44;
	line-height: 1.6;
}
.shot figcaption b { color: #3E2413; font-size: 13px; }

.tips {
	margin: 22px 0 0;
	padding: 12px 16px;
	border-left: 4px solid #B8863F;
	border-radius: 0 6px 6px 0;
	background: #FFFBF2;
	font-size: 13px;
	color: #7A5A44;
	line-height: 1.8;
}
.tips b { color: #C31C00; }

/* ---------- 可洗属性一览（17 种） ---------- */
.sub-title {
	margin: 0 0 14px;
	padding-left: 12px;
	border-left: 4px solid #B8863F;
	font-size: 15px;
	font-weight: 700;
	color: #3E2413;
	letter-spacing: 1px;
}
.sub-title span { font-weight: 400; font-size: 12px; color: #9B8578; letter-spacing: 0; }
.sub-title.sec { margin-top: 26px; }

.attr-wall {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 -6px;
}
.attr {
	box-sizing: border-box;
	width: 186px;
	margin: 0 6px 10px;
	padding: 8px 6px;
	border: 1px solid #E2D3BF;
	border-radius: 6px;
	background: linear-gradient(180deg, #FFFCF6 0%, #FBF3E6 100%);
	text-align: center;
	line-height: 1.5;
}
.attr b {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #3E2413;
}
.attr i {
	font-style: normal;
	font-size: 12px;
	color: #B02400;
}
.attr.special { border-color: #E8C98A; background: linear-gradient(180deg, #FFFBEE 0%, #FBF0D6 100%); }
.attr.special b { color: #8C5C12; }

.intro-list .attr-note {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-radius: 6px;
	background: #FDF6EA;
	border: 1px solid #EFE0C8;
	font-size: 13px;
	color: #7A5A44;
	line-height: 1.8;
}
.intro-list .attr-note b { color: #C31C00; }

/* ---------- 大图查看 ---------- */
#lightbox {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: none;
	padding: 24px;
	background: rgba(22,10,4,.9);
	z-index: 999;
	cursor: zoom-out;
	text-align: center;
}
#lightbox.on { display: block; }
#lightbox img {
	display: inline-block;
	max-width: 92%;
	max-height: 84vh;
	width: auto;
	height: auto;
	margin-top: 4vh;
	border: 3px solid #B8863F;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(0,0,0,.6);
}
#lightbox .hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 22px;
	color: #E8D3B0;
	font-size: 13px;
	letter-spacing: 1px;
}

/* ---------- 页脚 ---------- */
.footer {
	margin-top: 34px;
	padding: 22px 10px 34px;
	border-top: 1px solid #D8C6B0;
	text-align: center;
	font-size: 12px;
	color: #9B8578;
	line-height: 2;
}
.footer p { margin: 0; }
.footer b { color: #5A3A22; }

/* ---------- 开区福利（主视觉显眼位） ---------- */
.welfare {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px auto 0;
	padding: 10px 28px 12px;
	border: 2px solid #FFC85C;
	border-radius: 12px;
	background: linear-gradient(180deg, #D8300A 0%, #A81700 100%);
	box-shadow: 0 6px 18px rgba(160,20,0,.35), inset 0 1px 0 rgba(255,220,150,.55);
}
.welfare .wf-tag {
	flex: none;
	padding: 3px 11px;
	border-radius: 999px;
	background: linear-gradient(180deg, #FFE9B8, #C8912B);
	font-size: 13px;
	font-weight: 700;
	color: #7A1500;
	letter-spacing: 1px;
}
.welfare .wf-main {
	font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
	font-size: 29px;
	font-weight: 900;
	color: #FFE9B8;
	letter-spacing: 3px;
	text-shadow: 0 2px 0 #6B1200, 0 0 16px rgba(255,190,80,.55);
}
.welfare .wf-main b {
	color: #FFD24A;
	font-size: 34px;
	font-weight: 900;
}

/* ---------- 加群下载提示条 ---------- */
.dl-hint {
	display: inline-block;
	margin: 16px auto 0;
	padding: 8px 22px;
	border: 1px solid #E8C98A;
	border-radius: 40px;
	background: #FFF6DC;
	font-size: 14px;
	color: #7A5A44;
	letter-spacing: .5px;
	line-height: 1.7;
}
.dl-hint b { color: #C31C00; }

/* ---------- 窄屏适配 ---------- */
@media (max-width: 760px) {
	.wrap { width: 94%; }
	.hero { margin-top: -70px; }
	.hero .server-name { font-size: 40px; letter-spacing: 5px; text-indent: 5px; }
	.hero .slogan { font-size: 14px; letter-spacing: 0; }
	.open-time { font-size: 17px; padding: 6px 20px; }
	.open-time em { font-size: 23px; }
	.btn { min-width: 150px; height: 46px; line-height: 46px; font-size: 15px; margin: 5px 4px 0; }
	.panel { border-radius: 6px; }
	.panel-title { height: 42px; line-height: 42px; font-size: 16px; padding-left: 38px; letter-spacing: 1px; }
	.panel-title:before { left: 16px; width: 6px; height: 18px; margin-top: -9px; }
	.panel-body { padding: 16px 14px 20px; }
	.banner:after { height: 70px; }
	table.ann { font-size: 13px; min-width: 600px; }
	table.ann th, table.ann td { padding: 9px 6px; }
	table.ann td.server { font-size: 16px; }
	table.ann td.time { font-size: 14px; }
	table.ann .qq { font-size: 14px; }
	.copy-btn { display: none; }   /* 手机上长按即可复制，按钮省地方 */
	.shot { width: 46%; margin: 0 4px 12px; }
	.feature { width: 100%; margin: 0 0 12px; }
	.attr { width: 46%; margin: 0 4px 8px; padding: 6px 4px; }
	.attr b { font-size: 13px; }
	.attr i { font-size: 11px; }
	.attr-wall { margin: 0 -4px; }
	.sub-title { font-size: 14px; }
	.intro-list .attr-note { padding: 8px 10px; font-size: 12px; }
	.welfare { margin-top: 14px; padding: 8px 16px 10px; gap: 8px; }
	.welfare .wf-tag { font-size: 12px; padding: 2px 9px; }
	.welfare .wf-main { font-size: 20px; letter-spacing: 1px; }
	.welfare .wf-main b { font-size: 24px; }
	.dl-hint { margin-top: 12px; padding: 7px 14px; font-size: 12px; border-radius: 12px; }
}
