/* Self-hosted brand fonts (SIL OFL 1.1) — subset to site text */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/Pretendard-subset.woff2") format("woff2");
  font-weight: 45 930;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif KR";
  src: url("/assets/fonts/NotoSerifKR-subset.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   ?곕굹??(Tinana) ??styles.css
   ?꾪넻 李살쭛 + ?꾨? ?몄쭛 ?붿옄?? 醫낆씠 吏덇컧, ?뉗? ?ㅼ꽑, ?몃━???쒕ぉ, ?됰꼮???щ갚.
   ?몃? ?고듃/CDN ?놁쓬. ?몃씪??SVG ?꾩씠肄섎쭔 ?ъ슜.
   ========================================================================== */

/* ---------- 1. ?좏겙 ---------- */
:root {
  /* API.md 짠7 怨좎젙 ?좏겙 */
  --paper: #F6F1E7;
  --paper-2: #EFE7D8;
  --card: #FFFDF8;
  --ink: #1F1C17;
  --muted: #6F685D;
  --line: #DED3C2;
  --matcha: #4F6B3F;
  --matcha-deep: #33452A;
  --amber: #B06B35;
  --clay: #8A4B3A;
  --gold: #C9A227;

  /* ?뚯깮 */
  --paper-3: #E7DDCB;
  --line-strong: #C9BAA2;
  --ink-soft: #38322A;
  --btn-bg: #33452A;
  --btn-bg-hover: #243318;
  --btn-fg: #F6F1E7;
  --matcha-tint: #E4E9DC;
  --amber-tint: #F1E4D3;
  --clay-tint: #EEDFD8;
  --gold-tint: #F3EBCF;
  --header-bg: rgba(246, 241, 231, 0.86);
  --footer-bg: #241F19;
  --footer-fg: #EFE7D8;
  --footer-muted: #B9AD97;
  --footer-line: #3D342A;
  --glass: rgba(255, 253, 248, 0.16);
  --glass-line: rgba(255, 253, 248, 0.34);

  --font-display: "Noto Serif KR", "Noto Serif CJK KR", "AppleMyungjo", "Nanum Myeongjo", "Batang", Georgia, serif;
  --font-body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius: 3px;
  --radius-sm: 2px;
  --shadow-sm: 0 1px 2px rgba(31, 28, 23, 0.05);
  --shadow-md: 0 14px 34px -18px rgba(31, 28, 23, 0.28);
  --focus: #B06B35;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 由ъ뀑 / 湲곕낯 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.012em;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
li,
dt,
dd,
figcaption,
.badge,
.tag,
.chip,
.btn {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 醫낆씠 吏덇컧 ???붾㈃ ?꾩껜???꾩＜ ?낆? ?몃씪??SVG ?몄씠利?*/
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image: var(--noise);
  background-size: 180px 180px;
  opacity: 0.045;
  mix-blend-mode: multiply;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

a:hover {
  color: var(--matcha-deep);
}

button {
  font: inherit;
  color: inherit;
}

strong {
  font-weight: 700;
}

::selection {
  background: var(--matcha);
  color: var(--paper);
}

/* ?ъ빱??留? ?ㅻ낫???ъ슜?먯뿉寃뚮쭔 紐낇솗?섍쾶 */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

main:focus,
main:focus-visible {
  outline: none;
}

/* 라우터가 스크린리더 안내용으로 programmatic focus 하는 대상(h1, tabindex=-1)에는 링을 표시하지 않는다 */
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--matcha-deep);
  color: var(--paper);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.15s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--paper);
}

/* ---------- 3. ?덉씠?꾩썐 ?좏떥 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.view {
  flex: 1;
  animation: view-in 0.4s var(--ease) both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding-block: clamp(40px, 6vw, 76px);
}

.section--tight {
  padding-block: clamp(30px, 4.5vw, 52px);
}

.section--ruled {
  border-top: 1px solid var(--line);
}

.muted {
  color: var(--muted);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- 4. 怨듯넻 ?띿뒪??---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--matcha);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--amber {
  color: var(--amber);
}

.eyebrow--paper {
  color: var(--paper-2);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(22px, 3.2vw, 36px);
}

.section-head__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
}

.section-head p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 14.5px;
}

.section-head__action {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--matcha-deep);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.16s var(--ease), gap 0.16s var(--ease);
}

.section-head__action:hover {
  border-bottom-color: var(--matcha);
  color: var(--matcha-deep);
  gap: 10px;
}

/* ---------- 5. 踰꾪듉 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-align: center;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.12s var(--ease), color 0.16s var(--ease);
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-busy="true"],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--clay {
  background: var(--clay);
  color: #FFF8F2;
}

.btn--clay:hover {
  background: #733c2e;
  color: #FFF8F2;
}

.btn--sm {
  padding: 9px 14px;
  font-size: 13px;
  gap: 6px;
}

.btn--block {
  width: 100%;
}

.btn--link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--matcha-deep);
  font-weight: 600;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--matcha) 45%, transparent);
}

.btn--link:hover {
  background: none;
  color: var(--matcha-deep);
  text-decoration-color: var(--matcha);
}

/* ---------- 6. 諛곗? / 移?---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.badge .icon {
  width: 1em;
  height: 1em;
}

.badge--solid {
  background: var(--matcha-deep);
  border-color: var(--matcha-deep);
  color: var(--paper);
  font-weight: 600;
}

.badge--amber {
  border-color: color-mix(in srgb, var(--amber) 34%, var(--line));
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 7%, transparent);
}

.badge--clay {
  border-color: color-mix(in srgb, var(--clay) 34%, var(--line));
  color: var(--clay);
  background: color-mix(in srgb, var(--clay) 7%, transparent);
}

.badge--matcha {
  border-color: color-mix(in srgb, var(--matcha) 32%, var(--line));
  color: var(--matcha-deep);
  background: color-mix(in srgb, var(--matcha) 7%, transparent);
}

.badge--gold {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
  color: #8d7016;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}

.badge--glass {
  border-color: var(--glass-line);
  background: var(--glass);
  color: #FFFDF8;
  backdrop-filter: blur(2px);
}

.badge--lg {
  padding: 5px 11px;
  font-size: 12.5px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12.5px;
  line-height: 1.4;
  white-space: nowrap;
}

.chip--tag {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.chip--filter {
  background: var(--matcha-tint);
  border-color: color-mix(in srgb, var(--matcha) 26%, var(--line));
  color: var(--matcha-deep);
  gap: 7px;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}

.chip--filter:hover {
  background: color-mix(in srgb, var(--matcha) 18%, var(--paper));
  border-color: var(--matcha);
}

.chip--filter .icon {
  width: 0.95em;
  height: 0.95em;
  opacity: 0.7;
}

/* ---------- 7. ??---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field > label,
.field__label,
.field > legend {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0;
}

.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.field--inline > label {
  font-size: 12.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.input::placeholder,
.textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 62%, transparent);
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--matcha);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--matcha) 16%, transparent);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236F685D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.field__hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--clay);
  line-height: 1.5;
}

.field__error::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.is-invalid .input,
.is-invalid .select,
.is-invalid .textarea {
  border-color: var(--clay);
  background: color-mix(in srgb, var(--clay) 3%, var(--card));
}

.is-invalid .input:focus,
.is-invalid .select:focus,
.is-invalid .textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 15%, transparent);
}

.input-group {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.input-group .input {
  flex: 1;
  min-width: 0;
}

.input-group .btn {
  flex: none;
}

.search {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.search .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}

.search .input {
  padding-left: 40px;
  height: 46px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.form-status {
  min-height: 0;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 13.5px;
  line-height: 1.6;
}

.notice .icon {
  margin-top: 2px;
  flex: none;
}

.notice--success {
  border-left-color: var(--matcha);
  background: color-mix(in srgb, var(--matcha) 6%, var(--card));
}

.notice--success .icon {
  color: var(--matcha);
}

.notice--error {
  border-left-color: var(--clay);
  background: color-mix(in srgb, var(--clay) 6%, var(--card));
}

.notice--error .icon {
  color: var(--clay);
}

.notice--info {
  border-left-color: var(--amber);
  background: color-mix(in srgb, var(--amber) 5%, var(--card));
}

.notice__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notice strong {
  font-weight: 700;
}

/* ---------- 8. ?ㅻ뜑 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--matcha-deep);
  flex: none;
}

.brand__word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand__latin {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 32px);
}

.nav a {
  position: relative;
  padding: 8px 1px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.76;
}

.nav a:hover {
  opacity: 1;
  color: var(--matcha-deep);
}

.nav a[aria-current="page"] {
  opacity: 1;
  font-weight: 700;
  color: var(--matcha-deep);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--matcha);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--paper-2);
}

.nav-toggle .icon {
  width: 20px;
  height: 20px;
}

.nav-toggle__close {
  display: none;
}

.site-header.is-nav-open .nav-toggle__open {
  display: none;
}

.site-header.is-nav-open .nav-toggle__close {
  display: block;
}

/* ---------- 9. ?덉뼱濡?---------- */
.hero {
  position: relative;
  padding-block: clamp(34px, 5.6vw, 76px) clamp(30px, 5vw, 58px);
  overflow: clip;
}

