/* 捕鱼888 APP 管理器 V3.8：繁體中文 + PG APP 資訊結構 */
/* 只在 /games/{slug}/ 詳情頁載入 */

.buyu-pg-detail {
	background: #ffffff;
	color: #303642;
	font-family: inherit;
	overflow-x: hidden;
}

.buyu-pg-container {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.buyu-age-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: linear-gradient(rgba(16, 20, 32, .58), rgba(16, 20, 32, .58));
	backdrop-filter: blur(6px);
}

.buyu-age-modal.is-visible {
	display: flex;
}

.buyu-age-card {
	width: min(560px, 100%);
	padding: 46px 46px 42px;
	border-radius: 18px;
	background: #ffffff;
	text-align: center;
	box-shadow: 0 24px 80px rgba(0,0,0,.28);
}

.buyu-age-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	margin-bottom: 20px;
	border: 6px solid #ff2d57;
	border-radius: 50%;
	color: #ff2d57;
	font-size: 46px;
	font-weight: 900;
	line-height: 1;
}

.buyu-age-mark span {
	margin-left: 2px;
	font-size: 25px;
	align-self: flex-start;
	margin-top: 19px;
}

.buyu-age-card h2 {
	margin: 0;
	color: #111827;
	font-size: 31px;
	font-weight: 500;
	letter-spacing: -.02em;
}

.buyu-age-card p {
	max-width: 410px;
	margin: 14px auto 30px;
	color: #777d87;
	font-size: 16px;
	line-height: 1.55;
}

.buyu-age-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.buyu-age-actions button,
.buyu-age-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	border-radius: 0;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.buyu-age-actions button {
	border: 1px solid #ff2d57;
	background: #ff2d57;
	color: #ffffff;
}

.buyu-age-actions a {
	border: 1px solid #d7dbe2;
	background: #ffffff;
	color: #333b48;
}

/* Fullscreen hero */
.buyu-pg-hero {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: calc(100vh - 74px);
	padding: 14px 0 48px;
	background:
		radial-gradient(circle at 77% 48%, rgba(255, 45, 87, .045), transparent 31%),
		linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
	overflow: hidden;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

.buyu-pg-hero::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: #f0f1f4;
}

.buyu-pg-breadcrumb {
	position: relative;
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 14px;
	color: #b4bac4;
	font-size: 13px;
}

.buyu-pg-breadcrumb a {
	color: #6f7682;
	text-decoration: none;
}

.buyu-pg-breadcrumb strong {
	color: #303642;
}

.buyu-pg-hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 500px) minmax(0, 560px);
	align-items: center;
	justify-content: center;
	gap: 56px;
	min-height: 560px;
}

.buyu-pg-visual {
	position: relative;
	min-height: 500px;
}

.buyu-pg-ghost {
	position: absolute;
	left: -10px;
	top: 4px;
	z-index: 1;
	max-width: 620px;
	color: #eeeeef;
	font-size: clamp(116px, 11.4vw, 190px);
	font-weight: 900;
	line-height: .82;
	letter-spacing: -.085em;
	word-break: break-all;
	text-transform: uppercase;
	pointer-events: none;
}

.buyu-pg-preview-box {
	display: none !important;
}

.buyu-pg-character {
	position: relative;
	z-index: 4;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 560px;
}

.buyu-pg-character::before {
	content: "";
	position: absolute;
	inset: 12% 4% 10% 8%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 45, 87, .08), transparent 62%);
	filter: blur(2px);
}

.buyu-pg-character img,
.buyu-pg-placeholder {
	display: block;
	width: min(100%, 620px);
	max-height: 600px;
	object-fit: contain;
	filter: drop-shadow(0 34px 40px rgba(0,0,0,.12));
}

.buyu-pg-placeholder {
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	border-radius: 26px;
	background: #f5f5f6;
	color: #c7cbd1;
	font-size: 64px;
	font-weight: 900;
	filter: none;
}

