/*
 * 프로그램 다운로드 테마 — 방문자 화면 (A안 · 스토어형 한 단).
 * 흰 바탕, 초록 강조색, 앱스토어처럼 아이콘·기기별 받기 버튼·정보 띠·스크린샷을 한 단으로.
 * 모바일 먼저, 720px·960px에서 넓힘.
 */

:root {
	--ink: #14171c;
	--sub: #4a5361;
	--mute: #6b7380;
	--line: #e6e8ec;
	--line-2: #f0f1f4;
	--surface: #f4f5f7;
	--card: #ffffff;
	--accent: #0b7a4b;
	--accent-ink: #075c38;
	--tint: rgba(11, 122, 75, 0.1);
	--warn: #b4530b;
	--star: #f5a524;
	--r-s: 10px;
	--r-m: 14px;
	--r-l: 18px;
	--top-h: 56px;
	--font: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--top-h) + 16px);
}

body {
	margin: 0;
	background: var(--card);
	color: var(--ink);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.65;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

[hidden] {
	display: none !important;
}

a {
	color: var(--accent);
}

a:hover {
	color: var(--accent-ink);
}

img {
	max-width: 100%;
	height: auto;
}

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

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pd-skip {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: var(--r-s);
	background: var(--ink);
	color: #fff;
}

.pd-skip:focus {
	top: 8px;
}

.pd-shell {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px;
}

.pd-i {
	flex: none;
	vertical-align: middle;
}

.pd-dot {
	color: var(--accent);
}

/* -------------------------------------------------------------------------
 * 머리글
 * ---------------------------------------------------------------------- */

.pd-top {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
	-webkit-backdrop-filter: saturate(1.4) blur(8px);
	backdrop-filter: saturate(1.4) blur(8px);
}

.admin-bar .pd-top {
	top: 46px;
}

.pd-top__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: var(--top-h);
	padding-right: 8px;
}

.pd-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.pd-brand:hover {
	color: var(--ink);
}

.pd-brand__img img {
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	object-fit: cover;
}

.pd-top__btns {
	display: flex;
	gap: 2px;
	margin-left: auto;
}

.pd-round {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.pd-round:hover {
	background: var(--surface);
}

/* 모바일 메뉴판 */
.pd-nav {
	display: none;
}

.pd-top.is-menu .pd-nav {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	max-height: calc(100vh - var(--top-h));
	overflow: auto;
	padding: 12px 16px 24px;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 30px rgba(20, 23, 28, 0.08);
}

.pd-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.pd-nav__list a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 14px;
	border-radius: var(--r-m);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
}

.pd-nav__list .current-menu-item a {
	background: var(--tint);
	color: var(--accent);
}

.pd-nav__pc {
	display: none;
}

.pd-nav__title {
	margin: 18px 0 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--mute);
}

/* 머리글 검색: 모바일은 누르면 펼침 */
.pd-find--top {
	display: none;
}

.pd-top.is-find .pd-find--top {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 10px 16px 14px;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: 0 16px 30px rgba(20, 23, 28, 0.08);
}

.pd-adminbar {
	background: #fff8e6;
	color: #6b4a00;
	font-size: 14px;
	padding: 10px 0;
}

/* -------------------------------------------------------------------------
 * 검색창
 * ---------------------------------------------------------------------- */

.pd-find {
	position: relative;
}

.pd-find__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 6px 0 14px;
	border-radius: var(--r-m);
	background: var(--surface);
	color: var(--mute);
	border: 1px solid transparent;
}

.pd-find__bar:focus-within {
	border-color: var(--accent);
	background: #fff;
}

.pd-find__bar input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	outline: none;
}

.pd-find__bar input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.pd-find__go {
	flex: none;
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.pd-find__drop {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 50;
	max-height: min(420px, 70vh);
	overflow: auto;
	padding: 6px;
	border-radius: var(--r-m);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(20, 23, 28, 0.12);
}

.pd-find__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: 10px;
	color: var(--ink);
	text-decoration: none;
}

.pd-find__item:hover,
.pd-find__item.is-active {
	background: var(--surface);
	color: var(--ink);
}

