﻿/**
 * 提交申请页 - 样式3（与主题其它模块类名隔离：apply-s3）
 */
.apply-s3 {
	--apply3-bg:     var(--color-bg);
	--apply3-panel:  var(--color-panel);
	--apply3-ink:    var(--color-ink);
	--apply3-muted:  var(--color-muted);
	--apply3-line:   var(--color-line);
	--apply3-line-2: var(--color-line-2);
	--apply3-shadow: var(--color-shadow);
	--apply3-accent: var(--color-accent);
	--apply3-pad: 24px;
	--apply3-max: 1440px;
	--apply3-mono: var(--font-mono);
	--apply3-sans: var(--font-sans);

	box-sizing: border-box;
	font-family: var(--apply3-sans);
	color: var(--apply3-ink);
	background: var(--apply3-bg);
	line-height: 1.5;
}

.apply-s3 *,
.apply-s3 *::before,
.apply-s3 *::after {
	box-sizing: border-box;
}

.apply-s3__container {
	position: relative;
	max-width: var(--apply3-max);
	margin: 0 auto;
	padding: 18px 20px 24px;
}

.apply-s3__section {
	position: relative;
	margin-top: 0;
	background: var(--color-section-bg);
	border: 1px solid var(--apply3-line-2);
	box-shadow: var(--apply3-shadow);
	overflow: hidden;
}

.apply-s3__section::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 160px;
	height: 48px;
	background: linear-gradient(135deg, transparent 0 18px, rgba(var(--color-accent-rgb), 0.18) 18px 19px, transparent 19px 100%),
		linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
}

/* 第一、五部分不显示左上角装饰（其它 section 仍保留 ::before） */
.apply-s3__section.apply-s3__section--part1::before,
.apply-s3__section.apply-s3__quote-panel::before {
	content: none;
	display: none;
}

.apply-s3__section + .apply-s3__section {
	margin-top: 16px;
}

.apply-s3__hero {
	padding: 28px var(--apply3-pad);
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
	align-items: stretch;
	position: relative;
	z-index: 1;
}

.apply-s3__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: max-content;
	padding: 7px 10px;
	border: 1px solid var(--apply3-ink);
	background: var(--apply3-panel);
	font-family: var(--apply3-mono);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.apply-s3__eyebrow::before {
	content: "";
	width: 10px;
	height: 10px;
	border: 1px solid var(--apply3-ink);
	background: var(--apply3-accent);
}

.apply-s3__title {
	margin: 0;
	font-size: clamp(28px, 4vw, 52px);
	line-height: 1.08;
	letter-spacing: 0.01em;
	font-weight: 800;
	color: #000;
}

.apply-s3__intro {
	margin: 14px 0 0;
	font-size: 15px;
	color: var(--apply3-muted);
	max-width: 1380px;
}

.apply-s3__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.apply-s3__stat {
	border: 1px solid var(--apply3-ink);
	padding: 14px 12px;
	background: linear-gradient(0deg, rgba(var(--color-accent-rgb), 0.12), #fff);
	min-height: 88px;
}

.apply-s3__stat-k {
	margin: 0 0 10px;
	font-family: var(--apply3-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--apply3-muted);
	text-transform: uppercase;
}

.apply-s3__stat-v {
	margin: 0;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
}

.apply-s3__stat-s {
	margin: 6px 0 0;
	color: var(--apply3-muted);
	font-size: 12px;
	line-height: 1.45;
}

@media (max-width: 1200px) {
	.apply-s3__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.apply-s3__stats {
		grid-template-columns: 1fr;
	}
	:root .apply-s3 {
		--apply3-pad: 16px;
	}
}

/* 第二部分：Series Value 风格（参照 备用样式-03.html） */
.apply-s3__section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	padding: 18px var(--apply3-pad) 12px;
	border-bottom: 1px solid var(--apply3-line);
	flex-wrap: wrap;
}

.apply-s3__section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--apply3-mono);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.apply-s3__section-bar {
	width: 10px;
	height: 10px;
	background: var(--apply3-accent);
	border: 1px solid var(--apply3-ink);
	box-shadow: 4px 0 0 var(--apply3-ink);
	flex-shrink: 0;
}

.apply-s3__value-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding: 16px var(--apply3-pad) 22px;
}

.apply-s3__value-card {
	border: 1px solid var(--apply3-line-2);
	padding: 18px;
	background: var(--apply3-panel);
	min-height: 184px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.apply-s3__value-card::before {
	content: "";
	width: 18px;
	height: 18px;
	border: 1px solid var(--apply3-ink);
	background: var(--apply3-accent);
	box-shadow: 6px 0 0 var(--apply3-ink);
}

.apply-s3__value-card-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.15;
	font-weight: 600;
	color: #000;
}

.apply-s3__value-card-text {
	margin: 0;
	color: var(--apply3-muted);
	font-size: 14px;
	line-height: 1.5;
}

