/* v2 home: one fixed film stage, a fixed text layer, and a scroll track of stations (one viewport each). */
body { word-break: keep-all; overflow-wrap: break-word; }
html.snap { scroll-snap-type: y mandatory; }
.track { position: relative; pointer-events: none; }
.snap-pt { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; scroll-snap-stop: always; }
.snap-pt.snap-end { scroll-snap-align: end; }
.anchor { position: absolute; left: 0; width: 1px; height: 1px; }
.flow { scroll-snap-align: start; }
.site-footer { scroll-snap-align: end; }
.beats { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.beats .beat { pointer-events: none; }
.beats .beat.on { pointer-events: auto; }

/* Header links to the detail pages */
.page-links { display: inline-flex; gap: clamp(14px, 1.7vw, 30px); padding-left: clamp(14px, 1.7vw, 30px); margin-left: 4px; border-left: 1px solid var(--line); }
.page-links a { position: relative; color: var(--text); padding: 8px 0; white-space: nowrap; }
.page-links a:hover { color: var(--lit); }
.menu nav a.sub { font-size: clamp(20px, 5vw, 26px); color: var(--text-2); margin-top: 4px; }

/* Glass cards over bright interiors */
.beat.glass { --glass-tint: var(--glass-1); padding: 20px 22px; border-radius: var(--r-l); background: var(--glass-bg); border: 1px solid var(--panel-line); box-shadow: var(--panel-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

/* Two report notes shown at one station, either side of the phone */
.pair { left: max(var(--pad), 6vw); right: max(var(--pad), 6vw); top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; gap: 32px; }
.pair .annot-item { width: min(27vw, 380px); }
.pair .annot-item:last-child { text-align: left; }
.pair .num { font-size: 12px; letter-spacing: .1em; color: var(--label); margin-bottom: 14px; }
.pair .num::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--lit); vertical-align: middle; margin-right: 12px; }
.pair h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 14px; }
.pair .annot-item p:last-child { font-size: 15px; color: var(--text-2); }

/* Info stations: the film recedes to the left (desktop) or top (mobile); this panel takes the rest. */
.info { left: calc(var(--pad) + 52vw + 36px); right: var(--pad); top: calc(var(--header) + (100svh - var(--header)) / 2); transform: translateY(-50%); max-height: calc(100svh - var(--header) - 36px); display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.2vw, 34px); border-radius: var(--r-xl); background: var(--glass-bg); border: 1px solid var(--panel-line); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--panel-shadow), var(--shadow-1); overflow: hidden; }
.info .kicker { margin-bottom: 12px; }
.info-head h2 { font-size: clamp(26px, 2.5vw, 40px); line-height: 1.16; }
.info-lead { margin-top: 10px; font-size: 14px; color: var(--text-2); }
.info > * { flex: none; }
.info [data-scroll-y] { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--fill-5) transparent; }
.tabs { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.tabs button { position: relative; flex: 0 0 auto; min-height: 40px; padding: 0 0 2px; border: 0; background: none; font-size: 14px; color: var(--text-3); white-space: nowrap; transition: color .25s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); font-weight: 600; }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--mark); box-shadow: var(--mark-glow); }
.tlist { list-style: none; margin: -6px 0 0; padding: 0; }
.tlist li + li { border-top: 1px solid var(--divider); }
.titem { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; row-gap: 4px; align-items: baseline; padding: 15px 2px; transition: opacity .25s; }
.t-name { font-size: clamp(16px, 1.25vw, 19px); font-weight: 600; letter-spacing: -.02em; }
.t-price { font-size: clamp(15px, 1.15vw, 17px); font-weight: 600; color: var(--text); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-meta { grid-column: 1 / -1; font-size: var(--fs-row-meta); letter-spacing: .03em; color: var(--text-3); }
/* a running offer: its own line under the device line, across the row (.ui-marquee, 2026-11-13) */
.titem > .ui-marquee { grid-column: 1 / -1; }
.tlist:hover .titem { opacity: .55; }
.tlist .titem:hover { opacity: 1; }
.tlist .titem:hover .t-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--text-4); }
.t-all a { display: inline-flex; gap: 6px; padding: 14px 2px 4px; font-size: 13px; color: var(--text-2); }
.t-all a:hover { color: var(--text); }
.info-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.more-link { font-size: 15px; font-weight: 600; color: var(--text); }
.more-link span { display: inline-block; margin-left: 6px; transition: transform .3s var(--ease); }
.more-link:hover span { transform: translateX(4px); }

.doc-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; min-height: 0; }
.doc-track::-webkit-scrollbar { display: none; }
.dpoints { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dpoints li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.dpoints li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--lit); }
.doc-nav { display: flex; align-items: center; gap: 14px; }
.doc-nav .arrow { width: 40px; height: 40px; border-radius: var(--r-round); border: 1px solid var(--line); background: none; font-size: 16px; }
.doc-nav .arrow:hover { border-color: var(--line-4); }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: var(--r-round); border: 0; background: var(--fill-5); transition: background .25s, width .25s; }
.dots button[aria-current="true"] { width: 22px; border-radius: var(--r-xs); background: var(--solid); }

