@charset "UTF-8";
/* =====================================================================
   사용자 화면 스타일
   - 흰 배경 / 정보 우선 / 여백 중심 / 포인트 컬러 1개
   - 모바일 우선. 외부 CSS 프레임워크 없음.
   ===================================================================== */

:root {
  --ink: #16181c;
  --ink-2: #3d434c;
  --muted: #666d76;
  --line: #e2e5e9;
  --line-strong: #c9ced4;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --accent: #b3411f;
  --accent-dark: #8c3218;
  --ok: #1c6b45;
  --warn: #96690a;
  --danger: #a32c2c;
  --focus: #1f5fbf;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);

  --w: 1160px;
  --gap: 20px;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.32; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
small { font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 16px; }

/* ---------- 헤더 ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 30; }
.header-bar { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.brand { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.03em; white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--accent); }
.brand small { display: block; font-weight: 500; font-size: .68rem; color: var(--muted); letter-spacing: 0; }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--line-strong); color: var(--ink);
  padding: 8px 12px; font: inherit; font-size: .86rem; cursor: pointer; border-radius: var(--radius);
  min-height: 40px;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 12px 0; font-size: .95rem; border-bottom: 1px solid var(--line); }
.main-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

@media (max-width: 899px) {
  .main-nav { display: none; padding-bottom: 12px; }
  .main-nav.is-open { display: block; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav { margin-left: auto; }
  .main-nav ul { display: flex; gap: 22px; }
  .main-nav a { border: 0; padding: 8px 0; }
}

/* ---------- 검색 ---------- */
.searchbox { position: relative; }
.searchbox form { display: flex; gap: 8px; }
.searchbox input[type="search"] {
  flex: 1; min-width: 0; font: inherit; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
}
.searchbox button { white-space: nowrap; }
.suggest-list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line-strong); z-index: 40; max-height: 340px; overflow-y: auto;
  list-style: none; margin: 0; padding: 0; box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.suggest-list li a { display: block; padding: 10px 14px; font-size: .92rem; border-bottom: 1px solid var(--line); }
.suggest-list li a:hover, .suggest-list li a:focus { background: var(--bg-soft); text-decoration: none; }
.suggest-list .s-meta { color: var(--muted); font-size: .8rem; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.2;
  padding: 11px 16px; min-height: 44px; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer;
}
.btn:hover { text-decoration: none; background: #000; }
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 7px 12px; min-height: 38px; font-size: .85rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* ---------- 섹션 ---------- */
.section { padding: 40px 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head .more { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.section-lead { color: var(--muted); margin: -8px 0 18px; font-size: .95rem; }

/* ---------- 히어로(장식 최소화, 정보 우선) ---------- */
.hero { padding: 34px 0 26px; }
.hero h1 { font-size: clamp(1.6rem, 5vw, 2.35rem); margin-bottom: 10px; }
.hero p.lead { color: var(--ink-2); font-size: 1rem; max-width: 60ch; margin-bottom: 20px; }
.hero .searchbox { max-width: 620px; }
.hero-meta { margin-top: 14px; font-size: .84rem; color: var(--muted); }

/* ---------- 목록 그리드 ---------- */
/* 항목 수에 따라 빈칸이 어색하게 남지 않도록 auto-fill 로 채운다 */
.grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid-2 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
  .grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}

/* ---------- 업소 카드 ---------- */
.place-card {
  position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.place-card .thumb {
  width: 104px; height: 78px; overflow: hidden; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.place-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.place-card .thumb .noimg { font-size: .72rem; color: var(--muted); }
.place-card h3 { font-size: 1.02rem; margin: 0 0 4px; }
.place-card h3 a::after { content: ""; position: absolute; inset: 0; }
.place-card .meta { font-size: .84rem; color: var(--muted); margin: 0 0 6px; }
.place-card .summary { font-size: .88rem; color: var(--ink-2); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; overflow: hidden; }
.place-card .badges { display: flex; flex-wrap: wrap; gap: 6px; }
.place-card .card-actions { position: relative; z-index: 2; margin-top: 8px; display: flex; gap: 8px; }

@media (min-width: 620px) {
  .place-grid .place-card {
    grid-template-columns: 1fr; border: 1px solid var(--line); padding: 0; overflow: hidden;
    transition: border-color .12s ease;
  }
  .place-grid .place-card:hover { border-color: var(--line-strong); }
  .place-grid .place-card .thumb { width: 100%; height: 168px; border-bottom: 1px solid var(--line); }
  .place-grid .place-card .body { padding: 14px 16px 16px; }
}
.place-card .body { min-width: 0; }

/* ---------- 배지 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 600;
  padding: 3px 7px; border: 1px solid var(--line-strong); color: var(--ink-2); background: #fff;
  border-radius: 2px; white-space: nowrap;
}
.badge-open { color: var(--ok); border-color: rgba(28,107,69,.4); }
.badge-closed { color: var(--danger); border-color: rgba(163,44,44,.4); }
.badge-warn { color: var(--warn); border-color: rgba(150,105,10,.4); }
.badge-verified { color: var(--ok); border-color: rgba(28,107,69,.4); }
.badge-ad { color: #fff; background: var(--ink-2); border-color: var(--ink-2); }
.badge-ko { color: var(--accent); border-color: rgba(179,65,31,.45); }

/* ---------- 필터 ---------- */
.filters { border: 1px solid var(--line); padding: 16px; margin-bottom: 22px; background: #fff; }
.filters fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.filters legend { font-size: .82rem; font-weight: 700; color: var(--muted); padding: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); padding: 8px 12px; font-size: .85rem;
  border-radius: 999px; cursor: pointer; background: #fff; min-height: 38px;
}
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.filter-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; font-size: .85rem; }
.active-filters .tag { border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 999px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; }
.field input[type="text"], .field input[type="search"], .field input[type="email"], .field input[type="url"],
.field input[type="date"], .field input[type="number"], .field input[type="time"],
.field select, .field textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.field .error { font-size: .82rem; color: var(--danger); margin-top: 4px; }

/* ---------- 업소 상세 ---------- */
.place-hero { padding: 24px 0 0; }
.place-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.place-title h1 { margin: 0; }
.place-title .local { color: var(--muted); font-size: .95rem; }
.place-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }

.fact-table { border-top: 2px solid var(--ink); margin: 0 0 24px; }
.fact-table dl { display: grid; grid-template-columns: 1fr; margin: 0; }
.fact-row { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); align-items: start; }
.fact-row dt { font-weight: 600; color: var(--muted); font-size: .86rem; margin: 0; }
.fact-row dd { margin: 0; font-size: .95rem; }
@media (min-width: 700px) { .fact-row { grid-template-columns: 140px 1fr; } }

.key-answer {
  border-left: 3px solid var(--accent); background: var(--bg-soft);
  padding: 16px 18px; margin: 0 0 24px;
}
.key-answer h2 { font-size: 1rem; margin: 0 0 6px; color: var(--accent); }
.key-answer p:last-child { margin-bottom: 0; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 24px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-soft); }
.gallery figcaption { font-size: .76rem; color: var(--muted); margin-top: 4px; }
.gallery .cover { grid-column: span 2; }
@media (min-width: 700px) { .gallery .cover { grid-column: span 2; grid-row: span 2; } }

