:root {
  --ivory: #faf8f3;
  --paper: #ffffff;
  --sky: #eaf2f8;
  --sky-deep: #d6e6f2;
  --ink: #22313f;
  --muted: #5c6b78;
  --line: #e2e6ea;
  --accent: #344f65;
  --accent-ink: #ffffff;
  --warm: #f4ece0;
  --radius: 14px;
  --wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 112px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Hiragino Sans", "Yu Gothic", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 언어별 글꼴 순서: 일본어·중국어 페이지가 한국어 글꼴로 먼저 그려져 한자 모양이 섞이지 않게 */
:lang(ja) { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Noto Sans JP", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
:lang(zh-CN) { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
/* 마지막 줄에 한 단어만 남지 않게(지원 브라우저만, 나머지는 그대로) */
h1, h2, h3 { text-wrap: balance; }
p, li, summary, dd, figcaption { text-wrap: pretty; }
:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif; word-break: keep-all; }
/* 일본어·중국어는 글자 사이에서 줄을 바꾸는 것이 정상(keep-all이면 '専/門店'처럼 억지로 꺾이고 '。'가 줄 맨 앞에 옴) */
:lang(ja), :lang(zh-CN) { word-break: normal; overflow-wrap: break-word; line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 20; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* 키보드 포커스: 밝은 배경에서 진한 남색(대비 약 7~8:1), 어두운 배경에서 흰색 */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
summary:focus-visible { outline-offset: -3px; border-radius: 12px; }
.event a:focus-visible, footer a:focus-visible { outline-color: #ffffff; }
.event a:focus-visible { outline-offset: -3px; }

/* 새 창으로 열리는 외부 링크 표시(글자 내용은 바꾸지 않음) */
a.x::after { content: "\2197"; content: "\2197" / ""; display: inline-block; margin-left: 3px; font-size: .85em; line-height: 1; text-decoration: none; }
.btn.x::after { margin-left: 0; }

/* header */
.top { background: rgba(250, 248, 243, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
/* 761px 이상: 1줄 = 이름 · [전화][인스타 DM] · 언어, 2줄 = 메뉴(한국어 페이지). 휴대폰은 하단 바가 있어 문의 버튼을 숨긴다. */
.top .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 16px; row-gap: 0; min-height: 64px; padding-top: 4px; }
.brand { grid-column: 1; grid-row: 1; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .02em; font-size: 20px; line-height: 1.1; }
.brand small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.head-cta { grid-column: 2; grid-row: 1; display: flex; gap: 8px; }
.btn.sm { padding: 7px 14px; min-height: 40px; font-size: 14px; }
.nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 0 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--accent); }
.langs { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 2px; font-size: 13px; }
.langs a { color: var(--muted); text-decoration: none; padding: 4px 5px; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.langs .ls { display: none; }
@media (max-width: 1000px) {
  .top .wrap { column-gap: 12px; }
  .brand { padding: 4px 0; }
  /* 메뉴는 한 줄 가로 스크롤(오른쪽 끝이 흐려져 더 있다는 것을 보여 줌) */
  .nav { grid-column: 1 / -1; grid-row: 2; margin: 0 -20px; padding: 0 20px; gap: 0 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav::after { content: ""; flex: 0 0 14px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 12px; scroll-padding-bottom: 88px; }
  .top { position: static; }
  .top .wrap { grid-template-columns: minmax(0, 1fr) auto; }
  .head-cta { display: none; }
  .langs { grid-column: 2; }
  .brand small { font-size: 11.5px; }
  .langs { font-size: 14px; }
  .langs a { min-width: 30px; padding: 0 6px; }
  .langs .lf { display: none; }
  .langs .ls { display: inline; }
}

/* 10월 이벤트 띠: 한 줄 */
.event { background: var(--accent); color: #fff; }
.event a { display: flex; align-items: center; flex-wrap: nowrap; gap: 0 14px; min-height: 44px; padding: 6px 0; color: #fff; text-decoration: none; font-size: 15px; white-space: nowrap; overflow: hidden; }
.event strong { font-size: 16px; }
.event .more { margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.event .m { display: none; }
@media (max-width: 760px) {
  .event a { font-size: 14px; gap: 0 10px; }
  .event strong { font-size: 14.5px; }
  .event .d { display: none; }
  .event .m { display: inline; }
}
/* 아주 좁은 화면(360px 미만): '조건 보기'가 잘리지 않게 짧은 할인 문구는 빼고(조건은 링크 뒤 입양 안내에 그대로), 제목 글자를 조금 줄임 */
@media (max-width: 359px) {
  .event .m { display: none; }
  main h1 { font-size: 26px; }
}

/* hero */
.hero { padding: 48px 0 32px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .03em; margin: 0 0 10px; }
h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.25; margin: 0 0 16px; letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.hero figure { margin: 0; }
.hours-line { display: inline-block; background: var(--sky); color: var(--accent); font-weight: 700; font-size: 15px; padding: 6px 12px; border-radius: 8px; margin: 0 0 14px; }
.sub-contact { font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.hero img { border-radius: 20px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--sky); }
figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
/* 홈 첫 화면: 영업시간 줄 옆 '입양 비용 보기', 첫 버튼 아래 피들 안내(휴대폰), 매장 사진 띠(860px 이하) */
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 0 0 6px; }
.hero-meta .hours-line { margin: 0; }
.cost-link { display: inline-flex; align-items: center; min-height: 36px; font-weight: 700; font-size: 15px; }
.hero-actions .feedle-note { order: 3; flex-basis: 100%; margin: 0; font-size: 14px; color: var(--muted); }
.shop-strip { display: none; }
@media (max-width: 860px) {
  .hero { padding-top: 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero .lead { margin-bottom: 18px; }
  .hero figure { max-width: 480px; }
  .home-hero .hero-photo { display: none; }
  .hero .shop-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; max-width: none; }
  .hero .shop-strip img { aspect-ratio: auto; width: 100%; height: 112px; object-fit: cover; border-radius: 12px; }
  .shop-strip figcaption { grid-column: 1 / -1; margin-top: 0; }
}
@media (min-width: 561px) and (max-width: 860px) { .hero .shop-strip img { height: 160px; } }
@media (max-width: 560px) {
  .home-hero .lead { font-size: 17px; }
  .hero-actions .feedle-note { order: 0; margin: -4px 0 0; }
}
@media (max-width: 760px) { .sub-contact { display: none; } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 20px; border-radius: 999px; text-decoration: none; font: inherit; font-weight: 700; font-size: 16px; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); }

/* sections */
section.block { padding: 44px 0; }
section.block.tint { background: var(--sky); }
section.block.warm { background: var(--warm); }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; margin: 0 0 14px; }
h3 { font-size: 19px; line-height: 1.4; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.section-lead { color: var(--muted); max-width: 680px; margin-bottom: 26px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card .body { padding: 18px 20px 22px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .more { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 700; font-size: 15px; }
/* 홈 카드: 링크 이름은 '○○ 보기'만, 카드 어디를 눌러도 그 링크로 */
.card .stretched { text-decoration: none; }
.card .stretched::before { content: ""; position: absolute; inset: 0; }
.card:hover { border-color: var(--accent); }
.card:hover .stretched { text-decoration: underline; text-underline-offset: 3px; }
.card:has(.stretched:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* 홈 호텔링 안내 띠 */
.band { margin-top: 28px; background: var(--warm); border-radius: var(--radius); padding: 22px 24px; }
.band h2 { font-size: clamp(20px, 2.4vw, 24px); margin-bottom: 8px; }
.band p { max-width: 760px; }
.band .band-more { margin: 6px 0 0; }
.band-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-pair img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 22px; }
  .split.reverse > :first-child { order: 0; }
  img.tall { width: 100%; max-height: 60vh; object-fit: cover; }
}

.info { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: 16px; }
.info th, .info td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 28%; color: var(--muted); font-weight: 600; background: #f7f9fb; }
.info small { font-size: 14px; }
.info tr:last-child th, .info tr:last-child td { border-bottom: 0; }
.table-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.asof { display: block; font-size: 14px; color: var(--muted); }
/* 휴대폰: 표를 위아래로 쌓고 제목칸은 작은 라벨로 */
@media (max-width: 560px) {
  .info, .info tbody, .info tr, .info th, .info td { display: block; width: auto; }
  .info th, .info td { border-bottom: 0; }
  .info th { background: none; padding: 10px 14px 0; font-size: 14px; font-weight: 700; }
  .info td { padding: 2px 14px 10px; }
  .info tr { border-bottom: 1px solid var(--line); }
  .info tr:last-child { border-bottom: 0; }
}

.note { background: var(--paper); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; color: var(--ink); margin: 18px 0; }
.event-note { background: var(--paper); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: 8px; }

.prose { max-width: 760px; }
/* 넓은 화면: 본문 단도 페이지 머리(제목·칩)와 같은 왼쪽 선에서 시작하고, 글 폭만 760px로 */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 760px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.page-head { padding: 40px 0 8px; }
.page-head .lead { max-width: 720px; }
.jump { margin: -12px 0 8px; }
.jump { line-height: 1.7; margin: -6px 0 12px; }
.jump a { display: inline; padding: 8px 0; font-weight: 700; font-size: 16px; }
@media (max-width: 760px) { .page-head { padding-top: 26px; } }

/* 화이트 세이블·드리피: 사진은 첫 설명 뒤, 좁은 화면에서는 폭을 줄인다 */
.morph-photo { margin: 0; }
@media (max-width: 860px) { .morph-photo { max-width: 420px; } }

/* 오시는 길 '바로 출발' + 매장 입구 사진(넓은 화면은 오른쪽, 휴대폰은 바로 아래) */
.visit-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.visit-photo { margin: 0; }
.visit-photo img { border-radius: var(--radius); width: 100%; }
.visit-info .info { max-width: 760px; }
@media (max-width: 860px) {
  .visit-head { grid-template-columns: 1fr; gap: 20px; }
  .visit-photo { max-width: 520px; }
}
.go { margin: 0 0 8px; }
.go-addr { font-weight: 700; margin: 0 0 6px; }
.go-addr .copy-btn { margin-left: 4px; vertical-align: middle; }
.today { display: inline-block; background: var(--sky); color: var(--accent); font-weight: 700; font-size: 15px; padding: 6px 12px; border-radius: 8px; margin: 12px 0 0; }
.copy-status { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 560px) {
  .go-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .go-actions .btn { justify-content: center; padding: 12px 8px; font-size: 15px; white-space: nowrap; }
  /* 전화 버튼은 한 줄 전체(344px 이하에서 칸을 넘치지 않게) */
  .go-actions .btn[href^="tel:"] { grid-column: 1 / -1; }
}

/* FAQ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--sky-deep); color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.faq-list h2 { font-size: clamp(21px, 2.4vw, 26px); margin: 34px 0 12px; }
.faq-list h2:first-child { margin-top: 0; }
details.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; }
details.faq:target { border-color: var(--accent); }
details.faq summary { position: relative; display: block; cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; padding: 14px 48px 14px 20px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; color: var(--accent); font-weight: 800; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: 0; padding: 0 20px 16px; color: var(--ink); }

/* footer */
footer { background: #22313f; color: #dfe7ee; padding: 40px 0; font-size: 15px; margin-top: 40px; }
footer a { color: #ffffff; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
footer h2 { font-size: 16px; color: #fff; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer .legal { margin-top: 28px; color: #9fb0bf; font-size: 14px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
@media (max-width: 760px) { footer { padding-bottom: 100px; } footer .cols { grid-template-columns: 1fr; } }

/* 휴대폰 하단 고정 바: 전화 · 길찾기 · 인스타 DM */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; display: none; grid-template-columns: 1fr 1fr 1.35fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 248, 243, .97); border-top: 1px solid var(--line); z-index: 15; }
.mobile-bar .btn { justify-content: center; min-width: 0; min-height: 48px; padding: 8px 6px; gap: 3px; font-size: 15px; line-height: 1.3; white-space: nowrap; }
html:not(:lang(ko)) .mobile-bar .btn { font-size: 14px; }
@media (max-width: 760px) { .mobile-bar { display: grid; } }
/* 360px 미만: 'Instagram 私信' 같은 긴 이름이 칸을 넘지 않게 셋째 칸을 넓힌다 */
@media (max-width: 359px) {
  .mobile-bar { grid-template-columns: .9fr 1fr 1.5fr; gap: 6px; padding-left: 8px; padding-right: 8px; }
  .mobile-bar .btn, html:not(:lang(ko)) .mobile-bar .btn { font-size: 13.5px; padding: 8px 4px; }
}

/* 외부 업체 로고 버튼(운송: 파르게) */
.logo-link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink, #1f2a33); font-weight: 700; text-decoration: none; }
.logo-link img { display: block; height: 48px; width: auto; margin: -4px -14px; }
h3.gap { margin-top: 32px; }
.logo-link:hover, .logo-link:focus-visible { border-color: var(--accent); }

/* 콜아웃(노션식 안내 상자) · 점 목록 · 번호 목록 · 비교표 (10/19 가독성) */
.callout { display: flex; gap: 12px; align-items: flex-start; background: #eef3f7; border-radius: 12px; padding: 14px 18px; margin: 18px 0; color: var(--ink); }
.callout.warn { background: #fbf3e2; }
.callout.ok { background: #edf5ee; }
.callout .ic { flex: none; font-size: 20px; line-height: 1.55; }
.callout > div > p { margin: 0 0 6px; }
.callout > div > p:last-child { margin-bottom: 0; }
.callout .src { font-size: 14px; color: var(--muted); }
.event-note.callout { border-left: 0; }
ul.dots { list-style: none; padding-left: 0; margin: 10px 0 14px; }
ul.dots li { position: relative; padding-left: 18px; margin-bottom: 8px; }
ul.dots li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
ul.dots li strong { margin-right: 6px; }
ul.dots .asof { display: inline; margin-left: 4px; }
ol.nums { padding-left: 22px; margin: 10px 0 14px; }
ol.nums li { margin-bottom: 8px; padding-left: 2px; }
.card .card-note { font-size: 14px; margin-top: 8px; }
.card .body p + p { margin-top: 6px; }
details.faq > p { margin: 0 0 10px; }
details.faq > p:last-child { margin-bottom: 0; }
.info.compare th[scope="col"] { background: #f7f9fb; color: var(--ink); text-align: left; }
.info.compare th[scope="row"] { width: 26%; }
@media (max-width: 560px) { .info.compare { display: table; width: 100%; table-layout: fixed; } .info.compare thead { display: table-header-group; } .info.compare tbody { display: table-row-group; } .info.compare tr { display: table-row; } .info.compare th, .info.compare td { display: table-cell; width: auto; padding: 10px 8px; font-size: 14px; } .info.compare th[scope="row"] { width: 24%; } }

/* 11차(10/19) */
details.faq .a-lead { margin: 0 0 8px; }
details.faq ul.dots { margin: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { word-break: auto-phrase; }
.logo-link { padding: 4px 14px 4px 4px; gap: 4px; min-height: 52px; }
.logo-link img { height: 40px; margin: -2px -10px; }
.info.compare + p { margin-top: 14px; }
@media (max-width: 560px) { .callout { padding: 12px 14px; gap: 8px; } .callout .ic { font-size: 17px; } }

/* 로고 (10/19) */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand > span { display: block; }
.brand-mark { display: block; width: 40px; height: auto; }
.foot-logo { display: block; width: 96px; height: auto; margin-bottom: 14px; }
@media (max-width: 560px) { .brand-mark { width: 34px; } .brand { gap: 8px; } }

/* 휴대폰 머리: 로고가 들어가며 글자가 네 줄로 꺾여 영문 이름을 숨기고 설명을 한 줄로 */
@media (max-width: 560px) { html[lang="ko"] .brand .brand-en { display: none; } .brand small { white-space: nowrap; font-size: 11px; letter-spacing: -.01em; } }

/* 바닥글 아이콘 목록 (10/19) */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
footer .icon-list li { margin-bottom: 4px; }
footer .icon-list a { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; text-decoration: none; }
footer .icon-list a span { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
footer .icon-list a:hover span { text-decoration-color: #fff; }
footer .icon-list .ico { color: #9fc3dd; }

/* 홈 지도 (10/19) */
.map-wrap { margin: 18px 0 4px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #e9eef2; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .map-wrap { aspect-ratio: 4 / 3; } }

.paki-line { font-size: 15px; color: var(--muted); margin: 10px 0 0; }

/* 뱃지·두 칸 표 (10/19) */
ul.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 0; margin: 10px 0 14px; }
ul.badges li { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--sky); color: var(--accent); font-weight: 700; font-size: 14px; line-height: 1.3; }
ul.badges.hero-badges { margin: 0; }
ul.badges.hero-badges li { font-size: 15px; padding: 6px 13px; }
ul.badges.items li { background: var(--paper); border: 1px solid var(--sky-deep); }
ul.badges.tags { margin: 4px 0 10px; }
ul.badges.tags li { font-size: 13px; padding: 3px 10px; background: #f1f4f7; color: var(--muted); font-weight: 600; }
ul.badges.on-dark { margin: 6px 0 0; }
ul.badges.on-dark li { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 13.5px; }
table.kv { margin: 12px 0 16px; }
table.kv th { width: 30%; }

/* 호텔링 계산기 (10/19) */
form.calc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.calc-grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.calc-grid input { font: inherit; font-weight: 500; min-height: 46px; padding: 8px 12px; border: 1px solid var(--sky-deep); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.calc-hint { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.calc-out { margin-top: 14px; }
.calc-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; font-size: 16px; }
.calc-total strong { font-size: 30px; color: var(--accent); }
.calc-warn { background: #fbf3e2; border-radius: 10px; padding: 10px 14px; margin: 8px 0 0; font-weight: 600; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: 1fr 1fr; } }

/* UX 2차 (10/19) */
@media (max-width: 560px) { table.kv th { width: auto; } }
details.faq ul.dots { margin: 0 20px 16px; }
details.faq .a-lead { padding-right: 20px; }
.info.compare th, .info.compare td { overflow-wrap: normal; word-break: keep-all; }
.src-line { font-size: 14px; color: var(--muted); }
ul.badges.in-table { margin: 0; }
@media (min-width: 700px) and (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }

/* 바닥글 정리 (10/19): 화살표를 글자 바로 뒤에, 법정 정보는 이름표 줄로 */
footer .icon-list a.x::after { content: none; }
footer .icon-list a.x span::after { content: "\2197"; content: "\2197" / ""; display: inline-block; margin-left: 4px; font-size: .85em; text-decoration: none; }
footer .legal p { margin: 0 0 10px; }
footer .legal dl { margin: 0 0 10px; display: grid; gap: 4px; }
footer .legal dl > div { display: flex; gap: 10px; }
footer .legal dt { flex: none; min-width: 72px; color: #c9d6e1; font-weight: 600; }
footer .legal dd { margin: 0; }
footer .legal .copy { margin: 0; }
@media (max-width: 560px) { footer .legal dl > div { flex-direction: column; gap: 0; } }

.hero-badges + .chips { margin-top: 14px; }

.mobile-bar.two, .mobile-bar.two { grid-template-columns: 1fr 1fr !important; }
footer .legal dd small { color: #9fb0bf; }

/* 버튼 아이콘 (10/19) */
.btn .ico { width: 18px; height: 18px; flex: none; margin-right: 2px; }
.btn .ico-img { border-radius: 5px; }
.mobile-bar .btn .ico { width: 17px; height: 17px; }
footer .icon-list .ico-img { border-radius: 4px; }

/* 계산기 360px 폭 넘침 방지 (10/19 검증 세션) */
.calc-grid input { min-width: 0; }
@media (max-width: 760px) { .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 글 속 링크 ↗ 가 혼자 줄바꿈되지 않게(레이아웃 감독관 10/19): 글자와 화살표 사이 줄바꿈 금지 */
a.x::after { content: "\2060\00a0\2197"; content: "\2060\00a0\2197" / ""; display: inline; margin-left: 0; }
.btn.x::after { content: "\2197"; content: "\2197" / ""; display: inline-block; margin-left: 2px; }
footer .icon-list a.x span::after { content: "\2060\00a0\2197"; content: "\2060\00a0\2197" / ""; display: inline; margin-left: 0; }

/* 표 폭을 내용에 맞춤(사장님 10/19: 호텔링 요금표 칸 간격이 너무 넓음) — 긴 글 표는 화면 폭까지만 늘어남 */
@media (min-width: 561px) {
  table.info.kv, table.info.compare { width: auto; max-width: 100%; }
  table.info.kv th, table.info.compare th[scope="row"] { width: auto; white-space: nowrap; padding-right: 28px; }
  table.info.compare td, table.info.compare th[scope="col"] { padding-right: 28px; }
  table.info.calc-break { width: auto; }
}
@media (min-width: 561px) {
  .info th { width: 1%; white-space: nowrap; padding-right: 28px; }
  .info.compare th[scope="col"] { width: auto; }
}
