/* kids.ayo.pe.kr — 어린이집·유치원 독자 스킨 (2026-09-27, 사이트 고유 디자인 규칙).
 *
 * 콘셉트: **크레파스 그림일기 × 원아 이름표 × 신발장**. 어린이집을 알아보는 부모가 매일 받는
 * 알림장·그림일기의 말투로 짠다. 색은 크레파스 여섯 색을 돌려 쓴다.
 * site.css(디자인 A) 위에 덮어쓰고 전부 body.site-kids 아래로 가둔다 — 다른 사이트에 새지 않는다.
 *
 *   헤더   : 그림일기 머리(위 무지개 물결 · 아래 크레파스 줄) + 구름 말풍선 상호
 *   탭     : 크레파스 한 자루(끝이 뾰족) — 탭마다 다른 색
 *   요약표 : 원아 이름표(노란 판 · 바느질 점선 · 옷핀 구멍)
 *   질답   : 말풍선 — 질문은 동그란 스티커 번호, 답은 꼬리 달린 풍선
 *   목록   : 신발장 칸(색 이름 스티커가 돌아가며 바뀐다)
 *   지역   : 동그란 스티커(살짝 기울어짐)
 *   글꼴   : 제목 Jua · 본문 Sunflower
 *
 * ⚠️ 광고 유닛(<ins>·.ad-top·.ad-row 안쪽)에는 배경·테두리·라벨을 씌우지 않는다(site.css 애드센스 절).
 * ⚠️ 질문(h2)과 답(p) 사이에 요소를 끼우지 않는다 — 장식은 ::before/::after 로만.
 */

body.site-kids {
  --fg: #2e2a3a;
  --fg-soft: #4f4960;
  --muted: #7d768c;
  --line: #eadff0;
  --line-soft: #f4edf6;
  --bg: #ffffff;
  --bg-soft: #fbf6ff;
  --accent: #6d4bc4;
  --accent-strong: #52339e;
  --accent-soft: #efe8ff;
  --accent-wash: #fbf8ff;
  --accent-line: #d6c8f5;
  --c1: #ff6b6b;   /* 빨강 크레파스 */
  --c2: #ffa94d;   /* 주황 */
  --c3: #ffd43b;   /* 노랑 */
  --c4: #51cf66;   /* 초록 */
  --c5: #4dabf7;   /* 파랑 */
  --c6: #9775fa;   /* 보라 */
  --ink: #3b2f63;
  --radius: 20px;
  --wrap: 860px;
  --round: "Jua", "Sunflower", sans-serif;
  background: #fffaf0;
  background-image: radial-gradient(rgba(151, 117, 250, .10) 2px, transparent 2.5px), radial-gradient(rgba(255, 169, 77, .10) 2px, transparent 2.5px);
  background-size: 36px 36px, 36px 36px;
  background-position: 0 0, 18px 18px;
  font-family: "Sunflower", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 500;
}

body.site-kids main,
body.site-kids .site-foot,
body.site-kids .ad-top,
body.site-kids .top-search { max-width: var(--wrap); }

/* ── 헤더: 그림일기 머리 ────────────────────────────────────────────────── */
body.site-kids .site-head {
  position: relative;
  max-width: none;
  margin: 0 0 10px;
  padding: 32px max(20px, calc((100% - var(--wrap)) / 2 + 20px)) 26px;
  border-bottom: 0;
  background:
    linear-gradient(90deg, var(--c1) 0 16.6%, var(--c2) 16.6% 33.3%, var(--c3) 33.3% 50%, var(--c4) 50% 66.6%, var(--c5) 66.6% 83.3%, var(--c6) 83.3%) 0 100% / 100% 6px no-repeat,
    #fff;
}
/* 위 무지개 물결 */
body.site-kids .site-head::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 14px;
  background:
    radial-gradient(circle at 12px 14px, transparent 8px, var(--c5) 8.5px 11px, transparent 11.5px) 0 0 / 24px 14px repeat-x,
    linear-gradient(#e7f5ff, #e7f5ff);
}
body.site-kids .brand {
  position: relative;
  font-family: var(--round);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}
