:root {
  --bg: #120d09;
  --bg-2: #1a120c;
  --panel: #22180f;
  --ink: #f4ebe0;
  --muted: #b9a894;
  --link: #dbc8ac;
  --link-hover: #f7efe2;
  --link-line: rgba(219, 200, 172, 0.38);
  --link-focus: #e7ad62;
  --amber: #e0a030;
  --amber-deep: #9a5a14;
  --foam: #f7efe2;
  --line: rgba(244, 235, 224, 0.12);
  --card: rgba(34, 24, 15, 0.86);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  --glow-rgb: 196, 118, 28;
  --accent-rgb: 224, 160, 48;
  --hero-tint: rgba(18, 11, 6, 0.55);
  --hero-mid: rgba(28, 16, 6, 0.28);
  --hero-tint-2: rgba(8, 5, 3, 0.72);
  --brand-grad: linear-gradient(120deg, #f7efe2 8%, #e0a030 48%, #c4781c 100%);
  --tab-active: linear-gradient(180deg, #f0c060, var(--amber));
  --font-display: "Bebas Neue", "Noto Sans KR", sans-serif;
  --font-serif: "Instrument Serif", "Noto Sans KR", serif;
  --font-body: "Noto Sans KR", sans-serif;
}

/* Reviewed alcohol offers share the detail page's existing theme. */
.adpick-offers {
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.adpick-offers h2 { margin: 0 0 .7rem; font-size: 1.15rem; }
.adpick-disclosure {
  padding: .8rem;
  border-left: 3px solid var(--amber);
  background: var(--panel);
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.adpick-offers-note, .adpick-offer-check { font-size: .85rem; line-height: 1.6; }
.adpick-offer-card { min-width: 0; padding: 1rem 0; }
.adpick-offer-card + .adpick-offer-card { border-top: 1px solid var(--line); }
.adpick-offer-card h3 { margin: 0 0 .6rem; font-size: 1rem; line-height: 1.5; }
.adpick-offer-spec { margin: .5rem 0; font-size: .9rem; line-height: 1.7; }
.adpick-fulfillment { font-size: .9rem; font-weight: 600; }
.adpick-offer-card h3, .adpick-offer-spec, .adpick-buy { overflow-wrap: anywhere; }
.adpick-offer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: .65rem 1rem;
  border: 1px solid var(--amber);
  border-radius: 8px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  white-space: normal;
}
.adpick-offer-link:hover { text-decoration: underline; }
.adpick-offer-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
@media (max-width: 480px) {
  .adpick-offers { padding: .8rem; }
  .adpick-offer-link { width: 100%; }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 620px at 8% -12%, rgba(var(--glow-rgb), 0.26), transparent 56%),
    radial-gradient(900px 520px at 92% 0%, rgba(92, 42, 10, 0.42), transparent 52%),
    radial-gradient(700px 380px at 50% 30%, rgba(60, 28, 8, 0.22), transparent 60%),
    linear-gradient(180deg, #1c120a 0%, var(--bg) 38%, #080604 100%);
  overflow-x: clip;
  transition: background 0.55s ease, color 0.35s ease;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
img {
  max-width: 100%;
  height: auto;
}

/* Low-specificity defaults cover unstyled text links without changing CTAs,
   active tabs, or linked cards, including when this sheet follows coffee CSS. */
:where(a[href]) {
  color: var(--link);
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: auto;
  transition: color .18s ease, text-decoration-color .18s ease;
}
:where(a[href]:visited) { color: var(--link); }
:where(a[href]:hover, a[href]:focus-visible) {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}
:where(a[href]:focus-visible) {
  outline: 2px solid var(--link-focus);
  outline-offset: 4px;
  border-radius: 3px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.07;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  pointer-events: none;
  position: fixed;
  width: 50vw;
  height: 50vw;
  right: -10vw;
  top: 20vh;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--glow-rgb), 0.14), transparent 70%);
  filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
  z-index: 0;
  transition: background 0.55s ease;
}
@keyframes drift {
  from { transform: translate(-4%, -2%); }
  to { transform: translate(3%, 4%); }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.site-header, main, .site-footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(1.4rem, env(safe-area-inset-top, 0px)) 0 0.5rem;
}
.brand-mark { display: flex; gap: 0.8rem; align-items: center; min-width: 0; }
.brand-icon {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--foam) 0 18%, transparent 19%),
    linear-gradient(180deg, color-mix(in srgb, var(--amber) 70%, #fff) 0%, var(--amber) 45%, var(--amber-deep) 100%);
  box-shadow: inset 0 -6px 10px rgba(0,0,0,.25), 0 0 0 2px rgba(var(--accent-rgb),.25);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}
.brand-name {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  line-height: 1;
}
.brand-sub {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  word-break: keep-all;
}
.nav-links { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color .2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] { color: var(--amber); }

.lang-switcher {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  flex-shrink: 0;
}
.lang-opt {
  min-width: 2rem;
  min-height: 36px;
  padding: 0 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.lang-opt.active,
.lang-opt:hover {
  color: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 55%, var(--line));
}

.drink-tabs {
  display: flex;
  gap: 0.45rem;
  margin: 0.9rem 0 0.2rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 15, 12, 0.55);
  backdrop-filter: blur(8px);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.drink-tabs::-webkit-scrollbar { height: 3px; }
.drink-tabs::-webkit-scrollbar-thumb {
  background: rgba(var(--accent-rgb), 0.35);
  border-radius: 99px;
}
a.drink-tab-link {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
.drink-tab {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  flex: 0 0 auto;
  min-width: 5.6rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  transition: background .2s, color .2s, transform .2s;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.drink-tab-ko {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.1;
}
.drink-tab-en {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}
.drink-tab:hover {
  color: var(--foam);
  background: rgba(var(--accent-rgb), 0.08);
}
.drink-tab.active {
  color: #1a120e;
  background: var(--tab-active);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.22);
}
.drink-tab.active .drink-tab-en { opacity: 0.8; color: #3a2610; }

/* ——— Drink atmosphere themes ——— */
body[data-drink="beer"] {
  --bg: #120d09;
  --bg-2: #1a120c;
  --panel: #22180f;
  --amber: #e0a030;
  --amber-deep: #9a5a14;
  --foam: #f7efe2;
  --muted: #b9a894;
  --card: rgba(34, 24, 15, 0.86);
  --glow-rgb: 196, 118, 28;
  --accent-rgb: 224, 160, 48;
  --hero-tint: rgba(18, 11, 6, 0.55);
  --hero-mid: rgba(40, 22, 6, 0.28);
  --hero-tint-2: rgba(8, 5, 3, 0.72);
  --brand-grad: linear-gradient(120deg, #f7efe2 8%, #e0a030 48%, #c4781c 100%);
  --tab-active: linear-gradient(180deg, #f0c060, var(--amber));
  background:
    radial-gradient(1180px 620px at 8% -12%, rgba(196, 118, 28, 0.28), transparent 56%),
    radial-gradient(920px 540px at 94% 0%, rgba(90, 40, 8, 0.48), transparent 52%),
    radial-gradient(640px 360px at 42% 28%, rgba(120, 62, 12, 0.18), transparent 62%),
    linear-gradient(180deg, #1c120a 0%, var(--bg) 38%, #080604 100%);
}
body[data-drink="makgeolli"] {
  --bg: #16140f;
  --bg-2: #1f1b14;
  --panel: #262218;
  --amber: #e8d49a;
  --amber-deep: #c4a45a;
  --foam: #fbf7ec;
  --muted: #c8ba9c;
  --card: rgba(40, 36, 26, 0.88);
  --glow-rgb: 245, 232, 190;
  --accent-rgb: 232, 212, 154;
  --hero-tint: rgba(36, 30, 18, 0.32);
  --hero-mid: rgba(250, 242, 214, 0.12);
  --hero-tint-2: rgba(14, 12, 8, 0.7);
  --brand-grad: linear-gradient(120deg, #fffaf0 4%, #f3e4b8 40%, #e0c070 92%);
  --tab-active: linear-gradient(180deg, #faf3e0, #e8d49a);
  background:
    radial-gradient(1100px 600px at 16% -4%, rgba(255, 248, 230, 0.28), transparent 52%),
    radial-gradient(820px 480px at 88% 8%, rgba(232, 212, 154, 0.34), transparent 48%),
    radial-gradient(620px 360px at 50% 18%, rgba(245, 232, 190, 0.16), transparent 56%),
    linear-gradient(180deg, #221c12 0%, var(--bg) 42%, #0e0c08 100%);
}
body[data-drink="whiskey"] {
  --bg: #0c0805;
  --bg-2: #15100a;
  --panel: #1e140c;
  --amber: #c8782e;
  --amber-deep: #6b3010;
  --foam: #f0e0c8;
  --muted: #a88868;
  --card: rgba(30, 20, 12, 0.9);
  --glow-rgb: 140, 72, 28;
  --accent-rgb: 200, 120, 46;
  --hero-tint: rgba(12, 7, 4, 0.58);
  --hero-mid: rgba(48, 24, 10, 0.3);
  --hero-tint-2: rgba(5, 3, 2, 0.75);
  --brand-grad: linear-gradient(120deg, #e8c898 6%, #c8782e 46%, #6b3010 100%);
  --tab-active: linear-gradient(180deg, #d4923a, #a85a20);
  background:
    radial-gradient(1100px 560px at 6% -10%, rgba(140, 72, 28, 0.26), transparent 54%),
    radial-gradient(960px 560px at 96% 0%, rgba(42, 20, 8, 0.62), transparent 50%),
    radial-gradient(520px 340px at 40% 35%, rgba(80, 40, 14, 0.28), transparent 60%),
    linear-gradient(180deg, #16100a 0%, var(--bg) 40%, #040302 100%);
}
body[data-drink="wine"] {
  --bg: #10060a;
  --bg-2: #1a0c12;
  --panel: #241018;
  --amber: #b8384c;
  --amber-deep: #5c1220;
  --foam: #f5e6e4;
  --muted: #b08a90;
  --card: rgba(36, 16, 22, 0.9);
  --glow-rgb: 110, 22, 38;
  --accent-rgb: 184, 56, 76;
  --hero-tint: rgba(18, 6, 10, 0.55);
  --hero-mid: rgba(70, 14, 28, 0.26);
  --hero-tint-2: rgba(6, 2, 4, 0.75);
  --brand-grad: linear-gradient(120deg, #f0d4cc 4%, #b8384c 46%, #5c1220 100%);
  --tab-active: linear-gradient(180deg, #d46878, #b8384c);
  background:
    radial-gradient(1100px 580px at 10% -10%, rgba(110, 22, 38, 0.38), transparent 54%),
    radial-gradient(860px 500px at 92% 2%, rgba(80, 16, 30, 0.32), transparent 50%),
    radial-gradient(540px 320px at 46% 30%, rgba(140, 36, 56, 0.16), transparent 60%),
    linear-gradient(180deg, #1a0c12 0%, var(--bg) 40%, #060204 100%);
}
body[data-drink="traditional"] {
  --bg: #12140f;
  --bg-2: #1a1c14;
  --panel: #242818;
  --amber: #c4a86a;
  --amber-deep: #6a7a48;
  --foam: #f4f0e4;
  --muted: #b0a888;
  --card: rgba(36, 40, 26, 0.88);
  --glow-rgb: 140, 150, 90;
  --accent-rgb: 196, 168, 106;
  --hero-tint: rgba(28, 32, 18, 0.4);
  --hero-mid: rgba(180, 160, 100, 0.14);
  --hero-tint-2: rgba(10, 12, 8, 0.72);
  --brand-grad: linear-gradient(120deg, #f4f0e4 4%, #c4a86a 42%, #6a7a48 96%);
  --tab-active: linear-gradient(180deg, #ddd0a8, #c4a86a);
  background:
    radial-gradient(1100px 600px at 14% -6%, rgba(196, 168, 106, 0.26), transparent 52%),
    radial-gradient(860px 500px at 90% 4%, rgba(90, 110, 60, 0.28), transparent 48%),
    radial-gradient(600px 340px at 48% 22%, rgba(160, 140, 80, 0.12), transparent 58%),
    linear-gradient(180deg, #1c2014 0%, var(--bg) 42%, #0a0c08 100%);
}
body[data-drink="coffee"] {
  --bg: #1a0f0a;
  --bg-2: #2a1810;
  --panel: #3a2418;
  --amber: #d4a574;
  --amber-deep: #8b5a2b;
  --foam: #f3e6d4;
  --muted: #c4a890;
  --card: rgba(58, 36, 24, 0.9);
  --glow-rgb: 212, 165, 116;
  --accent-rgb: 212, 165, 116;
  --hero-tint: rgba(26, 15, 10, 0.52);
  --hero-mid: rgba(92, 56, 36, 0.28);
  --hero-tint-2: rgba(12, 8, 5, 0.74);
  --brand-grad: linear-gradient(120deg, #f3e6d4 6%, #d4a574 46%, #8b5a2b 100%);
  --tab-active: linear-gradient(180deg, #e8c4a0, #d4a574);
  background:
    radial-gradient(920px 540px at 50% -8%, rgba(212, 165, 116, 0.36), transparent 55%),
    radial-gradient(700px 480px at 12% 20%, rgba(92, 56, 36, 0.48), transparent 50%),
    radial-gradient(640px 420px at 90% 10%, rgba(58, 36, 24, 0.62), transparent 48%),
    linear-gradient(180deg, #4a2e1c 0%, #2a1810 38%, #140c08 100%);
}

body[data-drink="beer"] .glow {
  background: radial-gradient(circle, rgba(196, 118, 28, 0.2), transparent 70%);
}
body[data-drink="makgeolli"] .glow {
  background: radial-gradient(circle, rgba(245, 232, 190, 0.28), transparent 68%);
}
body[data-drink="whiskey"] .glow {
  background: radial-gradient(circle, rgba(140, 72, 28, 0.22), transparent 70%);
}
body[data-drink="wine"] .glow {
  background: radial-gradient(circle, rgba(110, 22, 38, 0.26), transparent 70%);
}
body[data-drink="traditional"] .glow {
  background: radial-gradient(circle, rgba(140, 150, 90, 0.26), transparent 68%);
}
body[data-drink="coffee"] .glow {
  background: radial-gradient(circle, rgba(212, 165, 116, 0.28), transparent 68%);
}
body[data-drink="beer"] .pour-a { --beer: #e0a030; }
body[data-drink="beer"] .pour-b { --beer: #8b4518; }
body[data-drink="beer"] .pour-c { --beer: #f0c060; }
body[data-drink="makgeolli"] .pour-a { --beer: #f0e6c8; }
body[data-drink="makgeolli"] .pour-b { --beer: #e8d9a8; }
body[data-drink="makgeolli"] .pour-c { --beer: #faf6eb; }
body[data-drink="traditional"] .pour-a { --beer: #c4a86a; }
body[data-drink="traditional"] .pour-b { --beer: #6a7a48; }
body[data-drink="traditional"] .pour-c { --beer: #e8d9a8; }
body[data-drink="whiskey"] .pour-a { --beer: #c8782e; }
body[data-drink="whiskey"] .pour-b { --beer: #6b3010; }
body[data-drink="whiskey"] .pour-c { --beer: #d4a04a; }
body[data-drink="wine"] .pour-a { --beer: #5c1220; }
body[data-drink="wine"] .pour-b { --beer: #e8d48a; }
body[data-drink="wine"] .pour-c { --beer: #b8384c; }
body[data-drink="coffee"] .pour-a { --beer: #d4a574; }
body[data-drink="coffee"] .pour-b { --beer: #5c3824; }
body[data-drink="coffee"] .pour-c { --beer: #e8c4a0; }

body[data-drink="coffee"] .hbar-fill.taste-fill {
  background: linear-gradient(90deg, #8b5a2b, #d4a574);
}

.hero {
  /* Stay in main column — avoid 100vw breakout (scrollbar gutter = right shift) */
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  /* visible: multi-line .hero-brand Hangul ascenders were clipped by hidden */
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Hug title/search content — do not force a viewport-tall banner */
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.25rem 0 1.5rem;
  box-sizing: border-box;
  border-radius: 0;
  background: transparent;
}
.hero::before {
  /* Soft side wash only — do not bleed over stats-bar below */
  content: "";
  position: absolute;
  inset: -8% -4% 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 12% 35%, rgba(var(--glow-rgb), 0.18), transparent 72%),
    radial-gradient(ellipse 50% 65% at 88% 30%, rgba(var(--glow-rgb), 0.1), transparent 70%),
    linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--bg) 55%, transparent) 100%);
  filter: blur(2px);
  transition: background 0.55s ease;
}
.hero-collage {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100%;
  max-width: none;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.hero-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    /* Centered soft read panel for centered hero copy */
    radial-gradient(
      ellipse 70% 85% at 50% 42%,
      color-mix(in srgb, var(--bg) 78%, transparent) 0%,
      color-mix(in srgb, var(--bg) 42%, transparent) 42%,
      transparent 78%
    ),
    linear-gradient(
      180deg,
      transparent 20%,
      color-mix(in srgb, var(--bg) 35%, transparent) 62%,
      var(--bg) 100%
    ),
    /* Symmetric side vignettes — avoid right-only darkening that skews composition */
    radial-gradient(ellipse 55% 90% at 8% 42%, transparent 22%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(ellipse 55% 90% at 92% 42%, transparent 22%, rgba(0, 0, 0, 0.18) 100%),
    radial-gradient(ellipse 60% 50% at 50% 78%, rgba(var(--glow-rgb), 0.14), transparent 72%);
  transition: background 0.55s ease;
}
/* Collage space only — out of flow so it never skews hero copy */
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero-visual {
  /* Decorative only — never participate in flex layout */
  display: none;
}
.collage-item {
  position: absolute;
  width: clamp(78px, 11vw, 148px);
  opacity: 0;
  animation: collageIn 0.9s ease forwards, collageFloat 7.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.07s), calc(0.9s + var(--i, 0) * 0.28s);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
  will-change: transform, opacity;
}
.collage-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  transform: rotate(var(--rot, 0deg));
}
.collage-i0 { top: 6%; right: 2%; width: clamp(90px, 13vw, 160px); --rot: 9deg; }
.collage-i1 { top: 14%; left: 2%; right: auto; width: clamp(70px, 10vw, 128px); --rot: -7deg; opacity: 0; }
.collage-i2 { top: 8%; right: 16%; width: clamp(64px, 9vw, 112px); --rot: 4deg; }
.collage-i3 { top: 40%; left: 4%; right: auto; width: clamp(86px, 12vw, 150px); --rot: -11deg; }
.collage-i4 { top: 48%; right: 20%; width: clamp(68px, 9.5vw, 120px); --rot: 14deg; }
.collage-i5 { top: 26%; left: 16%; right: auto; width: clamp(72px, 10vw, 130px); --rot: -3deg; }
.collage-i6 { bottom: 12%; right: 8%; width: clamp(80px, 11vw, 140px); --rot: 6deg; }
.collage-i7 { bottom: 8%; left: 8%; right: auto; width: clamp(66px, 9vw, 118px); --rot: -9deg; }
.collage-i8 { top: 56%; left: 22%; right: auto; width: clamp(60px, 8.5vw, 108px); --rot: 12deg; }
.collage-i9 { top: 4%; right: 30%; width: clamp(58px, 8vw, 100px); --rot: -5deg; }
.collage-i10 { bottom: 20%; right: 34%; width: clamp(64px, 9vw, 114px); --rot: 8deg; }
.collage-i11 { top: 34%; left: 1%; right: auto; width: clamp(74px, 10.5vw, 136px); --rot: -14deg; }
@keyframes collageIn {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to { opacity: 0.82; transform: none; }
}
@keyframes collageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.hero-title {
  margin: 0;
  overflow: visible;
}
.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 12vw, 7.5rem);
  letter-spacing: 0.04em;
  /* Compact display size; slight pad + overflow for ink, not tall line boxes */
  line-height: 0.95;
  overflow: visible;
  padding-block: 0.04em 0.02em;
  word-break: keep-all;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f7efe2;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: titleIn 1s ease both;
}
/* Hangul titles: Noto + solid fill (Bebas has no KR / clipped fallback ink).
   Slightly smaller max than Latin so a wrap stays ~2× line boxes, not 3–4×. */
body[data-drink="makgeolli"] .hero-brand,
body[data-drink="traditional"] .hero-brand {
  font-family: "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 8.2vw, 5.4rem);
  letter-spacing: -0.02em;
  line-height: 1.06;
  padding-block: 0.05em 0.02em;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #f3e4b8;
  color: #f3e4b8;
  animation-name: titleInFade;
}
@keyframes titleInFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--foam);
  max-width: 28rem;
  margin: 1rem auto 1.6rem;
  line-height: 1.45;
  animation: titleIn .9s .1s ease both;
}
@keyframes titleIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.search-shell {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
  /* Lift off hero: lighter panel+foam surface, muted brand edge (theme-aware) */
  background:
    linear-gradient(
      165deg,
      color-mix(in srgb, var(--panel) 66%, var(--foam) 34%) 0%,
      color-mix(in srgb, var(--panel) 78%, rgba(var(--accent-rgb), 1) 22%) 100%
    );
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  border-radius: 999px;
  padding: 0.4rem;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--foam) 22%, transparent),
    inset 0 -1px 0 rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(var(--accent-rgb), 0.1),
    0 10px 28px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  animation: titleIn .9s .2s ease both;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  transition: border-color .2s ease, box-shadow .2s ease, background .35s ease;
}
.search-shell:focus-within {
  border-color: rgba(var(--accent-rgb), 0.68);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--foam) 26%, transparent),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(var(--accent-rgb), 0.18),
    0 12px 32px rgba(0, 0, 0, 0.42);
}
.search-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  min-height: 44px;
}
.search-shell input::placeholder {
  color: color-mix(in srgb, var(--muted) 38%, var(--foam) 62%);
  opacity: 1;
}
.search-shell button {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  min-height: 44px;
  min-width: 4.5rem;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #1a120e;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.search-shell button:hover { transform: translateY(-1px); filter: brightness(1.05); }

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
  animation: titleIn .9s .28s ease both;
}
.chip {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  min-height: 40px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: .2s;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
}
.chip:hover, .chip.active {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .12);
}
.search-hint {
  margin: 0.85rem 0 0;
  color: #8d7b68;
  font-size: 0.82rem;
}

.glass-stack {
  /* Hidden: product collage is the hero visual; this block used to inflate height */
  display: none;
  position: absolute;
  inset: 10% 8% auto auto;
  width: min(280px, 70%);
  height: 340px;
}
.pour {
  position: absolute;
  bottom: 0;
  width: 78px;
  border-radius: 10px 10px 18px 18px / 8px 8px 28px 28px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 20px 40px rgba(0,0,0,.35);
  overflow: hidden;
  animation: bob 5s ease-in-out infinite;
}
.pour::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 6%;
  height: 18%;
  border-radius: 40%;
  background: rgba(247, 239, 226, 0.92);
}
.pour::after {
  content: "";
  position: absolute;
  inset: 22% 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 30%),
    linear-gradient(180deg, var(--beer, #e2a83a), #5c3014 90%);
}
.pour-a { left: 18%; height: 78%; --beer: #e2a83a; animation-delay: 0s; }
.pour-b { left: 48%; height: 92%; --beer: #8b4518; animation-delay: .4s; width: 86px; }
.pour-c { left: 0; height: 64%; --beer: #f0d078; animation-delay: .8s; opacity: .9; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stats-section {
  position: relative;
  z-index: 3;
  margin: 0.35rem 0 2rem;
}

.ad-slot {
  position: relative;
  z-index: 2;
  margin: 0.35rem 0 1.6rem;
  padding: 0.65rem 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  min-height: 100px;
  overflow: hidden;
}
.ad-slot-banner {
  min-height: 110px;
}
.ad-label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: #7a6a5a;
  opacity: 0.75;
}
.ad-slot .adsbygoogle {
  display: block;
  min-height: 90px;
}
.ad-slot:not(.adfit-slot) {
  height: auto;
  min-height: 0;
  margin: 0.65rem auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ad-slot:not(.adfit-slot) .ad-label,
.ad-rail .ad-label {
  display: none;
}
.ad-slot-empty,
.ad-rail-empty {
  display: none !important;
}
/* In-content unit on server-rendered article pages: keep it inside the reading
   column so it always sits directly below real copy. */
.ad-slot-inline {
  width: 100%;
  max-width: 760px;
  margin: 1.6rem auto 0;
}
.legal-main .ad-slot-inline,
.seo-main .ad-slot-inline {
  margin-inline: auto;
}

/* AdFit uses the exact mobile or desktop unit issued by the publisher console.
   Break out of `.content-no-rails` / `main` padding so 320×100 still fits on
   a 360px WebView instead of shrinking below the issued width. */
.kakao-ad-wrap {
  display: none;
  justify-content: center;
  align-items: center;
  width: 728px;
  min-width: 728px;
  height: 90px;
  overflow: hidden;
}
.kakao-ad-mobile-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  min-width: 320px;
  height: 100px;
  overflow: hidden;
}
.ad-slot.ad-slot-kakao {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100vw;
  height: 100px;
  min-height: 100px;
  margin: 0.35rem 0 0.45rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.ad-slot-kakao .ad-label {
  display: none;
}
.ad-slot.ad-slot-kakao.adfit-failed,
.ad-slot.ad-slot-kakao.ad-slot-empty,
.ad-slot.ad-slot-kakao-rect.adfit-failed,
.ad-slot.ad-slot-kakao-rect.ad-slot-empty,
.ad-slot.ad-slot-kakao-modal.adfit-failed,
.ad-slot.ad-slot-kakao-modal.ad-slot-empty,
.ad-slot.adfit-content-banner.adfit-failed,
.ad-slot.adfit-content-banner.ad-slot-empty,
.ad-rail.adfit-failed,
.ad-rail.ad-slot-empty {
  display: none !important;
}
.kakao-ad-rect-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  min-width: 300px;
  height: 250px;
  margin: 0 auto;
  overflow: hidden;
}
.ad-slot.ad-slot-kakao-rect {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: 250px;
  min-height: 250px;
  margin: 1.1rem auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.ad-slot-kakao-rect .ad-label {
  display: none;
}
.kakao-ad-modal-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  min-width: 300px;
  max-width: 100%;
  height: 250px;
  margin: 0 auto;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel, #241910) 55%, transparent);
  border-radius: 8px;
}
.ad-slot.ad-slot-kakao-modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 282px;
  margin: 1.1rem auto 0.85rem;
  padding: 0.35rem 0 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.ad-slot-kakao-modal .ad-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: #8a7a6a;
}

/* Editorial guides use different units at the top and bottom. Only the issued
   size for the active breakpoint is mounted, so Android WebView never requests
   a hidden desktop creative. */
.ad-slot.adfit-content-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100px;
  min-height: 100px;
  margin: 1.15rem auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.ad-slot.adfit-content-banner .ad-label { display: none; }
.adfit-home-third { display: none !important; }
.adfit-detail-bottom { display: none !important; }
.kakao-content-pc,
.kakao-content-mobile {
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.kakao-content-pc {
  display: none;
  width: 728px;
  min-width: 728px;
  height: 90px;
}
.kakao-content-mobile {
  display: flex;
  width: 320px;
  min-width: 320px;
  height: 100px;
}
@media (min-width: 840px) {
  .kakao-ad-wrap {
    display: flex;
  }
  .kakao-ad-mobile-wrap {
    display: none;
  }
  .ad-slot.ad-slot-kakao {
    height: 90px;
    min-height: 90px;
  }
  .ad-slot.adfit-content-banner {
    height: 90px;
    min-height: 90px;
  }
  .kakao-content-pc { display: flex; }
  .kakao-content-mobile { display: none; }
  .adfit-home-third { display: flex !important; }
  .adfit-detail-bottom { display: flex !important; }
}
@media (max-width: 839px) {
  .ad-slot-kakao + .drink-tabs {
    margin-top: 0.55rem;
  }
}

/* Content + left/right vertical ads in side gutters (below hero) */
.content-with-rails {
  display: block;
  width: 100%;
}
.content-main {
  min-width: 0;
  width: 100%;
}
.ad-rail {
  display: none;
}
.kakao-ad-rail-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  min-width: 160px;
  height: 600px;
  overflow: hidden;
}
@media (min-width: 1560px) {
  /* Kakao permits at most three AdFit placements on one page. On wide
     screens the top banner plus both 160×600 rails are those three, so the
     in-content and modal placements must not be requested at this breakpoint. */
  .content-main > .ad-slot.ad-slot-kakao-rect,
  .home-results-ad,
  .ad-slot.ad-slot-kakao-modal,
  .adfit-home-third {
    display: none !important;
  }
  .content-with-rails {
    display: grid;
    grid-template-columns: 160px minmax(0, 1120px) 160px;
    justify-content: center;
    gap: 0.75rem;
    align-items: start;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-inline: max(0.4rem, calc((100vw - 1472px) / 2));
    box-sizing: border-box;
  }
  .content-main {
    grid-column: 2;
    width: min(1120px, 100%);
    justify-self: center;
  }
  .ad-rail {
    display: block;
    position: relative;
    top: auto;
    z-index: 4;
    width: 160px;
    min-width: 160px;
    height: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }
  .ad-rail-left { grid-column: 1; justify-self: end; }
  .ad-rail-right { grid-column: 3; justify-self: start; }
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.stat {
  background: color-mix(in srgb, var(--panel) 92%, #000 8%);
  border: 1px solid color-mix(in srgb, var(--line) 70%, rgba(var(--accent-rgb), 0.35));
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.stat:hover {
  border-color: rgba(var(--accent-rgb), .55);
  background: color-mix(in srgb, var(--panel) 85%, rgba(var(--accent-rgb), 0.12));
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42);
}
.stat.active {
  border-color: rgba(var(--accent-rgb), .75);
  background: color-mix(in srgb, var(--panel) 78%, rgba(var(--accent-rgb), 0.18));
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--amber);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.stat span {
  color: color-mix(in srgb, var(--muted) 70%, var(--foam) 30%);
  font-size: 0.85rem;
}
.stats-filters {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .12);
}
.stats-filters-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.stats-filters-head strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
}
.stats-filters-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.stats-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.stats-filter-chips .chip { font-size: 0.78rem; }
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 1.4rem 0 0.4rem;
}
.load-more-btn {
  border: 1px solid rgba(var(--accent-rgb), .45);
  background: rgba(var(--accent-rgb), .1);
  color: var(--foam);
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  min-height: 44px;
  font-family: var(--font-serif);
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.load-more-btn:hover {
  background: rgba(var(--accent-rgb), .2);
  border-color: rgba(var(--accent-rgb), .7);
}
.load-more-btn:disabled {
  opacity: .55;
  cursor: wait;
}
.drink-tab-count {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.drink-tab.active .drink-tab-count { color: rgba(var(--accent-rgb), .95); }

.section-head { margin: 2.5rem 0 1.2rem; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.section-head p { margin: 0.4rem 0 0; color: var(--muted); }

.results-grid, .trivia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* Keep the ad node outside replaceable results so search and resize never
   recreate its iframe. Desktop retains all results -> more -> rectangle. */
#resultItems, #resultItemsRest { display: contents; }
#results > .load-more-wrap { grid-column: 1 / -1; }
#results > .load-more-wrap[hidden] { display: none; }
#results > .home-results-ad { grid-column: 1 / -1; }
#results:not(.results-has-items) > .home-results-ad { display: none; }
@media (max-width: 839px) {
  /* Two complete rows form the first mobile result group. The existing
     rectangle has its own full-width, labelled section between groups. */
  #results > .home-results-ad {
    flex-direction: column;
    height: 282px;
    min-height: 282px;
    margin: 1.5rem auto;
  }
  #results > .home-results-ad .ad-label { display: block; }
  body.home-ad-visible .mobile-dock { visibility: hidden; pointer-events: none; }
}

.beer-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s;
  /* Opacity-only enter: transform on the card breaks native lazy/decoding
     intersection for package thumbs in some Chromium builds. */
  animation: cardIn .5s ease both;
}
.beer-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), .4);
}
@keyframes cardIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.beer-card .thumb {
  height: 190px;
  --pkg-color: #e2a83a;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--pkg-color) 42%, #2a1c12), #140f0c 72%);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.package-thumb .pkg-blur,
.package-hero .pkg-blur {
  position: absolute;
  inset: -28%;
  z-index: 0;
  background-image: var(--pkg-image);
  background-size: cover;
  background-position: center;
  filter: blur(32px) saturate(1.4);
  opacity: 0.58;
  transform: scale(1.2);
  pointer-events: none;
}
.package-thumb .pkg-wash,
.package-hero .pkg-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--pkg-color) 48%, transparent), transparent 68%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 55%);
}
.package-thumb img {
  position: relative;
  z-index: 1;
  max-height: 170px;
  max-width: 72%;
  width: auto;
  height: auto;
  min-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.45));
  transition: transform .25s ease;
}
.beer-card:hover .package-thumb img { transform: translateY(-4px) scale(1.03); }
.swatch {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
}
.mini-bars {
  display: grid;
  gap: 0.28rem;
  margin: 0 0 0.7rem;
}
.mini-bar {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.68rem;
  color: #8d7b68;
}
.mini-bar i {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
}
.mini-bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v, 0%);
  background: linear-gradient(90deg, var(--amber-deep), var(--amber));
  border-radius: inherit;
}
.beer-card .body { padding: 0.95rem 1rem 1.15rem; }
.beer-card h3,
.beer-card .ko,
.modal-body h2,
.modal-ko {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.beer-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.beer-card .ko {
  margin: 0.2rem 0 0.55rem;
  color: var(--amber);
  font-size: 0.88rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid var(--line);
}
.tag.family { color: var(--foam); border-color: rgba(var(--accent-rgb), .3); }
.tag.retail {
  color: var(--foam);
  border-color: rgba(var(--accent-rgb), 0.42);
  background: rgba(var(--accent-rgb), 0.14);
  font-weight: 700;
}

/* ——— Engagement counters (likes / views) ——— */

.engagement-badge {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  display: flex;
  gap: 0.3rem;
  pointer-events: none;
}
.engagement-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1;
  color: rgba(247, 239, 226, 0.82);
  background: rgba(12, 9, 7, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
}
.engagement-stat b { font-weight: 600; font-size: 0.7rem; }
.engagement-stat svg { opacity: 0.75; flex: none; }
.engagement-stat.liked { color: #ff8098; }
.engagement-stat.liked svg { opacity: 1; }

.engagement-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
}
.like-btn-card {
  padding: 0.28rem 0.62rem;
  font-size: 0.74rem;
}
.engagement-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.85rem 0 0.2rem;
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  color: var(--ink, #f3ebe3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.like-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.09); }
.like-btn:disabled { opacity: 0.6; cursor: progress; }
.like-btn svg { opacity: 0.6; transition: opacity .18s ease, transform .18s ease; }
.like-btn b { font-weight: 700; font-variant-numeric: tabular-nums; }
.like-btn.liked {
  color: #ff8098;
  background: rgba(255, 128, 152, 0.12);
  border-color: rgba(255, 128, 152, 0.42);
}
.like-btn.liked svg { opacity: 1; transform: scale(1.12); }
.like-label { letter-spacing: -0.01em; }

.engagement-views {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.engagement-views svg { opacity: 0.6; }
.engagement-views b { color: var(--ink, #f3ebe3); font-variant-numeric: tabular-nums; }
.engagement-views small { font-size: 0.72rem; }

/* Server-rendered SEO pages reuse the same look without the toggle button. */
.seo-engagement {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.seo-engagement span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.seo-engagement b { color: var(--ink, #f3ebe3); font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .engagement-badge { left: 0.45rem; bottom: 0.45rem; gap: 0.24rem; }
  .engagement-stat { padding: 0.12rem 0.34rem; font-size: 0.64rem; }
  .engagement-stat b { font-size: 0.66rem; }
}

.family-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.family-tab {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
}
.family-tab.active {
  color: #1a120e;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  border-color: transparent;
  font-weight: 700;
}

.taxonomy-panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(28, 21, 16, 0.85);
  padding: 1.2rem;
}
.family-summary {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  line-height: 1.45;
}
.family-fun {
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-size: 0.92rem;
}
.group-block { margin-bottom: 1.3rem; }
.group-block h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  color: var(--amber);
}
.style-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.7rem;
}
.style-card {
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: .2s;
}
.style-card:hover { border-color: rgba(var(--accent-rgb),.4); background: rgba(var(--accent-rgb),.06); }
.style-card strong { display: block; font-size: 0.92rem; }
.style-card em {
  display: block;
  font-style: normal;
  color: var(--amber);
  font-size: 0.8rem;
  margin: 0.15rem 0 0.4rem;
}
.style-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.style-metrics {
  margin-top: 0.45rem;
  color: #8d7b68;
  font-size: 0.72rem;
}

.trivia-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(var(--accent-rgb),.08), rgba(28,21,16,.9));
}
.trivia-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.trivia-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.92rem; }

.site-footer {
  padding: 3rem 0 max(2.5rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  color: #8d7b68;
  font-size: 0.82rem;
}
.site-footer p { margin: 0.35rem 0; line-height: 1.5; word-break: keep-all; }
.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
}
.seo-footer-links a {
  color: var(--muted);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.seo-footer-links a:hover { color: var(--amber); }
.footer-note { margin-top: 0.3rem; }
.footer-credit {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.01em;
  color: #5f5348;
  opacity: 0.85;
}
.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(95, 83, 72, 0.4);
}
.footer-credit a:hover { color: var(--muted); opacity: 1; }
.operator-info {
  margin-top: 0.55rem !important;
  font-size: 0.72rem;
  color: #5f5348;
  letter-spacing: 0;
}
.operator-info a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.operator-card {
  margin: 2rem 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}
.operator-card h2 { margin-top: 0.25rem; }
.operator-list { margin: 1rem 0 0; }
.operator-list > div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.28fr) 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}
.operator-list dt { font-weight: 700; }
.operator-list dd { margin: 0; }
@media (max-width: 560px) {
  .operator-list > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

.detail-modal {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0;
  width: min(760px, calc(100% - 1.5rem));
  max-height: min(92vh, 92dvh);
  background: #1a130f;
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.detail-modal::backdrop {
  background: rgba(8, 6, 5, 0.72);
  backdrop-filter: blur(4px);
}
.modal-inner {
  display: grid;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal-hero {
  min-height: 260px;
  --pkg-color: #e2a83a;
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--pkg-color) 28%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--pkg-color) 18%, #2a1c12), #1a130f);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.package-hero .package-photo {
  position: relative;
  z-index: 1;
  max-height: 240px;
  max-width: min(280px, 70%);
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.5));
  animation: pourIn .55s ease both;
}
@keyframes pourIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0 0.4rem;
  min-width: 0;
}
.chart-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(255,255,255,0.025);
  min-width: 0;
  overflow: hidden;
}
.chart-card.chart-wide { grid-column: 1 / -1; }
.chart-card h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--amber);
}
.radar { width: 100%; max-width: 260px; height: auto; margin: 0 auto; display: block; }
.hbar { margin-bottom: 0.7rem; }
.hbar-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.hbar-track {
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.hbar-fill {
  height: 100%;
  border-radius: inherit;
  transition: width .6s ease;
}
.chart-note {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: #8d7b68;
}
.share-stack {
  display: flex;
  height: 16px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  margin-bottom: 0.55rem;
}
.share-stack i { display: block; height: 100%; }
.share-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.share-legend i {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  margin-right: 0.3rem;
  vertical-align: middle;
}
.ing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.ing-list strong { color: var(--ink); margin-right: 0.35rem; }
@media (max-width: 860px) {
  .charts { grid-template-columns: 1fr; }
  .chart-card.chart-wide { grid-column: auto; }
}
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  background: rgba(0,0,0,.45);
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.modal-body { padding: 0 1.4rem 1.5rem; margin-top: -2.5rem; position: relative; }
.modal-body h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.08;
}
.modal-ko {
  color: var(--amber);
  margin: 0.2rem 0 0.8rem;
  line-height: 1.4;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.breadcrumb span.sep { opacity: 0.5; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin: 1rem 0;
}
.metric {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem;
  text-align: center;
}
.metric b { display: block; color: var(--amber); font-size: 1.05rem; }
.metric small { color: var(--muted); }
.desc { line-height: 1.6; color: #e8ddd0; }
.fun-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.fun-list li {
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--amber);
  background: rgba(226,168,58,0.08);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.taste-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.tasting-notes, .materials-row { margin-top: 1rem; }
.tasting-notes h3, .materials-row h3 {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: #f0e6d8;
}
.taste-note {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.55rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(240, 230, 216, 0.08);
  font-size: 0.95rem;
  line-height: 1.45;
  color: #e8ddd0;
}
.taste-note strong { color: #c9a27a; font-weight: 600; }

.buy-box {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(226, 168, 58, 0.06);
}
.buy-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0d078, var(--amber));
  color: #1a120e;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.buy-cta:hover { filter: brightness(1.05); }
.buy-alts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
  justify-content: center;
}
.buy-alt {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(226,168,58,.35);
}
.buy-alt:hover { color: var(--amber); }
.buy-note {
  margin: 0.55rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.72rem;
}
.buy-disclosure {
  margin: 0.45rem 0 0;
  color: #8d7b68;
  font-size: 0.7rem;
  line-height: 1.4;
  text-align: center;
}
.package-hero {
  position: relative;
}
.img-credit {
  position: absolute;
  left: 0.65rem;
  bottom: 0.5rem;
  margin: 0;
  z-index: 3;
  color: rgba(244, 235, 224, 0.55);
  font-size: 0.58rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}
.img-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 1px;
  text-decoration-color: rgba(244, 235, 224, 0.35);
}
.img-credit a:hover { color: rgba(244, 235, 224, 0.85); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  .glow {
    width: 70vw;
    height: 70vw;
    opacity: 0.85;
    filter: blur(16px);
    animation: none;
  }

  .site-header, main, .site-footer {
    width: min(1120px, calc(100% - 1rem));
  }
  .site-header {
    padding: max(0.7rem, env(safe-area-inset-top, 0px)) 0 0.2rem;
  }
  .brand-icon { width: 1.9rem; height: 1.9rem; flex-shrink: 0; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub {
    font-size: 0.62rem;
    max-width: 14rem;
    white-space: normal;
  }
  .nav-links { display: none; }
  .lang-switcher { margin-left: auto; }

  /* 6 drink tabs: horizontal scroll, no clipping */
  .drink-tabs {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin: 0.45rem 0 0.1rem;
    padding: 0.3rem;
    border-radius: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }
  .drink-tabs::-webkit-scrollbar { display: none; }
  .drink-tab {
    min-width: 4.4rem;
    min-height: 48px;
    padding: 0.45rem 0.7rem;
    scroll-snap-align: start;
  }
  .drink-tab-ko { font-size: 0.9rem; }
  .drink-tab-en { font-size: 0.55rem; letter-spacing: 0.02em; }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.85rem 0 1.1rem;
    box-sizing: border-box;
    border-radius: 0;
  }
  .hero::before {
    inset: -4% -2% 0;
  }
  .hero-visual { display: none; }
  .hero-collage { opacity: 0.55; inset: 0; }
  .hero-collage::after {
    background:
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--bg) 48%, transparent) 0%,
        color-mix(in srgb, var(--bg) 62%, transparent) 42%,
        var(--bg) 100%
      ),
      radial-gradient(ellipse 100% 85% at 50% 18%, transparent 18%, rgba(0, 0, 0, 0.22) 100%),
      radial-gradient(ellipse 80% 50% at 50% 90%, rgba(var(--glow-rgb), 0.12), transparent 72%);
  }
  .collage-item { opacity: 0; width: clamp(48px, 18vw, 84px); }
  .collage-item img { max-height: 120px; }
  .collage-i0 { top: 4%; right: 2%; left: auto; }
  .collage-i1 { top: 10%; left: 2%; right: auto; }
  .collage-i2 { top: 2%; right: 28%; left: auto; }
  .collage-i3 { top: 36%; left: 4%; right: auto; }
  .collage-i4 { top: 42%; right: 34%; left: auto; }
  .collage-i5,
  .collage-i6,
  .collage-i7,
  .collage-i8,
  .collage-i9,
  .collage-i10,
  .collage-i11 { display: none; }
  .hero-brand {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 1.02;
  }
  body[data-drink="makgeolli"] .hero-brand,
  body[data-drink="traditional"] .hero-brand {
    font-size: clamp(1.75rem, 8.5vw, 2.55rem);
    line-height: 1.12;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .hero-lead {
    font-size: clamp(0.88rem, 3.4vw, 1.05rem);
    line-height: 1.45;
    margin: 0.35rem auto 0.7rem;
    max-width: none;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: keep-all;
  }
  .search-shell {
    max-width: none;
    padding: 0.28rem;
    border-radius: 16px;
  }
  .search-shell input {
    font-size: 0.95rem;
    padding: 0.7rem 0.8rem;
    min-height: 44px;
  }
  .search-shell button {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
  .quick-chips { gap: 0.4rem; margin-top: 0.65rem; }
  .chip {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    min-height: 40px;
  }
  .search-hint { font-size: 0.68rem; margin-top: 0.4rem; }

  .stats-section { margin: 0.55rem 0 1.2rem; }
  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    padding: 0.35rem 0 0;
  }
  .stat {
    padding: 0.75rem 0.65rem;
    min-height: 64px;
  }
  .stat strong { font-size: 1.25rem; }
  .stat span { font-size: 0.72rem; }
  .stats-filters {
    padding: 0.75rem 0.8rem;
    display: grid;
    gap: 0.55rem;
  }
  .stats-filters-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .stats-filters-head button {
    min-height: 40px;
    padding: 0.25rem 0;
  }
  .stats-filter-chips { gap: 0.4rem; }
  .load-more-btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    min-height: 48px;
  }
  .drink-tab-count { font-size: 0.58rem; }

  .section-head { margin: 1rem 0 0.6rem; }
  .section-head h2 { font-size: clamp(1.25rem, 5vw, 1.55rem); }
  .section-head p { font-size: 0.8rem; }

  /* Phone + tablet: 2-col product grid (readable at ~320–375px) */
  .results-grid, .trivia-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .beer-card {
    border-radius: 14px;
    min-width: 0;
  }
  .beer-card .thumb { height: 118px; }
  .package-thumb img {
    max-height: 100px;
    max-width: 72%;
    min-height: 56px;
  }
  .beer-card .body { padding: 0.5rem 0.55rem 0.65rem; }
  .beer-card h3 {
    font-size: 0.86rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .beer-card .ko {
    font-size: 0.7rem;
    margin: 0.1rem 0 0.3rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .mini-bars { gap: 0.2rem; margin-bottom: 0.3rem; }
  .mini-bar {
    grid-template-columns: 1.9rem 1fr;
    gap: 0.28rem;
    font-size: 0.58rem;
  }
  .mini-bar span { font-size: 0.58rem; }
  .meta-row { gap: 0.22rem; }
  .tag { font-size: 0.6rem; padding: 0.14rem 0.32rem; }
  .beer-card .tag:nth-child(n+4) { display: none; }

  .family-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
    margin-bottom: 0.85rem;
  }
  .family-tabs::-webkit-scrollbar { display: none; }
  .family-tab {
    flex: 0 0 auto;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    min-height: 44px;
  }
  .taxonomy-panel { padding: 0.85rem; }
  .family-summary, .family-fun { font-size: 0.85rem; }
  .style-list { grid-template-columns: 1fr; gap: 0.5rem; }
  .style-card {
    padding: 0.8rem;
    min-height: 44px;
  }
  .trivia-card { padding: 0.85rem; }
  .trivia-card h3 { font-size: 1rem; }
  .trivia-card p { font-size: 0.82rem; }

  .ad-slot {
    margin: 0.25rem 0 1.1rem;
    padding: 0.5rem 0.55rem 0.65rem;
    min-height: 0;
  }

  /* Near full-screen detail on mobile / tablet */
  .detail-modal {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
    border: 0;
    padding: 0;
  }
  .modal-inner {
    max-height: 100%;
    min-height: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .modal-hero { min-height: 200px; }
  .package-hero .package-photo {
    max-height: 200px;
    max-width: min(240px, 62%);
  }
  .modal-close {
    top: max(0.55rem, env(safe-area-inset-top, 0px));
    right: max(0.55rem, env(safe-area-inset-right, 0px));
  }
  .modal-body {
    padding: 0 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    margin-top: -1.6rem;
  }
  .modal-body h2 {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    letter-spacing: 0.03em;
    line-height: 1.15;
    word-break: keep-all;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .charts {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .chart-card { padding: 0.75rem; }
  .chart-card.chart-wide { grid-column: auto; }
  .radar { max-width: 220px; }
  .buy-box { padding: 0.85rem; }
  .buy-cta {
    min-height: 48px;
    font-size: 0.95rem;
  }
  .site-footer {
    padding: 1.2rem 0 max(1.6rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
    font-size: 0.75rem;
  }
  .seo-footer-links { gap: 0.25rem 0.45rem; }
}

/* Larger phones + small tablets: slightly roomier 2-col cards */
@media (min-width: 480px) and (max-width: 860px) {
  .results-grid, .trivia-grid { gap: 0.65rem; }
  .beer-card .thumb { height: 140px; }
  .package-thumb img { max-height: 120px; min-height: 72px; }
  .beer-card .body { padding: 0.6rem 0.65rem 0.75rem; }
  .beer-card h3 {
    font-size: 0.92rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .beer-card .ko { font-size: 0.74rem; }
  .stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
  .beer-card .tag:nth-child(n+3) { display: none; }
  .drink-tab {
    min-width: 3.9rem;
    padding: 0.4rem 0.55rem;
  }
  .drink-tab-en { display: none; }
  .hero-brand { font-size: clamp(1.85rem, 10.5vw, 2.6rem); }
  body[data-drink="makgeolli"] .hero-brand,
  body[data-drink="traditional"] .hero-brand {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }
  .search-shell {
    flex-wrap: wrap;
    border-radius: 14px;
  }
  .search-shell input { width: 100%; flex: 1 1 100%; }
  .search-shell button {
    width: 100%;
    border-radius: 12px;
  }
}

@media (max-width: 380px) {
  .brand-sub { display: none; }
  .drink-tab { min-width: 3.55rem; }
  .stat strong { font-size: 1.1rem; }
  .results-grid, .trivia-grid { gap: 0.45rem; }
  .beer-card .thumb { height: 108px; }
  .package-thumb img { max-height: 90px; min-height: 48px; }
  .beer-card .body { padding: 0.45rem 0.48rem 0.55rem; }
  .beer-card h3 { font-size: 0.8rem; }
  .beer-card .ko { font-size: 0.66rem; }
}

/* —— SEO hub / item pages —— */
.seo-body .brand-mark { text-decoration: none; color: inherit; }
.seo-main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}
.seo-header { position: relative; }
.seo-drink-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}
.seo-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
}
.seo-pill.active,
.seo-pill:hover {
  color: var(--ink);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.12);
}
.seo-hero {
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.seo-eyebrow {
  margin: 0 0 0.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--amber);
}
.seo-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.seo-hero h1 small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-serif);
  font-size: 0.45em;
  letter-spacing: 0;
  color: var(--muted);
  font-style: italic;
}
.seo-lead {
  color: var(--muted);
  max-width: 40rem;
  line-height: 1.65;
  margin-inline: auto;
}
.seo-count { color: var(--muted); font-size: 0.92rem; }
.seo-count a, .seo-more a, .seo-crumb a { color: var(--link); }
.seo-section { margin: 2.2rem 0; }
.seo-section h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 0.85rem;
}
.seo-editorial-note,
.seo-comparison {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.seo-editorial-list {
  padding-left: 1.25rem;
  line-height: 1.7;
}
.seo-editorial-list li + li { margin-top: 0.55rem; }
.seo-editorial-note a { color: var(--link); }
.seo-comparison-scroll { overflow-x: auto; }
.seo-comparison table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.93rem;
}
.seo-comparison th,
.seo-comparison td {
  padding: 0.65rem 0.55rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.seo-comparison th { color: var(--muted); font-weight: 600; }
.seo-comparison td a { color: var(--link); }
.seo-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.seo-link-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.seo-link-list a:hover { border-color: rgba(var(--accent-rgb), 0.5); }
.seo-link-list small { color: var(--muted); }
.seo-product-details .seo-detail-links > li { min-width: 0; }
.seo-product-details .seo-detail-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.25rem;
  overflow-wrap: anywhere;
  border-radius: 4px;
}
.seo-product-details .seo-detail-links a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
.seo-product-details .seo-detail-group-name { font-weight: 600; }
.seo-product-details .seo-detail-records {
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 860px) {
  .seo-product-details .seo-detail-links { grid-template-columns: 1fr; }
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}
.seo-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  background: rgba(34, 24, 15, 0.55);
}
.seo-card:hover { border-color: rgba(var(--accent-rgb), 0.4); }
.seo-card-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a120c;
  display: grid;
  place-items: center;
}
.seo-card-thumb img { max-width: 90%; max-height: 90%; object-fit: contain; }
.seo-card-body h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
}
.seo-card-body p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.78rem; }
.seo-card-meta { font-size: 0.72rem !important; }
.seo-card-body .seo-card-retail {
  display: inline-flex;
  width: fit-content;
  padding: 0.16rem 0.42rem;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 999px;
  color: var(--foam);
  background: rgba(var(--accent-rgb), 0.1);
  font-size: 0.7rem;
  font-weight: 700;
}
.seo-card-body .seo-card-reason {
  color: var(--foam);
  font-size: 0.82rem;
  font-weight: 600;
}
.seo-crumb {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.seo-item {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 0 1.75rem;
  align-items: start;
}
.seo-item-heading { grid-column: 2; grid-row: 1; min-width: 0; }
.seo-item-media { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.seo-item-copy { grid-column: 2; grid-row: 2; min-width: 0; }
.seo-retail {
  margin: 0.75rem 0 1rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(var(--accent-rgb), 0.26);
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--muted);
}
.seo-retail p { margin: 0; line-height: 1.55; }
.seo-retail p + p { margin-top: 0.25rem; font-size: 0.82rem; }
.seo-retail strong { color: var(--foam); }
.seo-retail small { display: block; margin-top: 0.25rem; color: var(--muted); }
.seo-item-kind {
  margin: 0 0 0.35rem;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 700;
}
.seo-item-media img {
  width: 100%;
  border-radius: 16px;
  background: #1a120c;
  object-fit: contain;
  aspect-ratio: 1;
}
.seo-item-heading h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 400;
}
.seo-sub { color: var(--muted); }
.seo-similar-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin: 0.25rem 0 0.8rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 999px;
  color: var(--foam);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.seo-similar-jump:hover, .seo-similar-jump:focus-visible {
  background: rgba(var(--accent-rgb), 0.16);
}
#similar-drinks { scroll-margin-top: 1rem; }
.seo-metrics {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.seo-metrics li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}
.seo-metrics b { display: block; font-size: 1.05rem; }
.seo-metrics span { color: var(--muted); font-size: 0.7rem; }
.seo-desc { line-height: 1.7; color: var(--foam); }
.seo-tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.seo-tags li {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.seo-buy { margin: 1.25rem 0; }
.seo-footer { text-align: center; }

.scene-gallery {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 14, 10, 0.55);
}
.scene-gallery h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.scene-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.scene-more-sentinel {
  height: 1px;
  width: 100%;
  margin: 0.5rem 0 0;
  pointer-events: none;
}
.scene-more-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}
.scene-more-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(20, 14, 10, 0.7);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font: inherit;
  cursor: pointer;
}
.scene-card[hidden] {
  display: none !important;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.scene-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10, 8, 6, 0.45);
}
.scene-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #140f0c;
}
.scene-card figcaption { padding: 0.7rem 0.8rem 0.85rem; }
.scene-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}
.scene-credit {
  margin: 0.3rem 0 0;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.4;
}
.scene-credit a { color: var(--muted); }
@media (max-width: 1100px) {
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .seo-main {
    width: min(1120px, calc(100% - 1rem));
    padding: 0.85rem 0 2rem;
  }
  .seo-drink-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
  }
  .seo-drink-nav::-webkit-scrollbar { display: none; }
  .seo-pill {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
  }
  .seo-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.8rem);
    word-break: keep-all;
  }
  .seo-lead { font-size: 0.92rem; }
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .seo-link-list {
    grid-template-columns: 1fr;
  }
  .scene-gallery {
    width: min(1120px, calc(100% - 1rem));
    margin: 1.25rem auto 2rem;
    padding: 0.9rem;
  }
}
@media (min-width: 480px) and (max-width: 860px) {
  .seo-grid { gap: 0.7rem; }
}
@media (max-width: 720px) {
  .seo-item { grid-template-columns: 1fr; gap: 0; }
  .seo-item-heading { grid-column: 1; grid-row: 1; }
  .seo-item-media { grid-column: 1; grid-row: 2; margin: 0.25rem 0 0.8rem; }
  .seo-item-copy { grid-column: 1; grid-row: 3; }
  .seo-item-media img { height: min(58vw, 240px); aspect-ratio: auto; }
  .seo-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scene-grid { grid-template-columns: 1fr; }
  .seo-card {
    grid-template-columns: 64px 1fr;
    min-height: 44px;
  }
}

