/* 기도통장 공통 스타일
   원칙: 글자는 크게, 문장은 짧게, 아이콘 중심, 모바일 우선 */

:root {
  --bg: #fdfaf3;
  --card: #ffffff;
  --text: #1f2a37;
  --muted: #5b6573;
  --primary: #1d4ed8;      /* 버튼 파랑 */
  --primary-dark: #1e3a8a;
  --gold: #b7791f;         /* 하늘 통장 금색 */
  --danger: #b91c1c;
  --radius: 18px;
  font-size: 22px;         /* 기본 글자 크기 (보통 웹은 16px) */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.5;
}

main {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 18px 120px;
}

h1 { font-size: 1.6rem; margin: 0 0 16px; }
h2 { font-size: 1.3rem; margin: 24px 0 12px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* 큰 버튼: 손가락으로 누르기 쉽게 최소 높이 72px */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:active { background: var(--primary-dark); }
.btn .icon { font-size: 1.6rem; }

.muted { color: var(--muted); }
.small { font-size: 0.8rem; }

/* 아래쪽 고정 메뉴 (아이콘 + 짧은 글자) */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  background: var(--card);
  border-top: 1px solid #e5e7eb;
}
.tabbar a {
  flex: 1;
  padding: 10px 0 14px;
  text-align: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.tabbar a .icon { display: block; font-size: 1.8rem; }
.tabbar a[aria-current="page"] { color: var(--primary); font-weight: 700; }

/* 프로젝터용 큰 화면 */
@media (min-width: 1024px) {
  :root { font-size: 28px; }
  main.wide { max-width: 1400px; }
}
