/* 바닥가 — 쇼핑몰처럼 담백한 흰 바탕, 상품이 먼저 보이는 화면 */
:root {
  --ink: #16191f;      /* 글자 */
  --paper: #ffffff;
  --mist: #f4f6f9;     /* 옅은 바탕 */
  --line: #e3e7ed;
  --muted: #6a7280;
  --sale: #e5282c;     /* 할인 = 빨강 */
  --near: #2463eb;     /* 바닥 근처, 버튼 = 파랑 */
  --tag: #ffd60a;      /* 바닥가 노랑(로고, 판정) */
  --navy: #0e1b33;     /* 그래프의 바닥선 */
  --body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--near);
  outline-offset: 2px;
}
h1, h2 { font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 19px; }
p { margin: 0; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.block { margin-top: 40px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.block > h2 { margin-bottom: 12px; }
.block-note { margin-top: 2px; font-size: 13px; color: var(--muted); }
.more { font-size: 13px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--ink); text-decoration: underline; }
.lead { color: var(--muted); max-width: 64ch; font-size: 15px; }
.stamp { white-space: nowrap; color: var(--ink); font-weight: 600; }
.empty { padding: 32px 0; color: var(--muted); }

/* ── 머리 ── */
.disclosure { background: var(--mist); color: var(--muted); font-size: 12px; line-height: 1.4; padding: 6px 16px; text-align: center; }
.top { border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 14px; padding-block: 12px; }
.logo {
  font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; text-decoration: none; flex: none;
  background: linear-gradient(var(--tag), var(--tag)) no-repeat 0 92% / 100% 38%;
  padding: 0 2px;
}
.search { display: flex; flex: 1; min-width: 0; max-width: 520px; margin-inline: auto; }
.search input {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--ink); border-right: 0; border-radius: 22px 0 0 22px; background: #fff; color: var(--ink);
}
.search button {
  height: 44px; padding: 0 18px 0 14px; font: inherit; font-weight: 700; cursor: pointer;
  border: 1.5px solid var(--ink); border-left: 0; border-radius: 0 22px 22px 0; background: var(--ink); color: #fff;
}
.nav { display: flex; gap: 20px; overflow-x: auto; padding-block: 10px; font-size: 14px; white-space: nowrap; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:nth-child(-n+4) { color: var(--ink); font-weight: 700; }
.nav a:hover { color: var(--ink); text-decoration: underline; }

/* ── 홈 첫머리 ── */
.intro { margin-top: 28px; }
.intro h1 { font-size: 24px; }
.intro .lead { margin-top: 6px; }

/* ── 상품 카드 ── */
.card { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.card-img { position: relative; display: block; aspect-ratio: 1; background: #fff; margin-bottom: 12px; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.badge { position: absolute; left: 0; bottom: -8px; font-size: 13px; font-weight: 700; line-height: 1; padding: 6px 10px; border-radius: 12px; color: #fff; }
.b-floor { background: var(--sale); }
.b-near { background: var(--near); }
.b-top { background: var(--ink); }
.card-price { font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.card-off { font-size: 13px; line-height: 1.5; color: var(--sale); }
.card-off b { font-size: 15px; font-weight: 600; margin-right: 2px; }
.card-off.none { color: var(--muted); }
.card-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 14px; line-height: 1.4; color: #2b3038; }
.card:hover .card-name { text-decoration: underline; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }

/* ── 가로로 넘기는 상품 줄 ── */
.rail { position: relative; margin-top: 14px; }
.rail-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  margin-inline: -16px; padding: 0 16px 10px; scroll-padding-inline: 16px;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { flex: none; width: 42%; max-width: 190px; scroll-snap-align: start; }
.rail-btn { display: none; }

/* ── 순위·카테고리·설명 ── */
.how p { max-width: 64ch; margin-top: 10px; color: var(--muted); font-size: 15px; }
.how p:first-of-type { margin-top: 0; }

/* ── 목록 화면 ── */
.list-head { margin-top: 24px; }
.list-head h1 { font-size: 24px; }
.list-head .lead { margin-top: 6px; }
.list-head + .block { margin-top: 24px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 2px; }
.search-big { max-width: 560px; margin: 16px 0 12px; }

/* ── 상품 상세 ── */
.p-top { margin-top: 20px; }
.p-grid { display: grid; gap: 20px; }
.p-img { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; max-width: 420px; }
.p-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.p-main h1 { font-weight: 600; font-size: 19px; line-height: 1.45; }
.p-rank { margin-top: 8px; font-size: 13px; font-weight: 600; }
.p-rank a { display: inline-block; text-decoration: none; background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 11px; }
.p-answer { margin: 6px 0 2px; font-size: 14px; line-height: 1.55; color: var(--muted, #555); }
.p-price { font-weight: 800; font-size: 34px; line-height: 1.2; margin-top: 10px; letter-spacing: -0.02em; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; }
.p-price small { font-size: 22px; font-weight: 700; }
.chip { font-size: 12px; font-weight: 600; border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; margin-left: 8px; align-self: center; color: var(--muted); letter-spacing: 0; }
.verdict { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: var(--mist); font-size: 14px; color: #2b3038; }
.verdict b { display: block; font-weight: 800; font-size: 18px; line-height: 1.4; color: var(--ink); }
.verdict.v-floor { background: #fff6c2; }
.verdict.v-floor b { color: var(--sale); }
.verdict.v-near b { color: var(--near); }
.cta {
  display: flex; align-items: center; justify-content: center; min-height: 54px; margin-top: 16px; padding: 0 20px;
  background: var(--near); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; border-radius: 8px;
}
.cta:hover { background: #1a4fc4; }
.p-disclosure { margin-top: 10px; font-size: 13px; color: var(--muted); }
.p-stamp { margin-top: 4px; font-size: 13px; color: var(--muted); }
.notice { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--sale); border-radius: 8px; font-size: 14px; }
.caveat { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* 살까 말까 게이지: 왼쪽 끝 = 추적 최저가, 오른쪽 끝 = 추적 최고가 */
.gauge { max-width: 640px; padding: 14px 14px 0; }
.gauge-ends { display: flex; justify-content: space-between; margin: 12px -14px 0; font-size: 14px; font-weight: 600; }
.meter { --pos: 0; position: relative; display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #cfe0ff, #eceff3 50%, #ffd6d4); }
.meter i { position: absolute; top: 50%; left: calc(var(--pos) * 100%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); }
.meter.on-floor i { background: var(--tag); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0 0; border-top: 1px solid var(--ink); }
.stats div { padding: 12px 4px; border-bottom: 1px solid var(--line); }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 0; font-size: 18px; font-weight: 700; }
.stats small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }

/* 그래프 기간 탭: 라디오 버튼으로 동작해서 스크립트가 필요 없다 */
.periods { display: flex; flex-wrap: wrap; gap: 6px; max-width: 640px; }
.periods input { position: absolute; opacity: 0; pointer-events: none; }
.periods label { font-size: 14px; padding: 5px 14px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.periods label:hover { border-color: var(--ink); }
.periods input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.periods input:focus-visible + label { outline: 3px solid var(--near); outline-offset: 2px; }
.pane { display: none; flex-basis: 100%; margin-top: 8px; }
#pd-d30:checked ~ .pane-d30, #pd-d90:checked ~ .pane-d90, #pd-d365:checked ~ .pane-d365, #pd-all:checked ~ .pane-all { display: block; }
.chart { width: 100%; max-width: 640px; height: auto; display: block; color: var(--navy); }
.c-line { fill: none; stroke: var(--near); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.c-range { stroke: var(--line); stroke-width: 8; stroke-linecap: round; }
.c-dot { fill: #fff; stroke: var(--near); stroke-width: 3; }
.c-dot.c-low { fill: var(--tag); stroke: var(--navy); }
.c-floor { stroke: var(--navy); stroke-width: 3; }
.c-ground { opacity: 0.45; }
.c-hi { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 6; }
.c-x, .c-lab { font-family: var(--body); font-size: 20px; fill: var(--muted); }
.c-lab-floor { fill: var(--ink); font-weight: 700; }
.chart-empty { padding: 24px 0; color: var(--muted); }
.daily { margin-top: 14px; max-width: 640px; }
.daily summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 8px 0; }
.daily table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 6px; }
.daily th, .daily td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.daily th:first-child, .daily td:first-child { text-align: left; }
.daily th { font-weight: 600; border-bottom: 1px solid var(--ink); }

.options { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.options a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.options a:hover { border-color: var(--ink); }
.options img { width: 40px; height: 40px; object-fit: contain; }
.options em { font-style: normal; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 9px; }

.faq { margin: 0; border-top: 1px solid var(--ink); max-width: 760px; }
.faq div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; }
.faq dd { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* 휴대폰에서 화면 아래에 붙는 구매 버튼 */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; transform: translateY(110%); transition: transform 0.2s; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(22, 25, 31, 0.08); }
.buybar.show { transform: none; }
@media (prefers-reduced-motion: reduce) { .buybar { transition: none; } }
.buybar-price { font-weight: 700; font-size: 17px; line-height: 1.25; white-space: nowrap; }
.buybar-price small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.buybar .cta { flex: 1; margin: 0; min-height: 48px; font-size: 16px; }
.pp .foot { padding-bottom: 84px; }

/* ── 글 화면 ── */
.prose { max-width: 760px; }
.prose h1 { font-size: 26px; margin-bottom: 16px; }
.prose h2 { margin: 30px 0 8px; font-size: 19px; }
.prose p, .prose li { color: #2b3038; font-size: 15px; }
.prose ul { padding-left: 20px; margin: 0; }
.prose li + li { margin-top: 6px; }

/* ── 바닥글 ── */
.foot { margin-top: 64px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--mist); }
.foot .wrap { padding-block: 24px 40px; }
.foot p { max-width: 80ch; margin-top: 8px; }
.foot-logo { font-weight: 800; font-size: 17px; color: var(--ink); margin-top: 0; }

@media (min-width: 520px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail-track .card { width: 30%; }
}
@media (min-width: 760px) {
  .logo { font-size: 34px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  h2 { font-size: 20px; }
  .intro h1, .list-head h1 { font-size: 28px; }
}
@media (min-width: 900px) {
  .p-grid { grid-template-columns: 420px minmax(0, 1fr); gap: 36px; align-items: start; }
  .p-main h1 { font-size: 22px; }
  .p-price { font-size: 40px; }
  .buybar { display: none; }
  .pp .foot { padding-bottom: 0; }
  .block { margin-top: 52px; }
  /* 넓은 화면: 한 줄에 6개, 좌우 버튼으로 넘긴다 */
  .rail-track { gap: 22px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .rail-track .card { width: calc((100% - 110px) / 6); max-width: none; }
  .rail-btn {
    display: block; position: absolute; z-index: 2; top: 0; width: 40px; height: 40px; margin-top: calc((100% - 110px) / 12 - 20px);
    border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
    box-shadow: 0 2px 8px rgba(22, 25, 31, 0.14);
  }
  .rail-btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2.5px solid var(--near); border-right: 2.5px solid var(--near); }
  .rail-btn.prev { left: -20px; }
  .rail-btn.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
  .rail-btn.next { right: -20px; }
  .rail-btn.next::before { transform: translate(-70%, -50%) rotate(45deg); }
  .rail-btn:disabled { display: none; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 44px 22px; }
}

/* 가격 알림방 안내 */
.alert-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 48px; margin-bottom: 8px; padding: 20px 22px; border-radius: 14px; background: #fff8d6; }
.alert-title { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.4; }
.alert-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.alert-links { display: flex; flex-wrap: wrap; gap: 8px; }
.alert-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.alert-btn.kakao { background: #fee500; color: #191919; }
.alert-btn.telegram { background: #1b7fb0; color: #fff; }
@media (max-width: 519px) { .alert-links, .alert-btn { width: 100%; } .alert-btn { justify-content: center; } }

/* 품목별 비교 */
.card-unit { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.answer { font-size: 16px; line-height: 1.7; margin: 8px 0 0; padding: 14px 16px; background: #f6f7f9; border-radius: 12px; }
.answer a { font-weight: 700; color: inherit; }
.tips { margin: 8px 0 0; padding-left: 20px; line-height: 1.7; }
.hub-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hub-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid #e3e5e8; border-radius: 20px; text-decoration: none; color: inherit; font-size: 14px; font-weight: 600; }
.hub-links a small { color: var(--muted); font-weight: 500; }
.p-hub { margin: 10px 0 0; font-size: 14px; }
.p-hub a { color: inherit; font-weight: 700; }
.home-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 15px; }
.home-links a { color: inherit; font-weight: 700; }
.home-links a.home-kakao { background: #fee500; color: #191919; padding: 6px 12px; border-radius: 16px; text-decoration: none; }

/* 지금 사도 될까? 답 상자 */
.verdict .v-q { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.verdict .v-why { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }
.verdict .v-why strong { font-weight: 700; }
.verdict.v-mid b, .verdict.v-high b { color: #8a4b00; }
.verdict.v-high { background: #fff1e6; }
.cta.cta-wait { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.cta.cta-wait:hover { background: var(--mist); }
.p-wait { margin: 8px 0 0; font-size: 14px; }
.p-wait a { color: #191919; background: #fee500; display: inline-block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; line-height: 1.4; }
/* 홈 큰 검색창 */
.home-search { margin: 16px 0 6px; max-width: 640px; }
.home-search input { min-width: 0; }
.home-tip { margin: 0 0 12px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.home-tip a { color: inherit; text-decoration: underline; }
.install-btn { font: inherit; font-weight: 700; padding: 10px 14px; border-radius: 8px; border: 0; background: #FFD60A; color: #0E1B33; cursor: pointer; }
.how h3 { margin: 16px 0 6px; font-size: 16px; }
.how ol { margin: 0; padding-left: 20px; line-height: 1.7; }
/* 휴대폰: 사진을 줄여 '지금 사도 될까?' 답이 첫 화면에 보이게 */
@media (max-width: 899px) {
  .p-grid { gap: 12px; }
  .p-img { max-width: 180px; margin: 0 auto; }
  .p-main h1 { font-size: 19px; }
  .p-price { margin-top: 4px; }
}
/* 사전예약 모음 */
.pre-event h2 { font-size: 21px; }
.pre-when { margin: 6px 0 4px; font-size: 14px; color: var(--muted); }
.pre-status { display: inline-block; margin-right: 6px; padding: 3px 8px; border-radius: 10px; background: var(--line); color: var(--ink); font-size: 12px; }
.pre-status.on { background: var(--sale); color: #fff; }
.pre-cta { max-width: 420px; }
.pre-group { margin-top: 28px; }
.pre-group h3 { font-size: 17px; margin-bottom: 12px; word-break: keep-all; }
.pre-from { display: inline-block; font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }

/* ── 코디 가이드(AI 룩북) 11-06 ── */
.guide-head p, .guide-sec p { max-width: 68ch; margin-top: 10px; font-size: 16px; line-height: 1.75; }
.guide-date { color: var(--muted); font-size: 13px !important; margin-top: 4px !important; }
.guide-sum { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: #fff8d1; border-left: 4px solid var(--tag); max-width: 68ch; }
.guide-sum b { font-size: 15px; }
.guide-sum ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.7; }
.look { margin: 18px 0 6px; max-width: 480px; }
.look img { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--mist); }
.look figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.ai-tag { display: inline-block; margin-left: 4px; padding: 1px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; }
.ai-note { font-size: 13px !important; color: var(--muted); }
.guide-sec h2 { font-size: 21px; line-height: 1.4; }
.guide-pick { font-size: 14px !important; color: var(--muted); }
.guide-sec .grid { margin-top: 12px; }
.tbl { overflow-x: auto; margin-top: 12px; }
.tbl table { border-collapse: collapse; min-width: 520px; font-size: 14px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tbl th { background: var(--mist); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; max-width: 68ch; }
.faq summary { font-weight: 700; cursor: pointer; }
.g-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.g-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.g-card img, .g-noimg { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; background: var(--mist); }
.g-noimg { display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.g-card span { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .guide-sec h2 { font-size: 19px; } .look { max-width: 100%; } }
/* 11-06 모델 비교 표 */
.cmp { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.cmp th, .cmp td { border-bottom: 1px solid var(--line, #e5e7eb); padding: 8px 6px; text-align: left; vertical-align: top; }
.cmp thead th { font-weight: 700; }
.cmp tbody th { color: var(--muted); font-weight: 500; width: 34%; }

/* 11-10 메인 바로가기 버튼 */
.chips { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 8px; overflow-x: auto; margin: 14px -16px 4px; padding: 2px 16px 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { display: flex; align-items: center; gap: 6px; white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; color: inherit; background: var(--card, #fff); }
.chips a span { font-size: 15px; }
@media (min-width: 900px) { .chips { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 14px 0 4px; padding: 0; } }
/* 찜 */
.wish { display: block; width: 100%; margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; background: var(--card, #fff); font-size: 15px; font-weight: 700; cursor: pointer; text-align: center; color: inherit; }
.wish small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.wish.on { border-color: #e11d48; color: #e11d48; }
.wish-diff { font-size: 13px; font-weight: 700; }
.wish-diff.down { color: #e11d48; } .wish-diff.up { color: var(--muted); }
.saved-del { margin-top: 4px; font-size: 12px; color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; }
/* 11-10 더 보기 · 품목 버튼 접기 */
.more-btn { display: block; width: 100%; margin: 16px 0 0; padding: 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 10px; background: var(--card, #fff); font-size: 15px; font-weight: 700; cursor: pointer; color: inherit; }
.hub-links.folded { max-height: 132px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.grid > [hidden] { display: none !important; }
.nav .nav-all { font-weight: 800; }

/* 11-10 살까말까 동전 */
.coin-wrap{text-align:center}
.coin{width:150px;height:150px;border-radius:50%;border:4px solid #e8b931;background:radial-gradient(circle at 35% 30%,#ffe9a8,#f3c436);font-size:72px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform .15s}
.coin:active{transform:scale(.94)}
.coin.spin{animation:coinspin 1.2s ease-in-out}
@keyframes coinspin{0%{transform:rotateY(0)}100%{transform:rotateY(1800deg)}}
.coin-result{font-size:1.25rem;font-weight:700;margin:16px 0 8px;min-height:1.6em}
.coin-again button{margin:0 4px}
.coin-search{display:flex;gap:8px;max-width:460px}
.coin-search input{flex:1;padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:10px;font-size:1rem;min-width:0}
.coin-search button{padding:10px 16px;border:0;border-radius:10px;background:var(--brand,#1a73e8);color:#fff;font-weight:700;cursor:pointer}

/* 11-10 퀴즈·유형 테스트·7일 참기 */
.quiz-step{color:var(--muted,#888);font-weight:700;margin-bottom:8px}
.quiz-card{text-align:center;margin-bottom:14px}
.quiz-card img{width:180px;height:180px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid var(--line,#eee)}
.quiz-name{font-weight:700;margin-top:10px}
.quiz-opts,.st-opts{display:grid;gap:8px;max-width:420px}
.quiz-opt{padding:12px;border:1.5px solid var(--line,#ddd);border-radius:12px;background:var(--card,#fff);font-size:1.05rem;font-weight:700;cursor:pointer;text-align:left}
.quiz-opt.ok{border-color:#1a9c4b;background:rgba(26,156,75,.1)}
.quiz-opt.no{border-color:#d4452c;background:rgba(212,69,44,.08)}
.quiz-opt:disabled{cursor:default;opacity:.85}
.quiz-reveal{margin-top:12px}
.quiz-done{text-align:center}
.quiz-score{font-size:1.4rem;margin:8px 0}
.quiz-rank{font-size:1.1rem;margin-bottom:12px}
.st-q{font-size:1.15rem;font-weight:800;margin-bottom:12px}
.st-emoji{font-size:56px;margin:0}
.st-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:10px}
.wish-badge{display:block;font-size:.78rem;font-weight:700;color:#8a6d1a;margin-top:2px}
.wish-badge.win{color:#1a9c4b}

/* 11-10 공유 버튼 */
.share-row{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.share-row button{flex:1;min-width:150px;padding:11px 10px;border:1.5px solid var(--line,#ddd);border-radius:12px;background:var(--card,#fff);font-weight:700;font-size:.95rem;cursor:pointer}
.share-row .shr{border-color:#e8b931;background:rgba(255,204,51,.12)}

/* 11-11 예산 탭 */
.budget-tabs a.on{background:var(--brand,#1a73e8);color:#fff;border-color:var(--brand,#1a73e8)}

/* 11-11 PC 견적 */
.cmp td.num{white-space:nowrap;font-weight:700;text-align:right}
.cmp tr.total th,.cmp tr.total td{border-top:2px solid var(--fg,#111);font-size:1.05rem}

/* 11-11 견적 계산기 */
.pcb{border:1px solid var(--line,#e5e5e5);border-radius:14px;padding:14px;background:var(--card,#fff)}
.pcb-row{display:flex;align-items:center;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.pcb-l{flex:0 0 84px;font-weight:700;font-size:.92rem}
.pcb-row select{flex:1;min-width:0;max-width:100%;padding:9px 8px;border:1px solid var(--line,#ddd);border-radius:10px;font-size:.92rem;background:var(--bg,#fff);color:inherit}
.pcb-go{font-size:.82rem;white-space:nowrap}
.pcb-empty{color:var(--muted,#888)}
.pcb-chips{display:flex;gap:6px;flex-wrap:wrap}
.pcb-chip{padding:7px 12px;border:1.5px solid var(--line,#ddd);border-radius:999px;background:transparent;font-weight:700;font-size:.88rem;cursor:pointer;color:inherit}
.pcb-chip.on{background:#17233b;color:#fff;border-color:#17233b}
.pcb-total{border-top:2px solid var(--fg,#111);margin-top:6px;padding-top:12px}
.pcb-total>div:first-child{display:flex;justify-content:space-between;align-items:baseline}
.pcb-total strong{font-size:1.5rem}
.pcb-budget{display:flex;align-items:center;gap:8px;margin:10px 0 4px;font-weight:700;font-size:.92rem}
.pcb-msg{font-weight:700;margin:6px 0}
.pcb-msg.ok{color:#1a9c4b}.pcb-msg.over{color:#d4452c}
.pcb-warn{color:#92610c;background:rgba(240,177,69,.15);border-radius:8px;padding:8px 10px;margin:6px 0;font-size:.9rem}
.pcb-acts{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
@media(max-width:480px){.pcb-l{flex-basis:100%}.pcb-row select{flex-basis:100%}}

/* 11-11 견적 모니터 추천 */
.pcb-hint{flex-basis:100%;color:var(--muted,#667);font-size:.86rem}
.pcb-link{border:0;background:none;color:var(--brand,#1a73e8);font-weight:700;text-decoration:underline;cursor:pointer;padding:0;font-size:inherit}

/* 11-11 물가지수 */
.pidx-big{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:10px 0 0}
.pidx-big strong{font-size:3rem;line-height:1;letter-spacing:-.02em}
.pidx-big span{color:var(--muted);font-size:15px}
.pidx-chart{width:100%;max-width:760px;height:auto;display:block}
.pidx-chart text{font-size:12px;fill:var(--muted)}
.pidx-chart .base{stroke:var(--navy);stroke-width:1;stroke-dasharray:4 4}
.pidx-chart .ln{fill:none;stroke:var(--near);stroke-width:2.5;stroke-linejoin:round}
.pidx-chart .dot{fill:var(--near)}
.pcb-empty{color:var(--muted);font-size:13px}

.pcb-budget .nw{white-space:nowrap}
.pcb-top{margin:0 0 12px}

/* 11-11 가이드 자주 묻는 질문(가운데 정렬 유지) */
.guide-faq details{border-bottom:1px solid var(--line);padding:12px 0;max-width:68ch}
.guide-faq summary{font-weight:700;cursor:pointer}
.g-list{max-width:1000px}

/* 11-12 기간별 최저 버튼 */
.ptabs{display:flex;gap:8px;flex-wrap:wrap}
.ptab{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:700;text-decoration:none;color:var(--ink);background:var(--paper);white-space:nowrap}
.ptab small{font-weight:600;color:var(--muted);font-size:12px}
.ptab.on{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.ptab.on small{color:var(--paper);opacity:.8}
.ptab.off{color:var(--muted);background:var(--mist)}

/* 11-12 견적 구매 체크리스트 */
.pcb-ck{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.pcb-ck h3{font-size:17px;margin:0 0 4px}
.pcb-ck h3 small{font-weight:600;color:var(--muted);font-size:13px;margin-left:6px}
.pcb-ck ul{list-style:none;margin:10px 0;padding:0}
.pcb-ck li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.pcb-ck li span{min-width:0;overflow-wrap:anywhere}
.pcb-ck li.done span{color:var(--muted)}
.pcb-buy{flex:none;padding:8px 12px;border-radius:8px;background:var(--near);color:#fff;font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}
.pcb-ck li.done .pcb-buy{background:var(--mist);color:var(--ink)}

/* 11-12 목록 카드의 쿠팡 바로가기 */
.card-a { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; text-decoration: none; color: inherit; }
.card-go { display: block; margin-top: 10px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; color: var(--ink); background: #fff; }
.card-go:hover { background: var(--mist); }
.answer-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.answer-go .cta { display: inline-flex; min-height: 46px; margin: 0; font-size: 15px; }
.answer-more { font-size: 14px; }

/* 11-12 카드 판정 한 줄, 홈 정리, 검색 품목 링크 */
.card-v { display: block; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.card-v.v-good { color: var(--near); font-weight: 600; }
.intro-v2 .lead { margin-top: 4px; font-size: 14px; }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); background: #fff; white-space: nowrap; }
.quick a span { font-size: 20px; line-height: 1; }
.quick a:hover { background: var(--mist); }
@media (min-width: 900px) { .quick { grid-template-columns: repeat(8, minmax(0, 1fr)); max-width: 960px; } }
#search-hubs { margin-bottom: 20px; }

/* 11-13 목표가 알림 */
.pa { margin-top: 10px; }
.pa-open { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: center; cursor: pointer; }
.pa-open small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.pa-open.on { border-color: var(--near); color: var(--near); }
.pa-box { margin-top: 8px; padding: 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: var(--mist, #f6f7f9); }
.pa-now { font-size: 14px; font-weight: 600; }
.pa-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.pa-chips button { padding: 7px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.pa-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pa-input { flex: 1 1 120px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; font: inherit; font-size: 16px; background: #fff; }
.pa-save { padding: 10px 16px; border: 0; border-radius: 8px; background: var(--near); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.pa-save:disabled { opacity: .5; cursor: default; }
.pa-off { padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.pa-msg { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink); min-height: 1em; }
.pa-note { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.pa-list { list-style: none; padding: 0; margin: 12px 0; }
.pa-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 0; border-bottom: 1px solid var(--line, #e5e7eb); font-size: 14px; }
.pa-list li a { flex: 1 1 200px; min-width: 0; }
.pa-list li span { font-weight: 600; white-space: nowrap; }
.pa-list li button { padding: 6px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }

/* 11-16 홈 띠 */
.home-bands { display: grid; gap: 8px; margin-top: 12px; }
.home-band { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: #191919; font-size: 14px; line-height: 1.35; }
.home-band b { font-weight: 700; }
.home-band span { flex: none; font-size: 13px; opacity: .8; }
.hb-sale { background: #111827; color: #fff; }
.hb-kakao { background: #fee500; }
@media (min-width: 900px) { .home-bands { grid-template-columns: 1fr 1fr; max-width: 960px; } }

.p-gold { margin: 6px 0; padding: 8px 12px; border-radius: 10px; background: #fff4e5; font-size: 14px; line-height: 1.5; }
.p-gold a { font-weight: 700; color: #b45309; text-decoration: none; }

.search-coupang { display: block; width: 100%; margin: 0 0 8px; text-align: center; }

/* 11-16 아이폰 알림 안내 */
.help-steps ol { padding-left: 1.4em; }
.help-steps li { margin: 0 0 22px; }
.help-steps li p { margin: 0 0 8px; }
.help-steps img { display: block; width: 100%; max-width: 420px; height: auto; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; }
.pa-msg a { font-weight: 700; white-space: nowrap; }

/* 11-16 기다리라는 판정일 때 알림 버튼을 앞세운다 */
.pa-wait .pa-open:not(.on) { background: #fff7d6; border-color: #e2b93b; font-weight: 700; }

/* 11-16 기다리면 더 싸질까(기록 숫자) */
.p-waitstat { margin: 10px 0 12px; padding: 12px 14px; border: 1px solid var(--line, #e5e7eb); border-radius: 12px; background: #f8fafc; font-size: 14.5px; line-height: 1.55; }
.p-waitstat p { margin: 0; }
.p-waitstat .pa-jump { margin-top: 8px; padding: 7px 12px; border: 1px solid #e2b93b; border-radius: 999px; background: #fff7d6; font: inherit; font-weight: 700; cursor: pointer; }

.p-sib { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; }
.p-sib small { color: var(--muted, #6b7280); }

/* 11-16 블프 숫자 */
.sale-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 8px; }
.sale-stats div { border: 1px solid var(--line, #e5e7eb); border-radius: 14px; padding: 12px; background: #fff; }
.sale-stats b { display: block; font-size: 24px; }
.sale-stats span { font-size: 13px; color: var(--muted, #6b7280); line-height: 1.45; }
.sale-stats .ss-real b { color: #16a34a; } .sale-stats .ss-fake b { color: #d97706; } .sale-stats .ss-up b { color: #dc2626; }
@media (max-width: 640px) { .sale-stats { grid-template-columns: repeat(2, 1fr); } }
.sale-share .shr-page { padding: 10px 16px; border-radius: 999px; border: 1px solid #e2b93b; background: #fff7d6; font: inherit; font-weight: 700; cursor: pointer; }

/* 11-16 블로그 가격 카드 */
.embed { margin: 10px 0; font-size: 14px; }
.embed summary { cursor: pointer; color: var(--muted, #6b7280); }
.embed textarea { width: 100%; box-sizing: border-box; font: 12px/1.4 monospace; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: 8px; }
.embed-copy { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line, #e5e7eb); background: #fff; font: inherit; cursor: pointer; }

/* 11-17 PC 견적 표에서 바로 쿠팡으로 */
.pc-buy { display: inline-block; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: #1f6feb; color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* 11-18: 알리 소품 가격(/ali/) */
.b-ali { background: #e8412c; }
.ali-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.ali-chips .chip { margin-left: 0; text-decoration: none; color: #2b3038; padding: 4px 9px; }
.ali-note { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: #fff8f6; font-size: 13.5px; line-height: 1.55; }
.ali-note p { margin: 0 0 6px; }
.ali-note ul { margin: 0; padding-left: 18px; }
.ali-kw { margin: 6px 0 22px; }
.ali-kw h3 { font-size: 17px; margin: 0 0 4px; }
.ali-cmp { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.ali-cmp .ali-a { color: #c2361f; font-weight: 600; }
.ali-cmp .ali-c a { font-weight: 600; }
.ali-sum { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.ali-card .card-go { display: block; }

/* 11-18 묶음 알림 */
.ha { margin: 12px 0 4px; }
.ha-btn { display: block; width: 100%; text-align: left; border: 2px solid #1d1f23; background: #fff8d6; border-radius: 10px; padding: 10px 14px; font-size: 16px; font-weight: 700; cursor: pointer; color: #1d1f23; }
.ha-btn small { display: block; font-weight: 400; font-size: 13px; color: #555; margin-top: 2px; }
.ha-btn.on { background: #e8f6ee; border-color: #1e8a4f; }
.ha-msg { font-size: 13px; color: #444; margin: 6px 2px 0; }