.hero::after {
  content: "??;
  position: absolute;
  right: -0.06em;
  top: 46%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(240px, 34vw, 520px);
  line-height: 1;
  color: var(--matcha);
  opacity: 0.045;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4.5vw, 3.65rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.hero-title em {
  font-style: normal;
  color: var(--matcha-deep);
  position: relative;
  white-space: nowrap;
}

.hero-title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.24em;
  background: color-mix(in srgb, var(--gold) 26%, transparent);
  z-index: -1;
}

.hero-sub {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(15px, 1.24vw, 17px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-note .icon {
  color: var(--matcha);
}

/* ?덉뼱濡??꾪듃: 移대뱶 + ?닿툔???꾨젅??*/
.hero-art {
  position: relative;
  margin: 0;
  padding: 14px 14px 0;
}

.hero-art__frame {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% - 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transform: translate(10px, 12px);
  pointer-events: none;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(300px, 34vw, 400px);
  padding: clamp(18px, 2.4vw, 26px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent, #8A6A3B) 55%, #33291c);
  border-radius: var(--radius);
  background: var(--accent, #8A6A3B);
  color: #FFFDF8;
  isolation: isolate;
  transition: transform 0.25s var(--ease);
}

.hero-card:hover {
  transform: translateY(-3px);
  color: #FFFDF8;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(255, 253, 248, 0.22), transparent 52%),
    linear-gradient(168deg, transparent 38%, rgba(24, 20, 15, 0.42));
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.055) 0 1px, transparent 1px 26px);
  pointer-events: none;
}

.hero-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hero-card__glyph {
  writing-mode: vertical-rl;
  align-self: flex-end;
  max-height: 62%;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.7vw, 48px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: rgba(255, 253, 248, 0.94);
  text-shadow: 0 1px 14px rgba(24, 20, 15, 0.18);
  white-space: nowrap;
}

.hero-card__foot {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 253, 248, 0.26);
}

.hero-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-card__meta {
  font-size: 12.5px;
  color: rgba(255, 253, 248, 0.78);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-art__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-art__caption .icon {
  color: var(--amber);
}

.seal {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid rgba(255, 253, 248, 0.5);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 253, 248, 0.94);
  background: rgba(255, 253, 248, 0.08);
  transform: rotate(-6deg);
}

/* ---------- 10. ?듭떖 吏??---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: clamp(16px, 2.6vw, 26px) clamp(14px, 2.2vw, 24px);
  background: var(--paper);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.stat__num small {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 0.44em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.stat__label {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ---------- 11. ?곗? 諛붾줈媛湲?---------- */
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.region-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 172px;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  isolation: isolate;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.region-card:hover {
  border-color: color-mix(in srgb, var(--matcha) 55%, var(--line));
  background: var(--paper-2);
  color: var(--ink);
}

.region-card__glyph {
  position: absolute;
  right: 8px;
  bottom: -0.24em;
  z-index: -1;
  font-family: var(--font-display);
  font-size: clamp(96px, 12vw, 150px);
  font-weight: 700;
  line-height: 1;
  color: var(--matcha);
  opacity: 0.075;
  pointer-events: none;
}

.region-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.region-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.region-card__local {
  margin-left: 8px;
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.region-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.region-card__links .btn {
  margin-left: auto;
}

.region-card:hover .region-card__links .icon-arrow {
  transform: translateX(3px);
}

.region-card .icon-arrow {
  transition: transform 0.18s var(--ease);
}

/* ---------- 12. ??移대뱶 / ?꾪듃 ---------- */
.tea-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: clamp(14px, 1.9vw, 24px);
}

.tea-grid--mini {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.tea-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tea-card:hover,
.tea-card:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--matcha) 50%, var(--line));
  transform: translateY(-3px);
}

.art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16 / 10;
  padding: 12px 13px;
  overflow: hidden;
  background: var(--accent, #8A6A3B);
  color: #FFFDF8;
  isolation: isolate;
}

.art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 86% 6%, rgba(255, 253, 248, 0.2), transparent 55%),
    linear-gradient(170deg, transparent 34%, rgba(24, 20, 15, 0.44));
}

.art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.05) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

.art__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.art__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.art__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(2px);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #FFFDF8;
  white-space: nowrap;
}

.art__seal {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: var(--glass);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: #FFFDF8;
  transform: rotate(-6deg);
}

.art__glyph {
  position: absolute;
  right: 11px;
  bottom: 30px;
  max-width: 78%;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.08;
  color: rgba(255, 253, 248, 0.93);
  text-shadow: 0 1px 12px rgba(24, 20, 15, 0.2);
  text-align: right;
  overflow-wrap: anywhere;
}

.art__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 253, 248, 0.82);
}

.art__foot .rating {
  color: rgba(255, 253, 248, 0.92);
}

.art__foot .rating__star.is-on {
  color: #F0CE67;
}

.art__foot .rating__star {
  color: rgba(255, 253, 248, 0.4);
}

.art__foot .rating__text strong {
  color: #FFFDF8;
}

.tea-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 14px 16px 15px;
}

.tea-card__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.tea-card__title {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.tea-card__local {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.tea-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

.tea-card__meta .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--muted);
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
  white-space: nowrap;
}

.tea-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.price {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}

.price small {
  font-weight: 500;
  color: var(--muted);
  margin-left: 2px;
}

.price--unknown {
  font-weight: 500;
  color: var(--muted);
}

.vendor-names {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 62%;
  text-align: right;
}

