/**
 * 零叁游戏主题首页样式。
 */

:root {
	--orange: #2d6cff;
	--orange-deep: #1b52d1;
	--orange-light: #6f9bff;
	--orange-soft: #eaf1ff;
	--orange-rgb: 45, 108, 255;
	--red: #ff6a00;
	--red-strong: #f05a00;
	--bg: #f4f4f4;
	--card: #ffffff;
	--text: #333333;
	--text-strong: #282828;
	--muted: #8c8c8c;
	--muted-light: #b5b5b5;
	--line: #ececec;
	--dark: #353535;
	--radius: 6px;
	--radius-lg: 10px;
	--shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

* {
	box-sizing: border-box;
}

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

@media (hover: hover) and (pointer: fine) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
p {
	margin: 0;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.wrap {
	width: 1200px;
	max-width: calc(100% - 32px);
	margin: 0 auto;
}

.only-m {
	display: none;
}

.section {
	margin-top: 15px;
}

.card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 15px;
	box-shadow: var(--shadow);
}

.section-head {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 15px 15px 12px;
	background: var(--card);
	border-radius: var(--radius) var(--radius) 0 0;
	border-bottom: 1px solid var(--line);
}

.section-head h2 {
	font-size: 16px;
	color: var(--orange);
	font-weight: 700;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
}

.head-ico {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--orange);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.head-ico svg {
	width: 13px;
	height: 13px;
	fill: #fff;
}

.section-head .more {
	margin-left: auto;
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}

.section-head .more:hover {
	color: var(--orange);
}

.tabs {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.tab {
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: 14px;
	padding: 4px 10px;
	border-radius: 20px;
	transition: all 0.2s ease;
}

.tab:hover {
	color: var(--orange);
}

.tab.is-active {
	background: var(--orange);
	color: #fff;
}

/* ---------- 顶部 ---------- */
.topbar {
	background: var(--dark);
	color: #cdcdcd;
	font-size: 12px;
}

.topbar .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 30px;
}

.topbar a {
	color: #cdcdcd;
	margin-right: 18px;
}

.topbar a:hover {
	color: #fff;
}

.topbar-right {
	color: #8f8f8f;
}

.header-main {
	background: var(--card);
	padding: 16px 0;
}

.header-main .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.brand-mark {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--orange-light, #9aa1ff), var(--orange-deep));
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(var(--orange-rgb, 90, 98, 246), 0.32);
}

.brand-text {
	font-size: 22px;
	font-weight: 700;
	color: var(--text-strong);
	line-height: 1.1;
	display: flex;
	flex-direction: column;
}

.brand-text em {
	font-style: normal;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
	margin-top: 3px;
}

.header-search {
	display: flex;
	align-items: stretch;
	width: 400px;
	max-width: 100%;
	border: 2px solid var(--orange);
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
}

.header-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	padding: 0 16px;
	font-size: 14px;
	height: 40px;
	background: transparent;
}

.header-search button {
	border: 0;
	background: var(--orange);
	color: #fff;
	font-size: 15px;
	padding: 0 26px;
}

.header-search button:hover {
	background: var(--orange-deep);
}

.main-nav {
	background: #fff;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.12);
	position: relative;
	z-index: 20;
}

.main-nav .wrap {
	display: flex;
	align-items: center;
	padding: 8px 0;
}

.main-nav .menu {
	display: flex;
	align-items: center;
	flex: 1;
	min-width: 0;
}

.main-nav .menu-item {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.main-nav .menu-item + .menu-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 14px;
	margin-top: -7px;
	background: var(--orange-soft, #eef0ff);
}

.main-nav a {
	display: block;
	width: 100%;
	max-width: 128px;
	height: 34px;
	line-height: 34px;
	padding: 0 10px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	border-radius: 999px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.main-nav a:hover {
	background: var(--orange-soft, #eef0ff);
	color: var(--orange);
}

.main-nav a.is-active,
.main-nav .current-menu-item > a,
.main-nav a.is-active:hover,
.main-nav .current-menu-item > a:hover {
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	color: #fff;
	font-weight: 700;
	box-shadow: 0 4px 10px rgba(var(--orange-rgb, 90, 98, 246), 0.28);
}

/* ---------- 横幅 ---------- */
.banner-mosaic {
	margin-top: 15px;
}

.banner-grid {
	position: relative;
	display: grid;
	grid-template-columns: 300px 430px 1fr 1fr;
	grid-template-rows: 182px 181px;
	gap: 2px;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
}

.banner-item {
	position: relative;
	overflow: hidden;
	display: block;
	background: #1f1f1f;
}

.banner-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
}

.banner-item:hover img {
	transform: scale(1.04);
}

.banner-item-1 {
	grid-column: 1;
	grid-row: 1;
}

.banner-item-2 {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.banner-item-3 {
	grid-column: 3 / span 2;
	grid-row: 1;
}

.banner-item-4 {
	grid-column: 1;
	grid-row: 2;
}

.banner-item-5 {
	grid-column: 3;
	grid-row: 2;
}

.banner-item-6 {
	grid-column: 4;
	grid-row: 2;
}

/* 横幅数量自适应：不足 6 条时重新排布，避免右下角留下空白格 */
.banner-grid.banner-count-1 {
	grid-template-columns: 1fr;
	grid-template-rows: 364px;
}

.banner-grid.banner-count-1 .banner-item-1 {
	grid-area: 1 / 1 / 2 / 2;
}

.banner-grid.banner-count-2 {
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: 364px;
}

.banner-grid.banner-count-2 .banner-item-1 {
	grid-area: 1 / 1 / 2 / 2;
}

.banner-grid.banner-count-2 .banner-item-2 {
	grid-area: 1 / 2 / 2 / 3;
}

.banner-grid.banner-count-3 {
	grid-template-columns: repeat(4, 1fr);
}

.banner-grid.banner-count-3 .banner-item-1 {
	grid-area: 1 / 1 / 3 / 3;
}

.banner-grid.banner-count-3 .banner-item-2 {
	grid-area: 1 / 3 / 2 / 5;
}

.banner-grid.banner-count-3 .banner-item-3 {
	grid-area: 2 / 3 / 3 / 5;
}

.banner-grid.banner-count-4 {
	grid-template-columns: repeat(4, 1fr);
}

.banner-grid.banner-count-4 .banner-item-1 {
	grid-area: 1 / 1 / 3 / 3;
}

.banner-grid.banner-count-4 .banner-item-2 {
	grid-area: 1 / 3 / 2 / 4;
}

.banner-grid.banner-count-4 .banner-item-3 {
	grid-area: 1 / 4 / 2 / 5;
}

.banner-grid.banner-count-4 .banner-item-4 {
	grid-area: 2 / 3 / 3 / 5;
}

.banner-grid.banner-count-5 {
	grid-template-columns: repeat(4, 1fr);
}

.banner-grid.banner-count-5 .banner-item-1 {
	grid-area: 1 / 1 / 3 / 3;
}

.banner-grid.banner-count-5 .banner-item-2 {
	grid-area: 1 / 3 / 2 / 4;
}

.banner-grid.banner-count-5 .banner-item-3 {
	grid-area: 1 / 4 / 2 / 5;
}

.banner-grid.banner-count-5 .banner-item-4 {
	grid-area: 2 / 3 / 3 / 4;
}

.banner-grid.banner-count-5 .banner-item-5 {
	grid-area: 2 / 4 / 3 / 5;
}

.banner-shade {
	position: absolute;
	inset: 55% 0 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.banner-name {
	position: absolute;
	left: 12px;
	bottom: 10px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.banner-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--red-strong);
	color: #fff;
	font-size: 12px;
	line-height: 1;
	padding: 5px 8px;
	border-radius: 4px;
	font-style: normal;
}

/* ---------- 游戏区 ---------- */
.games-section .section-head {
	border-radius: var(--radius) var(--radius) 0 0;
}

.game-panels {
	background: var(--card);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 16px 10px 20px;
}

.games-shell {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: var(--card);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 12px;
}

.games-rail {
	flex: 0 0 108px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 2px;
}

.games-rail .tab {
	position: relative;
	border: 0;
	background: #f3f3f3;
	color: #8c8c8c;
	font-size: 14px;
	line-height: 1;
	padding: 13px 0;
	border-radius: 5px;
	transition: color 0.2s ease;
}

.games-rail .tab::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 5px;
	border-radius: 5px 0 0 5px;
	background: transparent;
	transition: background 0.2s ease;
}

.games-rail .tab:hover {
	color: var(--orange);
}

.games-rail .tab.is-active {
	background: #f3f3f3;
	color: var(--orange);
	font-weight: 600;
}

.games-rail .tab.is-active::before {
	background: var(--orange);
}

.games-main {
	flex: 1;
	min-width: 0;
}

.games-main .game-panels {
	padding: 0 4px;
}

.hot-words {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 4px 0;
	margin-top: 6px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	color: var(--muted);
	overflow: hidden;
	white-space: nowrap;
}

.hot-words a {
	color: var(--orange-deep, #414bd8);
	overflow: hidden;
	text-overflow: ellipsis;
}

.hot-words a:hover {
	color: var(--orange);
}

.game-panel {
	display: none;
}

.game-panel.is-active {
	display: block;
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 6px 4px;
}

.game-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	min-width: 0;
}

.game-icon {
	position: relative;
	display: block;
	width: 65px;
	height: 65px;
	border-radius: 13px;
	overflow: hidden;
	background: #f0f0f0;
	transition: transform 0.2s ease;
}

.game-icon:hover {
	transform: translateY(-3px);
}

.game-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-badge {
	position: absolute;
	right: 0;
	bottom: 0;
	background: var(--red-strong);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	line-height: 1;
	padding: 3px 4px;
	border-radius: 4px 0 12px 0;
}

.game-body {
	min-width: 0;
	max-width: 100%;
}

.game-name {
	display: block;
	width: 100%;
	margin-top: 6px;
	font-size: 13px;
	color: var(--text);
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: center;
}

.game-name:hover {
	color: var(--orange);
}

.game-meta,
.game-tags,
.game-download {
	display: none;
}

/* ---------- 新闻 ---------- */
.news-row {
	display: grid;
	grid-template-columns: 1fr 392px;
	gap: 15px;
	align-items: stretch;
}

.news-card {
	padding: 12px 15px 15px;
}

.news-layout {
	display: grid;
	grid-template-columns: 325px 1fr;
	gap: 22px;
}

.news-slider {
	position: relative;
	height: 350px;
	border-radius: var(--radius);
	overflow: hidden;
	background: #f2f2f2;
}

.news-cover {
	display: block;
	height: 100%;
}

.news-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.news-cover:hover img {
	transform: scale(1.03);
}

.news-thumbs {
	position: absolute;
	right: 12px;
	bottom: 10px;
	display: flex;
	gap: 6px;
}

.news-thumb {
	padding: 0;
	border: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.55);
	transition: background 0.2s ease;
}

.news-thumb img {
	display: none;
}

.news-thumb.is-active {
	background: #fff;
}

.news-thumb:hover {
	background: #fff;
}

.news-content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.news-headline {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--red);
	text-align: center;
}

