/*
Theme Name: 로또허브 Child
Template: generatepress
Author: Toolhub
Description: GeneratePress 차일드 테마 — 로또허브 디자인 시스템 (동행복권 공식 공 색상 + Pretendard). 컴포넌트는 lotto-core 플러그인이 렌더링.
Version: 0.1.0
*/

/* ==========================================================
   폰트 — Pretendard Variable (자체 호스팅)
   ========================================================== */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-display: swap;
  font-style: normal;
}

/* ==========================================================
   디자인 토큰
   ========================================================== */
:root {
  --c-bg: #f4f6f9;
  --c-surface: #ffffff;
  --c-text: #1a1d24;
  --c-sub: #667085;
  --c-line: #e5e8ee;
  --c-accent: #1a56db;
  --c-accent-ink: #ffffff;
  --c-hero-from: #101828;
  --c-hero-to: #1d2939;

  /* 로또 공 공식 색상 (동행복권 2026 리뉴얼 CSS 실측값) */
  --ball-1: #e08f00;  /* 1–10  */
  --ball-2: #0063cc;  /* 11–20 */
  --ball-3: #d8314f;  /* 21–30 */
  --ball-4: #6e7382;  /* 31–40 */
  --ball-5: #2c9e44;  /* 41–45 */

  /* 작은 글자에 쓰는 진한 변형 (WCAG 4.5:1 충족) — 공 배경색은 흰 글자를 얹으므로
     그대로 두고, 텍스트·뱃지에는 아래 값을 쓴다. */
  --c-ok-ink: #26883a;    /* 초록 계열 텍스트 (비과세·반자동) */
  --c-warn-ink: #cb2e4a;  /* 빨강 계열 텍스트 (수동) */
  --c-map-ink: #026e32;   /* 네이버 지도 링크 */
  /* 밝은 회색 배경(#eceff4 등) 위 작은 글자용. --c-sub(#667085)는 흰 배경 기준이라
     회색 배경에서는 4.5:1 을 못 넘긴다. */
  --c-sub-strong: #545b6b;

  --radius: 14px;
  --shadow: 0 1px 3px rgb(16 24 40 / .06), 0 4px 16px rgb(16 24 40 / .05);
}

/* ==========================================================
   베이스 타이포그래피
   ========================================================== */
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Noto Sans KR', 'Segoe UI', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
}
.lotto-num, .prize-table td, .result-card .balls,
.tabular { font-variant-numeric: tabular-nums; }

/* GeneratePress 콘텐츠 폭 (모바일 퍼스트, 본문 최대 720px) */
.grid-container { max-width: 720px; }

/* ==========================================================
   로또 공
   ========================================================== */
.lotto-ball {
  --size: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: var(--size); block-size: var(--size); border-radius: 50%;
  color: #fff; font-weight: 700; font-size: calc(var(--size) * .45); line-height: 1;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / .35), transparent 45%), var(--ball-c, #999);
  font-variant-numeric: tabular-nums; flex: none;
}
.lotto-ball.g1 { --ball-c: var(--ball-1); }
.lotto-ball.g2 { --ball-c: var(--ball-2); }
.lotto-ball.g3 { --ball-c: var(--ball-3); }
.lotto-ball.g4 { --ball-c: var(--ball-4); }
.lotto-ball.g5 { --ball-c: var(--ball-5); }
.lotto-ball.sm { --size: 30px; }
.ball-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ball-plus { color: var(--c-sub); font-weight: 700; font-size: 18px; }

/* ==========================================================
   히어로 결과 카드 (LCP — 텍스트+CSS)
   ========================================================== */