/* ---------- 13. ?됱젏 ---------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.rating__icons {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.rating__star {
  width: 13px;
  height: 13px;
  color: var(--line-strong);
  margin: 0;
}

.rating__star.is-on {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.rating__text {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.rating__text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.rating--lg .rating__star {
  width: 18px;
  height: 18px;
}

.rating--lg .rating__text {
  font-size: 14px;
}

.rating--lg .rating__text strong {
  font-size: 17px;
}

/* ---------- 14. 由щ럭 移대뱶 (?? / 由щ럭 紐⑸줉 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color 0.18s var(--ease);
}

.review-card:hover {
  border-color: var(--line-strong);
}

.review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card__quote {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 26px;
  height: 26px;
  color: var(--line-strong);
  opacity: 0.8;
}

.review-card__title {
  padding-right: 22px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.review-card__body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-soft);
  white-space: pre-line;
}

.review-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.review-card__tea {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--matcha-deep);
}

.review-card__tea:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-list {
  display: flex;
  flex-direction: column;
}

.review {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.review:first-child {
  border-top: 0;
  padding-top: 4px;
}

.review__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.review__author {
  font-weight: 600;
  font-size: 14px;
}

.review__date {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.review__kind {
  margin-left: auto;
}

.review__title {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.review__body {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  white-space: pre-line;
  max-width: 72ch;
}

.review__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.brew-note {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding-left: 10px;
  border-left: 2px solid var(--gold);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.brew-note strong {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- 15. ?먮ℓ泥?移대뱶 ---------- */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(12px, 1.7vw, 20px);
}

.vendor-grid--compact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vendor-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.vendor-card:hover,
.vendor-card:focus-visible {
  border-color: color-mix(in srgb, var(--clay) 40%, var(--line));
  transform: translateY(-2px);
  color: var(--ink);
}

.vendor-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vendor-seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--clay) 36%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--clay) 7%, transparent);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--clay);
}

.vendor-seal--lg {
  width: 60px;
  height: 60px;
  font-size: 23px;
}

.vendor-card__names {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vendor-card__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.vendor-card__local {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.vendor-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.vendor-card__meta .icon {
  width: 13px;
  height: 13px;
}

.vendor-card__note {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-soft);
}

.vendor-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.vendor-card__specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.vendor-card__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--clay);
  white-space: nowrap;
}

/* ---------- 16. 紐⑸줉 ?섏씠吏 (怨듯넻) ---------- */
.page-head {
  padding-top: clamp(24px, 3.6vw, 44px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--matcha-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.crumbs__sep {
  color: var(--line-strong);
}

.crumbs [aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 500;
}

.page-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-head h1 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.14;
}

.page-head__sub {
  max-width: 56ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.filters-toggle {
  display: none;
}

.filters-toggle__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--matcha-deep);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
}

.filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(4, minmax(120px, 1fr));
  gap: 12px;
  align-items: end;
  padding: clamp(14px, 2vw, 18px);
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.filters--vendors {
  grid-template-columns: minmax(200px, 1.8fr) repeat(2, minmax(140px, 1fr));
}

.filters__foot {
  display: none;
  grid-column: 1 / -1;
  justify-content: flex-end;
  gap: 8px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.active-filters__label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.active-filters__clear {
  margin-left: 2px;
  padding: 3px 0;
}

.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

.list-count {
  font-size: 13px;
  color: var(--muted);
}

.list-count strong {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.list-toolbar .field--inline .select {
  padding-block: 8px;
  font-size: 13.5px;
  min-width: 132px;
}

.results {
  position: relative;
  min-height: 200px;
}

/* ---------- 17. ?섏씠吏?ㅼ씠??---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(26px, 4vw, 40px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
}

.page-btn {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--matcha);
  background: var(--paper-2);
}

.page-btn[aria-current="page"] {
  background: var(--matcha-deep);
  border-color: var(--matcha-deep);
  color: var(--paper);
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.page-btn--nav {
  padding-inline: 14px;
  gap: 5px;
}

.page-info {
  margin-inline: 6px;
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 18. ?곸꽭 ---------- */
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4.4vw, 60px);
  align-items: start;
  padding-block: clamp(16px, 2.6vw, 30px) clamp(28px, 4vw, 46px);
}

.art--lg {
  position: sticky;
  top: 92px;
  aspect-ratio: 4 / 4.6;
  min-height: 320px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.art--lg .art__glyph {
  right: clamp(14px, 2.4vw, 24px);
  bottom: 60px;
  max-width: 88%;
  font-size: clamp(42px, 5.6vw, 74px);
}

.art--lg .art__seal {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.art--lg .art__foot {
  font-size: 12px;
}

.detail-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.detail-local {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: -6px;
  color: var(--muted);
  font-size: 14.5px;
}

.detail-local span {
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.detail-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.detail-rating .btn--link {
  font-size: 12.5px;
  color: var(--muted);
}

.detail-rating .btn--link:hover {
  color: var(--matcha-deep);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  border-top: 1px solid var(--line);
}

.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.spec-list dd {
  font-size: 13.5px;
  font-weight: 500;
  text-align: right;
  overflow-wrap: break-word;
}

.detail-desc {
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink-soft);
  max-width: 64ch;
  white-space: pre-line;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.panel-section {
  padding: clamp(26px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

/* ?곕┝ 媛?대뱶 */
.brew {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
}

.seg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--line);
}

.seg__btn {
  position: relative;
  padding: 11px 16px;
  border: 0;
  background: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.seg__btn:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-2) 60%, transparent);
}

.seg__btn[aria-selected="true"] {
  color: var(--matcha-deep);
  font-weight: 700;
  background: color-mix(in srgb, var(--matcha) 7%, transparent);
}

.seg__btn[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--matcha);
}

.seg__btn small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.brew-panel {
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.brew-panel:focus-visible {
  outline-offset: 3px;
}

.brew-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.brew-facts > div {
  padding: 12px 14px;
  background: var(--paper);
}

.brew-facts dt {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.brew-facts dd {
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brew-facts dd small {
  margin-left: 2px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.brew-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.brew-steps li {
  display: flex;
  gap: 9px;
}

.brew-steps li::before {
  content: counter(step);
  counter-increment: step;
  flex: none;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}

.brew-steps {
  counter-reset: step;
}

.brew-empty {
  font-size: 13.5px;
  color: var(--muted);
}

/* 차 상세: 이 차의 우림 포인트 (brew_note) */
.brew-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--gold) 32%, var(--line));
  border-left-width: 3px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--gold) 5%, var(--card));
}

.brew-tip > .icon {
  flex: none;
  margin-top: 2px;
  color: var(--amber);
}

.brew-tip__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brew-tip__body strong {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.brew-tip__body span {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

@media (max-width: 640px) {
  .brew-tip {
    padding: 12px 13px;
  }
}

/* ?먮ℓ泥?留곹겕 紐⑸줉 */
.vendor-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vendor-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color 0.16s var(--ease);
}

.vendor-link:hover {
  border-color: color-mix(in srgb, var(--clay) 36%, var(--line));
}

.vendor-link__main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.vendor-link__name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}

