/* =========================================================
   ATL홈기어 — "따뜻한 집 · 가전 매거진" 스타일
   따뜻한 미색 바탕, 짙은 웜 차콜 글자, 테라코타(코랄) 강조 + 세이지 보조,
   넉넉한 여백, 둥근 카드와 부드러운 그림자, 고운바탕 제목 + 프리텐다드 본문,
   밝은 머리글과 알약 모양 카테고리 탭
   ========================================================= */
:root {
  --bg: #fbf7f1;
  --surface: #ffffff;
  --surface-2: #f5efe6;
  --surface-3: #efe6da;
  --zebra: #fcf9f5;
  --text: #2b2420;
  --muted: #6b5f57;
  --line: #ece2d6;
  --line-strong: #dccdbc;
  --track: #f1e7db;
  --accent: #a8462b;          /* 글자·링크 (흰 바탕 5.9:1) */
  --accent-fill: #b9512f;     /* 버튼·막대 채우기 (흰 글자 4.9:1) */
  --accent-fill-2: #e0866a;   /* 막대 끝 색 */
  --accent-hover: #9a3f26;
  --accent-soft: #fbe8df;
  --on-accent: #ffffff;
  --sage: #4d6b52;
  --sage-fill: #8fb08a;
  --sage-soft: #e8f0e5;
  --butter: #f6cf7e;
  --butter-soft: #fcefd3;
  --butter-ink: #7a4a0e;
  --ink-bg: #2b2420;          /* 진한 배지 바탕 */
  --ink-fg: #f3e9df;
  --focus: #a8462b;
  --good: #3e6b47;
  --good-bg: #e6f0e3;
  --bad: #a83a2b;
  --bad-bg: #fbe6e1;
  --mid: #7a4a0e;
  --mid-bg: #fcefd3;
  --wait: #6b5f57;
  --wait-bg: #f1ebe3;
  --chart-line: #b9512f;
  --chart-area: rgba(185, 81, 47, 0.10);
  --min-line: #4d6b52;
  --sk1-fg: #3e5a43; --sk1-bg: #e3ece0; --sk1-bd: #cddfc8;
  --sk2-fg: #7a4a0e; --sk2-bg: #fcefd3; --sk2-bd: #f1dcae;
  --sk3-fg: #a8462b; --sk3-bg: #fbe8df; --sk3-bd: #f2cfc0;
  --sk4-fg: #f6cf7e; --sk4-bg: #2b2420; --sk4-bd: #2b2420;
  --lv4-fg: #8c2f3f; --lv4-bg: #f8e3e6;
  --shadow-sm: 0 1px 2px rgba(74, 46, 24, .05), 0 3px 10px rgba(74, 46, 24, .05);
  --shadow: 0 2px 4px rgba(74, 46, 24, .05), 0 12px 32px rgba(74, 46, 24, .09);
  --r: 18px;
  --r-sm: 12px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Gowun Batang", "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", Georgia, serif;
  --mono: var(--sans);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1815; --surface: #262019; --surface-2: #2e2720; --surface-3: #372f27; --zebra: #29231c;
    --text: #f3ece4; --muted: #bcb0a5; --line: #3a322a; --line-strong: #4a4036; --track: #3a322a;
    --accent: #f0937a; --accent-fill: #e9876c; --accent-fill-2: #f2b39c; --accent-hover: #f2a089; --accent-soft: #3a2620; --on-accent: #1c1815;
    --sage: #a9c7a2; --sage-fill: #7fa279; --sage-soft: #26302a; --butter: #f2c56f; --butter-soft: #3a3020; --butter-ink: #f2c56f;
    --ink-bg: #3a3129; --ink-fg: #f3ece4; --focus: #f0937a;
    --good: #a9c7a2; --good-bg: #26302a; --bad: #f29a8a; --bad-bg: #3d2420; --mid: #f2c56f; --mid-bg: #3a3020; --wait: #bcb0a5; --wait-bg: #322b24;
    --chart-line: #f0937a; --chart-area: rgba(240, 147, 122, 0.14); --min-line: #a9c7a2;
    --sk1-fg: #b9d6b2; --sk1-bg: #26302a; --sk1-bd: #3a4a3c;
    --sk2-fg: #f2c56f; --sk2-bg: #3a3020; --sk2-bd: #554628;
    --sk3-fg: #f5a68f; --sk3-bg: #3a2620; --sk3-bd: #5a382c;
    --sk4-fg: #1c1815; --sk4-bg: #f2c56f; --sk4-bd: #f2c56f;
    --lv4-fg: #f3a3ae; --lv4-bg: #3d2228;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 12px 32px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1c1815; --surface: #262019; --surface-2: #2e2720; --surface-3: #372f27; --zebra: #29231c;
  --text: #f3ece4; --muted: #bcb0a5; --line: #3a322a; --line-strong: #4a4036; --track: #3a322a;
  --accent: #f0937a; --accent-fill: #e9876c; --accent-fill-2: #f2b39c; --accent-hover: #f2a089; --accent-soft: #3a2620; --on-accent: #1c1815;
  --sage: #a9c7a2; --sage-fill: #7fa279; --sage-soft: #26302a; --butter: #f2c56f; --butter-soft: #3a3020; --butter-ink: #f2c56f;
  --ink-bg: #3a3129; --ink-fg: #f3ece4; --focus: #f0937a;
  --good: #a9c7a2; --good-bg: #26302a; --bad: #f29a8a; --bad-bg: #3d2420; --mid: #f2c56f; --mid-bg: #3a3020; --wait: #bcb0a5; --wait-bg: #322b24;
  --chart-line: #f0937a; --chart-area: rgba(240, 147, 122, 0.14); --min-line: #a9c7a2;
  --sk1-fg: #b9d6b2; --sk1-bg: #26302a; --sk1-bd: #3a4a3c;
  --sk2-fg: #f2c56f; --sk2-bg: #3a3020; --sk2-bd: #554628;
  --sk3-fg: #f5a68f; --sk3-bg: #3a2620; --sk3-bd: #5a382c;
  --sk4-fg: #1c1815; --sk4-bg: #f2c56f; --sk4-bd: #f2c56f;
  --lv4-fg: #f3a3ae; --lv4-bg: #3d2228;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 12px 32px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

/* ---------- 기본 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "tnum" 1;
}
a { color: inherit; }
:where(main) a:not([class]) { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; }
:where(img[width][height]) { height: auto; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; letter-spacing: -0.02em; margin: 18px 0 10px; }
h2 { font-size: 22px; line-height: 1.4; letter-spacing: -0.01em; margin: 44px 0 14px; }
h3 { letter-spacing: -0.01em; }
h1 small { font-family: var(--sans); font-size: .48em; color: var(--muted); font-weight: 600; margin-left: 8px; letter-spacing: 0; }
h2 small, .label small { font-family: var(--sans); color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: 0; }
h2 a { text-decoration: none; }
.demo { margin: 0; padding: 6px 16px; font-size: 12px; text-align: center; background: var(--butter-soft); color: var(--butter-ink); font-weight: 700; }
.note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }
.updated { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.updated::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-fill); margin-right: 7px; vertical-align: middle; }
.crumb { font-size: 13px; color: var(--muted); margin-top: 22px; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--accent); text-decoration: underline; }
.more-link, .more a { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14px; }
.more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty { color: var(--muted); padding: 30px 0; }
.li { flex: 0 0 auto; }

/* ---------- 머리글: 고지 띠 + 밝은 상단 바 + 알약 카테고리 탭 ---------- */
.util { background: var(--surface-2); color: var(--muted); font-size: 12px; border-bottom: 1px solid var(--line); }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 30px; }
.util-in span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.util a { color: var(--muted); text-decoration: none; font-weight: 600; }
.util a:hover { color: var(--accent); }
.hd { background: var(--bg); color: var(--text); }
.hd-in { display: flex; align-items: center; gap: 22px; min-height: 76px; position: relative; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; color: var(--text); }
.logo-emb { width: 40px; height: 40px; flex: 0 0 40px; display: block; filter: drop-shadow(0 3px 6px rgba(185, 81, 47, .22)); }
.logo-emb svg { width: 100%; height: 100%; display: block; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.logo-name b { color: var(--accent); margin-right: 2px; letter-spacing: 0.01em; font-family: var(--sans); font-weight: 800; }
.logo-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--muted); margin-top: 5px; }
.search { flex: 1; max-width: 520px; margin-left: auto; position: relative; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search-i { display: grid; place-items: center; padding-left: 16px; color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 10px; font: inherit; font-size: 14px; color: var(--text); outline: none; }
.search input::placeholder { color: var(--muted); opacity: .85; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { flex: 0 0 auto; border: 0; margin: 4px; padding: 7px 18px; border-radius: 999px; background: var(--accent-fill); color: var(--on-accent); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.search button:hover { background: var(--accent-hover); }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); z-index: 30; overflow: hidden; }
.sg { display: flex; align-items: center; gap: 10px; padding: 10px 16px; text-decoration: none; font-size: 14px; }
.sg:hover, .sg:focus-visible { background: var(--surface-2); }
.sg img { width: 34px; height: 34px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.sg-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-c { font-size: 12px; color: var(--muted); flex: 0 0 auto; }
.sg .sg-c:first-child { color: var(--accent); font-weight: 700; }
.sg.all { justify-content: center; color: var(--accent); font-weight: 700; border-top: 1px solid var(--line); }
.sg-empty { margin: 0; padding: 14px 16px; color: var(--muted); font-size: 14px; }
.hd-icons { display: flex; gap: 6px; flex: 0 0 auto; position: relative; }
.hd-ico { display: flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 1px solid transparent; border-radius: 999px; cursor: pointer; text-decoration: none; padding: 8px 12px; position: relative; }
.hd-ico:hover { color: var(--accent); background: var(--surface); border-color: var(--line); }
.hd-ico-i { display: grid; place-items: center; line-height: 1; }
.hd-ico b { position: absolute; top: -3px; right: -2px; background: var(--accent-fill); color: var(--on-accent); font-size: 10px; border-radius: 99px; padding: 0 5px; line-height: 1.6; }
.hd-ico b:empty { display: none; }
.recent-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 290px; max-height: 420px; overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); z-index: 30; padding: 6px 0; }
.recent-panel a { display: flex; align-items: center; gap: 10px; padding: 8px 14px; text-decoration: none; font-size: 13px; }
.recent-panel a:hover { background: var(--surface-2); }
.recent-panel img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.rp-h { margin: 6px 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.gnb { background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.gnb-in { display: flex; align-items: stretch; height: 58px; }
.quick { display: flex; align-items: stretch; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.qitem { position: relative; display: flex; align-items: center; }
.qitem > a { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px 0 12px; white-space: nowrap; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; transition: color .15s, border-color .15s, background .15s; }
.qitem > a .li { color: var(--accent); }
.qitem > a small { font-size: 11px; color: var(--muted); background: var(--surface-2); border-radius: 99px; padding: 0 7px; line-height: 1.7; }
.qitem > a:hover, .qitem:focus-within > a { border-color: var(--accent); color: var(--accent); }
.qitem.on > a { background: var(--ink-bg); border-color: var(--ink-bg); color: var(--ink-fg); }
.qitem.on > a .li { color: var(--butter); }
.qitem.on > a small { background: rgba(255, 255, 255, .14); color: var(--ink-fg); }
.qsub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 8px 0; z-index: 40; }
.qitem:hover .qsub, .qitem:focus-within .qsub { display: block; }
.qsub a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.qsub a:hover { background: var(--surface-2); color: var(--accent); }
.qsub-all { border-top: 1px solid var(--line); color: var(--muted) !important; font-weight: 500 !important; font-size: 13px !important; }
.qsub-t { display: flex; flex-direction: column; line-height: 1.3; }
.qsub-t b { font-size: 14px; }
.qsub-t small { font-size: 12px; color: var(--muted); font-weight: 500; }
.qg { position: relative; }
.qarr { margin-left: auto; font-style: normal; color: var(--muted); padding-left: 10px; }
.qsub2 { display: none; position: absolute; top: -8px; left: 100%; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow); padding: 8px 0; z-index: 41; }
.qg:hover > .qsub2, .qg:focus-within > .qsub2 { display: block; }
.qg:hover > a { background: var(--surface-2); color: var(--accent); }
.qsub2-h { margin: 0; padding: 6px 16px 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
@media (min-width: 821px) { .quick { overflow: visible; } }
@media (max-width: 820px) {
  .hd-in { flex-wrap: wrap; gap: 10px 10px; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .hd-icons { margin-left: auto; }
  .util-in nav { display: none; }
  .qsub { display: none !important; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .util { font-size: 11px; }
  .util-in span { white-space: normal; overflow: visible; line-height: 1.45; padding: 5px 0; }
  .logo-emb { width: 34px; height: 34px; flex-basis: 34px; }
  .logo-name { font-size: 19px; }
  .logo-sub { display: none; }
  .hd-ico { padding: 8px; }
  .hd-ico-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hd-ico b { top: -2px; right: -2px; }
  .search input { padding: 10px 8px; }
  .gnb-in { height: 52px; }
  .quick { gap: 6px; }
  .qitem > a { height: 34px; padding: 0 12px 0 10px; font-size: 13px; gap: 6px; }
}

/* ---------- 바닥글 ---------- */
.foot { margin-top: 80px; background: var(--surface-2); color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; padding-top: 36px; padding-bottom: 44px; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand .logo-emb { width: 34px; height: 34px; flex-basis: 34px; filter: none; }
.foot-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.foot-brand b { color: var(--text); font-family: var(--serif); font-size: 17px; }
.foot-brand small { font-size: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 18px; }
.foot-nav a { color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; }
.foot-nav a:hover { color: var(--accent); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--line-strong); padding-top: 18px; line-height: 1.75; }
.foot-legal p { margin: 0 0 4px; }
.foot .build { margin-top: 8px; font-size: 11px; opacity: .85; }
.foot .family a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.foot .family a:hover { color: var(--accent); }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } .foot-nav { justify-content: flex-start; } }

/* ---------- 공통 배지·태그 ---------- */
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; line-height: 1.55; }
.badge.good { color: var(--accent); background: var(--accent-soft); }
.badge.bad { color: var(--bad); background: var(--bad-bg); }
.badge.mid { color: var(--muted); background: var(--surface-2); font-weight: 600; }
.badge.wait { color: var(--wait); background: var(--wait-bg); }
.verdict.good { color: var(--good); background: var(--good-bg); }
.verdict.bad { color: var(--bad); background: var(--bad-bg); }
.verdict.mid { color: var(--mid); background: var(--mid-bg); }
.verdict.wait { color: var(--wait); background: var(--wait-bg); }
.down { color: var(--good); }
.up { color: var(--bad); }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; line-height: 1.55; }
.tag.rocket { color: #fff; background: #2f5f9e; }
.tag.score { color: var(--accent); background: var(--accent-soft); }
.tag.rank { color: var(--butter-ink); background: var(--butter-soft); }
.tag.none { background: var(--wait-bg); color: var(--muted); }
.tag.unisex { background: var(--sage-soft); color: var(--sage); }
.tag.warn { display: inline-block; background: var(--butter-soft); color: var(--butter-ink); margin: 2px 0; white-space: normal; }
.gender { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; color: #fff; background: #6b5f57; }
.gender.g-남성 { background: #2f5f9e; }
.gender.g-여성 { background: #a3385f; }

/* 단계 알약: 가성비·보급형·중급·프리미엄 */
.skill { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.5; border: 1px solid transparent; text-decoration: none; }
.sk-1 { color: var(--sk1-fg); background: var(--sk1-bg); border-color: var(--sk1-bd); }
.sk-2 { color: var(--sk2-fg); background: var(--sk2-bg); border-color: var(--sk2-bd); }
.sk-3 { color: var(--sk3-fg); background: var(--sk3-bg); border-color: var(--sk3-bd); }
.sk-4 { color: var(--sk4-fg); background: var(--sk4-bg); border-color: var(--sk4-bd); }
.sk-dist { background: var(--butter-soft); color: var(--butter-ink); }
/* 가격 단계 */
.lvl { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.lvl i { font-style: normal; font-size: 11px; opacity: .8; }
.lvl-0 { color: var(--muted); background: var(--wait-bg); }
.lvl-1 { color: var(--sk1-fg); background: var(--sk1-bg); }
.lvl-2 { color: var(--sk2-fg); background: var(--sk2-bg); }
.lvl-3 { color: var(--sk3-fg); background: var(--sk3-bg); }
.lvl-4 { color: var(--lv4-fg); background: var(--lv4-bg); }
.lvl-link { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; }
.lvl-link small { font-size: 11px; color: var(--accent); font-weight: 700; }
.lvl-link:hover .lvl { box-shadow: 0 0 0 2px currentColor; }
.tierline { display: inline-flex; flex-wrap: wrap; gap: 5px; justify-content: center; align-items: center; }

/* 점수 막대 (0~5): 둥근 알약 */
.sbar { display: inline-flex; align-items: center; gap: 7px; vertical-align: middle; }
.sbar-t { display: inline-block; width: 68px; height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; flex: 0 0 auto; }
.sbar-t i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-fill), var(--accent-fill-2)); border-radius: 999px; }
.sbar b { font-size: 12.5px; font-weight: 700; min-width: 1ch; }
/* 종합 점수 배지 */
.sbadge { display: inline-flex; align-items: baseline; gap: 2px; padding: 4px 11px; border-radius: 999px; background: var(--ink-bg); color: var(--ink-fg); line-height: 1.2; white-space: nowrap; box-shadow: var(--shadow-sm); }
.sbadge em { font-style: normal; font-size: 11px; font-weight: 600; margin-right: 5px; opacity: .85; }
.sbadge b { font-size: 15px; font-weight: 800; color: var(--butter); }
.sbadge small { font-size: 11px; opacity: .85; }
.sbadge.md b { font-size: 18px; }
.sbadge.lg { padding: 7px 14px; }
.sbadge.lg b { font-size: 22px; }
/* 주요 사양 칩 */
.schips { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; min-width: 0; }
.schips li { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 1.7; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); }
.schips em { font-style: normal; color: var(--muted); margin-right: 4px; }
/* 설치·관리 포인트 / 유지비 칩 */
.cchips { list-style: none; display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; min-width: 0; }
.cchips li { display: flex; align-items: flex-start; gap: 7px; padding: 6px 10px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; min-width: 0; }
.cchips li .li { margin-top: 1px; }
.cchips li > span { min-width: 0; overflow-wrap: anywhere; }
.cchips em { font-style: normal; font-weight: 800; margin-right: 6px; }
.cc-care { background: var(--sage-soft); color: var(--sk1-fg); }
.cc-cost { background: var(--butter-soft); color: var(--butter-ink); }
.pick .cchips { flex-direction: row; flex-wrap: wrap; margin: -4px 0 14px; }
/* 상품 페이지: 설치·관리 / 유지비 상자 */
.carebox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.carebox > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); }
.carebox > div > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.5; }
.carebox b { font-size: 13px; }
.cb-care { background: var(--sage-soft); color: var(--sk1-fg); }
.cb-cost { background: var(--butter-soft); color: var(--butter-ink); }
.cb-i { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; background: var(--surface); }
.carebox > div:only-child { grid-column: 1 / -1; }
@media (max-width: 520px) { .carebox { grid-template-columns: 1fr; } }
/* 판매처 링크 준비 중: 의도된 상태로 보이게 (점선·빈 상자 대신 시계 아이콘과 차분한 세이지 톤) */
.pending-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--sk1-fg); background: var(--sage-soft); border-radius: 999px; padding: 4px 11px 4px 9px; white-space: nowrap; line-height: 1.3; }
.linked { font-size: 13px; color: var(--muted); margin: 14px 0 8px; }
.linked.pending { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--sage-soft); color: var(--sk1-fg); }
.linked.pending > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.linked.pending b { font-size: 14px; }
.linked.pending small { font-size: 12.5px; color: var(--text); opacity: .8; line-height: 1.5; }
.pend-i { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; background: var(--surface); }