body.site-kids .brand a {
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid var(--ink);
  border-radius: 30px 34px 28px 36px / 34px 28px 36px 30px;
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--c3);
}
body.site-kids .brand a:hover { background: #fff9db; text-decoration: none; }
/* 말풍선 꼬리 두 방울 */
body.site-kids .brand::after {
  content: "";
  position: absolute;
  left: 22px; bottom: -12px;
  width: 10px; height: 10px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}

/* 탭: 크레파스 한 자루 */
body.site-kids .site-head nav { gap: 10px 14px; }
body.site-kids .site-head nav a {
  --cr: var(--c1);
  position: relative;
  padding: 7px 24px 7px 16px;
  border-radius: 6px 0 0 6px;
  background: var(--cr);
  color: #fff;
  font-family: var(--round);
  font-size: 17px;
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  box-shadow: inset 8px 0 0 rgba(0, 0, 0, .10), inset 0 -3px 0 rgba(0, 0, 0, .10);
}
body.site-kids .site-head nav a:nth-child(2) { --cr: var(--c5); }
body.site-kids .site-head nav a:nth-child(3) { --cr: var(--c4); }
body.site-kids .site-head nav a:nth-child(4) { --cr: var(--c6); }
body.site-kids .site-head nav a.on { box-shadow: inset 8px 0 0 rgba(0, 0, 0, .10), inset 0 -5px 0 rgba(0, 0, 0, .22); transform: translateY(-2px); }
body.site-kids .site-head nav a:not(.on) { opacity: .78; }
body.site-kids .site-head nav a:hover { opacity: 1; text-decoration: none; }

/* 검색창: 둥근 풍선 */
body.site-kids .site-search input[type="search"] {
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding-left: 20px;
  background: #fff;
}
body.site-kids .site-search button {
  border-radius: 999px;
  padding: 0 22px;
  background: var(--c6);
  font-family: var(--round);
  font-size: 17px;
  font-weight: 400;
  box-shadow: 0 3px 0 var(--ink);
}
body.site-kids .site-search button:hover { background: var(--accent); }

/* ── 경로·제목 ─────────────────────────────────────────────────────────── */
body.site-kids .crumb { font-size: 13px; }
body.site-kids .crumb a { color: var(--fg-soft); }
body.site-kids .crumb a::after { content: " ♪ "; color: var(--c2); }
body.site-kids .crumb span { color: var(--accent); font-weight: 700; }

body.site-kids h1 {
  font-family: var(--round);
  font-size: 33px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink);
  margin: 14px 0 20px;
}
/* 크레파스 밑줄 — 삐뚤빼뚤한 두 겹 */
body.site-kids h1::after {
  content: "";
  display: block;
  width: min(220px, 60%);
  height: 10px;
  margin-top: 6px;
  border-radius: 10px;
  background:
    linear-gradient(100deg, var(--c3) 0 70%, transparent 70%) 0 0 / 100% 5px no-repeat,
    linear-gradient(80deg, transparent 8%, var(--c2) 8% 92%, transparent 92%) 0 5px / 100% 5px no-repeat;
  opacity: .85;
}
body.site-kids .lead { color: var(--fg-soft); margin: 0 0 22px; }
body.site-kids .data-date {
  display: inline-block;
  margin: -6px 0 18px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #e7f5ff;
  color: #1c6aa8;
  font-size: 12.5px;
}