.vendor-link__name a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vendor-link__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.vendor-link__note {
  font-size: 12.8px;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vendor-link__side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ?곸꽭 2?? 由щ럭 + ?묒꽦 ??*/
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.reviews-col {
  min-width: 0;
}

.review-form-col {
  position: sticky;
  top: 92px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
}

.form-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.rating-input__item {
  position: relative;
}

.rating-input input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rating-input label {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: var(--line-strong);
  border-radius: var(--radius-sm);
  transition: color 0.12s var(--ease), transform 0.12s var(--ease);
}

.rating-input label .icon {
  width: 24px;
  height: 24px;
  transition: transform 0.12s var(--ease);
}

.rating-input label:hover .icon {
  transform: scale(1.12);
}

.rating-input input:focus-visible + label {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.rating-input input:checked + label,
.rating-input:hover input:checked + label {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.rating-input:hover label {
  color: var(--line-strong);
}

.rating-input:hover label:hover .icon {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.rating-input:hover label:hover ~ label .icon {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.rating-input input:checked ~ label .icon {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.flavor-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flavor-pick label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.flavor-pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.flavor-pick span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  transition: background 0.14s var(--ease), border-color 0.14s var(--ease), color 0.14s var(--ease);
}

.flavor-pick input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.flavor-pick input:checked + span {
  background: var(--matcha-tint);
  border-color: var(--matcha);
  color: var(--matcha-deep);
  font-weight: 600;
}

.flavor-pick input:checked + span::before {
  content: "??;
  font-size: 10px;
  font-weight: 700;
}

.char-count {
  align-self: flex-end;
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

/* ---------- 19. ?먮ℓ泥??곸꽭 ---------- */
.vendor-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.6vw, 28px);
  align-items: start;
  padding-block: 8px clamp(26px, 4vw, 40px);
}

.vendor-hero__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.vendor-hero__names {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vendor-hero .detail-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.vendor-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--muted);
}

.vendor-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vendor-note {
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  white-space: pre-line;
}

.vendor-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.verified-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.verified-note .icon {
  color: var(--amber);
}

/* ---------- 20. 媛?몄삤湲?---------- */
.import-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
  gap: clamp(20px, 3.4vw, 40px);
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.import-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.import-panel__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.import-panel__head h2 {
  font-size: 1.3rem;
}

.import-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.import-status {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.preview-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--accent, #8A6A3B);
  display: grid;
  place-items: center;
  color: rgba(255, 253, 248, 0.9);
  font-family: var(--font-display);
  font-size: 26px;
}

.preview-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.preview-card__site {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
}

.preview-card__title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.4;
}

.preview-card__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.preview-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.preview-card__meta .price {
  font-size: 13px;
}

.draft-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.draft-form__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.draft-form__head h3 {
  font-size: 1.1rem;
}

.draft-form__head p {
  font-size: 12.5px;
  color: var(--muted);
}

.draft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 160px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.checklist label {
  position: relative;
  cursor: pointer;
}

.checklist input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.checklist span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.checklist input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.checklist input:checked + span {
  border-color: var(--matcha);
  background: var(--matcha-tint);
  color: var(--matcha-deep);
  font-weight: 600;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--paper-2) 55%, var(--card));
}

.side-panel h2 {
  font-size: 1.15rem;
}

.side-panel .steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.steps li {
  display: flex;
  gap: 10px;
}

.steps li::before {
  content: attr(data-step);
  flex: none;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
}

.callout {
  display: flex;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid color-mix(in srgb, var(--amber) 26%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--amber) 5%, var(--card));
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.callout .icon {
  flex: none;
  margin-top: 2px;
  color: var(--amber);
}

/* ---------- 21. ?뚭컻 ---------- */
.about-hero {
  padding-block: clamp(28px, 4.4vw, 56px) clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.about-hero h1 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
}

.about-hero__tagline {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--matcha-deep);
  line-height: 1.5;
}

.about-hero__intro {
  max-width: 68ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(30px, 4.6vw, 52px) clamp(40px, 6vw, 72px);
}

.about-sections {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.about-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.about-section__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.08em;
  padding-top: 3px;
}

.about-section h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.about-section p {
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--ink-soft);
  white-space: pre-line;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.about-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.about-card h2 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.about-card h2 .icon {
  color: var(--matcha);
}

.about-card p,
.about-card li {
  font-size: 12.8px;
  line-height: 1.7;
  color: var(--muted);
}

.about-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-card li {
  display: flex;
  gap: 7px;
}

.about-card li::before {
  content: "쨌";
  flex: none;
  color: var(--amber);
  font-weight: 700;
}

.about-updated {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- 22. CTA 諛대뱶 ---------- */
.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3.6vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  overflow: hidden;
}

.cta-band__glyph {
  position: absolute;
  right: -10px;
  bottom: -0.3em;
  font-family: var(--font-display);
  font-size: clamp(90px, 13vw, 170px);
  font-weight: 700;
  line-height: 1;
  color: var(--matcha);
  opacity: 0.07;
  pointer-events: none;
}

.cta-band__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 56ch;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.cta-band p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.68;
}

.cta-band .btn {
  position: relative;
  flex: none;
}

/* ---------- 23. 鍮??곹깭 / ?ㅻ쪟 / ?ㅼ펷?덊넠 ---------- */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: clamp(32px, 6vw, 64px) 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--card) 62%, transparent);
  text-align: center;
}

.state-box__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
}

.state-box__icon .icon {
  width: 24px;
  height: 24px;
}

.state-box h1,
.state-box h2,
.state-box h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  letter-spacing: -0.02em;
}

.state-box p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.state-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.state-box__hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.state-box__hint code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.state-box--error {
  border-style: solid;
  border-color: color-mix(in srgb, var(--clay) 30%, var(--line));
  background: color-mix(in srgb, var(--clay) 4%, var(--card));
}

.state-box--error .state-box__icon {
  border-color: color-mix(in srgb, var(--clay) 30%, var(--line));
  color: var(--clay);
  background: color-mix(in srgb, var(--clay) 6%, var(--paper));
}

.state-box--inline {
  padding: 26px 18px;
}

.sk {
  border-radius: 2px;
  background: linear-gradient(
    100deg,
    var(--paper-2) 18%,
    color-mix(in srgb, var(--paper-2) 45%, var(--card)) 38%,
    var(--paper-2) 58%
  );
  background-size: 250% 100%;
  animation: sk-shimmer 1.5s ease-in-out infinite;
}

@keyframes sk-shimmer {
  0% {
    background-position: 130% 0;
  }
  100% {
    background-position: -30% 0;
  }
}

.sk--line {
  height: 12px;
}

.sk--title {
  height: 20px;
  width: 72%;
}

.sk-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.sk-card__art {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.sk-card__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px 16px;
}

.sk-card__body .sk--line:nth-child(2) {
  width: 54%;
}

.sk-card__body .sk--line:nth-child(3) {
  width: 84%;
}

.sk-card__body .sk--line:nth-child(4) {
  width: 38%;
}

.sk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: clamp(14px, 1.9vw, 24px);
}

.sk-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.sk-hero__box {
  aspect-ratio: 5 / 4;
  border: 1px solid var(--line);
}

.loading-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.loading-line .spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--line-strong);
  border-top-color: var(--matcha);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- 24. ?명꽣 ---------- */
.site-footer {
  margin-top: auto;
  padding-top: clamp(32px, 4.6vw, 56px);
  padding-bottom: 24px;
  background: var(--footer-bg);
  color: var(--footer-fg);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(26px, 4vw, 40px);
  border-bottom: 1px solid var(--footer-line);
}

.footer-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.footer-word span {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-desc {
  margin-top: 10px;
  font-size: 12.8px;
  line-height: 1.75;
  color: var(--footer-muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-nav a {
  color: var(--footer-fg);
  opacity: 0.82;
  width: fit-content;
}

.footer-nav a:hover {
  color: var(--footer-fg);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin-bottom: 8px;
}

#footer-updated {
  font-size: 12.5px;
  color: var(--footer-fg);
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}

.footer-fine {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--footer-muted);
}

.footer-fine strong {
  color: var(--footer-fg);
  font-weight: 600;
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 18px;
  font-size: 11.5px;
  color: var(--footer-muted);
}

/* ---------- 25. ?덉씠?꾩썐 留덇컧 ---------- */
#main {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

#live-region {
  position: absolute;
}