.result-card {
  background: linear-gradient(135deg, var(--c-hero-from), var(--c-hero-to));
  color: #fff; border-radius: var(--radius); padding: 24px 20px;
  margin: 20px 0; box-shadow: var(--shadow);
}
.result-card .round { font-size: 14px; color: #98a2b3; font-weight: 600; }
.result-card .round strong { color: #fff; font-size: 22px; margin-right: 6px; }
.result-card .balls { margin: 16px 0 14px; }
.result-card .first-prize { display: flex; gap: 24px; border-top: 1px solid rgb(255 255 255 / .12); padding-top: 14px; }
.result-card .first-prize div span { display: block; font-size: 12px; color: #98a2b3; }
.result-card .first-prize div strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.result-card .cta { margin-top: 16px; }

/* ==========================================================
   카드 / 섹션
   ========================================================== */
.lotto-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 20px; margin: 16px 0; box-shadow: var(--shadow);
}
.section-sub { color: var(--c-sub); font-size: 13px; margin: 0 0 12px; }

/* ==========================================================
   표
   ========================================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prize-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prize-table th, .prize-table td { padding: 10px 8px; text-align: right; border-bottom: 1px solid var(--c-line); white-space: nowrap; }
.prize-table th { color: var(--c-sub); font-weight: 600; font-size: 12.5px; }
.prize-table th:first-child, .prize-table td:first-child { text-align: left; }
.prize-table td { font-variant-numeric: tabular-nums; }
.prize-table tr:last-child td { border-bottom: 0; }
/* 텍스트용 진한 변형 — 공(ball) 배경색은 큰 원 위 흰 글자라 그대로 쓰지만,
   같은 색을 작은 글자에 쓰면 WCAG 4.5:1 을 못 넘긴다(Lighthouse 대비 지적). */
.tax-free { color: var(--c-ok-ink); font-weight: 700; }

/* ==========================================================
   판매점 리스트
   ========================================================== */
.store-list { list-style: none; margin: 0; padding: 0; }
.store-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.store-list li:last-child { border-bottom: 0; }
.store-list .name { font-weight: 700; font-size: 15px; }
.store-list .addr { color: var(--c-sub); font-size: 13px; }
.badge { flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.auto { background: #eef4ff; color: var(--c-accent); }
.badge.manual { background: #fdf0f3; color: var(--c-warn-ink); }
/* --c-ok-ink 는 흰 배경 기준(4.5:1)이라 연녹 배경에서는 4.18:1 로 떨어진다 */
.badge.semi { background: #f0faf3; color: #1f7a33; }

/* ==========================================================
   광고 슬롯 (CLS 방지)
   ========================================================== */
.ad-slot {
  min-height: 280px; margin: 16px 0; border-radius: var(--radius);
  border: 1px dashed #cdd5e0; background: #fafbfd;
  display: flex; align-items: center; justify-content: center;
  color: #b6c0ce; font-size: 13px; font-weight: 700; letter-spacing: .12em;
}
@media (min-width: 728px) { .ad-slot--leaderboard { min-height: 90px; } }

/* ==========================================================
   버튼
   ========================================================== */
.lotto-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  text-decoration: none; transition: transform .06s ease, background .15s ease;
}
.lotto-btn:active { transform: scale(.97); }
.lotto-btn-primary { background: var(--c-accent); color: var(--c-accent-ink); }
.lotto-btn-primary:hover { background: #1747b8; color: #fff; }
.lotto-btn-primary:disabled { background: #a8bce8; cursor: default; }
.lotto-btn-ghost { background: transparent; color: var(--c-accent); border: 1.5px solid #c6d4f5; }
.lotto-btn-hero { background: #fff; color: var(--c-hero-from); }

/* ==========================================================
   추첨기 유도 배너
   ========================================================== */
.gen-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(120deg, #eef4ff, #f6f0ff);
  border: 1px solid #dfe7fb; border-radius: var(--radius); padding: 18px 20px; margin: 16px 0;
}
.gen-banner .t { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.gen-banner .d { color: var(--c-sub); font-size: 13px; }

/* ==========================================================
   회차 카드 스택 (역대 기록)
   ========================================================== */
.draw-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 16px 18px; margin: 10px 0; transition: border-color .15s ease;
}
.draw-card:hover { border-color: #b9c6dd; }
.draw-card .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.draw-card .rt { font-weight: 800; font-size: 16px; }
.draw-card .dt { color: var(--c-sub); font-size: 13px; }
.draw-card .meta { color: var(--c-sub); font-size: 13px; margin-top: 8px; }

/* ==========================================================
   이전/다음 내비
   ========================================================== */
.prevnext { display: flex; gap: 10px; margin: 16px 0; }
.prevnext a {
  flex: 1; text-decoration: none; color: inherit;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; min-height: 48px; display: flex; flex-direction: column; justify-content: center;
}
.prevnext a span { color: var(--c-sub); font-size: 12px; }
.prevnext a.next { text-align: right; }

/* ==========================================================
   번호 추첨기
   ========================================================== */
.generator { text-align: center; }
.gen-slots {
  display: flex; gap: 10px; justify-content: center; align-items: center;
  min-height: 72px; margin: 8px 0 20px; /* 높이 고정 → 추첨 중 CLS 0 */
}
.gen-slots .lotto-ball { --size: min(52px, 13vw); }
.gen-slots .slot-empty {
  --size: min(52px, 13vw);
  inline-size: var(--size); block-size: var(--size); border-radius: 50%; flex: none;
  border: 2px dashed #cdd5e0; background: #fafbfd;
}
@keyframes lottopop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
.gen-slots .lotto-ball.pop { animation: lottopop .35s ease-out; }
@media (prefers-reduced-motion: reduce) { .gen-slots .lotto-ball.pop { animation: none; } }
.gen-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.gen-history { margin-top: 20px; text-align: left; }
.gen-history .row { display: flex; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.gen-history .row:last-child { border-bottom: 0; }
.gen-history .row time { color: var(--c-sub); font-size: 12px; margin-left: auto; }

/* ==========================================================
   커스텀 헤더 — "미드나잇 드로우" 네이비 프레임
   ========================================================== */
.lh-header {
  position: sticky; top: 0; z-index: 60;
  background: linear-gradient(180deg, var(--c-hero-from), var(--c-hero-to));
}
.lh-inner {
  max-width: 720px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
/* 로고: CSS 로또볼 마크 + 워드마크 */
.lh-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-height: 44px; }
.lh-ball {
  inline-size: 28px; block-size: 28px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: -.03em;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / .45), transparent 46%), var(--ball-1);
  box-shadow: 0 2px 6px rgb(0 0 0 / .35), inset 0 -2px 4px rgb(0 0 0 / .18);
}
.lh-word { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.lh-domain { color: #667085; font-size: 11.5px; font-weight: 600; margin-top: 3px; white-space: nowrap; }
.lh-brand:hover .lh-word { color: #fff; }

/* 내비: 항상 보이는 필 메뉴 (햄버거 없음) */
.lh-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: nowrap; }
.lh-menu a { white-space: nowrap; }
.lh-menu li { margin: 0; }
.lh-menu a {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 13px; border-radius: 10px; text-decoration: none;
  color: rgb(255 255 255 / .68); font-size: 14px; font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.lh-menu a:hover { color: #fff; background: rgb(255 255 255 / .10); }
.lh-menu .current-menu-item > a,
.lh-menu .current_page_item > a { color: #fff; background: rgb(255 255 255 / .14); }

/* 시그니처: 5색 로또볼 그라데이션 스트립 */
.lh-strip {
  height: 3px;
  background: linear-gradient(90deg,
    var(--ball-1) 0 20%, var(--ball-2) 20% 40%, var(--ball-3) 40% 60%,
    var(--ball-4) 60% 80%, var(--ball-5) 80% 100%);
}

/* ==========================================================
   커스텀 푸터
   ========================================================== */
.lh-footer { background: linear-gradient(180deg, var(--c-hero-to), var(--c-hero-from)); margin-top: 56px; }
.lh-finner { max-width: 720px; margin: 0 auto; padding: 26px 16px 40px; }
.lh-fnav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.lh-fnav a { color: rgb(255 255 255 / .82); text-decoration: none; font-size: 13.5px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.lh-fnav a:hover { color: #fff; }
.lh-fnote { color: #667085; font-size: 12.5px; line-height: 1.7; margin: 0; }

/* ==========================================================
   콘텐츠 폴리시
   ========================================================== */
/* 깨진 작성자 표시 숨김 (날짜는 유지 — 최신성 신호) */
.entry-meta .byline, .entry-meta .author { display: none; }
/* 포스트/페이지 제목 */
.entry-title { font-size: 23px; letter-spacing: -.02em; line-height: 1.4; }
/* 본문 영역 여백 */
.site-content { padding-top: 8px; }
/* 카테고리/태그 푸터 소형화 */
footer.entry-meta { font-size: 12.5px; color: var(--c-sub); }
/* 이전/다음 글 내비 간결화 */
.post-navigation .nav-previous, .post-navigation .nav-next { font-size: 13.5px; }

/* ==========================================================
   핵심 요약 박스 (AEO)
   ========================================================== */
.lotto-summary {
  background: var(--c-surface); border: 1.5px solid #dfe7fb;
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius); padding: 18px 20px; margin: 18px 0;
}
.lotto-summary h2 { font-size: 16px; margin: 0 0 10px; letter-spacing: -.01em; }
.lotto-summary ul { list-style: none; margin: 0; padding: 0; }
.lotto-summary li {
  display: flex; gap: 12px; padding: 7px 0; font-size: 14.5px;
  border-bottom: 1px solid var(--c-line); font-variant-numeric: tabular-nums;
}
.lotto-summary li:last-child { border-bottom: 0; }
.lotto-summary b { flex: none; width: 78px; color: var(--c-sub); font-size: 13px; font-weight: 700; padding-top: 1px; }
.lotto-summary em { font-style: normal; color: var(--c-sub); }

/* ==========================================================
   광고 유닛 — CLS 방지(높이 예약) + 콘텐츠와 시각적 분리(정책 준수)
   ========================================================== */
.lotto-ad {
  margin: 22px 0;
  min-height: 100px;            /* 로드 전 공간 예약 → 레이아웃 이동 방지 */
  text-align: center;
  overflow: hidden;
  clear: both;
}
.lotto-ad::before {
  content: "광고";
  display: block;
  font-size: 11px; font-weight: 600;
  color: #b6c0ce; margin-bottom: 4px;   /* '광고' 라벨 = 콘텐츠와 명확히 구분(정책 권장) */
}
.lotto-ad ins { min-height: 90px; }
.lotto-ad--empty {
  border: 1px dashed #e0a800; background: #fff8e6; color: #8a6d1a;
  border-radius: 10px; padding: 12px; font-size: 12.5px;
}
.lotto-ad--empty::before { content: none; }

/* ==========================================================
   홈 가이드 링크
   ========================================================== */
.guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
@media (max-width: 480px) { .guide-links { grid-template-columns: 1fr; } }
.guide-links a {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px;
  padding: 14px 16px; font-weight: 700; font-size: 14.5px; transition: border-color .15s;
}
.guide-links a:hover { border-color: var(--c-accent); }
.guide-links a::before { content: "📄"; font-size: 16px; }

/* ==========================================================
   번호별 출현 통계
   ========================================================== */
.numstat-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
@media (max-width: 480px) { .numstat-cols { grid-template-columns: 1fr; } }
.numstat h3 { font-size: 15px; margin: 0 0 8px; }
.numstat-list { list-style: none; margin: 0; padding: 0; }
.numstat-list li {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-bottom: 1px solid var(--c-line); font-variant-numeric: tabular-nums;
}
.numstat-list li:last-child { border-bottom: 0; }
.numstat-list .rk { width: 20px; color: var(--c-sub); font-size: 13px; font-weight: 700; text-align: center; }
.numstat-list .lotto-ball { --size: 32px; }
.numstat-list .cnt { margin-left: auto; font-weight: 700; font-size: 14px; }

/* ==========================================================
   실수령액 계산기
   ========================================================== */
.calc-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
#calc-amount {
  width: 100%; box-sizing: border-box; min-height: 52px; padding: 0 16px;
  border: 1.5px solid var(--c-line); border-radius: 12px;
  font: inherit; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums;
  text-align: right; color: var(--c-text);
}
#calc-amount:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgb(26 86 219 / .12); }
.calc-presets { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.calc-presets button {
  flex: 1 1 auto; min-height: 40px; padding: 0 12px; border-radius: 10px;
  border: 1px solid #d6def0; background: #f2f6ff; color: var(--c-accent);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.calc-presets button:hover { background: #e6eeff; }
.calc-result { margin-top: 16px; border-top: 1px solid var(--c-line); padding-top: 8px; }
.calc-result .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--c-line);
  font-size: 14.5px; color: var(--c-sub);
}
.calc-result .row b { color: var(--c-text); font-variant-numeric: tabular-nums; font-size: 15px; }
.calc-result .row.total { border-bottom: 0; }
.calc-result .row.total span { font-weight: 700; color: var(--c-text); }
.calc-result .row.total b { color: var(--ball-5); font-size: 20px; font-weight: 800; }

/* ==========================================================
   CTA 버튼 행 (자연스러운 페이지 이동 유도 — 전면광고 접점)
   ========================================================== */
.cta-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 22px 0 8px;
}
.cta-row .lotto-btn { flex: 1 1 220px; max-width: 320px; }

/* ==========================================================
   FAQ (details 아코디언)
   ========================================================== */
.lotto-faq details {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 12px; margin: 8px 0; overflow: hidden;
}
.lotto-faq summary {
  cursor: pointer; padding: 13px 16px; font-weight: 700; font-size: 14.5px;
  list-style: none; position: relative; padding-right: 36px; min-height: 44px;
  display: flex; align-items: center;
}
.lotto-faq summary::-webkit-details-marker { display: none; }
.lotto-faq summary::after {
  content: "+"; position: absolute; right: 16px; color: var(--c-sub);
  font-size: 18px; font-weight: 400; transition: transform .15s ease;
}
.lotto-faq details[open] summary::after { transform: rotate(45deg); }
.lotto-faq details p {
  margin: 0; padding: 0 16px 14px; font-size: 14px; color: #333a46; line-height: 1.7;
}

/* 모바일 */
@media (max-width: 560px) {
  .lh-inner { padding: 10px 12px; gap: 6px; }
  .lh-domain { display: none; }
  .lh-word { font-size: 16px; }
  .lh-ball { inline-size: 24px; block-size: 24px; font-size: 10px; }
  .lh-brand { gap: 7px; }
  .lh-menu { gap: 0; }
  .lh-menu a { padding: 0 8px; font-size: 13px; }
}
/* 메뉴 항목이 6개(스피또 추가)가 되면서 브랜드 텍스트와 함께는 들어가지 않는다.
   '메뉴가 브랜드 텍스트보다 정보가치가 높다'는 기존 판단을 유지하되,
   숨기는 지점을 344px → 480px 로 올린다. 6개 기준 실측:
   워드마크 포함 469px 필요 / 제외 408px 필요. */
@media (max-width: 480px) {
  .lh-word { display: none; }
  /* .lh-inner 의 flex 자식은 ul.lh-menu 가 아니라 nav.lh-nav 다.
     min-width:auto 인 nav 가 콘텐츠 폭 아래로 줄지 않아, ul 에 걸면 아무 효과가 없다. */
  .lh-nav { min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lh-nav::-webkit-scrollbar { display: none; }
  /* 축소를 400px 이 아니라 480px 부터 건다. 400px 로 두면 414px(아이폰 XR·11,
     안드로이드 다수)에서 메뉴가 9px 잘렸다. */
  .lh-menu a { padding: 0 5px; font-size: 12px; letter-spacing: -.02em; }
}
/* 약 350px 미만에서는 6개가 어떤 크기로도 들어가지 않는다(347px 필요).
   라벨을 지우거나 햄버거로 접지 않고 가로 스크롤로 넘긴다 — 위 480px 블록 참조. */

/* ==========================================================
   회차 허브 (상호 내부링크)
   ========================================================== */
.lotto-related { margin: 28px 0 8px; }
.lotto-related h2 { margin: 20px 0 10px; }
.lotto-related-draws { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lotto-related-draws a {
  display: flex; flex-direction: column; gap: 2px; min-height: 48px; justify-content: center;
  text-decoration: none; color: inherit; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: 12px; padding: 10px 12px;
}
.lotto-related-draws a:hover { border-color: var(--c-accent); }
.lotto-related-draws .rd-no { font-weight: 700; font-size: 14px; }
.lotto-related-draws .rd-nums { font-size: 13px; color: var(--c-text); }
.lotto-related-draws .rd-date { font-size: 12px; color: var(--c-sub); }
.lotto-related-more { margin: 10px 0 0; font-size: 14px; }
.lotto-related-more a { color: var(--c-accent); text-decoration: none; }
.lotto-related-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lotto-related-guides a {
  display: flex; align-items: center; min-height: 48px;
  text-decoration: none; color: inherit; background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px; font-size: 14px;
}
.lotto-related-guides a:hover { border-color: var(--c-accent); }
@media (max-width: 480px) {
  .lotto-related-draws { grid-template-columns: 1fr; }
}

/* 한 점포에서 여러 게임 당첨 표기 */
.store-list .store-multi {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  font-size: 11px; font-weight: 600; line-height: 1.7;
  color: var(--c-accent); background: rgba(26, 86, 219, .08);
  border: 1px solid rgba(26, 86, 219, .25); border-radius: 999px; vertical-align: middle;
}

/* 판매점 → 네이버 지도 링크 */
.store-list .store-map {
  display: inline-block; margin-left: 6px; padding: 1px 8px;
  font-size: 11px; font-weight: 600; line-height: 1.7; white-space: nowrap;
  color: var(--c-map-ink); background: rgba(3, 199, 90, .08);
  border: 1px solid rgba(3, 199, 90, .3); border-radius: 999px;
  text-decoration: none; vertical-align: middle;
}
.store-list .store-map:hover { background: rgba(3, 199, 90, .16); }

/* 2등 판매점 (기본 접힘) */
.store-rank2 > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  cursor: pointer; list-style: none; padding: 4px 0; font-size: 15px; font-weight: 600;
}
.store-rank2 > summary::-webkit-details-marker { display: none; }
.store-rank2 > summary b { color: var(--c-accent); }
.store-rank2-more { font-size: 13px; font-weight: 500; color: var(--c-sub); white-space: nowrap; }
.store-rank2[open] .store-rank2-more::after { content: ' ▲'; }
.store-rank2:not([open]) .store-rank2-more::after { content: ' ▼'; }
.store-rank2[open] .store-rank2-more { visibility: hidden; }
.store-rank2[open] > summary { border-bottom: 1px solid var(--c-line); margin-bottom: 10px; }
.store-rank2 .store-list { max-height: 560px; overflow-y: auto; }

/* 판매점 지역 필터 */
.store-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.store-filter button {
  appearance: none; cursor: pointer; white-space: nowrap;
  padding: 7px 12px; min-height: 36px;
  font-size: 13px; font-family: inherit; color: var(--c-text);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px;
}
.store-filter button b { font-weight: 700; color: var(--c-sub); margin-left: 3px; }
.store-filter button:hover { border-color: var(--c-accent); }
.store-filter button.is-on {
  color: var(--c-accent-ink); background: var(--c-accent); border-color: var(--c-accent);
}
.store-filter button.is-on b { color: var(--c-accent-ink); opacity: .8; }
.store-filter button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* [hidden]은 UA 스타일의 display:none 인데 .store-list li 의 display:flex 가
   더 구체적이라 덮어쓴다. 필터가 감춘 항목이 그대로 보이던 원인. */
.store-list li[hidden] { display: none !important; }

/* 연도별 아카이브 허브 */
.lotto-years { margin: 8px 0 24px; }
.lotto-years h2 { margin: 0 0 12px; }
.lotto-years ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
}
.lotto-years a, .lotto-years .is-cur {
  display: flex; align-items: baseline; justify-content: center; gap: 5px;
  min-height: 48px; padding: 8px 6px; border-radius: 12px;
  border: 1px solid var(--c-line); background: var(--c-surface);
  text-decoration: none; color: inherit; font-weight: 700; font-size: 15px;
}
.lotto-years a b, .lotto-years .is-cur b { font-weight: 500; font-size: 12px; color: var(--c-sub); }
.lotto-years a:hover { border-color: var(--c-accent); }
.lotto-years .is-cur {
  background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink);
}
.lotto-years .is-cur b { color: var(--c-accent-ink); opacity: .75; }
.year-table td.nums { text-align: left; font-weight: 600; }
.year-table td.nums .bn { color: var(--c-sub); font-weight: 500; }
.year-table td:first-child a { font-weight: 700; text-decoration: none; color: var(--c-accent); }

/* ==========================================================
   번호 추천기 (역대 분석 기반 · 5줄)
   ========================================================== */
.generator .gen-intro h2 { margin: 0 0 6px; font-size: 19px; }
.generator .gen-intro > p { margin: 0 0 14px; color: var(--c-sub); font-size: 14px; }
.gen-basis { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.gen-basis li {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 10px; background: #f7f9fc; border: 1px solid var(--c-line);
  font-size: 13px;
}
.gen-basis b { flex: none; min-width: 76px; color: var(--c-text); font-weight: 700; }
.gen-basis span { color: var(--c-sub); }
@media (min-width: 561px) { .gen-basis { grid-template-columns: 1fr 1fr; } }

.gen-price { font-weight: 600; opacity: .8; font-size: 13px; }

.gen-lines { display: grid; gap: 10px; margin: 4px 0 14px; }
.gen-line {
  display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; align-items: center;
  padding: 12px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-surface);
}
.gen-line.pop { animation: genPop .32s ease both; }
@keyframes genPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gen-label {
  grid-row: span 2; display: inline-flex; align-items: center; justify-content: center;
  inline-size: 28px; block-size: 28px; border-radius: 8px;
  background: var(--c-accent); color: var(--c-accent-ink); font-weight: 800; font-size: 13px;
}
.gen-balls { display: flex; gap: 6px; flex-wrap: wrap; }
.gen-meta { grid-column: 2; color: var(--c-sub); font-size: 12px; font-variant-numeric: tabular-nums; }
.gen-note {
  margin: 0; padding: 12px 14px; border-radius: 10px;
  background: #fffaf0; border: 1px solid #f4e2bd; color: #7a5b1a; font-size: 13px; line-height: 1.65;
}
.gen-note a { color: #7a5b1a; }
.gen-history h3 { font-size: 15px; margin: 18px 0 8px; }
.gen-history .row { padding: 10px 0; border-top: 1px solid var(--c-line); }
.gen-history time { display: block; color: var(--c-sub); font-size: 12px; margin-bottom: 6px; }
.gen-history .hrow { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
@media (max-width: 400px) {
  .gen-line { grid-template-columns: 24px 1fr; padding: 10px; }
  .gen-label { inline-size: 24px; block-size: 24px; font-size: 12px; }
  .gen-balls { gap: 4px; }
  .lotto-ball { --size: 34px; }
}

/* ==========================================================
   번호별 출현 분석표
   ========================================================== */
.num-chart { margin: 8px 0 18px; }
.nc-head {
  display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px;
  font-size: 13px; color: var(--c-sub);
}
.nc-head b { color: var(--c-text); font-weight: 700; }
.nc-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px 4px;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}
/* 셀을 카드로 묶는다 — 묶지 않으면 아래 숫자가 어느 공 것인지 헷갈린다 */
.nc-grid li {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 7px 4px 6px; border: 1px solid var(--c-line); border-radius: 10px;
  background: var(--c-surface);
}
.nc-count { font-size: 10.5px; color: var(--c-sub); font-variant-numeric: tabular-nums; }
.nc-bar {
  inline-size: 100%; block-size: 46px; border-radius: 4px;
  background: #eef1f6; display: flex; align-items: flex-end; overflow: hidden;
}
.nc-bar i { display: block; inline-size: 100%; border-radius: 5px 5px 0 0; }
.nc-bar i.up { background: var(--c-accent); }
.nc-bar i.down { background: #b6c0ce; }
.nc-grid .lotto-ball { --size: 26px; }
.nc-legend { margin: 12px 0 0; font-size: 12px; color: var(--c-sub); line-height: 1.6; }
@media (max-width: 620px) {
  .nc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 5px; }
  .nc-bar { block-size: 40px; }
}
@media (max-width: 360px) {
  .nc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nc-grid .lotto-ball { --size: 24px; }
  .nc-count { font-size: 10px; }
}

/* ==========================================================
   연금복권720+ 번호 표시
   ========================================================== */
.pension-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 20px; margin: 16px 0; box-shadow: var(--shadow);
}
.pn-head { font-size: 14px; color: var(--c-sub); font-weight: 600; margin-bottom: 16px; }
.pn-head strong { color: var(--c-text); font-size: 22px; margin-right: 6px; }
.pn-sub { font-size: 15px; margin: 20px 0 10px; }
.pn-sub:first-of-type { margin-top: 0; }

/* 등수 매칭형 (상세용) */
.pn-match { border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden; }
.pn-row { display: flex; align-items: stretch; }
.pn-grp {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  /* 흰 글자는 이 주황(#e08f00)에서 2.59:1 이라 불투명하게 해도 미달이다.
     주황을 유지하면서 글자를 진하게 바꾼다 → 6.5:1. */
  padding: 10px 12px; background: var(--ball-1); color: #1a1d24; min-inline-size: 58px; flex: none;
}
/* 보너스는 배경이 짙은 남색이라 흰 글자를 그대로 쓴다(17.7:1) */
.pn-match.is-bonus .pn-grp { background: var(--c-hero-from); color: #fff; }
.pn-grp span { font-size: 9.5px; opacity: .9; letter-spacing: -.02em; white-space: nowrap; }
.pn-grp b { font-size: 20px; line-height: 1.2; }
.pn-digits { display: flex; flex: 1; min-inline-size: 0; }
.pn-col { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; align-items: center; border-left: 1px solid var(--c-line); }
.pn-d { font-size: 24px; font-weight: 800; padding: 9px 0 6px; font-variant-numeric: tabular-nums; }
.pn-r { font-size: 10px; color: #fff; inline-size: 100%; text-align: center; padding: 3px 0; font-weight: 600; }
/* 왼쪽으로 갈수록 어려운 등수 — 색이 진해져 난이도가 눈에 보인다 */
.pn-col.r2 .pn-r { background: #d8314f; }
.pn-col.r3 .pn-r { background: #1a56db; }
/* r4 는 #4f7fe3 에서 3.83:1, r5 는 #8aa9ee 에서 2.33:1 이라 흰 글자로는 미달이었다.
   r4 는 배경을 한 단계 낮추고(4.69:1), r5 는 r6·r7 처럼 진한 글자로 돌린다(5.5:1).
   왼쪽일수록 진해지는 색 단계는 그대로 유지된다. */
.pn-col.r4 .pn-r { background: #3f6fd8; }
.pn-col.r5 .pn-r { background: #8aa9ee; color: #22314f; }
.pn-col.r6 .pn-r { background: #adc0e8; color: #22314f; }
.pn-col.r7 .pn-r { background: #ccd6e8; color: #22314f; }
.pn-match.is-bonus .pn-col .pn-r { background: #6e7382; color: #fff; }
.pn-note { margin: 10px 0 0; font-size: 12.5px; color: var(--c-sub); line-height: 1.65; }
.pn-note b { color: var(--c-text); }
.pn-rule { white-space: normal !important; word-break: keep-all; font-size: 13px; color: var(--c-sub); min-inline-size: 8em; }

/* 한 줄형 (목록·표용) */
.pn-inline { display: inline-flex; align-items: baseline; gap: 7px; font-variant-numeric: tabular-nums; }
.pn-inline b { font-size: 12.5px; color: var(--c-accent); font-weight: 700; }
.pn-inline .pn-num { font-size: 17px; font-weight: 700; letter-spacing: .09em; }

@media (max-width: 480px) {
  .pn-d { font-size: 19px; padding: 7px 0 5px; }
  .pn-grp { min-inline-size: 48px; padding: 8px 7px; }
  .pn-grp b { font-size: 17px; }
  .pn-r { font-size: 9px; }
  .pn-inline .pn-num { font-size: 15px; letter-spacing: .06em; }
}
/* 보너스는 부분 일치가 없으므로 자리별 라벨 대신 한 줄로 조건을 표시한다 */
.pn-allmatch {
  background: #6e7382; color: #fff; font-size: 11px; font-weight: 600;
  text-align: center; padding: 4px 8px; letter-spacing: -.01em;
}
.pn-match.is-bonus .pn-d { padding: 11px 0; }

/* 연금복권 아카이브 표 — 좁은 화면에서 23px 넘쳐 보너스가 잘렸다.
   추첨일을 '26-07-30' 형태로 줄여 네 열이 다 들어오게 한다. */
@media (max-width: 440px) {
  .pension-hist th, .pension-hist td { padding: 9px 5px; }
  .pension-hist .ph-date { font-size: 12px; letter-spacing: -.02em; }
  .pension-hist .ph-date .ph-y { display: none; }
  .pn-inline { gap: 5px; }
  .pn-inline .pn-num { font-size: 14.5px; letter-spacing: .04em; }
  .pn-inline b { font-size: 11.5px; }
}

/* ==========================================================
   연금복권 통계 (조 · 자리별 숫자)
   ========================================================== */
.pgs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pgs-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; }
.pgs-g { font-weight: 700; font-size: 14px; }
.pgs-bar { block-size: 22px; border-radius: 5px; background: #eef1f6; overflow: hidden; }
.pgs-bar i { display: block; block-size: 100%; border-radius: 5px; }
.pgs-bar i.up { background: var(--c-accent); }
.pgs-bar i.down { background: #b6c0ce; }
.pgs-c { font-size: 13px; color: var(--c-sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pgs-c em { font-style: normal; color: var(--c-text); font-weight: 700; margin-left: 4px; }

.pds { font-size: 13px; }
.pds th, .pds td { text-align: center !important; padding: 8px 4px; }
.pds tbody th { color: var(--c-text); font-weight: 700; white-space: nowrap; }
.pds-c { font-variant-numeric: tabular-nums; border-radius: 4px; }
.pds-c.hot { font-weight: 700; }
.pds-legend { display: inline-flex; align-items: center; gap: 5px; margin-left: 4px; }
.pds-legend i { display: inline-block; inline-size: 12px; block-size: 12px; border-radius: 3px; }
.pds-legend i.up { background: rgba(26, 86, 219, .55); }
.pds-legend i.down { background: rgba(216, 49, 79, .40); }
@media (max-width: 480px) {
  .pds { font-size: 11.5px; }
  .pds th, .pds td { padding: 6px 2px; }
}

/* 홈에 넣는 연금복권 간단 카드 — 등수표 없이 번호만 */
.pn-compact .pn-head { margin-bottom: 12px; }
.pn-compact .pn-note { margin-top: 10px; }

/* ==========================================================
   연금복권 번호 추천기
   ========================================================== */
.pg-lines { display: grid; gap: 10px; margin: 4px 0 14px; }
.pg-line {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-surface);
}
.pg-line.pop { animation: genPop .32s ease both; }
.pg-grp {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-inline-size: 42px; block-size: 34px; border-radius: 8px;
  background: var(--ball-1); color: #fff; font-weight: 800; font-size: 14px;
}
.pg-digits { display: flex; gap: 5px; }
.pg-digits i {
  font-style: normal; display: inline-flex; align-items: center; justify-content: center;
  inline-size: 34px; block-size: 40px; border-radius: 8px;
  background: #f2f5fa; border: 1px solid var(--c-line);
  font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums;
}
@media (max-width: 420px) {
  .pg-line { gap: 8px; padding: 10px; }
  .pg-grp { min-inline-size: 36px; block-size: 30px; font-size: 13px; }
  .pg-digits { gap: 3px; }
  .pg-digits i { inline-size: 28px; block-size: 34px; font-size: 17px; }
}

/* ==========================================================
   연금복권 세금 계산기
   ========================================================== */
.ptx-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ptx-presets button {
  appearance: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600;
  padding: 8px 12px; min-height: 40px; border-radius: 999px;
  border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-text);
}
.ptx-presets button:hover { border-color: var(--c-accent); }
.ptx-presets button.is-on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.ptx-inputs { display: grid; gap: 10px; margin-bottom: 16px; }
@media (min-width: 561px) { .ptx-inputs { grid-template-columns: 2fr 1fr; } }
.ptx-inputs label { display: block; font-size: 13px; font-weight: 600; color: var(--c-sub); }
.ptx-inputs input {
  inline-size: 100%; margin-top: 5px; padding: 11px 12px; font: inherit; font-size: 16px;
  font-variant-numeric: tabular-nums; border: 1px solid var(--c-line); border-radius: 10px;
  background: var(--c-surface); color: var(--c-text);
}
.ptx-inputs input:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-accent); }
.ptx-hero {
  background: linear-gradient(135deg, var(--c-hero-from), var(--c-hero-to));
  color: #fff; border-radius: var(--radius); padding: 20px; margin-bottom: 14px; text-align: center;
}
.ptx-lbl { display: block; font-size: 12.5px; color: #98a2b3; }
.ptx-hero strong { display: block; font-size: 30px; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.ptx-sub { font-size: 12.5px; color: #98a2b3; }
@media (max-width: 400px) { .ptx-hero strong { font-size: 24px; } }

/* ============ 스피또 현황 ============ */
/* 남은 물량과 남은 1등을 나란히 놓는 것이 이 화면의 핵심이다.
   하나만 보면 정반대로 읽히므로 두 막대를 떼어놓지 말 것. */
.spt-wrap { display: grid; gap: 14px; margin: 16px 0; }
@media (min-width: 720px) { .spt-wrap { grid-template-columns: repeat(2, 1fr); } }

.spt-card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
.spt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.spt-name strong { font-size: 17px; }
.spt-ep { color: var(--c-sub); font-size: 14px; margin-left: 4px; }
.spt-badge {
  flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #eef2ff; color: var(--c-accent);
}
.spt-shipped-out .spt-badge { background: #fff4e5; color: #9a5b00; }
.spt-no-first .spt-badge { background: #f2f4f7; color: var(--c-sub); }

.spt-first {
  background: linear-gradient(135deg, var(--c-hero-from), var(--c-hero-to));
  color: #fff; border-radius: 12px; padding: 14px 16px; text-align: center;
}
.spt-first .spt-lbl { display: block; font-size: 12.5px; color: #98a2b3; }
.spt-first strong { display: block; font-size: 34px; margin: 2px 0; font-variant-numeric: tabular-nums; line-height: 1.15; }
.spt-first strong span { font-size: 15px; font-weight: 600; margin-left: 3px; }
.spt-of { font-size: 12px; color: #98a2b3; }

.spt-bars { display: grid; gap: 10px; margin: 14px 0 10px; }
.spt-bar-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.spt-bar-top span { color: var(--c-sub); }
.spt-bar-top b { font-variant-numeric: tabular-nums; }
.spt-track { height: 8px; border-radius: 999px; background: var(--c-line); overflow: hidden; }
.spt-track i { display: block; height: 100%; border-radius: 999px; background: var(--c-sub); }
.spt-bar-1st .spt-track i { background: var(--c-accent); }

/* 1등이 모두 배출된 회차만 강조를 걷어낸다. 남은 1등이 0인데 큰 숫자가 눈에 띄면 안 된다.
   '전량 출고'는 죽이지 않는다 — 출고율 100%는 구매 불가가 아니라 추가 공급이 없다는 뜻이고,
   판매점 재고로 살 수 있다. (처음에 구매 불가로 잘못 알고 죽였다가 되돌렸다.) */
.spt-no-first .spt-first { background: #eceff4; color: var(--c-sub-strong); }
.spt-no-first .spt-first strong { color: var(--c-sub-strong); }
/* 작은 라벨에 #98a2b3 을 쓰면 이 배경에서 2.3:1 이라 읽히지 않는다 → 5.5:1 로 올림 */
.spt-no-first .spt-first .spt-lbl,
.spt-no-first .spt-of { color: var(--c-sub-strong); }
/* 강조는 걷되 값은 읽혀야 한다. 더 옅은 회색(#c3c9d4)은 트랙 대비 1.36:1 로
   사실상 보이지 않았다. --c-sub 는 4.01:1 이라 WCAG 1.4.11(3:1)을 넘긴다. */
.spt-no-first .spt-bar-1st .spt-track i { background: var(--c-sub); }

.spt-reading { font-size: 13.5px; color: var(--c-sub); margin: 0; line-height: 1.6; }

.spt-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; margin: 14px 0 0;
  padding-top: 14px; border-top: 1px solid var(--c-line); }
.spt-meta div { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.spt-meta dt { color: var(--c-sub); }
.spt-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.spt-note { font-size: 12.5px; color: var(--c-sub); line-height: 1.75; margin: 12px 0 0; }
.spt-dash { color: var(--c-sub); }

@media (max-width: 400px) {
  .spt-first strong { font-size: 28px; }
  .spt-meta { grid-template-columns: 1fr; }
}

/* 스피또 배출 판매점 */
.spt-stores { margin: 16px 0; }
.spt-st-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font-size: 15px; margin: 20px 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--c-line);
}
.spt-st-head:first-child { margin-top: 0; }
.spt-st-head span { font-size: 13px; font-weight: 600; color: var(--c-sub); white-space: nowrap; }

/* 홈 h1 — GeneratePress 가 프런트페이지에서 entry-title 을 숨겨 h1 이 아예 없었다.
   본문 최상단에 직접 둔다. 시각적으로는 도입부 역할이라 과하게 크지 않게. */
.home-h1 {
  font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  margin: 0 0 10px; line-height: 1.35;
}
@media (min-width: 561px) { .home-h1 { font-size: 26px; } }