.buyu-pg-scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 16px;
	z-index: 6;
	transform: translateX(-50%);
	color: #b4bac4;
	font-size: 12px;
	letter-spacing: .08em;
}

/* Intro */
.buyu-pg-intro {
	padding: 74px 0 64px;
	background: #ffffff;
}

.buyu-pg-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 620px) 330px;
	gap: 72px;
	align-items: start;
	justify-content: center;
}

.buyu-pg-title-row {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}

.buyu-pg-icon {
	flex: 0 0 82px;
	width: 82px;
	height: 82px;
	overflow: hidden;
	border-radius: 17px;
	box-shadow: 0 10px 26px rgba(0,0,0,.08);
	background: #f5f5f6;
}

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

.buyu-pg-icon span {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #999;
	font-weight: 900;
}

.buyu-red-age {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ff2d57;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.buyu-pg-title-row h1 {
	margin: 0;
	color: #2f343d;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: -.02em;
}

.buyu-pg-summary {
	max-width: 820px;
	margin: 0;
	color: #747b86;
	font-size: 15px;
	line-height: 2.05;
}

.buyu-pg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.buyu-pg-main-btn,
.buyu-pg-light-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 26px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
}

.buyu-pg-main-btn {
	background: #ff2d57;
	color: #fff;
}

.buyu-pg-main-btn:hover {
	color: #fff;
}

.buyu-pg-light-btn {
	border: 1px solid #d7dbe2;
	color: #333b48;
	background: #fff;
}

/* APP 資訊參數 */
.buyu-app-info-block {
	margin-top: 62px;
}

.buyu-app-info-title {
	margin-bottom: 22px;
	color: #9aa0a9;
	font-size: 14px;
}

.buyu-pg-specs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 30px;
	column-gap: 36px;
	max-width: 760px;
}

.buyu-pg-main-specs {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buyu-pg-specs div span {
	display: block;
	margin-bottom: 9px;
	color: #9aa0a9;
	font-size: 13px;
}

.buyu-pg-specs div strong {
	display: block;
	color: #333942;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.35;
}

.buyu-compat-title {
	margin-top: 46px;
	margin-bottom: 18px;
	color: #9aa0a9;
	font-size: 14px;
}

.buyu-pg-platforms {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	color: #999fa8;
	font-size: 14px;
}

.buyu-pg-platforms a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 11px;
	border: 1px solid #e2e5ea;
	background: #fafafa;
	color: #555d68;
	text-decoration: none;
	font-size: 13px;
}

/* phone */
.buyu-pg-phone {
	display: flex;
	justify-content: center;
	padding-top: 12px;
}

.buyu-phone-frame {
	width: 314px;
	padding: 30px 16px 25px;
	border-radius: 38px;
	background: #ffffff;
	box-shadow: 0 26px 62px rgba(0,0,0,.13);
}

.buyu-phone-speaker {
	width: 76px;
	height: 5px;
	margin: 0 auto 20px;
	border-radius: 999px;
	background: #e9ebef;
}

.buyu-phone-screen {
	overflow: hidden;
	width: 100%;
	aspect-ratio: 9 / 16;
	background: #f6f6f7;
}

.buyu-phone-screen img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.buyu-phone-home {
	width: 40px;
	height: 40px;
	margin: 18px auto 0;
	border-radius: 50%;
	background: #f0f1f3;
}

/* sections */
.buyu-pg-section {
	padding: 52px 0;
	background: #ffffff;
}

.buyu-pg-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	border-bottom: 1px solid #eceff3;
}

.buyu-pg-section-head h2 {
	margin: 0 0 14px;
	color: #333942;
	font-size: 23px;
	font-weight: 500;
}

.buyu-pg-section-head a {
	margin-bottom: 14px;
	color: #333942;
	text-decoration: none;
	font-size: 14px;
}

.buyu-pg-faq {
	display: grid;
	gap: 10px;
}

.buyu-pg-faq details {
	border-bottom: 1px solid #eceff3;
	background: #ffffff;
}

