:root {
	--pk-ink: #1b2421;
	--pk-muted: #5d6b66;
	--pk-line: #e1e8e4;
	--pk-paper: #f5f7f6;
	--pk-teal: #0e7c68;
	--pk-teal-deep: #0b6454;
	--pk-max: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	overflow-x: hidden;
	color-scheme: light;
}

body {
	margin: 0;
	color: var(--pk-ink);
	background: var(--pk-paper);
	font: 15px/1.55 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
	overflow-wrap: break-word;
}

a {
	color: var(--pk-teal);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img {
	border: 0;
	vertical-align: middle;
}

button,
input {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--pk-teal);
	outline-offset: 2px;
}

.pk-skip {
	position: absolute;
	left: 12px;
	top: 8px;
	z-index: 4;
	padding: 8px 12px;
	background: #fff;
	color: var(--pk-ink);
	border: 2px solid var(--pk-teal);
	border-radius: 8px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.pk-skip:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	overflow: visible;
}

#pk-main {
	scroll-margin-top: 5.5rem;
}

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

.pk-bar {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #fff;
	border-bottom: 1px solid var(--pk-line);
}

.pk-bar-in {
	max-width: var(--pk-max);
	margin: 0 auto;
	padding: 12px 16px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
}

.pk-logo {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--pk-ink);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.pk-logo img {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	flex: none;
}

.pk-seek {
	display: flex;
	min-width: 0;
	background: var(--pk-paper);
	border: 1px solid var(--pk-line);
	border-radius: 999px;
	overflow: hidden;
}

.pk-seek input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 8px 14px;
}

.pk-seek button {
	border: 0;
	background: var(--pk-teal);
	color: #fff;
	padding: 8px 16px;
	cursor: pointer;
}

.pk-seek button:hover {
	background: var(--pk-teal-deep);
}

.pk-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	align-items: center;
}

.pk-nav a {
	color: var(--pk-ink);
	font-weight: 600;
}

.pk-nav a[aria-current='page'] {
	color: var(--pk-teal);
}

.pk-wrap {
	max-width: var(--pk-max);
	margin: 0 auto;
	padding: 20px 16px 48px;
}

.pk-hero,
.pk-side,
.pk-card,
.pk-row,
.pk-sheet,
.pk-prose {
	background: #fff;
	border: 1px solid var(--pk-line);
	border-radius: 12px;
}

.pk-hero {
	padding: 22px;
	margin-bottom: 18px;
}

.pk-kicker {
	margin: 0 0 6px;
	color: var(--pk-teal);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.pk-hero h1,
.pk-sheet h1,
.pk-prose h1 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.25;
}

.pk-lede,
.pk-slogan,
.pk-card-term,
.pk-muted {
	color: var(--pk-muted);
}

.pk-rail {
	margin: 18px 0;
}

.pk-rail-h {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 10px;
}

.pk-rail-h h2,
.pk-sheet h1 {
	margin: 0;
}

.pk-rail-h h2 {
	font-size: 18px;
}

.pk-grid,
.pk-rows {
	list-style: none;
	padding: 0;
	margin: 0;
}

.pk-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 12px;
}

.pk-grid:has(.pk-card-cover) {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 315px), 1fr));
}

