/* 메인 화면 */

/* 위쪽: 작은 회색 인사 문구 + 큰 제목 */
.home-head { padding: 6px 2px 16px; }
.home-greeting { margin: 0 0 4px; color: #8b95a1; font-size: 0.85rem; font-weight: 700; }
.home-head h1 { margin: 0; font-size: 26px; line-height: 1.38; letter-spacing: -1.25px; }

/* 요약 카드: 해결을 기다리는 문제 + [문제 신고하기] */
.summary-card { display: grid; gap: 14px; }
.summary-info { display: flex; align-items: center; gap: 14px; }
.summary-icon {
  width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 14px; background: var(--brand-soft); color: var(--brand); font-size: 1.3rem;
}
.summary-label { margin: 0; color: #6b7684; font-size: 0.85rem; font-weight: 700; }
.summary-count { margin: 0; font-size: 1.75rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.5px; }
.summary-hint { margin: 0; text-align: center; color: #8b95a1; font-size: 0.8rem; }

/* 빠른 메뉴: 4칸, 연한 색 43px 둥근 타일 + 아이콘 + 짧은 이름 */
.quick-menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.quick-menu a {
  display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0;
  padding: 14px 4px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  color: var(--text); text-align: center; text-decoration: none; font-size: 0.78rem; font-weight: 750;
}
.quick-menu a:hover { background: #f8fafc; }
.quick-name { max-width: 100%; overflow-wrap: anywhere; line-height: 1.25; }
.quick-tile { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 14px; font-size: 1.3rem; }
.quick-report { background: #e8efff; color: #2457d6; }
.quick-map { background: #e3f6ea; color: #17733f; }
.quick-findu { background: #dff3f1; color: #0b7a75; }
.quick-notify { background: #fff4cc; color: #805a00; }


.update {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: #0f5130;
  border: 1px solid #b9e6c9;
  font-weight: 700;
}
.update a { flex: 1; color: inherit; text-decoration: none; }
.update a:hover { text-decoration: underline; }
.update .close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}
.update .close:hover { background: #cdeed9; }

.map-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.map-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.map-chip.bad { background: var(--red-soft); border-color: #f4c7c2; }
.map-chip.warn { background: var(--yellow-soft); border-color: #f2df9c; }
.map-chip.good { background: var(--green-soft); border-color: #bfe6cd; }
.map-chip:hover { filter: brightness(0.97); }

.showcase-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.showcase-pair figure { margin: 0; }
.showcase-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.showcase-pair figcaption { font-weight: 800; font-size: 0.85rem; margin-bottom: 4px; }
.showcase-arrow { font-size: 1.4rem; color: var(--muted); }
.showcase-text { margin: 12px 0 0; font-weight: 700; }
.showcase-text a { color: var(--text); }

.stat-line { text-align: center; color: var(--muted); font-size: 0.9rem; }

/* FindU 분실물 카드 (메인 화면) */
.findu-promo { border-top: 5px solid #0b7a75; }
.findu-promo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.findu-promo .btn.secondary { background: #dff3f1; color: #075e5a; }
.findu-promo .btn.secondary:hover { background: #c9ebe7; }
.findu-promo .more { color: #075e5a; }


/* ── 2026 리디자인 (모아뱅크 스타일) ── */
.update { border: 0; border-radius: 19px; }

.map-mini { gap: 8px; }
.map-chip { padding: 9px 13px; border: 0; border-radius: 12px; background: #f4f5f8; font-size: 0.85rem; font-weight: 800; }
.map-chip.bad { background: var(--red-soft); color: var(--red); }
.map-chip.warn { background: var(--yellow-soft); color: var(--yellow); }
.map-chip.good { background: var(--green-soft); color: var(--green); }

.showcase-pair img { border-radius: 14px; }
.stat-line { color: #8b95a1; font-size: 0.8rem; }

.findu-promo { border-top: 0; }
.findu-promo-actions { gap: 10px; margin-top: 4px; }
.findu-promo .btn.secondary { background: var(--green-soft); color: var(--green); }
.findu-promo .btn.secondary:hover { background: #d8f2e6; }
.findu-promo .more { color: var(--green); }

