/* 밴스의원 부산점 — 레이아웃/모션 골격은 redi-skin.com 분석(_reference/ANALYSIS.md) 기준 */

:root {
  --paper: #f0efee;
  --white: #ffffff;
  --ink: #141214;
  --ink-soft: #4a464c;
  --line: #d9d4dc;
  --brand: #6b4596;
  --brand-soft: #c296e5;
  --plum: #2b2230;
  --sw-bg: var(--paper);  /* engine's html/body background */

  --container: 1282px;
  --gutter: 24px;
  --header-h: 88px;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-hand: "Nanum Pen Script", cursive;

  --reveal-duration: 1.6s;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  font-variant-numeric: lining-nums;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--white);
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--white);
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--brand); border-color: var(--brand); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--ink);
  transition: background .35s, color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: var(--white); color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  max-width: calc(1440px - 2 * 56px);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 48px;
}

.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 46px; width: auto; filter: brightness(0) invert(1); transition: filter .35s; }
.site-header.is-scrolled .logo img,
body.menu-open .site-header .logo img { filter: none; }

.gnb { display: flex; gap: 40px; font-size: 15px; }
.gnb a { position: relative; padding: 6px 0; }
.gnb a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnb a:hover::after { transform: scaleX(1); }

.header-util { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .04em; }
.header-util .btn { border-color: rgba(255,255,255,.7); background: transparent; color: inherit; }
.site-header.is-scrolled .header-util .btn { background: var(--ink); border-color: var(--ink); color: var(--white); }
.header-util .btn:hover,
.site-header.is-scrolled .header-util .btn:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; padding: 10px 8px;
  background: none; border: 0; color: inherit; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 2px; background: currentColor; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--white);
  padding: 32px var(--gutter) 48px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  padding-bottom: calc(48px + env(safe-area-inset-bottom));
}
@media (max-height: 760px) { .mobile-menu nav a { padding: 13px 0; font-size: 19px; } }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 18px 0; font-size: 22px; border-bottom: 1px solid var(--line); }
.mobile-menu-cta { display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--white); color: var(--ink); }

/* ---------- Hero: 원내 워크스루 영상 (자동 재생 · 반복) ---------- */
.hero-walk {
  position: relative; overflow: hidden;
  height: calc(100svh - var(--header-h)); min-height: 560px; margin-top: var(--header-h);
  background: var(--plum); color: var(--white);
}
.hero-walk-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-walk-shade { position: absolute; inset: 0; background: rgba(28, 22, 32, .42); }
.hero-walk-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 48px 96px;
}
.hero-walk-copy { max-width: 720px; padding-inline: clamp(0px, 4vw, 72px); animation: hero-in 1.6s var(--ease) both; }
.hero-walk-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; opacity: .9; }
.hero-walk-title { margin-top: 18px; font-size: clamp(38px, 5vw, 68px); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.hero-walk-title.is-long { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.15; }
.hero-walk-copy:has(.is-long) { max-width: 820px; }
.hero-walk-meta { margin-top: 18px; font-size: 18px; opacity: .92; }
.hero-walk-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-walk-tags a {
  display: block; padding: 8px 16px; font-size: 14px;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  transition: background .25s, color .25s, border-color .25s;
}
.hero-walk-tags a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero-walk-cta { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-walk-scene {
  position: absolute; left: clamp(24px, 8vw, 150px); right: clamp(24px, 8vw, 150px); bottom: 40px;
  display: flex; align-items: baseline; gap: 14px;
  transition: opacity .45s ease, transform .45s ease;
}
.hero-walk-scene.is-changing { opacity: 0; transform: translateY(6px); }
.hero-walk-scene-en { font-family: var(--font-display); font-size: 22px; letter-spacing: .04em; }
.hero-walk-scene-ko { font-size: 15px; opacity: .9; min-width: 0; }
.hero-walk-scene::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; align-self: center; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  .hero-walk { height: calc(100svh - var(--header-h) - 60px); }
  .hero-walk-copy { padding-inline: 0; }
  .hero-walk-meta { font-size: 15px; }
  .hero-walk-tags a { padding: 6px 12px; font-size: 13px; }
  .hero-walk-scene { left: var(--gutter); right: var(--gutter); bottom: 24px; }
  .hero-walk-scene-en { font-size: 18px; }
  .hero-walk-scene-ko { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .hero-walk-copy { animation: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(96px, 12vw, 180px); }
.section + .section { padding-top: 0; }

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  padding-inline: clamp(var(--gutter), 8vw, 150px);
  column-gap: 40px;
}

.title-en {
  font-size: 36px; font-weight: 500; line-height: 1.05;
  letter-spacing: .005em; text-transform: uppercase;
}
.title-en.small { font-size: 30px; }
.title-hand {
  margin-top: 14px;
  font-family: var(--font-hand); font-size: 30px; line-height: 1;
  color: var(--brand);
}

.split-body p + p { margin-top: 1.5em; }
.split-body { padding-top: 4px; }

/* Banner */
.banner { margin-top: clamp(80px, 9vw, 140px); }
.media { position: relative; overflow: hidden; background: #e6e2dc; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-wide { aspect-ratio: 1264 / 558; }
.media.is-missing img { display: none; }
.media.is-missing::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; letter-spacing: .06em; color: var(--ink-soft);
}

/* Why */
.why-list { display: grid; gap: 36px; }
.why-list li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.why-no { font-family: var(--font-display); font-size: 22px; color: var(--brand); line-height: 1.4; }
.why-list h3 { font-size: 21px; font-weight: 500; }
.why-list p { margin-top: 6px; font-size: 17px; color: var(--ink-soft); }

/* Look around (3 crossfade slideshows, asymmetric collage) */
.look-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
.look-caption { grid-column: 2 / 5; grid-row: 1; align-self: center; }
.look-a { grid-column: 5 / 13; grid-row: 1; aspect-ratio: 814 / 493; }
.look-b { grid-column: 1 / 8; grid-row: 2; margin-top: 96px; aspect-ratio: 730 / 475; }
.look-c { grid-column: 9 / 12; grid-row: 2; margin-top: 220px; aspect-ratio: 346 / 493; }
.link-arrow { display: inline-block; margin-top: 28px; font-size: 14px; letter-spacing: .06em; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: " →"; }

.slideshow { position: relative; touch-action: pan-y; overflow: hidden; }
.slideshow .media {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 2s ease, transform .3s ease;
}
/* 손가락으로 밀 때: 사진이 손을 바로 따라오고, 넘긴 뒤에는 빠르게 바뀜 */
.slideshow.is-drag .media { transition: opacity 2s ease, transform 0s; }
.slideshow.is-quick .media { transition: opacity .45s ease, transform .3s ease; }
.slideshow .media.is-active { opacity: 1; }
.counter {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  font-size: 12px; color: var(--ink);
  background: rgba(255,255,255,.75); padding: 2px 8px;
}

/* Program */
.program-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.program-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; transition: color .2s, padding .3s var(--ease);
}
.program-list a::after { content: "→"; color: var(--brand); opacity: 0; transition: opacity .2s; }
.program-list a:hover { color: var(--brand); padding-left: 8px; }
.program-list a:hover::after { opacity: 1; }

/* Doctors */
.doctors .split-head, .equipment .split-head { padding-inline: clamp(var(--gutter), 8vw, 150px); }
.doctor-grid {
  margin: 64px auto 0; max-width: 1060px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.media-portrait { aspect-ratio: 5 / 6; }
.doctor-role { margin-top: 18px; font-size: 14px; color: var(--brand); letter-spacing: .04em; }
.doctor-name { margin-top: 2px; font-size: 22px; font-weight: 500; }

/* Equipment */
.equip-grid {
  margin: 64px auto 0; max-width: 1060px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px;
}
.media-square { aspect-ratio: 1; background: var(--white); }
.equip-grid p { margin-top: 10px; font-size: 14px; text-align: center; }
.equip-tags { max-width: 760px; margin: 48px auto 0; text-align: center; font-size: 15px; line-height: 2; color: var(--ink-soft); }
.equip-more { margin-top: 32px; text-align: center; }
.muted { color: var(--ink-soft); font-size: .88em; }

/* Event (staggered 4 x 2 like the reference) */
.event .split-head { padding-inline: clamp(0px, 8vw, 150px); }
.event-grid {
  margin: 64px auto 0;
  max-width: 1060px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
}
.event-grid .card:nth-child(1) { margin-top: 56px; }
.event-grid .card:nth-child(3) { margin-top: 22px; }
.event-grid .card:nth-child(4) { margin-top: 56px; }
.event-grid .card:nth-child(n+5) { margin-top: 18px; }
.event-grid .card:nth-child(5),
.event-grid .card:nth-child(7),
.event-grid .card:nth-child(8) { transform: translateY(32px); }

.card a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 250 / 287;
  padding: 28px 20px;
  border-radius: 14px;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card a:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20, 18, 20, .12); }
.card-kicker { font-size: 11px; letter-spacing: .16em; opacity: .75; }
.card-title { margin-top: 18px; font-size: 24px; font-weight: 400; line-height: 1.3; }
.card-price { margin-top: 10px; font-family: var(--font-display); font-size: 28px; }
.card-more {
  margin-top: 26px; padding: 6px 16px;
  border: 1px solid currentColor;
  font-size: 11px; letter-spacing: .05em;
}
.card-ink a { background: var(--ink); color: var(--white); }
.card-brand a { background: var(--brand); color: var(--white); }
.card-paper a { background: #e4dfe8; color: var(--ink); }
.card-white a { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card-paper .card-price, .card-white .card-price { color: var(--brand); }

.note { margin-top: 80px; text-align: center; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }

/* Location */
.info { display: grid; gap: 30px; }
.info-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; }
.info dt { color: var(--ink-soft); }
.info dd a { border-bottom: 1px solid var(--line); }
.hours { border-collapse: collapse; }
.hours th { font-weight: 400; text-align: left; padding: 0 28px 4px 0; }
.hours td { padding: 0 0 4px; }
.hours-note { margin-top: 10px; color: var(--brand); }

.map { margin-top: clamp(64px, 8vw, 120px); }
.map iframe { width: 100%; height: 480px; border: 0; filter: grayscale(.85) contrast(1.05); }
.map-links { margin-top: 16px; display: flex; gap: 24px; justify-content: flex-end; font-size: 14px; }
.map-links a { border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Final CTA */
.cta-band { position: relative; overflow: hidden; background: var(--plum); color: var(--white); text-align: center; padding-block: clamp(96px, 11vw, 160px); }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(43, 34, 48, .74); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; }
.cta-inner p { margin-top: 14px; opacity: .85; }
.cta-actions { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Quick bar (desktop) ---------- */
.quickbar {
  position: fixed; right: max(24px, calc((100vw - 1440px) / 2 + 40px)); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: grid; gap: 6px;
}
.quickbar a {
  width: 96px; padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--white); color: var(--ink);
  text-align: center; font-size: 11px; line-height: 1.35;
  box-shadow: 0 2px 12px rgba(20, 18, 20, .08);
  transition: background .2s, color .2s;
}
.quickbar b { font-family: var(--font-display); font-size: 17px; font-weight: 400; letter-spacing: .04em; }
.quickbar a:first-child { padding-block: 18px; }
.quickbar a:hover { background: var(--ink); color: var(--white); }

/* ---------- FAB (mobile) ---------- */
.fab { display: none; position: fixed; right: 20px; bottom: 20px; z-index: 45; }
.fab-btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--brand); color: var(--white); cursor: pointer;
  display: flex; gap: 5px; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(20, 18, 20, .25);
}
.fab-btn span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fab-menu { position: absolute; right: 0; bottom: 72px; display: grid; gap: 8px; }
.fab-menu[hidden] { display: none; }
.fab-menu a {
  white-space: nowrap; padding: 12px 18px; border-radius: 999px;
  background: var(--white); font-size: 15px;
  box-shadow: 0 4px 16px rgba(20, 18, 20, .15);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--white); color: #252525; padding-block: 44px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: start; padding-inline: clamp(var(--gutter), 8vw, 174px); }