/* —— Privacy / legal page —— */
.legal-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.legal-doc {
  color: var(--text, #f3ebe3);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  word-break: keep-all;
}
.legal-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}
.legal-eyebrow a {
  color: var(--muted, #a89480);
  text-decoration: none;
}
.legal-eyebrow a:hover { color: var(--amber, #d4a574); }
.legal-doc h1 {
  margin: 0 0 0.75rem;
  font-family: "Instrument Serif", "Noto Sans KR", serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.25;
}
.legal-meta {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  background: rgba(20, 14, 10, 0.45);
  color: var(--muted, #a89480);
  font-size: 0.88rem;
  line-height: 1.55;
}
.legal-doc h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber, #d4a574);
}
.legal-doc h3 {
  margin: 1.15rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}
.legal-doc p { margin: 0.55rem 0; }
.legal-doc ul {
  margin: 0.4rem 0 0.8rem;
  padding-left: 1.25rem;
}
.legal-doc li { margin: 0.3rem 0; }
.legal-doc a {
  color: var(--link);
  text-underline-offset: 0.22em;
}
.legal-doc code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: rgba(20, 14, 10, 0.55);
  color: var(--muted, #a89480);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .legal-main { padding: 1rem 1rem 2.5rem; }
  .legal-table { font-size: 0.8rem; }
}

/* —— Editorial / AdSense content density —— */
.content-no-rails {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.content-no-rails .content-main { width: 100%; }
.editorial-home {
  margin: 0.5rem 0 1.75rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px solid rgba(var(--accent-rgb, 224, 160, 48), 0.28);
  border-radius: 14px;
  background: linear-gradient(
    160deg,
    rgba(var(--foam-rgb, 247, 239, 226), 0.06),
    rgba(20, 14, 10, 0.35)
  );
}
.legal-doc .editorial-home {
  margin: 1.25rem 0 1.75rem;
}
.legal-doc .editorial-home .section-head h2 {
  font-size: 1.35rem;
}
.editorial-home-body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text, #f3ebe3);
  word-break: keep-all;
}
.editorial-home-body p { margin: 0.55rem 0; }
.editorial-home > .section-kicker { margin: 0 0 0.35rem; }
.editorial-home > h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 400;
  line-height: 1.35;
  word-break: keep-all;
}
.editorial-home > h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.editorial-lead,
.ed-lead-sm,
.ed-point {
  margin: 0;
  color: color-mix(in srgb, var(--foam) 82%, var(--muted) 18%);
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: keep-all;
}
.ed-lead-sm { font-size: 0.9rem; color: var(--muted); }
.ed-point { margin-top: 0.65rem; font-size: 0.88rem; color: var(--muted); }
.editorial-home a { color: var(--link); }
.ed-axes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.95rem 0 0.75rem;
  padding: 0;
  list-style: none;
}
.ed-axes li {
  min-width: 0;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.ed-axes span {
  display: block;
  color: var(--amber);
  font: 0.92rem var(--font-display);
  letter-spacing: 0.06em;
}
.ed-axes strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.92rem;
}
.ed-axes small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}
.ed-example {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.65rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-left: 2px solid rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.06);
  font-size: 0.86rem;
  line-height: 1.55;
  word-break: keep-all;
}
.ed-example > span:first-child {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ed-lineage { min-width: 0; color: var(--foam); }
.ed-lineage i {
  margin: 0 0.2rem;
  color: var(--muted);
  font-style: normal;
}
.ed-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.75rem;
  padding: 0;
  list-style: none;
}
.ed-chips li {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.75rem;
}
.ed-callout {
  margin: 0;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(20, 14, 10, 0.35);
  color: color-mix(in srgb, var(--foam) 88%, var(--muted) 12%);
  font-size: 0.88rem;
  line-height: 1.6;
  word-break: keep-all;
}
.ed-defs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.7rem 0 0;
}
.ed-defs div {
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.ed-defs dt {
  margin: 0;
  color: var(--amber);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ed-defs dd {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--foam);
  word-break: keep-all;
}
.ed-weights {
  display: grid;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}
.ed-weights li {
  display: grid;
  grid-template-columns: minmax(0, 7.2rem) minmax(0, 1fr) 2.4rem;
  gap: 0.5rem;
  align-items: center;
}
.ed-weights span {
  font-size: 0.78rem;
  color: var(--foam);
  word-break: keep-all;
}
.ed-weights i {
  display: block;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.ed-weights i::after {
  content: "";
  display: block;
  height: 100%;
  width: var(--w, 0);
  border-radius: inherit;
  background: color-mix(in srgb, var(--amber) 72%, transparent);
}
.ed-weights b {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  text-align: right;
}
.ed-read {
  display: grid;
  gap: 0.5rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}
.ed-read li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  min-width: 0;
  margin: 0;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.ed-read-n {
  color: var(--amber);
  font: 0.92rem var(--font-display);
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.ed-read-body {
  min-width: 0;
}
.ed-read-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.ed-read-body p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
  word-break: keep-all;
}
.ed-read-link,
.ed-read-links a {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(var(--accent-rgb), 0.38);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.08);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  word-break: keep-all;
}
.ed-read-link:hover,
.ed-read-links a:hover {
  background: rgba(var(--accent-rgb), 0.16);
  text-decoration: none;
}
.ed-read-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
}
.ed-read-links a { margin-top: 0; }
.editorial-note {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: #8d7b68;
  font-size: 0.78rem;
  line-height: 1.55;
  word-break: keep-all;
}
.editorial-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.editorial-links a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}
.editorial-links a:hover { text-decoration: underline; }
.seo-prose {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text, #f3ebe3);
  word-break: keep-all;
  margin: 0.85rem 0 1rem;
  max-width: 42rem;
}
.seo-prose p { margin: 0.55rem 0; }
.seo-prose a { color: var(--link); }
.guide-index-list {
  margin: 1.2rem 0;
  padding-left: 1.2rem;
  line-height: 1.85;
}
.guide-index-list a { color: var(--link); }
@media (max-width: 720px) {
  .editorial-home { padding: 1rem 1rem 1.15rem; }
  .editorial-home-body { font-size: 0.9rem; }
  .editorial-lead { font-size: 0.9rem; }
  .ed-axes {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .ed-axes li {
    display: grid;
    grid-template-columns: 1.7rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.55rem;
    padding: 0.55rem 0.65rem;
  }
  .ed-axes span { grid-row: 1 / span 2; align-self: center; }
  .ed-axes strong { margin-top: 0; font-size: 0.88rem; }
  .ed-example { font-size: 0.8rem; }
  .ed-defs { gap: 0.35rem; }
  .ed-defs dt { font-size: 0.62rem; }
  .ed-defs dd { font-size: 0.74rem; }
  .ed-weights li {
    grid-template-columns: minmax(0, 1fr) 2.2rem;
    grid-template-areas: "label pct" "bar bar";
    row-gap: 0.25rem;
  }
  .ed-weights span { grid-area: label; }
  .ed-weights b { grid-area: pct; }
  .ed-weights i { grid-area: bar; }
  .ed-read { gap: 0.4rem; }
  .ed-read li {
    grid-template-columns: 1.7rem minmax(0, 1fr);
    padding: 0.6rem 0.65rem;
  }
}

.scene-link { display: block; color: inherit; text-decoration: none; }
.scene-link:hover img { opacity: 0.92; }
.modal-scene-gallery {
  width: 100%;
  margin: 1.25rem 0 0.5rem;
  padding: 1rem;
  box-sizing: border-box;
}
.modal-body .scene-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 720px) {
  .modal-body .scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* —— Discovery-first renewal / Android WebView —— */
:root { --on-accent: #17100b; }
body[data-drink="wine"],
body[data-drink="whiskey"] { --on-accent: #fff7ef; }

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--foam) 65%, var(--amber) 35%);
  outline-offset: 3px;
}
.search-shell:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.28), 0 12px 32px rgba(0, 0, 0, 0.42);
}
.search-shell input:focus-visible { outline: 0; }
.drink-tab.active,
.search-shell button,
.family-tab.active,
.buy-cta { color: var(--on-accent); }
/* The wine theme's pale purchase fill needs dark text at both gradient stops. */
body[data-drink="wine"] .buy-cta {
  color: #22180f;
  background: linear-gradient(180deg, #efd39a, #d4aa6a);
}

.drink-tab.active .drink-tab-en { color: currentColor; }

.hero { padding: 2.2rem 0 2.5rem; }
.hero-copy { max-width: 44rem; }
.hero-atlas {
  margin: 0 0 0.75rem;
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-question {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.13;
  word-break: keep-all;
  animation: titleIn .8s ease both;
}
.hero-question span {
  display: inline-block;
  background: var(--brand-grad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 42rem;
  margin: 1rem auto 1.35rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: color-mix(in srgb, var(--foam) 84%, var(--muted) 16%);
}

.discovery-steps {
  display: grid;
  grid-template-columns: minmax(210px, .7fr) 1.8fr;
  gap: 1.5rem;
  align-items: center;
  margin: .25rem 0 2rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .09), rgba(255,255,255,.015));
}
.section-kicker {
  margin: 0 0 .25rem;
  color: var(--amber);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.discovery-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.discovery-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.discovery-list li {
  min-width: 0;
  padding: .7rem .75rem;
  border-left: 1px solid var(--line);
}
.discovery-list span { display: block; color: var(--amber); font: 1rem var(--font-display); }
.discovery-list strong { display: block; margin-top: .15rem; font-size: .88rem; }
.discovery-list small { display: block; margin-top: .2rem; color: var(--muted); font-size: .7rem; line-height: 1.45; }

.results-section { scroll-margin-top: 1rem; }
.stats-section { margin: 1.6rem 0 2rem; }
.result-skeleton {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(255,255,255,.025) 30%, rgba(var(--accent-rgb),.1) 45%, rgba(255,255,255,.025) 60%);
  background-size: 250% 100%;
  animation: skeletonMove 1.2s linear infinite;
}
@keyframes skeletonMove { to { background-position-x: -250%; } }
.search-error button {
  display: block;
  margin: .9rem auto 0;
  min-height: 44px;
  padding: .55rem 1rem;
  border: 1px solid rgba(var(--accent-rgb),.5);
  border-radius: 999px;
  background: rgba(var(--accent-rgb),.12);
  color: var(--ink);
}

.detail-modal { background: var(--bg-2); }
.modal-inner {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  overflow-x: hidden;
}
.modal-body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.modal-hero {
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--pkg-color) 28%, transparent), transparent 55%),
    linear-gradient(180deg, color-mix(in srgb, var(--pkg-color) 18%, var(--panel)), var(--bg-2));
}
.desc { color: color-mix(in srgb, var(--foam) 88%, var(--muted) 12%); }
.fun-list li,
.buy-box { background: rgba(var(--accent-rgb), .075); }
.tasting-notes h3,
.materials-row h3,
.taste-note { color: var(--foam); }
.taste-note strong { color: color-mix(in srgb, var(--amber) 78%, var(--foam) 22%); }