/* Quick links after the film */
.go-cards { max-width: 1360px; margin: clamp(56px, 7vw, 100px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.go { position: relative; display: grid; gap: 8px; padding: 30px 30px 28px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--fill-1); transition: background .3s, border-color .3s; }
.go:hover { background: var(--fill-3); border-color: var(--line-3); }
.go .caps { font-size: 11px; letter-spacing: .28em; color: var(--label); }
.go b { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; }
.go span:not(.caps) { color: var(--text-2); font-size: 15px; max-width: 460px; }
.go i { position: absolute; right: 28px; top: 28px; font-style: normal; font-size: 22px; }

@media (max-width: 1080px) {
  .page-links { gap: clamp(9px, 3vw, 22px); padding-left: clamp(9px, 3vw, 22px); }
  .page-links a { display: inline-flex; align-items: center; min-height: 34px; padding: 0; font-size: 12.5px; }
}
@media (max-width: 1080px) and (orientation: landscape) {
  .info { left: calc(var(--pad) + 52vw + 20px); }
}
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .pair { left: 14px; right: 14px; top: auto; bottom: calc(88px + env(safe-area-inset-bottom)); transform: none; display: grid; gap: 12px; padding: 16px 18px; border-radius: var(--r-l); background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .pair .annot-item { width: auto; }
  .pair .num { margin-bottom: 4px; }
  .pair h3 { font-size: 17px; margin-bottom: 2px; }
  .pair .annot-item p:last-child { font-size: 12.5px; line-height: 1.5; }
  .beat.glass { padding: 16px 18px; }
  .info { left: 10px; right: 10px; top: var(--info-top, calc(var(--header) + 22px + (100vw - 24px) * .5625)); bottom: calc(12px + env(safe-area-inset-bottom)); transform: none; max-height: none; gap: 12px; padding: 18px 18px 14px; border-radius: var(--r-l); }
  .info .kicker { display: none; }
  .info-head h2 { font-size: 21px; }
  .info-head h2 br { display: none; }
  .info-lead { margin-top: 4px; font-size: 12.5px; line-height: 1.5; }
  .tabs { gap: 18px; margin: 0 -18px; padding: 0 18px; }
  .tabs button { min-height: 36px; font-size: 13.5px; }
  .titem { padding: 11px 0; row-gap: 2px; }
  .t-name { font-size: 15.5px; }
  .t-price { font-size: 14.5px; }
  .tlist:hover .titem { opacity: 1; }
  .info-actions { padding-top: 12px; }
  .info-actions .book { min-height: 40px; padding: 0 18px; font-size: 13px; }
  .more-link { font-size: 14px; }
  .doc-nav .arrow { width: 34px; height: 34px; }
  .go-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html.snap { scroll-snap-type: y proximity; } }


/* ---- Doctor links: book with this doctor, WeChat consult, profile ---- */
.d-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.d-actions .book { min-height: 42px; padding: 0 18px; font-size: 14px; background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.d-ch, .d-share { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--fill-2); font-size: 14px; color: var(--text); transition: border-color .25s, background .25s; }
.d-ch:hover, .d-share:hover { border-color: var(--line-4); background: var(--fill-4); }
.d-profile { display: inline-flex; align-items: center; min-height: 42px; padding: 0 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.d-profile span { margin-left: 6px; transition: transform .3s var(--ease); }
.d-profile:hover span { transform: translateX(4px); }
.ico { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; background: center / contain no-repeat; }
.ico.wechat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2307C160' d='M9.2 3C4.9 3 1.5 5.9 1.5 9.5c0 2 1.1 3.8 2.8 5l-.7 2.2 2.6-1.3c.9.3 1.9.4 3 .4h.6a5.6 5.6 0 0 1-.3-1.8c0-3.4 3.3-6.1 7.3-6.1h.5C16.6 5 13.2 3 9.2 3Zm-2.6 3.6a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm5.2 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2Z'/%3E%3Cpath fill='%2307C160' d='M16.8 9.2c-3.5 0-6.3 2.3-6.3 5.2s2.8 5.2 6.3 5.2c.8 0 1.5-.1 2.2-.3l2.1 1.1-.6-1.8c1.5-1 2.5-2.5 2.5-4.2 0-2.9-2.8-5.2-6.2-5.2Zm-2.2 2.9a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6Zm4.4 0a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6Z'/%3E%3C/svg%3E"); }
/* Other consult channels (mainChannel): a plain speech bubble in the text colour. */
.ico.chat { background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5h11A2.5 2.5 0 0 1 20 6v7.5a2.5 2.5 0 0 1-2.5 2.5h-7l-4.5 4v-4A2.5 2.5 0 0 1 4 13.5V6a2.5 2.5 0 0 1 2.5-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5h11A2.5 2.5 0 0 1 20 6v7.5a2.5 2.5 0 0 1-2.5 2.5h-7l-4.5 4v-4A2.5 2.5 0 0 1 4 13.5V6a2.5 2.5 0 0 1 2.5-2.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.book.for-doctor { background: var(--solid); color: var(--on-solid); border-color: var(--solid); }

/* ---- Contact dialog (WeChat / LINE / WhatsApp / KakaoTalk) ---- */
.contact { padding: 0; border: 0; margin: 0 0 0 auto; height: 100vh; height: 100dvh; max-height: none; width: min(460px, 100vw); background: var(--bg-2); color: var(--text); box-shadow: var(--shadow-drawer); }
.contact[open] { animation: drawer .5s var(--ease); }
@keyframes drawer { from { transform: translateX(40px); opacity: 0; } }
.contact::backdrop { background: var(--shade-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* its close is a .ui-icon-btn (m); here only where it sits */
.contact .close { position: absolute; right: 22px; top: 22px; }
.contact-body { padding: 36px 32px 40px; display: grid; gap: 16px; }
.contact-body > .caps { font-size: 11px; letter-spacing: .3em; color: var(--label); }
.contact-body h2 { font-size: 28px; padding-right: 50px; }
.contact-body .lead { color: var(--text-2); font-size: 15px; }
.qr { width: 188px; aspect-ratio: 1; border-radius: var(--r-l); background: var(--solid); display: grid; place-items: center; position: relative; overflow: hidden;
  background-image: linear-gradient(90deg, var(--on-solid) 10px, transparent 10px), linear-gradient(var(--on-solid) 10px, transparent 10px); background-size: 20px 20px; background-position: 4px 4px; }
.qr::before, .qr::after { content: ""; position: absolute; width: 46px; height: 46px; border: 9px solid var(--on-solid); background: var(--solid); box-shadow: inset 0 0 0 7px var(--solid), inset 0 0 0 16px var(--on-solid); }
.qr::before { left: 14px; top: 14px; } .qr::after { right: 14px; top: 14px; }
.qr span { position: relative; z-index: 1; padding: 4px 10px; border-radius: var(--r-s); background: var(--solid); color: var(--on-solid); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.handle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--fill-2); }
.handle small { display: block; font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.handle b { font-size: 19px; letter-spacing: .01em; }
.ghost-sm { justify-self: start; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: none; font-size: 13px; color: var(--text); }
.ghost-sm:hover { border-color: var(--line-4); }
.how { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.how q { color: var(--text); }
.contact-book { display: grid; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.contact-book .book { justify-self: start; background: var(--solid); color: var(--on-solid); border-color: var(--solid); }
.other { font-size: 13px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.link { border: 0; background: none; padding: 4px 0; font-size: 13px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--text-4); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); padding: 10px 16px; border-radius: var(--r-pill); background: var(--solid); color: var(--on-solid); font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* A doctor's face, small (the other doctors on a profile page) */
.mini-face { width: 44px; height: 44px; flex: 0 0 auto; border-radius: var(--r-m); overflow: hidden; background: var(--face); display: grid; place-items: center; }
.mini-face img { width: 100%; height: 100%; object-fit: cover; }
.mini-face i { font-style: normal; font-weight: 600; color: var(--text-2); }
.mini-face.big { width: 72px; height: 72px; border-radius: var(--r-l); }


@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .info-actions .book.for-doctor { padding: 0 14px; }
  .contact-body { padding: 28px 20px calc(30px + env(safe-area-inset-bottom)); }
  .contact { margin: auto 0 0; width: 100vw; max-width: 100vw; height: auto; max-height: 92dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .contact[open] { animation: sheet .5s var(--ease); }
  .qr { width: 150px; }
}

/* Mobile info stations: the panel carries its own booking button, so the bottom bar steps aside. */
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .mobile-book { transition: opacity .3s, transform .3s var(--ease); }
  body.info-on .mobile-book { opacity: 0; transform: translateY(16px); pointer-events: none; }
}
@media (orientation: portrait) and (max-width: 900px) and (max-height: 740px) {
  .info-lead { display: none; }
  .info-head h2 { font-size: 19px; }
  .info { gap: 10px; padding: 14px 16px 12px; }
}
/* Keep the list's scrollbar clear of the prices. */
.info .tlist { padding-right: 10px; margin-right: -10px; }


/* ---- Doctor card (list page + home panel) ---- */
.doccard { container-type: inline-size; display: flex; flex-direction: column; gap: 18px; padding: 20px; border-radius: var(--r-xl); border: 1px solid var(--panel-line); background: var(--panel-bg); box-shadow: var(--panel-shadow); scroll-margin-top: calc(var(--header) + 80px); }
.dc-id { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: start; }
.dc-face { width: 76px; aspect-ratio: 1; border-radius: var(--r-m); overflow: hidden; background: var(--face); display: grid; place-items: center; }
.dc-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.dc-face i { font-style: normal; font-size: 26px; font-weight: 600; color: var(--text-2); }
.dc-who { display: grid; gap: 5px; align-content: start; min-width: 0; }
.dc-role { font-size: 12.5px; line-height: 1.1; color: var(--text-2); }
.dc-name { font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: var(--text); }
.dc-field { font-size: 13.5px; line-height: 1.35; color: var(--label); }
.dc-cred { font-size: 12.5px; line-height: 1.35; color: var(--text-3); }
.dc-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; line-height: 1.1; color: var(--text-2); white-space: nowrap; transition: color .25s; }
.dc-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.dc-id:hover .dc-more { color: var(--text); }
.dc-id:hover .dc-more svg { transform: translateX(3px); }
.dc-id:hover .dc-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--text-4); }
.dc-body { display: grid; gap: 14px; }
.dc-quote { font-size: 16px; line-height: 1.5; color: var(--text); }
.dc-label { margin-bottom: 8px; font-size: 12px; color: var(--text-3); }
.dc-treats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dc-treats li { padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: 12.5px; line-height: 1.3; color: var(--text-2); }
/* A doctor's first lines of background (cards, the home panel, the doctors layer). */
.d-bio, .dc-treats .d-bio { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; }
.d-bio li, .dc-treats .d-bio li { position: relative; padding: 0 0 0 16px; border: 0; border-radius: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.d-bio li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 1px; background: var(--lit); }
.dc-actions { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
/* Label on the left, icon in the same spot on the right, as on the doctor's own page. */
.dc-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 50px; padding: 0 18px 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: none; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; text-align: left; white-space: nowrap; transition: background .25s, border-color .25s; }
.dc-btn > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.dc-btn > svg, .dc-btn > .ico { flex: none; width: 20px; height: 20px; transition: transform .3s var(--ease); }
.dc-btn.primary { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.dc-btn.primary:hover { background: var(--lit); }
.dc-btn.primary:hover > svg { transform: translateX(3px); }
.dc-btn:not(.primary):hover { border-color: var(--line-4); background: var(--fill-3); }
@container (min-width: 440px) { .dc-actions { grid-template-columns: 1fr 1fr; } }
@container (min-width: 540px) {
  .dc-id { grid-template-columns: 92px 1fr auto; gap: 20px; }
  .dc-face { width: 92px; border-radius: var(--r-l); }
  .dc-name { font-size: 28px; }
}
/* Inside the home panel the panel is the frame: no second box. */
.doccard--panel { flex: 0 0 100%; scroll-snap-align: start; padding: 0; border: 0; border-radius: 0; background: none; gap: 16px; }
.doccard--panel .dc-actions { padding-top: 14px; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .doccard { padding: 18px; gap: 16px; }
  .doccard--panel { padding: 0; gap: 12px; }
  .doccard--panel .dc-id { grid-template-columns: 64px 1fr auto; gap: 14px; }
  .doccard--panel .dc-face { width: 64px; border-radius: var(--r-m); }
  .doccard--panel .dc-name { font-size: 21px; }
  .doccard--panel .dc-quote { font-size: 14.5px; }
  .doccard--panel .dc-btn { min-height: 44px; }
  .doccard--panel .dc-actions { padding-top: 12px; }
}
/* Home panel: the panel footer already books, so the card keeps one full-width consult button right under its content. */
.doccard--panel .dc-actions { margin-top: 0; grid-template-columns: 1fr; }
.info .doc-track { scrollbar-width: none; }
/* Carousel controls stay right under the card; spare height goes above the panel footer. */
.info .doc-track { flex: 0 1 auto; }

/* ---- Home info panels v4: tabs + sliding cards. Treatment fields and doctors share one card: tile, eyebrow,
   title and a silver device line; a short text and treatments with starting prices; a link at the foot. The tabs list the
   cards and mark the one in view; the next card peeks at the edge so the row reads as swipeable. ---- */
.info { --ip: clamp(22px, 2.2vw, 34px); }
.tabbar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); }
.tabbar .tabs { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0 28px 0 0; border-bottom: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.tabbar .tabs button { min-height: 42px; }
.tabbar .tabs button[aria-selected="true"]::after { bottom: 0; height: 1.5px; }
.tab-arrows { flex: none; display: flex; gap: 6px; }
.tab-arrows button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border-radius: var(--r-round); border: 1px solid var(--line); background: none; color: var(--text); transition: border-color .25s, opacity .25s; }
.tab-arrows button:hover:not(:disabled) { border-color: var(--line-4); }
.tab-arrows button:disabled { opacity: .28; cursor: default; }
.tab-arrows svg { width: 16px; height: 16px; }
.info > .card-track { flex: 1 1 auto; }
.card-track { --peek: 30px; min-height: 0; display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(-1 * var(--ip)); padding: 0 var(--ip); scroll-padding: 0 var(--ip); }
.card-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 calc(100% - var(--peek)); scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 20px 20px 14px; border-radius: var(--r-l); border: 1px solid var(--panel-line); background: var(--panel-bg); box-shadow: var(--panel-shadow); }
.pc-head { display: grid; grid-template-columns: 60px 1fr; gap: 16px; align-items: center; }
.pc-tile { width: 60px; height: 60px; border-radius: var(--r-m); overflow: hidden; display: grid; place-items: center; background: var(--face); }
.pc-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.pc-tile b { font-family: "VORM Caps6"; font-weight: 400; font-size: 19px; letter-spacing: .06em; color: var(--label); }
.pc-who { display: grid; gap: 3px; min-width: 0; }
.pc-eyebrow { font-size: 12px; line-height: 1.2; color: var(--text-3); }
.pc-title { font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: var(--text); }
.pc-line { font-size: 13px; line-height: 1.3; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-cred { margin-top: 2px; font-size: 12px; line-height: 1.3; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--divider); }
.pc-body::-webkit-scrollbar { display: none; }
.pc-lead { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.pcard--doctor .pc-lead { font-size: 16px; line-height: 1.45; color: var(--text); }
.pc-label { margin-top: 14px; font-size: 12px; color: var(--text-3); }
.pc-rows { list-style: none; margin: 4px 0 0; padding: 0; }
.pc-rows li + li { border-top: 1px solid var(--divider); }
.pc-rows .titem { padding: 12px 0; }
@media (hover: hover) { .pc-rows:hover .titem { opacity: .55; } .pc-rows .titem:hover { opacity: 1; } .pc-rows .titem:hover .t-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--text-4); } }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--divider); }
.pc-link { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.pc-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-link svg { flex: none; width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pc-link:hover svg { transform: translateX(3px); }
.pc-action { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: none; color: var(--text); font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .25s; }
.pc-action:hover { border-color: var(--line-4); }
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .info { --ip: 18px; }
  .info .info-lead { display: none; }
  .tabbar { margin: 0 calc(-1 * var(--ip)); padding: 0 0 0 var(--ip); }
  .tabbar .tabs { gap: 18px; }
  .tabbar .tabs button { min-height: 38px; }
  .tab-arrows { display: none; }
  .card-track { --peek: 26px; gap: 10px; }
  .pcard { padding: 14px 16px 10px; border-radius: var(--r-l); }
  .pc-head { grid-template-columns: 46px 1fr; gap: 12px; }
  .pc-tile { width: 46px; height: 46px; border-radius: var(--r-m); }
  .pc-tile b { font-size: 15px; }
  .pc-eyebrow { font-size: 11.5px; }
  .pc-title { font-size: 19px; }
  .pc-line { font-size: 12.5px; }
  .pc-body { margin-top: 12px; padding-top: 6px; }
  .pcard--field .pc-lead { display: none; }
  .pcard--doctor .pc-lead { margin-top: 4px; font-size: 14.5px; }
  .pc-label { margin-top: 10px; }
  .pc-rows .titem { padding: 10px 0; }
  .pc-foot { margin-top: 8px; padding-top: 10px; }
  .pc-link { font-size: 13.5px; }
  .pc-action { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
}
@media (orientation: portrait) and (max-width: 900px) and (max-height: 740px) { .info { --ip: 16px; } }
/* Card lists: no scrollbar over the prices; the list fades out at the bottom while there is more to scroll.
   The row of cards fades out in the panel's left margin, so the card that slid away doesn't show as a sliver. */
.info .pc-body { scrollbar-width: none; padding-bottom: 14px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 22px), transparent); }
.card-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--ip) - 2px)); mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--ip) - 2px)); }
/* A sideways swipe that starts on a card's list still moves the cards: the list only holds vertical scrolling
   (overscroll-behavior: contain used to stop the sideways gesture from reaching the row of cards). */