.apply-s3__meta-line {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--apply3-line);
	font-family: var(--apply3-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--apply3-ink);
}

@media (max-width: 1200px) {
	.apply-s3__value-grid {
		grid-template-columns: 1fr;
	}
}

/* 第三部分：Featured 横向专辑卡（参照 备用样式-03 featured / album-card） */
.apply-s3__featured {
	padding: 16px var(--apply3-pad) 24px;
}

.apply-s3__featured-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.apply-s3__album-card {
	border: 1px solid var(--apply3-line-2);
	background: var(--apply3-panel);
	display: flex;
	flex-direction: column;
	transition: transform 0.12s ease, border-color 0.12s ease;
	min-width: 0;
	overflow: hidden;
}

.apply-s3__album-card:hover {
	transform: translateY(-2px);
	border-color: var(--apply3-ink);
}

.apply-s3__album-cover-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.apply-s3__album-cover {
	position: relative;
	aspect-ratio: 1 / 1;
	border-bottom: 1px solid var(--apply3-line-2);
	image-rendering: -webkit-optimize-contrast;
}

.apply-s3__album-cover--has-img {
	background-size: cover, auto, auto;
	background-position: center center, center, center;
}

/* 封面悬停播放器按钮（参照 ceo-shop4 overlay/play-fab 交互） */
.apply-s3__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(var(--color-ink-rgb), 0.55);
	opacity: 0;
	transition: opacity 0.18s ease;
	z-index: 3;
	pointer-events: none;
}

.apply-s3__album-cover:hover .apply-s3__overlay,
.apply-s3__album-cover:focus-within .apply-s3__overlay,
.apply-s3__album-card:focus-within .apply-s3__overlay {
	opacity: 1;
}

.apply-s3__play-fab {
	width: 50px;
	height: 50px;
	border: 1px solid #fff;
	background: rgba(255, 255, 255, 0.10);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: transform 0.12s ease, background 0.12s ease;
	outline: none;
	position: relative;
	color: inherit;
	user-select: none;
	pointer-events: auto;
}

.apply-s3__play-fab:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.18);
}

.apply-s3__play-fab svg {
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	display: block;
	fill: #fff;
}

.apply-s3__play-fab > span {
	position: absolute;
	transform: translateY(54px);
	font-size: 12px;
	letter-spacing: 0.10em;
	font-family: var(--apply3-mono);
	color: #fff;
	opacity: 0.9;
	text-transform: uppercase;
}

.apply-s3__inner-label {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	align-items: flex-end;
	z-index: 2;
	pointer-events: none;
}

.apply-s3__title-box {
	min-width: 0;
}

.apply-s3__album-en {
	display: block;
	font-family: var(--apply3-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--apply3-muted);
	text-transform: uppercase;
	margin-bottom: 6px;
}