.identity-card {
  margin: 1rem 0 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(var(--accent-rgb), .42);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(var(--accent-rgb), .14), rgba(255,255,255,.025));
}
.identity-head,
.modal-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.identity-head h3,
.modal-section-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}
.confidence-badge {
  flex: 0 0 auto;
  padding: .28rem .55rem;
  border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 999px;
  color: var(--muted);
  font-size: .68rem;
}
.identity-path {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .85rem 0 .7rem;
}
.identity-path span {
  padding: .34rem .58rem;
  border: 1px solid rgba(var(--accent-rgb), .3);
  border-radius: 999px;
  background: rgba(0,0,0,.12);
  font-size: .78rem;
}
.identity-path i { color: var(--muted); font-style: normal; }
.identity-summary { margin: 0; color: var(--foam); font-size: .9rem; line-height: 1.65; }
.identity-evidence { margin-top: .8rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.identity-evidence summary,
.detail-expand > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--amber);
  font-size: .86rem;
  cursor: pointer;
}
.identity-evidence ul { margin: .3rem 0 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.identity-evidence li strong,
.identity-evidence li span { display: block; }
.identity-evidence li strong { font-size: .78rem; color: var(--foam); }
.identity-evidence li span { margin-top: .12rem; font-size: .75rem; line-height: 1.55; color: var(--muted); }
.detail-expand { margin-top: 1rem; border-block: 1px solid var(--line); }
.detail-expand[open] { padding-bottom: .6rem; }

.similar-section { margin-top: 1.5rem; }
.modal-section-head > p { max-width: 16rem; margin: .2rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.45; text-align: right; }
.similar-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 43%);
  gap: .65rem;
  margin-top: .8rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: .45rem;
  width: 100%;
  min-width: 0;
}
.similar-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 126px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
}
.similar-thumb {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle, color-mix(in srgb, var(--pkg-color) 35%, var(--panel)), var(--bg-2));
}
.similar-thumb .pkg-blur,
.similar-thumb .pkg-wash { position: absolute; inset: -20%; opacity: .4; }
.similar-thumb img { position: relative; z-index: 1; max-width: 74%; max-height: 108px; object-fit: contain; }
.similar-copy { position: relative; min-width: 0; padding: .7rem .65rem; }
.similar-copy h4 { margin: 0; padding-right: 2.4rem; font-size: .84rem; line-height: 1.35; }
.similar-copy > p { margin: .18rem 0 .45rem; color: var(--amber); font-size: .7rem; }
.similar-score { position: absolute; top: .55rem; right: .55rem; text-align: right; color: var(--amber); }
.similar-score strong { display: block; font: 1rem var(--font-display); }
.similar-score small { display: block; font-size: .5rem; color: var(--muted); }
.similar-reasons { display: flex; flex-wrap: wrap; gap: .25rem; }
.similar-reasons span { padding: .18rem .35rem; border-radius: 999px; background: rgba(var(--accent-rgb),.1); color: var(--muted); font-size: .58rem; }