.notice a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice code,
.state-box code {
  font-family: var(--font-mono);
}

/* ---------- 26. ?ㅽ겕 紐⑤뱶 理쒖냼 ???---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #181512;
    --paper-2: #211D17;
    --paper-3: #2A251E;
    --card: #24201A;
    --ink: #F1EADB;
    --ink-soft: #DED4C0;
    --muted: #B0A48E;
    --line: #3A332A;
    --line-strong: #4E4538;
    --matcha: #93B27E;
    --matcha-deep: #BCD5A8;
    --amber: #D9975B;
    --clay: #D08570;
    --gold: #D8B94A;
    --btn-bg: #7E9D69;
    --btn-bg-hover: #93B27E;
    --btn-fg: #17140F;
    --matcha-tint: #2A3524;
    --amber-tint: #3A2D20;
    --clay-tint: #35251F;
    --gold-tint: #3A3420;
    --header-bg: rgba(24, 21, 18, 0.88);
    --footer-bg: #110F0C;
    --footer-fg: #E9DFCB;
    --footer-muted: #9C9079;
    --footer-line: #322B22;
    --glass: rgba(20, 17, 13, 0.3);
    --glass-line: rgba(255, 253, 248, 0.24);
    --focus: #D9975B;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 16px 36px -18px rgba(0, 0, 0, 0.7);
  }

  body::before {
    opacity: 0.03;
    mix-blend-mode: screen;
  }

  .select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B0A48E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  }

  .badge--gold {
    color: #E7CA6B;
  }

  .hero-card,
  .art {
    color: #FFFDF8;
  }

  .rating__star.is-on {
    color: var(--gold);
  }

  .brew-note {
    border-left-color: var(--gold);
  }

  .footer-fine strong {
    color: var(--footer-fg);
  }
}

/* ---------- 27. 紐⑥뀡 理쒖냼??---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .view {
    animation: none;
  }

  .sk {
    animation: none;
    background: var(--paper-2);
  }

  .loading-line .spinner {
    animation: none;
  }

  .tea-card:hover,
  .vendor-card:hover,
  .card-hover:hover {
    transform: none;
  }
}

/* ---------- 28. 諛섏쓳??---------- */
@media (max-width: 1180px) {
  .filters {
    grid-template-columns: minmax(170px, 1.4fr) repeat(4, minmax(108px, 1fr));
  }
}

