:root {
  --bg: #f5efe6;
  --bg-strong: #efe1cf;
  --surface: #ffffff;
  --ink: #1c1916;
  --muted: #5d564f;
  --primary: #e45a2b;
  --primary-dark: #c14b25;
  --secondary: #0f6b66;
  --secondary-soft: rgba(15, 107, 102, 0.12);
  --accent: #f4c45a;
  --shadow: 0 24px 50px rgba(28, 25, 22, 0.18);
  --radius: 20px;
  --font-display: "DM Serif Display", serif;
  --font-body: "IBM Plex Sans KR", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at 10% 15%, #fff7eb 0%, var(--bg) 40%, #f7e6d8 100%);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background-image: radial-gradient(rgba(228, 90, 43, 0.16) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.5;
}

body::after {
  background: radial-gradient(circle at 85% 20%, rgba(15, 107, 102, 0.18), transparent 60%),
    radial-gradient(circle at 20% 85%, rgba(244, 196, 90, 0.25), transparent 55%);
  opacity: 0.9;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 1.6rem clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.title-link {
  border: none;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  text-align: left;
}

.brand-tag {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-button:hover,
.nav-button.is-active {
  background: var(--ink);
  color: #fff;
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
}

.lang-pill {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  color: var(--muted);
}

.lang-pill.is-active {
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
}

.main-content {
  padding: clamp(2rem, 5vw, 4rem);
}

.page-section {
  display: block;
  animation: fadeUp 0.6s ease;
}

body.js-enabled .page-section {
  display: none;
}

body.js-enabled .page-section.is-active {
  display: block;
}

/* 절대 규칙: 홈 화면 요소는 홈 페이지에서만 표시 */
#home .hero-compact,
#home .announcement-banner,
#home .trust-tabs,
#home .card-grid,
#home #inline-detail-container {
  display: none !important;
}

/* 홈 카테고리 섹션: is-active 없을 때 항상 숨김 */
#home:not(.is-active) #culinary-class-heroes,
#home:not(.is-active) #michelin-intro,
#home:not(.is-active) #celebrity-intro {
  display: none !important;
}

/* 홈 화면이 활성화될 때만 표시 */
#home.is-active .hero-compact,
#home.is-active .trust-tabs,
#home.is-active #inline-detail-container {
  display: block !important;
}

#home.is-active .announcement-banner {
  display: flex !important;
}

#home.is-active .card-grid {
  display: grid !important;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(120deg, rgba(228, 90, 43, 0.12), rgba(15, 107, 102, 0.14));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0.5rem 0 1rem;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0;
}

.hero-desc {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button {
  border-radius: 12px;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(228, 90, 43, 0.2);
}

.primary-button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(228, 90, 43, 0.25);
  background: #d94e29;
}

.ghost-button {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.metric-value {
  font-weight: 600;
  font-size: 1rem;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: calc(var(--radius) - 4px);
  padding: 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.hero-panel h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.hero-panel ol {
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 0.8rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.section-head {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.section-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.time-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.sort-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.8rem;
}

.sort-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.filter-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.filter-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 107, 102, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(0);
}

.filter-pill:hover {
  background: rgba(15, 107, 102, 0.08);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 107, 102, 0.2);
}

.filter-pill:hover::before {
  opacity: 1;
  transform: scale(1);
}

.filter-pill:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 6px rgba(15, 107, 102, 0.15);
}

.filter-pill.is-active {
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(15, 107, 102, 0.3);
  transform: translateY(-2px);
}

.filter-pill.is-active::before {
  opacity: 0;
}

.sort-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.sort-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(28, 25, 22, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(0);
}

.sort-pill:hover {
  background: rgba(28, 25, 22, 0.08);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 25, 22, 0.2);
}

.sort-pill:hover::before {
  opacity: 1;
  transform: scale(1);
}

.sort-pill:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 6px rgba(28, 25, 22, 0.15);
}

.sort-pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(28, 25, 22, 0.3);
  transform: translateY(-2px);
}

.sort-pill.is-active::before {
  opacity: 0;
}

.value-grid,
.card-grid,
.badge-grid,
.flow-grid,
.metric-grid,
.stage-grid,
.evidence-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.value-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.value-card,
.info-card,
.badge-card,
.flow-card,
.metric-card,
.stage-card,
.evidence-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.value-card h3,
.badge-card h3,
.flow-card h3,
.metric-card h3,
.stage-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.value-card p,
.badge-card p,
.flow-card p,
.metric-card p,
.stage-card p {
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  animation: fadeUp 0.6s ease forwards;
  opacity: 1;
  animation-delay: var(--delay, 0s);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0 !important;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 음식점 카드 사진 */
.info-card-image {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--bg-strong);
  flex-shrink: 0;
}
.info-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.info-card:hover .info-card-image img {
  transform: scale(1.05);
}
.info-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.48) 0%, transparent 55%);
  pointer-events: none;
}

/* 그룹 뱃지 — 사진 위 오버레이 */
.info-card-group-badge {
  position: absolute;
  bottom: 0.65rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.info-card-group-badge.michelin  { background: rgba(230,50,30,0.85); }
.info-card-group-badge.celebrity { background: rgba(15,107,102,0.85); }
.info-card-group-badge.chef      { background: rgba(28,25,22,0.85); }
.info-card-group-badge.bakery    { background: rgba(236,72,153,0.85); }

/* 카드 바디 (기존 padding 복원) */
.info-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 1.25rem 1.1rem;
}

.page-section.is-active .info-card {
  opacity: 1;
}

.card-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}

.card-location {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.card-context {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.card-meta,
.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge-chip {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(228, 90, 43, 0.15);
  color: var(--primary-dark);
  font-size: 0.75rem;
}

.status-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 107, 102, 0.16);
  color: var(--secondary);
  font-size: 0.75rem;
}

.evidence-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.trust-summary {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.trust-summary h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.trust-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.evidence-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.evidence-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.evidence-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.evidence-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #fff;
}

.evidence-icon--michelin {
  background: #c92e2e;
}

.evidence-icon--youtube {
  background: #ff0033;
}

.evidence-icon--instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.evidence-icon--catchtable {
  background: #1b1f24;
}

.evidence-icon--policy {
  background: #0f6b66;
}

.evidence-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(228, 90, 43, 0.14);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.evidence-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.8rem;
}

.evidence-link {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
}

.map-button:hover {
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
}

.evidence-link:hover {
  text-decoration: underline;
}

.flow-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.flow-step {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.metric-grid,
.stage-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.faq-container,
.partnership-section {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 0.4rem;
}

.faq-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.package-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 1.5rem 0 2rem;
}

.package-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.package-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.package-price {
  font-weight: 600;
  color: var(--secondary);
}

