:root {
    color-scheme: dark;
    --bg: #121212;
    --panel: #1e1e1e;
    --panel-soft: #242424;
    --border: #343434;
    --text: #eeeeee;
    --muted: #b9b9b9;
    --mint: #00dfa2;
    --pink: #ff33cc;
    --yellow: #ffde00;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: radial-gradient(circle at 50% -10%, rgba(0, 223, 162, .12), transparent 32rem), var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Segoe UI", sans-serif;
    line-height: 1.75;
    word-break: keep-all;
}
a { color: inherit; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 20; padding: 10px 16px; background: var(--yellow); color: #111; font-weight: 800; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.site-header { border-bottom: 1px solid var(--border); background: rgba(18, 18, 18, .9); backdrop-filter: blur(12px); }
.header-inner { width: min(1040px, calc(100% - 40px)); margin: 0 auto; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: var(--mint); text-decoration: none; font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; }
.home-link { color: var(--muted); text-decoration: none; font-size: .94rem; }
.home-link:hover, .home-link:focus-visible { color: var(--pink); }
main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 10px; padding: 24px 0 0; color: #8f8f8f; font-size: .88rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--mint); }
.landing-page { padding: 56px 0 84px; }
.hero { max-width: 850px; margin: 0 auto 32px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--pink); font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(2.05rem, 5vw, 3.7rem); line-height: 1.2; letter-spacing: -.055em; }
.hero-description { max-width: 720px; margin: 22px auto 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); }
.updated { display: inline-flex; gap: 8px; margin: 20px 0 0; padding: 7px 13px; border: 1px solid var(--border); border-radius: 999px; color: #929292; font-size: .82rem; }
.updated time { color: var(--yellow); font-weight: 700; }
.content-card, .notice-card { max-width: 840px; margin: 0 auto 24px; border: 1px solid var(--border); border-radius: 18px; }
.content-card { padding: clamp(26px, 5vw, 46px); background: linear-gradient(145deg, rgba(255,255,255,.025), transparent), var(--panel); box-shadow: 0 18px 55px rgba(0,0,0,.24); }
.intro-card { border-top: 3px solid var(--mint); }
.content-card h2 { margin: 0 0 22px; color: #fff; font-size: clamp(1.4rem, 3vw, 1.85rem); letter-spacing: -.035em; }
.prose p { margin: 0 0 1.15em; color: #d0d0d0; }
.prose p:last-child { margin-bottom: 0; }
.prose-heading { margin: 1.7em 0 .65em; color: var(--mint); font-size: 1.18rem; letter-spacing: -.025em; }
.prose-heading:first-child { margin-top: 0; }
.notice-card { padding: 24px 28px; background: rgba(255, 222, 0, .07); border-color: rgba(255, 222, 0, .25); }
.notice-card strong { display: block; margin-bottom: 6px; color: var(--yellow); }
.notice-card p { margin: 0; color: #c7c2a8; }
.section-description { margin: -10px 0 28px; color: var(--muted); }
.address-group + .address-group { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--border); }
.address-group-heading { margin-bottom: 16px; }
.address-group-heading h3 { margin: 0; color: var(--mint); font-size: 1.22rem; }
.address-group-heading p { margin: 5px 0 0; color: #999; font-size: .9rem; }
.site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.site-card { display: flex; min-width: 0; flex-direction: column; padding: 18px; border: 1px solid #3b3b3b; border-radius: 13px; background: #292929; text-decoration: none; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.site-card:hover, .site-card:focus-visible { transform: translateY(-2px); border-color: var(--pink); background: #303030; }
.site-name { color: var(--yellow); font-size: 1.04rem; font-weight: 800; }
.site-description { margin-top: 5px; color: #bababa; font-size: .9rem; }
.site-domain { overflow: hidden; margin-top: 12px; color: #7f7f7f; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-soft); }
.faq-list summary { padding: 18px 20px; cursor: pointer; color: #fff; font-weight: 750; list-style-position: inside; }
.faq-list summary::marker { color: var(--mint); }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.page-actions { text-align: center; margin-top: 24px; }
.hero-actions { display: flex; justify-content: center; }
.primary-action { position: relative; display: inline-flex; overflow: hidden; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 16px 34px; border: 1px solid rgba(255,255,255,.22); border-radius: 15px; background: var(--pink); color: #fff; text-decoration: none; font-size: 1.06rem; font-weight: 900; letter-spacing: -.02em; box-shadow: 0 0 30px rgba(255, 51, 204, .3); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; isolation: isolate; }
.primary-action span { position: relative; z-index: 1; }
.primary-action-arrow { font-size: 1.35em; line-height: 1; transition: transform .2s ease; }
.primary-action:hover, .primary-action:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 51, 204, .38); }
.primary-action:hover .primary-action-arrow, .primary-action:focus-visible .primary-action-arrow { transform: translateX(5px); }
.template-guide .primary-action { animation: guide-cta-pulse 2.8s ease-in-out infinite; }
.template-guide .primary-action::after { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.3) 48%, transparent 76%); content: ""; transform: translateX(-130%); animation: cta-shine 3.2s ease-in-out infinite; }
.site-footer { padding: 28px 20px 42px; border-top: 1px solid var(--border); color: #777; text-align: center; font-size: .82rem; }
.site-footer p { margin: 0 auto; max-width: 900px; }

/* 내부 탐색: 전체 가이드 허브와 관련 랜딩페이지 */
.guide-index { padding-top: 42px; }
.guide-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-index-empty { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; padding: 28px; border: 1px dashed var(--border); border-radius: 14px; background: var(--panel-soft); color: var(--muted); text-align: center; }
.guide-index-empty strong { color: var(--text); font-size: 1.02rem; }
.guide-index-card, .related-guide-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.guide-index-card:hover, .guide-index-card:focus-visible, .related-guide-card:hover, .related-guide-card:focus-visible { transform: translateY(-2px); border-color: var(--mint); }
.guide-index-card strong, .related-guide-card strong { color: var(--text); font-size: 1.02rem; line-height: 1.45; }
.guide-index-card span, .related-guide-card span { display: -webkit-box; overflow: hidden; margin-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.related-guide-section { max-width: 840px; margin: 38px auto 24px; }
.related-guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.related-guide-heading h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.65rem); }
.related-guide-heading > a { color: var(--mint); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.related-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-guide-card { background: var(--panel-soft); }

/* 검색 친화 이미지: 실제 img 요소, 고정 비율 공간, 설명과 출처를 함께 표시 */
.landing-media { width: min(920px, 100%); margin: 0 auto 24px; }
.landing-media img { display: block; width: 100%; height: auto; max-height: 680px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel-soft); object-fit: cover; box-shadow: 0 18px 50px rgba(0,0,0,.16); }
.landing-media figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 10px 4px 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.landing-media .media-source { margin-left: auto; }
.hero .hero-media { margin-top: 28px; margin-bottom: 0; }
.detail-media { max-width: 840px; }
.template-editorial .detail-media { grid-column: 1; width: 100%; }
.template-sidebar .detail-media { grid-column: 2; width: 100%; }
.template-bento .detail-media { grid-column: 1 / -1; width: 100%; }

/* 검색 의도별 권장 템플릿 */
.template-price,
.template-beginner,
.template-comparison,
.template-problem {
    --text: #20242a;
    --muted: #626d78;
    color: var(--text);
}
.template-price .site-header,.template-beginner .site-header,.template-comparison .site-header,.template-problem .site-header { background: rgba(255,255,255,.9); }
.template-price .hero h1,.template-beginner .hero h1,.template-comparison .hero h1,.template-problem .hero h1,
.template-price .content-card h2,.template-beginner .content-card h2,.template-comparison .content-card h2,.template-problem .content-card h2,
.template-price .faq-list summary,.template-beginner .faq-list summary,.template-comparison .faq-list summary,.template-problem .faq-list summary { color: var(--text); }
.template-price .prose p,.template-beginner .prose p,.template-comparison .prose p,.template-problem .prose p { color: #47525d; }

.template-price { --bg:#f3f7f4;--panel:#fff;--panel-soft:#edf5ef;--border:#cbdccf;--mint:#16704a;--pink:#1261a0;--yellow:#a55b00;background:linear-gradient(180deg,#e5f1e8,transparent 28rem),var(--bg); }
.template-price main { width:min(1120px,calc(100% - 40px)); }
.template-price .hero { max-width:1000px;text-align:left; }
.template-price .hero-description,.template-price .hero-media { margin-left:0; }
.template-price .hero-actions { justify-content:flex-start; }
.template-price .content-card,.template-price .notice-card,.template-price .detail-media { max-width:1000px; }
.template-price .intro-card { border-top:0;border-left:5px solid var(--mint); }
.template-price .primary-action { background:var(--mint);box-shadow:none; }

.template-beginner { --bg:#fffaf0;--panel:#fff;--panel-soft:#fff4dc;--border:#ead8b9;--mint:#31705a;--pink:#df6b45;--yellow:#a76600;background:radial-gradient(circle at 10% 4%,#ffebc7,transparent 26rem),var(--bg); }
.template-beginner .content-card,.template-beginner .notice-card,.template-beginner .detail-media { max-width:900px; }
.template-beginner .content-card { border-radius:28px;box-shadow:0 12px 35px rgba(119,78,20,.08); }
.template-beginner .intro-card { border-top:5px solid var(--pink); }
.template-beginner .primary-action { background:var(--pink);box-shadow:none;border-radius:999px; }

.template-comparison { --bg:#f5f7fa;--panel:#fff;--panel-soft:#edf1f6;--border:#ccd5e0;--mint:#176f82;--pink:#505cc7;--yellow:#a25d00;background:linear-gradient(90deg,rgba(80,92,199,.06) 1px,transparent 1px),var(--bg);background-size:50% 100%; }
.template-comparison main { width:min(1180px,calc(100% - 40px)); }
.template-comparison .hero,.template-comparison .content-card,.template-comparison .notice-card { max-width:1080px; }
.template-comparison .comparison-media-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1080px;margin:0 auto 24px; }
.template-comparison .comparison-media-grid .detail-media { width:100%;margin:0; }
.template-comparison .primary-action { background:var(--pink);box-shadow:none; }

.template-problem { --bg:#f7f7f5;--panel:#fff;--panel-soft:#f0f1ed;--border:#d6d9d1;--mint:#2d7251;--pink:#b64b43;--yellow:#9a6700;background:linear-gradient(180deg,#f5e9e7 0,#f7f7f5 22rem); }
.template-problem .hero { padding:58px 32px;border:1px solid #e3c7c3;border-radius:24px;background:#fff;text-align:left; }
.template-problem .hero-description,.template-problem .hero-media { margin-left:0; }
.template-problem .hero-actions { justify-content:flex-start; }
.template-problem .intro-card { border-top:0;border-left:6px solid var(--pink); }
.template-problem .content-card:not(.intro-card) { border-top:5px solid var(--mint); }
.template-problem .primary-action { background:var(--mint);box-shadow:none; }

/* 갤러리형: 작품·사진·커뮤니티 키워드에 적합한 시각 중심 구성 */
.template-gallery {
    --bg: #130f19;
    --panel: #211729;
    --panel-soft: #2b1d35;
    --border: #493552;
    --mint: #bca2ff;
    --pink: #ff70bd;
    --yellow: #ffd98c;
    background: radial-gradient(circle at 18% 0%, rgba(188,162,255,.18), transparent 30rem), radial-gradient(circle at 85% 18%, rgba(255,112,189,.13), transparent 28rem), var(--bg);
}
.template-gallery main { width: min(1180px, calc(100% - 40px)); }
.template-gallery .hero { max-width: 980px; padding: 32px 0 18px; }
.template-gallery .hero h1 { font-size: clamp(2.25rem, 6vw, 4.35rem); }
.template-gallery .content-card { max-width: 980px; border-radius: 28px; }
.template-gallery .site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.template-gallery .site-card { min-height: 180px; justify-content: flex-end; border-radius: 20px; background: linear-gradient(145deg, rgba(188,162,255,.13), rgba(255,112,189,.06)), var(--panel-soft); }
.template-gallery .primary-action { min-height: 68px; padding: 17px 38px; border-radius: 999px; background: linear-gradient(120deg, #9f86ff, #ff70bd 55%, #ff9acb); box-shadow: 0 12px 38px rgba(255,112,189,.28); animation: gallery-cta-float 2.6s ease-in-out infinite; }
.template-gallery .primary-action::after { position: absolute; inset: -80% -30%; background: conic-gradient(from 90deg, transparent, rgba(255,255,255,.28), transparent 28%); content: ""; animation: gallery-cta-orbit 4.5s linear infinite; }

/* 카탈로그형: 사이트·브랜드·가격 키워드에 적합한 비교 중심 구성 */
.template-catalog {
    --bg: #08131a;
    --panel: #10212b;
    --panel-soft: #162b36;
    --border: #294653;
    --mint: #5eead4;
    --pink: #38bdf8;
    --yellow: #facc15;
    background: linear-gradient(180deg, rgba(56,189,248,.1), transparent 28rem), var(--bg);
}
.template-catalog main { width: min(1180px, calc(100% - 40px)); }
.template-catalog .hero { max-width: 1040px; text-align: left; }
.template-catalog .hero-description { margin-left: 0; }
.template-catalog .hero-actions { justify-content: flex-start; }
.template-catalog .content-card, .template-catalog .notice-card { max-width: 1040px; border-radius: 10px; box-shadow: none; }
.template-catalog .intro-card { border-top-width: 1px; border-left: 5px solid var(--mint); }
.template-catalog .site-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.template-catalog .site-card { border-radius: 8px; background: var(--panel-soft); }
.template-catalog .primary-action { min-height: 68px; padding: 17px 40px; border-color: rgba(94,234,212,.7); border-radius: 8px; background: linear-gradient(100deg, #5eead4, #38bdf8); color: #04212a; box-shadow: 0 0 0 0 rgba(56,189,248,.45); animation: catalog-cta-ring 2.2s ease-out infinite; }

/* 밝은 템플릿 공통 색상 */
.template-editorial,
.template-split,
.template-bento,
.template-minimal,
.template-sidebar {
    color-scheme: light;
    --text: #20242a;
    --muted: #66707b;
    color: var(--text);
}
.template-editorial .site-header,
.template-split .site-header,
.template-bento .site-header,
.template-minimal .site-header,
.template-sidebar .site-header { background: rgba(255,255,255,.88); }
.template-editorial .hero h1,
.template-split .hero h1,
.template-bento .hero h1,
.template-minimal .hero h1,
.template-sidebar .hero h1,
.template-editorial .content-card h2,
.template-split .content-card h2,
.template-bento .content-card h2,
.template-minimal .content-card h2,
.template-sidebar .content-card h2,
.template-editorial .faq-list summary,
.template-split .faq-list summary,
.template-bento .faq-list summary,
.template-minimal .faq-list summary,
.template-sidebar .faq-list summary { color: var(--text); }
.template-editorial .prose p,
.template-split .prose p,
.template-bento .prose p,
.template-minimal .prose p,
.template-sidebar .prose p { color: #48515b; }
.template-editorial .site-footer,
.template-split .site-footer,
.template-bento .site-footer,
.template-minimal .site-footer,
.template-sidebar .site-footer { color: #737b84; }

/* 에디토리얼: 본문과 관련 사이트를 나란히 배치하는 잡지형 */
.template-editorial {
    --bg: #f3f0e9;
    --panel: #fffdf8;
    --panel-soft: #f5f0e7;
    --border: #d8d0c3;
    --mint: #176b62;
    --pink: #a53f52;
    --yellow: #b37613;
    background: linear-gradient(90deg, rgba(23,107,98,.055) 1px, transparent 1px), var(--bg);
    background-size: 36px 36px;
}
.template-editorial main { width: min(1240px, calc(100% - 48px)); }
.template-editorial .landing-page { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr); grid-template-areas: "hero hero" "intro address" "detail address" "related address" "notice address" "faq faq"; gap: 24px; }
.template-editorial .landing-page.no-address { grid-template-columns: 1fr; grid-template-areas: "hero" "intro" "detail" "related" "notice" "faq"; }
.template-editorial .hero { grid-area: hero; max-width: none; margin: 0 0 22px; padding: 42px 0 32px; border-bottom: 2px solid var(--text); text-align: left; }
.template-editorial .hero-description { max-width: 760px; margin-left: 0; }
.template-editorial .hero-actions { justify-content: flex-start; }
.template-editorial .intro-card { grid-area: intro; }
.template-editorial .landing-page > .content-card:not(.intro-card):not(.address-section):not(.faq-section) { grid-area: detail; }
.template-editorial .address-section { grid-area: address; align-self: stretch; }
.template-editorial .notice-card { grid-area: notice; }
.template-editorial .faq-section { grid-area: faq; }
.template-editorial .related-guide-section { grid-area: related; }
.template-editorial .content-card, .template-editorial .notice-card { max-width: none; margin: 0; border-radius: 2px; box-shadow: 8px 8px 0 rgba(32,36,42,.08); }
.template-editorial .site-grid { grid-template-columns: 1fr; }
.template-editorial .site-card { background: var(--panel-soft); border-color: var(--border); border-radius: 2px; }
.template-editorial .site-name { color: var(--pink); }
.template-editorial .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.template-editorial .faq-list details { background: var(--panel-soft); }
.template-editorial .primary-action { border-radius: 2px; background: var(--text); box-shadow: 7px 7px 0 var(--pink); }

/* 분할 히어로: 제목과 설명/CTA를 좌우로 나누는 프레젠테이션형 */
.template-split {
    --bg: #eef3f8;
    --panel: #ffffff;
    --panel-soft: #edf3f8;
    --border: #cbd8e3;
    --mint: #0d7377;
    --pink: #2457d6;
    --yellow: #d97809;
    background: var(--bg);
}
.template-split main { width: min(1180px, calc(100% - 40px)); }
.template-split .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); grid-template-rows: auto auto auto; column-gap: clamp(36px, 7vw, 96px); max-width: none; margin-bottom: 42px; padding: clamp(38px, 7vw, 76px); border-radius: 28px; background: linear-gradient(135deg, #173b72, #2457d6); color: #fff; text-align: left; box-shadow: 0 24px 70px rgba(23,59,114,.22); }
.template-split .eyebrow { grid-column: 1; color: #8fe3df; }
.template-split .hero h1 { grid-column: 1; grid-row: 2 / span 2; color: #fff; }
.template-split .hero-description { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; color: #dbe8ff; }
.template-split .updated { grid-column: 2; color: #c6d7f4; border-color: rgba(255,255,255,.28); }
.template-split .hero-actions { grid-column: 2; justify-content: flex-start; }
.template-split .content-card, .template-split .notice-card { max-width: 1040px; background: var(--panel); border-color: var(--border); box-shadow: 0 14px 35px rgba(42,64,88,.08); }
.template-split .intro-card { border-top: 0; border-left: 6px solid var(--mint); }
.template-split .site-card, .template-split .faq-list details { background: var(--panel-soft); border-color: var(--border); }
.template-split .site-name { color: var(--pink); }
.template-split .primary-action { background: #fff; color: #173b72; border-color: #fff; box-shadow: none; }

/* 벤토: 각 콘텐츠 블록의 크기를 달리하는 대시보드형 */
.template-bento {
    --bg: #e9ecef;
    --panel: #ffffff;
    --panel-soft: #f1f3f5;
    --border: #d2d6da;
    --mint: #216869;
    --pink: #d14d36;
    --yellow: #9a6700;
    background: radial-gradient(circle at 85% 5%, rgba(209,77,54,.12), transparent 26rem), var(--bg);
}
.template-bento main { width: min(1240px, calc(100% - 40px)); }
.template-bento .landing-page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.template-bento .hero { grid-column: 1 / -1; max-width: none; min-height: 360px; margin: 0; padding: clamp(42px, 7vw, 82px); border-radius: 30px; background: #202a2f; text-align: left; }
.template-bento .hero h1 { max-width: 820px; color: #fff; }
.template-bento .hero-description { max-width: 720px; margin-left: 0; color: #cbd3d7; }
.template-bento .hero-actions { justify-content: flex-start; }
.template-bento .intro-card { grid-column: span 5; }
.template-bento .landing-page > .content-card:not(.intro-card):not(.address-section):not(.faq-section) { grid-column: span 7; }
.template-bento .address-section { grid-column: span 8; }
.template-bento .notice-card { grid-column: span 4; }
.template-bento .faq-section { grid-column: 1 / -1; }
.template-bento .related-guide-section { grid-column: 1 / -1; }
.template-bento .content-card, .template-bento .notice-card { max-width: none; height: 100%; margin: 0; border-color: var(--border); border-radius: 26px; background: var(--panel); box-shadow: none; }
.template-bento .intro-card { border-top: 0; background: #d8ebe5; }
.template-bento .notice-card { background: #f5dfb8; border-color: #e3c688; }
.template-bento .notice-card strong { color: #7b4f00; }
.template-bento .notice-card p { color: #624f2d; }
.template-bento .site-card, .template-bento .faq-list details { background: var(--panel-soft); border-color: var(--border); }
.template-bento .site-name { color: var(--pink); }
.template-bento .primary-action { background: var(--pink); box-shadow: none; }

/* 미니멀 문서: 장문 독서에 집중하는 단일 칼럼 */
.template-minimal {
    --bg: #ffffff;
    --panel: #ffffff;
    --panel-soft: #fafafa;
    --border: #dedede;
    --mint: #276749;
    --pink: #1f2937;
    --yellow: #9a6700;
    background: var(--bg);
}
.template-minimal .site-header { border-bottom-color: #ededed; }
.template-minimal main { width: min(780px, calc(100% - 40px)); }
.template-minimal .breadcrumb { padding-top: 34px; }
.template-minimal .landing-page { padding-top: 70px; }
.template-minimal .hero { max-width: none; margin-bottom: 60px; text-align: left; }
.template-minimal .hero h1 { font-family: Georgia, "Times New Roman", "Noto Serif KR", serif; font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 700; }
.template-minimal .hero-description { max-width: 680px; margin-left: 0; font-size: 1.12rem; }
.template-minimal .hero-actions { justify-content: flex-start; }
.template-minimal .content-card, .template-minimal .notice-card { max-width: none; margin-bottom: 0; padding: 46px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
.template-minimal .intro-card { border-top: 3px solid var(--text); }
.template-minimal .content-card h2 { font-family: Georgia, "Times New Roman", "Noto Serif KR", serif; }
.template-minimal .site-grid { grid-template-columns: 1fr; }
.template-minimal .site-card { padding: 20px 0; border-width: 0 0 1px; border-radius: 0; background: transparent; }
.template-minimal .site-name { color: var(--text); }
.template-minimal .faq-list details { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.template-minimal .primary-action { min-height: 54px; border-radius: 0; background: var(--text); box-shadow: none; }

/* 사이드바: 왼쪽 고정 소개와 오른쪽 콘텐츠 스트림 */
.template-sidebar {
    --bg: #f1f1ee;
    --panel: #ffffff;
    --panel-soft: #f4f4f1;
    --border: #d6d7d1;
    --mint: #356859;
    --pink: #8b3d5c;
    --yellow: #9a6700;
    background: var(--bg);
}
.template-sidebar main { width: min(1280px, calc(100% - 48px)); }
.template-sidebar .landing-page { display: grid; grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); align-items: start; gap: 24px 42px; }
.template-sidebar .hero { position: sticky; top: 24px; grid-column: 1; grid-row: 1 / span 8; max-width: none; margin: 0; padding: 34px; border-radius: 20px; background: #263630; text-align: left; }
.template-sidebar .hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); }
.template-sidebar .hero-description { margin-left: 0; color: #ced9d4; }
.template-sidebar .hero-actions { justify-content: flex-start; }
.template-sidebar .landing-page > .content-card, .template-sidebar .notice-card { grid-column: 2; max-width: none; width: 100%; margin: 0; border-color: var(--border); background: var(--panel); box-shadow: none; }
.template-sidebar .related-guide-section { grid-column: 2; max-width: none; width: 100%; margin: 0; }
.template-sidebar .intro-card { border-top: 0; border-left: 5px solid var(--mint); }
.template-sidebar .site-card, .template-sidebar .faq-list details { background: var(--panel-soft); border-color: var(--border); }
.template-sidebar .site-name { color: var(--pink); }
.template-sidebar .primary-action { width: 100%; padding-inline: 20px; background: var(--pink); box-shadow: none; }

@keyframes guide-cta-pulse { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-2px) scale(1.025); } }
@keyframes cta-shine { 0%, 52% { transform: translateX(-130%); } 78%, 100% { transform: translateX(130%); } }
@keyframes gallery-cta-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gallery-cta-orbit { to { transform: rotate(360deg); } }
@keyframes catalog-cta-ring { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.42); } 70%, 100% { box-shadow: 0 0 0 16px rgba(56,189,248,0); } }

@media (prefers-reduced-motion: reduce) {
    .primary-action, .primary-action::after { animation: none !important; }
}

@media (max-width: 640px) {
    body { word-break: normal; }
    .header-inner, main { width: min(100% - 28px, 1040px); }
    .header-inner { min-height: 62px; }
    .home-link { font-size: .82rem; }
    .breadcrumb { padding-top: 18px; }
    .landing-page { padding: 38px 0 60px; }
    .hero { margin-bottom: 26px; text-align: left; }
    .hero-description { margin-left: 0; }
    .updated { align-items: flex-start; flex-direction: column; gap: 0; border-radius: 12px; }
    .content-card { padding: 25px 20px; border-radius: 14px; }
    .notice-card { padding: 20px; border-radius: 14px; }
    .faq-list summary { padding: 16px; }
    .faq-answer { padding: 0 16px 16px; }
    .hero-actions { justify-content: stretch; }
    .primary-action { width: 100%; }
    .site-grid { grid-template-columns: 1fr; }
    .guide-index-grid, .related-guide-grid { grid-template-columns: 1fr; }
    .template-gallery main, .template-catalog main { width: min(100% - 28px, 1040px); }
    .template-gallery .site-grid, .template-catalog .site-grid { grid-template-columns: 1fr; }
    .template-gallery .content-card { border-radius: 16px; }
    .template-editorial main, .template-split main, .template-bento main, .template-sidebar main { width: min(100% - 28px, 1040px); }
    .template-editorial .landing-page, .template-bento .landing-page, .template-sidebar .landing-page { display: block; }
    .template-editorial .content-card, .template-editorial .notice-card, .template-bento .content-card, .template-bento .notice-card, .template-sidebar .content-card, .template-sidebar .notice-card { height: auto; margin-bottom: 18px; }
    .template-editorial .faq-list { grid-template-columns: 1fr; }
    .template-split .hero { display: block; padding: 30px 22px; border-radius: 18px; }
    .template-split .hero-description { margin-top: 20px; }
    .template-bento .hero { min-height: 0; padding: 34px 22px; border-radius: 20px; }
    .template-minimal .landing-page { padding-top: 42px; }
    .template-minimal .content-card, .template-minimal .notice-card { padding: 34px 0; }
    .template-sidebar .hero { position: static; margin-bottom: 22px; padding: 28px 22px; }
    .landing-media figcaption { display:block; }
    .landing-media .media-source { display:block;margin:4px 0 0; }
    .template-comparison .comparison-media-grid { grid-template-columns:1fr;gap:18px; }
    .template-price main,.template-comparison main { width:min(100% - 28px,1040px); }
}
