/* 청약로그 — 공통 스타일 */
:root {
  --blue: #3182f6;
  --blue-dark: #1b64da;
  --navy: #16233f;
  --bg: #f2f4f6;
  --card: #ffffff;
  --text: #191f28;
  --sub: #4e5968;
  --mute: #8b95a1;
  --line: #e5e8eb;
  --green: #2ea44f;
  --red: #e0443e;
  --orange: #f0880b;
  --radius: 18px;
  --shadow: 0 2px 10px rgba(22, 35, 63, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
}
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* 헤더 */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .bar { display: flex; align-items: center; gap: 18px; height: 58px; max-width: 720px; margin: 0 auto; padding: 0 20px; }
.brand { font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: -0.5px; }
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--blue); }
nav.gnb { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
nav.gnb::-webkit-scrollbar { display: none; }
nav.gnb a {
  color: var(--sub); font-size: 15px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
nav.gnb a:hover { text-decoration: none; background: #eef1f4; }
nav.gnb a.on { color: #fff; background: var(--blue); }

/* 오래된 데이터 안내 */
.stale {
  display: none;
  background: #fff7e6; color: #8a5a00;
  border: 1px solid #ffe1a8; border-radius: 12px;
  padding: 12px 16px; margin: 16px 0 0; font-size: 14px;
}
.stale.show { display: block; }

/* 히어로 */
.hero { padding: 44px 0 8px; }
.hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1.3; }
.hero p.lead { color: var(--sub); margin-top: 10px; font-size: 16px; }
.hero .src { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* 통계 칩 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 6px; }
.stat {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 14px; text-align: center;
}
.stat .n { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: var(--blue-dark); }
.stat .l { font-size: 12.5px; color: var(--mute); margin-top: 2px; font-weight: 600; }

/* 섹션 */
section.block { margin: 34px 0; }
section.block > h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
section.block > .desc { color: var(--mute); font-size: 14px; margin-bottom: 14px; }
section.block .more { font-size: 14px; font-weight: 600; }

/* 카드 */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px; margin-bottom: 12px;
}
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }

/* 청약 카드 */
.apt { display: block; color: inherit; }
.apt:hover { text-decoration: none; }
.apt .top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; background: #eef3fe; color: var(--blue-dark);
}
.badge.region { background: #f0f1f3; color: var(--sub); }
.badge.dday { background: var(--blue); color: #fff; }
.badge.open { background: var(--green); color: #fff; }
.badge.closed { background: #d5d9de; color: #5f6b76; }
.badge.soon { background: var(--orange); color: #fff; }
.apt .nm { font-size: 17px; font-weight: 700; letter-spacing: -0.3px; }
.apt .meta { color: var(--sub); font-size: 13.5px; margin-top: 6px; }
.apt .meta b { color: var(--text); font-weight: 600; }

/* 버튼 */
.btn {
  display: inline-block; background: var(--blue); color: #fff !important;
  font-weight: 700; font-size: 15px; text-align: center;
  padding: 13px 18px; border-radius: 14px; margin-top: 12px;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; }
.btn.ghost { background: #eaf1fd; color: var(--blue-dark) !important; }
.btn.ghost:hover { background: #dce8fd; }
.btn.big { display: block; }

/* 필터 칩 */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--sub);
  font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  cursor: pointer; white-space: nowrap; font-family: inherit;
}
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 표 */
table.data { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: #f7f9fb; color: var(--sub); font-size: 13px; font-weight: 700; }
table.data tr:last-child td { border-bottom: none; }
.up { color: var(--red); font-weight: 700; }
.flat { color: var(--sub); font-weight: 700; }
.down { color: var(--blue-dark); font-weight: 700; }

/* 가이드 본문 */
article.guide h3 { font-size: 19px; font-weight: 800; margin: 34px 0 8px; letter-spacing: -0.4px; }
article.guide h4 { font-size: 16px; font-weight: 700; margin: 20px 0 6px; }
article.guide p, article.guide li { color: var(--sub); font-size: 15.5px; }
article.guide ul, article.guide ol { padding-left: 20px; margin: 8px 0; }
article.guide li { margin-bottom: 6px; }
article.guide .hl { background: #eef3fe; border-radius: 12px; padding: 14px 16px; color: var(--text); font-size: 14.5px; margin: 14px 0; }
article.guide .warn { background: #fdf0ef; border-radius: 12px; padding: 14px 16px; color: #8a3532; font-size: 14.5px; margin: 14px 0; }
.toc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin: 20px 0 8px; }
.toc a { display: block; padding: 6px 0; color: var(--sub); font-weight: 600; font-size: 14.5px; }
.toc a:hover { color: var(--blue-dark); }

/* 정보 박스 */
.note { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; font-size: 14px; color: var(--sub); margin: 14px 0; }
.note b { color: var(--text); }

/* 출처 */
.srcline { font-size: 13px; color: var(--mute); margin-top: 10px; }
.srcline a { color: var(--mute); text-decoration: underline; }

/* 푸터 */
footer.site { border-top: 1px solid var(--line); margin-top: 60px; padding: 30px 0 46px; }
footer.site .wrap { font-size: 13px; color: var(--mute); }
footer.site .fnav { display: flex; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
footer.site .fnav a { color: var(--sub); font-weight: 600; }
footer.site p { margin-bottom: 6px; }

@media (max-width: 480px) {
  .hero h1 { font-size: 25px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat .n { font-size: 20px; }
  /* 모바일 GNB: 스크롤 가능 힌트(우측 페이드) + 터치 영역 확보 */
  header.site .bar { position: relative; }
  header.site .bar::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff 85%);
    pointer-events: none;
  }
  nav.gnb { padding-bottom: 2px; }
  nav.gnb a { padding: 9px 12px; font-size: 14.5px; }
}

/* 광고 슬롯 (아직 게재 없음 — 실제 광고주 확정·사용자 승인 후 활성화) */
.sponsored {
  border: 1px dashed #c3ccd8; background: #f8fafc;
  border-radius: var(--radius); padding: 16px 18px; margin: 18px 0;
}
.sponsored .ad-label {
  display: inline-block; font-size: 11px; font-weight: 800; color: #fff;
  background: #8b95a1; border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; letter-spacing: 1px;
}
.sponsored .ad-note { font-size: 12px; color: var(--mute); margin-top: 8px; }
section.sponsored-listings > h2 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }

/* 모바일: 넓은 표 가로 스크롤 + 간격 축소 */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
@media (max-width: 560px) {
  table.data { font-size: 13.5px; }
  table.data th, table.data td { padding: 9px 10px; white-space: nowrap; }
  .hero h1 { font-size: 25px; }
  .hero p.lead { font-size: 15px; }
  .stat .n { font-size: 20px; }
  section.block > h2 { font-size: 18px; }
}

/* ==== 그룹형 GNB + 모바일 탭바 (2026-11-20) ==== */
.gnb .gg{display:flex;align-items:center;gap:2px;padding-right:10px;margin-right:10px;border-right:1px solid #e5e8eb}
.gnb .gg:last-child{border-right:0;margin-right:0;padding-right:0}
.gnb .gg>i{font-style:normal;font-size:11px;font-weight:700;color:#8b95a1;letter-spacing:-.02em;margin-right:2px;white-space:nowrap}
.gnb .gg[data-g="청약"]>i{color:#3182f6}
.gnb .gg[data-g="시세·분석"]>i{color:#7c5cff}
.gnb .gg[data-g="계산·대출"]>i{color:#2ea44f}
.gnb .gg[data-g="정비·입주"]>i{color:#e0443e}
.gnb .gg[data-g="도구·소식"]>i{color:#f2a33c}
.gnb .gg[data-g="정책·공급"]>i{color:#0b7fab}
.tabbar{display:none}
.menusheet{display:none}
@media (max-width:760px){
  nav.gnb{display:none}
  body{padding-bottom:64px}
  .tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid #e5e8eb;height:60px;box-shadow:0 -2px 12px rgba(0,0,0,.05)}
  .tabbar a,.tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;font-weight:600;color:#4e5968;text-decoration:none;background:none;border:0;padding:6px 0 8px;min-height:44px;font-family:inherit}
  .tabbar b{font-size:17px;line-height:1;font-weight:700}
  .tabbar a.on{color:#3182f6}
  .tabbar .tabmenu{cursor:pointer}
  .menusheet{display:block;position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.4)}
  .menusheet[hidden]{display:none}
  .menusheet .ms-head{position:absolute;left:0;right:0;bottom:0;top:auto;display:flex;justify-content:space-between;align-items:center;background:#fff;padding:16px 18px 8px;border-radius:16px 16px 0 0}
  .menusheet .ms-body{position:absolute;left:0;right:0;bottom:0;background:#fff;padding:0 18px 24px;max-height:72vh;overflow-y:auto;border-radius:16px 16px 0 0;margin-top:44px}
  .menusheet .ms-head{bottom:auto;position:absolute;top:calc(28vh - 44px);border-radius:16px 16px 0 0}
  .ms-close{font-size:22px;background:none;border:0;min-width:44px;min-height:44px;cursor:pointer;color:#4e5968}
  .ms-group{margin:14px 0 4px}
  .ms-group>p{font-size:12px;font-weight:800;color:#8b95a1;margin:0 0 6px;letter-spacing:-.01em}
  .ms-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ms-links a{display:flex;align-items:center;min-height:44px;padding:10px 12px;background:#f2f4f6;border-radius:10px;font-size:14px;font-weight:600;color:#333d4b;text-decoration:none}
  .ms-links a.on{background:#e8f1fe;color:#3182f6}
}

/* ==== 신고가 섹션 ==== */
.nh-sec{background:#fff;border:1px solid #e5e8eb;border-radius:14px;padding:16px 18px;margin:18px 0}
.nh-sec h2{font-size:17px;margin:0 0 4px}
.nh-badge{display:inline-block;font-size:11px;font-weight:700;color:#b26a00;background:#fff3e0;border-radius:6px;padding:2px 7px;margin-left:6px;vertical-align:2px}
.nh-list{list-style:none;margin:10px 0;padding:0}
.nh-list li{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;padding:9px 0;border-top:1px solid #f2f4f6}
.nh-list li:first-child{border-top:0}
.nh-date{font-size:12.5px;color:#8b95a1;min-width:40px}
.nh-name{font-size:14.5px;font-weight:600;color:#333d4b;flex:1;min-width:140px}
.nh-name em{font-style:normal;font-size:12px;color:#8b95a1;font-weight:400}
.nh-amt{font-size:15px;font-weight:800;color:#3182f6}
.nh-prev{font-size:12px;color:#8b95a1}
.nh-direct{font-size:11px;font-weight:700;color:#7c5cff;background:#f1ecff;border-radius:5px;padding:1px 6px}
.nh-src{font-size:12px;color:#8b95a1;margin:8px 0 2px}
.nh-note{font-size:12.5px;color:#b26a00;background:#fff8ee;border-radius:8px;padding:8px 10px;margin:6px 0 0}
/* 주목 청약·주요 소식 (2026-11-20) */
.feat-sec h2{font-size:20px;margin:26px 0 4px}
.feat-rule{font-size:12.5px;color:#8b95a1;margin:0 0 8px}
.news-item{display:flex;gap:10px;padding:13px 4px;border-bottom:1px solid #eef1f4;text-decoration:none;color:#191f28}
.news-item:last-child{border-bottom:none}
.news-date{flex:0 0 42px;font-size:13px;color:#8b95a1;font-weight:600;padding-top:1px}
.news-body{display:flex;flex-direction:column;gap:3px;font-size:14.5px;line-height:1.45}
.news-sum{font-size:13px;color:#4e5968}
.news-src{font-size:12px;color:#0b7fab;font-weight:600}
/* 단지 분석 글 (2026-11-20) */
.article h1{font-size:26px;line-height:1.35;margin:6px 0 10px}
.article h2{font-size:19px;margin:26px 0 8px}
.article p,.article li{font-size:15px;line-height:1.7;color:#333d4b}
.article ul{padding-left:20px}
.tbl{width:100%;border-collapse:collapse;margin:10px 0;font-size:14px}
.tbl th{text-align:left;background:#f2f4f6;padding:10px 12px;border:1px solid #e5e8eb;width:110px;vertical-align:top}
.tbl td{padding:10px 12px;border:1px solid #e5e8eb}

.more-sec{margin:20px 0;border:1px solid #e5e8eb;border-radius:14px;padding:4px 14px}.more-sec>summary{cursor:pointer;font-weight:700;font-size:15px;padding:12px 0;list-style:none}.more-sec[open]>summary{border-bottom:1px solid #eef1f4;margin-bottom:8px}

/* home v8 */
.hero2{margin:18px 0 14px;padding:26px 20px 18px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#0b1f3f 0%,#173a73 60%,#1d56b8 100%);box-shadow:0 10px 30px rgba(15,40,90,.18)}
.hero2-tag{display:inline-block;font-size:12px;font-weight:700;color:#bcd6ff;background:rgba(255,255,255,.12);border-radius:999px;padding:4px 11px}
.hero2 h1{font-size:29px;font-weight:800;letter-spacing:-1px;line-height:1.3;margin:12px 0 0;color:#fff}
.hero2 .lead{margin-top:10px;font-size:14.5px;line-height:1.6;color:#d6e4ff}
.hero2-cta{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.hero2-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;font-weight:700;font-size:15px;color:#fff;border:1px solid rgba(255,255,255,.35);text-decoration:none}
.hero2-btn.pri{background:#fff;color:#0b1f3f;border-color:#fff}
.stats2{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px}
.stat2{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:12px 8px;text-align:center}
.stat2 .n{font-size:26px;font-weight:800;line-height:1.1}
.stat2 .l{font-size:11.5px;color:#c4d8ff;margin-top:4px;font-weight:600}
.hero2-src{margin:12px 0 0;font-size:11.5px;color:#a9c3f0}
.qlinks{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:0 0 8px}
.qlinks a{display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid var(--line,#e5e8eb);border-radius:14px;padding:14px 14px;text-decoration:none;color:var(--text,#191f28);min-height:60px}
.qlinks a b{font-size:15px;font-weight:800}
.qlinks a span{font-size:12.5px;color:var(--mute,#8b95a1)}
@media(min-width:760px){.qlinks{grid-template-columns:repeat(4,1fr)}.hero2{padding:36px 36px 22px}.hero2 h1{font-size:36px}}
.feat-sec h2,.block h2{position:relative;padding-left:12px}
.feat-sec h2::before,.block h2::before{content:"";position:absolute;left:0;top:.2em;bottom:.2em;width:4px;border-radius:4px;background:var(--blue,#3182f6)}

/* v9 app-like card polish */
.card{border:0!important;border-radius:18px!important;box-shadow:0 1px 5px rgba(25,31,40,.07)!important}
.card:active{background:#f7f9fc}
.apt .nm{font-size:17px;font-weight:800;letter-spacing:-.4px;color:#191f28}
.apt .meta{color:#6b7684}
.badge{border-radius:999px!important;font-weight:700}
.feat-sec h2,.block h2{font-size:19px;font-weight:800;letter-spacing:-.5px}
.feat-rule,.desc{color:#8b95a1}
.block.notify{background:#f2f7ff;border:0;border-radius:18px;padding:18px 16px}
.btn.ghost{border:0;background:#3182f6;color:#fff!important;border-radius:14px;font-weight:700}

/* v10 계산기·필터 폴리시 */
.calc-result{background:linear-gradient(135deg,#3182f6,#1b5fd1)!important;color:#fff;border:0!important}
.calc-result .calc-score,.calc-result .calc-score small{color:#fff!important}
.calc-result .calc-detail span{background:rgba(255,255,255,.18)!important;color:#fff!important}
.calc-field select{background:#f7f9fc!important;border-color:#eef1f5!important;border-radius:14px!important}
.mrow select,.calc-field select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238b95a1' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;padding-right:30px!important}

.hm-calc{margin:18px 0 6px}.hm-calc-h{display:flex;justify-content:space-between;align-items:baseline;padding:0 4px 8px}.hm-calc-h b{font-size:17px}.hm-calc-h a{font-size:13px;color:#3182f6;text-decoration:none}
.hm-calc-r{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 4px 10px;scrollbar-width:none}.hm-calc-r::-webkit-scrollbar{display:none}
.hm-calc-r a{flex:0 0 132px;scroll-snap-align:start;background:#fff;border-radius:16px;padding:14px;text-decoration:none;color:#191f28;box-shadow:0 1px 3px rgba(0,0,0,.06),0 6px 16px rgba(49,130,246,.07);display:flex;flex-direction:column;gap:4px}
.hm-calc-r a b{font-size:15px}.hm-calc-r a span{font-size:12px;color:#6b7684}.hm-calc p{font-size:12px;color:#8b95a1;margin:0 4px}

/* v12 detail polish */
.btn,.chip,.hm-chips a,.cg-card,.hm-grid a,.hm-calc-r a,.sx-r{-webkit-tap-highlight-color:transparent;transition:transform .12s ease,background .15s ease,box-shadow .15s ease}
.btn:active,.chip:active,.hm-chips a:active,.cg-card:active,.hm-grid a:active,.hm-calc-r a:active,.sx-r:active{transform:scale(.97)}
.btn,.chip{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(49,130,246,.45);outline-offset:2px}
.hm-h,.cg-h{display:flex;align-items:baseline;gap:8px;font-size:20px;letter-spacing:-.02em}
.hm-calc-h b{font-size:20px;padding-left:12px;border-left:4px solid #3182f6;line-height:1.1}
.cg-card{position:relative;padding-right:40px;box-shadow:0 1px 3px rgba(0,0,0,.05),0 8px 20px rgba(25,31,40,.05)}
.cg-card::after{content:"›";position:absolute;right:16px;top:50%;margin-top:-14px;font-size:26px;color:#b0b8c1}
.cg-card b{color:#191f28}
.cg-card:hover b{color:#1b64da}
.sx-box input{width:100%;box-sizing:border-box;height:52px;border:0;border-radius:14px;background:#f2f4f6;padding:0 16px;font-size:16px}
.sx-f{display:flex;gap:8px;margin-top:10px}.sx-f select{flex:1;height:44px;border:0;border-radius:12px;background:#f2f4f6;padding:0 12px;font-size:14px}
.sx-r{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px 4px;border-bottom:1px solid #f2f4f6;text-decoration:none;color:#191f28}
.sx-r span{display:flex;flex-direction:column;gap:2px;min-width:0}.sx-r b{font-size:16px}.sx-r small{font-size:12px;color:#6b7684;font-weight:400}
.sx-r em{font-style:normal;font-size:13px;text-align:right;color:#4e5968;display:flex;flex-direction:column}
.hm-search{display:flex;gap:8px;margin:16px 0 4px}.hm-search input{flex:1;min-width:0;height:48px;border:0;border-radius:14px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08);padding:0 16px;font-size:15px}.hm-search button{height:48px;padding:0 18px;border:0;border-radius:14px;background:#3182f6;color:#fff;font-weight:700;font-size:15px}
.hm-h{padding-left:12px;border-left:4px solid #3182f6;line-height:1.15;margin-top:22px}
.sc-b{display:inline-block;font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px;margin-left:6px;vertical-align:middle}.sc-o{background:#e8f3ff;color:#1b64da}.sc-x{background:#f2f4f6;color:#6b7684}.sc-h{background:#fff4e0;color:#b25e00}.sc-l{margin:8px 0 0;padding-left:18px;font-size:14px;line-height:1.6;color:#333d4b}
.hm-fold{background:#fff;border-radius:16px;padding:0 16px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.hm-fold summary{list-style:none;cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:15px}.hm-fold summary::-webkit-details-marker{display:none}.hm-fold summary::after{content:"+";font-size:22px;color:#8b95a1}.hm-fold[open] summary::after{content:"−"}.hm-fold[open]{padding-bottom:12px}
.hm-grid{grid-template-columns:repeat(3,1fr)!important}@media(min-width:760px){.hm-grid{grid-template-columns:repeat(6,1fr)!important}}

/* 모바일 터치 영역: 목록형 링크·요약 */
@media (max-width:760px){summary{min-height:40px}.ms-links a{min-height:44px}}

.cxsum{width:100%;border-collapse:collapse;font-size:13.5px}.cxsum th,.cxsum td{padding:8px 6px;border-top:1px solid #eef0f2;text-align:left;vertical-align:top}.cxsum thead th{border-top:0;color:#6b7684;font-weight:600;font-size:12px}.cxsum td b{font-weight:700}.cxsum small{display:block;color:#6b7684;font-size:11px}

/* 2026-11-22 home visual upgrade: navy + amber, AI-generated images */
.hero-photo{position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(7,20,45,.28) 0%,rgba(7,20,45,.62) 55%,rgba(7,20,45,.9) 100%),url(/img/hero-seoul-v2.webp) center 30%/cover no-repeat,#0b1f3f;background-color:#0b1f3f;padding-top:34px}
.hero-photo h1{font-size:31px;letter-spacing:-1.2px;text-shadow:0 2px 14px rgba(0,0,0,.35)}
.hero-photo .hero2-tag{background:rgba(255,176,32,.18);color:#ffcf75;border:1px solid rgba(255,176,32,.45)}
.hero-photo .hero2-btn.pri{background:#ffb020;border-color:#ffb020;color:#10213f;box-shadow:0 6px 18px rgba(255,176,32,.35)}
.hero-photo .hero2-btn{backdrop-filter:blur(4px)}
.hero-photo .stat2{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(6px)}
.hero-photo .stat2 .n{color:#ffcf75}
.ai-cap{margin:6px 0 0;font-size:10.5px;color:#9fb4d8}
.card-img{padding:0;overflow:hidden}
.card-img .ci{display:block;width:100%;height:150px;object-fit:cover}
.card-img .top,.card-img .nm,.card-img .meta{margin-left:16px;margin-right:16px}
.card-img .top{margin-top:12px}
.card-img .meta{margin-bottom:14px}
.card-img>.nm:first-of-type{margin-top:12px}
@media(min-width:760px){.hero-photo{padding:56px 44px 26px;min-height:420px}.hero-photo h1{font-size:44px}.card-img .ci{height:200px}}

/* 2026-12 업그레이드: 글 페이지 카드·표, 가로 스크롤 표 힌트 */
main.wrap:has(> .hero .src) > .block{background:#fff;border:1px solid #e8ebf3;border-radius:16px;padding:18px 16px;margin:14px 0;box-shadow:0 1px 0 rgba(20,30,60,.03),0 8px 22px -14px rgba(20,30,60,.18)}
main.wrap:has(> .hero .src) > .block h2{margin-top:0}
main.wrap:has(> .hero .src) .hero .src{display:inline-block;background:#eef3ff;color:#2b4a9a;border-radius:999px;padding:6px 12px;font-size:12.5px;line-height:1.5}
main.wrap:has(> .hero .src) .block table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #e3e8f4;border-radius:12px;overflow:hidden;font-size:14.5px;line-height:1.55}
main.wrap:has(> .hero .src) .block th{background:#f1f5ff;color:#233a78;text-align:left;font-weight:700;padding:10px 12px}
main.wrap:has(> .hero .src) .block td{padding:11px 12px;border-top:1px solid #edf0f7;vertical-align:top;background:#fff}
main.wrap:has(> .hero .src) .block tr:nth-child(even) td{background:#fafbfe}
main.wrap:has(> .hero .src) .block td:first-child{font-weight:700;color:#1d2b57;width:32%;background:#f8faff}
main.wrap:has(> .hero .src) .block ul,main.wrap:has(> .hero .src) .block ol{padding-left:20px;line-height:1.7}
main.wrap:has(> .hero .src) .block li{margin:6px 0}
main.wrap:has(> .hero .src) .block .note{background:#fff8e6;border:1px solid #ffe3a6;border-radius:10px;padding:10px 12px;color:#6b4b00;font-size:13.5px}

/* 이어서 읽기·새 글 카드 */
.rc-row{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:2px 2px 8px;margin:0 -2px}
.rc{flex:0 0 72%;max-width:280px;scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e6e9f3;border-radius:14px;padding:12px 14px 14px;color:#1d2b57;text-decoration:none;box-shadow:0 6px 16px -12px rgba(20,30,60,.35);transition:transform .2s,box-shadow .2s}
.rc:hover{transform:translateY(-2px);box-shadow:0 10px 20px -12px rgba(20,30,60,.4)}
.rc b{font-size:14.5px;line-height:1.45;font-weight:700;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.rc-k{align-self:flex-start;font-size:11.5px;font-weight:700;border-radius:999px;padding:3px 9px;background:#eef3ff;color:#2b4a9a}
.rc-k.c1{background:#fff3d6;color:#8a5a00}.rc-k.c2{background:#e6f7ee;color:#1d7a4a}.rc-k.c3{background:#fde9ee;color:#a23455}
.np-sub{margin:-4px 0 10px;font-size:13px;color:#667}.np-more{margin:4px 0 0;font-size:13.5px;text-align:right}
.swipe-hint{display:none;font-size:12px;color:#5b6a9a;margin:2px 0 4px}@media(max-width:640px){.swipe-hint{display:block}}

/* 놀이터 카드: 색 포인트 + 아이콘 칩 */
.gh-c{position:relative;overflow:hidden;padding-top:18px;transition:transform .2s,box-shadow .2s}
.gh-c::before{content:"🧩";display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;font-size:18px;margin-bottom:8px;background:#eef3ff}
.gh-c::after{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:#3b82f6}
.gh-c:hover{transform:translateY(-2px);box-shadow:0 10px 20px -12px rgba(20,30,60,.4)}
.gh-c:nth-child(2)::before{content:"🏢";background:#fff3d6}.gh-c:nth-child(2)::after{background:#f5a623}
.gh-c:nth-child(3)::before{content:"⏱️";background:#fde9ee}.gh-c:nth-child(3)::after{background:#e5527a}
.gh-c:nth-child(4)::before{content:"🔲";background:#e6f7ee}.gh-c:nth-child(4)::after{background:#22a06b}
.gh-c:nth-child(5)::before{content:"🗼";background:#efe9ff}.gh-c:nth-child(5)::after{background:#7c5cf0}
.gh-c:nth-child(6)::before{content:"✏️";background:#fff3d6}.gh-c:nth-child(6)::after{background:#f5a623}
.gh-c:nth-child(7)::before{content:"🔢";background:#e6f7ee}.gh-c:nth-child(7)::after{background:#22a06b}
.gh-c:nth-child(8)::before{content:"📋";background:#eef3ff}.gh-c:nth-child(8)::after{background:#3b82f6}
.gh-c:nth-child(9)::before{content:"🔗";background:#fde9ee}.gh-c:nth-child(9)::after{background:#e5527a}
.gh-c:nth-child(10)::before{content:"❓";background:#efe9ff}.gh-c:nth-child(10)::after{background:#7c5cf0}

/* 홈 첫 화면 게임 진입 */
.hm-play{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 4px}
.hm-play a{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;padding:10px 12px;border-radius:14px;text-decoration:none;color:#0b1f3f;background:linear-gradient(90deg,#fff3c4,#ffe0a3);box-shadow:0 6px 14px -10px rgba(20,30,60,.4)}
.hm-play a:nth-child(2){background:linear-gradient(90deg,#e3edff,#cfe0ff)}
.hm-play span{grid-row:1/3;font-size:22px}.hm-play b{font-size:14px}.hm-play small{font-size:11.5px;color:#4a5878}
/* PC: GNB 전체 노출 (가로 스크롤 숨김 제거) */
@media (min-width: 900px) {
  header.site { position: static; }
  header.site .bar { height: auto; max-width: 1120px; flex-wrap: wrap; padding: 10px 20px 8px; row-gap: 6px; }
  header.site nav.gnb { flex: 1 1 100%; flex-wrap: wrap; overflow: visible; row-gap: 6px; column-gap: 0; }
  .gnb .gg { flex-wrap: wrap; row-gap: 2px; }
}
/* 5열 표: 두 번째(기준) 칸이 한 글자씩 줄바꿈되지 않도록 */
.block table:has(th:nth-child(5)) td:nth-child(2), .block table:has(th:nth-child(5)) th:nth-child(2){ min-width: 11em; }
.block table:has(th:nth-child(5)) td:nth-child(n+3), .block table:has(th:nth-child(5)) th:nth-child(n+3){ white-space: nowrap; }