.contact-form {
  background: rgba(15, 107, 102, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.region-section {
  margin-top: 2.5rem;
}

.region-section h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.data-filters {
  display: grid;
  gap: 0.8rem;
  margin: 1.2rem 0 1rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.filter-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.filter-button {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.filter-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 107, 102, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(0);
}

.filter-button:hover {
  background: rgba(15, 107, 102, 0.08);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 107, 102, 0.2);
}

.filter-button:hover::before {
  opacity: 1;
  transform: scale(1);
}

.filter-button:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 6px rgba(15, 107, 102, 0.15);
}

.filter-button.is-active {
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(15, 107, 102, 0.3);
  transform: translateY(-2px);
}

.filter-button.is-active::before {
  opacity: 0;
}

.data-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.data-section {
  margin-top: 1.2rem;
}

.data-item {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.6;
}

.data-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.data-item .data-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.data-badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.data-badge--verified {
  background: rgba(15, 107, 102, 0.16);
  color: var(--secondary);
}

.data-badge--pending {
  background: rgba(228, 90, 43, 0.12);
  color: var(--primary-dark);
}

.fallback-data {
  margin-top: 1.5rem;
}

body.has-all-data .fallback-data {
  display: none;
}

.data-name {
  font-weight: 700;
}

.mvp-section {
  margin-top: 2.5rem;
}

.mvp-section h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

input,
textarea {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font-family: var(--font-body);
}

.site-footer {
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  color: var(--muted);
}

.footer-link {
  color: var(--secondary);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   신규 화면 스타일 (Phase 1)
   ======================================== */

/* 검색바 */
.search-bar {
  max-width: 500px;
  min-width: 200px;
}

.search-bar input {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  font-size: 0.9rem;
  font-family: var(--font-body);
}

/* 햄버거 메뉴 (모바일) */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

.hamburger-menu.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* 간소화된 히어로 */
.hero-compact {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  margin-bottom: 2rem;
}

.hero-compact h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-compact .hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* ========================================
   공지사항 배너 (Announcement Banner)
   ======================================== */
.announcement-banner {
  background: linear-gradient(135deg,
    rgba(228, 90, 43, 0.1) 0%,
    rgba(244, 196, 90, 0.12) 100%);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin: 0 auto 2rem;
  max-width: 900px;
  border: 2px solid rgba(228, 90, 43, 0.2);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  animation: fadeUp 0.6s ease;
  box-shadow: 0 4px 12px rgba(228, 90, 43, 0.08);
}

.announcement-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.announcement-text {
  flex: 1;
}

.announcement-title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.announcement-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.announcement-close {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0.5rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.announcement-close:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.announcement-close:active {
  transform: scale(0.95);
}

/* 배너 닫힘 애니메이션 */
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* 모바일 반응형 */
@media (max-width: 640px) {
  .announcement-banner {
    padding: 1.2rem 1.5rem;
    gap: 1rem;
  }

  .announcement-icon {
    font-size: 1.5rem;
  }

  .announcement-title {
    font-size: 1rem;
  }

  .announcement-desc {
    font-size: 0.9rem;
  }

  .announcement-close {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
  }
}

/* 지도 토글 버튼 */
.map-section-toggle {
  margin: 2rem 0 1rem;
  text-align: center;
}

.toggle-map-btn {
  padding: 0.9rem 2rem;
  background: rgba(15, 107, 102, 0.1);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.toggle-map-btn:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 107, 102, 0.3);
}

.toggle-map-btn.is-active {
  background: var(--secondary);
  color: white;
}

/* 지도 섹션 */
.map-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-button {
  padding: 0.8rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(228, 90, 43, 0.3);
}

.location-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(228, 90, 43, 0.4);
}

.location-status {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
}

.naver-map-embed {
  width: 100%;
  height: 100%;
  border: none;
}

.time-filter-section {
  margin-top: 2rem;
}

.time-filter-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

/* 신뢰 탭 */
.trust-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.trust-tab {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.trust-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(228, 90, 43, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: scale(0);
}

.trust-tab:hover {
  background: rgba(228, 90, 43, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(228, 90, 43, 0.2);
}

.trust-tab:hover::before {
  opacity: 1;
  transform: scale(1);
}

.trust-tab:active {
  transform: translateY(0) scale(0.95);
  box-shadow: 0 2px 6px rgba(228, 90, 43, 0.15);
}

.trust-tab.is-active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(228, 90, 43, 0.3);
  transform: translateY(-2px);
}

.trust-tab.is-active::before {
  opacity: 0;
}

/* 설정 토글 버튼 */
.settings-toggle-btn {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-left: auto;
  position: relative;
  overflow: hidden;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.settings-toggle-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(15, 107, 102, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.settings-toggle-btn:hover {
  background: rgba(15, 107, 102, 0.08);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 107, 102, 0.2);
}

.settings-toggle-btn:hover::before {
  opacity: 1;
}

.settings-toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(15, 107, 102, 0.15);
}

.settings-toggle-btn.is-active {
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(15, 107, 102, 0.3);
}

.settings-toggle-btn.is-active span:first-child {
  display: inline-block;
  animation: rotateGear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes rotateGear {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

/* 고급 필터 */
.advanced-filters {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(15, 107, 102, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(15, 107, 102, 0.2);
  overflow: hidden;
  transform-origin: top;
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 1;
  transform: scaleY(1);
}

.advanced-filters.hidden {
  opacity: 0;
  transform: scaleY(0.8);
  pointer-events: none;
}

.advanced-filters > * {
  animation: fadeInContent 0.3s ease 0.1s backwards;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 리스트 필터 */
.list-filters {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.list-count {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* 홈 CTA - 제거됨 (2026-01-23) */
/* .home-cta {
  margin-top: 2rem;
  text-align: center;
} */

/* 인라인 상세 정보 컨테이너 */
#inline-detail-container,
#list-inline-detail-container {
  margin: 2rem 0;
}

/* 인라인 상세 정보 (예쁜 디자인) */
.inline-detail {
  background: linear-gradient(135deg, #ffffff 0%, #fff9f5 100%);
  border-radius: 24px;
  padding: 0;
  border: none;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 20px rgba(228, 90, 43, 0.08),
    0 20px 40px rgba(228, 90, 43, 0.12);
  margin: 2rem 0;
  overflow: hidden;
  animation: expandDetail 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  /* 그리드 내에서 전체 너비 차지 */
  grid-column: 1 / -1;
}

.inline-detail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

@keyframes expandDetail {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.inline-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2.5rem 2.5rem 1.5rem;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(228, 90, 43, 0.03) 0%, rgba(15, 107, 102, 0.03) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.inline-detail-title-section {
  flex: 1;
}

.inline-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.inline-detail-location {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-detail-location::before {
  content: '📍';
  font-size: 1.2rem;
}

.inline-detail-close {
  padding: 0.7rem 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.inline-detail-close:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.inline-detail-content {
  display: grid;
  gap: 2rem;
  padding: 2.5rem;
}

.inline-detail-main-info {
  display: grid;
  gap: 1.2rem;
}

.inline-detail-category {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 600;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.inline-detail-menu,
.inline-detail-address {
  margin: 0;
  line-height: 1.8;
  color: var(--ink);
  font-size: 1.05rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.inline-detail-menu strong,
.inline-detail-address strong {
  color: var(--secondary);
  font-weight: 600;
}

.inline-trust-evidence {
  background: linear-gradient(135deg, rgba(15, 107, 102, 0.08) 0%, rgba(228, 90, 43, 0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid rgba(15, 107, 102, 0.15);
  position: relative;
  overflow: hidden;
}

.inline-trust-evidence::before {
  content: '🎯';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  opacity: 0.15;
}

.inline-trust-evidence h3 {
  margin: 0 0 1.2rem;
  font-size: 1.4rem;
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.inline-trust-evidence h3::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
}

.inline-trust-evidence p {
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.inline-detail-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(228, 90, 43, 0.02) 0%, rgba(15, 107, 102, 0.02) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.inline-action-button {
  padding: 1.1rem 1.8rem;
  border: 2px solid rgba(0, 0, 0, 0.08);
  background: white;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.inline-action-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.inline-action-button:hover::before {
  width: 300px;
  height: 300px;
}

.inline-action-button span {
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.inline-action-button:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inline-action-button.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(228, 90, 43, 0.25);
}

.inline-action-button.primary::before {
  background: rgba(255, 255, 255, 0.15);
}

.inline-action-button.primary:hover {
  background: #d94e29;
  border-color: #d94e29;
  box-shadow: 0 6px 16px rgba(228, 90, 43, 0.3);
  transform: scale(1.02);
}

.inline-action-button.secondary {
  background: linear-gradient(135deg, rgba(15, 107, 102, 0.1) 0%, rgba(15, 107, 102, 0.15) 100%);
  color: var(--secondary);
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(15, 107, 102, 0.2);
}

.inline-action-button.secondary:hover {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 107, 102, 0.25);
  transform: scale(1.02);
}

/* 인라인 주소 */
.inline-detail-address {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0.4rem 0 0;
}

/* 인라인 예약 섹션 */
.inline-reservation-section {
  background: linear-gradient(135deg, rgba(228, 90, 43, 0.05) 0%, rgba(15, 107, 102, 0.05) 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 0 2.5rem 2rem;
}

.inline-reservation-section h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.inline-reservation-advice {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.inline-reservation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.inline-reservation-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.inline-reservation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.inline-reservation-btn--catchtable {
  background: var(--primary);
  color: #fff;
}

.inline-reservation-btn--naver {
  background: #03c75a;
  color: #fff;
}

.inline-reservation-btn--phone {
  background: var(--secondary);
  color: #fff;
}

/* 트러스트 루트 서비스 섹션 */
.trust-route-service {
  margin-top: 3rem;
  margin-bottom: 3rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.service-header {
  text-align: center;
  margin-bottom: 3rem;
}

.service-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.service-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  margin: 0;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(228, 90, 43, 0.05), rgba(15, 107, 102, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.service-trust-policy {
  background: rgba(15, 107, 102, 0.08);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--secondary);
}

.service-trust-policy h3 {
  font-size: 1.4rem;
  margin: 0 0 1.2rem;
  color: var(--secondary);
}

.trust-policy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trust-policy-list li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  padding-left: 1.5rem;
  position: relative;
}

.trust-policy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.2rem;
}

.trust-policy-list li strong {
  color: var(--secondary);
  font-weight: 600;
}

/* 상세 화면 */
.detail-header {
  margin-bottom: 1.5rem;
}

.back-button {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: var(--ink);
  color: white;
  border-color: transparent;
}

.detail-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.5rem 0;
}

.detail-location {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.detail-info {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
}

.detail-main-info {
  margin-bottom: 2rem;
}

.detail-category,
.detail-menu,
.detail-address {
  margin: 0.8rem 0;
  line-height: 1.6;
}

.detail-category {
  font-size: 1.05rem;
  color: var(--secondary);
  font-weight: 600;
}

.trust-evidence-section {
  margin: 2rem 0;
}

.trust-evidence-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.trust-card-grid {
  display: grid;
  gap: 1rem;
}

/* Reservation Section Styles */
.reservation-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(244, 196, 90, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(244, 196, 90, 0.3);
}

.reservation-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.reservation-difficulty {
  margin-bottom: 1.5rem;
}

.difficulty-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f59e0b;
  color: white;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.difficulty-advice {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

.reservation-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.reservation-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  width: 100%;
}

.reservation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.reservation-btn--primary {
  border-color: var(--primary);
  background: rgba(228, 90, 43, 0.04);
}

.reservation-btn--primary:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.reservation-btn--secondary {
  border-color: var(--secondary);
  background: rgba(15, 107, 102, 0.04);
}

.reservation-btn--secondary:hover {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

.reservation-btn--phone {
  border-color: var(--accent);
  background: rgba(244, 196, 90, 0.08);
}

.reservation-btn--phone:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.reservation-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.reservation-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.reservation-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.reservation-text small {
  font-size: 0.875rem;
  opacity: 0.75;
}

.reservation-btn:hover .reservation-text small {
  opacity: 1;
}

.reservation-tips {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(15, 107, 102, 0.06);
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
}

.reservation-tips h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  color: var(--secondary);
}

.reservation-tips ul {
  margin: 0;
  padding-left: 1.5rem;
}

.reservation-tips li {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.reservation-contact {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
}

.reservation-contact h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  color: var(--ink);
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.travel-info {
  margin: 2rem 0;
}

.travel-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.action-button {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1.25rem;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.action-button:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.detail-cta {
  margin-top: 2rem;
}

.primary-button.large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* 길찾기 화면 */
.directions-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
}

.directions-notice {
  background: rgba(15, 107, 102, 0.08);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary);
}

.directions-notice p {
  margin: 0;
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.directions-iframe-wrapper {
  width: 100%;
  height: 600px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
}

.naver-directions-embed {
  width: 100%;
  height: 100%;
  border: none;
}

.transport-tabs {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.transport-tab {
  flex: 1;
  padding: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.transport-icon {
  font-size: 1.8rem;
}

.transport-tab:hover,
.transport-tab.is-active {
  background: var(--secondary);
  color: white;
  border-color: transparent;
}

.route-info {
  margin: 2rem 0;
}

.route-card {
  background: rgba(15, 107, 102, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.route-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.deeplink-buttons {
  margin-top: 2rem;
}

.deeplink-buttons h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.deeplink-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.deeplink-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.deeplink-button.naver {
  background: #03c75a;
  color: white;
  box-shadow: 0 2px 8px rgba(3, 199, 90, 0.2);
}

.deeplink-button.naver:hover {
  background: #02a049;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(3, 199, 90, 0.25);
}

.deeplink-button.full-width {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
}

.deeplink-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

/* 댓글 시스템 */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.comments-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.comments-notice {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.comment-form {
  background: rgba(15, 107, 102, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.comment-form textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  resize: vertical;
  min-height: 100px;
}

.comment-form-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.empty-comments {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
}

.comment-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.2rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.comment-author {
  font-weight: 600;
  color: var(--secondary);
}

.comment-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.comment-content {
  line-height: 1.6;
  color: var(--ink);
}

.login-prompt {
  text-align: center;
  padding: 2rem;
  background: rgba(228, 90, 43, 0.08);
  border-radius: 16px;
  margin-top: 1.5rem;
}

.login-prompt p {
  margin-bottom: 1rem;
  color: var(--muted);
}

/* 반응형 브레이크포인트 */
@media (max-width: 1024px) {
  .search-bar {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: static;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "brand hamburger user"
      "search search search"
      "nav nav nav";
  }

  .brand {
    grid-area: brand;
  }

  .search-bar {
    grid-area: search;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
  }

  .hamburger-menu {
    grid-area: hamburger;
  }

  .user-menu {
    grid-area: user;
  }

  .top-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 100;
  }

  .top-nav.is-open {
    display: flex;
  }

  .hamburger-menu {
    display: flex;
  }

  .hero {
    padding: 2rem 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .trust-layout {
    grid-template-columns: 1fr;
  }

  .transport-tabs {
    flex-direction: column;
  }

  .deeplink-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   구독 카드 스타일
   ======================================== */
.subscription-section {
  margin-top: 2rem;
}

.subscription-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff9f5 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 8px 16px rgba(228, 90, 43, 0.08);
  position: relative;
  overflow: hidden;
}

.subscription-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.subscription-card.premium::before {
  background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
}

.subscription-card h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.subscription-status,
.subscription-period {
  margin: 0.5rem 0;
  color: var(--text-body);
  font-size: 0.95rem;
}

.subscription-status strong {
  color: var(--primary);
  font-weight: 600;
}

.subscription-cancel-notice {
  background: #fff3cd;
  padding: 0.75rem;
  border-radius: 8px;
  margin: 1rem 0;
  color: #856404;
  font-size: 0.9rem;
}

.subscription-description {
  color: var(--text-body);
  margin: 0.5rem 0 1.5rem 0;
  font-size: 0.95rem;
}

.subscription-benefits {
  background: rgba(228, 90, 43, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-body);
}

.subscription-card .primary-button,
.subscription-card .secondary-button {
  margin-top: 1rem;
  width: 100%;
}

.subscription-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.subscription-actions .secondary-button {
  margin-top: 0;
}

.subscription-actions .cancel-btn {
  background: #f8f9fa;
  color: #dc3545;
  border: 1px solid #dc3545;
}

.subscription-actions .cancel-btn:hover {
  background: #dc3545;
  color: white;
}

.subscription-card .loading,
.subscription-card .error {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.subscription-card .error {
  color: #dc3545;
}

@media (max-width: 480px) {
  /* 애니메이션 성능 최적화 */
  .trust-tab,
  .filter-button,
  .filter-pill,
  .sort-pill,
  .settings-toggle-btn {
    transition-duration: 0.2s;
  }

  .trust-tab:hover,
  .filter-button:hover,
  .filter-pill:hover,
  .sort-pill:hover,
  .settings-toggle-btn:hover {
    transform: none;
    box-shadow: none;
  }

  .trust-tab:active,
  .filter-button:active,
  .filter-pill:active,
  .sort-pill:active,
  .settings-toggle-btn:active {
    transform: scale(0.95);
  }

  .map-container {
    height: 350px;
  }

  .directions-iframe-wrapper {
    height: 450px;
  }

  .map-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .location-button {
    width: 100%;
  }

  .detail-actions {
    flex-direction: column;
  }

  .action-button {
    min-width: 100%;
  }
}

/* ========================================
   사용자 메뉴 및 로그인 모달
   ======================================== */

/* 사용자 메뉴 버튼 */
.user-menu {
  display: flex;
  align-items: center;
  justify-self: end;
  z-index: 20;
}

.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(15, 107, 102, 0.1);
  border: 1px solid rgba(15, 107, 102, 0.2);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 20;
}

.user-menu-btn:hover {
  background: rgba(15, 107, 102, 0.15);
  transform: translateY(-1px);
}

.user-icon {
  font-size: 1.2rem;
}

/* 모달 오버레이 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--dark);
}

.modal-body {
  padding: 2rem 1.5rem;
}

/* 구글 로그인 버튼 */
.google-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: white;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-login-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 구분선 */
.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.divider span {
  padding: 0 1rem;
}

/* 폼 필드 */
.form-field {
  margin-bottom: 1.2rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
}

.form-field input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(228, 90, 43, 0.1);
}

/* 전체 너비 버튼 */
.full-width {
  width: 100%;
}

/* 모달 하단 텍스트 */
.modal-footer-text {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.link-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.link-button:hover {
  color: var(--dark);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .user-menu {
    margin-left: auto;
  }

  .user-menu-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .user-name {
    display: none;
  }

  .modal-content {
    width: 95%;
    border-radius: 16px;
  }

  .modal-header {
    padding: 1.2rem;
  }

  .modal-body {
    padding: 1.5rem 1.2rem;
  }
}

/* 댓글 액션 버튼 */
.comment-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.comment-edit-btn,
.comment-delete-btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-edit-btn:hover {
  background: rgba(15, 107, 102, 0.1);
  border-color: var(--secondary);
}

.comment-delete-btn:hover {
  background: rgba(228, 90, 43, 0.1);
  border-color: var(--primary);
}

/* Ghost 버튼 */
.ghost-button {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ghost-button:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ========================================
   마이페이지 스타일
   ======================================== */

.mypage-header {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.mypage-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.5rem;
}

.mypage-desc {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

/* 프로필 섹션 */
.profile-section {
  margin-bottom: 3rem;
}

.profile-card {
  background: linear-gradient(135deg, rgba(228, 90, 43, 0.08), rgba(15, 107, 102, 0.1));
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(15, 107, 102, 0.3);
}

.avatar-icon {
  font-size: 2.5rem;
}

.profile-info {
  flex: 1;
  min-width: 200px;
}

.profile-name {
  font-size: 1.6rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.profile-email {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

.logout-button {
  padding: 0.7rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.logout-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(228, 90, 43, 0.3);
}

/* 마이페이지 섹션 */
.mypage-section {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.section-header h2 {
  font-size: 1.4rem;
  margin: 0;
}

.section-count {
  font-size: 0.9rem;
  color: var(--muted);
  background: rgba(15, 107, 102, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* 저장 목록 / 최근 목록 */
.saved-list,
.recent-list {
  display: grid;
  gap: 1rem;
}

.saved-item,
.recent-item {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.saved-item:hover,
.recent-item:hover {
  background: rgba(15, 107, 102, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.saved-item-info,
.recent-item-info {
  flex: 1;
}

.saved-item-name,
.recent-item-name {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.saved-item-location,
.recent-item-location {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.saved-item-date,
.recent-item-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.remove-saved-btn {
  padding: 0.5rem 1rem;
  background: rgba(228, 90, 43, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(228, 90, 43, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-saved-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 내 후기 목록 */
.my-comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.my-comment-item {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.2rem;
}

.my-comment-restaurant {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.my-comment-content {
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.my-comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.my-comment-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.my-comment-actions {
  display: flex;
  gap: 0.6rem;
}

/* 활동 통계 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: linear-gradient(135deg, rgba(15, 107, 102, 0.08), rgba(228, 90, 43, 0.06));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* 빈 상태 */
.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  margin: 0;
}

/*
  FAQ, 제보/제휴, 마이페이지에서 홈 화면 요소 숨기기
  이 규칙은 제거됨 - 대신 위의 #home.is-active 규칙 사용 (line 152-174)
*/

/* 모바일 반응형 */
@media (max-width: 768px) {
  /* 신뢰 탭 모바일 최적화 */
  .trust-tabs {
    justify-content: flex-start;
  }

  .trust-tab,
  .settings-toggle-btn {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
  }

  /* 필터 버튼 모바일 최적화 */
  .filter-button,
  .filter-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
  }

  .sort-pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  /* 고급 필터 모바일 최적화 */
  .advanced-filters {
    padding: 1.2rem;
    margin-top: 1rem;
  }

  /* 설정 버튼 전체 너비로 */
  .settings-toggle-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 0.6rem;
    justify-content: center;
  }

  .inline-detail-header {
    padding: 2rem 1.5rem 1.2rem;
    flex-direction: column;
    align-items: stretch;
  }

  .inline-detail-title {
    font-size: 1.7rem;
  }

  .inline-detail-location {
    font-size: 1rem;
  }

  .inline-detail-close {
    width: 100%;
    padding: 0.8rem;
  }

  .inline-detail-content {
    padding: 1.5rem;
  }

  .inline-detail-menu,
  .inline-detail-address {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }

  .inline-trust-evidence {
    padding: 1.5rem;
  }

  .inline-detail-actions {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 0.8rem;
  }

  .inline-action-button {
    padding: 1rem 1.5rem;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .avatar-icon {
    font-size: 3rem;
  }

  .profile-info {
    text-align: center;
  }

  .logout-button {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .saved-item,
  .recent-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .remove-saved-btn {
    width: 100%;
  }
}

/* ===================================
   Premium Blog / News Section
   =================================== */

.news-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* Blog Header */
.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--bg-strong);
}

.blog-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin: 0 0 0.5rem 0;
  color: var(--ink);
}

.blog-lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Controls */
.blog-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.blog-search-wrapper {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.blog-search {
  width: 100%;
  padding: 0.875rem 2.5rem 0.875rem 1.25rem;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-search:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  pointer-events: none;
}

.blog-category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-filter-btn {
  padding: 0.75rem 1.5rem;
  border: 1.5px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  color: var(--ink);
}

.category-filter-btn:hover {
  border-color: rgba(228, 90, 43, 0.3);
  background: rgba(228, 90, 43, 0.04);
  color: var(--primary);
  transform: scale(1.02);
}

.category-filter-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.blog-sort-select {
  padding: 0.75rem 2.5rem 0.75rem 1.25rem;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: var(--bg);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
}

.blog-sort-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Featured Articles (Hero Section) */
.featured-articles {
  margin-bottom: 4rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

.featured-article {
  position: relative;
  height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.featured-article-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-article-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.featured-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.featured-article-category {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.featured-article-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: #fff;
  margin: 0 0 0.75rem 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.featured-article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-article-meta {
  display: flex;
  gap: 1.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
}

.featured-views {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Regular Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.article-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--bg-strong);
}

.article-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-image {
  transform: scale(1.05);
}

.article-card-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-category {
  display: inline-block;
  background: var(--secondary-soft);
  color: var(--secondary);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  width: fit-content;
}

.article-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 0.875rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-strong);
  font-size: 0.875rem;
  color: var(--muted);
}

.article-card-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article-card-readtime {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Load More Button */
.load-more-section {
  text-align: center;
  margin-bottom: 4rem;
}

.load-more-btn {
  padding: 1rem 2.5rem;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-btn:hover {
  background: #2a2a2a;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.load-more-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Newsletter Signup */
.newsletter-signup {
  background: var(--ink);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.newsletter-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  margin: 0 0 0.75rem 0;
}

.newsletter-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-input {
  flex: 1;
  min-width: 250px;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}

.newsletter-btn {
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.newsletter-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .news-container {
    padding: 2rem 1rem 3rem;
  }

  .blog-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search-wrapper {
    width: 100%;
  }

  .blog-category-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .featured-article {
    height: 400px;
  }

  .featured-article-overlay {
    padding: 1.5rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-card-image-wrapper {
    height: 200px;
  }

  .newsletter-signup {
    padding: 2rem 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    width: 100%;
  }
}

/* ===================================
   Article Modal Styles
   =================================== */

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.article-modal-content {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.article-close-btn {
  position: sticky;
  top: 1rem;
  right: 1rem;
  float: right;
  z-index: 3;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.article-close-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.article-full {
  padding: 3rem;
  clear: both;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-strong);
}

.article-category {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: var(--ink);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.article-meta > * {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-body {
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--ink);
  max-width: 720px;
}

.article-body .article-intro {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--bg);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  font-style: italic;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin: 3rem 0 1.5rem 0;
  color: var(--ink);
  line-height: 1.3;
}

.article-body h4 {
  font-size: 1.375rem;
  margin: 2rem 0 1rem 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}

.article-body .article-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.article-body blockquote {
  margin: 2.5rem 0;
  padding: 2rem 2rem 2rem 3rem;
  background: var(--bg);
  border-left: 4px solid var(--secondary);
  border-radius: 8px;
  font-size: 1.1875rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--muted);
  position: relative;
}

.article-body blockquote::before {
  content: '"';
  position: absolute;
  left: 0.75rem;
  top: 1.5rem;
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.article-body blockquote footer {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
}

.article-body blockquote footer::before {
  content: '— ';
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.article-body li {
  margin: 0.75rem 0;
  line-height: 1.8;
}

.article-body li strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body .article-link {
  margin: 1.5rem 0;
  padding: 1.25rem 1.75rem;
  background: var(--secondary-soft);
  border-radius: 12px;
  border: 1px solid rgba(15, 107, 102, 0.2);
}

.article-body .article-link a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.article-body .article-link a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.article-body .article-highlight {
  margin: 2rem 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(244, 196, 90, 0.15) 0%, rgba(244, 196, 90, 0.05) 100%);
  border: 2px solid rgba(244, 196, 90, 0.4);
  border-radius: 12px;
  font-size: 1rem;
  line-height: 1.7;
}

.article-body .article-highlight strong {
  color: var(--ink);
  font-weight: 700;
}

/* Article Footer */
.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-strong);
}

.article-share {
  margin-bottom: 2rem;
}

.share-btn {
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(228, 90, 43, 0.3);
}

.share-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(228, 90, 43, 0.4);
}

.article-related h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.related-restaurant-card {
  padding: 1.25rem;
  background: var(--bg);
  border-radius: 12px;
  margin-bottom: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.related-restaurant-card:hover {
  background: var(--surface);
  border-color: var(--primary);
  transform: translateX(4px);
}

.related-restaurant-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.375rem;
}

.related-restaurant-info {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 10001;
  transition: width 0.1s ease;
}

/* Responsive Article Modal */
@media (max-width: 768px) {
  .article-full {
    padding: 2rem 1.5rem;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-body {
    font-size: 1.0625rem;
  }

  .article-body h3 {
    font-size: 1.5rem;
  }

  .article-body h4 {
    font-size: 1.25rem;
  }

  .article-body .article-intro {
    font-size: 1.125rem;
    padding: 1.5rem;
  }

  .article-body blockquote {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    font-size: 1.0625rem;
  }
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body .article-link {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--secondary-soft);
  border-radius: 8px;
}

.article-body .article-link a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.article-body .article-link a:hover {
  color: var(--primary);
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--bg-strong);
}

.article-share {
  margin-bottom: 2rem;
}

.share-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(228, 90, 43, 0.3);
}

.share-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(228, 90, 43, 0.4);
}

.article-related h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.related-restaurant-card {
  background: var(--bg);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.related-restaurant-card:hover {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-restaurant-name {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.related-restaurant-info {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .article-modal {
    padding: 0;
  }

  .article-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }

  .article-full {
    padding: 2rem 1.5rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body .article-intro {
    font-size: 1.0625rem;
    padding: 1rem;
  }

  .article-body h3 {
    font-size: 1.25rem;
  }

  .article-meta {
    font-size: 0.875rem;
  }
}

/* ========================================
   Recipe Cards (레시피 카테고리)
   ======================================== */

.recipe-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  animation: fadeUp 0.6s ease forwards;
  opacity: 1;
  animation-delay: var(--delay, 0s);
  cursor: pointer;
  transition: all 0.25s ease;
}

.recipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.15);
}

.recipe-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.recipe-rank-badge {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 71, 87, 0.35);
}

.recipe-rank-badge.top3 {
  background: linear-gradient(135deg, #ffd700, #ffb300);
  box-shadow: 0 4px 10px rgba(255, 179, 0, 0.45);
  font-size: 1rem;
}

.recipe-title-block {
  flex: 1;
  min-width: 0;
}

.recipe-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.2rem 0;
}

.recipe-channel {
  font-size: 0.82rem;
  color: #e53935;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.recipe-channel::before {
  content: "▶";
  font-size: 0.65rem;
}

.recipe-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.recipe-category-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.recipe-views-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 71, 87, 0.08);
  color: #ff4757;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.25rem;
}

.recipe-time-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 0.25rem;
}

.recipe-difficulty-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.recipe-summary {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.recipe-ingredient-tag {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.recipe-youtube-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #ff0000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  width: 100%;
  margin-top: 0.2rem;
}

.recipe-youtube-btn:hover {
  background: #cc0000;
  transform: translateY(-1px);
  color: #fff;
}

/* Inline recipe detail (home screen popup) */
.recipe-inline-detail {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
  margin-top: 0.5rem;
  animation: fadeUp 0.3s ease forwards;
  /* 그리드 내에서 전체 너비 차지 */
  grid-column: 1 / -1;
}

.recipe-inline-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  gap: 1rem;
}

.recipe-inline-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.3rem 0;
}

.recipe-inline-channel {
  color: #e53935;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.recipe-inline-channel::before {
  content: "▶";
  font-size: 0.7rem;
}

.recipe-inline-close {
  background: rgba(0,0,0,0.07);
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--muted);
}

.recipe-inline-close:hover {
  background: rgba(0,0,0,0.13);
}

.recipe-inline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.recipe-inline-section {
  margin-bottom: 1.2rem;
}

.recipe-inline-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.6rem 0;
}

.recipe-inline-section p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink);
}

.recipe-inline-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.recipe-inline-ingredient {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.recipe-inline-youtube {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #ff0000;
  color: #fff;
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  width: 100%;
  transition: background 0.2s ease, transform 0.15s ease;
}

.recipe-inline-youtube:hover {
  background: #cc0000;
  transform: translateY(-1px);
  color: #fff;
}

/* Recipe category intro banner */
.recipe-intro {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.08), rgba(255, 0, 0, 0.04));
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 71, 87, 0.15);
  text-align: center;
}

.recipe-intro .category-icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.recipe-intro h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.4rem 0;
}

.recipe-intro p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ========================================
   Rules Page (규칙)
   ======================================== */

.rules-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/* Hero */
.rules-hero {
  text-align: center;
  padding: 3.5rem 1rem 3rem;
  position: relative;
}

.rules-hero::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1.8rem auto 0;
}

.rules-hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(228, 90, 43, 0.1);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.2rem;
}

.rules-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--ink);
  margin: 0 0 1rem 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.rules-hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* Block sections */
.rules-block {
  margin-bottom: 3.5rem;
}

.rules-block-header {
  margin-bottom: 2rem;
}

.rules-block-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.rules-block-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
  margin: 0 0 0.45rem 0;
  letter-spacing: -0.01em;
}

.rules-block-sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Divider */
.rules-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(28, 25, 22, 0.12), transparent);
  margin: 0 0 3.5rem;
}

/* Philosophy grid */
.rules-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.rules-philosophy-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.8rem 2rem;
  border: 1px solid rgba(28, 25, 22, 0.07);
  box-shadow: 0 8px 24px rgba(28, 25, 22, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rules-philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 25, 22, 0.12);
}

.rules-philosophy-num {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(228, 90, 43, 0.12);
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
  user-select: none;
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
}

.rules-philosophy-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
  padding-top: 0.4rem;
  position: relative;
  z-index: 1;
}

/* Standards list */
.rules-standards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rules-standard-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  border: 1px solid rgba(28, 25, 22, 0.07);
  box-shadow: 0 6px 20px rgba(28, 25, 22, 0.06);
  border-left-width: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rules-standard-card:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 28px rgba(28, 25, 22, 0.1);
}

/* Category accent colors */
.rules-standard--michelin { border-left-color: #d4af37; }
.rules-standard--celebrity { border-left-color: #6366f1; }
.rules-standard--chef { border-left-color: #1c1916; }
.rules-standard--bakery { border-left-color: #e67e22; }
.rules-standard--recipe { border-left-color: #e53935; }

.rules-standard-icon-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.rules-standard--michelin .rules-standard-icon-wrap { background: rgba(212, 175, 55, 0.12); }
.rules-standard--celebrity .rules-standard-icon-wrap { background: rgba(99, 102, 241, 0.1); }
.rules-standard--chef .rules-standard-icon-wrap { background: rgba(28, 25, 22, 0.07); }
.rules-standard--bakery .rules-standard-icon-wrap { background: rgba(230, 126, 34, 0.1); }
.rules-standard--recipe .rules-standard-icon-wrap { background: rgba(229, 57, 53, 0.08); }

.rules-standard-body {
  flex: 1;
  min-width: 0;
}

.rules-standard-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.45rem 0;
}

.rules-standard-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 0.75rem 0;
}

.rules-standard-desc strong {
  color: var(--ink);
  font-weight: 700;
}

.rules-standard-desc em {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
}

.rules-standard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rules-std-tag {
  font-size: 0.73rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  background: rgba(28, 25, 22, 0.06);
  color: var(--muted);
  white-space: nowrap;
}

.rules-standard--michelin .rules-std-tag { background: rgba(212, 175, 55, 0.1); color: #a07c10; }
.rules-standard--celebrity .rules-std-tag { background: rgba(99, 102, 241, 0.1); color: #4f46e5; }
.rules-standard--chef .rules-std-tag { background: rgba(28, 25, 22, 0.08); color: var(--muted); }
.rules-standard--bakery .rules-std-tag { background: rgba(230, 126, 34, 0.1); color: #c0611a; }
.rules-standard--recipe .rules-std-tag { background: rgba(229, 57, 53, 0.08); color: #c62828; }

/* Footer note */
.rules-footer-note {
  text-align: center;
  padding: 1.5rem;
  background: rgba(228, 90, 43, 0.05);
  border-radius: var(--radius);
  border: 1px dashed rgba(228, 90, 43, 0.25);
}

.rules-footer-note p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .rules-philosophy-grid {
    grid-template-columns: 1fr;
  }

  .rules-philosophy-card {
    padding: 1.5rem;
  }

  .rules-philosophy-num {
    font-size: 3.5rem;
  }

  .rules-standard-card {
    padding: 1.2rem 1.2rem 1.2rem 1.4rem;
    gap: 1rem;
  }

  .rules-hero {
    padding: 2rem 0.5rem 2.5rem;
  }

  .rules-hero-title {
    font-size: 2rem;
  }
}

/* ========================================================
   MOBILE OPTIMIZATION — Comprehensive
   모바일 전면 최적화 (기존 규칙 전체 덮어쓰기)
   ======================================================== */

/* ── 768px : 태블릿 / 모바일 기본 ── */
@media (max-width: 768px) {

  /* ── 헤더: sticky 유지 + 2행 컴팩트 레이아웃 ── */
  .site-header {
    position: sticky !important;
    top: 0;
    padding: 0.75rem 1rem;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "brand hamburger user"
      "search search search";
    gap: 0.4rem 0.6rem;
    z-index: 200;
  }

  .brand      { grid-area: brand; gap: 0.05rem; }
  .search-bar { grid-area: search; width: 100%; max-width: none; margin-top: 0; }
  .hamburger-menu { grid-area: hamburger; display: flex; }
  .user-menu  { grid-area: user; }

  .title-link  { font-size: 1.45rem; }
  .brand-tag   { font-size: 0.7rem; }

  /* ── 모바일 풀스크린 네비 오버레이 ── */
  .top-nav {
    position: fixed !important;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 2rem;
    display: none !important;
    z-index: 999;
  }

  .top-nav.is-open {
    display: flex !important;
  }

  .nav-button {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
    border-radius: 14px;
    border: 1.5px solid rgba(0,0,0,0.1);
  }

  .nav-button.is-active {
    background: var(--ink);
    color: #fff;
    border-color: transparent;
  }

  /* 메뉴 열렸을 때 body 스크롤 방지 */
  body.nav-open { overflow: hidden; }

  /* ── 햄버거 X 애니메이션 ── */
  .hamburger-menu.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .hamburger-menu.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* ── 신뢰 탭: 가로 스크롤 캐러셀 ── */
  .trust-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 0.5rem;
    /* 좌우 여백이 탭 끝에 닿도록 */
    padding-left: 2px;
    padding-right: 2px;
  }
  .trust-tabs::-webkit-scrollbar { display: none; }

  .trust-tab,
  .settings-toggle-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.83rem;
    padding: 0.44rem 0.95rem;
    min-height: 36px;
  }

  /* 설정 버튼: 탭처럼 인라인 처리 */
  .settings-toggle-btn {
    width: auto !important;
    margin-left: 0;
    margin-top: 0;
  }

  /* ── 카드 그리드: 1컬럼 ── */
  .card-grid,
  #home-preview-list,
  #list-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  /* ── info-card 컴팩트 ── */
  .info-card { gap: 0; }
  .info-card-image { height: 140px; }
  .info-card-body { padding: 0.85rem 1rem 0.9rem; gap: 0.55rem; }
  .card-title  { font-size: 1.05rem; }
  .card-location { font-size: 0.88rem; }
  .card-context  { font-size: 0.85rem; }

  /* ── 레시피 카드 컴팩트 ── */
  .recipe-card {
    padding: 1.1rem 1.15rem;
    gap: 0.65rem;
  }
  .recipe-title   { font-size: 1rem; }
  .recipe-summary { font-size: 0.83rem; }

  /* ── 홈 섹션 패딩 ── */
  #home { padding: 0 0.5rem; }
  .hero-compact { padding: 1.3rem 0 0.7rem; }
  .hero-compact h1 { font-size: clamp(1.35rem, 5vw, 1.7rem); }
  .hero-desc { font-size: 0.88rem; }
  .home-cta { padding: 0.75rem 0 1.5rem; }
  .home-cta .primary-button { width: 100%; }

  /* ── 리스트 섹션 패딩 ── */
  #list { padding: 0 0.5rem; }
  .section-head { padding: 1.1rem 0 0.7rem; }
  .section-lead { font-size: 0.88rem; }

  /* ── 인라인 상세: 여백 줄이기 ── */
  .inline-detail { margin: 0.75rem 0; }
  .inline-detail-header { padding: 1.6rem 1.2rem 1rem; }
  .inline-detail-title  { font-size: 1.55rem; }
  .inline-detail-content { padding: 1.2rem; }
  .inline-detail-actions { padding: 1.2rem; gap: 0.6rem; }
  .inline-action-button  { padding: 0.85rem 1rem; font-size: 0.9rem; }

  /* ── 레시피 인라인 상세 ── */
  .recipe-inline-detail { padding: 1.3rem 1.1rem; }
  .recipe-inline-title  { font-size: 1.15rem; }

  /* ── 예약 버튼 ── */
  .inline-reservation-buttons {
    flex-direction: column;
    gap: 0.6rem;
  }
  .inline-reservation-btn { width: 100%; justify-content: center; }

  /* ── FAQ / 파트너 / 뉴스 ── */
  .faq-container      { padding: 1.5rem 0.5rem; }
  .news-container     { padding: 1.5rem 0.5rem 3rem; }
  .partnership-section { padding: 1.5rem 0.5rem; }
  .partnership-lead   { font-size: 0.9rem; }
  .package-grid       { grid-template-columns: 1fr; gap: 0.75rem; }
  .package-card       { padding: 1.2rem; }

  /* ── 규칙 페이지 ── */
  .rules-page  { padding: 1rem 0.5rem 3rem; }
  .rules-hero  { padding: 1.5rem 0 2rem; }
  .rules-hero-title { font-size: 1.8rem; }
  .rules-hero-desc  { font-size: 0.9rem; }
  .rules-philosophy-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .rules-standard-card { padding: 1.2rem 1.2rem 1.2rem 1.4rem; }

  /* ── 카테고리 인트로 배너 ── */
  .category-intro, .recipe-intro { margin: 0.5rem 0; padding: 1rem 1.1rem; }
  .category-intro-text { font-size: 0.88rem; }

  /* ── 구독 카드 ── */
  .subscription-card { padding: 1.4rem; }

  /* ── 검색 인풋 ── */
  .search-bar input { font-size: 0.9rem; padding: 0.6rem 1rem; }
}

/* ── 480px : 소형 폰 ── */
@media (max-width: 480px) {
  .site-header { padding: 0.65rem 0.85rem; }
  .title-link  { font-size: 1.3rem; }
  .brand-tag   { display: none; }

  /* 신뢰 탭 더 작게 */
  .trust-tab { font-size: 0.78rem; padding: 0.38rem 0.82rem; }

  /* 카드 */
  .info-card { gap: 0; }
  .info-card-image { height: 125px; }
  .info-card-body { padding: 0.75rem 0.9rem 0.85rem; }
  .card-title  { font-size: 0.98rem; }
  .recipe-card { padding: 0.95rem; }
  .recipe-title { font-size: 0.92rem; }
  .recipe-rank-badge { width: 2rem; height: 2rem; font-size: 0.72rem; }
  .recipe-rank-badge.top3 { font-size: 0.9rem; }

  /* 인라인 상세 */
  .inline-detail-title { font-size: 1.3rem; }
  .inline-detail-menu,
  .inline-detail-address { font-size: 0.92rem; padding: 0.9rem 1rem; }

  /* 규칙 */
  .rules-standard-name { font-size: 0.95rem; }
  .rules-standard-desc { font-size: 0.82rem; }
  .rules-std-tag { font-size: 0.7rem; }
  .rules-philosophy-num { font-size: 3rem; }
  .rules-philosophy-text { font-size: 0.95rem; }
  .rules-block-title { font-size: 1.5rem; }

  /* 네비 오버레이 버튼 */
  .nav-button { font-size: 1.05rem; padding: 0.8rem 1.5rem; }

  /* 홈 헤더 */
  .hero-compact h1 { font-size: 1.25rem; }

  /* 레시피 인라인 */
  .recipe-inline-title { font-size: 1.05rem; }
  .recipe-inline-youtube { font-size: 0.88rem; padding: 0.75rem 1rem; }
}

/* ========================================
   나의 픽 (My Life Picks) — 식단 카드
   ======================================== */

/* 나의 픽 인트로 섹션 */
.mylife-intro {
  background: linear-gradient(135deg, #1c1916 0%, #2d2520 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  color: #fff;
  text-align: center;
}
.mylife-intro .category-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.mylife-intro h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.mylife-intro p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 나의 픽 카드 */
.mylife-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: fadeInCard 0.4s ease both;
  animation-delay: var(--delay, 0s);
  border: 1.5px solid transparent;
}
.mylife-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.14);
}

/* 카드 사진 영역 */
.mylife-card-image {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: var(--bg-strong);
}
.mylife-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mylife-card:hover .mylife-card-image img {
  transform: scale(1.05);
}
.mylife-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, transparent 55%);
  pointer-events: none;
}

/* 카드 바디 */
.mylife-card-body {
  padding: 0.9rem 1.25rem 1rem;
}

/* 식사 시간 뱃지 — 사진 위 오버레이 */
.mylife-meal-badge {
  position: absolute;
  bottom: 0.7rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* 카드 제목 & 태그라인 */
.mylife-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}
.mylife-card-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

/* 통계 행 */
.mylife-stats-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.mylife-stat {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg);
  padding: 0.22rem 0.65rem;
  border-radius: 99px;
}

/* 태그 */
.mylife-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.mylife-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  background: var(--bg-strong);
  color: var(--muted);
}

/* ── 나의 픽 인라인 상세 ── */
.mylife-inline-detail {
  grid-column: 1 / -1;
  background: var(--surface);
  border-radius: 20px;
  border: 2px solid var(--bg-strong);
  padding: 2rem 2.25rem;
  margin: 0.5rem 0 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  animation: fadeInCard 0.3s ease both;
}

/* 상세 헤더 */
.mylife-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--bg-strong);
}
.mylife-detail-meal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  color: #fff;
  margin-bottom: 0.5rem;
}
.mylife-detail-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0 0 0.3rem;
  line-height: 1.2;
}
.mylife-detail-tagline {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
.mylife-detail-close {
  background: none;
  border: 1.5px solid var(--bg-strong);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.mylife-detail-close:hover { background: var(--bg); }

/* 상세 메타 */
.mylife-detail-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.mylife-detail-stat {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg);
  padding: 0.28rem 0.75rem;
  border-radius: 99px;
}

/* 상세 섹션 */
.mylife-detail-section {
  margin-bottom: 1.5rem;
}
.mylife-detail-section h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

/* 재료 목록 */
.mylife-ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.mylife-ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-radius: 12px;
  flex-wrap: wrap;
}
.mylife-ingredient-main {
  flex: 1;
  min-width: 180px;
}
.mylife-ingredient-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.mylife-ingredient-amount {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.mylife-ingredient-tip {
  font-size: 0.78rem;
  color: var(--secondary);
  margin-top: 0.3rem;
  font-style: italic;
  line-height: 1.4;
}
.mylife-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f97316;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: auto;
  align-self: center;
  transition: background 0.18s ease;
}
.mylife-buy-btn:hover { background: #c14b25; }
.mylife-buy-btn-text { font-size: 0.68rem; }

/* 단계별 조리법 */
.mylife-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  counter-reset: step-counter;
}
.mylife-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  counter-increment: step-counter;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
}
.mylife-step-item::before {
  content: counter(step-counter);
  min-width: 24px;
  height: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* 이유 + 팁 박스 */
.mylife-reason-box {
  background: linear-gradient(135deg, rgba(15,107,102,0.07) 0%, rgba(15,107,102,0.12) 100%);
  border-left: 3px solid var(--secondary);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.7;
}
.mylife-tip-box {
  background: linear-gradient(135deg, rgba(244,196,90,0.1) 0%, rgba(244,196,90,0.18) 100%);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.7;
}
.mylife-tip-box strong,
.mylife-reason-box strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* ── 터치 장치: hover 효과 제거 ── */
@media (hover: none) and (pointer: coarse) {
  .info-card:hover,
  .recipe-card:hover {
    transform: none;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
  }
  .trust-tab:hover {
    transform: none;
    box-shadow: none;
  }
  .nav-button:hover {
    background: transparent;
    color: var(--ink);
  }
  .nav-button:hover.is-active,
  .nav-button.is-active {
    background: var(--ink);
    color: #fff;
  }
}
