/* 귤꼬리 — 강아지 호텔·미용 디자인 샘플 (디코랩)
   구성: 보호자용 CCTV 6분할 화면(히어로) → 채널마다 확대된 모니터(섹션)
   색은 실물에서: 관제실 벽, 모니터 테두리, 귤껍질, 귤잎, REC 점 */
:root {
  --color-wall: #E8EBED;     /* 페이지 배경 — 관제실 벽 */
  --color-ink: #1F2226;      /* 본문 글자 */
  --color-muted: #5A5F66;
  --color-bezel: #2A2D31;    /* 모니터 테두리·OSD 줄 (장치에만 어둡게) */
  --color-bezel-2: #3A3E44;
  --color-screen: #FFFDF9;   /* 모니터 안 정보 패널 */
  --color-paper: #F5F1EA;    /* 표 머리·보조 면 */
  --color-peel: #F08A1C;     /* 귤껍질 — 주 버튼·지금 채널·인식 상자 */
  --color-peel-soft: #FFE6C7;
  --color-peel-ink: #A9520A; /* 밝은 면 위 강조 글자 */
  --color-leaf: #3E7D4A;     /* 귤잎 — 체크·안심 */
  --color-rec: #E5392F;      /* REC 점 */
  --color-line: rgba(31,34,38,.16);

  --t-in: #AEB4BB; --t-play: #F08A1C; --t-walk: #3E7D4A; --t-meal: #F2C230; --t-nap: #7F95C9; --t-groom: #4FA8A5;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
          "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-hand: "Single Day", var(--font);

  --fs-h1: clamp(2.1rem, 1.55rem + 1.5vw, 2.75rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  --fs-h3: 1.12rem;
  --fs-body: 1.0625rem;
  --fs-small: .875rem;

  --header-h: 64px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--color-ink);
  background: var(--color-wall);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.28; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--color-ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--color-peel); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.svg-hand { font-family: var(--font-hand); }

/* 실제 정보 자리 */
.ph { display: inline-block; padding: 0 .4em; border: 1.5px dashed currentColor; border-radius: 6px; opacity: .8; font-size: .92em; line-height: 1.5; }