.news-headline:hover {
	color: var(--orange-deep);
}

.news-desc {
	display: none;
}

.news-list {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 2px;
	padding: 10px 0 0;
}

.news-list li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 6px 0 6px 12px;
	min-width: 0;
}

.news-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 50%;
	width: 4px;
	height: 4px;
	margin-top: -2px;
	border-radius: 50%;
	background: var(--red);
}

.news-list a {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
}

.news-list a:hover {
	color: var(--orange);
}

.news-list span {
	color: var(--muted-light);
	font-size: 12px;
	white-space: nowrap;
}

/* ---------- APP 下载 ---------- */
.app-promo {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
}

.app-promo-head {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--orange-soft, #eef0ff);
	border-radius: var(--radius);
	padding: 14px;
}

.app-promo-icon {
	width: 56px;
	height: 56px;
	border-radius: 15px;
	background: linear-gradient(135deg, var(--orange-light, #9aa1ff), var(--orange-deep));
	color: #fff;
	font-size: 26px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 6px 14px rgba(var(--orange-rgb, 90, 98, 246), 0.25);
}

.app-promo-name {
	min-width: 0;
}

.app-promo-name strong {
	display: block;
	font-size: 19px;
	font-weight: 800;
	color: var(--text-strong);
	white-space: nowrap;
}

.app-promo-name em {
	font-style: normal;
	font-size: 13px;
	color: var(--orange-deep, #4a51d6);
	white-space: nowrap;
}

.app-promo-btns {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

.app-promo-btns a {
	flex: 1;
	text-align: center;
	color: #fff;
	font-size: 13px;
	line-height: 26px;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.app-promo-btns a:hover {
	opacity: 0.9;
}

.app-promo-btns .is-android {
	background: #4a51e0;
}

.app-promo-btns .is-ios {
	background: #84bc66;
}

.app-promo-btns .is-detail {
	background: #edba1d;
}

.app-promo-list {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 6px;
	margin-top: 8px;
}

.app-promo-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 2px 0;
	min-width: 0;
	font-size: 13px;
}

.app-promo-list li::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--red);
	flex-shrink: 0;
}

.app-promo-list a {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.app-promo-list a:hover {
	color: var(--orange);
}

.app-promo-list span {
	order: 2;
	color: var(--muted-light);
	font-size: 12px;
	white-space: nowrap;
}

/* ---------- 双栏 ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-top: 15px;
}

.split--wide {
	grid-template-columns: 1.55fr 1fr;
}

.split--main {
	grid-template-columns: 1fr 392px;
}

.card-head {
	display: flex;
	align-items: center;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 12px;
}

.card-head h2 {
	font-size: 16px;
	color: var(--orange);
	font-weight: 700;
}

.card-head a {
	margin-left: auto;
	color: var(--muted);
	font-size: 12px;
}

.card-head a:hover {
	color: var(--orange);
}

.server-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--line);
}

.server-list li:last-child {
	border-bottom: 0;
}

.server-icon {
	width: 50px;
	height: 50px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
}

.server-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.server-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.server-name {
	font-size: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.server-name:hover {
	color: var(--orange);
}

.server-time {
	font-size: 12px;
	color: var(--orange);
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.server-btn {
	flex-shrink: 0;
	border: 1px solid var(--orange);
	color: var(--orange);
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 4px;
	white-space: nowrap;
}

.server-btn:hover {
	background: var(--orange);
	color: #fff;
}

.icon-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px 6px;
}

.icon-grid--dense {
	grid-template-columns: repeat(6, 1fr);
}

.icon-grid--8 {
	grid-template-columns: repeat(8, 1fr);
	gap: 14px 4px;
}

.icon-grid li {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
}

.icon-grid-img {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	background: #f2f2f2;
	transition: transform 0.2s ease;
}

.icon-grid--dense .icon-grid-img {
	width: 68px;
	height: 68px;
}

.icon-grid-img:hover {
	transform: translateY(-3px);
}

.icon-grid-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.icon-grid-name {
	margin-top: 6px;
	font-size: 13px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-align: center;
}

.icon-grid-name:hover {
	color: var(--orange);
}

.icon-grid-note {
	margin-top: 3px;
	font-size: 12px;
	line-height: 16px;
	color: var(--orange-deep, #414bd8);
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------- 攻略列表 ---------- */
.guide-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--line);
	min-width: 0;
}

.guide-list li:last-child {
	border-bottom: 0;
}

.guide-icon {
	width: 50px;
	height: 50px;
	border-radius: 11px;
	overflow: hidden;
	flex-shrink: 0;
}

.guide-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.guide-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.guide-name {
	font-size: 14px;
	color: var(--text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guide-name:hover {
	color: var(--orange);
}

.guide-note {
	font-size: 12px;
	color: var(--orange);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guide-btn {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #ddd;
	color: #bbb;
	font-size: 18px;
	line-height: 30px;
	text-align: center;
	transition: all 0.2s ease;
}

.guide-list li:hover .guide-btn {
	background: var(--orange);
	border-color: var(--orange);
	color: #fff;
}

/* ---------- 三栏列表 ---------- */
.triple {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 15px;
	margin-top: 15px;
}

.dot-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 7px 0;
	min-width: 0;
}

.dot-list li::before {
	content: "";
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--red);
	flex-shrink: 0;
}

.dot-list a {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
}

.dot-list a:hover {
	color: var(--orange);
}

.dot-list span {
	color: var(--muted-light);
	font-size: 12px;
	white-space: nowrap;
}

/* ---------- 交易 ---------- */
.trade-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--line);
}

.trade-list li:last-child {
	border-bottom: 0;
}

.trade-icon {
	width: 52px;
	height: 52px;
	border-radius: 11px;
	overflow: hidden;
	flex-shrink: 0;
}

