/* ============================================================================
 * template/movie/peakstream/skin/css/pt.css
 *   峰值影站 · PeakStream —— 主题样式
 *   气质：科技硬朗（冰川蓝 #2563eb + 石墨灰 #1f2937 + 冰白 #f5f7fa）
 *   骨架：左侧固定侧边栏 + 数据仪表条 + 横幅/海报交替节奏
 * ========================================================================== */

/* ---------- 令牌 ---------- */
:root {
	--pt-blue: #2563eb;
	--pt-blue-dp: #1d4ed8;
	--pt-ink: #1f2937;
	--pt-ink-2: #374151;
	--pt-ink-3: #6b7280;
	--pt-bg: #f5f7fa;
	--pt-surface: #ffffff;
	--pt-line: #d8dee8;
	--pt-line-dp: #c2cbd8;
	--pt-txt: #1f2937;
	--pt-txt-2: #55617a;
	--pt-hot: #ea580c;
	--pt-mono: 'Consolas', 'SFMono-Regular', 'Menlo', monospace;
	--pt-sans: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
	--pt-side-w: 220px;
	--pt-radius: 4px;
	--pt-radius-lg: 6px;
	--pt-shadow: 0 1px 3px rgba(31, 41, 55, .1);
	--pt-shadow-up: 0 8px 24px rgba(31, 41, 55, .14);
}