.pd-find__name {
	font-weight: 600;
}

.pd-find__meta {
	display: block;
	font-size: 12px;
	color: var(--mute);
}

.pd-find__all {
	display: block;
	padding: 10px 8px;
	border-top: 1px solid var(--line-2);
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.pd-find__none {
	margin: 0;
	padding: 12px 8px;
	font-size: 14px;
	color: var(--mute);
}

/* -------------------------------------------------------------------------
 * 공통 조각
 * ---------------------------------------------------------------------- */

.pd-main {
	min-height: 60vh;
	outline: none;
}

.pd-crumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 12px 0 0;
	font-size: 13px;
	color: var(--mute);
}

.pd-crumbs li + li::before {
	content: "›";
	margin-right: 6px;
}

.pd-crumbs a {
	color: var(--mute);
	text-decoration: none;
}

.pd-crumbs a:hover {
	color: var(--ink);
}

.pd-crumbs [aria-current] {
	color: var(--sub);
}

.pd-h2 {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.pd-h2 .pd-i {
	color: var(--accent);
}

.pd-sec {
	margin-top: 32px;
}

.pd-sec__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.pd-sec__more {
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.pd-chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.pd-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--surface);
	color: var(--sub);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

a.pd-chip:hover {
	background: var(--line);
	color: var(--ink);
}

.pd-chip--accent {
	background: var(--tint);
	color: var(--accent);
	font-weight: 600;
}

a.pd-chip--accent:hover {
	background: rgba(11, 122, 75, 0.16);
	color: var(--accent-ink);
}

.pd-chip--big {
	padding: 8px 14px;
	font-size: 14px;
}

.pd-chip--big .pd-i {
	color: var(--accent);
}

.pd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: var(--r-m);
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.pd-btn--primary {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.pd-btn--primary:hover {
	background: var(--accent-ink);
	color: #fff;
}

.pd-empty {
	margin: 24px 0;
	padding: 28px 20px;
	border-radius: var(--r-l);
	background: var(--surface);
	color: var(--sub);
	text-align: center;
}

/* 앱 아이콘 */
.pd-icon {
	--s: 48px;
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--s);
	height: var(--s);
	border-radius: calc(var(--s) * 0.24);
	overflow: hidden;
	background: var(--surface);
	box-shadow: inset 0 0 0 1px rgba(20, 23, 28, 0.06);
}

.pd-icon__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pd-icon--text {
	background: var(--tint);
	color: var(--accent);
	font-weight: 700;
	font-size: calc(var(--s) * 0.42);
}

/* 목록 한 줄 */
.pd-rows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pd-row__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line-2);
	color: var(--ink);
	text-decoration: none;
}

.pd-row__link:hover {
	color: var(--ink);
}

.pd-row__link:hover .pd-row__name {
	color: var(--accent);
}

.pd-row__rank {
	flex: none;
	width: 22px;
	text-align: center;
	font-weight: 700;
	color: var(--accent);
}

.pd-row__text {
	flex: 1;
	min-width: 0;
}

.pd-row__name {
	display: block;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pd-row__meta {
	display: block;
	font-size: 13px;
	color: var(--mute);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pd-row__go {
	flex: none;
	padding: 5px 13px;
	border-radius: 999px;
	background: var(--tint);
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
}

/* 카드 격자 */
.pd-tiles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pd-tile__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	color: var(--ink);
	text-decoration: none;
}

.pd-tile__link:hover {
	border-color: var(--accent);
	color: var(--ink);
}

.pd-tile__name {
	font-weight: 600;
	line-height: 1.35;
}

.pd-tile__dev,
.pd-tile__os {
	font-size: 13px;
	color: var(--mute);
	line-height: 1.4;
}

.pd-tile__os {
	margin-top: auto;
}

/* -------------------------------------------------------------------------
 * 홈
 * ---------------------------------------------------------------------- */

.pd-hero {
	padding: 28px 0 20px;
	background: linear-gradient(180deg, var(--surface) 0%, #fff 100%);
}

.pd-hero__title {
	margin: 0 0 18px;
	font-size: 26px;
	line-height: 1.32;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pd-hero .pd-find__bar {
	height: 56px;
	background: #fff;
	border-color: var(--line);
	box-shadow: 0 6px 18px rgba(20, 23, 28, 0.06);
}

.pd-hero__keys {
	margin-top: 12px;
}

.pd-os {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 8px;
}

.pd-os__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	color: var(--ink);
	text-decoration: none;
}

.pd-os__item:hover {
	border-color: var(--accent);
	color: var(--ink);
}

.pd-os__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--tint);
	color: var(--accent);
}

