@charset "utf-8";
/* ============================================================
   s3 装备展示（10 套）重排
   ------------------------------------------------------------
   设计基准：1920 画布，红框区域 x 409~1565 / y（段内）182~624
   - 整体块宽 1156，10 列等分，列间 8px 间隙
   - 每列是 324×434 的整图按 1:1 左侧裁切（不拉伸不变形），
     列越宽露出的内容越多；当前列"展开"到 2.4 倍宽度
   - 框线由原来的淡绿 #ddedb8 改为与全站一致的古金色
   - 第一列（.curr）默认展开
   ============================================================ */

/* --- 1. 容器定位：严格落在设计框内 --- */
.s3 .dh{
	position: absolute;
	left: 409px;
	top: 182px;
	width: 1156px;
	height: 442px;
	margin: 0;
	padding: 0;
}

.s3 .dh ul{
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
}

/* --- 2. 单列：flex 等分 + 金色描边 + 展开过渡 --- */
.s3 .dh ul li{
	float: none;
	-webkit-flex: 1 1 0;
	flex: 1 1 0;
	width: auto;
	height: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
	cursor: pointer;
	background: #07080a;
	border: 1px solid rgba(190, 152, 76, 0.52);
	border-radius: 1px;
	box-shadow:
		inset 0 1px 0 rgba(255, 236, 180, 0.10),
		0 0 0 1px rgba(0, 0, 0, 0.55),
		0 8px 20px rgba(0, 0, 0, 0.55);
	-webkit-transition:
		-webkit-flex-grow 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
		border-color 0.3s ease,
		box-shadow 0.3s ease;
	transition:
		flex-grow 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

/* 列间距 */
.s3 .dh ul li + li{
	margin-left: 8px;
}

/* 展开态：当前列 / 鼠标悬停列 */
.s3 .dh ul li.curr,
.s3 .dh ul li:hover{
	-webkit-flex-grow: 3.9;
	flex-grow: 3.9;
	border-color: rgba(242, 208, 124, 0.95);
	box-shadow:
		inset 0 1px 0 rgba(255, 242, 200, 0.30),
		0 0 0 1px rgba(108, 78, 26, 0.75),
		0 0 16px rgba(232, 190, 96, 0.34),
		0 10px 24px rgba(0, 0, 0, 0.62);
}

/* 鼠标进入整排后，默认展开的第一列让位给被悬停的列 */
.s3 .dh ul:hover li.curr:not(:hover){
	-webkit-flex-grow: 1;
	flex-grow: 1;
	border-color: rgba(190, 152, 76, 0.52);
	box-shadow:
		inset 0 1px 0 rgba(255, 236, 180, 0.10),
		0 0 0 1px rgba(0, 0, 0, 0.55),
		0 8px 20px rgba(0, 0, 0, 0.55);
}

.s3 .dh ul li a{
	display: block;
	width: 100%;
	height: 100%;
}

/* --- 3. 图片：1:1 原尺寸、左侧对齐、竖直居中，靠列宽裁切揭示 --- */
.s3 .dh ul li img{
	position: absolute;
	left: 0;
	top: 50%;
	width: 324px;
	height: 434px;
	max-width: none;
	margin-top: -217px;
	border: 0;
	vertical-align: top;
}

/* --- 4. 遮罩：常态压暗，展开态提亮（底部保留压暗以便读字） --- */
.s3 .dh ul li .layer{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: -webkit-linear-gradient(top,
		rgba(9, 10, 11, 0.42) 0%,
		rgba(9, 10, 11, 0.38) 52%,
		rgba(7, 8, 9, 0.88) 100%);
	background: linear-gradient(180deg,
		rgba(9, 10, 11, 0.42) 0%,
		rgba(9, 10, 11, 0.38) 52%,
		rgba(7, 8, 9, 0.88) 100%);
	-webkit-transition: background 0.3s ease;
	transition: background 0.3s ease;
	pointer-events: none;
}

.s3 .dh ul li.curr .layer,
.s3 .dh ul li:hover .layer{
	background: -webkit-linear-gradient(top,
		rgba(9, 10, 11, 0.06) 0%,
		rgba(9, 10, 11, 0.10) 52%,
		rgba(7, 8, 9, 0.82) 100%);
	background: linear-gradient(180deg,
		rgba(9, 10, 11, 0.06) 0%,
		rgba(9, 10, 11, 0.10) 52%,
		rgba(7, 8, 9, 0.82) 100%);
}

/* --- 5. 底部名字：居中、不贴边、不裁字 --- */
.s3 .dh ul li .layer .p1{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 7px;
	text-align: center;
	line-height: 1;
}

.s3 .dh ul li .layer .p1 b{
	display: block;
	font-size: 14px;
	line-height: 19px;
	font-weight: bold;
	letter-spacing: 1px;
	text-indent: 1px;
	white-space: nowrap;
}

.s3 .dh ul li .layer .p1 span{
	display: block;
	font-size: 12px;
	line-height: 17px;
	font-weight: bold;
	letter-spacing: 2px;
	text-indent: 2px;
	white-space: nowrap;
	color: #f2f2f2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

/* 展开时名字放大一点，呼应"展开" */
.s3 .dh ul li.curr .layer .p1 b,
.s3 .dh ul li:hover .layer .p1 b{
	font-size: 15px;
	text-shadow: 0 0 8px rgba(0, 166, 156, 0.55);
}

/* 右侧那份重复标签用不到，隐藏避免溢出 */
.s3 .dh ul li .layer .p2{
	display: none;
}