.pk-card,
.pk-row {
	display: flex;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.pk-card {
	flex-direction: column;
	gap: 6px;
	padding: 12px;
}

.pk-card-app {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
}

.pk-card-app:hover {
	background: #f7fbf9;
}

.pk-row {
	flex-direction: column;
	gap: 4px;
	padding: 12px 14px;
	margin-bottom: 8px;
}

.pk-card:hover,
.pk-row:hover {
	text-decoration: none;
	border-color: #b7cdc4;
}

.pk-card-name,
.pk-row strong {
	font-weight: 600;
	font-size: 14px;
}

.pk-card-term,
.pk-row span,
.pk-row time {
	font-size: 12px;
	color: var(--pk-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pk-mark {
	max-width: 72px;
	max-height: 72px;
	width: auto;
	height: auto;
	border-radius: 16px;
}

.pk-mark-slot {
	flex: none;
	width: 64px;
	height: 64px;
	display: grid;
	place-items: center;
}

.pk-mark-slot .pk-mark {
	max-width: 64px;
	max-height: 64px;
	border-radius: 14px;
}

.pk-card-copy {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.pk-card-app .pk-card-name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.35;
	font-size: 15px;
}

.pk-card-kinds {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	max-width: 100%;
}

.pk-card-kind {
	max-width: 100%;
	min-width: 0;
	padding: 1px 8px;
	border-radius: 999px;
	background: #e7f5f1;
	color: var(--pk-teal);
	font-size: 12px;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pk-card-blurb {
	color: var(--pk-muted);
	font-size: 12px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pk-card-cover {
	width: 100%;
	max-width: 315px;
	justify-self: start;
}

.pk-cover {
	width: 100%;
	max-width: 315px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
	border-radius: 8px;
	background: #f3f6f5;
}

.pk-cover img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	max-width: 100%;
}

.pk-topic-head {
	margin-bottom: 18px;
}

.pk-topic-head .pk-hero {
	margin-bottom: 0;
}

.pk-topic-head:has(.pk-topic-cover) {
	display: flex;
	align-items: center;
	gap: 20px;
}

.pk-topic-head:has(.pk-topic-cover) .pk-hero {
	flex: 1 1 0;
	min-width: 0;
}

.pk-topic-cover {
	display: block;
	width: 100%;
	max-width: 560px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	position: relative;
	border-radius: 10px;
	background: #f3f6f5;
}

.pk-topic-head:has(.pk-topic-cover) .pk-topic-cover {
	flex: 0 1 560px;
	width: auto;
}

.pk-topic-cover img {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	height: auto;
	max-width: 100%;
}

.pk-card-cover .pk-card-name,
.pk-card-cover .pk-card-term {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
	min-height: calc(1.4em * 2);
}

.pk-band {
	max-width: min(560px, 100%);
	height: auto;
}

.pk-slides,
.pk-film {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 6px;
}

.pk-slides a {
	flex: 0 0 auto;
	width: min(560px, 100%);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	scroll-snap-align: start;
	border-radius: 10px;
	border: 1px solid var(--pk-line);
	background: #fff;
}

.pk-slides img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.pk-film img {
	flex: 0 0 auto;
	scroll-snap-align: start;
	width: auto;
	height: auto;
	max-width: min(560px, 100%);
	max-height: 560px;
	object-fit: contain;
	border-radius: 10px;
	border: 1px solid var(--pk-line);
	background: #fff;
}

.pk-split {
	display: grid;
	gap: 8px 18px;
}

.pk-sheet,
.pk-prose {
	padding: 18px;
}

.pk-sheet-plain {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 20px;
}

.pk-sheet-plain .pk-switch {
	margin: 0;
}

.pk-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 12px 0 0;
}

.pk-switch a[aria-current='page'] {
	font-weight: 700;
}

.pk-empty {
	margin: 12px 0 0;
	padding: 16px;
	border: 1px dashed var(--pk-line);
	border-radius: 10px;
	color: var(--pk-muted);
	background: #fff;
}

.pk-pager {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 16px;
}

.pk-crumb {
	margin: 0 0 12px;
	color: var(--pk-muted);
	font-size: 13px;
}

.pk-detail {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pk-detail-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.pk-side {
	order: -1;
	padding: 14px;
}

.pk-apphead {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.pk-apphead h1 {
	margin: 0 0 4px;
	font-size: 26px;
	line-height: 1.25;
}

.pk-apphead .pk-mark {
	max-width: 96px;
	max-height: 96px;
}

.pk-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
}

.pk-chips a {
	background: #e7f3ef;
	color: var(--pk-teal);
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 12px;
}

.pk-dl {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 10px 0;
}

.pk-dl button {
	background: var(--pk-teal);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 10px 12px;
	cursor: pointer;
	text-align: left;
}

.pk-dl button:hover {
	background: var(--pk-teal-deep);
}

.pk-dl button:disabled {
	opacity: 0.65;
	cursor: progress;
}

.pk-note {
	min-height: 1.2em;
	margin: 0;
	color: #8a4b12;
	font-size: 13px;
}

.pk-facts {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.pk-facts th,
.pk-facts td {
	text-align: left;
	padding: 6px 0;
	border-top: 1px solid var(--pk-line);
	vertical-align: top;
	overflow-wrap: anywhere;
}

.pk-facts th {
	width: 38%;
	color: var(--pk-muted);
	font-weight: 500;
	padding-right: 8px;
}

.pk-rich {
	overflow-wrap: anywhere;
	margin: 14px 0;
}

.pk-rich img {
	display: block;
	max-width: min(560px, 100%);
	height: auto;
}

.pk-rich img[style*='margin-inline:auto'],
.pk-rich [style*='text-align:center'] img {
	margin-inline: auto;
}

.pk-rich img[style*='margin-inline-start:auto'],
.pk-rich [style*='text-align:right'] img,
.pk-rich [style*='text-align:end'] img {
	margin-inline-start: auto;
}

.pk-rich p,
.pk-rich h2,
.pk-rich h3,
.pk-rich ul,
.pk-rich ol,
.pk-rich blockquote {
	margin: 0.6em 0;
}

.pk-rich ul,
.pk-rich ol {
	padding-left: 1.2em;
}

.pk-rich blockquote {
	padding-left: 12px;
	border-left: 3px solid var(--pk-line);
}

.pk-prompt {
	margin: 4px 0 18px;
	padding: 14px 16px;
	background: #e7f5f1;
	border-left: 4px solid var(--pk-teal);
	border-radius: 10px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
}

.pk-prompt p {
	margin: 0.2em 0;
}

.pk-prompt p:first-child {
	margin-top: 0;
}

.pk-prompt p:last-child {
	margin-bottom: 0;
}

.pk-block + .pk-block {
	margin-top: 8px;
}

.pk-foot {
	border-top: 1px solid var(--pk-line);
	background: #fff;
}

.pk-foot-in {
	max-width: var(--pk-max);
	margin: 0 auto;
	padding: 18px 16px 28px;
	color: var(--pk-muted);
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

@media (min-width: 800px) {
	.pk-split {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 900px) {
	.pk-detail-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 280px;
		align-items: start;
	}

	.pk-side {
		order: 0;
		position: sticky;
		top: 76px;
	}
}

@media (max-width: 900px) {
	.pk-topic-head:has(.pk-topic-cover) {
		flex-direction: column;
		align-items: stretch;
	}

	.pk-topic-head:has(.pk-topic-cover) .pk-topic-cover {
		flex-basis: auto;
		width: 100%;
	}
}

@media (max-width: 760px) {
	.pk-bar-in {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.pk-hero h1,
	.pk-apphead h1 {
		font-size: 22px;
	}
}