.info .pc-body { overflow-x: hidden; overscroll-behavior-x: auto; overscroll-behavior-y: contain; }
/* Phones: the info panel drops its title (the chapter tab above already names it) and its foot row (the cards
   carry the booking button), and the film above is a cinema band, so the cards get the room. */
.tab-all, .pc-book { display: none; }
.pc-actions { flex: none; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .info .info-head, .info .info-actions { display: none; }
  .info { padding-top: 2px; gap: 10px; }
  .tab-all { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 38px; padding: 0 var(--ip) 0 8px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
  .pc-book { flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 15px; border-radius: var(--r-pill); border: 0; background: var(--solid); color: var(--on-solid); font: inherit; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
  .pc-action { width: 34px; padding: 0; justify-content: center; }
  .pc-action-label { display: none; }
}

/* v5: promotions, 05 visit, footer, fees */
.t-promo { margin-left: 8px; font-style: normal; color: var(--label); }
/* a struck listed price before a price: an offer's, or a standing price that starts the treatment */
.t-price s { margin-right: 8px; font-size: .82em; font-weight: 400; color: var(--text-3); }
.pc-tile-word { font-family: "VORM Caps6"; }
/* The VORM marks in the tiles (field numbers, P) are capitals without descenders, but the font keeps its descent
   (.42em) below them and letter spacing after the last one, so they sat 4 px high and a little left of the tile's
   middle. The padding gives that space back on the other sides. (Doctors' initials use another font; untouched.) */
.pc-tile .pc-tile-word { padding: .42em 0 0 .06em; }
/* 05 is reached with its top at the top of the screen (the swipe on from the care finale, the 05 tab, #visit), so
   its first line has to clear the fixed header: on phones the header (logo and chapter tabs) is 108 px tall and the
   section's 72 px padding left "05 VISIT" showing through the chapter tabs. */
.flow.visit { padding-top: max(clamp(72px, 10vw, 140px), calc(var(--header) + var(--canopy-room))); }
/* A little more room before the footer than between the other sections (160 px on a 1200 px screen, 96 on phones). */
.flow.visit { padding-bottom: clamp(96px, 13.4vw, 184px); }
/* 더 알아보기 at the end of the story (2026-11-06): reached like 05 was, its top at the top of the screen, so it
   clears the header and the canopy, and fills a screen (the swipe on from the finale lands at its top). */
.flow.explore { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: max(clamp(72px, 10vw, 140px), calc(var(--header) + var(--canopy-room))); padding-bottom: clamp(72px, 9vw, 128px); }
.flow.explore > .canopy { top: var(--header); }
.explore-head { width: 100%; max-width: 1360px; margin: 0 auto; }
.flow.explore .go-cards { width: 100%; margin-top: clamp(28px, 3.4vw, 48px); }
/* 한눈에 보는 과정 (2026-11-07): the four chapters, each a way back to its chapter. */
.explore-steps { width: 100%; max-width: 1360px; margin: var(--sp-10) auto 0; display: grid; gap: var(--sp-5); }
.explore-steps a { display: block; color: inherit; text-decoration: none; }
.explore-steps a:hover h3 { text-decoration: underline; text-decoration-color: var(--text-4); text-underline-offset: 4px; }
/* 다음 이야기 while the report plays: at the foot of the screen; on a phone, where the story's words and the booking
   bar fill the foot, at the top right under the header, without the chapter's name so it stays clear of the
   3D AVATAR card at the top left (.build). */
.story-skip { position: fixed; z-index: 29; left: var(--pad); bottom: var(--sp-8); }
.story-skip-ch { color: var(--text-2); font-weight: var(--fw-medium); }
.story-skip-ch i { font-style: normal; margin-right: var(--sp-1); color: var(--label); font-family: var(--caps); letter-spacing: var(--ls-numeral); }
@media (max-width: 760px), (orientation: portrait) and (max-width: 900px) {
  .story-skip { left: auto; right: var(--sp-4); bottom: auto; top: calc(var(--header) + var(--sp-3)); }
  .story-skip-ch { display: none; }
}
.visit-head { max-width: 1360px; margin: 0 auto clamp(32px, 4vw, 56px); }
.visit-head h2 { margin-bottom: 14px; }
.visit-lead { color: var(--text-2); font-size: 16px; }
/* 05 방문 안내: three columns with one anatomy, aligned across the row with subgrid: the label, the one fact to take
   away (weekday hours, the address, the phone number), the details as a table with one label width and hairlines,
   small notes, and the column's actions on one line at the foot of every column. */
.visit-grid { max-width: 1360px; margin: 0 auto clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; column-gap: clamp(24px, 3vw, 56px); row-gap: 0; }
.v-col { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; min-width: 0; border-top: 1px solid var(--line); padding-top: 26px; }
.v-col .num { margin: 0 0 14px; }
.v-lead { margin: 0 0 18px; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.v-lead a { color: inherit; }
.v-k { margin-right: .45em; font-weight: 500; color: var(--text-3); }
.v-rows { margin: 0; border-bottom: 1px solid var(--divider); }
.v-rows > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--divider); font-size: 14.5px; line-height: 1.55; }
.v-rows dt { color: var(--text-3); }
.v-rows dd { margin: 0; color: var(--text); font-variant-numeric: tabular-nums; }
/* an exception to a row (휴진, but by appointment for visitors from abroad) changes a decision: note, not meta */
.v-rows dd small { display: block; margin-top: var(--sp-1); font-size: var(--fs-note); color: var(--text-2); }
.v-rows a { color: inherit; }
.v-notes { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-1); font-size: var(--fs-note); line-height: var(--lh-body); color: var(--text-2); }
.flow .v-notes li { position: relative; padding: 0 0 0 14px; border: 0; }
.v-notes li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: currentColor; }
.v-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; align-self: end; }
.v-actions:empty { display: none; }
.v-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: none; font-size: 13px; color: var(--text-2); }
.v-link:hover { color: var(--text); border-color: var(--line-4); }
.flow-title { max-width: 1360px; margin: 0 auto 18px; }
.go-cards { grid-template-columns: repeat(3, 1fr); }
.site-footer { grid-template-columns: auto minmax(0, 1fr); }
.site-footer nav { grid-column: 2; flex-wrap: wrap; gap: 10px 22px; }
.foot-info { display: grid; gap: 8px; }
.foot-name { color: var(--text); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text-3); font-size: 12.5px; line-height: 1.6; }
.foot-legal em { font-style: normal; margin-right: 6px; color: var(--text-3); opacity: .75; }
/* the law firm the clinic takes counsel from (11/19): a statement of its own after the legal lines, set apart by a
   wider gap and a little brighter; its name a quiet link (.ui-link--quiet) at the sentence's size */