.external-search-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.external-search-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foam);
  text-decoration: none;
  font-size: .72rem;
}

.mobile-dock { display: none; }

@media (max-width: 860px) {
  .hero { padding: 1.25rem 0 1.35rem; }
  .hero-question { font-size: clamp(1.8rem, 8.4vw, 2.75rem); line-height: 1.18; }
  .hero-atlas { margin-bottom: .45rem; font-size: .62rem; }
  .hero-lead { margin: .65rem auto 1rem; max-width: 21rem; font-size: .88rem; line-height: 1.55; }
  .search-shell { flex-wrap: nowrap; gap: .3rem; border-radius: 16px; }
  .search-shell input { min-width: 0; width: auto; flex: 1 1 auto; padding: .65rem .65rem; font-size: .88rem; }
  .search-shell button { width: auto; min-width: 5.3rem; padding: .65rem .75rem; border-radius: 12px; font-size: .82rem; }
  .quick-chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: .2rem;
  }
  .chip { flex: 0 0 auto; scroll-snap-align: start; font-size: .76rem; }

  .discovery-steps { grid-template-columns: 1fr; gap: .75rem; margin: .25rem 0 1.15rem; padding: .9rem; }
  .discovery-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; }
  .discovery-heading .section-kicker { display: none; }
  .discovery-heading h2 { font-size: 1.05rem; }
  .discovery-list { gap: .3rem; }
  .discovery-list li { padding: .45rem .4rem; }
  .discovery-list span { font-size: .84rem; }
  .discovery-list strong { font-size: .72rem; line-height: 1.35; }
  .discovery-list small { display: none; }

  .section-head { margin-top: 1.35rem; }
  .stats-section { margin: 1.1rem 0 1.65rem; }
  .ad-slot {
    min-height: 116px;
    margin: 2rem 0 1.5rem;
    background: rgba(255,255,255,.018);
  }
  .ad-slot .adsbygoogle { min-height: 100px; }

  .modal-body {
    margin-top: 0;
    padding: 1rem .85rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
  .identity-card { padding: .85rem; }
  .identity-head h3,
  .modal-section-head h3 { font-size: 1.18rem; }
  .similar-list { grid-auto-columns: minmax(246px, 82%); }
  .modal-section-head > p { display: none; }
  .modal-body .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .scene-card figcaption { padding: .55rem; }
  .scene-card strong { font-size: .75rem; }
  .scene-credit { font-size: .62rem; }

  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
  .mobile-dock {
    position: fixed;
    z-index: 20;
    left: .6rem;
    right: .6rem;
    bottom: max(.45rem, env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: .35rem;
    border: 1px solid rgba(var(--accent-rgb), .25);
    border-radius: 18px;
    background: color-mix(in srgb, var(--bg-2) 92%, transparent);
    box-shadow: 0 14px 38px rgba(0,0,0,.48);
    backdrop-filter: blur(16px);
  }
  .mobile-dock a,
  .mobile-dock button {
    min-width: 0;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: var(--muted);
    font: .66rem var(--font-body);
    text-decoration: none;
  }
  .mobile-dock span { color: var(--amber); font-size: 1.05rem; line-height: 1; }
}

@media (max-width: 430px) {
  .search-shell { flex-wrap: nowrap; }
  .search-shell input { flex: 1 1 auto; width: 0; }
  .search-shell button { width: auto; }
  .mini-bars { display: none; }
  .beer-card .tag { font-size: .68rem; line-height: 1.2; }
  .beer-card .tag:nth-child(n+2) { display: none; }
  .beer-card h3 { font-size: .88rem; }
  .beer-card .ko { margin-bottom: .42rem; font-size: .72rem; }
  .results-grid.query-results { grid-template-columns: 1fr; }
  .results-grid.query-results .beer-card { display: grid; grid-template-columns: 112px minmax(0,1fr); min-height: 152px; }
  .results-grid.query-results .beer-card .thumb { height: 100%; min-height: 152px; }
  .results-grid.query-results .package-thumb img { max-width: 70%; max-height: 130px; }
  .result-skeleton { min-height: 250px; }
}

.places-map,
.places-teaser,
.place-search-hits {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.6rem auto 2rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(20, 14, 10, 0.55);
}
.place-search-hits {
  width: 100%;
  margin: 0 0 1rem;
}
.place-search-kicker {
  margin: 0 0 0.55rem;
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.places-map .section-head,
.places-teaser .section-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}
.places-map .section-head p,
.places-teaser .section-head p {
  flex: 0 0 auto;
  margin: 0;
}
.places-all-link,
.places-map .section-head a,
.places-teaser .section-head a {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 2rem;
  padding: 0.18rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 0.86rem;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease;
}
.places-all-link:visited,
.places-map .section-head a:visited,
.places-teaser .section-head a:visited {
  color: var(--muted);
}
.places-all-link:hover,
.places-all-link:focus-visible,
.places-map .section-head a:hover,
.places-map .section-head a:focus-visible,
.places-teaser .section-head a:hover,
.places-teaser .section-head a:focus-visible {
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--amber);
}
.place-hub-card h2 a {
  color: inherit;
  text-decoration: none;
}
.place-hub-card h2 a:visited { color: inherit; }
.place-hub-card h2 a:hover,
.place-hub-card h2 a:focus-visible { color: var(--amber); }
.places-map h2,
.places-teaser h3 {
  margin: 0.2rem 0 0.45rem;
  font-family: var(--font-serif);
}
.place-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 1rem;
}
.place-chip {
  appearance: none;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.45);
  color: var(--foam);
  font: inherit;
  font-size: 0.78rem;
  text-decoration: none;
  cursor: pointer;
}
.place-chip.active,
.place-chip:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.places-embed-wrap {
  margin: 0 0 1rem;
}
.places-embed {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #140f0c;
}
.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.place-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.place-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.place-hub-card,
.place-card {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 8, 6, 0.45);
}
.place-card.is-active { border-color: var(--amber); }
.place-card h3,
.place-hub-card h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.05rem;
}
.place-meta,
.place-address,
.place-note {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}
.place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
}
.place-actions a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foam);
  text-decoration: none;
  font-size: 0.72rem;
}
.place-actions a:visited { color: var(--foam); }
.place-actions a:hover,
.place-actions a:focus-visible { border-color: var(--amber); color: var(--amber); }
.place-actions-wide { justify-content: flex-start; margin-top: 0.7rem; }
.scene-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
}
.scene-actions a {
  color: var(--amber);
  font-size: 0.68rem;
  text-decoration: none;
}
@media (max-width: 860px) {
  .places-map,
  .places-teaser { width: min(1120px, calc(100% - 1rem)); padding: 0.9rem; }
  .place-grid,
  .place-grid-compact,
  .place-hub-grid { grid-template-columns: 1fr; }
  .places-embed { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.legal-i18n-note,
.guide-i18n-summary {
  margin: 0 0 1.2rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--amber, #e2a83a);
  background: rgba(226, 168, 58, 0.08);
  color: var(--muted, #c8ba9c);
  font-size: 0.92rem;
  line-height: 1.55;
}
.guide-i18n-summary p { margin: 0 0 0.45rem; }
.guide-i18n-summary p:last-child { margin: 0; }
/* Source-led reading and the server-rendered comparison tool. */
.quality-entry { margin: 1.5rem 0; padding: clamp(18px, 3vw, 32px); }
.quality-entry p, .source-note p { line-height: 1.8; max-width: 78ch; }
.quality-updates { margin-top: 1.25rem; }
.quality-updates h3 { margin: 0 0 .4rem; font-size: 1rem; }
.quality-update-note { margin: 0 0 .8rem; color: var(--muted); font-size: .85rem; }
.quality-update-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; list-style: none; }
.quality-update-list li { min-width: 0; }
.quality-update-list a { display: flex; flex-direction: column; justify-content: center; gap: .35rem; min-height: 64px; height: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; overflow-wrap: anywhere; }
.quality-update-list a:hover { border-color: var(--amber); background: rgba(var(--accent-rgb), .06); }
.quality-update-list a:focus-visible, .search-reset-button:focus-visible, .official-social a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.quality-update-name { color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.5; }
.quality-update-meta { color: var(--muted); font-size: .76rem; line-height: 1.6; }
.search-empty p { margin: 0 0 1rem; }
.search-reset-button { min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--amber); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.search-reset-button:hover { background: rgba(var(--accent-rgb), .1); }
/* Verified producer channels are links, not product-review or social embeds. */
.official-social { margin-block: 1.5rem; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.official-social h2 { margin: 0 0 .5rem; }
.official-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.official-social-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.official-social-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.official-social-card a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; color: var(--link); overflow-wrap: anywhere; }
.official-social-meta, .official-social-note { color: var(--muted); font-size: .85rem; line-height: 1.7; }
.official-social-meta { margin: .35rem 0; }
.official-social-note { margin: .65rem 0 0; }
.source-cta { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: .65rem 1rem; border: 1px solid var(--amber); border-radius: 12px; color: var(--amber); text-decoration: none; overflow-wrap: anywhere; }
.source-cta:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.source-note { border: 1px solid rgba(128,128,128,.3); border-radius: 12px; padding: 20px; overflow-wrap: anywhere; }
.compare-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 24px 0; }
.compare-form label { flex-basis: 100%; font-weight: 700; }
.compare-form input:not([type=hidden]), .compare-form select { flex: 1 1 240px; min-width: 0; max-width: 100%; padding: 12px; color: inherit; background: var(--card, #20262d); border: 1px solid #777; border-radius: 8px; font: inherit; }
.compare-form button { padding: 12px 20px; border-radius: 8px; border: 1px solid #aaa; cursor: pointer; font: inherit; }
.compare-form :focus-visible { outline: 3px solid #d6a755; outline-offset: 3px; }
.compare-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.compare-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 20px; }
.compare-nav a[aria-current] { border-color: var(--amber); background: rgba(224,160,48,.1); }
@media (max-width: 600px) {
  .compare-form input:not([type=hidden]), .compare-form select, .compare-form button { flex-basis: 100%; width: 100%; }
  .quality-entry { margin: 1rem 0; }
  .quality-update-list, .official-social-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Independent detail and purchase actions on catalogue cards. */
.card-detail-link { color: inherit; text-decoration: none; }
.card-detail-link:focus-visible, .card-action:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.card-actions { display: grid; gap: .5rem; margin-top: .8rem; }
.card-action, .card-action.buy-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: .55rem .7rem; border-radius: 10px;
  font-size: .85rem; font-weight: 700; line-height: 1.35; text-decoration: none;
}
.card-detail { color: var(--ink); border: 1px solid var(--line); background: var(--panel); }
.card-offer-title { font-size: .72rem; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.card-disclosure { display: block; font-size: .67rem; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.seo-item-heading .seo-buy { margin: .85rem 0; }
.seo-item-heading .seo-buy small { display: inline-block; margin-bottom: .35rem; }
@media (max-width: 640px) {
  .card-action, .card-action.buy-cta { min-height: 44px; font-size: .8rem; }
  .card-actions { gap: .4rem; margin-top: .6rem; }
}
/* Evidenced retailer observations, joined to verified Adpick offers. */
.adpick-popular-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:1.25rem; margin:1.5rem 0; }
.adpick-popular-card { min-width:0; border:1px solid var(--line, #57432d); border-radius:14px; padding:1rem; overflow-wrap:anywhere; }
.adpick-popular-card img { display:block; width:100%; height:240px; object-fit:contain; background:#fff; border-radius:10px; }
.adpick-popular-card h2 { font-size:1.2rem; line-height:1.5; }
.adpick-popular-card a:where(:not(.buy-cta):not(.adpick-offer-link)), .adpick-popular-entry a, .adpick-popular-detail a:where(:not(.adpick-offer-link)) { color:var(--link); text-underline-offset:.22em; }
.adpick-popular-card h2 a { color:var(--ink); text-decoration:none; }
.adpick-popular-card h2 a:hover { text-decoration:underline; }
.adpick-popular-card p, .adpick-popular-detail p { line-height:1.65; overflow-wrap:anywhere; }
.adpick-popular-scope { opacity:.85; }
.adpick-popular-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.adpick-popular-actions a { min-height:44px; display:inline-flex; align-items:center; }
.adpick-popular-card a:focus-visible, .adpick-popular-entry a:focus-visible, .adpick-popular-detail a:focus-visible { outline:3px solid #e7ad62; outline-offset:4px; }
@media (max-width:480px) { .adpick-popular-grid { grid-template-columns:1fr; } .adpick-popular-actions .buy-cta { width:100%; justify-content:center; box-sizing:border-box; } }

/* Reading links stay quieter than gold purchase buttons and active controls. */
:is(.seo-count, .seo-more, .seo-crumb, .seo-editorial-note,
    .seo-comparison td, .legal-doc, .editorial-links, .seo-prose,
    .guide-index-list, .official-social-card, .adpick-popular-entry,
    .adpick-popular-detail) a:where(:hover, :focus-visible):not(:where(.buy-cta, .adpick-offer-link, .coupang-offer-link, .cf-cta, .source-cta, .cf-brand, .cf-drink-tab, .drink-tab, .card-action, .card-detail-link)) {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}
.seo-card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.seo-card-body h3 a:where(:hover, :focus-visible) {
  color: var(--link-hover);
  text-decoration: underline;
  text-decoration-color: var(--link-line);
}
.compare-nav a { text-decoration: none; }
.compare-nav a:where(:hover, :focus-visible) {
  color: var(--link-hover);
  border-color: var(--link-line);
  background: rgba(219, 200, 172, 0.06);
}

/* Purchase destinations share one compact badge in cards and detail views. */
:is(.buy-cta, .cf-cta, .adpick-offer-link, .coupang-offer-link):has(.buy-merchant-name) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
  text-align: center;
}
.buy-merchant-icon {
  display: inline-block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 5px;
}
.buy-merchant-name { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
.buy-action-label { font-size: .88em; font-weight: 500; }
.buy-external-arrow { flex: 0 0 auto; font-size: .9em; }
:is(.buy-cta, .cf-cta, .adpick-offer-link, .coupang-offer-link):has(.buy-merchant-name):focus-visible {
  outline: 3px solid var(--link-focus, #e7ad62);
  outline-offset: 4px;
}
/* Keep retailer-card image sizing from stretching the decorative button icon. */
.adpick-popular-card img.buy-merchant-icon { width: 20px; height: 20px; background: transparent; border-radius: 5px; }

/* Record choice groups: isolated from ads, existing single-record cards and docks. */
.display-group-card { min-width: 0; }
.display-group-card h3 { overflow-wrap: anywhere; }
.display-group { min-width: 0; margin: .6rem 0; }
.display-group > summary { cursor: pointer; min-height: 44px; padding: .65rem .3rem; color: var(--link); overflow-wrap: anywhere; }
.display-group > summary:focus-visible, .display-group li a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.display-group-count { display: block; font-size: .8rem; color: var(--muted); }
.display-group > ul { list-style: none; margin: .5rem 0; padding: 0; }
.display-group li { min-width: 0; padding: .6rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.display-group li p, .display-group-note { color: var(--muted); font-size: .78rem; }
.display-group li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); }

/* Shared public navigation and catalogue surfaces. */
body:is(.atlas-home, .atlas-layout) {
  --ink: #f8f2e9;
  --muted: #c7b9a9;
  --line: #4b4037;
  --atlas-surface: #241e1a;
  --atlas-control: #79695b;
  --atlas-accent: color-mix(in srgb, var(--amber) 54%, #fff2db);
  --link-focus: var(--atlas-accent);
  color: var(--ink);
  color-scheme: dark;
  background: #171411;
  overflow-wrap: anywhere;
}

.atlas-layout.coffee-body::before { display: none; }
:is(.atlas-home, .atlas-layout) :focus-visible { outline: 2px solid var(--atlas-accent); outline-offset: 3px; }
:is(.atlas-home, .atlas-layout) .skip-link {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 50;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border-radius: .5rem;
  background: var(--atlas-accent);
  color: #211711;
  font-weight: 700;
}
:is(.atlas-home, .atlas-layout) .skip-link:focus { transform: none; }

.atlas-header {
  width: min(1120px, calc(100% - 2.5rem));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem 1rem;
  margin-bottom: .9rem;
  padding: max(.65rem, env(safe-area-inset-top, 0px)) 0 .4rem;
  border-bottom: 1px solid var(--line);
}
.atlas-header .brand-mark { width: fit-content; min-height: 44px; gap: .55rem; color: var(--ink); text-decoration: none; }
.atlas-header .brand-icon { flex: 0 0 1.75rem; width: 1.75rem; height: 1.75rem; }
.atlas-header .brand-name { font: 700 1.05rem/1.15 var(--font-body); letter-spacing: -.035em; white-space: nowrap; }
.atlas-header .atlas-primary { display: flex; gap: .3rem; justify-content: center; }
.atlas-primary a { justify-content: center; padding: .35rem .8rem; border-radius: .5rem; text-align: center; }
.atlas-primary a[aria-current], .atlas-primary a:hover { color: var(--ink); background: var(--atlas-surface); }
.atlas-primary a[aria-current] { box-shadow: inset 0 -2px var(--atlas-accent); font-weight: 700; }
.atlas-header .lang-switcher { justify-self: end; gap: .18rem; }
.atlas-header .lang-opt { min-width: 2rem; min-height: 2.25rem; padding: 0 .32rem; border-radius: .48rem; }
.atlas-header .lang-opt.active { border-color: var(--atlas-accent); color: var(--atlas-accent); }

.atlas-home main { width: min(1120px, calc(100% - 2.5rem)); }
.atlas-home .hero {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: clamp(1.15rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: radial-gradient(ellipse at right top, rgba(var(--accent-rgb), .12), transparent 70%), var(--atlas-surface);
  overflow: visible;
}
.atlas-home .hero::before, .atlas-home .hero-collage::after { display: none; }
.atlas-home .hero-copy { display: block; max-width: none; min-width: 0; text-align: start; }
.atlas-home .hero-question {
  margin: 0;
  color: var(--ink);
  font: 700 clamp(2rem, 4.4vw, 3.65rem)/1.12 var(--font-body);
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  animation: none;
}
.atlas-home .hero-question span {
  background: none;
  color: var(--atlas-accent);
  -webkit-text-fill-color: currentColor;
}
.atlas-home .hero-lead {
  max-width: 42ch;
  margin: .65rem 0 1rem;
  color: var(--muted);
  font: 400 clamp(.89rem, 1.55vw, 1.03rem)/1.65 var(--font-body);
  animation: none;
}
.atlas-home #coffeeRankingsLink { max-width: none; font-size: .84rem; }
.atlas-home .drink-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  gap: .3rem;
  margin: 0 0 .55rem;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.atlas-home .drink-tab {
  min-width: 0;
  min-height: 44px;
  padding: .4rem .25rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  color: var(--ink);
  background: #1a1714;
  font-size: .83rem;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.atlas-home .drink-tab.active {
  color: #211711;
  border-color: var(--atlas-accent);
  background: var(--atlas-accent);
  font-weight: 700;
  transform: none;
  box-shadow: none;
}
.atlas-home .search-shell {
  max-width: none;
  margin: 0;
  padding: .3rem;
  border-color: var(--atlas-control);
  border-radius: .65rem;
  background: #181512;
  box-shadow: none;
  animation: none;
  scroll-margin-top: 1rem;
}
.atlas-home .search-shell:focus-within { border-color: var(--atlas-accent); box-shadow: 0 0 0 2px var(--atlas-accent); }
.atlas-home .search-shell input { flex: 1 1 0; width: 0; min-height: 44px; padding: .5rem .55rem; font: inherit; font-size: 1rem; }
.atlas-home .search-shell button { min-width: 4rem; background: var(--atlas-accent); color: #211711; border-radius: .45rem; padding: .45rem .85rem; font-size: .9rem; }
.atlas-home .search-suggestions .quick-chips {
  justify-content: flex-start;
  align-items: flex-start;
  gap: .3rem;
  margin-top: .45rem;
  padding: 0;
  flex-wrap: wrap;
  overflow: visible;
  animation: none;
}
.atlas-home .search-suggestions .chip {
  min-height: 36px;
  font-size: .8rem;
  padding-inline: .65rem;
}
.more-suggestions { min-width: 0; }
.more-suggestions[open] { flex-basis: 100%; }
.more-suggestions summary {
  min-height: 36px;
  padding: .5rem .25rem;
  cursor: pointer;
  color: var(--muted);
  font-size: .8rem;
}
.atlas-home .hero-collage { display: none; }

.atlas-home .ad-slot.ad-slot-kakao { width: 100%; margin: .75rem auto; }
.atlas-home .results-section { margin-bottom: 1.75rem; }
.atlas-home .results-section .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem 1rem;
  margin: 1.3rem 0 .7rem;
}
.atlas-home .section-head h2 { font: 700 clamp(1.35rem, 3vw, 2.05rem)/1.25 var(--font-body); letter-spacing: -.04em; overflow-wrap: anywhere; }
.atlas-home .section-head p, .catalog-records { color: var(--muted); font-size: .85rem; }
.section-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; white-space: nowrap; }
.catalog-records { text-align: center; }
.atlas-home .stats-section { margin: 0 0 .95rem; }
.atlas-home .stats-bar { display: flex; flex-wrap: wrap; gap: .45rem; }
.atlas-home .stats-bar:empty { display: none; }
.atlas-home .stat,
.atlas-home .filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: auto;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid var(--atlas-control);
  border-radius: .55rem;
  background: var(--atlas-surface);
  color: var(--ink);
  font: 600 .88rem/1.35 var(--font-body);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.atlas-home .stat .stat-value { color: inherit; font: inherit; }
.atlas-home .stat:is(.active, [aria-expanded="true"]) { color: var(--atlas-accent); border-color: var(--atlas-accent); }
.atlas-home .filter-reset { border-color: transparent; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
.atlas-home .filter-reset[hidden] { display: none; }
.facet-chevron {
  width: .4rem;
  height: .4rem;
  flex: 0 0 .4rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-.1rem) rotate(45deg);
}
.stat[aria-expanded="true"] .facet-chevron { transform: translateY(.1rem) rotate(225deg); }
.atlas-home .stats-filters { background: var(--atlas-surface); margin-top: .5rem; }
.atlas-home .stats-filters[hidden] { display: none; }
.atlas-home .stats-filters-head { align-items: center; }
.atlas-home .stats-filters-head strong { font: 700 .94rem/1.4 var(--font-body); }
.atlas-home .stats-filters-head button { min-height: 44px; }
.atlas-home .stats-filter-chips .chip { min-height: 44px; font-size: .85rem; gap: .3rem; max-width: 100%; }

.atlas-home .results-grid { gap: .85rem; }
.atlas-home .beer-card { background: var(--atlas-surface); cursor: auto; border-radius: .75rem; }
.atlas-home .beer-card:hover { transform: none; }
.atlas-home .beer-card .thumb { background: #e5dfd5; }
.atlas-home .beer-card .pkg-blur { opacity: .1; }
.atlas-home .beer-card .pkg-wash { opacity: .15; }
.atlas-home .beer-card .package-thumb img { filter: none; }
.atlas-home .beer-card .body { padding: .7rem .8rem .85rem; }
.atlas-home .beer-card h3 { font-size: 1rem; line-height: 1.4; display: block; overflow: visible; }
.atlas-home .beer-card h3 a { text-decoration: underline; text-decoration-color: var(--link-line); }
.atlas-home .beer-card .ko, .atlas-home .mini-bar span { color: var(--muted); }
.atlas-home .meta-row { margin: .38rem 0 .55rem; }
.atlas-home .beer-card .tag { display: inline-flex; font-size: .74rem; line-height: 1.4; padding: .12rem .35rem; overflow-wrap: anywhere; }
.atlas-home .engagement-row { flex-wrap: wrap; }
.atlas-home .mobile-dock span { color: var(--atlas-accent); }
.atlas-home .mobile-dock span + span { font-size: .78rem; }
.atlas-home .family-tabs { flex-wrap: wrap; overflow: visible; }
.atlas-home .family-tab { min-height: 44px; }
.atlas-home .taxonomy-products { margin-block: .35rem .7rem; background: var(--atlas-surface); cursor: pointer; }

/* Category, detail and document entry points. */
.atlas-layout :is(.seo-hero, .cf-hero) { align-items: flex-start; margin: 0 0 1.25rem; text-align: start; }
.atlas-layout :is(.seo-hero h1, .cf-hero h1, .seo-item-heading h1, .cf-item-heading h1, .legal-doc h1) {
  font: 700 clamp(1.8rem, 4.1vw, 3rem)/1.2 var(--font-body);
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.atlas-layout :is(.seo-hero, .cf-hero) :is(.seo-lead, .cf-lead, .seo-prose) { margin: .55rem 0; }
.atlas-layout .seo-drink-nav {
  justify-content: flex-start;
  flex-wrap: wrap;
  overflow: visible;
  margin-bottom: 1rem;
}
.atlas-layout :is(.seo-pill, .compare-nav a, .place-chip, .place-actions a) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}
.atlas-layout :is(.seo-pill.active, .compare-nav a[aria-current], .place-chip.active) { color: var(--atlas-accent); border-color: var(--atlas-accent); }
.atlas-layout .seo-section h2 { font: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.35 var(--font-body); }
.atlas-layout .seo-link-list a { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; text-decoration: underline; text-decoration-color: var(--link-line); }
.atlas-layout .seo-count, .atlas-layout .editorial-note { color: var(--muted); }
.atlas-layout .seo-card { background: var(--atlas-surface); min-width: 0; }
.atlas-layout .seo-card-body { min-width: 0; overflow-wrap: anywhere; }
.atlas-layout .seo-card-thumb { width: 100%; background: #e5dfd5; }
.atlas-layout .seo-card-meta { font-size: .8rem !important; line-height: 1.45; }
.atlas-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0; }
.atlas-action, .atlas-action:visited {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  margin: 0;
  padding: .5rem .8rem;
  border: 1px solid var(--atlas-control);
  border-radius: .55rem;
  color: var(--ink);
  font: 700 .86rem/1.35 var(--font-body);
  text-decoration: none;
}
.atlas-action.primary { border-color: var(--atlas-accent); background: var(--atlas-accent); color: #211711; }
.atlas-action:hover { border-color: var(--atlas-accent); }
.atlas-action.primary:hover { background: #f8e4c5; color: #211711; }
.atlas-layout .atlas-disclosure {
  padding: .25rem .85rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--atlas-surface);
}
.atlas-disclosure > summary { min-height: 44px; cursor: pointer; padding: .65rem 0; color: var(--ink); font-weight: 700; }
.atlas-layout .atlas-disclosure .seo-link-list { padding: .35rem 0 .65rem; }
.atlas-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr));
  gap: .45rem;
  margin: .85rem 0;
}
.atlas-facts div { padding: .55rem .65rem; min-width: 0; border: 1px solid var(--line); border-radius: .55rem; background: var(--atlas-surface); }
.atlas-facts dt { color: var(--muted); font-size: .83rem; }
.atlas-facts dd { margin: .24rem 0 0; font-size: .95rem; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.atlas-layout :is(.seo-item, .cf-item) { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1rem 1.75rem; align-items: start; }
.atlas-layout :is(.seo-item-heading, .cf-item-heading) { grid-area: 1 / 1; min-width: 0; }
.atlas-layout :is(.seo-item-media, .cf-item-media) { grid-area: 1 / 2; margin: 0; }
.atlas-layout :is(.seo-item-copy, .cf-item-copy) { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.atlas-layout :is(.seo-item-media img, .cf-item-photo) { display: block; width: 100%; height: clamp(180px, 28vw, 320px); object-fit: contain; background: #e5dfd5; }
.atlas-layout .seo-item-kind { color: var(--atlas-accent); }
.atlas-layout .seo-sub { margin: .35rem 0; overflow-wrap: anywhere; }
.atlas-layout .cf-drink-nav {
  width: min(1100px, calc(100% - 2rem));
  flex-wrap: wrap;
  overflow: visible;
  margin-bottom: .8rem;
  border-radius: .7rem;
}
.atlas-layout .cf-drink-tab { flex: 1 1 6rem; min-height: 44px; }
.atlas-layout .cf-drink-tab-en { display: none; }

/* Compare and map keep their controls and results together. */
.compare-page { width: min(100%, 51rem); margin-inline: auto; }
.compare-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin: .85rem 0;
}
.compare-slots > div { display: flex; flex-direction: column; align-items: flex-start; padding: .7rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--atlas-surface); }
.compare-slots small, .legal-doc .compare-hint { color: var(--muted); }
.compare-slots strong { flex: 1; overflow-wrap: anywhere; }
.compare-slots a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
.compare-picker { scroll-margin-top: 1rem; margin: 1rem 0; }
.compare-picker .compare-form { margin: .5rem 0 .8rem; gap: .45rem; }
.compare-picker .compare-form :is(input:not([type="hidden"]), select, button) { min-height: 44px; padding: .5rem .65rem; }
.compare-picker .compare-form button { background: var(--atlas-accent); border-color: var(--atlas-accent); color: #211711; font-weight: 700; }
.compare-page .legal-table { table-layout: fixed; }
.compare-page .legal-table caption { text-align: start; margin-bottom: .45rem; font-weight: 700; }
.compare-page .legal-table :is(th, td) { white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.compare-page .legal-table thead th:first-child { width: 24%; }
.place-tools { display: flex; align-items: flex-start; gap: .55rem; margin-bottom: .8rem; }
.region-picker { flex: 1; min-width: 0; }
.place-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2rem; }
.place-layout .seo-section { margin: 0; }
.place-layout .place-grid { grid-template-columns: minmax(0, 1fr); }
.place-layout .places-embed-wrap { margin: 0; scroll-margin-top: 1rem; }
.place-layout h2 { margin: 0 0 .6rem; font: 700 1.3rem/1.35 var(--font-body); }
.place-layout .place-actions-wide { margin: 0 0 .65rem; }
.atlas-layout :is(.place-address, .place-meta, .place-note) { font-size: .86rem; line-height: 1.55; }
.atlas-layout .place-actions a { font-size: .81rem; }

.atlas-layout .guide-directory { width: min(100% - 2.5rem, 54rem); max-width: none; padding-inline: 0; }
.guide-card-grid, .guide-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.guide-card { display: grid; min-height: 72px; height: 100%; gap: .22rem; padding: .85rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); background: var(--atlas-surface); text-decoration: none; }
.guide-card:visited { color: var(--ink); }
.guide-card:hover { border-color: var(--atlas-accent); }
.guide-card span { color: var(--muted); font-size: .88rem; }
.guide-start { border-color: var(--atlas-accent); }
.guide-directory .seo-section { margin: 1.35rem 0; }
.guide-directory .legal-table th { white-space: normal; }
.atlas-layout.legal-body .legal-doc { font-size: 1rem; line-height: 1.78; }
.atlas-layout.legal-body .legal-eyebrow a { display: inline-flex; align-items: center; min-height: 44px; }

.beer-case-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem .75rem;
  min-height: 44px;
  margin: .65rem 0;
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--atlas-accent);
  border-radius: .55rem;
  background: var(--atlas-surface);
  color: var(--ink);
  text-decoration: none;
}
.beer-case-teaser strong { color: var(--ink); font-size: .9rem; }
.beer-case-teaser span { color: var(--muted); font-size: .83rem; }
.beer-case-teaser:hover strong { text-decoration: underline; }
.beer-case-guide {
  margin: 1.25rem 0 1.75rem;
  padding: clamp(.7rem, 3vw, 1.15rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--atlas-surface);
  scroll-margin-block-start: .8rem;
}
.legal-doc .beer-case-guide h2:first-child { margin-top: 0; }
.beer-case-table { table-layout: fixed; }
.beer-case-table caption { padding-block-end: .4rem; text-align: start; font-weight: 700; }
.legal-table.beer-case-table :is(th, td) {
  padding: .45rem .38rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
.beer-case-table th:first-child { width: 25%; }
.beer-case-reference { margin: .7rem 0; font-size: .88rem; }
.beer-case-reference p { margin: 0; }
.beer-case-reference a { display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: .65rem; }
.beer-case-checked { color: var(--muted); font-size: .85rem; }

@media (min-width: 960px) {
  .atlas-home .hero { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
  .atlas-home .hero-collage {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    min-height: 208px;
    mask-image: none;
    transform: none;
    overflow: visible;
  }
  .atlas-home .collage-item {
    inset: auto;
    top: 50%;
    right: 0;
    width: 38%;
    padding: .5rem;
    border-radius: .7rem;
    background: #f1ebe3;
    filter: none;
    opacity: 1;
    animation: none;
    transform: translateY(-50%) rotate(9deg);
    box-shadow: 0 .7rem 2rem rgba(0, 0, 0, .35);
  }
  .atlas-home .collage-item img { aspect-ratio: 1 / 1.15; max-height: 12rem; transform: none; }
  .atlas-home .collage-i0 { z-index: 1; right: 29%; width: 46%; transform: translateY(-50%) rotate(-3deg); }
  .atlas-home .collage-i1 { left: 0; transform: translateY(-44%) rotate(-12deg); }
}

@media (max-width: 860px) {
  .atlas-header { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .35rem; }
  .atlas-header .atlas-primary { grid-area: 2 / 1 / 3 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .18rem; }
  .atlas-header .atlas-primary a { padding-inline: .2rem; font-size: .84rem; }
  .atlas-header .lang-opt { min-width: 1.9rem; }
  .atlas-home .drink-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atlas-home .hero-question { font-size: clamp(1.9rem, 7.4vw, 3rem); }
  .atlas-home .hero-lead { margin: .5rem 0 .75rem; }
  .atlas-layout .seo-main:not(.legal-main) { width: min(1120px, calc(100% - 2rem)); }
  .atlas-layout .place-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .atlas-home main, .atlas-header, .atlas-layout .guide-directory { width: calc(100% - 1.5rem); }
  .atlas-home .hero { padding: 1rem; }
  .atlas-home .results-section .section-head { margin-top: .95rem; }
  .atlas-home .results-section .section-link { white-space: normal; padding-inline: .15rem; text-align: end; }
  .atlas-layout :is(.seo-item, .cf-item) { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .atlas-layout :is(.seo-item-heading, .cf-item-heading) { grid-area: 1 / 1; }
  .atlas-layout :is(.seo-item-media, .cf-item-media) { grid-area: 2 / 1; }
  .atlas-layout :is(.seo-item-copy, .cf-item-copy) { grid-area: 3 / 1; }
  .atlas-layout :is(.seo-item-media img, .cf-item-photo) { height: min(56vw, 215px); }
  .atlas-layout .cf-drink-tab { flex: 1 1 calc(33.333% - .5rem); min-width: 0; }
  .atlas-layout .cf-drink-tab-ko { font-size: .84rem; overflow-wrap: anywhere; }
  .guide-card-grid, .guide-tools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .atlas-home .results-grid { gap: .55rem; }
  .atlas-home .beer-card .body { padding: .55rem .55rem .65rem; }
  .atlas-home .beer-card h3 { font-size: .93rem; }
  .atlas-home .beer-card .tag { font-size: .72rem; }
  .atlas-layout .seo-grid { grid-template-columns: minmax(0, 1fr); }
  .atlas-layout .compare-page .legal-table :is(th, td) { padding: .45rem .32rem; }
  .atlas-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 352px) {
  .atlas-home .ad-slot.ad-slot-kakao { width: calc(100% + 1.5rem); margin-inline: -.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :is(.atlas-home, .atlas-layout) * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   2026-12 renewal (docs/renewal-2026-12/design-spec.md)
   Tokens (#tokens) · header (#c-header) · dock (#c-dock) · search, suggest,
   chips, sort, empty/error states (#c-search … #c-empty) · prose (#c-prose).
   Legacy variables stay as aliases. AdFit unit sizes (#c-ad) are untouched.
   ========================================================================== */
:root {
  /* Color primitives (#tokens-color-primitive). --amber stays per drink. */
  --p-brown-950: #171411;
  --p-brown-925: #181512;
  --p-brown-900: #1a1714;
  --p-brown-850: #241e1a;
  --p-brown-800: #2e2620;
  --p-brown-700: #4b4037;
  --p-brown-500: #79695b;
  --p-sand-400: #a39483;
  --p-sand-300: #c7b9a9;
  --p-sand-200: #dbc8ac;
  --p-cream-100: #fff2db;
  --p-cream-50: #f8f2e9;
  --p-cream-hover: #f8e4c5;
  --p-espresso: #211711;
  --p-coral-300: #ff9d8a;
  --p-disabled: #9a8b7c;
  --p-shadow-rgb: 0, 0, 0;

  /* Type (#tokens-type): `font` shorthand values without the family. */
  --text-display: 700 clamp(2rem, 4.4vw, 3.65rem)/1.12;
  --text-h1: 700 clamp(1.8rem, 4.1vw, 3rem)/1.2;
  --text-h2: 700 clamp(1.35rem, 3vw, 2.05rem)/1.25;
  --text-h3: 700 clamp(1.15rem, 2.2vw, 1.5rem)/1.35;
  --text-body: 400 1rem/1.65;
  --text-prose: 400 1rem/1.78;
  --text-ui: 600 .9rem/1.35;
  --text-small: 400 .85rem/1.5;
  --text-caption: 500 .75rem/1.35;

  /* Space and size (#tokens-space). */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --tap-min: 44px;
  --container: min(1120px, calc(100% - 2.5rem));
  --measure: 42rem;
  --dock-h: calc(48px + 2 * var(--space-1) + 2px);
  --dock-gap: max(.45rem, env(safe-area-inset-bottom, 0px));
  --dock-clearance: calc(var(--dock-h) + var(--dock-gap) + var(--space-3));

  /* Radius and shadow (#tokens-radius). */
  --radius-sm: .5rem;
  --radius-md: .65rem;
  --radius-lg: .75rem;
  --radius-xl: 1.125rem;
  --radius-pill: 999px;
  --radius: var(--radius-xl);
  --shadow-raise: 0 .7rem 2rem rgba(var(--p-shadow-rgb), .35);
  --shadow-popover: 0 .75rem 2rem rgba(var(--p-shadow-rgb), .45);
  --shadow-dock: 0 14px 38px rgba(var(--p-shadow-rgb), .48);
  --shadow-overlay: 0 24px 60px rgba(var(--p-shadow-rgb), .5);
  --shadow: var(--shadow-overlay);

  /* Stacking (#tokens-z). */
  --z-base: 1;
  --z-ad: 2;
  --z-raised: 3;
  --z-rail: 4;
  --z-dock: 20;
  --z-suggest: 30;
  --z-skip: 50;
}
@media (max-width: 720px) {
  :root { --container: calc(100% - 1.5rem); }
}

/* Semantic tokens reference primitives only; old names remain aliases. */
body:is(.atlas-home, .atlas-layout) {
  --color-bg: var(--p-brown-950);
  --color-surface: var(--p-brown-850);
  --color-surface-sunken: var(--p-brown-925);
  --color-surface-tab: var(--p-brown-900);
  --color-surface-raised: var(--p-brown-800);
  --color-text: var(--p-cream-50);
  --color-text-muted: var(--p-sand-300);
  --color-text-subtle: var(--p-sand-400);
  --color-text-disabled: var(--p-disabled);
  --color-link: var(--p-sand-200);
  --color-link-hover: var(--p-cream-50);
  --color-border: var(--p-brown-700);
  --color-border-control: var(--p-brown-500);
  --color-accent: color-mix(in srgb, var(--amber) 54%, var(--p-cream-100));
  --color-accent-hover: var(--p-cream-hover);
  --color-on-accent: var(--p-espresso);
  --color-focus: var(--color-accent);
  --color-error: var(--p-coral-300);

  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --link: var(--color-link);
  --link-hover: var(--color-link-hover);
  --atlas-surface: var(--color-surface);
  --atlas-control: var(--color-border-control);
  --atlas-accent: var(--color-accent);
  --link-focus: var(--color-focus);
  background: var(--color-bg);
}
:is(.atlas-home, .atlas-layout) :focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
:is(.atlas-home, .atlas-layout) .skip-link { z-index: var(--z-skip); background: var(--color-accent); color: var(--color-on-accent); }

/* Header (#c-header). */
.atlas-header .atlas-primary a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}
.atlas-header .atlas-primary a[aria-current] { color: var(--color-text); font-weight: 700; box-shadow: inset 0 -2px var(--color-accent); }
.atlas-header .lang-opt { min-width: var(--tap-min); min-height: var(--tap-min); border-radius: var(--radius-sm); }
.atlas-header .lang-opt.active { border-color: var(--color-accent); color: var(--color-accent); }
@media (hover: hover) {
  .atlas-header .atlas-primary a:hover { color: var(--color-text); background: var(--color-surface); }
}
@media (max-width: 860px) {
  .atlas-header { grid-template-columns: minmax(0, 1fr) auto; }
  /* The dock carries the same four destinations below 860px. */
  .atlas-header .atlas-primary { display: none; }
}
@media (max-width: 480px) {
  .atlas-header .lang-switcher {
    grid-column: 1 / -1;
    justify-self: stretch;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-1);
  }
  .atlas-header .lang-opt { min-width: 0; padding: 0; }
}

/* Mobile dock (#c-dock): home, SEO and static pages share this block. */
.mobile-dock { display: none; }
@media (max-width: 860px) {
  body:is(.atlas-home, .atlas-layout) { padding-bottom: var(--dock-clearance); }
  .mobile-dock {
    position: fixed;
    z-index: var(--z-dock);
    left: .6rem;
    right: .6rem;
    bottom: var(--dock-gap);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: var(--space-1);
    border: 1px solid var(--color-border-control);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-bg) 94%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-dock);
    transition: visibility 0s, opacity .15s;
  }
  .mobile-dock :is(a, button) {
    min-width: var(--tap-min);
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: var(--space-1) 2px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: pointer;
  }
  .mobile-dock :is(a, button):focus-visible { outline-offset: -2px; }
  .mobile-dock .dock-icon { flex: 0 0 auto; width: 24px; height: 24px; }
  :is(.atlas-home, .atlas-layout) .mobile-dock .dock-label,
  .mobile-dock .dock-label {
    max-width: 100%;
    color: inherit;
    font: 500 .75rem/1.15 var(--font-body);
    text-align: center;
    overflow-wrap: anywhere;
  }
  .mobile-dock :is(a, button):is([aria-current="page"], .is-active) {
    color: var(--color-accent);
    box-shadow: inset 0 3px var(--color-accent);
  }
  .mobile-dock :is(a, button):is([aria-current="page"], .is-active) .dock-label { font-weight: 700; }
  /* A home link that is current but scrolled away keeps aria-current only. */
  .atlas-home .mobile-dock [data-dock="home"][aria-current="page"]:not(.is-active) { color: var(--color-text-muted); box-shadow: none; }
  .atlas-home .mobile-dock [data-dock="home"][aria-current="page"]:not(.is-active) .dock-label { font-weight: 500; }
  /* AdFit on screen: the dock steps aside (shared guard in /adfit.js). */
  body.home-ad-visible .mobile-dock { visibility: hidden; opacity: 0; pointer-events: none; }
}
@media (max-width: 860px) and (hover: hover) {
  .mobile-dock :is(a, button):hover { color: var(--color-text); }
}

/* Search box, hint and autocomplete (#c-search, #c-suggest). */
.atlas-home .hero.is-suggesting { z-index: var(--z-suggest); }
.atlas-home .hero-copy { position: relative; z-index: var(--z-base); }
.atlas-home .hero-copy.is-suggesting { z-index: var(--z-suggest); }
.search-wrap { position: relative; min-width: 0; }
.atlas-home .search-shell {
  padding: var(--space-1);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md);
  background: var(--color-surface-sunken);
}
.atlas-home .search-shell:focus-within { border-color: var(--color-accent); box-shadow: 0 0 0 2px var(--color-accent); }
.atlas-home .search-shell input { min-height: var(--tap-min); font-size: 1rem; color: var(--color-text); }
.atlas-home .search-shell button {
  min-width: 4rem;
  min-height: var(--tap-min);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font: var(--text-ui) var(--font-body);
  font-weight: 700;
}
.atlas-home .search-hint {
  margin: var(--space-2) 0 0;
  color: var(--color-text-muted);
  font: var(--text-small) var(--font-body);
}
.search-suggest {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + var(--space-1));
  z-index: var(--z-suggest);
  max-height: min(22rem, calc(var(--vv-h, 100dvh) * .45));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-1) 0;
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-popover);
  text-align: start;
}
.search-suggest[hidden] { display: none; }
.suggest-group-label {
  padding: var(--space-2) var(--space-3) var(--space-1);
  color: var(--color-text-muted);
  font: var(--text-caption) var(--font-body);
}
.suggest-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text);
  cursor: pointer;
  overflow-wrap: anywhere;
}
.suggest-name { font: var(--text-body) var(--font-body); line-height: 1.35; }
.suggest-meta { color: var(--color-text-muted); font: var(--text-small) var(--font-body); }
.suggest-hit { background: none; color: inherit; font-weight: 700; }
.suggest-option[aria-selected="true"] { background: var(--color-surface-raised); box-shadow: inset 3px 0 var(--color-accent); }
.suggest-all { border-top: 1px solid var(--color-border); color: var(--color-link); }
.suggest-all .suggest-name { text-decoration: underline; text-underline-offset: .2em; }
@media (hover: hover) {
  .suggest-option:hover { background: var(--color-surface-raised); }
}

/* Chips (#c-chip). */
.atlas-home .search-suggestions .chip,
.atlas-home .search-empty .chip,
.filter-chip {
  min-height: var(--tap-min);
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  font: var(--text-ui) var(--font-body);
}
.atlas-home :is(.search-suggestions, .search-empty) .chip:is(.active, [aria-pressed="true"]) {
  border: 2px solid var(--color-accent);
  padding: 0 calc(var(--space-3) - 1px);
  color: var(--color-accent);
  background: transparent;
}
@media (hover: hover) {
  .atlas-home :is(.search-suggestions, .search-empty) .chip:hover { color: var(--color-text); border-color: var(--color-accent); background: transparent; }
}

/* Results head: count + sort, correction notice, applied filters.
   All of it sits outside #results (ad and card partition area). */
.atlas-home .results-section .results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
}
.results-head-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2) var(--space-4);
  min-width: 0;
}
.results-head-main > div { min-width: 0; }
.sort-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  min-width: 0;
}
.sort-control label { color: var(--color-text-muted); font: var(--text-small) var(--font-body); }
.sort-control select {
  min-height: var(--tap-min);
  max-width: 100%;
  padding: 0 2.25rem 0 var(--space-3);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-sunken);
  color: var(--color-text);
  font: var(--text-ui) var(--font-body);
  color-scheme: dark;
}
@media (hover: hover) {
  .sort-control select:hover { border-color: var(--color-text-muted); }
}
@media (max-width: 480px) {
  .sort-control { justify-content: flex-start; }
}
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); min-width: 0; }
.filter-chips[hidden] { display: none; }
.filter-chips-label { color: var(--color-text-muted); font: var(--text-small) var(--font-body); }
.filter-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding-inline-end: 0;
  color: var(--color-text);
}
.filter-chip-text { min-width: 0; overflow-wrap: anywhere; }
.filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--tap-min);
  width: var(--tap-min);
  height: var(--tap-min);
  margin-block: -1px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
}
.filter-chips .filter-reset {
  min-height: var(--tap-min);
  padding: 0 var(--space-2);
  border: 0;
  background: none;
  color: var(--color-text-muted);
  font: var(--text-ui) var(--font-body);
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
@media (hover: hover) {
  .filter-chip-remove:hover, .filter-chips .filter-reset:hover { color: var(--color-text); }
}
.search-correction {
  padding: var(--space-2) var(--space-3);
  border-inline-start: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  font: var(--text-small) var(--font-body);
  overflow-wrap: anywhere;
}
.search-correction[hidden] { display: none; }
.search-correction p { margin: 0; }
.search-correction-list { display: flex; flex-wrap: wrap; gap: 0 var(--space-4); margin: 0; padding: 0; list-style: none; }
.search-correction-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: .2em;
}
@media (hover: hover) {
  .search-correction-link:hover { color: var(--color-link-hover); }
}