.trade-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.trade-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.trade-name {
	font-size: 15px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.trade-title {
	font-size: 12px;
	color: var(--orange);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.trade-price {
	color: var(--orange);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

/* ---------- 合集 ---------- */
.topics-section .section-head {
	border-radius: var(--radius) var(--radius) 0 0;
}

.topics-section .wrap {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	padding-bottom: 15px;
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	padding: 15px;
}

.topic-grid > li {
	min-width: 0;
}

.topic-grid a {
	display: block;
}

.topic-grid img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
	transition: transform 0.25s ease;
}

.topic-grid a:hover img {
	transform: scale(1.03);
}

.topic-grid a span {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ---------- 排行 ---------- */
.rank-section .wrap {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	padding-bottom: 15px;
}

.rank-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	padding: 12px 15px 0;
}

.rank-card h3 {
	font-size: 15px;
	color: var(--text-strong);
	padding: 4px 0 10px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 6px;
}

.rank-card li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	min-width: 0;
}

.rank-id {
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: #b7eb8f;
	color: #fff;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rank-card li:nth-child(1) .rank-id {
	background: var(--red-strong);
}

.rank-card li:nth-child(2) .rank-id {
	background: #4a51e0;
}

.rank-card li:nth-child(3) .rank-id {
	background: var(--orange-light, #a5abff);
}

.rank-name {
	flex: 0 0 auto;
	max-width: 100%;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rank-name:hover {
	color: var(--orange);
}

.rank-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rank-card li.is-active {
	align-items: flex-start;
	gap: 12px;
	padding: 4px 0 10px;
	border-bottom: 1px dashed var(--line);
	margin-bottom: 4px;
}

.rank-card li.is-active .rank-id {
	height: 80px;
	line-height: 80px;
}

.rank-cover {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
	display: none;
}

.rank-card li.is-active .rank-cover {
	display: block;
}

.rank-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rank-tag {
	display: none;
	font-size: 12px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rank-card li.is-active .rank-tag {
	display: block;
}

.rank-btn {
	display: none;
	align-self: flex-start;
	margin-top: 2px;
	font-size: 12px;
	color: var(--orange);
	border: 1px solid var(--orange);
	border-radius: 3px;
	padding: 1px 10px;
}

.rank-card li.is-active .rank-btn {
	display: inline-block;
}

.rank-btn:hover {
	background: var(--orange);
	color: #fff;
}

.rank-card li.is-active .rank-note {
	display: none;
}

.rank-note {
	font-size: 12px;
	color: var(--orange);
	white-space: nowrap;
}

/* ---------- 友链 ---------- */
.links-section .wrap {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	padding-bottom: 15px;
}

.link-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding: 14px 15px 0;
}

.link-list a {
	font-size: 13px;
	color: #666;
}

.link-list a:hover {
	color: var(--orange);
}

/* ---------- 页脚 ---------- */
.site-footer {
	background: var(--dark);
	color: #9a9a9a;
	margin-top: 25px;
	padding: 24px 0;
	font-size: 12px;
}

.footer-links {
	text-align: center;
	margin-bottom: 10px;
}

.footer-links a {
	color: #d0d0d0;
	white-space: nowrap;
}

.footer-links a:hover {
	color: var(--orange);
}

.footer-links a + a::before {
	content: "|";
	margin: 0 8px;
	color: #666;
}

.footer-warning,
.footer-copy {
	text-align: center;
	line-height: 1.8;
	color: #8f8f8f;
}

/* ---------- 右侧悬浮 ---------- */
.float-bar {
	position: fixed;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 60;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.float-item {
	position: relative;
	width: 46px;
	height: 46px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	color: #666;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.float-icon svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	display: block;
}

.float-label {
	font-size: 11px;
	line-height: 1;
}

.float-item:hover {
	background: var(--orange);
	color: #fff;
}

.float-tip {
	position: absolute;
	right: 54px;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
}

.float-item:hover .float-tip {
	opacity: 1;
	visibility: visible;
}

/* ---------- 移动端 ---------- */
.m-quick {
	align-items: center;
	justify-content: space-around;
	background: var(--card);
	border-radius: var(--radius-lg);
	margin: 10px 10px 0;
	padding: 12px 6px;
}

.m-quick a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: var(--text-strong);
}

.m-quick-icon {
	width: 46px;
	height: 46px;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--orange-soft, #eef0ff), var(--orange-soft, #eef0ff));
	color: var(--orange-deep);
}

.m-quick-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.m-games {
	padding: 0 10px;
	margin-top: 12px;
}

.m-games--plain {
	margin-top: 4px;
}

.m-block-head {
	display: flex;
	align-items: center;
	padding: 10px 2px;
}

.m-block-head h2 {
	font-size: 17px;
	font-weight: 700;
	color: var(--text-strong);
}

.m-block-head a {
	margin-left: auto;
	font-size: 12px;
	color: var(--muted);
}

.m-game-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.m-game-list .game-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	background: var(--card);
	border-radius: var(--radius-lg);
	padding: 12px;
}

.m-game-list .game-icon {
	width: 62px;
	height: 62px;
	border-radius: 14px;
	flex-shrink: 0;
}

.m-game-list .game-body {
	flex: 1;
	min-width: 0;
}

.m-game-list .game-name {
	margin-top: 0;
	text-align: left;
	font-size: 15px;
	font-weight: 600;
	color: var(--text-strong);
}

.m-game-list .game-meta {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	color: var(--muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.m-game-list .game-tags {
	display: flex;
	gap: 5px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.m-game-list .game-tags span {
	font-size: 10px;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 3px;
	color: var(--orange-deep);
	background: var(--orange-soft, #eef0ff);
}

.m-game-list .game-download {
	display: inline-block;
	flex-shrink: 0;
	padding: 8px 16px;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--orange-light, #9aa1ff), var(--orange-deep));
	color: #fff;
	font-size: 13px;
}

.mobile-tabbar {
	display: none;
}

/* ---------- 通用页面 ---------- */
.page-body {
	background: var(--card);
	border-radius: var(--radius);
	padding: 26px;
	margin-top: 15px;
}

.page-article h1 {
	font-size: 24px;
	margin-bottom: 16px;
}

.page-content {
	line-height: 1.9;
}

.page-empty {
	color: var(--muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) and (min-width: 901px) {
	.banner-grid {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
		overflow-y: hidden;
		border-radius: 0;
		background: transparent;
		scrollbar-width: none;
	}

	.banner-grid::-webkit-scrollbar {
		display: none;
	}

	.banner-item {
		flex: 0 0 62%;
		aspect-ratio: 16 / 9;
		grid-column: auto;
		grid-row: auto;
		scroll-snap-align: center;
		border-radius: var(--radius-lg);
	}
}

@media (max-width: 1100px) {
	.game-grid {
		grid-template-columns: repeat(8, 1fr);
		gap: 14px 4px;
	}

	.icon-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.icon-grid--8 {
		grid-template-columns: repeat(6, 1fr);
	}

	.split--main {
		grid-template-columns: 1fr 340px;
	}

	.news-row {
		grid-template-columns: 1fr 340px;
	}

	.news-layout {
		grid-template-columns: 290px 1fr;
		gap: 16px;
	}
}

@media (max-width: 900px) {
	.only-pc {
		display: none !important;
	}

	.only-m {
		display: block;
	}

	.m-quick.only-m {
		display: flex;
	}

	body {
		padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
		overscroll-behavior-y: contain;
		font-size: 14px;
	}

	.wrap {
		width: 100%;
		max-width: 100%;
	}

	.site-header {
		position: sticky;
		top: 0;
		z-index: 90;
		padding-top: env(safe-area-inset-top, 0px);
		background: #fff;
		box-shadow: 0 1px 0 var(--line);
	}

	.header-main {
		padding: 8px 10px;
	}

	.header-main .wrap {
		gap: 12px;
	}

	.brand {
		gap: 8px;
	}

	.brand-mark {
		width: 34px;
		height: 34px;
		font-size: 17px;
		border-radius: 10px;
	}

	.brand-text {
		font-size: 17px;
	}

	.brand-text em {
		font-size: 10px;
	}

	.header-search {
		width: auto;
		flex: 1;
		border-width: 1px;
		border-radius: 18px;
		background: #f2f2f2;
		border-color: transparent;
	}

	.header-search input[type="search"] {
		height: 34px;
		font-size: 12px;
		padding: 0 12px;
	}

	.header-search button {
		background: transparent;
		color: var(--orange-deep);
		font-size: 13px;
		padding: 0 12px;
	}

	.banner-mosaic {
		margin-top: 10px;
	}

	.banner-grid {
		display: flex;
		gap: 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding: 0 10px 4px;
		background: transparent;
		border-radius: 0;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.banner-grid::-webkit-scrollbar {
		display: none;
	}

	.banner-item {
		flex: 0 0 88%;
		aspect-ratio: 2 / 1;
		border-radius: var(--radius-lg);
		scroll-snap-align: center;
		grid-column: auto;
		grid-row: auto;
	}

	.banner-name {
		font-size: 15px;
	}

	.section {
		margin-top: 10px;
	}

	.section-head {
		border-radius: var(--radius-lg);
		margin: 0 10px;
		padding: 12px 14px;
		border-bottom: 0;
	}

	.section-head h2 {
		font-size: 17px;
	}

	.news-section .wrap {
		background: transparent;
	}

	.news-row {
		display: block;
	}

	.news-card {
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		padding: 0;
	}

	.news-card .card-head {
		background: var(--card);
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
		padding: 12px 14px 0;
		margin-bottom: 10px;
		border-bottom: 0;
	}

	.news-layout {
		display: block;
		padding: 0 10px;
	}

	.news-slider {
		height: auto;
		border-radius: var(--radius-lg);
	}

	.news-cover {
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.news-thumbs {
		display: none;
	}

	.news-content {
		margin-top: 10px;
	}

	.news-headline {
		background: var(--card);
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
		padding: 14px 14px 6px;
		font-size: 16px;
		text-align: left;
	}

	.news-list {
		background: var(--card);
		border-radius: 0 0 var(--radius-lg) var(--radius-lg);
		padding: 4px 12px 10px;
	}

	.news-list li {
		padding: 11px 0 11px 12px;
	}

	.news-list a {
		font-size: 13px;
	}

	.topics-section .wrap {
		background: transparent;
		padding-bottom: 0;
	}

	.topic-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 0 10px;
	}

	.topic-grid a {
		background: var(--card);
		border-radius: var(--radius-lg);
		overflow: hidden;
		padding-bottom: 8px;
	}

	.topic-grid img {
		border-radius: 0;
	}

	.topic-grid a span {
		padding: 0 8px;
		font-size: 12px;
	}

	.links-section .wrap {
		background: var(--card);
		border-radius: var(--radius-lg);
		margin: 0 10px;
		padding-bottom: 12px;
	}

	.link-list {
		gap: 8px 16px;
		padding: 12px 14px 0;
	}

	.site-footer {
		margin-top: 16px;
		padding: 18px 12px;
	}

	.mobile-tabbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: flex;
		align-items: stretch;
		background: #fff;
		border-top: 1px solid #eee;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		transform: translateZ(0);
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
	}

	.mobile-tabbar a {
		flex: 1 1 0;
		min-width: 0;
		height: 50px;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		padding: 4px 0 3px;
		font-size: 11px;
		line-height: 1.2;
		color: #7d7d7d;
	}

	.mobile-tabbar a span {
		display: block;
		line-height: 1.2;
		white-space: nowrap;
	}

	.mobile-tabbar svg {
		width: 22px;
		height: 22px;
		flex: 0 0 auto;
		fill: currentColor;
	}

	.mobile-tabbar a.is-active {
		color: var(--orange-deep);
	}

	.page-body {
		margin: 10px;
		padding: 18px;
	}
}

/* ---------- 游戏中心 ---------- */
.game-page {
	margin-top: 15px;
}

.game-crumb {
	background: var(--card);
	border-radius: var(--radius);
	padding: 10px 15px;
	font-size: 13px;
	color: var(--muted);
}

.game-crumb a:hover {
	color: var(--orange);
}

.game-crumb span {
	margin: 0 4px;
}

.game-crumb .current {
	color: var(--text);
}

.game-type-tabs {
	display: flex;
	gap: 6px;
	margin-top: 15px;
}

.game-type-tabs a {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 12px;
	font-size: 16px;
	color: #666;
	background: #e9e9e9;
	border-radius: var(--radius) var(--radius) 0 0;
	border-top: 3px solid transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.game-type-tabs a:hover {
	color: var(--orange);
	background: #f1f1f1;
}

.game-type-tabs a.is-active {
	background: var(--card);
	color: var(--orange);
	border-top-color: var(--orange);
	font-weight: 600;
}

@media (max-width: 1200px) {
	.game-type-tabs {
		gap: 8px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		touch-action: pan-x;
		padding-bottom: 4px;
		scrollbar-width: none;
	}

	.game-type-tabs::-webkit-scrollbar {
		display: none;
	}

	.game-type-tabs a {
		flex: 0 0 auto;
		height: 46px;
		padding: 0 18px;
		font-size: 15px;
		scroll-snap-align: start;
	}
}

.game-filter {
	background: var(--card);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 10px 20px 16px;
}

.filter-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 6px 0;
	margin: 0;
}

.filter-row dt {
	width: 76px;
	flex-shrink: 0;
	font-size: 14px;
	color: #494949;
	line-height: 26px;
}

.filter-row dd {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
}

.filter-btn {
	border: 0;
	background: transparent;
	color: #666;
	font-size: 14px;
	line-height: 26px;
	padding: 0 10px;
	border-radius: 3px;
	transition: all 0.2s ease;
}

.filter-btn:hover {
	color: var(--orange);
}

.filter-btn.is-active {
	background: var(--orange);
	color: #fff;
}

.game-list-head {
	display: flex;
	align-items: flex-end;
	gap: 18px;
	background: var(--card);
	margin-top: 15px;
	padding: 8px 15px 0;
	border-bottom: 1px solid var(--line);
}

.sort {
	border: 0;
	background: transparent;
	font-size: 16px;
	color: #666;
	padding: 8px 2px 10px;
	border-bottom: 3px solid transparent;
}

.sort:hover {
	color: var(--orange);
}

.sort.is-active {
	color: var(--orange);
	font-weight: 600;
	border-bottom-color: var(--orange);
}

.game-count {
	margin-left: auto;
	padding-bottom: 12px;
	font-size: 12px;
	color: var(--muted);
}

.game-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border-radius: 0 0 var(--radius) var(--radius);
	overflow: hidden;
}

.gcard {
	display: flex;
	gap: 15px;
	background: var(--card);
	padding: 15px;
	min-width: 0;
}

.gcard-media {
	width: 90px;
	flex-shrink: 0;
	text-align: center;
}

.gcard-icon {
	position: relative;
	display: block;
	width: 90px;
	height: 90px;
	border-radius: 10px;
	overflow: hidden;
	background: #f2f2f2;
}

.gcard-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gcard-discount {
	position: absolute;
	right: 0;
	bottom: 0;
	background: var(--red-strong);
	color: #fff;
	font-size: 10px;
	line-height: 1;
	padding: 3px 5px;
	border-radius: 5px 0 9px 0;
}

.gcard-btn {
	display: block;
	margin-top: 7px;
	background: var(--orange);
	color: #fff;
	font-size: 13px;
	padding: 3px 0;
	border-radius: 4px;
}

.gcard-btn:hover {
	background: var(--orange-deep);
}

.gcard-info {
	flex: 1;
	min-width: 0;
}

.gcard-name {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	color: #666;
	overflow: hidden;
	white-space: nowrap;
}

.gcard-name:hover {
	color: var(--orange);
}

.gcard-name em {
	font-style: normal;
	font-size: 12px;
	color: var(--orange-deep, #4a51d6);
	border: 1px solid #b9bdf5;
	border-radius: 3px;
	padding: 1px 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gcard-desc {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.7;
	color: #acacac;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gcard-meta {
	display: none;
}

.gcard-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 8px;
}

.gcard-tags span {
	font-size: 12px;
	color: var(--orange);
	border: 1px solid var(--orange);
	border-radius: 3px;
	padding: 1px 7px;
}

.game-empty {
	display: block;
	background: var(--card);
	padding: 50px 0;
	text-align: center;
	color: var(--muted);
	font-size: 14px;
	border-radius: 0 0 var(--radius) var(--radius);
}

.pager {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
}

.pager a,
.pager span {
	min-width: 34px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	background: var(--card);
	border-radius: 4px;
	font-size: 13px;
	color: #666;
	padding: 0 10px;
}

.pager a:hover {
	color: var(--orange);
}

.pager .current {
	background: var(--orange);
	color: #fff;
}

@media (max-width: 900px) {
	.game-page {
		margin-top: 0;
	}

	.game-crumb {
		display: none;
	}

	.game-type-tabs {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding: 10px 10px 0;
		scrollbar-width: none;
	}

	.game-type-tabs::-webkit-scrollbar {
		display: none;
	}

	.game-type-tabs a {
		flex: 0 0 auto;
		font-size: 13px;
		padding: 7px 13px;
		border-radius: 5px;
		border-top: 0;
		background: #f0f0f0;
	}

	.game-type-tabs a.is-active {
		background: var(--orange-light, #8b93ff);
		color: #fff;
		font-weight: 400;
	}

	.game-filter {
		margin: 10px 10px 0;
		padding: 4px 12px 8px;
		border-radius: var(--radius-lg);
	}

	.filter-row {
		display: block;
		padding: 7px 0;
		border-bottom: 1px dashed var(--line);
	}

	.filter-row:last-child {
		border-bottom: 0;
	}

	.filter-row dt {
		width: auto;
		font-size: 12px;
		color: var(--muted);
		line-height: 1.5;
		margin-bottom: 4px;
	}

	.filter-row dd {
		flex-wrap: nowrap;
		overflow-x: auto;
		gap: 6px;
		padding-bottom: 2px;
		scrollbar-width: none;
	}

	.filter-row dd::-webkit-scrollbar {
		display: none;
	}

	.filter-btn {
		flex: 0 0 auto;
		font-size: 12px;
		line-height: 24px;
		padding: 0 10px;
		border-radius: 12px;
		background: #f5f5f5;
	}

	.filter-btn.is-active {
		background: var(--orange-soft, #eef0ff);
		color: var(--orange-deep);
	}

	.game-list-head {
		margin: 10px 10px 0;
		padding: 6px 12px 0;
		border-radius: var(--radius-lg) var(--radius-lg) 0 0;
		border-bottom: 0;
	}

	.sort {
		font-size: 14px;
		padding-bottom: 8px;
	}

	.game-count {
		padding-bottom: 10px;
	}

	.game-list {
		grid-template-columns: 1fr;
		gap: 10px;
		background: transparent;
		margin: 10px;
		overflow: visible;
		border-radius: 0;
	}

	.gcard {
		gap: 10px;
		padding: 12px;
		border-radius: var(--radius-lg);
	}

	.gcard-media {
		width: 62px;
	}

	.gcard-icon {
		width: 62px;
		height: 62px;
		border-radius: 13px;
	}

	.gcard-btn {
		display: none;
	}

	.gcard-name {
		font-size: 15px;
		gap: 6px;
	}

	.gcard-name em {
		font-size: 11px;
	}

	.gcard-desc {
		display: none;
	}

	.gcard-meta {
		display: block;
		margin-top: 3px;
		font-size: 12px;
		color: var(--muted);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.gcard-tags {
		margin-top: 6px;
	}

	.gcard-tags span {
		font-size: 10px;
		color: var(--orange-deep);
		background: var(--orange-soft, #eef0ff);
		border: 0;
		padding: 3px 5px;
	}

	.game-empty {
		margin: 0 10px;
		border-radius: var(--radius-lg);
	}

	.pager {
		margin: 15px 10px 5px;
	}

	.pager a,
	.pager span {
		min-width: 30px;
		height: 30px;
		line-height: 30px;
		font-size: 12px;
		padding: 0 8px;
	}
}

/* ---------- 游戏详情 ---------- */
.detail-page {
	margin-top: 15px;
}

.detail-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 15px;
	margin-top: 15px;
	align-items: start;
}

.detail-main {
	min-width: 0;
}

.detail-hero {
	display: flex;
	gap: 20px;
	background: var(--card);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: var(--shadow);
}

.detail-icon {
	position: relative;
	width: 110px;
	height: 110px;
	flex-shrink: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #f2f2f2;
}

.detail-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.detail-hero-body {
	flex: 1;
	min-width: 0;
}

.detail-name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 22px;
	font-weight: 700;
	color: var(--text-strong);
}

.detail-name em {
	font-style: normal;
	font-size: 12px;
	font-weight: 400;
	color: var(--orange-deep, #4a51d6);
	border: 1px solid var(--orange-deep, #4a51d6);
	border-radius: 3px;
	padding: 1px 5px;
}

.detail-meta {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

.detail-meta span + span::before {
	content: "·";
	margin: 0 6px;
}

.detail-desc {
	margin-top: 10px;
	font-size: 13px;
	color: #666;
	line-height: 1.7;
}

.detail-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.detail-tags span {
	font-size: 12px;
	color: var(--orange-deep);
	background: var(--orange-soft, #eef0ff);
	border-radius: 3px;
	padding: 2px 7px;
}

.detail-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.detail-btn {
	display: inline-block;
	min-width: 104px;
	text-align: center;
	font-size: 14px;
	color: #fff;
	padding: 8px 18px;
	border-radius: 4px;
}

.detail-btn--android {
	background: var(--orange);
}

.detail-btn--android:hover {
	background: var(--orange-deep);
}

.detail-btn--ios {
	background: #84bc66;
}

.detail-btn--ios:hover {
	background: #76ab58;
}

.detail-safe {
	font-size: 12px;
	color: var(--muted-light);
}

.detail-tabs {
	display: flex;
	gap: 4px;
	background: var(--card);
	border-radius: var(--radius);
	margin-top: 15px;
	padding: 0 15px;
	box-shadow: var(--shadow);
}

.detail-tabs a {
	position: relative;
	display: block;
	font-size: 15px;
	color: #666;
	padding: 14px 16px;
}

.detail-tabs a:hover {
	color: var(--orange);
}

.detail-tabs a.is-active {
	color: var(--orange);
	font-weight: 600;
}

.detail-tabs a.is-active::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 2px;
	background: var(--orange);
	border-radius: 2px;
}

.detail-card {
	background: var(--card);
	border-radius: var(--radius);
	margin-top: 15px;
	padding: 18px 20px 20px;
	box-shadow: var(--shadow);
	scroll-margin-top: 15px;
}

.detail-card h2 {
	position: relative;
	font-size: 17px;
	color: var(--text-strong);
	font-weight: 700;
	padding-left: 11px;
	margin-bottom: 14px;
}

.detail-card h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	bottom: 3px;
	width: 4px;
	border-radius: 2px;
	background: var(--orange);
}

.detail-text {
	font-size: 13px;
	line-height: 1.9;
	color: #666;
}

.detail-shots-slider {
	position: relative;
	margin-top: 18px;
}

/* 截图条：高度锁定上限、宽度完全跟随图片原始比例。
   竖屏 9:16 显示为竖卡，横屏 16:9 / 4:3 显示为横卡，两者混排都不拉伸、不裁切。 */
.detail-shots-track {
	--shot-h: 306px;
	--shot-min-w: 152px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: calc(var(--shot-h) * 0.6);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 2px 0;
}

.detail-shots-track::-webkit-scrollbar {
	display: none;
}

.detail-shot {
	position: relative;
	flex: 0 0 auto;
	min-width: var(--shot-min-w);
	max-width: 100%;
	background: #f1f2f5;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
	scroll-snap-align: start;
	box-shadow: 0 2px 10px rgba(16, 20, 40, 0.07);
}

.detail-shot img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: var(--shot-h);
	transition: transform 0.35s ease;
}

.detail-shot:hover img {
	transform: scale(1.05);
}

.detail-shot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(16, 20, 40, 0.06);
	pointer-events: none;
}

.detail-shots-nav {
	display: none;
	position: absolute;
	top: 50%;
	z-index: 2;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: var(--orange, #5a62f6);
	box-shadow: 0 4px 14px rgba(var(--orange-rgb, 90, 98, 246), 0.22);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

/* 有横向溢出时才显示左右按钮 */
.detail-shots-slider.is-scrollable .detail-shots-nav {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}

.detail-shots-nav:hover {
	background: #fff;
}

.detail-shots-nav svg {
	width: 15px;
	height: 15px;
}

.detail-shots-prev {
	left: 6px;
}

.detail-shots-next {
	right: 6px;
}

@media (max-width: 991px) {
	.detail-shots-track {
		--shot-h: 272px;
		--shot-min-w: 138px;
	}
}

@media (max-width: 600px) {
	.detail-shots-track {
		--shot-h: 240px;
		--shot-min-w: 120px;
		gap: 8px;
		padding-right: 4px;
	}

	.detail-shot {
		border-radius: 6px;
	}

	.detail-shots-nav {
		width: 28px;
		height: 28px;
		margin-top: -14px;
	}

	.detail-shots-prev {
		left: 2px;
	}

	.detail-shots-next {
		right: 2px;
	}
}

.welfare-list li {
	display: flex;
	gap: 8px;
	font-size: 13px;
	line-height: 1.9;
	color: #666;
}

.welfare-list span {
	color: var(--orange);
	flex-shrink: 0;
}

.vip-table-wrap {
	overflow-x: auto;
}

.vip-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.vip-table th,
.vip-table td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
	color: #666;
}

.vip-table th {
	background: #fafafa;
	color: var(--text-strong);
	font-weight: 600;
	white-space: nowrap;
}

.vip-table tbody tr:nth-child(even) {
	background: #f7f8ff;
}

.gift-list {
	display: grid;
	gap: 10px;
}

.gift-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fafafa;
	border-radius: var(--radius);
	padding: 12px;
}

.gift-icon {
	position: relative;
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	border-radius: 12px;
	overflow: hidden;
}

.gift-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gift-info {
	flex: 1;
	min-width: 0;
}

.gift-info h3 {
	font-size: 15px;
	color: var(--text-strong);
}

.gift-info p {
	margin-top: 4px;
	font-size: 12px;
	color: #888;
	line-height: 1.6;
}

.gift-time,
.gift-left {
	display: inline-block;
	margin-top: 5px;
	margin-right: 14px;
	font-size: 12px;
	color: var(--muted-light);
}

.gift-left {
	color: var(--orange);
}

.gift-btn {
	flex-shrink: 0;
	align-self: center;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	padding: 10px 24px;
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(var(--orange-rgb, 90, 98, 246), 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gift-btn:hover {
	background: linear-gradient(135deg, #6f77ff, #4f57ea);
	box-shadow: 0 6px 16px rgba(var(--orange-rgb, 90, 98, 246), 0.36);
	transform: translateY(-1px);
}

.comment-list {
	display: grid;
	gap: 14px;
}

.comment-item {
	display: flex;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--line);
}

.comment-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.comment-avatar {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--orange-light, #9aa1ff), #7b83ff);
	color: #fff;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.comment-body {
	flex: 1;
	min-width: 0;
}

.comment-body h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: var(--text-strong);
	font-weight: 600;
}

.comment-body h3 em {
	margin-left: auto;
	font-style: normal;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted-light);
}

.comment-body p {
	margin-top: 5px;
	font-size: 13px;
	color: #666;
	line-height: 1.7;
	word-break: break-word;
}

.comment-more {
	margin-top: 16px;
	text-align: center;
	font-size: 13px;
	color: #fff;
	background: var(--orange);
	border-radius: 4px;
	padding: 9px 0;
}

.comment-more a {
	display: block;
	color: #fff;
}

.detail-side .card {
	margin-bottom: 15px;
}

.detail-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.detail-tag-list a {
	font-size: 12px;
	color: #666;
	background: #f5f5f5;
	border-radius: 3px;
	padding: 5px 10px;
	transition: all 0.2s ease;
}

.detail-tag-list a:hover {
	background: var(--orange);
	color: #fff;
}

.rank-simple li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	min-width: 0;
}

.rank-simple li:nth-child(1) .rank-id {
	background: var(--red-strong);
}

.rank-simple li:nth-child(2) .rank-id {
	background: #4a51e0;
}

.rank-simple li:nth-child(3) .rank-id {
	background: var(--orange-light, #a5abff);
}

@media (max-width: 900px) {
	.detail-page {
		margin-top: 0;
	}

	.detail-layout {
		display: block;
		margin-top: 0;
	}

	.detail-hero {
		gap: 12px;
		padding: 14px 12px;
		border-radius: 0;
		box-shadow: none;
	}

	.detail-icon {
		width: 76px;
		height: 76px;
		border-radius: 14px;
	}

	.detail-name {
		font-size: 17px;
		gap: 6px;
	}

	.detail-name em {
		font-size: 10px;
		padding: 1px 4px;
	}

	.detail-meta {
		margin-top: 4px;
		font-size: 12px;
	}

	.detail-desc {
		display: none;
	}

	.detail-tags {
		margin-top: 7px;
		gap: 5px;
	}

	.detail-tags span {
		font-size: 10px;
		padding: 2px 5px;
	}

	.detail-actions {
		margin-top: 10px;
		gap: 8px;
	}

	.detail-btn {
		flex: 1;
		min-width: 0;
		font-size: 13px;
		padding: 8px 10px;
	}

	.detail-safe {
		display: none;
	}

	.detail-tabs {
		position: sticky;
		top: 0;
		z-index: 20;
		gap: 0;
		margin-top: 10px;
		padding: 0 10px;
		border-radius: 0;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.detail-tabs::-webkit-scrollbar {
		display: none;
	}

	.detail-tabs a {
		flex: 0 0 auto;
		font-size: 14px;
		padding: 12px 14px;
	}

	.detail-tabs a.is-active::after {
		left: 14px;
		right: 14px;
	}

	.detail-card {
		margin-top: 10px;
		padding: 14px 12px 16px;
		border-radius: 0;
		box-shadow: none;
		scroll-margin-top: 46px;
	}

	.detail-card h2 {
		font-size: 15px;
		margin-bottom: 10px;
	}

	.detail-text {
		font-size: 13px;
	}

	.detail-shots {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-top: 12px;
	}

	.detail-shots::-webkit-scrollbar {
		display: none;
	}

	.detail-shots a {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}

	.detail-shots img {
		max-height: 300px;
	}

	.vip-table {
		min-width: 480px;
	}

	.gift-item {
		gap: 10px;
		padding: 10px;
	}

	.gift-icon {
		width: 52px;
		height: 52px;
		border-radius: 10px;
	}

	.gift-info h3 {
		font-size: 14px;
	}

	.gift-info p {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 11px;
	}

	.gift-time,
	.gift-left {
		font-size: 10px;
		margin-right: 8px;
	}

	.gift-btn {
		font-size: 12px;
		padding: 6px 12px;
	}

	.comment-avatar {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.comment-body h3 {
		font-size: 13px;
	}

	.comment-body p {
		font-size: 12px;
	}

	.comment-more {
		margin-top: 12px;
		padding: 8px 0;
		font-size: 12px;
	}

	.detail-side {
		padding: 10px;
	}

	.detail-side .card {
		margin-bottom: 10px;
		border-radius: var(--radius-lg);
	}
}

/* ---------- 通用列表页 ---------- */
.list-page {
	margin-top: 15px;
}

.list-tabs {
	display: flex;
	gap: 4px;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0 15px;
	margin-top: 15px;
}

.list-tabs a {
	position: relative;
	display: block;
	font-size: 15px;
	color: #666;
	padding: 14px 18px;
}

.list-tabs a:hover {
	color: var(--orange);
}

.list-tabs a.is-active {
	color: var(--orange);
	font-weight: 600;
}

.list-tabs a.is-active::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 2px;
	background: var(--orange);
	border-radius: 2px;
}

.list-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 15px;
	margin-top: 15px;
	align-items: start;
}

.list-main {
	min-width: 0;
}

.list-empty {
	background: var(--card);
	border-radius: var(--radius);
	padding: 60px 0;
	text-align: center;
	font-size: 14px;
	color: var(--muted-light);
}

/* 新闻资讯 */
.news-feature {
	display: flex;
	gap: 18px;
	background: var(--card);
	border-radius: var(--radius);
	padding: 15px;
	box-shadow: var(--shadow);
}

.news-feature-img {
	position: relative;
	flex: 0 0 300px;
}

.news-feature-img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
}

.news-cat {
	position: absolute;
	left: 0;
	top: 0;
	font-size: 12px;
	color: #fff;
	background: var(--orange);
	padding: 3px 9px;
	border-radius: var(--radius) 0 var(--radius) 0;
}

.news-feature-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.news-feature-body h2 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--text-strong);
}

.news-feature-body h2 a:hover {
	color: var(--orange);
}

.news-feature-body p {
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.8;
	color: #888;
}

.news-date {
	margin-top: auto;
	font-size: 12px;
	color: var(--muted-light);
}

.news-rows {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	margin-top: 15px;
	padding: 0 15px;
}

.news-rows li {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px dashed var(--line);
}

.news-rows li:last-child {
	border-bottom: 0;
}

.news-row-img {
	flex: 0 0 140px;
}

.news-row-img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
}

.news-row-body {
	flex: 1;
	min-width: 0;
}

.news-row-body h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-row-body h3 a:hover {
	color: var(--orange);
}

.news-row-body p {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.7;
	color: #888;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-row-btn {
	flex-shrink: 0;
	font-size: 13px;
	color: var(--orange);
	border: 1px solid var(--orange);
	border-radius: 3px;
	padding: 5px 14px;
}

.news-row-btn:hover {
	background: var(--orange);
	color: #fff;
}

/* 资讯正文 */
.news-article {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 24px 26px 30px;
}

.news-article-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--text-strong);
}

.news-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	color: var(--muted-light);
}

.news-article-cover {
	width: 100%;
	margin-top: 18px;
	border-radius: var(--radius);
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.news-article-body {
	margin-top: 18px;
	font-size: 15px;
	line-height: 1.9;
	color: #444;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.news-article-body div,
.news-article-body p,
.news-article-body span,
.news-article-body table {
	max-width: 100%;
}

.news-article-body p {
	margin: 0 0 14px;
}

.news-article-body img {
	max-width: 100%;
	height: auto;
	margin: 12px auto;
	border-radius: var(--radius);
}

.news-article-body h2,
.news-article-body h3 {
	margin: 20px 0 10px;
	font-size: 18px;
	font-weight: 700;
	color: var(--text-strong);
}

.news-article-body ul,
.news-article-body ol {
	margin: 0 0 14px;
	padding-left: 22px;
	list-style: disc;
}

.news-article-body ol {
	list-style: decimal;
}

.news-article-body table {
	width: 100%;
	margin: 14px 0;
	border-collapse: collapse;
	font-size: 14px;
}

.news-article-body th,
.news-article-body td {
	border: 1px solid var(--line);
	padding: 8px 10px;
}

.news-article-body th {
	background: #fafafa;
}

.news-back {
	display: inline-block;
	margin-top: 24px;
	font-size: 14px;
	color: var(--orange);
}

.news-back:hover {
	color: var(--orange-deep);
}

.topic-list {
	padding: 0 15px 12px;
}

.topic-list li + li {
	margin-top: 10px;
}

.topic-list a {
	display: flex;
	align-items: center;
	gap: 10px;
}

.topic-list img {
	flex-shrink: 0;
	width: 78px;
	height: 52px;
	object-fit: cover;
	border-radius: 4px;
}

.topic-list span {
	font-size: 13px;
	line-height: 1.5;
	color: #555;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 开服表 */
.server-intro {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f7f8ff;
	border: 1px solid var(--orange-soft, #eef0ff);
	border-radius: var(--radius);
	padding: 12px 16px;
	margin-top: 15px;
	font-size: 13px;
	color: var(--orange-deep, #4a51d6);
}

.server-intro strong {
	flex-shrink: 0;
	font-size: 15px;
	color: var(--orange-deep);
}

.server-board {
	display: grid;
	gap: 15px;
	margin-top: 15px;
}

.server-day {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.server-day-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: #f7f8ff;
	border-bottom: 1px solid var(--line);
}

.server-day-head strong {
	font-size: 17px;
	color: var(--text-strong);
}

.server-day-head span {
	font-size: 13px;
	color: var(--orange);
}

.server-day-head em {
	margin-left: auto;
	font-style: normal;
	font-size: 12px;
	color: var(--muted-light);
}

.server-board-row {
	display: grid;
	grid-template-columns: 80px 1fr 150px 80px 70px 96px;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--line);
}

.server-board-row:last-child {
	border-bottom: 0;
}

.server-time {
	font-size: 16px;
	font-weight: 700;
	color: var(--orange-deep);
}

.server-game {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.server-game img {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 10px;
	object-fit: cover;
}

.server-game-name {
	font-size: 14px;
	color: var(--text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.server-game:hover .server-game-name {
	color: var(--orange);
}

.server-zone {
	font-size: 13px;
	color: #666;
}

.server-discount {
	justify-self: start;
	font-size: 12px;
	color: var(--orange-deep);
	background: var(--orange-soft, #eef0ff);
	border-radius: 3px;
	padding: 2px 8px;
}

.server-state {
	font-size: 12px;
	color: var(--muted-light);
}

.server-state.is-open {
	color: #3aa657;
}

.server-action {
	justify-self: end;
	font-size: 13px;
	color: #fff;
	background: var(--orange);
	border-radius: 4px;
	padding: 7px 16px;
	white-space: nowrap;
}

.server-action:hover {
	background: var(--orange-deep);
}

.server-tips {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px 20px;
	margin-top: 15px;
}

.server-tips h2 {
	font-size: 16px;
	color: var(--text-strong);
	margin-bottom: 8px;
}

.server-tips p {
	font-size: 13px;
	line-height: 1.9;
	color: #888;
}

/* 排行榜 */
.podium {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 15px;
}

.podium-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border-top: 3px solid var(--orange-light, #a5abff);
	padding: 22px 15px 18px;
}

.podium-item--1 {
	border-top-color: var(--red-strong);
	background: linear-gradient(180deg, #fff5f5, #fff 60%);
}

.podium-item--2 {
	border-top-color: #4a51e0;
}

.podium-medal {
	position: absolute;
	left: 14px;
	top: 12px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--orange-light, #a5abff);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.podium-item--1 .podium-medal {
	background: var(--red-strong);
}

.podium-item--2 .podium-medal {
	background: #4a51e0;
}

.podium-icon img {
	width: 88px;
	height: 88px;
	border-radius: 20px;
	object-fit: cover;
}

.podium-item strong {
	margin-top: 12px;
	font-size: 16px;
	color: var(--text-strong);
	text-align: center;
}

.podium-tags {
	margin-top: 5px;
	font-size: 12px;
	color: var(--muted-light);
}

.podium-discount {
	margin-top: 9px;
	font-size: 12px;
	color: #fff;
	background: var(--orange);
	border-radius: 3px;
	padding: 2px 9px;
}

.rank-table {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 0 16px;
}

.rank-table li {
	display: grid;
	grid-template-columns: 40px 1fr 70px 90px 84px;
	align-items: center;
	gap: 10px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
}

.rank-table li:last-child {
	border-bottom: 0;
}

.rank-table-id {
	font-size: 18px;
	font-weight: 700;
	color: #bbb;
	text-align: center;
}

.rank-table-game {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.rank-table-game img {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 12px;
	object-fit: cover;
}

.rank-table-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rank-table-info strong {
	font-size: 15px;
	color: var(--text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rank-table-info em {
	font-style: normal;
	font-size: 12px;
	color: var(--muted-light);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rank-table-discount {
	font-size: 12px;
	color: var(--orange-deep);
}

.rank-table-heat {
	font-size: 12px;
	color: var(--muted-light);
}

.rank-table-btn {
	font-size: 13px;
	color: #fff;
	background: var(--orange);
	border-radius: 4px;
	padding: 6px 0;
	text-align: center;
}

.rank-table-btn:hover {
	background: var(--orange-deep);
}

.rank-desc {
	margin-top: 12px;
	font-size: 12px;
	color: var(--muted-light);
	text-align: center;
}

@media (max-width: 900px) {
	.list-page {
		margin-top: 0;
	}

	.list-tabs {
		position: sticky;
		top: 0;
		z-index: 20;
		margin-top: 0;
		padding: 0 10px;
		border-radius: 0;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.list-tabs::-webkit-scrollbar {
		display: none;
	}

	.list-tabs a {
		flex: 0 0 auto;
		font-size: 14px;
		padding: 12px 14px;
	}

	.list-tabs a.is-active::after {
		left: 14px;
		right: 14px;
	}

	.list-layout {
		display: block;
		margin-top: 10px;
	}

	.list-main {
		padding: 0 10px;
	}

	.news-feature {
		flex-direction: column;
		gap: 10px;
		padding: 12px;
		border-radius: var(--radius-lg);
	}

	.news-feature-img {
		flex: none;
	}

	.news-feature-body h2 {
		font-size: 16px;
	}

	.news-feature-body p {
		display: none;
	}

	.news-date {
		margin-top: 6px;
		font-size: 11px;
	}

	.news-rows {
		margin-top: 10px;
		padding: 0 12px;
		border-radius: var(--radius-lg);
	}

	.news-rows li {
		gap: 10px;
		padding: 12px 0;
	}

	.news-row-img {
		flex: 0 0 96px;
	}

	.news-row-body h3 {
		font-size: 14px;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.news-row-body p,
	.news-row-body .news-date {
		display: none;
	}

	.news-row-btn {
		font-size: 12px;
		padding: 4px 10px;
	}

	.news-article {
		padding: 16px 14px 20px;
		border-radius: var(--radius-lg);
	}

	.news-article-title {
		font-size: 19px;
	}

	.news-article-meta {
		gap: 10px;
		margin-top: 10px;
		padding-bottom: 10px;
	}

	.news-article-cover {
		margin-top: 12px;
	}

	.news-article-body {
		margin-top: 14px;
		font-size: 15px;
		line-height: 1.85;
	}

	.news-article-body table {
		display: block;
		overflow-x: auto;
	}

	.list-page .pager {
		margin-top: 10px;
	}

	.detail-side {
		padding: 10px;
	}

	.server-intro {
		flex-wrap: wrap;
		gap: 6px;
		margin-top: 10px;
		padding: 10px 12px;
		font-size: 12px;
	}

	.server-intro strong {
		width: 100%;
		font-size: 14px;
	}

	.server-board {
		gap: 10px;
		margin-top: 10px;
		padding: 0 10px;
	}

	.server-day {
		border-radius: var(--radius-lg);
	}

	.server-day-head {
		padding: 12px 14px;
	}

	.server-board-row {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 4px 10px;
		padding: 11px 14px;
	}

	.server-time {
		order: 1;
		flex: 0 0 46px;
		font-size: 14px;
	}

	.server-game {
		order: 2;
		flex: 1 1 0;
		min-width: 0;
	}

	.server-game img {
		width: 42px;
		height: 42px;
		border-radius: 8px;
	}

	.server-game-name {
		font-size: 13px;
	}

	.server-zone {
		order: 4;
		flex: 0 0 100%;
		padding-left: 56px;
		font-size: 12px;
	}

	.server-discount,
	.server-state {
		display: none;
	}

	.server-action {
		order: 3;
		flex-shrink: 0;
		margin-left: auto;
		align-self: center;
		font-size: 12px;
		padding: 6px 10px;
	}

	.server-tips {
		margin: 10px;
		padding: 14px;
		border-radius: var(--radius-lg);
	}

	.podium {
		gap: 8px;
		margin: 10px 10px 0;
	}

	.podium-item {
		padding: 16px 6px 12px;
	}

	.podium-icon img {
		width: 60px;
		height: 60px;
		border-radius: 14px;
	}

	.podium-item strong {
		font-size: 13px;
	}

	.podium-tags {
		display: none;
	}

	.podium-medal {
		left: 8px;
		top: 8px;
		width: 22px;
		height: 22px;
		font-size: 12px;
	}

	.rank-table {
		margin: 10px 10px 0;
		padding: 0 12px;
		border-radius: var(--radius-lg);
	}

	.rank-table li {
		grid-template-columns: 26px 1fr 66px;
		gap: 8px;
		padding: 11px 0;
	}

	.rank-table-id {
		font-size: 15px;
	}

	.rank-table-game img {
		width: 46px;
		height: 46px;
		border-radius: 10px;
	}

	.rank-table-info strong {
		font-size: 13px;
	}

	.rank-table-info em {
		font-size: 11px;
	}

	.rank-table-discount {
		display: none;
	}

	.rank-table-heat {
		display: none;
	}

	.rank-table-btn {
		grid-column: 3;
		grid-row: 1;
		font-size: 12px;
		padding: 5px 0;
	}

	.rank-desc {
		margin: 10px 10px 0;
		font-size: 11px;
	}
}

/* ---------- 无障碍与后台可配置项 ---------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ad-slot {
	max-width: 1200px;
	margin: 10px auto 0;
	padding: 0 16px;
	text-align: center;
}

.ad-slot img {
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.ad-slot--sidebar {
	margin: 0 0 12px;
	padding: 0;
}

.ad-slot--list {
	margin: 0 0 12px;
	padding: 0;
}

.ad-slot--article {
	margin: 18px 0 0;
	padding: 0;
}

.ad-box {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: linear-gradient(135deg, #f7f8ff, var(--orange-soft, #eef0ff));
	border-radius: 10px;
}

.ad-box-body {
	flex: 1;
	min-width: 0;
}

.ad-box-body strong {
	display: block;
	font-size: 16px;
	color: #3b44cb;
}

.ad-box-body p {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--orange-deep, #4a51d6);
}

.ad-box-btn {
	flex-shrink: 0;
	padding: 10px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(var(--orange-rgb, 90, 98, 246), 0.28);
}

.ad-box-btn:hover {
	background: linear-gradient(135deg, #6f77ff, #4f57ea);
}

/* ---------- 页面标题区 ---------- */
.page-hero {
	background: var(--card);
	border-radius: var(--radius);
	padding: 20px 22px;
	margin-bottom: 12px;
	border-left: 4px solid var(--orange);
	box-shadow: var(--shadow);
}

.page-hero h1 {
	font-size: 22px;
	color: var(--text-strong);
	margin-bottom: 6px;
}

.page-hero p {
	color: var(--muted);
	font-size: 13px;
}

/* ---------- 礼包中心 ---------- */
.gift-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.gift-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gift-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gift-icon img {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	object-fit: cover;
}

.gift-title {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
}

.gift-title strong {
	font-size: 14px;
	color: var(--text-strong);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gift-title span {
	font-size: 12px;
	color: var(--orange);
}

.gift-badge {
	flex-shrink: 0;
	font-style: normal;
	font-size: 12px;
	color: #fff;
	background: var(--red);
	border-radius: 10px;
	padding: 2px 8px;
}

.gift-desc {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	flex: 1;
}

.gift-meta {
	display: flex;
	justify-content: space-between;
	color: var(--muted-light);
	font-size: 11px;
}

.gift-card .gift-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	color: #fff;
	border-radius: 999px;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(var(--orange-rgb, 90, 98, 246), 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gift-card .gift-btn:hover {
	background: linear-gradient(135deg, #6f77ff, #4f57ea);
	box-shadow: 0 6px 16px rgba(var(--orange-rgb, 90, 98, 246), 0.36);
	transform: translateY(-1px);
}

/* ---------- 游戏合集 ---------- */
.topic-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.topic-card {
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}

.topic-card-cover {
	position: relative;
	display: block;
}

.topic-card-cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.topic-card-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 14px 10px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
}

.topic-card-body {
	padding: 12px 14px 14px;
}

.topic-card-body p {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	margin-bottom: 10px;
}

.topic-card-games {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.topic-card-games a {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--bg);
	border-radius: 16px;
	padding: 4px 10px 4px 4px;
	font-size: 12px;
	color: var(--text);
}

.topic-card-games a:hover {
	color: var(--orange);
}

.topic-card-games img {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	object-fit: cover;
}

/* ---------- 交易市场 ---------- */
.trade-table {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.trade-row {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--card);
	border-radius: var(--radius);
	padding: 12px 14px;
	box-shadow: var(--shadow);
}

.trade-row-game {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 190px;
	flex-shrink: 0;
}

.trade-row-game img {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	object-fit: cover;
}

.trade-row-game span {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.trade-row-game strong {
	font-size: 13px;
	color: var(--text-strong);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.trade-row-game em {
	font-style: normal;
	font-size: 11px;
	color: var(--muted-light);
}

.trade-row-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.trade-row-info strong {
	font-size: 13px;
	color: var(--text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.trade-row-info em {
	font-style: normal;
	font-size: 11px;
	color: var(--muted-light);
}

.trade-row-time {
	color: var(--muted-light);
	font-size: 11px;
	flex-shrink: 0;
}

.trade-row-price {
	color: var(--red);
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
	width: 70px;
	text-align: right;
}

.trade-row-btn {
	flex-shrink: 0;
	background: var(--orange);
	color: #fff;
	font-size: 13px;
	border-radius: 18px;
	padding: 7px 16px;
	white-space: nowrap;
}

.trade-row-btn:hover {
	background: var(--orange-deep);
}

.trade-tips li {
	position: relative;
	padding: 7px 0 7px 14px;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.6;
	border-bottom: 1px dashed var(--line);
}

.trade-tips li:last-child {
	border-bottom: 0;
}

.trade-tips li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--orange);
}

/* ---------- 文章与列表 ---------- */
.entry-card {
	padding: 22px;
}

.entry-title {
	font-size: 24px;
	color: var(--text-strong);
	line-height: 1.4;
	margin-bottom: 10px;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	color: var(--muted-light);
	font-size: 12px;
	padding-bottom: 12px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.entry-meta a {
	color: var(--orange);
}

.entry-thumb {
	margin-bottom: 16px;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-content {
	color: #444;
	font-size: 14px;
	line-height: 1.9;
}

.entry-content p {
	margin-bottom: 14px;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}

.entry-content h2,
.entry-content h3 {
	margin: 18px 0 10px;
	color: var(--text-strong);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.entry-tags a {
	background: var(--bg);
	color: var(--muted);
	font-size: 12px;
	border-radius: 14px;
	padding: 4px 12px;
}

.entry-tags a:hover {
	background: var(--orange);
	color: #fff;
}

.post-nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 12px;
}

.post-nav a {
	background: var(--card);
	border-radius: var(--radius);
	padding: 12px 16px;
	font-size: 13px;
	color: var(--muted);
	box-shadow: var(--shadow);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.post-nav a:hover {
	color: var(--orange);
}

.related-card {
	margin-top: 12px;
}

.post-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.post-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--card);
	border-radius: var(--radius);
	padding: 14px;
	box-shadow: var(--shadow);
}

.post-item-img {
	width: 160px;
	flex-shrink: 0;
	border-radius: var(--radius);
	overflow: hidden;
}

.post-item-img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.post-item-body {
	flex: 1;
	min-width: 0;
}

.post-item-body h2 {
	font-size: 15px;
	margin-bottom: 6px;
	color: var(--text-strong);
}

.post-item-body h2 a:hover {
	color: var(--orange);
}

.post-item-body p {
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-list--mini {
	gap: 0;
}

.post-list--mini li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 13px;
}

.post-list--mini li:last-child {
	border-bottom: 0;
}

.post-list--mini a {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.post-list--mini span {
	color: var(--muted-light);
	font-size: 12px;
	flex-shrink: 0;
}

.quick-links li {
	border-bottom: 1px dashed var(--line);
}

.quick-links li:last-child {
	border-bottom: 0;
}

.quick-links a {
	display: block;
	padding: 9px 0;
	font-size: 13px;
	color: var(--muted);
}

.quick-links a:hover {
	color: var(--orange);
}

/* ---------- 搜索与 404 ---------- */
.search-page-form {
	display: flex;
	align-items: stretch;
	max-width: 520px;
	margin: 0 0 14px;
	border: 2px solid var(--orange);
	border-radius: 22px;
	overflow: hidden;
	background: #fff;
}

.search-page-form input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	padding: 0 16px;
	height: 42px;
	font-size: 14px;
}

.search-page-form button {
	border: 0;
	background: var(--orange);
	color: #fff;
	padding: 0 26px;
	font-size: 14px;
}

.error-404 {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 60px 20px;
	text-align: center;
}

.error-404 strong {
	display: block;
	font-size: 72px;
	line-height: 1;
	color: var(--orange);
	margin-bottom: 10px;
}

.error-404 h1 {
	font-size: 22px;
	color: var(--text-strong);
	margin-bottom: 8px;
}

.error-404 p {
	color: var(--muted);
	font-size: 13px;
	margin-bottom: 20px;
}

.error-404 .search-page-form {
	margin: 0 auto 20px;
}

.error-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.error-links a {
	background: var(--bg);
	border-radius: 18px;
	padding: 7px 18px;
	font-size: 13px;
	color: var(--text);
}

.error-links a:hover {
	background: var(--orange);
	color: #fff;
}

.pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.pager .page-numbers {
	min-width: 32px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	background: var(--card);
	border-radius: var(--radius);
	color: var(--muted);
	padding: 0 10px;
	display: inline-block;
}

.pager .page-numbers.current,
.pager .page-numbers:hover {
	background: var(--orange);
	color: #fff;
}

@media (max-width: 900px) {
	.page-hero {
		padding: 15px;
	}

	.page-hero h1 {
		font-size: 19px;
	}

	.gift-grid {
		grid-template-columns: 1fr;
	}

	.topic-cards {
		grid-template-columns: 1fr;
	}

	.trade-row {
		flex-wrap: wrap;
		gap: 8px 10px;
	}

	.trade-row-game {
		width: 100%;
	}

	.trade-row-info {
		flex: 1 1 100%;
	}

	.trade-row-time {
		order: 3;
	}

	.trade-row-price {
		order: 3;
		text-align: left;
		width: auto;
		margin-left: auto;
	}

	.trade-row-btn {
		order: 4;
		margin-left: auto;
	}

	.entry-card {
		padding: 16px;
	}

	.entry-title {
		font-size: 19px;
	}

	.post-item {
		align-items: flex-start;
	}

	.post-item-img {
		width: 104px;
	}

	.post-item .news-row-btn {
		display: none;
	}

	.post-item-body h2 {
		font-size: 14px;
	}
}

/* ---------- 合集详情 ---------- */
.topic-hero {
	display: flex;
	gap: 20px;
	background: var(--card);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: var(--shadow);
	margin-bottom: 15px;
}

.topic-hero-cover {
	flex: 0 0 320px;
	min-width: 0;
}

.topic-hero-cover img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 8px;
	background: #f2f2f2;
}

.topic-hero-body {
	flex: 1;
	min-width: 0;
}

.topic-hero-body h1 {
	font-size: 22px;
	line-height: 1.4;
	color: var(--text-strong);
	margin-bottom: 10px;
}

.topic-hero-desc {
	color: var(--muted);
	line-height: 1.7;
	margin-bottom: 12px;
}

.topic-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	color: var(--muted-light);
	font-size: 12px;
	margin-bottom: 16px;
}

.topic-hero .detail-btn {
	display: inline-flex;
	align-items: center;
}

.topic-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.topic-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: 8px;
	min-width: 0;
	background: #fff;
}

.topic-item--empty {
	justify-content: center;
	color: var(--muted);
	font-size: 13px;
}

.topic-item-rank {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: #f2f2f2;
	color: var(--muted);
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.topic-item:nth-child(1) .topic-item-rank {
	background: var(--red-strong);
	color: #fff;
}

.topic-item:nth-child(2) .topic-item-rank {
	background: #4a51e0;
	color: #fff;
}

.topic-item:nth-child(3) .topic-item-rank {
	background: var(--orange-light, #a5abff);
	color: #fff;
}

.topic-item-cover {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: #f0f0f0;
}

.topic-item-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.topic-item-cover-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eef0ff, #e4e8ff);
	color: var(--orange, #5a62f6);
	font-size: 24px;
	font-weight: 700;
}

.topic-item-body {
	flex: 1;
	min-width: 0;
}

.topic-item-head {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.topic-item-name {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-strong);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.topic-item-name:hover {
	color: var(--orange);
}

.topic-item-badge {
	font-style: normal;
	flex-shrink: 0;
	font-size: 11px;
	line-height: 1;
	color: #fff;
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	border-radius: 4px;
	padding: 4px 6px;
}

.topic-item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 6px;
}

.topic-item-tags span {
	font-size: 11px;
	color: var(--muted);
	background: var(--bg);
	border-radius: 10px;
	padding: 2px 8px;
}

.topic-item-tags span.is-hot {
	color: var(--orange);
	background: var(--orange-soft, #eef0ff);
}

.topic-item-text {
	margin-top: 6px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.topic-item-btn {
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	border-radius: 999px;
	padding: 8px 20px;
	box-shadow: 0 4px 12px rgba(var(--orange-rgb, 90, 98, 246), 0.24);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-item-btn:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(var(--orange-rgb, 90, 98, 246), 0.32);
}

@media (max-width: 900px) {
	.topic-hero {
		flex-direction: column;
		padding: 14px;
	}

	.topic-hero-cover {
		flex: none;
	}

	.topic-hero-body h1 {
		font-size: 18px;
	}

	.topic-item-btn {
		display: none;
	}

	.topic-item-cover {
		flex: 0 0 48px;
		width: 48px;
		height: 48px;
	}
}

/* ---------- 交易详情 ---------- */
.trade-hero-top {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.trade-hero-icon img {
	width: 76px;
	height: 76px;
	border-radius: 14px;
	object-fit: cover;
	display: block;
}

.trade-hero-info {
	flex: 1;
	min-width: 0;
}

.trade-hero-info h1 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.45;
	color: var(--text-strong);
}

.trade-hero-game {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

.trade-hero-game em {
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 20px;
	background: var(--orange-soft, #eef0ff);
	color: var(--orange-deep, #414bd8);
	font-size: 12px;
	font-style: normal;
}

.trade-hero-price {
	text-align: right;
	flex-shrink: 0;
}

.trade-hero-price strong {
	display: block;
	font-size: 24px;
	font-weight: 700;
	color: var(--red, #ff4d6d);
}

.trade-hero-price span {
	font-size: 12px;
	color: var(--muted);
}

.trade-hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed var(--line);
	font-size: 13px;
	color: var(--muted);
}

.trade-basic {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 24px;
}

.trade-basic li {
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px dashed var(--line);
	font-size: 14px;
}

.trade-basic li span {
	width: 72px;
	flex-shrink: 0;
	color: var(--muted);
}

.trade-basic li em {
	font-style: normal;
	color: var(--text);
}

.trade-basic li em.is-price {
	color: var(--red, #ff4d6d);
	font-weight: 700;
}

.trade-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: #444;
	white-space: pre-line;
}

.trade-shots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.trade-shots img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid var(--line);
}

.trade-shot {
	display: block;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	cursor: zoom-in;
}

.trade-shot::after {
	content: "点击查看大图";
	position: absolute;
	inset: auto 0 0 0;
	padding: 20px 10px 6px;
	font-size: 12px;
	color: #fff;
	text-align: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55));
	opacity: 0;
	transition: opacity 0.2s ease;
}

.trade-shot:hover::after {
	opacity: 1;
}

.trade-shot img {
	transition: transform 0.25s ease;
}

.trade-shot:hover img {
	transform: scale(1.03);
}

.img-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.86);
}

.img-lightbox.is-open {
	display: flex;
}

.img-lightbox-img {
	max-width: calc(100% - 160px);
	max-height: calc(100% - 100px);
	border-radius: 8px;
	object-fit: contain;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.img-lightbox-close {
	position: absolute;
	top: 18px;
	right: 24px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.img-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.img-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.img-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.3);
}

.img-lightbox-nav.is-prev {
	left: 24px;
}

.img-lightbox-nav.is-next {
	right: 24px;
}

.img-lightbox-count {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
}

.trade-buy-price {
	margin: 0 0 12px;
	font-size: 26px;
	font-weight: 700;
	color: var(--red, #ff4d6d);
}

.trade-buy-btn {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(var(--orange-rgb, 90, 98, 246), 0.28);
}

.trade-buy-btn:hover {
	transform: translateY(-1px);
}

.trade-buy-card .trade-tips {
	margin-top: 14px;
}

.trade-buy-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9999;
}

.trade-buy-modal.is-open {
	display: flex;
}

.trade-buy-dialog {
	width: 360px;
	max-width: calc(100% - 32px);
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.trade-buy-dialog h3 {
	margin: 0 0 10px;
	font-size: 18px;
	color: var(--text-strong);
}

.trade-buy-dialog p {
	margin: 0 0 20px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--muted);
}

.trade-buy-actions {
	display: flex;
	gap: 10px;
}

.trade-buy-actions .trade-cancel,
.trade-buy-actions .trade-go {
	flex: 1;
	height: 40px;
	line-height: 40px;
	border-radius: 10px;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
}

.trade-buy-actions .trade-cancel {
	border: 1px solid var(--line);
	background: #fff;
	color: #555;
}

.trade-buy-actions .trade-go {
	background: linear-gradient(135deg, var(--orange-light, #8b93ff), var(--orange, #5a62f6));
	color: #fff;
	font-weight: 600;
}

@media (max-width: 900px) {
	.trade-hero-price {
		display: none;
	}

	.trade-basic {
		grid-template-columns: 1fr;
	}

	.trade-shots {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 游戏列表筛选链接 */
.game-list-head .sort {
	display: inline-block;
	text-decoration: none;
	line-height: 1.2;
}

.game-type-tabs a,
.filter-btn {
	text-decoration: none;
}

/* 搜索页 */
.search-page {
	padding-bottom: 30px;
}

.search-page .search-page-form {
	margin: 16px 0 6px;
}

.search-page .game-filter {
	margin-top: 10px;
}

.search-count {
	margin: 18px 0 12px;
	font-size: 14px;
	color: #555;
}

.search-count span {
	color: var(--orange);
	font-weight: 700;
}

.search-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.search-list > li {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 20px;
	border-bottom: 1px solid var(--line);
}

.search-list > li:last-child {
	border-bottom: 0;
}

.search-item-main {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex: 1;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.search-item-icon {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 12px;
	overflow: hidden;
	background: #f4f5f7;
}

.search-item-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-item-info {
	min-width: 0;
}

.search-item-info h2 {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
	color: #222;
	line-height: 1.4;
}

.search-item-badge {
	padding: 1px 5px;
	border: 1px solid var(--orange-deep, #4a51d6);
	border-radius: 3px;
	color: var(--orange-deep, #4a51d6);
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 18px;
}

.search-item-tags {
	margin: 0 0 6px;
	font-size: 13px;
	color: #888;
}

.search-item-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.75;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-item-btn {
	flex: 0 0 auto;
	display: inline-block;
	padding: 8px 26px;
	border-radius: 20px;
	background: var(--orange);
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

.search-item-btn:hover {
	background: #3b44cb;
	color: #fff;
}

.search-empty {
	padding: 50px 20px;
	text-align: center;
}

.search-empty h2 {
	margin: 0 0 10px;
	font-size: 20px;
}

.search-empty p {
	color: #777;
	font-size: 14px;
}

.search-empty .hot-words {
	justify-content: center;
}

@media (max-width: 900px) {
	.search-list > li {
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 14px;
		gap: 12px;
	}

	.search-item-icon {
		flex-basis: 64px;
		width: 64px;
		height: 64px;
	}

	.search-item-info h2 {
		font-size: 16px;
	}

	.search-item-desc {
		font-size: 12px;
		-webkit-line-clamp: 2;
	}

	.search-item-btn {
		margin-left: 76px;
		padding: 6px 20px;
		font-size: 13px;
	}
}
