/* =========================================================
   모든 테마 공통 컴포넌트 (빌드 시 각 테마 theme.css 앞에 합쳐짐)
   blog.js 가 사용하는 상태 클래스와 검색 레이어만 정의합니다.
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: #111; color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.is-hidden { display: none !important; }
.dd { position: relative; }
.dd-panel { display: none; }
.dd.is-open .dd-panel { display: block; }
.m-nav { display: none; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 검색 레이어 */
.search-layer { position: fixed; inset: 0; z-index: 200; background: rgba(15, 18, 22, .5); display: none; padding: 10vh 16px; }
.search-layer.is-open { display: block; }
.search-box { max-width: 680px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .2); }
.search-box input { width: 100%; border: 0; border-bottom: 2px solid var(--brand); font: inherit; font-size: 20px; padding: 8px 4px 12px; outline: none; background: transparent; }
.search-results { margin-top: 12px; max-height: 56vh; overflow-y: auto; }
.search-results a { display: block; padding: 12px 6px; border-bottom: 1px solid #eceef0; font-size: 15px; color: #1b1e22; }
.search-results a:hover { color: var(--brand); }
.search-results small { display: block; color: #8a9097; font-size: 12px; margin-top: 2px; }
.search-empty { color: #8a9097; padding: 16px 6px; font-size: 14px; }

/* =========================================================
   테마: premium — 애플·삼성 느낌
   반투명 블러 내비, 아주 큰 가운데 정렬 타이포, 둥근 회색 타일, 가로 카드 레일, 검정 밴드
   ========================================================= */
:root {
  --brand: #0e6b6f; --brand-ink: #0a4f52; --brand-soft: #e7f3f2;
  --ink: #1d1d1f; --ink-2: #424245; --ink-3: #86868b; --line: #d2d2d7;
  --tile: #f5f5f7; --bg: #ffffff;
  --wrap: 1680px; --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.25, .1, .25, 1);
}
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 17px; line-height: 1.5; letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 내비 ---------- */
.pm-gnb { position: sticky; top: 0; z-index: 60; background: rgba(250, 250, 252, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.pm-gnb-in { display: flex; align-items: center; gap: 8px; height: 48px; }
.pm-logo { display: flex; align-items: center; }
.pm-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.pm-logo img { height: 24px; width: auto; }
.pm-links { flex: 1; display: flex; justify-content: center; gap: clamp(10px, 2vw, 34px); }
.pm-links a { font-size: 13px; color: rgba(0,0,0,.8); padding: 6px 0; transition: color .2s; }
.pm-links a:hover, .pm-links a.is-active { color: var(--brand); }
.pm-icon { width: 36px; height: 36px; border: 0; background: none; display: grid; place-items: center; color: rgba(0,0,0,.8); border-radius: 50%; }
.pm-icon:hover { color: var(--brand); }
.menu-btn { display: none; }
.pm-subnav { position: sticky; top: 48px; z-index: 55; background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.pm-subnav-in { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.pm-subnav-title { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.pm-pill { display: inline-flex; align-items: center; padding: 6px 15px; border-radius: 980px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.pm-pill:hover { background: var(--brand-ink); }
.m-nav { display: none; }

/* ---------- 공통 ---------- */
.pm-eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: var(--brand); letter-spacing: -0.01em; }
.pm-chev { color: var(--brand); font-size: 19px; font-weight: 500; }
.pm-chev:hover { text-decoration: underline; }
.pm-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 980px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 500; border: 1px solid var(--brand); }
.pm-btn:hover { background: var(--brand-ink); }
.pm-btn.ghost { background: transparent; color: var(--brand); }
.pm-btn.ghost:hover { background: var(--brand); color: #fff; }
.pm-btn.block { display: flex; width: 100%; margin-top: 16px; }
.pm-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.pm-sec { margin-top: clamp(80px, 9vw, 140px); }
.pm-sec.tight { margin-top: 32px; }
.pm-head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.pm-head h2 { margin: 0; font-size: clamp(32px, 3.6vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.pm-head p { margin: 14px auto 0; max-width: 760px; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-3); }
.pm-head .pm-chev { display: inline-block; margin-top: 16px; }
.load-more { text-align: center; margin-top: 40px; }

/* ---------- 히어로 ---------- */
.pm-hero { text-align: center; padding-top: clamp(56px, 7vw, 110px); }
.pm-hero .pm-eyebrow { font-size: clamp(17px, 1.6vw, 24px); margin: 0 0 6px; }
.pm-hero h1 { margin: 0 auto; max-width: 1300px; font-size: clamp(42px, 6.4vw, 104px); font-weight: 700; line-height: 1.05; letter-spacing: -0.05em; }
.pm-hero-sub { margin: 18px auto 0; max-width: 900px; font-size: clamp(19px, 2vw, 28px); color: var(--ink-3); line-height: 1.35; letter-spacing: -0.03em; }
.pm-hero-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; margin-top: 24px; }
.pm-hero-media { position: relative; display: block; margin-top: clamp(40px, 5vw, 72px); border-radius: clamp(20px, 2.4vw, 36px); overflow: hidden; background: var(--tile); aspect-ratio: 21 / 9; }
.pm-hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pm-hero-media:hover img { transform: scale(1.03); }
.pm-hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px clamp(20px, 3vw, 48px) clamp(20px, 2.6vw, 40px); background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); color: #fff; font-size: clamp(19px, 2vw, 32px); font-weight: 700; text-align: left; letter-spacing: -0.03em; }
.pm-hero.small { padding-bottom: 8px; }
.pm-hero.small h1 { font-size: clamp(38px, 5vw, 80px); }

/* ---------- 타일 ---------- */
.pm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.pm-tiles .pm-tile:first-child:last-child, .pm-tiles .pm-tile:nth-child(3):last-child { grid-column: 1 / -1; }
.pm-tile a { display: flex; flex-direction: column; height: 100%; background: var(--tile); border-radius: clamp(20px, 2vw, 30px); overflow: hidden; text-align: center; }
.pm-tile.dark a { background: #000; color: #f5f5f7; }
.pm-tile-text { padding: clamp(32px, 3.6vw, 56px) clamp(20px, 3vw, 48px) 24px; }
.pm-tile h3 { margin: 6px auto 10px; max-width: 760px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.04em; }
.pm-tile p { margin: 0 auto 14px; max-width: 640px; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pm-tile.dark p { color: #a1a1a6; }
.pm-tile.dark .pm-eyebrow, .pm-tile.dark .pm-chev { color: var(--brand-soft); }
.pm-tile-img { margin-top: auto; padding: 0 clamp(20px, 3vw, 48px); }
.pm-tile-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px 18px 0 0; transition: transform .8s var(--ease); }
.pm-tile a:hover .pm-tile-img img { transform: translateY(-6px); }

/* ---------- 카드 레일 ---------- */
.pm-rail-wrap { overflow: hidden; }
.pm-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24vw, 400px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px; scrollbar-width: none; }
.pm-rail::-webkit-scrollbar { display: none; }
.pm-card { scroll-snap-align: start; }
.pm-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 2px 4px 14px rgba(0,0,0,.08); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pm-card a:hover { transform: scale(1.015); box-shadow: 2px 8px 26px rgba(0,0,0,.14); }
.pm-card-img { aspect-ratio: 4 / 3; background: var(--tile); overflow: hidden; }
.pm-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-card-body { padding: 20px 22px 24px; }
.pm-card .pm-eyebrow { font-size: 13px; }
.pm-card h3 { margin: 6px 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -0.035em; font-weight: 700; }
.pm-card time { font-size: 14px; color: var(--ink-3); }
.pm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* ---------- 카테고리 / 랭킹 ---------- */
.pm-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pm-cat { position: relative; display: block; padding: 28px 56px 28px 28px; background: var(--tile); border-radius: 22px; transition: background .3s; }
.pm-cat:hover { background: #ebebef; }
.pm-cat b { display: block; font-size: 22px; letter-spacing: -0.035em; }
.pm-cat span { font-size: 14px; color: var(--ink-3); }
.pm-cat i { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 28px; color: var(--brand); }
.pm-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pm-chips a { padding: 8px 18px; border-radius: 980px; background: var(--tile); font-size: 15px; }
.pm-chips a:hover { background: #e8e8ed; }
.pm-chips a.is-active { background: var(--ink); color: #fff; }
.pm-rank { list-style: none; margin: 0 auto; padding: 0; max-width: 1100px; }
.pm-rank a { display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; align-items: center; gap: 12px; padding: 22px 6px; border-bottom: 1px solid var(--line); }
.pm-rank span { font-size: 32px; font-weight: 700; color: var(--ink-3); }
.pm-rank b { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.035em; }
.pm-rank i { font-style: normal; color: var(--brand); font-size: 22px; }
.pm-rank a:hover b { color: var(--brand); }

/* ---------- 검정 밴드 ---------- */
.pm-band { margin-top: clamp(80px, 9vw, 140px); background: #000; color: #f5f5f7; padding: clamp(72px, 9vw, 140px) 0; text-align: center; }
.pm-band h2 { margin: 0; font-size: clamp(36px, 4.4vw, 72px); letter-spacing: -0.045em; line-height: 1.08; }
.pm-band-sub { margin: 14px 0 0; color: #86868b; font-size: clamp(17px, 1.5vw, 22px); }
.pm-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 72px); text-align: left; }
.pm-values div { padding: 30px; border-radius: 24px; background: #1d1d1f; }
.pm-values b { display: block; font-size: 15px; color: var(--brand-soft); margin-bottom: 30px; }
.pm-values h3 { margin: 0 0 8px; font-size: 26px; letter-spacing: -0.035em; }
.pm-values p { margin: 0; color: #a1a1a6; font-size: 16px; }

/* ---------- 의료진 / FAQ / 방문 ---------- */
.pm-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pm-doc { background: var(--tile); border-radius: 28px; padding: 40px 32px; text-align: center; }
.pm-av { width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 46px; font-weight: 700; overflow: hidden; }
.pm-av.sm { width: 84px; height: 84px; font-size: 30px; margin-bottom: 14px; }
.pm-doc h3 { margin: 0; font-size: 26px; letter-spacing: -0.035em; }
.pm-role { margin: 4px 0 12px; color: var(--brand); font-size: 15px; font-weight: 600; }
.pm-doc p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; }
.pm-doc ul { list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-3); }
.pm-faq { max-width: 1100px; margin: 0 auto; border-top: 1px solid var(--line); }
.pm-faq details { border-bottom: 1px solid var(--line); }
.pm-faq summary { cursor: pointer; list-style: none; position: relative; padding: 26px 48px 26px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.03em; }
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 300; color: var(--brand); transition: transform .3s; }
.pm-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pm-faq details p { margin: 0 0 26px; color: var(--ink-2); font-size: 18px; max-width: 900px; }
.pm-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: center; background: var(--tile); border-radius: clamp(24px, 2.4vw, 36px); padding: clamp(36px, 5vw, 80px); }
.pm-visit-head { text-align: center; }
.pm-visit-head h2 { margin: 8px 0 10px; font-size: clamp(30px, 3vw, 48px); letter-spacing: -0.045em; line-height: 1.12; }
.pm-visit-head p { margin: 0; color: var(--ink-3); font-size: 19px; }
.pm-facts { margin: 0; }
.pm-facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pm-facts dt { color: var(--ink-3); font-size: 15px; }
.pm-facts dd { margin: 0; font-size: 17px; }
.pm-facts dd small { display: block; color: var(--ink-3); font-size: 14px; }
.pm-facts.sm div { grid-template-columns: 60px minmax(0, 1fr); padding: 10px 0; }
.pm-facts.sm dt, .pm-facts.sm dd { font-size: 14px; }

/* ---------- 글 상세 ---------- */
.pm-article-head { text-align: center; padding-top: clamp(48px, 6vw, 96px); }
.pm-article-head .pm-eyebrow { font-size: 17px; }
.pm-article-head h1 { margin: 10px auto 18px; max-width: 1240px; font-size: clamp(34px, 4.4vw, 72px); line-height: 1.08; letter-spacing: -0.05em; }
.pm-article-lead { margin: 0 auto; max-width: 900px; font-size: clamp(19px, 1.7vw, 25px); color: var(--ink-2); line-height: 1.4; }
.pm-article-meta { margin: 22px 0 0; font-size: 15px; color: var(--ink-3); }
.pm-reviewed { color: var(--brand); font-weight: 600; }
.pm-article-cover { margin-top: clamp(36px, 4vw, 64px); margin-bottom: 0; }
.pm-article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: clamp(20px, 2.4vw, 36px); }
.pm-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 96px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.pm-article-body { min-width: 0; }
.pm-summary { background: var(--tile); border-radius: 24px; padding: 28px 32px; margin-bottom: 32px; }
.pm-summary strong { display: block; font-size: 15px; color: var(--brand); margin-bottom: 8px; }
.pm-summary p { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.45; letter-spacing: -0.03em; }
.pm-summary ul { margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); }
.pm-toc { padding: 0 0 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.pm-toc strong { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.pm-toc ol { margin: 10px 0 0; padding-left: 20px; }
.pm-toc li { margin: 6px 0; }
.pm-toc a { color: var(--brand); }
.pm-prose { font-size: 19px; line-height: 1.75; letter-spacing: -0.02em; }
.pm-prose p { margin: 0 0 1.25em; }
.pm-prose h2 { font-size: clamp(26px, 2.2vw, 36px); line-height: 1.2; letter-spacing: -0.04em; margin: 2em 0 .6em; scroll-margin-top: 120px; }
.pm-prose h3 { font-size: 23px; margin: 1.6em 0 .5em; }
.pm-prose figure { margin: 2em 0; }
.pm-prose figure img { width: 100%; height: auto; border-radius: 22px; }
.pm-prose figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); text-align: center; }
.pm-prose blockquote { margin: 2em 0; padding: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.35; letter-spacing: -0.035em; color: var(--ink); }
.pm-prose ul, .pm-prose ol { padding-left: 1.3em; }
.pm-prose a { color: var(--brand); }
.pm-prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 16px; }
.pm-prose th, .pm-prose td { border-bottom: 1px solid var(--line); padding: 14px 10px; text-align: left; }
.pm-prose thead th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.pm-prose caption { caption-side: bottom; font-size: 13px; color: var(--ink-3); padding-top: 8px; }
.pm-faq-post, .pm-article-body .pm-faq { margin-top: 56px; }
.pm-article-body .pm-faq h2, .pm-sources h2 { font-size: 30px; letter-spacing: -0.04em; margin: 0 0 12px; }
.pm-article-body .pm-faq { border-top: 0; }
.pm-sources { margin-top: 48px; }
.pm-sources ol { padding-left: 20px; color: var(--ink-2); font-size: 15px; }
.pm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pm-tags a { padding: 7px 16px; border-radius: 980px; background: var(--tile); font-size: 14px; }
.pm-tags a:hover { background: #e8e8ed; }
.pm-notice { font-size: 13px; color: var(--ink-3); margin-top: 26px; }
.pm-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.pm-pn a { display: block; padding: 22px 24px; background: var(--tile); border-radius: 20px; font-weight: 600; line-height: 1.35; }
.pm-pn a.next { text-align: right; }
.pm-pn small { display: block; color: var(--ink-3); font-weight: 400; font-size: 13px; margin-bottom: 4px; }
.pm-pn a:hover { background: #ebebef; }
.pm-rail-side { position: sticky; top: 124px; display: grid; gap: 16px; }
.pm-side-card { background: var(--tile); border-radius: 24px; padding: 28px; text-align: center; }
.pm-side-card.left { text-align: left; }
.pm-side-card > b { display: block; font-size: 20px; letter-spacing: -0.03em; }
.pm-side-card > span { display: block; color: var(--brand); font-size: 14px; margin-top: 2px; }
.pm-side-card p { margin: 10px 0 0; color: var(--ink-2); font-size: 15px; }
.pm-side-card.left .pm-eyebrow { font-size: 13px; }

/* ---------- 푸터 ---------- */
.pm-foot { margin-top: clamp(80px, 9vw, 140px); background: var(--tile); color: var(--ink-3); font-size: 12px; line-height: 1.6; padding: 18px 0 24px; }
.pm-foot-note { margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pm-foot-cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pm-foot h4 { margin: 0 0 8px; font-size: 12px; color: var(--ink); font-weight: 600; }
.pm-foot ul { list-style: none; margin: 0; padding: 0; }
.pm-foot li { margin: 4px 0; }
.pm-foot a { color: var(--ink-2); }
.pm-foot a:hover { text-decoration: underline; }
.pm-foot address { font-style: normal; }
.pm-foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 14px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1279px) {
  .pm-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .pm-article-grid { grid-template-columns: minmax(0, 1fr); }
  .pm-rail-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-visit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pm-links { display: none; }
  .pm-gnb-in { justify-content: space-between; }
  .pm-gnb-in .search-btn { margin-left: auto; }
  .menu-btn { display: grid; }
  .m-nav.is-open { display: block; position: fixed; inset: 48px 0 0; z-index: 58; background: rgba(250,250,252,.98); backdrop-filter: blur(20px); padding: 20px 28px; overflow-y: auto; }
  .m-nav a { display: block; padding: 12px 0; font-size: 26px; font-weight: 700; letter-spacing: -0.04em; }
  .pm-tiles { grid-template-columns: minmax(0, 1fr); }
  .pm-tiles .pm-tile { grid-column: auto !important; }
  .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-foot-cols { grid-template-columns: 1fr 1fr; }
  .pm-foot-cols > div { grid-column: 1 / -1; }
}
@media (max-width: 719px) {
  body { font-size: 16px; }
  .pm-subnav-title { font-size: 18px; }
  .pm-hero-media { aspect-ratio: 4 / 3; }
  .pm-values, .pm-grid, .pm-rail-side { grid-template-columns: minmax(0, 1fr); }
  .pm-rail { grid-auto-columns: 78vw; }
  .pm-article-cover img { aspect-ratio: 4 / 3; }
  .pm-prose { font-size: 17px; }
  .pm-pn { grid-template-columns: minmax(0, 1fr); }
  .pm-pn a.next { text-align: left; }
  .pm-rank a { grid-template-columns: 40px minmax(0, 1fr) 16px; }
  .pm-rank span { font-size: 24px; }
}

/* =========================================================
   생성기 전용 보조 스타일 (모든 테마 공통, theme.css 뒤에 합쳐짐)
   시안에는 없던 실제 데이터용 요소(사진 아바타, 핵심 포인트, 빈 목록 등)
   ========================================================= */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.key-points { margin: 12px 0 0; padding-left: 1.2em; }
.key-points li { margin: 4px 0; }
.empty-list { padding: 48px 0; text-align: center; color: #8a9097; }
.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { margin: 0 0 12px; }
.notfound p { margin: 0 0 24px; color: #5b6168; }
.t-avatar, .p-dav, .a-av { overflow: hidden; }
.t-avatar img, .p-dav img, .a-av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.t-logo img, .a-logo img, .p-wlogo img { height: 30px; width: auto; }
.ola-link { color: inherit; text-decoration: none; }
.ola-link:hover { text-decoration: underline; }
