/* =========================================================
   ATL테크기어 — "테크 리뷰 랩" 스타일
   짙은 네이비 머리글·바닥글, 차가운 회색 바탕, 흰 카드(1px 테두리),
   전기 청록(시안) 강조 + 호박색(앰버) 보조, 표 숫자는 고정폭 숫자
   ========================================================= */
:root {
  --navy: #0d1b2a;
  --navy-2: #13263a;
  --navy-3: #1d3550;
  --navy-line: #22405e;
  --on-navy: #e8eef5;
  --on-navy-muted: #a9b8c8;
  --cyan: #00b8d9;          /* 채우기(막대·버튼 바탕)용 */
  --cyan-light: #5ee0f5;    /* 짙은 바탕 위 글자용 */
  --bg: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f5f7fa;
  --zebra: #f7f9fb;
  --text: #0f1720;
  --muted: #566373;
  --line: #dbe1e8;
  --line-strong: #c3cdd8;
  --track: #e2e7ee;
  --accent: #00718a;        /* 흰 바탕 위 글자·링크용 (AA 5.6:1) */
  --accent-soft: #e6f6fa;
  --accent-ink: #0d1b2a;    /* 시안 바탕 위 글자 */
  --amber: #f5a524;
  --amber-soft: #fff4e0;
  --amber-ink: #8a4b00;
  --focus: #00718a;
  --good: #0f6e55;
  --good-bg: #e1f4ee;
  --bad: #b4372f;
  --bad-bg: #fbe7e5;
  --mid: #8a4b00;
  --mid-bg: #fdf0dc;
  --wait: #566373;
  --wait-bg: #eceff3;
  --chart-line: #00718a;
  --chart-area: rgba(0, 184, 217, 0.12);
  --min-line: #b4372f;
  --shadow: 0 10px 30px rgba(13, 27, 42, .14);
  --r: 10px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, "Pretendard Variable", Pretendard, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a121b;
    --surface: #111c27;
    --surface-2: #162331;
    --zebra: #142130;
    --text: #e6edf3;
    --muted: #93a4b5;
    --line: #223140;
    --line-strong: #2e4256;
    --track: #24364a;
    --accent: #3fd0ec;
    --accent-soft: #0e2c36;
    --amber-soft: #33260f;
    --amber-ink: #f5c06a;
    --focus: #5ee0f5;
    --good: #6fdcb8;
    --good-bg: #12352c;
    --bad: #f08a80;
    --bad-bg: #3a1d1a;
    --mid: #f5c06a;
    --mid-bg: #33260f;
    --wait: #93a4b5;
    --wait-bg: #1c2a38;
    --chart-line: #3fd0ec;
    --chart-area: rgba(63, 208, 236, 0.14);
    --min-line: #f08a80;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a121b; --surface: #111c27; --surface-2: #162331; --zebra: #142130; --text: #e6edf3; --muted: #93a4b5;
  --line: #223140; --line-strong: #2e4256; --track: #24364a; --accent: #3fd0ec; --accent-soft: #0e2c36;
  --amber-soft: #33260f; --amber-ink: #f5c06a; --focus: #5ee0f5; --good: #6fdcb8; --good-bg: #12352c;
  --bad: #f08a80; --bad-bg: #3a1d1a; --mid: #f5c06a; --mid-bg: #33260f; --wait: #93a4b5; --wait-bg: #1c2a38;
  --chart-line: #3fd0ec; --chart-area: rgba(63, 208, 236, 0.14); --min-line: #f08a80; --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  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: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
main a:not([class]) { color: var(--accent); text-underline-offset: 2px; }
img { max-width: 100%; }
:where(img[width][height]) { height: auto; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.util :focus-visible, .hd :focus-visible, .gnb :focus-visible, .foot :focus-visible, .hhero :focus-visible { outline-color: var(--cyan-light); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 800; margin: 14px 0 8px; }
h2 { font-size: 20px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 800; margin: 36px 0 12px; }
h3 { letter-spacing: -0.01em; }
h1 small { font-size: .5em; color: var(--muted); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
h2 small, .label small { 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(--amber-soft); color: var(--amber-ink); font-weight: 700; }
.note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.updated { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.crumb { font-size: 13px; color: var(--muted); margin-top: 18px; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--accent); text-decoration: underline; }
.more-link, .more a { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; text-decoration: none; font-size: 14px; }
.more-link:hover { text-decoration: underline; }
.empty { color: var(--muted); padding: 30px 0; }

/* ---------- 머리글: 고지 띠 + 짙은 상단 바 + 카테고리 탭 ---------- */
.util { background: #08121c; color: var(--on-navy-muted); font-size: 11.5px; }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; }
.util-in span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.util a { color: var(--on-navy-muted); text-decoration: none; }
.util a:hover { color: #fff; }
.hd { background: var(--navy); color: var(--on-navy); }
.hd-in { display: flex; align-items: center; gap: 20px; min-height: 64px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; color: #fff; }
.logo-emb { width: 36px; height: 36px; flex: 0 0 36px; display: block; }
.logo-emb svg { width: 100%; height: 100%; display: block; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.logo-name b { color: var(--cyan-light); margin-right: 1px; letter-spacing: 0.02em; }
.logo-sub { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.16em; color: var(--on-navy-muted); margin-top: 4px; }
.search { flex: 1; max-width: 540px; margin-left: auto; position: relative; display: flex; align-items: center; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 8px; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--cyan); background: #0f2133; }
.search-i { display: grid; place-items: center; padding-left: 12px; color: var(--on-navy-muted); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 10px; font: inherit; font-size: 14px; color: #fff; outline: none; }
.search input::placeholder { color: #8396aa; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { flex: 0 0 auto; border: 0; margin: 4px; padding: 6px 14px; border-radius: 6px; background: var(--cyan); color: var(--accent-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.search button:hover { background: #2fcbe6; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); z-index: 30; overflow: hidden; }
.sg { display: flex; align-items: center; gap: 10px; padding: 9px 14px; 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: 6px; 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; font-family: var(--mono); }
.sg .sg-c:first-child { color: var(--accent); font-weight: 700; font-family: var(--sans); }
.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: 4px; 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(--on-navy-muted); background: none; border: 1px solid transparent; border-radius: 8px; cursor: pointer; text-decoration: none; padding: 7px 10px; position: relative; }
.hd-ico:hover { color: #fff; border-color: var(--navy-line); }
.hd-ico-i { display: grid; place-items: center; line-height: 1; }
.hd-ico b { position: absolute; top: -4px; right: -2px; background: var(--amber); color: var(--accent-ink); font-family: var(--mono); font-size: 10px; border-radius: 99px; padding: 0 5px; }
.hd-ico b:empty { display: none; }
.recent-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 290px; max-height: 420px; overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); 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: 6px; border: 1px solid var(--line); }
.rp-h { margin: 6px 14px; font-size: 12px; font-weight: 700; color: var(--muted); }
.gnb { background: var(--navy-2); border-bottom: 1px solid var(--navy-line); position: sticky; top: 0; z-index: 20; }
.gnb-in { display: flex; align-items: stretch; height: 46px; }
.quick { display: flex; align-items: stretch; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.qitem { position: relative; display: flex; }
.qitem > a { display: flex; align-items: center; gap: 7px; padding: 0 12px; white-space: nowrap; text-decoration: none; color: #c9d5e2; font-size: 14px; font-weight: 600; box-shadow: inset 0 -3px 0 transparent; transition: color .15s, box-shadow .15s; }
.qitem > a .li { color: var(--on-navy-muted); flex: 0 0 auto; }
.qitem > a small { font-family: var(--mono); font-size: 11px; color: var(--on-navy-muted); background: rgba(255, 255, 255, .07); border-radius: 4px; padding: 0 5px; }
.qitem > a:hover, .qitem:focus-within > a { color: #fff; }
.qitem.on > a { color: #fff; box-shadow: inset 0 -3px 0 var(--cyan); }
.qitem.on > a .li, .qitem > a:hover .li { color: var(--cyan-light); }
.qsub { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); padding: 6px 0; z-index: 40; }
.qitem:hover .qsub, .qitem:focus-within .qsub { display: block; }
.qsub a { display: flex; align-items: center; gap: 8px; padding: 9px 14px; 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: -6px; left: 100%; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px 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 14px 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: 8px 10px; padding-top: 10px; padding-bottom: 10px; 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; }
  .gnb-in { padding: 0 6px; }
}
@media (max-width: 640px) {
  .util { font-size: 11px; }
  .util-in span { white-space: normal; overflow: visible; line-height: 1.4; padding: 4px 0; }
  .logo-emb { width: 30px; height: 30px; flex-basis: 30px; }
  .logo-name { font-size: 18px; }
  .logo-sub { display: none; }
  .hd-ico { padding: 7px; }
  .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: 9px 8px; }
  .gnb-in { height: 42px; }
  .qitem > a { padding: 0 10px; font-size: 13px; gap: 6px; }
}

/* ---------- 바닥글 ---------- */
.foot { margin-top: 64px; background: var(--navy); color: var(--on-navy-muted); font-size: 12px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 32px; padding-top: 32px; padding-bottom: 40px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .logo-emb { width: 32px; height: 32px; flex-basis: 32px; }
.foot-brand > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.foot-brand b { color: #fff; font-size: 16px; letter-spacing: -0.02em; }
.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: #c9d5e2; text-decoration: none; font-size: 13px; font-weight: 600; }
.foot-nav a:hover { color: var(--cyan-light); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--navy-line); padding-top: 16px; line-height: 1.7; }
.foot-legal p { margin: 0 0 4px; }
.foot .build { margin-top: 8px; font-family: var(--mono); font-size: 11px; color: #7f93a8; }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } .foot-nav { justify-content: flex-start; } }

/* ---------- 공통 배지·태그 ---------- */
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; line-height: 1.5; }
.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); border: 1px solid var(--line); 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: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; line-height: 1.5; }
.tag.rocket { color: #fff; background: #1d5fa8; }
.tag.score { color: var(--accent); background: var(--accent-soft); }
.tag.rank { color: var(--amber-ink); background: var(--amber-soft); border: 1px solid #f0c27a; }
.tag.none { background: var(--wait-bg); color: var(--muted); }
.tag.unisex { background: #e4eefa; color: #1d5fa8; }
.tag.warn { display: inline-block; background: var(--amber-soft); color: var(--amber-ink); margin: 2px 0; white-space: normal; }
.gender { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 4px; color: #fff; background: #566373; }
.gender.g-남성 { background: #1d5fa8; }
.gender.g-여성 { background: #b23a6b; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag.unisex { background: #172b45; color: #8cbcf5; }
  :root:not([data-theme="light"]) .tag.rank { border-color: #6b4a14; }
}

/* 단계 알약: 가성비·보급형·중급·프리미엄 */
.skill { display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 99px; white-space: nowrap; line-height: 1.5; border: 1px solid transparent; text-decoration: none; }
.sk-1 { color: #0f6e55; background: #e1f4ee; border-color: #bfe6d8; }
.sk-2 { color: #1d5fa8; background: #e4eefa; border-color: #c6dbf3; }
.sk-3 { color: #8a4b00; background: #fdf0dc; border-color: #f3d4a4; }
.sk-4 { color: var(--cyan-light); background: var(--navy); border-color: var(--navy); }
.sk-dist { background: var(--amber-soft); color: var(--amber-ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sk-1 { color: #6fdcb8; background: #12352c; border-color: #1d4d40; }
  :root:not([data-theme="light"]) .sk-2 { color: #8cbcf5; background: #172b45; border-color: #24426a; }
  :root:not([data-theme="light"]) .sk-3 { color: #f5c06a; background: #33260f; border-color: #5a4218; }
  :root:not([data-theme="light"]) .sk-4 { color: var(--cyan-light); background: #06222c; border-color: #1d6f80; }
}
/* 가격 단계 */
.lvl { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 4px; white-space: nowrap; }
.lvl i { font-style: normal; font-family: var(--mono); font-size: 11px; opacity: .8; }
.lvl-0 { color: var(--muted); background: var(--wait-bg); }
.lvl-1 { color: #0f6e55; background: #e1f4ee; }
.lvl-2 { color: #1d5fa8; background: #e4eefa; }
.lvl-3 { color: #8a4b00; background: #fdf0dc; }
.lvl-4 { color: #b4372f; background: #fbe7e5; }
.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: 4px; justify-content: center; align-items: center; }

/* 점수 막대 (0~5) */
.sbar { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.sbar-t { display: inline-block; width: 64px; height: 6px; background: var(--track); border-radius: 3px; overflow: hidden; flex: 0 0 auto; }
.sbar-t i { display: block; height: 100%; background: var(--cyan); border-radius: 3px; }
.sbar b { font-family: var(--mono); font-size: 12px; font-weight: 700; min-width: 1ch; font-variant-numeric: tabular-nums; }
/* 종합 점수 배지 */
.sbadge { display: inline-flex; align-items: baseline; gap: 2px; padding: 3px 8px; border-radius: 6px; background: var(--navy); color: var(--on-navy-muted); line-height: 1.2; white-space: nowrap; }
.sbadge em { font-style: normal; font-size: 11px; font-weight: 600; margin-right: 5px; }
.sbadge b { font-family: var(--mono); font-size: 15px; font-weight: 800; color: var(--cyan-light); font-variant-numeric: tabular-nums; }
.sbadge small { font-family: var(--mono); font-size: 11px; }
.sbadge.md b { font-size: 18px; }
.sbadge.lg { padding: 6px 10px; }
.sbadge.lg b { font-size: 22px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sbadge { background: #06222c; box-shadow: inset 0 0 0 1px #1d6f80; } }
/* 주요 사양 칩 */
.schips { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; min-width: 0; }
.schips li { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; padding: 0 7px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface-2); color: var(--text); }
.schips em { font-style: normal; font-family: var(--sans); color: var(--muted); margin-right: 4px; }
/* 판매처 링크 준비 중 */
.pending-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--amber-ink); background: var(--amber-soft); border: 1px dashed #e9b766; border-radius: 6px; padding: 3px 9px; white-space: nowrap; }
.pending-tag::before, .linked.pending::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--amber); flex: 0 0 auto; }
.linked { font-size: 13px; color: var(--muted); margin: 12px 0 8px; }
.linked.pending { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px dashed #e9b766; border-radius: 8px; background: var(--amber-soft); color: var(--amber-ink); font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pending-tag, :root:not([data-theme="light"]) .linked.pending { border-color: #6b4a14; } }

/* 버튼 */
.btn { display: block; text-align: center; background: var(--cyan); color: var(--accent-ink); font-weight: 800; font-size: 15px; padding: 12px 16px; border-radius: 8px; text-decoration: none; max-width: 360px; border: 1px solid transparent; transition: background .15s; }
.btn:hover { background: #2fcbe6; }
.btn.sm { display: inline-block; padding: 6px 12px; font-size: 13px; max-width: none; }
.btn.xs { display: inline-block; margin-top: 6px; padding: 6px 8px; font-size: 12px; line-height: 1.3; max-width: 130px; border-radius: 6px; }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.ext { background: var(--navy); color: #fff; }
.btn.ext:hover { background: var(--navy-3); }

/* 카드 묶음 공통 */
.block { margin-top: 40px; }
.block-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.block-h h2 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.block-h h2::before { content: ''; width: 4px; height: 20px; border-radius: 2px; background: var(--cyan); }
.block-h span { font-size: 13px; color: var(--muted); }

/* ---------- 홈 ---------- */
.hhero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; padding: 34px 0 30px; color: var(--on-navy); background: var(--navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
.hh-kicker { margin: 0 0 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--cyan-light); }
.hhero h1 { margin: 0; font-size: clamp(22px, 3.2vw, 32px); line-height: 1.35; letter-spacing: -0.03em; color: #fff; max-width: 680px; }
.hhero h1 em { font-style: normal; color: var(--cyan-light); }
.hh-sub { margin: 10px 0 0; font-size: 13px; color: var(--on-navy-muted); }
.hh-stats { display: grid; grid-template-columns: repeat(4, auto); margin: 0; }
.hh-stats div { padding: 4px 18px; border-left: 1px solid var(--navy-line); }
.hh-stats dt { font-size: 12px; color: var(--on-navy-muted); white-space: nowrap; }
.hh-stats dd { margin: 0; font-family: var(--mono); font-size: 30px; font-weight: 700; color: #fff; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hh-legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.hh-legend::before { content: '단계'; font-size: 12px; color: var(--on-navy-muted); align-self: center; margin-right: 4px; }
@media (max-width: 820px) {
  .hhero { grid-template-columns: 1fr; padding: 24px 0 22px; }
  .hh-stats { grid-template-columns: repeat(4, 1fr); }
  .hh-stats div { padding: 2px 10px; }
  .hh-stats div:first-child { border-left: 0; padding-left: 0; }
  .hh-stats dd { font-size: 22px; }
  .hh-stats dt { font-size: 11px; white-space: normal; line-height: 1.3; }
}
/* 카테고리별 랭킹 */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.rtile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rt-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; }
.rt-h:hover b { color: var(--accent); }
.rt-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.rt-n { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.rt-n b { font-size: 16px; }
.rt-n small { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.rt-h > i { margin-left: auto; font-style: normal; font-size: 20px; color: var(--muted); }
.rt-list { list-style: none; margin: 0; padding: 6px 0; flex: 1; }
.rt-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 16px; text-decoration: none; font-size: 14px; }
.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 6px; }
.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-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.rt-more { display: block; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; background: var(--surface-2); }
.rt-more:hover { text-decoration: underline; }
/* 주요 비교 리스트 */
.clist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.crow { display: grid; grid-template-columns: 34px 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.crow:last-child { border-bottom: 0; }
.crow:hover { background: var(--surface-2); }
.crow-n { font-family: var(--mono); font-size: 18px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.crow-ico { width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: var(--surface); }
.crow-b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.crow-t { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.crow-t:hover { color: var(--accent); text-decoration: underline; }
.crow-b small { font-size: 12px; color: var(--muted); }
.crow-sk { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.crow-sk .skill { font-size: 11px; padding: 1px 8px; }
.crow-sk .skill:hover { box-shadow: 0 0 0 2px currentColor; }
.crow-imgs { display: flex; }
.crow-imgs img { width: 52px; height: 52px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-left: -12px; }
.crow-imgs img:first-child { margin-left: 0; }
@media (max-width: 640px) {
  .crow { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
  .crow-ico, .crow-imgs { display: none; }
  .crow-t { font-size: 15px; }
}
.allguides { margin-top: 12px; 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); font-family: var(--mono); }
/* 제품 찾기 */
.finder { margin: 40px 0 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); border-top: 3px solid var(--cyan); }
.finder h2 { margin: 0 0 14px; font-size: 20px; }
.finder-f { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.finder-f label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 700; }
.finder-f select { font: inherit; font-size: 15px; padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-2); color: var(--text); }
.finder-f select:disabled { opacity: .5; }
.finder-r { margin-top: 14px; }
.finder-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.fitem { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.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: 8px; border: 1px solid var(--line); flex: 0 0 72px; }
.fbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fbody b { font-size: 14px; line-height: 1.35; }
.fbody small { color: var(--muted); font-size: 12px; }
.fprice { font-weight: 800; font-size: 14px; font-family: var(--mono); }
.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; }
.hnote { margin: 32px 0 8px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.6; }
.hnote p { margin: 0 0 4px; }
@media (max-width: 640px) { .finder-f { grid-template-columns: 1fr 1fr; } .allguides ul { columns: 1; } .finder { padding: 16px; } }

/* ---------- 상품 타일 ---------- */
.prow { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.ptile { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ptile:hover { border-color: var(--line-strong); box-shadow: 0 6px 18px rgba(13, 27, 42, .08); }
.ptile:hover h3 { color: var(--accent); }
.pt-img { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); padding: 10px; }
.pt-img img { width: 100%; height: 100%; object-fit: contain; }
.pt-img .sbadge { position: absolute; left: 8px; top: 8px; }
.pt-img .sbadge em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ph { color: var(--muted); display: grid; place-items: center; }
.pt-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pt-cat { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--accent); }
.ptile h3, .sprod h3 { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.4; 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 8px; }
.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: 8px; } .pt-body { padding: 8px 10px 10px; } .schips li { font-size: 11px; } }

/* ---------- 비교 가이드 카드 (가이드 하단 '다른 가이드') ---------- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.gcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: border-color .15s; }
.gcard:hover { border-color: var(--line-strong); }
.gcard:hover h3 { color: var(--accent); }
.gthumb { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.gthumb img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 4px; }
.ginfo { padding: 12px 14px 14px; }
.ginfo h3 { font-size: 15px; margin: 6px 0 4px; line-height: 1.4; }
.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); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 12px; 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; font-family: var(--mono); }
.pcell { white-space: normal; min-width: 190px; }
.pcell img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 6px; 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; font-family: var(--mono); }
table.scores td.total b { font-size: 17px; }
table.scores td.total small { color: var(--muted); font-size: 11px; }
table.scores td.total .badge { font-family: var(--sans); }
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(--amber-soft); color: var(--amber-ink); padding: 8px 12px; border-radius: 8px; }
@media (max-width: 640px) { table.scores td.pcell { min-width: 150px; max-width: 160px; } table.scores .pcell img { display: none; } }

/* ---------- 비교 인포그래픽 표 ---------- */
.ig-wrap { margin: 20px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ig-head { padding: 14px 18px 12px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.ig-kicker { margin: 0; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }
.ig-head h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.ig-head h3 span { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; letter-spacing: 0; }
.ig-scroll { border: 0; border-radius: 0; }
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: 9px 8px; }
table.ig thead th { background: var(--surface); border-bottom: 1px solid var(--line); padding-top: 14px; padding-bottom: 12px; vertical-align: top; }
table.ig thead th a { display: flex; flex-direction: column; align-items: center; gap: 6px; 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: 8px; border: 1px solid var(--line); padding: 4px; }
table.ig thead b { font-size: 13px; line-height: 1.35; }
.ig-rank { font-size: 11px; font-weight: 800; color: #fff; background: var(--navy); border-radius: 4px; padding: 2px 8px; }
table.ig thead th:nth-child(2) .ig-rank { background: var(--amber); color: var(--accent-ink); }
.ig-role { font-size: 11px; color: var(--muted); font-weight: 500; }
.ig-corner { width: 110px; 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: 12px; width: 110px; border-right: 1px solid var(--line); }
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: #edf1f5; }
table.ig td.hl, table.ig th.hl { background: var(--accent-soft) !important; }
table.ig thead th.hl img { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan); }
.ig-total { font-family: var(--mono); font-size: 24px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.ig-total small, .dist-n small { font-size: 12px; color: var(--muted); font-weight: 500; }
table.ig .bar { display: block; height: 6px; background: var(--track); border-radius: 3px; overflow: hidden; margin: 6px auto 0; max-width: 120px; }
table.ig .bar i { display: block; height: 100%; background: var(--cyan); }
tr.r-total td { padding-top: 12px; padding-bottom: 12px; }
.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-family: var(--mono); font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.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: 3px 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 18px 14px; }
.ig-won { font-size: 14px; }
.ig-more { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px 4px; margin: 0; }
.ig-more a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; 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 .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 4px rgba(13, 27, 42, .06); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) table.ig tbody tr:nth-child(even) th { background: #1a2938; } :root:not([data-theme="light"]) .ig-rank { background: #24364a; } }
@media (max-width: 640px) {
  table.ig .ig-corner, table.ig tbody th { width: 76px; min-width: 76px; max-width: 76px; font-size: 12px; padding: 8px 6px; word-break: keep-all; }
  table.ig thead img { width: 80px; height: 80px; }
  table.ig th, table.ig td { padding: 8px 6px; }
  .tiers table.ig td, .tiers table.ig thead th:not(.ig-corner) { min-width: 140px; }
  .ig-crits .sbar-t { width: 32px; }
}
.noimg { width: 96px; height: 96px; border-radius: 8px; border: 1px dashed var(--line-strong); background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.noimg small { font-size: 10px; font-weight: 500; margin-top: 4px; text-align: center; padding: 0 4px; }

/* ---------- 가이드 페이지 ---------- */
.g-kicker { display: flex; align-items: center; gap: 8px; margin: 16px 0 -2px; font-weight: 700; color: var(--accent); font-size: 13px; }
.g-kicker::before { content: ''; width: 14px; height: 2px; background: var(--cyan); }
.prose { max-width: 720px; }
.prose h3 { font-size: 16px; margin: 22px 0 4px; }
.prose li, .checks li { margin: 4px 0; }
.intro p { color: var(--muted); margin: 0; }
.crit-box { margin: 14px 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--cyan); border-radius: 8px; background: var(--surface); font-size: 14px; }
.crit-box > b { display: block; margin-bottom: 4px; font-size: 13px; }
.crit-box p { margin: 0; color: var(--muted); line-height: 1.65; }
.crit-box p b { color: var(--text); }
.toc { display: flex; gap: 6px; margin: 14px 0 4px; position: sticky; top: 46px; z-index: 10; background: var(--bg); padding: 8px 0; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.toc::-webkit-scrollbar { display: none; }
.toc a { padding: 5px 12px; border-radius: 6px; 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: 100px; }
.cat-cmp { scroll-margin-top: 60px; }
.cat-cmp-h { display: flex; align-items: center; gap: 8px; margin: 28px 0 0; }
.gtabs { display: flex; gap: 6px; margin: 4px 0 8px; flex-wrap: wrap; }
.gtabs a { padding: 7px 14px; border-radius: 6px; 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: 14px 0; padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid var(--cyan); border-radius: var(--r); background: var(--surface); }
.conclusion h2 { margin: 0 0 10px; font-size: 17px; }
.cc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cc { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.cc-l { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.cc-p { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.cc-p img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); flex: 0 0 64px; }
.cc-p span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-p b { font-size: 15px; line-height: 1.35; }
.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; font-family: var(--mono); }
.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; } }
/* 단계 바로가기·탭 */
.skillnav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 16px 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 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; text-decoration: none; background: var(--surface); font-family: var(--mono); }
.skillnav a .skill { font-family: var(--sans); }
.skillnav a:hover { border-color: var(--line-strong); }
.skillnav a.on { border-color: var(--navy); background: var(--navy); color: #fff; font-weight: 700; }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.tab { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 6px; 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(--navy); border-color: var(--navy); color: #fff; }
.tab small { font-family: var(--mono); font-size: 11px; opacity: .75; margin-left: 2px; }
.tab:disabled { opacity: .4; cursor: default; }
.tabpanel { display: none; }
.tabpanel.on { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tab.on, :root:not([data-theme="light"]) .skillnav a.on { background: var(--cyan); border-color: var(--cyan); color: var(--accent-ink); } }
.tiers { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 6px; }
.tiers h2 { margin: 0 0 12px; }
.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: 10px 0 14px; }
.tiers table.ig { min-width: 0; width: auto; }
.tiers table.ig td, .tiers table.ig thead th:not(.ig-corner) { min-width: 170px; }
/* 모델별 분석 카드 */
.pick { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px 18px; margin-top: 14px; }
.pick h2 { margin: 0 0 8px; padding-right: 150px; font-size: 19px; }
.pick h2 small { margin-left: 6px; }
.pick > .sbadge { position: absolute; top: 16px; right: 16px; }
.pick-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.pick-body { display: flex; gap: 18px; align-items: flex-start; }
.pick-body > div { min-width: 0; }
.pick-body p { margin: 0 0 10px; }
.pick-img { flex: 0 0 120px; width: 120px; height: 120px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
@media (max-width: 640px) {
  .pick { padding: 14px; }
  .pick h2 { padding-right: 0; }
  .pick > .sbadge { position: static; margin-bottom: 8px; }
  .pick-body { flex-direction: column; }
}
.news { margin-top: 20px; }
.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: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.choose h2 { margin-top: 0; }
.choose-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.choose-pick a { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; background: var(--surface-2); }
.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: 12px; }
.choose-pick .vd { display: block; margin-top: 4px; color: var(--text); opacity: .8; }
.old-note { margin: 10px 18px 0; padding: 10px 14px 10px 30px; background: var(--surface-2); border-radius: 8px; font-size: 13px; line-height: 1.6; }
.offerless { margin: 14px 0; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r); }
.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: 32px; }
.howto h3 { margin-top: 18px; }
.hero h2.sub, h2.sub { font-size: 15px; margin: 18px 0 6px; }
.checks { padding-left: 20px; margin: 8px 0 16px; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); text-decoration: none; font-size: 14px; }
.chips a:hover { border-color: var(--accent); }

/* 특화 점수 비교 (config/vertical.json dist) */
.dist { margin: 28px 0; }
.dist h2 small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.bar.dist i { background: var(--amber) !important; }
.dist-top { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.dist-top a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; 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: 8px; }
.dist-tl { font-size: 12px; color: var(--muted); font-weight: 600; }
.dist-top b { font-size: 14px; line-height: 1.35; }
.dist-n { font-family: var(--mono); font-size: 22px; font-weight: 800; color: var(--amber-ink); }
.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 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; }
.dist-list a::before { content: counter(d); font-family: var(--mono); font-weight: 800; color: var(--muted); text-align: center; }
.dist-list img, .dimg { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 6px; }
.dist-list .bar { display: block; height: 8px; background: var(--track); border-radius: 4px; overflow: hidden; }
.dist-list .bar i { display: block; height: 100%; }
.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-family: var(--mono); font-size: 16px; color: var(--amber-ink); 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, 420px) minmax(0, 1fr); gap: 28px; margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.pd h1 { margin: 2px 0 6px; font-size: clamp(22px, 3vw, 30px); }
.pd-info .pt-badges { margin-bottom: 4px; }
.pd-sum { font-size: 15px; }
.gal-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; overflow: hidden; padding: 16px; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; }
.gal-t { padding: 0; border: 2px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; aspect-ratio: 1; overflow: hidden; }
.gal-t.on { border-color: var(--cyan); }
.gal-t img { width: 100%; height: 100%; object-fit: contain; }
.gal-note { font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.pd-price { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 6px; padding: 12px 14px; background: var(--surface-2); border-radius: 8px; }
.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 12px; }
.pd-price .lvl-link small { font-size: 13px; }
/* 사양표: 항목 / 값 줄 */
.spec-sheet { margin: 14px 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 13px; }
.spec-sheet div { display: grid; grid-template-columns: minmax(110px, 38%) 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: 7px 12px; background: var(--surface-2); color: var(--muted); font-weight: 600; border-right: 1px solid var(--line); }
.spec-sheet dd { margin: 0; padding: 7px 12px; font-family: var(--mono); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; padding: 14px; gap: 16px; } }
/* 비교 분석 */
.ana { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.ana-head { display: flex; gap: 18px; align-items: center; }
.ana-score { flex: 0 0 104px; height: 104px; border-radius: 12px; background: var(--navy); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--on-navy-muted); }
.ana-score b { font-family: var(--mono); font-size: 34px; line-height: 1; color: var(--cyan-light); font-variant-numeric: tabular-nums; }
.ana-score small { font-family: var(--mono); font-size: 12px; }
.ana-score span { font-size: 11px; margin-top: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ana-score { background: #06222c; box-shadow: inset 0 0 0 1px #1d6f80; } }
.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: 21px; }
.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: 24px; margin-top: 18px; }
.ana-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 24px; align-items: center; gap: 10px; font-size: 14px; margin: 7px 0; }
.ana-row .bar { height: 8px; background: var(--track); border-radius: 4px; overflow: hidden; }
.ana-row .bar i { display: block; height: 100%; background: var(--cyan); border-radius: 4px; }
.ana-row b { font-family: var(--mono); text-align: right; }
.ana-pc p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; }
.ana-pc .pro { color: var(--good); }
.ana-pc .con { color: var(--bad); }
@media (max-width: 760px) { .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-family: var(--mono); font-size: 16px; font-weight: 800; color: var(--text); }
.pd-won b { font-size: 22px; }
.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-family: var(--mono); 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: 28px 0; }
.phist.empty { padding: 14px 16px; border: 1px dashed var(--line-strong); 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 12px; border-radius: 8px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.stats span { display: block; font-size: 12px; color: var(--muted); }
.stats b { font-family: var(--mono); 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; font-family: var(--mono); }
.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: 16px 0; padding: 12px; 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: 19px; margin: 24px 0 10px; }
.s-h small { color: var(--muted); font-weight: 400; }
.scmp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; overflow-x: auto; }
.scmp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.scmp-h a { text-decoration: none; }
.scmp-h h2 { font-size: 17px; margin: 0; }
.scmp-t { width: 100%; }
.scmp-t td.rk { font-family: var(--mono); font-weight: 800; 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; font-family: var(--mono); }
.scmp-t .pro { color: var(--good); }
.scmp-t .con { color: var(--bad); }
.sprod { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; margin-bottom: 10px; }
.sprod-img img { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--line); }
.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 { 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: 12px; }
.vgrid-s { grid-template-columns: repeat(auto-fill, minmax(150px, 180px)); margin-top: 12px; }
.vcard { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.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: 12px; 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: 10px 12px 12px; font-size: 14px; line-height: 1.45; }
.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: 0; right: 0; bottom: 0; z-index: 30; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); color: var(--on-navy); box-shadow: 0 -4px 14px rgba(0, 0, 0, .18); }
  .sb-t { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sb-t b { color: var(--amber); }
  .stickybuy .btn { flex: 0 0 auto; }
  body:has(.stickybuy) { padding-bottom: 76px; }
}
@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; }
.hhero .sk-4 { border-color: var(--navy-line); background: #06131d; }
.fbody .skill, .fbody .lvl, .fbody .tierline { align-self: flex-start; }
.fimg { background: var(--surface-2) !important; border-style: dashed !important; }
.pt-img:has(.ph) { background: var(--surface-2); }
.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: 14px; margin: 14px 0 4px; }
.cat-head h1 { margin: 0; }
.cat-head .updated { margin: 2px 0 0; }
.cat-head .rt-ico { width: 52px; height: 52px; flex-basis: 52px; border-radius: 12px; }
.rt-list a, .dist-list a { color: inherit; }
.rt-n small { font-family: var(--sans); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .toc { top: 42px; } }
/* 한글이 섞인 사양 값은 고정폭 글꼴 대신 본문 글꼴의 고정폭 숫자로 (한글 사이 공백이 벌어지지 않게) */
.schips li, .spec-sheet dd, .ig-spec { font-family: var(--sans); font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }
.spec-sheet dd { font-weight: 600; }
.pt-img:has(.ph) { aspect-ratio: 4 / 3; }
.quick { position: relative; }

/* 함께 운영하는 사이트 */
.foot .family a { color: var(--on-navy-muted); text-decoration: underline; text-underline-offset: 2px; }
.foot .family a:hover { color: #fff; }