.foot-advisor { margin-top: 12px; color: var(--text-2); font-size: 13px; line-height: 1.6; }
.foot-advisor .ui-link { display: inline; font-size: inherit; line-height: inherit; }
@media (max-width: 860px) {
  .visit-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 40px; }
  .v-col { grid-row: auto; display: block; }
  .go-cards { grid-template-columns: 1fr; }
  .site-footer nav { grid-column: auto; }
  .v-rows > div { grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; font-size: 14px; }
  .v-lead { font-size: 17px; }
}

.visit .flow-place { height: min(40vh, 420px); margin-bottom: clamp(40px, 5vw, 64px); }
.visit .visit-grid { margin-bottom: clamp(56px, 7vw, 96px); }
/* Five chapter tabs: the row scrolls sideways instead of widening the header on phones. */
.site-header > .chapters { min-width: 0; }
@media (max-width: 1080px) { .site-header { grid-template-columns: minmax(0, 1fr) auto; } }
/* The clinic's menu (박효준 QA 1, 2026-11-04): visitors read the header as the clinic's main menu, so it holds
   소개 · 시술·가격 · 의료진 · 이벤트 · 방문 안내, each opening its place straight away. The film's chapters ride under it
   as a quieter story line (STORY 01–04) that fills as the film plays and steps away once the visit section takes
   over. On phones and tablets the menu is the second header row and the chapters move into the menu sheet (the
   progress line at the top still follows the film). 이벤트 shows only while an offer is running (main.js). */