/* 버튼 */
.btn { display: block; text-align: center; background: var(--accent-fill); color: var(--on-accent); font-weight: 700; font-size: 15px; padding: 13px 20px; border-radius: 999px; text-decoration: none; max-width: 360px; border: 1px solid transparent; box-shadow: 0 6px 16px rgba(185, 81, 47, .22); transition: background .15s, transform .15s; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn.sm { display: inline-block; padding: 7px 14px; font-size: 13px; max-width: none; box-shadow: none; }
.btn.xs { display: inline-block; margin-top: 6px; padding: 6px 10px; font-size: 12px; line-height: 1.3; max-width: 130px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.ext { background: var(--ink-bg); color: var(--ink-fg); box-shadow: none; }
.btn.ext:hover { opacity: .9; }

/* 카드 묶음 공통 */
.block { margin-top: 56px; }
.block-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.block-h h2 { margin: 0; font-size: 25px; }
.block-h span { font-size: 13.5px; color: var(--muted); }

/* ---------- 상품 사진이 없을 때: 카테고리 선 아이콘 ---------- */
.noimg, .ph { display: grid; place-items: center; color: var(--accent); background: radial-gradient(120% 90% at 20% 10%, var(--accent-soft) 0%, transparent 55%), radial-gradient(90% 80% at 90% 100%, var(--sage-soft) 0%, transparent 60%), var(--surface-2); border-radius: var(--r-sm); }
.noimg-i { display: grid; place-items: center; width: 72%; max-width: 104px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.ph { width: 100%; height: 100%; border-radius: 0; }
.ph .noimg-i { width: 46%; }
.noimg { width: 96px; height: 96px; flex: 0 0 auto; }
.noimg.sm { width: 64px; height: 64px; flex-basis: 64px; }
.noimg.xs { width: 40px; height: 40px; border-radius: 10px; display: inline-grid; vertical-align: middle; margin-right: 8px; }
.noimg.xs .noimg-i { width: 80%; }
.noimg.lg { width: 100%; height: auto; aspect-ratio: 1; background: transparent; }
.noimg.lg .noimg-i { width: 42%; max-width: 160px; }

/* ---------- 홈 ---------- */
.hhero { position: relative; margin-top: 22px; padding: 44px 44px 36px; border-radius: 32px; background: radial-gradient(60% 90% at 100% 0%, var(--accent-soft) 0%, transparent 60%), radial-gradient(50% 80% at 0% 100%, var(--sage-soft) 0%, transparent 65%), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.hhero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--butter) 0%, transparent 70%); opacity: .35; pointer-events: none; }
.hh-text { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; }
.hh-kicker { grid-column: 1 / -1; margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.hh-kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--accent-fill); }
.hhero h1 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; letter-spacing: -0.02em; max-width: 640px; }
.hhero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 62%, color-mix(in srgb, var(--butter) 55%, transparent) 62%); padding: 0 2px; }
.hh-sub { grid-column: 1; margin: 0; font-size: 13.5px; color: var(--muted); }
.hh-stats { grid-column: 2; grid-row: 2 / span 2; display: grid; grid-template-columns: repeat(2, auto); gap: 10px; margin: 0; }
.hh-stats div { padding: 10px 16px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); min-width: 104px; }
.hh-stats dt { font-size: 12px; color: var(--muted); white-space: nowrap; }
.hh-stats dd { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.2; }
/* 공간별로 찾기 */
.rooms { position: relative; z-index: 1; margin-top: 34px; }
.rooms-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.rooms-h h2 { margin: 0; font-size: 20px; }
.rooms-h span { font-size: 13px; color: var(--muted); }
.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.room { position: relative; padding: 20px 20px 18px; border-radius: 24px; background: var(--room-bg); border: 1px solid color-mix(in srgb, var(--room-fg) 14%, transparent); }
.room-living { --room-bg: var(--sage-soft); --room-fg: var(--sk1-fg); }
.room-kitchen { --room-bg: var(--accent-soft); --room-fg: var(--sk3-fg); }
.room-bedroom { --room-bg: var(--butter-soft); --room-fg: var(--butter-ink); }
.room-i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--surface); color: var(--room-fg); box-shadow: var(--shadow-sm); }
.room h3 { margin: 14px 0 2px; font-family: var(--serif); font-size: 21px; color: var(--text); }
.room p { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.room ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.room li > a, .room li > .off { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.room li > a .li { color: var(--room-fg); }
.room li > a small { font-size: 11px; color: var(--muted); }
.room li > a:hover { border-color: var(--room-fg); color: var(--room-fg); }
.room li > .off { background: transparent; border: 1px dashed color-mix(in srgb, var(--room-fg) 35%, transparent); color: var(--muted); font-weight: 500; }
.room li > .off small { font-size: 11px; }
@media (max-width: 900px) {
  .hhero { padding: 30px 24px 26px; border-radius: 26px; }
  .hh-text { grid-template-columns: 1fr; }
  .hh-stats { grid-column: 1; grid-row: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hh-stats div { min-width: 0; padding: 8px 10px; }
  .hh-stats dd { font-size: 22px; }
  .hh-stats dt { font-size: 11px; white-space: normal; line-height: 1.3; }
  .rooms-grid { grid-template-columns: 1fr; gap: 10px; }
  .room { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 14px; padding: 16px; }
  .room-i { grid-row: span 3; }
  .room h3 { margin: 2px 0 0; font-size: 19px; }
  .room p { margin-bottom: 10px; }
  .room ul { grid-column: 2; }
}
@media (max-width: 400px) {
  .hhero { padding: 24px 16px 20px; margin-left: -4px; margin-right: -4px; }
  .hh-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .room { grid-template-columns: 1fr; }
  .room-i { grid-row: auto; width: 46px; height: 46px; border-radius: 15px; margin-bottom: 8px; }
  .room ul { grid-column: 1; }
}
/* 카테고리별 랭킹 */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.rtile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.rt-h { display: flex; align-items: center; gap: 14px; padding: 18px 18px 14px; text-decoration: none; }
.rt-h:hover b { color: var(--accent); }
.rt-ico { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.rt-n { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.rt-n b { font-family: var(--serif); font-size: 18px; }
.rt-n small { font-size: 12px; color: var(--muted); }
.rt-h > i { margin-left: auto; font-style: normal; font-size: 20px; color: var(--muted); }
.rt-list { list-style: none; margin: 0 12px; padding: 4px 0; flex: 1; border-top: 1px dashed var(--line-strong); }
.rt-list a { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 6px; text-decoration: none; font-size: 14px; border-radius: 10px; }
.rt-list a:hover { background: var(--surface-2); }
.rt-list a:hover .rt-pn { color: var(--accent); }
.rt-list .skill { font-size: 11px; padding: 1px 7px; }
.rt-pn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rt-s { display: inline-flex; align-items: center; gap: 6px; }
.rt-s .sbar-t { width: 48px; }
.rt-s b { font-size: 13px; }
.rt-more { display: block; margin: 8px 12px 12px; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; background: var(--surface-2); }
.rt-more:hover { background: var(--accent-soft); }
/* 주요 비교 리스트 */
.clist { list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.crow { display: grid; grid-template-columns: 36px 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 14px; border-radius: 14px; }
.crow + .crow { border-top: 1px dashed var(--line); }
.crow:hover { background: var(--surface-2); }
.crow-n { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--accent); }
.crow-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--sage); background: var(--sage-soft); }
.crow-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crow-t { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.crow-t:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.crow-b small { font-size: 12.5px; color: var(--muted); }
.crow-sk { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.crow-sk .skill { font-size: 11px; padding: 1px 9px; }
.crow-sk .skill:hover { box-shadow: 0 0 0 2px currentColor; }
.crow-imgs { display: flex; }
.crow-imgs img { width: 54px; height: 54px; object-fit: contain; background: #fff; border: 2px solid var(--surface); border-radius: 50%; margin-left: -14px; box-shadow: var(--shadow-sm); }
.crow-imgs img:first-child { margin-left: 0; }
@media (max-width: 640px) {
  .crow { grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 12px 10px; }
  .crow-ico, .crow-imgs { display: none; }
  .crow-t { font-size: 15px; }
}
.allguides { margin-top: 14px; font-size: 14px; }
.allguides summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.allguides ul { columns: 2; margin: 8px 0 0; padding-left: 18px; line-height: 1.9; }
.allguides small { color: var(--muted); }
/* 제품 찾기 */
.finder { margin: 56px 0 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.finder h2 { margin: 0 0 16px; font-size: 22px; }
.finder-f { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.finder-f label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); font-weight: 700; }
.finder-f select { font: inherit; font-size: 15px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); color: var(--text); }
.finder-f select:disabled { opacity: .5; }
.finder-r { margin-top: 16px; }
.finder-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.fitem { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.fitem:hover { border-color: var(--line-strong); }
.fmain { display: flex; gap: 12px; text-decoration: none; color: inherit; }
.fitem img, .fimg { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--line); flex: 0 0 72px; }
.fimg.noimg { border: 0; background: radial-gradient(120% 90% at 20% 10%, var(--accent-soft) 0%, transparent 55%), var(--surface-2); }
.fimg .noimg-i { width: 76%; }
.fbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fbody b { font-size: 14px; line-height: 1.4; }
.fbody small { color: var(--muted); font-size: 12px; }
.fprice { font-weight: 800; font-size: 14px; }
.fprice small { font-weight: 500; }
.fitem .fbuy, .fbuy { align-self: stretch; max-width: none; width: 100%; text-align: center; padding: 9px 10px; font-size: 13px; }
.fitem .pending-tag { align-self: flex-start; }
.hnote { margin: 40px 0 8px; padding: 16px 20px; border-radius: var(--r); background: var(--surface-2); font-size: 13px; color: var(--muted); line-height: 1.7; }
.hnote p { margin: 0 0 4px; }
@media (max-width: 640px) { .finder-f { grid-template-columns: 1fr 1fr; } .allguides ul { columns: 1; } .finder { padding: 18px; } }

/* ---------- 상품 타일 ---------- */
.prow { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.ptile { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.ptile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ptile:hover h3 { color: var(--accent); }
.pt-img { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14px; }
.pt-img:has(.ph) { padding: 0; }
.pt-img img { width: 100%; height: 100%; object-fit: contain; }
.pt-img .sbadge { position: absolute; left: 10px; top: 10px; }
.pt-img .sbadge em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.pt-cat { font-size: 12px; font-weight: 700; color: var(--accent); }
.ptile h3, .sprod h3 { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ptile .pending-tag { align-self: flex-start; }
.pt-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pt-price { margin: auto 0 0; }
.pt-price.tierline { justify-content: flex-start; }
.pt-price .lvl, .pt-price .skill { font-size: 11px; padding: 1px 9px; }
.pt-cta { margin: auto 0 0; font-size: 13px; color: var(--accent); font-weight: 700; }
.pt-price + .pt-cta, .pending-tag + .pt-cta { margin-top: 2px; }
@media (max-width: 400px) { .prow { grid-template-columns: 1fr 1fr; gap: 10px; } .pt-body { padding: 10px 11px 12px; } .schips li { font-size: 11px; } .cchips li { font-size: 11.5px; padding: 5px 8px; } .ptile h3 { font-size: 14px; } }

/* ---------- 비교 가이드 카드 ---------- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.gcard:hover { box-shadow: var(--shadow); }
.gcard:hover h3 { color: var(--accent); }
.gthumb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.gthumb img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 6px; }
.gthumb-ph { display: block; background: none; }
.gthumb-ph .noimg { width: 100%; height: 120px; border-radius: 0; }
.gthumb-ph .noimg-i { width: 76px; }
.ginfo { padding: 14px 16px 16px; }
.ginfo h3 { font-size: 15.5px; margin: 8px 0 4px; line-height: 1.45; }
.ginfo p { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 표 공통 ---------- */
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
thead th { color: var(--muted); font-weight: 700; font-size: 12px; background: var(--surface-2); }
tbody tr:last-child > * { border-bottom: 0; }
td.t { white-space: normal; min-width: 220px; }
td.num { font-weight: 700; }
.pcell { white-space: normal; min-width: 200px; }
.pcell img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); vertical-align: middle; margin-right: 8px; }
.pcell a { font-weight: 700; text-decoration: none; }
.pcell a:hover { color: var(--accent); }
.pcell .badge { margin-top: 4px; }
table.scores tbody tr:nth-child(even) td { background: var(--zebra); }
table.scores td.pcell, table.scores thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
table.scores thead th:first-child { background: var(--surface-2); }
table.scores tbody tr:nth-child(even) td.pcell { background: var(--zebra); }
table.scores td.sc { text-align: center; }
table.scores th:not(:first-child) { text-align: center; }
table.scores td.total { text-align: center; }
table.scores td.total b { font-family: var(--serif); font-size: 18px; }
table.scores td.total small { color: var(--muted); font-size: 11px; }
table.proscons td { vertical-align: top; }
table.proscons ul { margin: 0; padding-left: 18px; }
table.proscons .pro li::marker { content: '＋ '; color: var(--good); }
table.proscons .con li::marker { content: '－ '; color: var(--bad); }
table.proscons .pname { white-space: normal; min-width: 140px; font-weight: 600; }
.score-note { background: var(--butter-soft); color: var(--butter-ink); padding: 10px 14px; border-radius: var(--r-sm); }
@media (max-width: 640px) { table.scores td.pcell { min-width: 150px; max-width: 160px; } table.scores .pcell img, table.scores .pcell .noimg { display: none; } }

/* ---------- 비교 인포그래픽 표 ---------- */
.ig-wrap { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.ig-head { padding: 18px 22px 14px; display: flex; flex-direction: column; gap: 2px; }
.ig-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.ig-head h3 { margin: 0; font-family: var(--serif); font-size: 21px; letter-spacing: -0.01em; }
.ig-head h3 span { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.ig-scroll { border: 0; border-radius: 0; box-shadow: none; border-top: 1px solid var(--line); }
table.ig { min-width: 640px; table-layout: fixed; }
table.ig th, table.ig td { white-space: normal; vertical-align: middle; text-align: center; font-size: 13px; padding: 10px 10px; }
table.ig thead th { background: var(--surface); border-bottom: 1px solid var(--line); padding-top: 16px; padding-bottom: 14px; vertical-align: top; }
table.ig thead th a { display: flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--text); }
table.ig thead th a:hover b { color: var(--accent); }
table.ig thead img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 6px; }
table.ig thead b { font-size: 13.5px; line-height: 1.4; }
.ig-rank { font-size: 11px; font-weight: 700; color: var(--ink-fg); background: var(--ink-bg); border-radius: 999px; padding: 2px 10px; }
table.ig thead th:nth-child(2) .ig-rank { background: var(--accent-fill); color: var(--on-accent); }
.ig-role { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.ig-corner { width: 116px; text-align: left !important; vertical-align: bottom !important; font-size: 12px !important; color: var(--muted) !important; }
table.ig tbody th { text-align: left; background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 12.5px; width: 116px; }
table.ig tbody th .li { vertical-align: -2px; margin-right: 5px; }
table.ig tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
table.ig tbody tr:nth-child(even) td { background: var(--zebra); }
table.ig tbody tr:nth-child(even) th { background: var(--surface-3); }
table.ig tr.r-care th { background: var(--sage-soft) !important; color: var(--sk1-fg); }
table.ig tr.r-cost th { background: var(--butter-soft) !important; color: var(--butter-ink); }
table.ig td.hl, table.ig th.hl { background: var(--accent-soft) !important; }
table.ig thead th.hl img { border-color: var(--accent-fill); box-shadow: 0 0 0 2px var(--accent-fill); }
.ig-total { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--text); }
.ig-total small, .dist-n small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 500; }
table.ig .bar { display: block; height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; margin: 7px auto 0; max-width: 120px; }
table.ig .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-fill), var(--accent-fill-2)); }
tr.r-total td { padding-top: 14px; padding-bottom: 14px; }
.ig-price { font-weight: 800; color: var(--mid); }
.ig-verdict { font-weight: 600; color: var(--text); line-height: 1.5; }
.ig-short { font-size: 13.5px; color: var(--text); }
.ig-spec { font-size: 12.5px; font-weight: 500; }
.ig-plus { color: var(--good); font-weight: 700; }
.ig-minus { color: var(--bad); font-weight: 700; }
.ig-crit { display: block; white-space: nowrap; font-size: 12px; color: var(--muted); }
.ig-crits { display: inline-grid; grid-template-columns: auto auto; gap: 4px 8px; text-align: left; align-items: center; }
.ig-crits > span { display: contents; }
.ig-crits em { font-style: normal; font-size: 11px; color: var(--muted); }
.ig-crits .sbar-t { width: 44px; }
.ig-wrap > .note { padding: 0 22px 16px; }
.ig-won { font-size: 14px; }
.ig-more { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 22px 4px; margin: 0; }
.ig-more a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; background: var(--surface); }
.ig-more a:hover { border-color: var(--accent); color: var(--accent); }
table.ig thead .tag.unisex { margin-top: 2px; font-size: 11px; }
table.ig td .pending-tag { white-space: normal; text-align: left; }
table.ig .ig-corner, table.ig tbody th { position: sticky; left: 0; z-index: 2; }
table.ig .ig-corner { background: var(--surface); }
table.ig tbody th { box-shadow: 2px 0 6px rgba(74, 46, 24, .06); }
table.ig thead .noimg { width: 96px; height: 96px; border-radius: 16px; }
@media (max-width: 640px) {
  table.ig .ig-corner, table.ig tbody th { width: 80px; min-width: 80px; max-width: 80px; font-size: 12px; padding: 8px 7px; word-break: keep-all; }
  table.ig tbody th .li { display: block; margin: 0 0 3px; }
  table.ig thead img, table.ig thead .noimg { width: 80px; height: 80px; }
  table.ig th, table.ig td { padding: 8px 7px; }
  .tiers table.ig td, .tiers table.ig thead th:not(.ig-corner) { min-width: 140px; }
  .ig-crits .sbar-t { width: 32px; }
  .ig-head { padding: 16px 16px 12px; }
  .ig-wrap > .note { padding: 0 16px 14px; }
}

/* ---------- 가이드 페이지 ---------- */
.g-kicker { display: flex; align-items: center; gap: 8px; margin: 22px 0 -4px; font-weight: 700; color: var(--accent); font-size: 13px; }
.g-kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--accent-fill); }
.prose { max-width: 720px; }
.prose p { line-height: 1.85; }
.prose h3 { font-size: 17px; margin: 26px 0 6px; }
.prose li, .checks li { margin: 5px 0; }
.intro p { color: var(--muted); margin: 0; }
.crit-box { margin: 18px 0; padding: 16px 20px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 14px; }
.crit-box > b { display: block; margin-bottom: 4px; font-size: 13px; color: var(--accent); }
.crit-box p { margin: 0; color: var(--muted); line-height: 1.75; }
.crit-box p b { color: var(--text); }
.toc { display: flex; gap: 6px; margin: 18px 0 4px; position: sticky; top: 58px; z-index: 10; background: color-mix(in srgb, var(--bg) 94%, transparent); padding: 10px 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.toc::-webkit-scrollbar { display: none; }
.toc a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.toc a:hover { border-color: var(--accent); color: var(--accent); }
#cmp, #scores, #models, #choose, #faq, #videos, #tiers, #dist, #howto, #merged { scroll-margin-top: 120px; }
.cat-cmp { scroll-margin-top: 70px; }
.cat-cmp-h { display: flex; align-items: center; gap: 8px; margin: 32px 0 0; }
.gtabs { display: flex; gap: 6px; margin: 6px 0 10px; flex-wrap: wrap; }
.gtabs a { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: 14px; }
.gtabs a:hover { border-color: var(--accent); color: var(--accent); }
/* 한 줄 결론 */
.conclusion { margin: 18px 0; padding: 20px; border-radius: var(--r); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.conclusion h2 { margin: 0 0 12px; font-size: 19px; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cc-l { font-size: 12px; font-weight: 800; color: var(--accent); }
.cc-p { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.cc-p img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--line); flex: 0 0 64px; }
.cc-p > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-p b { font-size: 15px; line-height: 1.4; }
.cc-p:hover b { color: var(--accent); }
.cc-p small { font-size: 12px; color: var(--muted); }
.cc-won { margin: 0; display: flex; flex-direction: column; }
.cc-won b { font-size: 17px; font-weight: 800; }
.cc-won small { font-size: 11px; color: var(--muted); }
.cc .btn { max-width: none; }
.cc .pending-tag { align-self: flex-start; }
@media (max-width: 640px) { .cc-grid { grid-template-columns: 1fr; } .conclusion { padding: 16px; } }
/* 단계 바로가기·탭 */
.skillnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0; }
.skillnav > span { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.skillnav a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; text-decoration: none; background: var(--surface); }
.skillnav a:hover { border-color: var(--line-strong); }
.skillnav a.on { border-color: var(--ink-bg); background: var(--ink-bg); color: var(--ink-fg); font-weight: 700; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.tab { font: inherit; font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; font-weight: 600; }
.tab:hover:not(:disabled) { border-color: var(--line-strong); }
.tab.on { background: var(--ink-bg); border-color: var(--ink-bg); color: var(--ink-fg); }
.tab small { font-size: 11px; opacity: .75; margin-left: 2px; }
.tab:disabled { opacity: .45; cursor: default; }
.tabpanel { display: none; }
.tabpanel.on { display: block; }
.tiers { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 8px; box-shadow: var(--shadow-sm); }
.tiers h2 { margin: 0 0 14px; }
.tier-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.tier-gname { flex: 0 0 52px; font-size: 12px; font-weight: 800; color: var(--muted); }
.tier-row .tabs { margin: 0; flex-wrap: wrap; }
.tiers .ig-wrap { margin: 12px 0 16px; box-shadow: none; }
.tiers table.ig { min-width: 0; width: auto; }
.tiers table.ig td, .tiers table.ig thead th:not(.ig-corner) { min-width: 170px; }
@media (max-width: 640px) { .tiers { padding: 16px 14px 6px; } }
/* 모델별 분석 카드 */
.pick { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 22px; margin-top: 16px; box-shadow: var(--shadow-sm); }
.pick h2 { margin: 0 0 10px; padding-right: 160px; font-size: 21px; }
.pick h2 small { margin-left: 6px; }
.pick > .sbadge { position: absolute; top: 20px; right: 20px; }
.pick-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.pick-body { display: flex; gap: 20px; align-items: flex-start; }
.pick-body > div { min-width: 0; }
.pick-body p { margin: 0 0 10px; }
.pick-img { flex: 0 0 132px; width: 132px; height: 132px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.pick-img.noimg { border: 0; padding: 0; }
@media (max-width: 640px) {
  .pick { padding: 18px 16px; }
  .pick h2 { padding-right: 0; font-size: 19px; }
  .pick > .sbadge { position: static; margin-bottom: 10px; }
  .pick-body { flex-direction: column; }
  .pick-img { width: 100%; height: auto; aspect-ratio: 16 / 9; flex-basis: auto; }
  .pick-img.noimg .noimg-i { width: auto; height: 72%; }
}
.news { margin-top: 22px; }
.news ul { padding-left: 20px; margin: 8px 0; }
.news li { margin: 8px 0; }
.news .src { font-size: 12px; color: var(--accent); white-space: nowrap; }
@media (max-width: 640px) { .news .src { white-space: normal; } }
/* 선택 가이드 */
.choose { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.choose h2 { margin-top: 0; }
.choose-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.choose-pick a { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border-radius: 14px; text-decoration: none; background: var(--surface-2); border: 1px solid transparent; }
.choose-pick a:hover { border-color: var(--line-strong); }
.choose-pick a:hover b { color: var(--accent); }
.choose-pick .tierline { justify-content: flex-start; }
.choose-pick small { color: var(--muted); font-size: 12.5px; }
.choose-pick .vd { display: block; margin-top: 4px; color: var(--text); opacity: .8; }
@media (max-width: 640px) { .choose { padding: 18px 16px; } }
.old-note { margin: 12px 22px 0; padding: 12px 16px 12px 32px; background: var(--surface-2); border-radius: 12px; font-size: 13px; line-height: 1.6; }
.offerless { margin: 16px 0; padding: 14px 18px; background: var(--surface-2); border-radius: var(--r-sm); }
.offerless h3 { margin: 0 0 6px; font-size: 15px; }
.offerless h3 small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.offerless ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.8; }
.offerless small { color: var(--muted); }
.merged { margin-top: 36px; }
.howto h3 { margin-top: 20px; }
.hero h2.sub, h2.sub { font-family: var(--sans); font-size: 15px; margin: 20px 0 6px; }
.checks { padding-left: 20px; margin: 8px 0 16px; font-size: 14px; }
.checks li::marker { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 14px; }
.chips a:hover { border-color: var(--accent); }

/* 특화 점수 비교 (config/vertical.json dist) */
.dist { margin: 32px 0; }
.dist h2 small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.bar.dist i { background: var(--sage-fill) !important; }
.dist-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.dist-top a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; }
.dist-top img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; }
.dist-tl { font-size: 12px; color: var(--muted); font-weight: 600; }
.dist-top b { font-size: 14px; line-height: 1.4; }
.dist-n { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--sage); }
.dist-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; counter-reset: d; }
.dist-list li { counter-increment: d; }
.dist-list a { display: grid; grid-template-columns: 28px 48px minmax(0, 1fr) minmax(80px, 30%) 30px; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; }
.dist-list a::before { content: counter(d); font-weight: 800; color: var(--muted); text-align: center; }
.dist-list img, .dimg { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; }
.dist-list .bar { display: block; height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; }
.dist-list .bar i { display: block; height: 100%; border-radius: 999px; }
.dname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dname b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dnum { font-size: 16px; color: var(--sage); text-align: right; }
@media (max-width: 560px) { .dist-list a { grid-template-columns: 22px 40px minmax(0, 1fr) 30px; } .dist-list a .bar { display: none; } .dist-list img, .dimg { width: 40px; height: 40px; } }