@media (max-width: 1060px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
    gap: 32px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-art {
    max-width: 480px;
    padding: 12px 12px 0;
  }

  .hero::after {
    font-size: clamp(200px, 40vw, 380px);
    top: 40%;
  }

  .sk-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sk-hero__box {
    max-width: 460px;
    aspect-ratio: 16 / 10;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .art--lg {
    position: relative;
    top: auto;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-width: 640px;
  }

  .art--lg .art__glyph {
    bottom: 46px;
    font-size: clamp(38px, 7vw, 60px);
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .review-form-col {
    position: static;
  }

  .brew {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .seg {
    flex-direction: row;
    flex-wrap: wrap;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

  .seg__btn {
    flex: 1;
    min-width: 130px;
    text-align: center;
    padding: 10px 14px;
  }

  .seg__btn[aria-selected="true"]::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: -1px;
    width: auto;
    height: 2px;
  }

  .seg__btn small {
    display: inline;
    margin-left: 6px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .about-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .import-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.is-nav-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 14px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .site-header.is-nav-open .nav a {
    padding: 13px 2px;
    font-size: 15.5px;
    opacity: 0.9;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-nav-open .nav a:last-child {
    border-bottom: 0;
  }

  .site-header.is-nav-open .nav a[aria-current="page"]::after {
    display: none;
  }

  .filters {
    display: none;
  }

  .filters.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .filters.is-open .filters__foot {
    display: flex;
  }

  .filters-toggle {
    display: inline-flex;
  }

  .list-tools .search {
    flex-basis: 100%;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .review-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brew-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-col .section-head {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }

  .page-head h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .hero-title {
    font-size: clamp(1.9rem, 8.6vw, 2.5rem);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-note {
    align-items: flex-start;
  }

  .spec-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-actions .btn {
    flex: 1 1 auto;
  }

  .vendor-link {
    align-items: flex-start;
    flex-direction: column;
  }

  .vendor-link__side {
    width: 100%;
  }

  .vendor-link__side .btn {
    flex: 1 1 auto;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .btn {
    width: 100%;
  }

  .list-tools .btn {
    flex: 0 0 auto;
  }

  .filters.is-open {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-card__media {
    aspect-ratio: 16 / 9;
  }

  .draft-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vendor-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-info {
    display: none;
  }

  .footer-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    padding: 10px 10px 0;
  }

  .hero-art__frame {
    transform: translate(6px, 8px);
  }

  .hero-card {
    min-height: 270px;
  }

  .page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
  }

  .brand__latin {
    display: none;
  }

  .list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .list-toolbar .field--inline {
    width: 100%;
    justify-content: space-between;
  }

  .stat {
    padding: 14px 12px;
  }

  .stat__num {
    font-size: 1.55rem;
  }

  .rating-input label {
    width: 32px;
    height: 32px;
  }

  .rating-input label .icon {
    width: 22px;
    height: 22px;
  }
}

/* ?꾩＜ 醫곸? ?붾㈃(360px) ?덉쟾 ?щ갚 */
@media (max-width: 380px) {
  :root {
    --gutter: 16px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .badge {
    font-size: 11px;
    padding: 3px 7px;
  }

  .hero-card__glyph {
    font-size: 28px;
  }
}

/* ---------- 29. ?몄뇙 ---------- */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .filters,
  .filters-toggle,
  .list-tools,
  .pagination,
  .review-form-col,
  .cta-band,
  .skip-link,
  body::before {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .tea-card,
  .vendor-card,
  .review-card,
  .detail-grid,
  .brew-panel {
    break-inside: avoid;
  }
}

/* ---------- 30. 而댄룷?뚰듃 蹂댁젙 (app.js ?곕룞) ---------- */
.hero {
  isolation: isolate;
}

.filters {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}

.filters--vendors {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.region-card__links > :last-child {
  margin-left: auto;
}

.region-card .section-head__action {
  transition: gap 0.18s var(--ease);
}

.region-card:hover .section-head__action .icon {
  transform: translateX(3px);
}

.region-card .section-head__action .icon {
  transition: transform 0.18s var(--ease);
}

.art__region {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.art__foot .rating {
  flex: none;
}

.art__foot .rating__icons {
  gap: 0;
}

.hero-art__cap-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hero-art__caption a {
  flex: none;
  font-weight: 600;
  color: var(--matcha-deep);
}

.hero-art__caption a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.review-card__quote .icon {
  width: 26px;
  height: 26px;
}

.rating-input input:checked + label .icon {
  color: var(--gold);
  fill: currentColor;
  stroke: none;
}

.chip {
  transition: border-color 0.15s var(--ease), background 0.15s var(--ease), color 0.15s var(--ease);
}

a.chip:hover {
  border-color: var(--matcha);
  background: var(--paper-2);
  color: var(--matcha-deep);
}

/* ?ㅼ펷?덊넠: ?곸꽭/???덉뼱濡?*/
.sk-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.sk-detail-art {
  aspect-ratio: 5 / 4;
  min-height: 240px;
}

.sk-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 6px;
}

/* ?뷀뀒???대? ?뱀뀡 媛꾧꺽 */
.panel-section .section-head {
  margin-bottom: clamp(16px, 2.4vw, 24px);
}

.panel-section .state-box {
  margin-top: 8px;
}

/* ?곹깭 諛뺤뒪媛 results ?덉뿉 ?ㅼ뼱媛???*/
.results > .state-box {
  margin-top: 8px;
}

#import-url-error {
  margin-top: 2px;
}

.about-card h2 .icon {
  width: 17px;
  height: 17px;
}

/* 諛섏쓳?? ?덈줈 異붽???洹몃━??*/
@media (max-width: 960px) {
  .sk-detail-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .sk-detail-art {
    max-width: 480px;
    aspect-ratio: 16 / 10;
    min-height: 200px;
  }
}

@media (max-width: 900px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .filters {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   2단계: 정보 아카이브 + 가격 관측
   ========================================================================== */

/* ---------- 페이지 헤더 보조 ---------- */
.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.page-head__meta .icon {
  color: var(--matcha);
}

/* ---------- 보기 탭 ---------- */
.view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: clamp(18px, 2.6vw, 26px);
  border-bottom: 1px solid var(--line);
}

.view-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: -1px;
  padding: 10px 16px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.view-tab:hover {
  color: var(--ink);
}

.view-tab[aria-current="page"] {
  color: var(--matcha-deep);
  border-bottom-color: var(--matcha);
}

.view-tab__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 19px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- 아카이브 목록 ---------- */
.filters--archive {
  grid-template-columns: repeat(2, minmax(160px, 1fr)) minmax(0, 0.6fr);
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.tag-chips__label {
  margin-right: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.chip.is-active,
.chip[aria-current="true"] {
  border-color: var(--matcha);
  background: var(--matcha-tint);
  color: var(--matcha-deep);
  font-weight: 600;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(14px, 1.9vw, 22px);
}

.archive-grid--home {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.archive-card:hover,
.archive-card:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--matcha) 45%, var(--line));
  transform: translateY(-2px);
}

.archive-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.archive-card__title {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.archive-card__summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

.archive-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.archive-card__related {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- 표 (출처 / 가격) ---------- */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table caption {
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.data-table thead th {
  background: var(--paper-2);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody th {
  font-weight: 600;
  max-width: 340px;
}

.data-table td {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.data-table td .chips {
  white-space: normal;
}

.data-table time {
  font-variant-numeric: tabular-nums;
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--matcha-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--matcha) 40%, transparent);
  text-underline-offset: 3px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.source-link:hover {
  color: var(--matcha-deep);
  text-decoration-color: var(--matcha);
}

.source-link .icon {
  width: 0.85em;
  height: 0.85em;
  opacity: 0.65;
}

.source-unavailable {
  color: var(--muted);
}

.tag--link {
  color: var(--matcha-deep);
  background: color-mix(in srgb, var(--matcha) 6%, transparent);
  border-color: color-mix(in srgb, var(--matcha) 24%, var(--line));
  white-space: normal;
  overflow-wrap: anywhere;
}

.tag--link:hover {
  color: var(--matcha-deep);
  border-color: var(--matcha);
}

.chips--tight {
  gap: 4px;
}

/* ---------- 아카이브 상세 ---------- */
.archive-article {
  padding-block: clamp(20px, 3vw, 34px) clamp(22px, 3.4vw, 38px);
  border-bottom: 1px solid var(--line);
}

.archive-article__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 76ch;
}

.archive-article__title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.archive-article__lead {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--matcha-deep);
}

.archive-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.archive-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 74ch;
  margin-top: clamp(20px, 3vw, 30px);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.archive-body p {
  white-space: pre-line;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ---------- 관련 아카이브 링크 목록 ---------- */
.archive-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.archive-link-item:hover {
  border-color: color-mix(in srgb, var(--matcha) 45%, var(--line));
  background: var(--paper-2);
  color: var(--ink);
}

.archive-link-item__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.archive-link-item__meta {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- 가격 관측 카드 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(12px, 1.7vw, 18px);
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: clamp(15px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

/* 배송 안내·환율 메모처럼 긴 문구가 배지에서 잘리지 않고 줄바꿈되도록 */
.price-card .badge {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: keep-all;
  text-align: left;
  line-height: 1.5;
}

.price-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.price-card__names {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.price-card__product {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.price-card__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

.price-card__who a {
  color: var(--clay);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--clay) 35%, transparent);
}

.price-card__who a:hover {
  color: var(--clay);
  text-decoration-color: var(--clay);
}

.price-card__who .icon {
  width: 12px;
  height: 12px;
}

.price-amount {
  flex: none;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}

.price-currency {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--muted);
  vertical-align: 0.18em;
}

.price-unit {
  font-size: 12px;
  color: var(--muted);
}

.price-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
}

.price-krw {
  font-weight: 700;
  color: var(--matcha-deep);
}

.price-rate {
  font-size: 11.5px;
  color: var(--muted);
}

.price-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.price-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.price-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.price-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px solid color-mix(in srgb, var(--amber) 24%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--amber) 4%, transparent);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.price-disclaimer .icon {
  flex: none;
  margin-top: 1px;
  color: var(--amber);
}

/* ---------- 홈 최근 가격 관측 ---------- */
.home-prices {
  margin-top: 16px;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--paper-2) 52%, var(--card));
}

.home-prices__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.home-prices__label .icon {
  color: var(--amber);
}

.home-prices__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-prices__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  font-size: 13px;
}

.home-prices__product {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}

.home-prices__amount {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.home-prices__list time {
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.home-prices__notice {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .archive-grid,
  .archive-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .filters--archive {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .archive-grid,
  .archive-grid--home {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters--archive {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .archive-card__title {
    font-size: 1.08rem;
  }

  .archive-article__title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .archive-body {
    font-size: 15px;
    line-height: 1.85;
  }

  .archive-link-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .archive-link-item__meta {
    white-space: normal;
  }

  .price-card__head {
    flex-direction: column;
    gap: 6px;
  }

  .data-table th,
  .data-table td {
    padding: 11px 13px;
  }

  .home-prices__product {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .view-tab {
    padding: 9px 12px;
    font-size: 13px;
  }

  .archive-card {
    padding: 15px;
  }

  .price-card {
    padding: 14px;
  }
}

/* 다크 모드 보정 */
@media (prefers-color-scheme: dark) {
  .tag--link {
    background: color-mix(in srgb, var(--matcha) 14%, transparent);
  }

  .data-table thead th {
    background: var(--paper-2);
  }

  .home-prices {
    background: color-mix(in srgb, var(--paper-2) 70%, var(--card));
  }
}

/* ==========================================================================
   3단계: 브랜드 · 등급 · 잎 크기
   ========================================================================== */

/* 필터 확장 (브랜드/등급/잎 크기) */
.filters--brands {
  grid-template-columns: repeat(2, minmax(160px, 1fr));
}

/* 티 카드: 브랜드 칩 + 잎 크기 뱃지 */
.tea-card__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.chip--brand {
  gap: 4px;
  padding: 3px 9px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11.5px;
  font-weight: 600;
  background: color-mix(in srgb, var(--matcha) 7%, transparent);
  border-color: color-mix(in srgb, var(--matcha) 26%, var(--line));
  color: var(--matcha-deep);
}

.chip--brand .icon {
  width: 11px;
  height: 11px;
}

.badge--leaf {
  border-color: color-mix(in srgb, var(--amber) 30%, var(--line));
  background: color-mix(in srgb, var(--amber) 7%, transparent);
  color: var(--amber);
  font-weight: 600;
}

.badge--leaf .icon {
  width: 11px;
  height: 11px;
}

/* 브랜드 디렉터리 */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(12px, 1.7vw, 20px);
}

.brand-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  height: 100%;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.brand-card:hover,
.brand-card:focus-visible {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--clay) 40%, var(--line));
  transform: translateY(-2px);
}

.brand-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--clay) 32%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--clay) 7%, transparent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--clay);
}

.brand-mark--lg {
  width: 60px;
  height: 60px;
  font-size: 20px;
}

.brand-card__names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.brand-card__local {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.brand-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.brand-card__facts .icon {
  width: 13px;
  height: 13px;
}

.brand-card .tags {
  margin-top: 1px;
}

.brand-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.brand-card__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--clay);
  white-space: nowrap;
}

/* 브랜드 상세 */
.view--brand .vendor-hero {
  gap: clamp(14px, 2.2vw, 24px);
}

@media (max-width: 960px) {
  .brand-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters--brands {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-card {
    padding: 15px;
  }
}

/* 등급 표기 뱃지 (카드) */
.badge--grade {
  border-color: var(--line-strong);
  background: color-mix(in srgb, var(--paper-3) 55%, transparent);
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}





/* ===== SSR(SEO) 페이지 ===== */
.seo-page { background: var(--paper); color: var(--ink); }
.seo-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); }
.seo-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.seo-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.seo-brand span[aria-hidden] { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 14px; color: var(--matcha-deep); }
.seo-brand__latin { font-family: var(--font-body); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.seo-nav { display: flex; flex-wrap: wrap; gap: 14px; font-size: .86rem; }
.seo-nav a { color: var(--ink-soft); text-decoration: none; }
.seo-nav a:hover { color: var(--clay); }
.seo-main { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.seo-crumbs { margin-bottom: 14px; font-size: .78rem; color: var(--muted); }
.seo-crumbs a { color: var(--muted); }
.seo-main h1 { margin: 4px 0 10px; font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.02em; }
.seo-sub { font-family: var(--font-display); font-size: .55em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.seo-eyebrow { margin: 0 0 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.seo-lead { max-width: 72ch; font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.seo-rating { margin: 0 0 12px; font-size: .86rem; color: var(--muted); }
.seo-section { margin-top: clamp(24px, 3.4vw, 40px); padding-top: clamp(18px, 2.6vw, 26px); border-top: 1px solid var(--line); }
.seo-section h2 { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.22rem; }
.seo-article p { max-width: 74ch; margin: 0 0 1em; line-height: 1.85; }
.seo-table-wrap { overflow-x: auto; margin: 8px 0 6px; }
.seo-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: .86rem; }
.seo-table th, .seo-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.seo-table th { width: 22%; font-weight: 600; color: var(--muted); background: color-mix(in srgb, var(--paper-2) 55%, transparent); }
.seo-table a { color: var(--clay); }
.seo-brew { margin-bottom: 18px; }
.seo-brew h3 { margin: 0 0 8px; font-size: .95rem; }
.seo-tip { padding: 10px 14px; border-left: 3px solid var(--matcha); border-radius: 6px; background: color-mix(in srgb, var(--matcha) 7%, transparent); line-height: 1.7; }
.seo-link-list { margin: 0; padding-left: 1.1em; line-height: 1.9; }
.seo-link-list a { font-weight: 600; color: var(--ink); text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--clay) 35%, transparent); }
.seo-link-list--large { columns: 2; column-gap: 32px; }
.seo-muted { font-size: .85em; font-weight: 400; color: var(--muted); }
.seo-review { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.seo-review h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.02rem; }
.seo-review__meta { margin: 0 0 8px; font-size: .78rem; color: var(--muted); }
.seo-cta { display: inline-block; margin-top: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); font-size: .84rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.seo-cta:hover { border-color: var(--clay); color: var(--clay); }
.seo-cur { font-size: .72em; letter-spacing: .05em; color: var(--muted); }
.seo-ad { display: flex; align-items: center; justify-content: center; min-height: 100px; margin: 18px 0; }
.seo-footer { padding: 26px 0 34px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.seo-footer a { color: var(--ink-soft); }
.seo-footer__meta { margin: 6px 0; }
.seo-fine { font-size: .76rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) {
  .seo-header__inner { flex-wrap: wrap; }
  .seo-nav { gap: 10px; font-size: .8rem; }
  .seo-table { min-width: 360px; font-size: .8rem; }
  .seo-main h1 { font-size: 1.45rem; }
  .seo-link-list--large { columns: 1; }
}

/* 허니팟: 사용자/스크린리더/키보드에서 숨김 */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* 7단계: 품질 배지·가격 요약 */
.seo-badge { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: .7rem; font-weight: 700; }
.seo-badge--warn { background: color-mix(in srgb, #B06B35 16%, transparent); color: #8A4B3A; }
.seo-pricesum { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--paper-2) 60%, transparent); font-size: .88rem; }

/* ==========================================================================
   SPA 7단계: 데이터 품질 · 정보 수정 제안 · 가격 요약/신선도 · 판매처 구매정보
   ========================================================================== */

/* ---------- 데이터 품질 페이지 ---------- */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
  overflow: hidden;
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--paper);
}

.metric-card__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.metric-card__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.metric-card__num small {
  margin-left: 3px;
  font-family: var(--font-body);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.metric-card__sub {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.quality-policy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 76ch;
  counter-reset: quality-policy;
  list-style: none;
}

.quality-policy li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.quality-policy li::before {
  content: counter(quality-policy, decimal-leading-zero);
  counter-increment: quality-policy;
  flex: none;
  padding-top: 2px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}

/* ---------- 정보 수정 제안 ---------- */
.feedback {
  margin-top: 6px;
}

.feedback__toggle {
  display: inline-flex;
}

.feedback__panel {
  margin-top: 12px;
  padding: clamp(15px, 2.2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--paper-2) 45%, var(--card));
}

.feedback__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.form-actions--row {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.feedback__form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---------- 가격 요약/신선도 ---------- */
.price-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--matcha);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--matcha) 4%, var(--card));
}

.price-summary__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.price-summary__fact {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-summary__fact span {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.price-summary__fact strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.price-summary__cheapest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}

.price-summary__cheapest a {
  font-weight: 600;
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-summary__cheapest a:hover {
  color: var(--clay);
}

.price-summary__cheapest .icon {
  width: 12px;
  height: 12px;
}

.badge--fresh {
  border-color: color-mix(in srgb, var(--matcha) 30%, var(--line));
  background: color-mix(in srgb, var(--matcha) 6%, transparent);
  color: var(--matcha-deep);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.badge--stale {
  border-color: color-mix(in srgb, var(--clay) 36%, var(--line));
  background: color-mix(in srgb, var(--clay) 8%, transparent);
  color: var(--clay);
  font-weight: 700;
}

/* ---------- 판매처 구조화 구매정보 ---------- */
.vendor-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
  overflow: hidden;
}

.vendor-details__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  background: var(--card);
}

.vendor-details__row dt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.vendor-details__row dt .icon {
  width: 12px;
  height: 12px;
  color: var(--matcha);
}

.vendor-details__row dd {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-summary__cheapest {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .quality-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .vendor-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback__panel {
    padding: 14px;
  }

  .price-summary {
    padding: 12px 14px;
    gap: 8px 16px;
  }

  .price-summary__facts {
    gap: 8px 16px;
  }
}

/* 다크 모드 보정 */
@media (prefers-color-scheme: dark) {
  .price-summary {
    background: color-mix(in srgb, var(--matcha) 10%, var(--card));
  }

  .feedback__panel {
    background: color-mix(in srgb, var(--paper-2) 60%, var(--card));
  }

  .quality-grid {
    background: var(--line);
  }

  .metric-card {
    background: var(--paper-2);
  }

  .vendor-details {
    background: var(--line);
  }

  .vendor-details__row {
    background: var(--card);
  }
}

/* ==========================================================================
   8단계: 커뮤니티 리뷰 (탭·수정/삭제·신고) + 커뮤니티 가이드
   ========================================================================== */

/* ---------- 리뷰 탭 ---------- */
.review-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.review-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background 0.15s var(--ease);
}

.review-tab:hover {
  border-color: var(--matcha);
  color: var(--ink);
}

.review-tab[aria-pressed="true"] {
  background: var(--matcha-deep);
  border-color: var(--matcha-deep);
  color: var(--paper);
}

.review-tab__count {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
}

.review-filter-empty {
  padding: 18px 0;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}

/* ---------- 리뷰 카드 확장 (작성자 액션·검토 대기) ---------- */
.review__edited {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.review__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.review__action {
  font-size: 12px;
  color: var(--muted);
  text-decoration-color: transparent;
}

.review__action:hover {
  color: var(--matcha-deep);
  text-decoration-color: var(--matcha);
}

.review__action--danger:hover {
  color: var(--clay);
  text-decoration-color: var(--clay);
}

.review.is-pending {
  padding-left: 14px;
  border-left: 3px solid var(--amber);
  background: color-mix(in srgb, var(--amber) 4%, transparent);
}

.review__pending-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px dashed color-mix(in srgb, var(--amber) 40%, var(--line));
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--amber);
}

.review__pending-note .icon {
  margin-top: 2px;
  flex: none;
}

.badge--pending {
  border-color: color-mix(in srgb, var(--amber) 40%, var(--line));
  background: color-mix(in srgb, var(--amber) 8%, transparent);
  color: var(--amber);
  font-weight: 700;
}

.review__status:empty {
  display: none;
}

.review__status {
  margin-top: 10px;
}

.review__status .notice {
  margin: 0;
}

/* ---------- 수정/신고/삭제 폼 ---------- */
.review-edit-form,
.review-report-form {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--paper-2) 42%, var(--card));
}

.review-report-form {
  max-width: 420px;
}

.review-report-form .form-row {
  grid-template-columns: minmax(0, 1fr);
}

.review-edit-form .form-row {
  grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.6fr);
}