.apply-s3__album-cn {
	display: block;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.15;
	word-break: break-word;
	color: var(--apply3-ink);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.apply-s3__mini-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	padding: 5px 7px;
	border: 1px solid var(--apply3-ink);
	background: rgba(255, 255, 255, 0.9);
	font-family: var(--apply3-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	white-space: nowrap;
	max-width: 42%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.apply-s3__mini-chip::before {
	content: "";
	width: 8px;
	height: 8px;
	border: 1px solid var(--apply3-ink);
	background: var(--apply3-accent);
	flex-shrink: 0;
}

.apply-s3__album-content {
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.apply-s3__album-topline {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	align-items: center;
	font-family: var(--apply3-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--apply3-muted);
}

.apply-s3__album-name {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
}

.apply-s3__album-name a {
	color: inherit;
	text-decoration: none;
	color: #000;
    font-size: 15px;
    font-weight: 600;
}

.apply-s3__album-name a:hover,
.apply-s3__album-name a:focus {
	text-decoration: none;
}

.apply-s3__album-artist {
	margin: 0;
	color: var(--apply3-muted);
	font-size: 13px;
}

.apply-s3__album-desc {
	margin: 0;
	font-size: 13px;
	color: #1a2028;
	line-height: 1.45;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 悬停气泡：完整介绍 */
.apply-s3__album-desc-wrap {
	display: block;
	position: relative;
}
.apply-s3__album-desc-wrap[data-tooltip] { cursor: help; }
.apply-s3__album-desc-wrap[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 1px;
	right: 1px;
	width: auto;
	background: var(--apply3-ink);
	color: var(--color-bg);
	font-size: 12px;
	line-height: 1.65;
	padding: 10px 13px;
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
	white-space: pre-wrap;
	word-break: break-word;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease, visibility .15s ease;
	z-index: 200;
}
.apply-s3__album-desc-wrap[data-tooltip]:hover::after {
	opacity: 1;
	visibility: visible;
}

.apply-s3__album-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 2px;
}

.apply-s3__meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 8px;
	border: 1px solid var(--apply3-line-2);
	background: var(--apply3-panel);
	font-family: var(--apply3-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

@media (max-width: 1200px) {
	.apply-s3__featured-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 840px) {
	.apply-s3__featured-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.apply-s3__featured-row {
		grid-template-columns: 1fr;
	}
}

/* 第四部分：Chapter 横向滑动（参照 备用样式-03 #chapters / chapter-grid.scroll） */
.apply-s3__chapter {
	padding: 16px var(--apply3-pad) 24px;
}

.apply-s3__chapter-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	align-items: end;
	margin-bottom: 16px;
}

.apply-s3__chapter-name {
	margin: 0;
	font-size: 30px;
	line-height: 1.08;
	font-weight: 800;
	color: #000;
}

.apply-s3__chapter-copy {
	margin: 10px 0 0;
	color: var(--apply3-muted);
	max-width: 780px;
	font-size: 15px;
	line-height: 1.5;
}

.apply-s3__chapter-grid--scroll {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 10px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	/* Firefox：使用系统默认宽度（比 thin 更易点按） */
	scrollbar-width: auto;
	scrollbar-color: var(--apply3-line-2) var(--apply3-bg);
}

/* Chromium / Safari / Edge：加宽横向滚动条（height 即轨道厚度） */
.apply-s3__chapter-grid--scroll::-webkit-scrollbar {
	height: 16px;
}

.apply-s3__chapter-grid--scroll::-webkit-scrollbar-track {
	background: #eef1f4;
	border-radius: 8px;
}

.apply-s3__chapter-grid--scroll::-webkit-scrollbar-thumb {
	background: var(--apply3-line-2);
	border-radius: 8px;
}

.apply-s3__chapter-grid--scroll::-webkit-scrollbar-thumb:hover {
	background: #9aa3ad;
}

.apply-s3__chapter-grid--scroll .apply-s3__album-card {
	flex: 0 0 min(320px, 84vw);
	scroll-snap-align: start;
	max-width: min(320px, 84vw);
}

/* 第五部分：quote-panel（恢复「备用样式-03」整块底：黄渐变 + 斜向细线纹理） */
.apply-s3__quote-panel {
	padding: 30px var(--apply3-pad);
	display: grid;
	place-items: center;
	background: linear-gradient(0deg, rgba(var(--color-accent-rgb), 0.1), rgba(255, 255, 255, 1)),
		repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0 2px, transparent 2px 14px);
}

/* 去掉 blockquote 默认灰底、左边框、主题/浏览器自带的引号装饰 */
.apply-s3__quote-block {
	margin: 0;
	padding: 0;
	max-width: 980px;
	border: 0;
	border-left: none;
	background: transparent !important;
	box-shadow: none;
	quotes: none;
	font-style: normal;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	text-align: center;
	line-height: 1.3;
	color: var(--apply3-ink);
}

.apply-s3__quote-block::before,
.apply-s3__quote-block::after {
	content: none !important;
	display: none !important;
}

.apply-s3__quote-cite {
	display: block;
	margin-top: 12px;
	font-style: normal;
	font-family: var(--apply3-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--apply3-muted);
	text-align: center;
}

/* 第六部分：Archive 馆藏网格（参照 备用样式-03 #archive） */
.apply-s3__archive {
	padding: 16px var(--apply3-pad) 24px;
}

.apply-s3__archive-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.apply-s3__archive-toolbar-main {
	min-width: 0;
}

.apply-s3__archive-title {
	font-size: 28px;
	line-height: 1.1;
	margin: 0;
}

.apply-s3__archive-filter {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.apply-s3__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border: 1px solid var(--apply3-ink);
	background: var(--apply3-panel);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-family: var(--apply3-mono);
	white-space: nowrap;
}

.apply-s3__chip::before {
	content: "";
	width: 10px;
	height: 10px;
	border: 1px solid var(--apply3-ink);
	background: var(--apply3-accent);
	flex: 0 0 auto;
}

.apply-s3__archive-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.apply-s3__album-topline--single {
	justify-content: flex-start;
}

.apply-s3__album-topline--release {
	min-width: 0;
}

.apply-s3__release-line {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
	max-width: 100%;
}

.apply-s3__release-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: var(--apply3-muted);
}

.apply-s3__release-date {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* 第六部分商品列表：标题单行省略（grid 子项需 min-width:0 才能收缩） */
.apply-s3__archive-grid .apply-s3__album-content {
	min-width: 0;
}

.apply-s3__archive-grid .apply-s3__album-name--ellipsis {
	overflow: hidden;
	max-width: 100%;
}

.apply-s3__archive-grid .apply-s3__album-name--ellipsis a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #000;
    font-size: 13px;
    font-weight: 600;
}

.apply-s3__album-card--compact .apply-s3__album-cover::before,
.apply-s3__album-card--compact .apply-s3__album-cover::after {
	content: none;
	display: none;
}

@media (max-width: 1200px) {
	.apply-s3__archive-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 840px) {
	.apply-s3__archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.apply-s3__archive-grid {
		grid-template-columns: 1fr;
	}
}