.logo-footer img { height: 40px; filter: none; }
.footer-info { font-size: 14px; line-height: 1.8; }
.footer-links { display: flex; gap: 18px; margin-top: 6px; }
.footer-links a:hover { color: var(--brand); }
.copy { color: #8a858c; font-size: 13px; }
.footer-sns { display: grid; gap: 8px; text-align: right; font-size: 12px; letter-spacing: .08em; }
.footer-sns a:hover { color: var(--brand); }

/* ---------- Reveal (FadeIn, as in the reference: viewport enter, once) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--reveal-duration) var(--ease), transform var(--reveal-duration) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .event-grid .card.reveal.is-visible:nth-child(5),
.js .event-grid .card.reveal.is-visible:nth-child(7),
.js .event-grid .card.reveal.is-visible:nth-child(8) { transform: translateY(32px); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .gnb { gap: 26px; }
  .header-inner { gap: 32px; }
  .header-util > a:not(.btn) { display: none; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }

  .gnb, .header-util { display: none; }
  .menu-toggle { display: flex; }
  .logo img { height: 36px; }

  .quickbar { display: none; }
  .fab { display: block; }


  .split-grid { grid-template-columns: 1fr; padding-inline: var(--gutter); text-align: center; row-gap: 40px; }
  .split-head, .event .split-head { text-align: center; padding-inline: 0; }
  .title-en { font-size: 30px; }
  .title-hand { font-size: 26px; }

  .why-list { text-align: left; max-width: 560px; margin-inline: auto; }
  .program-list { grid-template-columns: 1fr; text-align: left; max-width: 560px; margin-inline: auto; width: 100%; }

  .look-grid { grid-template-columns: 1fr; row-gap: 24px; }
  .look-caption { grid-column: 1; grid-row: 1; text-align: center; margin-bottom: 16px; }
  .look-a, .look-b, .look-c { grid-column: 1; grid-row: auto; margin-top: 0; }
  .look-c { width: 62%; justify-self: center; }

  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 560px; }
  .event-grid .card:nth-child(n) { margin-top: 0; transform: none; }
  .js .event-grid .card.reveal.is-visible:nth-child(n) { transform: none; }

  .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; max-width: 560px; margin-top: 40px; }
  .doctor { text-align: center; }
  .equip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; max-width: 560px; margin-top: 40px; }
  .info { text-align: left; max-width: 560px; margin-inline: auto; width: 100%; }
  .info-row { grid-template-columns: 80px 1fr; }
  .map iframe { height: 340px; }
  .map-links { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .logo-footer { justify-self: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
  .footer-sns { display: flex; justify-content: center; gap: 20px; text-align: center; }
  .footer-info p:first-child { font-size: 13px; }
}

@media (max-width: 560px) {
  .event-grid { grid-template-columns: 1fr; max-width: 340px; }
  .card a { aspect-ratio: 5 / 4; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
  .split-body br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slideshow .media { transition: none; }
}

/* =====================================================================
   시술 상세 페이지 (treatments/*) — 구조는 velderma 보톡스 페이지 분석 기준,
   색·여백·타이포는 메인 페이지(redi 기준)와 동일
   ===================================================================== */
.subpage main { padding-top: var(--header-h); }
.subpage .section + .section { padding-top: clamp(72px, 9vw, 128px); }
.t-section { padding-block: clamp(72px, 9vw, 128px); }
#types, #process, .t-faq, .t-programs { background: var(--white); }

.breadcrumb { padding-top: 28px; font-size: 13px; color: var(--ink-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--brand); }

.t-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; }
.t-title { margin-top: 14px; font-size: clamp(36px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.02em; line-height: 1.12; }
.t-h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.t-center { text-align: center; }
.t-sub { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.t-more { margin-top: 48px; font-size: 15px; }

/* hero */
.t-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.t-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.t-hero-cta { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.t-hero-media { aspect-ratio: 4 / 3; border-radius: 18px; }

/* in-page table of contents */
.t-toc {
  position: sticky; top: var(--header-h); z-index: 30;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding-block: 12px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.t-toc::-webkit-scrollbar { display: none; }
.t-toc a { flex: 0 0 auto; padding: 8px 16px; font-size: 14px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.t-toc a:hover { background: var(--white); color: var(--ink); }

/* what is — answer-first + facts table */
.facts { margin-top: 36px; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.facts dt { color: var(--ink-soft); }

/* recommend */
.checklist { display: grid; gap: 0; }
.checklist li { position: relative; padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 26px; width: 14px; height: 8px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}

/* areas */
.area-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area-grid li { padding: 32px 28px; border-radius: 16px; background: var(--paper); }
.area-no { font-family: var(--font-display); font-size: 20px; color: var(--brand); }
.area-grid h3 { margin-top: 12px; font-size: 20px; font-weight: 500; }
.area-grid p { margin-top: 8px; font-size: 16px; color: var(--ink-soft); }

/* programs */
.price-groups { margin: 56px auto 0; max-width: 960px; display: grid; gap: 40px; }
.price-group h3 { font-size: 20px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.price-group h3 small { margin-left: 8px; font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.price-table th { text-align: left; font-weight: 400; padding-right: 16px; }
.price-table td { text-align: right; white-space: nowrap; }
.price-table s { margin-right: 8px; font-size: 14px; color: #9a959c; }
.price-table strong { font-weight: 600; }

/* principles (alternating image / text) */
.principle { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.principle.is-reverse .principle-media { order: 2; }
.principle-media { aspect-ratio: 4 / 3; border-radius: 18px; }
.principle-copy h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.principle-copy p { margin-top: 18px; color: var(--ink-soft); }

/* steps */
.step-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.step-media { aspect-ratio: 4 / 3; border-radius: 14px; }
.step-no { display: block; margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--brand); }
.step-grid h3 { margin-top: 6px; font-size: 20px; font-weight: 500; }
.step-grid p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* aftercare */
.aftercare { counter-reset: care; }
.aftercare li { counter-increment: care; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.aftercare li::before { content: counter(care, decimal-leading-zero); font-family: var(--font-display); font-size: 20px; color: var(--brand); line-height: 1.4; }

/* members-only reviews */
.member-gate { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px); text-align: center; background: var(--white); border-radius: 20px; }
.member-gate > p:not(.t-eyebrow) { margin-top: 16px; color: var(--ink-soft); }
.member-gate-cta { margin-top: 32px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* faq accordion (details/summary — crawlable, no JS) */
.faq-list { margin: 56px auto 0; max-width: 960px; display: grid; gap: 10px; }
.faq-item { border-radius: 14px; background: var(--paper); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 64px 22px 28px; font-size: 18px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 28px; top: 50%; width: 10px; height: 10px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-q { color: var(--brand); margin-right: 6px; }
.faq-item p { padding: 0 28px 26px 56px; color: var(--ink-soft); font-size: 17px; }

/* related + hub cards */
.related-grid, .hub-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-grid a, .hub-grid a { display: block; }
.related-grid .media, .hub-grid .media { aspect-ratio: 4 / 3; border-radius: 14px; }
.related-grid .media img, .hub-grid .media img { transition: transform .6s var(--ease); }
.related-grid a:hover img, .hub-grid a:hover img { transform: scale(1.04); }
.related-grid .t-eyebrow, .hub-grid .t-eyebrow { display: block; margin-top: 18px; }
.related-grid strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 500; }
.hub-grid h2 { margin-top: 4px; font-size: 22px; font-weight: 500; }
.hub-grid p { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.t-hub { padding-top: clamp(40px, 5vw, 72px); }

.byline { padding-block: 28px; font-size: 13px; color: #8a858c; text-align: center; }

@media (max-width: 1023px) {
  .t-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .t-hero-cta { justify-content: center; }
  .t-hero-fig { order: -1; }
  .facts div { grid-template-columns: 96px 1fr; font-size: 15px; text-align: left; }
  .checklist, .aftercare { text-align: left; max-width: 560px; margin-inline: auto; width: 100%; }
  .area-grid, .related-grid, .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principle { grid-template-columns: 1fr; text-align: center; }
  .principle.is-reverse .principle-media { order: 0; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-item summary { font-size: 16px; padding: 18px 52px 18px 20px; }
  .faq-item summary::after { right: 22px; }
  .faq-item p { padding: 0 20px 22px 20px; font-size: 15px; }
}
@media (max-width: 560px) {
  .area-grid, .related-grid, .hub-grid, .step-grid { grid-template-columns: 1fr; }
  .price-table th, .price-table td { font-size: 15px; }
  .price-table td { white-space: normal; }
  .price-table s { display: block; margin: 0; }
}

/* 홈 FAQ (진단 리포트 대응: 일요일·야간 진료 질문) — 흰 배경 띠라 위아래 여백을 직접 준다 */
.section.home-faq { padding-block: clamp(96px, 12vw, 180px); }
.home-faq + .section { padding-top: clamp(96px, 12vw, 180px); }

/* 제품 영상 (브랜드 영상 구간) */
.t-best { background: var(--plum); color: var(--white); }
.t-best .t-eyebrow { color: var(--brand-soft); }
.t-best .t-sub { color: rgba(255,255,255,.7); }
.best-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.best-grid.is-single { grid-template-columns: minmax(0, 720px); justify-content: center; }
.best-video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.best-video video { width: 100%; height: 100%; object-fit: cover; }
.best-grid .t-eyebrow { display: block; margin-top: 18px; }
.best-grid h3 { margin-top: 4px; font-size: 20px; font-weight: 500; }
.best-grid p { margin-top: 6px; font-size: 15px; color: rgba(255,255,255,.72); }

/* 목차: 현재 위치 표시, 모바일에서 더 있음을 알리는 오른쪽 페이드 */
.t-toc a.is-current { background: var(--ink); color: var(--white); }

@media (max-width: 1023px) {
  .best-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .t-toc { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }

  /* 모바일 상담 버튼: 내용을 가리지 않도록 하단 고정 바로 (Codex 검증 반영) */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .fab { left: 0; right: 0; bottom: 0; }
  .fab-btn { display: none; }
  .fab .fab-menu, .fab .fab-menu[hidden] {
    position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
  }
  .fab-menu a {
    border-radius: 0; box-shadow: none; background: transparent; color: var(--white);
    height: 60px; display: flex; align-items: center; justify-content: center; font-size: 15px;
    padding: 0 6px; text-align: center; white-space: normal; line-height: 1.25; min-width: 0;
  }
  /* 외국어는 버튼 글자가 길어 한 단계 작게 */
  html:not([lang="ko"]) .fab-menu a { font-size: 13px; }
  .fab-menu a + a { border-left: 1px solid rgba(255,255,255,.18); }
  .fab-menu a:first-child { background: var(--brand); }
}

/* 이달의 이벤트 페이지 (이미지 → 글자) */
.ev-hero { padding-bottom: 40px; }
.ev-index { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ev-index a { padding: 8px 16px; border-radius: 999px; background: var(--white); font-size: 14px; transition: background .2s, color .2s; }
.ev-index a:hover { background: var(--ink); color: var(--white); }
.ev { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.ev:nth-of-type(even) { background: var(--white); }
.ev-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); }
.ev-head { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.ev-sub { margin-top: 12px; font-size: 18px; color: var(--ink-soft); }
.ev-meta { margin-top: 20px; display: grid; gap: 6px; font-size: 15px; }
.ev-meta div { display: grid; grid-template-columns: max-content 1fr; column-gap: 12px; }
.ev-meta dt { color: var(--brand); font-weight: 600; }
.ev-intro { margin-top: 14px; font-size: 16px; color: var(--ink-soft); }
.ev-body { display: grid; gap: 32px; }
.ev-body .price-table th small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.ev-features { display: grid; gap: 8px; padding: 24px 28px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.ev:nth-of-type(odd) .ev-features { background: var(--white); }
.ev-features li { padding-left: 16px; position: relative; }
.ev-features li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.ev-notes { font-size: 13px; color: #8a858c; line-height: 1.8; }
.ev-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.card-item { margin-top: 10px; font-size: 13px; opacity: .8; }
@media (max-width: 1023px) {
  .ev-inner { grid-template-columns: 1fr; }
  .ev-head { position: static; text-align: center; }
  .ev-meta { justify-content: center; text-align: left; }
}

/* Codex 검증 반영: 우측 상담 메뉴는 본문과 겹치지 않을 만큼 화면이 넓을 때만 (그 외에는 상단 '상담·예약' 버튼) */
/* 사이드바: 1024px 이상에서 오른쪽 가장자리에 따라다님(모바일은 하단 고정 바) */
@media (max-width: 1023px) { .quickbar { display: none; } }
.ev-cond { padding: 14px 18px; border-radius: 10px; background: var(--paper); font-size: 14px; color: var(--ink-soft); }
.ev:nth-of-type(odd) .ev-cond { background: var(--white); }
.ev-cond strong { color: var(--ink); }
.card-cond { margin-top: 10px; font-size: 12.5px; font-weight: 500; line-height: 1.5; opacity: .92; }
.price-foot { max-width: 760px; margin: 32px auto 0; font-size: 14px; }
.price-foot a { color: var(--brand); border-bottom: 1px solid currentColor; }
.group-cond { margin: 12px 0 4px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.ev-units { margin-top: 20px; text-align: center; font-size: 13px; color: var(--ink-soft); }
.ev-units b { color: var(--ink); font-weight: 600; }

/* 긴 이벤트 표: 조건 줄이 표를 따라 고정 (Codex 권장 반영) */
.ev .group-cond { position: sticky; top: var(--header-h); z-index: 2; margin: 10px 0 0; padding: 8px 0; background: inherit; }
.ev:nth-of-type(odd) .price-group { background: var(--paper); }
.ev:nth-of-type(even) .price-group { background: var(--white); }
/* 모바일 목차 '넘겨 보기' 안내 */
.toc-hint { display: none; }
@media (max-width: 1023px) {
  .toc-hint { display: block; margin-top: 12px; text-align: right; font-size: 12px; color: var(--ink-soft); transition: opacity .3s; }
  body.toc-scrolled .toc-hint { opacity: 0; }
}
@media (max-width: 1023px) { .hero-walk-tags a { min-height: 44px; display: flex; align-items: center; padding: 0 14px; } }

/* 언어 메뉴 · 외국어 안내 페이지 */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; font-size: 13px; letter-spacing: .04em; padding: 6px 0; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: " ▾"; font-size: 10px; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 168px; padding: 8px 0; background: var(--white); color: var(--ink); box-shadow: 0 10px 30px rgba(20,18,20,.12); }
.lang-menu a { display: block; padding: 9px 18px; font-size: 14px; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--paper); color: var(--brand); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13px; }
.footer-langs a:hover { color: var(--brand); }
.lang-lead { margin-top: 20px; font-size: 18px; color: var(--ink-soft); }
.lang-info { margin: 48px auto 0; max-width: 820px; }
.lang-treatments { margin: 40px auto 0; max-width: 820px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.lang-treatments li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.langpage .doctor-grid { margin-top: 48px; }
@media (max-width: 1023px) {
  .header-util.lang-util { display: flex; gap: 14px; }
  .langpage .header-util .btn { display: none; }
  .lang-treatments { grid-template-columns: 1fr; }
}
.mobile-langs { display: flex; flex-wrap: wrap; gap: 10px 16px; padding-top: 20px; font-size: 14px; color: var(--ink-soft); }
/* 띄어쓰기가 없는 언어(일본어·중국어·태국어)는 일반 줄바꿈 */
:lang(ja), :lang(zh), :lang(th) { word-break: normal; line-break: strict; overflow-wrap: anywhere; }
/* 금액·짧은 라벨은 끊지 않는다 (CJK 줄바꿈 규칙보다 우선) */
.price-table td, .price-table td *, .card-price, .hero-walk-scene-en { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
/* 일본어 제목은 문절 단위로 줄바꿈 (仕/上がり 같은 끊김 방지) */
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }

/* 시술 일러스트 (Codex 제작 · 글자 없는 이미지, 설명은 HTML) */
.t-figure { margin-top: 32px; }
.t-figure img { width: 100%; height: auto; border-radius: 20px; background: #f0efee; }
.t-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.t-figure-wide { margin-top: 56px; }
.t-figure-wide .t-figure { max-width: 880px; margin: 0 auto; text-align: center; }
.area-layout { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.area-layout .t-figure { margin-top: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.area-layout .area-grid { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ev-key { margin-top: 40px; }
.ev-key img { width: 100%; height: clamp(140px, 18vw, 260px); object-fit: cover; object-position: 70% 50%; border-radius: 20px; }
@media (max-width: 900px) {
  .area-layout { grid-template-columns: 1fr; gap: 24px; }
  .area-layout .t-figure { position: static; max-width: 420px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .area-layout .area-grid { grid-template-columns: 1fr; }
}

/* 따라다니는 사이드바 (카카오 상담 · 이달의 이벤트 · 전화 상담 · 빠른 예약 · 개원 문의 · TOP) */
.quickbar { right: 16px; gap: 4px; }
@media (min-width: 1600px) { .quickbar { right: max(24px, calc((100vw - 1440px) / 2 - 104px)); } }
.quickbar a { width: 78px; padding: 12px 6px; font-size: 11px; border-radius: 12px; }
.quickbar a:first-child { padding-block: 12px; background: var(--brand); color: var(--white); }
.quickbar a:first-child:hover { background: var(--ink); }
.quickbar b { font-size: 15px; }
.quickbar .qb-sub { background: transparent; box-shadow: none; border: 1px solid var(--line); color: var(--ink-soft); }
.quickbar .qb-top { padding-block: 8px; background: var(--ink); color: var(--white); }
.quickbar .qb-top b { font-size: 13px; }
@media (max-width: 1023px) { .fab .fab-menu, .fab .fab-menu[hidden] { grid-template-columns: repeat(4, minmax(0, 1fr)); } html:not([lang="ko"]) .fab-menu a, .fab-menu a { font-size: 12px; } }

/* 오시는 길 지도: 왼쪽 칸 안에 작게 */
.map.map-side { margin-top: 32px; width: 100%; max-width: 420px; }
.map.map-side iframe { height: 280px; border-radius: 12px; }
.map.map-side .map-links { justify-content: flex-start; gap: 16px; font-size: 13px; }
@media (max-width: 900px) { .map.map-side { max-width: none; margin-inline: auto; } .map.map-side iframe { height: 240px; } .map.map-side .map-links { justify-content: center; } }

/* 전체 가격표 */
.prices-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.prices-index { position: sticky; top: var(--header-h); z-index: 5; background: var(--paper); padding-block: 12px; }
.prices-cat { scroll-margin-top: calc(var(--header-h) + 72px); padding-block: clamp(48px, 6vw, 80px); }
.prices-wrap { max-width: 960px; }
.prices-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.prices-cat .price-group { margin-top: 28px; }
.prices-cat .price-group h3 small { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.prices-cat .group-cond { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }
.price-table th small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-soft); font-weight: 400; }

/* 보유 장비 */
.equip-group { scroll-margin-top: calc(var(--header-h) + 72px); padding-block: clamp(40px, 5vw, 72px); }
.equip-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.equip-grid li { border-radius: 16px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.equip-grid .media { aspect-ratio: 4 / 3; background: var(--white); }
.equip-grid .media img { width: 100%; height: 100%; object-fit: contain; }
.equip-text { padding: 24px; display: grid; gap: 8px; align-content: start; }
.equip-text h3 { font-size: 19px; font-weight: 600; }
.equip-text h3 small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-soft); letter-spacing: .02em; }
.equip-text p { font-size: 15px; color: var(--ink-soft); }
.equip-text .link-arrow { margin-top: 4px; font-size: 14px; justify-self: start; }
@media (max-width: 900px) { .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .equip-grid { grid-template-columns: 1fr; } }

/* 진료공간 둘러보기 */
.tour-grid { margin-top: 40px; columns: 3 280px; column-gap: 12px; }
.tour-grid li { break-inside: avoid; margin-bottom: 12px; }
.tour-grid img { width: 100%; height: auto; border-radius: 12px; display: block; }

/* 약관 · 개인정보처리방침 · 비급여 */
.legal-wrap { max-width: 860px; }
.legal-body { margin-top: 32px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.legal-body h2 { margin-top: 40px; font-size: 20px; font-weight: 600; }
.legal-body h3 { margin-top: 28px; font-size: 16px; font-weight: 600; }
.legal-body h2.legal-h { margin-top: 28px; font-size: 16px; font-weight: 600; }
.legal-body p { margin-top: 10px; }
.legal-note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); }
.fees-wrap { max-width: 1100px; }
.fees-wrap h2 { margin-top: 48px; font-size: 20px; font-weight: 600; }
.table-scroll { margin-top: 28px; overflow-x: auto; border-top: 1px solid var(--ink); }
.fees-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.fees-table th, .fees-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fees-table thead th { font-weight: 600; background: var(--paper); white-space: nowrap; }
.fees-table td:nth-child(4), .fees-table td:nth-child(5) { text-align: right; white-space: nowrap; }
@media (max-width: 1439px) { .quickbar { right: 10px; } .quickbar a { width: 66px; padding: 10px 4px; font-size: 10px; } .quickbar b { font-size: 13px; } }
.prices-notes { margin-top: 10px; padding-left: 18px; list-style: disc; font-size: 14px; color: var(--ink-soft); }
.equip-grid li { background: var(--white); text-align: left; }
.equip-group .t-h2 { text-align: left; }
.prices-cat .price-group { background: var(--white); border-radius: 16px; padding: 20px 24px 8px; }
@media (max-width: 560px) { .prices-cat .price-group { padding: 16px 16px 4px; } }
.equip-group .container > .t-h2 { max-width: 1060px; margin-inline: auto; }
.equip-text, .equip-text p { text-align: left; }
.prices-wrap .prices-head { text-align: left; }

/* 사이드바가 보이는 폭(1024px~)에서는 본문 좌우 여백을 사이드바 폭만큼 확보해 가격·본문과 겹치지 않게 */
@media (min-width: 1024px) and (max-width: 1679px) {
  .container { padding-inline: max(var(--gutter), 104px); }
  .split-grid { padding-inline: max(clamp(var(--gutter), 8vw, 150px), 104px); }
}
.prices-cat .group-cond small { font-weight: 400; color: var(--ink-soft); font-size: 13px; }

/* 상단 메뉴는 한 줄로. 글자가 긴 언어(영·태·베·인니·몽·러)는 1680px 미만에서 햄버거 메뉴로 */
.gnb a, .header-util a, .header-util .btn { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) { .gnb { gap: 24px; } .header-util { gap: 18px; } }
@media (min-width: 1024px) and (max-width: 1679px) {
  html:not([lang="ko"]):not([lang="ja"]):not([lang^="zh"]) .gnb,
  html:not([lang="ko"]):not([lang="ja"]):not([lang^="zh"]) .header-util { display: none; }
  html:not([lang="ko"]):not([lang="ja"]):not([lang^="zh"]) .menu-toggle { display: flex; margin-left: auto; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  html[lang="ja"] .gnb, html[lang^="zh"] .gnb { gap: 18px; font-size: 14px; }
}
.lang-menu summary { white-space: nowrap; }
/* 지도를 불러오지 못하면 그 자리에 주소가 보이도록(지도가 뜨면 위에 덮임) */
.map.map-side { position: relative; }
.map-fallback { position: absolute; left: 0; right: 0; top: 0; height: 280px; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; font-size: 14px; line-height: 1.6; color: var(--ink-soft); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.map.map-side iframe { position: relative; z-index: 1; display: block; }
@media (max-width: 900px) { .map-fallback { height: 240px; } }
.fees-table td:last-child { white-space: nowrap; }
.prices-top { margin-left: auto; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; color: var(--ink-soft); background: var(--white); }
/* 할인 표시: 정상가 취소선 + '할인' 배지 + 할인가 */
.price-table td s { margin-right: 6px; font-size: 14px; color: #9a959c; font-weight: 400; }
.sale-tag { display: inline-block; margin-right: 8px; padding: 2px 7px; border-radius: 999px; background: var(--brand); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .02em; vertical-align: 2px; }
.card-price s { font-size: .55em; opacity: .65; margin-right: 4px; font-weight: 400; }
@media (max-width: 560px) { .price-table td s { display: block; margin: 0 0 2px; font-size: 13px; } .sale-tag { margin-right: 4px; } }

/* 아이콘 (카카오톡·유튜브 실제 아이콘, 전화·예약·이벤트 선 아이콘) */
.ico { display: inline-flex; width: 1.15em; height: 1.15em; margin-right: .45em; vertical-align: -0.2em; flex: none; }
.ico svg { width: 100%; height: 100%; }
.quickbar .ico { width: 24px; height: 24px; margin: 0; }
.quickbar .qb-top .ico { width: 18px; height: 18px; }
.quickbar a:first-child { background: #FEE500; color: #3C1E1E; }
.quickbar a:first-child:hover { background: #f2d900; color: #3C1E1E; }
.fab-menu a .ico { width: 18px; height: 18px; margin-right: 6px; }
.fab-menu a:first-child { background: #FEE500; color: #3C1E1E; }
.sns-link { display: inline-flex; align-items: center; gap: 6px; }
.sns-link svg { width: 20px; height: 20px; flex: none; }
.btn .ico { width: 1.25em; height: 1.25em; }
@media (max-width: 1023px) { .fab-menu a { gap: 0; } }
.quickbar .qb-sub { background: var(--white); color: var(--ink-soft); border: 1px solid var(--line); }
.quickbar a:first-child .ico { width: 30px; height: 30px; }

/* 이벤트 광고 비주얼 (AI 가상 모델 + HTML 글자) */
.ev-ad { position: relative; margin-top: 28px; border-radius: 20px; overflow: hidden; background: var(--paper); max-width: 440px; }
.ev-ad img { display: block; width: 100%; height: auto; max-height: 56vh; object-fit: cover; object-position: center 70%; }
.ev-ad-text { position: absolute; left: 0; right: 0; top: 0; padding: 28px 28px 0; display: grid; gap: 6px; color: var(--ink); text-align: left; }
.ev-ad-kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--brand); }
.ev-ad-title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; max-width: 14em; }
.ev-ad-item { margin-top: 6px; font-size: 14px; color: var(--ink-soft); max-width: 22em; }
.ev-ad-price { display: flex; align-items: baseline; gap: 8px; }
.ev-ad-price s { font-size: 14px; color: #8f8a92; }
.ev-ad-price b { font-size: clamp(22px, 2vw, 28px); font-weight: 700; color: var(--brand); }
.ev-ad-note { position: absolute; right: 12px; bottom: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.82); font-size: 11px; color: var(--ink-soft); }
@media (max-width: 1023px) {
  .ev-ad { margin: 24px auto 0; max-width: 420px; }
  .ev-ad img { max-height: 420px; }
}
.ev-ad-text { padding-bottom: 48px; background: linear-gradient(to bottom, rgba(244,242,240,.92) 0%, rgba(244,242,240,.78) 65%, rgba(244,242,240,0) 100%); }
.ev-ad-cond { font-size: 12px; color: var(--ink-soft); line-height: 1.45; max-width: 26em; }
.ev-ad-price .sale-tag { align-self: center; }
.card-price .sale-tag { font-size: 10px; vertical-align: 4px; }

/* LANGUAGE 메뉴는 모든 화면 폭·언어에서 우측 상단에 유지 (메뉴가 햄버거로 바뀌어도) */
@media (max-width: 1023px) {
  .header-util { display: flex; margin-left: auto; gap: 0; }
  .header-util > :not(.lang-menu) { display: none; }
  .menu-toggle { margin-left: 16px; }
}
@media (min-width: 1024px) and (max-width: 1679px) {
  html:not([lang="ko"]):not([lang="ja"]):not([lang^="zh"]) .header-util { display: flex; margin-left: auto; }
  html:not([lang="ko"]):not([lang="ja"]):not([lang^="zh"]) .header-util > :not(.lang-menu) { display: none; }
  html:not([lang="ko"]):not([lang="ja"]):not([lang^="zh"]) .menu-toggle { margin-left: 16px; }
}
.lang-menu ul { right: 0; left: auto; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }

/* 이벤트: 왼쪽 공식 상세 이미지, 오른쪽 항목·가격 */
.ev-head { position: static; }
.ev-detail { position: relative; margin-top: 28px; border-radius: 16px; overflow: hidden; background: var(--white); scroll-margin-top: calc(var(--header-h) + 16px); }
.ev-detail-imgs img { display: block; width: 100%; height: auto; }
.ev-detail.is-collapsed .ev-detail-imgs { max-height: 1100px; overflow: hidden; }
.ev-detail.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 56px; height: 140px; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.96)); pointer-events: none; }
.ev-detail-toggle { display: block; width: 100%; padding: 16px; border: 0; border-top: 1px solid var(--line); background: var(--white); font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); cursor: pointer; }
.ev-detail-toggle:hover { background: var(--paper); }
@media (max-width: 1023px) { .ev-detail { max-width: 520px; margin-inline: auto; } .ev-detail.is-collapsed .ev-detail-imgs { max-height: 720px; } }
.ev-banners { margin-top: 36px; }
.ev-banners ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ev-banners img { width: 100%; height: auto; border-radius: 12px; display: block; transition: transform .25s; }
.ev-banners a:hover img { transform: translateY(-3px); }
@media (max-width: 900px) { .ev-banners ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ev-banners ul { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
/* 데스크톱: 왼쪽 위 제목 · 왼쪽 아래 공식 상세 이미지 · 오른쪽 항목·가격 / 모바일: 제목 → 항목·가격 → 상세 이미지 */
.ev-inner { grid-template-areas: "head body" "detail body"; grid-template-rows: auto 1fr; row-gap: 0; }
.ev-inner > .ev-head { grid-area: head; }
.ev-inner > .ev-body { grid-area: body; }
.ev-inner > .ev-detail { grid-area: detail; align-self: start; }
@media (max-width: 1023px) {
  .ev-inner { grid-template-areas: "head" "body" "detail"; grid-template-rows: auto; row-gap: 24px; }
}

/* SNS 문의 */
.sns-wrap { max-width: 1100px; margin-top: clamp(40px, 5vw, 64px); }
.sns-h { margin-top: 56px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.01em; }
.sns-h:first-child { margin-top: 0; }
.sns-hsub { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.sns-ico { display: inline-flex; flex: none; width: 44px; height: 44px; }
.sns-ico svg { width: 100%; height: 100%; }
.sns-ico svg[fill="none"] { padding: 9px; border-radius: 12px; background: var(--ink); color: #fff; }
.sns-now { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sns-now a { height: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, transform .2s; }
.sns-now a:hover { border-color: var(--brand); transform: translateY(-2px); }
.sns-now-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sns-now-txt strong { font-size: 16px; font-weight: 600; }
.sns-now-txt span { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.sns-now-txt em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--brand); overflow-wrap: anywhere; }
.sns-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sns-card { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.sns-card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sns-pending { padding: 5px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--ink-soft); }
.sns-card h3 { margin-top: 18px; overflow-wrap: anywhere; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.sns-local { display: inline-block; margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.sns-card > p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.sns-data { margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.sns-data dt { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.sns-data dt:first-child { margin-top: 0; }
.sns-data dd { margin-top: 2px; font-weight: 500; line-height: 1.45; }
.sns-ask { margin-top: auto; font-size: 14px; }
@media (max-width: 1100px) { .sns-now, .sns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sns-now, .sns-grid { grid-template-columns: 1fr; } }

/* 의료진: 대표원장 별도 + 원장 카드(클릭 → 연혁 팝업) */
.dr-feature { margin: 64px auto 0; max-width: 1180px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.dr-photo { position: relative; padding: 18px 18px 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.dr-photo .media { border-radius: 12px; }
.dr-photo figcaption { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 18px 4px 20px; }
.dr-roman { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-style: italic; color: var(--brand); line-height: 1; }
.dr-cap { font-size: 10px; letter-spacing: .14em; color: var(--ink-soft); text-align: right; line-height: 1.6; }
.dr-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--brand); }
.dr-eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.dr-of { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.dr-feature .dr-name { margin-top: 6px; font-size: clamp(40px, 4.4vw, 56px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.dr-name span { margin-left: 10px; font-size: .36em; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.dr-lead { margin-top: 18px; font-size: 17px; line-height: 1.65; }
.dr-profile { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
.dr-high { margin-top: 26px; border-top: 1px solid var(--line); }
.dr-high li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.dr-high .dr-year { font-family: var(--font-display); font-size: 24px; color: var(--brand); }
.dr-high small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .14em; color: var(--ink-soft); }
.dr-high strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; }
.dr-high div > span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.dr-more { margin-top: 18px; }
.dr-more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.dr-more summary::-webkit-details-marker { display: none; }
.dr-more summary .ico svg { width: 18px; height: 18px; transition: transform .25s; }
.dr-more[open] summary .ico svg { transform: rotate(45deg); }
.dr-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-soft); }
.dr-career { margin-top: 8px; display: grid; gap: 22px; }
.dr-block h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--brand); text-transform: uppercase; }
.dr-rows, .dr-plain { margin-top: 8px; border-top: 1px solid var(--line); }
.dr-rows li, .dr-plain li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.dr-rows .dr-year { flex: none; width: 40px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dr-item small { display: block; font-size: 12.5px; color: var(--ink-soft); }
.dr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin-top: 72px; }
.dr-card { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dr-card .media { display: block; transition: transform .3s var(--ease); }
.dr-card:hover .media { transform: translateY(-4px); }
.dr-card .doctor-role, .dr-card .doctor-name { display: block; }
.dr-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; transition: border-color .2s, color .2s; }
.dr-open .ico svg { width: 14px; height: 14px; }
.dr-card:hover .dr-open, .dr-card:focus-visible .dr-open { border-color: var(--brand); color: var(--brand); }
.dr-dialog { width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 860px); padding: 28px clamp(20px, 3vw, 36px) 32px; border: 0; border-radius: 18px; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.dr-dialog::backdrop { background: rgba(20, 18, 20, .55); }
.dr-dialog-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.dr-dialog-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; }
.dr-dialog-head > div { flex: 1; min-width: 0; }
.dr-dialog .dr-name { margin-top: 2px; font-size: 26px; font-weight: 600; }
.dr-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.dr-close svg { width: 18px; height: 18px; }
body.dialog-open { overflow: hidden; }
@media (max-width: 1023px) {
  .dr-feature { grid-template-columns: 1fr; max-width: 640px; }
  .dr-photo { max-width: 420px; margin-inline: auto; width: 100%; }
  .dr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; }
}
@media (max-width: 560px) {
  .dr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .dr-grid .doctor-role { margin-top: 10px; font-size: 12px; }
  .dr-grid .doctor-name { font-size: 17px; }
  .dr-open { padding: 0 10px; font-size: 12px; }
  .dr-high li { grid-template-columns: 56px 1fr; }
  .dr-card { text-align: center; }
}


/* 시술 대표 비주얼(AI 가상 모델 화보) — 오른쪽 파스텔 원 위에 시술 이름(HTML), AI 표시 */
.t-hero-fig { margin: 0; }
.media.vis { position: relative; container-type: inline-size; }
.vis-title { position: absolute; top: 50%; right: 6%; width: 32%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .15em; font-size: clamp(13px, 6.4cqw, 54px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); text-align: left; word-break: keep-all; overflow-wrap: anywhere; pointer-events: none; }
.vis-title b { color: #7a3a5c; font-weight: 700; }
.vis-title > span { font-weight: 500; font-size: .82em; }
.vis-title i { display: block; width: 100%; height: 1px; margin-top: .45em; background: currentColor; opacity: .55; position: relative; }
.vis-title i::before { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #7a3a5c; }
.model-note { margin-top: 10px; font-size: 12px; color: var(--ink-soft); }
.model-tag { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.88); color: var(--ink-soft); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.vis-title { isolation: isolate; }
.vis-title.vis-circle { top: var(--cy); left: var(--cx); right: auto; width: calc(var(--d) * .62); transform: translate(-50%, -50%); }
.vis-title.vis-circle::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 161.3%; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px 6px var(--c); transform: translate(-50%, -50%); }
.vis-title.vis-left { left: 5%; right: auto; top: var(--cy); width: 30%; }
.vis-title.vis-long { font-size: clamp(11px, 4cqw, 34px); }

/* 오시는 길: 글자는 조금 작게, 지도는 크게 */
#location .split-grid { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); }
#location .info { gap: 22px; font-size: 15px; line-height: 1.6; }
#location .info-row { grid-template-columns: 84px 1fr; }
#location .info .muted { font-size: 13.5px; }
#location .hours-note { font-size: 14px; }
.map.map-side { max-width: 600px; }
.map.map-side iframe { height: 400px; }
@media (max-width: 900px) { #location .split-grid { grid-template-columns: 1fr; } .map.map-side iframe { height: 300px; } }
.map-fallback { height: 400px; }
@media (max-width: 900px) { .map-fallback { height: 300px; } }

/* 콘텐츠룸 (언론 보도·칼럼 게시판) */
.news-wrap { max-width: 1100px; margin-top: clamp(36px, 4vw, 56px); }
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.news-tabs button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.news-tabs button span { margin-left: 4px; color: var(--ink-soft); font-size: 12px; }
.news-tabs button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-tabs button.is-on span { color: rgba(255,255,255,.7); }
.news-list { margin-top: 20px; border-top: 2px solid var(--ink); }
.news-head, .news-row { display: grid; grid-template-columns: 56px 110px minmax(0, 1fr) 120px 100px; gap: 12px; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.news-head { padding-block: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); text-align: center; }
.news-head span:nth-child(3) { text-align: left; }
.news-row[hidden] { display: none; }
.news-no, .news-date { text-align: center; color: var(--ink-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.news-type { justify-self: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.news-press { text-align: center; color: var(--ink-soft); font-size: 14px; }
.news-type.news-t-press { background: #efe7f6; color: var(--brand); }
.news-type.news-t-column { background: #f3ece4; color: #7a5a3a; }
.news-tit { font-weight: 500; line-height: 1.5; }
.news-tit:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.news-tit::after { content: " ↗"; color: var(--ink-soft); font-size: .85em; }
.news-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.news-note + .news-note { margin-top: 4px; }
@media (max-width: 760px) {
  .news-head { display: none; }
  .news-row { grid-template-columns: auto 1fr; grid-template-areas: "type type" "tit tit" "press date"; gap: 6px 10px; padding: 16px 4px; }
  .news-no { display: none; }
  .news-type { grid-area: type; justify-self: start; }
  .news-tit { grid-area: tit; }
  .news-press { grid-area: press; text-align: left; font-size: 13px; }
  .news-date { grid-area: date; text-align: right; font-size: 13px; }
}
.news-titcell { min-width: 0; }
.news-tr { display: block; margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.news-tr em { font-style: normal; font-weight: 600; margin-right: 4px; }
@media (max-width: 760px) { .news-titcell { grid-area: tit; } }

/* 콘텐츠룸 허브 */
.hub-wrap { max-width: 1180px; }
.hub-jump { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hub-jump a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; }
.hub-jump a:hover { border-color: var(--brand); color: var(--brand); }
.hub-row { padding-block: clamp(56px, 7vw, 96px); }
.hub-page + .hub-row { padding-top: 8px; }
.hub-row-alt { background: #fff; }
.hub-row-dark { background: #1d1720; color: #fff; }
.hub-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.hub-head h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.hub-head p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }
.hub-row-dark .hub-head p, .hub-row-dark .hub-note { color: rgba(255,255,255,.72); }
.hub-row-dark .link-arrow, .hub-row-dark .hub-note a { color: #fff; }
.hub-head .link-arrow { flex: none; font-size: 14px; }
.hub-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub-card a { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, transform .2s; }
.hub-row-alt .hub-card a { background: var(--paper); }
.hub-card a:hover { border-color: var(--brand); transform: translateY(-3px); }
.hub-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hub-card-top .news-type { justify-self: auto; }
.hub-card-press { font-size: 13px; color: var(--ink-soft); }
.hub-card-tit { font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.hub-card .news-tr { margin-top: 0; }
.hub-card-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.hub-card-go { color: var(--brand); }
.vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vid-btn { width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vid-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.vid-btn:hover .vid-thumb img { transform: scale(1.04); }
.vid-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 40px; transform: translate(-50%, -50%); border-radius: 12px; background: rgba(255,0,0,.92); }
.vid-play::after { content: ""; position: absolute; left: 22px; top: 12px; border-style: solid; border-width: 8px 0 8px 14px; border-color: transparent transparent transparent #fff; }
.vid-title { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.hub-note { margin-top: 24px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.hub-note a { text-decoration: underline; text-underline-offset: 3px; }
.vid-grid-light .vid-title { color: var(--ink); }
.vids-page .vid-grid { margin-top: 40px; }
.hub-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hub-banner { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 36px); border-radius: 18px; min-height: 180px; transition: transform .2s; }
.hub-banner:hover { transform: translateY(-3px); }
.hub-banner strong { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; }
.hub-banner > span:not(.t-eyebrow):not(.link-arrow) { font-size: 14.5px; opacity: .85; }
.hub-banner .link-arrow { margin-top: auto; font-size: 14px; align-self: flex-start; }
.hub-banner-event { background: linear-gradient(135deg, #efe4f6, #e3d6ee); }
.hub-banner-sns { background: #fff7cc; }
.vid-dialog { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; background: #000; color: #fff; overflow: visible; }
.vid-dialog::backdrop { background: rgba(10, 8, 12, .8); }
.vid-frame { aspect-ratio: 16 / 9; }
.vid-frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 16px 16px 0 0; }
.vid-dlg-title { padding: 14px 18px 16px; font-size: 15px; }
.vid-close { position: absolute; top: -52px; right: 0; }
@media (max-width: 900px) { .hub-cards, .vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-cards, .vid-grid, .hub-banners { grid-template-columns: 1fr; } .hub-head { flex-direction: column; align-items: flex-start; } }
.hub-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-banner-ig { background: linear-gradient(135deg, #fde7ef, #efe4fb); }
@media (max-width: 600px) { .hub-banners { grid-template-columns: 1fr; } }
.vid-ch { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.vid-grid-light .vid-ch { color: var(--ink-soft); }
.hub-banner-ig strong { font-size: clamp(17px, 1.6vw, 22px); overflow-wrap: anywhere; }
.hub-row-dark .vid-tr { color: rgba(255,255,255,.66); }
.vid-dlg-tr { padding: 0 18px 16px; margin-top: -8px; font-size: 13px; color: rgba(255,255,255,.7); }
/* 콘텐츠룸 가독성: 게시판 제목을 키우고 행 간격·호버를 주며, 허브 카드는 구분 색 띠와 3줄 제목 */
.news-row { padding: 22px 8px; transition: background-color .2s; }
.news-row:hover { background: rgba(107,69,150,.04); }
.news-tit { font-size: 16.5px; font-weight: 600; line-height: 1.55; letter-spacing: -.01em; color: var(--ink); }
.news-tit::after { color: var(--brand); }
.news-tr { margin-top: 6px; font-size: 13.5px; line-height: 1.6; }
.news-press, .news-date { color: #5d5862; }
.hub-card a { position: relative; gap: 14px; padding: 26px 24px 22px; overflow: hidden; }
.hub-card a::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--brand); }
.hub-card:has(.news-t-column) a::before { background: #b08a63; }
.hub-card-tit { font-size: 18px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hub-card .news-tr { font-size: 13.5px; line-height: 1.6; }
@media (max-width: 760px) { .news-tit { font-size: 16px; } .news-row { padding: 18px 4px; } .hub-card-tit { font-size: 17px; } }
/* 모바일 하단 상담 바: 아이콘 위·글자 아래로 쌓아 두 줄 문구도 잘리지 않게 (Codex 검증 반영) */
@media (max-width: 1023px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .fab-menu a { flex-direction: column; justify-content: center; gap: 4px; height: 66px; padding: 4px 4px; font-size: 11.5px; line-height: 1.2; overflow: hidden; }
  html:not([lang="ko"]) .fab-menu a { font-size: 10.5px; }
  .fab-menu a .ico { margin: 0; width: 18px; height: 18px; flex: none; }
}
/* 모바일 푸터: SNS 링크가 4개라 줄바꿈 허용(화면보다 넓어져 전체가 축소되던 문제) */
@media (max-width: 1023px) { .footer-inner { grid-template-columns: minmax(0, 1fr); } .footer-sns { flex-wrap: wrap; gap: 10px 18px; } }

/* 콘텐츠룸 인스타그램: 고른 게시물 3개만, 나머지는 인스타그램에서 */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ig-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; transition: border-color .2s, transform .2s; }
.ig-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.ig-img { display: block; aspect-ratio: 1; background: #f4f1f6; }
.ig-img img { width: 100%; height: 100%; object-fit: cover; }
.ig-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.ig-body strong { font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.ig-body time { margin-top: auto; font-size: 13px; color: var(--ink-soft); }
.ig-more { margin-top: 28px; text-align: center; }
.btn-ig { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; }
.btn-ig:hover { background: var(--brand); }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ig-grid { grid-template-columns: 1fr; } }

/* 홈 보도 팝업: 선정 축하 포스터 */
.news-pop { width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 18px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 30px 80px rgba(20,16,24,.4); font-family: var(--font-sans); }
.news-pop[open] { display: flex; flex-direction: column; }
.news-pop::backdrop { background: rgba(20,16,24,.6); }
.news-pop-body { min-height: 0; overflow: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
.news-pop-body:focus { outline: none; }
.pp-poster { container-type: inline-size; position: relative; text-align: center; color: #fff2d5; background: #230e16 url('/assets/gen/pop-award.webp') center bottom / 100% auto no-repeat; }
.pp-heading { position: relative; min-height: 55cqi; padding: 7cqi 7cqi 0; }
.pp-kicker { font-family: var(--font-display); font-size: clamp(11px, 3.2cqi, 14px); font-weight: 600; letter-spacing: .22em; color: #f3d99c; }
.pp-clinic { margin-top: 3cqi; font-size: clamp(12px, 3.5cqi, 15px); font-weight: 500; line-height: 1.5; color: #f8eedc; }
.pp-title { margin-top: 3cqi; font-size: clamp(22px, 7cqi, 31px); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; text-wrap: balance; }
.pp-title > span, .pp-year > span { color: #f8d78d; background: linear-gradient(170deg, #fff4ce 8%, #e7b858 35%, #fff2bb 50%, #d6a445 72%, #ffdf92 92%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.pp-title strong { display: block; width: fit-content; max-width: 100%; margin: 3cqi auto 0; padding: 5px 25px; border: 1px solid #ffe3a2; border-radius: 3px; font-size: .62em; font-weight: 700; line-height: 1.45; letter-spacing: .03em; color: #38200d; background: linear-gradient(110deg, #c58f35, #ffecb4 48%, #dfb35d); box-shadow: 0 3px 14px #09020655; }
.pp-year { height: 70cqi; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24% 15cqi; }
.pp-year > span { font-family: var(--font-display); font-size: 23cqi; font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.pp-by { margin-top: 2cqi; font-size: clamp(11px, 3.1cqi, 14px); font-weight: 500; line-height: 1.45; color: #f5dca8; text-wrap: balance; text-shadow: 0 2px 4px #16080c; }
.pp-source { padding: 20px 22px; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); background: #fff; }
.news-pop-label { font-size: 11px; font-weight: 600; color: #6b4596; }
.pp-headline { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.pp-source .news-tr { margin: 0; font-size: 12px; line-height: 1.65; }
.news-pop-fine { font-size: 12px; padding: 10px 12px; border-radius: 6px; background: #f7f4fa; }
.pp-link { align-self: flex-start; font-size: 13px; font-weight: 600; color: #6b4596; text-decoration: underline; text-underline-offset: 4px; }
.news-pop-foot { display: flex; border-top: 1px solid var(--line); flex: none; background: #fff; }
.news-pop-foot button { flex: 1; min-width: 0; min-height: 48px; padding: 12px 10px; border: 0; background: #fff; font: inherit; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; color: var(--ink-soft); cursor: pointer; }
.news-pop-foot button + button { border-left: 1px solid var(--line); color: #6b4596; font-weight: 700; }
.news-pop-foot button:hover { background: #f7f4fa; }
.news-pop-foot button:focus-visible, .pp-link:focus-visible { outline: 2px solid #6b4596; outline-offset: -3px; }
@media (forced-colors: active) { .pp-title > span, .pp-year > span { background: none; -webkit-text-fill-color: currentColor; filter: none; } }
/* 데스크톱: 홈 왼쪽 문구·CTA를 가리지 않게 가운데보다 오른쪽, 우측 아이콘 바(.quickbar) 바로 안쪽에 띄운다 */
@media (min-width: 1200px) {
  .news-pop { width: clamp(360px, calc(100vw - 900px), 440px); margin: auto calc(max(24px, (100vw - 1440px) / 2 + 40px) + 102px) auto auto; }
  .news-pop::backdrop { background: rgba(20,16,24,.32); }
}

/* 홈 '고민으로 찾기' (20~40대 고객: 고민 → 시간·마취·회복 → 시작 가격 → 상세) */
.concern { background: var(--white); }
.concern-grid { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.concern-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.concern-card:hover { border-color: var(--brand-soft); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(43,34,48,.10); }
.concern-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.concern-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.concern-card:hover .media img { transform: scale(1.04); }
.concern-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.concern-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.concern-body > p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.concern-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.concern-facts div { display: flex; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #f4eff8; font-size: 12.5px; line-height: 1.4; }
.concern-facts dt { font-weight: 600; color: var(--brand); white-space: nowrap; }
.concern-facts dd { color: var(--ink); }
.concern-foot { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); }
.concern-foot strong { font-size: 17px; font-weight: 700; color: var(--brand); }
.concern-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); text-align: center; }
.concern-others { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.concern-others span { font-size: 14px; font-weight: 600; margin-right: 4px; }
.concern-others a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; background: #fff; }
.concern-others a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 1000px) { .concern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .concern-grid { grid-template-columns: 1fr; } .concern-body h3 { font-size: 18px; } }

/* 홈 '처음 오시는 분께' */
.first-visit { background: var(--paper); }
.fv-steps { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: fv; }
.fv-steps li { display: flex; flex-direction: column; gap: 8px; }
.fv-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #fff; }
.fv-img img { width: 100%; height: 100%; object-fit: cover; }
.fv-no { margin-top: 6px; font-family: var(--font-display); font-size: 14px; letter-spacing: .14em; color: var(--brand); }
.fv-steps h3 { font-size: 18px; font-weight: 700; }
.fv-steps p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.fv-notes { margin: 28px auto 0; max-width: 820px; padding: 18px 22px; border-radius: 14px; background: #fff; display: grid; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.fv-notes li { padding-left: 16px; position: relative; }
.fv-notes li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-soft); }
.fv-cta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 900px) { .fv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fv-steps { grid-template-columns: 1fr; } }

/* 한국어 홈 하단 보도 소식 띠 */
.news-strip { background: linear-gradient(90deg, #2b2230, #4a3260); color: #fff; }
.news-strip-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-block: 18px; }
.news-strip-tag { padding: 4px 10px; border-radius: 999px; background: rgba(231,201,140,.18); color: #e7c98c; font-size: 12.5px; font-weight: 600; }
.news-strip p { flex: 1; min-width: 220px; font-size: 15px; }
.news-strip p span { color: rgba(255,255,255,.7); font-size: 13.5px; margin-left: 4px; }
.news-strip .link-arrow { color: #fff; }
/* 외국어: 첫 상담 버튼이 인스타그램 DM일 때 */
.quickbar a.is-ig:first-child, .fab-menu a.is-ig:first-child { background: linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4); color: #fff; }
.quickbar a.is-ig:first-child:hover { background: linear-gradient(135deg, #dd2a7b, #8134af); color: #fff; }
.concern-facts div { border-radius: 10px; }
/* 모바일 홈: 이달의 이벤트 8장을 세로로 길게 쌓지 않고 옆으로 넘겨 보게(바로 아래 '고민으로 찾기'까지 빨리 닿도록) */
@media (max-width: 760px) {
  #event .event-grid { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: 0; padding: 4px 0 14px; scrollbar-width: none; }
  #event .event-grid::-webkit-scrollbar { display: none; }
  #event .event-grid > li { flex: 0 0 80%; scroll-snap-align: start; }
}
@media (max-width: 760px) { #event .event-grid { max-width: none; } #event .event-grid .card { margin-top: 0 !important; transform: none !important; } }
.concern-price { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 100%; }
.concern-price small { font-size: 12px; line-height: 1.45; color: var(--ink-soft); }
.concern-foot .link-arrow { margin-left: auto; }

/* 이달의 이벤트: '딜 보드'형 — 큰 헤드라인, 할인율 배지, 가격 위계, 첫 카드는 병원 이벤트 포스터 */
#event { background: linear-gradient(180deg, #f6f0fa 0%, var(--paper) 100%); }
.ev-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: clamp(24px, 3vw, 36px); }
.ev-h { margin-top: 8px; font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.ev-sub { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.ev-deals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: none; align-items: stretch; }
.ev-deals .card { margin-top: 0 !important; transform: none !important; }
.js .ev-deals .card.reveal.is-visible { transform: none !important; }
.ev-deals .card a { height: 100%; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 22px 22px 20px; border-radius: 20px; }
.ev-deals .card-feature { grid-row: span 2; }
.ev-deals .card-feature a { padding-top: 0; }
.card-poster { display: block; margin: 0 -22px 18px; width: calc(100% + 44px); aspect-ratio: 1; overflow: hidden; border-radius: 20px 20px 0 0; }
.card-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-feature a:hover .card-poster img { transform: scale(1.04); }
.card-top { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-pct { padding: 4px 10px; border-radius: 999px; background: #ffe1ec; color: #c2185b; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.card-pct::before { content: "−"; }
.ev-deals .card-title { margin-top: 14px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.ev-deals .card-item { margin-top: 8px; }
.ev-deals .card-price { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; font-size: 34px; line-height: 1.1; }
.ev-deals .card-price s { font-size: 15px; margin: 0 0 4px; }
.ev-deals .card-cond { margin-top: 8px; }
.ev-deals .card-more { margin-top: 14px; align-self: stretch; text-align: center; }
@media (max-width: 1100px) { .ev-deals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ev-deals .card-feature { grid-row: auto; }
  .ev-h { font-size: 28px; }
  .ev-head .btn { width: 100%; justify-content: center; }
}
.ev-deals .card a { aspect-ratio: auto; justify-content: flex-start; } .ev-deals { margin-top: 0; }
/* 남포점: 대표 장비 3종 */ .equip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
/* 첫 화면: 영상(클로즈업)이 더 밝고 크게 보이도록 어두운 막을 왼쪽 글자 쪽에만 두고 오른쪽은 걷어 낸다 */
.hero-walk-shade { background: linear-gradient(90deg, rgba(28, 22, 32, .60) 0%, rgba(28, 22, 32, .34) 48%, rgba(28, 22, 32, .10) 100%); }
@media (max-width: 760px) { .hero-walk-shade { background: linear-gradient(180deg, rgba(28, 22, 32, .30) 0%, rgba(28, 22, 32, .52) 55%, rgba(28, 22, 32, .62) 100%); } }
/* 이벤트 상단 글자 카드(포스터 없는 이벤트) */
.ev-tile { height: 100%; aspect-ratio: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.ev-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--brand-soft), 0 12px 28px rgba(43,34,48,.08); }
.ev-tile-1 { background: var(--brand); color: #fff; box-shadow: none; }
.ev-tile-2 { background: #efe8f5; }
.ev-tile-3 { background: var(--plum); color: #fff; box-shadow: none; }
.ev-tile-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .14em; opacity: .85; }
.ev-tile strong { font-size: 17px; font-weight: 700; line-height: 1.35; }
.ev-tile-item { font-size: 12.5px; opacity: .8; line-height: 1.4; }
.ev-tile-price { margin-top: auto; display: flex; flex-direction: column; font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.ev-tile-price s { font-size: 13px; opacity: .6; }
.ev-tile-go { font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
@media (max-width: 600px) { .ev-tile { aspect-ratio: auto; min-height: 210px; } .ev-tile strong { font-size: 15px; } .ev-tile-price { font-size: 22px; } }

/* 이벤트 카드 이미지(공식 이벤트 이미지에서 자른 800×560): 홈 딜 카드·이벤트 상단 카드 */
.ev-deals .card.has-thumb a { padding-top: 0; }
.card-poster.card-thumb { aspect-ratio: 10 / 7; margin-bottom: 14px; }
.ev-tile.has-img { aspect-ratio: auto; padding-top: 0; overflow: hidden; }
.ev-tile-img { display: block; margin: 0 -18px 12px; aspect-ratio: 10 / 7; overflow: hidden; border-radius: 12px 12px 0 0; }
.ev-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ev-tile.has-img:hover .ev-tile-img img, .ev-deals .card a:hover .card-thumb img { transform: scale(1.04); }
.ev-banners li > a > img { aspect-ratio: auto; }

/* 이미지 이벤트 카드: 평소 이미지, 마우스 오버·키보드 포커스 때 글자 */
.evi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px; }
.evi { position: relative; display: block; aspect-ratio: 10 / 7; border-radius: 16px; overflow: hidden; background: #1d1720; isolation: isolate; box-shadow: 0 10px 28px rgba(43,34,48,.10); }
.evi-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.evi.is-poster .evi-img { object-fit: contain; }
.evi-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(.8); transform: scale(1.1); }
.evi-pct { position: absolute; top: 12px; right: 12px; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.evi-over { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 20px 20px 18px; color: #fff; background: linear-gradient(180deg, rgba(20,16,24,.15) 0%, rgba(20,16,24,.72) 45%, rgba(20,16,24,.92) 100%); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.evi:hover .evi-over, .evi:focus-visible .evi-over { opacity: 1; transform: none; }
.evi:hover .evi-img, .evi:focus-visible .evi-img { transform: scale(1.05); filter: blur(1px); }
.evi-kicker { font-size: 11px; letter-spacing: .16em; opacity: .8; }
.evi-title { font-size: 18px; font-weight: 700; line-height: 1.35; }
.evi-item { font-size: 13px; opacity: .85; line-height: 1.4; }
.evi-price { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-size: 28px; line-height: 1.1; }
.evi-price s { font-size: 14px; opacity: .65; }
.evi-cond { font-size: 12px; opacity: .8; line-height: 1.45; }
.evi-more { margin-top: 4px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* 마우스 없는 화면: 아래쪽에 제목·가격만 늘 보이게 */
@media (hover: none) {
  .evi-over { opacity: 1; transform: none; justify-content: flex-end; background: linear-gradient(180deg, rgba(20,16,24,0) 52%, rgba(20,16,24,.86) 100%); padding: 14px; gap: 2px; }
  .evi-kicker, .evi-item, .evi-cond, .evi-more { display: none; }
  .evi-title { font-size: 14px; }
  .evi-price { font-size: 20px; }
  .evi-price s { font-size: 12px; }
}
@media (max-width: 1100px) { .evi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 760px) { #event .evi-grid { display: flex !important; } #event .evi-grid > li { flex: 0 0 82%; } }
.ev-banners .evi { box-shadow: none; }

/* 이벤트 이미지 카드: 공식 이미지를 자르지 않고 전체 표시 — 글자 오버레이·배지 없음(텍스트는 화면 밖에 남겨 검색·AI용) */
.ev-banners ul { display: block !important; columns: 3 260px; column-gap: 14px; max-width: 1080px; }
.ev-banners li { break-inside: avoid; margin-bottom: 14px; }
.evi { aspect-ratio: auto !important; background: transparent; box-shadow: 0 6px 18px rgba(43,34,48,.08); }
.evi-img, .evi.is-poster .evi-img { position: static; display: block; width: 100%; height: auto; object-fit: initial; }
.evi-bg, .evi-pct { display: none !important; }
.evi-over { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 1; }
.evi:hover .evi-img, .evi:focus-visible .evi-img { transform: translateY(-2px); filter: none; }

/* 홈 이벤트: 한 줄 띠 배너 */
.evband { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 44px 48px; border-radius: 28px; background: #2b2230; color: #fff; }
.evband .t-eyebrow { color: #d9c3f0; }
.evband-h { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1.1; margin: 6px 0 12px; color: #fff; }
.evband-sub { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 24px; }
.evband-btn { background: #fff; color: #2b2230; border-color: #fff; }
.evband-btn:hover { background: #efe6f8; }
.evband-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.evband-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "ev price" "item price" "cond price"; column-gap: 20px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: inherit; text-decoration: none; transition: background .2s, transform .2s; }
.evband-list a:hover { background: rgba(255,255,255,.13); transform: translateX(3px); }
.evband-ev { grid-area: ev; font-size: 12px; color: rgba(255,255,255,.6); }
.evband-item { grid-area: item; font-size: 16px; font-weight: 600; line-height: 1.4; margin: 2px 0; }
.evband-cond { grid-area: cond; font-size: 12px; color: rgba(255,255,255,.6); }
.evband-price { grid-area: price; align-self: center; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.evband-price s { font-size: 13px; color: rgba(255,255,255,.5); }
.evband-price b { font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.evband-pct { align-self: center; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e7d6f7; color: #4b2e6e; }
@media (max-width: 900px) {
  .evband { grid-template-columns: 1fr; gap: 24px; padding: 32px 22px; border-radius: 22px; }
  .evband-sub { margin-bottom: 18px; }
  .evband-list a { grid-template-columns: 1fr; grid-template-areas: "ev" "item" "price" "cond"; padding: 14px 16px; }
  .evband-price { margin: 4px 0 2px; } .evband-price b { font-size: 24px; }
}
.evi-cap { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--muted, #6f6676); }
.ev-detail-note { margin: 0 0 10px; padding: 0 6px; font-size: 12.5px; color: var(--ink-soft); }

/* 남포점: 첫 화면 광고 영상 고지 */
.hero-walk-note { position: absolute; right: 20px; bottom: 16px; z-index: 2; margin: 0; font-size: 11px; letter-spacing: .02em; color: rgba(255,255,255,.72); text-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* 홈 이달의 이벤트: 공식 사이트 팝업처럼 포스터 + 이벤트 목록 */
.evpop { padding: 40px 44px 44px; border-radius: 28px; background: #2b2230; color: #fff; }
.evpop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.evpop-head .t-eyebrow { color: #c9b6e4; }
.evpop-head .ev-h { color: #fff; margin: 6px 0 8px; }
.evpop-head .ev-sub { color: rgba(255,255,255,.7); margin: 0; }
.evpop-head .btn-line { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; white-space: nowrap; }
.evpop-head .btn-line:hover { background: #fff; color: #2b2230; }
.evpop-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px; align-items: start; }
.evpop-stage { position: relative; }
.evpop-slide { display: block; color: inherit; text-decoration: none; }
.evpop-slide[hidden] { display: none; }
.evpop-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; max-height: 640px; width: 100%; border-radius: 18px; overflow: hidden; background: #f4eff7; }
.evpop-img img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.evpop-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.72); }
.evpop-cap b { flex: none; color: #fff; font-weight: 600; }
.evpop-list { display: flex; flex-direction: column; gap: 6px; max-height: 640px; overflow-y: auto; scrollbar-width: thin; }
.evpop-tab { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 14px 16px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s; }
.evpop-tab:hover { background: rgba(255,255,255,.14); }
.evpop-tab.is-on { background: #c296e5; color: #1f1724; }
.evpop-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.evpop-tt { font-size: 15px; font-weight: 600; line-height: 1.35; }
.evpop-deal { font-size: 12.5px; opacity: .78; }
@media (max-width: 900px) {
  .evpop { padding: 28px 20px 24px; border-radius: 22px; }
  .evpop-head { flex-direction: column; align-items: flex-start; }
  .evpop-body { grid-template-columns: 1fr; }
  .evpop-list { order: -1; flex-direction: row; overflow-x: auto; max-height: none; padding-bottom: 6px; }
  .evpop-tab { flex: 0 0 auto; width: auto; max-width: 240px; padding: 10px 14px; }
  .evpop-deal { display: none; }
  /* 모바일: 포스터를 손으로 좌우로 넘기는 슬라이드(다음 포스터가 살짝 보이게) */
  .evpop-stage { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; margin-right: -20px; padding-right: 20px; }
  .evpop-stage::-webkit-scrollbar { display: none; }
  .evpop-slide, .evpop-slide[hidden] { display: block; flex: 0 0 86%; scroll-snap-align: start; }
  .evpop-cap { flex-direction: column; gap: 4px; }
}

/* 밴스 베스트 아이템 (공식 광고 영상) — 첫 화면 바로 아래 */
.brand-reel { background: #141214; color: #f4f1f5; }
.brand-reel .t-eyebrow { color: #c9b6e4; }
.brand-reel .t-h2 { color: #fff; }
.brand-reel .t-sub { color: rgba(255,255,255,.72); max-width: 640px; margin-left: auto; margin-right: auto; }
.brand-reel-head { text-align: center; }
.brand-reel-video { margin: 40px auto 0; max-width: 1200px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.brand-reel-video video { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-reel-items { list-style: none; margin: 24px auto 0; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.brand-reel-items a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.brand-reel-items a:hover, .brand-reel-items a:focus-visible { border-color: #c9b6e4; background: rgba(255,255,255,.05); }
.brand-reel-items b { font-size: 15px; font-weight: 600; }
.brand-reel-items span { font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.brand-reel-note { margin: 16px auto 0; max-width: 1200px; font-size: 12px; color: rgba(255,255,255,.55); text-align: center; }
@media (max-width: 760px) { .brand-reel-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } .brand-reel-video { margin-top: 28px; border-radius: 12px; } }
@media (max-width: 760px) { .brand-reel-items li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 베스트 아이템(어두운 영상 섹션) 바로 뒤 이벤트 띠: 서로 붙어 보이지 않게 위 여백 */
.brand-reel + #event { padding-top: 96px; }
@media (max-width: 760px) { .brand-reel + #event { padding-top: 56px; } }
/* 남포점 첫 화면: 정지 이미지(밴스 로고 사인) — 모바일에서도 로고가 가운데 보이게 */
.hero-walk-still { object-position: 61% 50%; }

/* 시술 후 주의사항 (/aftercare/) */
.ac-wrap { max-width: 880px; }
.ac-head { text-align: center; margin-bottom: 32px; }
.ac-head .t-sub { margin-left: auto; margin-right: auto; max-width: 620px; }
.ac-alert { margin: 18px auto 0; max-width: 680px; padding: 14px 18px; border-radius: 12px; background: #f6f0fa; color: #3b2f44; font-size: 14px; line-height: 1.6; text-align: left; }
.ac-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.ac-contact .btn-kakao { background: #fee500; color: #191919; border-color: #fee500; }
.ac-jump { margin: 0 0 24px; }
.ac-jump-h { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-soft, #6f6676); }
.ac-jump ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ac-jump a { display: inline-block; padding: 7px 12px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; font-size: 13px; color: inherit; text-decoration: none; background: #fff; }
.ac-jump a:hover, .ac-jump a:focus-visible { border-color: #8a5fb0; color: #5b3a78; }
.ac-list { border-top: 1px solid rgba(0,0,0,.1); }
.ac-item { border-bottom: 1px solid rgba(0,0,0,.1); scroll-margin-top: 96px; }
.ac-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; }
.ac-item summary::-webkit-details-marker { display: none; }
.ac-item summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 300; line-height: 1; color: #8a5fb0; }
.ac-item[open] summary::after { content: "−"; }
.ac-item ul { margin: 0 0 20px; padding: 0 4px 0 22px; list-style: disc; }
.ac-item li::marker { color: #8a5fb0; }
.ac-item li { margin: 0 0 8px; font-size: 14.5px; line-height: 1.7; color: #3a333f; }
.ac-item li.ac-sub { list-style: none; margin: 16px 0 8px -18px; font-weight: 600; color: #5b3a78; }
.ac-src { margin-top: 20px; font-size: 12.5px; color: var(--ink-soft, #6f6676); text-align: center; }
@media (max-width: 760px) { .ac-item summary { font-size: 15px; padding: 16px 2px; } .ac-jump a { font-size: 12.5px; padding: 6px 10px; } }

/* 외국어 이벤트 뷰어: 공식 번역 포스터 / 포스터가 없을 때 번역 가격 카드 (_shared/foreign-events.mjs) */
.evpop-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.62); }
.evpop-img.evpop-card { align-items: stretch; background: linear-gradient(160deg, #f6f0fa 0%, #efe6f6 100%); }
.evpop-card-in { display: flex; flex-direction: column; justify-content: center; gap: 22px; width: 100%; padding: 40px 36px; color: #2b2230; }
.evpop-card-h { font-size: 26px; line-height: 1.3; font-weight: 700; }
.evpop-card-list { display: flex; flex-direction: column; gap: 12px; }
.evpop-card-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 12px; background: #fff; }
.evpop-card-n { font-size: 15px; font-weight: 600; line-height: 1.4; }
.evpop-card-n small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: #6f6676; }
.evpop-card-row b { flex: none; font-size: 22px; color: #7b3fb0; }
.ev-fe { margin-top: 32px; }
@media (max-width: 760px) { .evpop-card-in { padding: 24px 18px; gap: 14px; } .evpop-card-h { font-size: 20px; } .evpop-card-row b { font-size: 18px; } }

.evpop-card-cond { font-size: 14px; line-height: 1.5; color: #6b5f70; margin-top: -10px; }

/* 가격표 모바일: 분류 버튼을 한 줄 가로 스크롤로 접고 소개 여백을 줄여 첫 가격이 첫 화면 가까이 보이게 (prices-index 모바일, 2026-11-17) */
@media (max-width: 767px) {
  .prices-hero { padding-bottom: 0; }
  .prices-hero .t-sub { font-size: 14px; }
  .prices-index { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-top: 16px; padding-inline: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .prices-index::-webkit-scrollbar { display: none; }
  .prices-index > a { flex: 0 0 auto; white-space: nowrap; }
}

/* 긴 낱말 줄바꿈: 공백 없이 / 로 이어진 외국어 제목(Whitening/melasma/…)이 모바일 화면을 넓히지 않게 (2026-11-17 Codex) */
h1, h2, h3, .t-h2, .t-title { overflow-wrap: anywhere; }

/* 이벤트 페이지 — 본사 이벤트 포스터 전체 (_shared/official-lib.mjs) */
.ev-official { margin-top: 48px; }
.ev-official-h { font-size: 20px; font-weight: 600; text-align: center; }
.ev-official-h span { font-size: 14px; color: var(--muted, #888); margin-left: 4px; }
.ev-official-sub { text-align: center; font-size: 14px; color: var(--muted, #888); margin-top: 6px; }
.ev-official-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ev-official-grid a { display: block; color: inherit; text-decoration: none; }
.ev-official-grid img { width: 100%; height: auto; display: block; border-radius: 10px; background: #f4f1ee; }
.ev-official-cap { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; }
@media (max-width: 767px) { .ev-official-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

/* 모바일 긴 외국어 낱말(몽골어·러시아어)이 화면을 넓히지 않게 (2026-11-17 브라우저 점검) */
.concern-card, .concern-card * { min-width: 0; overflow-wrap: anywhere; }
.fab, .fab-menu { max-width: calc(100vw - 16px); }
.fab-menu a, .fab-menu button { white-space: normal; }

.ev-src-note { margin-top: 12px; font-size: 13px; color: var(--muted, #777); }
.ev-official-note { display: block; margin-top: 4px; font-size: 12px; color: #b4232a; line-height: 1.4; }

/* ev-inner 그리드 줄바꿈: 긴 외국어 조건 문장이 이벤트 칸을 화면 밖으로 넓히지 않게 (2026-11-17) */
.ev-inner > *, .ev-head, .ev-body, .price-group { min-width: 0; }
.ev-head, .ev-body, .ev-cond, .ev-sub { overflow-wrap: anywhere; }

/* 장비 페이지 모바일 2열: 홈용 3열 규칙이 장비 소개 카드까지 좁혀 글자가 끊기던 문제 (2026-11-17 브라우저 점검) */
@media (max-width: 767px) {
  .equip-group .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; margin-top: 20px; }
  .equip-group .equip-grid h3, .equip-group .equip-grid small { overflow-wrap: normal; word-break: keep-all; }
}
@media (max-width: 380px) { .equip-group .equip-grid { grid-template-columns: 1fr; } }

/* 상단 메뉴 넘침 방지: 한국어는 1280px, 일본어·중국어는 1680px 미만에서 햄버거 메뉴로 (메뉴가 길어 상담 버튼이 화면 밖으로 밀리던 문제, 2026-11-17) */
@media (min-width: 1024px) and (max-width: 1279px) {
  html[lang="ko"] .gnb { display: none; }
  html[lang="ko"] .header-util { display: flex; margin-left: auto; gap: 0; }
  html[lang="ko"] .header-util > :not(.lang-menu) { display: none; }
  html[lang="ko"] .menu-toggle { display: flex; margin-left: 16px; }
}
@media (min-width: 1024px) and (max-width: 1679px) {
  html[lang="ja"] .gnb, html[lang^="zh"] .gnb { display: none; }
  html[lang="ja"] .header-util, html[lang^="zh"] .header-util { display: flex; margin-left: auto; gap: 0; }
  html[lang="ja"] .header-util > :not(.lang-menu), html[lang^="zh"] .header-util > :not(.lang-menu) { display: none; }
  html[lang="ja"] .menu-toggle, html[lang^="zh"] .menu-toggle { display: flex; margin-left: 16px; }
}
/* 긴 언어 넓은 화면 햄버거: 일본어는 1920px 미만, 태국어·베트남어·인도네시아어·몽골어·러시아어는 2400px 미만에서 햄버거 메뉴 (2026-11-17) */
@media (min-width: 1680px) and (max-width: 1919px) {
  html[lang="ja"] .gnb { display: none; }
  html[lang="ja"] .header-util { display: flex; margin-left: auto; gap: 0; }
  html[lang="ja"] .header-util > :not(.lang-menu) { display: none; }
  html[lang="ja"] .menu-toggle { display: flex; margin-left: 16px; }
}
@media (min-width: 1680px) and (max-width: 2399px) {
  html[lang="th"] .gnb, html[lang="vi"] .gnb, html[lang="id"] .gnb, html[lang="mn"] .gnb, html[lang="ru"] .gnb { display: none; }
  html[lang="th"] .header-util, html[lang="vi"] .header-util, html[lang="id"] .header-util, html[lang="mn"] .header-util, html[lang="ru"] .header-util { display: flex; margin-left: auto; gap: 0; }
  html[lang="th"] .header-util > :not(.lang-menu), html[lang="vi"] .header-util > :not(.lang-menu), html[lang="id"] .header-util > :not(.lang-menu), html[lang="mn"] .header-util > :not(.lang-menu), html[lang="ru"] .header-util > :not(.lang-menu) { display: none; }
  html[lang="th"] .menu-toggle, html[lang="vi"] .menu-toggle, html[lang="id"] .menu-toggle, html[lang="mn"] .menu-toggle, html[lang="ru"] .menu-toggle { display: flex; margin-left: 16px; }
}
/* 몽골어 초광폭: 메뉴가 가장 길어 3000px 미만은 햄버거 */
@media (min-width: 2400px) and (max-width: 2999px) { html[lang="mn"] .gnb { display: none; } html[lang="mn"] .header-util { display: flex; margin-left: auto; gap: 0; } html[lang="mn"] .header-util > :not(.lang-menu) { display: none; } html[lang="mn"] .menu-toggle { display: flex; margin-left: 16px; } }

/* 이벤트 가격 줄 ↔ 포스터 높이 맞춤 (js/main.js, 데스크톱) — 포스터는 접지 않고 전체 표시 (2026-11-17) */
@media (min-width: 1024px) {
  .ev.ev-aligned .ev-detail.is-collapsed .ev-detail-imgs, .ev.ev-aligned .ev-detail .ev-detail-imgs { max-height: none; }
  .ev.ev-aligned .ev-detail::after { display: none; }
  .ev.ev-aligned .ev-detail-toggle { display: none; }
  .ev.ev-aligned .price-group { transition: none; }
}

/* '이벤트 포스터 전체' → 해당 이벤트 가격 묶음으로 이동 (_shared/event-verify.py가 링크를 심음, 2026-11-17) */
.ev .price-group[id] { scroll-margin-top: calc(var(--header-h) + 72px); }
.ev-official-go { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.ev .price-group:target, .ev:target .ev-head { animation: ev-target-flash 2.4s ease-out 1; border-radius: 10px; }
@keyframes ev-target-flash { 0%, 30% { box-shadow: 0 0 0 3px var(--brand-soft, #d9c8e6); background: rgba(217, 200, 230, .25); } 100% { box-shadow: 0 0 0 0 transparent; background: transparent; } }

/* 가격 칸 모바일 줄바꿈: 정상가·할인 표시·판매가가 한 줄 고정이라 긴 언어(베트남어 등)에서 화면이 넓어지던 문제 — 칸은 줄바꿈, 각 가격은 끊기지 않게 (2026-11-17) */
@media (max-width: 767px) {
  .price-table td { white-space: normal; }
  .price-table td > * { white-space: nowrap; display: inline-block; }
}

/* 가격표 첫 화면 여백: 제목·안내·목차 아래 여백을 줄여 첫 가격이 더 빨리 보이게 (2026-11-17 Codex) */
.prices-hero { padding-bottom: 8px; }
.prices-hero .t-sub, .prices-hero .prices-note { margin-bottom: 0; }
.prices-index { margin-top: 16px; padding-block: 8px; }
.subpage .prices-hero + .prices-cat { padding-top: 24px; }
@media (max-width: 767px) { .prices-hero { padding-top: 24px; } .prices-hero .t-title { font-size: 28px; } .subpage .prices-hero + .prices-cat { padding-top: 12px; } }
/* 가격표 데스크톱 첫 화면: 위 여백·제목 크기를 조금 줄임 */
@media (min-width: 768px) { .prices-hero { padding-top: 40px; } .prices-hero .t-title { font-size: clamp(32px, 3vw, 44px); } .subpage .prices-hero + .prices-cat { padding-top: 16px; } }
