@import url("./vendor/pretendard/pretendardvariable-dynamic-subset.css");
:root {
  color-scheme: light dark;
  --bg: #f8faf9; --surface: #ffffff; --text: #222a27; --muted: #626d68;
  --ownership-text: #666666;
  --line: #e3e8e6; --accent: #237a6b; --accent-text: #ffffff; --soft: #e8f5f2;
  --placeholder: #eef1f0; --chip: #f4f7f6;
  /* 민트는 선·밑줄·일러스트 포인트에만(흰 글자 바탕으로 쓰면 대비 부족) */
  --mint: #46b5a3; --deep: #1c3a33; --deep-text: #ffffff;
  /* 그림자는 떠 있는 패널(검색 상자)과 주 버튼에만 */
  --shadow-float: 0 8px 28px #1c3a331a;
  --health-bg: #e9f3eb; --health-text: #285f3d; --yellow-bg: #fff5d6; --yellow-text: #765818;
  --danger-bg: #fcecea; --danger-text: #a02d29; --backdrop: #16271d66; --radius: 12px;
  /* 글자 크기 단계: 보조 · 작은 본문 · 본문 · 소제목 · 제목 · 큰 제목 */
  /* 간격 단계(4px 단위): 같은 묶음 안은 좁게, 묶음 사이는 넓게 */
  --sp-1: 4px; --sp-1h: 6px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 28px; --sp-8: 32px; --sp-11: 44px; --sp-14: 56px;
  --radius-sm: 6px;
  --fs-xs: 12px; --fs-sm: 13px; --fs-base: 15px; --fs-md: 17px; --fs-lg: 20px; --fs-xl: 24px;
  --fs-title: clamp(30px, 4.5vw, 42px); --fs-hero: clamp(28px, 4.4vw, 44px); --fs-scene: 30px;
  --photo-bg: #ffffff;
  /* 장면 그림의 색은 다크 모드에서도 고정 */
  --scene-mint: #1d9e75; --scene-food: #ef9f27; --scene-gray: #b4b2a9; --scene-light: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131a18; --surface: #1b2421; --text: #e8efec; --muted: #adbab4;
    --ownership-text: #bbbbbb;
    --line: #34423d; --accent: #7fd6c4; --accent-text: #0f2a24; --soft: #1f3a33;
    --placeholder: #28322f; --chip: #222d2a;
    --mint: #6fd0bf; --deep: #cfeee7; --deep-text: #10241f;
    --shadow-float: 0 8px 28px #00000066;
    --health-bg: #284532; --health-text: #b3e1c2; --yellow-bg: #433b22; --yellow-text: #f0d58b;
    --danger-bg: #472925; --danger-text: #ffb4aa; --backdrop: #00000099;
    --scene-mint: #1d9e75; --scene-food: #ef9f27; --scene-gray: #b4b2a9; --scene-light: #ffffff;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 120px; font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif; line-height: 1.65; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: var(--fs-base); overflow-wrap: anywhere; word-break: keep-all; }
/* 한글은 단어 중간에서 끊지 않고, 문단 끝 줄이 한 단어만 남지 않게 */
h1, h2, h3, p, li, dd { text-wrap: pretty; }
.seller-coupang { margin-bottom: var(--sp-3); }
.seller-coupang .affiliate-notice { margin-bottom: var(--sp-2); }
a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: var(--sp-11); min-width: var(--sp-11); }
button, input, select { font: inherit; color: inherit; }
button, .button, select, summary { cursor: pointer; }
button, .button { min-height: var(--sp-11); min-width: var(--sp-11); }
button, input, select { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
button { padding: var(--sp-2) var(--sp-4); }
input { min-width: 0; accent-color: var(--accent); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; flex-shrink: 0; }
button:disabled { opacity: .45; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: var(--fs-title); line-height: 1.3; letter-spacing: -.055em; margin-bottom: var(--sp-4); font-weight: 750; }
h2 { font-size: var(--fs-lg); line-height: 1.4; letter-spacing: -.025em; }
h3 { font-size: var(--fs-md); line-height: 1.5; }
p { margin-bottom: var(--sp-3); }
.container { width: min(100%, 1112px); padding-inline: var(--sp-4); margin-inline: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
/* 좁은 화면에서는 메뉴가 로고 아래 줄로 내려간다 */
.header-inner { min-height: 76px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; column-gap: var(--sp-3); row-gap: 0; padding-block: var(--sp-1); }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-xl); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.logo span, .footer-logo span { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); letter-spacing: 0; }
nav { display: flex; gap: var(--sp-4); font-size: var(--fs-sm); }
nav a { min-height: 44px; display: flex; align-items: center; border-bottom: 2px solid transparent; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom-color: var(--mint); }
/* 공통 머리말: 위 안내 줄 + 로고·메뉴·검색·비교함 (대한항공 구조 참고) */
.site-header { position: sticky; top: 0; z-index: 20; }
.util-bar { border-bottom: 1px solid var(--line); background: var(--bg); }
.util-inner { display: flex; justify-content: flex-end; }
.util-inner nav { gap: var(--sp-5); font-size: var(--fs-xs); color: var(--muted); }
.util-inner nav a { min-height: var(--sp-11); }
.util-inner nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.header-inner { min-height: 64px; flex-wrap: nowrap; justify-content: flex-start; column-gap: var(--sp-11); }
.main-nav { gap: var(--sp-8); font-size: var(--fs-base); font-weight: 500; }
.header-search { margin-left: auto; }
.header-search input { width: 230px; min-height: var(--sp-11); border-radius: var(--radius); padding: 0 var(--sp-4); font-size: var(--fs-sm); background: var(--bg); }
.header-compare { display: inline-flex; align-items: center; gap: var(--sp-1); min-height: var(--sp-11); padding: 0 var(--sp-4); border: 1px solid var(--mint); border-radius: var(--radius); color: var(--accent); font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; }
.header-search + .header-compare { margin-left: 0; }
.main-nav + .header-compare { margin-left: auto; }
@media (max-width: 899px) {
  .header-search { display: none; }
  .main-nav + .header-compare, .header-search + .header-compare { margin-left: auto; }
  .header-inner { column-gap: var(--sp-4); }
  .main-nav { gap: var(--sp-4); font-size: var(--fs-sm); }
}
@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; }
  .util-inner { justify-content: flex-start; }
}
.intro { padding-top: var(--sp-11); padding-bottom: var(--sp-5); }
.muted { color: var(--muted); }
.ownership-note { color: var(--ownership-text); }
small, .small, sub, sup { font-size: var(--fs-xs); }
.search-box { display: flex; align-items: center; gap: var(--sp-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-4); }
.search-box svg { color: var(--accent); flex-shrink: 0; }
.search-box input { flex: 1; width: 100%; border: 0; background: transparent; border-radius: 0; font-size: var(--fs-base); min-height: 44px; }
.search-box button { background: var(--accent); color: var(--accent-text); border-color: var(--accent); padding-inline: var(--sp-3); flex-shrink: 0; }
#search-help { margin: var(--sp-2) 0; }
#search-results { margin: 0; font-size: var(--fs-sm); }
#search-results .text-button { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.search-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--sp-2); margin: var(--sp-2) 0 var(--sp-5); font-size: var(--fs-sm); }
.search-links a { display: inline-flex; align-items: center; min-height: 44px; }
.survey-banner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-5); margin-bottom: var(--sp-7); }
.survey-banner strong { font-size: var(--fs-md); }
.survey-banner p { font-size: var(--fs-sm); color: var(--muted); margin: var(--sp-1) 0 0; }
.banner-arrow { color: var(--accent); font-size: var(--fs-xl); }
.filter-panel { padding: var(--sp-1) var(--sp-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
/* 접히는 필터 머리: 기본 삼각형 대신 선으로 그린 꺾쇠 */
.filter-summary { display: flex; align-items: center; gap: var(--sp-2); min-height: 52px; list-style: none; }
.filter-summary::-webkit-details-marker { display: none; }
.filter-summary h2 { margin: 0; }
.filter-summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.filter-panel[open] > .filter-summary::after { transform: translateY(2px) rotate(-135deg); }
.filter-count { font-size: var(--fs-xs); font-weight: 700; color: var(--accent); }
.filter-body { padding: var(--sp-1) 0 var(--sp-4); }
.filter-body .section-heading { align-items: flex-start; margin-bottom: var(--sp-4); }
.filter-body .filter-help { margin: 0; }
.load-more { display: flex; width: 100%; margin-top: var(--sp-5); color: var(--accent); font-weight: 650; }
.load-more:hover { border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .filter-summary::after { transition: none; } }
.section-heading, .results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); }
.section-heading h2, .results-toolbar h2 { margin: 0; }
.text-button { border: 0; background: transparent; color: var(--muted); padding: var(--sp-1) var(--sp-2); font-size: var(--fs-sm); }
.filter-group { border: 0; padding: 0; margin: 0 0 var(--sp-4); min-width: 0; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group legend { font-size: var(--fs-xs); font-weight: 700; margin-bottom: var(--sp-2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.concern-section { margin-bottom: var(--sp-7); }
.concern-links { margin-bottom: var(--sp-6); }
.concern-link { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--chip); padding: var(--sp-1h) var(--sp-3); font-size: var(--fs-sm); }
.concern-link:hover { border-color: var(--accent); color: var(--accent); }
.concern-link[aria-current="page"] { background: var(--soft); color: var(--accent); border-color: var(--accent); font-weight: 700; }
.concern-strains { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4) var(--sp-4); margin-bottom: var(--sp-7); }
.concern-strains ul { margin: 0 0 var(--sp-3); padding-left: var(--sp-4); }
.concern-strains li { margin-bottom: var(--sp-2); }
.strain-products summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-sm); color: var(--accent); }
.strain-products ul { margin: 0 0 var(--sp-2); padding-left: var(--sp-4); }
.strain-products li { margin-bottom: var(--sp-1); font-size: var(--fs-sm); }
.strain-products a { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: var(--sp-1); min-height: 44px; }
.strain-products summary { list-style: none; gap: var(--sp-2); }
.strain-products summary::-webkit-details-marker { display: none; }
.strain-products summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.strain-products[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--chip); padding: var(--sp-1h) var(--sp-3); font-size: var(--fs-xs); }
.chip input:checked + span { background: var(--soft); color: var(--accent); border-color: var(--accent); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.results-section { margin-block: var(--sp-7) var(--sp-14); }
.results-toolbar { margin-bottom: var(--sp-2); }
#results-title { scroll-margin-top: var(--sp-6); }
#result-count { color: var(--accent); }
.sort-control { min-width: 0; }
select { max-width: 100%; min-height: 44px; padding: var(--sp-2) var(--sp-6) var(--sp-2) var(--sp-2); font-size: var(--fs-xs); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); margin-top: var(--sp-5); }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; overflow: hidden; }
.card-link { display: block; flex: 1; }
.card-link:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.card-link:focus-visible { outline-offset: -4px; }
.card-body { display: flex; flex-direction: column; height: 100%; padding: var(--sp-4); }
.card-body .detail-link { margin-top: auto; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1h); }
.badge { display: inline-flex; align-items: center; border-radius: var(--radius-sm); padding: var(--sp-1) var(--sp-2); font-size: var(--fs-xs); line-height: 1.5; background: var(--placeholder); color: var(--muted); }
.badge-health { color: var(--health-text); background: var(--health-bg); }
.badge-overseas { color: var(--yellow-text); background: var(--yellow-bg); }
.brand { margin: var(--sp-3) 0 var(--sp-1); font-size: var(--fs-xs); color: var(--muted); }
.product-card h3 { margin-bottom: var(--sp-3); }
.product-meta { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--sp-4); }
.detail-link { display: flex; justify-content: space-between; color: var(--accent); font-size: var(--fs-xs); font-weight: 650; }
.empty-state { padding: var(--sp-11) var(--sp-4); text-align: center; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-2) var(--sp-4); background: var(--surface); font-size: var(--fs-base); }
.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding-top: var(--sp-6); padding-bottom: var(--sp-8); color: var(--muted); font-size: var(--fs-xs); }
.footer-logo { display: block; color: var(--text); font-size: var(--fs-md); margin-bottom: var(--sp-3); }
.site-footer p { max-width: 880px; margin-bottom: 0; line-height: 1.9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: var(--sp-2); left: var(--sp-4); transform: translateY(-150%); padding: var(--sp-2) var(--sp-5); z-index: 21; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.skip-link:focus { transform: translateY(0); }
.dialog-open { overflow: hidden; }
.product-dialog { margin: 0; padding: 0; width: 100%; max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh; border: 0; color: var(--text); background: var(--surface); overscroll-behavior: contain; }
.product-dialog::backdrop { background: var(--backdrop); }
.dialog-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: var(--sp-2) var(--sp-4); background: var(--surface); border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.icon-button { padding: var(--sp-1) var(--sp-3); font-size: var(--fs-sm); }
.icon-button span { font-size: var(--fs-lg); margin-left: var(--sp-2); }
.detail-content { padding: var(--sp-6) var(--sp-4) var(--sp-11); }
.detail-content h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.detail-content h3 { margin-bottom: var(--sp-3); }
.detail-content h3 .muted { font-size: var(--fs-xs); font-weight: 400; }
.detail-content .brand { margin-top: 0; }
.detail-cfu { font-size: var(--fs-lg); color: var(--accent); font-weight: 650; margin: var(--sp-6) 0; }
.facts { font-size: var(--fs-sm); }
.facts > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-2) 0; }
dt { color: var(--muted); }
dd { margin: 0; }
dd small { display: block; color: var(--muted); margin-top: var(--sp-1); }
.detail-section { border-top: 1px solid var(--line); padding-top: var(--sp-6); margin-top: var(--sp-6); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.organism-list { list-style: none; padding: 0; margin: 0; }
.organism-list li { padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); }
.scientific { display: block; margin-bottom: var(--sp-2); }
.organism-list small { font-size: var(--fs-xs); color: var(--muted); }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); font-size: var(--fs-sm); margin-block: var(--sp-5); }
.notice p { margin: var(--sp-1h) 0 0; }
.notice-danger { background: var(--danger-bg); color: var(--danger-text); border-color: currentColor; }
.notice-caution { background: var(--yellow-bg); color: var(--yellow-text); border-color: currentColor; }
.preserve-lines { white-space: pre-wrap; }
.caution-details, .selection-details { font-size: var(--fs-sm); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); margin-top: var(--sp-6); background: var(--surface); }
summary { font-weight: 650; min-height: var(--sp-11); }
details p { margin: var(--sp-3) 0 0; }
.affiliate-notice { color: var(--text); font-size: var(--fs-sm); border-bottom: 1px solid var(--accent); padding-bottom: var(--sp-1h); margin-bottom: var(--sp-3); }
/* 판매처 버튼은 한 줄에 하나씩(2026-11-19 사용자 결정) */
.seller-links { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-2); max-width: 360px; }
.seller-links .seller-button { justify-content: space-between; }
.source-facts { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.survey-main { padding-bottom: var(--sp-14); }
.survey-intro, .survey-panel { max-width: 680px; margin-inline: auto; }
.survey-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6) var(--sp-4); background: var(--surface); }
.progress-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: var(--fs-xs); margin-bottom: var(--sp-2); }
progress { appearance: none; width: 100%; height: 5px; border: 0; border-radius: var(--radius); background: var(--line); color: var(--accent); display: block; margin-bottom: var(--sp-8); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.survey-question { min-width: 0; padding: 0; margin: 0; border: 0; }
.survey-question legend { font-size: var(--fs-xl); line-height: 1.45; font-weight: 700; letter-spacing: -.035em; margin-bottom: var(--sp-2); padding: 0; }
#question-hint { font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.survey-options { display: grid; gap: var(--sp-2); }
.survey-option { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: var(--fs-base); }
.survey-option:has(input:checked) { background: var(--soft); border-color: var(--accent); color: var(--accent); }
.survey-option input { margin: 0; }
.option-number { display: inline-block; font-size: var(--fs-xs); color: var(--muted); margin-right: var(--sp-3); }
.form-error { min-height: 23px; color: var(--danger-text); font-size: var(--fs-sm); margin: var(--sp-4) 0; }
.survey-actions { display: flex; gap: var(--sp-2); }
.survey-actions .primary { flex: 1; }
.overseas-option { min-height: var(--sp-11); display: flex; align-items: center; gap: var(--sp-2); margin: var(--sp-6) 0 var(--sp-2); cursor: pointer; font-size: var(--fs-base); }
.result-heading { padding-top: var(--sp-11); }
.recommendation-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); margin-top: var(--sp-7); }
.recommendation-grid .card-link { height: auto; }
.strain-results { margin-top: var(--sp-7); overflow-wrap: anywhere; }
.recommendation-reason { border-top: 1px solid var(--line); padding: var(--sp-4); font-size: var(--fs-sm); overflow-wrap: anywhere; }
.recommendation-reason strong { font-size: var(--fs-xs); color: var(--accent); }
.recommendation-reason p { color: var(--muted); margin: var(--sp-1h) 0 0; }
.result-footer { margin-top: var(--sp-8); font-size: var(--fs-sm); }
.result-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-5); }
.inline-link { text-decoration: underline; text-underline-offset: 3px; }
.survey-text-field { margin-block: var(--sp-5); }
.survey-text-field label { display: block; font-size: var(--fs-base); font-weight: 650; margin-bottom: var(--sp-2); }
.survey-text-field input { width: 100%; min-height: 44px; padding: var(--sp-2) var(--sp-3); }
.survey-text-field p { margin: var(--sp-2) 0 0; }
.stats-table-wrap { overflow-x: auto; margin-block: var(--sp-6); border: 1px solid var(--line); border-radius: var(--radius); }
.stats-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); text-align: right; }
.stats-table caption { text-align: left; padding: var(--sp-3); font-weight: 700; background: var(--soft); }
.stats-table th, .stats-table td { padding: var(--sp-3); border-top: 1px solid var(--line); min-width: 82px; }
.stats-table th { text-align: left; background: var(--surface); }
.stats-table th[scope="row"] { white-space: nowrap; }
@media (min-width: 640px) {
  .mobile-break { display: none; }
  nav { gap: var(--sp-7); font-size: var(--fs-base); }
  .intro { padding-top: var(--sp-14); }
  .filter-panel { padding: var(--sp-1h) var(--sp-6); }
  .product-grid, .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .survey-panel { padding: var(--sp-8); }
  .survey-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-dialog { left: auto; right: 0; width: 530px; max-width: 100%; border-left: 1px solid var(--line); }
  .dialog-toolbar { padding-inline: var(--sp-7); }
  .detail-content { padding-inline: var(--sp-7); }
}
.same-strain .same-strain-list { margin-top: var(--sp-2); }
.same-strain .same-strain-list ul { margin: var(--sp-2) 0 0; padding-left: var(--sp-4); }
.same-strain .same-strain-list li { margin: var(--sp-1) 0; }
/* 유산균이란? 안내 페이지 */
.guide .scientific { display: inline; margin: 0; font-style: italic; }
.guide-toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4) var(--sp-4); font-size: var(--fs-base); }
.guide-toc h2 { font-size: var(--fs-base); margin-bottom: var(--sp-1h); }
.guide-toc ol { margin: 0; padding-left: var(--sp-5); }
.guide-toc li { padding-block: var(--sp-1); }
.guide section[id] { scroll-margin-top: var(--sp-4); }
.guide .detail-section { font-size: var(--fs-base); }
.guide .detail-section ul { padding-left: var(--sp-4); }
.guide .detail-section li { margin-bottom: var(--sp-1h); }
.guide-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
.guide-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); }
.guide-card h3 { margin-bottom: 0; color: var(--accent); }
.guide-card p:last-child { margin-bottom: 0; }
.guide-situations { margin: 0 0 var(--sp-2); }
.guide-situations div { border-left: 3px solid var(--accent); padding: 2px 0 2px var(--sp-3); margin-bottom: var(--sp-4); }
.guide-situations dt { font-weight: 700; }
.guide-situations dd { margin: var(--sp-1) 0 0; }
/* 안내 그림: 인라인 SVG, 색은 사이트 변수를 따라 다크 모드에서도 바뀐다 */
.diagram { margin: var(--sp-6) 0; overflow-x: auto; }
.diagram svg { display: block; width: 100%; min-width: 288px; max-width: 360px; height: auto; font-family: inherit; }
.diagram text { fill: var(--text); }
.diagram .d-name { font-size: var(--fs-base); font-weight: 700; }
.diagram .d-name-lg { font-size: var(--fs-md); }
.diagram .d-latin { font-style: italic; font-weight: 600; }
.diagram .d-sub, .diagram .d-tag { font-size: var(--fs-xs); fill: var(--muted); }
.diagram .d-tag { font-weight: 700; }
.diagram .d-mask { fill: var(--bg); }
.diagram .d-ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.diagram .d-ring-mid { stroke: var(--muted); stroke-width: 1; }
.diagram .d-node { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.diagram .d-focal { fill: var(--soft); stroke: var(--accent); stroke-width: 1.5; }
.diagram .d-line { fill: none; stroke: var(--muted); stroke-width: 1.25; }
.diagram .d-arrowhead { fill: var(--muted); }
.guide-banner { background: var(--surface); }
@media (min-width: 640px) { .guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-toc { display: block; }
.guide-toc a { display: inline-flex; min-height: var(--sp-11); border-bottom: 0; }
.guide-toc li { padding-block: var(--sp-1h); }
nav a { white-space: nowrap; }
@media (max-width: 400px) {
  .logo { font-size: var(--fs-lg); }
  .site-header nav { gap: var(--sp-2); }
}
/* 비교 선택과 하단 막대 */
.compare-toggle { display: flex; align-items: center; justify-content: center; gap: var(--sp-2); }
/* 카드 아래 버튼 묶음: 비교 담기 + 할인가 확인 */
.card-actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-2); margin: 0 var(--sp-4) var(--sp-4); }
.card-affiliate { flex-basis: 100%; margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.card-sellers { display: flex; flex-direction: column; align-items: stretch; gap: var(--sp-2); }
.card-seller { display: inline-flex; align-items: center; justify-content: center; min-height: var(--sp-11); padding: 0 var(--sp-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: var(--fs-sm); color: var(--text); }
.card-seller:hover { border-color: var(--accent); color: var(--accent); }
.compare-toggle[aria-pressed="true"] { background: var(--soft); border-color: var(--accent); }
.compare-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: var(--radius-sm); font-size: var(--fs-xs); }
.compare-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 5; padding: var(--sp-3) 0 calc(var(--sp-3) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
.compare-bar-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-2); }
#compare-message { text-align: center; margin: var(--sp-2) 0 0; }
#compare-message:empty { display: none; }
.compare-active main { padding-bottom: calc(var(--compare-bar-height, 112px) + var(--sp-6)); }
.compare-active { padding-bottom: var(--compare-bar-height, 112px); }
.compare-dialog { left: 0; right: 0; width: min(100%, 1112px); margin-inline: auto; border-inline: 1px solid var(--line); }
.compare-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.compare-heading h2 { margin: 0; }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: var(--fs-sm); }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: var(--sp-3); border: 1px solid var(--line); overflow-wrap: anywhere; }
.compare-table th { font-weight: 600; background: var(--chip); }
.compare-table th:first-child { width: 18%; }
.compare-remove { display: block; margin-top: var(--sp-2); font-size: var(--fs-sm); }
.compare-product-name { display: none; }
.compare-strains { margin: 0; padding-left: var(--sp-4); }
@media (max-width: 639px) {
  .compare-table, .compare-table thead, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td { display: block; width: 100%; }
  .compare-table th:first-child { width: 100%; }
  .compare-table thead th:first-child { display: none; }
  .compare-table tr { margin-bottom: var(--sp-4); }
  .compare-table th, .compare-table td { border: 0; border-bottom: 1px solid var(--line); padding-inline: var(--sp-2); }
  .compare-table thead th { background: transparent; }
  .compare-product-name, .compare-value { display: inline; }
}
/* 자주 묻는 질문: 한 줄씩 펼치기 */
.faq-list { border-top: 1px solid var(--line); margin-bottom: var(--sp-11); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; min-height: 56px; font-weight: 600; list-style: none; gap: var(--sp-3); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; flex-shrink: 0; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-2px) rotate(45deg); }
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-item p { color: var(--muted); padding-bottom: var(--sp-4); margin: 0; }
.report-steps { padding-left: var(--sp-5); }
.report-steps li { margin-bottom: var(--sp-2); }
.report-steps strong { margin-right: var(--sp-2); }
/* 2단계 첫 화면: KT 느낌(가운데 문구 + 선 일러스트) + 대한항공식 탭 검색 상자 */
:root { --art: #c9cfcc; }
@media (prefers-color-scheme: dark) { :root { --art: #4b5953; } }
.hero { text-align: center; padding-top: var(--sp-14); }
.hero h1 { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -.05em; line-height: 1.38; margin-bottom: var(--sp-3); }
.hero p { margin-bottom: 0; }
.hero-art { display: block; width: min(900px, 100%); height: auto; margin: var(--sp-6) auto 0; }
.hero-art .art-line { stroke: var(--art); }
.hero-art .art-mint { stroke: var(--mint); }
.finder-panel { position: relative; margin: calc(-1 * var(--sp-6)) 0 var(--sp-8); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-float); }
.finder-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--chip); border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.finder-tabs button { border: 0; border-radius: var(--radius) var(--radius) 0 0; background: transparent; color: var(--muted); font-weight: 500; min-height: 52px; }
.finder-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); font-weight: 700; border-top: 2px solid var(--mint); }
.finder-body { padding: var(--sp-5) var(--sp-6) var(--sp-4); }
.finder-body #search-help { margin: var(--sp-2) 0 0; }
.finder-body .search-box button { box-shadow: var(--shadow-float); }
#panel-concern .chips { margin-top: var(--sp-2); }
#panel-survey p { margin-bottom: var(--sp-4); }
@media (max-width: 639px) {
  .hero { padding-top: var(--sp-8); }
  .finder-body { padding: var(--sp-4); }
  .finder-tabs button { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art .art-mint { animation: art-float 4s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; }
}
@keyframes art-float { from { transform: translateY(0); } to { transform: translateY(-4px); } }
/* 3단계 제품 목록: 격자 카드 → 한 줄 목록(오른쪽에 큰 균수) */
.card-summary { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--sp-2); }
.fact { display: inline-flex; align-items: center; font-size: var(--fs-xs); padding: 1px var(--sp-2); border-radius: var(--radius); }
.fact-yes { background: var(--soft); color: var(--accent); }
.fact-no { background: var(--yellow-bg); color: var(--yellow-text); }
.card-side { display: none; }
.product-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0; border-top: 1px solid var(--line); }
.product-grid .product-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; overflow: visible; }
.product-grid .card-link { display: flex; align-items: flex-start; gap: var(--sp-6); }
.product-grid .card-body { flex: 1; min-width: 0; padding: var(--sp-5) 0; }
.product-grid .card-body .brand { margin-bottom: 2px; }
.product-grid .product-card h3 { margin-bottom: var(--sp-1h); }
.product-grid .product-meta, .product-grid .detail-link { display: none; }
.product-grid .card-side { display: flex; flex-direction: column; align-items: flex-end; padding-top: var(--sp-6); text-align: right; white-space: nowrap; }
.product-grid .card-side b { font-size: var(--fs-md); font-weight: 700; }
.product-grid .card-side span { font-size: var(--fs-xs); color: var(--muted); }
.product-grid .card-actions { flex-direction: column; align-items: stretch; gap: var(--sp-2); width: 220px; margin: 0 0 0 var(--sp-4); }