.buyu-pg-faq summary {
	cursor: pointer;
	padding: 18px 0;
	list-style: none;
	color: #333942;
	font-size: 16px;
	font-weight: 600;
}

.buyu-pg-faq summary::-webkit-details-marker {
	display: none;
}

.buyu-pg-faq summary::after {
	content: "+";
	float: right;
	color: #ff2d57;
	font-size: 22px;
	font-weight: 400;
}

.buyu-pg-faq details[open] summary::after {
	content: "−";
}

.buyu-pg-faq p {
	margin: 0;
	padding: 0 0 18px;
	color: #747b86;
	font-size: 15px;
	line-height: 1.9;
}

.buyu-pg-content {
	color: #747b86;
	line-height: 1.9;
}

.buyu-pg-sticky {
	display: none;
}

/* responsive */
@media (max-width: 1020px) {
	.buyu-pg-hero {
		min-height: auto;
		padding-top: 14px;
	}

	.buyu-pg-hero-grid,
	.buyu-pg-intro-grid {
		grid-template-columns: 1fr;
		gap: 38px;
		min-height: auto;
	}

	.buyu-pg-visual {
		min-height: 260px;
	}

	.buyu-pg-character {
		justify-content: flex-start;
		min-height: auto;
	}

	.buyu-pg-character img {
		max-height: 360px;
	}

	.buyu-pg-phone {
		justify-content: flex-start;
		padding-top: 0;
	}

	.buyu-pg-specs,
	.buyu-pg-main-specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.buyu-pg-container {
		width: min(100% - 28px, 1220px);
	}

	.buyu-age-card {
		padding: 34px 22px 28px;
	}

	.buyu-age-actions {
		grid-template-columns: 1fr;
	}

	.buyu-pg-hero {
		padding-top: 24px;
		padding-bottom: 28px;
	}

	.buyu-pg-breadcrumb {
		margin-bottom: 10px;
	}

	.buyu-pg-visual {
		min-height: 180px;
	}

	.buyu-pg-ghost {
		font-size: 88px;
	}

	.buyu-pg-character img {
		max-height: 260px;
	}

	.buyu-pg-scroll-cue {
		display: none;
	}

	.buyu-pg-intro {
		padding-top: 40px;
	}

	.buyu-pg-title-row {
		align-items: flex-start;
	}

	.buyu-pg-title-row h1 {
		font-size: 24px;
	}

	.buyu-pg-actions {
		display: grid;
	}

	.buyu-pg-main-btn,
	.buyu-pg-light-btn {
		width: 100%;
	}

	.buyu-pg-specs,
	.buyu-pg-main-specs {
		grid-template-columns: 1fr;
		row-gap: 18px;
		margin-top: 0;
	}

	.buyu-app-info-block {
		margin-top: 38px;
	}

	.buyu-phone-frame {
		width: min(286px, 100%);
	}

	.buyu-pg-sticky {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 999;
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 10px;
		align-items: center;
		padding: 10px 14px;
		background: rgba(255,255,255,.95);
		border-top: 1px solid #eceff3;
		backdrop-filter: blur(12px);
	}

	.buyu-pg-sticky span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 42px;
		padding: 0 12px;
		border-radius: 999px;
		background: #ff2d57;
		color: #ffffff;
		font-weight: 900;
	}

	.buyu-pg-sticky a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		background: #111827;
		color: #ffffff;
		text-decoration: none;
		font-weight: 900;
	}

	body {
		padding-bottom: 68px;
	}
}


/* V3.8.7：修正详情页视觉偏左 + 直接渲染相关 APP */
.buyu-pg-left {
	width: 100%;
	max-width: 620px;
}

.buyu-related-direct-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}

.buyu-related-empty {
	margin: 0;
	color: #9aa0a9;
	font-size: 14px;
}

@media (max-width: 1020px) {
	.buyu-pg-hero-grid,
	.buyu-pg-intro-grid {
		grid-template-columns: 1fr;
		justify-content: initial;
	}

	.buyu-related-direct-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.buyu-related-direct-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}
