/*
 * 프로젝트 기준(2026-10-26·27): 글자 대비 4.5:1 이상, 작은 글자 12px 이상 — benji.org의 옅은 회색보다 이 기준이 먼저다.
 * 꿀통 v2.0.0 (2026-11-08) 사이트 공용 스타일 — agaya v4(benji.org/stageshow 디자인 언어)를 이식. 앞부분은 상품 페이지에서 시작한 토큰·틀·부품, 뒷부분은 사이트 전체 페이지, 맨 끝은 꿀통만(브랜드 색·블로그).
 * 색: 파랑(--accent)·빨강(--up)은 그래프 '평균보다 쌈/비쌈' 뜻으로만 쓰고, 메뉴·칩·초점·구매 단추 같은 UI 강조는 꿀통 호박색(--brand*)으로 나눴다.
 * 미색 바탕 · 조용한 회색 · 실제 단어는 이야기에만 · 가는 선 섹션 머리 · 회색 판 위 패널 · 손글씨 주석 하나 · 형광펜 결론 하나.
 * 사이트 전체가 이 한 장만 싣는다(옛 kkultong-1.1.x.css는 싣지 않음). 움직임 토큰은 transitions.dev 값.
 */

.agp {
	--bg: #FBFBFA;
	--surface: #FFFFFF;
	--plate: #F3F3F1;
	--plate-2: #ECECE9;
	--grid: rgba(24, 24, 22, 0.045);
	--line: #E9E9E6;
	--line-2: #D9D9D5;
	--ink: #18181A;
	--text: #36363A;
	--muted: #5F5F5B;
	--faint: #71716D;
	--accent: #2563EB;
	--accent-soft: #EBF1FE;
	--up: #BF3328;
	--up-soft: #FDEDEB;
	--mark: #FFE173;
	--brand: #A85F08;          /* 꿀통 호박색: 아이콘·초점 링·로고 점(흰 바탕 4.9:1) */
	--brand-ink: #8A4C05;      /* 글자·구매 단추 바탕(흰 글자 6.7:1, 빛줄기 지날 때 4.7:1) */
	--brand-deep: #6E3C04;     /* 마우스 올림 */
	--brand-soft: #FBF1DF;     /* 선택 바탕(진한 호박 글자 6.0:1) */
	--brand-line: rgba(168, 95, 8, 0.32);
	--hand-ink: #4E4B47;
	--shadow-card: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 1px 2px rgba(20, 20, 18, 0.04), 0 8px 24px -14px rgba(20, 20, 18, 0.18);
	--shadow-float: 0 0 0 1px rgba(20, 20, 18, 0.06), 0 2px 4px rgba(20, 20, 18, 0.05), 0 16px 40px -14px rgba(20, 20, 18, 0.28);
	--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
	--hand: "Nanum Pen Script", "Pretendard Variable", cursive;
	--sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	--duration-quick: 150ms;
	--duration-fast: 250ms;
	--duration-medium: 350ms;
	--ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-roll: cubic-bezier(0.32, 0.72, 0, 1);

	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: -0.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	word-break: keep-all;
	overflow-wrap: break-word;
}
.agp *, .agp *::before, .agp *::after { box-sizing: border-box; }
/* 초기화는 :where()로 0점 우선순위 — 아래 클래스 규칙의 여백·색을 덮지 않는다 */
:where(.agp) a { color: inherit; text-decoration: none; }
:where(.agp) img { max-width: 100%; }
:where(.agp) button { font: inherit; color: inherit; }
:where(.agp) :where(h1, h2, h3, p, ol, ul, figure) { margin: 0; }
:where(.agp) :where(ol, ul) { padding: 0; list-style: none; }
.agp :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.agp-mono { font-family: var(--mono); font-size: max(12px, 0.92em); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.agp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.agp-skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #FFF !important; }
.agp-skip:focus { left: 8px; }
.agp-i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── 위 띠 ───────────────────────────────────────── */
.agp-notice { max-width: 1520px; margin: 0 auto; padding: 10px 40px 0; font-size: 12px; color: var(--faint); text-align: center; }
.agp-top { position: relative; display: flex; align-items: center; gap: 32px; max-width: 1520px; margin: 0 auto; padding: 14px 40px 18px; }
.agp-logo { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 16px; font-weight: 800; letter-spacing: 0.02em; color: var(--ink) !important; }
.agp-logo em { font-style: normal; color: var(--brand); }
.agp-nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.agp-nav a { padding: 4px 0; transition: color var(--duration-quick) ease; }
.agp-nav a:hover { color: var(--ink); }
.agp-search { position: relative; display: flex; align-items: center; width: 260px; height: 38px; margin-left: auto; padding: 0 12px; border-radius: 10px; background: #F0F0ED; color: var(--faint); transition: background-color var(--duration-quick) ease, box-shadow var(--duration-quick) ease; }
.agp-search:focus-within { background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 4px var(--brand-soft); }
.agp-search input { flex: 1; min-width: 0; height: 100%; margin-left: 8px; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.agp-search input::placeholder { color: var(--muted); }
.agp-search-btn { display: none; }

/* ── 3단 격자 ───────────────────────────────────── */
.agp-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 1520px; margin: 0 auto; padding: 0 40px; }
.agp-rail, .agp-aside { display: none; }
.agp-main { min-width: 0; padding-top: 18px; }

@media (min-width: 1024px) {
	.agp-wrap { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
	.agp-aside { display: flex; flex-direction: column; gap: 32px; padding-top: 18px; }
}
@media (min-width: 1360px) {

	.agp-rail { display: block; position: sticky; top: 28px; align-self: start; padding-top: 22px; font-size: 13.5px; }
}

/* ── 레일: 이 페이지 목차 · 분류 ─────────────────── */
.agp-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; color: var(--muted); transition: color var(--duration-quick) ease; }
.agp-back:hover { color: var(--ink); }
.agp-back .agp-i { width: 15px; height: 15px; }
.agp-toc a, .agp-cats a { display: block; padding: 3px 0; color: var(--faint); transition: color var(--duration-quick) ease; }
.agp-toc a:hover, .agp-cats a:hover { color: var(--text); }
.agp-toc a[aria-current="true"], .agp-cats a[aria-current="page"] { color: var(--ink); }
.agp-rail-h { margin: 36px 0 8px; font-size: 12.5px; color: var(--ink); }
.agp-cats a { padding: 2px 0; font-size: 13px; }

/* ── 머리: 경로 · 이름 · 사진 판 · 가격 ─────────── */
.agp-path { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--faint); }
.agp-path a { color: var(--muted); transition: color var(--duration-quick) ease; }
.agp-path a:hover { color: var(--ink); }
.agp-title { max-width: 32em; margin-top: 10px; font-size: 24px; font-weight: 650; line-height: 1.38; letter-spacing: -0.022em; color: var(--ink); }
.agp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.agp-tags > * { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; color: var(--muted); }
.agp-tags a { transition: color var(--duration-quick) ease, box-shadow var(--duration-quick) ease; }
.agp-tags a:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }

.agp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
@media (min-width: 680px) {
	.agp-hero-grid { grid-template-columns: clamp(200px, 40%, 330px) minmax(0, 1fr); gap: 36px; align-items: start; }
}

/* 사진은 회색 판(모눈) 위에 곱하기로 앉힌다: 흰 배경 사진이 판에 녹는다 */
.agp-shot { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background-color: var(--plate); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; background-position: -1px -1px; }
.agp-shot .ag-p-img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.agp-shot .ag-p-img.is-empty, .agp-card-img.is-empty, .agp-mini-img.is-empty, .agp-bar-img.is-empty { display: grid; place-items: center; font-size: 44px; filter: grayscale(0.2); }
@media (max-width: 679px) {
	.agp-shot { aspect-ratio: 4 / 3; }
	.agp-shot .ag-p-img { width: 70%; height: 86%; }
}