.gnb { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.gnb a { position: relative; color: var(--text-2); padding: 8px 0; white-space: nowrap; transition: color .3s; }
.gnb a:hover, .gnb a[aria-current="true"] { color: var(--text); }
.gnb a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--mark); box-shadow: var(--mark-glow); }
.story-label { font-family: "VORM Caps6"; font-size: 10px; letter-spacing: .26em; color: var(--text-3); }
@media (min-width: 1081px) {
  .site-header > .chapters[data-story] { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); height: 40px; align-items: center; gap: clamp(14px, 1.5vw, 24px); font-size: 12px; transition: opacity .4s var(--ease), visibility .4s; }
  .site-header > .chapters[data-story] .story-label { padding-right: clamp(12px, 1.3vw, 20px); border-right: 1px solid var(--line-2); line-height: 12px; }
  .site-header > .chapters[data-story] a { padding: 7px 0; color: var(--text-3); text-shadow: 0 1px 12px rgb(var(--black-rgb) / .6); }
  .site-header > .chapters[data-story] a i { font-size: 9px; margin-right: 5px; color: var(--text-4); }
  .site-header > .chapters[data-story] a:hover, .site-header > .chapters[data-story] a[aria-current="true"] { color: var(--text); }
  .site-header > .chapters[data-story] a[aria-current="true"] i { color: var(--label); }
  .site-header > .chapters[data-story] a[data-chapter="visit"] { display: none; }
  .site-header.solid > .chapters[data-story] { opacity: 0; visibility: hidden; }
}
@media (max-width: 1080px) {
  .site-header > .chapters[data-story] { display: none; }
  .site-header > .gnb { position: relative; grid-column: 1 / -1; grid-row: 2; gap: clamp(16px, 4.6vw, 28px); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); font-size: 13.5px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 28px), transparent); }
  .site-header > .gnb::-webkit-scrollbar { display: none; }
  .site-header > .gnb a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0; text-shadow: 0 1px 10px rgb(var(--black-rgb) / .45); }
  .site-header > .gnb a[aria-current="true"]::after { bottom: 4px; background: var(--lit); box-shadow: none; }
}
/* Other pages carry the same menu in their header row. */
@media (min-width: 1081px) {
  .site-header > .chapters:not([data-story]) { gap: clamp(20px, 2.4vw, 40px); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
}
/* Menu sheet: the clinic's menu first, the film's chapters below it. */
.menu { justify-content: flex-start; }
.menu > p { margin-top: auto; padding-top: 28px; }
.menu .menu-story { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.menu .menu-story .story-label { margin-bottom: 4px; }
/* Promotion rows in the panel: the listed price sits above the promotion price. */
.titem.promo .t-price { display: grid; justify-items: end; line-height: 1.25; }
.titem.promo .t-price s { margin: 0; }
/* The tab row spans the screen edge to edge (it bleeds over the header padding) and scrolls inside that width:
   with the fifth tab its content is wider than a phone, and an unconstrained row widened the whole page. */
@media (max-width: 1080px) { .site-header > .chapters { width: 100vw; max-width: 100vw; box-sizing: border-box; } }
/* Footer on phones: one column; long legal lines wrap (a two-column grid with an auto column overflowed). */
@media (max-width: 860px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .site-footer nav { grid-column: 1; }
  .foot-legal span { overflow-wrap: anywhere; }
}

/* ---- languages (js/i18n.mjs, js/shell.js) ---- */
/* Chinese and Japanese: their own system fonts for Han characters (a Korean font would draw them the Korean way),
   and ordinary line breaking (keep-all would never break a line of Chinese or Japanese text). */
html:lang(zh) { --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
/* 繁體中文 (Taiwan): after the zh rule, which :lang(zh) also matches for zh-TW. */
html:lang(zh-TW) { --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "PingFang TC", "Heiti TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif; }
html:lang(ja) { --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
html:lang(zh) body, html:lang(ja) body { word-break: normal; line-break: strict; }
html:lang(en) .beat h2, html:lang(en) .beat h3, html:lang(en) .hero h1 { letter-spacing: -.02em; }
/* A translated label inside a link with an arrow keeps the arrow's spacing to itself. */
.more-link span[data-t] { display: inline; margin-left: 0; transform: none !important; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--fill-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--text-2); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; transition: border-color .25s, color .25s, background .25s; }
.lang-btn svg { width: 15px; height: 15px; opacity: .85; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--text); border-color: var(--line-4); background: var(--fill-4); }
.lang-menu { position: absolute; z-index: 40; right: 0; top: calc(100% + 8px); min-width: 168px; display: grid; gap: 2px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--glass-4); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-1); animation: lang-in .22s var(--ease); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px; border-radius: var(--r-s); font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: var(--fill-3); color: var(--text); outline: none; }
.lang-menu a[aria-current="true"] { color: var(--text); }
.lang-menu a[aria-current="true"]::after { content: ""; width: 6px; height: 6px; border-radius: var(--r-round); background: var(--lit); }
@keyframes lang-in { from { opacity: 0; transform: translateY(-4px); } }
.menu-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.menu-langs a { color: var(--text-3); padding: 6px 0; }
.menu-langs a[aria-current="true"] { color: var(--text); box-shadow: inset 0 -1px var(--lit); }
.lang-hint { position: fixed; z-index: 29; right: var(--pad); top: calc(var(--header) + 10px); display: flex; align-items: center; gap: 2px; padding: 4px 4px 4px 14px; border: 1px solid var(--lit-line); border-radius: var(--r-pill); background: var(--glass-3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-1); font-size: 13px; animation: lang-in .4s var(--ease) .8s both; }
.lang-hint a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); padding: 6px 4px; }
.lang-hint a svg { width: 15px; height: 15px; color: var(--label); }
.lang-hint button { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-round); background: none; color: var(--text-3); }
.lang-hint button svg { width: 16px; height: 16px; }
.lang-hint button:hover { color: var(--text); background: var(--fill-4); }
/* It is for arrival: never over the open menu (its own language list is there), and it fades once the visitor
   scrolls past the first screen, so it does not sit on the 02 and 03 panels or the content further down. */