.product-grid .compare-toggle { min-height: var(--sp-11); padding: 0 var(--sp-3); font-size: var(--fs-sm); }
@media (max-width: 639px) {
  .product-grid .product-card { grid-template-columns: minmax(0, 1fr); }
  .product-grid .card-link { flex-direction: column; gap: 0; }
  .product-grid .card-body { padding-bottom: var(--sp-2); }
  .product-grid .card-side { flex-direction: row; align-items: baseline; gap: var(--sp-2); padding: 0 0 var(--sp-2); }
  .product-grid .card-actions { flex-direction: column; align-items: stretch; gap: var(--sp-2); width: 100%; margin: 0 0 var(--sp-4); }
}
/* 4단계 비교: 같은 줄은 연하게, 다른 줄은 옅은 노랑 + '다름' 표시 */
.compare-only-diff { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-sm); margin-left: auto; margin-right: var(--sp-3); min-height: 44px; }
.compare-table tr.row-same td { color: var(--muted); }
.compare-table tr.row-diff td, .compare-table tr.row-diff th { background: var(--yellow-bg); }
.compare-table tr.row-diff th::after { content: "다름"; display: inline-block; margin-left: var(--sp-1h); padding: 0 var(--sp-1); font-size: var(--fs-xs); font-weight: 500; color: var(--yellow-text); border: 1px solid currentColor; border-radius: var(--radius-sm); }
.compare-table.only-diff tr.row-same { display: none; }
/* 4단계 상세: 넓은 화면에서 왼쪽 라벨 사실, 오른쪽 균·판매처 */
.detail-summary { margin-bottom: var(--sp-3); }
.detail-report { margin-top: var(--sp-4); }
@media (min-width: 1100px) {
  #product-dialog { width: 960px; }
  .detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--sp-8); align-items: start; }
  .detail-aside { position: sticky; top: var(--sp-4); padding: var(--sp-5); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
  .detail-aside .detail-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
}
/* 5단계: 다른 페이지 첫머리도 가운데 정렬(KT 느낌) */
.intro { text-align: center; padding-top: var(--sp-14); }
.intro h1 { font-weight: 600; letter-spacing: -.05em; }
.guide-art { display: block; width: min(560px, 100%); height: auto; margin: var(--sp-6) auto 0; }
.guide-art .art-line { stroke: var(--art); }
.guide-art .art-mint { stroke: var(--mint); }
/* 유산균 이름 나누기: 속 → 종 → 균주번호가 차례로 밝아진다 */
.strain-anim { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) var(--sp-4); padding: var(--sp-5) var(--sp-4); margin: var(--sp-4) 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-size: var(--fs-md); }
.sa-part { opacity: 1; display: inline-flex; flex-direction: column; align-items: center; gap: var(--sp-1); padding-bottom: var(--sp-1); border-bottom: 2px solid var(--mint); }
.sa-part i { font-style: italic; font-weight: 600; }
.sa-3 i { font-style: normal; }
.sa-part b { font-size: var(--fs-xs); font-weight: 600; color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .guide-art .bug { transform-box: fill-box; transform-origin: center; animation: bug-drift 6s ease-in-out infinite alternate; }
  .guide-art .b2, .guide-art .b5, .guide-art .b8 { animation-duration: 7.5s; animation-delay: -2s; }
  .guide-art .b3, .guide-art .b6, .guide-art .b9 { animation-duration: 5s; animation-delay: -1s; animation-direction: alternate-reverse; }
  .guide-art .b4, .guide-art .b7, .guide-art .b10 { animation-duration: 8s; animation-delay: -3s; }
  .sa-part { animation: sa-step 6s ease-in-out infinite; border-bottom-color: var(--line); }
  .sa-2 { animation-delay: 2s; }
  .sa-3 { animation-delay: 4s; }
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
  .reveal.in { opacity: 1; transform: none; }
}
@keyframes bug-drift { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: 10px -6px; rotate: 8deg; } 100% { translate: -6px 4px; rotate: -6deg; } }
@keyframes sa-step { 0%, 8%, 60%, 100% { background: var(--bg); border-bottom-color: var(--line); } 15%, 45% { background: var(--soft); border-bottom-color: var(--mint); } }
.intro + .concern-links .chips, .intro + nav .chips { justify-content: center; }
/* 유산균이란? 9단계 스크롤 장면 */
.biotic-scene { height: calc(100vh - var(--header-h, 0px)); height: calc(100svh - var(--header-h, 0px)); display: grid; grid-template-rows: auto 1fr; align-items: center; padding: var(--sp-4) 0; background: var(--bg); }
/* 단계 글을 한 칸에 겹쳐 두어, 가장 긴 글 높이만큼 자리를 잡는다(그림과 안 겹치게) */
.scene-caption { display: grid; text-align: center; }
.scene-caption .step { grid-area: 1 / 1; }
.scene-caption b { display: block; font-size: var(--fs-lg); letter-spacing: -.03em; margin-bottom: var(--sp-1); }
.scene-caption span { color: var(--muted); font-size: var(--fs-sm); }
.scene-caption em { font-style: normal; color: var(--accent); font-weight: 700; }
.scene-stage { display: block; width: 100%; max-height: 66vh; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.scene-piece { opacity: 0; }
.scene-scfa { fill: var(--scene-food); }
.scene-sensor { fill: none; stroke: var(--scene-mint); stroke-width: 5; stroke-linecap: round; }
.scene-gas { fill: none; stroke: var(--scene-gray); stroke-width: 3; }
.scene-cell { fill: var(--scene-light); }
/* 장면 안 글자·범례(그림 색은 고정이라 밝은 테두리로 읽히게) */
.scene-tint { fill: url(#sc-tint-fade); }
.crowd-rod { fill: #c9c7bf; }
.crowd-cocci { fill: #a7bdb4; }
.scene-label { font-size: 30px; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: #ffffff; stroke-width: 7px; stroke-linejoin: round; }
.scene-label-acid { fill: #0f6b4f; }
.scene-label-scfa { fill: #9a5a06; }
.scene-badge rect { fill: #ffffff; stroke: #d6e7df; stroke-width: 2px; }
.scene-badge text { font-size: 28px; font-weight: 700; fill: #22312b; }
@media (max-width: 600px) {
  .scene-label { font-size: 40px; }
  .scene-badge text { font-size: 38px; }
}
.postbiotic-more { margin-top: var(--sp-8); }
.postbiotic-more ul { padding-left: var(--sp-5); }
.postbiotic-more li { margin-bottom: var(--sp-2); }
.postbiotic-more li strong { margin-right: var(--sp-2); }
/* 유산균이란? 비교 표 */
.postbiotic-more h3 { margin-top: var(--sp-8); }
.table-scroll { overflow-x: auto; margin: var(--sp-3) 0 var(--sp-4); }
.guide-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-sm); }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line); }
.guide-table thead th { font-weight: 700; background: var(--chip); }
.guide-table thead th small { font-weight: 500; color: var(--muted); }
.guide-table tbody th { width: 22%; font-weight: 600; color: var(--muted); }
.guide-analogy { padding: var(--sp-3) var(--sp-4); background: var(--soft); border-radius: var(--radius); }
.guide-analogy strong { margin-right: var(--sp-2); }
.guide-analogy em { font-style: normal; font-weight: 700; color: var(--accent); }
/* 장면 이동 버튼의 기존 색 */
.biotic-scene { --mint: #2f9a87; }
@media (prefers-color-scheme: dark) { .biotic-scene { --mint: #6fd0bf; } }
.scene-caption .num { display: inline-block; font-size: var(--fs-xs); font-weight: 700; font-style: normal; color: var(--accent); background: var(--soft); border-radius: var(--radius); padding: 1px var(--sp-3); margin-bottom: var(--sp-1h); }
.c-gray { color: var(--gray); } .c-mint { color: var(--mint); } .c-food { color: var(--food); } .c-heat { color: var(--heat); } .c-cell { color: var(--cell); }
.sr-svg { position: absolute; width: 0; height: 0; overflow: hidden; }
.scene-caption .step { opacity: 0; } .scene-caption .step:first-child { opacity: 1; }
.biotic-scene .scene-stage { align-self: start; margin-top: var(--sp-2); }
/* 휴대폰: 장면을 화면 끝까지 넓힌다 */
@media (max-width: 600px) { .biotic-scene .scene-stage { width: calc(100% + 2 * var(--sp-4)); max-width: none; max-height: none; margin-inline: calc(-1 * var(--sp-4)); border-inline: 0; border-radius: 0; } }
/* 장면 아래 단계 이동 버튼 */
.biotic-scene { grid-template-rows: auto 1fr auto; }
.scene-controls { display: flex; justify-content: center; gap: var(--sp-2); padding-bottom: var(--sp-2); }
.scene-controls button { min-height: var(--sp-11); padding: 0 var(--sp-4); border-radius: var(--radius); font-size: var(--fs-sm); background: var(--surface); }
.scene-controls .scene-skip { border-color: var(--mint); color: var(--accent); font-weight: 600; }
.scene-controls { flex-wrap: wrap; }
@media (max-width: 600px) { .scene-controls { gap: var(--sp-1h); } .scene-controls button { min-height: var(--sp-11); padding: 0 var(--sp-3); font-size: var(--fs-xs); } }
@media (max-width: 600px) {
  .biotic-scene .scene-stage { max-height: none; }
  /* 장면은 남은 칸 안에서만 그려 버튼이 그림을 가리지 않게 */
  .biotic-scene .scene-stage { align-self: stretch; height: 100%; min-height: 0; margin-top: 0; }
}
/* 2·3번 아이콘 그림(움직임 없음) */
.icon-figure { margin: var(--sp-6) 0; --gray: #8f9a95; --mint: #2f9a87; --food: #c99a2e; --heat: #d0783c; --cell: #d98f7a; }
@media (prefers-color-scheme: dark) { .icon-figure { --gray: #7f8d87; --mint: #6fd0bf; --food: #e2c26a; --heat: #e89a62; --cell: #e8b4a4; } }
.icon-figure figcaption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.fig-icon { display: inline-block; vertical-align: middle; }
.micro-box { border: 2px solid var(--line); border-radius: var(--radius); padding: var(--sp-4); background: var(--surface); }
.micro-name { margin: 0 0 var(--sp-3); display: flex; flex-wrap: wrap; gap: 0 var(--sp-2); align-items: baseline; }
.micro-name b { font-size: var(--fs-md); }
.micro-name span { font-size: var(--fs-xs); color: var(--muted); }
.micro-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-2); }
.micro-cell { border-radius: var(--radius); background: var(--bg); padding: var(--sp-3); }
.micro-label { margin: 0 0 var(--sp-1h); font-size: var(--fs-sm); font-weight: 700; }
.micro-label small { display: block; font-weight: 500; color: var(--muted); font-size: var(--fs-xs); }
.micro-icons { display: flex; flex-wrap: wrap; gap: var(--sp-1); align-items: center; }
.micro-lacto { margin-top: var(--sp-3); padding: var(--sp-2) var(--sp-3); border: 2px solid var(--mint); border-radius: var(--radius); background: var(--soft); }
.biotic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.biotic-card { border-radius: var(--radius); padding: var(--sp-4) var(--sp-3); text-align: center; border: 1px solid var(--line); background: var(--surface); }
.biotic-icons { min-height: 48px; display: flex; justify-content: center; align-items: center; gap: var(--sp-1); margin-bottom: var(--sp-2); }
.biotic-plus { font-weight: 700; color: var(--muted); }
.biotic-title { margin: 0; font-weight: 700; font-size: var(--fs-sm); }
.biotic-sub { margin: 2px 0 var(--sp-2); font-size: var(--fs-xs); color: var(--muted); }
.biotic-note { margin: 0; font-size: var(--fs-xs); padding-top: var(--sp-2); border-top: 1px dashed var(--line); }
.tone-mint { background: color-mix(in srgb, var(--mint) 8%, var(--surface)); }
.tone-food { background: color-mix(in srgb, var(--food) 10%, var(--surface)); }
.tone-syn { background: color-mix(in srgb, var(--mint) 6%, color-mix(in srgb, var(--food) 7%, var(--surface))); }
.tone-heat { background: color-mix(in srgb, var(--heat) 8%, var(--surface)); }
@media (max-width: 600px) { .micro-grid { grid-template-columns: 1fr 1fr; } .micro-bacteria { grid-column: 1 / -1; } .biotic-grid { grid-template-columns: 1fr 1fr; } }
/* 첫 화면 그림(사용자 제공 3D 일러스트) */
.hero-img { display: block; width: min(900px, 100%); height: auto; margin: var(--sp-6) auto 0; position: relative; z-index: 0; }
.finder-panel { z-index: 1; }
h1 { text-wrap: balance; }
/* 제품 사진(판매처 사진) */
.card-thumb { width: 88px; height: 88px; flex-shrink: 0; object-fit: contain; border-radius: var(--radius); background: var(--photo-bg); border: 1px solid var(--line); }
.product-card > .card-link > .card-thumb { display: none; }
.product-grid .card-link > .card-thumb { display: block; margin-top: var(--sp-5); }
/* 추천 결과: 사진은 글 오른쪽 */
.recommendation-grid .card-link { display: flex; align-items: flex-start; gap: var(--sp-3); }
.recommendation-grid .card-body { flex: 1; min-width: 0; }
.recommendation-grid .card-link > .card-thumb { display: block; order: 2; margin: var(--sp-5) var(--sp-5) 0 0; }
@media (max-width: 639px) { .recommendation-grid .card-link > .card-thumb { width: 64px; height: 64px; } }
.detail-photo { margin: 0 0 var(--sp-4); }
.detail-photo img { display: block; width: 160px; height: 160px; object-fit: contain; border-radius: var(--radius); background: var(--photo-bg); border: 1px solid var(--line); }
.detail-photo figcaption { margin-top: var(--sp-1); font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 639px) { .product-grid .card-link { flex-direction: row; flex-wrap: wrap; gap: var(--sp-3); } .product-grid .card-link > .card-thumb { width: 64px; height: 64px; margin-top: var(--sp-5); } .product-grid .card-body { flex: 1 1 200px; } .product-grid .card-side { width: 100%; } }
/* 홈 맨 위: 이 사이트를 만든 이유 배너(예전 팝업) */
.why-banner { display: grid; gap: var(--sp-1); margin-top: var(--sp-6); padding: var(--sp-5) var(--sp-6); border-radius: var(--radius); background: var(--soft); color: var(--text); text-decoration: none; text-align: center; }
.why-banner .why-label { font-size: var(--fs-sm); color: var(--muted); }
.why-banner strong { font-size: var(--fs-md); font-weight: 700; line-height: 1.5; }
.why-banner em { font-style: normal; color: var(--accent); }
.why-banner .why-more { font-size: var(--fs-sm); color: var(--accent); }
.why-banner:hover .why-more { text-decoration: underline; text-underline-offset: 4px; }

/* 정가: 카드 오른쪽 균수 아래 */
.card-side .card-price { display: block; margin-top: var(--sp-1); font-size: var(--fs-sm); color: var(--text); }
.product-grid .card-side .card-price { font-size: var(--fs-sm); color: var(--text); }
/* 유산균이란? 맨 위 캐릭터: 인스타툰 '처돌이'(2026-11-19 사용자 결정) */
.mascot { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.mascot-art { display: block; width: 120px; height: auto; }
.mascot-shadow { display: block; width: 80px; height: 10px; margin-top: calc(-1 * var(--sp-2)); border-radius: 50%; background: var(--line); }
.mascot-bubble { margin: var(--sp-2) 0 0; padding: var(--sp-2) var(--sp-4); border-radius: var(--radius); background: var(--soft); color: var(--text); font-size: var(--fs-sm); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .mascot-art { transform-origin: 50% 100%; animation: mascot-bounce 1.6s ease-in-out infinite; }
  .mascot-shadow { animation: mascot-shadow 1.6s ease-in-out infinite; }
  .mascot-bubble { animation: mascot-bubble 1.6s ease-in-out infinite; }
}
@keyframes mascot-bounce { 0%, 100% { transform: translateY(0) rotate(0deg); } 25% { transform: translateY(-10px) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(0deg); } 75% { transform: translateY(-10px) rotate(3deg); } }
@keyframes mascot-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.75); opacity: .55; } }
@keyframes mascot-bubble { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
/* 유산균이란? 본문: 핵심 한 줄 + 접어 둔 자세히 보기 */
.guide-lead { font-size: var(--fs-md); font-weight: 600; line-height: 1.6; }
.guide-more { margin-top: var(--sp-3); border-top: 1px solid var(--line); }
.guide-more > summary { display: flex; align-items: center; min-height: var(--sp-11); color: var(--accent); font-size: var(--fs-sm); font-weight: 600; list-style: none; cursor: pointer; }
.guide-more > summary::-webkit-details-marker { display: none; }
.guide-more > summary::after { content: "+"; margin-left: var(--sp-2); font-size: var(--fs-md); }
.guide-more[open] > summary::after { content: "−"; }
.guide-situation-list { display: grid; gap: var(--sp-2); margin: var(--sp-4) 0; }
.guide-situation { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.guide-situation > summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--sp-11); padding: 0 var(--sp-4); font-weight: 600; list-style: none; cursor: pointer; }
.guide-situation > summary::-webkit-details-marker { display: none; }
.guide-situation > summary::after { content: "+"; color: var(--accent); font-size: var(--fs-md); }
.guide-situation[open] > summary::after { content: "−"; }
.guide-situation > p { margin: 0; padding: 0 var(--sp-4) var(--sp-4); }
@media (min-width: 640px) { .guide-situation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* 유산균이란? 마이크로바이옴 그림: 겹친 동그라미(2026-11-19 사용자 요청: 더 직관적으로) */
.venn-outer { border-radius: 40px; padding: var(--sp-5) var(--sp-4); background: color-mix(in srgb, var(--gray) 10%, var(--surface)); border: 2px solid color-mix(in srgb, var(--gray) 35%, var(--surface)); }
.venn-title { margin: 0 0 var(--sp-4); text-align: center; font-size: var(--fs-lg); font-weight: 700; }
.venn-title small { display: block; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); }
.venn-row { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); }
.venn-bacteria { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(230px, 58vw); aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--gray) 22%, var(--surface)); }
.venn-lacto { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 62%; aspect-ratio: 1; margin-top: var(--sp-1); border-radius: 50%; background: var(--mint); color: #ffffff; }
.venn-lacto .venn-label { color: #ffffff; font-size: var(--fs-md); }
.venn-lacto .fig-icon { filter: brightness(0) invert(1); }
.venn-side { display: flex; flex-direction: column; gap: var(--sp-3); }
.venn-small { display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(110px, 26vw); aspect-ratio: 1; border-radius: 50%; }
.venn-fungi { background: color-mix(in srgb, var(--food) 22%, var(--surface)); }
.venn-virus { background: color-mix(in srgb, var(--cell) 22%, var(--surface)); }
.venn-label { margin: 0; font-size: var(--fs-sm); font-weight: 700; text-align: center; line-height: 1.3; }
.venn-icons { display: flex; justify-content: center; gap: var(--sp-1); }
.fig-big { width: 40px; height: 40px; }
/* 바이오틱스 네 칸: 그림·글자 크게 */
.biotic-static .biotic-card { padding: var(--sp-5) var(--sp-3); }
.biotic-static .biotic-icons { min-height: 64px; }
.biotic-static .biotic-title { font-size: var(--fs-md); }
.biotic-static .biotic-sub { margin: var(--sp-1) 0 0; font-size: var(--fs-base); font-weight: 600; color: var(--text); }
.biotic-static .biotic-plus { font-size: var(--fs-lg); }
.biotic-static .fig-big { width: 52px; height: 52px; }
.venn-small .fig-icon, .venn-bacteria > .venn-icons .fig-icon { width: 36px; height: 36px; }