/* ── 요약표: 원아 이름표 ───────────────────────────────────────────────── */
body.site-kids .summary {
  border-collapse: separate;
  border-spacing: 0;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: #fff9db;
  box-shadow: inset 0 0 0 5px #fff9db, inset 0 0 0 7px transparent, 5px 5px 0 var(--c3);
  outline: 2px dashed rgba(59, 47, 99, .25);
  outline-offset: -10px;
  font-size: 15px;
}
body.site-kids .summary tr + tr th,
body.site-kids .summary tr + tr td { border-top: 2px dotted #eadb9a; }
body.site-kids .summary th {
  width: 100px;
  padding-left: 22px;
  background: transparent;
  color: #9b6b00;
  font-family: var(--round);
  font-size: 15px;
  font-weight: 400;
}
body.site-kids .summary td { color: var(--fg); font-weight: 700; }
body.site-kids .btn { border-radius: 999px; }
body.site-kids .btn-phone {
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 0 var(--ink);
}
body.site-kids .btn-phone:hover { background: var(--accent-soft); color: var(--ink); }

/* ── 질답: 말풍선 ──────────────────────────────────────────────────────── */
body.site-kids section.qa { counter-reset: kd-q; }
body.site-kids .qa-head {
  font-family: var(--round);
  font-size: 23px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}
body.site-kids .qa-head::before {
  content: "?";
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c2);
  font-family: var(--round);
  font-size: 20px;
  font-weight: 400;
  box-shadow: 0 3px 0 #d9822b;
}
body.site-kids .qa-list {
  padding: 4px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.site-kids .qa-item {
  --st: var(--c1);
  counter-increment: kd-q;
  padding: 14px 0 12px;
  border-bottom: 0;
}
body.site-kids .qa-item:nth-of-type(6n+2) { --st: var(--c2); }
body.site-kids .qa-item:nth-of-type(6n+3) { --st: var(--c4); }
body.site-kids .qa-item:nth-of-type(6n+4) { --st: var(--c5); }
body.site-kids .qa-item:nth-of-type(6n+5) { --st: var(--c6); }
body.site-kids .qa-item:nth-of-type(6n)   { --st: #f783ac; }
body.site-kids .qa-item h2 {
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
body.site-kids .qa-item h2::before {
  content: counter(kd-q);
  flex: none;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--st);
  color: #fff;
  font-family: var(--round);
  font-size: 18px;
  font-weight: 400;
  box-shadow: 0 0 0 2px var(--st), 2px 3px 0 rgba(0, 0, 0, .12);
}
body.site-kids .qa-item p {
  position: relative;
  margin-left: 44px;
  padding: 12px 18px;
  border: 2.5px solid var(--st);
  border-radius: 18px 18px 18px 4px;
  background: #fff;
  color: var(--fg-soft);
  line-height: 1.8;
}
body.site-kids .qa-item p::before {
  /* 풍선 꼬리 */
  content: "";
  position: absolute;
  left: -2.5px; top: -12px;
  width: 16px; height: 12px;
  background: var(--st);
  clip-path: polygon(0 100%, 0 0, 100% 100%);
}

/* ── 지도 ─────────────────────────────────────────────────────────────── */
body.site-kids .mapsec-head { font-family: var(--round); font-size: 21px; font-weight: 400; color: var(--ink); }
body.site-kids .map-canvas,
body.site-kids .pano-canvas { border: 3px solid var(--ink); border-radius: 22px; }
body.site-kids .map-pin { background: var(--c6); }

/* ── 주변 정보: 알림장 쪽지 ────────────────────────────────────────────── */
body.site-kids .near { border-top: 0; }
body.site-kids .near h2 {
  border-left: 0;
  padding-left: 0;
  color: var(--ink);
  font-family: var(--round);
  font-weight: 400;
  font-size: 19px;
}
body.site-kids .near-block {
  padding: 4px 20px 16px;
  border: 2.5px dashed var(--accent-line);
  border-radius: 22px;
  background: #fff;
}
body.site-kids .near-block:nth-child(3n+2) { border-color: #ffd8a8; }
body.site-kids .near-block:nth-child(3n) { border-color: #b2f2bb; }
body.site-kids .near > .near-block > p,
body.site-kids .near ul,
body.site-kids .near .more { padding-left: 0; }
body.site-kids .near li { padding: 6px 0; }
body.site-kids .near li a { font-weight: 700; }
body.site-kids .dist { background: #fff3bf; color: #8a5a00; }
body.site-kids .cat { background: #e7f5ff; color: #1c6aa8; font-weight: 700; }

/* ── 목록: 신발장 ───────────────────────────────────────────────────────── */
body.site-kids section.list > h2,
body.site-kids section.children > h2,
body.site-kids section.other-sites > h2 {
  font-family: var(--round);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  border-bottom: 0;
}
body.site-kids .place-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #f3e3c7;
  box-shadow: inset 0 0 0 4px #e3c89a;
}
body.site-kids .place-list li:not(.ad-row) {
  --st: var(--c1);
  position: relative;
  align-content: start;
  padding: 34px 14px 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 -5px 0 #eee4d2;
}
/* 이름 스티커 */
body.site-kids .place-list li:not(.ad-row)::before {
  content: "";
  position: absolute;
  left: 14px; top: 12px;
  width: 54px; height: 12px;
  border-radius: 6px;
  background: var(--st);
}
body.site-kids .place-list li:nth-child(6n+2) { --st: var(--c2); }
body.site-kids .place-list li:nth-child(6n+3) { --st: var(--c4); }
body.site-kids .place-list li:nth-child(6n+4) { --st: var(--c5); }
body.site-kids .place-list li:nth-child(6n+5) { --st: var(--c6); }
body.site-kids .place-list li:nth-child(6n)   { --st: var(--c3); }
body.site-kids .place-list li.ad-row { grid-column: 1 / -1; }
body.site-kids .place-list li > a { color: var(--ink); font-weight: 700; font-size: 16px; }
body.site-kids .place-list li > a:hover { color: var(--accent); }

/* 지역: 동그란 스티커 */
body.site-kids .region-links { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
body.site-kids .region-links li {
  --st: #ffe3e3;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 12px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--st);
  text-align: center;
  transform: rotate(-1.5deg);
}
body.site-kids .region-links li:nth-child(even) { transform: rotate(1.5deg); }
body.site-kids .region-links li:nth-child(5n+2) { --st: #fff4e6; }
body.site-kids .region-links li:nth-child(5n+3) { --st: #ebfbee; }
body.site-kids .region-links li:nth-child(5n+4) { --st: #e7f5ff; }
body.site-kids .region-links li:nth-child(5n)   { --st: #f3f0ff; }
body.site-kids .region-links li:hover { transform: rotate(0) scale(1.04); }
body.site-kids .region-links li > a { color: var(--ink); font-family: var(--round); font-weight: 400; font-size: 17px; }
body.site-kids .count { color: var(--muted); font-size: 12.5px; }

/* 메뉴: 크레파스 상자 */
body.site-kids .menu-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
body.site-kids .menu-cards li {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 44px 20px 20px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background:
    linear-gradient(90deg, var(--c1) 0 16.6%, var(--c2) 16.6% 33.3%, var(--c3) 33.3% 50%, var(--c4) 50% 66.6%, var(--c5) 66.6% 83.3%, var(--c6) 83.3%) 0 0 / 100% 24px no-repeat,
    #fff;
  box-shadow: 5px 5px 0 var(--ink);
}
body.site-kids .menu-cards li:hover { background-color: #fff9db; border-color: var(--ink); }
body.site-kids .menu-cards li > a { font-family: var(--round); font-size: 26px; font-weight: 400; color: var(--ink); }

/* ── 출처·삭제요청·푸터 ─────────────────────────────────────────────────── */
body.site-kids .source h2 { font-family: var(--round); font-weight: 400; color: var(--ink); }
body.site-kids .removal {
  border: 2.5px solid var(--accent-line);
  border-radius: 24px;
  background: var(--accent-wash);
  box-shadow: none;
}
body.site-kids .removal-icon { border-radius: 50%; background: var(--c3); color: var(--ink); }
body.site-kids .btn-removal { background: var(--accent); box-shadow: 0 3px 0 var(--ink); }
body.site-kids .btn-removal:hover { background: var(--accent-strong); box-shadow: 0 3px 0 var(--ink); }
body.site-kids .site-foot {
  border-top: 0;
  padding-top: 24px;
  background: linear-gradient(90deg, var(--c1) 0 16.6%, var(--c2) 16.6% 33.3%, var(--c3) 33.3% 50%, var(--c4) 50% 66.6%, var(--c5) 66.6% 83.3%, var(--c6) 83.3%) 0 0 / 100% 5px no-repeat;
  color: var(--muted);
}

/* ── 모바일 ─────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  body.site-kids .site-head { padding: 28px 16px 22px; }
  body.site-kids .brand { font-size: 22px; }
  body.site-kids .brand a { padding: 8px 16px; }
  body.site-kids .brand::after { display: none; }
  body.site-kids .data-date { border-radius: 14px; }
  body.site-kids .site-head nav a { font-size: 16px; padding: 6px 22px 6px 13px; }
  body.site-kids h1 { font-size: 26px; }
  body.site-kids .summary th { width: 82px; padding-left: 16px; }
  body.site-kids .qa-item p { margin-left: 0; margin-top: 14px; }
  body.site-kids .qa-item p::before { left: 14px; }
  body.site-kids .place-list { grid-template-columns: 1fr; padding: 10px; }
  body.site-kids .region-links { grid-template-columns: 1fr 1fr; }
}

/* ── 다크 모드: 낮잠 시간 ──────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  body.site-kids {
    --fg: #ece8f6;
    --fg-soft: #c8c1db;
    --muted: #9a93ad;
    --line: #3a3450;
    --line-soft: #2d2840;
    --bg: #1c1928;
    --bg-soft: #242035;
    --accent: #b197fc;
    --accent-strong: #d0bfff;
    --accent-soft: #2e2748;
    --accent-wash: #211d31;
    --accent-line: #4b3f78;
    --ink: #e5dbff;
    background-color: #15131f;
  }
  body.site-kids .site-head { background:
    linear-gradient(90deg, var(--c1) 0 16.6%, var(--c2) 16.6% 33.3%, var(--c3) 33.3% 50%, var(--c4) 50% 66.6%, var(--c5) 66.6% 83.3%, var(--c6) 83.3%) 0 100% / 100% 6px no-repeat,
    #1c1928; }
  body.site-kids .site-head::before { background:
    radial-gradient(circle at 12px 14px, transparent 8px, var(--c5) 8.5px 11px, transparent 11.5px) 0 0 / 24px 14px repeat-x,
    linear-gradient(#1b2a3a, #1b2a3a); }
  body.site-kids .brand a,
  body.site-kids .brand::after,
  body.site-kids .qa-item p,
  body.site-kids .near-block,
  body.site-kids .place-list li:not(.ad-row),
  body.site-kids .btn-phone,
  body.site-kids .site-search input[type="search"] { background: #1c1928; }
  body.site-kids .brand a { box-shadow: 4px 4px 0 #8a6d00; }
  body.site-kids .summary { background: #2b2616; box-shadow: inset 0 0 0 5px #2b2616, 5px 5px 0 #8a6d00; }
  body.site-kids .summary th { color: #ffd43b; }
  body.site-kids .summary tr + tr th,
  body.site-kids .summary tr + tr td { border-top-color: #4a4128; }
  body.site-kids .place-list { background: #2c2519; box-shadow: inset 0 0 0 4px #4a3d25; }
  body.site-kids .place-list li:not(.ad-row) { box-shadow: inset 0 -5px 0 #15131f; }
  body.site-kids .region-links li { --st: #3a2226; }
  body.site-kids .region-links li:nth-child(5n+2) { --st: #3a2d1c; }
  body.site-kids .region-links li:nth-child(5n+3) { --st: #1e3324; }
  body.site-kids .region-links li:nth-child(5n+4) { --st: #1b2c3d; }
  body.site-kids .region-links li:nth-child(5n)   { --st: #2a2445; }
  body.site-kids .menu-cards li { background:
    linear-gradient(90deg, var(--c1) 0 16.6%, var(--c2) 16.6% 33.3%, var(--c3) 33.3% 50%, var(--c4) 50% 66.6%, var(--c5) 66.6% 83.3%, var(--c6) 83.3%) 0 0 / 100% 24px no-repeat,
    #1c1928; box-shadow: 5px 5px 0 #000; }
  body.site-kids .data-date,
  body.site-kids .cat { background: #1b2c3d; color: #a5d8ff; }
  body.site-kids .dist { background: #3a2f10; color: #ffe066; }
  body.site-kids .removal-icon { color: #1c1928; }
}