/* ---------- 상품 페이지 ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 34px; margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow-sm); }
.pd h1 { margin: 4px 0 8px; font-size: clamp(24px, 3vw, 32px); }
.pd-info .pt-badges { margin-bottom: 6px; }
.pd-sum { font-size: 15.5px; line-height: 1.8; }
.gal-main { aspect-ratio: 1; background: #fff; border-radius: 20px; display: grid; place-items: center; overflow: hidden; padding: 18px; border: 1px solid var(--line); }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-empty .gal-main { position: relative; padding: 0; border: 0; background: radial-gradient(120% 90% at 15% 10%, var(--accent-soft) 0%, transparent 55%), radial-gradient(90% 80% at 90% 100%, var(--sage-soft) 0%, transparent 60%), var(--surface-2); }
.gal-empty .gal-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; }
.gal-empty .noimg.lg { width: auto; height: auto; aspect-ratio: auto; background: none; }
.gal-empty .noimg.lg .noimg-i { width: 150px; max-width: none; }
.gal-empty .gal-main p { margin: 0; text-align: center; font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--text); display: flex; flex-direction: column; gap: 2px; padding: 0 16px; }
.gal-empty .gal-main p small { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); }
.gal-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.gal-t { padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.gal-t.on { border-color: var(--accent-fill); }
.gal-t img { width: 100%; height: 100%; object-fit: contain; }
.gal-note { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; }
.pd-price { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 8px; padding: 14px 16px; background: var(--surface-2); border-radius: var(--r-sm); }
.pd-price:empty { display: none; }
.pd-price span { font-size: 13px; color: var(--muted); }
.pd-price b { font-size: 26px; letter-spacing: -0.5px; }
.pd-price small { font-size: 12px; color: var(--muted); }
.pd-price .lvl-link { flex-direction: row; gap: 10px; }
.pd-price .lvl { font-size: 15px; padding: 4px 14px; }
.pd-price .lvl-link small { font-size: 13px; }
.spec-sheet { margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; font-size: 13.5px; }
.spec-sheet div { display: grid; grid-template-columns: minmax(110px, 36%) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.spec-sheet div:last-child { border-bottom: 0; }
.spec-sheet div:nth-child(even) dd { background: var(--zebra); }
.spec-sheet dt { padding: 8px 14px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.spec-sheet dd { margin: 0; padding: 8px 14px; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; padding: 16px; gap: 18px; border-radius: 22px; } .gal-empty .gal-main { aspect-ratio: auto; padding: 26px 16px; gap: 12px; } .gal-empty .noimg.lg .noimg-i { width: 104px; } }
/* 비교 분석 */
.ana { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.ana-head { display: flex; gap: 20px; align-items: center; }
.ana-score { flex: 0 0 108px; height: 108px; border-radius: 50%; background: var(--ink-bg); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--ink-fg); box-shadow: 0 0 0 6px var(--accent-soft); }
.ana-score b { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--butter); }
.ana-score small { font-size: 12px; opacity: .85; }
.ana-score span { font-size: 11px; margin-top: 3px; opacity: .85; }
.ana-kicker { margin: 0; font-size: 13px; color: var(--muted); font-weight: 700; }
.ana-kicker .tag { margin-left: 6px; }
.ana-head h2 { margin: 2px 0 4px; font-size: 22px; }
.ana-head h2 em { font-style: normal; color: var(--accent); }
.ana-head h2 small { font-size: 13px; color: var(--muted); font-weight: 500; }
.ana-verdict { margin: 0; font-size: 15px; font-weight: 600; }
.ana-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.ana-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 24px; align-items: center; gap: 12px; font-size: 14px; margin: 9px 0; }
.ana-row .bar { height: 10px; background: var(--track); border-radius: 999px; overflow: hidden; }
.ana-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-fill), var(--accent-fill-2)); border-radius: 999px; }
.ana-row b { text-align: right; }
.ana-pc p { margin: 0 0 10px; font-size: 14px; line-height: 1.75; padding: 12px 14px; border-radius: 12px; }
.ana-pc .pro { color: var(--good); background: var(--good-bg); }
.ana-pc .con { color: var(--bad); background: var(--bad-bg); }
@media (max-width: 760px) { .ana { padding: 18px 16px; } .ana-grid { grid-template-columns: 1fr; } .ana-head { flex-direction: column; align-items: flex-start; } .ana-row { grid-template-columns: 110px minmax(0, 1fr) 24px; } }