.review-delete-confirm {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--clay) 30%, var(--line));
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--clay) 5%, var(--card));
  font-size: 13px;
  color: var(--ink-soft);
}

.review-delete-confirm p {
  margin: 0;
  line-height: 1.6;
}

/* ---------- 커뮤니티 가이드 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.9vw, 22px);
}

.guide-section {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.guide-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.12rem;
  margin-bottom: 12px;
}

.guide-section h2 .icon {
  color: var(--matcha);
  width: 18px;
  height: 18px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-soft);
}

.guide-list li {
  display: flex;
  gap: 8px;
}

.guide-list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--matcha);
}

.guide-list strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .review__actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .review-edit-form .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-edit-form,
  .review-report-form {
    padding: 12px;
  }

  .review-tabs {
    gap: 5px;
  }

  .review-tab {
    padding: 6px 11px;
    font-size: 12.5px;
  }
}

/* 다크 모드 보정 */
@media (prefers-color-scheme: dark) {
  .review-tab[aria-pressed="true"] {
    background: var(--matcha);
    border-color: var(--matcha);
    color: #14110d;
  }

  .review-edit-form,
  .review-report-form {
    background: color-mix(in srgb, var(--paper-2) 65%, var(--card));
  }
}


.seo-pricesum strong { color: var(--ink); }

