/* ==========================================================
   페이지투웹 kit · 디자인 "웰컴북" (welcome). page.css 다음에 읽는다. 다시 꾸밈 2026-11-16.
   바닷가 안전 표지판처럼: 화강암 회색 바탕 + 검정 글자 + 주황 한 가지(theme.accent: 지금 띠 · 복사 · 고른 줄).
   검정 면 하나(theme.accent2: 사장님 연락). 글꼴 SUIT 하나(굵기만 바꾼다). 크기 다섯 단계.
   선 · 그림자 · 그라데이션 · 흐림 유리 · 제목 위 작은 라벨 없음. 사진 위 글자 밑에만 어둠 한 겹(사진 위 글자 규칙의 예외).
   ========================================================== */

/* 사장님 손글씨 메모만: 나눔손글씨 펜(SIL OFL 1.1, Google Fonts). 못 불러오면 SUIT */
@import url("https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap");
/* 글꼴: SUIT Variable (SIL OFL 1.1, engine/kit/fonts/welcome-SUIT-OFL.txt), 한글 2,350자 서브셋 */
@font-face { font-family: "WC SUIT"; src: url("../fonts/welcome-SUIT-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --wc-ground: #CDCFCA;          /* 화강암(하조대 바위) */
  --wc-surface: #DCDDD8;         /* 한 단 밝은 면 */
  --wc-sunk: #BFC1BB;            /* 한 단 어두운 면 */
  --ink: #0E100F;
  --muted: #3E413E;
  --wc-orange: var(--accent);
  --wc-black: var(--accent-2);
  --wc-font: "WC SUIT", "Pretendard Variable", Pretendard, system-ui, sans-serif;
  --t-small: 14px; --t-body: 17px; --t-lead: 22px; --t-head: 30px; --t-display: 40px;
  --wc-pad: 20px;
  --wc-band: 19svh;
}
html, body { background: var(--wc-ground); }
body { color: var(--ink); font-family: var(--wc-font); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wc p, .wc dd, .wc small, .wc-sheet p, .wc-sheet dd, .wc-sheet span { text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 초점: 주황 단추 위에서도 보이게 검정 테두리, 검정 면 위에서는 주황 */
.wc :focus-visible, .wc-sheet :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wc-host :focus-visible, .wc-coupons :focus-visible { outline-color: var(--wc-orange); }
::selection { background: var(--wc-orange); color: var(--ink); }
body.wc-locked { overflow: hidden; }
main { overflow: visible; }
button { font: inherit; color: inherit; cursor: pointer; }
figure { margin: 0; }
img { display: block; }

/* ---------- 바탕 뼈대 ---------- */
.wc { display: block; min-height: 0; padding: 0; background: none; overflow: visible; }

/* 위에 붙는 사진 띠 + 주황 지금 띠 */
.wc-stage { position: sticky; top: 0; z-index: 5; }
.wc-pic { position: relative; height: var(--wc-band); overflow: hidden; background: var(--wc-sunk); }
.wc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.wc-pic img.is-on { opacity: 1; }
.wc-now {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; row-gap: 2px;
  width: 100%; padding: 10px var(--wc-pad) 11px; border: 0; background: var(--wc-orange); color: var(--ink); text-align: left;
}
.wc-now-lead { font-size: var(--t-lead); font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wc-now-text { font-size: var(--t-body); font-weight: 700; line-height: 1.35; word-break: keep-all; }
.wc-now-sub { grid-column: 2; display: flex; flex-wrap: wrap; column-gap: 10px; font-size: var(--t-small); font-weight: 600; line-height: 1.4; }
.wc-now-sub small { font-size: inherit; }
.wc-sun-where { display: none; }
.wc-now:active { filter: brightness(.95); }

.wc-col { position: relative; }

/* 이름 · 주소 */
.wc-head { padding: 30px var(--wc-pad) 6px; }
.wc-head h1 { margin: 0; font-size: var(--t-display); font-weight: 850; line-height: 1.04; letter-spacing: -.04em; word-break: keep-all; }
.wc-addr { margin: 12px 0 0; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.wc-hello { margin: 14px 0 0; font-size: var(--t-body); line-height: 1.6; word-break: keep-all; max-width: 34ch; }

/* 큰 값: 와이파이 · 대문 번호 */
.wc-quick { display: grid; gap: 6px; margin: 22px 0 0; }
.wc-q { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; padding: 16px var(--wc-pad) 14px; background: var(--wc-surface); }
.wc-q p { margin: 0; min-width: 0; }
.wc-q small { display: block; margin-top: 2px; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.wc-q b { display: block; font-size: var(--t-head); font-weight: 850; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.wc-q-copy, .wc-copy span {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 16px; border: 0; border-radius: 99px;
  background: var(--wc-orange); color: var(--ink); font-size: var(--t-small); font-weight: 800; white-space: nowrap;
  transition: transform .2s ease, filter .2s ease;
}
.wc-q-copy svg, .wc-copy span svg { width: 16px; height: 16px; }
.wc-q-copy:hover, .wc-copy:hover span { filter: brightness(.94); }
.wc-q-copy:active, .wc-copy:active span { transform: scale(.95); }
.wc-q-more { grid-column: 1 / -1; justify-self: start; margin-top: 8px; padding: 4px 0; border: 0; background: none; font-size: var(--t-small); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--wc-orange); }

/* 큰 글자 목록: 사진 띠 아래 줄이 고른 줄(주황 칸 + 굵게) */
.wc-list { display: grid; gap: 22px; padding: 26px 0 8px; }
.wc-group h2 { position: sticky; z-index: 2; top: var(--wc-stage-h, 0px); margin: 0 0 6px; padding: 9px var(--wc-pad) 10px; background: var(--wc-sunk); font-size: var(--t-lead); font-weight: 850; letter-spacing: -.02em; line-height: 1.2; }   /* 휴대폰: 사진 띠 바로 아래 붙는 묶음 띠(지금 어느 묶음인지) */
.wc-row {
  position: relative; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; column-gap: 14px;
  width: 100%; min-height: 74px; padding: 10px var(--wc-pad); border: 0; background: none; text-align: left;
  transition: background-color .25s ease;
}
.wc-row-ico { grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #F7F7F3; transition: background-color .25s ease, transform .25s ease; }
.wc-row-ico .wc-ico { width: 24px; height: 24px; }
.wc-row-name { font-size: var(--t-lead); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; word-break: keep-all; }
.wc-row-hint { grid-column: 2; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.wc-row > svg, .wc-help > svg { grid-column: 3; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--muted); transition: transform .25s ease; }
.wc-help > svg { grid-column: 2; }
.wc-row.is-active { background: var(--wc-surface); }
.wc-row.is-active .wc-row-ico { background: var(--wc-orange); }
.wc-row:hover > svg, .wc-row.is-active > svg { transform: translateX(3px); color: var(--ink); }
.wc-row:hover .wc-row-ico { transform: rotate(-6deg); }

/* 사장님 손글씨 메모: 종이 쪽지 한 장 */
.wc-memo { margin: 30px var(--wc-pad) 0; padding: 20px 22px 18px; background: #F3F3EF; color: #1B2A4A; transform: rotate(-1.2deg); max-width: 30rem; }
.wc-memo blockquote { margin: 0; }
.wc-memo p { margin: 0; font-family: "Nanum Pen Script", var(--wc-font); font-size: 23.5px; line-height: 1.25; word-break: keep-all; }
.wc-memo p + p { margin-top: 6px; }
.wc-memo figcaption { margin-top: 10px; text-align: right; font-family: "Nanum Pen Script", var(--wc-font); font-size: 22px; color: #1B2A4A; }
.wc-row:active { background: var(--wc-sunk); }

/* 사장님 연락: 검정 면 */
.wc-host { margin-top: 26px; padding: 26px var(--wc-pad) 10px; background: var(--wc-black); color: #F2F2EF; }
.wc-host p { margin: 0; }
.wc-host-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: var(--t-small); font-weight: 700; }
.wc-open { font-weight: 600; color: #C9CBC6; }
.wc-open.is-open { color: var(--wc-orange); }
.wc-host-who { margin-top: 4px !important; }
.wc-host-num { font-size: var(--t-head); font-weight: 850; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.wc-host-acts { display: flex; gap: 8px; margin-top: 16px !important; }
.wc-host-acts a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; height: 52px; border-radius: 99px; background: #F2F2EF; color: var(--ink); font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.wc-host-acts a:first-child { background: var(--wc-orange); }
.wc-host-acts a:active { transform: scale(.97); }
.wc-host-acts svg { width: 19px; height: 19px; }
.wc-help { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; align-items: center; width: calc(100% + 2 * var(--wc-pad)); margin: 18px calc(-1 * var(--wc-pad)) 0; padding: 16px var(--wc-pad); border: 0; background: #262826; color: #F2F2EF; text-align: left; }
.wc-help b { font-size: var(--t-lead); font-weight: 850; color: var(--wc-orange); }
.wc-help span { grid-column: 1; font-size: var(--t-small); font-weight: 600; color: #C9CBC6; }
.wc-help svg { color: #C9CBC6; }

/* 끝: 이름을 칸 폭 가득 */
.wc-foot { padding: 34px var(--wc-pad) 44px; font-size: var(--t-small); line-height: 1.6; color: var(--muted); }
.wc-foot-name { margin: 0 0 12px; font-size: 20px; font-weight: 850; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); word-break: keep-all; }
.wc-foot ul { margin: 0; padding: 0; list-style: none; }
.wc-foot a { color: var(--ink); }
.wc-foot p { margin: 8px 0 0; }

/* ---------- 항목 화면 ---------- */
.wc-sheet { position: fixed; z-index: 60; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--wc-ground); }
.wc-sheet-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 var(--wc-pad) 0 12px; background: var(--wc-ground); }
.wc-back { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--wc-orange); color: var(--ink); transition: transform .2s ease; }
.wc-back:active { transform: scale(.94); }
.wc-back:focus:not(:focus-visible) { outline: none; }
.wc-back:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wc-back svg { width: 22px; height: 22px; }
.wc-sheet-name { margin: 0; font-size: var(--t-body); font-weight: 800; }
.wc-sheet-pic { height: 38svh; overflow: hidden; background: var(--wc-sunk); }
.wc-sheet-pic img { width: 100%; height: 100%; object-fit: cover; }
.wc-sheet-head { padding: 10px var(--wc-pad) 4px; }
/* 사진이 없는 항목: 머리를 통짜 면으로(검정, "급할 때"는 주황) */
.wc-sheet-head.is-field { display: flex; flex-direction: column; justify-content: flex-end; min-height: 30svh; padding: 28px var(--wc-pad) 24px; background: var(--wc-black); color: #F2F2EF; }
.wc-sheet-head.is-field p { color: #C9CBC6; }
.wc-sheet-head.is-help { background: var(--wc-orange); color: var(--ink); }
.wc-sheet-head.is-help p { color: var(--ink); }
.wc-sheet-pic + .wc-sheet-head { padding-top: 22px; }
.wc-sheet-head h2 { margin: 0; font-size: var(--t-display); font-weight: 850; line-height: 1.05; letter-spacing: -.04em; word-break: keep-all; }
.wc-sheet-head p { margin: 8px 0 0; font-size: var(--t-body); font-weight: 700; color: var(--muted); }
.wc-sheet-body { padding: 8px 0 64px; }
.wc-b { margin-top: 18px; padding: 0 var(--wc-pad); }
.wc-b h3 { margin: 0 0 6px; font-size: var(--t-lead); font-weight: 800; letter-spacing: -.02em; }
.wc-b p { margin: 0; line-height: 1.65; word-break: keep-all; }

.wc-copy { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; width: calc(100% + 2 * var(--wc-pad)); margin: 0 calc(-1 * var(--wc-pad)); padding: 16px var(--wc-pad); border: 0; background: var(--wc-surface); text-align: left; }
.wc-copy small { grid-column: 1; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.wc-copy.wc-account b { font-size: var(--t-lead); white-space: nowrap; }
.wc-copy b { grid-column: 1; font-size: var(--t-head); font-weight: 850; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; }
.wc-copy span { grid-column: 2; grid-row: 1 / span 2; }
.wc-b-copy + .wc-b-copy { margin-top: 6px; }

/* 사실 줄: 값이 큰 칸 두 줄로(값 아래 이름). 긴 값은 한 줄을 다 쓴다. 전화번호는 눌린다 */
.wc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 calc(-1 * var(--wc-pad)); padding: 0 var(--wc-pad); }
.wc-rows div { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 14px 16px 13px; background: var(--wc-surface); }
.wc-rows div.is-wide { grid-column: 1 / -1; }
.wc-rows dt { margin-top: 3px; font-size: var(--t-small); font-weight: 600; color: var(--muted); }
.wc-rows dd { margin: 0; font-size: var(--t-lead); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; word-break: keep-all; font-variant-numeric: tabular-nums; }
.wc-rows div.is-wide dd { font-size: var(--t-body); }
.wc-rows dd a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: underline; text-decoration-color: var(--wc-orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.wc-rows dd a svg { width: 20px; height: 20px; }

.wc-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.wc-steps li { display: grid; grid-template-columns: 40px 1fr; align-items: start; line-height: 1.6; counter-increment: s; word-break: keep-all; }
.wc-steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--wc-ground); font-size: var(--t-small); font-weight: 800; }

.wc-photo img { width: calc(100% + 2 * var(--wc-pad)); margin: 0 calc(-1 * var(--wc-pad)); aspect-ratio: 4 / 3; object-fit: cover; }
.wc-photo figcaption { margin-top: 8px; font-size: var(--t-small); color: var(--muted); }

.wc-note { padding: 14px 16px; background: var(--wc-sunk); font-weight: 600; }
.wc-btn { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 99px; background: var(--ink); color: var(--wc-ground); font-weight: 800; text-decoration: none; transition: transform .2s ease; }
.wc-btn:active { transform: scale(.98); }
.wc-btn.is-quiet { margin-top: 8px; background: var(--wc-surface); color: var(--ink); }
.wc-b-link + .wc-b-link { margin-top: 8px; }

.wc-places, .wc-coupons { counter-reset: pin; }
.wc-places li, .wc-coupons li { counter-increment: pin; }
.wc-pin-n { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: var(--wc-ground); font-size: var(--t-small); font-weight: 850; vertical-align: 2px; }
.wc-pin-n::before { content: counter(pin); }
.wc-coupons .wc-pin-n { width: 22px; height: 22px; margin-right: 8px; background: var(--wc-orange); color: var(--ink); vertical-align: 0; }
.wc-places { margin: 6px calc(-1 * var(--wc-pad)) 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.wc-places li { padding: 18px var(--wc-pad); background: var(--wc-surface); }
.wc-places h3 { display: flex; align-items: center; gap: 0; margin: 0; }
.wc-places h3 em { display: inline-flex; align-items: center; gap: 4px; flex: none; margin-left: auto; padding-left: 10px; font-style: normal; font-size: var(--t-small); font-weight: 800; }
.wc-places h3 em svg { width: 17px; height: 17px; }
.wc-kind { margin: 2px 0 8px !important; font-size: var(--t-small); font-weight: 700; color: var(--muted); }
.wc-way { display: flex; gap: 6px; margin-top: 10px !important; font-size: var(--t-small); font-weight: 600; }
.wc-way svg { flex: none; width: 17px; height: 17px; margin-top: 3px; }
.wc-pill { display: inline-flex; margin-top: 12px; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: var(--wc-ground); font-size: var(--t-small); font-weight: 800; text-decoration: none; }

.wc-price { margin: 0 calc(-1 * var(--wc-pad)) 8px; padding: 0; list-style: none; }
.wc-price li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--wc-pad); }
.wc-price li:nth-child(odd) { background: var(--wc-surface); }
.wc-price b { display: block; font-weight: 800; }
.wc-price small { font-size: var(--t-small); color: var(--muted); }
.wc-price em { flex: none; font-style: normal; font-size: var(--t-lead); font-weight: 850; font-variant-numeric: tabular-nums; }
.wc-account { margin-bottom: 4px; background: var(--wc-sunk); }

.wc-coupons { margin: 0 calc(-1 * var(--wc-pad)); padding: 0; list-style: none; display: grid; gap: 6px; }
.wc-coupons li { display: flex; align-items: stretch; background: var(--wc-black); color: #F2F2EF; }
.wc-coupons div { flex: 1; padding: 16px var(--wc-pad); }
.wc-coupons small { font-size: var(--t-small); font-weight: 600; color: #C9CBC6; }
.wc-coupons b { display: block; margin: 2px 0 4px; font-size: var(--t-lead); font-weight: 850; }
.wc-coupons p { color: #C9CBC6; font-size: var(--t-small); line-height: 1.5 !important; }
.wc-code { display: grid; place-items: center; flex: none; width: 118px; padding: 0 8px; background: var(--wc-orange); color: var(--ink); font-size: var(--t-small); font-weight: 900; text-align: center; overflow-wrap: anywhere; }

.wc-binrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.wc-binrow span { display: grid; justify-items: center; gap: 6px; text-align: center; }
.wc-binrow svg { width: 100%; max-width: 64px; height: auto; fill: var(--bin); }
.wc-binrow .lid { fill: var(--bin); filter: brightness(.82); }
.wc-binrow b { font-size: var(--t-small); font-weight: 800; line-height: 1.25; word-break: keep-all; }
.wc-bins { margin: 0 calc(-1 * var(--wc-pad)); padding: 0; list-style: none; display: grid; }
.wc-bins li { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 4px 12px; padding: 14px var(--wc-pad); }
.wc-bins li:nth-child(odd) { background: var(--wc-surface); }
.wc-bins i { width: 18px; height: 18px; border-radius: 50%; background: var(--bin); }
.wc-bins b { font-weight: 800; white-space: nowrap; }
.wc-bins span { font-size: var(--t-small); font-weight: 600; color: var(--muted); word-break: keep-all; }

.wc-cards { margin: 0 calc(-1 * var(--wc-pad)); padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wc-cards li { padding: 16px var(--wc-pad); background: var(--wc-surface); }
.wc-cards b { display: block; margin: 0 0 6px; font-size: var(--t-lead); font-weight: 850; letter-spacing: -.02em; }
.wc-cards.is-signs { grid-template-columns: 1fr; }
.wc-cards.is-signs li { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: center; }
.wc-cards.is-signs b { margin: 0; }
.wc-cards.is-signs p { grid-column: 2; font-size: var(--t-body); }
.wc-sign { grid-row: 1 / span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 10px; background: var(--ink); color: var(--wc-ground); }
.wc-sign .wc-ico { width: 38px; height: 38px; }
.wc-cards p { font-size: var(--t-small); line-height: 1.6 !important; }

/* ---------- 항목 머리 그림 ---------- */
.wc-sheet-pic figcaption { padding: 8px var(--wc-pad) 0; font-size: var(--t-small); color: var(--muted); }
.wc-sheet-art { padding: 22px var(--wc-pad) 24px; background: var(--wc-surface); }
.wc-sheet-art.is-help { background: var(--wc-orange); }
.wc-sheet-art.wc-art-memo { background: var(--wc-sunk); padding: 34px var(--wc-pad) 40px; }
.wc-sheet-art .wc-memo { margin: 0 auto; }
.wc-sheet-art.wc-art-map { padding: 0; }

/* 동네 약도 */
.wc-map { position: relative; width: 100%; margin: 0; overflow: hidden; background: var(--wc-surface); }
.wc-map.is-block { width: calc(100% + 2 * var(--wc-pad)); margin: 0 calc(-1 * var(--wc-pad)); }
.wc-map-art, .wc-map-art svg, .wc-map-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wc-map .m-land { fill: #D9DBD5; }
.wc-map .m-field { fill: #CFD2CA; }
.wc-map .m-sea { fill: #9DB0B6; }
.wc-map .m-sand { fill: #E9E4D6; }
.wc-map .m-rock { fill: #8F928B; }
.wc-map .m-pine { fill: #45574A; }
.wc-map .m-road { fill: none; stroke: #F4F4F1; stroke-width: 7; stroke-linecap: round; }
.wc-map .m-road2 { fill: none; stroke: #F4F4F1; stroke-width: 3.5; stroke-linecap: round; }
.wc-map .m-pier { fill: none; stroke: #8F928B; stroke-width: 5; stroke-linecap: round; }
.wc-map .m-walk { fill: none; stroke: var(--wc-orange); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 6; }
.wc-map .m-light { fill: #F4F4F1; stroke: var(--ink); stroke-width: 1.2; }
.wc-map .m-light2 { fill: #C8341F; }
.wc-map .m-house { fill: #B9BCB5; }
.wc-map-label { position: absolute; transform: translateY(-50%); padding: 2px 6px; border-radius: 4px; background: rgb(233 234 229 / .86); font-size: 13px; font-weight: 800; line-height: 1.2; color: #1E211F; white-space: nowrap; pointer-events: none; }
.wc-map-home { position: absolute; transform: translate(-50%, calc(-100% - 8px)); padding: 5px 10px; border-radius: 99px; background: var(--wc-orange); color: var(--ink); font-size: 13px; font-weight: 850; white-space: nowrap; }
.wc-map-home::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--ink); border: 3px solid var(--wc-orange); transform: translateY(50%); }
.wc-map-pin { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--ink); color: #F4F4F1; font-size: 14px; font-weight: 850; }

/* 하루 시간표 막대 */
.wc-day { position: relative; display: grid; grid-template-rows: auto 18px auto auto; padding: 22px 4px 0; }
.wc-day-bar { position: relative; height: 18px; border-radius: 99px; background: var(--wc-sunk); }
.wc-day-span { position: absolute; top: 0; bottom: 0; background: var(--wc-orange); border-radius: 99px; }
.wc-day-night { position: absolute; top: 0; bottom: 0; right: 0; background: var(--ink); border-radius: 0 99px 99px 0; }
.wc-day-dot { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--wc-ground); }
.wc-day-now { position: absolute; top: -10px; bottom: -10px; width: 4px; margin-left: -2px; border-radius: 2px; background: var(--ink); }
.wc-day-now::before { content: "지금"; font-style: normal; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 850; white-space: nowrap; }
.wc-day-mk { position: relative; left: var(--x); width: max-content; max-width: 7.5em; transform: translateX(calc(-1 * var(--x))); font-size: var(--t-small); font-weight: 700; line-height: 1.3; word-break: keep-all; }
.wc-day-mk b { display: block; font-size: var(--t-lead); font-weight: 850; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.wc-day-mk.is-high { align-self: end; margin-bottom: 12px; }
.wc-day-mk.is-low { align-self: start; margin-top: 12px; }
.wc-day-axis { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
/* 표시가 여러 개라 같은 줄에 겹쳐 쌓는다: 위 줄 · 아래 줄 각각 한 칸에 */
.wc-day { grid-template-areas: "hi" "bar" "lo" "ax"; }
.wc-day-mk.is-high { grid-area: hi; }
.wc-day-mk.is-low { grid-area: lo; }
.wc-day-bar { grid-area: bar; }
.wc-day-axis { grid-area: ax; }

/* 대문 번호키 */
.wc-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(100%, 300px); margin: 0 auto; padding: 18px; border-radius: 18px; background: var(--ink); }
.wc-keypad span { position: relative; display: grid; place-items: center; height: 56px; border-radius: 10px; background: #2A2D2B; color: #E6E7E3; font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.wc-keypad span.is-on { background: var(--wc-orange); color: var(--ink); }
.wc-keypad small { position: absolute; top: 4px; right: 7px; font-size: 13px; font-weight: 850; }

/* 급할 때: 펜션에서 몇 분 */
.wc-far { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.wc-far li { display: grid; gap: 4px; }
.wc-far-name { font-size: var(--t-body); font-weight: 800; }
.wc-far-bar { display: flex; align-items: center; gap: 6px; width: max(var(--w), 7.5em); padding: 6px 12px; border-radius: 99px; background: var(--ink); color: var(--wc-orange); }
.wc-far-bar svg { width: 18px; height: 18px; }
.wc-far-bar b { margin-left: auto; font-weight: 850; font-variant-numeric: tabular-nums; }

.wc-toast {
  position: fixed; z-index: 80; left: 50%; bottom: 28px; margin: 0; padding: 13px 20px; border-radius: 99px; background: var(--ink); color: var(--wc-ground);
  font-size: var(--t-small); font-weight: 700; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: .3s ease; white-space: nowrap;
}
.wc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 휴대폰: 내리면 사진 띠의 60%가 위로 빠져 화면 28% → 17%쯤(transform만, 줄 위치는 그대로) */
@media (max-width: 959px) {
  .wc-stage { --wc-tuck: calc(var(--wc-band) * -.6); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .wc-compact .wc-stage { transform: translateY(var(--wc-tuck)); }
  .wc-compact .wc-group h2 { top: calc(var(--wc-stage-h, 0px) - var(--wc-band) * .6); }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .wc-stage { transition: none; } }

/* ---------- PC: 왼쪽 절반은 붙어 있는 사진, 오른쪽이 목록 ---------- */
@media (min-width: 960px) {
  :root { --t-display: 48px; --t-head: 34px; --t-lead: 24px; --wc-pad: 40px; }
  .wc { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .wc-stage { top: 0; height: 100svh; display: flex; flex-direction: column; }
  .wc-pic { flex: 1; height: auto; }
  .wc-now { padding: 20px 40px 22px; column-gap: 18px; }
  .wc-now-lead { font-size: 36px; }
  .wc-now-text { font-size: var(--t-lead); }
  .wc-sun-where { display: inline; }
  .wc-sun { flex-basis: 100%; margin-top: 4px; }
  .wc-col { min-height: 100svh; }
  .wc-head { padding-top: 64px; }
  .wc-hello { max-width: 30em; }
  .wc-row { min-height: 84px; }
  /* 항목 화면은 오른쪽 칸에서 열린다. 왼쪽 사진은 그 항목 사진으로 바뀐다 */
  .wc-sheet { left: 50%; }
  .wc-sheet-pic { display: none; }
  .wc-sheet-art { padding: 28px 40px 30px; }
  .wc-sheet-art.wc-art-map { padding: 0; }
  .wc-group h2 { position: static; padding: 0 var(--wc-pad); background: none; font-size: 30px; }
  .wc-memo { margin-left: 40px; }
  .wc-sheet-head { padding-top: 24px; }
  .wc-sheet-bar { height: 88px; padding-left: 28px; }
  body.wc-locked .wc-col { visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) .wc-pic img, html:not(.force-motion) .wc-row, html:not(.force-motion) .wc-row::before { transition: opacity .3s ease; }
}