/* Empty and error states (#c-empty). */
.atlas-home .search-empty,
.atlas-home .search-error {
  grid-column: 1 / -1;
  padding: var(--space-7) var(--space-4);
  border: 1px dashed var(--color-border-control);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  text-align: start;
}
.atlas-home .search-error { border: 1px solid var(--color-error); }
.search-empty-title, .atlas-home .search-error p {
  margin: 0 0 var(--space-3);
  color: var(--color-text);
  font: var(--text-body) var(--font-body);
  font-weight: 700;
}
.atlas-home .search-error p { display: flex; gap: var(--space-2); align-items: flex-start; }
.state-icon { flex: 0 0 auto; margin-top: .15em; color: var(--color-error); }
.search-empty-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-4); }
.search-empty-next { margin: 0 0 var(--space-2); color: var(--color-text-muted); font: var(--text-small) var(--font-body); }
.atlas-home .search-empty .quick-chips { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--space-2); margin: 0; animation: none; }
.atlas-home .search-error button { display: inline-flex; margin: 0; }

/* Buttons (#c-button). */
.atlas-action, .atlas-action:visited,
.atlas-home .search-reset-button {
  min-height: var(--tap-min);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text);
  font: var(--text-ui) var(--font-body);
  cursor: pointer;
}
.atlas-action.primary { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-on-accent); font-weight: 700; }
:is(.atlas-action, .search-reset-button, .load-more-btn):disabled {
  background: transparent;
  color: var(--color-text-disabled);
  border-style: dashed;
  cursor: not-allowed;
}
@media (hover: hover) {
  .atlas-action:hover, .atlas-home .search-reset-button:hover { border-color: var(--color-accent); background: transparent; }
  .atlas-action.primary:hover { background: var(--color-accent-hover); color: var(--color-on-accent); }
}
.atlas-home .load-more-btn {
  min-height: var(--tap-min);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text);
  font: var(--text-ui) var(--font-body);
}
.atlas-home .load-more-btn:disabled { cursor: wait; }
.atlas-home .load-more-wrap { flex-direction: column; align-items: center; gap: var(--space-2); }
.load-more-error {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  max-width: 100%;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-inline-start: 3px solid var(--color-error);
  color: var(--color-text);
  font: var(--text-small) var(--font-body);
  overflow-wrap: anywhere;
}
.load-more-error[hidden] { display: none; }
@media (hover: hover) {
  .atlas-home .load-more-btn:hover { border-color: var(--color-accent); background: transparent; }
}