/* 9단계: 관능(표준 시음) */
.seo-chip { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; color: var(--ink-soft); background: var(--card); }
.seo-sensory { margin: 8px 0 0; }
.seo-sensory-block { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: color-mix(in srgb, var(--paper-2) 55%, transparent); }
.seo-sensory-list { display: grid; gap: 6px; margin: 8px 0 6px; padding: 0; list-style: none; }
.seo-sensory-list li { display: grid; grid-template-columns: 44px 1fr 40px; align-items: center; gap: 8px; font-size: .84rem; }
.seo-sensory__label { color: var(--ink-soft); }
.seo-sensory__bar { height: 7px; border-radius: 999px; background: color-mix(in srgb, var(--line) 60%, transparent); overflow: hidden; }
.seo-sensory__bar span { display: block; height: 100%; border-radius: 999px; background: var(--matcha); }

/* ==========================================================================
   SPA 9단계: 관능 5축 입력/표시 + 표준 시음 안내
   ========================================================================== */

/* ---------- 입력 폼 ---------- */
.sensory-field {
  margin-top: 2px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--paper-2) 38%, var(--card));
}

.sensory-field legend {
  padding: 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

.sensory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.sensory-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sensory-cell__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}

.sensory-cell__hint {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}

.select--sm {
  margin-top: 3px;
  padding: 6px 8px;
  font-size: 12.5px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  cursor: pointer;
}

.check-field input {
  flex: none;
  margin-top: 3px;
  accent-color: var(--matcha-deep);
}

.check-field a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 리뷰 카드 표시 ---------- */
.review__sensory {
  margin-top: 10px;
}

.sensory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sensory-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--matcha) 26%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--matcha) 5%, transparent);
  font-size: 11.5px;
  color: var(--ink-soft);
}

.sensory-chip strong {
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--matcha-deep);
}

.badge--iso {
  border-color: color-mix(in srgb, var(--clay) 32%, var(--line));
  background: color-mix(in srgb, var(--clay) 7%, transparent);
  color: var(--clay);
  font-weight: 700;
}

/* ---------- 차 상세 관능 요약 ---------- */
.sensory-summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 560px;
}

.sensory-bar {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.sensory-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.sensory-bar__track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 70%, transparent);
  overflow: hidden;
}

.sensory-bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--matcha) 55%, var(--paper)), var(--matcha-deep));
}

.sensory-bar__value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ink);
}

.sensory-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}

.sensory-meta .icon {
  width: 13px;
  height: 13px;
}

/* ---------- 표준 시음 페이지 ---------- */
.view--tasting .sensory-guide td:last-child,
.view--tasting .sensory-guide th[scope="col"]:last-child {
  color: var(--ink-soft);
  font-size: 12.5px;
}

.view--tasting .tasting-limits {
  max-width: 80ch;
}

.source-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 80ch;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  line-height: 1.65;
}

.source-list .source-link {
  font-weight: 600;
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .sensory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sensory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sensory-field {
    padding: 12px;
  }

  .sensory-bar {
    grid-template-columns: 44px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .sensory-bar__value {
    font-size: 13px;
  }
}

/* 다크 모드 보정 */
@media (prefers-color-scheme: dark) {
  .sensory-field {
    background: color-mix(in srgb, var(--paper-2) 60%, var(--card));
  }

  .sensory-chip {
    background: color-mix(in srgb, var(--matcha) 10%, transparent);
  }
}

.seo-sensory-list strong { text-align: right; font-variant-numeric: tabular-nums; }