.lang-hint { transition: opacity .4s var(--ease), visibility .4s; }
.lang-hint.away, body.menu-open .lang-hint { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 1080px) {
  .lang-btn { min-height: 40px; padding: 0 12px; }
  .lang-hint { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); right: 16px; left: 16px; justify-content: space-between; }
}
/* book and check: in the page above its head, scrolling with it (their foot is the booking bar and the times) */
.lang-hint.lang-hint--in { position: static; width: fit-content; max-width: 100%; margin: 0 0 var(--sp-6); animation: none; }
@media (max-width: 760px) {
  .lang-btn { border-color: transparent; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) { .lang-menu, .lang-hint { animation: none; } }

/* 함께하는 곳 on the home (2026-11-25): after 더 알아보기's cards, the partners' logos flowing in one line between two
   rules (.ui-marquee--logos), the way to the page at the end of its head. Hidden until there is a partner to show. */
.pt-band { width: 100%; max-width: 1360px; min-width: 0; margin: clamp(56px, 7vw, 100px) auto 0; }
.pt-band-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.pt-band-head .ui-link { font-size: var(--fs-small); }
.pt-band-head svg { width: 14px; height: 14px; }
.pt-band-line { padding: var(--sp-6) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .pt-band-line { padding: var(--sp-5) 0; } }