/* 샘플 안내 띠 */
.sample-banner { background: var(--color-ink); color: #E9ECF0; font-size: .82rem; line-height: 1.55; }
.sample-banner__inner { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; }
.sample-banner__tag { flex: none; padding: 1px 8px; border-radius: 99px; background: var(--color-peel); color: var(--color-ink); font-weight: 700; font-size: .76rem; }
.sample-banner a { color: #FFC37E; font-weight: 600; }

/* 헤더 — backdrop-filter 를 쓰지 않는다(모바일 메뉴가 헤더 높이로 잘리는 문제) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--color-screen); border-bottom: 2px solid var(--color-ink); }
.site-header__inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.logo svg { width: 38px; height: 38px; }
.logo b { display: flex; flex-direction: column; font-family: var(--font-hand); font-weight: 400; font-size: 1.6rem; line-height: 1; }
.logo small { font-family: var(--font); font-size: .7rem; font-weight: 600; color: var(--color-muted); margin-top: 3px; letter-spacing: 0; }
.gnb { display: flex; align-items: center; gap: 2px; }
.gnb a { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 9px; text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.gnb a i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: var(--color-bezel); color: #fff; font-style: normal; font-size: .72rem; font-weight: 800; transition: background-color .2s, color .2s; }
.gnb a:not(.gnb__cta):hover { background: var(--color-paper); }
.gnb a.is-active i { background: var(--color-peel); color: var(--color-ink); }
.gnb a.is-active:not(.gnb__cta)::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 1px; height: 3px; border-radius: 3px; background: var(--color-peel); }
.gnb__cta { margin-left: 6px; background: var(--color-peel); border: 2px solid var(--color-ink); padding: 7px 14px !important; border-radius: 99px !important; font-variant-numeric: tabular-nums; }
.header-tel { display: none; width: 42px; height: 42px; border: 2px solid var(--color-ink); border-radius: 50%; place-items: center; color: var(--color-ink); background: var(--color-peel); }
.header-tel svg { width: 20px; height: 20px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2.5px; border-radius: 2px; background: var(--color-ink); content: ""; transition: transform .25s, opacity .2s; }
.menu-toggle__bar { top: 21px; }
.menu-toggle__bar::before { left: 0; top: -7px; }
.menu-toggle__bar::after { left: 0; top: 7px; }
.site-header.is-open .menu-toggle__bar { background: transparent; }
.site-header.is-open .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid var(--color-ink); cursor: pointer; font-family: inherit; color: var(--color-ink); transition: transform .18s ease, background-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--peel { background: var(--color-peel); }
.btn--peel:hover { background: #F59A35; }
.btn--line { background: var(--color-screen); }
.btn--line:hover, .btn--line-dark:hover { background: var(--color-paper); }
.btn--line-dark { background: var(--color-screen); }
.btn--kakao { background: #FEE500; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }

/* ---------- OSD·카메라 화면 공통 ---------- */
.cam { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #15171A; }
.cam__img { width: 100%; height: 100%; }
.cam::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 62%, rgba(0,0,0,.22)); }
.osd { position: absolute; z-index: 2; color: #fff; font-weight: 700; font-size: clamp(.64rem, .55rem + .25vw, .8rem); line-height: 1.25; padding: 2px 6px; background: rgba(18,20,23,.58); border-radius: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.osd--tl { top: 7px; left: 7px; }
.osd--tr { top: 7px; right: 7px; display: flex; align-items: center; gap: 5px; }
.osd--bl { bottom: 7px; left: 7px; }
.osd--br { bottom: 7px; right: 7px; }
.osd:empty { display: none; }
.cam--lg .osd { font-size: clamp(.72rem, .6rem + .3vw, .9rem); padding: 3px 8px; }
.cam--lg .osd--tl { top: 10px; left: 10px; } .cam--lg .osd--bl { bottom: 10px; left: 10px; }
.cam--lg .osd--tr { top: 10px; right: 10px; } .cam--lg .osd--br { bottom: 10px; right: 10px; }
.rec-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--color-rec); }
.cam__boot { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: #1A1C1F; color: #9BA3AB; font-weight: 700; font-size: .78rem; opacity: 0; pointer-events: none; }
.cam__static { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 2px, rgba(0,0,0,.3) 2px 5px), #6B7076; }

/* ---------- 0. 히어로: 보호자 화면 앱 ---------- */
.hero { padding: 18px 0 8px; }
.nvr { width: min(1440px, 100% - 24px); margin-inline: auto; background: var(--color-bezel); border-radius: 18px; padding: 0 8px 8px; box-shadow: 0 14px 0 -6px rgba(31,34,38,.14); }
.nvr__bar { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; color: #E9ECEF; font-size: .86rem; font-weight: 700; }
.nvr__app { display: flex; align-items: center; gap: 7px; }
.nvr__mode { padding: 1px 7px; border-radius: 4px; background: var(--color-bezel-2); font-size: .76rem; }
.nvr__clock { margin-left: auto; font-variant-numeric: tabular-nums; color: #C9CDD2; }
.still-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 99px; background: transparent; color: #fff; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.still-btn:hover { background: var(--color-bezel-2); }
.still-btn__icon { width: 9px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.still-btn[aria-pressed="true"] .still-btn__icon { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
.nvr__body { display: grid; gap: 8px; }
.nvr__side { background: var(--color-screen); border-radius: 10px; padding: 22px 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.nvr__kind { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; margin-bottom: 10px; font-size: var(--fs-small); font-weight: 700; color: var(--color-peel-ink); }
.nvr__kind::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-peel); }
.hero__title { font-family: var(--font-hand); font-weight: 400; font-size: var(--fs-h1); line-height: 1.18; letter-spacing: -.01em; margin-bottom: 12px; }
.hero__lead { color: var(--color-muted); margin-bottom: 18px; max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__actions .btn { flex: 1 1 auto; }
.nvr__hint { margin-top: 16px; padding-top: 12px; border-top: 1.5px dashed var(--color-line); font-size: var(--fs-small); color: var(--color-muted); }
.pc-only { display: none; }

.nvr__main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wall { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nvr__status { list-style: none; margin: 0; padding: 8px 6px 2px; display: flex; flex-wrap: wrap; gap: 4px 18px; color: #C2C7CD; font-size: .82rem; font-weight: 600; line-height: 1.5; }
.nvr__status li .rec-dot { margin-right: 6px; vertical-align: 1px; }
.nvr__app, .still-btn { white-space: nowrap; }
.nvr__clock { display: none; }
.floor__hint { display: none; margin-bottom: 6px; font-size: .84rem; color: var(--color-muted); }
@media (max-width: 599px) {
  .floor__hint { display: block; }
  .floor__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
  .cam--plan { min-width: 540px; }
}
.nvr__status b { color: #FFC37E; }
.nvr__status small { font-size: .74rem; opacity: .8; }
.tile { display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: center; padding: 6px; border-radius: 10px; background: var(--color-bezel-2); color: #fff; text-decoration: none; }
.tile .cam { border-radius: 5px; }
.tile .osd--tl, .tile .osd--bl { display: none; }
.tile .osd--tr { top: 4px; right: 4px; padding: 1px 4px; font-size: .6rem; }
.tile__meta b { display: flex; align-items: center; gap: 7px; font-size: 1.02rem; }
.tile__ch { padding: 0 6px; border-radius: 4px; background: var(--color-peel); color: var(--color-ink); font-size: .74rem; font-weight: 800; }
.tile__meta small { display: block; margin-top: 2px; color: #C2C7CD; font-size: .84rem; font-weight: 500; }
.tile:hover { background: #474C53; }

/* ---------- 섹션 = 확대된 채널 모니터 ---------- */
.ch { padding-top: clamp(36px, 6vw, 72px); }
.ch:last-of-type { padding-bottom: clamp(48px, 7vw, 96px); }
.monitor { width: min(1240px, 100% - 24px); margin-inline: auto; background: var(--color-bezel); border-radius: 18px; padding: 0 8px 8px; box-shadow: 0 14px 0 -6px rgba(31,34,38,.14); transform-origin: 50% 20%; }
.monitor__bar { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 4px; color: #E9ECEF; font-size: .86rem; font-weight: 700; }
.monitor__ch { padding: 1px 8px; border-radius: 4px; background: var(--color-peel); color: var(--color-ink); font-weight: 800; }
.monitor__rec { display: inline-flex; align-items: center; gap: 5px; color: #C9CDD2; }
.monitor__clock { display: none; margin-left: auto; font-variant-numeric: tabular-nums; color: #C9CDD2; }
.monitor__back { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 99px; color: #fff; text-decoration: none; font-size: .8rem; transition: background-color .2s; }
.monitor__back::before { content: ""; width: 12px; height: 9px; background:
  linear-gradient(currentColor 0 0) 0 0 / 3px 3px no-repeat, linear-gradient(currentColor 0 0) 4.5px 0 / 3px 3px no-repeat, linear-gradient(currentColor 0 0) 9px 0 / 3px 3px no-repeat,
  linear-gradient(currentColor 0 0) 0 6px / 3px 3px no-repeat, linear-gradient(currentColor 0 0) 4.5px 6px / 3px 3px no-repeat, linear-gradient(currentColor 0 0) 9px 6px / 3px 3px no-repeat; }
.monitor__back:hover { background: var(--color-bezel-2); }
.monitor__clock + .monitor__back { margin-left: 0; }
.monitor__body { background: var(--color-screen); border-radius: 10px; padding: 16px 16px 24px; display: grid; gap: 26px; }
.monitor__view { display: grid; gap: 18px; align-content: start; min-width: 0; }
.monitor__info { min-width: 0; }
.cam--lg { border: 2px solid var(--color-ink); border-radius: 8px; }
.monitor--night .monitor__ch { background: #9DB8AA; }

.kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: var(--fs-small); font-weight: 700; color: var(--color-peel-ink); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-peel); }
.monitor__info h2, .plan-head h2 { font-family: var(--font-hand); font-weight: 400; font-size: var(--fs-h2); letter-spacing: -.01em; line-height: 1.18; margin-bottom: 14px; }
.monitor__info > p:not(.kicker):not(.note) { margin-bottom: 18px; }
.monitor__info h3, .evlog__title, .playback h3, .plan-foot h3, .rules h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
h3 small, .evlog__title small { font-size: .78rem; font-weight: 600; color: var(--color-muted); margin-left: 4px; }

/* 이벤트 기록 */
.evlog { border: 2px solid var(--color-ink); border-radius: 8px; padding: 14px 16px 10px; background: #fff; }
.evlog__title { font-weight: 800; }
.evlog ol { list-style: none; margin: 0; padding: 0; }
.evlog li { display: grid; grid-template-columns: 3.6em 1fr; gap: 10px; padding: 7px 0; border-top: 1.5px dashed var(--color-line); font-size: .96rem; line-height: 1.5; }
.evlog time { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--color-peel-ink); }

.checks { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 16px; height: 9px; border-left: 3px solid var(--color-leaf); border-bottom: 3px solid var(--color-leaf); transform: rotate(-45deg); }

/* 요금표 */
.fee { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: .97rem; font-variant-numeric: tabular-nums; }
.fee caption { text-align: left; font-weight: 800; padding-bottom: 8px; }
.fee th, .fee td { padding: 10px 10px; border-bottom: 1.5px solid var(--color-line); text-align: left; vertical-align: top; }
.fee thead th { background: var(--color-paper); border-top: 2px solid var(--color-ink); border-bottom: 2px solid var(--color-ink); font-size: .88rem; }
.fee tbody th { font-weight: 700; }
.fee td { white-space: nowrap; }
.fee small { display: block; font-weight: 500; font-size: .8rem; color: var(--color-muted); }
.fee.hours td { white-space: normal; }
.fee.hours tbody tr:first-child th, .fee.hours tbody tr:first-child td { border-top: 2px solid var(--color-ink); }
.note { font-size: .92rem; color: var(--color-muted); }

.facts { margin: 0 0 18px; border-top: 2px solid var(--color-ink); }
.facts div { display: grid; grid-template-columns: 6.2em 1fr; gap: 10px; padding: 10px 0; border-bottom: 1.5px solid var(--color-line); }
.facts dt { font-weight: 800; }
.facts dd { margin: 0; }

/* 순서 있는 절차 */
.steps { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: step; display: grid; gap: 4px; }
.steps li { position: relative; counter-increment: step; padding: 8px 0 8px 44px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--color-bezel); color: #fff; font-weight: 800; font-size: .9rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 42px; bottom: -6px; border-left: 2px dashed var(--color-line); }
.steps b { display: block; }
.rules { padding: 16px 18px; border-radius: 8px; background: #EEF4EE; border-left: 5px solid var(--color-leaf); }
.rules ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* FAQ */
.monitor__faq { margin-top: 8px; background: var(--color-screen); border-radius: 10px; padding: 18px 16px 22px; }
.faq__title { font-family: var(--font-hand); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 12px; }
.faq__list { border-top: 2px solid var(--color-ink); }
.qa { border-bottom: 1.5px solid var(--color-line); }
.qa h4 { font-size: 1.02rem; }
.qa button { position: relative; width: 100%; padding: 15px 40px 15px 0; border: 0; background: none; font: inherit; font-weight: 700; text-align: left; color: inherit; cursor: pointer; }
.qa button::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.qa button[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
/* 스크립트가 준비된 뒤에만 접는다 — JS 가 실패해도 답이 다 보이게 */
.qa__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .25s ease; }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding: 0 0 16px; color: #3B4047; }
.ready .qa__panel { grid-template-rows: 0fr; }
.ready .qa h4:has(button[aria-expanded="true"]) + .qa__panel { grid-template-rows: 1fr; }

/* ---------- CH2 하루 맡기기 ---------- */
.monitor__body--plan { grid-template-areas: "head" "picker" "floor" "quote" "playback" "foot"; }
.monitor__body--plan .quote { grid-area: quote; align-self: start; }
.plan-head { grid-area: head; max-width: 42em; }
.plan-head p:not(.kicker) { color: var(--color-muted); }
.picker { grid-area: picker; display: grid; gap: 16px; align-content: start; }
.picker__group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.picker__group legend { width: 100%; margin-bottom: 7px; font-weight: 800; }
.picker__group--sub { padding-left: 14px; border-left: 4px solid var(--color-peel); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: baseline; gap: 5px; min-height: 44px; padding: 9px 15px; border-radius: 99px; border: 2px solid var(--color-ink); background: #fff; font-weight: 700; font-size: .95rem; line-height: 1.4; transition: background-color .18s, color .18s; }
.chip small { font-weight: 500; font-size: .78rem; opacity: .8; }
.chip input:checked + span { background: var(--color-peel); }
.chip input:focus-visible + span { outline: 3px solid var(--color-ink); outline-offset: 2px; }

.floor { grid-area: floor; min-width: 0; }
.floor__map { width: 100%; height: 100%; }
.floor__map .zone rect { stroke: none; transition: fill .3s ease; }
.floor__map .zone text { font-family: var(--font-hand); font-size: 17px; fill: #3A2E28; }
.floor__map .zone text.zone__sub { font-family: var(--font); font-size: 10.5px; font-weight: 600; fill: #6A6259; }
.floor__map .zone.is-on rect { fill: #FFD9AE; }
.floor__map .room-no text { font-size: 11px; font-weight: 800; font-family: var(--font); }
.night-mark { opacity: 0; transition: opacity .3s ease; }
.night-mark.is-on { opacity: 1; }
.night-mark text { font-family: var(--font-hand); font-size: 18px; }
.tracker { transition: transform .75s cubic-bezier(.55,0,.2,1); }
.tracker__tag text { font-family: var(--font); font-size: 11.5px; font-weight: 800; fill: var(--color-ink); }
.floor__zone { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: var(--color-peel-soft); font-size: .98rem; }
.floor__zone b { color: var(--color-peel-ink); }

.playback { grid-area: playback; min-width: 0; }
.playback__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px; margin-bottom: 8px; }
.playback__head h3 { margin: 0; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--color-muted); }
.legend li { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.t-in { --c: var(--t-in); } .t-play { --c: var(--t-play); } .t-walk { --c: var(--t-walk); } .t-meal { --c: var(--t-meal); } .t-nap { --c: var(--t-nap); } .t-groom { --c: var(--t-groom); }
.playback__track-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
.playback__track { position: relative; min-width: 620px; height: 70px; background: var(--color-bezel); border-radius: 8px; }
.playback__bars { position: absolute; left: 24px; right: 24px; top: 12px; height: 26px; background: var(--color-bezel-2); border-radius: 4px; }
.playback__bars span { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--c); box-shadow: inset -1px 0 0 rgba(0,0,0,.25); }
.playback__ticks { position: absolute; left: 24px; right: 24px; bottom: 6px; height: 18px; }
.playback__ticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: .7rem; font-weight: 700; color: #C9CDD2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.playback__ticks span::before { content: ""; position: absolute; left: 50%; top: -6px; height: 4px; border-left: 1.5px solid #6E747B; }
.playback__head-line { position: absolute; left: 24px; right: 24px; top: 6px; height: 38px; pointer-events: none; }
.playback__head-line::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; border-left: 2px solid #fff; }
.playback__head-line::after { content: ""; position: absolute; left: -6px; top: -2px; border: 6px solid transparent; border-top-color: #fff; }
.playback__head-line { transform: translateX(100%); }

.schedule { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0 22px; }
.schedule li { display: grid; grid-template-columns: 14px 3.4em 1fr; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1.5px dashed var(--color-line); font-size: .96rem; line-height: 1.5; }
.schedule li::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c); transform: translateY(1px); }
.schedule time { font-weight: 800; font-variant-numeric: tabular-nums; }
.schedule .next-day { display: block; font-size: .72rem; color: var(--color-muted); font-weight: 600; }

.plan-foot { grid-area: foot; display: grid; gap: 14px; }
.quote, .bring, .ask { border: 2px solid var(--color-ink); border-radius: 10px; padding: 16px 18px; background: #fff; }
.quote { background: var(--color-peel-soft); }
.quote__price { font-weight: 800; line-height: 1.1; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.quote__price b { font-size: clamp(2.2rem, 1.8rem + 1.4vw, 2.8rem); letter-spacing: -.02em; }
.quote__price span { font-size: 1.2rem; margin-left: 2px; }
.quote__desc { font-weight: 700; }
.quote__note { margin-top: 8px; font-size: .86rem; color: var(--color-muted); }
.bring__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bring__list label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; line-height: 1.5; }
.bring__list input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border: 2px solid var(--color-ink); border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s; }
.bring__list input::after { content: ""; width: 10px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.bring__list input:checked { background: var(--color-leaf); border-color: var(--color-leaf); }
.bring__list input:checked::after { opacity: 1; }
.bring__list input:checked + span { color: var(--color-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.bring__list .is-new span { font-weight: 700; }
.ask__text { padding: 12px 14px; border: 1.5px dashed var(--color-ink); border-radius: 8px; background: #FFF8E6; font-size: .97rem; margin-bottom: 12px; }
.ask__btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ask__done { margin-top: 8px; font-size: .86rem; color: var(--color-leaf); font-weight: 700; min-height: 1.4em; }

/* 오시는 길 */
.map-art { border: 2px solid var(--color-ink); border-radius: 8px; overflow: hidden; }
.map-art svg { width: 100%; height: auto; }
.loc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* 푸터 */
.site-footer { background: var(--color-ink); color: #C9CDD2; font-size: .88rem; padding: 36px 0 calc(96px + env(safe-area-inset-bottom)); }
.site-footer__inner { display: grid; gap: 18px; }
.site-footer__logo { font-family: var(--font-hand); font-size: 1.5rem; color: #fff; margin-bottom: 8px; }
.site-footer__biz { line-height: 1.9; }
.site-footer__biz .ph { margin-right: 6px; }
.site-footer__links { margin-top: 8px; display: flex; gap: 14px; }
.site-footer__links .strong { font-weight: 800; color: #fff; }
.site-footer__credit a { color: #FFC37E; }

/* 하단 고정 바 (모바일) */
.quickbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--color-screen); border-top: 2px solid var(--color-ink); }
.quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 2px solid var(--color-ink); border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.quickbar svg { width: 18px; height: 18px; }
.quickbar a.js-kakao { background: #FEE500; }
.quickbar__cta { background: var(--color-peel); }
body.nav-open .quickbar { visibility: hidden; }

.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 10px; background: var(--color-ink); color: #fff; font-size: .9rem; font-weight: 600; }

/* 확대 고스트 (분할 칸 → 화면 가득) */
.zoom-ghost { position: fixed; z-index: 60; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; border-radius: 6px; pointer-events: none; background: #15171A; }
.zoom-ghost svg { width: 100%; height: 100%; }

/* ---------- 움직임: 보이는 상태가 기본, has-motion 일 때만 ---------- */
.has-motion .cam__boot { animation: boot .5s ease var(--d, 0s) both; }
@keyframes boot { 0%, 65% { opacity: 1; } 100% { opacity: 0; } }
.has-motion .ch .monitor { opacity: 0; transform: translateY(26px) scale(.9); }
.has-motion .ch.is-in .monitor { opacity: 1; transform: none; transition: opacity .45s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.has-motion .ch .cam__static { opacity: 1; }
.has-motion .ch.is-in .cam__static { opacity: 0; transition: opacity .45s ease .45s; }

/* 상시 움직임 — '움직임 정지' 버튼과 동작 줄이기에서 멈춘다 */
.has-motion .rec-dot { animation: blink 1.2s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.wag, .wag-s { transform-box: fill-box; transform-origin: 0% 100%; }
.has-motion .wag { animation: wag .45s ease-in-out infinite alternate; }
.has-motion .wag-s { animation: wag .6s ease-in-out infinite alternate; }
@keyframes wag { from { transform: rotate(-9deg); } to { transform: rotate(13deg); } }
.bounce { transform-box: fill-box; transform-origin: 50% 100%; }
.has-motion .bounce { animation: bounce .8s cubic-bezier(.4,0,.6,1) infinite alternate; }
@keyframes bounce { from { transform: translateY(-14px); } to { transform: translateY(22px); } }
.breathe { transform-box: fill-box; transform-origin: 50% 100%; }
.has-motion .breathe { animation: breathe 2.6s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.035, 1.05); } }
.has-motion .zzz text { animation: zzz 3s ease-in-out infinite; }
.has-motion .zzz text:nth-child(2) { animation-delay: .5s; }
.has-motion .zzz text:nth-child(3) { animation-delay: 1s; }
@keyframes zzz { 0%, 100% { opacity: .25; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-4px); } }
.has-motion .air { animation: air .5s linear infinite; }
@keyframes air { from { transform: translateX(-6px); opacity: .3; } to { transform: translateX(10px); opacity: 1; } }
.has-motion .bubbles { animation: float 2.2s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-14px); } }
.has-motion .sniff { animation: sniff 1.4s ease-in-out infinite; }
@keyframes sniff { 50% { opacity: .2; } }
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }
.is-still .cam__boot { animation: none !important; opacity: 0; }
.is-still .rec-dot { opacity: 1; }

/* ---------- 반응형 ---------- */
@media (max-width: 1099px) {
  .site-header__inner { gap: 6px; }
  .header-tel { display: grid; }
  .menu-toggle { display: block; }
  .gnb { position: fixed; z-index: 45; left: 0; right: 0; top: var(--menu-top, var(--header-h)); bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 40px; background: var(--color-screen); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
  .site-header.is-open .gnb { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .gnb a { padding: 14px 4px; font-size: 1.08rem; gap: 12px; border-radius: 0; border-bottom: 1.5px solid var(--color-line); }
  .gnb a i { width: 26px; height: 26px; font-size: .85rem; }
  .gnb a.is-active:not(.gnb__cta)::after { left: auto; right: 6px; top: 50%; bottom: auto; width: 10px; height: 10px; border-radius: 50%; transform: translateY(-50%); }
  .gnb__cta { margin: 18px 0 0; justify-content: center; }
}
@media (max-width: 400px) {
  .logo small { display: none; }
}
@media (min-width: 600px) {
  .monitor__clock, .nvr__clock { display: inline; }
  .tile { grid-template-columns: 160px 1fr; }
  .plan-foot { grid-template-columns: 1fr 1fr; }
  .schedule { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  :root { --gutter: 24px; }
  .hero { padding: 24px 0 8px; }
  .nvr { width: min(1440px, 100% - 40px); padding: 0 10px 10px; }
  .nvr__bar { min-height: 46px; }
  .nvr__body { grid-template-columns: minmax(300px, 360px) 1fr; }
  .nvr__side { padding: 28px 26px; }
  .pc-only { display: inline; } .mo-only { display: none; }
  .wall { grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
  .nvr__status { margin-top: auto; padding: 10px 6px 4px; border-top: 1.5px solid var(--color-bezel-2); }
  .tile { display: block; padding: 0; background: none; border-radius: 6px; }
  .tile:hover { background: none; }
  .tile .cam { border-radius: 6px; }
  .tile .osd--tl, .tile .osd--bl { display: block; }
  .tile .osd--tr { top: 7px; right: 7px; padding: 2px 6px; font-size: inherit; }
  .tile__meta { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tile { position: relative; }
  .tile .cam { outline: 3px solid transparent; outline-offset: -3px; transition: outline-color .18s; }
  .tile:hover .cam, .tile:focus-visible .cam { outline-color: var(--color-peel); }
  .tile:hover .osd--tl { background: var(--color-peel); color: var(--color-ink); }
  .tile:focus-visible { outline: none; }
  .monitor { width: min(1240px, 100% - 40px); padding: 0 10px 10px; }
  .monitor__body { padding: 28px 30px 32px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .monitor__body--plan { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "head head" "picker floor" "quote floor" "playback playback" "foot foot"; grid-template-rows: auto auto 1fr auto auto; gap: 24px 36px; }
  .floor { align-self: start; }
  .monitor__faq { padding: 26px 30px 30px; }
  .faq__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; border-top: 0; }
  .qa:nth-child(-n+2) { border-top: 2px solid var(--color-ink); }
  .plan-foot { grid-template-columns: 1fr 1fr; }
  .ask { grid-column: auto; }
  .schedule { grid-template-columns: repeat(3, 1fr); }
  .site-footer { padding-bottom: 40px; }
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: end; }
  .quickbar { display: none; }
  .toast { bottom: 28px; }
}
@media (min-width: 1100px) {
  .header-tel, .menu-toggle { display: none !important; }
}
@media (min-width: 1400px) {
  .nvr__body { grid-template-columns: 380px 1fr; }
  .wall { gap: 10px; }
}

/* 동작 줄이기 — 마지막 안전망 (0.01ms: 끝 이벤트가 그대로 발생하게) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* 3단계(색·투명도 피드백)는 다시 살린다 */
  .chip span, .btn, .qa__panel, .zone rect, .bring__list input, .gnb a i, .night-mark { transition-duration: .2s !important; }
}