.pd-os__name {
	font-weight: 700;
}

.pd-os__count {
	margin-left: auto;
	font-size: 13px;
	color: var(--mute);
}

.pd-chips--wrap {
	gap: 8px;
}

/* -------------------------------------------------------------------------
 * 앱 상세
 * ---------------------------------------------------------------------- */

.pd-app {
	padding-bottom: 40px;
}

.pd-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 16px;
	padding-top: 16px;
}

.pd-head > .pd-icon {
	--s: 88px !important;
}

.pd-head__body {
	flex: 1 1 200px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pd-head__title {
	margin: 0;
	font-size: 22px;
	line-height: 1.32;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.pd-head__dev {
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.pd-head__chips {
	margin-top: 4px;
}

/* 다운로드 버튼 */
.pd-dl {
	flex: 1 1 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pd-dl__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pd-dl__btn {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 8px 16px;
	border-radius: var(--r-m);
	border: 1px solid #d5d9e0;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
}

.pd-dl__btn:hover {
	border-color: var(--accent);
	color: var(--ink);
}

.pd-dl__btn.is-primary {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.pd-dl__btn.is-primary:hover {
	background: var(--accent-ink);
	color: #fff;
}

.pd-dl__name {
	flex: 1;
	font-size: 16px;
	font-weight: 600;
}

.pd-dl__sub {
	font-size: 13px;
	color: var(--sub);
	text-align: right;
}

.pd-dl__btn.is-primary .pd-dl__sub {
	color: #fff;
}

.pd-dl__note,
.pd-dl__caution,
.pd-dl__dead {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 2px 0 0;
	font-size: 13px;
	color: var(--sub);
}

.pd-dl__note .pd-i {
	color: var(--accent);
}

.pd-dl__note span {
	flex: 1;
}

.pd-dl__note a {
	color: var(--sub);
}

.pd-dl__caution {
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: var(--r-s);
	background: #fff6ec;
	color: #7a3d06;
}

.pd-dl__caution .pd-i {
	margin-top: 3px;
	color: var(--warn);
}

.pd-dl__dead {
	color: var(--warn);
}

/* 정보 띠 */
.pd-strip {
	display: flex;
	overflow-x: auto;
	margin: 20px -16px 0;
	padding: 14px 8px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	scrollbar-width: none;
}

.pd-strip::-webkit-scrollbar {
	display: none;
}

.pd-strip__cell {
	flex: 1 0 100px;
	max-width: 180px;
	padding: 0 8px;
	text-align: center;
	border-right: 1px solid var(--line);
}

.pd-strip__cell:last-child {
	border-right: 0;
}

.pd-strip dt {
	font-size: 12px;
	color: var(--mute);
}

.pd-strip dd {
	margin: 0;
}

.pd-strip b {
	display: block;
	font-size: 17px;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pd-strip dd span {
	display: block;
	font-size: 12px;
	color: var(--mute);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 스크린샷 */
.pd-shots {
	margin-top: 28px;
}

.pd-shots__list {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 0 -16px;
	padding: 0 16px 4px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
}

.pd-shots__list li {
	flex: none;
	scroll-snap-align: start;
}

.pd-shots__item {
	display: block;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
	background: var(--surface);
	cursor: zoom-in;
}

.pd-shots__item img {
	display: block;
	width: auto;
	max-width: none;
	height: 300px;
}

/* 읽는 칸 */
.pd-read {
	max-width: 760px;
	margin: 0 auto;
}

.pd-note {
	margin-top: 28px;
	padding: 18px;
	border-radius: var(--r-l);
	background: var(--surface);
}

.pd-note__label {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--accent);
}

.pd-note__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
}

.pd-toc {
	margin-top: 24px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: var(--r-l);
}

.pd-toc__t {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 700;
}

.pd-toc ol {
	margin: 0;
	padding-left: 20px;
	font-size: 14px;
	line-height: 2;
	color: var(--sub);
}

.pd-toc a {
	color: var(--sub);
	text-decoration: none;
}

.pd-toc a:hover {
	color: var(--accent);
}

/* 본문 */
.pd-body {
	margin-top: 28px;
	font-size: 16px;
	line-height: 1.8;
}

.pd-body > * {
	margin-top: 0;
	margin-bottom: 18px;
}

.pd-body h2 {
	margin: 36px 0 14px;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.pd-body h3 {
	margin: 26px 0 10px;
	font-size: 17px;
	font-weight: 700;
}

.pd-body ul,
.pd-body ol {
	padding-left: 22px;
}

.pd-body li + li {
	margin-top: 6px;
}

.pd-body ol.wp-block-list {
	list-style: none;
	counter-reset: pd-step;
	padding-left: 0;
}

.pd-body ol.wp-block-list > li {
	position: relative;
	padding-left: 40px;
	counter-increment: pd-step;
}

.pd-body ol.wp-block-list > li::before {
	content: counter(pd-step);
	position: absolute;
	left: 0;
	top: 1px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--tint);
	color: var(--accent);
	font-size: 14px;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

.pd-body ol.wp-block-list[start] {
	counter-reset: none;
}

.pd-body figure {
	margin-left: 0;
	margin-right: 0;
}

.pd-body .wp-block-table {
	overflow-x: auto;
}

.pd-body table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.pd-body th,
.pd-body td {
	padding: 10px 12px;
	border-top: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.pd-body tr:last-child td {
	border-bottom: 1px solid var(--line);
}

.pd-body th {
	background: var(--surface);
	font-weight: 600;
}

.pd-body blockquote {
	margin-left: 0;
	padding: 4px 0 4px 16px;
	border-left: 3px solid var(--line);
	color: var(--sub);
}

.pd-body .wp-block-embed iframe,
.pd-body iframe {
	max-width: 100%;
}

.pd-body .wp-block-embed__wrapper {
	position: relative;
}

/* 요구 사양 */
.pd-req {
	margin-top: 32px;
}

.pd-req table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.pd-req th,
.pd-req td {
	padding: 11px 0;
	border-top: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.pd-req tr:last-child th,
.pd-req tr:last-child td {
	border-bottom: 1px solid var(--line);
}

.pd-req th {
	width: 96px;
	font-weight: 600;
}

.pd-req td {
	color: var(--sub);
}

.pd-req__size {
	display: block;
	font-size: 12px;
	color: var(--mute);
}

/* 자주 묻는 질문 */
.pd-faq {
	margin-top: 32px;
}

.pd-faq details {
	border-bottom: 1px solid var(--line);
	padding: 14px 0;
}

.pd-faq summary {
	list-style: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	font-weight: 600;
	cursor: pointer;
}

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

.pd-faq summary .pd-i {
	margin-top: 3px;
	color: var(--mute);
	transition: transform 0.15s;
}

.pd-faq details[open] summary .pd-i {
	transform: rotate(180deg);
}

.pd-faq p {
	margin: 8px 0 0;
	color: var(--sub);
}

/* 별점 */
.pd-rate {
	margin-top: 32px;
	padding: 20px;
	border-radius: var(--r-l);
	border: 1px solid var(--line);
	text-align: center;
}

.pd-rate__t {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
}

.pd-rate__stars {
	display: inline-flex;
	gap: 4px;
}

.pd-rate__star {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #d5d9e0;
	cursor: pointer;
}

.pd-rate__star svg {
	fill: currentColor;
}

.pd-rate__star.is-on {
	color: var(--star);
}

.pd-rate__sum {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--mute);
}

/* 출처 */
.pd-src {
	margin-top: 28px;
	font-size: 13px;
	color: var(--sub);
}

.pd-src p {
	margin: 0;
}

.pd-src__t {
	margin-bottom: 4px !important;
	font-weight: 600;
	color: var(--ink);
}

.pd-src a {
	color: var(--sub);
}

.pd-src__dates {
	margin-top: 4px !important;
	color: var(--mute);
}

.pd-related {
	margin-top: 40px;
}

/* 일반 글 */
.pd-article {
	padding-bottom: 40px;
}

.pd-article__head {
	padding-top: 16px;
}

.pd-article__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.pd-article__date {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--mute);
}

.pd-article__thumb {
	margin: 20px 0 0;
}

.pd-article__thumb img {
	border-radius: var(--r-l);
}

/* -------------------------------------------------------------------------
 * 목록
 * ---------------------------------------------------------------------- */

.pd-list {
	padding-bottom: 40px;
}

.pd-list__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	padding: 16px 0 4px;
}

.pd-list__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.pd-list__count {
	margin: 0;
	color: var(--mute);
	font-size: 14px;
}

.pd-list__desc {
	flex-basis: 100%;
	margin: 6px 0 0;
	color: var(--sub);
}

.pd-list__subs {
	margin-top: 12px;
}

.pd-list__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 16px 0 6px;
}

.pd-seg,
.pd-sort {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.pd-seg a,
.pd-sort a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	color: var(--sub);
	font-size: 14px;
	text-decoration: none;
}

.pd-seg a {
	background: var(--surface);
}

.pd-seg a[aria-current],
.pd-sort a[aria-current] {
	background: var(--ink);
	color: #fff;
	font-weight: 600;
}

.pd-pages ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 24px 0 0;
	padding: 0;
}

.pd-pages a,
.pd-pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid var(--line);
	color: var(--sub);
	text-decoration: none;
}

.pd-pages .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* -------------------------------------------------------------------------
 * 광고·신고 폼·스크린샷 보기
 * ---------------------------------------------------------------------- */

.pd-ad {
	margin: 24px 0;
	min-height: 120px;
	text-align: center;
}

.pd-ad__tag {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	color: var(--mute);
}

.pd-ad--desktop {
	display: none;
}

.pd-report__note {
	padding: 12px 14px;
	border-radius: var(--r-m);
	background: var(--surface);
	font-size: 14px;
}

.pd-report__form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.pd-report__form input,
.pd-report__form select,
.pd-report__form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: #fff;
}

.pd-report__trap {
	position: absolute;
	left: -9999px;
}

.pd-report__done {
	padding: 12px 14px;
	border-radius: var(--r-m);
	background: var(--tint);
	color: var(--accent-ink);
	font-weight: 600;
}

.pd-report__fail {
	padding: 12px 14px;
	border-radius: var(--r-m);
	background: #fff1ef;
	color: #9a2a1a;
	font-weight: 600;
}

.pd-viewer {
	max-width: 96vw;
	max-height: 96vh;
	padding: 0;
	border: 0;
	border-radius: var(--r-l);
	background: #111;
}

.pd-viewer::backdrop {
	background: rgba(0, 0, 0, 0.8);
}

.pd-viewer img {
	display: block;
	max-width: 96vw;
	max-height: 90vh;
	width: auto;
	height: auto;
}

.pd-viewer__close {
	position: absolute;
	right: 8px;
	top: 8px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
}

/* -------------------------------------------------------------------------
 * 바닥글
 * ---------------------------------------------------------------------- */

.pd-foot {
	margin-top: 48px;
	padding: 28px 0 36px;
	background: var(--surface);
	font-size: 13px;
	color: var(--sub);
}

.pd-foot__in {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
}

.pd-foot__about {
	flex: 1 1 320px;
}

.pd-foot__name {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ink);
}