/* 가격 표시·추이 */
.price-line, .pt-won, .pd-won { margin: 4px 0; display: flex; flex-direction: column; gap: 1px; }
.pt-won b, .pd-won b, .price-line b { font-size: 16px; font-weight: 800; color: var(--text); }
.pd-won b { font-size: 24px; }
.pt-won small, .pd-won small, .price-line small { font-size: 11px; color: var(--muted); line-height: 1.4; }
.pd-won small { font-size: 12px; }
.stale b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.none small { color: var(--muted); }
.pshort { display: block; margin-top: 4px; font-weight: 800; font-size: 13px; }
.pshort small { display: block; font-weight: 500; font-size: 10px; color: var(--muted); }
.pshort.stale { color: var(--muted); }
.phist { margin: 32px 0; }
.phist.empty { padding: 16px 18px; background: var(--surface-2); border-radius: var(--r); }
.phist.empty h2 { margin-top: 0; font-size: 18px; }
.phist .tabs { margin: 12px 0; }
.verdict { display: inline-block; margin: 0 0 14px; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.stats span { display: block; font-size: 12px; color: var(--muted); }
.stats b { font-size: 16px; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.chart { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 12px; }
.chart .line { fill: none; stroke: var(--chart-line); stroke-width: 2.5; stroke-linejoin: round; }
.chart .area { fill: var(--chart-area); }
.chart .minline { stroke: var(--min-line); stroke-dasharray: 5 5; stroke-width: 1.2; }
.chart .minlabel { fill: var(--min-line); font-size: 12px; font-weight: 600; }
.chart .dot { fill: var(--chart-line); stroke: var(--surface); stroke-width: 2; }

/* 설명 그림 (src/figures) */
.fig { margin: 18px 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.fig svg { width: 100%; height: auto; display: block; }
.fig .fig-title { fill: var(--text); font-size: 16px; font-weight: 700; }
.fig .fig-label { fill: var(--text); font-size: 14px; font-weight: 600; }
.fig .fig-sub, .fig .fig-note { fill: var(--muted); font-size: 12px; }
.fig .fig-fill { fill: var(--wait-bg); stroke: var(--muted); stroke-width: 1.5; }
.fig .fig-line { fill: none; stroke: var(--muted); stroke-width: 2; }
.fig .fig-accent { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.fig .fig-accent-fill { fill: var(--accent); }
.fig .fig-dash { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; }

/* ---------- 검색 결과 ---------- */
.sresults { margin-top: 8px; }
.s-h { font-size: 20px; margin: 26px 0 12px; }
.s-h small { color: var(--muted); font-weight: 400; }
.scmp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: 14px; overflow-x: auto; box-shadow: var(--shadow-sm); }
.scmp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.scmp-h a { text-decoration: none; }
.scmp-h h2 { font-size: 18px; margin: 0; }
.scmp-t { width: 100%; }
.scmp-t td.rk { font-family: var(--serif); font-weight: 700; color: var(--accent); text-align: center; }
.scmp-t tbody tr:nth-child(even) td { background: var(--zebra); }
.scmp-t tr.match td { background: var(--accent-soft); }
.scmp-t td.sc, .scmp-t td.total { text-align: center; }
.scmp-t .pro { color: var(--good); }
.scmp-t .con { color: var(--bad); }
.sprod { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.sprod-img img, .sprod-img .noimg { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.sprod-img .noimg { border: 0; background: radial-gradient(120% 90% at 20% 10%, var(--accent-soft) 0%, transparent 55%), var(--surface-2); }
.sprod a { text-decoration: none; }
.sprod p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.sprod-act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
@media (max-width: 640px) { .sprod { grid-template-columns: 80px minmax(0, 1fr); } .sprod-img img, .sprod-img .noimg { width: 80px; height: 80px; } .sprod-act { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } }

/* ---------- 관련 영상 (유튜브) ---------- */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.vgrid-s { grid-template-columns: repeat(auto-fill, minmax(150px, 180px)); margin-top: 14px; }
.vcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
.vplay { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.vshort .vplay { aspect-ratio: 9 / 16; }
.vplay img, .vplay iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.vbtn { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 14px; background: rgba(0, 0, 0, 0.72); transition: background 0.15s; }
.vbtn::after { content: ''; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.vplay:hover .vbtn, .vplay:focus-visible .vbtn { background: #e62117; }
.vtag { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 12px; font-weight: 700; }
.vcard figcaption { padding: 12px 14px 14px; font-size: 14px; line-height: 1.5; }
.vcard figcaption a { color: var(--text); text-decoration: none; font-weight: 600; }
.vcard figcaption a:hover { color: var(--accent); }
.vshort figcaption { font-size: 13px; }

/* ---------- 모바일 하단 고정 1위 버튼 ---------- */
.stickybuy { display: none; }
@media (max-width: 767px) {
  .stickybuy { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .sb-t { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sb-t b { color: var(--accent); }
  .stickybuy .btn { flex: 0 0 auto; }
  body:has(.stickybuy) { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- 보정 ---------- */
h1, h2, h3, .prose p, .hh-sub, .crit-box p { word-break: keep-all; overflow-wrap: break-word; }
.fbody .skill, .fbody .lvl, .fbody .tierline { align-self: flex-start; }
.pd:not(:has(.gal)) { grid-template-columns: minmax(0, 1fr); }
.pd:not(:has(.gal)) .pd-info { max-width: 780px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin: 18px 0 4px; }
.cat-head h1 { margin: 0; }
.cat-head .updated { margin: 4px 0 0; }
.cat-head .rt-ico { width: 58px; height: 58px; flex-basis: 58px; border-radius: 20px; }
.rt-list a, .dist-list a { color: inherit; }
@media (max-width: 640px) { .toc { top: 52px; } h2 { font-size: 20px; margin-top: 36px; } .block { margin-top: 44px; } .block-h h2 { font-size: 22px; } }
.quick { position: relative; }