html[data-pt-mode="dark"] {
	--pt-blue: #3b82f6;
	--pt-blue-dp: #60a5fa;
	--pt-ink: #0b0e14;
	--pt-ink-2: #11151d;
	--pt-ink-3: #8b95a7;
	--pt-bg: #0b0e14;
	--pt-surface: #141922;
	--pt-line: #252c3a;
	--pt-line-dp: #333c4e;
	--pt-txt: #e5eaf2;
	--pt-txt-2: #9aa5b8;
	--pt-shadow: 0 1px 3px rgba(0, 0, 0, .5);
	--pt-shadow-up: 0 8px 24px rgba(0, 0, 0, .6);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body.pt-body {
	font-family: var(--pt-sans);
	background: var(--pt-bg);
	color: var(--pt-txt);
	font-size: 15px;
	line-height: 1.6;
	min-height: 100vh;
	padding-left: var(--pt-side-w);
}

img { max-width: 100%; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.pt-sr {
	position: absolute; width: 1px; height: 1px;
	margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.pt-chk { display: none; }

/* ---------- 侧边栏（PC fixed） ---------- */
.pt-side {
	position: fixed;
	left: 0; top: 0; bottom: 0;
	width: var(--pt-side-w);
	background: var(--pt-surface);
	border-right: 1px solid var(--pt-line);
	display: flex;
	flex-direction: column;
	z-index: 60;
	overflow-y: auto;
}

.pt-side__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 18px 14px 14px;
	border-bottom: 1px solid var(--pt-line);
}

.pt-brand { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pt-brand__logo { width: 34px; height: 34px; object-fit: contain; border-radius: var(--pt-radius); }
.pt-brand__logo.is-off { display: none; }
.pt-brand__word { font-size: 16px; font-weight: 700; color: var(--pt-txt); line-height: 1.3; }
.pt-brand__code { font-family: var(--pt-mono); font-size: 10px; letter-spacing: 2px; color: var(--pt-blue); font-style: normal; }

.pt-side__x { display: none; width: 28px; height: 28px; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); align-items: center; justify-content: center; color: var(--pt-txt-2); flex: none; }
.pt-side__x svg { width: 14px; height: 14px; fill: currentColor; }

.pt-side__cap {
	font-family: var(--pt-mono);
	font-size: 10px;
	letter-spacing: 2px;
	color: var(--pt-ink-3);
	padding: 14px 14px 6px;
	text-transform: uppercase;
}

.pt-navlist { padding: 0 8px; }
.pt-navlist li a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: var(--pt-radius);
	color: var(--pt-txt-2);
	font-size: 14px;
	border-left: 2px solid transparent;
	transition: background .15s, color .15s;
}
.pt-navlist li a i {
	font-family: var(--pt-mono);
	font-style: normal;
	font-size: 10px;
	color: var(--pt-ink-3);
}
.pt-navlist li a:hover { background: var(--pt-bg); color: var(--pt-txt); }
.pt-navlist li.is-cur a {
	background: var(--pt-bg);
	color: var(--pt-blue);
	border-left-color: var(--pt-blue);
	font-weight: 600;
}
.pt-navlist li.is-cur a i { color: var(--pt-blue); }

.pt-tree { padding: 0 10px 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.pt-tree__item {
	font-size: 12px;
	color: var(--pt-txt-2);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius);
	padding: 3px 8px;
	transition: color .15s, border-color .15s;
}
.pt-tree__item:hover { color: var(--pt-blue); border-color: var(--pt-blue); }

.pt-side__foot {
	margin-top: auto;
	padding: 12px 14px;
	border-top: 1px solid var(--pt-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.pt-side__sys { font-family: var(--pt-mono); font-size: 10px; color: var(--pt-ink-3); letter-spacing: 1px; }

/* ---------- 明暗切换按钮（class 绑定，双处复用） ---------- */
.pt-modebtn {
	width: 32px; height: 32px;
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius);
	background: var(--pt-surface);
	color: var(--pt-txt-2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color .15s, border-color .15s;
	flex: none;
}
.pt-modebtn:hover { color: var(--pt-blue); border-color: var(--pt-blue); }
.pt-modebtn svg { width: 16px; height: 16px; fill: currentColor; }
.pt-modebtn__moon { display: none; }
html[data-pt-mode="dark"] .pt-modebtn__sun { display: none; }
html[data-pt-mode="dark"] .pt-modebtn__moon { display: block; }

/* ---------- 移动顶栏（≤960px 显示） ---------- */
.pt-mob {
	display: none;
	position: fixed;
	left: 0; right: 0; top: 0;
	height: 52px;
	background: var(--pt-surface);
	border-bottom: 1px solid var(--pt-line);
	align-items: center;
	gap: 10px;
	padding: 0 12px;
	z-index: 55;
}
.pt-burger { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; color: var(--pt-txt); flex: none; }
.pt-burger svg { width: 18px; height: 18px; fill: currentColor; }
.pt-mob__brand { font-size: 15px; font-weight: 700; color: var(--pt-txt); white-space: nowrap; }
.pt-mob__search { display: flex; align-items: center; flex: 1; min-width: 0; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); background: var(--pt-bg); }
.pt-mob__inp { flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 8px; font-size: 13px; color: var(--pt-txt); outline: none; }
.pt-mob__sbtn { border: 0; background: transparent; color: var(--pt-txt-2); padding: 0 8px; height: 30px; display: inline-flex; align-items: center; }
.pt-mob__sbtn svg { width: 15px; height: 15px; fill: currentColor; }
.pt-mask { display: none; }

/* ---------- 主区 ---------- */
.pt-main { padding: 22px 26px 40px; max-width: 1400px; }

/* ---------- 数据仪表条 ---------- */
.pt-dash {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 22px;
}
.pt-dash__cell {
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-top: 2px solid var(--pt-blue);
	border-radius: var(--pt-radius);
	padding: 12px 14px 10px;
}
.pt-dash__cell b {
	display: block;
	font-family: var(--pt-mono);
	font-size: 22px;
	font-weight: 700;
	color: var(--pt-blue);
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}
.pt-dash__cell span { font-size: 11px; color: var(--pt-txt-2); letter-spacing: .5px; }

/* ---------- 首屏主推横幅 ---------- */
.pt-hero {
	position: relative;
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
	background: var(--pt-ink);
	margin-bottom: 30px;
	border: 1px solid var(--pt-line);
}
.pt-hero__frame { position: relative; aspect-ratio: 16 / 9; max-height: 480px; width: 100%; overflow: hidden; }
.pt-hero__img { width: 100%; height: 100%; object-fit: cover; }
.pt-hero__scan {
	position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, var(--pt-blue), transparent);
}
.pt-hero__float {
	position: absolute;
	right: 0; bottom: 0;
	width: min(46%, 460px);
	background: rgba(15, 20, 30, .82);
	backdrop-filter: blur(6px);
	padding: 18px 20px;
	border-top-left-radius: var(--pt-radius-lg);
	color: #f5f7fa;
}
.pt-hero__tag { font-family: var(--pt-mono); font-size: 10px; letter-spacing: 2px; color: #7ea6ff; margin-bottom: 6px; }
.pt-hero__ttl { font-size: 22px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; color: #ffffff; }
.pt-hero__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pt-hero__meta span, .pt-pcard__note, .pt-row__col .is-hot {
	font-family: var(--pt-mono);
	font-size: 11px;
	padding: 1px 7px;
	border: 1px solid rgba(245, 247, 250, .35);
	border-radius: 3px;
	color: #dbe3f0;
}
.pt-hero__meta .is-hot { color: #ffb27a; border-color: rgba(255, 178, 122, .5); }
.pt-hero__desc {
	font-size: 13px; color: #c3ccdb; line-height: 1.6;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	margin-bottom: 12px;
}
.pt-hero__acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.pt-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--pt-blue);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: var(--pt-radius);
	transition: background .15s;
	border: 1px solid var(--pt-blue);
}
.pt-btn svg { width: 13px; height: 13px; fill: currentColor; }
.pt-btn:hover { background: var(--pt-blue-dp); }
.pt-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.pt-btn--sm { padding: 6px 13px; font-size: 13px; }

/* ---------- 区块头 ---------- */
.pt-sec { margin-bottom: 34px; }
.pt-sec__hd {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--pt-line);
}
.pt-sec__ttl { font-size: 18px; font-weight: 700; color: var(--pt-txt); }
.pt-sec__ttl i { font-family: var(--pt-mono); color: var(--pt-blue); font-style: normal; margin-right: 4px; }
.pt-sec__ttl a:hover { color: var(--pt-blue); }
.pt-sec__en { font-family: var(--pt-mono); font-size: 10px; letter-spacing: 2px; color: var(--pt-ink-3); font-weight: 400; margin-left: 6px; }
.pt-sec__more { font-size: 13px; color: var(--pt-txt-2); display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.pt-sec__more svg { width: 12px; height: 12px; fill: currentColor; }
.pt-sec__more:hover { color: var(--pt-blue); }

/* ---------- 竖版海报卡（顶部细进度条） ---------- */
.pt-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.pt-grid--6 { grid-template-columns: repeat(6, 1fr); }

.pt-pcard { display: block; min-width: 0; }
.pt-pcard__pic {
	position: relative;
	display: block;
	aspect-ratio: 2 / 3;
	width: 100%;
	overflow: hidden;
	border-radius: var(--pt-radius);
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
}
.pt-pcard__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pt-pcard:hover .pt-pcard__pic img { transform: scale(1.04); }
.pt-pcard__prog {
	position: absolute; left: 0; right: 0; top: 0;
	height: 3px;
	background: rgba(31, 41, 55, .25);
}
.pt-pcard__prog b { display: block; height: 100%; width: 0; background: var(--pt-blue); }
.pt-pcard__note {
	position: absolute; right: 6px; bottom: 6px;
	background: rgba(15, 20, 30, .8);
	color: #ffffff;
	font-family: var(--pt-mono);
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 3px;
}
.pt-pcard__ttl {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--pt-txt);
	margin-top: 8px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-pcard:hover .pt-pcard__ttl { color: var(--pt-blue); }
.pt-pcard__meta { display: block; font-size: 12px; color: var(--pt-txt-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 横幅宽卡（16:9 左图右文） ---------- */
.pt-brows {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 16px;
}
.pt-bcard {
	display: flex;
	gap: 14px;
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius);
	overflow: hidden;
	transition: box-shadow .2s, border-color .2s;
	min-width: 0;
}
.pt-bcard:hover { box-shadow: var(--pt-shadow-up); border-color: var(--pt-line-dp); }
.pt-bcard__pic {
	flex: none;
	width: 42%;
	max-width: 240px;
	aspect-ratio: 16 / 9;
	align-self: center;
	overflow: hidden;
	background: var(--pt-bg);
}
.pt-bcard__pic img { width: 100%; height: 100%; object-fit: cover; }
.pt-bcard__txt { flex: 1; min-width: 0; padding: 12px 14px 12px 0; display: flex; flex-direction: column; }
.pt-bcard__ttl {
	font-size: 15px; font-weight: 700; color: var(--pt-txt);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-bcard:hover .pt-bcard__ttl { color: var(--pt-blue); }
.pt-bcard__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.pt-bcard__meta i {
	font-family: var(--pt-mono); font-style: normal;
	font-size: 11px; color: var(--pt-txt-2);
	border: 1px solid var(--pt-line);
	padding: 0 6px; border-radius: 3px;
}
.pt-bcard__meta i.is-hot { color: var(--pt-hot); border-color: var(--pt-hot); }
.pt-bcard__info {
	font-size: 12px; color: var(--pt-txt-2); line-height: 1.6; margin-top: 6px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 分类索引 ---------- */
.pt-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pt-index a {
	display: flex; align-items: center; gap: 8px;
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius);
	padding: 9px 12px;
	font-size: 13px;
	color: var(--pt-txt-2);
	transition: color .15s, border-color .15s;
}
.pt-index a i { width: 6px; height: 6px; background: var(--pt-blue); flex: none; }
.pt-index a:hover { color: var(--pt-blue); border-color: var(--pt-blue); }

/* ---------- 页头（列表/详情通用） ---------- */
.pt-phead { margin-bottom: 18px; }
.pt-phead--sm { margin-bottom: 12px; }
.pt-crumb { font-family: var(--pt-mono); font-size: 12px; color: var(--pt-txt-2); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pt-crumb a:hover { color: var(--pt-blue); }
.pt-crumb__cur { color: var(--pt-blue); }
.pt-phead__ttl {
	font-size: 24px; font-weight: 700; color: var(--pt-txt);
	padding-left: 12px;
	border-left: 3px solid var(--pt-blue);
	line-height: 1.3;
}
.pt-phead__desc { font-size: 13px; color: var(--pt-txt-2); margin-top: 6px; }

.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pt-chips a {
	font-size: 12px; color: var(--pt-txt-2);
	border: 1px solid var(--pt-line); border-radius: var(--pt-radius);
	padding: 4px 11px;
	background: var(--pt-surface);
	transition: color .15s, border-color .15s;
}
.pt-chips a:hover { color: var(--pt-blue); border-color: var(--pt-blue); }

/* ---------- 列表页：行式条目（表格感） ---------- */
.pt-rows {
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
	margin-bottom: 22px;
}
.pt-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 84px 84px 70px 64px 32px;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--pt-line);
	transition: background .15s;
	min-width: 0;
}
.pt-row:last-child { border-bottom: 0; }
.pt-row:hover { background: var(--pt-bg); }
.pt-row__pic {
	width: 42px; aspect-ratio: 2 / 3;
	overflow: hidden; border-radius: 3px;
	background: var(--pt-bg); flex: none;
}
.pt-row__pic img { width: 100%; height: 100%; object-fit: cover; }
.pt-row__ttl {
	font-size: 14px; font-weight: 600; color: var(--pt-txt);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pt-row:hover .pt-row__ttl { color: var(--pt-blue); }
.pt-row__col { font-family: var(--pt-mono); font-size: 12px; color: var(--pt-txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-row__go { font-family: var(--pt-mono); color: var(--pt-ink-3); text-align: right; }
.pt-row:hover .pt-row__go { color: var(--pt-blue); }

/* ---------- 分页 ---------- */
.pt-pager { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pt-pager a {
	font-family: var(--pt-mono);
	font-size: 13px;
	color: var(--pt-txt-2);
	border: 1px solid var(--pt-line);
	background: var(--pt-surface);
	border-radius: var(--pt-radius);
	padding: 5px 12px;
	transition: color .15s, border-color .15s;
}
.pt-pager a:hover { color: var(--pt-blue); border-color: var(--pt-blue); }
.pt-pager a.is-cur { background: var(--pt-blue); border-color: var(--pt-blue); color: #ffffff; }

/* ---------- 详情页 ---------- */
.pt-detail {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 26px;
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius-lg);
	padding: 22px;
	margin-bottom: 30px;
}
.pt-detail__pic {
	position: relative;
	aspect-ratio: 2 / 3;
	width: 100%;
	overflow: hidden;
	border-radius: var(--pt-radius);
	border: 1px solid var(--pt-line);
	background: var(--pt-bg);
}
.pt-detail__pic img { width: 100%; height: 100%; object-fit: cover; }
.pt-detail__badge {
	position: absolute; left: 0; top: 0;
	background: var(--pt-blue); color: #ffffff;
	font-family: var(--pt-mono); font-size: 12px;
	padding: 3px 10px;
	border-bottom-right-radius: var(--pt-radius);
}
.pt-detail__ttl { font-size: 24px; font-weight: 700; color: var(--pt-txt); line-height: 1.35; margin-bottom: 6px; }
.pt-detail__code { font-family: var(--pt-mono); font-size: 12px; color: var(--pt-txt-2); margin-bottom: 12px; }
.pt-detail__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pt-detail__pills i {
	font-family: var(--pt-mono); font-style: normal;
	font-size: 12px; color: var(--pt-txt-2);
	border: 1px solid var(--pt-line);
	padding: 1px 9px; border-radius: 3px;
}
.pt-detail__pills i.is-hot { color: var(--pt-blue); border-color: var(--pt-blue); }
.pt-detail__syn {
	font-size: 14px; color: var(--pt-txt-2); line-height: 1.7; margin-bottom: 16px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pt-detail__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin-bottom: 18px; }
.pt-detail__meta div { display: flex; gap: 10px; font-size: 13px; min-width: 0; }
.pt-detail__meta dt { color: var(--pt-ink-3); flex: none; }
.pt-detail__meta dd { color: var(--pt-txt); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-detail__acts { display: flex; gap: 10px; flex-wrap: wrap; }

.pt-eps { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-eps a {
	font-family: var(--pt-mono);
	font-size: 13px;
	color: var(--pt-txt-2);
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius);
	padding: 6px 14px;
	transition: color .15s, border-color .15s;
}
.pt-eps a:hover { color: var(--pt-blue); border-color: var(--pt-blue); }
.pt-eps a.is-cur { background: var(--pt-blue); border-color: var(--pt-blue); color: #ffffff; }

.pt-prose {
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-radius: var(--pt-radius-lg);
	padding: 18px 20px;
	font-size: 14px;
	color: var(--pt-txt-2);
	line-height: 1.9;
}

/* ---------- 播放页 ---------- */
.pt-play { margin-bottom: 30px; }
.pt-play__box {
	background: var(--pt-ink);
	border-radius: var(--pt-radius-lg);
	overflow: hidden;
	border: 1px solid var(--pt-line);
}
.pt-play__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: var(--pt-surface);
	border: 1px solid var(--pt-line);
	border-top: 0;
	border-radius: 0 0 var(--pt-radius-lg) var(--pt-radius-lg);
	padding: 12px 16px;
}
.pt-play__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-play__meta span {
	font-family: var(--pt-mono); font-size: 12px; color: var(--pt-txt-2);
	border: 1px solid var(--pt-line); padding: 1px 9px; border-radius: 3px;
}

/* ---------- 页脚 ---------- */
.pt-foot {
	border-top: 1px solid var(--pt-line);
	background: var(--pt-surface);
	margin-top: 20px;
}
.pt-foot__in {
	max-width: 1400px;
	margin: 0 auto;
	padding: 32px 26px;
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) repeat(3, 1fr);
	gap: 24px;
}
.pt-foot__mark { font-size: 17px; font-weight: 700; color: var(--pt-txt); }
.pt-foot__code { font-family: var(--pt-mono); font-size: 10px; letter-spacing: 2px; color: var(--pt-blue); margin-top: 4px; }
.pt-foot__note { font-size: 13px; color: var(--pt-txt-2); margin-top: 10px; line-height: 1.7; }
.pt-foot__ht { font-size: 13px; font-weight: 700; color: var(--pt-txt); margin-bottom: 10px; }
.pt-foot__cols ul li { font-size: 13px; color: var(--pt-txt-2); margin-bottom: 6px; }
.pt-foot__cols ul a:hover { color: var(--pt-blue); }
.pt-foot__bar {
	border-top: 1px solid var(--pt-line);
	padding: 14px 26px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: space-between;
	font-size: 12px;
	color: var(--pt-ink-3);
}
.pt-foot__bar a:hover { color: var(--pt-blue); }

/* ---------- 返回顶部 ---------- */
.pt-totop {
	position: fixed;
	right: 22px; bottom: 26px;
	width: 40px; height: 40px;
	background: var(--pt-blue);
	color: #ffffff;
	border-radius: var(--pt-radius);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 50;
	box-shadow: var(--pt-shadow-up);
}
.pt-totop svg { width: 18px; height: 18px; fill: currentColor; }
.pt-totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============ 响应式 ============ */

/* ≤1240：海报 5 列，索引 3 列 */
@media (max-width: 1240px) {
	.pt-grid--6 { grid-template-columns: repeat(5, 1fr); }
	.pt-index { grid-template-columns: repeat(3, 1fr); }
	.pt-row { grid-template-columns: 56px minmax(0, 1fr) 84px 84px 70px 32px; }
	.pt-row__col:nth-of-type(4) { display: none; }
}

/* ≤960：侧栏收起为抽屉，顶栏接管 */
@media (max-width: 960px) {
	body.pt-body { padding-left: 0; padding-top: 52px; }
	.pt-main { padding: 16px 14px 36px; }
	.pt-side {
		transform: translateX(-100%);
		transition: transform .25s ease;
		box-shadow: none;
	}
	.pt-side__x { display: inline-flex; }
	.pt-chk:checked ~ .pt-side { transform: translateX(0); box-shadow: var(--pt-shadow-up); }
	.pt-mob { display: flex; }
	.pt-mask {
		display: block;
		position: fixed; inset: 0;
		background: rgba(15, 20, 30, .5);
		opacity: 0; visibility: hidden;
		transition: opacity .25s, visibility .25s;
		z-index: 58;
	}
	.pt-chk:checked ~ .pt-mask { opacity: 1; visibility: visible; }
	.pt-dash { grid-template-columns: repeat(2, 1fr); }
	.pt-grid--6 { grid-template-columns: repeat(4, 1fr); }
	.pt-brows { grid-template-columns: 1fr; }
	.pt-index { grid-template-columns: repeat(2, 1fr); }
	.pt-detail { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 16px; }
	.pt-foot__in { grid-template-columns: 1fr 1fr; }
	.pt-hero__float { width: min(60%, 420px); }
}

/* ≤640：海报 3 列，行式条目转双行 */
@media (max-width: 640px) {
	.pt-grid--6 { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.pt-dash__cell b { font-size: 18px; }
	.pt-hero { margin-bottom: 24px; }
	.pt-hero__frame { aspect-ratio: 16 / 9; max-height: none; }
	.pt-hero__float {
		position: static;
		width: 100%;
		border-top-left-radius: 0;
		border-top: 1px solid rgba(245, 247, 250, .15);
		padding: 14px 16px;
	}
	.pt-hero__ttl { font-size: 18px; }
	.pt-row {
		grid-template-columns: 56px minmax(0, 1fr) 24px;
		grid-template-areas: "pic ttl go" "pic cols cols";
		row-gap: 4px;
	}
	.pt-row__pic { grid-area: pic; }
	.pt-row__ttl { grid-area: ttl; }
	.pt-row__go { grid-area: go; }
	.pt-row__col { grid-area: cols; display: inline; white-space: normal; }
	.pt-row__col:nth-of-type(4) { display: inline; }
	.pt-detail { grid-template-columns: 1fr; }
	.pt-detail__pic { max-width: 220px; }
	.pt-detail__meta { grid-template-columns: 1fr; }
	.pt-foot__in { grid-template-columns: 1fr; padding: 24px 16px; }
	.pt-foot__bar { padding: 12px 16px; }
	.pt-index { grid-template-columns: repeat(2, 1fr); }
}

/* ≤420：海报 2 列 */
@media (max-width: 420px) {
	body.pt-body { font-size: 14px; }
	.pt-grid--6 { grid-template-columns: repeat(2, 1fr); }
	.pt-dash { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.pt-main { padding: 12px 10px 32px; }
	.pt-sec__ttl { font-size: 16px; }
	.pt-sec__en { display: none; }
	.pt-chips a { padding: 3px 9px; }
	.pt-phead__ttl { font-size: 20px; }
	.pt-btn { padding: 8px 14px; font-size: 13px; }
	.pt-totop { right: 12px; bottom: 16px; }
}