.pd-foot__note {
	margin: 0;
}

.pd-foot__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	padding: 0;
}

.pd-foot__list a {
	color: var(--sub);
}

.pd-foot__copy {
	flex-basis: 100%;
	margin: 0;
	color: var(--mute);
}

/* -------------------------------------------------------------------------
 * 넓은 화면
 * ---------------------------------------------------------------------- */

@media (min-width: 600px) {
	.pd-os {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.pd-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 720px) {
	.pd-shell {
		padding: 0 32px;
	}

	.pd-strip {
		margin-left: 0;
		margin-right: 0;
	}

	.pd-shots__list {
		margin: 0;
		padding: 0 0 4px;
	}

	.pd-shots__item img {
		height: 374px;
	}

	.pd-rows--grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 32px;
	}

	.pd-hero {
		padding: 44px 0 28px;
	}

	.pd-hero__title {
		font-size: 34px;
	}

	.pd-hero .pd-find {
		max-width: 640px;
	}

	.pd-ad--mobile {
		display: none;
	}

	.pd-ad--desktop {
		display: block;
	}
}

@media (min-width: 783px) {
	.admin-bar .pd-top {
		top: 32px;
	}
}

@media (min-width: 960px) {
	:root {
		--top-h: 64px;
	}

	body {
		font-size: 16px;
	}

	.pd-top__bar {
		gap: 28px;
		padding-right: 32px;
	}

	.pd-brand {
		font-size: 18px;
	}

	.pd-top__btns {
		display: none;
	}

	.pd-nav,
	.pd-top.is-menu .pd-nav {
		display: block;
		position: static;
		flex: 1 1 auto;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.pd-nav__list {
		display: flex;
		flex-wrap: wrap;
		gap: 4px 6px;
	}

	.pd-nav__list a {
		min-height: 40px;
		padding: 0 12px;
		background: transparent;
		color: var(--sub);
		font-weight: 500;
	}

	.pd-nav__list a:hover {
		background: var(--surface);
		color: var(--ink);
	}

	.pd-nav__list .pd-i {
		display: none;
	}

	.pd-nav__pc {
		display: list-item;
	}

	.pd-nav__genres {
		display: none;
	}

	.pd-find--top,
	.pd-top.is-find .pd-find--top {
		display: block;
		position: relative;
		flex: 0 1 300px;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
	}

	.pd-find--top .pd-find__bar {
		height: 44px;
	}

	/* 앱 상세: 아이콘·제목 왼쪽, 다운로드 버튼 오른쪽 2×2 */
	.pd-head {
		gap: 24px 32px;
		padding-top: 24px;
	}

	.pd-head > .pd-icon {
		--s: 128px !important;
	}

	.pd-head__body {
		flex: 999 1 320px;
		gap: 6px;
	}

	.pd-head__title {
		font-size: 30px;
	}

	.pd-head__dev {
		font-size: 16px;
	}

	.pd-dl {
		flex: 1 1 420px;
		max-width: 480px;
	}

	.pd-dl__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.pd-dl__btn {
		flex-wrap: wrap;
		min-height: 60px;
		gap: 0 10px;
		line-height: 1.3;
	}

	.pd-dl__btn .pd-i {
		order: 0;
	}

	.pd-dl__name {
		flex: 1 1 calc(100% - 40px);
	}

	.pd-dl__verb {
		display: none;
	}

	.pd-dl__sub {
		flex: 1 1 100%;
		padding-left: 32px;
		text-align: left;
		font-size: 12px;
	}

	.pd-strip {
		margin-top: 28px;
		padding: 16px 0;
	}

	.pd-strip b {
		font-size: 20px;
	}

	.pd-shots {
		margin-top: 36px;
	}

	.pd-note {
		margin-top: 44px;
		padding: 22px 24px;
	}

	.pd-note__text {
		font-size: 17px;
	}

	.pd-body h2 {
		font-size: 24px;
	}

	.pd-h2 {
		font-size: 20px;
	}

	.pd-req,
	.pd-faq {
		margin-top: 44px;
	}

	.pd-tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}

	.pd-home__cols {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 48px;
	}

	.pd-list__title,
	.pd-article__title {
		font-size: 30px;
	}

	.pd-hero__title {
		font-size: 40px;
	}

	.pd-foot {
		margin-top: 64px;
		padding: 36px 0 44px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