.detail-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1000px) { .detail-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 40px; } }
.detail-side > * { margin-bottom: 24px; }

.prose { font-size: 1rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose img { margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.pros-cons { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 24px 0; }
@media (min-width: 700px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons > div { border: 1px solid var(--line); padding: 14px 16px; }
.pros-cons h3 { font-size: .95rem; margin-bottom: 8px; }
.pros-cons ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }

.notice {
  border: 1px solid var(--line-strong); border-left: 3px solid var(--warn);
  padding: 14px 16px; font-size: .9rem; background: #fffdf7; margin: 0 0 20px;
}
.notice.danger { border-left-color: var(--danger); background: #fdf6f6; }
.notice.info { border-left-color: var(--focus); background: #f6f9fd; }
.notice h3 { font-size: .95rem; margin-bottom: 6px; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }

.price-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table th, .price-table td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; }
.price-table th { color: var(--muted); font-weight: 600; }
.price-table td.num { text-align: right; white-space: nowrap; }

.hours-list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.hours-list li.today { font-weight: 700; }

.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq-item h3 { font-size: .98rem; margin: 0 0 6px; }
.faq-item p { margin: 0; font-size: .93rem; color: var(--ink-2); }

.source-list { font-size: .85rem; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.source-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* 모바일 하단 고정 액션 */
.sticky-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: #fff; border-top: 1px solid var(--line-strong);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.sticky-actions .btn { font-size: .85rem; padding: 10px 6px; }
@media (min-width: 1000px) { .sticky-actions { display: none; } }
body.has-sticky { padding-bottom: 76px; }
@media (min-width: 1000px) { body.has-sticky { padding-bottom: 0; } }

/* ---------- 지도 ---------- */
.map-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1000px) { .map-layout { grid-template-columns: minmax(0,1fr) 420px; } }
.map-frame { border: 1px solid var(--line); background: var(--bg-soft); min-height: 320px; }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-note { font-size: .8rem; color: var(--muted); padding: 8px 10px; border-top: 1px solid var(--line); }

/* ---------- 페이지네이션 ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 32px 0 8px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 42px; padding: 0 10px;
  border: 1px solid var(--line-strong); font-size: .9rem;
}
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.pagination .gap { border: 0; min-width: 20px; }

/* ---------- 빵부스러기 ---------- */
.breadcrumb { font-size: .82rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }

/* ---------- 지역/카테고리 타일 ---------- */
.region-tile { display: block; border: 1px solid var(--line); overflow: hidden; transition: border-color .12s ease; }
.region-tile:hover { text-decoration: none; border-color: var(--ink); }
.region-tile .ph {
  aspect-ratio: 3/2; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em;
  border-bottom: 1px solid var(--line);
}
.region-tile img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.region-tile .rt-body { padding: 12px 14px; }
.region-tile h3 { margin: 0 0 3px; font-size: 1rem; }
.region-tile p { margin: 0; font-size: .82rem; color: var(--muted); }

.cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-links a { border: 1px solid var(--line-strong); padding: 8px 13px; font-size: .88rem; border-radius: 999px; }
.cat-links a:hover { border-color: var(--ink); text-decoration: none; }
.cat-links a .cnt { color: var(--muted); font-size: .8rem; margin-left: 4px; }

/* ---------- 아티클 카드 ---------- */
.article-card { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 10px; background: var(--bg-soft); }
.article-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
.article-card .meta { font-size: .8rem; color: var(--muted); }
.article-card p { font-size: .88rem; color: var(--ink-2); margin: 6px 0 0; }

/* ---------- 배너 ---------- */
.ad-slot { margin: 24px 0; }
.ad-slot .ad-label { font-size: .72rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 6px; }
.ad-slot a { display: block; border: 1px solid var(--line); }
.ad-slot img { width: 100%; }
.ad-fallback { padding: 18px; text-align: center; font-size: .86rem; color: var(--muted); border: 1px dashed var(--line-strong); }

/* ---------- 플래시 ---------- */
.flash { padding: 12px 16px; margin: 16px 0; border: 1px solid var(--line-strong); font-size: .92rem; }
.flash-success { border-left: 3px solid var(--ok); background: #f5faf7; }
.flash-error { border-left: 3px solid var(--danger); background: #fdf6f6; }
.flash-info { border-left: 3px solid var(--focus); background: #f6f9fd; }

/* ---------- 빈 상태 ---------- */
.empty-state { border: 1px solid var(--line); padding: 28px 20px; text-align: left; }
.empty-state h2 { font-size: 1.1rem; }
.empty-state ul { margin-top: 12px; }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 34px 0 44px; background: var(--bg-soft); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .88rem; margin-bottom: 10px; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-note { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: .82rem; }

/* ---------- 유틸 ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-muted { color: var(--muted); }
.text-sm { font-size: .86rem; }
.stack > * + * { margin-top: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.updated-note { font-size: .82rem; color: var(--muted); }

@media print {
  .site-header, .site-footer, .sticky-actions, .filters, .ad-slot { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.topic-summary{max-width:760px;margin-top:1.25rem;padding:1rem 1.2rem;border:1px solid var(--border,#ddd);border-radius:14px;background:#fff}.chip-list{display:flex;flex-wrap:wrap;gap:.7rem}.chip{display:inline-flex;padding:.65rem .9rem;border:1px solid var(--border,#ddd);border-radius:999px;background:#fff;text-decoration:none}.narrow{max-width:850px}.faq{border-bottom:1px solid var(--border,#ddd);padding:1rem 0}.faq summary{font-weight:700;cursor:pointer}.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.08em;opacity:.65}.section-soft{background:#f7f8fa}

/* ---------- 모바일 카테고리 바로가기 ---------- */
.mobile-category-nav { display: none; }

@media (max-width: 899px) {
  .site-header { position: sticky; top: 0; }
  .header-bar { min-height: 54px; justify-content: center; }
  .brand { text-align: center; }
  .main-nav { display: none !important; }
  .nav-toggle { display: none !important; }

  .mobile-category-nav {
    display: block;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 0 11px;
  }
  .mobile-category-title {
    margin: 0 0 9px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
  }
  .mobile-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }
  .mobile-category-grid a {
    min-width: 0;
    min-height: 61px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 3px 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }
  .mobile-category-grid a:active,
  .mobile-category-grid a[aria-current="page"] {
    border-color: var(--accent);
    background: #fff;
    color: var(--accent);
  }
  .mobile-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 24px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--accent);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: -.03em;
  }
  .mobile-guide-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
  }
  .mobile-guide-links a {
    overflow: hidden;
    padding: 8px 2px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .68rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
  }
  .mobile-guide-links a[aria-current="page"] {
    color: var(--accent);
    border-color: var(--accent);
  }

  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); }
}

@media (max-width: 370px) {
  .mobile-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