/* Ad label contrast (#c-ad, #tokens-contrast): text only, sizes unchanged. */
:is(.atlas-home, .atlas-layout) .ad-label,
:is(.atlas-home, .atlas-layout) .ad-slot-kakao-modal .ad-label {
  font: var(--text-caption) var(--font-body);
  letter-spacing: .12em;
  color: var(--color-text-subtle);
  opacity: 1;
}

/* Guide body and hub intro (#c-prose). Used by /guides/* (.legal-doc) and
   /{drink} hubs (.seo-hero · .seo-lead · .seo-prose · .seo-count). */
/* Reading width comes from .legal-main (max-width 42rem = --measure). */
.atlas-layout .legal-doc {
  color: var(--color-text);
  font: var(--text-prose) var(--font-body);
  word-break: keep-all;
}
.atlas-layout .legal-doc h1 { font: var(--text-h1) var(--font-body); letter-spacing: -.04em; }
.atlas-layout .legal-doc h2 {
  margin: var(--space-7) 0 var(--space-3);
  color: var(--color-accent);
  font: var(--text-h3) var(--font-body);
}
.atlas-layout .legal-doc p { margin: 0 0 var(--space-3); }
.atlas-layout .legal-doc a:not(.atlas-action, .guide-card, .beer-case-teaser) { color: var(--color-link); text-decoration: underline; text-decoration-color: var(--link-line); }
.atlas-layout .legal-doc a:not(.atlas-action, .guide-card, .beer-case-teaser):hover { color: var(--color-link-hover); text-decoration-color: currentColor; }
.atlas-layout .seo-hero {
  padding: clamp(var(--space-4), 4vw, var(--space-8));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
}
.atlas-layout .seo-hero .seo-lead { color: var(--color-text-muted); font: var(--text-body) var(--font-body); }
.atlas-layout .seo-hero .seo-prose { max-width: var(--measure); font: var(--text-prose) var(--font-body); }
.atlas-layout .seo-hero .seo-count { color: var(--color-text-muted); font: var(--text-small) var(--font-body); }
.atlas-layout :is(.seo-pill, .place-chip) {
  min-height: var(--tap-min);
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border-control);
  border-radius: var(--radius-pill);
}
.atlas-layout :is(.seo-pill.active, .seo-pill[aria-current], .place-chip.active) {
  border: 2px solid var(--color-accent);
  padding: 0 calc(var(--space-3) - 1px);
  color: var(--color-accent);
}

/* renewal-2026-12: ssr */
.atlas-layout .seo-footer-hubs { margin-top: var(--space-2); }
.atlas-layout .methodology-links { margin-top: var(--space-6); }
.atlas-layout .seo-hero .seo-prose p + p { margin-top: var(--space-2); }