.agp-buy { min-width: 0; padding-top: 4px; container-type: inline-size; }
/* 가격 칸이 좁으면(1024~1280 폭) 즐겨찾기는 아이콘만, 쿠팡 버튼 글자는 한 단계 작게 */
@container (max-width: 380px) {
	.agp-fav { width: 50px; padding: 0; justify-content: center; }
	.agp-fav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.agp-actions .ag-cta { padding: 0 12px; font-size: 14px; }
}
.agp-label { font-size: 13px; color: var(--muted); }
.agp-label .agp-mono { color: var(--text); }
.agp-label.is-stale b { font-weight: 600; color: var(--up); } /* 마지막 성공 가격이 7일보다 오래됨(2026-11-08) */
.agp-price-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; margin-top: 2px; }
.agp-price { display: flex; align-items: baseline; color: var(--ink); }
.agp-price b { font-size: 42px; font-weight: 700; line-height: 1.15; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.agp-price span { margin-left: 3px; font-size: 19px; font-weight: 600; }

/* 손글씨 주석: 화살표가 가격을 가리킨다 (benji.org의 여백 메모) */
.agp-hand { display: inline-flex; align-items: flex-start; gap: 2px; margin-top: 2px; color: var(--hand-ink); transform: rotate(-4deg); transform-origin: left center; }
.agp-hand svg { flex: none; margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.agp-hand span { font-family: var(--hand); font-size: 23px; line-height: 1; white-space: nowrap; clip-path: inset(-6px -6px -6px -6px); transition: clip-path 0.8s cubic-bezier(0.45, 0, 0.1, 1) 0.95s; }
.agp-hand path { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 0.45s ease-out 1.6s; }
.agp-hand path + path { transition-delay: 1.95s; transition-duration: 0.2s; }
.is-armed .agp-verdict mark { background-size: 0% 100%; }
.is-armed .agp-hand span { clip-path: inset(-6px 100% -6px -6px); }
.is-armed .agp-hand path { stroke-dashoffset: 1; }

/* 형광펜 결론 한 줄 */
.agp-verdict { margin-top: 10px; font-size: 16.5px; font-weight: 650; line-height: 1.5; letter-spacing: -0.015em; color: var(--ink); }
.agp-verdict mark { padding: 0 2px; margin: 0 -2px; background: linear-gradient(transparent 52%, var(--mark) 52%, var(--mark) 90%, transparent 90%) no-repeat 0 0 / 100% 100%; transition: background-size 0.7s cubic-bezier(0.45, 0, 0.1, 1) 0.15s; color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.agp-verdict-sub { margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* 6개월(기록) 범위: 슬라이더 모양, 손잡이 = 지금 */
.agp-range { margin-top: 22px; }
.agp-range-track { position: relative; height: 4px; border-radius: 2px; background: #E6E6E2; }
.agp-range-avg { position: absolute; top: -4px; width: 2px; height: 12px; margin-left: -1px; border-radius: 1px; background: #B9B9B4; }
.agp-range-gap { position: absolute; top: 0; height: 100%; border-radius: 2px; background: var(--accent); transition: transform 1s cubic-bezier(0.45, 0, 0.1, 1) 0.25s; }
.agp-range-gap.is-down { transform-origin: 100% 50%; }
.agp-range-gap.is-up { transform-origin: 0 50%; background: var(--up); }
.agp-range-knob { transition: left 1s cubic-bezier(0.45, 0, 0.1, 1) 0.25s; }
.is-armed .agp-range-knob { left: var(--from) !important; }
.is-armed .agp-range-gap { transform: scaleX(0); }
.agp-range-knob { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.1), 0 1px 3px rgba(20, 20, 18, 0.2); }
.agp-range-knob::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--accent); }
.agp-range-labels { position: relative; display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--faint); }
.agp-range-mid { position: absolute; left: var(--p); transform: translateX(-50%); white-space: nowrap; }

.agp-unit { margin-top: 16px; font-size: 13px; color: var(--muted); }
.agp-unit b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.agp-actions { display: flex; gap: 8px; margin-top: 20px; }
.agp .ag-cta { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 2px; min-width: 0; height: 50px; padding: 0 18px; border-radius: 12px; background: var(--brand-ink); color: #FFF; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08); transition: background-color var(--duration-quick) ease, transform var(--duration-quick) ease; }
.agp .ag-cta:hover { background: var(--brand-deep); }
.agp .ag-cta:active { transform: scale(0.985); }
.agp .ag-cta.is-off { background: #ECECE9; color: var(--muted); box-shadow: none; cursor: default; white-space: normal; text-align: center; font-size: 13.5px; }
.agp .ag-ad { display: inline-block; flex: none; margin-right: 8px; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, 0.2); font-size: 12px; font-weight: 600; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.agp .ag-cta.is-off .ag-ad, .agp .agaya-ad-tag .ag-ad { background: #ECECE9; color: var(--muted); }
.agp-fav { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 50px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-size: 14px; color: var(--text); cursor: pointer; transition: box-shadow var(--duration-quick) ease, color var(--duration-quick) ease; }
.agp-fav:hover { box-shadow: 0 0 0 1px #BDBDB8; color: var(--ink); }
.agp-fav .agp-i { width: 18px; height: 18px; transition: fill var(--duration-quick) ease, stroke var(--duration-quick) ease, transform var(--duration-fast) var(--ease-smooth-out); }
.agp-fav[aria-pressed="true"] .agp-i { fill: #F2B705; stroke: #E0A800; }
.agp-fav.is-pop .agp-i { transform: scale(1.18); }
.agp-disc { margin-top: 12px; font-size: 12px; line-height: 1.55; color: var(--faint); }
/* 수집 주기 안내(2026-11-09): 쿠팡 단추 아래, 파트너스 고지 위 */
.agp-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: 13px; line-height: 1.55; color: var(--muted); }
.agp-note svg { flex: none; margin-top: 2px; color: var(--accent); }
.agp-note b { color: var(--ink); font-weight: 600; }
.agp-note + .agp-disc { margin-top: 8px; }
/* 판매 중단 추정 안내 — 쿠팡 단추 바로 위(2026-11-08). 글자 #BF3328 / 바탕 #FDEDEB 대비 약 5:1 */
.agp-stopped { margin-top: 18px; padding: 10px 12px; border-radius: 10px; background: var(--up-soft); font-size: 13.5px; line-height: 1.5; color: var(--up); }
.agp-stopped time { font-weight: 600; }
.agp-stopped + .agp-actions { margin-top: 10px; }

/* ── 섹션 머리: 굵은 제목 + 오른쪽으로 이어지는 가는 선 ── */
.agp-sec { margin-top: 76px; scroll-margin-top: 24px; }
.agp-h[id], #comments { scroll-margin-top: 24px; } /* 목차로 이동할 때 제목이 화면 맨 위에 붙지 않게 */
.agp-hero { scroll-margin-top: 24px; }
.agp-h { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.agp-h::after { content: ""; order: 1; flex: 1; height: 1px; background: var(--line); }
.agp-h-more { order: 2; font-size: 13px; font-weight: 400; color: var(--muted); transition: color var(--duration-quick) ease; }
.agp-h-more::after, .agp-side-more::after { content: " →"; }
.agp-h-more:hover { color: var(--ink); }
.agp-lead { margin-top: 14px; font-size: 14px; color: var(--muted); }
.agp-empty { margin-top: 18px; font-size: 14px; color: var(--muted); }
.agp-cap { max-width: 36em; margin: 14px auto 0; font-size: 12.5px; color: var(--faint); text-align: center; }

/* ── 가격 흐름: 회색 판에서 올라온 패널(아래 가장자리로 이어짐) ── */
.agp-plate { margin-top: 26px; padding: 14px 14px 0; border-radius: 22px; background: var(--plate); overflow: hidden; }
.agp-chart { position: relative; padding: 22px 24px 18px; border-radius: 14px 14px 0 0; background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.045), 0 1px 2px rgba(20, 20, 18, 0.04); }
.agp-chart-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; }
.agp-readout { min-width: 0; }
.agp-readout-label { font-size: 13px; color: var(--muted); }
.agp-readout-value { display: flex; align-items: baseline; margin-top: 2px; color: var(--ink); }
.agp-readout-value b { font-size: 30px; font-weight: 650; line-height: 1.2; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.agp-readout-value > span { margin-left: 2px; font-size: 16px; font-weight: 600; }
.agp-readout-delta { display: inline-flex; align-items: center; height: 22px; margin-top: 6px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; background: #F1F1EE; color: var(--muted); transition: background-color 200ms ease, color 200ms ease; }
.agp-readout-delta:empty { display: none; }
.agp-readout-delta.is-down { background: var(--accent-soft); color: var(--accent); }
.agp-readout-delta.is-up { background: var(--up-soft); color: var(--up); }

/* 숫자 굴림(Roll): 바뀐 부분만 아래에서 올라오고 옛 글자는 위로 빠진다 */
.agp-roll { white-space: pre; }
.agp-roll-mid { display: inline-grid; padding-block: 0.45em; margin-block: -0.45em; vertical-align: bottom; -webkit-mask-image: linear-gradient(transparent, #000 0.45em, #000 calc(100% - 0.45em), transparent); mask-image: linear-gradient(transparent, #000 0.45em, #000 calc(100% - 0.45em), transparent); transition: width 0.42s var(--ease-smooth-out); }
.agp-roll-item { grid-area: 1 / 1; justify-self: start; width: max-content; }
.agp-roll-ch { display: inline-block; white-space: pre; animation: agp-roll-in 0.42s var(--ease-roll) both; }
.agp-roll-item[data-out] { animation: agp-roll-out 0.42s var(--ease-roll) both; }
@keyframes agp-roll-in { from { opacity: 0; transform: translateY(100%); } }
@keyframes agp-roll-out { to { opacity: 0; transform: translateY(-100%); } }
.agp-readout-label .agp-roll-ch { animation-name: agp-fade-in; animation-duration: 0.3s; animation-delay: 0.08s; }
.agp-readout-label .agp-roll-item[data-out] { animation-name: agp-fade-out; animation-duration: 0.15s; }
.agp-readout-label .agp-roll-mid { padding-block: 0; margin-block: 0; -webkit-mask-image: none; mask-image: none; }
@keyframes agp-fade-in { from { opacity: 0; transform: translateY(3px); } }
@keyframes agp-fade-out { to { opacity: 0; transform: translateY(-3px); } }

/* 기간 단추: 흰 알약이 미끄러진다 (transitions.dev tabs sliding) */
.agp-seg { position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: #F0F0ED; }
.agp-seg button { position: relative; z-index: 1; height: 30px; padding: 0 13px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 550; color: var(--muted); cursor: pointer; transition: color var(--duration-fast) var(--ease-smooth-out); }
.agp-seg button:hover, .agp-seg button[aria-pressed="true"] { color: var(--ink); }
.agp-seg-pill { position: absolute; top: 3px; left: 0; z-index: 0; width: 0; height: 30px; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 1px 2px rgba(20, 20, 18, 0.1); transform: translateX(0); transition: transform var(--duration-fast) var(--ease-smooth-out), width var(--duration-fast) var(--ease-smooth-out); will-change: transform, width; pointer-events: none; }

.agp-plot { position: relative; height: 210px; margin: 22px 0 0; touch-action: pan-y; cursor: crosshair; outline-offset: 6px; }
.agp-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.agp-svg .agp-area { stroke: none; }
.agp-svg .agp-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.agp-svg .agp-avg { stroke: #BDBDB8; stroke-width: 1; stroke-dasharray: 3 4; }
.agp-svg .agp-end { fill: var(--accent); stroke: var(--surface); stroke-width: 2.5; }
.agp-svg .agp-mark { fill: var(--surface); stroke: var(--muted); stroke-width: 1.5; }
.agp-svg .agp-grid-l { stroke: #F1F1EE; stroke-width: 1; }
/* 처음 보일 때·기간을 바꿀 때: 점이 선 끝을 타고 왼쪽에서 오른쪽으로 그리고, 큰 값이 그 점의 가격으로 굴러간다(JS가 clip-path를 움직임) */
.agp-plot.is-pre .agp-svg { clip-path: inset(-24px calc(100% + 24px) -24px -24px); }
.agp-plot.is-pre .agp-plot-label, .agp-plot.is-drawing .agp-plot-label { opacity: 0; }
.agp-plot.is-drawing .agp-dot { opacity: 1; transition: none; }

/* 지금이 최저일 때: '지금 최저 −N원' 표가 뜨고, 점에서 물결 두 번(선은 가격 선 하나만) */
.agp-callout { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--accent); color: #FFF; font-size: 13px; font-weight: 650; line-height: 1; white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6); pointer-events: none; opacity: 0; transform: translate(calc(-100% + 12px), calc(-100% - 10px)) scale(0.94); transform-origin: 90% 100%; transition: opacity 0.25s ease, transform 0.25s ease; }
.agp-callout b { font-family: var(--mono); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.agp-callout::after { content: ""; position: absolute; right: 8px; bottom: -4px; width: 8px; height: 8px; border-radius: 1px; background: inherit; transform: rotate(45deg); }
.agp-plot.is-emph .agp-callout { opacity: 1; transform: translate(calc(-100% + 12px), calc(-100% - 16px)) scale(1); transition: opacity 0.3s ease 0.38s, transform 0.5s var(--ease-smooth-out) 0.38s; }
.agp-plot.is-scrub .agp-callout, .agp-plot.is-drawing .agp-callout { opacity: 0; transition-delay: 0s; }
.agp-ripple { position: absolute; z-index: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; pointer-events: none; }
.agp-plot.is-fresh .agp-ripple { animation: agp-ripple 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) 0.5s both; }
.agp-plot.is-fresh .agp-ripple + .agp-ripple { animation-delay: 0.9s; }
@keyframes agp-ripple { 0% { opacity: 0.6; transform: scale(1); } 100% { opacity: 0; transform: scale(3.8); } }
.agp-plot-label.is-tuck { opacity: 0 !important; }
.agp-plot-label { position: absolute; z-index: 1; font-family: var(--mono); font-size: 12px; line-height: 1; color: var(--faint); white-space: nowrap; pointer-events: none; transition: opacity var(--duration-quick) ease; }
.agp-plot-label.is-avg { right: 0; transform: translateY(-140%); padding: 0 0 0 6px; background: linear-gradient(90deg, transparent, var(--surface) 6px); }
.agp-plot-label.is-avg.is-under { transform: translateY(45%); }
.agp-plot-label.is-mark { transform: translate(-50%, -180%); color: var(--muted); }
.agp-plot-label.is-mark.is-below { transform: translate(-50%, 90%); }
.agp-plot.is-scrub .agp-plot-label.is-mark { opacity: 0; }
.agp-hair { position: absolute; top: 0; bottom: 0; left: 0; width: 1px; margin-left: -0.5px; background: #CFCFCA; opacity: 0; transition: opacity var(--duration-quick) ease; pointer-events: none; }
.agp-dot { position: absolute; top: 0; left: 0; z-index: 2; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border: 2.5px solid var(--surface); border-radius: 50%; background: var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22); opacity: 0; transition: opacity var(--duration-quick) ease; pointer-events: none; }
.agp-plot.is-scrub .agp-hair, .agp-plot.is-scrub .agp-dot { opacity: 1; }
.agp-axis { position: relative; height: 16px; margin-top: 10px; font-size: 12px; color: var(--faint); }
.agp-axis span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.agp-axis span:first-child { transform: none; }
.agp-axis span:last-child { transform: translateX(-100%); }

/* 가격이 바뀐 날 */
.agp-log { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.agp-log-h { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.agp-log-h .agp-mono { font-weight: 400; color: var(--faint); }
.agp-log-list { margin-top: 4px; }
.agp-log-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F0F0ED; font-size: 14px; }
.agp-log-list:last-child .agp-log-row:last-child { border-bottom: 0; }
.agp-log-row time { font-size: 12.5px; color: var(--muted); }
.agp-log-move { color: var(--faint); font-variant-numeric: tabular-nums; }
.agp-log-move span { color: var(--muted); }
.agp-log-move b { font-weight: 600; color: var(--ink); }
.agp-log-delta { font-size: 12.5px; font-weight: 600; }
.agp-log-row.is-down .agp-log-delta { color: var(--accent); }
.agp-log-row.is-up .agp-log-delta { color: var(--up); }
.agp-log-empty { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.agp-acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-medium) var(--ease-smooth-out); }
.agp-acc.is-open { grid-template-rows: 1fr; }
.agp-acc-inner { min-height: 0; overflow: hidden; }
.agp-acc .agp-log-list { margin-top: 0; }
.agp-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 0; border: 0; background: none; font-size: 13px; color: var(--muted); cursor: pointer; transition: color var(--duration-quick) ease; }
.agp-more:hover { color: var(--ink); }
.agp-more .agp-i { width: 14px; height: 14px; transition: transform var(--duration-medium) var(--ease-smooth-out); }
.agp-more[aria-expanded="true"] .agp-i { transform: scaleY(-1); }

/* ── 옵션 ─────────────────────────────────────── */
.agp-opts { margin-top: 14px; border-top: 1px solid var(--line); }
.agp-opt { display: grid; grid-template-columns: minmax(0, 1fr) 88px 86px 92px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.agp-opt-name { min-width: 0; color: var(--text); }
.agp-opt-name em { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 5px; background: #F0F0ED; font-size: 12px; font-style: normal; font-weight: 600; line-height: 1.6; color: var(--muted); vertical-align: 1px; }
.agp-opt .agp-tag { position: static; margin-left: 4px; vertical-align: 1px; }
.agp-spark { display: block; overflow: visible; }
.agp-spark path { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.agp-spark circle { fill: var(--accent); }
.agp-opt-unit { font-size: 12.5px; color: var(--muted); text-align: right; }
.agp-opt-price { font-weight: 650; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) {
	.agp-opt { grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "n n n" "s u p"; row-gap: 8px; }
	.agp-opt-name { grid-area: n; }
	.agp-opt-spark { grid-area: s; }
	.agp-opt-unit { grid-area: u; text-align: left; }
	.agp-opt-price { grid-area: p; }
}

/* ── 상품 카드 ─────────────────────────────────── */
.agp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; margin-top: 22px; }
@media (min-width: 680px) { .agp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
.agp-card { display: flex; flex-direction: column; min-width: 0; }
.agp-card-shot { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: var(--plate); overflow: hidden; transition: background-color var(--duration-fast) ease; }
.agp-card:hover .agp-card-shot { background: var(--plate-2); }
.agp-card-img { width: 76%; height: 76%; object-fit: contain; mix-blend-mode: multiply; }
.agp-tag { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.agp-tag.is-hot { background: var(--accent); color: #FFF; }
.agp-tag.is-near { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.agp-card-name { display: -webkit-box; margin-top: 10px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.agp-card:hover .agp-card-name { color: var(--ink); }
.agp-card-price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.agp-card-price b { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.agp-card-price small { font-size: 12.5px; font-weight: 600; }
.agp-card-price em { font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.agp-card-unit { margin-top: 2px; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* 작은 카드: 같은 분류 저점·같은 브랜드는 촘촘하게(데스크톱 5열, 모바일 3열) */
.agp-grid.is-small { grid-template-columns: repeat(auto-fill, minmax(max(118px, calc((100% - 48px) / 5)), 1fr)); gap: 20px 12px; margin-top: 18px; } /* 한 줄 최대 5칸(2026-11-08 사용자 지시), 좁으면 118px 기준으로 줄어든다 */
@media (max-width: 479px) { .agp-grid.is-small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; } }
.is-small .agp-card-shot { border-radius: 12px; }
.is-small .agp-card-img { width: 80%; height: 80%; }
.is-small .agp-tag { top: 6px; left: 6px; height: 20px; padding: 0 7px; }
.is-small .agp-card-name { margin-top: 8px; font-size: 12.5px; line-height: 1.4; }
.is-small .agp-card-price { flex-wrap: wrap; column-gap: 5px; row-gap: 0; margin-top: 4px; }
.is-small .agp-card-price b { font-size: 14px; }
.is-small .agp-card-price small, .is-small .agp-card-price em, .is-small .agp-card-unit { font-size: 12px; }

/* ── 상품 정보 ─────────────────────────────────── */
.agp-prose { margin-top: 18px; font-size: 15px; line-height: 1.75; color: var(--text); }
.agp-prose p + p { margin-top: 0.9em; }
.agp-prose img { height: auto; border-radius: 12px; }

/* ── 광고 자리 ─────────────────────────────────── */
.agp .ag-adsense { container-type: inline-size; margin: 48px 0 0; text-align: center; }
.agp .ag-adsense-label { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.agp .ag-adsense-unit { display: inline-block; width: 320px; height: 100px; max-width: 100%; }
@container (min-width: 728px) { .agp .ag-adsense-unit { width: 728px; height: 90px; } }
.agp .ag-adsense--aside { margin: 0; container-type: normal; }
.agp .ag-adsense--aside .ag-adsense-unit { width: 300px; height: 250px; }
.agp .ag-adsense.is-preview .ag-adsense-unit { display: inline-grid; place-items: center; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--plate); font-size: 12px; color: var(--muted); }
.agp .agaya-partner-slot { margin: 48px 0 0; text-align: center; }
.agp .agaya-ad-tag { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 8px; font-size: 12px; color: var(--faint); }
.agp .agaya-ad-tag .ag-ad { margin-right: 6px; }
.agp .agaya-partner-widget[data-cp] { display: block; width: 100%; max-width: var(--cp-w, 680px); min-height: var(--cp-h, 140px); margin: 0 auto; overflow: hidden; border-radius: 12px; }
.agp .agaya-partner-widget[data-cp] iframe { width: 100% !important; max-width: var(--cp-w, 680px); height: var(--cp-h, 140px) !important; }
.agp .ag-disclosure { margin: 8px 0 0; font-size: 12px; color: var(--faint); text-align: center; }
.agp .ag-goldbox-link { display: block; width: 300px; max-width: 100%; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.agp .ag-goldbox-link img { display: block; width: 100%; height: auto; }
.agp-aside .agaya-partner-slot { margin: 0; }
.agp-aside .agaya-partner-widget[data-cp] { width: 300px; }

/* ── 의견 (comments.php 마크업) ─────────────────── */
.agp .agaya-comments-head { margin-top: 18px; }
.agp .agaya-csort { display: flex; gap: 14px; font-size: 13px; }
.agp .agaya-csort a { color: var(--faint); }
.agp .agaya-csort a.active { color: var(--ink); }
.agp .agaya-comment-items { margin-top: 8px; }
.agp .agaya-comment { padding: 16px 0; border-bottom: 1px solid var(--line); }
.agp .agaya-comment .children { margin: 12px 0 0 6px; padding-left: 16px; border-left: 1px solid var(--line); }
.agp .agaya-comment .children .agaya-comment { padding: 10px 0; border-bottom: 0; }
.agp .agaya-comment-head { display: flex; align-items: baseline; gap: 10px; }
.agp .agaya-comment-author { font-size: 14px; font-weight: 600; color: var(--ink); }
.agp .agaya-comment-date { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.agp .agaya-vote { display: inline-flex; gap: 4px; margin-left: auto; }
.agp .agaya-vote-btn { height: 26px; padding: 0 9px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); cursor: pointer; transition: box-shadow var(--duration-quick) ease, color var(--duration-quick) ease; }
.agp .agaya-vote-btn:hover { box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); }
.agp .agaya-vote-btn.active { box-shadow: 0 0 0 1px var(--brand); color: var(--brand-ink); }
.agp .agaya-comment-body { margin-top: 6px; font-size: 14.5px; line-height: 1.7; color: var(--text); }
.agp .agaya-comment-body p { margin: 0; }
.agp .agaya-comment-pending { display: block; font-size: 12.5px; color: var(--faint); }
.agp .agaya-comment-actions { display: flex; gap: 12px; margin-top: 6px; font-size: 12.5px; }
.agp .agaya-comment-actions a, .agp .agaya-comment-del { padding: 0; border: 0; background: none; font-size: 12.5px; color: var(--faint); cursor: pointer; }
.agp .agaya-comment-actions a:hover, .agp .agaya-comment-del:hover { color: var(--ink); }
.agp .agaya-del-form { display: flex; gap: 6px; margin-top: 8px; }
.agp .agaya-del-form input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); font: inherit; font-size: 13px; }
.agp .agaya-del-form button { height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-size: 13px; cursor: pointer; }
.agp .agaya-del-form .confirm { background: var(--up); box-shadow: none; color: #FFF; }
.agp .agaya-del-error { display: block; margin-top: 4px; font-size: 12px; color: var(--up); }
.agp .agaya-cpages { margin-top: 12px; font-size: 13px; }
.agp .agaya-cpages .page-numbers { padding: 2px 6px; color: var(--muted); }
.agp .agaya-cpages .current { color: var(--ink); font-weight: 600; }
.agp #respond { margin-top: 28px; padding: 22px 24px 24px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.agp .agaya-reply-title { font-size: 15px; font-weight: 650; color: var(--ink); }
.agp .agaya-reply-title small { margin-left: 8px; font-size: 13px; font-weight: 400; }
.agp .ag-form { display: grid; gap: 14px; margin-top: 14px; }
.agp .ag-field { display: grid; gap: 6px; margin: 0; }
.agp .ag-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.agp .ag-field label small { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--faint); }
.agp .ag-field input, .agp .ag-field textarea { width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font: inherit; font-size: 15px; color: var(--ink); transition: box-shadow var(--duration-quick) ease; }
.agp .ag-field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.agp .ag-field input:focus, .agp .ag-field textarea:focus { outline: none; box-shadow: 0 0 0 1px var(--brand), 0 0 0 4px var(--brand-soft); }
.agp .ag-field-row { display: grid; gap: 14px; }
@media (min-width: 600px) { .agp .ag-field-row { grid-template-columns: 1fr 1fr; } }
.agp .agaya-agree { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--plate); font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.agp .agaya-agree label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.agp .agaya-agree input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); }
.agp .agaya-agree a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.agp .agaya-hp { position: absolute !important; left: -9999px; }
.agp .form-submit { margin: 0; }
.agp .agaya-comment-submit { height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--brand-ink); color: #FFF; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: opacity var(--duration-quick) ease, background-color var(--duration-quick) ease; }
.agp .agaya-comment-submit:hover { background: var(--brand-deep); }
.agp .agaya-comment-submit:disabled { opacity: 0.35; cursor: not-allowed; }
.agp .comment-reply-title small a, .agp #cancel-comment-reply-link { color: var(--muted); }

/* ── aside ─────────────────────────────────────── */
.agp-side-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13px; font-weight: 650; color: var(--ink); }
.agp-side-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.agp-side-h small { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--faint); }
.agp-mini { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding: 7px 0; }
.agp-mini-shot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--plate); overflow: hidden; }
.agp-mini-img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.agp-mini-img.is-empty { font-size: 20px; }
.agp-mini-body { display: grid; min-width: 0; }
.agp-mini-name { overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.agp-mini:hover .agp-mini-name { color: var(--ink); }
.agp-mini-meta { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.agp-mini-meta em { margin-left: 4px; font-style: normal; font-weight: 600; color: var(--accent); }
.agp-side-more { display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.agp-side-more:hover { color: var(--ink); }
.agp-cmt-list li a { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid #F0F0ED; }
.agp-cmt-list li:last-child a { border-bottom: 0; }
.agp-cmt-text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; line-height: 1.55; color: var(--text); }
.agp-cmt-meta { font-size: 12px; color: var(--faint); }
.agp-side-empty { font-size: 13px; color: var(--faint); }
.agp-aside-sticky { position: sticky; top: 24px; }

/* ── 아래에 떠오르는 구매 바: 머리의 쿠팡 버튼이 화면에서 벗어나면 올라온다 ── */
.agp-bar { position: fixed; left: 50%; bottom: 16px; z-index: 40; width: min(600px, calc(100% - 24px)); padding: 10px 10px 7px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: var(--shadow-float); opacity: 0; visibility: hidden; transform: translate(-50%, 14px); transition: opacity var(--duration-fast) var(--ease-smooth-out), transform var(--duration-fast) var(--ease-smooth-out), visibility 0s linear var(--duration-fast); }
.agp-bar.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.agp-bar-row { display: flex; align-items: center; gap: 12px; }
.agp-bar-shot { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--plate); overflow: hidden; }
.agp-bar-img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.agp-bar-img.is-empty { font-size: 20px; }
.agp-bar-info { display: grid; min-width: 0; flex: 1; }
.agp-bar-info b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.agp-bar-info span { overflow: hidden; font-size: 12px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.agp .ag-cta.is-bar { flex: none; height: 44px; padding: 0 16px; font-size: 14px; }
.agp-bar-disc { margin-top: 5px; font-size: 12px; color: var(--faint); text-align: center; }

/* ── 꼬리 ─────────────────────────────────────── */
.agp-footer { max-width: 1520px; margin: 96px auto 0; padding: 28px 40px 132px; border-top: 1px solid var(--line); }
.agp-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.agp-footer nav a:hover { color: var(--ink); }
.agp-footer p { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--faint); }

/* ── 좁은 화면 ─────────────────────────────────── */
@media (max-width: 479px) { .agp-sigs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
	.agp-nav { display: none; }
}
@media (max-width: 767px) {
	.agp-notice { padding: 8px 16px 0; font-size: 12px; }
	.agp-top { gap: 12px; padding: 10px 16px 12px; }
	.agp-search { display: none; position: absolute; top: calc(100% - 6px); left: 16px; right: 16px; z-index: 30; width: auto; height: 44px; background: var(--surface); box-shadow: var(--shadow-float); }
	.agp-top.is-search .agp-search { display: flex; }
	.agp-search-btn { display: grid; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 10px; background: #F0F0ED; color: var(--text); cursor: pointer; }
	.agp-search-btn .agp-i { width: 18px; height: 18px; }
	.agp-wrap { padding: 0 16px; }
	.agp-main { padding-top: 6px; }
	.agp-title { font-size: 20px; }
	.agp-price b { font-size: 36px; }
	.agp-sec { margin-top: 60px; }
	.agp-plate { margin-left: -6px; margin-right: -6px; padding: 8px 8px 0; border-radius: 18px; }
	.agp-chart { padding: 18px 16px 14px; }
	.agp-plot { height: 176px; }
	.agp-log-row { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px; font-size: 13.5px; }
	.agp #respond { padding: 18px 16px 20px; }
	.agp-footer { padding: 24px 16px 132px; }
}
@media (max-width: 479px) {
	.agp-bar { bottom: 10px; padding: 8px 8px 6px; }
	.agp-bar-shot { display: none; }
	.agp-bar-info span { display: none; }
	.agp .ag-cta.is-bar { padding: 0 12px; font-size: 13.5px; }
	.agp .ag-cta.is-bar .ag-ad { margin-right: 6px; }
}

/* ═══════════ 사이트 전체 페이지 (v4) ═══════════ */

/* 위 띠: 지금 보는 메뉴 · 모바일 메뉴 줄 */
.agp-nav a[aria-current="page"] { color: var(--ink); }
.agp-mnav { display: none; }
@media (max-width: 1023px) {
	.agp-mnav { display: flex; gap: 6px; max-width: 1520px; margin: 0 auto; padding: 0 16px 10px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
	.agp-mnav::-webkit-scrollbar { display: none; }
	.agp-mnav a { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; color: var(--muted); }
	.agp-mnav a[aria-current="page"] { background: var(--ink); box-shadow: none; color: #FFF; }
}
@media (min-width: 768px) and (max-width: 1023px) { .agp-mnav { padding: 0 40px 12px; } }

/* 레일: 분류 옆 저점 수 */
.agp-rail > .agp-rail-h:first-child { margin-top: 0; }
.agp-rail-h { display: flex; justify-content: space-between; }
.agp-rail-h .agp-mono { color: var(--faint); }
.agp-cats a { display: flex; justify-content: space-between; gap: 8px; }
.agp-cats a .agp-mono { color: var(--accent); }

/* 페이지 머리 */
.agp-page-head { margin-bottom: 26px; }
.agp-page-head .agp-path span[aria-current] { color: var(--muted); }
.agp-count { margin-left: 6px; font-size: 0.62em; font-weight: 500; color: var(--faint); vertical-align: 0.12em; }
.agp-h .agp-count { margin-left: 0; font-size: 13px; vertical-align: 0; }
.agp-page-lead { max-width: 40em; margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.agp-page-lead b { color: var(--ink); }
.agp-page-lead a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.agp-tag.is-inline { position: static; vertical-align: 1px; margin: 0 2px; }
.agp-empty-box { margin-top: 18px; padding: 22px 20px; border-radius: 16px; background: var(--plate); font-size: 14px; color: var(--muted); text-align: center; }
.agp-sec.is-first { margin-top: 8px; }
.agp-grid.is-empty { display: block; }

/* 분류 칩 · 좁히기 칩 */
.agp .ag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.agp .ag-chips.is-sub { margin-top: -4px; }
.agp .ag-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); transition: box-shadow var(--duration-quick) ease, color var(--duration-quick) ease; }
.agp .ag-chip:hover { box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); }
.agp .ag-chip.on { background: var(--ink); box-shadow: none; color: #FFF; }
.agp .ag-chip span { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.agp .ag-chip.on span { color: rgba(255, 255, 255, 0.75); }
.agp .agp-sec .ag-chips { margin-top: 18px; }

/* 기준 탭: 회색 바탕 위 흰 알약(링크라 이동하면 알약이 그 자리에 있다) */
.agp .ag-tabs { display: inline-flex; gap: 2px; margin: 0 0 14px; padding: 3px; border-radius: 10px; background: #F0F0ED; }
.agp .ag-tabs a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13.5px; font-weight: 550; color: var(--muted); transition: color var(--duration-quick) ease; }
.agp .ag-tabs a:hover { color: var(--ink); }
.agp .ag-tabs a.on { background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 1px 2px rgba(20, 20, 18, 0.1); color: var(--ink); }

/* 정렬 · 쪽 넘김 */
.agp-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 4px 0 0; font-size: 13px; }
.agp-toolbar-h { color: var(--faint); }
.agp .agaya-sort { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.agp .agaya-sort-link { color: var(--muted); transition: color var(--duration-quick) ease; }
.agp .agaya-sort-link:hover { color: var(--ink); }
.agp .agaya-sort-link.active { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.agp .agaya-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 36px; }
.agp .agaya-pagination a { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 9px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.agp .agaya-pagination a:hover { background: #F0F0ED; color: var(--ink); }
.agp .agaya-pagination a.current { background: var(--ink); color: #FFF; }

/* 카드 순위 번호 */
.agp-rank { position: absolute; left: 6px; bottom: 6px; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 6px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); }
.agp-rank.is-top { background: var(--ink); box-shadow: none; color: #FFF; }

/* 순위 줄 목록 (benji.org의 파일 목록처럼 가는 선으로 나눈다) */
.agp-rows { margin-top: 14px; border-top: 1px solid var(--line); }
.agp-row { display: grid; grid-template-columns: 30px 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); transition: background-color var(--duration-quick) ease; }
.agp-row:hover { background: linear-gradient(90deg, transparent, #F5F5F3 12%, #F5F5F3 88%, transparent); }
.agp-row-rank { font-size: 13px; color: var(--faint); text-align: center; }
.agp-row-rank.is-top { color: var(--ink); font-weight: 600; }
.agp-row-shot { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 11px; background: var(--plate); overflow: hidden; }
.agp-row-body { display: grid; min-width: 0; gap: 1px; }
.agp-row-name { overflow: hidden; font-size: 14px; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.agp-row:hover .agp-row-name { color: var(--ink); }
.agp-row-sub { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.agp-row-sub b { font-weight: 600; color: var(--accent); }
.agp-row-metric { display: grid; justify-items: end; gap: 1px; text-align: right; }
.agp-row-metric b { font-size: 14px; font-weight: 600; color: var(--accent); }
.agp-row-metric small { font-size: 12px; color: var(--faint); }
.agp-row-metric .ag-ad { margin: 0 0 2px; background: #ECECE9; color: var(--muted); }
@media (max-width: 479px) { .agp-row { grid-template-columns: 22px 44px minmax(0, 1fr) auto; gap: 10px; } .agp-row-shot { width: 44px; height: 44px; } }

/* 요약 수치 */
.agp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.agp-stats > div { position: relative; padding: 12px 14px 12px 0; }
.agp-stats > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.agp-stats dt { font-size: 12.5px; color: var(--muted); }
.agp-stats dd { margin: 2px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.agp-stats dd.is-accent, .agp-stats .is-cheap dd { color: var(--accent); }
.agp-stats .is-dear dd { color: var(--up); }
.agp-stat-note { font-size: 12px; color: var(--muted); }
.agp-stats.is-hero { grid-template-columns: repeat(3, auto); justify-content: start; margin: 22px 0 0; border: 0; }
.agp-stats.is-hero > div { padding: 0 22px 0 0; }
.agp-stats.is-hero > div + div { padding-left: 22px; }
@media (max-width: 599px) { .agp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .agp-stats > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } .agp-stats > div:nth-child(4) { border-top: 1px solid var(--line); } .agp-stats.is-hero { grid-template-columns: repeat(3, auto); } .agp-stats.is-hero > div { border-top: 0 !important; } .agp-stats.is-hero > div:nth-child(3) { padding-left: 22px; border-left: 1px solid var(--line); } }

/* 단추 */
.agp-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: background-color var(--duration-quick) ease, box-shadow var(--duration-quick) ease, transform var(--duration-quick) ease; }
.agp-btn:hover { box-shadow: 0 0 0 1px #BDBDB8; }
.agp-btn:active { transform: scale(0.985); }
.agp-btn.is-ink { background: var(--brand-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); color: #FFF; }
.agp-btn.is-ink:hover { background: var(--brand-deep); }
.agp-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ── 홈 머리: 글 + 실제 데이터로 만든 무대(창이 판 아래로 이어진다) ── */
.agp-home { scroll-margin-top: 24px; }
.agp-eyebrow { font-size: 13px; color: var(--muted); }
.agp-hh-title { max-width: 18em; margin-top: 10px; font-size: 34px; font-weight: 700; line-height: 1.3; letter-spacing: -0.035em; color: var(--ink); }
.agp-hh-title mark { padding: 0 3px; margin: 0 -3px; background: linear-gradient(transparent 58%, var(--mark) 58%, var(--mark) 92%, transparent 92%); color: inherit; }
.agp-hh-lead { max-width: 34em; margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.agp-hh-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.agp-hh-stage { position: relative; margin-top: 36px; padding: 40px 0 0 7%; border-radius: 24px; overflow: hidden; background-color: var(--plate); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 22px 22px; background-position: -1px -1px; }
.agp-hh-win { position: relative; width: min(470px, 70%); padding: 20px 22px 18px; border-radius: 16px 16px 0 0; background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 18px 40px -20px rgba(20, 20, 18, 0.35); }
.agp-hh-prod { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.agp-hh-meta { display: grid; min-width: 0; }
.agp-hh-kicker { font-size: 12px; color: var(--accent); font-weight: 600; }
.agp-hh-name { overflow: hidden; font-size: 13.5px; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.agp-hh-name:hover { text-decoration: underline; text-underline-offset: 2px; }
.agp-chart.is-mini { padding: 14px 0 0; border-radius: 0; background: none; box-shadow: none; }
.agp-chart.is-mini .agp-readout-value b { font-size: 26px; }
.agp-chart.is-mini .agp-plot { height: 150px; margin-top: 14px; }
.agp-hh-go { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.agp-hh-go::after { content: " →"; }
.agp-hh-go:hover { color: var(--ink); }
.agp-hh-chip { position: absolute; top: 24px; left: calc(7% - 14px); z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-float); font-size: 13px; color: var(--text); }
.agp-hh-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.agp-hh-chip b { font-weight: 600; color: var(--ink); }
.agp-hh-hand { position: absolute; top: 46%; left: calc(7% + min(470px, 70%) + 14px); margin: 0; }
@media (max-width: 679px) {
	.agp-hh-title { font-size: 26px; }
	.agp-hh-stage { margin-left: -6px; margin-right: -6px; padding: 52px 12px 0; border-radius: 20px; }
	.agp-hh-win { width: 100%; padding: 16px 16px 14px; }
	.agp-hh-chip { top: 12px; left: 12px; }
	.agp-hh-hand { top: 14px; left: auto; right: 14px; }
	.agp-hh-hand svg { display: none; }
}

/* 분류별 저점 신호: 가는 선으로 나뉜 격자 */
/* 칸마다 1px 테두리를 바깥으로 그려 이웃과 겹치게 한다: 마지막 줄의 빈자리는 흰 바탕으로 남는다 */
.agp-sigs { border-radius: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 1px; margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.agp-sig { display: grid; align-content: start; gap: 0; min-height: 0; padding: 9px 11px 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: background-color var(--duration-quick) ease; }
.agp-sig:hover { background: #F7F7F5; }
.agp-sig span { overflow: hidden; font-size: 12.5px; color: var(--text); white-space: nowrap; text-overflow: ellipsis; }
.agp-sig b { margin-top: 2px; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; color: var(--accent); }
.agp-sig.is-zero b { color: var(--faint); }
.agp-sig.is-total { background: var(--ink); }
.agp-sig.is-total span { color: rgba(255, 255, 255, 0.75); }
.agp-sig.is-total b { color: #FFF; }
.agp-sig small { font-size: 12px; color: var(--muted); }
.agp-sig small.is-cheap { color: var(--accent); }
.agp-sig small.is-dear { color: var(--up); }

/* 홈 분류별 상품 */
.agp-sub { margin-top: 30px; }
.agp-sub-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink); }
.agp-sub-h a:first-child:hover { text-decoration: underline; text-underline-offset: 3px; }
.agp-sub .agp-grid.is-small { margin-top: 12px; }

/* 전체 분류 */
.agp-catlist { border-top: 1px solid var(--line); }
.agp-catrow { padding: 16px 0; border-bottom: 1px solid var(--line); }
.agp-catrow-top { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 16px; }
.agp-catrow-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.agp-catrow-top:hover .agp-catrow-name { text-decoration: underline; text-underline-offset: 3px; }
.agp-catrow-meta { font-size: 12.5px; color: var(--muted); }
.agp-catrow-meta b { font-weight: 600; color: var(--accent); }
.agp-catrow-ix { min-width: 52px; font-size: 16px; font-weight: 600; color: var(--muted); text-align: right; }
.agp-catrow-ix.is-cheap { color: var(--accent); }
.agp-catrow-ix.is-dear { color: var(--up); }
.agp-catrow-kids { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; }
.agp-catrow-kids a { color: var(--muted); }
.agp-catrow-kids a:hover { color: var(--ink); }
.agp-catrow-kids .agp-mono { color: var(--faint); }

/* 브랜드 */
.agp-brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.agp-brands a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.agp-brands a:hover { color: var(--ink); }
.agp-brands a .agp-mono { color: var(--muted); }
.agp-brands a.is-zero { color: var(--muted); }

/* 모든 의견 */
.agp-opinions { margin-top: 10px; }
.agp-opinion { padding: 18px 0; border-bottom: 1px solid var(--line); }
.agp-opinion-product { margin-bottom: 10px; padding: 0; }
.agp-opinion .agaya-comment-head { display: flex; align-items: baseline; gap: 10px; }
.agp-opinion .agaya-comment-body { margin-top: 6px; font-size: 14.5px; line-height: 1.7; color: var(--text); }
.agp-opinion .agaya-comment-body p { margin: 0; }
.agp-opinion-go { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.agp-opinion-go::after { content: " →"; }
.agp-mini-meta em { margin-left: 4px; font-style: normal; font-weight: 600; color: var(--accent); }

/* 글 페이지(소개·문의·처리방침·약관) */
.agp-doc { max-width: 640px; }
.agp-doc > .agp-h { margin-top: 56px; }
.agp-doc > .agp-h:first-child { margin-top: 8px; }
.agp-doc-lead { font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.agp-deflist { margin-top: 14px; }
.agp-deflist > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.agp-deflist dt { font-size: 14px; font-weight: 600; color: var(--ink); }
.agp-deflist dt.agp-mono { font-size: 13px; }
.agp-deflist dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--text); }
.agp-doc-mark { margin-top: 18px; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.agp-doc-mark mark { padding: 0 2px; margin: 0 -2px; background: linear-gradient(transparent 52%, var(--mark) 52%, var(--mark) 90%, transparent 90%); color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.agp-doc-list { margin-top: 14px; padding-left: 18px !important; list-style: disc !important; font-size: 14.5px; line-height: 1.75; color: var(--text); }
.agp-doc-list li + li { margin-top: 6px; }
.agp-doc-list li::marker { color: var(--faint); }
.agp-doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.agp-doc.agp-prose h2 { margin: 2em 0 0.6em; font-size: 17px; font-weight: 650; color: var(--ink); }
.agp-doc.agp-prose h3 { margin: 1.6em 0 0.5em; font-size: 15px; font-weight: 650; color: var(--ink); }
.agp-doc.agp-prose ul, .agp-doc.agp-prose ol { margin: 0.6em 0; padding-left: 1.3em; list-style: revert; }
.agp-doc.agp-prose table { display: block; max-width: 100%; margin: 18px 0; overflow-x: auto; border-collapse: collapse; font-size: 13.5px; } /* 좁은 화면에서 표만 가로로 넘긴다 */
.agp-doc.agp-prose th, .agp-doc.agp-prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.agp-doc.agp-prose th { background: var(--plate); color: var(--ink); }
.agp-doc.agp-prose td, .agp-doc.agp-prose th { min-width: 5.5em; overflow-wrap: break-word; } /* 긴 이메일 주소는 JS가 '@' 앞에 줄바꿈 자리를 넣는다 */
@media (max-width: 720px) { .agp-doc.agp-prose td, .agp-doc.agp-prose th { min-width: 7.5em; } .agp-doc.agp-prose td:first-child, .agp-doc.agp-prose th:first-child { min-width: 12em; } } /* 좁은 화면에서만: 한 단어씩 줄이 바뀌지 않게(데스크톱은 본문 폭 안에 다 들어감) */
.agp-doc.agp-prose .agp-scroll-hint { margin: 18px 0 -10px; font-size: 12px; color: var(--muted); }
.agp-doc.agp-prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }

/* 문의 폼 · 자주 묻는 질문 */
.agp-formcard { margin-top: 16px; padding: 22px 24px 24px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.agp .ag-field select { width: 100%; height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font: inherit; font-size: 15px; color: var(--ink); }
.agp .ag-field select:focus { outline: none; box-shadow: 0 0 0 1px var(--brand), 0 0 0 4px var(--brand-soft); }
.agp .ag-field .req { color: var(--up); }
.agp .agaya-inq-error { display: block; margin-top: 8px; font-size: 13px; color: var(--up); }
.agp .agaya-inq-done { padding: 18px 20px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); }
.agp .agaya-inq-done p { margin-top: 4px; font-size: 14px; color: var(--text); }
.agp-faq { margin-top: 10px; }
.agp-faq-item { border-bottom: 1px solid var(--line); }
.agp-faq-item summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.agp-faq-item summary::-webkit-details-marker { display: none; }
.agp-faq-item summary::after { content: "+"; font-family: var(--mono); font-weight: 400; color: var(--faint); transition: transform var(--duration-fast) var(--ease-smooth-out); }
.agp-faq-item[open] summary::after { transform: rotate(45deg); }
.agp-faq-item p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.7; color: var(--text); }

/* ═══════════ 4차 손질 (2026-11-08): 왼쪽 메뉴를 진짜 사이드바로, 눌리는 것은 단추처럼 ═══════════ */

/* 왼쪽 레일 = 사이드바: 사이트 메뉴(아이콘) · 이 페이지 · 분류(저점 수 뱃지) */
@media (min-width: 1360px) {
	.agp-wrap { grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 40px; } /* 왼쪽 메뉴와 오른쪽 aside를 같은 폭으로: 본문이 화면 가운데에 온다 */
	.agp-rail { position: sticky; top: 16px; max-height: calc(100vh - 32px); padding: 18px 4px 24px 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #DDDDD9 transparent; font-size: 14px; }
	.agp-nav { display: none; } /* 메뉴는 사이드바가 맡는다 */
}
.agp-back { display: flex; align-items: center; gap: 8px; height: 34px; margin: 0 0 14px; padding: 0 10px; border-radius: 9px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(20, 20, 18, 0.04); font-size: 13.5px; color: var(--text); }
.agp-back:hover { box-shadow: 0 0 0 1px var(--line-2), 0 1px 3px rgba(20, 20, 18, 0.07); color: var(--ink); }
.agp-menu { display: grid; gap: 1px; }
.agp-menu-a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 9px; color: var(--text); transition: background-color var(--duration-quick) ease, color var(--duration-quick) ease, box-shadow var(--duration-quick) ease; }
.agp-menu-a .agp-i { width: 17px; height: 17px; color: var(--muted); transition: color var(--duration-quick) ease; }
.agp-menu-a > span:first-of-type { flex: 1; min-width: 0; }
.agp-menu-a:hover { background: #EFEFEC; color: var(--ink); }
.agp-menu-a:hover .agp-i { color: var(--ink); }
.agp-menu-a[aria-current="page"] { background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(20, 20, 18, 0.08); color: var(--ink); font-weight: 600; }
.agp-menu-a[aria-current="page"] .agp-i { color: var(--brand); }
.agp-menu.is-cats .agp-menu-a { min-height: 32px; font-size: 13.5px; }
.agp-badge { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand-soft); font-size: 12px; font-weight: 600; color: var(--brand-ink); }
.agp-menu-a[aria-current="page"] .agp-badge { background: var(--brand-ink); color: #FFF; }
.agp-rail .agp-rail-h { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 10px 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.agp-rail-note { font-weight: 400; color: var(--faint); }
.agp-rail .agp-toc { display: grid; gap: 1px; }
.agp-rail .agp-toc a { display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 0 10px; border-radius: 9px; font-size: 13.5px; color: var(--muted); }
.agp-rail .agp-toc a::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #D3D3CF; transition: background-color var(--duration-quick) ease, transform var(--duration-quick) ease; }
.agp-rail .agp-toc a:hover { background: #EFEFEC; color: var(--ink); }
.agp-rail .agp-toc a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.agp-rail .agp-toc a[aria-current="true"]::before { background: var(--brand); transform: scale(1.25); }

/* 단추: 흰 바탕 + 테두리 + 아래 그림자 한 겹, 누르면 살짝 눌린다 */
.agp-btn { box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(20, 20, 18, 0.06), inset 0 -1px 0 rgba(20, 20, 18, 0.05); }
.agp-btn:hover { background: #FCFCFB; box-shadow: 0 0 0 1px #BDBDB8, 0 2px 6px -2px rgba(20, 20, 18, 0.14), inset 0 -1px 0 rgba(20, 20, 18, 0.05); }
.agp-btn.is-ink { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 4px 12px -6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.agp-btn.is-ink:hover { background: var(--brand-deep); }
.agp-btn::after { content: none; }
.agp-btn .agp-i { width: 16px; height: 16px; margin-left: 6px; }

/* '더 보기' 계열 링크를 작은 단추로 */
.agp-h-more, .agp-side-more, .agp-hh-go, .agp-opinion-go, .agp-more {
	display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px 0 12px; border: 0; border-radius: 9px;
	background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 1px 2px rgba(20, 20, 18, 0.05);
	font-size: 13px; font-weight: 550; line-height: 1; color: var(--ink); white-space: nowrap; cursor: pointer;
	transition: box-shadow var(--duration-quick) ease, background-color var(--duration-quick) ease, transform var(--duration-quick) ease;
}
.agp-h-more:hover, .agp-side-more:hover, .agp-hh-go:hover, .agp-opinion-go:hover, .agp-more:hover { background: #FCFCFB; box-shadow: 0 0 0 1px #BDBDB8, 0 2px 6px -2px rgba(20, 20, 18, 0.14); color: var(--ink); }
.agp-h-more:active, .agp-side-more:active, .agp-hh-go:active, .agp-opinion-go:active, .agp-more:active { transform: scale(0.98); }
.agp-h-more::after, .agp-side-more::after, .agp-hh-go::after, .agp-opinion-go::after { content: "→"; margin-left: 2px; color: var(--muted); }
.agp-h .agp-h-more { font-weight: 550; }
.agp-side-more { margin-top: 10px; }
.agp-hh-go { margin-top: 14px; }
.agp-opinion-go { height: 28px; margin-top: 10px; font-size: 12.5px; }
.agp-more { margin-top: 10px; }

/* 정렬: 작은 알약 단추 */
.agp .agaya-sort { gap: 6px; }
.agp .agaya-sort-link { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); text-decoration: none !important; }
.agp .agaya-sort-link:hover { box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); }
.agp .agaya-sort-link.active { background: var(--ink); box-shadow: none; color: #FFF; font-weight: 600; }
.agp-toolbar { gap: 8px 10px; margin-top: 2px; }

/* 의견 답글·삭제: 글자 단추(누를 곳이 보이게 바탕이 생긴다) */
.agp .agaya-comment-actions { gap: 4px; margin-left: -8px; }
.agp .agaya-comment-actions a, .agp .agaya-comment-del { display: inline-flex; align-items: center; height: 28px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; color: var(--muted); }
.agp .agaya-comment-actions a:hover, .agp .agaya-comment-del:hover { background: #EFEFEC; color: var(--ink); }

/* 카드: 올리면 사진 판이 살짝 떠오른다 */
.agp-card-shot { transition: background-color var(--duration-fast) ease, transform var(--duration-fast) var(--ease-smooth-out), box-shadow var(--duration-fast) ease; }
.agp-card:hover .agp-card-shot { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(20, 20, 18, 0.45); }
.agp-card:active .agp-card-shot { transform: translateY(0); }

/* ═══════════ 5차 손질 (2026-11-08 검수 24개 반영) ═══════════ */

/* 사이드바: 지금 페이지는 옅은 호박색 바탕(꿀통), 마우스 올림은 그보다 옅게 · 글자 시작선 하나(37px) */
.agp-menu-a:hover, .agp-rail .agp-toc a:hover { background: #F3F3F1; }
.agp-menu-a[aria-current="page"] { background: var(--brand-soft); box-shadow: none; color: var(--ink); font-weight: 600; }
.agp-menu-a[aria-current="page"] .agp-i { color: var(--brand); }
.agp-menu-a[aria-current="page"] .agp-badge { background: var(--brand-ink); color: #FFF; }
.agp-menu.is-cats .agp-menu-a { padding-left: 37px; }
.agp-rail .agp-toc a::before { margin: 0 5.5px; }
.agp-back { height: 32px; margin: 0 0 10px; padding: 0 10px; background: none; box-shadow: none; color: var(--muted); }
.agp-back:hover { background: #F3F3F1; box-shadow: none; color: var(--ink); }
.agp-back .agp-i { width: 17px; height: 17px; }

/* 거르기·정렬: 이름표 + 한 줄. 정렬·기준은 회색 바탕 흰 알약(분절), 거르기는 칩(선택 = 옅은 호박색) */
.agp-filters { display: grid; gap: 10px; margin: 0 0 22px; }
.agp-filter-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 10px; }
.agp-filter-h { font-size: 13px; line-height: 32px; color: var(--muted); }
.agp .agp-filter-row .ag-chips, .agp .agp-filter-row .ag-tabs { margin: 0; }
.agp .ag-chip.on { background: var(--brand-soft); box-shadow: 0 0 0 1px var(--brand-line); color: var(--brand-ink); font-weight: 600; }
.agp .ag-chip.on span { color: var(--brand-ink); }
.agp .ag-tabs { justify-self: start; }
.agp .ag-tabs a.active { background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 1px 2px rgba(20, 20, 18, 0.1); color: var(--ink); }
.agp .agaya-sort { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 10px; background: #F0F0ED; justify-self: start; }
.agp .agaya-sort-link { height: 30px; padding: 0 12px; border-radius: 8px; background: none; box-shadow: none; font-size: 13px; font-weight: 550; color: var(--muted); }
.agp .agaya-sort-link:hover { box-shadow: none; color: var(--ink); }
.agp .agaya-sort-link.active { background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 1px 2px rgba(20, 20, 18, 0.1); color: var(--ink); font-weight: 600; }
.agp .agaya-csort { margin-top: 16px; }
@media (max-width: 639px) {
	.agp-filter-row { grid-template-columns: 1fr; gap: 6px; }
	.agp-filter-h { line-height: 1.4; font-size: 12.5px; }
	.agp .agp-filter-row .ag-chips { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
	.agp .agp-filter-row .ag-chips::-webkit-scrollbar { display: none; }
	.agp .ag-chip { flex: none; height: 36px; }
	.agp .ag-tabs a, .agp .agaya-sort-link { height: 36px; }
}

/* 광고 자리: 회색 판 안에 라벨(왼쪽 위)·광고·고지(왼쪽 아래)를 함께 담는다 */
.agp .agaya-partner-slot, .agp .ag-adsense { margin: 48px 0 0; padding: 12px 14px 10px; border-radius: 16px; background: var(--plate); text-align: center; }
.agp .agaya-ad-tag, .agp .ag-adsense-label { display: flex; align-items: center; justify-content: flex-start; margin: 0 0 8px; font-family: var(--sans); font-size: 12px; color: var(--muted); text-align: left; }
.agp .agaya-partner-slot .ag-disclosure { margin: 8px 0 0; text-align: left; }
.agp .agaya-partner-widget[data-cp] { border-radius: 10px; background: var(--surface); }
.agp-aside .agaya-partner-slot, .agp-aside .ag-adsense { margin: 0; padding: 10px 0 8px; background: none; }
.agp-aside .agaya-ad-tag, .agp-aside .ag-adsense-label { padding: 0 2px; }
.agp .ag-goldbox-link { border-radius: 12px; background: var(--plate); min-height: 250px; }
.agp .ag-adsense.is-preview .ag-adsense-unit { background: var(--surface); }

/* 홈 머리: 숫자 띠는 가볍게, 무대의 창은 판 안에서 닫고, 손글씨는 지금 점을 가리킨다 */
.agp-stats.is-hero dd { font-size: 19px; }
.agp-hh-stage { padding: 40px 7% 30px 7%; }
.agp-hh-win { border-radius: 16px; }
.agp-hh-hand { top: auto; bottom: 64px; left: calc(7% + min(470px, 70%) + 12px); }
.agp-sig.is-total { background: var(--surface); }
.agp-sig.is-total span { color: var(--ink); font-weight: 600; }
.agp-sig.is-total b { color: var(--ink); }
@media (max-width: 679px) { .agp-hh-stage { padding: 52px 12px 14px; } .agp-hh-hand { bottom: auto; } }

/* 상품 가격 흐름: 그래프는 낮게, 패널은 판 안에서 닫는다 */
.agp-plot { height: 184px; }
.agp-plate { padding: 14px; }
.agp-chart { border-radius: 14px; }
@media (max-width: 767px) { .agp-plot { height: 164px; } .agp-plate { padding: 8px; } }

/* 한글이 섞인 숫자 글: 고정폭 대신 본문 글꼴 + 숫자 폭 고정 */
.agp-plot-label, .agp-range-labels, .agp-catrow-meta, .agp-sig small, .agp-stat-note, .agp-log-row time, .agp-row-metric small, .agp-callout b, .agp-log-h .agp-mono, .agp-rail-note {
	font-family: var(--sans) !important; font-variant-numeric: tabular-nums; letter-spacing: -0.005em;
}

/* 빈 상태: 아이콘 · 한 줄 · 다음 행동 단추 */
.agp-empty-box { display: grid; justify-items: center; gap: 12px; }
.agp-empty-box p { margin: 0; }
.agp-empty-ic { width: 22px !important; height: 22px !important; color: var(--faint); }
.agp-grid.is-empty { display: block; }

/* 검색 결과: 검색어가 들어 있는 입력칸 */
.agp-search-page { display: flex; width: 100%; max-width: 560px; height: 48px; margin: 0 0 18px; padding: 0 6px 0 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.agp-search-page .agp-btn { flex: none; height: 36px; padding: 0 14px; font-size: 13.5px; }
@media (max-width: 767px) { .agp-search-page { display: flex; position: static; width: 100%; } }

/* 비활성 단추: 회색 바탕 + 이유 안내 */
.agp .agaya-comment-submit:disabled, .agp .agaya-inq-submit:disabled { opacity: 1; background: #E9E9E6; box-shadow: none; color: var(--faint); }
.agp .form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.agp .form-submit:has(.agaya-comment-submit:disabled)::after { content: "위 동의에 체크하면 등록할 수 있어요."; font-size: 12.5px; color: var(--muted); }

/* 글 페이지: 섹션 선은 본문 폭 끝까지, 글은 640px */
.agp-doc { max-width: none; }
.agp-doc > *:not(.agp-h) { max-width: 640px; }

/* 꼬리: 선은 내용 폭 안에서, 아래 여백은 짧게(상품 페이지만 구매 바 자리) */
.agp-footer { margin-top: 88px; padding: 0 40px 48px; border-top: 0; }
.agp-footer > nav { padding-top: 26px; border-top: 1px solid var(--line); }
.single-kkul_product .agp-footer { padding-bottom: 132px; }
@media (max-width: 767px) { .agp-footer { padding: 0 16px 40px; } }

/* 손가락으로 누르는 크기(390): 36px 이상 */
@media (max-width: 767px) {
	.agp-path a { display: inline-flex; align-items: center; min-height: 36px; }
	.agp-footer nav a { display: inline-flex; align-items: center; min-height: 40px; }
	.agp-tags > * { height: 36px; padding: 0 12px; }
	.agp .agaya-vote-btn { height: 36px; padding: 0 12px; }
	.agp .agaya-comment-actions a, .agp .agaya-comment-del { height: 36px; padding: 0 10px; }
	.agp .agaya-csort a { height: 36px; }
	.agp-mnav a { height: 36px; }
	.agp-mnav { scroll-padding-inline: 16px; }
}

/* ═══════════ 가격 흐름 그래프 B '평균 기준 두 색' (2026-11-08 사용자 선택) ═══════════ */
.agp-svg .agp-fill-up { fill: rgba(191, 51, 40, 0.12); stroke: none; }
.agp-svg .agp-fill-dn { fill: rgba(37, 99, 235, 0.14); stroke: none; }
.agp-svg .agp-line { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.agp-svg .agp-line.is-up { stroke: var(--up); }
.agp-svg .agp-line.is-dn { stroke: var(--accent); }
.agp-svg .agp-avg { stroke: #A9A9A4; stroke-width: 1; stroke-dasharray: 3 4; }
.agp-svg .agp-grid-l { stroke: #F0F0ED; stroke-width: 1; }
.agp-svg .agp-end.is-up { fill: var(--up); }
.agp-dot.is-up { background: var(--up); }
.agp-svg .agp-line.is-eq { stroke: var(--muted); }
.agp-svg .agp-line.is-plateau { stroke-width: 2.75; } /* 평균과 같은 높이로 머문 구간: 빨강·파랑 반쪽을 덮는다 */
.agp-svg .agp-end.is-eq { fill: var(--muted); }
.agp-dot.is-eq { background: var(--muted); }
.agp-pulse.is-eq::before, .agp-pulse.is-eq::after { background: var(--muted); }
.agp-spark.is-eq path { stroke: var(--muted); }
.agp-spark.is-eq circle { fill: var(--muted); }
.agp-plot-label.is-tick { right: 0; transform: translateY(-50%); color: var(--faint); }
.agp-plot-label.is-avg { left: 0; right: auto; transform: translateY(5px); padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 0 0 1px #EDEDEA; color: var(--muted); }
.agp-plot-label.is-avg.is-above { transform: translateY(calc(-100% - 5px)); }
.agp-axis { margin-top: 8px; }
.agp-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.agp-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 3px; vertical-align: -1px; }
.agp-legend i.is-dn { background: rgba(37, 99, 235, 0.35); }
.agp-legend i.is-up { background: rgba(191, 51, 40, 0.3); }
.agp-legend i.is-avg { width: 14px; height: 0; border-top: 1.5px dashed #A9A9A4; border-radius: 0; vertical-align: 3px; }
.agp-chart.is-mini .agp-legend { margin-top: 8px; }

/* 지금 위치 심장박동: 점이 두 번 '쿵쿵' 뛰고 고리가 퍼진 뒤 쉰다(1.6초 반복). 훑거나 그리는 동안·보이기 전에는 멈춘다 */
.agp-pulse { position: absolute; z-index: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; }
.agp-pulse::before, .agp-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); opacity: 0; animation: agp-beat-ring 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
.agp-pulse::after { animation-delay: 0.26s; }
.agp-pulse.is-up::before, .agp-pulse.is-up::after { background: var(--up); }
@keyframes agp-beat-ring { 0% { transform: scale(1); opacity: 0.45; } 50%, 100% { transform: scale(3.4); opacity: 0; } }
.agp-svg .agp-end { transform-box: fill-box; transform-origin: center; animation: agp-beat-dot 1.6s ease-in-out infinite; }
@keyframes agp-beat-dot { 0%, 34%, 100% { transform: scale(1); } 8% { transform: scale(1.3); } 17% { transform: scale(1); } 25% { transform: scale(1.2); } }
.agp-plot.is-pre .agp-pulse, .agp-plot.is-drawing .agp-pulse, .agp-plot.is-scrub .agp-pulse { opacity: 0; }
.agp-plot.is-scrub .agp-svg .agp-end, .agp-plot.is-drawing .agp-svg .agp-end { animation: none; }
.agp-ripple { display: none; } /* 한 번만 퍼지던 물결은 심장박동으로 바꿨다 */
@media (prefers-reduced-motion: reduce) { .agp-pulse { display: none; } .agp-svg .agp-end { animation: none !important; } }

/* ═══════════ 6차 손질 (2026-11-08 과장 검수 반영) ═══════════ */

/* '지금 최저' 표: 곡선을 가리지 않게 점의 왼쪽 아래(그래프가 아래에 자리를 둔다) */
.agp-callout { transform: translate(calc(-100% + 14px), 14px) scale(0.94); transform-origin: 90% 0; }
.agp-plot.is-emph .agp-callout { transform: translate(calc(-100% + 14px), 18px) scale(1); }
.agp-callout::after { top: -4px; bottom: auto; right: 9px; }

/* 숫자는 본문 글꼴 + 숫자 폭 고정으로 하나로. 고정폭은 축 날짜와 수집 시각에만 */
.agp-mono { font-family: var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.005em; }
.agp-axis, .agp-label time { font-family: var(--mono); }

/* 상품 카드: 하락률은 늘 둘째 줄(카드 높이가 고르게) */
.agp-card-price { flex-wrap: wrap; }
.agp-card-price em { flex-basis: 100%; }
.is-small .agp-card-price { row-gap: 0; }

/* 옵션 작은 곡선: 파랑(평균보다 쌈)·빨강(비쌈) */
.agp-spark path { stroke: var(--accent); stroke-width: 1.75; stroke-linecap: round; }
.agp-spark circle { fill: var(--accent); }
.agp-spark.is-up path { stroke: var(--up); }
.agp-spark.is-up circle { fill: var(--up); }

/* 분류별 저점 신호: 0인 칸은 링크 없이 흐리게 */
.agp-sig.is-zero b { color: #B5B5B0; }
div.agp-sig:hover { background: var(--surface); }
div.agp-sig span { color: var(--muted); }

/* 광고 판 안 고지 글자 대비(4.5:1 이상) */
.agp .agaya-partner-slot .ag-disclosure, .agp .ag-adsense .ag-disclosure { color: var(--muted); }

/* 글 페이지: 표·폼은 본문 폭 끝까지, 문단만 640px */
.agp-doc > *:not(.agp-h) { max-width: none; }
.agp-doc > p, .agp-doc-list { max-width: 640px; }
.agp-search-page { max-width: none; }
.agp-cap { margin: 12px 0 0; text-align: left; }

/* 브랜드 목록 머리줄 */
.agp-list-h { display: flex; justify-content: space-between; max-width: 100%; margin: 0 0 4px; font-size: 12.5px; color: var(--muted); }
.agp-brands .agp-num { color: var(--muted); font-variant-numeric: tabular-nums; }

/* 모바일: 줄 맞춤·누르는 크기 36px */
@media (max-width: 767px) {
	.agp-path { align-items: center; }
	.agp-h-more, .agp-side-more, .agp-hh-go, .agp-opinion-go, .agp-more { height: 36px; padding: 0 12px 0 14px; }
	.agp-seg button { height: 34px; }
	.agp-seg { padding: 3px; }
	.agp-catrow-top { min-height: 36px; align-items: center; }
	.agp-catrow-kids a { display: inline-flex; align-items: center; min-height: 36px; }
	.agp-brands a { min-height: 44px; align-items: center; }
}

/* ═══════════ 7차 손질 (과장 재검수 반영) ═══════════ */
.agp-catrow-kids a { gap: 4px; }
.agp-sig.is-zero b { color: var(--faint); }
.agp-sub-h > span { font-size: 14px; font-weight: 600; color: var(--ink); }
.agp-hh-name { display: block; }
@media (max-width: 767px) {
	.agp-seg button { height: 36px; }
	.agp-seg-pill { height: 36px; }
	.agp-hh-chip { height: 36px; }
}
@media (max-width: 679px) { .agp-hh-hand { display: none; } }

@media (prefers-reduced-motion: reduce) {
	.agp *, .agp *::before, .agp *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
	.agp-draw.is-wipe { transition: none !important; }
}

/* 팀장 검수 반영(2026-11-08): 홈 격자 마지막 줄 숨김용 */
.agp-grid > [hidden] { display: none !important; }

/* ═══════════ 위 띠를 3단 격자에 맞춤 (2026-11-08 사용자 요청) ═══════════
   1360px 이상: 왼쪽 메뉴 칸 = 로고·사이트 이름, 본문 칸 = 넓은 검색, aside 칸 = 가격 확인 시각·즐겨찾기.
   1024~1359px: 검색 폭을 aside(300px)에 맞춘다. */
.agp-logo-text { display: grid; line-height: 1.15; }
.agp-logo-name { font-size: 17px; }
.agp-logo-sub { display: none; margin-top: 2px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.agp-logo img { width: 24px; height: 24px; }
.agp-top-side { display: none; }
@media (min-width: 768px) {
	.agp-logo { gap: 10px; }
	.agp-logo img { width: 28px; height: 28px; }
	.agp-logo-name { font-size: 19px; }
	.agp-logo-sub { display: block; }
}
@media (min-width: 1024px) and (max-width: 1359px) { .agp-search { width: 300px; } }
@media (min-width: 1360px) {
	.agp-top { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; column-gap: 40px; align-items: center; padding: 18px 40px 10px; }
	.agp-logo { justify-self: start; gap: 12px; padding-left: 10px; }
	.agp-logo img { width: 34px; height: 34px; }
	.agp-logo-name { font-size: 21px; }
	.agp-search { width: auto; height: 46px; margin: 0; padding: 0 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
	.agp-search:focus-within { box-shadow: 0 0 0 1px var(--brand), 0 0 0 4px var(--brand-soft); }
	.agp-search input { font-size: 15px; }
	.agp-top-side { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
}
.agp-fresh { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; color: var(--muted); }
.agp-fresh i { width: 7px; height: 7px; border-radius: 50%; background: #1E9E5A; box-shadow: 0 0 0 3px rgba(30, 158, 90, 0.16); }
.agp-fresh time { color: var(--ink); font-variant-numeric: tabular-nums; }
.agp-top-fav { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); font-size: 13.5px; color: var(--text); transition: box-shadow var(--duration-quick) ease, color var(--duration-quick) ease; }
.agp-top-fav .agp-i { width: 16px; height: 16px; color: #D9A21B; }
.agp-top-fav:hover { box-shadow: 0 0 0 1px #C9C9C4, var(--shadow-card); color: var(--ink); }
.agp-top-fav[aria-current="page"] { background: var(--brand-soft); box-shadow: 0 0 0 1px #EBCF9C; color: var(--ink); }
.agp-top-fav b { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: var(--ink); font-size: 12px; color: #FFF; text-align: center; }

/* 가격이 바뀐 날: 오른쪽 숫자는 평균과의 차이(2026-11-08 사용자 요청) */
.agp-log-note { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--muted); }
.agp-log-row.is-eq .agp-log-delta { color: var(--muted); }

/* 홈 무대: 창(그래프)을 넓혀 손글씨 오른쪽에 빈 판이 남지 않게(2026-11-08 사용자 요청) */
@media (min-width: 680px) {
	.agp-hh-stage { padding: 40px 4.5% 30px; }
	.agp-hh-win { width: calc(100% - 124px); }
	.agp-hh-chip { left: calc(4.5% - 14px); }
	.agp-hh-hand { left: calc(100% - 4.5% - 116px); }
	.agp-chart.is-mini .agp-plot { height: 168px; }
}
.agp-filters[id] { scroll-margin-top: 24px; }

/* 검색 결과(2026-11-08 사용자 요청): 768px 이상은 위 띠 검색창이 검색어를 품고 있으므로 본문 검색창을 숨긴다. 모바일은 본문 검색창으로 고친다 */
@media (min-width: 768px) { .agp-search-page { display: none; } }
.agp-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
/* 거르기 줄: 분절 단추(정렬·기준)는 3px 안쪽 여백만큼 이름표를 내린다 */
.agp-filter-row:has(> .agaya-sort, > .ag-tabs) .agp-filter-h { line-height: 36px; }
@media (max-width: 639px) { .agp-filter-row:has(> .agaya-sort, > .ag-tabs) .agp-filter-h { line-height: 1.4; } } /* 이름표가 위로 따로 놓이는 너비와 같게 */
@media (max-width: 767px) {
	.agp .agp-filter-row .agaya-sort { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
	.agp .agp-filter-row .agaya-sort::-webkit-scrollbar { display: none; }
	.agp .agp-filter-row .agaya-sort a { flex: none; }
}
@media (max-width: 767px) { .agp .agp-filter-row .agaya-sort { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); } }

/* 위 띠 검색: 포커스 링은 입력칸이 아니라 검색창 전체에(팀장 검수 권장), 1024px 이상은 같은 흰 바탕·테두리 */
.agp-search input:focus-visible { outline: none; }
.agp-search:focus-within { box-shadow: 0 0 0 2px var(--brand), 0 0 0 5px var(--brand-soft); }
@media (min-width: 1024px) {
	.agp-top .agp-search { background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
	.agp-top .agp-search:focus-within { box-shadow: 0 0 0 2px var(--brand), 0 0 0 5px var(--brand-soft); }
}
@media (max-width: 767px) { .agp-top .agp-search:focus-within { box-shadow: 0 0 0 2px var(--brand), var(--shadow-float); } }

/* ═══════════ 구매 단추 눈길 끌기 (2026-11-08 사용자 요청: 클릭률) ═══════════
   ① 화면에 들어오면 빛줄기가 한 번 지나간다(6초 간격, 단추마다 최대 3번 — JS가 is-sheen을 붙인다)
   ② 마우스를 올리면 살짝 떠오르고 꺾쇠가 화살표로 벌어진다(transitions.dev learn-more hover)
   ③ 누르면 살짝 눌린다. 동작 줄이기 설정이면 모두 끈다 */
.agp .ag-cta { position: relative; isolation: isolate; overflow: hidden; gap: 0; transition: background-color var(--duration-quick) ease, transform var(--duration-fast) var(--ease-smooth-out), box-shadow var(--duration-fast) var(--ease-smooth-out); }
.agp .ag-cta::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: -45%; z-index: -1; width: 38%; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 100%); transform: translateX(0); opacity: 0; pointer-events: none; }
.agp .ag-cta.is-sheen::after { animation: ag-sheen 1100ms cubic-bezier(0.45, 0, 0.25, 1) 1; }
@keyframes ag-sheen { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 1; transform: translateX(420%); } }
.agp .ag-cta:not(.is-off):hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(110, 60, 4, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.agp .ag-cta:not(.is-off):active { transform: translateY(0) scale(0.985); transition-duration: var(--duration-quick); }
.ag-cta-arrow { display: inline-flex; margin-left: 6px; transform: translateX(0); transition: transform 350ms var(--ease-smooth-out); }
.ag-cta-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; overflow: visible; }
.ag-arm { transform-box: view-box; transform-origin: 10px 8px; vector-effect: non-scaling-stroke; transition: transform 350ms var(--ease-smooth-out); }
.agp .ag-cta:hover .ag-cta-arrow { transform: translateX(3px); }
.agp .ag-cta:hover .ag-arm-top { transform: rotate(8deg); }
.agp .ag-cta:hover .ag-arm-bot { transform: rotate(-8deg); }
@media (prefers-reduced-motion: reduce) {
	.agp .ag-cta.is-sheen::after { animation: none; }
	.agp .ag-cta, .ag-cta-arrow, .ag-arm { transition: none !important; }
	.agp .ag-cta:not(.is-off):hover { transform: none; }
}
.agp .ag-cta:not(.is-off) .ag-ad { color: #FFF; } /* 빛줄기가 지나갈 때도 '광고' 글자 대비 4.5:1 이상 */

/* ═══════════ 틀을 꿀통과 같게 (2026-11-08 사용자 요청) ═══════════
   1024px 이상: 왼쪽 메뉴 220px(로고·검색·메뉴) · 본문 · 오른쪽 aside 320px, 최대 1560px. 위 띠는 없앤다.
   1024~1279px: 196px · 본문 · 316px. 그 아래는 위 띠(로고·검색) + 메뉴 칩 줄. */
.agp-notice.is-main, .agp-rail-head { display: none; }
@media (min-width: 1024px) {
	.agp-top, .agp-mnav, .agp-notice.is-top { display: none; }
	.agp-notice.is-main { display: block; margin: 0 0 4px; padding: 10px 0 0; max-width: none; text-align: center; }
	.agp-wrap { grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 0; max-width: 1560px; padding: 0; align-items: start; }
	.agp-main { padding: 0 28px 48px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100vh; }
	.agp-rail { display: block; position: sticky; top: 0; align-self: start; height: 100vh; max-height: none; padding: 18px 12px 24px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #DDDDD9 transparent; font-size: 14px; }
	.agp-rail-head { display: grid; gap: 12px; margin-bottom: 14px; }
	.agp-logo.is-rail { padding: 2px 8px; gap: 10px; }
	.agp-logo.is-rail img { width: 30px; height: 30px; }
	.agp-logo.is-rail .agp-logo-name { font-size: 20px; }
	.agp-logo.is-rail .agp-logo-sub { display: block; }
	.agp-search.is-rail { display: flex; width: auto; height: 38px; margin: 0; padding: 0 12px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
	.agp-search.is-rail input { font-size: 13.5px; }
	.agp-search.is-rail:focus-within { box-shadow: 0 0 0 2px var(--brand), 0 0 0 5px var(--brand-soft); }
	.agp-fresh.is-rail { padding: 0 8px; font-size: 12px; }
	.agp-rail .agp-rail-h { margin: 22px 10px 6px; }
	.agp-aside { display: flex; flex-direction: column; gap: 28px; padding: 18px 14px 40px; }
	.agp-footer { max-width: 1560px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.agp-wrap { grid-template-columns: 196px minmax(0, 1fr) 316px; }
	.agp-main { padding: 0 20px 48px; }
	.agp-aside { padding: 18px 12px 40px; }
}
.agp-badge.is-fav { margin-left: auto; background: var(--ink); color: #FFF; }

/* aside 시세 탭(하락률·저점·즐겨찾기·최근 본) */
.agp-side-card { padding: 10px 12px 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); }
.agp-side-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 3px; border-radius: 10px; background: #F0F0ED; }
.agp-side-tabs button { height: 32px; padding: 0 4px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 13px; font-weight: 550; color: var(--muted); white-space: nowrap; cursor: pointer; transition: color var(--duration-quick) ease, background-color var(--duration-quick) ease; }
.agp-side-tabs button:hover { color: var(--ink); }
.agp-side-tabs button[aria-selected="true"] { background: var(--surface); box-shadow: 0 0 0 1px rgba(20, 20, 18, 0.05), 0 1px 2px rgba(20, 20, 18, 0.1); color: var(--ink); font-weight: 650; }
.agp-side-panel { padding-top: 6px; }
.agp-side-panel .agp-side-more { display: inline-block; margin-top: 6px; }
.agp-side-panel .agp-side-empty { margin: 10px 0 4px; }
.agp-mini.has-rank { grid-template-columns: 16px 44px minmax(0, 1fr); }
.agp-mini-rank { font-size: 12.5px; font-weight: 650; color: var(--muted); text-align: center; }
.agp-mini-meta .agp-tag.is-inline { margin-left: 4px; vertical-align: 1px; }

/* 모바일 위 띠: 로고 + 검색칸(누르지 않아도 바로 입력) */
@media (max-width: 767px) {
	/* 2026-11-08 사용자 지시 '로고와 검색 나란히 싫다': 로고는 첫 줄, 검색칸은 아래 줄 전체 폭. 입력 글자 16px — iPhone이 눌렀을 때 화면을 확대하지 않게 */
	.agp-top { flex-wrap: wrap; row-gap: 10px; }
	.agp-top .agp-search { display: flex; position: static; flex: 1 0 100%; order: 3; width: auto; height: 44px; margin-left: 0; padding: 0 12px; border-radius: 10px; background: #F0F0ED; box-shadow: none; }
	.agp-top .agp-search input { font-size: 16px; }
	.agp-top .agp-search-btn { display: none; }
	.agp-top .agp-logo-name { font-size: 16px; }
}
.agp-badge[hidden] { display: none; }
@media (min-width: 1024px) {
	.agp-rail-head { grid-template-columns: minmax(0, 1fr); }
	.agp-search.is-rail { min-width: 0; max-width: 100%; }
	.agp-search.is-rail input { width: 100%; }
	.agp-side-panel .agp-side-more { margin: 8px 0 2px; }
}
.agp-range-mid[hidden] { display: none; }

/* aside 정리(2026-11-08): 목록 상자는 모두 같은 흰 카드, 카드 아래 '전체 보기'는 카드 폭 단추 */
@media (min-width: 1024px) {
	.agp-aside > .agp-side { padding: 12px 14px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); }
	.agp-aside > .agp-side.agp-side-card { padding: 10px 12px 12px; }
	.agp-aside > .agp-side .agp-side-h { margin-bottom: 6px; }
	.agp-aside .agp-side-more { display: flex; align-items: center; justify-content: center; height: 36px; margin: 10px 0 0; padding: 0; border: 0; border-radius: 10px; background: #F3F3F1; box-shadow: none; font-size: 13px; font-weight: 600; color: var(--text); transition: background-color var(--duration-quick) ease, color var(--duration-quick) ease; }
	.agp-aside .agp-side-more:hover { background: #ECECE9; color: var(--ink); }
	.agp-aside .agp-cmt-list li + li { border-top: 1px solid #F0F0ED; }
	.agp-aside .agaya-partner-slot, .agp-aside .agp-goldbox { margin: 0; }
}

/* 팀장 r7 반영(2026-11-08) */
/* 1024~1180px: 본문이 470~600px라 상품 머리를 한 줄로 쌓는다(두 칸이면 구매 단추가 176px까지 줄어 '광고' 표시가 잘림) */
@media (min-width: 1024px) and (max-width: 1180px) {
	.agp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.agp-shot { aspect-ratio: 4 / 3; }
}
/* 하단 구매 띠: 화면 가운데가 아니라 본문 칸 가운데에(aside를 덮지 않게) */
@media (min-width: 1280px) { .agp-bar { left: calc(50% - 50px); width: min(600px, calc(100vw - 572px)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .agp-bar { left: calc(50% - 60px); width: min(600px, calc(100vw - 544px)); } }
/* 검색 결과: 위 띠·사이드바 검색칸에 검색어가 남으므로 본문 검색칸은 두지 않는다(모바일도 위 띠에서 바로 입력) */
.agp-search-page { display: none !important; }
/* 홈 분류별 저점 신호 14칸: 넓은 화면은 7칸 두 줄로(9 + 5로 나뉘어 빈 칸이 남지 않게) */
@media (min-width: 1280px) { .agp-sigs { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.agp-card-unit.is-stale { color: var(--up); }
/* 오래된 기록의 끝 점은 '지금'이 아니므로 뛰지 않는다 */
.agp-chart[data-stale] .agp-svg .agp-end { animation: none; }
/* 1024~1180 쌓인 상품 머리: 사진 틀을 낮춰 가격·구매 단추를 첫 화면 위쪽으로 */
@media (min-width: 1024px) and (max-width: 1180px) { .agp-shot { aspect-ratio: auto; height: 240px; } }

/* ═══════════ 꿀통만 (v2.0.0, 2026-11-08) ═══════════
   블로그 목록·글 본문·쪽 넘김·레일 블로그 분류. agaya v4의 가는 선·회색 판·조용한 회색을 그대로 쓴다.
   글 본문의 옛 구성 요소 색은 운영 mu-plugin kkultong-post-design(uploads/kkultong-design/post-design.css)이 덮는다 — 그 파일이 기대는 .kk-article.ag-narrow·.kk-article-body 이름을 유지한다. */

/* 부정 클릭 방지 장치가 광고(ins)를 걷어 낸 자리는 '광고' 라벨까지 숨긴다(옛 1.1.x와 같음) */
.agp .ag-adsense:not(:has(ins, .ag-adsense-unit)) { display: none; }

/* 레일: 블로그 분류의 글 수는 저점 신호와 다른 뜻이라 회색 배지 */
.agp-badge.is-count { background: #F0F0ED; color: var(--muted); font-weight: 500; }
.agp-menu-a[aria-current="page"] .agp-badge.is-count { background: var(--brand-ink); color: #FFF; }

/* 랭킹 가성비: 어떤 단위끼리 줄 세웠는지 */
.agp-lead.is-unit { margin: -6px 0 0; font-size: 13px; }

/* ── 블로그 글 목록: 파일 목록처럼 가는 선으로 나눈 줄(분류·날짜 · 제목 · 요약 | 사진) ── */
.kk-posts { margin-top: 14px; border-top: 1px solid var(--line); }
.kk-post-a { display: grid; grid-template-columns: minmax(0, 1fr) 136px; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color var(--duration-quick) ease; }
.kk-post-a:hover { background: linear-gradient(90deg, transparent, #F5F5F3 10%, #F5F5F3 90%, transparent); }
.kk-post-body { display: grid; gap: 5px; min-width: 0; }
.kk-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.kk-post-cat { font-weight: 600; color: var(--brand-ink); }
.kk-post-date { font-variant-numeric: tabular-nums; }
.kk-post-title { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 16px; font-weight: 650; line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.kk-post-a:hover .kk-post-title { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.kk-post-excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.kk-post-shot { display: grid; place-items: center; width: 136px; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--plate); overflow: hidden; transition: transform var(--duration-fast) var(--ease-smooth-out), box-shadow var(--duration-fast) ease; }
.kk-post-a:hover .kk-post-shot { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(20, 20, 18, 0.45); }
.kk-post-img { width: 100%; height: 100%; object-fit: cover; }
.kk-post-img.is-empty { display: grid; place-items: center; font-size: 30px; }
.kk-post-ad { list-style: none; }
.kk-post-ad .ag-adsense { margin: 18px 0; }
@media (max-width: 599px) {
	.kk-post-a { grid-template-columns: minmax(0, 1fr) 92px; gap: 14px; padding: 14px 0; }
	.kk-post-shot { width: 92px; border-radius: 12px; }
	.kk-post-title { font-size: 15px; }
	.kk-post-excerpt { -webkit-line-clamp: 1; font-size: 13px; }
	.kk-post-img.is-empty { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .kk-post-a:hover .kk-post-shot { transform: none; } }

/* ── 쪽 넘김: 블로그 허브(이전 · n / N · 다음)와 분류(the_posts_pagination) ── */
.agp .agaya-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.agp .agaya-pagination .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agp .agaya-pagination .page-numbers, .agp .agaya-pagination span.current { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; border-radius: 9px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.agp .agaya-pagination a.page-numbers:hover { background: #F0F0ED; color: var(--ink); }
.agp .agaya-pagination span.current, .agp .agaya-pagination .page-numbers.current { background: var(--ink); color: #FFF; font-weight: 600; }
.agp .agaya-pagination .dots { background: none; }
.agp .agaya-pagination.is-steps { align-items: center; gap: 8px; }
.agp .agaya-pagination.is-steps a { padding: 0 14px; font-family: var(--sans); box-shadow: 0 0 0 1px var(--line-2); color: var(--ink); }
.agp .agaya-pagination.is-steps span.current { padding: 0 12px; background: none; color: var(--muted); font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .agp .agaya-pagination a, .agp .agaya-pagination .page-numbers, .agp .agaya-pagination span.current { min-width: 36px; height: 36px; } }

/* ── 블로그 글 본문 ── */
.kk-article-head { margin-bottom: 8px; }
.kk-article-title { max-width: 30em; font-size: 26px; line-height: 1.4; }
.kk-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.kk-article-meta .kk-post-cat { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--brand-soft); font-size: 12.5px; }
.kk-article-meta time { font-variant-numeric: tabular-nums; }
.kk-article-body { margin-top: 24px; font-size: 16px; line-height: 1.85; color: var(--text); overflow-wrap: anywhere; }
.kk-article-body > * + * { margin-top: 1em; }
.kk-article-body :where(h2) { margin: 2.2em 0 0.6em; font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 24px; }
.kk-article-body :where(h3) { margin: 1.8em 0 0.5em; font-size: 17px; font-weight: 650; line-height: 1.45; color: var(--ink); scroll-margin-top: 24px; }
.kk-article-body :where(h4) { margin: 1.5em 0 0.4em; font-size: 15.5px; font-weight: 650; color: var(--ink); }
.kk-article-body :where(p) { margin: 0 0 1em; }
.kk-article-body :where(ul, ol) { margin: 0 0 1em; padding-left: 1.4em; }
.kk-article-body :where(ul) { list-style: disc; }
.kk-article-body :where(ol) { list-style: decimal; }
.kk-article-body :where(li) { margin: 0.3em 0; }
.kk-article-body :where(li)::marker { color: var(--faint); }
.kk-article-body :where(a) { color: var(--brand-ink); text-decoration: underline; text-decoration-color: rgba(138, 76, 5, 0.35); text-underline-offset: 3px; }
.kk-article-body :where(a):hover { text-decoration-color: currentColor; }
.kk-article-body :where(strong, b) { font-weight: 650; color: var(--ink); }
.kk-article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.kk-article-body :where(figure) { margin: 1.4em 0; max-width: 100%; }
.kk-article-body :where(figcaption) { margin-top: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
/* 인용: 한쪽 막대 대신 회색 판 전체(사용자 디자인 기준) */
.kk-article-body :where(blockquote) { margin: 1.4em 0; padding: 14px 18px; border-radius: 14px; background: var(--plate); color: var(--text); }
.kk-article-body :where(blockquote) > :last-child { margin-bottom: 0; }
.kk-article-body :where(table) { display: block; max-width: 100%; margin: 1.2em 0; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.kk-article-body :where(th, td) { min-width: 5.5em; padding: 9px 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.kk-article-body :where(th) { background: var(--plate); font-weight: 650; color: var(--ink); }
.kk-article-body :where(hr) { height: 1px; margin: 2em 0; border: 0; background: var(--line); }
.kk-article-body :where(code) { padding: 1px 5px; border-radius: 5px; background: #F0F0ED; font-family: var(--mono); font-size: 0.9em; }
.kk-article-body :where(pre) { padding: 14px 16px; border-radius: 12px; background: var(--plate); overflow-x: auto; font-size: 13.5px; }
.kk-article-body iframe, .kk-article-body video { max-width: 100%; }
.kk-article-body .agp-scroll-hint { margin: 18px 0 -10px; font-size: 12px; color: var(--muted); }
.kk-article-body .ag-adsense, .kk-article-body .agaya-partner-slot { margin: 32px 0; }
/* 발행 도구가 넣은 본문 목차 번호 표지(인라인 11px) → 12px(옛 1.1.7과 같음). 숫자 상자만 고르려고 세 속성을 함께 요구한다 */
.kk-article-body span[style*="font-size:11px" i][style*="text-align:center" i][style*="color:#fff" i] { font-size: 12px !important; }
@media (max-width: 767px) {
	.kk-article-title { font-size: 22px; }
	.kk-article-body { font-size: 15.5px; }
	.kk-article-body :where(h2) { font-size: 19px; }
	.kk-article-meta .kk-post-cat { height: 36px; padding: 0 12px; }
}

/* ═══════════ 팀장 검수 보완 (2026-11-08, agaya와 같은 공통 보완) ═══════════ */
/* 태블릿·터치 화면도 누르는 대상 36px(메뉴 칩·거르기 칩·정렬·기간 단추·'○○ 전체') */
@media (max-width: 1023px), (pointer: coarse) {
	.agp-mnav a, .agp .ag-chip, .agp .agaya-sort a, .agp .ag-tabs a, .agp-seg button, .agp-h-more { min-height: 36px; }
	.agp-h-more { display: inline-flex; align-items: center; }
	/* 3차 검수 권장: 터치 노트북·태블릿 가로(1024~1180, 왼쪽 메뉴가 보이는 너비)에서도 메뉴·'이 페이지' 목차·aside 탭 36px */
	.agp-menu-a, .agp-menu.is-cats .agp-menu-a, .agp-rail .agp-toc a { min-height: 36px; }
	.agp-side-tabs button { height: 36px; }
}
/* 모바일 메뉴 칩 줄의 즐겨찾기 개수 배지(지금 페이지 칩은 먹색 바탕이라 흰 배지) */
.agp-mnav .agp-badge.is-fav { margin-left: 6px; }
.agp-mnav a[aria-current="page"] .agp-badge.is-fav { background: #FFF; color: var(--ink); }
/* 짧은 페이지에서도 본문|aside 구분선이 끝까지 이어지게 */
@media (min-width: 1024px) { .agp-main { align-self: stretch; } }
/* 동의 전 비활성 제출 단추도 글자 대비 4.5:1 이상(#36363A / #E4E4E0) */
.agp .agaya-comment-submit:disabled, .agp .agaya-inq-submit:disabled { background: #E4E4E0; color: var(--text); }
/* 블로그 글 목차: 소제목이 길어도 레일 안에서 줄을 바꾼다 */
.agp-rail .agp-toc a { align-items: flex-start; line-height: 1.4; padding-top: 5px; padding-bottom: 5px; }
.agp-rail .agp-toc a::before { margin-top: 6.5px; } /* 두 줄이어도 점은 첫 줄에 */

/* ═══════════ 팀장 2차 검수 보완 (2026-11-08) ═══════════ */
/* aside 즐겨찾기·최근 본 한 줄: 7일 넘은 가격·판매 중단 추정은 하락률 대신 'n일 전 가격'·'마지막 기록'(빨강 #BF3328, 흰 바탕 5.6:1) */
.agp-mini-old { margin-left: 4px; font-weight: 600; color: var(--up); }
/* 태블릿(768~1023)·터치 화면에서도 작은 글자 링크·단추를 36px 이상으로 — 767px 이하에만 있던 규칙을 넓힌다 */
@media (max-width: 1023px), (pointer: coarse) {
	.agp-path { align-items: center; }
	.agp-path a { display: inline-flex; align-items: center; min-height: 36px; }
	.agp-footer nav a { display: inline-flex; align-items: center; min-height: 40px; }
	.agp-tags > * { height: 36px; padding: 0 12px; }
	.agp .agaya-vote-btn { height: 36px; padding: 0 12px; }
	.agp .agaya-comment-actions a, .agp .agaya-comment-del { height: 36px; padding: 0 10px; }
	.agp .agaya-csort a { height: 36px; }
	.agp-catrow-top { min-height: 36px; align-items: center; }
	.agp-catrow-kids a { display: inline-flex; align-items: center; min-height: 36px; }
	.agp-brands a { min-height: 44px; align-items: center; }
	.agp-h-more, .agp-side-more, .agp-hh-go, .agp-opinion-go, .agp-more { height: 36px; padding: 0 12px 0 14px; }
	.agp .agaya-pagination a, .agp .agaya-pagination .page-numbers, .agp .agaya-pagination span.current { min-width: 36px; height: 36px; }
	.kk-article-meta .kk-post-cat { height: 36px; padding: 0 12px; }
	.agp-hh-chip { height: 36px; }
}

/* ═══════════ 참여 단추·판매 중단 표시 (2026-11-08, agaya·coff와 같은 값) ═══════════
   '가격이 달라요!'는 형광펜 노랑(--mark) 바탕 + 먹색 글자(약 14:1), 누른 단추는 옅은 호박색 바탕 + 호박색 테두리. 누르는 높이 38px */
.agp-react { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.agp-react-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.agp-react-h small { font-size: 12px; font-weight: 400; color: var(--muted); }
.agp-react-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.agp-rx { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; max-width: 100%; padding: 6px 13px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--text); text-align: left; cursor: pointer; }
.agp-rx:hover { box-shadow: inset 0 0 0 1px #BDBDB8; color: var(--ink); }
.agp-rx-n { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--muted); }
.agp-rx[aria-pressed="true"] { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--ink); cursor: default; }
.agp-rx[aria-pressed="true"] .agp-rx-n { color: var(--text); }
.agp-rx.is-diff { background: var(--mark); box-shadow: inset 0 0 0 1px rgba(140, 104, 0, 0.3); font-weight: 700; color: var(--ink); }
.agp-rx.is-diff:hover { background: #FFD84D; }
.agp-rx.is-diff .agp-rx-n { color: var(--text); }
/* 마지막으로 누른 때(2026-11-08 v9, agaya와 같음) — 12px, 회색(--muted #5F5F5B), 한 번도 눌리지 않은 단추는 hidden */
.agp-rx-t { font-size: 12px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.agp-rx-t::before { content: "· "; }
.agp-rx.is-diff .agp-rx-t, .agp-rx[aria-pressed="true"] .agp-rx-t { color: var(--text); }
.agp-rx.is-diff[aria-pressed="true"] { background: #FFF6CF; box-shadow: inset 0 0 0 1.5px rgba(140, 104, 0, 0.45); font-weight: 600; }
.agp-rx.is-busy { cursor: progress; }
.agp-react-hint { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.agp-react-msg { margin-top: 4px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.agp-react-msg:empty { margin: 0; } /* 알림 영역은 숨기지 않는다(화면 읽기 프로그램이 새 글을 읽게) */
.agp-react-msg.is-error { font-weight: 500; color: var(--up); }
.agp-okn { font-size: 12.5px; color: var(--muted); }
.agp-okn b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.agp-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.agp-bar-old { margin-right: 2px; font-size: 12px; font-weight: 600; color: var(--up); }

/* 모바일 입력칸 16px(iOS 자동 확대 방지, 2026-11-08) */
@media (max-width: 1023px) { input[type="search"], input[type="text"], input[type="email"], input[type="password"], textarea, select { font-size: 16px !important; } }
